]> git.saurik.com Git - wxWidgets.git/blob - configure
don't give an error when OpenGL libraries aren't available; give a warning, put wxUSE...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57199 2008-12-08 16:51:43Z FM .
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 GXX_VERSION
705 SDL_CONFIG
706 SDL_CFLAGS
707 SDL_LIBS
708 GTKPRINT_CFLAGS
709 GTKPRINT_LIBS
710 LIBGNOMEPRINTUI_CFLAGS
711 LIBGNOMEPRINTUI_LIBS
712 GNOMEVFS_CFLAGS
713 GNOMEVFS_LIBS
714 HILDON_CFLAGS
715 HILDON_LIBS
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 BUILD
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 SAMPLES_RPATH_FLAG
758 SAMPLES_RPATH_POSTLINK
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
947 COND_TOOLKIT_PM
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
954 COND_TOOLKIT_X11
955 COND_TOOLKIT_X11_USE_GUI_1
956 COND_UNICODE_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_0
960 COND_USE_GUI_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
970 COND_USE_OPENGL_1
971 COND_USE_PCH_1
972 COND_USE_PLUGINS_0
973 COND_USE_RTTI_0
974 COND_USE_RTTI_1
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
978 COND_USE_SOVERSION_0
979 COND_USE_SOVERSOLARIS_1
980 COND_USE_STC_1
981 COND_USE_THREADS_0
982 COND_USE_THREADS_1
983 COND_USE_XRC_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
986 COND_WXUNIV_0
987 COND_WXUNIV_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1000 DEREZ
1001 SHARED
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1004 USE_GUI
1005 AFMINSTALL
1006 WIN32INSTALL
1007 TOOLKIT
1008 TOOLKIT_DIR
1009 TOOLCHAIN_NAME
1010 TOOLCHAIN_FULLNAME
1011 cross_compiling
1012 WIDGET_SET
1013 WX_RELEASE
1014 WX_VERSION
1015 WX_SUBVERSION
1016 WX_CHARTYPE
1017 WX_DEBUGTYPE
1018 WXCONFIG_CPPFLAGS
1019 WXCONFIG_CFLAGS
1020 WXCONFIG_CXXFLAGS
1021 WXCONFIG_LIBS
1022 WXCONFIG_RPATH
1023 WXCONFIG_LDFLAGS_GUI
1024 WXCONFIG_RESFLAGS
1025 GUIDIST
1026 DISTDIR
1027 SAMPLES_SUBDIRS
1028 LDFLAGS_GL
1029 OPENGL_LIBS
1030 DMALLOC_LIBS
1031 WX_VERSION_TAG
1032 RESCOMP
1033 RESFLAGS
1034 RESPROGRAMOBJ
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1037 LIBWXMACRES
1038 POSTLINK_COMMAND
1039 MACSETFILE
1040 GCC
1041 DLLTOOL
1042 CPPUNIT_CONFIG
1043 LIBOBJS
1044 LTLIBOBJS'
1045 ac_subst_files=''
1046 ac_precious_vars='build_alias
1047 host_alias
1048 target_alias
1049 CC
1050 CFLAGS
1051 LDFLAGS
1052 LIBS
1053 CPPFLAGS
1054 CPP
1055 CXX
1056 CXXFLAGS
1057 CCC
1058 PKG_CONFIG
1059 DIRECTFB_CFLAGS
1060 DIRECTFB_LIBS
1061 XMKMF
1062 PANGOX_CFLAGS
1063 PANGOX_LIBS
1064 PANGOFT2_CFLAGS
1065 PANGOFT2_LIBS
1066 PANGOXFT_CFLAGS
1067 PANGOXFT_LIBS
1068 GTKPRINT_CFLAGS
1069 GTKPRINT_LIBS
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1072 GNOMEVFS_CFLAGS
1073 GNOMEVFS_LIBS
1074 HILDON_CFLAGS
1075 HILDON_LIBS
1076 CAIRO_CFLAGS
1077 CAIRO_LIBS
1078 GST_CFLAGS
1079 GST_LIBS'
1080 ac_subdirs_all='src/tiff
1081 src/expat'
1082
1083 # Initialize some variables set by options.
1084 ac_init_help=
1085 ac_init_version=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file=/dev/null
1089 exec_prefix=NONE
1090 no_create=
1091 no_recursion=
1092 prefix=NONE
1093 program_prefix=NONE
1094 program_suffix=NONE
1095 program_transform_name=s,x,x,
1096 silent=
1097 site=
1098 srcdir=
1099 verbose=
1100 x_includes=NONE
1101 x_libraries=NONE
1102
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir='${exec_prefix}/bin'
1110 sbindir='${exec_prefix}/sbin'
1111 libexecdir='${exec_prefix}/libexec'
1112 datarootdir='${prefix}/share'
1113 datadir='${datarootdir}'
1114 sysconfdir='${prefix}/etc'
1115 sharedstatedir='${prefix}/com'
1116 localstatedir='${prefix}/var'
1117 includedir='${prefix}/include'
1118 oldincludedir='/usr/include'
1119 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir='${datarootdir}/info'
1121 htmldir='${docdir}'
1122 dvidir='${docdir}'
1123 pdfdir='${docdir}'
1124 psdir='${docdir}'
1125 libdir='${exec_prefix}/lib'
1126 localedir='${datarootdir}/locale'
1127 mandir='${datarootdir}/man'
1128
1129 ac_prev=
1130 ac_dashdash=
1131 for ac_option
1132 do
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\$ac_option
1136 ac_prev=
1137 continue
1138 fi
1139
1140 case $ac_option in
1141 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 *) ac_optarg=yes ;;
1143 esac
1144
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1146
1147 case $ac_dashdash$ac_option in
1148 --)
1149 ac_dashdash=yes ;;
1150
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1152 ac_prev=bindir ;;
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir=$ac_optarg ;;
1155
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev=build_alias ;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias=$ac_optarg ;;
1160
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev=cache_file ;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file=$ac_optarg ;;
1167
1168 --config-cache | -C)
1169 cache_file=config.cache ;;
1170
1171 -datadir | --datadir | --datadi | --datad)
1172 ac_prev=datadir ;;
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir=$ac_optarg ;;
1175
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev=datarootdir ;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir=$ac_optarg ;;
1182
1183 -disable-* | --disable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=no ;;
1191
1192 -docdir | --docdir | --docdi | --doc | --do)
1193 ac_prev=docdir ;;
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1196
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198 ac_prev=dvidir ;;
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1201
1202 -enable-* | --enable-*)
1203 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_$ac_feature=\$ac_optarg ;;
1210
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev=exec_prefix ;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix=$ac_optarg ;;
1219
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1222 with_gas=yes ;;
1223
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help=long ;;
1226 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227 ac_init_help=recursive ;;
1228 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229 ac_init_help=short ;;
1230
1231 -host | --host | --hos | --ho)
1232 ac_prev=host_alias ;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias=$ac_optarg ;;
1235
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1237 ac_prev=htmldir ;;
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1239 | --ht=*)
1240 htmldir=$ac_optarg ;;
1241
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev=includedir ;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir=$ac_optarg ;;
1248
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1250 ac_prev=infodir ;;
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir=$ac_optarg ;;
1253
1254 -libdir | --libdir | --libdi | --libd)
1255 ac_prev=libdir ;;
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir=$ac_optarg ;;
1258
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev=libexecdir ;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir=$ac_optarg ;;
1265
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev=localedir ;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir=$ac_optarg ;;
1270
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev=localstatedir ;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir=$ac_optarg ;;
1277
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1279 ac_prev=mandir ;;
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir=$ac_optarg ;;
1282
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1285 with_fp=no ;;
1286
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1289 no_create=yes ;;
1290
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 no_recursion=yes ;;
1294
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev=oldincludedir ;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir=$ac_optarg ;;
1303
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1305 ac_prev=prefix ;;
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix=$ac_optarg ;;
1308
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev=program_prefix ;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix=$ac_optarg ;;
1315
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev=program_suffix ;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix=$ac_optarg ;;
1322
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev=program_transform_name ;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name=$ac_optarg ;;
1339
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1341 ac_prev=pdfdir ;;
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir=$ac_optarg ;;
1344
1345 -psdir | --psdir | --psdi | --psd | --ps)
1346 ac_prev=psdir ;;
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 psdir=$ac_optarg ;;
1349
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1352 silent=yes ;;
1353
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1355 ac_prev=sbindir ;;
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1357 | --sbi=* | --sb=*)
1358 sbindir=$ac_optarg ;;
1359
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1363 | --sha | --sh)
1364 ac_prev=sharedstatedir ;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1368 | --sha=* | --sh=*)
1369 sharedstatedir=$ac_optarg ;;
1370
1371 -site | --site | --sit)
1372 ac_prev=site ;;
1373 -site=* | --site=* | --sit=*)
1374 site=$ac_optarg ;;
1375
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1377 ac_prev=srcdir ;;
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir=$ac_optarg ;;
1380
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev=sysconfdir ;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir=$ac_optarg ;;
1387
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev=target_alias ;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias=$ac_optarg ;;
1392
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 verbose=yes ;;
1395
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version=: ;;
1398
1399 -with-* | --with-*)
1400 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_$ac_package=\$ac_optarg ;;
1407
1408 -without-* | --without-*)
1409 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_$ac_package=no ;;
1416
1417 --x)
1418 # Obsolete; use --with-x.
1419 with_x=yes ;;
1420
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev=x_includes ;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes=$ac_optarg ;;
1427
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev=x_libraries ;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries=$ac_optarg ;;
1434
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1438 ;;
1439
1440 *=*)
1441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\$ac_optarg
1447 export $ac_envvar ;;
1448
1449 *)
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1455 ;;
1456
1457 esac
1458 done
1459
1460 if test -n "$ac_prev"; then
1461 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1464 fi
1465
1466 # Be sure to have absolute directory names.
1467 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1471 do
1472 eval ac_val=\$$ac_var
1473 case $ac_val in
1474 [\\/$]* | ?:[\\/]* ) continue;;
1475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476 esac
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1479 done
1480
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1484 build=$build_alias
1485 host=$host_alias
1486 target=$target_alias
1487
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x; then
1490 if test "x$build_alias" = x; then
1491 cross_compiling=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1495 cross_compiling=yes
1496 fi
1497 fi
1498
1499 ac_tool_prefix=
1500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1501
1502 test "$silent" = yes && exec 6>/dev/null
1503
1504
1505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di=`ls -di .` &&
1507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1513
1514
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1524 echo X"$0" |
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1526 s//\1/
1527 q
1528 }
1529 /^X\(\/\/\)[^/].*/{
1530 s//\1/
1531 q
1532 }
1533 /^X\(\/\/\)$/{
1534 s//\1/
1535 q
1536 }
1537 /^X\(\/\).*/{
1538 s//\1/
1539 q
1540 }
1541 s/.*/./; q'`
1542 srcdir=$ac_confdir
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544 srcdir=..
1545 fi
1546 else
1547 ac_srcdir_defaulted=no
1548 fi
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1553 fi
1554 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1555 ac_abs_confdir=`(
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1558 pwd)`
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 srcdir=.
1562 fi
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1566 case $srcdir in
1567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1568 esac
1569 for ac_var in $ac_precious_vars; do
1570 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_env_${ac_var}_value=\$${ac_var}
1572 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1573 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1574 done
1575
1576 #
1577 # Report the --help message.
1578 #
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1582 cat <<_ACEOF
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1584
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1586
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1589
1590 Defaults for the options are specified in brackets.
1591
1592 Configuration:
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1602
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 [PREFIX]
1608
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1613
1614 For better control, use the options below.
1615
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1636 _ACEOF
1637
1638 cat <<\_ACEOF
1639
1640 X features:
1641 --x-includes=DIR X include files are in DIR
1642 --x-libraries=DIR X library files are in DIR
1643
1644 System types:
1645 --build=BUILD configure for building on BUILD [guessed]
1646 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1647 --target=TARGET configure for building compilers for TARGET [HOST]
1648 _ACEOF
1649 fi
1650
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1654 esac
1655 cat <<\_ACEOF
1656
1657 Optional Features:
1658 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1659 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1660 --disable-gui don't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros, even if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets 2.6 compatibility
1695 --disable-compat28 disable wxWidgets 2.8 compatibility
1696 --disable-rpath disable use of rpath for uninstalled builds
1697 --enable-objc_uniquifying enable Objective-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x-locale support (requires wxLocale)
1701 --enable-config use wxConfig (and derived) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP (requires wxProtocol
1704 --enable-http use wxHTTP (requires wxProtocol
1705 --enable-fileproto use wxFileProto class (requires wxProtocol
1706 --enable-sockets use socket/network classes
1707 --enable-ipv6 enable IPv6 support in wxSocket
1708 --enable-ole use OLE classes (Win32 only)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication (wxSocket etc.)
1711 --enable-baseevtloop use event loop in console programs too
1712 --enable-epollloop use wxEpollDispatcher class (Linux only)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding/decoding functions
1717 --enable-backtrace use wxStackWalker class for getting backtraces
1718 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class for DLL loading
1724 --enable-dynamicloader use (new) wxDynamicLibrary class
1725 --enable-exceptions build exception-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support in wxProtocol
1754 --enable-protocol-ftp FTP support in wxProtocol
1755 --enable-protocol-file FILE support in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig (Win32 only)
1758 --enable-regkey use wxRegKey class (Win32 only)
1759 --enable-docview use document view architecture
1760 --enable-help use help subsystem
1761 --enable-mshtmlhelp use MS HTML Help (win32)
1762 --enable-html use wxHTML sub-library
1763 --enable-htmlhelp use wxHTML-based help
1764 --enable-xrc use XRC resources sub-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl (Mac)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context 2D drawing API
1779 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-tabdialog use wxTabControl class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-treebook use wxTreebook class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-tipwindow use wxTipWindow class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-commondlg use all common dialogs
1846 --enable-aboutdlg use wxAboutBox
1847 --enable-choicedlg use wxChoiceDialog
1848 --enable-coldlg use wxColourDialog
1849 --enable-filedlg use wxFileDialog
1850 --enable-finddlg use wxFindReplaceDialog
1851 --enable-fontdlg use wxFontDialog
1852 --enable-dirdlg use wxDirDialog
1853 --enable-msgdlg use wxMessageDialog
1854 --enable-numberdlg use wxNumberEntryDialog
1855 --enable-splash use wxSplashScreen
1856 --enable-textdlg use wxTextDialog
1857 --enable-tipdlg use startup tips
1858 --enable-progressdlg use wxProgressDialog
1859 --enable-wizarddlg use wxWizard
1860 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1861 --enable-miniframe use wxMiniFrame class
1862 --enable-tooltips use wxToolTip class
1863 --enable-splines use spline drawing code
1864 --enable-mousewheel use mousewheel
1865 --enable-validators use wxValidator and derived classes
1866 --enable-busyinfo use wxBusyInfo
1867 --enable-joystick use wxJoystick
1868 --enable-metafiles use wxMetaFile (Win32 only)
1869 --enable-dragimage use wxDragImage
1870 --enable-accessibility enable accessibility support
1871 --enable-palette use wxPalette class
1872 --enable-image use wxImage class
1873 --enable-gif use gif images (GIF file format)
1874 --enable-pcx use pcx images (PCX file format)
1875 --enable-tga use tga images (TGA file format)
1876 --enable-iff use iff images (IFF file format)
1877 --enable-pnm use pnm images (PNM file format)
1878 --enable-xpm use xpm images (XPM file format)
1879 --enable-ico_cur use Windows ICO and CUR formats
1880 --enable-dccache cache temporary wxDC objects (Win32 only)
1881 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1882 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1883 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1884 --enable-wxdib use wxDIB class (Win32 only)
1885 --enable-autoidman use automatic ids management
1886 --disable-largefile omit support for large files
1887 --disable-gtktest do not try to compile and run a test GTK+ program
1888 --disable-gtktest Do not try to compile and run a test GTK program
1889 --disable-sdltest Do not try to compile and run a test SDL program
1890 --enable-omf use OMF object format (OS/2)
1891 --disable-dependency-tracking
1892 don't use dependency tracking even if the compiler
1893 can
1894 --disable-precomp-headers
1895 don't use precompiled headers even if compiler can
1896
1897 Optional Packages:
1898 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1899 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1900 --without-subdirs don't generate makefiles for samples/demos/...
1901 --with-flavour=NAME specify a name to identify this build
1902 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1903 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1904 --with-motif use Motif/Lesstif
1905 --with-osx_carbon use Mac OS X (Carbon)
1906 --with-osx_cocoa use Mac OS X (Cocoa)
1907 --with-mac use Mac OS X (Default)
1908 --with-cocoa use Cocoa
1909 --with-wine use Wine
1910 --with-msw use MS-Windows
1911 --with-pm use OS/2 Presentation Manager
1912 --with-mgl use SciTech MGL
1913 --with-directfb use DirectFB
1914 --with-microwin use MicroWindows
1915 --with-x11 use X11
1916 --with-libpng use libpng (PNG image format)
1917 --with-libjpeg use libjpeg (JPEG file format)
1918 --with-libtiff use libtiff (TIFF file format)
1919 --with-libxpm use libxpm (XPM file format)
1920 --with-libiconv use libiconv (character conversion)
1921 --with-libmspack use libmspack (CHM help files loading)
1922 --without-gtkprint don't use GTK printing support
1923 --without-gnomeprint don't use GNOME printing libraries
1924 --with-gnomevfs use GNOME VFS for associating MIME types
1925 --with-hildon use Hildon framework for Nokia 770
1926 --with-opengl use OpenGL (or Mesa)
1927 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1928 --with-sdl use SDL for audio on Unix
1929 --with-regex enable support for wxRegEx class
1930 --with-zlib use zlib for LZW compression
1931 --with-expat enable XML support using expat parser
1932 --with-macosx-sdk=PATH use an OS X SDK at PATH
1933 --with-macosx-version-min=VER build binaries which require at least this OS X version
1934 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1935 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1936 --with-x use the X Window System
1937 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1938 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1939 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1940 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1941 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942
1943 Some influential environment variables:
1944 CC C compiler command
1945 CFLAGS C compiler flags
1946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1947 nonstandard directory <lib dir>
1948 LIBS libraries to pass to the linker, e.g. -l<library>
1949 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1950 you have headers in a nonstandard directory <include dir>
1951 CPP C preprocessor
1952 CXX C++ compiler command
1953 CXXFLAGS C++ compiler flags
1954 PKG_CONFIG path to pkg-config utility
1955 DIRECTFB_CFLAGS
1956 C compiler flags for DIRECTFB, overriding pkg-config
1957 DIRECTFB_LIBS
1958 linker flags for DIRECTFB, overriding pkg-config
1959 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 PANGOX_CFLAGS
1961 C compiler flags for PANGOX, overriding pkg-config
1962 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 PANGOFT2_CFLAGS
1964 C compiler flags for PANGOFT2, overriding pkg-config
1965 PANGOFT2_LIBS
1966 linker flags for PANGOFT2, overriding pkg-config
1967 PANGOXFT_CFLAGS
1968 C compiler flags for PANGOXFT, overriding pkg-config
1969 PANGOXFT_LIBS
1970 linker flags for PANGOXFT, overriding pkg-config
1971 GTKPRINT_CFLAGS
1972 C compiler flags for GTKPRINT, overriding pkg-config
1973 GTKPRINT_LIBS
1974 linker flags for GTKPRINT, overriding pkg-config
1975 LIBGNOMEPRINTUI_CFLAGS
1976 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 LIBGNOMEPRINTUI_LIBS
1978 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 GNOMEVFS_CFLAGS
1980 C compiler flags for GNOMEVFS, overriding pkg-config
1981 GNOMEVFS_LIBS
1982 linker flags for GNOMEVFS, overriding pkg-config
1983 HILDON_CFLAGS
1984 C compiler flags for HILDON, overriding pkg-config
1985 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 CAIRO_CFLAGS
1987 C compiler flags for CAIRO, overriding pkg-config
1988 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1991
1992 Use these variables to override the choices made by `configure' or to help
1993 it to find libraries and programs with nonstandard names/locations.
1994
1995 Report bugs to <wx-dev@lists.wxwidgets.org>.
1996 _ACEOF
1997 ac_status=$?
1998 fi
1999
2000 if test "$ac_init_help" = "recursive"; then
2001 # If there are subdirs, report their specific --help.
2002 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2003 test -d "$ac_dir" || continue
2004 ac_builddir=.
2005
2006 case "$ac_dir" in
2007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2008 *)
2009 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2010 # A ".." for each directory in $ac_dir_suffix.
2011 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2012 case $ac_top_builddir_sub in
2013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2015 esac ;;
2016 esac
2017 ac_abs_top_builddir=$ac_pwd
2018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2019 # for backward compatibility:
2020 ac_top_builddir=$ac_top_build_prefix
2021
2022 case $srcdir in
2023 .) # We are building in place.
2024 ac_srcdir=.
2025 ac_top_srcdir=$ac_top_builddir_sub
2026 ac_abs_top_srcdir=$ac_pwd ;;
2027 [\\/]* | ?:[\\/]* ) # Absolute name.
2028 ac_srcdir=$srcdir$ac_dir_suffix;
2029 ac_top_srcdir=$srcdir
2030 ac_abs_top_srcdir=$srcdir ;;
2031 *) # Relative name.
2032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2033 ac_top_srcdir=$ac_top_build_prefix$srcdir
2034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2035 esac
2036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2037
2038 cd "$ac_dir" || { ac_status=$?; continue; }
2039 # Check for guested configure.
2040 if test -f "$ac_srcdir/configure.gnu"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2043 elif test -f "$ac_srcdir/configure"; then
2044 echo &&
2045 $SHELL "$ac_srcdir/configure" --help=recursive
2046 else
2047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 fi || ac_status=$?
2049 cd "$ac_pwd" || { ac_status=$?; break; }
2050 done
2051 fi
2052
2053 test -n "$ac_init_help" && exit $ac_status
2054 if $ac_init_version; then
2055 cat <<\_ACEOF
2056 wxWidgets configure 2.9.0
2057 generated by GNU Autoconf 2.61
2058
2059 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2060 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2061 This configure script is free software; the Free Software Foundation
2062 gives unlimited permission to copy, distribute and modify it.
2063 _ACEOF
2064 exit
2065 fi
2066 cat >config.log <<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2069
2070 It was created by wxWidgets $as_me 2.9.0, which was
2071 generated by GNU Autoconf 2.61. Invocation command line was
2072
2073 $ $0 $@
2074
2075 _ACEOF
2076 exec 5>>config.log
2077 {
2078 cat <<_ASUNAME
2079 ## --------- ##
2080 ## Platform. ##
2081 ## --------- ##
2082
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099
2100 _ASUNAME
2101
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 echo "PATH: $as_dir"
2108 done
2109 IFS=$as_save_IFS
2110
2111 } >&5
2112
2113 cat >&5 <<_ACEOF
2114
2115
2116 ## ----------- ##
2117 ## Core tests. ##
2118 ## ----------- ##
2119
2120 _ACEOF
2121
2122
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_configure_args=
2129 ac_configure_args0=
2130 ac_configure_args1=
2131 ac_must_keep_next=false
2132 for ac_pass in 1 2
2133 do
2134 for ac_arg
2135 do
2136 case $ac_arg in
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2140 continue ;;
2141 *\'*)
2142 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 esac
2144 case $ac_pass in
2145 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2146 2)
2147 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2148 if test $ac_must_keep_next = true; then
2149 ac_must_keep_next=false # Got value, back to normal.
2150 else
2151 case $ac_arg in
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 esac
2159 ;;
2160 -* ) ac_must_keep_next=true ;;
2161 esac
2162 fi
2163 ac_configure_args="$ac_configure_args '$ac_arg'"
2164 ;;
2165 esac
2166 done
2167 done
2168 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2169 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2170
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2178 {
2179 echo
2180
2181 cat <<\_ASBOX
2182 ## ---------------- ##
2183 ## Cache variables. ##
2184 ## ---------------- ##
2185 _ASBOX
2186 echo
2187 # The following way of writing the cache mishandles newlines in values,
2188 (
2189 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2190 eval ac_val=\$$ac_var
2191 case $ac_val in #(
2192 *${as_nl}*)
2193 case $ac_var in #(
2194 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2195 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2196 esac
2197 case $ac_var in #(
2198 _ | IFS | as_nl) ;; #(
2199 *) $as_unset $ac_var ;;
2200 esac ;;
2201 esac
2202 done
2203 (set) 2>&1 |
2204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205 *${as_nl}ac_space=\ *)
2206 sed -n \
2207 "s/'\''/'\''\\\\'\'''\''/g;
2208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 ;; #(
2210 *)
2211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2212 ;;
2213 esac |
2214 sort
2215 )
2216 echo
2217
2218 cat <<\_ASBOX
2219 ## ----------------- ##
2220 ## Output variables. ##
2221 ## ----------------- ##
2222 _ASBOX
2223 echo
2224 for ac_var in $ac_subst_vars
2225 do
2226 eval ac_val=\$$ac_var
2227 case $ac_val in
2228 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 esac
2230 echo "$ac_var='\''$ac_val'\''"
2231 done | sort
2232 echo
2233
2234 if test -n "$ac_subst_files"; then
2235 cat <<\_ASBOX
2236 ## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##
2239 _ASBOX
2240 echo
2241 for ac_var in $ac_subst_files
2242 do
2243 eval ac_val=\$$ac_var
2244 case $ac_val in
2245 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 esac
2247 echo "$ac_var='\''$ac_val'\''"
2248 done | sort
2249 echo
2250 fi
2251
2252 if test -s confdefs.h; then
2253 cat <<\_ASBOX
2254 ## ----------- ##
2255 ## confdefs.h. ##
2256 ## ----------- ##
2257 _ASBOX
2258 echo
2259 cat confdefs.h
2260 echo
2261 fi
2262 test "$ac_signal" != 0 &&
2263 echo "$as_me: caught signal $ac_signal"
2264 echo "$as_me: exit $exit_status"
2265 } >&5
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 exit $exit_status
2269 ' 0
2270 for ac_signal in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 done
2273 ac_signal=0
2274
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2277
2278 # Predefined preprocessor variables.
2279
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 _ACEOF
2283
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 _ACEOF
2288
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 _ACEOF
2293
2294
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 _ACEOF
2298
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 _ACEOF
2303
2304
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 set x "$CONFIG_SITE"
2309 elif test "x$prefix" != xNONE; then
2310 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2311 else
2312 set x "$ac_default_prefix/share/config.site" \
2313 "$ac_default_prefix/etc/config.site"
2314 fi
2315 shift
2316 for ac_site_file
2317 do
2318 if test -r "$ac_site_file"; then
2319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2320 echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2322 . "$ac_site_file"
2323 fi
2324 done
2325
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special
2328 # files actually), so we avoid doing that.
2329 if test -f "$cache_file"; then
2330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2331 echo "$as_me: loading cache $cache_file" >&6;}
2332 case $cache_file in
2333 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2334 *) . "./$cache_file";;
2335 esac
2336 fi
2337 else
2338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2339 echo "$as_me: creating cache $cache_file" >&6;}
2340 >$cache_file
2341 fi
2342
2343 # Check that the precious variables saved in the cache have kept the same
2344 # value.
2345 ac_cache_corrupted=false
2346 for ac_var in $ac_precious_vars; do
2347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2348 eval ac_new_set=\$ac_env_${ac_var}_set
2349 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2350 eval ac_new_val=\$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2352 set,)
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2356 ,set)
2357 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted=: ;;
2360 ,);;
2361 *)
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2364 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2366 echo "$as_me: former value: $ac_old_val" >&2;}
2367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2368 echo "$as_me: current value: $ac_new_val" >&2;}
2369 ac_cache_corrupted=:
2370 fi;;
2371 esac
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2374 case $ac_new_val in
2375 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg=$ac_var=$ac_new_val ;;
2377 esac
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2381 esac
2382 fi
2383 done
2384 if $ac_cache_corrupted; then
2385 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2386 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2388 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2389 { (exit 1); exit 1; }; }
2390 fi
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416 ac_ext=c
2417 ac_cpp='$CPP $CPPFLAGS'
2418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421
2422
2423
2424
2425
2426 ac_aux_dir=
2427 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 if test -f "$ac_dir/install-sh"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/install-sh -c"
2431 break
2432 elif test -f "$ac_dir/install.sh"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/install.sh -c"
2435 break
2436 elif test -f "$ac_dir/shtool"; then
2437 ac_aux_dir=$ac_dir
2438 ac_install_sh="$ac_aux_dir/shtool install -c"
2439 break
2440 fi
2441 done
2442 if test -z "$ac_aux_dir"; then
2443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2444 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2445 { (exit 1); exit 1; }; }
2446 fi
2447
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2455
2456
2457 # Make sure we can run config.sub.
2458 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2459 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2460 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2461 { (exit 1); exit 1; }; }
2462
2463 { echo "$as_me:$LINENO: checking build system type" >&5
2464 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_build+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 ac_build_alias=$build_alias
2469 test "x$ac_build_alias" = x &&
2470 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x &&
2472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2474 { (exit 1); exit 1; }; }
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2479
2480 fi
2481 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2482 echo "${ECHO_T}$ac_cv_build" >&6; }
2483 case $ac_cv_build in
2484 *-*-*) ;;
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2486 echo "$as_me: error: invalid value of canonical build" >&2;}
2487 { (exit 1); exit 1; }; };;
2488 esac
2489 build=$ac_cv_build
2490 ac_save_IFS=$IFS; IFS='-'
2491 set x $ac_cv_build
2492 shift
2493 build_cpu=$1
2494 build_vendor=$2
2495 shift; shift
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2498 build_os=$*
2499 IFS=$ac_save_IFS
2500 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2501
2502
2503 { echo "$as_me:$LINENO: checking host system type" >&5
2504 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_host+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test "x$host_alias" = x; then
2509 ac_cv_host=$ac_cv_build
2510 else
2511 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515 fi
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6; }
2520 case $ac_cv_host in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2523 echo "$as_me: error: invalid value of canonical host" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 host=$ac_cv_host
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_host
2529 shift
2530 host_cpu=$1
2531 host_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 host_os=$*
2536 IFS=$ac_save_IFS
2537 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 { echo "$as_me:$LINENO: checking target system type" >&5
2541 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_target+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 else
2545 if test "x$target_alias" = x; then
2546 ac_cv_target=$ac_cv_host
2547 else
2548 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2552 fi
2553
2554 fi
2555 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2556 echo "${ECHO_T}$ac_cv_target" >&6; }
2557 case $ac_cv_target in
2558 *-*-*) ;;
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2560 echo "$as_me: error: invalid value of canonical target" >&2;}
2561 { (exit 1); exit 1; }; };;
2562 esac
2563 target=$ac_cv_target
2564 ac_save_IFS=$IFS; IFS='-'
2565 set x $ac_cv_target
2566 shift
2567 target_cpu=$1
2568 target_vendor=$2
2569 shift; shift
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2572 target_os=$*
2573 IFS=$ac_save_IFS
2574 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2575
2576
2577 # The aliases save the names the user supplied, while $host etc.
2578 # will get canonicalized.
2579 test -n "$target_alias" &&
2580 test "$program_prefix$program_suffix$program_transform_name" = \
2581 NONENONEs,x,x, &&
2582 program_prefix=${target_alias}-
2583
2584
2585
2586 wx_major_version_number=2
2587 wx_minor_version_number=9
2588 wx_release_number=0
2589 wx_subrelease_number=0
2590
2591 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2592 WX_VERSION=$WX_RELEASE.$wx_release_number
2593 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2594
2595 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2596
2597
2598 wx_top_builddir="`pwd`"
2599
2600
2601
2602
2603 USE_UNIX=1
2604 USE_OS2=0
2605 USE_WIN32=0
2606 USE_DOS=0
2607 USE_BEOS=0
2608 USE_MAC=0
2609
2610 USE_AIX=
2611 USE_BSD= USE_DARWIN= USE_FREEBSD=
2612 USE_GNU= USE_HPUX=
2613 USE_LINUX=
2614 USE_NETBSD=
2615 USE_OPENBSD=
2616 USE_OSF= USE_SGI=
2617 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2618 USE_ULTRIX=
2619 USE_UNIXWARE=
2620
2621 USE_ALPHA=
2622
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2624
2625 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2626
2627 DEFAULT_wxUSE_COCOA=0
2628 DEFAULT_wxUSE_GTK=0
2629 DEFAULT_wxUSE_OSX_CARBON=0
2630 DEFAULT_wxUSE_OSX_COCOA=0
2631 DEFAULT_wxUSE_MGL=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2634 DEFAULT_wxUSE_MSW=0
2635 DEFAULT_wxUSE_PM=0
2636 DEFAULT_wxUSE_X11=0
2637 DEFAULT_wxUSE_DFB=0
2638
2639 DEFAULT_DEFAULT_wxUSE_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_MGL=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2646 DEFAULT_DEFAULT_wxUSE_MSW=0
2647 DEFAULT_DEFAULT_wxUSE_PM=0
2648 DEFAULT_DEFAULT_wxUSE_X11=0
2649 DEFAULT_DEFAULT_wxUSE_DFB=0
2650
2651 PROGRAM_EXT=
2652 SAMPLES_RPATH_FLAG=
2653 SAMPLES_RPATH_POSTLINK=
2654
2655 DEFAULT_STD_FLAG=yes
2656
2657 case "${host}" in
2658 *-hp-hpux* )
2659 USE_HPUX=1
2660 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __HPUX__ 1
2664 _ACEOF
2665
2666
2667 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2668 ;;
2669 *-*-linux* )
2670 USE_LINUX=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __LINUX__ 1
2673 _ACEOF
2674
2675 TMP=`uname -m`
2676 if test "x$TMP" = "xalpha"; then
2677 USE_ALPHA=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __ALPHA__ 1
2680 _ACEOF
2681
2682 fi
2683 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 ;;
2685 *-*-gnu* | *-*-k*bsd*-gnu )
2686 USE_GNU=1
2687 TMP=`uname -m`
2688 if test "x$TMP" = "xalpha"; then
2689 USE_ALPHA=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __ALPHA__ 1
2692 _ACEOF
2693
2694 fi
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-irix5* | *-*-irix6* )
2698 USE_SGI=1
2699 USE_SVR4=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SGI__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SVR4__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-solaris2* )
2711 USE_SUN=1
2712 USE_SOLARIS=1
2713 USE_SVR4=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SUN__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __SOLARIS__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __SVR4__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728 ;;
2729 *-*-sunos4* )
2730 USE_SUN=1
2731 USE_SUNOS=1
2732 USE_BSD=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SUN__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SUNOS__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 ;;
2747 *-*-freebsd*)
2748 USE_BSD=1
2749 USE_FREEBSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __FREEBSD__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __BSD__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_GTK=1
2759 ;;
2760 *-*-openbsd*|*-*-mirbsd*)
2761 USE_BSD=1
2762 USE_OPENBSD=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __OPENBSD__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __BSD__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_GTK=1
2772 ;;
2773 *-*-netbsd*)
2774 USE_BSD=1
2775 USE_NETBSD=1
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __NETBSD__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __BSD__ 1
2782 _ACEOF
2783
2784 DEFAULT_DEFAULT_wxUSE_GTK=1
2785 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2786
2787 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2788 ;;
2789 *-*-osf* )
2790 USE_ALPHA=1
2791 USE_OSF=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __ALPHA__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __OSF__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2802 ;;
2803 *-*-dgux5* )
2804 USE_ALPHA=1
2805 USE_SVR4=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __ALPHA__ 1
2808 _ACEOF
2809
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SVR4__ 1
2812 _ACEOF
2813
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 ;;
2816 *-*-sysv5* )
2817 USE_SYSV=1
2818 USE_SVR4=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __SYSV__ 1
2821 _ACEOF
2822
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __SVR4__ 1
2825 _ACEOF
2826
2827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2828 ;;
2829 *-*-aix* )
2830 USE_AIX=1
2831 USE_SYSV=1
2832 USE_SVR4=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __AIX__ 1
2835 _ACEOF
2836
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __SYSV__ 1
2839 _ACEOF
2840
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __SVR4__ 1
2843 _ACEOF
2844
2845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2846 ;;
2847
2848 *-*-*UnixWare*)
2849 USE_SYSV=1
2850 USE_SVR4=1
2851 USE_UNIXWARE=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __UNIXWARE__ 1
2854 _ACEOF
2855
2856 ;;
2857
2858 *-*-cygwin* | *-*-mingw32* )
2859 PROGRAM_EXT=".exe"
2860 DEFAULT_DEFAULT_wxUSE_MSW=1
2861 ;;
2862
2863 *-pc-msdosdjgpp )
2864 USE_UNIX=0
2865 USE_DOS=1
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DOS__ 1
2868 _ACEOF
2869
2870 PROGRAM_EXT=".exe"
2871 DEFAULT_DEFAULT_wxUSE_MGL=1
2872 ;;
2873
2874 *-pc-os2_emx | *-pc-os2-emx )
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __EMX__ 1
2877 _ACEOF
2878
2879 USE_OS2=1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __OS2__ 1
2882 _ACEOF
2883
2884 PROGRAM_EXT=".exe"
2885 DEFAULT_DEFAULT_wxUSE_PM=1
2886 CXX=gcc
2887 LDFLAGS="$LDFLAGS -Zcrtdll"
2888 ac_executable_extensions=".exe"
2889 export ac_executable_extensions
2890 ac_save_IFS="$IFS"
2891 IFS='\\'
2892 ac_TEMP_PATH=
2893 for ac_dir in $PATH; do
2894 IFS=$ac_save_IFS
2895 if test -z "$ac_TEMP_PATH"; then
2896 ac_TEMP_PATH="$ac_dir"
2897 else
2898 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2899 fi
2900 done
2901 export PATH="$ac_TEMP_PATH"
2902 unset ac_TEMP_PATH
2903 DEFAULT_STD_FLAG=no
2904 ;;
2905
2906 *-*-darwin* )
2907 USE_BSD=1
2908 USE_DARWIN=1
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __BSD__ 1
2911 _ACEOF
2912
2913 cat >>confdefs.h <<\_ACEOF
2914 #define __DARWIN__ 1
2915 _ACEOF
2916
2917 cat >>confdefs.h <<\_ACEOF
2918 #define TARGET_CARBON 1
2919 _ACEOF
2920
2921 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2922 DEFAULT_STD_FLAG=no
2923 ;;
2924 powerpc-apple-macos* )
2925 USE_UNIX=0
2926 ac_cv_c_bigendian=yes
2927 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2928 DEFAULT_STD_FLAG=no
2929 ;;
2930
2931 *-*-beos* )
2932 USE_BEOS=1
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __BEOS__ 1
2935 _ACEOF
2936
2937 ;;
2938
2939 *)
2940 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2941 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2942 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2943 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2944
2945 DEFAULT_DEFAULT_wxUSE_X11=1
2946 DEFAULT_wxUSE_SHARED=no
2947 esac
2948
2949
2950
2951 DEFAULT_wxUSE_ALL_FEATURES=yes
2952
2953 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2955
2956 DEFAULT_wxUSE_DMALLOC=no
2957 DEFAULT_wxUSE_LIBGNOMEVFS=no
2958 DEFAULT_wxUSE_LIBHILDON=no
2959 DEFAULT_wxUSE_LIBMSPACK=no
2960 DEFAULT_wxUSE_LIBSDL=no
2961
2962 DEFAULT_wxUSE_ACCESSIBILITY=no
2963 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2964 DEFAULT_wxUSE_IPV6=no
2965 DEFAULT_wxUSE_TAB_DIALOG=no
2966 DEFAULT_wxUSE_GSTREAMER8=no
2967
2968 DEFAULT_wxUSE_UNICODE_UTF8=auto
2969 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2970
2971 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2972
2973 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2974
2975 DEFAULT_wxUSE_GTK2=yes
2976
2977 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2978
2979
2980
2981
2982
2983 enablestring=disable
2984 defaultval=
2985 if test -z "$defaultval"; then
2986 if test x"$enablestring" = xdisable; then
2987 defaultval=yes
2988 else
2989 defaultval=no
2990 fi
2991 fi
2992
2993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2994 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2995 # Check whether --enable-gui was given.
2996 if test "${enable_gui+set}" = set; then
2997 enableval=$enable_gui;
2998 if test "$enableval" = yes; then
2999 wx_cv_use_gui='wxUSE_GUI=yes'
3000 else
3001 wx_cv_use_gui='wxUSE_GUI=no'
3002 fi
3003
3004 else
3005
3006 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3007
3008 fi
3009
3010
3011 eval "$wx_cv_use_gui"
3012
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_GUI = yes; then
3015 result=no
3016 else
3017 result=yes
3018 fi
3019 else
3020 result=$wxUSE_GUI
3021 fi
3022
3023 { echo "$as_me:$LINENO: result: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3025
3026
3027 enablestring=
3028 defaultval=
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3031 defaultval=yes
3032 else
3033 defaultval=no
3034 fi
3035 fi
3036
3037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3038 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3039 # Check whether --enable-monolithic was given.
3040 if test "${enable_monolithic+set}" = set; then
3041 enableval=$enable_monolithic;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3044 else
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3046 fi
3047
3048 else
3049
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3051
3052 fi
3053
3054
3055 eval "$wx_cv_use_monolithic"
3056
3057 if test x"$enablestring" = xdisable; then
3058 if test $wxUSE_MONOLITHIC = yes; then
3059 result=no
3060 else
3061 result=yes
3062 fi
3063 else
3064 result=$wxUSE_MONOLITHIC
3065 fi
3066
3067 { echo "$as_me:$LINENO: result: $result" >&5
3068 echo "${ECHO_T}$result" >&6; }
3069
3070
3071 enablestring=
3072 defaultval=
3073 if test -z "$defaultval"; then
3074 if test x"$enablestring" = xdisable; then
3075 defaultval=yes
3076 else
3077 defaultval=no
3078 fi
3079 fi
3080
3081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3082 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3083 # Check whether --enable-plugins was given.
3084 if test "${enable_plugins+set}" = set; then
3085 enableval=$enable_plugins;
3086 if test "$enableval" = yes; then
3087 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3088 else
3089 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3090 fi
3091
3092 else
3093
3094 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3095
3096 fi
3097
3098
3099 eval "$wx_cv_use_plugins"
3100
3101 if test x"$enablestring" = xdisable; then
3102 if test $wxUSE_PLUGINS = yes; then
3103 result=no
3104 else
3105 result=yes
3106 fi
3107 else
3108 result=$wxUSE_PLUGINS
3109 fi
3110
3111 { echo "$as_me:$LINENO: result: $result" >&5
3112 echo "${ECHO_T}$result" >&6; }
3113
3114
3115 withstring=without
3116 defaultval=$wxUSE_ALL_FEATURES
3117 if test -z "$defaultval"; then
3118 if test x"$withstring" = xwithout; then
3119 defaultval=yes
3120 else
3121 defaultval=no
3122 fi
3123 fi
3124 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3125 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3126
3127 # Check whether --with-subdirs was given.
3128 if test "${with_subdirs+set}" = set; then
3129 withval=$with_subdirs;
3130 if test "$withval" = yes; then
3131 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3132 else
3133 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3134 fi
3135
3136 else
3137
3138 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3139
3140 fi
3141
3142
3143 eval "$wx_cv_use_subdirs"
3144
3145 if test x"$withstring" = xwithout; then
3146 if test $wxWITH_SUBDIRS = yes; then
3147 result=no
3148 else
3149 result=yes
3150 fi
3151 else
3152 result=$wxWITH_SUBDIRS
3153 fi
3154
3155 { echo "$as_me:$LINENO: result: $result" >&5
3156 echo "${ECHO_T}$result" >&6; }
3157
3158
3159 # Check whether --with-flavour was given.
3160 if test "${with_flavour+set}" = set; then
3161 withval=$with_flavour; WX_FLAVOUR="$withval"
3162 fi
3163
3164
3165 enablestring=
3166 defaultval=
3167 if test -z "$defaultval"; then
3168 if test x"$enablestring" = xdisable; then
3169 defaultval=yes
3170 else
3171 defaultval=no
3172 fi
3173 fi
3174
3175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3176 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3177 # Check whether --enable-official_build was given.
3178 if test "${enable_official_build+set}" = set; then
3179 enableval=$enable_official_build;
3180 if test "$enableval" = yes; then
3181 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3182 else
3183 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3184 fi
3185
3186 else
3187
3188 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3189
3190 fi
3191
3192
3193 eval "$wx_cv_use_official_build"
3194
3195 if test x"$enablestring" = xdisable; then
3196 if test $wxUSE_OFFICIAL_BUILD = yes; then
3197 result=no
3198 else
3199 result=yes
3200 fi
3201 else
3202 result=$wxUSE_OFFICIAL_BUILD
3203 fi
3204
3205 { echo "$as_me:$LINENO: result: $result" >&5
3206 echo "${ECHO_T}$result" >&6; }
3207
3208 # Check whether --enable-vendor was given.
3209 if test "${enable_vendor+set}" = set; then
3210 enableval=$enable_vendor; VENDOR="$enableval"
3211 fi
3212
3213 if test "x$VENDOR" = "x"; then
3214 VENDOR="custom"
3215 fi
3216
3217
3218 enablestring=disable
3219 defaultval=
3220 if test -z "$defaultval"; then
3221 if test x"$enablestring" = xdisable; then
3222 defaultval=yes
3223 else
3224 defaultval=no
3225 fi
3226 fi
3227
3228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3229 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3230 # Check whether --enable-all-features was given.
3231 if test "${enable_all_features+set}" = set; then
3232 enableval=$enable_all_features;
3233 if test "$enableval" = yes; then
3234 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3235 else
3236 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3237 fi
3238
3239 else
3240
3241 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3242
3243 fi
3244
3245
3246 eval "$wx_cv_use_all_features"
3247
3248 if test x"$enablestring" = xdisable; then
3249 if test $wxUSE_ALL_FEATURES = yes; then
3250 result=no
3251 else
3252 result=yes
3253 fi
3254 else
3255 result=$wxUSE_ALL_FEATURES
3256 fi
3257
3258 { echo "$as_me:$LINENO: result: $result" >&5
3259 echo "${ECHO_T}$result" >&6; }
3260
3261
3262
3263 if test "$wxUSE_GUI" = "yes"; then
3264
3265
3266 enablestring=
3267 defaultval=
3268 if test -z "$defaultval"; then
3269 if test x"$enablestring" = xdisable; then
3270 defaultval=yes
3271 else
3272 defaultval=no
3273 fi
3274 fi
3275
3276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3277 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3278 # Check whether --enable-universal was given.
3279 if test "${enable_universal+set}" = set; then
3280 enableval=$enable_universal;
3281 if test "$enableval" = yes; then
3282 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3283 else
3284 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3285 fi
3286
3287 else
3288
3289 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3290
3291 fi
3292
3293
3294 eval "$wx_cv_use_universal"
3295
3296 if test x"$enablestring" = xdisable; then
3297 if test $wxUSE_UNIVERSAL = yes; then
3298 result=no
3299 else
3300 result=yes
3301 fi
3302 else
3303 result=$wxUSE_UNIVERSAL
3304 fi
3305
3306 { echo "$as_me:$LINENO: result: $result" >&5
3307 echo "${ECHO_T}$result" >&6; }
3308
3309 if test "$wxUSE_UNIVERSAL" = "yes"; then
3310
3311 # Check whether --with-themes was given.
3312 if test "${with_themes+set}" = set; then
3313 withval=$with_themes; wxUNIV_THEMES="$withval"
3314 fi
3315
3316 fi
3317
3318
3319 # Check whether --with-gtk was given.
3320 if test "${with_gtk+set}" = set; then
3321 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3322 fi
3323
3324
3325 # Check whether --with-motif was given.
3326 if test "${with_motif+set}" = set; then
3327 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3328 fi
3329
3330
3331 # Check whether --with-osx_carbon was given.
3332 if test "${with_osx_carbon+set}" = set; then
3333 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3334 fi
3335
3336
3337 # Check whether --with-osx_cocoa was given.
3338 if test "${with_osx_cocoa+set}" = set; then
3339 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3340 fi
3341
3342
3343 # Check whether --with-mac was given.
3344 if test "${with_mac+set}" = set; then
3345 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-cocoa was given.
3350 if test "${with_cocoa+set}" = set; then
3351 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-wine was given.
3356 if test "${with_wine+set}" = set; then
3357 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3358 fi
3359
3360
3361 # Check whether --with-msw was given.
3362 if test "${with_msw+set}" = set; then
3363 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-pm was given.
3368 if test "${with_pm+set}" = set; then
3369 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-mgl was given.
3374 if test "${with_mgl+set}" = set; then
3375 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-directfb was given.
3380 if test "${with_directfb+set}" = set; then
3381 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-microwin was given.
3386 if test "${with_microwin+set}" = set; then
3387 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-x11 was given.
3392 if test "${with_x11+set}" = set; then
3393 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 enablestring=
3398 defaultval=
3399 if test -z "$defaultval"; then
3400 if test x"$enablestring" = xdisable; then
3401 defaultval=yes
3402 else
3403 defaultval=no
3404 fi
3405 fi
3406
3407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3408 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3409 # Check whether --enable-nanox was given.
3410 if test "${enable_nanox+set}" = set; then
3411 enableval=$enable_nanox;
3412 if test "$enableval" = yes; then
3413 wx_cv_use_nanox='wxUSE_NANOX=yes'
3414 else
3415 wx_cv_use_nanox='wxUSE_NANOX=no'
3416 fi
3417
3418 else
3419
3420 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3421
3422 fi
3423
3424
3425 eval "$wx_cv_use_nanox"
3426
3427 if test x"$enablestring" = xdisable; then
3428 if test $wxUSE_NANOX = yes; then
3429 result=no
3430 else
3431 result=yes
3432 fi
3433 else
3434 result=$wxUSE_NANOX
3435 fi
3436
3437 { echo "$as_me:$LINENO: result: $result" >&5
3438 echo "${ECHO_T}$result" >&6; }
3439
3440
3441 # Check whether --enable-gtk2 was given.
3442 if test "${enable_gtk2+set}" = set; then
3443 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3444 fi
3445
3446
3447 enablestring=
3448 defaultval=
3449 if test -z "$defaultval"; then
3450 if test x"$enablestring" = xdisable; then
3451 defaultval=yes
3452 else
3453 defaultval=no
3454 fi
3455 fi
3456
3457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3459 # Check whether --enable-gpe was given.
3460 if test "${enable_gpe+set}" = set; then
3461 enableval=$enable_gpe;
3462 if test "$enableval" = yes; then
3463 wx_cv_use_gpe='wxUSE_GPE=yes'
3464 else
3465 wx_cv_use_gpe='wxUSE_GPE=no'
3466 fi
3467
3468 else
3469
3470 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3471
3472 fi
3473
3474
3475 eval "$wx_cv_use_gpe"
3476
3477 if test x"$enablestring" = xdisable; then
3478 if test $wxUSE_GPE = yes; then
3479 result=no
3480 else
3481 result=yes
3482 fi
3483 else
3484 result=$wxUSE_GPE
3485 fi
3486
3487 { echo "$as_me:$LINENO: result: $result" >&5
3488 echo "${ECHO_T}$result" >&6; }
3489
3490
3491
3492 { echo "$as_me:$LINENO: checking for toolkit" >&5
3493 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3494
3495
3496
3497 # In Wine, we need to default to MSW, not GTK or MOTIF
3498 if test "$wxUSE_WINE" = "yes"; then
3499 DEFAULT_DEFAULT_wxUSE_GTK=0
3500 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3501 DEFAULT_DEFAULT_wxUSE_MSW=1
3502 wxUSE_SHARED=no
3503 CC=${CC:-winegcc}
3504 CXX=${CXX:-wineg++}
3505 fi
3506
3507
3508 if test "$wxUSE_GUI" = "yes"; then
3509
3510 if test "$USE_BEOS" = 1; then
3511 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3512 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3513 { (exit 1); exit 1; }; }
3514 fi
3515
3516 if test "$TOOLKIT_GIVEN" = 1; then
3517 for toolkit in $ALL_TOOLKITS; do
3518 var=wxUSE_$toolkit
3519 eval "value=\$${var}"
3520 if test "x$value" = "xno"; then
3521 eval "$var=0"
3522 elif test "x$value" != "x"; then
3523 eval "$var=1"
3524 fi
3525
3526 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3527 eval "wx${toolkit}_VERSION=$value"
3528 fi
3529 done
3530 else
3531 for toolkit in $ALL_TOOLKITS; do
3532 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3533 eval "wxUSE_$toolkit=\$${var}"
3534 done
3535 fi
3536
3537 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3538 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3539 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3540
3541 case "${host}" in
3542 *-pc-os2_emx | *-pc-os2-emx )
3543 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3544 esac
3545
3546 case "$NUM_TOOLKITS" in
3547 1)
3548 ;;
3549 0)
3550 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3551 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3552 { (exit 1); exit 1; }; }
3553 ;;
3554 *)
3555 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3556 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3557 { (exit 1); exit 1; }; }
3558 esac
3559
3560 # to be removed when --disable-gtk2 isn't needed
3561 if test "x$wxUSE_GTK2" = "xyes"; then
3562 wxGTK_VERSION=2
3563 elif test "x$wxUSE_GTK2" = "xno"; then
3564 wxGTK_VERSION=1
3565 fi
3566
3567 for toolkit in $ALL_TOOLKITS; do
3568 var=wxUSE_$toolkit
3569 eval "value=\$${var}"
3570 if test "$value" = 1; then
3571 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3572 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3573 echo "${ECHO_T}$toolkit_echo" >&6; }
3574 fi
3575 done
3576 else
3577 if test "x$host_alias" != "x"; then
3578 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3579 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3580 else
3581 { echo "$as_me:$LINENO: result: base only" >&5
3582 echo "${ECHO_T}base only" >&6; }
3583 fi
3584 fi
3585
3586 wxUSE_MAC=0
3587 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3588 wxUSE_MAC=1
3589 fi
3590
3591
3592
3593 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3594 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3595
3596 # Check whether --with-libpng was given.
3597 if test "${with_libpng+set}" = set; then
3598 withval=$with_libpng;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3607 else
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3611 fi
3612
3613 else
3614
3615 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3616
3617 fi
3618
3619
3620 eval "$wx_cv_use_libpng"
3621
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660
3661 else
3662
3663 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3664
3665 fi
3666
3667
3668 eval "$wx_cv_use_libjpeg"
3669
3670 if test "$wxUSE_LIBJPEG" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBJPEG" = no; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBJPEG" = sys; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3682 else
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3686 fi
3687
3688
3689 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3690 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3691
3692 # Check whether --with-libtiff was given.
3693 if test "${with_libtiff+set}" = set; then
3694 withval=$with_libtiff;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3697 elif test "$withval" = no; then
3698 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3699 elif test "$withval" = sys; then
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3703 else
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3707 fi
3708
3709 else
3710
3711 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3712
3713 fi
3714
3715
3716 eval "$wx_cv_use_libtiff"
3717
3718 if test "$wxUSE_LIBTIFF" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBTIFF" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3738 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3739
3740 # Check whether --with-libxpm was given.
3741 if test "${with_libxpm+set}" = set; then
3742 withval=$with_libxpm;
3743 if test "$withval" = yes; then
3744 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3745 elif test "$withval" = no; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3747 elif test "$withval" = sys; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3749 elif test "$withval" = builtin; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3751 else
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3755 fi
3756
3757 else
3758
3759 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3760
3761 fi
3762
3763
3764 eval "$wx_cv_use_libxpm"
3765
3766 if test "$wxUSE_LIBXPM" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBXPM" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBXPM" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBXPM" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785 withstring=
3786 defaultval=$wxUSE_ALL_FEATURES
3787 if test -z "$defaultval"; then
3788 if test x"$withstring" = xwithout; then
3789 defaultval=yes
3790 else
3791 defaultval=no
3792 fi
3793 fi
3794 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3795 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3796
3797 # Check whether --with-libiconv was given.
3798 if test "${with_libiconv+set}" = set; then
3799 withval=$with_libiconv;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3802 else
3803 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3804 fi
3805
3806 else
3807
3808 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3809
3810 fi
3811
3812
3813 eval "$wx_cv_use_libiconv"
3814
3815 if test x"$withstring" = xwithout; then
3816 if test $wxUSE_LIBICONV = yes; then
3817 result=no
3818 else
3819 result=yes
3820 fi
3821 else
3822 result=$wxUSE_LIBICONV
3823 fi
3824
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3827
3828
3829 withstring=
3830 defaultval=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x"$withstring" = xwithout; then
3833 defaultval=yes
3834 else
3835 defaultval=no
3836 fi
3837 fi
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3840
3841 # Check whether --with-libmspack was given.
3842 if test "${with_libmspack+set}" = set; then
3843 withval=$with_libmspack;
3844 if test "$withval" = yes; then
3845 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3846 else
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3848 fi
3849
3850 else
3851
3852 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3853
3854 fi
3855
3856
3857 eval "$wx_cv_use_libmspack"
3858
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_LIBMSPACK = yes; then
3861 result=no
3862 else
3863 result=yes
3864 fi
3865 else
3866 result=$wxUSE_LIBMSPACK
3867 fi
3868
3869 { echo "$as_me:$LINENO: result: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3871
3872
3873 withstring=without
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3877 defaultval=yes
3878 else
3879 defaultval=no
3880 fi
3881 fi
3882 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3883 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3884
3885 # Check whether --with-gtkprint was given.
3886 if test "${with_gtkprint+set}" = set; then
3887 withval=$with_gtkprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3890 else
3891 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3892 fi
3893
3894 else
3895
3896 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3897
3898 fi
3899
3900
3901 eval "$wx_cv_use_gtkprint"
3902
3903 if test x"$withstring" = xwithout; then
3904 if test $wxUSE_GTKPRINT = yes; then
3905 result=no
3906 else
3907 result=yes
3908 fi
3909 else
3910 result=$wxUSE_GTKPRINT
3911 fi
3912
3913 { echo "$as_me:$LINENO: result: $result" >&5
3914 echo "${ECHO_T}$result" >&6; }
3915
3916
3917 withstring=without
3918 defaultval=$wxUSE_ALL_FEATURES
3919 if test -z "$defaultval"; then
3920 if test x"$withstring" = xwithout; then
3921 defaultval=yes
3922 else
3923 defaultval=no
3924 fi
3925 fi
3926 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3927 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3928
3929 # Check whether --with-gnomeprint was given.
3930 if test "${with_gnomeprint+set}" = set; then
3931 withval=$with_gnomeprint;
3932 if test "$withval" = yes; then
3933 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3934 else
3935 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3936 fi
3937
3938 else
3939
3940 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3941
3942 fi
3943
3944
3945 eval "$wx_cv_use_gnomeprint"
3946
3947 if test x"$withstring" = xwithout; then
3948 if test $wxUSE_LIBGNOMEPRINT = yes; then
3949 result=no
3950 else
3951 result=yes
3952 fi
3953 else
3954 result=$wxUSE_LIBGNOMEPRINT
3955 fi
3956
3957 { echo "$as_me:$LINENO: result: $result" >&5
3958 echo "${ECHO_T}$result" >&6; }
3959
3960
3961 withstring=
3962 defaultval=$wxUSE_ALL_FEATURES
3963 if test -z "$defaultval"; then
3964 if test x"$withstring" = xwithout; then
3965 defaultval=yes
3966 else
3967 defaultval=no
3968 fi
3969 fi
3970 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3971 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3972
3973 # Check whether --with-gnomevfs was given.
3974 if test "${with_gnomevfs+set}" = set; then
3975 withval=$with_gnomevfs;
3976 if test "$withval" = yes; then
3977 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3978 else
3979 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3980 fi
3981
3982 else
3983
3984 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3985
3986 fi
3987
3988
3989 eval "$wx_cv_use_gnomevfs"
3990
3991 if test x"$withstring" = xwithout; then
3992 if test $wxUSE_LIBGNOMEVFS = yes; then
3993 result=no
3994 else
3995 result=yes
3996 fi
3997 else
3998 result=$wxUSE_LIBGNOMEVFS
3999 fi
4000
4001 { echo "$as_me:$LINENO: result: $result" >&5
4002 echo "${ECHO_T}$result" >&6; }
4003
4004
4005 withstring=
4006 defaultval=$wxUSE_ALL_FEATURES
4007 if test -z "$defaultval"; then
4008 if test x"$withstring" = xwithout; then
4009 defaultval=yes
4010 else
4011 defaultval=no
4012 fi
4013 fi
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4016
4017 # Check whether --with-hildon was given.
4018 if test "${with_hildon+set}" = set; then
4019 withval=$with_hildon;
4020 if test "$withval" = yes; then
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4022 else
4023 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4024 fi
4025
4026 else
4027
4028 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4029
4030 fi
4031
4032
4033 eval "$wx_cv_use_hildon"
4034
4035 if test x"$withstring" = xwithout; then
4036 if test $wxUSE_LIBHILDON = yes; then
4037 result=no
4038 else
4039 result=yes
4040 fi
4041 else
4042 result=$wxUSE_LIBHILDON
4043 fi
4044
4045 { echo "$as_me:$LINENO: result: $result" >&5
4046 echo "${ECHO_T}$result" >&6; }
4047
4048
4049 withstring=
4050 defaultval=$wxUSE_ALL_FEATURES
4051 if test -z "$defaultval"; then
4052 if test x"$withstring" = xwithout; then
4053 defaultval=yes
4054 else
4055 defaultval=no
4056 fi
4057 fi
4058 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4059 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4060
4061 # Check whether --with-opengl was given.
4062 if test "${with_opengl+set}" = set; then
4063 withval=$with_opengl;
4064 if test "$withval" = yes; then
4065 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4066 else
4067 wx_cv_use_opengl='wxUSE_OPENGL=no'
4068 fi
4069
4070 else
4071
4072 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4073
4074 fi
4075
4076
4077 eval "$wx_cv_use_opengl"
4078
4079 if test x"$withstring" = xwithout; then
4080 if test $wxUSE_OPENGL = yes; then
4081 result=no
4082 else
4083 result=yes
4084 fi
4085 else
4086 result=$wxUSE_OPENGL
4087 fi
4088
4089 { echo "$as_me:$LINENO: result: $result" >&5
4090 echo "${ECHO_T}$result" >&6; }
4091
4092
4093 fi
4094
4095
4096 withstring=
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4100 defaultval=yes
4101 else
4102 defaultval=no
4103 fi
4104 fi
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4107
4108 # Check whether --with-dmalloc was given.
4109 if test "${with_dmalloc+set}" = set; then
4110 withval=$with_dmalloc;
4111 if test "$withval" = yes; then
4112 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4113 else
4114 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4115 fi
4116
4117 else
4118
4119 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4120
4121 fi
4122
4123
4124 eval "$wx_cv_use_dmalloc"
4125
4126 if test x"$withstring" = xwithout; then
4127 if test $wxUSE_DMALLOC = yes; then
4128 result=no
4129 else
4130 result=yes
4131 fi
4132 else
4133 result=$wxUSE_DMALLOC
4134 fi
4135
4136 { echo "$as_me:$LINENO: result: $result" >&5
4137 echo "${ECHO_T}$result" >&6; }
4138
4139
4140 withstring=
4141 defaultval=$wxUSE_ALL_FEATURES
4142 if test -z "$defaultval"; then
4143 if test x"$withstring" = xwithout; then
4144 defaultval=yes
4145 else
4146 defaultval=no
4147 fi
4148 fi
4149 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4150 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4151
4152 # Check whether --with-sdl was given.
4153 if test "${with_sdl+set}" = set; then
4154 withval=$with_sdl;
4155 if test "$withval" = yes; then
4156 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4157 else
4158 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4159 fi
4160
4161 else
4162
4163 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4164
4165 fi
4166
4167
4168 eval "$wx_cv_use_sdl"
4169
4170 if test x"$withstring" = xwithout; then
4171 if test $wxUSE_LIBSDL = yes; then
4172 result=no
4173 else
4174 result=yes
4175 fi
4176 else
4177 result=$wxUSE_LIBSDL
4178 fi
4179
4180 { echo "$as_me:$LINENO: result: $result" >&5
4181 echo "${ECHO_T}$result" >&6; }
4182
4183
4184 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4185 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4186
4187 # Check whether --with-regex was given.
4188 if test "${with_regex+set}" = set; then
4189 withval=$with_regex;
4190 if test "$withval" = yes; then
4191 wx_cv_use_regex='wxUSE_REGEX=yes'
4192 elif test "$withval" = no; then
4193 wx_cv_use_regex='wxUSE_REGEX=no'
4194 elif test "$withval" = sys; then
4195 wx_cv_use_regex='wxUSE_REGEX=sys'
4196 elif test "$withval" = builtin; then
4197 wx_cv_use_regex='wxUSE_REGEX=builtin'
4198 else
4199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4201 { (exit 1); exit 1; }; }
4202 fi
4203
4204 else
4205
4206 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4207
4208 fi
4209
4210
4211 eval "$wx_cv_use_regex"
4212
4213 if test "$wxUSE_REGEX" = yes; then
4214 { echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6; }
4216 elif test "$wxUSE_REGEX" = no; then
4217 { echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6; }
4219 elif test "$wxUSE_REGEX" = sys; then
4220 { echo "$as_me:$LINENO: result: system version" >&5
4221 echo "${ECHO_T}system version" >&6; }
4222 elif test "$wxUSE_REGEX" = builtin; then
4223 { echo "$as_me:$LINENO: result: builtin version" >&5
4224 echo "${ECHO_T}builtin version" >&6; }
4225 else
4226 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4227 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4228 { (exit 1); exit 1; }; }
4229 fi
4230
4231
4232 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4233 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4234
4235 # Check whether --with-zlib was given.
4236 if test "${with_zlib+set}" = set; then
4237 withval=$with_zlib;
4238 if test "$withval" = yes; then
4239 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4240 elif test "$withval" = no; then
4241 wx_cv_use_zlib='wxUSE_ZLIB=no'
4242 elif test "$withval" = sys; then
4243 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4244 elif test "$withval" = builtin; then
4245 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4246 else
4247 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4248 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4249 { (exit 1); exit 1; }; }
4250 fi
4251
4252 else
4253
4254 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4255
4256 fi
4257
4258
4259 eval "$wx_cv_use_zlib"
4260
4261 if test "$wxUSE_ZLIB" = yes; then
4262 { echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6; }
4264 elif test "$wxUSE_ZLIB" = no; then
4265 { echo "$as_me:$LINENO: result: no" >&5
4266 echo "${ECHO_T}no" >&6; }
4267 elif test "$wxUSE_ZLIB" = sys; then
4268 { echo "$as_me:$LINENO: result: system version" >&5
4269 echo "${ECHO_T}system version" >&6; }
4270 elif test "$wxUSE_ZLIB" = builtin; then
4271 { echo "$as_me:$LINENO: result: builtin version" >&5
4272 echo "${ECHO_T}builtin version" >&6; }
4273 else
4274 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4275 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4276 { (exit 1); exit 1; }; }
4277 fi
4278
4279
4280 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4281 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4282
4283 # Check whether --with-expat was given.
4284 if test "${with_expat+set}" = set; then
4285 withval=$with_expat;
4286 if test "$withval" = yes; then
4287 wx_cv_use_expat='wxUSE_EXPAT=yes'
4288 elif test "$withval" = no; then
4289 wx_cv_use_expat='wxUSE_EXPAT=no'
4290 elif test "$withval" = sys; then
4291 wx_cv_use_expat='wxUSE_EXPAT=sys'
4292 elif test "$withval" = builtin; then
4293 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4294 else
4295 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4296 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4298 fi
4299
4300 else
4301
4302 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4303
4304 fi
4305
4306
4307 eval "$wx_cv_use_expat"
4308
4309 if test "$wxUSE_EXPAT" = yes; then
4310 { echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6; }
4312 elif test "$wxUSE_EXPAT" = no; then
4313 { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4315 elif test "$wxUSE_EXPAT" = sys; then
4316 { echo "$as_me:$LINENO: result: system version" >&5
4317 echo "${ECHO_T}system version" >&6; }
4318 elif test "$wxUSE_EXPAT" = builtin; then
4319 { echo "$as_me:$LINENO: result: builtin version" >&5
4320 echo "${ECHO_T}builtin version" >&6; }
4321 else
4322 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4323 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4324 { (exit 1); exit 1; }; }
4325 fi
4326
4327
4328 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4329 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4330
4331 # Check whether --with-macosx-sdk was given.
4332 if test "${with_macosx_sdk+set}" = set; then
4333 withval=$with_macosx_sdk;
4334 wxUSE_MACOSX_SDK=$withval
4335 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4336
4337 fi
4338
4339 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4340 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4341
4342 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4343 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4344
4345 # Check whether --with-macosx-version-min was given.
4346 if test "${with_macosx_version_min+set}" = set; then
4347 withval=$with_macosx_version_min;
4348 wxUSE_MACOSX_VERSION_MIN=$withval
4349 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4350
4351 fi
4352
4353 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4354 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4355
4356
4357
4358 enablestring=disable
4359 defaultval=
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4362 defaultval=yes
4363 else
4364 defaultval=no
4365 fi
4366 fi
4367
4368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4370 # Check whether --enable-shared was given.
4371 if test "${enable_shared+set}" = set; then
4372 enableval=$enable_shared;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_shared='wxUSE_SHARED=yes'
4375 else
4376 wx_cv_use_shared='wxUSE_SHARED=no'
4377 fi
4378
4379 else
4380
4381 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4382
4383 fi
4384
4385
4386 eval "$wx_cv_use_shared"
4387
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_SHARED = yes; then
4390 result=no
4391 else
4392 result=yes
4393 fi
4394 else
4395 result=$wxUSE_SHARED
4396 fi
4397
4398 { echo "$as_me:$LINENO: result: $result" >&5
4399 echo "${ECHO_T}$result" >&6; }
4400
4401
4402 enablestring=
4403 defaultval=
4404 if test -z "$defaultval"; then
4405 if test x"$enablestring" = xdisable; then
4406 defaultval=yes
4407 else
4408 defaultval=no
4409 fi
4410 fi
4411
4412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4414 # Check whether --enable-debug was given.
4415 if test "${enable_debug+set}" = set; then
4416 enableval=$enable_debug;
4417 if test "$enableval" = yes; then
4418 wx_cv_use_debug='wxUSE_DEBUG=yes'
4419 else
4420 wx_cv_use_debug='wxUSE_DEBUG=no'
4421 fi
4422
4423 else
4424
4425 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4426
4427 fi
4428
4429
4430 eval "$wx_cv_use_debug"
4431
4432 if test x"$enablestring" = xdisable; then
4433 if test $wxUSE_DEBUG = yes; then
4434 result=no
4435 else
4436 result=yes
4437 fi
4438 else
4439 result=$wxUSE_DEBUG
4440 fi
4441
4442 { echo "$as_me:$LINENO: result: $result" >&5
4443 echo "${ECHO_T}$result" >&6; }
4444
4445
4446 enablestring=
4447 defaultval=
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4450 defaultval=yes
4451 else
4452 defaultval=no
4453 fi
4454 fi
4455
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4458 # Check whether --enable-stl was given.
4459 if test "${enable_stl+set}" = set; then
4460 enableval=$enable_stl;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_stl='wxUSE_STL=yes'
4463 else
4464 wx_cv_use_stl='wxUSE_STL=no'
4465 fi
4466
4467 else
4468
4469 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4470
4471 fi
4472
4473
4474 eval "$wx_cv_use_stl"
4475
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_STL = yes; then
4478 result=no
4479 else
4480 result=yes
4481 fi
4482 else
4483 result=$wxUSE_STL
4484 fi
4485
4486 { echo "$as_me:$LINENO: result: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4488
4489
4490 enablestring=
4491 defaultval=
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4494 defaultval=yes
4495 else
4496 defaultval=no
4497 fi
4498 fi
4499
4500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4501 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4502 # Check whether --enable-std_iostreams was given.
4503 if test "${enable_std_iostreams+set}" = set; then
4504 enableval=$enable_std_iostreams;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4507 else
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4509 fi
4510
4511 else
4512
4513 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4514
4515 fi
4516
4517
4518 eval "$wx_cv_use_std_iostreams"
4519
4520 if test x"$enablestring" = xdisable; then
4521 if test $wxUSE_STD_IOSTREAM = yes; then
4522 result=no
4523 else
4524 result=yes
4525 fi
4526 else
4527 result=$wxUSE_STD_IOSTREAM
4528 fi
4529
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4532
4533
4534 enablestring=
4535 defaultval=
4536 if test -z "$defaultval"; then
4537 if test x"$enablestring" = xdisable; then
4538 defaultval=yes
4539 else
4540 defaultval=no
4541 fi
4542 fi
4543
4544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4546 # Check whether --enable-std_string was given.
4547 if test "${enable_std_string+set}" = set; then
4548 enableval=$enable_std_string;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4551 else
4552 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4553 fi
4554
4555 else
4556
4557 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4558
4559 fi
4560
4561
4562 eval "$wx_cv_use_std_string"
4563
4564 if test x"$enablestring" = xdisable; then
4565 if test $wxUSE_STD_STRING = yes; then
4566 result=no
4567 else
4568 result=yes
4569 fi
4570 else
4571 result=$wxUSE_STD_STRING
4572 fi
4573
4574 { echo "$as_me:$LINENO: result: $result" >&5
4575 echo "${ECHO_T}$result" >&6; }
4576
4577
4578 enablestring=disable
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4590 # Check whether --enable-unicode was given.
4591 if test "${enable_unicode+set}" = set; then
4592 enableval=$enable_unicode;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4595 else
4596 wx_cv_use_unicode='wxUSE_UNICODE=no'
4597 fi
4598
4599 else
4600
4601 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4602
4603 fi
4604
4605
4606 eval "$wx_cv_use_unicode"
4607
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_UNICODE = yes; then
4610 result=no
4611 else
4612 result=yes
4613 fi
4614 else
4615 result=$wxUSE_UNICODE
4616 fi
4617
4618 { echo "$as_me:$LINENO: result: $result" >&5
4619 echo "${ECHO_T}$result" >&6; }
4620
4621
4622 enablestring=
4623 defaultval=
4624 if test -z "$defaultval"; then
4625 if test x"$enablestring" = xdisable; then
4626 defaultval=yes
4627 else
4628 defaultval=no
4629 fi
4630 fi
4631
4632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4634 # Check whether --enable-mslu was given.
4635 if test "${enable_mslu+set}" = set; then
4636 enableval=$enable_mslu;
4637 if test "$enableval" = yes; then
4638 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4639 else
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4641 fi
4642
4643 else
4644
4645 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4646
4647 fi
4648
4649
4650 eval "$wx_cv_use_mslu"
4651
4652 if test x"$enablestring" = xdisable; then
4653 if test $wxUSE_UNICODE_MSLU = yes; then
4654 result=no
4655 else
4656 result=yes
4657 fi
4658 else
4659 result=$wxUSE_UNICODE_MSLU
4660 fi
4661
4662 { echo "$as_me:$LINENO: result: $result" >&5
4663 echo "${ECHO_T}$result" >&6; }
4664
4665
4666 enablestring=
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4669 # Check whether --enable-utf8 was given.
4670 if test "${enable_utf8+set}" = set; then
4671 enableval=$enable_utf8;
4672 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4673
4674 else
4675
4676 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4677
4678 fi
4679
4680
4681 eval "$wx_cv_use_utf8"
4682
4683 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4684 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4685
4686
4687 enablestring=
4688 defaultval=
4689 if test -z "$defaultval"; then
4690 if test x"$enablestring" = xdisable; then
4691 defaultval=yes
4692 else
4693 defaultval=no
4694 fi
4695 fi
4696
4697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4699 # Check whether --enable-utf8only was given.
4700 if test "${enable_utf8only+set}" = set; then
4701 enableval=$enable_utf8only;
4702 if test "$enableval" = yes; then
4703 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4704 else
4705 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4706 fi
4707
4708 else
4709
4710 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4711
4712 fi
4713
4714
4715 eval "$wx_cv_use_utf8only"
4716
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4719 result=no
4720 else
4721 result=yes
4722 fi
4723 else
4724 result=$wxUSE_UNICODE_UTF8_LOCALE
4725 fi
4726
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4729
4730
4731 enablestring=
4732 defaultval=
4733 if test -z "$defaultval"; then
4734 if test x"$enablestring" = xdisable; then
4735 defaultval=yes
4736 else
4737 defaultval=no
4738 fi
4739 fi
4740
4741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4743 # Check whether --enable-extended_rtti was given.
4744 if test "${enable_extended_rtti+set}" = set; then
4745 enableval=$enable_extended_rtti;
4746 if test "$enableval" = yes; then
4747 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4748 else
4749 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4750 fi
4751
4752 else
4753
4754 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4755
4756 fi
4757
4758
4759 eval "$wx_cv_use_extended_rtti"
4760
4761 if test x"$enablestring" = xdisable; then
4762 if test $wxUSE_EXTENDED_RTTI = yes; then
4763 result=no
4764 else
4765 result=yes
4766 fi
4767 else
4768 result=$wxUSE_EXTENDED_RTTI
4769 fi
4770
4771 { echo "$as_me:$LINENO: result: $result" >&5
4772 echo "${ECHO_T}$result" >&6; }
4773
4774 if test "$USE_OS2" = 1; then
4775 DEFAULT_wxUSE_OMF=no
4776
4777 enablestring=
4778 defaultval=
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4781 defaultval=yes
4782 else
4783 defaultval=no
4784 fi
4785 fi
4786
4787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4789 # Check whether --enable-omf was given.
4790 if test "${enable_omf+set}" = set; then
4791 enableval=$enable_omf;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_omf='wxUSE_OMF=yes'
4794 else
4795 wx_cv_use_omf='wxUSE_OMF=no'
4796 fi
4797
4798 else
4799
4800 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4801
4802 fi
4803
4804
4805 eval "$wx_cv_use_omf"
4806
4807 if test x"$enablestring" = xdisable; then
4808 if test $wxUSE_OMF = yes; then
4809 result=no
4810 else
4811 result=yes
4812 fi
4813 else
4814 result=$wxUSE_OMF
4815 fi
4816
4817 { echo "$as_me:$LINENO: result: $result" >&5
4818 echo "${ECHO_T}$result" >&6; }
4819
4820 fi
4821
4822 if test "$wxUSE_DEBUG" = "yes"; then
4823 DEFAULT_wxUSE_DEBUG_FLAG=yes
4824 DEFAULT_wxUSE_DEBUG_INFO=yes
4825 BUILD=debug
4826 elif test "$wxUSE_DEBUG" = "no"; then
4827 DEFAULT_wxUSE_DEBUG_FLAG=no
4828 DEFAULT_wxUSE_DEBUG_INFO=no
4829 BUILD=release
4830 fi
4831
4832
4833 enablestring=
4834 defaultval=
4835 if test -z "$defaultval"; then
4836 if test x"$enablestring" = xdisable; then
4837 defaultval=yes
4838 else
4839 defaultval=no
4840 fi
4841 fi
4842
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4845 # Check whether --enable-debug_flag was given.
4846 if test "${enable_debug_flag+set}" = set; then
4847 enableval=$enable_debug_flag;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4850 else
4851 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4852 fi
4853
4854 else
4855
4856 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4857
4858 fi
4859
4860
4861 eval "$wx_cv_use_debug_flag"
4862
4863 if test x"$enablestring" = xdisable; then
4864 if test $wxUSE_DEBUG_FLAG = yes; then
4865 result=no
4866 else
4867 result=yes
4868 fi
4869 else
4870 result=$wxUSE_DEBUG_FLAG
4871 fi
4872
4873 { echo "$as_me:$LINENO: result: $result" >&5
4874 echo "${ECHO_T}$result" >&6; }
4875
4876
4877 enablestring=
4878 defaultval=
4879 if test -z "$defaultval"; then
4880 if test x"$enablestring" = xdisable; then
4881 defaultval=yes
4882 else
4883 defaultval=no
4884 fi
4885 fi
4886
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4889 # Check whether --enable-debug_info was given.
4890 if test "${enable_debug_info+set}" = set; then
4891 enableval=$enable_debug_info;
4892 if test "$enableval" = yes; then
4893 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4894 else
4895 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4896 fi
4897
4898 else
4899
4900 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4901
4902 fi
4903
4904
4905 eval "$wx_cv_use_debug_info"
4906
4907 if test x"$enablestring" = xdisable; then
4908 if test $wxUSE_DEBUG_INFO = yes; then
4909 result=no
4910 else
4911 result=yes
4912 fi
4913 else
4914 result=$wxUSE_DEBUG_INFO
4915 fi
4916
4917 { echo "$as_me:$LINENO: result: $result" >&5
4918 echo "${ECHO_T}$result" >&6; }
4919
4920
4921 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4922 wxUSE_DEBUG=yes
4923 BUILD=debug
4924 fi
4925
4926 if test "$wxUSE_DEBUG" = "yes"; then
4927 DEFAULT_wxUSE_OPTIMISE=no
4928 fi
4929
4930
4931 enablestring=disable
4932 defaultval=
4933 if test -z "$defaultval"; then
4934 if test x"$enablestring" = xdisable; then
4935 defaultval=yes
4936 else
4937 defaultval=no
4938 fi
4939 fi
4940
4941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4942 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4943 # Check whether --enable-optimise was given.
4944 if test "${enable_optimise+set}" = set; then
4945 enableval=$enable_optimise;
4946 if test "$enableval" = yes; then
4947 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4948 else
4949 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4950 fi
4951
4952 else
4953
4954 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4955
4956 fi
4957
4958
4959 eval "$wx_cv_use_optimise"
4960
4961 if test x"$enablestring" = xdisable; then
4962 if test $wxUSE_OPTIMISE = yes; then
4963 result=no
4964 else
4965 result=yes
4966 fi
4967 else
4968 result=$wxUSE_OPTIMISE
4969 fi
4970
4971 { echo "$as_me:$LINENO: result: $result" >&5
4972 echo "${ECHO_T}$result" >&6; }
4973
4974
4975
4976 enablestring=
4977 defaultval=
4978 if test -z "$defaultval"; then
4979 if test x"$enablestring" = xdisable; then
4980 defaultval=yes
4981 else
4982 defaultval=no
4983 fi
4984 fi
4985
4986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4988 # Check whether --enable-debug_gdb was given.
4989 if test "${enable_debug_gdb+set}" = set; then
4990 enableval=$enable_debug_gdb;
4991 if test "$enableval" = yes; then
4992 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4993 else
4994 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4995 fi
4996
4997 else
4998
4999 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5000
5001 fi
5002
5003
5004 eval "$wx_cv_use_debug_gdb"
5005
5006 if test x"$enablestring" = xdisable; then
5007 if test $wxUSE_DEBUG_GDB = yes; then
5008 result=no
5009 else
5010 result=yes
5011 fi
5012 else
5013 result=$wxUSE_DEBUG_GDB
5014 fi
5015
5016 { echo "$as_me:$LINENO: result: $result" >&5
5017 echo "${ECHO_T}$result" >&6; }
5018
5019
5020 enablestring=
5021 defaultval=
5022 if test -z "$defaultval"; then
5023 if test x"$enablestring" = xdisable; then
5024 defaultval=yes
5025 else
5026 defaultval=no
5027 fi
5028 fi
5029
5030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5032 # Check whether --enable-debug_cntxt was given.
5033 if test "${enable_debug_cntxt+set}" = set; then
5034 enableval=$enable_debug_cntxt;
5035 if test "$enableval" = yes; then
5036 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5037 else
5038 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5039 fi
5040
5041 else
5042
5043 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5044
5045 fi
5046
5047
5048 eval "$wx_cv_use_debug_cntxt"
5049
5050 if test x"$enablestring" = xdisable; then
5051 if test $wxUSE_DEBUG_CONTEXT = yes; then
5052 result=no
5053 else
5054 result=yes
5055 fi
5056 else
5057 result=$wxUSE_DEBUG_CONTEXT
5058 fi
5059
5060 { echo "$as_me:$LINENO: result: $result" >&5
5061 echo "${ECHO_T}$result" >&6; }
5062
5063
5064 enablestring=
5065 defaultval=
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5068 defaultval=yes
5069 else
5070 defaultval=no
5071 fi
5072 fi
5073
5074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5076 # Check whether --enable-mem_tracing was given.
5077 if test "${enable_mem_tracing+set}" = set; then
5078 enableval=$enable_mem_tracing;
5079 if test "$enableval" = yes; then
5080 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5081 else
5082 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5083 fi
5084
5085 else
5086
5087 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5088
5089 fi
5090
5091
5092 eval "$wx_cv_use_mem_tracing"
5093
5094 if test x"$enablestring" = xdisable; then
5095 if test $wxUSE_MEM_TRACING = yes; then
5096 result=no
5097 else
5098 result=yes
5099 fi
5100 else
5101 result=$wxUSE_MEM_TRACING
5102 fi
5103
5104 { echo "$as_me:$LINENO: result: $result" >&5
5105 echo "${ECHO_T}$result" >&6; }
5106
5107
5108 enablestring=
5109 defaultval=
5110 if test -z "$defaultval"; then
5111 if test x"$enablestring" = xdisable; then
5112 defaultval=yes
5113 else
5114 defaultval=no
5115 fi
5116 fi
5117
5118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5120 # Check whether --enable-profile was given.
5121 if test "${enable_profile+set}" = set; then
5122 enableval=$enable_profile;
5123 if test "$enableval" = yes; then
5124 wx_cv_use_profile='wxUSE_PROFILE=yes'
5125 else
5126 wx_cv_use_profile='wxUSE_PROFILE=no'
5127 fi
5128
5129 else
5130
5131 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5132
5133 fi
5134
5135
5136 eval "$wx_cv_use_profile"
5137
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_PROFILE = yes; then
5140 result=no
5141 else
5142 result=yes
5143 fi
5144 else
5145 result=$wxUSE_PROFILE
5146 fi
5147
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5150
5151
5152 enablestring=
5153 defaultval=
5154 if test -z "$defaultval"; then
5155 if test x"$enablestring" = xdisable; then
5156 defaultval=yes
5157 else
5158 defaultval=no
5159 fi
5160 fi
5161
5162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5164 # Check whether --enable-no_rtti was given.
5165 if test "${enable_no_rtti+set}" = set; then
5166 enableval=$enable_no_rtti;
5167 if test "$enableval" = yes; then
5168 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5169 else
5170 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5171 fi
5172
5173 else
5174
5175 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5176
5177 fi
5178
5179
5180 eval "$wx_cv_use_no_rtti"
5181
5182 if test x"$enablestring" = xdisable; then
5183 if test $wxUSE_NO_RTTI = yes; then
5184 result=no
5185 else
5186 result=yes
5187 fi
5188 else
5189 result=$wxUSE_NO_RTTI
5190 fi
5191
5192 { echo "$as_me:$LINENO: result: $result" >&5
5193 echo "${ECHO_T}$result" >&6; }
5194
5195
5196 enablestring=
5197 defaultval=
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5200 defaultval=yes
5201 else
5202 defaultval=no
5203 fi
5204 fi
5205
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5208 # Check whether --enable-no_exceptions was given.
5209 if test "${enable_no_exceptions+set}" = set; then
5210 enableval=$enable_no_exceptions;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5213 else
5214 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5215 fi
5216
5217 else
5218
5219 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5220
5221 fi
5222
5223
5224 eval "$wx_cv_use_no_exceptions"
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $wxUSE_NO_EXCEPTIONS = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$wxUSE_NO_EXCEPTIONS
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5252 # Check whether --enable-permissive was given.
5253 if test "${enable_permissive+set}" = set; then
5254 enableval=$enable_permissive;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5257 else
5258 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5259 fi
5260
5261 else
5262
5263 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5264
5265 fi
5266
5267
5268 eval "$wx_cv_use_permissive"
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $wxUSE_PERMISSIVE = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$wxUSE_PERMISSIVE
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284 enablestring=
5285 defaultval=
5286 if test -z "$defaultval"; then
5287 if test x"$enablestring" = xdisable; then
5288 defaultval=yes
5289 else
5290 defaultval=no
5291 fi
5292 fi
5293
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5296 # Check whether --enable-no_deps was given.
5297 if test "${enable_no_deps+set}" = set; then
5298 enableval=$enable_no_deps;
5299 if test "$enableval" = yes; then
5300 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5301 else
5302 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5303 fi
5304
5305 else
5306
5307 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5308
5309 fi
5310
5311
5312 eval "$wx_cv_use_no_deps"
5313
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_NO_DEPS = yes; then
5316 result=no
5317 else
5318 result=yes
5319 fi
5320 else
5321 result=$wxUSE_NO_DEPS
5322 fi
5323
5324 { echo "$as_me:$LINENO: result: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5326
5327
5328 enablestring=disable
5329 defaultval=
5330 if test -z "$defaultval"; then
5331 if test x"$enablestring" = xdisable; then
5332 defaultval=yes
5333 else
5334 defaultval=no
5335 fi
5336 fi
5337
5338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5340 # Check whether --enable-vararg_macros was given.
5341 if test "${enable_vararg_macros+set}" = set; then
5342 enableval=$enable_vararg_macros;
5343 if test "$enableval" = yes; then
5344 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5345 else
5346 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5347 fi
5348
5349 else
5350
5351 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5352
5353 fi
5354
5355
5356 eval "$wx_cv_use_vararg_macros"
5357
5358 if test x"$enablestring" = xdisable; then
5359 if test $wxUSE_VARARG_MACROS = yes; then
5360 result=no
5361 else
5362 result=yes
5363 fi
5364 else
5365 result=$wxUSE_VARARG_MACROS
5366 fi
5367
5368 { echo "$as_me:$LINENO: result: $result" >&5
5369 echo "${ECHO_T}$result" >&6; }
5370
5371
5372 enablestring=
5373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5375 # Check whether --enable-universal_binary was given.
5376 if test "${enable_universal_binary+set}" = set; then
5377 enableval=$enable_universal_binary;
5378 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5379
5380 else
5381
5382 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5383
5384 fi
5385
5386
5387 eval "$wx_cv_use_universal_binary"
5388
5389 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5390 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5391
5392
5393
5394 enablestring=
5395 defaultval=
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5398 defaultval=yes
5399 else
5400 defaultval=no
5401 fi
5402 fi
5403
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5406 # Check whether --enable-compat26 was given.
5407 if test "${enable_compat26+set}" = set; then
5408 enableval=$enable_compat26;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5411 else
5412 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5413 fi
5414
5415 else
5416
5417 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5418
5419 fi
5420
5421
5422 eval "$wx_cv_use_compat26"
5423
5424 if test x"$enablestring" = xdisable; then
5425 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5426 result=no
5427 else
5428 result=yes
5429 fi
5430 else
5431 result=$WXWIN_COMPATIBILITY_2_6
5432 fi
5433
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5436
5437
5438 enablestring=disable
5439 defaultval=
5440 if test -z "$defaultval"; then
5441 if test x"$enablestring" = xdisable; then
5442 defaultval=yes
5443 else
5444 defaultval=no
5445 fi
5446 fi
5447
5448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5450 # Check whether --enable-compat28 was given.
5451 if test "${enable_compat28+set}" = set; then
5452 enableval=$enable_compat28;
5453 if test "$enableval" = yes; then
5454 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5455 else
5456 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5457 fi
5458
5459 else
5460
5461 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5462
5463 fi
5464
5465
5466 eval "$wx_cv_use_compat28"
5467
5468 if test x"$enablestring" = xdisable; then
5469 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5470 result=no
5471 else
5472 result=yes
5473 fi
5474 else
5475 result=$WXWIN_COMPATIBILITY_2_8
5476 fi
5477
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5480
5481
5482
5483 enablestring=disable
5484 defaultval=
5485 if test -z "$defaultval"; then
5486 if test x"$enablestring" = xdisable; then
5487 defaultval=yes
5488 else
5489 defaultval=no
5490 fi
5491 fi
5492
5493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5495 # Check whether --enable-rpath was given.
5496 if test "${enable_rpath+set}" = set; then
5497 enableval=$enable_rpath;
5498 if test "$enableval" = yes; then
5499 wx_cv_use_rpath='wxUSE_RPATH=yes'
5500 else
5501 wx_cv_use_rpath='wxUSE_RPATH=no'
5502 fi
5503
5504 else
5505
5506 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5507
5508 fi
5509
5510
5511 eval "$wx_cv_use_rpath"
5512
5513 if test x"$enablestring" = xdisable; then
5514 if test $wxUSE_RPATH = yes; then
5515 result=no
5516 else
5517 result=yes
5518 fi
5519 else
5520 result=$wxUSE_RPATH
5521 fi
5522
5523 { echo "$as_me:$LINENO: result: $result" >&5
5524 echo "${ECHO_T}$result" >&6; }
5525
5526
5527
5528 enablestring=
5529 defaultval=
5530 if test -z "$defaultval"; then
5531 if test x"$enablestring" = xdisable; then
5532 defaultval=yes
5533 else
5534 defaultval=no
5535 fi
5536 fi
5537
5538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5539 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5540 # Check whether --enable-objc_uniquifying was given.
5541 if test "${enable_objc_uniquifying+set}" = set; then
5542 enableval=$enable_objc_uniquifying;
5543 if test "$enableval" = yes; then
5544 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5545 else
5546 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5547 fi
5548
5549 else
5550
5551 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5552
5553 fi
5554
5555
5556 eval "$wx_cv_use_objc_uniquifying"
5557
5558 if test x"$enablestring" = xdisable; then
5559 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5560 result=no
5561 else
5562 result=yes
5563 fi
5564 else
5565 result=$wxUSE_OBJC_UNIQUIFYING
5566 fi
5567
5568 { echo "$as_me:$LINENO: result: $result" >&5
5569 echo "${ECHO_T}$result" >&6; }
5570
5571
5572
5573 enablestring=disable
5574 defaultval=
5575 if test -z "$defaultval"; then
5576 if test x"$enablestring" = xdisable; then
5577 defaultval=yes
5578 else
5579 defaultval=no
5580 fi
5581 fi
5582
5583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5585 # Check whether --enable-visibility was given.
5586 if test "${enable_visibility+set}" = set; then
5587 enableval=$enable_visibility;
5588 if test "$enableval" = yes; then
5589 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5590 else
5591 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5592 fi
5593
5594 else
5595
5596 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5597
5598 fi
5599
5600
5601 eval "$wx_cv_use_visibility"
5602
5603 if test x"$enablestring" = xdisable; then
5604 if test $wxUSE_VISIBILITY = yes; then
5605 result=no
5606 else
5607 result=yes
5608 fi
5609 else
5610 result=$wxUSE_VISIBILITY
5611 fi
5612
5613 { echo "$as_me:$LINENO: result: $result" >&5
5614 echo "${ECHO_T}$result" >&6; }
5615
5616
5617
5618
5619 enablestring=
5620 defaultval=$wxUSE_ALL_FEATURES
5621 if test -z "$defaultval"; then
5622 if test x"$enablestring" = xdisable; then
5623 defaultval=yes
5624 else
5625 defaultval=no
5626 fi
5627 fi
5628
5629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5631 # Check whether --enable-intl was given.
5632 if test "${enable_intl+set}" = set; then
5633 enableval=$enable_intl;
5634 if test "$enableval" = yes; then
5635 wx_cv_use_intl='wxUSE_INTL=yes'
5636 else
5637 wx_cv_use_intl='wxUSE_INTL=no'
5638 fi
5639
5640 else
5641
5642 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5643
5644 fi
5645
5646
5647 eval "$wx_cv_use_intl"
5648
5649 if test x"$enablestring" = xdisable; then
5650 if test $wxUSE_INTL = yes; then
5651 result=no
5652 else
5653 result=yes
5654 fi
5655 else
5656 result=$wxUSE_INTL
5657 fi
5658
5659 { echo "$as_me:$LINENO: result: $result" >&5
5660 echo "${ECHO_T}$result" >&6; }
5661
5662
5663 enablestring=
5664 defaultval=$wxUSE_ALL_FEATURES
5665 if test -z "$defaultval"; then
5666 if test x"$enablestring" = xdisable; then
5667 defaultval=yes
5668 else
5669 defaultval=no
5670 fi
5671 fi
5672
5673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5675 # Check whether --enable-xlocale was given.
5676 if test "${enable_xlocale+set}" = set; then
5677 enableval=$enable_xlocale;
5678 if test "$enableval" = yes; then
5679 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5680 else
5681 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5682 fi
5683
5684 else
5685
5686 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5687
5688 fi
5689
5690
5691 eval "$wx_cv_use_xlocale"
5692
5693 if test x"$enablestring" = xdisable; then
5694 if test $wxUSE_XLOCALE = yes; then
5695 result=no
5696 else
5697 result=yes
5698 fi
5699 else
5700 result=$wxUSE_XLOCALE
5701 fi
5702
5703 { echo "$as_me:$LINENO: result: $result" >&5
5704 echo "${ECHO_T}$result" >&6; }
5705
5706
5707 enablestring=
5708 defaultval=$wxUSE_ALL_FEATURES
5709 if test -z "$defaultval"; then
5710 if test x"$enablestring" = xdisable; then
5711 defaultval=yes
5712 else
5713 defaultval=no
5714 fi
5715 fi
5716
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5719 # Check whether --enable-config was given.
5720 if test "${enable_config+set}" = set; then
5721 enableval=$enable_config;
5722 if test "$enableval" = yes; then
5723 wx_cv_use_config='wxUSE_CONFIG=yes'
5724 else
5725 wx_cv_use_config='wxUSE_CONFIG=no'
5726 fi
5727
5728 else
5729
5730 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5731
5732 fi
5733
5734
5735 eval "$wx_cv_use_config"
5736
5737 if test x"$enablestring" = xdisable; then
5738 if test $wxUSE_CONFIG = yes; then
5739 result=no
5740 else
5741 result=yes
5742 fi
5743 else
5744 result=$wxUSE_CONFIG
5745 fi
5746
5747 { echo "$as_me:$LINENO: result: $result" >&5
5748 echo "${ECHO_T}$result" >&6; }
5749
5750
5751
5752 enablestring=
5753 defaultval=$wxUSE_ALL_FEATURES
5754 if test -z "$defaultval"; then
5755 if test x"$enablestring" = xdisable; then
5756 defaultval=yes
5757 else
5758 defaultval=no
5759 fi
5760 fi
5761
5762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5764 # Check whether --enable-protocols was given.
5765 if test "${enable_protocols+set}" = set; then
5766 enableval=$enable_protocols;
5767 if test "$enableval" = yes; then
5768 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5769 else
5770 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5771 fi
5772
5773 else
5774
5775 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5776
5777 fi
5778
5779
5780 eval "$wx_cv_use_protocols"
5781
5782 if test x"$enablestring" = xdisable; then
5783 if test $wxUSE_PROTOCOL = yes; then
5784 result=no
5785 else
5786 result=yes
5787 fi
5788 else
5789 result=$wxUSE_PROTOCOL
5790 fi
5791
5792 { echo "$as_me:$LINENO: result: $result" >&5
5793 echo "${ECHO_T}$result" >&6; }
5794
5795
5796 enablestring=
5797 defaultval=$wxUSE_ALL_FEATURES
5798 if test -z "$defaultval"; then
5799 if test x"$enablestring" = xdisable; then
5800 defaultval=yes
5801 else
5802 defaultval=no
5803 fi
5804 fi
5805
5806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5808 # Check whether --enable-ftp was given.
5809 if test "${enable_ftp+set}" = set; then
5810 enableval=$enable_ftp;
5811 if test "$enableval" = yes; then
5812 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5813 else
5814 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5815 fi
5816
5817 else
5818
5819 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5820
5821 fi
5822
5823
5824 eval "$wx_cv_use_ftp"
5825
5826 if test x"$enablestring" = xdisable; then
5827 if test $wxUSE_PROTOCOL_FTP = yes; then
5828 result=no
5829 else
5830 result=yes
5831 fi
5832 else
5833 result=$wxUSE_PROTOCOL_FTP
5834 fi
5835
5836 { echo "$as_me:$LINENO: result: $result" >&5
5837 echo "${ECHO_T}$result" >&6; }
5838
5839
5840 enablestring=
5841 defaultval=$wxUSE_ALL_FEATURES
5842 if test -z "$defaultval"; then
5843 if test x"$enablestring" = xdisable; then
5844 defaultval=yes
5845 else
5846 defaultval=no
5847 fi
5848 fi
5849
5850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5852 # Check whether --enable-http was given.
5853 if test "${enable_http+set}" = set; then
5854 enableval=$enable_http;
5855 if test "$enableval" = yes; then
5856 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5857 else
5858 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5859 fi
5860
5861 else
5862
5863 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5864
5865 fi
5866
5867
5868 eval "$wx_cv_use_http"
5869
5870 if test x"$enablestring" = xdisable; then
5871 if test $wxUSE_PROTOCOL_HTTP = yes; then
5872 result=no
5873 else
5874 result=yes
5875 fi
5876 else
5877 result=$wxUSE_PROTOCOL_HTTP
5878 fi
5879
5880 { echo "$as_me:$LINENO: result: $result" >&5
5881 echo "${ECHO_T}$result" >&6; }
5882
5883
5884 enablestring=
5885 defaultval=$wxUSE_ALL_FEATURES
5886 if test -z "$defaultval"; then
5887 if test x"$enablestring" = xdisable; then
5888 defaultval=yes
5889 else
5890 defaultval=no
5891 fi
5892 fi
5893
5894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5896 # Check whether --enable-fileproto was given.
5897 if test "${enable_fileproto+set}" = set; then
5898 enableval=$enable_fileproto;
5899 if test "$enableval" = yes; then
5900 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5901 else
5902 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5903 fi
5904
5905 else
5906
5907 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5908
5909 fi
5910
5911
5912 eval "$wx_cv_use_fileproto"
5913
5914 if test x"$enablestring" = xdisable; then
5915 if test $wxUSE_PROTOCOL_FILE = yes; then
5916 result=no
5917 else
5918 result=yes
5919 fi
5920 else
5921 result=$wxUSE_PROTOCOL_FILE
5922 fi
5923
5924 { echo "$as_me:$LINENO: result: $result" >&5
5925 echo "${ECHO_T}$result" >&6; }
5926
5927
5928 enablestring=
5929 defaultval=$wxUSE_ALL_FEATURES
5930 if test -z "$defaultval"; then
5931 if test x"$enablestring" = xdisable; then
5932 defaultval=yes
5933 else
5934 defaultval=no
5935 fi
5936 fi
5937
5938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5940 # Check whether --enable-sockets was given.
5941 if test "${enable_sockets+set}" = set; then
5942 enableval=$enable_sockets;
5943 if test "$enableval" = yes; then
5944 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5945 else
5946 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5947 fi
5948
5949 else
5950
5951 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5952
5953 fi
5954
5955
5956 eval "$wx_cv_use_sockets"
5957
5958 if test x"$enablestring" = xdisable; then
5959 if test $wxUSE_SOCKETS = yes; then
5960 result=no
5961 else
5962 result=yes
5963 fi
5964 else
5965 result=$wxUSE_SOCKETS
5966 fi
5967
5968 { echo "$as_me:$LINENO: result: $result" >&5
5969 echo "${ECHO_T}$result" >&6; }
5970
5971
5972 enablestring=
5973 defaultval=$wxUSE_ALL_FEATURES
5974 if test -z "$defaultval"; then
5975 if test x"$enablestring" = xdisable; then
5976 defaultval=yes
5977 else
5978 defaultval=no
5979 fi
5980 fi
5981
5982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5984 # Check whether --enable-ipv6 was given.
5985 if test "${enable_ipv6+set}" = set; then
5986 enableval=$enable_ipv6;
5987 if test "$enableval" = yes; then
5988 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5989 else
5990 wx_cv_use_ipv6='wxUSE_IPV6=no'
5991 fi
5992
5993 else
5994
5995 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5996
5997 fi
5998
5999
6000 eval "$wx_cv_use_ipv6"
6001
6002 if test x"$enablestring" = xdisable; then
6003 if test $wxUSE_IPV6 = yes; then
6004 result=no
6005 else
6006 result=yes
6007 fi
6008 else
6009 result=$wxUSE_IPV6
6010 fi
6011
6012 { echo "$as_me:$LINENO: result: $result" >&5
6013 echo "${ECHO_T}$result" >&6; }
6014
6015
6016 enablestring=
6017 defaultval=$wxUSE_ALL_FEATURES
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6020 defaultval=yes
6021 else
6022 defaultval=no
6023 fi
6024 fi
6025
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6028 # Check whether --enable-ole was given.
6029 if test "${enable_ole+set}" = set; then
6030 enableval=$enable_ole;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_ole='wxUSE_OLE=yes'
6033 else
6034 wx_cv_use_ole='wxUSE_OLE=no'
6035 fi
6036
6037 else
6038
6039 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6040
6041 fi
6042
6043
6044 eval "$wx_cv_use_ole"
6045
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_OLE = yes; then
6048 result=no
6049 else
6050 result=yes
6051 fi
6052 else
6053 result=$wxUSE_OLE
6054 fi
6055
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6058
6059
6060 enablestring=
6061 defaultval=$wxUSE_ALL_FEATURES
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6072 # Check whether --enable-dataobj was given.
6073 if test "${enable_dataobj+set}" = set; then
6074 enableval=$enable_dataobj;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6077 else
6078 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6079 fi
6080
6081 else
6082
6083 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_dataobj"
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_DATAOBJ = yes; then
6092 result=no
6093 else
6094 result=yes
6095 fi
6096 else
6097 result=$wxUSE_DATAOBJ
6098 fi
6099
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6102
6103
6104
6105 enablestring=
6106 defaultval=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6109 defaultval=yes
6110 else
6111 defaultval=no
6112 fi
6113 fi
6114
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6117 # Check whether --enable-ipc was given.
6118 if test "${enable_ipc+set}" = set; then
6119 enableval=$enable_ipc;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_ipc='wxUSE_IPC=yes'
6122 else
6123 wx_cv_use_ipc='wxUSE_IPC=no'
6124 fi
6125
6126 else
6127
6128 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6129
6130 fi
6131
6132
6133 eval "$wx_cv_use_ipc"
6134
6135 if test x"$enablestring" = xdisable; then
6136 if test $wxUSE_IPC = yes; then
6137 result=no
6138 else
6139 result=yes
6140 fi
6141 else
6142 result=$wxUSE_IPC
6143 fi
6144
6145 { echo "$as_me:$LINENO: result: $result" >&5
6146 echo "${ECHO_T}$result" >&6; }
6147
6148
6149
6150 enablestring=
6151 defaultval=$wxUSE_ALL_FEATURES
6152 if test -z "$defaultval"; then
6153 if test x"$enablestring" = xdisable; then
6154 defaultval=yes
6155 else
6156 defaultval=no
6157 fi
6158 fi
6159
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6162 # Check whether --enable-baseevtloop was given.
6163 if test "${enable_baseevtloop+set}" = set; then
6164 enableval=$enable_baseevtloop;
6165 if test "$enableval" = yes; then
6166 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6167 else
6168 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6169 fi
6170
6171 else
6172
6173 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6174
6175 fi
6176
6177
6178 eval "$wx_cv_use_baseevtloop"
6179
6180 if test x"$enablestring" = xdisable; then
6181 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6182 result=no
6183 else
6184 result=yes
6185 fi
6186 else
6187 result=$wxUSE_CONSOLE_EVENTLOOP
6188 fi
6189
6190 { echo "$as_me:$LINENO: result: $result" >&5
6191 echo "${ECHO_T}$result" >&6; }
6192
6193
6194 enablestring=
6195 defaultval=$wxUSE_ALL_FEATURES
6196 if test -z "$defaultval"; then
6197 if test x"$enablestring" = xdisable; then
6198 defaultval=yes
6199 else
6200 defaultval=no
6201 fi
6202 fi
6203
6204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6205 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6206 # Check whether --enable-epollloop was given.
6207 if test "${enable_epollloop+set}" = set; then
6208 enableval=$enable_epollloop;
6209 if test "$enableval" = yes; then
6210 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6211 else
6212 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6213 fi
6214
6215 else
6216
6217 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6218
6219 fi
6220
6221
6222 eval "$wx_cv_use_epollloop"
6223
6224 if test x"$enablestring" = xdisable; then
6225 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6226 result=no
6227 else
6228 result=yes
6229 fi
6230 else
6231 result=$wxUSE_EPOLL_DISPATCHER
6232 fi
6233
6234 { echo "$as_me:$LINENO: result: $result" >&5
6235 echo "${ECHO_T}$result" >&6; }
6236
6237
6238 enablestring=
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6242 defaultval=yes
6243 else
6244 defaultval=no
6245 fi
6246 fi
6247
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6250 # Check whether --enable-selectloop was given.
6251 if test "${enable_selectloop+set}" = set; then
6252 enableval=$enable_selectloop;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6255 else
6256 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6257 fi
6258
6259 else
6260
6261 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6262
6263 fi
6264
6265
6266 eval "$wx_cv_use_selectloop"
6267
6268 if test x"$enablestring" = xdisable; then
6269 if test $wxUSE_SELECT_DISPATCHER = yes; then
6270 result=no
6271 else
6272 result=yes
6273 fi
6274 else
6275 result=$wxUSE_SELECT_DISPATCHER
6276 fi
6277
6278 { echo "$as_me:$LINENO: result: $result" >&5
6279 echo "${ECHO_T}$result" >&6; }
6280
6281
6282
6283 enablestring=
6284 defaultval=$wxUSE_ALL_FEATURES
6285 if test -z "$defaultval"; then
6286 if test x"$enablestring" = xdisable; then
6287 defaultval=yes
6288 else
6289 defaultval=no
6290 fi
6291 fi
6292
6293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6295 # Check whether --enable-apple_ieee was given.
6296 if test "${enable_apple_ieee+set}" = set; then
6297 enableval=$enable_apple_ieee;
6298 if test "$enableval" = yes; then
6299 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6300 else
6301 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6302 fi
6303
6304 else
6305
6306 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6307
6308 fi
6309
6310
6311 eval "$wx_cv_use_apple_ieee"
6312
6313 if test x"$enablestring" = xdisable; then
6314 if test $wxUSE_APPLE_IEEE = yes; then
6315 result=no
6316 else
6317 result=yes
6318 fi
6319 else
6320 result=$wxUSE_APPLE_IEEE
6321 fi
6322
6323 { echo "$as_me:$LINENO: result: $result" >&5
6324 echo "${ECHO_T}$result" >&6; }
6325
6326
6327 enablestring=
6328 defaultval=$wxUSE_ALL_FEATURES
6329 if test -z "$defaultval"; then
6330 if test x"$enablestring" = xdisable; then
6331 defaultval=yes
6332 else
6333 defaultval=no
6334 fi
6335 fi
6336
6337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6339 # Check whether --enable-arcstream was given.
6340 if test "${enable_arcstream+set}" = set; then
6341 enableval=$enable_arcstream;
6342 if test "$enableval" = yes; then
6343 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6344 else
6345 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6346 fi
6347
6348 else
6349
6350 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6351
6352 fi
6353
6354
6355 eval "$wx_cv_use_arcstream"
6356
6357 if test x"$enablestring" = xdisable; then
6358 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6359 result=no
6360 else
6361 result=yes
6362 fi
6363 else
6364 result=$wxUSE_ARCHIVE_STREAMS
6365 fi
6366
6367 { echo "$as_me:$LINENO: result: $result" >&5
6368 echo "${ECHO_T}$result" >&6; }
6369
6370
6371 enablestring=
6372 defaultval=$wxUSE_ALL_FEATURES
6373 if test -z "$defaultval"; then
6374 if test x"$enablestring" = xdisable; then
6375 defaultval=yes
6376 else
6377 defaultval=no
6378 fi
6379 fi
6380
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6383 # Check whether --enable-base64 was given.
6384 if test "${enable_base64+set}" = set; then
6385 enableval=$enable_base64;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_base64='wxUSE_BASE64=yes'
6388 else
6389 wx_cv_use_base64='wxUSE_BASE64=no'
6390 fi
6391
6392 else
6393
6394 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6395
6396 fi
6397
6398
6399 eval "$wx_cv_use_base64"
6400
6401 if test x"$enablestring" = xdisable; then
6402 if test $wxUSE_BASE64 = yes; then
6403 result=no
6404 else
6405 result=yes
6406 fi
6407 else
6408 result=$wxUSE_BASE64
6409 fi
6410
6411 { echo "$as_me:$LINENO: result: $result" >&5
6412 echo "${ECHO_T}$result" >&6; }
6413
6414
6415 enablestring=
6416 defaultval=$wxUSE_ALL_FEATURES
6417 if test -z "$defaultval"; then
6418 if test x"$enablestring" = xdisable; then
6419 defaultval=yes
6420 else
6421 defaultval=no
6422 fi
6423 fi
6424
6425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6427 # Check whether --enable-backtrace was given.
6428 if test "${enable_backtrace+set}" = set; then
6429 enableval=$enable_backtrace;
6430 if test "$enableval" = yes; then
6431 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6432 else
6433 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6434 fi
6435
6436 else
6437
6438 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6439
6440 fi
6441
6442
6443 eval "$wx_cv_use_backtrace"
6444
6445 if test x"$enablestring" = xdisable; then
6446 if test $wxUSE_STACKWALKER = yes; then
6447 result=no
6448 else
6449 result=yes
6450 fi
6451 else
6452 result=$wxUSE_STACKWALKER
6453 fi
6454
6455 { echo "$as_me:$LINENO: result: $result" >&5
6456 echo "${ECHO_T}$result" >&6; }
6457
6458
6459 enablestring=
6460 defaultval=$wxUSE_ALL_FEATURES
6461 if test -z "$defaultval"; then
6462 if test x"$enablestring" = xdisable; then
6463 defaultval=yes
6464 else
6465 defaultval=no
6466 fi
6467 fi
6468
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6471 # Check whether --enable-catch_segvs was given.
6472 if test "${enable_catch_segvs+set}" = set; then
6473 enableval=$enable_catch_segvs;
6474 if test "$enableval" = yes; then
6475 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6476 else
6477 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6478 fi
6479
6480 else
6481
6482 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6483
6484 fi
6485
6486
6487 eval "$wx_cv_use_catch_segvs"
6488
6489 if test x"$enablestring" = xdisable; then
6490 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6491 result=no
6492 else
6493 result=yes
6494 fi
6495 else
6496 result=$wxUSE_ON_FATAL_EXCEPTION
6497 fi
6498
6499 { echo "$as_me:$LINENO: result: $result" >&5
6500 echo "${ECHO_T}$result" >&6; }
6501
6502
6503 enablestring=
6504 defaultval=$wxUSE_ALL_FEATURES
6505 if test -z "$defaultval"; then
6506 if test x"$enablestring" = xdisable; then
6507 defaultval=yes
6508 else
6509 defaultval=no
6510 fi
6511 fi
6512
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6515 # Check whether --enable-cmdline was given.
6516 if test "${enable_cmdline+set}" = set; then
6517 enableval=$enable_cmdline;
6518 if test "$enableval" = yes; then
6519 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6520 else
6521 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6522 fi
6523
6524 else
6525
6526 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6527
6528 fi
6529
6530
6531 eval "$wx_cv_use_cmdline"
6532
6533 if test x"$enablestring" = xdisable; then
6534 if test $wxUSE_CMDLINE_PARSER = yes; then
6535 result=no
6536 else
6537 result=yes
6538 fi
6539 else
6540 result=$wxUSE_CMDLINE_PARSER
6541 fi
6542
6543 { echo "$as_me:$LINENO: result: $result" >&5
6544 echo "${ECHO_T}$result" >&6; }
6545
6546
6547 enablestring=
6548 defaultval=$wxUSE_ALL_FEATURES
6549 if test -z "$defaultval"; then
6550 if test x"$enablestring" = xdisable; then
6551 defaultval=yes
6552 else
6553 defaultval=no
6554 fi
6555 fi
6556
6557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6558 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6559 # Check whether --enable-datetime was given.
6560 if test "${enable_datetime+set}" = set; then
6561 enableval=$enable_datetime;
6562 if test "$enableval" = yes; then
6563 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6564 else
6565 wx_cv_use_datetime='wxUSE_DATETIME=no'
6566 fi
6567
6568 else
6569
6570 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6571
6572 fi
6573
6574
6575 eval "$wx_cv_use_datetime"
6576
6577 if test x"$enablestring" = xdisable; then
6578 if test $wxUSE_DATETIME = yes; then
6579 result=no
6580 else
6581 result=yes
6582 fi
6583 else
6584 result=$wxUSE_DATETIME
6585 fi
6586
6587 { echo "$as_me:$LINENO: result: $result" >&5
6588 echo "${ECHO_T}$result" >&6; }
6589
6590
6591 enablestring=
6592 defaultval=$wxUSE_ALL_FEATURES
6593 if test -z "$defaultval"; then
6594 if test x"$enablestring" = xdisable; then
6595 defaultval=yes
6596 else
6597 defaultval=no
6598 fi
6599 fi
6600
6601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6602 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6603 # Check whether --enable-debugreport was given.
6604 if test "${enable_debugreport+set}" = set; then
6605 enableval=$enable_debugreport;
6606 if test "$enableval" = yes; then
6607 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6608 else
6609 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6610 fi
6611
6612 else
6613
6614 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6615
6616 fi
6617
6618
6619 eval "$wx_cv_use_debugreport"
6620
6621 if test x"$enablestring" = xdisable; then
6622 if test $wxUSE_DEBUGREPORT = yes; then
6623 result=no
6624 else
6625 result=yes
6626 fi
6627 else
6628 result=$wxUSE_DEBUGREPORT
6629 fi
6630
6631 { echo "$as_me:$LINENO: result: $result" >&5
6632 echo "${ECHO_T}$result" >&6; }
6633
6634
6635 enablestring=
6636 defaultval=$wxUSE_ALL_FEATURES
6637 if test -z "$defaultval"; then
6638 if test x"$enablestring" = xdisable; then
6639 defaultval=yes
6640 else
6641 defaultval=no
6642 fi
6643 fi
6644
6645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6647 # Check whether --enable-dialupman was given.
6648 if test "${enable_dialupman+set}" = set; then
6649 enableval=$enable_dialupman;
6650 if test "$enableval" = yes; then
6651 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6652 else
6653 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6654 fi
6655
6656 else
6657
6658 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6659
6660 fi
6661
6662
6663 eval "$wx_cv_use_dialupman"
6664
6665 if test x"$enablestring" = xdisable; then
6666 if test $wxUSE_DIALUP_MANAGER = yes; then
6667 result=no
6668 else
6669 result=yes
6670 fi
6671 else
6672 result=$wxUSE_DIALUP_MANAGER
6673 fi
6674
6675 { echo "$as_me:$LINENO: result: $result" >&5
6676 echo "${ECHO_T}$result" >&6; }
6677
6678
6679 enablestring=
6680 defaultval=$wxUSE_ALL_FEATURES
6681 if test -z "$defaultval"; then
6682 if test x"$enablestring" = xdisable; then
6683 defaultval=yes
6684 else
6685 defaultval=no
6686 fi
6687 fi
6688
6689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6691 # Check whether --enable-dynlib was given.
6692 if test "${enable_dynlib+set}" = set; then
6693 enableval=$enable_dynlib;
6694 if test "$enableval" = yes; then
6695 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6696 else
6697 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6698 fi
6699
6700 else
6701
6702 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6703
6704 fi
6705
6706
6707 eval "$wx_cv_use_dynlib"
6708
6709 if test x"$enablestring" = xdisable; then
6710 if test $wxUSE_DYNLIB_CLASS = yes; then
6711 result=no
6712 else
6713 result=yes
6714 fi
6715 else
6716 result=$wxUSE_DYNLIB_CLASS
6717 fi
6718
6719 { echo "$as_me:$LINENO: result: $result" >&5
6720 echo "${ECHO_T}$result" >&6; }
6721
6722
6723 enablestring=
6724 defaultval=$wxUSE_ALL_FEATURES
6725 if test -z "$defaultval"; then
6726 if test x"$enablestring" = xdisable; then
6727 defaultval=yes
6728 else
6729 defaultval=no
6730 fi
6731 fi
6732
6733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6734 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6735 # Check whether --enable-dynamicloader was given.
6736 if test "${enable_dynamicloader+set}" = set; then
6737 enableval=$enable_dynamicloader;
6738 if test "$enableval" = yes; then
6739 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6740 else
6741 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6742 fi
6743
6744 else
6745
6746 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6747
6748 fi
6749
6750
6751 eval "$wx_cv_use_dynamicloader"
6752
6753 if test x"$enablestring" = xdisable; then
6754 if test $wxUSE_DYNAMIC_LOADER = yes; then
6755 result=no
6756 else
6757 result=yes
6758 fi
6759 else
6760 result=$wxUSE_DYNAMIC_LOADER
6761 fi
6762
6763 { echo "$as_me:$LINENO: result: $result" >&5
6764 echo "${ECHO_T}$result" >&6; }
6765
6766
6767 enablestring=
6768 defaultval=$wxUSE_ALL_FEATURES
6769 if test -z "$defaultval"; then
6770 if test x"$enablestring" = xdisable; then
6771 defaultval=yes
6772 else
6773 defaultval=no
6774 fi
6775 fi
6776
6777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6779 # Check whether --enable-exceptions was given.
6780 if test "${enable_exceptions+set}" = set; then
6781 enableval=$enable_exceptions;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6784 else
6785 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6786 fi
6787
6788 else
6789
6790 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6791
6792 fi
6793
6794
6795 eval "$wx_cv_use_exceptions"
6796
6797 if test x"$enablestring" = xdisable; then
6798 if test $wxUSE_EXCEPTIONS = yes; then
6799 result=no
6800 else
6801 result=yes
6802 fi
6803 else
6804 result=$wxUSE_EXCEPTIONS
6805 fi
6806
6807 { echo "$as_me:$LINENO: result: $result" >&5
6808 echo "${ECHO_T}$result" >&6; }
6809
6810
6811 enablestring=
6812 defaultval=$wxUSE_ALL_FEATURES
6813 if test -z "$defaultval"; then
6814 if test x"$enablestring" = xdisable; then
6815 defaultval=yes
6816 else
6817 defaultval=no
6818 fi
6819 fi
6820
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6823 # Check whether --enable-ffile was given.
6824 if test "${enable_ffile+set}" = set; then
6825 enableval=$enable_ffile;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_ffile='wxUSE_FFILE=yes'
6828 else
6829 wx_cv_use_ffile='wxUSE_FFILE=no'
6830 fi
6831
6832 else
6833
6834 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6835
6836 fi
6837
6838
6839 eval "$wx_cv_use_ffile"
6840
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_FFILE = yes; then
6843 result=no
6844 else
6845 result=yes
6846 fi
6847 else
6848 result=$wxUSE_FFILE
6849 fi
6850
6851 { echo "$as_me:$LINENO: result: $result" >&5
6852 echo "${ECHO_T}$result" >&6; }
6853
6854
6855 enablestring=
6856 defaultval=$wxUSE_ALL_FEATURES
6857 if test -z "$defaultval"; then
6858 if test x"$enablestring" = xdisable; then
6859 defaultval=yes
6860 else
6861 defaultval=no
6862 fi
6863 fi
6864
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6867 # Check whether --enable-file was given.
6868 if test "${enable_file+set}" = set; then
6869 enableval=$enable_file;
6870 if test "$enableval" = yes; then
6871 wx_cv_use_file='wxUSE_FILE=yes'
6872 else
6873 wx_cv_use_file='wxUSE_FILE=no'
6874 fi
6875
6876 else
6877
6878 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6879
6880 fi
6881
6882
6883 eval "$wx_cv_use_file"
6884
6885 if test x"$enablestring" = xdisable; then
6886 if test $wxUSE_FILE = yes; then
6887 result=no
6888 else
6889 result=yes
6890 fi
6891 else
6892 result=$wxUSE_FILE
6893 fi
6894
6895 { echo "$as_me:$LINENO: result: $result" >&5
6896 echo "${ECHO_T}$result" >&6; }
6897
6898
6899 enablestring=
6900 defaultval=$wxUSE_ALL_FEATURES
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6903 defaultval=yes
6904 else
6905 defaultval=no
6906 fi
6907 fi
6908
6909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6911 # Check whether --enable-filesystem was given.
6912 if test "${enable_filesystem+set}" = set; then
6913 enableval=$enable_filesystem;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6916 else
6917 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6918 fi
6919
6920 else
6921
6922 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6923
6924 fi
6925
6926
6927 eval "$wx_cv_use_filesystem"
6928
6929 if test x"$enablestring" = xdisable; then
6930 if test $wxUSE_FILESYSTEM = yes; then
6931 result=no
6932 else
6933 result=yes
6934 fi
6935 else
6936 result=$wxUSE_FILESYSTEM
6937 fi
6938
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6941
6942
6943 enablestring=
6944 defaultval=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x"$enablestring" = xdisable; then
6947 defaultval=yes
6948 else
6949 defaultval=no
6950 fi
6951 fi
6952
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6955 # Check whether --enable-fontenum was given.
6956 if test "${enable_fontenum+set}" = set; then
6957 enableval=$enable_fontenum;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6960 else
6961 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6962 fi
6963
6964 else
6965
6966 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6967
6968 fi
6969
6970
6971 eval "$wx_cv_use_fontenum"
6972
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_FONTENUM = yes; then
6975 result=no
6976 else
6977 result=yes
6978 fi
6979 else
6980 result=$wxUSE_FONTENUM
6981 fi
6982
6983 { echo "$as_me:$LINENO: result: $result" >&5
6984 echo "${ECHO_T}$result" >&6; }
6985
6986
6987 enablestring=
6988 defaultval=$wxUSE_ALL_FEATURES
6989 if test -z "$defaultval"; then
6990 if test x"$enablestring" = xdisable; then
6991 defaultval=yes
6992 else
6993 defaultval=no
6994 fi
6995 fi
6996
6997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6998 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6999 # Check whether --enable-fontmap was given.
7000 if test "${enable_fontmap+set}" = set; then
7001 enableval=$enable_fontmap;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7004 else
7005 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7006 fi
7007
7008 else
7009
7010 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7011
7012 fi
7013
7014
7015 eval "$wx_cv_use_fontmap"
7016
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_FONTMAP = yes; then
7019 result=no
7020 else
7021 result=yes
7022 fi
7023 else
7024 result=$wxUSE_FONTMAP
7025 fi
7026
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7029
7030
7031 enablestring=
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7035 defaultval=yes
7036 else
7037 defaultval=no
7038 fi
7039 fi
7040
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7043 # Check whether --enable-fs_archive was given.
7044 if test "${enable_fs_archive+set}" = set; then
7045 enableval=$enable_fs_archive;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7048 else
7049 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7050 fi
7051
7052 else
7053
7054 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7055
7056 fi
7057
7058
7059 eval "$wx_cv_use_fs_archive"
7060
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_FS_ARCHIVE = yes; then
7063 result=no
7064 else
7065 result=yes
7066 fi
7067 else
7068 result=$wxUSE_FS_ARCHIVE
7069 fi
7070
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7073
7074
7075 enablestring=
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7079 defaultval=yes
7080 else
7081 defaultval=no
7082 fi
7083 fi
7084
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7087 # Check whether --enable-fs_inet was given.
7088 if test "${enable_fs_inet+set}" = set; then
7089 enableval=$enable_fs_inet;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7092 else
7093 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7094 fi
7095
7096 else
7097
7098 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7099
7100 fi
7101
7102
7103 eval "$wx_cv_use_fs_inet"
7104
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_FS_INET = yes; then
7107 result=no
7108 else
7109 result=yes
7110 fi
7111 else
7112 result=$wxUSE_FS_INET
7113 fi
7114
7115 { echo "$as_me:$LINENO: result: $result" >&5
7116 echo "${ECHO_T}$result" >&6; }
7117
7118
7119 enablestring=
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7123 defaultval=yes
7124 else
7125 defaultval=no
7126 fi
7127 fi
7128
7129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7131 # Check whether --enable-fs_zip was given.
7132 if test "${enable_fs_zip+set}" = set; then
7133 enableval=$enable_fs_zip;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7136 else
7137 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7138 fi
7139
7140 else
7141
7142 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7143
7144 fi
7145
7146
7147 eval "$wx_cv_use_fs_zip"
7148
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_FS_ZIP = yes; then
7151 result=no
7152 else
7153 result=yes
7154 fi
7155 else
7156 result=$wxUSE_FS_ZIP
7157 fi
7158
7159 { echo "$as_me:$LINENO: result: $result" >&5
7160 echo "${ECHO_T}$result" >&6; }
7161
7162
7163 enablestring=
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7167 defaultval=yes
7168 else
7169 defaultval=no
7170 fi
7171 fi
7172
7173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7175 # Check whether --enable-geometry was given.
7176 if test "${enable_geometry+set}" = set; then
7177 enableval=$enable_geometry;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7180 else
7181 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7182 fi
7183
7184 else
7185
7186 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7187
7188 fi
7189
7190
7191 eval "$wx_cv_use_geometry"
7192
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_GEOMETRY = yes; then
7195 result=no
7196 else
7197 result=yes
7198 fi
7199 else
7200 result=$wxUSE_GEOMETRY
7201 fi
7202
7203 { echo "$as_me:$LINENO: result: $result" >&5
7204 echo "${ECHO_T}$result" >&6; }
7205
7206
7207 enablestring=
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7211 defaultval=yes
7212 else
7213 defaultval=no
7214 fi
7215 fi
7216
7217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7219 # Check whether --enable-log was given.
7220 if test "${enable_log+set}" = set; then
7221 enableval=$enable_log;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_log='wxUSE_LOG=yes'
7224 else
7225 wx_cv_use_log='wxUSE_LOG=no'
7226 fi
7227
7228 else
7229
7230 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7231
7232 fi
7233
7234
7235 eval "$wx_cv_use_log"
7236
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_LOG = yes; then
7239 result=no
7240 else
7241 result=yes
7242 fi
7243 else
7244 result=$wxUSE_LOG
7245 fi
7246
7247 { echo "$as_me:$LINENO: result: $result" >&5
7248 echo "${ECHO_T}$result" >&6; }
7249
7250
7251 enablestring=
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7255 defaultval=yes
7256 else
7257 defaultval=no
7258 fi
7259 fi
7260
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7263 # Check whether --enable-longlong was given.
7264 if test "${enable_longlong+set}" = set; then
7265 enableval=$enable_longlong;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7268 else
7269 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7270 fi
7271
7272 else
7273
7274 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7275
7276 fi
7277
7278
7279 eval "$wx_cv_use_longlong"
7280
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_LONGLONG = yes; then
7283 result=no
7284 else
7285 result=yes
7286 fi
7287 else
7288 result=$wxUSE_LONGLONG
7289 fi
7290
7291 { echo "$as_me:$LINENO: result: $result" >&5
7292 echo "${ECHO_T}$result" >&6; }
7293
7294
7295 enablestring=
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7299 defaultval=yes
7300 else
7301 defaultval=no
7302 fi
7303 fi
7304
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7307 # Check whether --enable-mimetype was given.
7308 if test "${enable_mimetype+set}" = set; then
7309 enableval=$enable_mimetype;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7312 else
7313 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7314 fi
7315
7316 else
7317
7318 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7319
7320 fi
7321
7322
7323 eval "$wx_cv_use_mimetype"
7324
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_MIMETYPE = yes; then
7327 result=no
7328 else
7329 result=yes
7330 fi
7331 else
7332 result=$wxUSE_MIMETYPE
7333 fi
7334
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7337
7338
7339 enablestring=
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7343 defaultval=yes
7344 else
7345 defaultval=no
7346 fi
7347 fi
7348
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7351 # Check whether --enable-printfposparam was given.
7352 if test "${enable_printfposparam+set}" = set; then
7353 enableval=$enable_printfposparam;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7356 else
7357 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7358 fi
7359
7360 else
7361
7362 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7363
7364 fi
7365
7366
7367 eval "$wx_cv_use_printfposparam"
7368
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7371 result=no
7372 else
7373 result=yes
7374 fi
7375 else
7376 result=$wxUSE_PRINTF_POS_PARAMS
7377 fi
7378
7379 { echo "$as_me:$LINENO: result: $result" >&5
7380 echo "${ECHO_T}$result" >&6; }
7381
7382
7383 enablestring=
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7387 defaultval=yes
7388 else
7389 defaultval=no
7390 fi
7391 fi
7392
7393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7395 # Check whether --enable-snglinst was given.
7396 if test "${enable_snglinst+set}" = set; then
7397 enableval=$enable_snglinst;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7400 else
7401 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7402 fi
7403
7404 else
7405
7406 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7407
7408 fi
7409
7410
7411 eval "$wx_cv_use_snglinst"
7412
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_SNGLINST_CHECKER = yes; then
7415 result=no
7416 else
7417 result=yes
7418 fi
7419 else
7420 result=$wxUSE_SNGLINST_CHECKER
7421 fi
7422
7423 { echo "$as_me:$LINENO: result: $result" >&5
7424 echo "${ECHO_T}$result" >&6; }
7425
7426
7427 enablestring=
7428 defaultval=$wxUSE_ALL_FEATURES
7429 if test -z "$defaultval"; then
7430 if test x"$enablestring" = xdisable; then
7431 defaultval=yes
7432 else
7433 defaultval=no
7434 fi
7435 fi
7436
7437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7439 # Check whether --enable-sound was given.
7440 if test "${enable_sound+set}" = set; then
7441 enableval=$enable_sound;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_sound='wxUSE_SOUND=yes'
7444 else
7445 wx_cv_use_sound='wxUSE_SOUND=no'
7446 fi
7447
7448 else
7449
7450 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7451
7452 fi
7453
7454
7455 eval "$wx_cv_use_sound"
7456
7457 if test x"$enablestring" = xdisable; then
7458 if test $wxUSE_SOUND = yes; then
7459 result=no
7460 else
7461 result=yes
7462 fi
7463 else
7464 result=$wxUSE_SOUND
7465 fi
7466
7467 { echo "$as_me:$LINENO: result: $result" >&5
7468 echo "${ECHO_T}$result" >&6; }
7469
7470
7471 enablestring=
7472 defaultval=$wxUSE_ALL_FEATURES
7473 if test -z "$defaultval"; then
7474 if test x"$enablestring" = xdisable; then
7475 defaultval=yes
7476 else
7477 defaultval=no
7478 fi
7479 fi
7480
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7483 # Check whether --enable-stdpaths was given.
7484 if test "${enable_stdpaths+set}" = set; then
7485 enableval=$enable_stdpaths;
7486 if test "$enableval" = yes; then
7487 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7488 else
7489 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7490 fi
7491
7492 else
7493
7494 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7495
7496 fi
7497
7498
7499 eval "$wx_cv_use_stdpaths"
7500
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_STDPATHS = yes; then
7503 result=no
7504 else
7505 result=yes
7506 fi
7507 else
7508 result=$wxUSE_STDPATHS
7509 fi
7510
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7513
7514
7515 enablestring=
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7519 defaultval=yes
7520 else
7521 defaultval=no
7522 fi
7523 fi
7524
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7527 # Check whether --enable-stopwatch was given.
7528 if test "${enable_stopwatch+set}" = set; then
7529 enableval=$enable_stopwatch;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7532 else
7533 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7534 fi
7535
7536 else
7537
7538 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7539
7540 fi
7541
7542
7543 eval "$wx_cv_use_stopwatch"
7544
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_STOPWATCH = yes; then
7547 result=no
7548 else
7549 result=yes
7550 fi
7551 else
7552 result=$wxUSE_STOPWATCH
7553 fi
7554
7555 { echo "$as_me:$LINENO: result: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7557
7558
7559 enablestring=
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7563 defaultval=yes
7564 else
7565 defaultval=no
7566 fi
7567 fi
7568
7569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7571 # Check whether --enable-streams was given.
7572 if test "${enable_streams+set}" = set; then
7573 enableval=$enable_streams;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_streams='wxUSE_STREAMS=yes'
7576 else
7577 wx_cv_use_streams='wxUSE_STREAMS=no'
7578 fi
7579
7580 else
7581
7582 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7583
7584 fi
7585
7586
7587 eval "$wx_cv_use_streams"
7588
7589 if test x"$enablestring" = xdisable; then
7590 if test $wxUSE_STREAMS = yes; then
7591 result=no
7592 else
7593 result=yes
7594 fi
7595 else
7596 result=$wxUSE_STREAMS
7597 fi
7598
7599 { echo "$as_me:$LINENO: result: $result" >&5
7600 echo "${ECHO_T}$result" >&6; }
7601
7602
7603 enablestring=
7604 defaultval=$wxUSE_ALL_FEATURES
7605 if test -z "$defaultval"; then
7606 if test x"$enablestring" = xdisable; then
7607 defaultval=yes
7608 else
7609 defaultval=no
7610 fi
7611 fi
7612
7613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7614 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7615 # Check whether --enable-system_options was given.
7616 if test "${enable_system_options+set}" = set; then
7617 enableval=$enable_system_options;
7618 if test "$enableval" = yes; then
7619 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7620 else
7621 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7622 fi
7623
7624 else
7625
7626 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7627
7628 fi
7629
7630
7631 eval "$wx_cv_use_system_options"
7632
7633 if test x"$enablestring" = xdisable; then
7634 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7635 result=no
7636 else
7637 result=yes
7638 fi
7639 else
7640 result=$wxUSE_SYSTEM_OPTIONS
7641 fi
7642
7643 { echo "$as_me:$LINENO: result: $result" >&5
7644 echo "${ECHO_T}$result" >&6; }
7645
7646
7647 enablestring=
7648 defaultval=$wxUSE_ALL_FEATURES
7649 if test -z "$defaultval"; then
7650 if test x"$enablestring" = xdisable; then
7651 defaultval=yes
7652 else
7653 defaultval=no
7654 fi
7655 fi
7656
7657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7659 # Check whether --enable-tarstream was given.
7660 if test "${enable_tarstream+set}" = set; then
7661 enableval=$enable_tarstream;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7664 else
7665 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7666 fi
7667
7668 else
7669
7670 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7671
7672 fi
7673
7674
7675 eval "$wx_cv_use_tarstream"
7676
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_TARSTREAM = yes; then
7679 result=no
7680 else
7681 result=yes
7682 fi
7683 else
7684 result=$wxUSE_TARSTREAM
7685 fi
7686
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7689
7690
7691 enablestring=
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7695 defaultval=yes
7696 else
7697 defaultval=no
7698 fi
7699 fi
7700
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7703 # Check whether --enable-textbuf was given.
7704 if test "${enable_textbuf+set}" = set; then
7705 enableval=$enable_textbuf;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7708 else
7709 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7710 fi
7711
7712 else
7713
7714 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7715
7716 fi
7717
7718
7719 eval "$wx_cv_use_textbuf"
7720
7721 if test x"$enablestring" = xdisable; then
7722 if test $wxUSE_TEXTBUFFER = yes; then
7723 result=no
7724 else
7725 result=yes
7726 fi
7727 else
7728 result=$wxUSE_TEXTBUFFER
7729 fi
7730
7731 { echo "$as_me:$LINENO: result: $result" >&5
7732 echo "${ECHO_T}$result" >&6; }
7733
7734
7735 enablestring=
7736 defaultval=$wxUSE_ALL_FEATURES
7737 if test -z "$defaultval"; then
7738 if test x"$enablestring" = xdisable; then
7739 defaultval=yes
7740 else
7741 defaultval=no
7742 fi
7743 fi
7744
7745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7747 # Check whether --enable-textfile was given.
7748 if test "${enable_textfile+set}" = set; then
7749 enableval=$enable_textfile;
7750 if test "$enableval" = yes; then
7751 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7752 else
7753 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7754 fi
7755
7756 else
7757
7758 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7759
7760 fi
7761
7762
7763 eval "$wx_cv_use_textfile"
7764
7765 if test x"$enablestring" = xdisable; then
7766 if test $wxUSE_TEXTFILE = yes; then
7767 result=no
7768 else
7769 result=yes
7770 fi
7771 else
7772 result=$wxUSE_TEXTFILE
7773 fi
7774
7775 { echo "$as_me:$LINENO: result: $result" >&5
7776 echo "${ECHO_T}$result" >&6; }
7777
7778
7779 enablestring=
7780 defaultval=$wxUSE_ALL_FEATURES
7781 if test -z "$defaultval"; then
7782 if test x"$enablestring" = xdisable; then
7783 defaultval=yes
7784 else
7785 defaultval=no
7786 fi
7787 fi
7788
7789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7791 # Check whether --enable-timer was given.
7792 if test "${enable_timer+set}" = set; then
7793 enableval=$enable_timer;
7794 if test "$enableval" = yes; then
7795 wx_cv_use_timer='wxUSE_TIMER=yes'
7796 else
7797 wx_cv_use_timer='wxUSE_TIMER=no'
7798 fi
7799
7800 else
7801
7802 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7803
7804 fi
7805
7806
7807 eval "$wx_cv_use_timer"
7808
7809 if test x"$enablestring" = xdisable; then
7810 if test $wxUSE_TIMER = yes; then
7811 result=no
7812 else
7813 result=yes
7814 fi
7815 else
7816 result=$wxUSE_TIMER
7817 fi
7818
7819 { echo "$as_me:$LINENO: result: $result" >&5
7820 echo "${ECHO_T}$result" >&6; }
7821
7822
7823 enablestring=
7824 defaultval=$wxUSE_ALL_FEATURES
7825 if test -z "$defaultval"; then
7826 if test x"$enablestring" = xdisable; then
7827 defaultval=yes
7828 else
7829 defaultval=no
7830 fi
7831 fi
7832
7833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7835 # Check whether --enable-variant was given.
7836 if test "${enable_variant+set}" = set; then
7837 enableval=$enable_variant;
7838 if test "$enableval" = yes; then
7839 wx_cv_use_variant='wxUSE_VARIANT=yes'
7840 else
7841 wx_cv_use_variant='wxUSE_VARIANT=no'
7842 fi
7843
7844 else
7845
7846 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7847
7848 fi
7849
7850
7851 eval "$wx_cv_use_variant"
7852
7853 if test x"$enablestring" = xdisable; then
7854 if test $wxUSE_VARIANT = yes; then
7855 result=no
7856 else
7857 result=yes
7858 fi
7859 else
7860 result=$wxUSE_VARIANT
7861 fi
7862
7863 { echo "$as_me:$LINENO: result: $result" >&5
7864 echo "${ECHO_T}$result" >&6; }
7865
7866
7867 enablestring=
7868 defaultval=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x"$enablestring" = xdisable; then
7871 defaultval=yes
7872 else
7873 defaultval=no
7874 fi
7875 fi
7876
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7879 # Check whether --enable-zipstream was given.
7880 if test "${enable_zipstream+set}" = set; then
7881 enableval=$enable_zipstream;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7884 else
7885 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7886 fi
7887
7888 else
7889
7890 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7891
7892 fi
7893
7894
7895 eval "$wx_cv_use_zipstream"
7896
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_ZIPSTREAM = yes; then
7899 result=no
7900 else
7901 result=yes
7902 fi
7903 else
7904 result=$wxUSE_ZIPSTREAM
7905 fi
7906
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7909
7910
7911
7912 enablestring=
7913 defaultval=$wxUSE_ALL_FEATURES
7914 if test -z "$defaultval"; then
7915 if test x"$enablestring" = xdisable; then
7916 defaultval=yes
7917 else
7918 defaultval=no
7919 fi
7920 fi
7921
7922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7924 # Check whether --enable-url was given.
7925 if test "${enable_url+set}" = set; then
7926 enableval=$enable_url;
7927 if test "$enableval" = yes; then
7928 wx_cv_use_url='wxUSE_URL=yes'
7929 else
7930 wx_cv_use_url='wxUSE_URL=no'
7931 fi
7932
7933 else
7934
7935 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7936
7937 fi
7938
7939
7940 eval "$wx_cv_use_url"
7941
7942 if test x"$enablestring" = xdisable; then
7943 if test $wxUSE_URL = yes; then
7944 result=no
7945 else
7946 result=yes
7947 fi
7948 else
7949 result=$wxUSE_URL
7950 fi
7951
7952 { echo "$as_me:$LINENO: result: $result" >&5
7953 echo "${ECHO_T}$result" >&6; }
7954
7955
7956 enablestring=
7957 defaultval=$wxUSE_ALL_FEATURES
7958 if test -z "$defaultval"; then
7959 if test x"$enablestring" = xdisable; then
7960 defaultval=yes
7961 else
7962 defaultval=no
7963 fi
7964 fi
7965
7966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7968 # Check whether --enable-protocol was given.
7969 if test "${enable_protocol+set}" = set; then
7970 enableval=$enable_protocol;
7971 if test "$enableval" = yes; then
7972 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7973 else
7974 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7975 fi
7976
7977 else
7978
7979 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7980
7981 fi
7982
7983
7984 eval "$wx_cv_use_protocol"
7985
7986 if test x"$enablestring" = xdisable; then
7987 if test $wxUSE_PROTOCOL = yes; then
7988 result=no
7989 else
7990 result=yes
7991 fi
7992 else
7993 result=$wxUSE_PROTOCOL
7994 fi
7995
7996 { echo "$as_me:$LINENO: result: $result" >&5
7997 echo "${ECHO_T}$result" >&6; }
7998
7999
8000 enablestring=
8001 defaultval=$wxUSE_ALL_FEATURES
8002 if test -z "$defaultval"; then
8003 if test x"$enablestring" = xdisable; then
8004 defaultval=yes
8005 else
8006 defaultval=no
8007 fi
8008 fi
8009
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8012 # Check whether --enable-protocol_http was given.
8013 if test "${enable_protocol_http+set}" = set; then
8014 enableval=$enable_protocol_http;
8015 if test "$enableval" = yes; then
8016 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8017 else
8018 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8019 fi
8020
8021 else
8022
8023 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8024
8025 fi
8026
8027
8028 eval "$wx_cv_use_protocol_http"
8029
8030 if test x"$enablestring" = xdisable; then
8031 if test $wxUSE_PROTOCOL_HTTP = yes; then
8032 result=no
8033 else
8034 result=yes
8035 fi
8036 else
8037 result=$wxUSE_PROTOCOL_HTTP
8038 fi
8039
8040 { echo "$as_me:$LINENO: result: $result" >&5
8041 echo "${ECHO_T}$result" >&6; }
8042
8043
8044 enablestring=
8045 defaultval=$wxUSE_ALL_FEATURES
8046 if test -z "$defaultval"; then
8047 if test x"$enablestring" = xdisable; then
8048 defaultval=yes
8049 else
8050 defaultval=no
8051 fi
8052 fi
8053
8054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8056 # Check whether --enable-protocol_ftp was given.
8057 if test "${enable_protocol_ftp+set}" = set; then
8058 enableval=$enable_protocol_ftp;
8059 if test "$enableval" = yes; then
8060 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8061 else
8062 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8063 fi
8064
8065 else
8066
8067 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8068
8069 fi
8070
8071
8072 eval "$wx_cv_use_protocol_ftp"
8073
8074 if test x"$enablestring" = xdisable; then
8075 if test $wxUSE_PROTOCOL_FTP = yes; then
8076 result=no
8077 else
8078 result=yes
8079 fi
8080 else
8081 result=$wxUSE_PROTOCOL_FTP
8082 fi
8083
8084 { echo "$as_me:$LINENO: result: $result" >&5
8085 echo "${ECHO_T}$result" >&6; }
8086
8087
8088 enablestring=
8089 defaultval=$wxUSE_ALL_FEATURES
8090 if test -z "$defaultval"; then
8091 if test x"$enablestring" = xdisable; then
8092 defaultval=yes
8093 else
8094 defaultval=no
8095 fi
8096 fi
8097
8098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8100 # Check whether --enable-protocol_file was given.
8101 if test "${enable_protocol_file+set}" = set; then
8102 enableval=$enable_protocol_file;
8103 if test "$enableval" = yes; then
8104 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8105 else
8106 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8107 fi
8108
8109 else
8110
8111 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8112
8113 fi
8114
8115
8116 eval "$wx_cv_use_protocol_file"
8117
8118 if test x"$enablestring" = xdisable; then
8119 if test $wxUSE_PROTOCOL_FILE = yes; then
8120 result=no
8121 else
8122 result=yes
8123 fi
8124 else
8125 result=$wxUSE_PROTOCOL_FILE
8126 fi
8127
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8130
8131
8132
8133 enablestring=
8134 defaultval=$wxUSE_ALL_FEATURES
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8137 defaultval=yes
8138 else
8139 defaultval=no
8140 fi
8141 fi
8142
8143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8145 # Check whether --enable-threads was given.
8146 if test "${enable_threads+set}" = set; then
8147 enableval=$enable_threads;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_threads='wxUSE_THREADS=yes'
8150 else
8151 wx_cv_use_threads='wxUSE_THREADS=no'
8152 fi
8153
8154 else
8155
8156 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8157
8158 fi
8159
8160
8161 eval "$wx_cv_use_threads"
8162
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_THREADS = yes; then
8165 result=no
8166 else
8167 result=yes
8168 fi
8169 else
8170 result=$wxUSE_THREADS
8171 fi
8172
8173 { echo "$as_me:$LINENO: result: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8175
8176
8177
8178 enablestring=
8179 defaultval=
8180 if test -z "$defaultval"; then
8181 if test x"$enablestring" = xdisable; then
8182 defaultval=yes
8183 else
8184 defaultval=no
8185 fi
8186 fi
8187
8188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8189 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8190 # Check whether --enable-iniconf was given.
8191 if test "${enable_iniconf+set}" = set; then
8192 enableval=$enable_iniconf;
8193 if test "$enableval" = yes; then
8194 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8195 else
8196 wx_cv_use_iniconf='wxUSE_INICONF=no'
8197 fi
8198
8199 else
8200
8201 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8202
8203 fi
8204
8205
8206 eval "$wx_cv_use_iniconf"
8207
8208 if test x"$enablestring" = xdisable; then
8209 if test $wxUSE_INICONF = yes; then
8210 result=no
8211 else
8212 result=yes
8213 fi
8214 else
8215 result=$wxUSE_INICONF
8216 fi
8217
8218 { echo "$as_me:$LINENO: result: $result" >&5
8219 echo "${ECHO_T}$result" >&6; }
8220
8221
8222 enablestring=
8223 defaultval=$wxUSE_ALL_FEATURES
8224 if test -z "$defaultval"; then
8225 if test x"$enablestring" = xdisable; then
8226 defaultval=yes
8227 else
8228 defaultval=no
8229 fi
8230 fi
8231
8232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8234 # Check whether --enable-regkey was given.
8235 if test "${enable_regkey+set}" = set; then
8236 enableval=$enable_regkey;
8237 if test "$enableval" = yes; then
8238 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8239 else
8240 wx_cv_use_regkey='wxUSE_REGKEY=no'
8241 fi
8242
8243 else
8244
8245 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8246
8247 fi
8248
8249
8250 eval "$wx_cv_use_regkey"
8251
8252 if test x"$enablestring" = xdisable; then
8253 if test $wxUSE_REGKEY = yes; then
8254 result=no
8255 else
8256 result=yes
8257 fi
8258 else
8259 result=$wxUSE_REGKEY
8260 fi
8261
8262 { echo "$as_me:$LINENO: result: $result" >&5
8263 echo "${ECHO_T}$result" >&6; }
8264
8265
8266 if test "$wxUSE_GUI" = "yes"; then
8267
8268
8269
8270 enablestring=
8271 defaultval=$wxUSE_ALL_FEATURES
8272 if test -z "$defaultval"; then
8273 if test x"$enablestring" = xdisable; then
8274 defaultval=yes
8275 else
8276 defaultval=no
8277 fi
8278 fi
8279
8280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8282 # Check whether --enable-docview was given.
8283 if test "${enable_docview+set}" = set; then
8284 enableval=$enable_docview;
8285 if test "$enableval" = yes; then
8286 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8287 else
8288 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8289 fi
8290
8291 else
8292
8293 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8294
8295 fi
8296
8297
8298 eval "$wx_cv_use_docview"
8299
8300 if test x"$enablestring" = xdisable; then
8301 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8302 result=no
8303 else
8304 result=yes
8305 fi
8306 else
8307 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8308 fi
8309
8310 { echo "$as_me:$LINENO: result: $result" >&5
8311 echo "${ECHO_T}$result" >&6; }
8312
8313
8314 enablestring=
8315 defaultval=$wxUSE_ALL_FEATURES
8316 if test -z "$defaultval"; then
8317 if test x"$enablestring" = xdisable; then
8318 defaultval=yes
8319 else
8320 defaultval=no
8321 fi
8322 fi
8323
8324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8326 # Check whether --enable-help was given.
8327 if test "${enable_help+set}" = set; then
8328 enableval=$enable_help;
8329 if test "$enableval" = yes; then
8330 wx_cv_use_help='wxUSE_HELP=yes'
8331 else
8332 wx_cv_use_help='wxUSE_HELP=no'
8333 fi
8334
8335 else
8336
8337 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8338
8339 fi
8340
8341
8342 eval "$wx_cv_use_help"
8343
8344 if test x"$enablestring" = xdisable; then
8345 if test $wxUSE_HELP = yes; then
8346 result=no
8347 else
8348 result=yes
8349 fi
8350 else
8351 result=$wxUSE_HELP
8352 fi
8353
8354 { echo "$as_me:$LINENO: result: $result" >&5
8355 echo "${ECHO_T}$result" >&6; }
8356
8357
8358 enablestring=
8359 defaultval=$wxUSE_ALL_FEATURES
8360 if test -z "$defaultval"; then
8361 if test x"$enablestring" = xdisable; then
8362 defaultval=yes
8363 else
8364 defaultval=no
8365 fi
8366 fi
8367
8368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8370 # Check whether --enable-mshtmlhelp was given.
8371 if test "${enable_mshtmlhelp+set}" = set; then
8372 enableval=$enable_mshtmlhelp;
8373 if test "$enableval" = yes; then
8374 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8375 else
8376 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8377 fi
8378
8379 else
8380
8381 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8382
8383 fi
8384
8385
8386 eval "$wx_cv_use_mshtmlhelp"
8387
8388 if test x"$enablestring" = xdisable; then
8389 if test $wxUSE_MS_HTML_HELP = yes; then
8390 result=no
8391 else
8392 result=yes
8393 fi
8394 else
8395 result=$wxUSE_MS_HTML_HELP
8396 fi
8397
8398 { echo "$as_me:$LINENO: result: $result" >&5
8399 echo "${ECHO_T}$result" >&6; }
8400
8401
8402 enablestring=
8403 defaultval=$wxUSE_ALL_FEATURES
8404 if test -z "$defaultval"; then
8405 if test x"$enablestring" = xdisable; then
8406 defaultval=yes
8407 else
8408 defaultval=no
8409 fi
8410 fi
8411
8412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8413 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8414 # Check whether --enable-html was given.
8415 if test "${enable_html+set}" = set; then
8416 enableval=$enable_html;
8417 if test "$enableval" = yes; then
8418 wx_cv_use_html='wxUSE_HTML=yes'
8419 else
8420 wx_cv_use_html='wxUSE_HTML=no'
8421 fi
8422
8423 else
8424
8425 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8426
8427 fi
8428
8429
8430 eval "$wx_cv_use_html"
8431
8432 if test x"$enablestring" = xdisable; then
8433 if test $wxUSE_HTML = yes; then
8434 result=no
8435 else
8436 result=yes
8437 fi
8438 else
8439 result=$wxUSE_HTML
8440 fi
8441
8442 { echo "$as_me:$LINENO: result: $result" >&5
8443 echo "${ECHO_T}$result" >&6; }
8444
8445
8446 enablestring=
8447 defaultval=$wxUSE_ALL_FEATURES
8448 if test -z "$defaultval"; then
8449 if test x"$enablestring" = xdisable; then
8450 defaultval=yes
8451 else
8452 defaultval=no
8453 fi
8454 fi
8455
8456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8457 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8458 # Check whether --enable-htmlhelp was given.
8459 if test "${enable_htmlhelp+set}" = set; then
8460 enableval=$enable_htmlhelp;
8461 if test "$enableval" = yes; then
8462 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8463 else
8464 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8465 fi
8466
8467 else
8468
8469 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8470
8471 fi
8472
8473
8474 eval "$wx_cv_use_htmlhelp"
8475
8476 if test x"$enablestring" = xdisable; then
8477 if test $wxUSE_WXHTML_HELP = yes; then
8478 result=no
8479 else
8480 result=yes
8481 fi
8482 else
8483 result=$wxUSE_WXHTML_HELP
8484 fi
8485
8486 { echo "$as_me:$LINENO: result: $result" >&5
8487 echo "${ECHO_T}$result" >&6; }
8488
8489
8490 enablestring=
8491 defaultval=$wxUSE_ALL_FEATURES
8492 if test -z "$defaultval"; then
8493 if test x"$enablestring" = xdisable; then
8494 defaultval=yes
8495 else
8496 defaultval=no
8497 fi
8498 fi
8499
8500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8501 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8502 # Check whether --enable-xrc was given.
8503 if test "${enable_xrc+set}" = set; then
8504 enableval=$enable_xrc;
8505 if test "$enableval" = yes; then
8506 wx_cv_use_xrc='wxUSE_XRC=yes'
8507 else
8508 wx_cv_use_xrc='wxUSE_XRC=no'
8509 fi
8510
8511 else
8512
8513 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8514
8515 fi
8516
8517
8518 eval "$wx_cv_use_xrc"
8519
8520 if test x"$enablestring" = xdisable; then
8521 if test $wxUSE_XRC = yes; then
8522 result=no
8523 else
8524 result=yes
8525 fi
8526 else
8527 result=$wxUSE_XRC
8528 fi
8529
8530 { echo "$as_me:$LINENO: result: $result" >&5
8531 echo "${ECHO_T}$result" >&6; }
8532
8533
8534 enablestring=
8535 defaultval=$wxUSE_ALL_FEATURES
8536 if test -z "$defaultval"; then
8537 if test x"$enablestring" = xdisable; then
8538 defaultval=yes
8539 else
8540 defaultval=no
8541 fi
8542 fi
8543
8544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8546 # Check whether --enable-aui was given.
8547 if test "${enable_aui+set}" = set; then
8548 enableval=$enable_aui;
8549 if test "$enableval" = yes; then
8550 wx_cv_use_aui='wxUSE_AUI=yes'
8551 else
8552 wx_cv_use_aui='wxUSE_AUI=no'
8553 fi
8554
8555 else
8556
8557 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8558
8559 fi
8560
8561
8562 eval "$wx_cv_use_aui"
8563
8564 if test x"$enablestring" = xdisable; then
8565 if test $wxUSE_AUI = yes; then
8566 result=no
8567 else
8568 result=yes
8569 fi
8570 else
8571 result=$wxUSE_AUI
8572 fi
8573
8574 { echo "$as_me:$LINENO: result: $result" >&5
8575 echo "${ECHO_T}$result" >&6; }
8576
8577
8578 enablestring=
8579 defaultval=$wxUSE_ALL_FEATURES
8580 if test -z "$defaultval"; then
8581 if test x"$enablestring" = xdisable; then
8582 defaultval=yes
8583 else
8584 defaultval=no
8585 fi
8586 fi
8587
8588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8589 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8590 # Check whether --enable-propgrid was given.
8591 if test "${enable_propgrid+set}" = set; then
8592 enableval=$enable_propgrid;
8593 if test "$enableval" = yes; then
8594 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8595 else
8596 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8597 fi
8598
8599 else
8600
8601 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8602
8603 fi
8604
8605
8606 eval "$wx_cv_use_propgrid"
8607
8608 if test x"$enablestring" = xdisable; then
8609 if test $wxUSE_PROPGRID = yes; then
8610 result=no
8611 else
8612 result=yes
8613 fi
8614 else
8615 result=$wxUSE_PROPGRID
8616 fi
8617
8618 { echo "$as_me:$LINENO: result: $result" >&5
8619 echo "${ECHO_T}$result" >&6; }
8620
8621
8622 enablestring=
8623 defaultval=$wxUSE_ALL_FEATURES
8624 if test -z "$defaultval"; then
8625 if test x"$enablestring" = xdisable; then
8626 defaultval=yes
8627 else
8628 defaultval=no
8629 fi
8630 fi
8631
8632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8634 # Check whether --enable-stc was given.
8635 if test "${enable_stc+set}" = set; then
8636 enableval=$enable_stc;
8637 if test "$enableval" = yes; then
8638 wx_cv_use_stc='wxUSE_STC=yes'
8639 else
8640 wx_cv_use_stc='wxUSE_STC=no'
8641 fi
8642
8643 else
8644
8645 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8646
8647 fi
8648
8649
8650 eval "$wx_cv_use_stc"
8651
8652 if test x"$enablestring" = xdisable; then
8653 if test $wxUSE_STC = yes; then
8654 result=no
8655 else
8656 result=yes
8657 fi
8658 else
8659 result=$wxUSE_STC
8660 fi
8661
8662 { echo "$as_me:$LINENO: result: $result" >&5
8663 echo "${ECHO_T}$result" >&6; }
8664
8665
8666 enablestring=
8667 defaultval=$wxUSE_ALL_FEATURES
8668 if test -z "$defaultval"; then
8669 if test x"$enablestring" = xdisable; then
8670 defaultval=yes
8671 else
8672 defaultval=no
8673 fi
8674 fi
8675
8676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8678 # Check whether --enable-constraints was given.
8679 if test "${enable_constraints+set}" = set; then
8680 enableval=$enable_constraints;
8681 if test "$enableval" = yes; then
8682 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8683 else
8684 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8685 fi
8686
8687 else
8688
8689 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8690
8691 fi
8692
8693
8694 eval "$wx_cv_use_constraints"
8695
8696 if test x"$enablestring" = xdisable; then
8697 if test $wxUSE_CONSTRAINTS = yes; then
8698 result=no
8699 else
8700 result=yes
8701 fi
8702 else
8703 result=$wxUSE_CONSTRAINTS
8704 fi
8705
8706 { echo "$as_me:$LINENO: result: $result" >&5
8707 echo "${ECHO_T}$result" >&6; }
8708
8709
8710 enablestring=
8711 defaultval=$wxUSE_ALL_FEATURES
8712 if test -z "$defaultval"; then
8713 if test x"$enablestring" = xdisable; then
8714 defaultval=yes
8715 else
8716 defaultval=no
8717 fi
8718 fi
8719
8720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8722 # Check whether --enable-loggui was given.
8723 if test "${enable_loggui+set}" = set; then
8724 enableval=$enable_loggui;
8725 if test "$enableval" = yes; then
8726 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8727 else
8728 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8729 fi
8730
8731 else
8732
8733 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8734
8735 fi
8736
8737
8738 eval "$wx_cv_use_loggui"
8739
8740 if test x"$enablestring" = xdisable; then
8741 if test $wxUSE_LOGGUI = yes; then
8742 result=no
8743 else
8744 result=yes
8745 fi
8746 else
8747 result=$wxUSE_LOGGUI
8748 fi
8749
8750 { echo "$as_me:$LINENO: result: $result" >&5
8751 echo "${ECHO_T}$result" >&6; }
8752
8753
8754 enablestring=
8755 defaultval=$wxUSE_ALL_FEATURES
8756 if test -z "$defaultval"; then
8757 if test x"$enablestring" = xdisable; then
8758 defaultval=yes
8759 else
8760 defaultval=no
8761 fi
8762 fi
8763
8764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8765 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8766 # Check whether --enable-logwin was given.
8767 if test "${enable_logwin+set}" = set; then
8768 enableval=$enable_logwin;
8769 if test "$enableval" = yes; then
8770 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8771 else
8772 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8773 fi
8774
8775 else
8776
8777 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8778
8779 fi
8780
8781
8782 eval "$wx_cv_use_logwin"
8783
8784 if test x"$enablestring" = xdisable; then
8785 if test $wxUSE_LOGWINDOW = yes; then
8786 result=no
8787 else
8788 result=yes
8789 fi
8790 else
8791 result=$wxUSE_LOGWINDOW
8792 fi
8793
8794 { echo "$as_me:$LINENO: result: $result" >&5
8795 echo "${ECHO_T}$result" >&6; }
8796
8797
8798 enablestring=
8799 defaultval=$wxUSE_ALL_FEATURES
8800 if test -z "$defaultval"; then
8801 if test x"$enablestring" = xdisable; then
8802 defaultval=yes
8803 else
8804 defaultval=no
8805 fi
8806 fi
8807
8808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8810 # Check whether --enable-logdialog was given.
8811 if test "${enable_logdialog+set}" = set; then
8812 enableval=$enable_logdialog;
8813 if test "$enableval" = yes; then
8814 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8815 else
8816 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8817 fi
8818
8819 else
8820
8821 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8822
8823 fi
8824
8825
8826 eval "$wx_cv_use_logdialog"
8827
8828 if test x"$enablestring" = xdisable; then
8829 if test $wxUSE_LOGDIALOG = yes; then
8830 result=no
8831 else
8832 result=yes
8833 fi
8834 else
8835 result=$wxUSE_LOGDIALOG
8836 fi
8837
8838 { echo "$as_me:$LINENO: result: $result" >&5
8839 echo "${ECHO_T}$result" >&6; }
8840
8841
8842 enablestring=
8843 defaultval=$wxUSE_ALL_FEATURES
8844 if test -z "$defaultval"; then
8845 if test x"$enablestring" = xdisable; then
8846 defaultval=yes
8847 else
8848 defaultval=no
8849 fi
8850 fi
8851
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8854 # Check whether --enable-mdi was given.
8855 if test "${enable_mdi+set}" = set; then
8856 enableval=$enable_mdi;
8857 if test "$enableval" = yes; then
8858 wx_cv_use_mdi='wxUSE_MDI=yes'
8859 else
8860 wx_cv_use_mdi='wxUSE_MDI=no'
8861 fi
8862
8863 else
8864
8865 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8866
8867 fi
8868
8869
8870 eval "$wx_cv_use_mdi"
8871
8872 if test x"$enablestring" = xdisable; then
8873 if test $wxUSE_MDI = yes; then
8874 result=no
8875 else
8876 result=yes
8877 fi
8878 else
8879 result=$wxUSE_MDI
8880 fi
8881
8882 { echo "$as_me:$LINENO: result: $result" >&5
8883 echo "${ECHO_T}$result" >&6; }
8884
8885
8886 enablestring=
8887 defaultval=$wxUSE_ALL_FEATURES
8888 if test -z "$defaultval"; then
8889 if test x"$enablestring" = xdisable; then
8890 defaultval=yes
8891 else
8892 defaultval=no
8893 fi
8894 fi
8895
8896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8898 # Check whether --enable-mdidoc was given.
8899 if test "${enable_mdidoc+set}" = set; then
8900 enableval=$enable_mdidoc;
8901 if test "$enableval" = yes; then
8902 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8903 else
8904 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8905 fi
8906
8907 else
8908
8909 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8910
8911 fi
8912
8913
8914 eval "$wx_cv_use_mdidoc"
8915
8916 if test x"$enablestring" = xdisable; then
8917 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8918 result=no
8919 else
8920 result=yes
8921 fi
8922 else
8923 result=$wxUSE_MDI_ARCHITECTURE
8924 fi
8925
8926 { echo "$as_me:$LINENO: result: $result" >&5
8927 echo "${ECHO_T}$result" >&6; }
8928
8929
8930 enablestring=
8931 defaultval=$wxUSE_ALL_FEATURES
8932 if test -z "$defaultval"; then
8933 if test x"$enablestring" = xdisable; then
8934 defaultval=yes
8935 else
8936 defaultval=no
8937 fi
8938 fi
8939
8940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8942 # Check whether --enable-mediactrl was given.
8943 if test "${enable_mediactrl+set}" = set; then
8944 enableval=$enable_mediactrl;
8945 if test "$enableval" = yes; then
8946 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8947 else
8948 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8949 fi
8950
8951 else
8952
8953 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8954
8955 fi
8956
8957
8958 eval "$wx_cv_use_mediactrl"
8959
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_MEDIACTRL = yes; then
8962 result=no
8963 else
8964 result=yes
8965 fi
8966 else
8967 result=$wxUSE_MEDIACTRL
8968 fi
8969
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8972
8973
8974 enablestring=
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8978 defaultval=yes
8979 else
8980 defaultval=no
8981 fi
8982 fi
8983
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8986 # Check whether --enable-gstreamer8 was given.
8987 if test "${enable_gstreamer8+set}" = set; then
8988 enableval=$enable_gstreamer8;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8991 else
8992 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8993 fi
8994
8995 else
8996
8997 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8998
8999 fi
9000
9001
9002 eval "$wx_cv_use_gstreamer8"
9003
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_GSTREAMER8 = yes; then
9006 result=no
9007 else
9008 result=yes
9009 fi
9010 else
9011 result=$wxUSE_GSTREAMER8
9012 fi
9013
9014 { echo "$as_me:$LINENO: result: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9016
9017
9018 enablestring=
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9022 defaultval=yes
9023 else
9024 defaultval=no
9025 fi
9026 fi
9027
9028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9030 # Check whether --enable-webkit was given.
9031 if test "${enable_webkit+set}" = set; then
9032 enableval=$enable_webkit;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9035 else
9036 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9037 fi
9038
9039 else
9040
9041 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9042
9043 fi
9044
9045
9046 eval "$wx_cv_use_webkit"
9047
9048 if test x"$enablestring" = xdisable; then
9049 if test $wxUSE_WEBKIT = yes; then
9050 result=no
9051 else
9052 result=yes
9053 fi
9054 else
9055 result=$wxUSE_WEBKIT
9056 fi
9057
9058 { echo "$as_me:$LINENO: result: $result" >&5
9059 echo "${ECHO_T}$result" >&6; }
9060
9061
9062 enablestring=
9063 defaultval=$wxUSE_ALL_FEATURES
9064 if test -z "$defaultval"; then
9065 if test x"$enablestring" = xdisable; then
9066 defaultval=yes
9067 else
9068 defaultval=no
9069 fi
9070 fi
9071
9072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9074 # Check whether --enable-richtext was given.
9075 if test "${enable_richtext+set}" = set; then
9076 enableval=$enable_richtext;
9077 if test "$enableval" = yes; then
9078 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9079 else
9080 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9081 fi
9082
9083 else
9084
9085 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9086
9087 fi
9088
9089
9090 eval "$wx_cv_use_richtext"
9091
9092 if test x"$enablestring" = xdisable; then
9093 if test $wxUSE_RICHTEXT = yes; then
9094 result=no
9095 else
9096 result=yes
9097 fi
9098 else
9099 result=$wxUSE_RICHTEXT
9100 fi
9101
9102 { echo "$as_me:$LINENO: result: $result" >&5
9103 echo "${ECHO_T}$result" >&6; }
9104
9105
9106 enablestring=
9107 defaultval=$wxUSE_ALL_FEATURES
9108 if test -z "$defaultval"; then
9109 if test x"$enablestring" = xdisable; then
9110 defaultval=yes
9111 else
9112 defaultval=no
9113 fi
9114 fi
9115
9116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9118 # Check whether --enable-graphics_ctx was given.
9119 if test "${enable_graphics_ctx+set}" = set; then
9120 enableval=$enable_graphics_ctx;
9121 if test "$enableval" = yes; then
9122 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9123 else
9124 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9125 fi
9126
9127 else
9128
9129 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9130
9131 fi
9132
9133
9134 eval "$wx_cv_use_graphics_ctx"
9135
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9138 result=no
9139 else
9140 result=yes
9141 fi
9142 else
9143 result=$wxUSE_GRAPHICS_CONTEXT
9144 fi
9145
9146 { echo "$as_me:$LINENO: result: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9148
9149
9150 enablestring=
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9154 defaultval=yes
9155 else
9156 defaultval=no
9157 fi
9158 fi
9159
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9162 # Check whether --enable-postscript was given.
9163 if test "${enable_postscript+set}" = set; then
9164 enableval=$enable_postscript;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9167 else
9168 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9169 fi
9170
9171 else
9172
9173 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9174
9175 fi
9176
9177
9178 eval "$wx_cv_use_postscript"
9179
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_POSTSCRIPT = yes; then
9182 result=no
9183 else
9184 result=yes
9185 fi
9186 else
9187 result=$wxUSE_POSTSCRIPT
9188 fi
9189
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9206 # Check whether --enable-printarch was given.
9207 if test "${enable_printarch+set}" = set; then
9208 enableval=$enable_printarch;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9211 else
9212 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9213 fi
9214
9215 else
9216
9217 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9218
9219 fi
9220
9221
9222 eval "$wx_cv_use_printarch"
9223
9224 if test x"$enablestring" = xdisable; then
9225 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9226 result=no
9227 else
9228 result=yes
9229 fi
9230 else
9231 result=$wxUSE_PRINTING_ARCHITECTURE
9232 fi
9233
9234 { echo "$as_me:$LINENO: result: $result" >&5
9235 echo "${ECHO_T}$result" >&6; }
9236
9237
9238 enablestring=
9239 defaultval=$wxUSE_ALL_FEATURES
9240 if test -z "$defaultval"; then
9241 if test x"$enablestring" = xdisable; then
9242 defaultval=yes
9243 else
9244 defaultval=no
9245 fi
9246 fi
9247
9248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9249 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9250 # Check whether --enable-svg was given.
9251 if test "${enable_svg+set}" = set; then
9252 enableval=$enable_svg;
9253 if test "$enableval" = yes; then
9254 wx_cv_use_svg='wxUSE_SVG=yes'
9255 else
9256 wx_cv_use_svg='wxUSE_SVG=no'
9257 fi
9258
9259 else
9260
9261 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9262
9263 fi
9264
9265
9266 eval "$wx_cv_use_svg"
9267
9268 if test x"$enablestring" = xdisable; then
9269 if test $wxUSE_SVG = yes; then
9270 result=no
9271 else
9272 result=yes
9273 fi
9274 else
9275 result=$wxUSE_SVG
9276 fi
9277
9278 { echo "$as_me:$LINENO: result: $result" >&5
9279 echo "${ECHO_T}$result" >&6; }
9280
9281
9282
9283
9284 enablestring=
9285 defaultval=$wxUSE_ALL_FEATURES
9286 if test -z "$defaultval"; then
9287 if test x"$enablestring" = xdisable; then
9288 defaultval=yes
9289 else
9290 defaultval=no
9291 fi
9292 fi
9293
9294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9296 # Check whether --enable-clipboard was given.
9297 if test "${enable_clipboard+set}" = set; then
9298 enableval=$enable_clipboard;
9299 if test "$enableval" = yes; then
9300 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9301 else
9302 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9303 fi
9304
9305 else
9306
9307 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9308
9309 fi
9310
9311
9312 eval "$wx_cv_use_clipboard"
9313
9314 if test x"$enablestring" = xdisable; then
9315 if test $wxUSE_CLIPBOARD = yes; then
9316 result=no
9317 else
9318 result=yes
9319 fi
9320 else
9321 result=$wxUSE_CLIPBOARD
9322 fi
9323
9324 { echo "$as_me:$LINENO: result: $result" >&5
9325 echo "${ECHO_T}$result" >&6; }
9326
9327
9328 enablestring=
9329 defaultval=$wxUSE_ALL_FEATURES
9330 if test -z "$defaultval"; then
9331 if test x"$enablestring" = xdisable; then
9332 defaultval=yes
9333 else
9334 defaultval=no
9335 fi
9336 fi
9337
9338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9340 # Check whether --enable-dnd was given.
9341 if test "${enable_dnd+set}" = set; then
9342 enableval=$enable_dnd;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9345 else
9346 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9347 fi
9348
9349 else
9350
9351 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9352
9353 fi
9354
9355
9356 eval "$wx_cv_use_dnd"
9357
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_DRAG_AND_DROP = yes; then
9360 result=no
9361 else
9362 result=yes
9363 fi
9364 else
9365 result=$wxUSE_DRAG_AND_DROP
9366 fi
9367
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9370
9371
9372 enablestring=
9373 defaultval=$wxUSE_ALL_FEATURES
9374 if test -z "$defaultval"; then
9375 if test x"$enablestring" = xdisable; then
9376 defaultval=yes
9377 else
9378 defaultval=no
9379 fi
9380 fi
9381
9382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9383 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9384 # Check whether --enable-metafile was given.
9385 if test "${enable_metafile+set}" = set; then
9386 enableval=$enable_metafile;
9387 if test "$enableval" = yes; then
9388 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9389 else
9390 wx_cv_use_metafile='wxUSE_METAFILE=no'
9391 fi
9392
9393 else
9394
9395 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9396
9397 fi
9398
9399
9400 eval "$wx_cv_use_metafile"
9401
9402 if test x"$enablestring" = xdisable; then
9403 if test $wxUSE_METAFILE = yes; then
9404 result=no
9405 else
9406 result=yes
9407 fi
9408 else
9409 result=$wxUSE_METAFILE
9410 fi
9411
9412 { echo "$as_me:$LINENO: result: $result" >&5
9413 echo "${ECHO_T}$result" >&6; }
9414
9415
9416
9417 DEFAULT_wxUSE_CONTROLS=none
9418
9419 enablestring=disable
9420 defaultval=
9421 if test -z "$defaultval"; then
9422 if test x"$enablestring" = xdisable; then
9423 defaultval=yes
9424 else
9425 defaultval=no
9426 fi
9427 fi
9428
9429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9431 # Check whether --enable-controls was given.
9432 if test "${enable_controls+set}" = set; then
9433 enableval=$enable_controls;
9434 if test "$enableval" = yes; then
9435 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9436 else
9437 wx_cv_use_controls='wxUSE_CONTROLS=no'
9438 fi
9439
9440 else
9441
9442 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9443
9444 fi
9445
9446
9447 eval "$wx_cv_use_controls"
9448
9449 if test x"$enablestring" = xdisable; then
9450 if test $wxUSE_CONTROLS = yes; then
9451 result=no
9452 else
9453 result=yes
9454 fi
9455 else
9456 result=$wxUSE_CONTROLS
9457 fi
9458
9459 { echo "$as_me:$LINENO: result: $result" >&5
9460 echo "${ECHO_T}$result" >&6; }
9461
9462
9463 if test "$wxUSE_CONTROLS" = "yes"; then
9464 DEFAULT_wxUSE_ACCEL=yes
9465 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9466 DEFAULT_wxUSE_BMPBUTTON=yes
9467 DEFAULT_wxUSE_BUTTON=yes
9468 DEFAULT_wxUSE_CALCTRL=yes
9469 DEFAULT_wxUSE_CARET=yes
9470 DEFAULT_wxUSE_COMBOBOX=yes
9471 DEFAULT_wxUSE_CHECKBOX=yes
9472 DEFAULT_wxUSE_CHECKLISTBOX=yes
9473 DEFAULT_wxUSE_CHOICE=yes
9474 DEFAULT_wxUSE_CHOICEBOOK=yes
9475 DEFAULT_wxUSE_COLLPANE=yes
9476 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9477 DEFAULT_wxUSE_COMBOBOX=yes
9478 DEFAULT_wxUSE_DATEPICKCTRL=yes
9479 DEFAULT_wxUSE_DISPLAY=yes
9480 DEFAULT_wxUSE_DETECT_SM=yes
9481 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9482 DEFAULT_wxUSE_FILECTRL=yes
9483 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9484 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9485 DEFAULT_wxUSE_GAUGE=yes
9486 DEFAULT_wxUSE_GRID=yes
9487 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9488 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9489 DEFAULT_wxUSE_IMAGLIST=yes
9490 DEFAULT_wxUSE_LISTBOOK=yes
9491 DEFAULT_wxUSE_LISTBOX=yes
9492 DEFAULT_wxUSE_LISTCTRL=yes
9493 DEFAULT_wxUSE_NOTEBOOK=yes
9494 DEFAULT_wxUSE_RADIOBOX=yes
9495 DEFAULT_wxUSE_RADIOBTN=yes
9496 DEFAULT_wxUSE_SASH=yes
9497 DEFAULT_wxUSE_SCROLLBAR=yes
9498 DEFAULT_wxUSE_SEARCHCTRL=yes
9499 DEFAULT_wxUSE_SLIDER=yes
9500 DEFAULT_wxUSE_SPINBTN=yes
9501 DEFAULT_wxUSE_SPINCTRL=yes
9502 DEFAULT_wxUSE_SPLITTER=yes
9503 DEFAULT_wxUSE_STATBMP=yes
9504 DEFAULT_wxUSE_STATBOX=yes
9505 DEFAULT_wxUSE_STATLINE=yes
9506 DEFAULT_wxUSE_STATUSBAR=yes
9507 DEFAULT_wxUSE_TAB_DIALOG=yes
9508 DEFAULT_wxUSE_TOGGLEBTN=yes
9509 DEFAULT_wxUSE_TOOLBAR=yes
9510 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9511 DEFAULT_wxUSE_TOOLTIPS=yes
9512 DEFAULT_wxUSE_TREEBOOK=yes
9513 DEFAULT_wxUSE_TOOLBOOK=yes
9514 DEFAULT_wxUSE_TREECTRL=yes
9515 DEFAULT_wxUSE_POPUPWIN=yes
9516 DEFAULT_wxUSE_TIPWINDOW=yes
9517 elif test "$wxUSE_CONTROLS" = "no"; then
9518 DEFAULT_wxUSE_ACCEL=no
9519 DEFAULT_wxUSE_ANIMATIONCTRL=no
9520 DEFAULT_wxUSE_BMPBUTTON=no
9521 DEFAULT_wxUSE_BUTTON=no
9522 DEFAULT_wxUSE_CALCTRL=no
9523 DEFAULT_wxUSE_CARET=no
9524 DEFAULT_wxUSE_COLLPANE=no
9525 DEFAULT_wxUSE_COMBOBOX=no
9526 DEFAULT_wxUSE_CHECKBOX=no
9527 DEFAULT_wxUSE_CHECKLISTBOX=no
9528 DEFAULT_wxUSE_CHOICE=no
9529 DEFAULT_wxUSE_CHOICEBOOK=no
9530 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9531 DEFAULT_wxUSE_COMBOBOX=no
9532 DEFAULT_wxUSE_DATEPICKCTRL=no
9533 DEFAULT_wxUSE_DISPLAY=no
9534 DEFAULT_wxUSE_DETECT_SM=no
9535 DEFAULT_wxUSE_DIRPICKERCTRL=no
9536 DEFAULT_wxUSE_FILECTRL=no
9537 DEFAULT_wxUSE_FILEPICKERCTRL=no
9538 DEFAULT_wxUSE_FONTPICKERCTRL=no
9539 DEFAULT_wxUSE_GAUGE=no
9540 DEFAULT_wxUSE_GRID=no
9541 DEFAULT_wxUSE_HYPERLINKCTRL=no
9542 DEFAULT_wxUSE_DATAVIEWCTRL=no
9543 DEFAULT_wxUSE_IMAGLIST=no
9544 DEFAULT_wxUSE_LISTBOOK=no
9545 DEFAULT_wxUSE_LISTBOX=no
9546 DEFAULT_wxUSE_LISTCTRL=no
9547 DEFAULT_wxUSE_NOTEBOOK=no
9548 DEFAULT_wxUSE_RADIOBOX=no
9549 DEFAULT_wxUSE_RADIOBTN=no
9550 DEFAULT_wxUSE_SASH=no
9551 DEFAULT_wxUSE_SCROLLBAR=no
9552 DEFAULT_wxUSE_SEARCHCTRL=no
9553 DEFAULT_wxUSE_SLIDER=no
9554 DEFAULT_wxUSE_SPINBTN=no
9555 DEFAULT_wxUSE_SPINCTRL=no
9556 DEFAULT_wxUSE_SPLITTER=no
9557 DEFAULT_wxUSE_STATBMP=no
9558 DEFAULT_wxUSE_STATBOX=no
9559 DEFAULT_wxUSE_STATLINE=no
9560 DEFAULT_wxUSE_STATUSBAR=no
9561 DEFAULT_wxUSE_TAB_DIALOG=no
9562 DEFAULT_wxUSE_TOGGLEBTN=no
9563 DEFAULT_wxUSE_TOOLBAR=no
9564 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9565 DEFAULT_wxUSE_TOOLTIPS=no
9566 DEFAULT_wxUSE_TREEBOOK=no
9567 DEFAULT_wxUSE_TOOLBOOK=no
9568 DEFAULT_wxUSE_TREECTRL=no
9569 DEFAULT_wxUSE_POPUPWIN=no
9570 DEFAULT_wxUSE_TIPWINDOW=no
9571 fi
9572
9573
9574 enablestring=
9575 defaultval=$wxUSE_ALL_FEATURES
9576 if test -z "$defaultval"; then
9577 if test x"$enablestring" = xdisable; then
9578 defaultval=yes
9579 else
9580 defaultval=no
9581 fi
9582 fi
9583
9584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9585 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9586 # Check whether --enable-accel was given.
9587 if test "${enable_accel+set}" = set; then
9588 enableval=$enable_accel;
9589 if test "$enableval" = yes; then
9590 wx_cv_use_accel='wxUSE_ACCEL=yes'
9591 else
9592 wx_cv_use_accel='wxUSE_ACCEL=no'
9593 fi
9594
9595 else
9596
9597 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9598
9599 fi
9600
9601
9602 eval "$wx_cv_use_accel"
9603
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_ACCEL = yes; then
9606 result=no
9607 else
9608 result=yes
9609 fi
9610 else
9611 result=$wxUSE_ACCEL
9612 fi
9613
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9616
9617
9618 enablestring=
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9630 # Check whether --enable-animatectrl was given.
9631 if test "${enable_animatectrl+set}" = set; then
9632 enableval=$enable_animatectrl;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9635 else
9636 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9637 fi
9638
9639 else
9640
9641 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9642
9643 fi
9644
9645
9646 eval "$wx_cv_use_animatectrl"
9647
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_ANIMATIONCTRL = yes; then
9650 result=no
9651 else
9652 result=yes
9653 fi
9654 else
9655 result=$wxUSE_ANIMATIONCTRL
9656 fi
9657
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9660
9661
9662 enablestring=
9663 defaultval=$wxUSE_ALL_FEATURES
9664 if test -z "$defaultval"; then
9665 if test x"$enablestring" = xdisable; then
9666 defaultval=yes
9667 else
9668 defaultval=no
9669 fi
9670 fi
9671
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9674 # Check whether --enable-button was given.
9675 if test "${enable_button+set}" = set; then
9676 enableval=$enable_button;
9677 if test "$enableval" = yes; then
9678 wx_cv_use_button='wxUSE_BUTTON=yes'
9679 else
9680 wx_cv_use_button='wxUSE_BUTTON=no'
9681 fi
9682
9683 else
9684
9685 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9686
9687 fi
9688
9689
9690 eval "$wx_cv_use_button"
9691
9692 if test x"$enablestring" = xdisable; then
9693 if test $wxUSE_BUTTON = yes; then
9694 result=no
9695 else
9696 result=yes
9697 fi
9698 else
9699 result=$wxUSE_BUTTON
9700 fi
9701
9702 { echo "$as_me:$LINENO: result: $result" >&5
9703 echo "${ECHO_T}$result" >&6; }
9704
9705
9706 enablestring=
9707 defaultval=$wxUSE_ALL_FEATURES
9708 if test -z "$defaultval"; then
9709 if test x"$enablestring" = xdisable; then
9710 defaultval=yes
9711 else
9712 defaultval=no
9713 fi
9714 fi
9715
9716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9718 # Check whether --enable-bmpbutton was given.
9719 if test "${enable_bmpbutton+set}" = set; then
9720 enableval=$enable_bmpbutton;
9721 if test "$enableval" = yes; then
9722 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9723 else
9724 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9725 fi
9726
9727 else
9728
9729 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9730
9731 fi
9732
9733
9734 eval "$wx_cv_use_bmpbutton"
9735
9736 if test x"$enablestring" = xdisable; then
9737 if test $wxUSE_BMPBUTTON = yes; then
9738 result=no
9739 else
9740 result=yes
9741 fi
9742 else
9743 result=$wxUSE_BMPBUTTON
9744 fi
9745
9746 { echo "$as_me:$LINENO: result: $result" >&5
9747 echo "${ECHO_T}$result" >&6; }
9748
9749
9750 enablestring=
9751 defaultval=$wxUSE_ALL_FEATURES
9752 if test -z "$defaultval"; then
9753 if test x"$enablestring" = xdisable; then
9754 defaultval=yes
9755 else
9756 defaultval=no
9757 fi
9758 fi
9759
9760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9762 # Check whether --enable-bmpcombobox was given.
9763 if test "${enable_bmpcombobox+set}" = set; then
9764 enableval=$enable_bmpcombobox;
9765 if test "$enableval" = yes; then
9766 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9767 else
9768 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9769 fi
9770
9771 else
9772
9773 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9774
9775 fi
9776
9777
9778 eval "$wx_cv_use_bmpcombobox"
9779
9780 if test x"$enablestring" = xdisable; then
9781 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9782 result=no
9783 else
9784 result=yes
9785 fi
9786 else
9787 result=$wxUSE_BITMAPCOMBOBOX
9788 fi
9789
9790 { echo "$as_me:$LINENO: result: $result" >&5
9791 echo "${ECHO_T}$result" >&6; }
9792
9793
9794 enablestring=
9795 defaultval=$wxUSE_ALL_FEATURES
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9798 defaultval=yes
9799 else
9800 defaultval=no
9801 fi
9802 fi
9803
9804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9805 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9806 # Check whether --enable-calendar was given.
9807 if test "${enable_calendar+set}" = set; then
9808 enableval=$enable_calendar;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9811 else
9812 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9813 fi
9814
9815 else
9816
9817 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9818
9819 fi
9820
9821
9822 eval "$wx_cv_use_calendar"
9823
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_CALCTRL = yes; then
9826 result=no
9827 else
9828 result=yes
9829 fi
9830 else
9831 result=$wxUSE_CALCTRL
9832 fi
9833
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9836
9837
9838 enablestring=
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9842 defaultval=yes
9843 else
9844 defaultval=no
9845 fi
9846 fi
9847
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9850 # Check whether --enable-caret was given.
9851 if test "${enable_caret+set}" = set; then
9852 enableval=$enable_caret;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_caret='wxUSE_CARET=yes'
9855 else
9856 wx_cv_use_caret='wxUSE_CARET=no'
9857 fi
9858
9859 else
9860
9861 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9862
9863 fi
9864
9865
9866 eval "$wx_cv_use_caret"
9867
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_CARET = yes; then
9870 result=no
9871 else
9872 result=yes
9873 fi
9874 else
9875 result=$wxUSE_CARET
9876 fi
9877
9878 { echo "$as_me:$LINENO: result: $result" >&5
9879 echo "${ECHO_T}$result" >&6; }
9880
9881
9882 enablestring=
9883 defaultval=$wxUSE_ALL_FEATURES
9884 if test -z "$defaultval"; then
9885 if test x"$enablestring" = xdisable; then
9886 defaultval=yes
9887 else
9888 defaultval=no
9889 fi
9890 fi
9891
9892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9893 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9894 # Check whether --enable-checkbox was given.
9895 if test "${enable_checkbox+set}" = set; then
9896 enableval=$enable_checkbox;
9897 if test "$enableval" = yes; then
9898 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9899 else
9900 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9901 fi
9902
9903 else
9904
9905 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9906
9907 fi
9908
9909
9910 eval "$wx_cv_use_checkbox"
9911
9912 if test x"$enablestring" = xdisable; then
9913 if test $wxUSE_CHECKBOX = yes; then
9914 result=no
9915 else
9916 result=yes
9917 fi
9918 else
9919 result=$wxUSE_CHECKBOX
9920 fi
9921
9922 { echo "$as_me:$LINENO: result: $result" >&5
9923 echo "${ECHO_T}$result" >&6; }
9924
9925
9926 enablestring=
9927 defaultval=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x"$enablestring" = xdisable; then
9930 defaultval=yes
9931 else
9932 defaultval=no
9933 fi
9934 fi
9935
9936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9937 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9938 # Check whether --enable-checklst was given.
9939 if test "${enable_checklst+set}" = set; then
9940 enableval=$enable_checklst;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9943 else
9944 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9945 fi
9946
9947 else
9948
9949 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9950
9951 fi
9952
9953
9954 eval "$wx_cv_use_checklst"
9955
9956 if test x"$enablestring" = xdisable; then
9957 if test $wxUSE_CHECKLST = yes; then
9958 result=no
9959 else
9960 result=yes
9961 fi
9962 else
9963 result=$wxUSE_CHECKLST
9964 fi
9965
9966 { echo "$as_me:$LINENO: result: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9968
9969
9970 enablestring=
9971 defaultval=$wxUSE_ALL_FEATURES
9972 if test -z "$defaultval"; then
9973 if test x"$enablestring" = xdisable; then
9974 defaultval=yes
9975 else
9976 defaultval=no
9977 fi
9978 fi
9979
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9982 # Check whether --enable-choice was given.
9983 if test "${enable_choice+set}" = set; then
9984 enableval=$enable_choice;
9985 if test "$enableval" = yes; then
9986 wx_cv_use_choice='wxUSE_CHOICE=yes'
9987 else
9988 wx_cv_use_choice='wxUSE_CHOICE=no'
9989 fi
9990
9991 else
9992
9993 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9994
9995 fi
9996
9997
9998 eval "$wx_cv_use_choice"
9999
10000 if test x"$enablestring" = xdisable; then
10001 if test $wxUSE_CHOICE = yes; then
10002 result=no
10003 else
10004 result=yes
10005 fi
10006 else
10007 result=$wxUSE_CHOICE
10008 fi
10009
10010 { echo "$as_me:$LINENO: result: $result" >&5
10011 echo "${ECHO_T}$result" >&6; }
10012
10013
10014 enablestring=
10015 defaultval=$wxUSE_ALL_FEATURES
10016 if test -z "$defaultval"; then
10017 if test x"$enablestring" = xdisable; then
10018 defaultval=yes
10019 else
10020 defaultval=no
10021 fi
10022 fi
10023
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10026 # Check whether --enable-choicebook was given.
10027 if test "${enable_choicebook+set}" = set; then
10028 enableval=$enable_choicebook;
10029 if test "$enableval" = yes; then
10030 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10031 else
10032 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10033 fi
10034
10035 else
10036
10037 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10038
10039 fi
10040
10041
10042 eval "$wx_cv_use_choicebook"
10043
10044 if test x"$enablestring" = xdisable; then
10045 if test $wxUSE_CHOICEBOOK = yes; then
10046 result=no
10047 else
10048 result=yes
10049 fi
10050 else
10051 result=$wxUSE_CHOICEBOOK
10052 fi
10053
10054 { echo "$as_me:$LINENO: result: $result" >&5
10055 echo "${ECHO_T}$result" >&6; }
10056
10057
10058 enablestring=
10059 defaultval=$wxUSE_ALL_FEATURES
10060 if test -z "$defaultval"; then
10061 if test x"$enablestring" = xdisable; then
10062 defaultval=yes
10063 else
10064 defaultval=no
10065 fi
10066 fi
10067
10068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10070 # Check whether --enable-collpane was given.
10071 if test "${enable_collpane+set}" = set; then
10072 enableval=$enable_collpane;
10073 if test "$enableval" = yes; then
10074 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10075 else
10076 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10077 fi
10078
10079 else
10080
10081 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10082
10083 fi
10084
10085
10086 eval "$wx_cv_use_collpane"
10087
10088 if test x"$enablestring" = xdisable; then
10089 if test $wxUSE_COLLPANE = yes; then
10090 result=no
10091 else
10092 result=yes
10093 fi
10094 else
10095 result=$wxUSE_COLLPANE
10096 fi
10097
10098 { echo "$as_me:$LINENO: result: $result" >&5
10099 echo "${ECHO_T}$result" >&6; }
10100
10101
10102 enablestring=
10103 defaultval=$wxUSE_ALL_FEATURES
10104 if test -z "$defaultval"; then
10105 if test x"$enablestring" = xdisable; then
10106 defaultval=yes
10107 else
10108 defaultval=no
10109 fi
10110 fi
10111
10112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10114 # Check whether --enable-colourpicker was given.
10115 if test "${enable_colourpicker+set}" = set; then
10116 enableval=$enable_colourpicker;
10117 if test "$enableval" = yes; then
10118 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10119 else
10120 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10121 fi
10122
10123 else
10124
10125 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10126
10127 fi
10128
10129
10130 eval "$wx_cv_use_colourpicker"
10131
10132 if test x"$enablestring" = xdisable; then
10133 if test $wxUSE_COLOURPICKERCTRL = yes; then
10134 result=no
10135 else
10136 result=yes
10137 fi
10138 else
10139 result=$wxUSE_COLOURPICKERCTRL
10140 fi
10141
10142 { echo "$as_me:$LINENO: result: $result" >&5
10143 echo "${ECHO_T}$result" >&6; }
10144
10145
10146 enablestring=
10147 defaultval=$wxUSE_ALL_FEATURES
10148 if test -z "$defaultval"; then
10149 if test x"$enablestring" = xdisable; then
10150 defaultval=yes
10151 else
10152 defaultval=no
10153 fi
10154 fi
10155
10156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10158 # Check whether --enable-combobox was given.
10159 if test "${enable_combobox+set}" = set; then
10160 enableval=$enable_combobox;
10161 if test "$enableval" = yes; then
10162 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10163 else
10164 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10165 fi
10166
10167 else
10168
10169 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10170
10171 fi
10172
10173
10174 eval "$wx_cv_use_combobox"
10175
10176 if test x"$enablestring" = xdisable; then
10177 if test $wxUSE_COMBOBOX = yes; then
10178 result=no
10179 else
10180 result=yes
10181 fi
10182 else
10183 result=$wxUSE_COMBOBOX
10184 fi
10185
10186 { echo "$as_me:$LINENO: result: $result" >&5
10187 echo "${ECHO_T}$result" >&6; }
10188
10189
10190 enablestring=
10191 defaultval=$wxUSE_ALL_FEATURES
10192 if test -z "$defaultval"; then
10193 if test x"$enablestring" = xdisable; then
10194 defaultval=yes
10195 else
10196 defaultval=no
10197 fi
10198 fi
10199
10200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10201 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10202 # Check whether --enable-comboctrl was given.
10203 if test "${enable_comboctrl+set}" = set; then
10204 enableval=$enable_comboctrl;
10205 if test "$enableval" = yes; then
10206 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10207 else
10208 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10209 fi
10210
10211 else
10212
10213 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10214
10215 fi
10216
10217
10218 eval "$wx_cv_use_comboctrl"
10219
10220 if test x"$enablestring" = xdisable; then
10221 if test $wxUSE_COMBOCTRL = yes; then
10222 result=no
10223 else
10224 result=yes
10225 fi
10226 else
10227 result=$wxUSE_COMBOCTRL
10228 fi
10229
10230 { echo "$as_me:$LINENO: result: $result" >&5
10231 echo "${ECHO_T}$result" >&6; }
10232
10233
10234 enablestring=
10235 defaultval=$wxUSE_ALL_FEATURES
10236 if test -z "$defaultval"; then
10237 if test x"$enablestring" = xdisable; then
10238 defaultval=yes
10239 else
10240 defaultval=no
10241 fi
10242 fi
10243
10244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10246 # Check whether --enable-datepick was given.
10247 if test "${enable_datepick+set}" = set; then
10248 enableval=$enable_datepick;
10249 if test "$enableval" = yes; then
10250 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10251 else
10252 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10253 fi
10254
10255 else
10256
10257 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10258
10259 fi
10260
10261
10262 eval "$wx_cv_use_datepick"
10263
10264 if test x"$enablestring" = xdisable; then
10265 if test $wxUSE_DATEPICKCTRL = yes; then
10266 result=no
10267 else
10268 result=yes
10269 fi
10270 else
10271 result=$wxUSE_DATEPICKCTRL
10272 fi
10273
10274 { echo "$as_me:$LINENO: result: $result" >&5
10275 echo "${ECHO_T}$result" >&6; }
10276
10277
10278 enablestring=
10279 defaultval=$wxUSE_ALL_FEATURES
10280 if test -z "$defaultval"; then
10281 if test x"$enablestring" = xdisable; then
10282 defaultval=yes
10283 else
10284 defaultval=no
10285 fi
10286 fi
10287
10288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10290 # Check whether --enable-dirpicker was given.
10291 if test "${enable_dirpicker+set}" = set; then
10292 enableval=$enable_dirpicker;
10293 if test "$enableval" = yes; then
10294 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10295 else
10296 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10297 fi
10298
10299 else
10300
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10302
10303 fi
10304
10305
10306 eval "$wx_cv_use_dirpicker"
10307
10308 if test x"$enablestring" = xdisable; then
10309 if test $wxUSE_DIRPICKERCTRL = yes; then
10310 result=no
10311 else
10312 result=yes
10313 fi
10314 else
10315 result=$wxUSE_DIRPICKERCTRL
10316 fi
10317
10318 { echo "$as_me:$LINENO: result: $result" >&5
10319 echo "${ECHO_T}$result" >&6; }
10320
10321
10322 enablestring=
10323 defaultval=$wxUSE_ALL_FEATURES
10324 if test -z "$defaultval"; then
10325 if test x"$enablestring" = xdisable; then
10326 defaultval=yes
10327 else
10328 defaultval=no
10329 fi
10330 fi
10331
10332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10334 # Check whether --enable-display was given.
10335 if test "${enable_display+set}" = set; then
10336 enableval=$enable_display;
10337 if test "$enableval" = yes; then
10338 wx_cv_use_display='wxUSE_DISPLAY=yes'
10339 else
10340 wx_cv_use_display='wxUSE_DISPLAY=no'
10341 fi
10342
10343 else
10344
10345 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10346
10347 fi
10348
10349
10350 eval "$wx_cv_use_display"
10351
10352 if test x"$enablestring" = xdisable; then
10353 if test $wxUSE_DISPLAY = yes; then
10354 result=no
10355 else
10356 result=yes
10357 fi
10358 else
10359 result=$wxUSE_DISPLAY
10360 fi
10361
10362 { echo "$as_me:$LINENO: result: $result" >&5
10363 echo "${ECHO_T}$result" >&6; }
10364
10365
10366 enablestring=
10367 defaultval=$wxUSE_ALL_FEATURES
10368 if test -z "$defaultval"; then
10369 if test x"$enablestring" = xdisable; then
10370 defaultval=yes
10371 else
10372 defaultval=no
10373 fi
10374 fi
10375
10376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10378 # Check whether --enable-detect_sm was given.
10379 if test "${enable_detect_sm+set}" = set; then
10380 enableval=$enable_detect_sm;
10381 if test "$enableval" = yes; then
10382 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10383 else
10384 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10385 fi
10386
10387 else
10388
10389 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10390
10391 fi
10392
10393
10394 eval "$wx_cv_use_detect_sm"
10395
10396 if test x"$enablestring" = xdisable; then
10397 if test $wxUSE_DETECT_SM = yes; then
10398 result=no
10399 else
10400 result=yes
10401 fi
10402 else
10403 result=$wxUSE_DETECT_SM
10404 fi
10405
10406 { echo "$as_me:$LINENO: result: $result" >&5
10407 echo "${ECHO_T}$result" >&6; }
10408
10409
10410 enablestring=
10411 defaultval=$wxUSE_ALL_FEATURES
10412 if test -z "$defaultval"; then
10413 if test x"$enablestring" = xdisable; then
10414 defaultval=yes
10415 else
10416 defaultval=no
10417 fi
10418 fi
10419
10420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10422 # Check whether --enable-editablebox was given.
10423 if test "${enable_editablebox+set}" = set; then
10424 enableval=$enable_editablebox;
10425 if test "$enableval" = yes; then
10426 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10427 else
10428 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10429 fi
10430
10431 else
10432
10433 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10434
10435 fi
10436
10437
10438 eval "$wx_cv_use_editablebox"
10439
10440 if test x"$enablestring" = xdisable; then
10441 if test $wxUSE_EDITABLELISTBOX = yes; then
10442 result=no
10443 else
10444 result=yes
10445 fi
10446 else
10447 result=$wxUSE_EDITABLELISTBOX
10448 fi
10449
10450 { echo "$as_me:$LINENO: result: $result" >&5
10451 echo "${ECHO_T}$result" >&6; }
10452
10453
10454 enablestring=
10455 defaultval=$wxUSE_ALL_FEATURES
10456 if test -z "$defaultval"; then
10457 if test x"$enablestring" = xdisable; then
10458 defaultval=yes
10459 else
10460 defaultval=no
10461 fi
10462 fi
10463
10464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10465 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10466 # Check whether --enable-filepicker was given.
10467 if test "${enable_filepicker+set}" = set; then
10468 enableval=$enable_filepicker;
10469 if test "$enableval" = yes; then
10470 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10471 else
10472 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10473 fi
10474
10475 else
10476
10477 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10478
10479 fi
10480
10481
10482 eval "$wx_cv_use_filepicker"
10483
10484 if test x"$enablestring" = xdisable; then
10485 if test $wxUSE_FILEPICKERCTRL = yes; then
10486 result=no
10487 else
10488 result=yes
10489 fi
10490 else
10491 result=$wxUSE_FILEPICKERCTRL
10492 fi
10493
10494 { echo "$as_me:$LINENO: result: $result" >&5
10495 echo "${ECHO_T}$result" >&6; }
10496
10497
10498 enablestring=
10499 defaultval=$wxUSE_ALL_FEATURES
10500 if test -z "$defaultval"; then
10501 if test x"$enablestring" = xdisable; then
10502 defaultval=yes
10503 else
10504 defaultval=no
10505 fi
10506 fi
10507
10508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10509 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10510 # Check whether --enable-filectrl was given.
10511 if test "${enable_filectrl+set}" = set; then
10512 enableval=$enable_filectrl;
10513 if test "$enableval" = yes; then
10514 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10515 else
10516 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10517 fi
10518
10519 else
10520
10521 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10522
10523 fi
10524
10525
10526 eval "$wx_cv_use_filectrl"
10527
10528 if test x"$enablestring" = xdisable; then
10529 if test $wxUSE_FILECTRL = yes; then
10530 result=no
10531 else
10532 result=yes
10533 fi
10534 else
10535 result=$wxUSE_FILECTRL
10536 fi
10537
10538 { echo "$as_me:$LINENO: result: $result" >&5
10539 echo "${ECHO_T}$result" >&6; }
10540
10541
10542 enablestring=
10543 defaultval=$wxUSE_ALL_FEATURES
10544 if test -z "$defaultval"; then
10545 if test x"$enablestring" = xdisable; then
10546 defaultval=yes
10547 else
10548 defaultval=no
10549 fi
10550 fi
10551
10552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10553 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10554 # Check whether --enable-fontpicker was given.
10555 if test "${enable_fontpicker+set}" = set; then
10556 enableval=$enable_fontpicker;
10557 if test "$enableval" = yes; then
10558 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10559 else
10560 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10561 fi
10562
10563 else
10564
10565 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10566
10567 fi
10568
10569
10570 eval "$wx_cv_use_fontpicker"
10571
10572 if test x"$enablestring" = xdisable; then
10573 if test $wxUSE_FONTPICKERCTRL = yes; then
10574 result=no
10575 else
10576 result=yes
10577 fi
10578 else
10579 result=$wxUSE_FONTPICKERCTRL
10580 fi
10581
10582 { echo "$as_me:$LINENO: result: $result" >&5
10583 echo "${ECHO_T}$result" >&6; }
10584
10585
10586 enablestring=
10587 defaultval=$wxUSE_ALL_FEATURES
10588 if test -z "$defaultval"; then
10589 if test x"$enablestring" = xdisable; then
10590 defaultval=yes
10591 else
10592 defaultval=no
10593 fi
10594 fi
10595
10596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10597 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10598 # Check whether --enable-gauge was given.
10599 if test "${enable_gauge+set}" = set; then
10600 enableval=$enable_gauge;
10601 if test "$enableval" = yes; then
10602 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10603 else
10604 wx_cv_use_gauge='wxUSE_GAUGE=no'
10605 fi
10606
10607 else
10608
10609 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10610
10611 fi
10612
10613
10614 eval "$wx_cv_use_gauge"
10615
10616 if test x"$enablestring" = xdisable; then
10617 if test $wxUSE_GAUGE = yes; then
10618 result=no
10619 else
10620 result=yes
10621 fi
10622 else
10623 result=$wxUSE_GAUGE
10624 fi
10625
10626 { echo "$as_me:$LINENO: result: $result" >&5
10627 echo "${ECHO_T}$result" >&6; }
10628
10629
10630 enablestring=
10631 defaultval=$wxUSE_ALL_FEATURES
10632 if test -z "$defaultval"; then
10633 if test x"$enablestring" = xdisable; then
10634 defaultval=yes
10635 else
10636 defaultval=no
10637 fi
10638 fi
10639
10640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10641 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10642 # Check whether --enable-grid was given.
10643 if test "${enable_grid+set}" = set; then
10644 enableval=$enable_grid;
10645 if test "$enableval" = yes; then
10646 wx_cv_use_grid='wxUSE_GRID=yes'
10647 else
10648 wx_cv_use_grid='wxUSE_GRID=no'
10649 fi
10650
10651 else
10652
10653 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10654
10655 fi
10656
10657
10658 eval "$wx_cv_use_grid"
10659
10660 if test x"$enablestring" = xdisable; then
10661 if test $wxUSE_GRID = yes; then
10662 result=no
10663 else
10664 result=yes
10665 fi
10666 else
10667 result=$wxUSE_GRID
10668 fi
10669
10670 { echo "$as_me:$LINENO: result: $result" >&5
10671 echo "${ECHO_T}$result" >&6; }
10672
10673
10674 enablestring=
10675 defaultval=$wxUSE_ALL_FEATURES
10676 if test -z "$defaultval"; then
10677 if test x"$enablestring" = xdisable; then
10678 defaultval=yes
10679 else
10680 defaultval=no
10681 fi
10682 fi
10683
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10686 # Check whether --enable-dataviewctrl was given.
10687 if test "${enable_dataviewctrl+set}" = set; then
10688 enableval=$enable_dataviewctrl;
10689 if test "$enableval" = yes; then
10690 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10691 else
10692 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10693 fi
10694
10695 else
10696
10697 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10698
10699 fi
10700
10701
10702 eval "$wx_cv_use_dataviewctrl"
10703
10704 if test x"$enablestring" = xdisable; then
10705 if test $wxUSE_DATAVIEWCTRL = yes; then
10706 result=no
10707 else
10708 result=yes
10709 fi
10710 else
10711 result=$wxUSE_DATAVIEWCTRL
10712 fi
10713
10714 { echo "$as_me:$LINENO: result: $result" >&5
10715 echo "${ECHO_T}$result" >&6; }
10716
10717
10718 enablestring=
10719 defaultval=$wxUSE_ALL_FEATURES
10720 if test -z "$defaultval"; then
10721 if test x"$enablestring" = xdisable; then
10722 defaultval=yes
10723 else
10724 defaultval=no
10725 fi
10726 fi
10727
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10730 # Check whether --enable-hyperlink was given.
10731 if test "${enable_hyperlink+set}" = set; then
10732 enableval=$enable_hyperlink;
10733 if test "$enableval" = yes; then
10734 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10735 else
10736 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10737 fi
10738
10739 else
10740
10741 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10742
10743 fi
10744
10745
10746 eval "$wx_cv_use_hyperlink"
10747
10748 if test x"$enablestring" = xdisable; then
10749 if test $wxUSE_HYPERLINKCTRL = yes; then
10750 result=no
10751 else
10752 result=yes
10753 fi
10754 else
10755 result=$wxUSE_HYPERLINKCTRL
10756 fi
10757
10758 { echo "$as_me:$LINENO: result: $result" >&5
10759 echo "${ECHO_T}$result" >&6; }
10760
10761
10762 enablestring=
10763 defaultval=$wxUSE_ALL_FEATURES
10764 if test -z "$defaultval"; then
10765 if test x"$enablestring" = xdisable; then
10766 defaultval=yes
10767 else
10768 defaultval=no
10769 fi
10770 fi
10771
10772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10774 # Check whether --enable-imaglist was given.
10775 if test "${enable_imaglist+set}" = set; then
10776 enableval=$enable_imaglist;
10777 if test "$enableval" = yes; then
10778 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10779 else
10780 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10781 fi
10782
10783 else
10784
10785 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10786
10787 fi
10788
10789
10790 eval "$wx_cv_use_imaglist"
10791
10792 if test x"$enablestring" = xdisable; then
10793 if test $wxUSE_IMAGLIST = yes; then
10794 result=no
10795 else
10796 result=yes
10797 fi
10798 else
10799 result=$wxUSE_IMAGLIST
10800 fi
10801
10802 { echo "$as_me:$LINENO: result: $result" >&5
10803 echo "${ECHO_T}$result" >&6; }
10804
10805
10806 enablestring=
10807 defaultval=$wxUSE_ALL_FEATURES
10808 if test -z "$defaultval"; then
10809 if test x"$enablestring" = xdisable; then
10810 defaultval=yes
10811 else
10812 defaultval=no
10813 fi
10814 fi
10815
10816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10817 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10818 # Check whether --enable-listbook was given.
10819 if test "${enable_listbook+set}" = set; then
10820 enableval=$enable_listbook;
10821 if test "$enableval" = yes; then
10822 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10823 else
10824 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10825 fi
10826
10827 else
10828
10829 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10830
10831 fi
10832
10833
10834 eval "$wx_cv_use_listbook"
10835
10836 if test x"$enablestring" = xdisable; then
10837 if test $wxUSE_LISTBOOK = yes; then
10838 result=no
10839 else
10840 result=yes
10841 fi
10842 else
10843 result=$wxUSE_LISTBOOK
10844 fi
10845
10846 { echo "$as_me:$LINENO: result: $result" >&5
10847 echo "${ECHO_T}$result" >&6; }
10848
10849
10850 enablestring=
10851 defaultval=$wxUSE_ALL_FEATURES
10852 if test -z "$defaultval"; then
10853 if test x"$enablestring" = xdisable; then
10854 defaultval=yes
10855 else
10856 defaultval=no
10857 fi
10858 fi
10859
10860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10861 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10862 # Check whether --enable-listbox was given.
10863 if test "${enable_listbox+set}" = set; then
10864 enableval=$enable_listbox;
10865 if test "$enableval" = yes; then
10866 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10867 else
10868 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10869 fi
10870
10871 else
10872
10873 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10874
10875 fi
10876
10877
10878 eval "$wx_cv_use_listbox"
10879
10880 if test x"$enablestring" = xdisable; then
10881 if test $wxUSE_LISTBOX = yes; then
10882 result=no
10883 else
10884 result=yes
10885 fi
10886 else
10887 result=$wxUSE_LISTBOX
10888 fi
10889
10890 { echo "$as_me:$LINENO: result: $result" >&5
10891 echo "${ECHO_T}$result" >&6; }
10892
10893
10894 enablestring=
10895 defaultval=$wxUSE_ALL_FEATURES
10896 if test -z "$defaultval"; then
10897 if test x"$enablestring" = xdisable; then
10898 defaultval=yes
10899 else
10900 defaultval=no
10901 fi
10902 fi
10903
10904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10906 # Check whether --enable-listctrl was given.
10907 if test "${enable_listctrl+set}" = set; then
10908 enableval=$enable_listctrl;
10909 if test "$enableval" = yes; then
10910 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10911 else
10912 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10913 fi
10914
10915 else
10916
10917 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10918
10919 fi
10920
10921
10922 eval "$wx_cv_use_listctrl"
10923
10924 if test x"$enablestring" = xdisable; then
10925 if test $wxUSE_LISTCTRL = yes; then
10926 result=no
10927 else
10928 result=yes
10929 fi
10930 else
10931 result=$wxUSE_LISTCTRL
10932 fi
10933
10934 { echo "$as_me:$LINENO: result: $result" >&5
10935 echo "${ECHO_T}$result" >&6; }
10936
10937
10938 enablestring=
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10942 defaultval=yes
10943 else
10944 defaultval=no
10945 fi
10946 fi
10947
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10950 # Check whether --enable-notebook was given.
10951 if test "${enable_notebook+set}" = set; then
10952 enableval=$enable_notebook;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10955 else
10956 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10957 fi
10958
10959 else
10960
10961 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10962
10963 fi
10964
10965
10966 eval "$wx_cv_use_notebook"
10967
10968 if test x"$enablestring" = xdisable; then
10969 if test $wxUSE_NOTEBOOK = yes; then
10970 result=no
10971 else
10972 result=yes
10973 fi
10974 else
10975 result=$wxUSE_NOTEBOOK
10976 fi
10977
10978 { echo "$as_me:$LINENO: result: $result" >&5
10979 echo "${ECHO_T}$result" >&6; }
10980
10981
10982 enablestring=
10983 defaultval=$wxUSE_ALL_FEATURES
10984 if test -z "$defaultval"; then
10985 if test x"$enablestring" = xdisable; then
10986 defaultval=yes
10987 else
10988 defaultval=no
10989 fi
10990 fi
10991
10992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10993 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10994 # Check whether --enable-notifmsg was given.
10995 if test "${enable_notifmsg+set}" = set; then
10996 enableval=$enable_notifmsg;
10997 if test "$enableval" = yes; then
10998 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10999 else
11000 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11001 fi
11002
11003 else
11004
11005 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11006
11007 fi
11008
11009
11010 eval "$wx_cv_use_notifmsg"
11011
11012 if test x"$enablestring" = xdisable; then
11013 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11014 result=no
11015 else
11016 result=yes
11017 fi
11018 else
11019 result=$wxUSE_NOTIFICATION_MESSAGE
11020 fi
11021
11022 { echo "$as_me:$LINENO: result: $result" >&5
11023 echo "${ECHO_T}$result" >&6; }
11024
11025
11026 enablestring=
11027 defaultval=$wxUSE_ALL_FEATURES
11028 if test -z "$defaultval"; then
11029 if test x"$enablestring" = xdisable; then
11030 defaultval=yes
11031 else
11032 defaultval=no
11033 fi
11034 fi
11035
11036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11038 # Check whether --enable-odcombobox was given.
11039 if test "${enable_odcombobox+set}" = set; then
11040 enableval=$enable_odcombobox;
11041 if test "$enableval" = yes; then
11042 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11043 else
11044 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11045 fi
11046
11047 else
11048
11049 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11050
11051 fi
11052
11053
11054 eval "$wx_cv_use_odcombobox"
11055
11056 if test x"$enablestring" = xdisable; then
11057 if test $wxUSE_ODCOMBOBOX = yes; then
11058 result=no
11059 else
11060 result=yes
11061 fi
11062 else
11063 result=$wxUSE_ODCOMBOBOX
11064 fi
11065
11066 { echo "$as_me:$LINENO: result: $result" >&5
11067 echo "${ECHO_T}$result" >&6; }
11068
11069
11070 enablestring=
11071 defaultval=$wxUSE_ALL_FEATURES
11072 if test -z "$defaultval"; then
11073 if test x"$enablestring" = xdisable; then
11074 defaultval=yes
11075 else
11076 defaultval=no
11077 fi
11078 fi
11079
11080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11081 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11082 # Check whether --enable-radiobox was given.
11083 if test "${enable_radiobox+set}" = set; then
11084 enableval=$enable_radiobox;
11085 if test "$enableval" = yes; then
11086 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11087 else
11088 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11089 fi
11090
11091 else
11092
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11094
11095 fi
11096
11097
11098 eval "$wx_cv_use_radiobox"
11099
11100 if test x"$enablestring" = xdisable; then
11101 if test $wxUSE_RADIOBOX = yes; then
11102 result=no
11103 else
11104 result=yes
11105 fi
11106 else
11107 result=$wxUSE_RADIOBOX
11108 fi
11109
11110 { echo "$as_me:$LINENO: result: $result" >&5
11111 echo "${ECHO_T}$result" >&6; }
11112
11113
11114 enablestring=
11115 defaultval=$wxUSE_ALL_FEATURES
11116 if test -z "$defaultval"; then
11117 if test x"$enablestring" = xdisable; then
11118 defaultval=yes
11119 else
11120 defaultval=no
11121 fi
11122 fi
11123
11124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11125 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11126 # Check whether --enable-radiobtn was given.
11127 if test "${enable_radiobtn+set}" = set; then
11128 enableval=$enable_radiobtn;
11129 if test "$enableval" = yes; then
11130 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11131 else
11132 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11133 fi
11134
11135 else
11136
11137 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11138
11139 fi
11140
11141
11142 eval "$wx_cv_use_radiobtn"
11143
11144 if test x"$enablestring" = xdisable; then
11145 if test $wxUSE_RADIOBTN = yes; then
11146 result=no
11147 else
11148 result=yes
11149 fi
11150 else
11151 result=$wxUSE_RADIOBTN
11152 fi
11153
11154 { echo "$as_me:$LINENO: result: $result" >&5
11155 echo "${ECHO_T}$result" >&6; }
11156
11157
11158 enablestring=
11159 defaultval=$wxUSE_ALL_FEATURES
11160 if test -z "$defaultval"; then
11161 if test x"$enablestring" = xdisable; then
11162 defaultval=yes
11163 else
11164 defaultval=no
11165 fi
11166 fi
11167
11168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11169 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11170 # Check whether --enable-sash was given.
11171 if test "${enable_sash+set}" = set; then
11172 enableval=$enable_sash;
11173 if test "$enableval" = yes; then
11174 wx_cv_use_sash='wxUSE_SASH=yes'
11175 else
11176 wx_cv_use_sash='wxUSE_SASH=no'
11177 fi
11178
11179 else
11180
11181 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11182
11183 fi
11184
11185
11186 eval "$wx_cv_use_sash"
11187
11188 if test x"$enablestring" = xdisable; then
11189 if test $wxUSE_SASH = yes; then
11190 result=no
11191 else
11192 result=yes
11193 fi
11194 else
11195 result=$wxUSE_SASH
11196 fi
11197
11198 { echo "$as_me:$LINENO: result: $result" >&5
11199 echo "${ECHO_T}$result" >&6; }
11200
11201
11202 enablestring=
11203 defaultval=$wxUSE_ALL_FEATURES
11204 if test -z "$defaultval"; then
11205 if test x"$enablestring" = xdisable; then
11206 defaultval=yes
11207 else
11208 defaultval=no
11209 fi
11210 fi
11211
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11214 # Check whether --enable-scrollbar was given.
11215 if test "${enable_scrollbar+set}" = set; then
11216 enableval=$enable_scrollbar;
11217 if test "$enableval" = yes; then
11218 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11219 else
11220 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11221 fi
11222
11223 else
11224
11225 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11226
11227 fi
11228
11229
11230 eval "$wx_cv_use_scrollbar"
11231
11232 if test x"$enablestring" = xdisable; then
11233 if test $wxUSE_SCROLLBAR = yes; then
11234 result=no
11235 else
11236 result=yes
11237 fi
11238 else
11239 result=$wxUSE_SCROLLBAR
11240 fi
11241
11242 { echo "$as_me:$LINENO: result: $result" >&5
11243 echo "${ECHO_T}$result" >&6; }
11244
11245
11246 enablestring=
11247 defaultval=$wxUSE_ALL_FEATURES
11248 if test -z "$defaultval"; then
11249 if test x"$enablestring" = xdisable; then
11250 defaultval=yes
11251 else
11252 defaultval=no
11253 fi
11254 fi
11255
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11258 # Check whether --enable-searchctrl was given.
11259 if test "${enable_searchctrl+set}" = set; then
11260 enableval=$enable_searchctrl;
11261 if test "$enableval" = yes; then
11262 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11263 else
11264 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11265 fi
11266
11267 else
11268
11269 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11270
11271 fi
11272
11273
11274 eval "$wx_cv_use_searchctrl"
11275
11276 if test x"$enablestring" = xdisable; then
11277 if test $wxUSE_SEARCHCTRL = yes; then
11278 result=no
11279 else
11280 result=yes
11281 fi
11282 else
11283 result=$wxUSE_SEARCHCTRL
11284 fi
11285
11286 { echo "$as_me:$LINENO: result: $result" >&5
11287 echo "${ECHO_T}$result" >&6; }
11288
11289
11290 enablestring=
11291 defaultval=$wxUSE_ALL_FEATURES
11292 if test -z "$defaultval"; then
11293 if test x"$enablestring" = xdisable; then
11294 defaultval=yes
11295 else
11296 defaultval=no
11297 fi
11298 fi
11299
11300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11301 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11302 # Check whether --enable-slider was given.
11303 if test "${enable_slider+set}" = set; then
11304 enableval=$enable_slider;
11305 if test "$enableval" = yes; then
11306 wx_cv_use_slider='wxUSE_SLIDER=yes'
11307 else
11308 wx_cv_use_slider='wxUSE_SLIDER=no'
11309 fi
11310
11311 else
11312
11313 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11314
11315 fi
11316
11317
11318 eval "$wx_cv_use_slider"
11319
11320 if test x"$enablestring" = xdisable; then
11321 if test $wxUSE_SLIDER = yes; then
11322 result=no
11323 else
11324 result=yes
11325 fi
11326 else
11327 result=$wxUSE_SLIDER
11328 fi
11329
11330 { echo "$as_me:$LINENO: result: $result" >&5
11331 echo "${ECHO_T}$result" >&6; }
11332
11333
11334 enablestring=
11335 defaultval=$wxUSE_ALL_FEATURES
11336 if test -z "$defaultval"; then
11337 if test x"$enablestring" = xdisable; then
11338 defaultval=yes
11339 else
11340 defaultval=no
11341 fi
11342 fi
11343
11344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11345 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11346 # Check whether --enable-spinbtn was given.
11347 if test "${enable_spinbtn+set}" = set; then
11348 enableval=$enable_spinbtn;
11349 if test "$enableval" = yes; then
11350 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11351 else
11352 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11353 fi
11354
11355 else
11356
11357 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11358
11359 fi
11360
11361
11362 eval "$wx_cv_use_spinbtn"
11363
11364 if test x"$enablestring" = xdisable; then
11365 if test $wxUSE_SPINBTN = yes; then
11366 result=no
11367 else
11368 result=yes
11369 fi
11370 else
11371 result=$wxUSE_SPINBTN
11372 fi
11373
11374 { echo "$as_me:$LINENO: result: $result" >&5
11375 echo "${ECHO_T}$result" >&6; }
11376
11377
11378 enablestring=
11379 defaultval=$wxUSE_ALL_FEATURES
11380 if test -z "$defaultval"; then
11381 if test x"$enablestring" = xdisable; then
11382 defaultval=yes
11383 else
11384 defaultval=no
11385 fi
11386 fi
11387
11388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11390 # Check whether --enable-spinctrl was given.
11391 if test "${enable_spinctrl+set}" = set; then
11392 enableval=$enable_spinctrl;
11393 if test "$enableval" = yes; then
11394 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11395 else
11396 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11397 fi
11398
11399 else
11400
11401 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11402
11403 fi
11404
11405
11406 eval "$wx_cv_use_spinctrl"
11407
11408 if test x"$enablestring" = xdisable; then
11409 if test $wxUSE_SPINCTRL = yes; then
11410 result=no
11411 else
11412 result=yes
11413 fi
11414 else
11415 result=$wxUSE_SPINCTRL
11416 fi
11417
11418 { echo "$as_me:$LINENO: result: $result" >&5
11419 echo "${ECHO_T}$result" >&6; }
11420
11421
11422 enablestring=
11423 defaultval=$wxUSE_ALL_FEATURES
11424 if test -z "$defaultval"; then
11425 if test x"$enablestring" = xdisable; then
11426 defaultval=yes
11427 else
11428 defaultval=no
11429 fi
11430 fi
11431
11432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11434 # Check whether --enable-splitter was given.
11435 if test "${enable_splitter+set}" = set; then
11436 enableval=$enable_splitter;
11437 if test "$enableval" = yes; then
11438 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11439 else
11440 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11441 fi
11442
11443 else
11444
11445 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11446
11447 fi
11448
11449
11450 eval "$wx_cv_use_splitter"
11451
11452 if test x"$enablestring" = xdisable; then
11453 if test $wxUSE_SPLITTER = yes; then
11454 result=no
11455 else
11456 result=yes
11457 fi
11458 else
11459 result=$wxUSE_SPLITTER
11460 fi
11461
11462 { echo "$as_me:$LINENO: result: $result" >&5
11463 echo "${ECHO_T}$result" >&6; }
11464
11465
11466 enablestring=
11467 defaultval=$wxUSE_ALL_FEATURES
11468 if test -z "$defaultval"; then
11469 if test x"$enablestring" = xdisable; then
11470 defaultval=yes
11471 else
11472 defaultval=no
11473 fi
11474 fi
11475
11476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11478 # Check whether --enable-statbmp was given.
11479 if test "${enable_statbmp+set}" = set; then
11480 enableval=$enable_statbmp;
11481 if test "$enableval" = yes; then
11482 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11483 else
11484 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11485 fi
11486
11487 else
11488
11489 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11490
11491 fi
11492
11493
11494 eval "$wx_cv_use_statbmp"
11495
11496 if test x"$enablestring" = xdisable; then
11497 if test $wxUSE_STATBMP = yes; then
11498 result=no
11499 else
11500 result=yes
11501 fi
11502 else
11503 result=$wxUSE_STATBMP
11504 fi
11505
11506 { echo "$as_me:$LINENO: result: $result" >&5
11507 echo "${ECHO_T}$result" >&6; }
11508
11509
11510 enablestring=
11511 defaultval=$wxUSE_ALL_FEATURES
11512 if test -z "$defaultval"; then
11513 if test x"$enablestring" = xdisable; then
11514 defaultval=yes
11515 else
11516 defaultval=no
11517 fi
11518 fi
11519
11520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11521 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11522 # Check whether --enable-statbox was given.
11523 if test "${enable_statbox+set}" = set; then
11524 enableval=$enable_statbox;
11525 if test "$enableval" = yes; then
11526 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11527 else
11528 wx_cv_use_statbox='wxUSE_STATBOX=no'
11529 fi
11530
11531 else
11532
11533 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11534
11535 fi
11536
11537
11538 eval "$wx_cv_use_statbox"
11539
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_STATBOX = yes; then
11542 result=no
11543 else
11544 result=yes
11545 fi
11546 else
11547 result=$wxUSE_STATBOX
11548 fi
11549
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11552
11553
11554 enablestring=
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11558 defaultval=yes
11559 else
11560 defaultval=no
11561 fi
11562 fi
11563
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11566 # Check whether --enable-statline was given.
11567 if test "${enable_statline+set}" = set; then
11568 enableval=$enable_statline;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_statline='wxUSE_STATLINE=yes'
11571 else
11572 wx_cv_use_statline='wxUSE_STATLINE=no'
11573 fi
11574
11575 else
11576
11577 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11578
11579 fi
11580
11581
11582 eval "$wx_cv_use_statline"
11583
11584 if test x"$enablestring" = xdisable; then
11585 if test $wxUSE_STATLINE = yes; then
11586 result=no
11587 else
11588 result=yes
11589 fi
11590 else
11591 result=$wxUSE_STATLINE
11592 fi
11593
11594 { echo "$as_me:$LINENO: result: $result" >&5
11595 echo "${ECHO_T}$result" >&6; }
11596
11597
11598 enablestring=
11599 defaultval=$wxUSE_ALL_FEATURES
11600 if test -z "$defaultval"; then
11601 if test x"$enablestring" = xdisable; then
11602 defaultval=yes
11603 else
11604 defaultval=no
11605 fi
11606 fi
11607
11608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11609 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11610 # Check whether --enable-stattext was given.
11611 if test "${enable_stattext+set}" = set; then
11612 enableval=$enable_stattext;
11613 if test "$enableval" = yes; then
11614 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11615 else
11616 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11617 fi
11618
11619 else
11620
11621 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11622
11623 fi
11624
11625
11626 eval "$wx_cv_use_stattext"
11627
11628 if test x"$enablestring" = xdisable; then
11629 if test $wxUSE_STATTEXT = yes; then
11630 result=no
11631 else
11632 result=yes
11633 fi
11634 else
11635 result=$wxUSE_STATTEXT
11636 fi
11637
11638 { echo "$as_me:$LINENO: result: $result" >&5
11639 echo "${ECHO_T}$result" >&6; }
11640
11641
11642 enablestring=
11643 defaultval=$wxUSE_ALL_FEATURES
11644 if test -z "$defaultval"; then
11645 if test x"$enablestring" = xdisable; then
11646 defaultval=yes
11647 else
11648 defaultval=no
11649 fi
11650 fi
11651
11652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11653 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11654 # Check whether --enable-statusbar was given.
11655 if test "${enable_statusbar+set}" = set; then
11656 enableval=$enable_statusbar;
11657 if test "$enableval" = yes; then
11658 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11659 else
11660 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11661 fi
11662
11663 else
11664
11665 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11666
11667 fi
11668
11669
11670 eval "$wx_cv_use_statusbar"
11671
11672 if test x"$enablestring" = xdisable; then
11673 if test $wxUSE_STATUSBAR = yes; then
11674 result=no
11675 else
11676 result=yes
11677 fi
11678 else
11679 result=$wxUSE_STATUSBAR
11680 fi
11681
11682 { echo "$as_me:$LINENO: result: $result" >&5
11683 echo "${ECHO_T}$result" >&6; }
11684
11685
11686 enablestring=
11687 defaultval=$wxUSE_ALL_FEATURES
11688 if test -z "$defaultval"; then
11689 if test x"$enablestring" = xdisable; then
11690 defaultval=yes
11691 else
11692 defaultval=no
11693 fi
11694 fi
11695
11696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11698 # Check whether --enable-tabdialog was given.
11699 if test "${enable_tabdialog+set}" = set; then
11700 enableval=$enable_tabdialog;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11703 else
11704 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11705 fi
11706
11707 else
11708
11709 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11710
11711 fi
11712
11713
11714 eval "$wx_cv_use_tabdialog"
11715
11716 if test x"$enablestring" = xdisable; then
11717 if test $wxUSE_TAB_DIALOG = yes; then
11718 result=no
11719 else
11720 result=yes
11721 fi
11722 else
11723 result=$wxUSE_TAB_DIALOG
11724 fi
11725
11726 { echo "$as_me:$LINENO: result: $result" >&5
11727 echo "${ECHO_T}$result" >&6; }
11728
11729
11730 enablestring=
11731 defaultval=$wxUSE_ALL_FEATURES
11732 if test -z "$defaultval"; then
11733 if test x"$enablestring" = xdisable; then
11734 defaultval=yes
11735 else
11736 defaultval=no
11737 fi
11738 fi
11739
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11742 # Check whether --enable-taskbaricon was given.
11743 if test "${enable_taskbaricon+set}" = set; then
11744 enableval=$enable_taskbaricon;
11745 if test "$enableval" = yes; then
11746 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11747 else
11748 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11749 fi
11750
11751 else
11752
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11754
11755 fi
11756
11757
11758 eval "$wx_cv_use_taskbaricon"
11759
11760 if test x"$enablestring" = xdisable; then
11761 if test $wxUSE_TASKBARICON = yes; then
11762 result=no
11763 else
11764 result=yes
11765 fi
11766 else
11767 result=$wxUSE_TASKBARICON
11768 fi
11769
11770 { echo "$as_me:$LINENO: result: $result" >&5
11771 echo "${ECHO_T}$result" >&6; }
11772
11773
11774 enablestring=
11775 defaultval=$wxUSE_ALL_FEATURES
11776 if test -z "$defaultval"; then
11777 if test x"$enablestring" = xdisable; then
11778 defaultval=yes
11779 else
11780 defaultval=no
11781 fi
11782 fi
11783
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11786 # Check whether --enable-textctrl was given.
11787 if test "${enable_textctrl+set}" = set; then
11788 enableval=$enable_textctrl;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11791 else
11792 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11793 fi
11794
11795 else
11796
11797 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11798
11799 fi
11800
11801
11802 eval "$wx_cv_use_textctrl"
11803
11804 if test x"$enablestring" = xdisable; then
11805 if test $wxUSE_TEXTCTRL = yes; then
11806 result=no
11807 else
11808 result=yes
11809 fi
11810 else
11811 result=$wxUSE_TEXTCTRL
11812 fi
11813
11814 { echo "$as_me:$LINENO: result: $result" >&5
11815 echo "${ECHO_T}$result" >&6; }
11816
11817
11818 enablestring=
11819 defaultval=$wxUSE_ALL_FEATURES
11820 if test -z "$defaultval"; then
11821 if test x"$enablestring" = xdisable; then
11822 defaultval=yes
11823 else
11824 defaultval=no
11825 fi
11826 fi
11827
11828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11829 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11830 # Check whether --enable-togglebtn was given.
11831 if test "${enable_togglebtn+set}" = set; then
11832 enableval=$enable_togglebtn;
11833 if test "$enableval" = yes; then
11834 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11835 else
11836 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11837 fi
11838
11839 else
11840
11841 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11842
11843 fi
11844
11845
11846 eval "$wx_cv_use_togglebtn"
11847
11848 if test x"$enablestring" = xdisable; then
11849 if test $wxUSE_TOGGLEBTN = yes; then
11850 result=no
11851 else
11852 result=yes
11853 fi
11854 else
11855 result=$wxUSE_TOGGLEBTN
11856 fi
11857
11858 { echo "$as_me:$LINENO: result: $result" >&5
11859 echo "${ECHO_T}$result" >&6; }
11860
11861
11862 enablestring=
11863 defaultval=$wxUSE_ALL_FEATURES
11864 if test -z "$defaultval"; then
11865 if test x"$enablestring" = xdisable; then
11866 defaultval=yes
11867 else
11868 defaultval=no
11869 fi
11870 fi
11871
11872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11874 # Check whether --enable-toolbar was given.
11875 if test "${enable_toolbar+set}" = set; then
11876 enableval=$enable_toolbar;
11877 if test "$enableval" = yes; then
11878 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11879 else
11880 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11881 fi
11882
11883 else
11884
11885 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11886
11887 fi
11888
11889
11890 eval "$wx_cv_use_toolbar"
11891
11892 if test x"$enablestring" = xdisable; then
11893 if test $wxUSE_TOOLBAR = yes; then
11894 result=no
11895 else
11896 result=yes
11897 fi
11898 else
11899 result=$wxUSE_TOOLBAR
11900 fi
11901
11902 { echo "$as_me:$LINENO: result: $result" >&5
11903 echo "${ECHO_T}$result" >&6; }
11904
11905
11906 enablestring=
11907 defaultval=$wxUSE_ALL_FEATURES
11908 if test -z "$defaultval"; then
11909 if test x"$enablestring" = xdisable; then
11910 defaultval=yes
11911 else
11912 defaultval=no
11913 fi
11914 fi
11915
11916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11917 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11918 # Check whether --enable-tbarnative was given.
11919 if test "${enable_tbarnative+set}" = set; then
11920 enableval=$enable_tbarnative;
11921 if test "$enableval" = yes; then
11922 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11923 else
11924 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11925 fi
11926
11927 else
11928
11929 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11930
11931 fi
11932
11933
11934 eval "$wx_cv_use_tbarnative"
11935
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11938 result=no
11939 else
11940 result=yes
11941 fi
11942 else
11943 result=$wxUSE_TOOLBAR_NATIVE
11944 fi
11945
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11948
11949
11950 enablestring=
11951 defaultval=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x"$enablestring" = xdisable; then
11954 defaultval=yes
11955 else
11956 defaultval=no
11957 fi
11958 fi
11959
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11962 # Check whether --enable-treebook was given.
11963 if test "${enable_treebook+set}" = set; then
11964 enableval=$enable_treebook;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11967 else
11968 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11969 fi
11970
11971 else
11972
11973 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11974
11975 fi
11976
11977
11978 eval "$wx_cv_use_treebook"
11979
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_TREEBOOK = yes; then
11982 result=no
11983 else
11984 result=yes
11985 fi
11986 else
11987 result=$wxUSE_TREEBOOK
11988 fi
11989
11990 { echo "$as_me:$LINENO: result: $result" >&5
11991 echo "${ECHO_T}$result" >&6; }
11992
11993
11994 enablestring=
11995 defaultval=$wxUSE_ALL_FEATURES
11996 if test -z "$defaultval"; then
11997 if test x"$enablestring" = xdisable; then
11998 defaultval=yes
11999 else
12000 defaultval=no
12001 fi
12002 fi
12003
12004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12006 # Check whether --enable-toolbook was given.
12007 if test "${enable_toolbook+set}" = set; then
12008 enableval=$enable_toolbook;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12011 else
12012 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12013 fi
12014
12015 else
12016
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12018
12019 fi
12020
12021
12022 eval "$wx_cv_use_toolbook"
12023
12024 if test x"$enablestring" = xdisable; then
12025 if test $wxUSE_TOOLBOOK = yes; then
12026 result=no
12027 else
12028 result=yes
12029 fi
12030 else
12031 result=$wxUSE_TOOLBOOK
12032 fi
12033
12034 { echo "$as_me:$LINENO: result: $result" >&5
12035 echo "${ECHO_T}$result" >&6; }
12036
12037
12038 enablestring=
12039 defaultval=$wxUSE_ALL_FEATURES
12040 if test -z "$defaultval"; then
12041 if test x"$enablestring" = xdisable; then
12042 defaultval=yes
12043 else
12044 defaultval=no
12045 fi
12046 fi
12047
12048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12049 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12050 # Check whether --enable-treectrl was given.
12051 if test "${enable_treectrl+set}" = set; then
12052 enableval=$enable_treectrl;
12053 if test "$enableval" = yes; then
12054 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12055 else
12056 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12057 fi
12058
12059 else
12060
12061 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12062
12063 fi
12064
12065
12066 eval "$wx_cv_use_treectrl"
12067
12068 if test x"$enablestring" = xdisable; then
12069 if test $wxUSE_TREECTRL = yes; then
12070 result=no
12071 else
12072 result=yes
12073 fi
12074 else
12075 result=$wxUSE_TREECTRL
12076 fi
12077
12078 { echo "$as_me:$LINENO: result: $result" >&5
12079 echo "${ECHO_T}$result" >&6; }
12080
12081
12082 enablestring=
12083 defaultval=$wxUSE_ALL_FEATURES
12084 if test -z "$defaultval"; then
12085 if test x"$enablestring" = xdisable; then
12086 defaultval=yes
12087 else
12088 defaultval=no
12089 fi
12090 fi
12091
12092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12093 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12094 # Check whether --enable-tipwindow was given.
12095 if test "${enable_tipwindow+set}" = set; then
12096 enableval=$enable_tipwindow;
12097 if test "$enableval" = yes; then
12098 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12099 else
12100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12101 fi
12102
12103 else
12104
12105 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12106
12107 fi
12108
12109
12110 eval "$wx_cv_use_tipwindow"
12111
12112 if test x"$enablestring" = xdisable; then
12113 if test $wxUSE_TIPWINDOW = yes; then
12114 result=no
12115 else
12116 result=yes
12117 fi
12118 else
12119 result=$wxUSE_TIPWINDOW
12120 fi
12121
12122 { echo "$as_me:$LINENO: result: $result" >&5
12123 echo "${ECHO_T}$result" >&6; }
12124
12125
12126 enablestring=
12127 defaultval=$wxUSE_ALL_FEATURES
12128 if test -z "$defaultval"; then
12129 if test x"$enablestring" = xdisable; then
12130 defaultval=yes
12131 else
12132 defaultval=no
12133 fi
12134 fi
12135
12136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12137 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12138 # Check whether --enable-popupwin was given.
12139 if test "${enable_popupwin+set}" = set; then
12140 enableval=$enable_popupwin;
12141 if test "$enableval" = yes; then
12142 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12143 else
12144 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12145 fi
12146
12147 else
12148
12149 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12150
12151 fi
12152
12153
12154 eval "$wx_cv_use_popupwin"
12155
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_POPUPWIN = yes; then
12158 result=no
12159 else
12160 result=yes
12161 fi
12162 else
12163 result=$wxUSE_POPUPWIN
12164 fi
12165
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12168
12169
12170
12171
12172 enablestring=
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12176 defaultval=yes
12177 else
12178 defaultval=no
12179 fi
12180 fi
12181
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12184 # Check whether --enable-commondlg was given.
12185 if test "${enable_commondlg+set}" = set; then
12186 enableval=$enable_commondlg;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12189 else
12190 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12191 fi
12192
12193 else
12194
12195 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12196
12197 fi
12198
12199
12200 eval "$wx_cv_use_commondlg"
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_COMMONDLGS = yes; then
12204 result=no
12205 else
12206 result=yes
12207 fi
12208 else
12209 result=$wxUSE_COMMONDLGS
12210 fi
12211
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12214
12215
12216 enablestring=
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12220 defaultval=yes
12221 else
12222 defaultval=no
12223 fi
12224 fi
12225
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12228 # Check whether --enable-aboutdlg was given.
12229 if test "${enable_aboutdlg+set}" = set; then
12230 enableval=$enable_aboutdlg;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12233 else
12234 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12235 fi
12236
12237 else
12238
12239 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12240
12241 fi
12242
12243
12244 eval "$wx_cv_use_aboutdlg"
12245
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_ABOUTDLG = yes; then
12248 result=no
12249 else
12250 result=yes
12251 fi
12252 else
12253 result=$wxUSE_ABOUTDLG
12254 fi
12255
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12258
12259
12260 enablestring=
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12264 defaultval=yes
12265 else
12266 defaultval=no
12267 fi
12268 fi
12269
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12272 # Check whether --enable-choicedlg was given.
12273 if test "${enable_choicedlg+set}" = set; then
12274 enableval=$enable_choicedlg;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12277 else
12278 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12279 fi
12280
12281 else
12282
12283 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12284
12285 fi
12286
12287
12288 eval "$wx_cv_use_choicedlg"
12289
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_CHOICEDLG = yes; then
12292 result=no
12293 else
12294 result=yes
12295 fi
12296 else
12297 result=$wxUSE_CHOICEDLG
12298 fi
12299
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12302
12303
12304 enablestring=
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12308 defaultval=yes
12309 else
12310 defaultval=no
12311 fi
12312 fi
12313
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12316 # Check whether --enable-coldlg was given.
12317 if test "${enable_coldlg+set}" = set; then
12318 enableval=$enable_coldlg;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12321 else
12322 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12323 fi
12324
12325 else
12326
12327 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_coldlg"
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_COLOURDLG = yes; then
12336 result=no
12337 else
12338 result=yes
12339 fi
12340 else
12341 result=$wxUSE_COLOURDLG
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348 enablestring=
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12352 defaultval=yes
12353 else
12354 defaultval=no
12355 fi
12356 fi
12357
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12360 # Check whether --enable-filedlg was given.
12361 if test "${enable_filedlg+set}" = set; then
12362 enableval=$enable_filedlg;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12365 else
12366 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12367 fi
12368
12369 else
12370
12371 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12372
12373 fi
12374
12375
12376 eval "$wx_cv_use_filedlg"
12377
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_FILEDLG = yes; then
12380 result=no
12381 else
12382 result=yes
12383 fi
12384 else
12385 result=$wxUSE_FILEDLG
12386 fi
12387
12388 { echo "$as_me:$LINENO: result: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12390
12391
12392 enablestring=
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12396 defaultval=yes
12397 else
12398 defaultval=no
12399 fi
12400 fi
12401
12402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12404 # Check whether --enable-finddlg was given.
12405 if test "${enable_finddlg+set}" = set; then
12406 enableval=$enable_finddlg;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12409 else
12410 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12411 fi
12412
12413 else
12414
12415 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12416
12417 fi
12418
12419
12420 eval "$wx_cv_use_finddlg"
12421
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_FINDREPLDLG = yes; then
12424 result=no
12425 else
12426 result=yes
12427 fi
12428 else
12429 result=$wxUSE_FINDREPLDLG
12430 fi
12431
12432 { echo "$as_me:$LINENO: result: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12434
12435
12436 enablestring=
12437 defaultval=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x"$enablestring" = xdisable; then
12440 defaultval=yes
12441 else
12442 defaultval=no
12443 fi
12444 fi
12445
12446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12448 # Check whether --enable-fontdlg was given.
12449 if test "${enable_fontdlg+set}" = set; then
12450 enableval=$enable_fontdlg;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12453 else
12454 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12455 fi
12456
12457 else
12458
12459 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12460
12461 fi
12462
12463
12464 eval "$wx_cv_use_fontdlg"
12465
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_FONTDLG = yes; then
12468 result=no
12469 else
12470 result=yes
12471 fi
12472 else
12473 result=$wxUSE_FONTDLG
12474 fi
12475
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12478
12479
12480 enablestring=
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12484 defaultval=yes
12485 else
12486 defaultval=no
12487 fi
12488 fi
12489
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12492 # Check whether --enable-dirdlg was given.
12493 if test "${enable_dirdlg+set}" = set; then
12494 enableval=$enable_dirdlg;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12497 else
12498 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12499 fi
12500
12501 else
12502
12503 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12504
12505 fi
12506
12507
12508 eval "$wx_cv_use_dirdlg"
12509
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_DIRDLG = yes; then
12512 result=no
12513 else
12514 result=yes
12515 fi
12516 else
12517 result=$wxUSE_DIRDLG
12518 fi
12519
12520 { echo "$as_me:$LINENO: result: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12522
12523
12524 enablestring=
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12528 defaultval=yes
12529 else
12530 defaultval=no
12531 fi
12532 fi
12533
12534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12536 # Check whether --enable-msgdlg was given.
12537 if test "${enable_msgdlg+set}" = set; then
12538 enableval=$enable_msgdlg;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12541 else
12542 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12543 fi
12544
12545 else
12546
12547 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12548
12549 fi
12550
12551
12552 eval "$wx_cv_use_msgdlg"
12553
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_MSGDLG = yes; then
12556 result=no
12557 else
12558 result=yes
12559 fi
12560 else
12561 result=$wxUSE_MSGDLG
12562 fi
12563
12564 { echo "$as_me:$LINENO: result: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12566
12567
12568 enablestring=
12569 defaultval=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x"$enablestring" = xdisable; then
12572 defaultval=yes
12573 else
12574 defaultval=no
12575 fi
12576 fi
12577
12578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12580 # Check whether --enable-numberdlg was given.
12581 if test "${enable_numberdlg+set}" = set; then
12582 enableval=$enable_numberdlg;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12585 else
12586 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12587 fi
12588
12589 else
12590
12591 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12592
12593 fi
12594
12595
12596 eval "$wx_cv_use_numberdlg"
12597
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_NUMBERDLG = yes; then
12600 result=no
12601 else
12602 result=yes
12603 fi
12604 else
12605 result=$wxUSE_NUMBERDLG
12606 fi
12607
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12610
12611
12612 enablestring=
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12616 defaultval=yes
12617 else
12618 defaultval=no
12619 fi
12620 fi
12621
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12624 # Check whether --enable-splash was given.
12625 if test "${enable_splash+set}" = set; then
12626 enableval=$enable_splash;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_splash='wxUSE_SPLASH=yes'
12629 else
12630 wx_cv_use_splash='wxUSE_SPLASH=no'
12631 fi
12632
12633 else
12634
12635 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12636
12637 fi
12638
12639
12640 eval "$wx_cv_use_splash"
12641
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_SPLASH = yes; then
12644 result=no
12645 else
12646 result=yes
12647 fi
12648 else
12649 result=$wxUSE_SPLASH
12650 fi
12651
12652 { echo "$as_me:$LINENO: result: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12654
12655
12656 enablestring=
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12660 defaultval=yes
12661 else
12662 defaultval=no
12663 fi
12664 fi
12665
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12668 # Check whether --enable-textdlg was given.
12669 if test "${enable_textdlg+set}" = set; then
12670 enableval=$enable_textdlg;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12673 else
12674 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12675 fi
12676
12677 else
12678
12679 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12680
12681 fi
12682
12683
12684 eval "$wx_cv_use_textdlg"
12685
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_TEXTDLG = yes; then
12688 result=no
12689 else
12690 result=yes
12691 fi
12692 else
12693 result=$wxUSE_TEXTDLG
12694 fi
12695
12696 { echo "$as_me:$LINENO: result: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12698
12699
12700 enablestring=
12701 defaultval=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x"$enablestring" = xdisable; then
12704 defaultval=yes
12705 else
12706 defaultval=no
12707 fi
12708 fi
12709
12710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12712 # Check whether --enable-tipdlg was given.
12713 if test "${enable_tipdlg+set}" = set; then
12714 enableval=$enable_tipdlg;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12717 else
12718 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12719 fi
12720
12721 else
12722
12723 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12724
12725 fi
12726
12727
12728 eval "$wx_cv_use_tipdlg"
12729
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_STARTUP_TIPS = yes; then
12732 result=no
12733 else
12734 result=yes
12735 fi
12736 else
12737 result=$wxUSE_STARTUP_TIPS
12738 fi
12739
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12742
12743
12744 enablestring=
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12748 defaultval=yes
12749 else
12750 defaultval=no
12751 fi
12752 fi
12753
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12756 # Check whether --enable-progressdlg was given.
12757 if test "${enable_progressdlg+set}" = set; then
12758 enableval=$enable_progressdlg;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12761 else
12762 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12763 fi
12764
12765 else
12766
12767 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_progressdlg"
12773
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_PROGRESSDLG = yes; then
12776 result=no
12777 else
12778 result=yes
12779 fi
12780 else
12781 result=$wxUSE_PROGRESSDLG
12782 fi
12783
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12786
12787
12788 enablestring=
12789 defaultval=$wxUSE_ALL_FEATURES
12790 if test -z "$defaultval"; then
12791 if test x"$enablestring" = xdisable; then
12792 defaultval=yes
12793 else
12794 defaultval=no
12795 fi
12796 fi
12797
12798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12799 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12800 # Check whether --enable-wizarddlg was given.
12801 if test "${enable_wizarddlg+set}" = set; then
12802 enableval=$enable_wizarddlg;
12803 if test "$enableval" = yes; then
12804 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12805 else
12806 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12807 fi
12808
12809 else
12810
12811 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12812
12813 fi
12814
12815
12816 eval "$wx_cv_use_wizarddlg"
12817
12818 if test x"$enablestring" = xdisable; then
12819 if test $wxUSE_WIZARDDLG = yes; then
12820 result=no
12821 else
12822 result=yes
12823 fi
12824 else
12825 result=$wxUSE_WIZARDDLG
12826 fi
12827
12828 { echo "$as_me:$LINENO: result: $result" >&5
12829 echo "${ECHO_T}$result" >&6; }
12830
12831
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12846 # Check whether --enable-menus was given.
12847 if test "${enable_menus+set}" = set; then
12848 enableval=$enable_menus;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_menus='wxUSE_MENUS=yes'
12851 else
12852 wx_cv_use_menus='wxUSE_MENUS=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_menus"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_MENUS = yes; then
12866 result=no
12867 else
12868 result=yes
12869 fi
12870 else
12871 result=$wxUSE_MENUS
12872 fi
12873
12874 { echo "$as_me:$LINENO: result: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12876
12877
12878 enablestring=
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12882 defaultval=yes
12883 else
12884 defaultval=no
12885 fi
12886 fi
12887
12888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12890 # Check whether --enable-miniframe was given.
12891 if test "${enable_miniframe+set}" = set; then
12892 enableval=$enable_miniframe;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12895 else
12896 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_miniframe"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_MINIFRAME = yes; then
12910 result=no
12911 else
12912 result=yes
12913 fi
12914 else
12915 result=$wxUSE_MINIFRAME
12916 fi
12917
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12934 # Check whether --enable-tooltips was given.
12935 if test "${enable_tooltips+set}" = set; then
12936 enableval=$enable_tooltips;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12939 else
12940 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_tooltips"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_TOOLTIPS = yes; then
12954 result=no
12955 else
12956 result=yes
12957 fi
12958 else
12959 result=$wxUSE_TOOLTIPS
12960 fi
12961
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12964
12965
12966 enablestring=
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12970 defaultval=yes
12971 else
12972 defaultval=no
12973 fi
12974 fi
12975
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12978 # Check whether --enable-splines was given.
12979 if test "${enable_splines+set}" = set; then
12980 enableval=$enable_splines;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_splines='wxUSE_SPLINES=yes'
12983 else
12984 wx_cv_use_splines='wxUSE_SPLINES=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_splines"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_SPLINES = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_SPLINES
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13022 # Check whether --enable-mousewheel was given.
13023 if test "${enable_mousewheel+set}" = set; then
13024 enableval=$enable_mousewheel;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13027 else
13028 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13029 fi
13030
13031 else
13032
13033 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13034
13035 fi
13036
13037
13038 eval "$wx_cv_use_mousewheel"
13039
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_MOUSEWHEEL = yes; then
13042 result=no
13043 else
13044 result=yes
13045 fi
13046 else
13047 result=$wxUSE_MOUSEWHEEL
13048 fi
13049
13050 { echo "$as_me:$LINENO: result: $result" >&5
13051 echo "${ECHO_T}$result" >&6; }
13052
13053
13054 enablestring=
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13058 defaultval=yes
13059 else
13060 defaultval=no
13061 fi
13062 fi
13063
13064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13066 # Check whether --enable-validators was given.
13067 if test "${enable_validators+set}" = set; then
13068 enableval=$enable_validators;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13071 else
13072 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13073 fi
13074
13075 else
13076
13077 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_validators"
13083
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_VALIDATORS = yes; then
13086 result=no
13087 else
13088 result=yes
13089 fi
13090 else
13091 result=$wxUSE_VALIDATORS
13092 fi
13093
13094 { echo "$as_me:$LINENO: result: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13096
13097
13098 enablestring=
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13102 defaultval=yes
13103 else
13104 defaultval=no
13105 fi
13106 fi
13107
13108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13110 # Check whether --enable-busyinfo was given.
13111 if test "${enable_busyinfo+set}" = set; then
13112 enableval=$enable_busyinfo;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13115 else
13116 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13117 fi
13118
13119 else
13120
13121 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_busyinfo"
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_BUSYINFO = yes; then
13130 result=no
13131 else
13132 result=yes
13133 fi
13134 else
13135 result=$wxUSE_BUSYINFO
13136 fi
13137
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13140
13141
13142 enablestring=
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13146 defaultval=yes
13147 else
13148 defaultval=no
13149 fi
13150 fi
13151
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13154 # Check whether --enable-joystick was given.
13155 if test "${enable_joystick+set}" = set; then
13156 enableval=$enable_joystick;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13159 else
13160 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13161 fi
13162
13163 else
13164
13165 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13166
13167 fi
13168
13169
13170 eval "$wx_cv_use_joystick"
13171
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_JOYSTICK = yes; then
13174 result=no
13175 else
13176 result=yes
13177 fi
13178 else
13179 result=$wxUSE_JOYSTICK
13180 fi
13181
13182 { echo "$as_me:$LINENO: result: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13184
13185
13186 enablestring=
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13190 defaultval=yes
13191 else
13192 defaultval=no
13193 fi
13194 fi
13195
13196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13198 # Check whether --enable-metafile was given.
13199 if test "${enable_metafile+set}" = set; then
13200 enableval=$enable_metafile;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13203 else
13204 wx_cv_use_metafile='wxUSE_METAFILE=no'
13205 fi
13206
13207 else
13208
13209 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_metafile"
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_METAFILE = yes; then
13218 result=no
13219 else
13220 result=yes
13221 fi
13222 else
13223 result=$wxUSE_METAFILE
13224 fi
13225
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13228
13229
13230 enablestring=
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13234 defaultval=yes
13235 else
13236 defaultval=no
13237 fi
13238 fi
13239
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13242 # Check whether --enable-dragimage was given.
13243 if test "${enable_dragimage+set}" = set; then
13244 enableval=$enable_dragimage;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13247 else
13248 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13249 fi
13250
13251 else
13252
13253 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_dragimage"
13259
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_DRAGIMAGE = yes; then
13262 result=no
13263 else
13264 result=yes
13265 fi
13266 else
13267 result=$wxUSE_DRAGIMAGE
13268 fi
13269
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13272
13273
13274 enablestring=
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13278 defaultval=yes
13279 else
13280 defaultval=no
13281 fi
13282 fi
13283
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13286 # Check whether --enable-accessibility was given.
13287 if test "${enable_accessibility+set}" = set; then
13288 enableval=$enable_accessibility;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13291 else
13292 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13293 fi
13294
13295 else
13296
13297 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13298
13299 fi
13300
13301
13302 eval "$wx_cv_use_accessibility"
13303
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_ACCESSIBILITY = yes; then
13306 result=no
13307 else
13308 result=yes
13309 fi
13310 else
13311 result=$wxUSE_ACCESSIBILITY
13312 fi
13313
13314 { echo "$as_me:$LINENO: result: $result" >&5
13315 echo "${ECHO_T}$result" >&6; }
13316
13317
13318
13319
13320 enablestring=
13321 defaultval=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x"$enablestring" = xdisable; then
13324 defaultval=yes
13325 else
13326 defaultval=no
13327 fi
13328 fi
13329
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13332 # Check whether --enable-palette was given.
13333 if test "${enable_palette+set}" = set; then
13334 enableval=$enable_palette;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_palette='wxUSE_PALETTE=yes'
13337 else
13338 wx_cv_use_palette='wxUSE_PALETTE=no'
13339 fi
13340
13341 else
13342
13343 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13344
13345 fi
13346
13347
13348 eval "$wx_cv_use_palette"
13349
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_PALETTE = yes; then
13352 result=no
13353 else
13354 result=yes
13355 fi
13356 else
13357 result=$wxUSE_PALETTE
13358 fi
13359
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13362
13363
13364 enablestring=
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13368 defaultval=yes
13369 else
13370 defaultval=no
13371 fi
13372 fi
13373
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13376 # Check whether --enable-image was given.
13377 if test "${enable_image+set}" = set; then
13378 enableval=$enable_image;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_image='wxUSE_IMAGE=yes'
13381 else
13382 wx_cv_use_image='wxUSE_IMAGE=no'
13383 fi
13384
13385 else
13386
13387 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13388
13389 fi
13390
13391
13392 eval "$wx_cv_use_image"
13393
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_IMAGE = yes; then
13396 result=no
13397 else
13398 result=yes
13399 fi
13400 else
13401 result=$wxUSE_IMAGE
13402 fi
13403
13404 { echo "$as_me:$LINENO: result: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13406
13407
13408 enablestring=
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13412 defaultval=yes
13413 else
13414 defaultval=no
13415 fi
13416 fi
13417
13418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13420 # Check whether --enable-gif was given.
13421 if test "${enable_gif+set}" = set; then
13422 enableval=$enable_gif;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_gif='wxUSE_GIF=yes'
13425 else
13426 wx_cv_use_gif='wxUSE_GIF=no'
13427 fi
13428
13429 else
13430
13431 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13432
13433 fi
13434
13435
13436 eval "$wx_cv_use_gif"
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_GIF = yes; then
13440 result=no
13441 else
13442 result=yes
13443 fi
13444 else
13445 result=$wxUSE_GIF
13446 fi
13447
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13450
13451
13452 enablestring=
13453 defaultval=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x"$enablestring" = xdisable; then
13456 defaultval=yes
13457 else
13458 defaultval=no
13459 fi
13460 fi
13461
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13464 # Check whether --enable-pcx was given.
13465 if test "${enable_pcx+set}" = set; then
13466 enableval=$enable_pcx;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_pcx='wxUSE_PCX=yes'
13469 else
13470 wx_cv_use_pcx='wxUSE_PCX=no'
13471 fi
13472
13473 else
13474
13475 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13476
13477 fi
13478
13479
13480 eval "$wx_cv_use_pcx"
13481
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_PCX = yes; then
13484 result=no
13485 else
13486 result=yes
13487 fi
13488 else
13489 result=$wxUSE_PCX
13490 fi
13491
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 echo "${ECHO_T}$result" >&6; }
13494
13495
13496 enablestring=
13497 defaultval=$wxUSE_ALL_FEATURES
13498 if test -z "$defaultval"; then
13499 if test x"$enablestring" = xdisable; then
13500 defaultval=yes
13501 else
13502 defaultval=no
13503 fi
13504 fi
13505
13506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13508 # Check whether --enable-tga was given.
13509 if test "${enable_tga+set}" = set; then
13510 enableval=$enable_tga;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_tga='wxUSE_TGA=yes'
13513 else
13514 wx_cv_use_tga='wxUSE_TGA=no'
13515 fi
13516
13517 else
13518
13519 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_tga"
13525
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_TGA = yes; then
13528 result=no
13529 else
13530 result=yes
13531 fi
13532 else
13533 result=$wxUSE_TGA
13534 fi
13535
13536 { echo "$as_me:$LINENO: result: $result" >&5
13537 echo "${ECHO_T}$result" >&6; }
13538
13539
13540 enablestring=
13541 defaultval=$wxUSE_ALL_FEATURES
13542 if test -z "$defaultval"; then
13543 if test x"$enablestring" = xdisable; then
13544 defaultval=yes
13545 else
13546 defaultval=no
13547 fi
13548 fi
13549
13550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13552 # Check whether --enable-iff was given.
13553 if test "${enable_iff+set}" = set; then
13554 enableval=$enable_iff;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_iff='wxUSE_IFF=yes'
13557 else
13558 wx_cv_use_iff='wxUSE_IFF=no'
13559 fi
13560
13561 else
13562
13563 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13564
13565 fi
13566
13567
13568 eval "$wx_cv_use_iff"
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_IFF = yes; then
13572 result=no
13573 else
13574 result=yes
13575 fi
13576 else
13577 result=$wxUSE_IFF
13578 fi
13579
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13582
13583
13584 enablestring=
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13588 defaultval=yes
13589 else
13590 defaultval=no
13591 fi
13592 fi
13593
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13596 # Check whether --enable-pnm was given.
13597 if test "${enable_pnm+set}" = set; then
13598 enableval=$enable_pnm;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_pnm='wxUSE_PNM=yes'
13601 else
13602 wx_cv_use_pnm='wxUSE_PNM=no'
13603 fi
13604
13605 else
13606
13607 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_pnm"
13613
13614 if test x"$enablestring" = xdisable; then
13615 if test $wxUSE_PNM = yes; then
13616 result=no
13617 else
13618 result=yes
13619 fi
13620 else
13621 result=$wxUSE_PNM
13622 fi
13623
13624 { echo "$as_me:$LINENO: result: $result" >&5
13625 echo "${ECHO_T}$result" >&6; }
13626
13627
13628 enablestring=
13629 defaultval=$wxUSE_ALL_FEATURES
13630 if test -z "$defaultval"; then
13631 if test x"$enablestring" = xdisable; then
13632 defaultval=yes
13633 else
13634 defaultval=no
13635 fi
13636 fi
13637
13638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13640 # Check whether --enable-xpm was given.
13641 if test "${enable_xpm+set}" = set; then
13642 enableval=$enable_xpm;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_xpm='wxUSE_XPM=yes'
13645 else
13646 wx_cv_use_xpm='wxUSE_XPM=no'
13647 fi
13648
13649 else
13650
13651 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13652
13653 fi
13654
13655
13656 eval "$wx_cv_use_xpm"
13657
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_XPM = yes; then
13660 result=no
13661 else
13662 result=yes
13663 fi
13664 else
13665 result=$wxUSE_XPM
13666 fi
13667
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13670
13671
13672 enablestring=
13673 defaultval=$wxUSE_ALL_FEATURES
13674 if test -z "$defaultval"; then
13675 if test x"$enablestring" = xdisable; then
13676 defaultval=yes
13677 else
13678 defaultval=no
13679 fi
13680 fi
13681
13682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13683 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13684 # Check whether --enable-ico_cur was given.
13685 if test "${enable_ico_cur+set}" = set; then
13686 enableval=$enable_ico_cur;
13687 if test "$enableval" = yes; then
13688 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13689 else
13690 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13691 fi
13692
13693 else
13694
13695 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13696
13697 fi
13698
13699
13700 eval "$wx_cv_use_ico_cur"
13701
13702 if test x"$enablestring" = xdisable; then
13703 if test $wxUSE_ICO_CUR = yes; then
13704 result=no
13705 else
13706 result=yes
13707 fi
13708 else
13709 result=$wxUSE_ICO_CUR
13710 fi
13711
13712 { echo "$as_me:$LINENO: result: $result" >&5
13713 echo "${ECHO_T}$result" >&6; }
13714
13715
13716
13717
13718 enablestring=
13719 defaultval=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x"$enablestring" = xdisable; then
13722 defaultval=yes
13723 else
13724 defaultval=no
13725 fi
13726 fi
13727
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13730 # Check whether --enable-dccache was given.
13731 if test "${enable_dccache+set}" = set; then
13732 enableval=$enable_dccache;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13735 else
13736 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_dccache"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_DC_CACHEING = yes; then
13750 result=no
13751 else
13752 result=yes
13753 fi
13754 else
13755 result=$wxUSE_DC_CACHEING
13756 fi
13757
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13760
13761
13762 enablestring=
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13766 defaultval=yes
13767 else
13768 defaultval=no
13769 fi
13770 fi
13771
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13774 # Check whether --enable-ps-in-msw was given.
13775 if test "${enable_ps_in_msw+set}" = set; then
13776 enableval=$enable_ps_in_msw;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13779 else
13780 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_ps_in_msw"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13794 result=no
13795 else
13796 result=yes
13797 fi
13798 else
13799 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13800 fi
13801
13802 { echo "$as_me:$LINENO: result: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13804
13805
13806 enablestring=
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13810 defaultval=yes
13811 else
13812 defaultval=no
13813 fi
13814 fi
13815
13816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13818 # Check whether --enable-ownerdrawn was given.
13819 if test "${enable_ownerdrawn+set}" = set; then
13820 enableval=$enable_ownerdrawn;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13823 else
13824 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_ownerdrawn"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_OWNER_DRAWN = yes; then
13838 result=no
13839 else
13840 result=yes
13841 fi
13842 else
13843 result=$wxUSE_OWNER_DRAWN
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13862 # Check whether --enable-uxtheme was given.
13863 if test "${enable_uxtheme+set}" = set; then
13864 enableval=$enable_uxtheme;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13867 else
13868 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_uxtheme"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_UXTHEME = yes; then
13882 result=no
13883 else
13884 result=yes
13885 fi
13886 else
13887 result=$wxUSE_UXTHEME
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894 enablestring=
13895 defaultval=$wxUSE_ALL_FEATURES
13896 if test -z "$defaultval"; then
13897 if test x"$enablestring" = xdisable; then
13898 defaultval=yes
13899 else
13900 defaultval=no
13901 fi
13902 fi
13903
13904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13905 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13906 # Check whether --enable-wxdib was given.
13907 if test "${enable_wxdib+set}" = set; then
13908 enableval=$enable_wxdib;
13909 if test "$enableval" = yes; then
13910 wx_cv_use_wxdib='wxUSE_DIB=yes'
13911 else
13912 wx_cv_use_wxdib='wxUSE_DIB=no'
13913 fi
13914
13915 else
13916
13917 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13918
13919 fi
13920
13921
13922 eval "$wx_cv_use_wxdib"
13923
13924 if test x"$enablestring" = xdisable; then
13925 if test $wxUSE_DIB = yes; then
13926 result=no
13927 else
13928 result=yes
13929 fi
13930 else
13931 result=$wxUSE_DIB
13932 fi
13933
13934 { echo "$as_me:$LINENO: result: $result" >&5
13935 echo "${ECHO_T}$result" >&6; }
13936
13937
13938 if test "$wxUSE_MSW" != 1; then
13939 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13940 fi
13941
13942
13943 enablestring=
13944 defaultval=$wxUSE_ALL_FEATURES
13945 if test -z "$defaultval"; then
13946 if test x"$enablestring" = xdisable; then
13947 defaultval=yes
13948 else
13949 defaultval=no
13950 fi
13951 fi
13952
13953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13954 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13955 # Check whether --enable-autoidman was given.
13956 if test "${enable_autoidman+set}" = set; then
13957 enableval=$enable_autoidman;
13958 if test "$enableval" = yes; then
13959 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13960 else
13961 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13962 fi
13963
13964 else
13965
13966 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13967
13968 fi
13969
13970
13971 eval "$wx_cv_use_autoidman"
13972
13973 if test x"$enablestring" = xdisable; then
13974 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13975 result=no
13976 else
13977 result=yes
13978 fi
13979 else
13980 result=$wxUSE_AUTOID_MANAGEMENT
13981 fi
13982
13983 { echo "$as_me:$LINENO: result: $result" >&5
13984 echo "${ECHO_T}$result" >&6; }
13985
13986
13987 fi
13988
13989
13990 cat >confcache <<\_ACEOF
13991 # This file is a shell script that caches the results of configure
13992 # tests run on this system so they can be shared between configure
13993 # scripts and configure runs, see configure's option --config-cache.
13994 # It is not useful on other systems. If it contains results you don't
13995 # want to keep, you may remove or edit it.
13996 #
13997 # config.status only pays attention to the cache file if you give it
13998 # the --recheck option to rerun configure.
13999 #
14000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14002 # following values.
14003
14004 _ACEOF
14005
14006 # The following way of writing the cache mishandles newlines in values,
14007 # but we know of no workaround that is simple, portable, and efficient.
14008 # So, we kill variables containing newlines.
14009 # Ultrix sh set writes to stderr and can't be redirected directly,
14010 # and sets the high bit in the cache file unless we assign to the vars.
14011 (
14012 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14013 eval ac_val=\$$ac_var
14014 case $ac_val in #(
14015 *${as_nl}*)
14016 case $ac_var in #(
14017 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14018 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14019 esac
14020 case $ac_var in #(
14021 _ | IFS | as_nl) ;; #(
14022 *) $as_unset $ac_var ;;
14023 esac ;;
14024 esac
14025 done
14026
14027 (set) 2>&1 |
14028 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14029 *${as_nl}ac_space=\ *)
14030 # `set' does not quote correctly, so add quotes (double-quote
14031 # substitution turns \\\\ into \\, and sed turns \\ into \).
14032 sed -n \
14033 "s/'/'\\\\''/g;
14034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14035 ;; #(
14036 *)
14037 # `set' quotes correctly as required by POSIX, so do not add quotes.
14038 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14039 ;;
14040 esac |
14041 sort
14042 ) |
14043 sed '
14044 /^ac_cv_env_/b end
14045 t clear
14046 :clear
14047 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14048 t end
14049 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14050 :end' >>confcache
14051 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14052 if test -w "$cache_file"; then
14053 test "x$cache_file" != "x/dev/null" &&
14054 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14055 echo "$as_me: updating cache $cache_file" >&6;}
14056 cat confcache >$cache_file
14057 else
14058 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14059 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14060 fi
14061 fi
14062 rm -f confcache
14063
14064 CFLAGS=${CFLAGS:=}
14065
14066
14067
14068 ac_ext=c
14069 ac_cpp='$CPP $CPPFLAGS'
14070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14073 if test -n "$ac_tool_prefix"; then
14074 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14075 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14078 if test "${ac_cv_prog_CC+set}" = set; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 else
14081 if test -n "$CC"; then
14082 ac_cv_prog_CC="$CC" # Let the user override the test.
14083 else
14084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 for as_dir in $PATH
14086 do
14087 IFS=$as_save_IFS
14088 test -z "$as_dir" && as_dir=.
14089 for ac_exec_ext in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14093 break 2
14094 fi
14095 done
14096 done
14097 IFS=$as_save_IFS
14098
14099 fi
14100 fi
14101 CC=$ac_cv_prog_CC
14102 if test -n "$CC"; then
14103 { echo "$as_me:$LINENO: result: $CC" >&5
14104 echo "${ECHO_T}$CC" >&6; }
14105 else
14106 { echo "$as_me:$LINENO: result: no" >&5
14107 echo "${ECHO_T}no" >&6; }
14108 fi
14109
14110
14111 fi
14112 if test -z "$ac_cv_prog_CC"; then
14113 ac_ct_CC=$CC
14114 # Extract the first word of "gcc", so it can be a program name with args.
14115 set dummy gcc; ac_word=$2
14116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 if test -n "$ac_ct_CC"; then
14122 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14123 else
14124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14125 for as_dir in $PATH
14126 do
14127 IFS=$as_save_IFS
14128 test -z "$as_dir" && as_dir=.
14129 for ac_exec_ext in '' $ac_executable_extensions; do
14130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14131 ac_cv_prog_ac_ct_CC="gcc"
14132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14133 break 2
14134 fi
14135 done
14136 done
14137 IFS=$as_save_IFS
14138
14139 fi
14140 fi
14141 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14142 if test -n "$ac_ct_CC"; then
14143 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14144 echo "${ECHO_T}$ac_ct_CC" >&6; }
14145 else
14146 { echo "$as_me:$LINENO: result: no" >&5
14147 echo "${ECHO_T}no" >&6; }
14148 fi
14149
14150 if test "x$ac_ct_CC" = x; then
14151 CC=""
14152 else
14153 case $cross_compiling:$ac_tool_warned in
14154 yes:)
14155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14156 whose name does not start with the host triplet. If you think this
14157 configuration is useful to you, please write to autoconf@gnu.org." >&5
14158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14159 whose name does not start with the host triplet. If you think this
14160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14161 ac_tool_warned=yes ;;
14162 esac
14163 CC=$ac_ct_CC
14164 fi
14165 else
14166 CC="$ac_cv_prog_CC"
14167 fi
14168
14169 if test -z "$CC"; then
14170 if test -n "$ac_tool_prefix"; then
14171 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14172 set dummy ${ac_tool_prefix}cc; ac_word=$2
14173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14175 if test "${ac_cv_prog_CC+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 if test -n "$CC"; then
14179 ac_cv_prog_CC="$CC" # Let the user override the test.
14180 else
14181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14182 for as_dir in $PATH
14183 do
14184 IFS=$as_save_IFS
14185 test -z "$as_dir" && as_dir=.
14186 for ac_exec_ext in '' $ac_executable_extensions; do
14187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188 ac_cv_prog_CC="${ac_tool_prefix}cc"
14189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14190 break 2
14191 fi
14192 done
14193 done
14194 IFS=$as_save_IFS
14195
14196 fi
14197 fi
14198 CC=$ac_cv_prog_CC
14199 if test -n "$CC"; then
14200 { echo "$as_me:$LINENO: result: $CC" >&5
14201 echo "${ECHO_T}$CC" >&6; }
14202 else
14203 { echo "$as_me:$LINENO: result: no" >&5
14204 echo "${ECHO_T}no" >&6; }
14205 fi
14206
14207
14208 fi
14209 fi
14210 if test -z "$CC"; then
14211 # Extract the first word of "cc", so it can be a program name with args.
14212 set dummy cc; ac_word=$2
14213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14215 if test "${ac_cv_prog_CC+set}" = set; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 else
14218 if test -n "$CC"; then
14219 ac_cv_prog_CC="$CC" # Let the user override the test.
14220 else
14221 ac_prog_rejected=no
14222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14223 for as_dir in $PATH
14224 do
14225 IFS=$as_save_IFS
14226 test -z "$as_dir" && as_dir=.
14227 for ac_exec_ext in '' $ac_executable_extensions; do
14228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14229 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14230 ac_prog_rejected=yes
14231 continue
14232 fi
14233 ac_cv_prog_CC="cc"
14234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14235 break 2
14236 fi
14237 done
14238 done
14239 IFS=$as_save_IFS
14240
14241 if test $ac_prog_rejected = yes; then
14242 # We found a bogon in the path, so make sure we never use it.
14243 set dummy $ac_cv_prog_CC
14244 shift
14245 if test $# != 0; then
14246 # We chose a different compiler from the bogus one.
14247 # However, it has the same basename, so the bogon will be chosen
14248 # first if we set CC to just the basename; use the full file name.
14249 shift
14250 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14251 fi
14252 fi
14253 fi
14254 fi
14255 CC=$ac_cv_prog_CC
14256 if test -n "$CC"; then
14257 { echo "$as_me:$LINENO: result: $CC" >&5
14258 echo "${ECHO_T}$CC" >&6; }
14259 else
14260 { echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6; }
14262 fi
14263
14264
14265 fi
14266 if test -z "$CC"; then
14267 if test -n "$ac_tool_prefix"; then
14268 for ac_prog in cl.exe
14269 do
14270 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14274 if test "${ac_cv_prog_CC+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 if test -n "$CC"; then
14278 ac_cv_prog_CC="$CC" # Let the user override the test.
14279 else
14280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14281 for as_dir in $PATH
14282 do
14283 IFS=$as_save_IFS
14284 test -z "$as_dir" && as_dir=.
14285 for ac_exec_ext in '' $ac_executable_extensions; do
14286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14289 break 2
14290 fi
14291 done
14292 done
14293 IFS=$as_save_IFS
14294
14295 fi
14296 fi
14297 CC=$ac_cv_prog_CC
14298 if test -n "$CC"; then
14299 { echo "$as_me:$LINENO: result: $CC" >&5
14300 echo "${ECHO_T}$CC" >&6; }
14301 else
14302 { echo "$as_me:$LINENO: result: no" >&5
14303 echo "${ECHO_T}no" >&6; }
14304 fi
14305
14306
14307 test -n "$CC" && break
14308 done
14309 fi
14310 if test -z "$CC"; then
14311 ac_ct_CC=$CC
14312 for ac_prog in cl.exe
14313 do
14314 # Extract the first word of "$ac_prog", so it can be a program name with args.
14315 set dummy $ac_prog; ac_word=$2
14316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14318 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 else
14321 if test -n "$ac_ct_CC"; then
14322 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14323 else
14324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14325 for as_dir in $PATH
14326 do
14327 IFS=$as_save_IFS
14328 test -z "$as_dir" && as_dir=.
14329 for ac_exec_ext in '' $ac_executable_extensions; do
14330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14331 ac_cv_prog_ac_ct_CC="$ac_prog"
14332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14333 break 2
14334 fi
14335 done
14336 done
14337 IFS=$as_save_IFS
14338
14339 fi
14340 fi
14341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14342 if test -n "$ac_ct_CC"; then
14343 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14344 echo "${ECHO_T}$ac_ct_CC" >&6; }
14345 else
14346 { echo "$as_me:$LINENO: result: no" >&5
14347 echo "${ECHO_T}no" >&6; }
14348 fi
14349
14350
14351 test -n "$ac_ct_CC" && break
14352 done
14353
14354 if test "x$ac_ct_CC" = x; then
14355 CC=""
14356 else
14357 case $cross_compiling:$ac_tool_warned in
14358 yes:)
14359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14360 whose name does not start with the host triplet. If you think this
14361 configuration is useful to you, please write to autoconf@gnu.org." >&5
14362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14363 whose name does not start with the host triplet. If you think this
14364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14365 ac_tool_warned=yes ;;
14366 esac
14367 CC=$ac_ct_CC
14368 fi
14369 fi
14370
14371 fi
14372
14373
14374 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14375 See \`config.log' for more details." >&5
14376 echo "$as_me: error: no acceptable C compiler found in \$PATH
14377 See \`config.log' for more details." >&2;}
14378 { (exit 1); exit 1; }; }
14379
14380 # Provide some information about the compiler.
14381 echo "$as_me:$LINENO: checking for C compiler version" >&5
14382 ac_compiler=`set X $ac_compile; echo $2`
14383 { (ac_try="$ac_compiler --version >&5"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compiler --version >&5") 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }
14393 { (ac_try="$ac_compiler -v >&5"
14394 case "(($ac_try" in
14395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14396 *) ac_try_echo=$ac_try;;
14397 esac
14398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14399 (eval "$ac_compiler -v >&5") 2>&5
14400 ac_status=$?
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }
14403 { (ac_try="$ac_compiler -V >&5"
14404 case "(($ac_try" in
14405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14406 *) ac_try_echo=$ac_try;;
14407 esac
14408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14409 (eval "$ac_compiler -V >&5") 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }
14413
14414 cat >conftest.$ac_ext <<_ACEOF
14415 /* confdefs.h. */
14416 _ACEOF
14417 cat confdefs.h >>conftest.$ac_ext
14418 cat >>conftest.$ac_ext <<_ACEOF
14419 /* end confdefs.h. */
14420
14421 int
14422 main ()
14423 {
14424
14425 ;
14426 return 0;
14427 }
14428 _ACEOF
14429 ac_clean_files_save=$ac_clean_files
14430 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14431 # Try to create an executable without -o first, disregard a.out.
14432 # It will help us diagnose broken compilers, and finding out an intuition
14433 # of exeext.
14434 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14435 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14436 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14437 #
14438 # List of possible output files, starting from the most likely.
14439 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14440 # only as a last resort. b.out is created by i960 compilers.
14441 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14442 #
14443 # The IRIX 6 linker writes into existing files which may not be
14444 # executable, retaining their permissions. Remove them first so a
14445 # subsequent execution test works.
14446 ac_rmfiles=
14447 for ac_file in $ac_files
14448 do
14449 case $ac_file in
14450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14451 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14452 esac
14453 done
14454 rm -f $ac_rmfiles
14455
14456 if { (ac_try="$ac_link_default"
14457 case "(($ac_try" in
14458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14459 *) ac_try_echo=$ac_try;;
14460 esac
14461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14462 (eval "$ac_link_default") 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; then
14466 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14467 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14468 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14469 # so that the user can short-circuit this test for compilers unknown to
14470 # Autoconf.
14471 for ac_file in $ac_files ''
14472 do
14473 test -f "$ac_file" || continue
14474 case $ac_file in
14475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14476 ;;
14477 [ab].out )
14478 # We found the default executable, but exeext='' is most
14479 # certainly right.
14480 break;;
14481 *.* )
14482 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14483 then :; else
14484 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14485 fi
14486 # We set ac_cv_exeext here because the later test for it is not
14487 # safe: cross compilers may not add the suffix if given an `-o'
14488 # argument, so we may need to know it at that point already.
14489 # Even if this section looks crufty: it has the advantage of
14490 # actually working.
14491 break;;
14492 * )
14493 break;;
14494 esac
14495 done
14496 test "$ac_cv_exeext" = no && ac_cv_exeext=
14497
14498 else
14499 ac_file=''
14500 fi
14501
14502 { echo "$as_me:$LINENO: result: $ac_file" >&5
14503 echo "${ECHO_T}$ac_file" >&6; }
14504 if test -z "$ac_file"; then
14505 echo "$as_me: failed program was:" >&5
14506 sed 's/^/| /' conftest.$ac_ext >&5
14507
14508 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14509 See \`config.log' for more details." >&5
14510 echo "$as_me: error: C compiler cannot create executables
14511 See \`config.log' for more details." >&2;}
14512 { (exit 77); exit 77; }; }
14513 fi
14514
14515 ac_exeext=$ac_cv_exeext
14516
14517 # Check that the compiler produces executables we can run. If not, either
14518 # the compiler is broken, or we cross compile.
14519 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14520 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14521 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14522 # If not cross compiling, check that we can run a simple program.
14523 if test "$cross_compiling" != yes; then
14524 if { ac_try='./$ac_file'
14525 { (case "(($ac_try" in
14526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14527 *) ac_try_echo=$ac_try;;
14528 esac
14529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14530 (eval "$ac_try") 2>&5
14531 ac_status=$?
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14534 cross_compiling=no
14535 else
14536 if test "$cross_compiling" = maybe; then
14537 cross_compiling=yes
14538 else
14539 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14540 If you meant to cross compile, use \`--host'.
14541 See \`config.log' for more details." >&5
14542 echo "$as_me: error: cannot run C compiled programs.
14543 If you meant to cross compile, use \`--host'.
14544 See \`config.log' for more details." >&2;}
14545 { (exit 1); exit 1; }; }
14546 fi
14547 fi
14548 fi
14549 { echo "$as_me:$LINENO: result: yes" >&5
14550 echo "${ECHO_T}yes" >&6; }
14551
14552 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14553 ac_clean_files=$ac_clean_files_save
14554 # Check that the compiler produces executables we can run. If not, either
14555 # the compiler is broken, or we cross compile.
14556 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14557 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14558 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14559 echo "${ECHO_T}$cross_compiling" >&6; }
14560
14561 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14562 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14563 if { (ac_try="$ac_link"
14564 case "(($ac_try" in
14565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566 *) ac_try_echo=$ac_try;;
14567 esac
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569 (eval "$ac_link") 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; then
14573 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14574 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14575 # work properly (i.e., refer to `conftest.exe'), while it won't with
14576 # `rm'.
14577 for ac_file in conftest.exe conftest conftest.*; do
14578 test -f "$ac_file" || continue
14579 case $ac_file in
14580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14581 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14582 break;;
14583 * ) break;;
14584 esac
14585 done
14586 else
14587 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14588 See \`config.log' for more details." >&5
14589 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14590 See \`config.log' for more details." >&2;}
14591 { (exit 1); exit 1; }; }
14592 fi
14593
14594 rm -f conftest$ac_cv_exeext
14595 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14596 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14597
14598 rm -f conftest.$ac_ext
14599 EXEEXT=$ac_cv_exeext
14600 ac_exeext=$EXEEXT
14601 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14602 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14603 if test "${ac_cv_objext+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 else
14606 cat >conftest.$ac_ext <<_ACEOF
14607 /* confdefs.h. */
14608 _ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612
14613 int
14614 main ()
14615 {
14616
14617 ;
14618 return 0;
14619 }
14620 _ACEOF
14621 rm -f conftest.o conftest.obj
14622 if { (ac_try="$ac_compile"
14623 case "(($ac_try" in
14624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14625 *) ac_try_echo=$ac_try;;
14626 esac
14627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14628 (eval "$ac_compile") 2>&5
14629 ac_status=$?
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; then
14632 for ac_file in conftest.o conftest.obj conftest.*; do
14633 test -f "$ac_file" || continue;
14634 case $ac_file in
14635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14636 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14637 break;;
14638 esac
14639 done
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14645 See \`config.log' for more details." >&5
14646 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14647 See \`config.log' for more details." >&2;}
14648 { (exit 1); exit 1; }; }
14649 fi
14650
14651 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14652 fi
14653 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14654 echo "${ECHO_T}$ac_cv_objext" >&6; }
14655 OBJEXT=$ac_cv_objext
14656 ac_objext=$OBJEXT
14657 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14658 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14659 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14661 else
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668
14669 int
14670 main ()
14671 {
14672 #ifndef __GNUC__
14673 choke me
14674 #endif
14675
14676 ;
14677 return 0;
14678 }
14679 _ACEOF
14680 rm -f conftest.$ac_objext
14681 if { (ac_try="$ac_compile"
14682 case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14685 esac
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_compile") 2>conftest.er1
14688 ac_status=$?
14689 grep -v '^ *+' conftest.er1 >conftest.err
14690 rm -f conftest.er1
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } && {
14694 test -z "$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14696 } && test -s conftest.$ac_objext; then
14697 ac_compiler_gnu=yes
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14701
14702 ac_compiler_gnu=no
14703 fi
14704
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14707
14708 fi
14709 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14710 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14711 GCC=`test $ac_compiler_gnu = yes && echo yes`
14712 ac_test_CFLAGS=${CFLAGS+set}
14713 ac_save_CFLAGS=$CFLAGS
14714 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14715 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14716 if test "${ac_cv_prog_cc_g+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 ac_save_c_werror_flag=$ac_c_werror_flag
14720 ac_c_werror_flag=yes
14721 ac_cv_prog_cc_g=no
14722 CFLAGS="-g"
14723 cat >conftest.$ac_ext <<_ACEOF
14724 /* confdefs.h. */
14725 _ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14729
14730 int
14731 main ()
14732 {
14733
14734 ;
14735 return 0;
14736 }
14737 _ACEOF
14738 rm -f conftest.$ac_objext
14739 if { (ac_try="$ac_compile"
14740 case "(($ac_try" in
14741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14742 *) ac_try_echo=$ac_try;;
14743 esac
14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 (eval "$ac_compile") 2>conftest.er1
14746 ac_status=$?
14747 grep -v '^ *+' conftest.er1 >conftest.err
14748 rm -f conftest.er1
14749 cat conftest.err >&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } && {
14752 test -z "$ac_c_werror_flag" ||
14753 test ! -s conftest.err
14754 } && test -s conftest.$ac_objext; then
14755 ac_cv_prog_cc_g=yes
14756 else
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 CFLAGS=""
14761 cat >conftest.$ac_ext <<_ACEOF
14762 /* confdefs.h. */
14763 _ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767
14768 int
14769 main ()
14770 {
14771
14772 ;
14773 return 0;
14774 }
14775 _ACEOF
14776 rm -f conftest.$ac_objext
14777 if { (ac_try="$ac_compile"
14778 case "(($ac_try" in
14779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14780 *) ac_try_echo=$ac_try;;
14781 esac
14782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14783 (eval "$ac_compile") 2>conftest.er1
14784 ac_status=$?
14785 grep -v '^ *+' conftest.er1 >conftest.err
14786 rm -f conftest.er1
14787 cat conftest.err >&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); } && {
14790 test -z "$ac_c_werror_flag" ||
14791 test ! -s conftest.err
14792 } && test -s conftest.$ac_objext; then
14793 :
14794 else
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14797
14798 ac_c_werror_flag=$ac_save_c_werror_flag
14799 CFLAGS="-g"
14800 cat >conftest.$ac_ext <<_ACEOF
14801 /* confdefs.h. */
14802 _ACEOF
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806
14807 int
14808 main ()
14809 {
14810
14811 ;
14812 return 0;
14813 }
14814 _ACEOF
14815 rm -f conftest.$ac_objext
14816 if { (ac_try="$ac_compile"
14817 case "(($ac_try" in
14818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14819 *) ac_try_echo=$ac_try;;
14820 esac
14821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14822 (eval "$ac_compile") 2>conftest.er1
14823 ac_status=$?
14824 grep -v '^ *+' conftest.er1 >conftest.err
14825 rm -f conftest.er1
14826 cat conftest.err >&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); } && {
14829 test -z "$ac_c_werror_flag" ||
14830 test ! -s conftest.err
14831 } && test -s conftest.$ac_objext; then
14832 ac_cv_prog_cc_g=yes
14833 else
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.$ac_ext >&5
14836
14837
14838 fi
14839
14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 fi
14842
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 fi
14845
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14847 ac_c_werror_flag=$ac_save_c_werror_flag
14848 fi
14849 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14850 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14851 if test "$ac_test_CFLAGS" = set; then
14852 CFLAGS=$ac_save_CFLAGS
14853 elif test $ac_cv_prog_cc_g = yes; then
14854 if test "$GCC" = yes; then
14855 CFLAGS="-g -O2"
14856 else
14857 CFLAGS="-g"
14858 fi
14859 else
14860 if test "$GCC" = yes; then
14861 CFLAGS="-O2"
14862 else
14863 CFLAGS=
14864 fi
14865 fi
14866 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14867 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14868 if test "${ac_cv_prog_cc_c89+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14870 else
14871 ac_cv_prog_cc_c89=no
14872 ac_save_CC=$CC
14873 cat >conftest.$ac_ext <<_ACEOF
14874 /* confdefs.h. */
14875 _ACEOF
14876 cat confdefs.h >>conftest.$ac_ext
14877 cat >>conftest.$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14879 #include <stdarg.h>
14880 #include <stdio.h>
14881 #include <sys/types.h>
14882 #include <sys/stat.h>
14883 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14884 struct buf { int x; };
14885 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14886 static char *e (p, i)
14887 char **p;
14888 int i;
14889 {
14890 return p[i];
14891 }
14892 static char *f (char * (*g) (char **, int), char **p, ...)
14893 {
14894 char *s;
14895 va_list v;
14896 va_start (v,p);
14897 s = g (p, va_arg (v,int));
14898 va_end (v);
14899 return s;
14900 }
14901
14902 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14903 function prototypes and stuff, but not '\xHH' hex character constants.
14904 These don't provoke an error unfortunately, instead are silently treated
14905 as 'x'. The following induces an error, until -std is added to get
14906 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14907 array size at least. It's necessary to write '\x00'==0 to get something
14908 that's true only with -std. */
14909 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14910
14911 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14912 inside strings and character constants. */
14913 #define FOO(x) 'x'
14914 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14915
14916 int test (int i, double x);
14917 struct s1 {int (*f) (int a);};
14918 struct s2 {int (*f) (double a);};
14919 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14920 int argc;
14921 char **argv;
14922 int
14923 main ()
14924 {
14925 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14926 ;
14927 return 0;
14928 }
14929 _ACEOF
14930 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14931 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14932 do
14933 CC="$ac_save_CC $ac_arg"
14934 rm -f conftest.$ac_objext
14935 if { (ac_try="$ac_compile"
14936 case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14939 esac
14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_compile") 2>conftest.er1
14942 ac_status=$?
14943 grep -v '^ *+' conftest.er1 >conftest.err
14944 rm -f conftest.er1
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } && {
14948 test -z "$ac_c_werror_flag" ||
14949 test ! -s conftest.err
14950 } && test -s conftest.$ac_objext; then
14951 ac_cv_prog_cc_c89=$ac_arg
14952 else
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14955
14956
14957 fi
14958
14959 rm -f core conftest.err conftest.$ac_objext
14960 test "x$ac_cv_prog_cc_c89" != "xno" && break
14961 done
14962 rm -f conftest.$ac_ext
14963 CC=$ac_save_CC
14964
14965 fi
14966 # AC_CACHE_VAL
14967 case "x$ac_cv_prog_cc_c89" in
14968 x)
14969 { echo "$as_me:$LINENO: result: none needed" >&5
14970 echo "${ECHO_T}none needed" >&6; } ;;
14971 xno)
14972 { echo "$as_me:$LINENO: result: unsupported" >&5
14973 echo "${ECHO_T}unsupported" >&6; } ;;
14974 *)
14975 CC="$CC $ac_cv_prog_cc_c89"
14976 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14977 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14978 esac
14979
14980
14981 ac_ext=c
14982 ac_cpp='$CPP $CPPFLAGS'
14983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14986
14987
14988
14989
14990 ac_ext=c
14991 ac_cpp='$CPP $CPPFLAGS'
14992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14995
14996 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14997 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14998 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007
15008 int
15009 main ()
15010 {
15011
15012 #ifndef __INTEL_COMPILER
15013 choke me
15014 #endif
15015
15016 ;
15017 return 0;
15018 }
15019 _ACEOF
15020 rm -f conftest.$ac_objext
15021 if { (ac_try="$ac_compile"
15022 case "(($ac_try" in
15023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15024 *) ac_try_echo=$ac_try;;
15025 esac
15026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_compile") 2>conftest.er1
15028 ac_status=$?
15029 grep -v '^ *+' conftest.er1 >conftest.err
15030 rm -f conftest.er1
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } && {
15034 test -z "$ac_c_werror_flag" ||
15035 test ! -s conftest.err
15036 } && test -s conftest.$ac_objext; then
15037 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15038 else
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15041
15042 bakefile_cv_c_compiler___INTEL_COMPILER=no
15043
15044 fi
15045
15046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15047
15048
15049 fi
15050 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15051 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15052 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15053 :; INTELCC=yes
15054 else
15055 :;
15056 fi
15057 ac_ext=c
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15062
15063
15064
15065
15066 if test "$INTELCC" = "yes"; then
15067
15068
15069 ac_ext=c
15070 ac_cpp='$CPP $CPPFLAGS'
15071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074
15075 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15076 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15077 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 else
15080 cat >conftest.$ac_ext <<_ACEOF
15081 /* confdefs.h. */
15082 _ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086
15087 int
15088 main ()
15089 {
15090
15091 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15092 choke me
15093 #endif
15094
15095 ;
15096 return 0;
15097 }
15098 _ACEOF
15099 rm -f conftest.$ac_objext
15100 if { (ac_try="$ac_compile"
15101 case "(($ac_try" in
15102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15104 esac
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_compile") 2>conftest.er1
15107 ac_status=$?
15108 grep -v '^ *+' conftest.er1 >conftest.err
15109 rm -f conftest.er1
15110 cat conftest.err >&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } && {
15113 test -z "$ac_c_werror_flag" ||
15114 test ! -s conftest.err
15115 } && test -s conftest.$ac_objext; then
15116 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15120
15121 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15122
15123 fi
15124
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15126
15127
15128 fi
15129 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15130 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15131 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15132 :; INTELCC8=yes
15133 else
15134 :;
15135 fi
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15141
15142
15143
15144
15145
15146 ac_ext=c
15147 ac_cpp='$CPP $CPPFLAGS'
15148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15151
15152 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15153 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15154 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15156 else
15157 cat >conftest.$ac_ext <<_ACEOF
15158 /* confdefs.h. */
15159 _ACEOF
15160 cat confdefs.h >>conftest.$ac_ext
15161 cat >>conftest.$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15163
15164 int
15165 main ()
15166 {
15167
15168 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15169 choke me
15170 #endif
15171
15172 ;
15173 return 0;
15174 }
15175 _ACEOF
15176 rm -f conftest.$ac_objext
15177 if { (ac_try="$ac_compile"
15178 case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_compile") 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest.$ac_objext; then
15193 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15197
15198 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15199
15200 fi
15201
15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203
15204
15205 fi
15206 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15207 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15208 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15209 :; INTELCC10=yes
15210 else
15211 :;
15212 fi
15213 ac_ext=c
15214 ac_cpp='$CPP $CPPFLAGS'
15215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15218
15219
15220
15221 fi
15222
15223 if test "x$GCC" != "xyes"; then
15224 if test "xCC" = "xC"; then
15225 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15226 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15227 if test "${bakefile_cv_c_exto+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 else
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236
15237 int
15238 main ()
15239 {
15240
15241 ;
15242 return 0;
15243 }
15244 _ACEOF
15245 rm -f conftest.$ac_objext conftest.$ac_ext.o
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>&5
15248 ac_status=$?
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); }; then
15251 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15252 case $ac_file in
15253 conftest.$ac_ext.o)
15254 bakefile_cv_c_exto="-ext o"
15255 ;;
15256 *)
15257 ;;
15258 esac
15259 done
15260 else
15261 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15262 See \`config.log' for more details." >&5
15263 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15264 See \`config.log' for more details." >&2;}
15265 { (exit 1); exit 1; }; }
15266
15267 fi
15268
15269 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15270
15271 fi
15272 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15273 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15274 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15275 if test "c" = "c"; then
15276 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15277 fi
15278 if test "c" = "cxx"; then
15279 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15280 fi
15281 fi
15282
15283 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15284 unset ac_cv_prog_cc_g
15285 ac_test_CFLAGS=${CFLAGS+set}
15286 ac_save_CFLAGS=$CFLAGS
15287 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15288 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15289 if test "${ac_cv_prog_cc_g+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 else
15292 ac_save_c_werror_flag=$ac_c_werror_flag
15293 ac_c_werror_flag=yes
15294 ac_cv_prog_cc_g=no
15295 CFLAGS="-g"
15296 cat >conftest.$ac_ext <<_ACEOF
15297 /* confdefs.h. */
15298 _ACEOF
15299 cat confdefs.h >>conftest.$ac_ext
15300 cat >>conftest.$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15302
15303 int
15304 main ()
15305 {
15306
15307 ;
15308 return 0;
15309 }
15310 _ACEOF
15311 rm -f conftest.$ac_objext
15312 if { (ac_try="$ac_compile"
15313 case "(($ac_try" in
15314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15315 *) ac_try_echo=$ac_try;;
15316 esac
15317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15318 (eval "$ac_compile") 2>conftest.er1
15319 ac_status=$?
15320 grep -v '^ *+' conftest.er1 >conftest.err
15321 rm -f conftest.er1
15322 cat conftest.err >&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } && {
15325 test -z "$ac_c_werror_flag" ||
15326 test ! -s conftest.err
15327 } && test -s conftest.$ac_objext; then
15328 ac_cv_prog_cc_g=yes
15329 else
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15332
15333 CFLAGS=""
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340
15341 int
15342 main ()
15343 {
15344
15345 ;
15346 return 0;
15347 }
15348 _ACEOF
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15354 esac
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 :
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 ac_c_werror_flag=$ac_save_c_werror_flag
15372 CFLAGS="-g"
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h. */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15379
15380 int
15381 main ()
15382 {
15383
15384 ;
15385 return 0;
15386 }
15387 _ACEOF
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest.$ac_objext; then
15405 ac_cv_prog_cc_g=yes
15406 else
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15409
15410
15411 fi
15412
15413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15414 fi
15415
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15417 fi
15418
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 ac_c_werror_flag=$ac_save_c_werror_flag
15421 fi
15422 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15423 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15424 if test "$ac_test_CFLAGS" = set; then
15425 CFLAGS=$ac_save_CFLAGS
15426 elif test $ac_cv_prog_cc_g = yes; then
15427 if test "$GCC" = yes; then
15428 CFLAGS="-g -O2"
15429 else
15430 CFLAGS="-g"
15431 fi
15432 else
15433 if test "$GCC" = yes; then
15434 CFLAGS="-O2"
15435 else
15436 CFLAGS=
15437 fi
15438 fi
15439 fi
15440 fi
15441
15442 case `uname -s` in
15443 AIX*)
15444
15445
15446 ac_ext=c
15447 ac_cpp='$CPP $CPPFLAGS'
15448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451
15452 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15453 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15454 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 else
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463
15464 int
15465 main ()
15466 {
15467
15468 #ifndef __xlC__
15469 choke me
15470 #endif
15471
15472 ;
15473 return 0;
15474 }
15475 _ACEOF
15476 rm -f conftest.$ac_objext
15477 if { (ac_try="$ac_compile"
15478 case "(($ac_try" in
15479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15481 esac
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compile") 2>conftest.er1
15484 ac_status=$?
15485 grep -v '^ *+' conftest.er1 >conftest.err
15486 rm -f conftest.er1
15487 cat conftest.err >&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } && {
15490 test -z "$ac_c_werror_flag" ||
15491 test ! -s conftest.err
15492 } && test -s conftest.$ac_objext; then
15493 bakefile_cv_c_compiler___xlC__=yes
15494 else
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.$ac_ext >&5
15497
15498 bakefile_cv_c_compiler___xlC__=no
15499
15500 fi
15501
15502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15503
15504
15505 fi
15506 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15507 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15508 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15509 :; XLCC=yes
15510 else
15511 :;
15512 fi
15513 ac_ext=c
15514 ac_cpp='$CPP $CPPFLAGS'
15515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15518
15519
15520
15521 ;;
15522
15523 Darwin)
15524
15525
15526 ac_ext=c
15527 ac_cpp='$CPP $CPPFLAGS'
15528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531
15532 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15533 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15534 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543
15544 int
15545 main ()
15546 {
15547
15548 #ifndef __MWERKS__
15549 choke me
15550 #endif
15551
15552 ;
15553 return 0;
15554 }
15555 _ACEOF
15556 rm -f conftest.$ac_objext
15557 if { (ac_try="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15561 esac
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15573 bakefile_cv_c_compiler___MWERKS__=yes
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15577
15578 bakefile_cv_c_compiler___MWERKS__=no
15579
15580 fi
15581
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583
15584
15585 fi
15586 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15587 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15588 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15589 :; MWCC=yes
15590 else
15591 :;
15592 fi
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599
15600
15601 if test "$MWCC" != "yes"; then
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 #ifndef __xlC__
15627 choke me
15628 #endif
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___xlC__=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15655
15656 bakefile_cv_c_compiler___xlC__=no
15657
15658 fi
15659
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661
15662
15663 fi
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15666 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15667 :; XLCC=yes
15668 else
15669 :;
15670 fi
15671 ac_ext=c
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678
15679 fi
15680 ;;
15681
15682 IRIX*)
15683
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690
15691 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15692 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15693 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696 cat >conftest.$ac_ext <<_ACEOF
15697 /* confdefs.h. */
15698 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15702
15703 int
15704 main ()
15705 {
15706
15707 #ifndef _SGI_COMPILER_VERSION
15708 choke me
15709 #endif
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_c_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest.$ac_objext; then
15732 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15733 else
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15736
15737 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15738
15739 fi
15740
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742
15743
15744 fi
15745 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15746 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15747 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15748 :; SGICC=yes
15749 else
15750 :;
15751 fi
15752 ac_ext=c
15753 ac_cpp='$CPP $CPPFLAGS'
15754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15757
15758
15759
15760 ;;
15761
15762 Linux*)
15763 if test "$INTELCC" != "yes"; then
15764
15765
15766 ac_ext=c
15767 ac_cpp='$CPP $CPPFLAGS'
15768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15771
15772 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15773 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15774 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 else
15777 cat >conftest.$ac_ext <<_ACEOF
15778 /* confdefs.h. */
15779 _ACEOF
15780 cat confdefs.h >>conftest.$ac_ext
15781 cat >>conftest.$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15783
15784 int
15785 main ()
15786 {
15787
15788 #ifndef __SUNPRO_C
15789 choke me
15790 #endif
15791
15792 ;
15793 return 0;
15794 }
15795 _ACEOF
15796 rm -f conftest.$ac_objext
15797 if { (ac_try="$ac_compile"
15798 case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;;
15801 esac
15802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15803 (eval "$ac_compile") 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } && {
15810 test -z "$ac_c_werror_flag" ||
15811 test ! -s conftest.err
15812 } && test -s conftest.$ac_objext; then
15813 bakefile_cv_c_compiler___SUNPRO_C=yes
15814 else
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15817
15818 bakefile_cv_c_compiler___SUNPRO_C=no
15819
15820 fi
15821
15822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15823
15824
15825 fi
15826 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15827 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15828 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15829 :; SUNCC=yes
15830 else
15831 :;
15832 fi
15833 ac_ext=c
15834 ac_cpp='$CPP $CPPFLAGS'
15835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15838
15839
15840
15841 fi
15842 ;;
15843
15844 HP-UX*)
15845
15846
15847 ac_ext=c
15848 ac_cpp='$CPP $CPPFLAGS'
15849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852
15853 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15854 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15855 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 else
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864
15865 int
15866 main ()
15867 {
15868
15869 #ifndef __HP_cc
15870 choke me
15871 #endif
15872
15873 ;
15874 return 0;
15875 }
15876 _ACEOF
15877 rm -f conftest.$ac_objext
15878 if { (ac_try="$ac_compile"
15879 case "(($ac_try" in
15880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15881 *) ac_try_echo=$ac_try;;
15882 esac
15883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15884 (eval "$ac_compile") 2>conftest.er1
15885 ac_status=$?
15886 grep -v '^ *+' conftest.er1 >conftest.err
15887 rm -f conftest.er1
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } && {
15891 test -z "$ac_c_werror_flag" ||
15892 test ! -s conftest.err
15893 } && test -s conftest.$ac_objext; then
15894 bakefile_cv_c_compiler___HP_cc=yes
15895 else
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15898
15899 bakefile_cv_c_compiler___HP_cc=no
15900
15901 fi
15902
15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15904
15905
15906 fi
15907 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15908 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15909 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15910 :; HPCC=yes
15911 else
15912 :;
15913 fi
15914 ac_ext=c
15915 ac_cpp='$CPP $CPPFLAGS'
15916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15919
15920
15921
15922 ;;
15923
15924 OSF1)
15925
15926
15927 ac_ext=c
15928 ac_cpp='$CPP $CPPFLAGS'
15929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932
15933 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15934 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15935 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944
15945 int
15946 main ()
15947 {
15948
15949 #ifndef __DECC
15950 choke me
15951 #endif
15952
15953 ;
15954 return 0;
15955 }
15956 _ACEOF
15957 rm -f conftest.$ac_objext
15958 if { (ac_try="$ac_compile"
15959 case "(($ac_try" in
15960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15961 *) ac_try_echo=$ac_try;;
15962 esac
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15964 (eval "$ac_compile") 2>conftest.er1
15965 ac_status=$?
15966 grep -v '^ *+' conftest.er1 >conftest.err
15967 rm -f conftest.er1
15968 cat conftest.err >&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } && {
15971 test -z "$ac_c_werror_flag" ||
15972 test ! -s conftest.err
15973 } && test -s conftest.$ac_objext; then
15974 bakefile_cv_c_compiler___DECC=yes
15975 else
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15978
15979 bakefile_cv_c_compiler___DECC=no
15980
15981 fi
15982
15983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15984
15985
15986 fi
15987 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15988 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15989 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15990 :; COMPAQCC=yes
15991 else
15992 :;
15993 fi
15994 ac_ext=c
15995 ac_cpp='$CPP $CPPFLAGS'
15996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15999
16000
16001
16002 ;;
16003
16004 SunOS)
16005
16006
16007 ac_ext=c
16008 ac_cpp='$CPP $CPPFLAGS'
16009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012
16013 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16014 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16015 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024
16025 int
16026 main ()
16027 {
16028
16029 #ifndef __SUNPRO_C
16030 choke me
16031 #endif
16032
16033 ;
16034 return 0;
16035 }
16036 _ACEOF
16037 rm -f conftest.$ac_objext
16038 if { (ac_try="$ac_compile"
16039 case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16042 esac
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_compile") 2>conftest.er1
16045 ac_status=$?
16046 grep -v '^ *+' conftest.er1 >conftest.err
16047 rm -f conftest.er1
16048 cat conftest.err >&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } && {
16051 test -z "$ac_c_werror_flag" ||
16052 test ! -s conftest.err
16053 } && test -s conftest.$ac_objext; then
16054 bakefile_cv_c_compiler___SUNPRO_C=yes
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 bakefile_cv_c_compiler___SUNPRO_C=no
16060
16061 fi
16062
16063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16064
16065
16066 fi
16067 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16068 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16069 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16070 :; SUNCC=yes
16071 else
16072 :;
16073 fi
16074 ac_ext=c
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16079
16080
16081
16082 ;;
16083 esac
16084 fi
16085
16086
16087
16088 ac_ext=c
16089 ac_cpp='$CPP $CPPFLAGS'
16090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16093 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16094 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16095 # On Suns, sometimes $CPP names a directory.
16096 if test -n "$CPP" && test -d "$CPP"; then
16097 CPP=
16098 fi
16099 if test -z "$CPP"; then
16100 if test "${ac_cv_prog_CPP+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 else
16103 # Double quotes because CPP needs to be expanded
16104 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16105 do
16106 ac_preproc_ok=false
16107 for ac_c_preproc_warn_flag in '' yes
16108 do
16109 # Use a header file that comes with gcc, so configuring glibc
16110 # with a fresh cross-compiler works.
16111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16112 # <limits.h> exists even on freestanding compilers.
16113 # On the NeXT, cc -E runs the code through the compiler's parser,
16114 # not just through cpp. "Syntax error" is here to catch this case.
16115 cat >conftest.$ac_ext <<_ACEOF
16116 /* confdefs.h. */
16117 _ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 #ifdef __STDC__
16122 # include <limits.h>
16123 #else
16124 # include <assert.h>
16125 #endif
16126 Syntax error
16127 _ACEOF
16128 if { (ac_try="$ac_cpp conftest.$ac_ext"
16129 case "(($ac_try" in
16130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16131 *) ac_try_echo=$ac_try;;
16132 esac
16133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } >/dev/null && {
16141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16142 test ! -s conftest.err
16143 }; then
16144 :
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 # Broken: fails on valid input.
16150 continue
16151 fi
16152
16153 rm -f conftest.err conftest.$ac_ext
16154
16155 # OK, works on sane cases. Now check whether nonexistent headers
16156 # can be detected and how.
16157 cat >conftest.$ac_ext <<_ACEOF
16158 /* confdefs.h. */
16159 _ACEOF
16160 cat confdefs.h >>conftest.$ac_ext
16161 cat >>conftest.$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16163 #include <ac_nonexistent.h>
16164 _ACEOF
16165 if { (ac_try="$ac_cpp conftest.$ac_ext"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16169 esac
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } >/dev/null && {
16178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 }; then
16181 # Broken: success on invalid input.
16182 continue
16183 else
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16186
16187 # Passes both tests.
16188 ac_preproc_ok=:
16189 break
16190 fi
16191
16192 rm -f conftest.err conftest.$ac_ext
16193
16194 done
16195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16196 rm -f conftest.err conftest.$ac_ext
16197 if $ac_preproc_ok; then
16198 break
16199 fi
16200
16201 done
16202 ac_cv_prog_CPP=$CPP
16203
16204 fi
16205 CPP=$ac_cv_prog_CPP
16206 else
16207 ac_cv_prog_CPP=$CPP
16208 fi
16209 { echo "$as_me:$LINENO: result: $CPP" >&5
16210 echo "${ECHO_T}$CPP" >&6; }
16211 ac_preproc_ok=false
16212 for ac_c_preproc_warn_flag in '' yes
16213 do
16214 # Use a header file that comes with gcc, so configuring glibc
16215 # with a fresh cross-compiler works.
16216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16217 # <limits.h> exists even on freestanding compilers.
16218 # On the NeXT, cc -E runs the code through the compiler's parser,
16219 # not just through cpp. "Syntax error" is here to catch this case.
16220 cat >conftest.$ac_ext <<_ACEOF
16221 /* confdefs.h. */
16222 _ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 #ifdef __STDC__
16227 # include <limits.h>
16228 #else
16229 # include <assert.h>
16230 #endif
16231 Syntax error
16232 _ACEOF
16233 if { (ac_try="$ac_cpp conftest.$ac_ext"
16234 case "(($ac_try" in
16235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16236 *) ac_try_echo=$ac_try;;
16237 esac
16238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } >/dev/null && {
16246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16247 test ! -s conftest.err
16248 }; then
16249 :
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16253
16254 # Broken: fails on valid input.
16255 continue
16256 fi
16257
16258 rm -f conftest.err conftest.$ac_ext
16259
16260 # OK, works on sane cases. Now check whether nonexistent headers
16261 # can be detected and how.
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 #include <ac_nonexistent.h>
16269 _ACEOF
16270 if { (ac_try="$ac_cpp conftest.$ac_ext"
16271 case "(($ac_try" in
16272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16273 *) ac_try_echo=$ac_try;;
16274 esac
16275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16277 ac_status=$?
16278 grep -v '^ *+' conftest.er1 >conftest.err
16279 rm -f conftest.er1
16280 cat conftest.err >&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } >/dev/null && {
16283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16284 test ! -s conftest.err
16285 }; then
16286 # Broken: success on invalid input.
16287 continue
16288 else
16289 echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.$ac_ext >&5
16291
16292 # Passes both tests.
16293 ac_preproc_ok=:
16294 break
16295 fi
16296
16297 rm -f conftest.err conftest.$ac_ext
16298
16299 done
16300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16301 rm -f conftest.err conftest.$ac_ext
16302 if $ac_preproc_ok; then
16303 :
16304 else
16305 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16306 See \`config.log' for more details." >&5
16307 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16308 See \`config.log' for more details." >&2;}
16309 { (exit 1); exit 1; }; }
16310 fi
16311
16312 ac_ext=c
16313 ac_cpp='$CPP $CPPFLAGS'
16314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16317
16318
16319 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16320 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16321 if test "${ac_cv_path_GREP+set}" = set; then
16322 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 else
16324 # Extract the first word of "grep ggrep" to use in msg output
16325 if test -z "$GREP"; then
16326 set dummy grep ggrep; ac_prog_name=$2
16327 if test "${ac_cv_path_GREP+set}" = set; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 else
16330 ac_path_GREP_found=false
16331 # Loop through the user's path and test for each of PROGNAME-LIST
16332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16333 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16334 do
16335 IFS=$as_save_IFS
16336 test -z "$as_dir" && as_dir=.
16337 for ac_prog in grep ggrep; do
16338 for ac_exec_ext in '' $ac_executable_extensions; do
16339 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16340 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16341 # Check for GNU ac_path_GREP and select it if it is found.
16342 # Check for GNU $ac_path_GREP
16343 case `"$ac_path_GREP" --version 2>&1` in
16344 *GNU*)
16345 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16346 *)
16347 ac_count=0
16348 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16349 while :
16350 do
16351 cat "conftest.in" "conftest.in" >"conftest.tmp"
16352 mv "conftest.tmp" "conftest.in"
16353 cp "conftest.in" "conftest.nl"
16354 echo 'GREP' >> "conftest.nl"
16355 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16357 ac_count=`expr $ac_count + 1`
16358 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16359 # Best one so far, save it but keep looking for a better one
16360 ac_cv_path_GREP="$ac_path_GREP"
16361 ac_path_GREP_max=$ac_count
16362 fi
16363 # 10*(2^10) chars as input seems more than enough
16364 test $ac_count -gt 10 && break
16365 done
16366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16367 esac
16368
16369
16370 $ac_path_GREP_found && break 3
16371 done
16372 done
16373
16374 done
16375 IFS=$as_save_IFS
16376
16377
16378 fi
16379
16380 GREP="$ac_cv_path_GREP"
16381 if test -z "$GREP"; then
16382 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16383 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16384 { (exit 1); exit 1; }; }
16385 fi
16386
16387 else
16388 ac_cv_path_GREP=$GREP
16389 fi
16390
16391
16392 fi
16393 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16394 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16395 GREP="$ac_cv_path_GREP"
16396
16397
16398 { echo "$as_me:$LINENO: checking for egrep" >&5
16399 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16400 if test "${ac_cv_path_EGREP+set}" = set; then
16401 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 else
16403 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16404 then ac_cv_path_EGREP="$GREP -E"
16405 else
16406 # Extract the first word of "egrep" to use in msg output
16407 if test -z "$EGREP"; then
16408 set dummy egrep; ac_prog_name=$2
16409 if test "${ac_cv_path_EGREP+set}" = set; then
16410 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 else
16412 ac_path_EGREP_found=false
16413 # Loop through the user's path and test for each of PROGNAME-LIST
16414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16416 do
16417 IFS=$as_save_IFS
16418 test -z "$as_dir" && as_dir=.
16419 for ac_prog in egrep; do
16420 for ac_exec_ext in '' $ac_executable_extensions; do
16421 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16422 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16423 # Check for GNU ac_path_EGREP and select it if it is found.
16424 # Check for GNU $ac_path_EGREP
16425 case `"$ac_path_EGREP" --version 2>&1` in
16426 *GNU*)
16427 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16428 *)
16429 ac_count=0
16430 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16431 while :
16432 do
16433 cat "conftest.in" "conftest.in" >"conftest.tmp"
16434 mv "conftest.tmp" "conftest.in"
16435 cp "conftest.in" "conftest.nl"
16436 echo 'EGREP' >> "conftest.nl"
16437 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16439 ac_count=`expr $ac_count + 1`
16440 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16441 # Best one so far, save it but keep looking for a better one
16442 ac_cv_path_EGREP="$ac_path_EGREP"
16443 ac_path_EGREP_max=$ac_count
16444 fi
16445 # 10*(2^10) chars as input seems more than enough
16446 test $ac_count -gt 10 && break
16447 done
16448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16449 esac
16450
16451
16452 $ac_path_EGREP_found && break 3
16453 done
16454 done
16455
16456 done
16457 IFS=$as_save_IFS
16458
16459
16460 fi
16461
16462 EGREP="$ac_cv_path_EGREP"
16463 if test -z "$EGREP"; then
16464 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16465 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16466 { (exit 1); exit 1; }; }
16467 fi
16468
16469 else
16470 ac_cv_path_EGREP=$EGREP
16471 fi
16472
16473
16474 fi
16475 fi
16476 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16477 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16478 EGREP="$ac_cv_path_EGREP"
16479
16480
16481 if test $ac_cv_c_compiler_gnu = yes; then
16482 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16483 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16484 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16485 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 else
16487 ac_pattern="Autoconf.*'x'"
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <sgtty.h>
16495 Autoconf TIOCGETP
16496 _ACEOF
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16499 ac_cv_prog_gcc_traditional=yes
16500 else
16501 ac_cv_prog_gcc_traditional=no
16502 fi
16503 rm -f conftest*
16504
16505
16506 if test $ac_cv_prog_gcc_traditional = no; then
16507 cat >conftest.$ac_ext <<_ACEOF
16508 /* confdefs.h. */
16509 _ACEOF
16510 cat confdefs.h >>conftest.$ac_ext
16511 cat >>conftest.$ac_ext <<_ACEOF
16512 /* end confdefs.h. */
16513 #include <termio.h>
16514 Autoconf TCGETA
16515 _ACEOF
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16518 ac_cv_prog_gcc_traditional=yes
16519 fi
16520 rm -f conftest*
16521
16522 fi
16523 fi
16524 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16525 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16526 if test $ac_cv_prog_gcc_traditional = yes; then
16527 CC="$CC -traditional"
16528 fi
16529 fi
16530
16531
16532 CXXFLAGS=${CXXFLAGS:=}
16533
16534
16535
16536 ac_ext=cpp
16537 ac_cpp='$CXXCPP $CPPFLAGS'
16538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16541 if test -z "$CXX"; then
16542 if test -n "$CCC"; then
16543 CXX=$CCC
16544 else
16545 if test -n "$ac_tool_prefix"; then
16546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16547 do
16548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16552 if test "${ac_cv_prog_CXX+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555 if test -n "$CXX"; then
16556 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16557 else
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16560 do
16561 IFS=$as_save_IFS
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16567 break 2
16568 fi
16569 done
16570 done
16571 IFS=$as_save_IFS
16572
16573 fi
16574 fi
16575 CXX=$ac_cv_prog_CXX
16576 if test -n "$CXX"; then
16577 { echo "$as_me:$LINENO: result: $CXX" >&5
16578 echo "${ECHO_T}$CXX" >&6; }
16579 else
16580 { echo "$as_me:$LINENO: result: no" >&5
16581 echo "${ECHO_T}no" >&6; }
16582 fi
16583
16584
16585 test -n "$CXX" && break
16586 done
16587 fi
16588 if test -z "$CXX"; then
16589 ac_ct_CXX=$CXX
16590 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16591 do
16592 # Extract the first word of "$ac_prog", so it can be a program name with args.
16593 set dummy $ac_prog; ac_word=$2
16594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 if test -n "$ac_ct_CXX"; then
16600 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16601 else
16602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16603 for as_dir in $PATH
16604 do
16605 IFS=$as_save_IFS
16606 test -z "$as_dir" && as_dir=.
16607 for ac_exec_ext in '' $ac_executable_extensions; do
16608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16609 ac_cv_prog_ac_ct_CXX="$ac_prog"
16610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 break 2
16612 fi
16613 done
16614 done
16615 IFS=$as_save_IFS
16616
16617 fi
16618 fi
16619 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16620 if test -n "$ac_ct_CXX"; then
16621 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16622 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16623 else
16624 { echo "$as_me:$LINENO: result: no" >&5
16625 echo "${ECHO_T}no" >&6; }
16626 fi
16627
16628
16629 test -n "$ac_ct_CXX" && break
16630 done
16631
16632 if test "x$ac_ct_CXX" = x; then
16633 CXX="g++"
16634 else
16635 case $cross_compiling:$ac_tool_warned in
16636 yes:)
16637 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16638 whose name does not start with the host triplet. If you think this
16639 configuration is useful to you, please write to autoconf@gnu.org." >&5
16640 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16641 whose name does not start with the host triplet. If you think this
16642 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16643 ac_tool_warned=yes ;;
16644 esac
16645 CXX=$ac_ct_CXX
16646 fi
16647 fi
16648
16649 fi
16650 fi
16651 # Provide some information about the compiler.
16652 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16653 ac_compiler=`set X $ac_compile; echo $2`
16654 { (ac_try="$ac_compiler --version >&5"
16655 case "(($ac_try" in
16656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657 *) ac_try_echo=$ac_try;;
16658 esac
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660 (eval "$ac_compiler --version >&5") 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }
16664 { (ac_try="$ac_compiler -v >&5"
16665 case "(($ac_try" in
16666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16667 *) ac_try_echo=$ac_try;;
16668 esac
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_compiler -v >&5") 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }
16674 { (ac_try="$ac_compiler -V >&5"
16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;;
16678 esac
16679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16680 (eval "$ac_compiler -V >&5") 2>&5
16681 ac_status=$?
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }
16684
16685 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16686 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16687 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696
16697 int
16698 main ()
16699 {
16700 #ifndef __GNUC__
16701 choke me
16702 #endif
16703
16704 ;
16705 return 0;
16706 }
16707 _ACEOF
16708 rm -f conftest.$ac_objext
16709 if { (ac_try="$ac_compile"
16710 case "(($ac_try" in
16711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16712 *) ac_try_echo=$ac_try;;
16713 esac
16714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16715 (eval "$ac_compile") 2>conftest.er1
16716 ac_status=$?
16717 grep -v '^ *+' conftest.er1 >conftest.err
16718 rm -f conftest.er1
16719 cat conftest.err >&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } && {
16722 test -z "$ac_cxx_werror_flag" ||
16723 test ! -s conftest.err
16724 } && test -s conftest.$ac_objext; then
16725 ac_compiler_gnu=yes
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16729
16730 ac_compiler_gnu=no
16731 fi
16732
16733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16734 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16735
16736 fi
16737 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16738 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16739 GXX=`test $ac_compiler_gnu = yes && echo yes`
16740 ac_test_CXXFLAGS=${CXXFLAGS+set}
16741 ac_save_CXXFLAGS=$CXXFLAGS
16742 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16743 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16744 if test "${ac_cv_prog_cxx_g+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 else
16747 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16748 ac_cxx_werror_flag=yes
16749 ac_cv_prog_cxx_g=no
16750 CXXFLAGS="-g"
16751 cat >conftest.$ac_ext <<_ACEOF
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757
16758 int
16759 main ()
16760 {
16761
16762 ;
16763 return 0;
16764 }
16765 _ACEOF
16766 rm -f conftest.$ac_objext
16767 if { (ac_try="$ac_compile"
16768 case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16771 esac
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_compile") 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && {
16780 test -z "$ac_cxx_werror_flag" ||
16781 test ! -s conftest.err
16782 } && test -s conftest.$ac_objext; then
16783 ac_cv_prog_cxx_g=yes
16784 else
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16787
16788 CXXFLAGS=""
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795
16796 int
16797 main ()
16798 {
16799
16800 ;
16801 return 0;
16802 }
16803 _ACEOF
16804 rm -f conftest.$ac_objext
16805 if { (ac_try="$ac_compile"
16806 case "(($ac_try" in
16807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16808 *) ac_try_echo=$ac_try;;
16809 esac
16810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16811 (eval "$ac_compile") 2>conftest.er1
16812 ac_status=$?
16813 grep -v '^ *+' conftest.er1 >conftest.err
16814 rm -f conftest.er1
16815 cat conftest.err >&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } && {
16818 test -z "$ac_cxx_werror_flag" ||
16819 test ! -s conftest.err
16820 } && test -s conftest.$ac_objext; then
16821 :
16822 else
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.$ac_ext >&5
16825
16826 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16827 CXXFLAGS="-g"
16828 cat >conftest.$ac_ext <<_ACEOF
16829 /* confdefs.h. */
16830 _ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16834
16835 int
16836 main ()
16837 {
16838
16839 ;
16840 return 0;
16841 }
16842 _ACEOF
16843 rm -f conftest.$ac_objext
16844 if { (ac_try="$ac_compile"
16845 case "(($ac_try" in
16846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16848 esac
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_compile") 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } && {
16857 test -z "$ac_cxx_werror_flag" ||
16858 test ! -s conftest.err
16859 } && test -s conftest.$ac_objext; then
16860 ac_cv_prog_cxx_g=yes
16861 else
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.$ac_ext >&5
16864
16865
16866 fi
16867
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16869 fi
16870
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 fi
16873
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16876 fi
16877 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16878 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16879 if test "$ac_test_CXXFLAGS" = set; then
16880 CXXFLAGS=$ac_save_CXXFLAGS
16881 elif test $ac_cv_prog_cxx_g = yes; then
16882 if test "$GXX" = yes; then
16883 CXXFLAGS="-g -O2"
16884 else
16885 CXXFLAGS="-g"
16886 fi
16887 else
16888 if test "$GXX" = yes; then
16889 CXXFLAGS="-O2"
16890 else
16891 CXXFLAGS=
16892 fi
16893 fi
16894 ac_ext=c
16895 ac_cpp='$CPP $CPPFLAGS'
16896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16899
16900
16901
16902
16903 ac_ext=cpp
16904 ac_cpp='$CXXCPP $CPPFLAGS'
16905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908
16909 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16910 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16911 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 else
16914 cat >conftest.$ac_ext <<_ACEOF
16915 /* confdefs.h. */
16916 _ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920
16921 int
16922 main ()
16923 {
16924
16925 #ifndef __INTEL_COMPILER
16926 choke me
16927 #endif
16928
16929 ;
16930 return 0;
16931 }
16932 _ACEOF
16933 rm -f conftest.$ac_objext
16934 if { (ac_try="$ac_compile"
16935 case "(($ac_try" in
16936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16937 *) ac_try_echo=$ac_try;;
16938 esac
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_compile") 2>conftest.er1
16941 ac_status=$?
16942 grep -v '^ *+' conftest.er1 >conftest.err
16943 rm -f conftest.er1
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } && {
16947 test -z "$ac_cxx_werror_flag" ||
16948 test ! -s conftest.err
16949 } && test -s conftest.$ac_objext; then
16950 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16951 else
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16954
16955 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16956
16957 fi
16958
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961
16962 fi
16963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16965 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16966 :; INTELCXX=yes
16967 else
16968 :;
16969 fi
16970 ac_ext=c
16971 ac_cpp='$CPP $CPPFLAGS'
16972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16975
16976
16977
16978
16979 if test "$INTELCXX" = "yes"; then
16980
16981
16982 ac_ext=cpp
16983 ac_cpp='$CXXCPP $CPPFLAGS'
16984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16987
16988 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16989 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16990 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999
17000 int
17001 main ()
17002 {
17003
17004 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17005 choke me
17006 #endif
17007
17008 ;
17009 return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (ac_try="$ac_compile"
17014 case "(($ac_try" in
17015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17017 esac
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_compile") 2>conftest.er1
17020 ac_status=$?
17021 grep -v '^ *+' conftest.er1 >conftest.err
17022 rm -f conftest.er1
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && {
17026 test -z "$ac_cxx_werror_flag" ||
17027 test ! -s conftest.err
17028 } && test -s conftest.$ac_objext; then
17029 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17035
17036 fi
17037
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039
17040
17041 fi
17042 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17043 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17044 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17045 :; INTELCXX8=yes
17046 else
17047 :;
17048 fi
17049 ac_ext=c
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17054
17055
17056
17057
17058
17059 ac_ext=cpp
17060 ac_cpp='$CXXCPP $CPPFLAGS'
17061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064
17065 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17066 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 else
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076
17077 int
17078 main ()
17079 {
17080
17081 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17082 choke me
17083 #endif
17084
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_cxx_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17112
17113 fi
17114
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116
17117
17118 fi
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17120 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17121 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17122 :; INTELCXX10=yes
17123 else
17124 :;
17125 fi
17126 ac_ext=c
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17131
17132
17133
17134 fi
17135
17136 if test "x$GCXX" != "xyes"; then
17137 if test "xCXX" = "xC"; then
17138 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17139 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17140 if test "${bakefile_cv_c_exto+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149
17150 int
17151 main ()
17152 {
17153
17154 ;
17155 return 0;
17156 }
17157 _ACEOF
17158 rm -f conftest.$ac_objext conftest.$ac_ext.o
17159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17160 (eval $ac_compile) 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; then
17164 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17165 case $ac_file in
17166 conftest.$ac_ext.o)
17167 bakefile_cv_c_exto="-ext o"
17168 ;;
17169 *)
17170 ;;
17171 esac
17172 done
17173 else
17174 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17175 See \`config.log' for more details." >&5
17176 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17177 See \`config.log' for more details." >&2;}
17178 { (exit 1); exit 1; }; }
17179
17180 fi
17181
17182 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17183
17184 fi
17185 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17186 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17187 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17188 if test "c" = "c"; then
17189 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17190 fi
17191 if test "c" = "cxx"; then
17192 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17193 fi
17194 fi
17195
17196 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17197 unset ac_cv_prog_cc_g
17198 ac_test_CFLAGS=${CFLAGS+set}
17199 ac_save_CFLAGS=$CFLAGS
17200 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17201 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17202 if test "${ac_cv_prog_cc_g+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205 ac_save_c_werror_flag=$ac_c_werror_flag
17206 ac_c_werror_flag=yes
17207 ac_cv_prog_cc_g=no
17208 CFLAGS="-g"
17209 cat >conftest.$ac_ext <<_ACEOF
17210 /* confdefs.h. */
17211 _ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215
17216 int
17217 main ()
17218 {
17219
17220 ;
17221 return 0;
17222 }
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (ac_try="$ac_compile"
17226 case "(($ac_try" in
17227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17228 *) ac_try_echo=$ac_try;;
17229 esac
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_compile") 2>conftest.er1
17232 ac_status=$?
17233 grep -v '^ *+' conftest.er1 >conftest.err
17234 rm -f conftest.er1
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } && {
17238 test -z "$ac_c_werror_flag" ||
17239 test ! -s conftest.err
17240 } && test -s conftest.$ac_objext; then
17241 ac_cv_prog_cc_g=yes
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17245
17246 CFLAGS=""
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h. */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253
17254 int
17255 main ()
17256 {
17257
17258 ;
17259 return 0;
17260 }
17261 _ACEOF
17262 rm -f conftest.$ac_objext
17263 if { (ac_try="$ac_compile"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_compile") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && {
17276 test -z "$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 } && test -s conftest.$ac_objext; then
17279 :
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17283
17284 ac_c_werror_flag=$ac_save_c_werror_flag
17285 CFLAGS="-g"
17286 cat >conftest.$ac_ext <<_ACEOF
17287 /* confdefs.h. */
17288 _ACEOF
17289 cat confdefs.h >>conftest.$ac_ext
17290 cat >>conftest.$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292
17293 int
17294 main ()
17295 {
17296
17297 ;
17298 return 0;
17299 }
17300 _ACEOF
17301 rm -f conftest.$ac_objext
17302 if { (ac_try="$ac_compile"
17303 case "(($ac_try" in
17304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17305 *) ac_try_echo=$ac_try;;
17306 esac
17307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17308 (eval "$ac_compile") 2>conftest.er1
17309 ac_status=$?
17310 grep -v '^ *+' conftest.er1 >conftest.err
17311 rm -f conftest.er1
17312 cat conftest.err >&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } && {
17315 test -z "$ac_c_werror_flag" ||
17316 test ! -s conftest.err
17317 } && test -s conftest.$ac_objext; then
17318 ac_cv_prog_cc_g=yes
17319 else
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17322
17323
17324 fi
17325
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 ac_c_werror_flag=$ac_save_c_werror_flag
17334 fi
17335 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17336 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17337 if test "$ac_test_CFLAGS" = set; then
17338 CFLAGS=$ac_save_CFLAGS
17339 elif test $ac_cv_prog_cc_g = yes; then
17340 if test "$GCC" = yes; then
17341 CFLAGS="-g -O2"
17342 else
17343 CFLAGS="-g"
17344 fi
17345 else
17346 if test "$GCC" = yes; then
17347 CFLAGS="-O2"
17348 else
17349 CFLAGS=
17350 fi
17351 fi
17352 fi
17353 fi
17354
17355 case `uname -s` in
17356 AIX*)
17357
17358
17359 ac_ext=cpp
17360 ac_cpp='$CXXCPP $CPPFLAGS'
17361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17364
17365 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17366 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17367 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17368 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 else
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376
17377 int
17378 main ()
17379 {
17380
17381 #ifndef __xlC__
17382 choke me
17383 #endif
17384
17385 ;
17386 return 0;
17387 }
17388 _ACEOF
17389 rm -f conftest.$ac_objext
17390 if { (ac_try="$ac_compile"
17391 case "(($ac_try" in
17392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17393 *) ac_try_echo=$ac_try;;
17394 esac
17395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17396 (eval "$ac_compile") 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } && {
17403 test -z "$ac_cxx_werror_flag" ||
17404 test ! -s conftest.err
17405 } && test -s conftest.$ac_objext; then
17406 bakefile_cv_cxx_compiler___xlC__=yes
17407 else
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17410
17411 bakefile_cv_cxx_compiler___xlC__=no
17412
17413 fi
17414
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416
17417
17418 fi
17419 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17420 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17421 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17422 :; XLCXX=yes
17423 else
17424 :;
17425 fi
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434 ;;
17435
17436 Darwin)
17437
17438
17439 ac_ext=cpp
17440 ac_cpp='$CXXCPP $CPPFLAGS'
17441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17444
17445 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17446 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17447 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17450 cat >conftest.$ac_ext <<_ACEOF
17451 /* confdefs.h. */
17452 _ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17456
17457 int
17458 main ()
17459 {
17460
17461 #ifndef __MWERKS__
17462 choke me
17463 #endif
17464
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 rm -f conftest.$ac_objext
17470 if { (ac_try="$ac_compile"
17471 case "(($ac_try" in
17472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17474 esac
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_compile") 2>conftest.er1
17477 ac_status=$?
17478 grep -v '^ *+' conftest.er1 >conftest.err
17479 rm -f conftest.er1
17480 cat conftest.err >&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } && {
17483 test -z "$ac_cxx_werror_flag" ||
17484 test ! -s conftest.err
17485 } && test -s conftest.$ac_objext; then
17486 bakefile_cv_cxx_compiler___MWERKS__=yes
17487 else
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.$ac_ext >&5
17490
17491 bakefile_cv_cxx_compiler___MWERKS__=no
17492
17493 fi
17494
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17496
17497
17498 fi
17499 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17500 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17501 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17502 :; MWCXX=yes
17503 else
17504 :;
17505 fi
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513
17514 if test "$MWCXX" != "yes"; then
17515
17516
17517 ac_ext=cpp
17518 ac_cpp='$CXXCPP $CPPFLAGS'
17519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522
17523 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17524 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17525 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 else
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534
17535 int
17536 main ()
17537 {
17538
17539 #ifndef __xlC__
17540 choke me
17541 #endif
17542
17543 ;
17544 return 0;
17545 }
17546 _ACEOF
17547 rm -f conftest.$ac_objext
17548 if { (ac_try="$ac_compile"
17549 case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17552 esac
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_compile") 2>conftest.er1
17555 ac_status=$?
17556 grep -v '^ *+' conftest.er1 >conftest.err
17557 rm -f conftest.er1
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && {
17561 test -z "$ac_cxx_werror_flag" ||
17562 test ! -s conftest.err
17563 } && test -s conftest.$ac_objext; then
17564 bakefile_cv_cxx_compiler___xlC__=yes
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 bakefile_cv_cxx_compiler___xlC__=no
17570
17571 fi
17572
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574
17575
17576 fi
17577 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17578 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17579 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17580 :; XLCXX=yes
17581 else
17582 :;
17583 fi
17584 ac_ext=c
17585 ac_cpp='$CPP $CPPFLAGS'
17586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17589
17590
17591
17592 fi
17593 ;;
17594
17595 IRIX*)
17596
17597
17598 ac_ext=cpp
17599 ac_cpp='$CXXCPP $CPPFLAGS'
17600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17603
17604 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17605 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17606 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17607 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 else
17609 cat >conftest.$ac_ext <<_ACEOF
17610 /* confdefs.h. */
17611 _ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615
17616 int
17617 main ()
17618 {
17619
17620 #ifndef _SGI_COMPILER_VERSION
17621 choke me
17622 #endif
17623
17624 ;
17625 return 0;
17626 }
17627 _ACEOF
17628 rm -f conftest.$ac_objext
17629 if { (ac_try="$ac_compile"
17630 case "(($ac_try" in
17631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17633 esac
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_compile") 2>conftest.er1
17636 ac_status=$?
17637 grep -v '^ *+' conftest.er1 >conftest.err
17638 rm -f conftest.er1
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && {
17642 test -z "$ac_cxx_werror_flag" ||
17643 test ! -s conftest.err
17644 } && test -s conftest.$ac_objext; then
17645 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17646 else
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17649
17650 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17651
17652 fi
17653
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655
17656
17657 fi
17658 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17659 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17660 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17661 :; SGICXX=yes
17662 else
17663 :;
17664 fi
17665 ac_ext=c
17666 ac_cpp='$CPP $CPPFLAGS'
17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17670
17671
17672
17673 ;;
17674
17675 Linux*)
17676 if test "$INTELCXX" != "yes"; then
17677
17678
17679 ac_ext=cpp
17680 ac_cpp='$CXXCPP $CPPFLAGS'
17681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17684
17685 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17686 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17687 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17688 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 else
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696
17697 int
17698 main ()
17699 {
17700
17701 #ifndef __SUNPRO_CC
17702 choke me
17703 #endif
17704
17705 ;
17706 return 0;
17707 }
17708 _ACEOF
17709 rm -f conftest.$ac_objext
17710 if { (ac_try="$ac_compile"
17711 case "(($ac_try" in
17712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17713 *) ac_try_echo=$ac_try;;
17714 esac
17715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17716 (eval "$ac_compile") 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } && {
17723 test -z "$ac_cxx_werror_flag" ||
17724 test ! -s conftest.err
17725 } && test -s conftest.$ac_objext; then
17726 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17727 else
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5
17730
17731 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17732
17733 fi
17734
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17736
17737
17738 fi
17739 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17740 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17741 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17742 :; SUNCXX=yes
17743 else
17744 :;
17745 fi
17746 ac_ext=c
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17751
17752
17753
17754 fi
17755 ;;
17756
17757 HP-UX*)
17758
17759
17760 ac_ext=cpp
17761 ac_cpp='$CXXCPP $CPPFLAGS'
17762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17765
17766 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17767 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17768 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17769 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 else
17771 cat >conftest.$ac_ext <<_ACEOF
17772 /* confdefs.h. */
17773 _ACEOF
17774 cat confdefs.h >>conftest.$ac_ext
17775 cat >>conftest.$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17777
17778 int
17779 main ()
17780 {
17781
17782 #ifndef __HP_aCC
17783 choke me
17784 #endif
17785
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (ac_try="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17795 esac
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && {
17804 test -z "$ac_cxx_werror_flag" ||
17805 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then
17807 bakefile_cv_cxx_compiler___HP_aCC=yes
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 bakefile_cv_cxx_compiler___HP_aCC=no
17813
17814 fi
17815
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817
17818
17819 fi
17820 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17821 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17822 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17823 :; HPCXX=yes
17824 else
17825 :;
17826 fi
17827 ac_ext=c
17828 ac_cpp='$CPP $CPPFLAGS'
17829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17832
17833
17834
17835 ;;
17836
17837 OSF1)
17838
17839
17840 ac_ext=cpp
17841 ac_cpp='$CXXCPP $CPPFLAGS'
17842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845
17846 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17847 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17848 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857
17858 int
17859 main ()
17860 {
17861
17862 #ifndef __DECCXX
17863 choke me
17864 #endif
17865
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (ac_try="$ac_compile"
17872 case "(($ac_try" in
17873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17874 *) ac_try_echo=$ac_try;;
17875 esac
17876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17877 (eval "$ac_compile") 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_cxx_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest.$ac_objext; then
17887 bakefile_cv_cxx_compiler___DECCXX=yes
17888 else
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.$ac_ext >&5
17891
17892 bakefile_cv_cxx_compiler___DECCXX=no
17893
17894 fi
17895
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897
17898
17899 fi
17900 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17901 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17902 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17903 :; COMPAQCXX=yes
17904 else
17905 :;
17906 fi
17907 ac_ext=c
17908 ac_cpp='$CPP $CPPFLAGS'
17909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17912
17913
17914
17915 ;;
17916
17917 SunOS)
17918
17919
17920 ac_ext=cpp
17921 ac_cpp='$CXXCPP $CPPFLAGS'
17922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17925
17926 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17927 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17928 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 else
17931 cat >conftest.$ac_ext <<_ACEOF
17932 /* confdefs.h. */
17933 _ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937
17938 int
17939 main ()
17940 {
17941
17942 #ifndef __SUNPRO_CC
17943 choke me
17944 #endif
17945
17946 ;
17947 return 0;
17948 }
17949 _ACEOF
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17955 esac
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_cxx_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17971
17972 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17973
17974 fi
17975
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977
17978
17979 fi
17980 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17981 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17982 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17983 :; SUNCXX=yes
17984 else
17985 :;
17986 fi
17987 ac_ext=c
17988 ac_cpp='$CPP $CPPFLAGS'
17989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17992
17993
17994
17995 ;;
17996 esac
17997 fi
17998
17999
18000
18001 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18002 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18003 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18004 { (exit 1); exit 1; }; }
18005 fi
18006
18007 if test "x$SUNCXX" != xyes; then
18008 if test -n "$ac_tool_prefix"; then
18009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18010 set dummy ${ac_tool_prefix}ar; ac_word=$2
18011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18013 if test "${ac_cv_prog_AR+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18016 if test -n "$AR"; then
18017 ac_cv_prog_AR="$AR" # Let the user override the test.
18018 else
18019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18020 for as_dir in $PATH
18021 do
18022 IFS=$as_save_IFS
18023 test -z "$as_dir" && as_dir=.
18024 for ac_exec_ext in '' $ac_executable_extensions; do
18025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18026 ac_cv_prog_AR="${ac_tool_prefix}ar"
18027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18028 break 2
18029 fi
18030 done
18031 done
18032 IFS=$as_save_IFS
18033
18034 fi
18035 fi
18036 AR=$ac_cv_prog_AR
18037 if test -n "$AR"; then
18038 { echo "$as_me:$LINENO: result: $AR" >&5
18039 echo "${ECHO_T}$AR" >&6; }
18040 else
18041 { echo "$as_me:$LINENO: result: no" >&5
18042 echo "${ECHO_T}no" >&6; }
18043 fi
18044
18045
18046 fi
18047 if test -z "$ac_cv_prog_AR"; then
18048 ac_ct_AR=$AR
18049 # Extract the first word of "ar", so it can be a program name with args.
18050 set dummy ar; ac_word=$2
18051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 else
18056 if test -n "$ac_ct_AR"; then
18057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18058 else
18059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18060 for as_dir in $PATH
18061 do
18062 IFS=$as_save_IFS
18063 test -z "$as_dir" && as_dir=.
18064 for ac_exec_ext in '' $ac_executable_extensions; do
18065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18066 ac_cv_prog_ac_ct_AR="ar"
18067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18068 break 2
18069 fi
18070 done
18071 done
18072 IFS=$as_save_IFS
18073
18074 fi
18075 fi
18076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18077 if test -n "$ac_ct_AR"; then
18078 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18079 echo "${ECHO_T}$ac_ct_AR" >&6; }
18080 else
18081 { echo "$as_me:$LINENO: result: no" >&5
18082 echo "${ECHO_T}no" >&6; }
18083 fi
18084
18085 if test "x$ac_ct_AR" = x; then
18086 AR=""
18087 else
18088 case $cross_compiling:$ac_tool_warned in
18089 yes:)
18090 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18091 whose name does not start with the host triplet. If you think this
18092 configuration is useful to you, please write to autoconf@gnu.org." >&5
18093 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18094 whose name does not start with the host triplet. If you think this
18095 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18096 ac_tool_warned=yes ;;
18097 esac
18098 AR=$ac_ct_AR
18099 fi
18100 else
18101 AR="$ac_cv_prog_AR"
18102 fi
18103
18104 if test "x$AR" = "x" ; then
18105 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18106 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18107 { (exit 1); exit 1; }; }
18108 fi
18109 fi
18110
18111 retest_macosx_linking=no
18112
18113 #if test "$wxUSE_MAC" = 1; then
18114 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18115 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18116 # Implicitly turn on the new --with-macosx-sdk using the default
18117 # SDK which provides the behavior this option has always had.
18118 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18119 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18120 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18121 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18122 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18123 wxUSE_MACOSX_SDK=yes
18124 fi
18125 else
18126 # Complain to user if he specified an argument to --enable-universal_binary
18127 # and also 1) specified --with-macosx-sdk using the default (yes) or
18128 # 2) specified --with-macosx-sdk using a path or 3) specified
18129 # --without-macosx-sdk (no).
18130 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18131 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18132 See \`config.log' for more details." >&5
18133 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18134 See \`config.log' for more details." >&2;}
18135 { (exit 1); exit 1; }; }
18136 else
18137 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18138 # special-case the empty string because the below test simply
18139 # converts "no" to the empty string anyway.
18140 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18141 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18142 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18143 fi
18144 fi
18145 OSX_UNIV_OPTS="-arch ppc -arch i386"
18146 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18147 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18148 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18149 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18150 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18151 retest_macosx_linking=yes
18152
18153 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18154 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18155 bk_use_pch=no
18156 fi
18157 #fi
18158
18159 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18160 wxUSE_MACOSX_SDK=
18161 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18162 # TODO: Search for most recent SDK and use it.
18163 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18164 fi
18165
18166
18167 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18168 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18169 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18170 if ! test -d "$wxUSE_MACOSX_SDK"; then
18171 { { echo "$as_me:$LINENO: error: not found
18172 See \`config.log' for more details." >&5
18173 echo "$as_me: error: not found
18174 See \`config.log' for more details." >&2;}
18175 { (exit 1); exit 1; }; }
18176 else
18177 { echo "$as_me:$LINENO: result: exists" >&5
18178 echo "${ECHO_T}exists" >&6; }
18179 fi
18180 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18181 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18182 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18183 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18184 retest_macosx_linking=yes
18185 fi
18186
18187 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18188 wxUSE_MACOSX_VERSION_MIN=
18189 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18190 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18191 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18192 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18193
18194 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/'`
18195
18196 # If that failed, try again with the new key
18197 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18198
18199 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/'`
18200
18201 fi
18202
18203 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18204 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18205 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18206 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18207 else
18208 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18209 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18210 wxUSE_MACOSX_VERSION_MIN=
18211 fi
18212 else
18213 wxUSE_MACOSX_VERSION_MIN=
18214 fi
18215 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18216 if test "$wxUSE_MAC" = 1; then
18217 # otherwise configure stops on leopard for universal_binary
18218 wxUSE_MACOSX_VERSION_MIN=10.4
18219 fi
18220 fi
18221
18222 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18223 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18224 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18225 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18226 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18227 retest_macosx_linking=yes
18228 fi
18229
18230 if test "x$retest_macosx_linking" = "xyes"; then
18231 ac_ext=c
18232 ac_cpp='$CPP $CPPFLAGS'
18233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236
18237 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18238 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18239 cat >conftest.$ac_ext <<_ACEOF
18240 /* confdefs.h. */
18241 _ACEOF
18242 cat confdefs.h >>conftest.$ac_ext
18243 cat >>conftest.$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18245
18246 int
18247 main ()
18248 {
18249
18250 ;
18251 return 0;
18252 }
18253 _ACEOF
18254 rm -f conftest.$ac_objext conftest$ac_exeext
18255 if { (ac_try="$ac_link"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_link") 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest$ac_exeext &&
18271 $as_test_x conftest$ac_exeext; then
18272 { echo "$as_me:$LINENO: result: yes" >&5
18273 echo "${ECHO_T}yes" >&6; }
18274 else
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.$ac_ext >&5
18277
18278 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18279 See \`config.log' for more details." >&5
18280 echo "$as_me: error: no. Try a different SDK
18281 See \`config.log' for more details." >&2;}
18282 { (exit 1); exit 1; }; }; exit 1
18283 fi
18284
18285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18286 conftest$ac_exeext conftest.$ac_ext
18287 ac_ext=c
18288 ac_cpp='$CPP $CPPFLAGS'
18289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18292
18293
18294 ac_ext=cpp
18295 ac_cpp='$CXXCPP $CPPFLAGS'
18296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18299
18300 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18301 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308
18309 int
18310 main ()
18311 {
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (ac_try="$ac_link"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_link") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_cxx_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest$ac_exeext &&
18334 $as_test_x conftest$ac_exeext; then
18335 { echo "$as_me:$LINENO: result: yes" >&5
18336 echo "${ECHO_T}yes" >&6; }
18337 else
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.$ac_ext >&5
18340
18341 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18342 See \`config.log' for more details." >&5
18343 echo "$as_me: error: no. Try a different SDK
18344 See \`config.log' for more details." >&2;}
18345 { (exit 1); exit 1; }; }; exit 1
18346 fi
18347
18348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18349 conftest$ac_exeext conftest.$ac_ext
18350 ac_ext=c
18351 ac_cpp='$CPP $CPPFLAGS'
18352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355
18356 fi
18357
18358
18359 case "${host}" in
18360
18361 *-*-darwin* )
18362 INSTALL_PROGRAM="cp -fp"
18363 INSTALL_DATA="cp -fp"
18364 ;;
18365 *)
18366 ;;
18367 esac
18368
18369
18370 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18371 CXXFLAGS="-qunique $CXXFLAGS"
18372 fi
18373
18374 case "${host}" in
18375 powerpc-*-darwin* )
18376 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18377 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h. */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384
18385 int
18386 main ()
18387 {
18388 #ifndef __POWERPC__
18389 choke me for lack of PowerPC
18390 #endif
18391
18392 ;
18393 return 0;
18394 }
18395 _ACEOF
18396 rm -f conftest.$ac_objext
18397 if { (ac_try="$ac_compile"
18398 case "(($ac_try" in
18399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18400 *) ac_try_echo=$ac_try;;
18401 esac
18402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18403 (eval "$ac_compile") 2>conftest.er1
18404 ac_status=$?
18405 grep -v '^ *+' conftest.er1 >conftest.err
18406 rm -f conftest.er1
18407 cat conftest.err >&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } && {
18410 test -z "$ac_c_werror_flag" ||
18411 test ! -s conftest.err
18412 } && test -s conftest.$ac_objext; then
18413 { echo "$as_me:$LINENO: result: yes" >&5
18414 echo "${ECHO_T}yes" >&6; }
18415 else
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.$ac_ext >&5
18418
18419 { echo "$as_me:$LINENO: result: no" >&5
18420 echo "${ECHO_T}no" >&6; }
18421 cat >>confdefs.h <<\_ACEOF
18422 #define __POWERPC__ 1
18423 _ACEOF
18424
18425
18426 fi
18427
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 ;;
18430 esac
18431
18432 case "${host}" in
18433 *-*-darwin* )
18434 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18435 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18436 cat >conftest.$ac_ext <<_ACEOF
18437 /* confdefs.h. */
18438 _ACEOF
18439 cat confdefs.h >>conftest.$ac_ext
18440 cat >>conftest.$ac_ext <<_ACEOF
18441 /* end confdefs.h. */
18442 #include <CoreFoundation/CFBase.h>
18443
18444 int
18445 main ()
18446 {
18447
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 rm -f conftest.$ac_objext
18453 if { (ac_try="$ac_compile"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457 esac
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_compile") 2>conftest.er1
18460 ac_status=$?
18461 grep -v '^ *+' conftest.er1 >conftest.err
18462 rm -f conftest.er1
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest.$ac_objext; then
18469 { echo "$as_me:$LINENO: result: yes" >&5
18470 echo "${ECHO_T}yes" >&6; }
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 { echo "$as_me:$LINENO: result: no" >&5
18476 echo "${ECHO_T}no" >&6; }
18477 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18478 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18479 cat >conftest.$ac_ext <<_ACEOF
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 #define __CF_USE_FRAMEWORK_INCLUDES__
18486 #include <CoreFoundation/CFBase.h>
18487
18488 int
18489 main ()
18490 {
18491
18492 ;
18493 return 0;
18494 }
18495 _ACEOF
18496 rm -f conftest.$ac_objext
18497 if { (ac_try="$ac_compile"
18498 case "(($ac_try" in
18499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18500 *) ac_try_echo=$ac_try;;
18501 esac
18502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_compile") 2>conftest.er1
18504 ac_status=$?
18505 grep -v '^ *+' conftest.er1 >conftest.err
18506 rm -f conftest.er1
18507 cat conftest.err >&5
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); } && {
18510 test -z "$ac_c_werror_flag" ||
18511 test ! -s conftest.err
18512 } && test -s conftest.$ac_objext; then
18513 { echo "$as_me:$LINENO: result: yes" >&5
18514 echo "${ECHO_T}yes" >&6; }
18515 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18516 else
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18519
18520 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18521 See \`config.log' for more details." >&5
18522 echo "$as_me: error: no. CoreFoundation not available.
18523 See \`config.log' for more details." >&2;}
18524 { (exit 1); exit 1; }; }
18525
18526 fi
18527
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529
18530
18531 fi
18532
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 ;;
18535 esac
18536
18537 wants_win32=0
18538 doesnt_want_win32=0
18539 case "${host}" in
18540 *-*-cygwin*)
18541 if test "$wxUSE_MSW" = 1 ; then
18542 wants_win32=1
18543 else
18544 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18545 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18546 if test "${wx_cv_nocygwin+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556
18557 int
18558 main ()
18559 {
18560
18561 #ifdef __MINGW32__
18562 choke me
18563 #endif
18564
18565 ;
18566 return 0;
18567 }
18568 _ACEOF
18569 rm -f conftest.$ac_objext
18570 if { (ac_try="$ac_compile"
18571 case "(($ac_try" in
18572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18573 *) ac_try_echo=$ac_try;;
18574 esac
18575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18576 (eval "$ac_compile") 2>conftest.er1
18577 ac_status=$?
18578 grep -v '^ *+' conftest.er1 >conftest.err
18579 rm -f conftest.er1
18580 cat conftest.err >&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); } && {
18583 test -z "$ac_c_werror_flag" ||
18584 test ! -s conftest.err
18585 } && test -s conftest.$ac_objext; then
18586 wx_cv_nocygwin=no
18587 else
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.$ac_ext >&5
18590
18591 wx_cv_nocygwin=yes
18592
18593 fi
18594
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596
18597
18598 fi
18599 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18600 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18601
18602 if test "$wx_cv_nocygwin" = "yes"; then
18603 wants_win32=1
18604 else
18605 doesnt_want_win32=1
18606 fi
18607 fi
18608 if test "$wants_win32" = 1 ; then
18609 BAKEFILE_FORCE_PLATFORM=win32
18610 fi
18611 ;;
18612 *-*-mingw*)
18613 wants_win32=1
18614 ;;
18615 esac
18616
18617 if test "$wxUSE_WINE" = "yes"; then
18618 wants_win32=1
18619 LDFLAGS_GUI="-mwindows"
18620 fi
18621
18622 if test "$wants_win32" = 1 ; then
18623 USE_UNIX=0
18624 USE_WIN32=1
18625 cat >>confdefs.h <<\_ACEOF
18626 #define __WIN32__ 1
18627 _ACEOF
18628
18629 cat >>confdefs.h <<\_ACEOF
18630 #define __WIN95__ 1
18631 _ACEOF
18632
18633 cat >>confdefs.h <<\_ACEOF
18634 #define __WINDOWS__ 1
18635 _ACEOF
18636
18637 cat >>confdefs.h <<\_ACEOF
18638 #define __GNUWIN32__ 1
18639 _ACEOF
18640
18641 cat >>confdefs.h <<\_ACEOF
18642 #define STRICT 1
18643 _ACEOF
18644
18645 fi
18646 if test "$doesnt_want_win32" = 1 ; then
18647 USE_UNIX=1
18648 USE_WIN32=0
18649 fi
18650
18651 if test "$USE_UNIX" = 1 ; then
18652 wxUSE_UNIX=yes
18653 cat >>confdefs.h <<\_ACEOF
18654 #define __UNIX__ 1
18655 _ACEOF
18656
18657 fi
18658
18659 case "${host}" in
18660 *-pc-os2_emx | *-pc-os2-emx )
18661 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18662 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18663 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18664 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18666 else
18667 ac_check_lib_save_LIBS=$LIBS
18668 LIBS="-lcExt $LIBS"
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
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18679 #ifdef __cplusplus
18680 extern "C"
18681 #endif
18682 char drand48 ();
18683 int
18684 main ()
18685 {
18686 return drand48 ();
18687 ;
18688 return 0;
18689 }
18690 _ACEOF
18691 rm -f conftest.$ac_objext conftest$ac_exeext
18692 if { (ac_try="$ac_link"
18693 case "(($ac_try" in
18694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18695 *) ac_try_echo=$ac_try;;
18696 esac
18697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18698 (eval "$ac_link") 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } && {
18705 test -z "$ac_c_werror_flag" ||
18706 test ! -s conftest.err
18707 } && test -s conftest$ac_exeext &&
18708 $as_test_x conftest$ac_exeext; then
18709 ac_cv_lib_cExt_drand48=yes
18710 else
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 ac_cv_lib_cExt_drand48=no
18715 fi
18716
18717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18718 conftest$ac_exeext conftest.$ac_ext
18719 LIBS=$ac_check_lib_save_LIBS
18720 fi
18721 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18722 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18723 if test $ac_cv_lib_cExt_drand48 = yes; then
18724 LIBS="$LIBS -lcExt"
18725 fi
18726
18727 else
18728 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18729 fi
18730 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18731 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18732 if test "${wx_cv_gccversion+set}" = set; then
18733 echo $ECHO_N "(cached) $ECHO_C" >&6
18734 else
18735
18736 if test "$cross_compiling" = yes; then
18737 wx_cv_gccversion="EMX2"
18738
18739 else
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746
18747 #include <stdio.h>
18748
18749 int main()
18750 {
18751 FILE *f=fopen("conftestval", "w");
18752 if (!f) exit(1);
18753 fprintf(f,
18754 #if (__GNUC__ < 3)
18755 "EMX2"
18756 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18757 "EMX3"
18758 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18759 "Innotek5"
18760 #else
18761 "Innotek6"
18762 #endif
18763 );
18764 exit(0);
18765 }
18766
18767 _ACEOF
18768 rm -f conftest$ac_exeext
18769 if { (ac_try="$ac_link"
18770 case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18773 esac
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_link") 2>&5
18776 ac_status=$?
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18779 { (case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18782 esac
18783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_try") 2>&5
18785 ac_status=$?
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); }; }; then
18788 wx_cv_gccversion=`cat conftestval`
18789 else
18790 echo "$as_me: program exited with status $ac_status" >&5
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 ( exit $ac_status )
18795 wx_cv_gccversion="EMX2"
18796 fi
18797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18798 fi
18799
18800
18801
18802 fi
18803 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18804 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18805 if test "$wx_cv_gccversion" = "EMX2"; then
18806 LIBS="$LIBS -lstdcpp"
18807 LDFLAGS="$LDFLAGS -Zsysv-signals"
18808 else
18809 if test "$wx_cv_gccversion" = "EMX3"; then
18810 LIBS="$LIBS -lstdcxx -lgcc"
18811 LDFLAGS="$LDFLAGS -Zsysv-signals"
18812 else
18813 LIBS="$LIBS -lstdc++"
18814 fi
18815 fi
18816 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18817 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18818 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18819 wxUSE_OMF=yes
18820 enable_omf=yes
18821 fi
18822 ;;
18823 *)
18824
18825 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18826 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18827 if test "${ac_cv_string_strcasecmp+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 else
18830
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837
18838 #include <string.h>
18839
18840 int
18841 main ()
18842 {
18843
18844 strcasecmp("foo", "bar");
18845
18846 ;
18847 return 0;
18848 }
18849 _ACEOF
18850 rm -f conftest.$ac_objext conftest$ac_exeext
18851 if { (ac_try="$ac_link"
18852 case "(($ac_try" in
18853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18854 *) ac_try_echo=$ac_try;;
18855 esac
18856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18857 (eval "$ac_link") 2>conftest.er1
18858 ac_status=$?
18859 grep -v '^ *+' conftest.er1 >conftest.err
18860 rm -f conftest.er1
18861 cat conftest.err >&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } && {
18864 test -z "$ac_c_werror_flag" ||
18865 test ! -s conftest.err
18866 } && test -s conftest$ac_exeext &&
18867 $as_test_x conftest$ac_exeext; then
18868 ac_cv_string_strcasecmp=yes
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18872
18873 ac_cv_string_strcasecmp=no
18874
18875 fi
18876
18877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18878 conftest$ac_exeext conftest.$ac_ext
18879
18880 fi
18881 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18882 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18883
18884 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18885 cat >>confdefs.h <<\_ACEOF
18886 #define HAVE_STRCASECMP_IN_STRING_H 1
18887 _ACEOF
18888
18889 else
18890 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18891 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18892 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 else
18895
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902
18903 #include <strings.h>
18904
18905 int
18906 main ()
18907 {
18908
18909 strcasecmp("foo", "bar");
18910
18911 ;
18912 return 0;
18913 }
18914 _ACEOF
18915 rm -f conftest.$ac_objext conftest$ac_exeext
18916 if { (ac_try="$ac_link"
18917 case "(($ac_try" in
18918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18920 esac
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_link") 2>conftest.er1
18923 ac_status=$?
18924 grep -v '^ *+' conftest.er1 >conftest.err
18925 rm -f conftest.er1
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } && {
18929 test -z "$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18931 } && test -s conftest$ac_exeext &&
18932 $as_test_x conftest$ac_exeext; then
18933 ac_cv_strings_strcasecmp=yes
18934 else
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.$ac_ext >&5
18937
18938 ac_cv_strings_strcasecmp=no
18939
18940 fi
18941
18942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18943 conftest$ac_exeext conftest.$ac_ext
18944
18945 fi
18946 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18947 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18948
18949 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18950 cat >>confdefs.h <<\_ACEOF
18951 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18952 _ACEOF
18953
18954 else
18955 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18956 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18957 { (exit 1); exit 1; }; }
18958 fi
18959 fi
18960
18961 ;;
18962 esac
18963
18964
18965 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18966 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18967 if test "${ac_cv_header_stdc+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <stdlib.h>
18977 #include <stdarg.h>
18978 #include <string.h>
18979 #include <float.h>
18980
18981 int
18982 main ()
18983 {
18984
18985 ;
18986 return 0;
18987 }
18988 _ACEOF
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
19006 ac_cv_header_stdc=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19010
19011 ac_cv_header_stdc=no
19012 fi
19013
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015
19016 if test $ac_cv_header_stdc = yes; then
19017 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 #include <string.h>
19025
19026 _ACEOF
19027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19028 $EGREP "memchr" >/dev/null 2>&1; then
19029 :
19030 else
19031 ac_cv_header_stdc=no
19032 fi
19033 rm -f conftest*
19034
19035 fi
19036
19037 if test $ac_cv_header_stdc = yes; then
19038 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19039 cat >conftest.$ac_ext <<_ACEOF
19040 /* confdefs.h. */
19041 _ACEOF
19042 cat confdefs.h >>conftest.$ac_ext
19043 cat >>conftest.$ac_ext <<_ACEOF
19044 /* end confdefs.h. */
19045 #include <stdlib.h>
19046
19047 _ACEOF
19048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19049 $EGREP "free" >/dev/null 2>&1; then
19050 :
19051 else
19052 ac_cv_header_stdc=no
19053 fi
19054 rm -f conftest*
19055
19056 fi
19057
19058 if test $ac_cv_header_stdc = yes; then
19059 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19060 if test "$cross_compiling" = yes; then
19061 :
19062 else
19063 cat >conftest.$ac_ext <<_ACEOF
19064 /* confdefs.h. */
19065 _ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 #include <ctype.h>
19070 #include <stdlib.h>
19071 #if ((' ' & 0x0FF) == 0x020)
19072 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19073 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19074 #else
19075 # define ISLOWER(c) \
19076 (('a' <= (c) && (c) <= 'i') \
19077 || ('j' <= (c) && (c) <= 'r') \
19078 || ('s' <= (c) && (c) <= 'z'))
19079 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19080 #endif
19081
19082 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19083 int
19084 main ()
19085 {
19086 int i;
19087 for (i = 0; i < 256; i++)
19088 if (XOR (islower (i), ISLOWER (i))
19089 || toupper (i) != TOUPPER (i))
19090 return 2;
19091 return 0;
19092 }
19093 _ACEOF
19094 rm -f conftest$ac_exeext
19095 if { (ac_try="$ac_link"
19096 case "(($ac_try" in
19097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19098 *) ac_try_echo=$ac_try;;
19099 esac
19100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19101 (eval "$ac_link") 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19105 { (case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19108 esac
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_try") 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 :
19115 else
19116 echo "$as_me: program exited with status $ac_status" >&5
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.$ac_ext >&5
19119
19120 ( exit $ac_status )
19121 ac_cv_header_stdc=no
19122 fi
19123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19124 fi
19125
19126
19127 fi
19128 fi
19129 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19130 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19131 if test $ac_cv_header_stdc = yes; then
19132
19133 cat >>confdefs.h <<\_ACEOF
19134 #define STDC_HEADERS 1
19135 _ACEOF
19136
19137 fi
19138
19139 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19150 inttypes.h stdint.h unistd.h
19151 do
19152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158 cat >conftest.$ac_ext <<_ACEOF
19159 /* confdefs.h. */
19160 _ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 $ac_includes_default
19165
19166 #include <$ac_header>
19167 _ACEOF
19168 rm -f conftest.$ac_objext
19169 if { (ac_try="$ac_compile"
19170 case "(($ac_try" in
19171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19172 *) ac_try_echo=$ac_try;;
19173 esac
19174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19175 (eval "$ac_compile") 2>conftest.er1
19176 ac_status=$?
19177 grep -v '^ *+' conftest.er1 >conftest.err
19178 rm -f conftest.er1
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } && {
19182 test -z "$ac_c_werror_flag" ||
19183 test ! -s conftest.err
19184 } && test -s conftest.$ac_objext; then
19185 eval "$as_ac_Header=yes"
19186 else
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19189
19190 eval "$as_ac_Header=no"
19191 fi
19192
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 fi
19195 ac_res=`eval echo '${'$as_ac_Header'}'`
19196 { echo "$as_me:$LINENO: result: $ac_res" >&5
19197 echo "${ECHO_T}$ac_res" >&6; }
19198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19199 cat >>confdefs.h <<_ACEOF
19200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19201 _ACEOF
19202
19203 fi
19204
19205 done
19206
19207
19208
19209
19210 for ac_header in langinfo.h wchar.h
19211 do
19212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 else
19218 cat >conftest.$ac_ext <<_ACEOF
19219 /* confdefs.h. */
19220 _ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225
19226 #include <$ac_header>
19227 _ACEOF
19228 rm -f conftest.$ac_objext
19229 if { (ac_try="$ac_compile"
19230 case "(($ac_try" in
19231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19232 *) ac_try_echo=$ac_try;;
19233 esac
19234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19235 (eval "$ac_compile") 2>conftest.er1
19236 ac_status=$?
19237 grep -v '^ *+' conftest.er1 >conftest.err
19238 rm -f conftest.er1
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } && {
19242 test -z "$ac_c_werror_flag" ||
19243 test ! -s conftest.err
19244 } && test -s conftest.$ac_objext; then
19245 eval "$as_ac_Header=yes"
19246 else
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19249
19250 eval "$as_ac_Header=no"
19251 fi
19252
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 fi
19255 ac_res=`eval echo '${'$as_ac_Header'}'`
19256 { echo "$as_me:$LINENO: result: $ac_res" >&5
19257 echo "${ECHO_T}$ac_res" >&6; }
19258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19259 cat >>confdefs.h <<_ACEOF
19260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19261 _ACEOF
19262
19263 fi
19264
19265 done
19266
19267
19268 if test "$ac_cv_header_wchar_h" != "yes"; then
19269
19270 for ac_header in wcstr.h
19271 do
19272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19277 else
19278 cat >conftest.$ac_ext <<_ACEOF
19279 /* confdefs.h. */
19280 _ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19285
19286 #include <$ac_header>
19287 _ACEOF
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19292 *) ac_try_echo=$ac_try;;
19293 esac
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19296 ac_status=$?
19297 grep -v '^ *+' conftest.er1 >conftest.err
19298 rm -f conftest.er1
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } && {
19302 test -z "$ac_c_werror_flag" ||
19303 test ! -s conftest.err
19304 } && test -s conftest.$ac_objext; then
19305 eval "$as_ac_Header=yes"
19306 else
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19309
19310 eval "$as_ac_Header=no"
19311 fi
19312
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 fi
19315 ac_res=`eval echo '${'$as_ac_Header'}'`
19316 { echo "$as_me:$LINENO: result: $ac_res" >&5
19317 echo "${ECHO_T}$ac_res" >&6; }
19318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19319 cat >>confdefs.h <<_ACEOF
19320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19321 _ACEOF
19322
19323 fi
19324
19325 done
19326
19327 fi
19328
19329 case "${host}" in
19330 *-pc-os2_emx | *-pc-os2-emx )
19331 if test $ac_cv_header_langinfo_h = "yes" \
19332 -a \( "$wx_cv_gccversion" = "EMX2" \
19333 -o "$wx_cv_gccversion" = "EMX3" \
19334 -o "$wx_cv_gccversion" = "Innotek5" \); then
19335 LIBS="$LIBS -lintl"
19336 fi
19337 ;;
19338 esac
19339
19340 if test "$USE_UNIX" = 1 ; then
19341
19342 for ac_header in sys/select.h
19343 do
19344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19345 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 $ac_includes_default
19357
19358 #include <$ac_header>
19359 _ACEOF
19360 rm -f conftest.$ac_objext
19361 if { (ac_try="$ac_compile"
19362 case "(($ac_try" in
19363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19365 esac
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_compile") 2>conftest.er1
19368 ac_status=$?
19369 grep -v '^ *+' conftest.er1 >conftest.err
19370 rm -f conftest.er1
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } && {
19374 test -z "$ac_c_werror_flag" ||
19375 test ! -s conftest.err
19376 } && test -s conftest.$ac_objext; then
19377 eval "$as_ac_Header=yes"
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19381
19382 eval "$as_ac_Header=no"
19383 fi
19384
19385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19386 fi
19387 ac_res=`eval echo '${'$as_ac_Header'}'`
19388 { echo "$as_me:$LINENO: result: $ac_res" >&5
19389 echo "${ECHO_T}$ac_res" >&6; }
19390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19391 cat >>confdefs.h <<_ACEOF
19392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19393 _ACEOF
19394
19395 fi
19396
19397 done
19398
19399 fi
19400
19401
19402 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19403 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19404 if test "${ac_cv_c_const+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413
19414 int
19415 main ()
19416 {
19417 /* FIXME: Include the comments suggested by Paul. */
19418 #ifndef __cplusplus
19419 /* Ultrix mips cc rejects this. */
19420 typedef int charset[2];
19421 const charset cs;
19422 /* SunOS 4.1.1 cc rejects this. */
19423 char const *const *pcpcc;
19424 char **ppc;
19425 /* NEC SVR4.0.2 mips cc rejects this. */
19426 struct point {int x, y;};
19427 static struct point const zero = {0,0};
19428 /* AIX XL C 1.02.0.0 rejects this.
19429 It does not let you subtract one const X* pointer from another in
19430 an arm of an if-expression whose if-part is not a constant
19431 expression */
19432 const char *g = "string";
19433 pcpcc = &g + (g ? g-g : 0);
19434 /* HPUX 7.0 cc rejects these. */
19435 ++pcpcc;
19436 ppc = (char**) pcpcc;
19437 pcpcc = (char const *const *) ppc;
19438 { /* SCO 3.2v4 cc rejects this. */
19439 char *t;
19440 char const *s = 0 ? (char *) 0 : (char const *) 0;
19441
19442 *t++ = 0;
19443 if (s) return 0;
19444 }
19445 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19446 int x[] = {25, 17};
19447 const int *foo = &x[0];
19448 ++foo;
19449 }
19450 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19451 typedef const int *iptr;
19452 iptr p = 0;
19453 ++p;
19454 }
19455 { /* AIX XL C 1.02.0.0 rejects this saying
19456 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19457 struct s { int j; const int *ap[3]; };
19458 struct s *b; b->j = 5;
19459 }
19460 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19461 const int foo = 10;
19462 if (!foo) return 0;
19463 }
19464 return !cs[0] && !zero.x;
19465 #endif
19466
19467 ;
19468 return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19476 esac
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19479 ac_status=$?
19480 grep -v '^ *+' conftest.er1 >conftest.err
19481 rm -f conftest.er1
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_cv_c_const=yes
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19492
19493 ac_cv_c_const=no
19494 fi
19495
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 fi
19498 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19499 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19500 if test $ac_cv_c_const = no; then
19501
19502 cat >>confdefs.h <<\_ACEOF
19503 #define const
19504 _ACEOF
19505
19506 fi
19507
19508 { echo "$as_me:$LINENO: checking for inline" >&5
19509 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19510 if test "${ac_cv_c_inline+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 else
19513 ac_cv_c_inline=no
19514 for ac_kw in inline __inline__ __inline; do
19515 cat >conftest.$ac_ext <<_ACEOF
19516 /* confdefs.h. */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 #ifndef __cplusplus
19522 typedef int foo_t;
19523 static $ac_kw foo_t static_foo () {return 0; }
19524 $ac_kw foo_t foo () {return 0; }
19525 #endif
19526
19527 _ACEOF
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.$ac_objext; then
19545 ac_cv_c_inline=$ac_kw
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550
19551 fi
19552
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 test "$ac_cv_c_inline" != no && break
19555 done
19556
19557 fi
19558 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19559 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19560
19561
19562 case $ac_cv_c_inline in
19563 inline | yes) ;;
19564 *)
19565 case $ac_cv_c_inline in
19566 no) ac_val=;;
19567 *) ac_val=$ac_cv_c_inline;;
19568 esac
19569 cat >>confdefs.h <<_ACEOF
19570 #ifndef __cplusplus
19571 #define inline $ac_val
19572 #endif
19573 _ACEOF
19574 ;;
19575 esac
19576
19577
19578 { echo "$as_me:$LINENO: checking for short" >&5
19579 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19580 if test "${ac_cv_type_short+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 typedef short ac__type_new_;
19591 int
19592 main ()
19593 {
19594 if ((ac__type_new_ *) 0)
19595 return 0;
19596 if (sizeof (ac__type_new_))
19597 return 0;
19598 ;
19599 return 0;
19600 }
19601 _ACEOF
19602 rm -f conftest.$ac_objext
19603 if { (ac_try="$ac_compile"
19604 case "(($ac_try" in
19605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606 *) ac_try_echo=$ac_try;;
19607 esac
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_compile") 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } && {
19616 test -z "$ac_c_werror_flag" ||
19617 test ! -s conftest.err
19618 } && test -s conftest.$ac_objext; then
19619 ac_cv_type_short=yes
19620 else
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.$ac_ext >&5
19623
19624 ac_cv_type_short=no
19625 fi
19626
19627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 fi
19629 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19630 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19631
19632 # The cast to long int works around a bug in the HP C Compiler
19633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19635 # This bug is HP SR number 8606223364.
19636 { echo "$as_me:$LINENO: checking size of short" >&5
19637 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19638 if test "${ac_cv_sizeof_short+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 else
19641 if test "$cross_compiling" = yes; then
19642 # Depending upon the size, compute the lo and hi bounds.
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 typedef short ac__type_sizeof_;
19651 int
19652 main ()
19653 {
19654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19655 test_array [0] = 0
19656
19657 ;
19658 return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (ac_try="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19666 esac
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19669 ac_status=$?
19670 grep -v '^ *+' conftest.er1 >conftest.err
19671 rm -f conftest.er1
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 ac_lo=0 ac_mid=0
19679 while :; do
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 typedef short ac__type_sizeof_;
19688 int
19689 main ()
19690 {
19691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19692 test_array [0] = 0
19693
19694 ;
19695 return 0;
19696 }
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19703 esac
19704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19715 ac_hi=$ac_mid; break
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 ac_lo=`expr $ac_mid + 1`
19721 if test $ac_lo -le $ac_mid; then
19722 ac_lo= ac_hi=
19723 break
19724 fi
19725 ac_mid=`expr 2 '*' $ac_mid + 1`
19726 fi
19727
19728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19729 done
19730 else
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19733
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 $ac_includes_default
19741 typedef short ac__type_sizeof_;
19742 int
19743 main ()
19744 {
19745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19746 test_array [0] = 0
19747
19748 ;
19749 return 0;
19750 }
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (ac_try="$ac_compile"
19754 case "(($ac_try" in
19755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19756 *) ac_try_echo=$ac_try;;
19757 esac
19758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_compile") 2>conftest.er1
19760 ac_status=$?
19761 grep -v '^ *+' conftest.er1 >conftest.err
19762 rm -f conftest.er1
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } && {
19766 test -z "$ac_c_werror_flag" ||
19767 test ! -s conftest.err
19768 } && test -s conftest.$ac_objext; then
19769 ac_hi=-1 ac_mid=-1
19770 while :; do
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h. */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 $ac_includes_default
19778 typedef short ac__type_sizeof_;
19779 int
19780 main ()
19781 {
19782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19783 test_array [0] = 0
19784
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 ac_lo=$ac_mid; break
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19810
19811 ac_hi=`expr '(' $ac_mid ')' - 1`
19812 if test $ac_mid -le $ac_hi; then
19813 ac_lo= ac_hi=
19814 break
19815 fi
19816 ac_mid=`expr 2 '*' $ac_mid`
19817 fi
19818
19819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 done
19821 else
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19824
19825 ac_lo= ac_hi=
19826 fi
19827
19828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19829 fi
19830
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 # Binary search between lo and hi bounds.
19833 while test "x$ac_lo" != "x$ac_hi"; do
19834 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19835 cat >conftest.$ac_ext <<_ACEOF
19836 /* confdefs.h. */
19837 _ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842 typedef short ac__type_sizeof_;
19843 int
19844 main ()
19845 {
19846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19847 test_array [0] = 0
19848
19849 ;
19850 return 0;
19851 }
19852 _ACEOF
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.$ac_objext; then
19870 ac_hi=$ac_mid
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 ac_lo=`expr '(' $ac_mid ')' + 1`
19876 fi
19877
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 done
19880 case $ac_lo in
19881 ?*) ac_cv_sizeof_short=$ac_lo;;
19882 '') if test "$ac_cv_type_short" = yes; then
19883 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19884 See \`config.log' for more details." >&5
19885 echo "$as_me: error: cannot compute sizeof (short)
19886 See \`config.log' for more details." >&2;}
19887 { (exit 77); exit 77; }; }
19888 else
19889 ac_cv_sizeof_short=0
19890 fi ;;
19891 esac
19892 else
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 typedef short ac__type_sizeof_;
19901 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19902 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19903 #include <stdio.h>
19904 #include <stdlib.h>
19905 int
19906 main ()
19907 {
19908
19909 FILE *f = fopen ("conftest.val", "w");
19910 if (! f)
19911 return 1;
19912 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19913 {
19914 long int i = longval ();
19915 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19916 return 1;
19917 fprintf (f, "%ld\n", i);
19918 }
19919 else
19920 {
19921 unsigned long int i = ulongval ();
19922 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19923 return 1;
19924 fprintf (f, "%lu\n", i);
19925 }
19926 return ferror (f) || fclose (f) != 0;
19927
19928 ;
19929 return 0;
19930 }
19931 _ACEOF
19932 rm -f conftest$ac_exeext
19933 if { (ac_try="$ac_link"
19934 case "(($ac_try" in
19935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19936 *) ac_try_echo=$ac_try;;
19937 esac
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_link") 2>&5
19940 ac_status=$?
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19943 { (case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19946 esac
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_try") 2>&5
19949 ac_status=$?
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19952 ac_cv_sizeof_short=`cat conftest.val`
19953 else
19954 echo "$as_me: program exited with status $ac_status" >&5
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19957
19958 ( exit $ac_status )
19959 if test "$ac_cv_type_short" = yes; then
19960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19961 See \`config.log' for more details." >&5
19962 echo "$as_me: error: cannot compute sizeof (short)
19963 See \`config.log' for more details." >&2;}
19964 { (exit 77); exit 77; }; }
19965 else
19966 ac_cv_sizeof_short=0
19967 fi
19968 fi
19969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19970 fi
19971 rm -f conftest.val
19972 fi
19973 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19974 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19975
19976
19977
19978 cat >>confdefs.h <<_ACEOF
19979 #define SIZEOF_SHORT $ac_cv_sizeof_short
19980 _ACEOF
19981
19982
19983 { echo "$as_me:$LINENO: checking for void *" >&5
19984 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19985 if test "${ac_cv_type_void_p+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 else
19988 cat >conftest.$ac_ext <<_ACEOF
19989 /* confdefs.h. */
19990 _ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 $ac_includes_default
19995 typedef void * ac__type_new_;
19996 int
19997 main ()
19998 {
19999 if ((ac__type_new_ *) 0)
20000 return 0;
20001 if (sizeof (ac__type_new_))
20002 return 0;
20003 ;
20004 return 0;
20005 }
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_type_void_p=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 ac_cv_type_void_p=no
20030 fi
20031
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 fi
20034 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20035 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20036
20037 # The cast to long int works around a bug in the HP C Compiler
20038 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20039 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20040 # This bug is HP SR number 8606223364.
20041 { echo "$as_me:$LINENO: checking size of void *" >&5
20042 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20043 if test "${ac_cv_sizeof_void_p+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 else
20046 if test "$cross_compiling" = yes; then
20047 # Depending upon the size, compute the lo and hi bounds.
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 $ac_includes_default
20055 typedef void * ac__type_sizeof_;
20056 int
20057 main ()
20058 {
20059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20060 test_array [0] = 0
20061
20062 ;
20063 return 0;
20064 }
20065 _ACEOF
20066 rm -f conftest.$ac_objext
20067 if { (ac_try="$ac_compile"
20068 case "(($ac_try" in
20069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20070 *) ac_try_echo=$ac_try;;
20071 esac
20072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20073 (eval "$ac_compile") 2>conftest.er1
20074 ac_status=$?
20075 grep -v '^ *+' conftest.er1 >conftest.err
20076 rm -f conftest.er1
20077 cat conftest.err >&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); } && {
20080 test -z "$ac_c_werror_flag" ||
20081 test ! -s conftest.err
20082 } && test -s conftest.$ac_objext; then
20083 ac_lo=0 ac_mid=0
20084 while :; do
20085 cat >conftest.$ac_ext <<_ACEOF
20086 /* confdefs.h. */
20087 _ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 $ac_includes_default
20092 typedef void * ac__type_sizeof_;
20093 int
20094 main ()
20095 {
20096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20097 test_array [0] = 0
20098
20099 ;
20100 return 0;
20101 }
20102 _ACEOF
20103 rm -f conftest.$ac_objext
20104 if { (ac_try="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20108 esac
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20111 ac_status=$?
20112 grep -v '^ *+' conftest.er1 >conftest.err
20113 rm -f conftest.er1
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_c_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20120 ac_hi=$ac_mid; break
20121 else
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20124
20125 ac_lo=`expr $ac_mid + 1`
20126 if test $ac_lo -le $ac_mid; then
20127 ac_lo= ac_hi=
20128 break
20129 fi
20130 ac_mid=`expr 2 '*' $ac_mid + 1`
20131 fi
20132
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20134 done
20135 else
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20138
20139 cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 typedef void * ac__type_sizeof_;
20147 int
20148 main ()
20149 {
20150 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20151 test_array [0] = 0
20152
20153 ;
20154 return 0;
20155 }
20156 _ACEOF
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20162 esac
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_compile") 2>conftest.er1
20165 ac_status=$?
20166 grep -v '^ *+' conftest.er1 >conftest.err
20167 rm -f conftest.er1
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } && {
20171 test -z "$ac_c_werror_flag" ||
20172 test ! -s conftest.err
20173 } && test -s conftest.$ac_objext; then
20174 ac_hi=-1 ac_mid=-1
20175 while :; do
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 $ac_includes_default
20183 typedef void * ac__type_sizeof_;
20184 int
20185 main ()
20186 {
20187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20188 test_array [0] = 0
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 rm -f conftest.$ac_objext
20195 if { (ac_try="$ac_compile"
20196 case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20199 esac
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_compile") 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } && {
20208 test -z "$ac_c_werror_flag" ||
20209 test ! -s conftest.err
20210 } && test -s conftest.$ac_objext; then
20211 ac_lo=$ac_mid; break
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 ac_hi=`expr '(' $ac_mid ')' - 1`
20217 if test $ac_mid -le $ac_hi; then
20218 ac_lo= ac_hi=
20219 break
20220 fi
20221 ac_mid=`expr 2 '*' $ac_mid`
20222 fi
20223
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 done
20226 else
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.$ac_ext >&5
20229
20230 ac_lo= ac_hi=
20231 fi
20232
20233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 # Binary search between lo and hi bounds.
20238 while test "x$ac_lo" != "x$ac_hi"; do
20239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef void * ac__type_sizeof_;
20248 int
20249 main ()
20250 {
20251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20252 test_array [0] = 0
20253
20254 ;
20255 return 0;
20256 }
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (ac_try="$ac_compile"
20260 case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20263 esac
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_compile") 2>conftest.er1
20266 ac_status=$?
20267 grep -v '^ *+' conftest.er1 >conftest.err
20268 rm -f conftest.er1
20269 cat conftest.err >&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); } && {
20272 test -z "$ac_c_werror_flag" ||
20273 test ! -s conftest.err
20274 } && test -s conftest.$ac_objext; then
20275 ac_hi=$ac_mid
20276 else
20277 echo "$as_me: failed program was:" >&5
20278 sed 's/^/| /' conftest.$ac_ext >&5
20279
20280 ac_lo=`expr '(' $ac_mid ')' + 1`
20281 fi
20282
20283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20284 done
20285 case $ac_lo in
20286 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20287 '') if test "$ac_cv_type_void_p" = yes; then
20288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20289 See \`config.log' for more details." >&5
20290 echo "$as_me: error: cannot compute sizeof (void *)
20291 See \`config.log' for more details." >&2;}
20292 { (exit 77); exit 77; }; }
20293 else
20294 ac_cv_sizeof_void_p=0
20295 fi ;;
20296 esac
20297 else
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 $ac_includes_default
20305 typedef void * ac__type_sizeof_;
20306 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20307 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20308 #include <stdio.h>
20309 #include <stdlib.h>
20310 int
20311 main ()
20312 {
20313
20314 FILE *f = fopen ("conftest.val", "w");
20315 if (! f)
20316 return 1;
20317 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20318 {
20319 long int i = longval ();
20320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20321 return 1;
20322 fprintf (f, "%ld\n", i);
20323 }
20324 else
20325 {
20326 unsigned long int i = ulongval ();
20327 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20328 return 1;
20329 fprintf (f, "%lu\n", i);
20330 }
20331 return ferror (f) || fclose (f) != 0;
20332
20333 ;
20334 return 0;
20335 }
20336 _ACEOF
20337 rm -f conftest$ac_exeext
20338 if { (ac_try="$ac_link"
20339 case "(($ac_try" in
20340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20341 *) ac_try_echo=$ac_try;;
20342 esac
20343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20344 (eval "$ac_link") 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20348 { (case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20351 esac
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_try") 2>&5
20354 ac_status=$?
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_cv_sizeof_void_p=`cat conftest.val`
20358 else
20359 echo "$as_me: program exited with status $ac_status" >&5
20360 echo "$as_me: failed program was:" >&5
20361 sed 's/^/| /' conftest.$ac_ext >&5
20362
20363 ( exit $ac_status )
20364 if test "$ac_cv_type_void_p" = yes; then
20365 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20366 See \`config.log' for more details." >&5
20367 echo "$as_me: error: cannot compute sizeof (void *)
20368 See \`config.log' for more details." >&2;}
20369 { (exit 77); exit 77; }; }
20370 else
20371 ac_cv_sizeof_void_p=0
20372 fi
20373 fi
20374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20375 fi
20376 rm -f conftest.val
20377 fi
20378 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20379 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20380
20381
20382
20383 cat >>confdefs.h <<_ACEOF
20384 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20385 _ACEOF
20386
20387
20388 { echo "$as_me:$LINENO: checking for int" >&5
20389 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20390 if test "${ac_cv_type_int+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 else
20393 cat >conftest.$ac_ext <<_ACEOF
20394 /* confdefs.h. */
20395 _ACEOF
20396 cat confdefs.h >>conftest.$ac_ext
20397 cat >>conftest.$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 $ac_includes_default
20400 typedef int ac__type_new_;
20401 int
20402 main ()
20403 {
20404 if ((ac__type_new_ *) 0)
20405 return 0;
20406 if (sizeof (ac__type_new_))
20407 return 0;
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 rm -f conftest.$ac_objext
20413 if { (ac_try="$ac_compile"
20414 case "(($ac_try" in
20415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20417 esac
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_compile") 2>conftest.er1
20420 ac_status=$?
20421 grep -v '^ *+' conftest.er1 >conftest.err
20422 rm -f conftest.er1
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } && {
20426 test -z "$ac_c_werror_flag" ||
20427 test ! -s conftest.err
20428 } && test -s conftest.$ac_objext; then
20429 ac_cv_type_int=yes
20430 else
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20433
20434 ac_cv_type_int=no
20435 fi
20436
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 fi
20439 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20440 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20441
20442 # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { echo "$as_me:$LINENO: checking size of int" >&5
20447 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20448 if test "${ac_cv_sizeof_int+set}" = set; then
20449 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 else
20451 if test "$cross_compiling" = yes; then
20452 # Depending upon the size, compute the lo and hi bounds.
20453 cat >conftest.$ac_ext <<_ACEOF
20454 /* confdefs.h. */
20455 _ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h. */
20459 $ac_includes_default
20460 typedef int ac__type_sizeof_;
20461 int
20462 main ()
20463 {
20464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20465 test_array [0] = 0
20466
20467 ;
20468 return 0;
20469 }
20470 _ACEOF
20471 rm -f conftest.$ac_objext
20472 if { (ac_try="$ac_compile"
20473 case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20476 esac
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_compile") 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } && {
20485 test -z "$ac_c_werror_flag" ||
20486 test ! -s conftest.err
20487 } && test -s conftest.$ac_objext; then
20488 ac_lo=0 ac_mid=0
20489 while :; do
20490 cat >conftest.$ac_ext <<_ACEOF
20491 /* confdefs.h. */
20492 _ACEOF
20493 cat confdefs.h >>conftest.$ac_ext
20494 cat >>conftest.$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 $ac_includes_default
20497 typedef int ac__type_sizeof_;
20498 int
20499 main ()
20500 {
20501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20502 test_array [0] = 0
20503
20504 ;
20505 return 0;
20506 }
20507 _ACEOF
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.$ac_objext; then
20525 ac_hi=$ac_mid; break
20526 else
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20529
20530 ac_lo=`expr $ac_mid + 1`
20531 if test $ac_lo -le $ac_mid; then
20532 ac_lo= ac_hi=
20533 break
20534 fi
20535 ac_mid=`expr 2 '*' $ac_mid + 1`
20536 fi
20537
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 done
20540 else
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.$ac_ext >&5
20543
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef int ac__type_sizeof_;
20552 int
20553 main ()
20554 {
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20556 test_array [0] = 0
20557
20558 ;
20559 return 0;
20560 }
20561 _ACEOF
20562 rm -f conftest.$ac_objext
20563 if { (ac_try="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20567 esac
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20570 ac_status=$?
20571 grep -v '^ *+' conftest.er1 >conftest.err
20572 rm -f conftest.er1
20573 cat conftest.err >&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } && {
20576 test -z "$ac_c_werror_flag" ||
20577 test ! -s conftest.err
20578 } && test -s conftest.$ac_objext; then
20579 ac_hi=-1 ac_mid=-1
20580 while :; do
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h. */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20588 typedef int ac__type_sizeof_;
20589 int
20590 main ()
20591 {
20592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20593 test_array [0] = 0
20594
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (ac_try="$ac_compile"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20604 esac
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_compile") 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest.$ac_objext; then
20616 ac_lo=$ac_mid; break
20617 else
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20620
20621 ac_hi=`expr '(' $ac_mid ')' - 1`
20622 if test $ac_mid -le $ac_hi; then
20623 ac_lo= ac_hi=
20624 break
20625 fi
20626 ac_mid=`expr 2 '*' $ac_mid`
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 done
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 ac_lo= ac_hi=
20636 fi
20637
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639 fi
20640
20641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20642 # Binary search between lo and hi bounds.
20643 while test "x$ac_lo" != "x$ac_hi"; do
20644 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20645 cat >conftest.$ac_ext <<_ACEOF
20646 /* confdefs.h. */
20647 _ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651 $ac_includes_default
20652 typedef int ac__type_sizeof_;
20653 int
20654 main ()
20655 {
20656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20657 test_array [0] = 0
20658
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668 esac
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } && {
20677 test -z "$ac_c_werror_flag" ||
20678 test ! -s conftest.err
20679 } && test -s conftest.$ac_objext; then
20680 ac_hi=$ac_mid
20681 else
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20684
20685 ac_lo=`expr '(' $ac_mid ')' + 1`
20686 fi
20687
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20689 done
20690 case $ac_lo in
20691 ?*) ac_cv_sizeof_int=$ac_lo;;
20692 '') if test "$ac_cv_type_int" = yes; then
20693 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20694 See \`config.log' for more details." >&5
20695 echo "$as_me: error: cannot compute sizeof (int)
20696 See \`config.log' for more details." >&2;}
20697 { (exit 77); exit 77; }; }
20698 else
20699 ac_cv_sizeof_int=0
20700 fi ;;
20701 esac
20702 else
20703 cat >conftest.$ac_ext <<_ACEOF
20704 /* confdefs.h. */
20705 _ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 $ac_includes_default
20710 typedef int ac__type_sizeof_;
20711 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20712 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20713 #include <stdio.h>
20714 #include <stdlib.h>
20715 int
20716 main ()
20717 {
20718
20719 FILE *f = fopen ("conftest.val", "w");
20720 if (! f)
20721 return 1;
20722 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20723 {
20724 long int i = longval ();
20725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20726 return 1;
20727 fprintf (f, "%ld\n", i);
20728 }
20729 else
20730 {
20731 unsigned long int i = ulongval ();
20732 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20733 return 1;
20734 fprintf (f, "%lu\n", i);
20735 }
20736 return ferror (f) || fclose (f) != 0;
20737
20738 ;
20739 return 0;
20740 }
20741 _ACEOF
20742 rm -f conftest$ac_exeext
20743 if { (ac_try="$ac_link"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_link") 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20753 { (case "(($ac_try" in
20754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20756 esac
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_try") 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; }; then
20762 ac_cv_sizeof_int=`cat conftest.val`
20763 else
20764 echo "$as_me: program exited with status $ac_status" >&5
20765 echo "$as_me: failed program was:" >&5
20766 sed 's/^/| /' conftest.$ac_ext >&5
20767
20768 ( exit $ac_status )
20769 if test "$ac_cv_type_int" = yes; then
20770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20771 See \`config.log' for more details." >&5
20772 echo "$as_me: error: cannot compute sizeof (int)
20773 See \`config.log' for more details." >&2;}
20774 { (exit 77); exit 77; }; }
20775 else
20776 ac_cv_sizeof_int=0
20777 fi
20778 fi
20779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20780 fi
20781 rm -f conftest.val
20782 fi
20783 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20784 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20785
20786
20787
20788 cat >>confdefs.h <<_ACEOF
20789 #define SIZEOF_INT $ac_cv_sizeof_int
20790 _ACEOF
20791
20792
20793 { echo "$as_me:$LINENO: checking for long" >&5
20794 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20795 if test "${ac_cv_type_long+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 else
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 typedef long ac__type_new_;
20806 int
20807 main ()
20808 {
20809 if ((ac__type_new_ *) 0)
20810 return 0;
20811 if (sizeof (ac__type_new_))
20812 return 0;
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20822 esac
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20825 ac_status=$?
20826 grep -v '^ *+' conftest.er1 >conftest.err
20827 rm -f conftest.er1
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20834 ac_cv_type_long=yes
20835 else
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.$ac_ext >&5
20838
20839 ac_cv_type_long=no
20840 fi
20841
20842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 fi
20844 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20845 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20846
20847 # The cast to long int works around a bug in the HP C Compiler
20848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20850 # This bug is HP SR number 8606223364.
20851 { echo "$as_me:$LINENO: checking size of long" >&5
20852 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20853 if test "${ac_cv_sizeof_long+set}" = set; then
20854 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 else
20856 if test "$cross_compiling" = yes; then
20857 # Depending upon the size, compute the lo and hi bounds.
20858 cat >conftest.$ac_ext <<_ACEOF
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 $ac_includes_default
20865 typedef long ac__type_sizeof_;
20866 int
20867 main ()
20868 {
20869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20870 test_array [0] = 0
20871
20872 ;
20873 return 0;
20874 }
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20881 esac
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 ac_lo=0 ac_mid=0
20894 while :; do
20895 cat >conftest.$ac_ext <<_ACEOF
20896 /* confdefs.h. */
20897 _ACEOF
20898 cat confdefs.h >>conftest.$ac_ext
20899 cat >>conftest.$ac_ext <<_ACEOF
20900 /* end confdefs.h. */
20901 $ac_includes_default
20902 typedef long ac__type_sizeof_;
20903 int
20904 main ()
20905 {
20906 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20907 test_array [0] = 0
20908
20909 ;
20910 return 0;
20911 }
20912 _ACEOF
20913 rm -f conftest.$ac_objext
20914 if { (ac_try="$ac_compile"
20915 case "(($ac_try" in
20916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20917 *) ac_try_echo=$ac_try;;
20918 esac
20919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20920 (eval "$ac_compile") 2>conftest.er1
20921 ac_status=$?
20922 grep -v '^ *+' conftest.er1 >conftest.err
20923 rm -f conftest.er1
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } && {
20927 test -z "$ac_c_werror_flag" ||
20928 test ! -s conftest.err
20929 } && test -s conftest.$ac_objext; then
20930 ac_hi=$ac_mid; break
20931 else
20932 echo "$as_me: failed program was:" >&5
20933 sed 's/^/| /' conftest.$ac_ext >&5
20934
20935 ac_lo=`expr $ac_mid + 1`
20936 if test $ac_lo -le $ac_mid; then
20937 ac_lo= ac_hi=
20938 break
20939 fi
20940 ac_mid=`expr 2 '*' $ac_mid + 1`
20941 fi
20942
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944 done
20945 else
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20948
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 $ac_includes_default
20956 typedef long ac__type_sizeof_;
20957 int
20958 main ()
20959 {
20960 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20961 test_array [0] = 0
20962
20963 ;
20964 return 0;
20965 }
20966 _ACEOF
20967 rm -f conftest.$ac_objext
20968 if { (ac_try="$ac_compile"
20969 case "(($ac_try" in
20970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20971 *) ac_try_echo=$ac_try;;
20972 esac
20973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20974 (eval "$ac_compile") 2>conftest.er1
20975 ac_status=$?
20976 grep -v '^ *+' conftest.er1 >conftest.err
20977 rm -f conftest.er1
20978 cat conftest.err >&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } && {
20981 test -z "$ac_c_werror_flag" ||
20982 test ! -s conftest.err
20983 } && test -s conftest.$ac_objext; then
20984 ac_hi=-1 ac_mid=-1
20985 while :; do
20986 cat >conftest.$ac_ext <<_ACEOF
20987 /* confdefs.h. */
20988 _ACEOF
20989 cat confdefs.h >>conftest.$ac_ext
20990 cat >>conftest.$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20992 $ac_includes_default
20993 typedef long ac__type_sizeof_;
20994 int
20995 main ()
20996 {
20997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20998 test_array [0] = 0
20999
21000 ;
21001 return 0;
21002 }
21003 _ACEOF
21004 rm -f conftest.$ac_objext
21005 if { (ac_try="$ac_compile"
21006 case "(($ac_try" in
21007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21008 *) ac_try_echo=$ac_try;;
21009 esac
21010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21011 (eval "$ac_compile") 2>conftest.er1
21012 ac_status=$?
21013 grep -v '^ *+' conftest.er1 >conftest.err
21014 rm -f conftest.er1
21015 cat conftest.err >&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); } && {
21018 test -z "$ac_c_werror_flag" ||
21019 test ! -s conftest.err
21020 } && test -s conftest.$ac_objext; then
21021 ac_lo=$ac_mid; break
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21025
21026 ac_hi=`expr '(' $ac_mid ')' - 1`
21027 if test $ac_mid -le $ac_hi; then
21028 ac_lo= ac_hi=
21029 break
21030 fi
21031 ac_mid=`expr 2 '*' $ac_mid`
21032 fi
21033
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 done
21036 else
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ac_lo= ac_hi=
21041 fi
21042
21043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21044 fi
21045
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 # Binary search between lo and hi bounds.
21048 while test "x$ac_lo" != "x$ac_hi"; do
21049 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21050 cat >conftest.$ac_ext <<_ACEOF
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 typedef long ac__type_sizeof_;
21058 int
21059 main ()
21060 {
21061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21062 test_array [0] = 0
21063
21064 ;
21065 return 0;
21066 }
21067 _ACEOF
21068 rm -f conftest.$ac_objext
21069 if { (ac_try="$ac_compile"
21070 case "(($ac_try" in
21071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21072 *) ac_try_echo=$ac_try;;
21073 esac
21074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21075 (eval "$ac_compile") 2>conftest.er1
21076 ac_status=$?
21077 grep -v '^ *+' conftest.er1 >conftest.err
21078 rm -f conftest.er1
21079 cat conftest.err >&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); } && {
21082 test -z "$ac_c_werror_flag" ||
21083 test ! -s conftest.err
21084 } && test -s conftest.$ac_objext; then
21085 ac_hi=$ac_mid
21086 else
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.$ac_ext >&5
21089
21090 ac_lo=`expr '(' $ac_mid ')' + 1`
21091 fi
21092
21093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21094 done
21095 case $ac_lo in
21096 ?*) ac_cv_sizeof_long=$ac_lo;;
21097 '') if test "$ac_cv_type_long" = yes; then
21098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21099 See \`config.log' for more details." >&5
21100 echo "$as_me: error: cannot compute sizeof (long)
21101 See \`config.log' for more details." >&2;}
21102 { (exit 77); exit 77; }; }
21103 else
21104 ac_cv_sizeof_long=0
21105 fi ;;
21106 esac
21107 else
21108 cat >conftest.$ac_ext <<_ACEOF
21109 /* confdefs.h. */
21110 _ACEOF
21111 cat confdefs.h >>conftest.$ac_ext
21112 cat >>conftest.$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21115 typedef long ac__type_sizeof_;
21116 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21117 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21118 #include <stdio.h>
21119 #include <stdlib.h>
21120 int
21121 main ()
21122 {
21123
21124 FILE *f = fopen ("conftest.val", "w");
21125 if (! f)
21126 return 1;
21127 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21128 {
21129 long int i = longval ();
21130 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21131 return 1;
21132 fprintf (f, "%ld\n", i);
21133 }
21134 else
21135 {
21136 unsigned long int i = ulongval ();
21137 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21138 return 1;
21139 fprintf (f, "%lu\n", i);
21140 }
21141 return ferror (f) || fclose (f) != 0;
21142
21143 ;
21144 return 0;
21145 }
21146 _ACEOF
21147 rm -f conftest$ac_exeext
21148 if { (ac_try="$ac_link"
21149 case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21152 esac
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_link") 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21158 { (case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21161 esac
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_try") 2>&5
21164 ac_status=$?
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_cv_sizeof_long=`cat conftest.val`
21168 else
21169 echo "$as_me: program exited with status $ac_status" >&5
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.$ac_ext >&5
21172
21173 ( exit $ac_status )
21174 if test "$ac_cv_type_long" = yes; then
21175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21176 See \`config.log' for more details." >&5
21177 echo "$as_me: error: cannot compute sizeof (long)
21178 See \`config.log' for more details." >&2;}
21179 { (exit 77); exit 77; }; }
21180 else
21181 ac_cv_sizeof_long=0
21182 fi
21183 fi
21184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21185 fi
21186 rm -f conftest.val
21187 fi
21188 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21189 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21190
21191
21192
21193 cat >>confdefs.h <<_ACEOF
21194 #define SIZEOF_LONG $ac_cv_sizeof_long
21195 _ACEOF
21196
21197
21198 { echo "$as_me:$LINENO: checking for size_t" >&5
21199 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21200 if test "${ac_cv_type_size_t+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 typedef size_t ac__type_new_;
21211 int
21212 main ()
21213 {
21214 if ((ac__type_new_ *) 0)
21215 return 0;
21216 if (sizeof (ac__type_new_))
21217 return 0;
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (ac_try="$ac_compile"
21224 case "(($ac_try" in
21225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21226 *) ac_try_echo=$ac_try;;
21227 esac
21228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229 (eval "$ac_compile") 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest.$ac_objext; then
21239 ac_cv_type_size_t=yes
21240 else
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21243
21244 ac_cv_type_size_t=no
21245 fi
21246
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 fi
21249 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21250 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21251
21252 # The cast to long int works around a bug in the HP C Compiler
21253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21255 # This bug is HP SR number 8606223364.
21256 { echo "$as_me:$LINENO: checking size of size_t" >&5
21257 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21258 if test "${ac_cv_sizeof_size_t+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 else
21261 if test "$cross_compiling" = yes; then
21262 # Depending upon the size, compute the lo and hi bounds.
21263 cat >conftest.$ac_ext <<_ACEOF
21264 /* confdefs.h. */
21265 _ACEOF
21266 cat confdefs.h >>conftest.$ac_ext
21267 cat >>conftest.$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21269 $ac_includes_default
21270 typedef size_t ac__type_sizeof_;
21271 int
21272 main ()
21273 {
21274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21275 test_array [0] = 0
21276
21277 ;
21278 return 0;
21279 }
21280 _ACEOF
21281 rm -f conftest.$ac_objext
21282 if { (ac_try="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21286 esac
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21289 ac_status=$?
21290 grep -v '^ *+' conftest.er1 >conftest.err
21291 rm -f conftest.er1
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21298 ac_lo=0 ac_mid=0
21299 while :; do
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef size_t ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=$ac_mid; break
21336 else
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21339
21340 ac_lo=`expr $ac_mid + 1`
21341 if test $ac_lo -le $ac_mid; then
21342 ac_lo= ac_hi=
21343 break
21344 fi
21345 ac_mid=`expr 2 '*' $ac_mid + 1`
21346 fi
21347
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 done
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef size_t ac__type_sizeof_;
21362 int
21363 main ()
21364 {
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21366 test_array [0] = 0
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_hi=-1 ac_mid=-1
21390 while :; do
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef size_t ac__type_sizeof_;
21399 int
21400 main ()
21401 {
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21403 test_array [0] = 0
21404
21405 ;
21406 return 0;
21407 }
21408 _ACEOF
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 ac_lo=$ac_mid; break
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 ac_hi=`expr '(' $ac_mid ')' - 1`
21432 if test $ac_mid -le $ac_hi; then
21433 ac_lo= ac_hi=
21434 break
21435 fi
21436 ac_mid=`expr 2 '*' $ac_mid`
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 done
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ac_lo= ac_hi=
21446 fi
21447
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 fi
21450
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 # Binary search between lo and hi bounds.
21453 while test "x$ac_lo" != "x$ac_hi"; do
21454 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h. */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21462 typedef size_t ac__type_sizeof_;
21463 int
21464 main ()
21465 {
21466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21467 test_array [0] = 0
21468
21469 ;
21470 return 0;
21471 }
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21478 esac
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 ac_hi=$ac_mid
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 ac_lo=`expr '(' $ac_mid ')' + 1`
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 done
21500 case $ac_lo in
21501 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21502 '') if test "$ac_cv_type_size_t" = yes; then
21503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21504 See \`config.log' for more details." >&5
21505 echo "$as_me: error: cannot compute sizeof (size_t)
21506 See \`config.log' for more details." >&2;}
21507 { (exit 77); exit 77; }; }
21508 else
21509 ac_cv_sizeof_size_t=0
21510 fi ;;
21511 esac
21512 else
21513 cat >conftest.$ac_ext <<_ACEOF
21514 /* confdefs.h. */
21515 _ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 typedef size_t ac__type_sizeof_;
21521 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21522 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 #include <stdio.h>
21524 #include <stdlib.h>
21525 int
21526 main ()
21527 {
21528
21529 FILE *f = fopen ("conftest.val", "w");
21530 if (! f)
21531 return 1;
21532 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21533 {
21534 long int i = longval ();
21535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21536 return 1;
21537 fprintf (f, "%ld\n", i);
21538 }
21539 else
21540 {
21541 unsigned long int i = ulongval ();
21542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21543 return 1;
21544 fprintf (f, "%lu\n", i);
21545 }
21546 return ferror (f) || fclose (f) != 0;
21547
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 rm -f conftest$ac_exeext
21553 if { (ac_try="$ac_link"
21554 case "(($ac_try" in
21555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21556 *) ac_try_echo=$ac_try;;
21557 esac
21558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21559 (eval "$ac_link") 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21563 { (case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21566 esac
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_try") 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_sizeof_size_t=`cat conftest.val`
21573 else
21574 echo "$as_me: program exited with status $ac_status" >&5
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21577
21578 ( exit $ac_status )
21579 if test "$ac_cv_type_size_t" = yes; then
21580 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21581 See \`config.log' for more details." >&5
21582 echo "$as_me: error: cannot compute sizeof (size_t)
21583 See \`config.log' for more details." >&2;}
21584 { (exit 77); exit 77; }; }
21585 else
21586 ac_cv_sizeof_size_t=0
21587 fi
21588 fi
21589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21590 fi
21591 rm -f conftest.val
21592 fi
21593 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21594 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21595
21596
21597
21598 cat >>confdefs.h <<_ACEOF
21599 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21600 _ACEOF
21601
21602
21603
21604 case "${host}" in
21605 arm-*-linux* )
21606 { echo "$as_me:$LINENO: checking for long long" >&5
21607 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21608 if test "${ac_cv_type_long_long+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 else
21611 cat >conftest.$ac_ext <<_ACEOF
21612 /* confdefs.h. */
21613 _ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_new_;
21619 int
21620 main ()
21621 {
21622 if ((ac__type_new_ *) 0)
21623 return 0;
21624 if (sizeof (ac__type_new_))
21625 return 0;
21626 ;
21627 return 0;
21628 }
21629 _ACEOF
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21635 esac
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21638 ac_status=$?
21639 grep -v '^ *+' conftest.er1 >conftest.err
21640 rm -f conftest.er1
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21647 ac_cv_type_long_long=yes
21648 else
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21651
21652 ac_cv_type_long_long=no
21653 fi
21654
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 fi
21657 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21658 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21659
21660 # The cast to long int works around a bug in the HP C Compiler
21661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21663 # This bug is HP SR number 8606223364.
21664 { echo "$as_me:$LINENO: checking size of long long" >&5
21665 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21666 if test "${ac_cv_sizeof_long_long+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669 if test "$cross_compiling" = yes; then
21670 # Depending upon the size, compute the lo and hi bounds.
21671 cat >conftest.$ac_ext <<_ACEOF
21672 /* confdefs.h. */
21673 _ACEOF
21674 cat confdefs.h >>conftest.$ac_ext
21675 cat >>conftest.$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef long long ac__type_sizeof_;
21679 int
21680 main ()
21681 {
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21683 test_array [0] = 0
21684
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 rm -f conftest.$ac_objext
21690 if { (ac_try="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21694 esac
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21706 ac_lo=0 ac_mid=0
21707 while :; do
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef long long ac__type_sizeof_;
21716 int
21717 main ()
21718 {
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21720 test_array [0] = 0
21721
21722 ;
21723 return 0;
21724 }
21725 _ACEOF
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21730 *) ac_try_echo=$ac_try;;
21731 esac
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.$ac_objext; then
21743 ac_hi=$ac_mid; break
21744 else
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.$ac_ext >&5
21747
21748 ac_lo=`expr $ac_mid + 1`
21749 if test $ac_lo -le $ac_mid; then
21750 ac_lo= ac_hi=
21751 break
21752 fi
21753 ac_mid=`expr 2 '*' $ac_mid + 1`
21754 fi
21755
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 done
21758 else
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21761
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef long long ac__type_sizeof_;
21770 int
21771 main ()
21772 {
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21774 test_array [0] = 0
21775
21776 ;
21777 return 0;
21778 }
21779 _ACEOF
21780 rm -f conftest.$ac_objext
21781 if { (ac_try="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21785 esac
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21797 ac_hi=-1 ac_mid=-1
21798 while :; do
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef long long ac__type_sizeof_;
21807 int
21808 main ()
21809 {
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21811 test_array [0] = 0
21812
21813 ;
21814 return 0;
21815 }
21816 _ACEOF
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21821 *) ac_try_echo=$ac_try;;
21822 esac
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21825 ac_status=$?
21826 grep -v '^ *+' conftest.er1 >conftest.err
21827 rm -f conftest.er1
21828 cat conftest.err >&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.$ac_objext; then
21834 ac_lo=$ac_mid; break
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ac_hi=`expr '(' $ac_mid ')' - 1`
21840 if test $ac_mid -le $ac_hi; then
21841 ac_lo= ac_hi=
21842 break
21843 fi
21844 ac_mid=`expr 2 '*' $ac_mid`
21845 fi
21846
21847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21848 done
21849 else
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.$ac_ext >&5
21852
21853 ac_lo= ac_hi=
21854 fi
21855
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 # Binary search between lo and hi bounds.
21861 while test "x$ac_lo" != "x$ac_hi"; do
21862 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef long long ac__type_sizeof_;
21871 int
21872 main ()
21873 {
21874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21875 test_array [0] = 0
21876
21877 ;
21878 return 0;
21879 }
21880 _ACEOF
21881 rm -f conftest.$ac_objext
21882 if { (ac_try="$ac_compile"
21883 case "(($ac_try" in
21884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21885 *) ac_try_echo=$ac_try;;
21886 esac
21887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21888 (eval "$ac_compile") 2>conftest.er1
21889 ac_status=$?
21890 grep -v '^ *+' conftest.er1 >conftest.err
21891 rm -f conftest.er1
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && {
21895 test -z "$ac_c_werror_flag" ||
21896 test ! -s conftest.err
21897 } && test -s conftest.$ac_objext; then
21898 ac_hi=$ac_mid
21899 else
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 ac_lo=`expr '(' $ac_mid ')' + 1`
21904 fi
21905
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 done
21908 case $ac_lo in
21909 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21910 '') if test "$ac_cv_type_long_long" = yes; then
21911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21912 See \`config.log' for more details." >&5
21913 echo "$as_me: error: cannot compute sizeof (long long)
21914 See \`config.log' for more details." >&2;}
21915 { (exit 77); exit 77; }; }
21916 else
21917 ac_cv_sizeof_long_long=0
21918 fi ;;
21919 esac
21920 else
21921 cat >conftest.$ac_ext <<_ACEOF
21922 /* confdefs.h. */
21923 _ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef long long ac__type_sizeof_;
21929 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdio.h>
21932 #include <stdlib.h>
21933 int
21934 main ()
21935 {
21936
21937 FILE *f = fopen ("conftest.val", "w");
21938 if (! f)
21939 return 1;
21940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 {
21942 long int i = longval ();
21943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 return 1;
21945 fprintf (f, "%ld\n", i);
21946 }
21947 else
21948 {
21949 unsigned long int i = ulongval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 return 1;
21952 fprintf (f, "%lu\n", i);
21953 }
21954 return ferror (f) || fclose (f) != 0;
21955
21956 ;
21957 return 0;
21958 }
21959 _ACEOF
21960 rm -f conftest$ac_exeext
21961 if { (ac_try="$ac_link"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21965 esac
21966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_link") 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21974 esac
21975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_try") 2>&5
21977 ac_status=$?
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_sizeof_long_long=`cat conftest.val`
21981 else
21982 echo "$as_me: program exited with status $ac_status" >&5
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 ( exit $ac_status )
21987 if test "$ac_cv_type_long_long" = yes; then
21988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21989 See \`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (long long)
21991 See \`config.log' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21993 else
21994 ac_cv_sizeof_long_long=0
21995 fi
21996 fi
21997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21998 fi
21999 rm -f conftest.val
22000 fi
22001 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22002 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22003
22004
22005
22006 cat >>confdefs.h <<_ACEOF
22007 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22008 _ACEOF
22009
22010
22011 ;;
22012 *-hp-hpux* )
22013 { echo "$as_me:$LINENO: checking for long long" >&5
22014 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22015 if test "${ac_cv_type_long_long+set}" = set; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 else
22018 cat >conftest.$ac_ext <<_ACEOF
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22025 typedef long long ac__type_new_;
22026 int
22027 main ()
22028 {
22029 if ((ac__type_new_ *) 0)
22030 return 0;
22031 if (sizeof (ac__type_new_))
22032 return 0;
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest.$ac_objext
22038 if { (ac_try="$ac_compile"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22042 esac
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_compile") 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } && {
22051 test -z "$ac_c_werror_flag" ||
22052 test ! -s conftest.err
22053 } && test -s conftest.$ac_objext; then
22054 ac_cv_type_long_long=yes
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_cv_type_long_long=no
22060 fi
22061
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 fi
22064 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22065 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22066
22067 # The cast to long int works around a bug in the HP C Compiler
22068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22070 # This bug is HP SR number 8606223364.
22071 { echo "$as_me:$LINENO: checking size of long long" >&5
22072 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22073 if test "${ac_cv_sizeof_long_long+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076 if test "$cross_compiling" = yes; then
22077 # Depending upon the size, compute the lo and hi bounds.
22078 cat >conftest.$ac_ext <<_ACEOF
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long long ac__type_sizeof_;
22086 int
22087 main ()
22088 {
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22090 test_array [0] = 0
22091
22092 ;
22093 return 0;
22094 }
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (ac_try="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22101 esac
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22104 ac_status=$?
22105 grep -v '^ *+' conftest.er1 >conftest.err
22106 rm -f conftest.er1
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22113 ac_lo=0 ac_mid=0
22114 while :; do
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long long ac__type_sizeof_;
22123 int
22124 main ()
22125 {
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 test_array [0] = 0
22128
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_hi=$ac_mid; break
22151 else
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22154
22155 ac_lo=`expr $ac_mid + 1`
22156 if test $ac_lo -le $ac_mid; then
22157 ac_lo= ac_hi=
22158 break
22159 fi
22160 ac_mid=`expr 2 '*' $ac_mid + 1`
22161 fi
22162
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 done
22165 else
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 cat >conftest.$ac_ext <<_ACEOF
22170 /* confdefs.h. */
22171 _ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 $ac_includes_default
22176 typedef long long ac__type_sizeof_;
22177 int
22178 main ()
22179 {
22180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22181 test_array [0] = 0
22182
22183 ;
22184 return 0;
22185 }
22186 _ACEOF
22187 rm -f conftest.$ac_objext
22188 if { (ac_try="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22192 esac
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22195 ac_status=$?
22196 grep -v '^ *+' conftest.er1 >conftest.err
22197 rm -f conftest.er1
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest.$ac_objext; then
22204 ac_hi=-1 ac_mid=-1
22205 while :; do
22206 cat >conftest.$ac_ext <<_ACEOF
22207 /* confdefs.h. */
22208 _ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 $ac_includes_default
22213 typedef long long ac__type_sizeof_;
22214 int
22215 main ()
22216 {
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22218 test_array [0] = 0
22219
22220 ;
22221 return 0;
22222 }
22223 _ACEOF
22224 rm -f conftest.$ac_objext
22225 if { (ac_try="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22229 esac
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22232 ac_status=$?
22233 grep -v '^ *+' conftest.er1 >conftest.err
22234 rm -f conftest.er1
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22241 ac_lo=$ac_mid; break
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ac_hi=`expr '(' $ac_mid ')' - 1`
22247 if test $ac_mid -le $ac_hi; then
22248 ac_lo= ac_hi=
22249 break
22250 fi
22251 ac_mid=`expr 2 '*' $ac_mid`
22252 fi
22253
22254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22255 done
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 ac_lo= ac_hi=
22261 fi
22262
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 # Binary search between lo and hi bounds.
22268 while test "x$ac_lo" != "x$ac_hi"; do
22269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22270 cat >conftest.$ac_ext <<_ACEOF
22271 /* confdefs.h. */
22272 _ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22276 $ac_includes_default
22277 typedef long long ac__type_sizeof_;
22278 int
22279 main ()
22280 {
22281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22282 test_array [0] = 0
22283
22284 ;
22285 return 0;
22286 }
22287 _ACEOF
22288 rm -f conftest.$ac_objext
22289 if { (ac_try="$ac_compile"
22290 case "(($ac_try" in
22291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22292 *) ac_try_echo=$ac_try;;
22293 esac
22294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22295 (eval "$ac_compile") 2>conftest.er1
22296 ac_status=$?
22297 grep -v '^ *+' conftest.er1 >conftest.err
22298 rm -f conftest.er1
22299 cat conftest.err >&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } && {
22302 test -z "$ac_c_werror_flag" ||
22303 test ! -s conftest.err
22304 } && test -s conftest.$ac_objext; then
22305 ac_hi=$ac_mid
22306 else
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22309
22310 ac_lo=`expr '(' $ac_mid ')' + 1`
22311 fi
22312
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314 done
22315 case $ac_lo in
22316 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22317 '') if test "$ac_cv_type_long_long" = yes; then
22318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22319 See \`config.log' for more details." >&5
22320 echo "$as_me: error: cannot compute sizeof (long long)
22321 See \`config.log' for more details." >&2;}
22322 { (exit 77); exit 77; }; }
22323 else
22324 ac_cv_sizeof_long_long=0
22325 fi ;;
22326 esac
22327 else
22328 cat >conftest.$ac_ext <<_ACEOF
22329 /* confdefs.h. */
22330 _ACEOF
22331 cat confdefs.h >>conftest.$ac_ext
22332 cat >>conftest.$ac_ext <<_ACEOF
22333 /* end confdefs.h. */
22334 $ac_includes_default
22335 typedef long long ac__type_sizeof_;
22336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22338 #include <stdio.h>
22339 #include <stdlib.h>
22340 int
22341 main ()
22342 {
22343
22344 FILE *f = fopen ("conftest.val", "w");
22345 if (! f)
22346 return 1;
22347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22348 {
22349 long int i = longval ();
22350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22351 return 1;
22352 fprintf (f, "%ld\n", i);
22353 }
22354 else
22355 {
22356 unsigned long int i = ulongval ();
22357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22358 return 1;
22359 fprintf (f, "%lu\n", i);
22360 }
22361 return ferror (f) || fclose (f) != 0;
22362
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 rm -f conftest$ac_exeext
22368 if { (ac_try="$ac_link"
22369 case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22372 esac
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_link") 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22378 { (case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_try") 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 ac_cv_sizeof_long_long=`cat conftest.val`
22388 else
22389 echo "$as_me: program exited with status $ac_status" >&5
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 ( exit $ac_status )
22394 if test "$ac_cv_type_long_long" = yes; then
22395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22396 See \`config.log' for more details." >&5
22397 echo "$as_me: error: cannot compute sizeof (long long)
22398 See \`config.log' for more details." >&2;}
22399 { (exit 77); exit 77; }; }
22400 else
22401 ac_cv_sizeof_long_long=0
22402 fi
22403 fi
22404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22405 fi
22406 rm -f conftest.val
22407 fi
22408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22409 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22410
22411
22412
22413 cat >>confdefs.h <<_ACEOF
22414 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22415 _ACEOF
22416
22417
22418 if test "$ac_cv_sizeof_long_long" != 0; then
22419 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22420 fi
22421 ;;
22422 * )
22423 { echo "$as_me:$LINENO: checking for long long" >&5
22424 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22425 if test "${ac_cv_type_long_long+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 else
22428 cat >conftest.$ac_ext <<_ACEOF
22429 /* confdefs.h. */
22430 _ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 $ac_includes_default
22435 typedef long long ac__type_new_;
22436 int
22437 main ()
22438 {
22439 if ((ac__type_new_ *) 0)
22440 return 0;
22441 if (sizeof (ac__type_new_))
22442 return 0;
22443 ;
22444 return 0;
22445 }
22446 _ACEOF
22447 rm -f conftest.$ac_objext
22448 if { (ac_try="$ac_compile"
22449 case "(($ac_try" in
22450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22451 *) ac_try_echo=$ac_try;;
22452 esac
22453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22454 (eval "$ac_compile") 2>conftest.er1
22455 ac_status=$?
22456 grep -v '^ *+' conftest.er1 >conftest.err
22457 rm -f conftest.er1
22458 cat conftest.err >&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } && {
22461 test -z "$ac_c_werror_flag" ||
22462 test ! -s conftest.err
22463 } && test -s conftest.$ac_objext; then
22464 ac_cv_type_long_long=yes
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 ac_cv_type_long_long=no
22470 fi
22471
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 fi
22474 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22475 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22476
22477 # The cast to long int works around a bug in the HP C Compiler
22478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22480 # This bug is HP SR number 8606223364.
22481 { echo "$as_me:$LINENO: checking size of long long" >&5
22482 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22483 if test "${ac_cv_sizeof_long_long+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 else
22486 if test "$cross_compiling" = yes; then
22487 # Depending upon the size, compute the lo and hi bounds.
22488 cat >conftest.$ac_ext <<_ACEOF
22489 /* confdefs.h. */
22490 _ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 $ac_includes_default
22495 typedef long long ac__type_sizeof_;
22496 int
22497 main ()
22498 {
22499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22500 test_array [0] = 0
22501
22502 ;
22503 return 0;
22504 }
22505 _ACEOF
22506 rm -f conftest.$ac_objext
22507 if { (ac_try="$ac_compile"
22508 case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22511 esac
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_compile") 2>conftest.er1
22514 ac_status=$?
22515 grep -v '^ *+' conftest.er1 >conftest.err
22516 rm -f conftest.er1
22517 cat conftest.err >&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } && {
22520 test -z "$ac_c_werror_flag" ||
22521 test ! -s conftest.err
22522 } && test -s conftest.$ac_objext; then
22523 ac_lo=0 ac_mid=0
22524 while :; do
22525 cat >conftest.$ac_ext <<_ACEOF
22526 /* confdefs.h. */
22527 _ACEOF
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h. */
22531 $ac_includes_default
22532 typedef long long ac__type_sizeof_;
22533 int
22534 main ()
22535 {
22536 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22537 test_array [0] = 0
22538
22539 ;
22540 return 0;
22541 }
22542 _ACEOF
22543 rm -f conftest.$ac_objext
22544 if { (ac_try="$ac_compile"
22545 case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22548 esac
22549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22550 (eval "$ac_compile") 2>conftest.er1
22551 ac_status=$?
22552 grep -v '^ *+' conftest.er1 >conftest.err
22553 rm -f conftest.er1
22554 cat conftest.err >&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } && {
22557 test -z "$ac_c_werror_flag" ||
22558 test ! -s conftest.err
22559 } && test -s conftest.$ac_objext; then
22560 ac_hi=$ac_mid; break
22561 else
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22564
22565 ac_lo=`expr $ac_mid + 1`
22566 if test $ac_lo -le $ac_mid; then
22567 ac_lo= ac_hi=
22568 break
22569 fi
22570 ac_mid=`expr 2 '*' $ac_mid + 1`
22571 fi
22572
22573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574 done
22575 else
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */
22581 _ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 $ac_includes_default
22586 typedef long long ac__type_sizeof_;
22587 int
22588 main ()
22589 {
22590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22591 test_array [0] = 0
22592
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22602 esac
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22605 ac_status=$?
22606 grep -v '^ *+' conftest.er1 >conftest.err
22607 rm -f conftest.er1
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } && {
22611 test -z "$ac_c_werror_flag" ||
22612 test ! -s conftest.err
22613 } && test -s conftest.$ac_objext; then
22614 ac_hi=-1 ac_mid=-1
22615 while :; do
22616 cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h. */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef long long ac__type_sizeof_;
22624 int
22625 main ()
22626 {
22627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22628 test_array [0] = 0
22629
22630 ;
22631 return 0;
22632 }
22633 _ACEOF
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22642 ac_status=$?
22643 grep -v '^ *+' conftest.er1 >conftest.err
22644 rm -f conftest.er1
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } && {
22648 test -z "$ac_c_werror_flag" ||
22649 test ! -s conftest.err
22650 } && test -s conftest.$ac_objext; then
22651 ac_lo=$ac_mid; break
22652 else
22653 echo "$as_me: failed program was:" >&5
22654 sed 's/^/| /' conftest.$ac_ext >&5
22655
22656 ac_hi=`expr '(' $ac_mid ')' - 1`
22657 if test $ac_mid -le $ac_hi; then
22658 ac_lo= ac_hi=
22659 break
22660 fi
22661 ac_mid=`expr 2 '*' $ac_mid`
22662 fi
22663
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 done
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22669
22670 ac_lo= ac_hi=
22671 fi
22672
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 fi
22675
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 # Binary search between lo and hi bounds.
22678 while test "x$ac_lo" != "x$ac_hi"; do
22679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22680 cat >conftest.$ac_ext <<_ACEOF
22681 /* confdefs.h. */
22682 _ACEOF
22683 cat confdefs.h >>conftest.$ac_ext
22684 cat >>conftest.$ac_ext <<_ACEOF
22685 /* end confdefs.h. */
22686 $ac_includes_default
22687 typedef long long ac__type_sizeof_;
22688 int
22689 main ()
22690 {
22691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22692 test_array [0] = 0
22693
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 rm -f conftest.$ac_objext
22699 if { (ac_try="$ac_compile"
22700 case "(($ac_try" in
22701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22702 *) ac_try_echo=$ac_try;;
22703 esac
22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22705 (eval "$ac_compile") 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } && {
22712 test -z "$ac_c_werror_flag" ||
22713 test ! -s conftest.err
22714 } && test -s conftest.$ac_objext; then
22715 ac_hi=$ac_mid
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 ac_lo=`expr '(' $ac_mid ')' + 1`
22721 fi
22722
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 done
22725 case $ac_lo in
22726 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22727 '') if test "$ac_cv_type_long_long" = yes; then
22728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22729 See \`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (long long)
22731 See \`config.log' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22733 else
22734 ac_cv_sizeof_long_long=0
22735 fi ;;
22736 esac
22737 else
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef long long ac__type_sizeof_;
22746 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22747 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22748 #include <stdio.h>
22749 #include <stdlib.h>
22750 int
22751 main ()
22752 {
22753
22754 FILE *f = fopen ("conftest.val", "w");
22755 if (! f)
22756 return 1;
22757 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22758 {
22759 long int i = longval ();
22760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22761 return 1;
22762 fprintf (f, "%ld\n", i);
22763 }
22764 else
22765 {
22766 unsigned long int i = ulongval ();
22767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 return 1;
22769 fprintf (f, "%lu\n", i);
22770 }
22771 return ferror (f) || fclose (f) != 0;
22772
22773 ;
22774 return 0;
22775 }
22776 _ACEOF
22777 rm -f conftest$ac_exeext
22778 if { (ac_try="$ac_link"
22779 case "(($ac_try" in
22780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22782 esac
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_link") 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22788 { (case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22791 esac
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_try") 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; }; then
22797 ac_cv_sizeof_long_long=`cat conftest.val`
22798 else
22799 echo "$as_me: program exited with status $ac_status" >&5
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.$ac_ext >&5
22802
22803 ( exit $ac_status )
22804 if test "$ac_cv_type_long_long" = yes; then
22805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22806 See \`config.log' for more details." >&5
22807 echo "$as_me: error: cannot compute sizeof (long long)
22808 See \`config.log' for more details." >&2;}
22809 { (exit 77); exit 77; }; }
22810 else
22811 ac_cv_sizeof_long_long=0
22812 fi
22813 fi
22814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22815 fi
22816 rm -f conftest.val
22817 fi
22818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22819 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22820
22821
22822
22823 cat >>confdefs.h <<_ACEOF
22824 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22825 _ACEOF
22826
22827
22828 esac
22829
22830 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22831 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22832 if test "${ac_cv_type_wchar_t+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 else
22835 cat >conftest.$ac_ext <<_ACEOF
22836 /* confdefs.h. */
22837 _ACEOF
22838 cat confdefs.h >>conftest.$ac_ext
22839 cat >>conftest.$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841
22842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22844 # error "fake wchar_t"
22845 #endif
22846 #ifdef HAVE_WCHAR_H
22847 # ifdef __CYGWIN__
22848 # include <stddef.h>
22849 # endif
22850 # include <wchar.h>
22851 #endif
22852 #ifdef HAVE_STDLIB_H
22853 # include <stdlib.h>
22854 #endif
22855 #include <stdio.h>
22856
22857
22858
22859 typedef wchar_t ac__type_new_;
22860 int
22861 main ()
22862 {
22863 if ((ac__type_new_ *) 0)
22864 return 0;
22865 if (sizeof (ac__type_new_))
22866 return 0;
22867 ;
22868 return 0;
22869 }
22870 _ACEOF
22871 rm -f conftest.$ac_objext
22872 if { (ac_try="$ac_compile"
22873 case "(($ac_try" in
22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22875 *) ac_try_echo=$ac_try;;
22876 esac
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22878 (eval "$ac_compile") 2>conftest.er1
22879 ac_status=$?
22880 grep -v '^ *+' conftest.er1 >conftest.err
22881 rm -f conftest.er1
22882 cat conftest.err >&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } && {
22885 test -z "$ac_c_werror_flag" ||
22886 test ! -s conftest.err
22887 } && test -s conftest.$ac_objext; then
22888 ac_cv_type_wchar_t=yes
22889 else
22890 echo "$as_me: failed program was:" >&5
22891 sed 's/^/| /' conftest.$ac_ext >&5
22892
22893 ac_cv_type_wchar_t=no
22894 fi
22895
22896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 fi
22898 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22899 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22900
22901 # The cast to long int works around a bug in the HP C Compiler
22902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22904 # This bug is HP SR number 8606223364.
22905 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22906 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22907 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 else
22910 if test "$cross_compiling" = yes; then
22911 # Depending upon the size, compute the lo and hi bounds.
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918
22919 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22920 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22921 # error "fake wchar_t"
22922 #endif
22923 #ifdef HAVE_WCHAR_H
22924 # ifdef __CYGWIN__
22925 # include <stddef.h>
22926 # endif
22927 # include <wchar.h>
22928 #endif
22929 #ifdef HAVE_STDLIB_H
22930 # include <stdlib.h>
22931 #endif
22932 #include <stdio.h>
22933
22934
22935
22936 typedef wchar_t ac__type_sizeof_;
22937 int
22938 main ()
22939 {
22940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22941 test_array [0] = 0
22942
22943 ;
22944 return 0;
22945 }
22946 _ACEOF
22947 rm -f conftest.$ac_objext
22948 if { (ac_try="$ac_compile"
22949 case "(($ac_try" in
22950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22951 *) ac_try_echo=$ac_try;;
22952 esac
22953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22954 (eval "$ac_compile") 2>conftest.er1
22955 ac_status=$?
22956 grep -v '^ *+' conftest.er1 >conftest.err
22957 rm -f conftest.er1
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && {
22961 test -z "$ac_c_werror_flag" ||
22962 test ! -s conftest.err
22963 } && test -s conftest.$ac_objext; then
22964 ac_lo=0 ac_mid=0
22965 while :; do
22966 cat >conftest.$ac_ext <<_ACEOF
22967 /* confdefs.h. */
22968 _ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972
22973 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22974 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22975 # error "fake wchar_t"
22976 #endif
22977 #ifdef HAVE_WCHAR_H
22978 # ifdef __CYGWIN__
22979 # include <stddef.h>
22980 # endif
22981 # include <wchar.h>
22982 #endif
22983 #ifdef HAVE_STDLIB_H
22984 # include <stdlib.h>
22985 #endif
22986 #include <stdio.h>
22987
22988
22989
22990 typedef wchar_t ac__type_sizeof_;
22991 int
22992 main ()
22993 {
22994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22995 test_array [0] = 0
22996
22997 ;
22998 return 0;
22999 }
23000 _ACEOF
23001 rm -f conftest.$ac_objext
23002 if { (ac_try="$ac_compile"
23003 case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23006 esac
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_compile") 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } && {
23015 test -z "$ac_c_werror_flag" ||
23016 test ! -s conftest.err
23017 } && test -s conftest.$ac_objext; then
23018 ac_hi=$ac_mid; break
23019 else
23020 echo "$as_me: failed program was:" >&5
23021 sed 's/^/| /' conftest.$ac_ext >&5
23022
23023 ac_lo=`expr $ac_mid + 1`
23024 if test $ac_lo -le $ac_mid; then
23025 ac_lo= ac_hi=
23026 break
23027 fi
23028 ac_mid=`expr 2 '*' $ac_mid + 1`
23029 fi
23030
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032 done
23033 else
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23036
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043
23044 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23045 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23046 # error "fake wchar_t"
23047 #endif
23048 #ifdef HAVE_WCHAR_H
23049 # ifdef __CYGWIN__
23050 # include <stddef.h>
23051 # endif
23052 # include <wchar.h>
23053 #endif
23054 #ifdef HAVE_STDLIB_H
23055 # include <stdlib.h>
23056 #endif
23057 #include <stdio.h>
23058
23059
23060
23061 typedef wchar_t ac__type_sizeof_;
23062 int
23063 main ()
23064 {
23065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23066 test_array [0] = 0
23067
23068 ;
23069 return 0;
23070 }
23071 _ACEOF
23072 rm -f conftest.$ac_objext
23073 if { (ac_try="$ac_compile"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23077 esac
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_compile") 2>conftest.er1
23080 ac_status=$?
23081 grep -v '^ *+' conftest.er1 >conftest.err
23082 rm -f conftest.er1
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && {
23086 test -z "$ac_c_werror_flag" ||
23087 test ! -s conftest.err
23088 } && test -s conftest.$ac_objext; then
23089 ac_hi=-1 ac_mid=-1
23090 while :; do
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h. */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097
23098 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23099 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23100 # error "fake wchar_t"
23101 #endif
23102 #ifdef HAVE_WCHAR_H
23103 # ifdef __CYGWIN__
23104 # include <stddef.h>
23105 # endif
23106 # include <wchar.h>
23107 #endif
23108 #ifdef HAVE_STDLIB_H
23109 # include <stdlib.h>
23110 #endif
23111 #include <stdio.h>
23112
23113
23114
23115 typedef wchar_t ac__type_sizeof_;
23116 int
23117 main ()
23118 {
23119 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23120 test_array [0] = 0
23121
23122 ;
23123 return 0;
23124 }
23125 _ACEOF
23126 rm -f conftest.$ac_objext
23127 if { (ac_try="$ac_compile"
23128 case "(($ac_try" in
23129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23130 *) ac_try_echo=$ac_try;;
23131 esac
23132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23133 (eval "$ac_compile") 2>conftest.er1
23134 ac_status=$?
23135 grep -v '^ *+' conftest.er1 >conftest.err
23136 rm -f conftest.er1
23137 cat conftest.err >&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } && {
23140 test -z "$ac_c_werror_flag" ||
23141 test ! -s conftest.err
23142 } && test -s conftest.$ac_objext; then
23143 ac_lo=$ac_mid; break
23144 else
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23147
23148 ac_hi=`expr '(' $ac_mid ')' - 1`
23149 if test $ac_mid -le $ac_hi; then
23150 ac_lo= ac_hi=
23151 break
23152 fi
23153 ac_mid=`expr 2 '*' $ac_mid`
23154 fi
23155
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23157 done
23158 else
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.$ac_ext >&5
23161
23162 ac_lo= ac_hi=
23163 fi
23164
23165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23166 fi
23167
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 # Binary search between lo and hi bounds.
23170 while test "x$ac_lo" != "x$ac_hi"; do
23171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23172 cat >conftest.$ac_ext <<_ACEOF
23173 /* confdefs.h. */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178
23179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23181 # error "fake wchar_t"
23182 #endif
23183 #ifdef HAVE_WCHAR_H
23184 # ifdef __CYGWIN__
23185 # include <stddef.h>
23186 # endif
23187 # include <wchar.h>
23188 #endif
23189 #ifdef HAVE_STDLIB_H
23190 # include <stdlib.h>
23191 #endif
23192 #include <stdio.h>
23193
23194
23195
23196 typedef wchar_t ac__type_sizeof_;
23197 int
23198 main ()
23199 {
23200 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23201 test_array [0] = 0
23202
23203 ;
23204 return 0;
23205 }
23206 _ACEOF
23207 rm -f conftest.$ac_objext
23208 if { (ac_try="$ac_compile"
23209 case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212 esac
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_compile") 2>conftest.er1
23215 ac_status=$?
23216 grep -v '^ *+' conftest.er1 >conftest.err
23217 rm -f conftest.er1
23218 cat conftest.err >&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && {
23221 test -z "$ac_c_werror_flag" ||
23222 test ! -s conftest.err
23223 } && test -s conftest.$ac_objext; then
23224 ac_hi=$ac_mid
23225 else
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23228
23229 ac_lo=`expr '(' $ac_mid ')' + 1`
23230 fi
23231
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 done
23234 case $ac_lo in
23235 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23236 '') if test "$ac_cv_type_wchar_t" = yes; then
23237 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23238 See \`config.log' for more details." >&5
23239 echo "$as_me: error: cannot compute sizeof (wchar_t)
23240 See \`config.log' for more details." >&2;}
23241 { (exit 77); exit 77; }; }
23242 else
23243 ac_cv_sizeof_wchar_t=0
23244 fi ;;
23245 esac
23246 else
23247 cat >conftest.$ac_ext <<_ACEOF
23248 /* confdefs.h. */
23249 _ACEOF
23250 cat confdefs.h >>conftest.$ac_ext
23251 cat >>conftest.$ac_ext <<_ACEOF
23252 /* end confdefs.h. */
23253
23254 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23255 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23256 # error "fake wchar_t"
23257 #endif
23258 #ifdef HAVE_WCHAR_H
23259 # ifdef __CYGWIN__
23260 # include <stddef.h>
23261 # endif
23262 # include <wchar.h>
23263 #endif
23264 #ifdef HAVE_STDLIB_H
23265 # include <stdlib.h>
23266 #endif
23267 #include <stdio.h>
23268
23269
23270
23271 typedef wchar_t ac__type_sizeof_;
23272 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23273 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 #include <stdio.h>
23275 #include <stdlib.h>
23276 int
23277 main ()
23278 {
23279
23280 FILE *f = fopen ("conftest.val", "w");
23281 if (! f)
23282 return 1;
23283 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23284 {
23285 long int i = longval ();
23286 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23287 return 1;
23288 fprintf (f, "%ld\n", i);
23289 }
23290 else
23291 {
23292 unsigned long int i = ulongval ();
23293 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23294 return 1;
23295 fprintf (f, "%lu\n", i);
23296 }
23297 return ferror (f) || fclose (f) != 0;
23298
23299 ;
23300 return 0;
23301 }
23302 _ACEOF
23303 rm -f conftest$ac_exeext
23304 if { (ac_try="$ac_link"
23305 case "(($ac_try" in
23306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23307 *) ac_try_echo=$ac_try;;
23308 esac
23309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23310 (eval "$ac_link") 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23314 { (case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23317 esac
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_try") 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; }; then
23323 ac_cv_sizeof_wchar_t=`cat conftest.val`
23324 else
23325 echo "$as_me: program exited with status $ac_status" >&5
23326 echo "$as_me: failed program was:" >&5
23327 sed 's/^/| /' conftest.$ac_ext >&5
23328
23329 ( exit $ac_status )
23330 if test "$ac_cv_type_wchar_t" = yes; then
23331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23332 See \`config.log' for more details." >&5
23333 echo "$as_me: error: cannot compute sizeof (wchar_t)
23334 See \`config.log' for more details." >&2;}
23335 { (exit 77); exit 77; }; }
23336 else
23337 ac_cv_sizeof_wchar_t=0
23338 fi
23339 fi
23340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23341 fi
23342 rm -f conftest.val
23343 fi
23344 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23345 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23346
23347
23348
23349 cat >>confdefs.h <<_ACEOF
23350 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23351 _ACEOF
23352
23353
23354 if test "$ac_cv_sizeof_wchar_t" != 0; then
23355 wxUSE_WCHAR_T=yes
23356 else
23357 wxUSE_WCHAR_T=no
23358 fi
23359
23360 { echo "$as_me:$LINENO: checking for va_copy" >&5
23361 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23362 if test "${wx_cv_func_va_copy+set}" = set; then
23363 echo $ECHO_N "(cached) $ECHO_C" >&6
23364 else
23365
23366 ac_ext=cpp
23367 ac_cpp='$CXXCPP $CPPFLAGS'
23368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371
23372 cat >conftest.$ac_ext <<_ACEOF
23373
23374 #include <stdarg.h>
23375 void foo(char *f, ...)
23376 {
23377 va_list ap1, ap2;
23378 va_start(ap1, f);
23379 va_copy(ap2, ap1);
23380 va_end(ap2);
23381 va_end(ap1);
23382 }
23383 int main()
23384 {
23385 foo("hi", 17);
23386 return 0;
23387 }
23388 _ACEOF
23389 rm -f conftest.$ac_objext conftest$ac_exeext
23390 if { (ac_try="$ac_link"
23391 case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393 *) ac_try_echo=$ac_try;;
23394 esac
23395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396 (eval "$ac_link") 2>conftest.er1
23397 ac_status=$?
23398 grep -v '^ *+' conftest.er1 >conftest.err
23399 rm -f conftest.er1
23400 cat conftest.err >&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && {
23403 test -z "$ac_cxx_werror_flag" ||
23404 test ! -s conftest.err
23405 } && test -s conftest$ac_exeext &&
23406 $as_test_x conftest$ac_exeext; then
23407 wx_cv_func_va_copy=yes
23408 else
23409 echo "$as_me: failed program was:" >&5
23410 sed 's/^/| /' conftest.$ac_ext >&5
23411
23412 wx_cv_func_va_copy=no
23413
23414 fi
23415
23416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23417 conftest$ac_exeext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425
23426 fi
23427 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23428 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23429
23430 if test $wx_cv_func_va_copy = "yes"; then
23431 cat >>confdefs.h <<\_ACEOF
23432 #define HAVE_VA_COPY 1
23433 _ACEOF
23434
23435 else
23436 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23437 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23438 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 else
23441
23442 if test "$cross_compiling" = yes; then
23443 wx_cv_type_va_list_lvalue=yes
23444
23445 else
23446 cat >conftest.$ac_ext <<_ACEOF
23447
23448 #include <stdarg.h>
23449 int foo(char *f, ...)
23450 {
23451 va_list ap1, ap2;
23452 va_start(ap1, f);
23453 ap2 = ap1;
23454 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23455 return 1;
23456 va_end(ap2);
23457 va_end(ap1);
23458 return 0;
23459 }
23460 int main()
23461 {
23462 return foo("hi", 17);
23463 }
23464 _ACEOF
23465 rm -f conftest$ac_exeext
23466 if { (ac_try="$ac_link"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23470 esac
23471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_link") 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23476 { (case "(($ac_try" in
23477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23478 *) ac_try_echo=$ac_try;;
23479 esac
23480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23481 (eval "$ac_try") 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 wx_cv_type_va_list_lvalue=yes
23486 else
23487 echo "$as_me: program exited with status $ac_status" >&5
23488 echo "$as_me: failed program was:" >&5
23489 sed 's/^/| /' conftest.$ac_ext >&5
23490
23491 ( exit $ac_status )
23492 wx_cv_type_va_list_lvalue=no
23493 fi
23494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23495 fi
23496
23497
23498
23499
23500 fi
23501 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23502 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23503
23504 if test $wx_cv_type_va_list_lvalue != "yes"; then
23505 cat >>confdefs.h <<\_ACEOF
23506 #define VA_LIST_IS_ARRAY 1
23507 _ACEOF
23508
23509 fi
23510 fi
23511
23512 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23513
23514 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23515 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23516 if test "${wx_cv_have_variadic_macros+set}" = set; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23518 else
23519
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532
23533 #include <stdio.h>
23534 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23535
23536 int
23537 main ()
23538 {
23539
23540 test("%s %d %p", "test", 1, 0);
23541
23542
23543 ;
23544 return 0;
23545 }
23546 _ACEOF
23547 rm -f conftest.$ac_objext
23548 if { (ac_try="$ac_compile"
23549 case "(($ac_try" in
23550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23551 *) ac_try_echo=$ac_try;;
23552 esac
23553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23554 (eval "$ac_compile") 2>conftest.er1
23555 ac_status=$?
23556 grep -v '^ *+' conftest.er1 >conftest.err
23557 rm -f conftest.er1
23558 cat conftest.err >&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); } && {
23561 test -z "$ac_cxx_werror_flag" ||
23562 test ! -s conftest.err
23563 } && test -s conftest.$ac_objext; then
23564 wx_cv_have_variadic_macros=yes
23565 else
23566 echo "$as_me: failed program was:" >&5
23567 sed 's/^/| /' conftest.$ac_ext >&5
23568
23569 wx_cv_have_variadic_macros=no
23570
23571 fi
23572
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579
23580
23581
23582 fi
23583 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23584 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23585
23586 if test $wx_cv_have_variadic_macros = "yes"; then
23587 cat >>confdefs.h <<\_ACEOF
23588 #define HAVE_VARIADIC_MACROS 1
23589 _ACEOF
23590
23591 fi
23592
23593 fi
23594
23595 LARGEFILE_CPPFLAGS=
23596 # Check whether --enable-largefile was given.
23597 if test "${enable_largefile+set}" = set; then
23598 enableval=$enable_largefile;
23599 fi
23600
23601 if test "$enable_largefile" != no; then
23602 wx_largefile=no
23603
23604 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23605 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23606 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23607 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 else
23609
23610 cat >conftest.$ac_ext <<_ACEOF
23611 /* confdefs.h. */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23616 #define _FILE_OFFSET_BITS 64
23617 #include <sys/types.h>
23618 int
23619 main ()
23620 {
23621 typedef struct {
23622 unsigned int field: sizeof(off_t) == 8;
23623 } wxlf;
23624
23625 ;
23626 return 0;
23627 }
23628 _ACEOF
23629 rm -f conftest.$ac_objext
23630 if { (ac_try="$ac_compile"
23631 case "(($ac_try" in
23632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23633 *) ac_try_echo=$ac_try;;
23634 esac
23635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23636 (eval "$ac_compile") 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } && {
23643 test -z "$ac_c_werror_flag" ||
23644 test ! -s conftest.err
23645 } && test -s conftest.$ac_objext; then
23646 ac_cv_sys_file_offset_bits=64
23647 else
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.$ac_ext >&5
23650
23651 ac_cv_sys_file_offset_bits=no
23652 fi
23653
23654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23655
23656
23657 fi
23658 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23659 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23660
23661 if test "$ac_cv_sys_file_offset_bits" != no; then
23662 wx_largefile=yes
23663 cat >>confdefs.h <<_ACEOF
23664 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23665 _ACEOF
23666
23667 fi
23668
23669 if test "x$wx_largefile" != "xyes"; then
23670
23671 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23672 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23673 if test "${ac_cv_sys_large_files+set}" = set; then
23674 echo $ECHO_N "(cached) $ECHO_C" >&6
23675 else
23676
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 #define _LARGE_FILES 1
23684 #include <sys/types.h>
23685 int
23686 main ()
23687 {
23688 typedef struct {
23689 unsigned int field: sizeof(off_t) == 8;
23690 } wxlf;
23691
23692 ;
23693 return 0;
23694 }
23695 _ACEOF
23696 rm -f conftest.$ac_objext
23697 if { (ac_try="$ac_compile"
23698 case "(($ac_try" in
23699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23700 *) ac_try_echo=$ac_try;;
23701 esac
23702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23703 (eval "$ac_compile") 2>conftest.er1
23704 ac_status=$?
23705 grep -v '^ *+' conftest.er1 >conftest.err
23706 rm -f conftest.er1
23707 cat conftest.err >&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); } && {
23710 test -z "$ac_c_werror_flag" ||
23711 test ! -s conftest.err
23712 } && test -s conftest.$ac_objext; then
23713 ac_cv_sys_large_files=1
23714 else
23715 echo "$as_me: failed program was:" >&5
23716 sed 's/^/| /' conftest.$ac_ext >&5
23717
23718 ac_cv_sys_large_files=no
23719 fi
23720
23721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23722
23723
23724 fi
23725 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23726 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23727
23728 if test "$ac_cv_sys_large_files" != no; then
23729 wx_largefile=yes
23730 cat >>confdefs.h <<_ACEOF
23731 #define _LARGE_FILES $ac_cv_sys_large_files
23732 _ACEOF
23733
23734 fi
23735
23736 fi
23737
23738 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23739 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23740 if test "x$wx_largefile" = "xyes"; then
23741 cat >>confdefs.h <<\_ACEOF
23742 #define HAVE_LARGEFILE_SUPPORT 1
23743 _ACEOF
23744
23745 fi
23746 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23747 echo "${ECHO_T}$wx_largefile" >&6; }
23748 fi
23749
23750 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23751 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23752 elif test "$ac_cv_sys_large_files" = 1; then
23753 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23754 fi
23755
23756 if test -n "$LARGEFILE_CPPFLAGS"; then
23757 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23758
23759 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23760 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23761 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23762 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23765
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771
23772 cat >conftest.$ac_ext <<_ACEOF
23773 /* confdefs.h. */
23774 _ACEOF
23775 cat confdefs.h >>conftest.$ac_ext
23776 cat >>conftest.$ac_ext <<_ACEOF
23777 /* end confdefs.h. */
23778
23779 int
23780 main ()
23781 {
23782
23783 #ifndef __STDC_EXT__
23784 choke me
23785 #endif
23786
23787 ;
23788 return 0;
23789 }
23790 _ACEOF
23791 rm -f conftest.$ac_objext
23792 if { (ac_try="$ac_compile"
23793 case "(($ac_try" in
23794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795 *) ac_try_echo=$ac_try;;
23796 esac
23797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23798 (eval "$ac_compile") 2>conftest.er1
23799 ac_status=$?
23800 grep -v '^ *+' conftest.er1 >conftest.err
23801 rm -f conftest.er1
23802 cat conftest.err >&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } && {
23805 test -z "$ac_cxx_werror_flag" ||
23806 test ! -s conftest.err
23807 } && test -s conftest.$ac_objext; then
23808 wx_cv_STDC_EXT_required=no
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23812
23813 wx_cv_STDC_EXT_required=yes
23814
23815 fi
23816
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 ac_ext=c
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23823
23824
23825
23826 fi
23827 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23828 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23829 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23830 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23831 fi
23832 fi
23833 fi
23834
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840
23841 old_CPPFLAGS="$CPPFLAGS"
23842 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23843 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23844 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23845 if test "${ac_cv_sys_largefile_source+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 else
23848 while :; do
23849 cat >conftest.$ac_ext <<_ACEOF
23850 /* confdefs.h. */
23851 _ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #include <sys/types.h> /* for off_t */
23856 #include <stdio.h>
23857 int
23858 main ()
23859 {
23860 int (*fp) (FILE *, off_t, int) = fseeko;
23861 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext conftest$ac_exeext
23867 if { (ac_try="$ac_link"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_link") 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_cxx_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest$ac_exeext &&
23883 $as_test_x conftest$ac_exeext; then
23884 ac_cv_sys_largefile_source=no; break
23885 else
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23888
23889
23890 fi
23891
23892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23893 conftest$ac_exeext conftest.$ac_ext
23894 cat >conftest.$ac_ext <<_ACEOF
23895 /* confdefs.h. */
23896 _ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 #define _LARGEFILE_SOURCE 1
23901 #include <sys/types.h> /* for off_t */
23902 #include <stdio.h>
23903 int
23904 main ()
23905 {
23906 int (*fp) (FILE *, off_t, int) = fseeko;
23907 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23908 ;
23909 return 0;
23910 }
23911 _ACEOF
23912 rm -f conftest.$ac_objext conftest$ac_exeext
23913 if { (ac_try="$ac_link"
23914 case "(($ac_try" in
23915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23916 *) ac_try_echo=$ac_try;;
23917 esac
23918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23919 (eval "$ac_link") 2>conftest.er1
23920 ac_status=$?
23921 grep -v '^ *+' conftest.er1 >conftest.err
23922 rm -f conftest.er1
23923 cat conftest.err >&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } && {
23926 test -z "$ac_cxx_werror_flag" ||
23927 test ! -s conftest.err
23928 } && test -s conftest$ac_exeext &&
23929 $as_test_x conftest$ac_exeext; then
23930 ac_cv_sys_largefile_source=1; break
23931 else
23932 echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23934
23935
23936 fi
23937
23938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23939 conftest$ac_exeext conftest.$ac_ext
23940 ac_cv_sys_largefile_source=unknown
23941 break
23942 done
23943 fi
23944 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23945 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23946 case $ac_cv_sys_largefile_source in #(
23947 no | unknown) ;;
23948 *)
23949 cat >>confdefs.h <<_ACEOF
23950 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23951 _ACEOF
23952 ;;
23953 esac
23954 rm -f conftest*
23955
23956 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23957 # in glibc 2.1.3, but that breaks too many other things.
23958 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23959 if test $ac_cv_sys_largefile_source != unknown; then
23960
23961 cat >>confdefs.h <<\_ACEOF
23962 #define HAVE_FSEEKO 1
23963 _ACEOF
23964
23965 fi
23966
23967 CPPFLAGS="$old_CPPFLAGS"
23968 ac_ext=c
23969 ac_cpp='$CPP $CPPFLAGS'
23970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973
23974 if test "$ac_cv_sys_largefile_source" != no; then
23975 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23976 fi
23977
23978 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23979 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23980 if test "${ac_cv_c_bigendian+set}" = set; then
23981 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 else
23983 ac_cv_c_bigendian=unknown
23984 # See if sys/param.h defines the BYTE_ORDER macro.
23985 cat >conftest.$ac_ext <<_ACEOF
23986 /* confdefs.h. */
23987 _ACEOF
23988 cat confdefs.h >>conftest.$ac_ext
23989 cat >>conftest.$ac_ext <<_ACEOF
23990 /* end confdefs.h. */
23991 #include <sys/types.h>
23992 #include <sys/param.h>
23993 int
23994 main ()
23995 {
23996
23997 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23998 bogus endian macros
23999 #endif
24000 ;
24001 return 0;
24002 }
24003 _ACEOF
24004 rm -f conftest.$ac_objext
24005 if { (ac_try="$ac_compile"
24006 case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24009 esac
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_compile") 2>conftest.er1
24012 ac_status=$?
24013 grep -v '^ *+' conftest.er1 >conftest.err
24014 rm -f conftest.er1
24015 cat conftest.err >&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } && {
24018 test -z "$ac_c_werror_flag" ||
24019 test ! -s conftest.err
24020 } && test -s conftest.$ac_objext; then
24021 # It does; now see whether it defined to BIG_ENDIAN or not.
24022 cat >conftest.$ac_ext <<_ACEOF
24023 /* confdefs.h. */
24024 _ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24028 #include <sys/types.h>
24029 #include <sys/param.h>
24030 int
24031 main ()
24032 {
24033
24034 #if BYTE_ORDER != BIG_ENDIAN
24035 not big endian
24036 #endif
24037 ;
24038 return 0;
24039 }
24040 _ACEOF
24041 rm -f conftest.$ac_objext
24042 if { (ac_try="$ac_compile"
24043 case "(($ac_try" in
24044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24045 *) ac_try_echo=$ac_try;;
24046 esac
24047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24049 ac_status=$?
24050 grep -v '^ *+' conftest.er1 >conftest.err
24051 rm -f conftest.er1
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_c_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.$ac_objext; then
24058 ac_cv_c_bigendian=yes
24059 else
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.$ac_ext >&5
24062
24063 ac_cv_c_bigendian=no
24064 fi
24065
24066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 else
24068 echo "$as_me: failed program was:" >&5
24069 sed 's/^/| /' conftest.$ac_ext >&5
24070
24071
24072 fi
24073
24074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24075 if test $ac_cv_c_bigendian = unknown; then
24076 if test "$cross_compiling" = yes; then
24077 ac_cv_c_bigendian=unknown
24078 else
24079 cat >conftest.$ac_ext <<_ACEOF
24080 /* confdefs.h. */
24081 _ACEOF
24082 cat confdefs.h >>conftest.$ac_ext
24083 cat >>conftest.$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 main () {
24086 /* Are we little or big endian? From Harbison&Steele. */
24087 union
24088 {
24089 long l;
24090 char c[sizeof (long)];
24091 } u;
24092 u.l = 1;
24093 exit (u.c[sizeof (long) - 1] == 1);
24094 }
24095 _ACEOF
24096 rm -f conftest$ac_exeext
24097 if { (ac_try="$ac_link"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24101 esac
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_link") 2>&5
24104 ac_status=$?
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24107 { (case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_try") 2>&5
24113 ac_status=$?
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); }; }; then
24116 ac_cv_c_bigendian=no
24117 else
24118 echo "$as_me: program exited with status $ac_status" >&5
24119 echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.$ac_ext >&5
24121
24122 ( exit $ac_status )
24123 ac_cv_c_bigendian=yes
24124 fi
24125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24126 fi
24127
24128
24129 fi
24130 fi
24131 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24132 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24133 if test $ac_cv_c_bigendian = unknown; then
24134 { 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
24135 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;}
24136 fi
24137 if test $ac_cv_c_bigendian = yes; then
24138 cat >>confdefs.h <<\_ACEOF
24139 #define WORDS_BIGENDIAN 1
24140 _ACEOF
24141
24142 fi
24143
24144
24145
24146
24147 ac_ext=cpp
24148 ac_cpp='$CXXCPP $CPPFLAGS'
24149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152
24153
24154
24155 for ac_header in iostream
24156 do
24157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24161 echo $ECHO_N "(cached) $ECHO_C" >&6
24162 else
24163 cat >conftest.$ac_ext <<_ACEOF
24164 /* confdefs.h. */
24165 _ACEOF
24166 cat confdefs.h >>conftest.$ac_ext
24167 cat >>conftest.$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24169
24170
24171 #include <$ac_header>
24172 _ACEOF
24173 rm -f conftest.$ac_objext
24174 if { (ac_try="$ac_compile"
24175 case "(($ac_try" in
24176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24177 *) ac_try_echo=$ac_try;;
24178 esac
24179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24180 (eval "$ac_compile") 2>conftest.er1
24181 ac_status=$?
24182 grep -v '^ *+' conftest.er1 >conftest.err
24183 rm -f conftest.er1
24184 cat conftest.err >&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && {
24187 test -z "$ac_cxx_werror_flag" ||
24188 test ! -s conftest.err
24189 } && test -s conftest.$ac_objext; then
24190 eval "$as_ac_Header=yes"
24191 else
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.$ac_ext >&5
24194
24195 eval "$as_ac_Header=no"
24196 fi
24197
24198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 fi
24200 ac_res=`eval echo '${'$as_ac_Header'}'`
24201 { echo "$as_me:$LINENO: result: $ac_res" >&5
24202 echo "${ECHO_T}$ac_res" >&6; }
24203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24204 cat >>confdefs.h <<_ACEOF
24205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24206 _ACEOF
24207
24208 fi
24209
24210 done
24211
24212
24213 if test "$ac_cv_header_iostream" = "yes" ; then
24214 :
24215 else
24216 cat >>confdefs.h <<\_ACEOF
24217 #define wxUSE_IOSTREAMH 1
24218 _ACEOF
24219
24220 fi
24221
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227
24228
24229
24230
24231 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24232 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24233 if test "${wx_cv_explicit+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 else
24236
24237
24238 ac_ext=cpp
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24243
24244
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251
24252 class Foo { public: explicit Foo(int) {} };
24253
24254 int
24255 main ()
24256 {
24257
24258 return 0;
24259
24260 ;
24261 return 0;
24262 }
24263 _ACEOF
24264 rm -f conftest.$ac_objext
24265 if { (ac_try="$ac_compile"
24266 case "(($ac_try" in
24267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24268 *) ac_try_echo=$ac_try;;
24269 esac
24270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24271 (eval "$ac_compile") 2>conftest.er1
24272 ac_status=$?
24273 grep -v '^ *+' conftest.er1 >conftest.err
24274 rm -f conftest.er1
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && {
24278 test -z "$ac_cxx_werror_flag" ||
24279 test ! -s conftest.err
24280 } && test -s conftest.$ac_objext; then
24281
24282 cat >conftest.$ac_ext <<_ACEOF
24283 /* confdefs.h. */
24284 _ACEOF
24285 cat confdefs.h >>conftest.$ac_ext
24286 cat >>conftest.$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24288
24289 class Foo { public: explicit Foo(int) {} };
24290 static void TakeFoo(const Foo& foo) { }
24291
24292 int
24293 main ()
24294 {
24295
24296 TakeFoo(17);
24297 return 0;
24298
24299 ;
24300 return 0;
24301 }
24302 _ACEOF
24303 rm -f conftest.$ac_objext
24304 if { (ac_try="$ac_compile"
24305 case "(($ac_try" in
24306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24307 *) ac_try_echo=$ac_try;;
24308 esac
24309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24310 (eval "$ac_compile") 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } && {
24317 test -z "$ac_cxx_werror_flag" ||
24318 test ! -s conftest.err
24319 } && test -s conftest.$ac_objext; then
24320 wx_cv_explicit=no
24321 else
24322 echo "$as_me: failed program was:" >&5
24323 sed 's/^/| /' conftest.$ac_ext >&5
24324
24325 wx_cv_explicit=yes
24326
24327 fi
24328
24329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24330
24331 else
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 wx_cv_explicit=no
24336
24337 fi
24338
24339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340
24341 ac_ext=c
24342 ac_cpp='$CPP $CPPFLAGS'
24343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24346
24347
24348 fi
24349 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24350 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24351
24352 if test "$wx_cv_explicit" = "yes"; then
24353 cat >>confdefs.h <<\_ACEOF
24354 #define HAVE_EXPLICIT 1
24355 _ACEOF
24356
24357 fi
24358
24359
24360 if test "x$SUNCXX" = xyes; then
24361 CXXFLAGS="-features=tmplife $CXXFLAGS"
24362 fi
24363
24364 if test "x$SUNCC" = xyes; then
24365 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24366 fi
24367
24368 if test "x$SGICC" = "xyes"; then
24369 CFLAGS="-woff 3970 $CFLAGS"
24370 fi
24371 if test "x$SGICXX" = "xyes"; then
24372 CXXFLAGS="-woff 3970 $CXXFLAGS"
24373 fi
24374
24375 if test "x$HPCC" = "xyes"; then
24376 CFLAGS="+W 2011,2450 $CFLAGS"
24377 fi
24378 if test "x$HPCXX" = "xyes"; then
24379 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24380 fi
24381
24382 if test "x$COMPAQCXX" = "xyes"; then
24383 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24384 fi
24385
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24391
24392
24393 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24394 if test "$wxUSE_UNICODE" = "yes"; then
24395 std_string="std::wstring"
24396 char_type="wchar_t"
24397 else
24398 std_string="std::string"
24399 char_type="char"
24400 fi
24401
24402 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24403 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24404 if test "${wx_cv_class_stdstring+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407
24408 cat >conftest.$ac_ext <<_ACEOF
24409 /* confdefs.h. */
24410 _ACEOF
24411 cat confdefs.h >>conftest.$ac_ext
24412 cat >>conftest.$ac_ext <<_ACEOF
24413 /* end confdefs.h. */
24414 #include <string>
24415 int
24416 main ()
24417 {
24418 $std_string foo;
24419 ;
24420 return 0;
24421 }
24422 _ACEOF
24423 rm -f conftest.$ac_objext
24424 if { (ac_try="$ac_compile"
24425 case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24428 esac
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_compile") 2>conftest.er1
24431 ac_status=$?
24432 grep -v '^ *+' conftest.er1 >conftest.err
24433 rm -f conftest.er1
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } && {
24437 test -z "$ac_cxx_werror_flag" ||
24438 test ! -s conftest.err
24439 } && test -s conftest.$ac_objext; then
24440 wx_cv_class_stdstring=yes
24441 else
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24444
24445 wx_cv_class_stdstring=no
24446
24447 fi
24448
24449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24450
24451
24452 fi
24453 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24454 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24455
24456 if test "$wx_cv_class_stdstring" = yes; then
24457 if test "$wxUSE_UNICODE" = "yes"; then
24458 cat >>confdefs.h <<\_ACEOF
24459 #define HAVE_STD_WSTRING 1
24460 _ACEOF
24461
24462 fi
24463 else
24464 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24465 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24466 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24468 else
24469
24470 cat >conftest.$ac_ext <<_ACEOF
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476
24477 #ifdef HAVE_WCHAR_H
24478 # ifdef __CYGWIN__
24479 # include <stddef.h>
24480 # endif
24481 # include <wchar.h>
24482 #endif
24483 #ifdef HAVE_STDLIB_H
24484 # include <stdlib.h>
24485 #endif
24486 #include <stdio.h>
24487 #include <string>
24488
24489 int
24490 main ()
24491 {
24492 std::basic_string<$char_type> foo;
24493 const $char_type* dummy = foo.c_str();
24494 ;
24495 return 0;
24496 }
24497 _ACEOF
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_cxx_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 wx_cv_class_stdbasicstring=yes
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 wx_cv_class_stdbasicstring=no
24521
24522 fi
24523
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525
24526
24527 fi
24528 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24529 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24530
24531 if test "$wx_cv_class_stdbasicstring" != yes; then
24532 if test "$wxUSE_STL" = "yes"; then
24533 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24534 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24535 { (exit 1); exit 1; }; }
24536 elif test "$wxUSE_STD_STRING" = "yes"; then
24537 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24538 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24539 { (exit 1); exit 1; }; }
24540 else
24541 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24542 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24543 wxUSE_STD_STRING=no
24544 fi
24545 fi
24546 fi
24547 fi
24548
24549 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24550 { echo "$as_me:$LINENO: checking for std::istream" >&5
24551 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24552 if test "${ac_cv_type_std__istream+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 else
24555 cat >conftest.$ac_ext <<_ACEOF
24556 /* confdefs.h. */
24557 _ACEOF
24558 cat confdefs.h >>conftest.$ac_ext
24559 cat >>conftest.$ac_ext <<_ACEOF
24560 /* end confdefs.h. */
24561 #include <iostream>
24562
24563 typedef std::istream ac__type_new_;
24564 int
24565 main ()
24566 {
24567 if ((ac__type_new_ *) 0)
24568 return 0;
24569 if (sizeof (ac__type_new_))
24570 return 0;
24571 ;
24572 return 0;
24573 }
24574 _ACEOF
24575 rm -f conftest.$ac_objext
24576 if { (ac_try="$ac_compile"
24577 case "(($ac_try" in
24578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24579 *) ac_try_echo=$ac_try;;
24580 esac
24581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24582 (eval "$ac_compile") 2>conftest.er1
24583 ac_status=$?
24584 grep -v '^ *+' conftest.er1 >conftest.err
24585 rm -f conftest.er1
24586 cat conftest.err >&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } && {
24589 test -z "$ac_cxx_werror_flag" ||
24590 test ! -s conftest.err
24591 } && test -s conftest.$ac_objext; then
24592 ac_cv_type_std__istream=yes
24593 else
24594 echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.$ac_ext >&5
24596
24597 ac_cv_type_std__istream=no
24598 fi
24599
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 fi
24602 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24603 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24604 if test $ac_cv_type_std__istream = yes; then
24605
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE_STD__ISTREAM 1
24608 _ACEOF
24609
24610
24611 else
24612 wxUSE_STD_IOSTREAM=no
24613 fi
24614 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24615 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24616 if test "${ac_cv_type_std__ostream+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 else
24619 cat >conftest.$ac_ext <<_ACEOF
24620 /* confdefs.h. */
24621 _ACEOF
24622 cat confdefs.h >>conftest.$ac_ext
24623 cat >>conftest.$ac_ext <<_ACEOF
24624 /* end confdefs.h. */
24625 #include <iostream>
24626
24627 typedef std::ostream ac__type_new_;
24628 int
24629 main ()
24630 {
24631 if ((ac__type_new_ *) 0)
24632 return 0;
24633 if (sizeof (ac__type_new_))
24634 return 0;
24635 ;
24636 return 0;
24637 }
24638 _ACEOF
24639 rm -f conftest.$ac_objext
24640 if { (ac_try="$ac_compile"
24641 case "(($ac_try" in
24642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24643 *) ac_try_echo=$ac_try;;
24644 esac
24645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24646 (eval "$ac_compile") 2>conftest.er1
24647 ac_status=$?
24648 grep -v '^ *+' conftest.er1 >conftest.err
24649 rm -f conftest.er1
24650 cat conftest.err >&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } && {
24653 test -z "$ac_cxx_werror_flag" ||
24654 test ! -s conftest.err
24655 } && test -s conftest.$ac_objext; then
24656 ac_cv_type_std__ostream=yes
24657 else
24658 echo "$as_me: failed program was:" >&5
24659 sed 's/^/| /' conftest.$ac_ext >&5
24660
24661 ac_cv_type_std__ostream=no
24662 fi
24663
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 fi
24666 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24667 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24668 if test $ac_cv_type_std__ostream = yes; then
24669
24670 cat >>confdefs.h <<_ACEOF
24671 #define HAVE_STD__OSTREAM 1
24672 _ACEOF
24673
24674
24675 else
24676 wxUSE_STD_IOSTREAM=no
24677 fi
24678
24679
24680 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24681 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24682 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24683 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24684 { (exit 1); exit 1; }; }
24685 else
24686 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24687 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24688 fi
24689 fi
24690 fi
24691
24692 if test "$wxUSE_STL" = "yes"; then
24693 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24694 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24695 if test "${wx_cv_lib_stl+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 else
24698 cat >conftest.$ac_ext <<_ACEOF
24699 /* confdefs.h. */
24700 _ACEOF
24701 cat confdefs.h >>conftest.$ac_ext
24702 cat >>conftest.$ac_ext <<_ACEOF
24703 /* end confdefs.h. */
24704 #include <string>
24705 #include <functional>
24706 #include <algorithm>
24707 #include <vector>
24708 #include <list>
24709 int
24710 main ()
24711 {
24712 std::vector<int> moo;
24713 std::list<int> foo;
24714 std::vector<int>::iterator it =
24715 std::find_if(moo.begin(), moo.end(),
24716 std::bind2nd(std::less<int>(), 3));
24717 ;
24718 return 0;
24719 }
24720 _ACEOF
24721 rm -f conftest.$ac_objext
24722 if { (ac_try="$ac_compile"
24723 case "(($ac_try" in
24724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24725 *) ac_try_echo=$ac_try;;
24726 esac
24727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24728 (eval "$ac_compile") 2>conftest.er1
24729 ac_status=$?
24730 grep -v '^ *+' conftest.er1 >conftest.err
24731 rm -f conftest.er1
24732 cat conftest.err >&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } && {
24735 test -z "$ac_cxx_werror_flag" ||
24736 test ! -s conftest.err
24737 } && test -s conftest.$ac_objext; then
24738 wx_cv_lib_stl=yes
24739 else
24740 echo "$as_me: failed program was:" >&5
24741 sed 's/^/| /' conftest.$ac_ext >&5
24742
24743 wx_cv_lib_stl=no
24744
24745 fi
24746
24747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24748
24749 fi
24750 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24751 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24752
24753 if test "$wx_cv_lib_stl" != yes; then
24754 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24755 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24756 { (exit 1); exit 1; }; }
24757 fi
24758
24759 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24760 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24761 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 cat >conftest.$ac_ext <<_ACEOF
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #include <string>
24771 int
24772 main ()
24773 {
24774 std::string foo, bar;
24775 foo.compare(bar);
24776 foo.compare(1, 1, bar);
24777 foo.compare(1, 1, bar, 1, 1);
24778 foo.compare("");
24779 foo.compare(1, 1, "");
24780 foo.compare(1, 1, "", 2);
24781 ;
24782 return 0;
24783 }
24784 _ACEOF
24785 rm -f conftest.$ac_objext
24786 if { (ac_try="$ac_compile"
24787 case "(($ac_try" in
24788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24789 *) ac_try_echo=$ac_try;;
24790 esac
24791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24792 (eval "$ac_compile") 2>conftest.er1
24793 ac_status=$?
24794 grep -v '^ *+' conftest.er1 >conftest.err
24795 rm -f conftest.er1
24796 cat conftest.err >&5
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); } && {
24799 test -z "$ac_cxx_werror_flag" ||
24800 test ! -s conftest.err
24801 } && test -s conftest.$ac_objext; then
24802 wx_cv_func_stdstring_compare=yes
24803 else
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24806
24807 wx_cv_func_stdstring_compare=no
24808
24809 fi
24810
24811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812
24813 fi
24814 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24815 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24816
24817 if test "$wx_cv_func_stdstring_compare" = yes; then
24818 cat >>confdefs.h <<\_ACEOF
24819 #define HAVE_STD_STRING_COMPARE 1
24820 _ACEOF
24821
24822 fi
24823
24824 if test "$wx_cv_class_gnuhashmapset" = yes; then
24825 cat >>confdefs.h <<\_ACEOF
24826 #define HAVE_EXT_HASH_MAP 1
24827 _ACEOF
24828
24829 cat >>confdefs.h <<\_ACEOF
24830 #define HAVE_GNU_CXX_HASH_MAP 1
24831 _ACEOF
24832
24833 fi
24834
24835 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24836 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24837 if test "${ac_cv_header_unordered_map+set}" = set; then
24838 echo $ECHO_N "(cached) $ECHO_C" >&6
24839 else
24840 cat >conftest.$ac_ext <<_ACEOF
24841 /* confdefs.h. */
24842 _ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846
24847
24848
24849 #include <unordered_map>
24850 _ACEOF
24851 rm -f conftest.$ac_objext
24852 if { (ac_try="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24856 esac
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24859 ac_status=$?
24860 grep -v '^ *+' conftest.er1 >conftest.err
24861 rm -f conftest.er1
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } && {
24865 test -z "$ac_cxx_werror_flag" ||
24866 test ! -s conftest.err
24867 } && test -s conftest.$ac_objext; then
24868 ac_cv_header_unordered_map=yes
24869 else
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24872
24873 ac_cv_header_unordered_map=no
24874 fi
24875
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 fi
24878 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24879 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24880 if test $ac_cv_header_unordered_map = yes; then
24881 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24882 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24883 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24884 echo $ECHO_N "(cached) $ECHO_C" >&6
24885 else
24886 cat >conftest.$ac_ext <<_ACEOF
24887 /* confdefs.h. */
24888 _ACEOF
24889 cat confdefs.h >>conftest.$ac_ext
24890 cat >>conftest.$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 #include <unordered_map>
24893 #include <unordered_set>
24894 int
24895 main ()
24896 {
24897 std::unordered_map<double*, char*> test1;
24898 std::unordered_set<char*> test2;
24899 ;
24900 return 0;
24901 }
24902 _ACEOF
24903 rm -f conftest.$ac_objext
24904 if { (ac_try="$ac_compile"
24905 case "(($ac_try" in
24906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24907 *) ac_try_echo=$ac_try;;
24908 esac
24909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24910 (eval "$ac_compile") 2>conftest.er1
24911 ac_status=$?
24912 grep -v '^ *+' conftest.er1 >conftest.err
24913 rm -f conftest.er1
24914 cat conftest.err >&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); } && {
24917 test -z "$ac_cxx_werror_flag" ||
24918 test ! -s conftest.err
24919 } && test -s conftest.$ac_objext; then
24920 wx_cv_class_stdunorderedmapset=yes
24921 else
24922 echo "$as_me: failed program was:" >&5
24923 sed 's/^/| /' conftest.$ac_ext >&5
24924
24925 wx_cv_class_stdunorderedmapset=no
24926 fi
24927
24928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24929
24930
24931 fi
24932 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24933 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24934 fi
24935
24936
24937
24938 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24939 cat >>confdefs.h <<\_ACEOF
24940 #define HAVE_STD_UNORDERED_MAP 1
24941 _ACEOF
24942
24943 cat >>confdefs.h <<\_ACEOF
24944 #define HAVE_STD_UNORDERED_SET 1
24945 _ACEOF
24946
24947 else
24948 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24949 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24950 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24951 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 else
24953 cat >conftest.$ac_ext <<_ACEOF
24954 /* confdefs.h. */
24955 _ACEOF
24956 cat confdefs.h >>conftest.$ac_ext
24957 cat >>conftest.$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24959
24960
24961
24962 #include <tr1/unordered_map>
24963 _ACEOF
24964 rm -f conftest.$ac_objext
24965 if { (ac_try="$ac_compile"
24966 case "(($ac_try" in
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24968 *) ac_try_echo=$ac_try;;
24969 esac
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_compile") 2>conftest.er1
24972 ac_status=$?
24973 grep -v '^ *+' conftest.er1 >conftest.err
24974 rm -f conftest.er1
24975 cat conftest.err >&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } && {
24978 test -z "$ac_cxx_werror_flag" ||
24979 test ! -s conftest.err
24980 } && test -s conftest.$ac_objext; then
24981 ac_cv_header_tr1_unordered_map=yes
24982 else
24983 echo "$as_me: failed program was:" >&5
24984 sed 's/^/| /' conftest.$ac_ext >&5
24985
24986 ac_cv_header_tr1_unordered_map=no
24987 fi
24988
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 fi
24991 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24992 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24993 if test $ac_cv_header_tr1_unordered_map = yes; then
24994 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24995 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24996 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 else
24999 cat >conftest.$ac_ext <<_ACEOF
25000 /* confdefs.h. */
25001 _ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005 #include <tr1/unordered_map>
25006 #include <tr1/unordered_set>
25007 int
25008 main ()
25009 {
25010 std::tr1::unordered_map<double*, char*> test1;
25011 std::tr1::unordered_set<char*> test2;
25012 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25013 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25014 #endif
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 rm -f conftest.$ac_objext
25020 if { (ac_try="$ac_compile"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25024 esac
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_compile") 2>conftest.er1
25027 ac_status=$?
25028 grep -v '^ *+' conftest.er1 >conftest.err
25029 rm -f conftest.er1
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_cxx_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest.$ac_objext; then
25036 wx_cv_class_tr1unorderedmapset=yes
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041 wx_cv_class_tr1unorderedmapset=no
25042 fi
25043
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045
25046
25047 fi
25048 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25049 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25050 fi
25051
25052
25053
25054 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25055 cat >>confdefs.h <<\_ACEOF
25056 #define HAVE_TR1_UNORDERED_MAP 1
25057 _ACEOF
25058
25059 cat >>confdefs.h <<\_ACEOF
25060 #define HAVE_TR1_UNORDERED_SET 1
25061 _ACEOF
25062
25063 else
25064 { echo "$as_me:$LINENO: checking for hash_map" >&5
25065 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25066 if test "${ac_cv_header_hash_map+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069 cat >conftest.$ac_ext <<_ACEOF
25070 /* confdefs.h. */
25071 _ACEOF
25072 cat confdefs.h >>conftest.$ac_ext
25073 cat >>conftest.$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25075
25076
25077
25078 #include <hash_map>
25079 _ACEOF
25080 rm -f conftest.$ac_objext
25081 if { (ac_try="$ac_compile"
25082 case "(($ac_try" in
25083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084 *) ac_try_echo=$ac_try;;
25085 esac
25086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087 (eval "$ac_compile") 2>conftest.er1
25088 ac_status=$?
25089 grep -v '^ *+' conftest.er1 >conftest.err
25090 rm -f conftest.er1
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } && {
25094 test -z "$ac_cxx_werror_flag" ||
25095 test ! -s conftest.err
25096 } && test -s conftest.$ac_objext; then
25097 ac_cv_header_hash_map=yes
25098 else
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.$ac_ext >&5
25101
25102 ac_cv_header_hash_map=no
25103 fi
25104
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 fi
25107 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25108 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25109 if test $ac_cv_header_hash_map = yes; then
25110 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25111 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25112 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25113 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 else
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121 #include <hash_map>
25122 #include <hash_set>
25123 int
25124 main ()
25125 {
25126 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25127 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25128 ;
25129 return 0;
25130 }
25131 _ACEOF
25132 rm -f conftest.$ac_objext
25133 if { (ac_try="$ac_compile"
25134 case "(($ac_try" in
25135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25136 *) ac_try_echo=$ac_try;;
25137 esac
25138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25139 (eval "$ac_compile") 2>conftest.er1
25140 ac_status=$?
25141 grep -v '^ *+' conftest.er1 >conftest.err
25142 rm -f conftest.er1
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } && {
25146 test -z "$ac_cxx_werror_flag" ||
25147 test ! -s conftest.err
25148 } && test -s conftest.$ac_objext; then
25149 wx_cv_class_stdhashmapset=yes
25150 else
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25153
25154 wx_cv_class_stdhashmapset=no
25155 fi
25156
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158
25159
25160 fi
25161 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25162 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25163 fi
25164
25165
25166
25167 if test "$wx_cv_class_stdhashmapset" = yes; then
25168 cat >>confdefs.h <<\_ACEOF
25169 #define HAVE_HASH_MAP 1
25170 _ACEOF
25171
25172 cat >>confdefs.h <<\_ACEOF
25173 #define HAVE_STD_HASH_MAP 1
25174 _ACEOF
25175
25176 fi
25177
25178 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25179 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25180 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25181 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 else
25183 cat >conftest.$ac_ext <<_ACEOF
25184 /* confdefs.h. */
25185 _ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189
25190
25191
25192 #include <ext/hash_map>
25193 _ACEOF
25194 rm -f conftest.$ac_objext
25195 if { (ac_try="$ac_compile"
25196 case "(($ac_try" in
25197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25198 *) ac_try_echo=$ac_try;;
25199 esac
25200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25201 (eval "$ac_compile") 2>conftest.er1
25202 ac_status=$?
25203 grep -v '^ *+' conftest.er1 >conftest.err
25204 rm -f conftest.er1
25205 cat conftest.err >&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); } && {
25208 test -z "$ac_cxx_werror_flag" ||
25209 test ! -s conftest.err
25210 } && test -s conftest.$ac_objext; then
25211 ac_cv_header_ext_hash_map=yes
25212 else
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25215
25216 ac_cv_header_ext_hash_map=no
25217 fi
25218
25219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25220 fi
25221 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25222 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25223 if test $ac_cv_header_ext_hash_map = yes; then
25224 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25225 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25226 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229 cat >conftest.$ac_ext <<_ACEOF
25230 /* confdefs.h. */
25231 _ACEOF
25232 cat confdefs.h >>conftest.$ac_ext
25233 cat >>conftest.$ac_ext <<_ACEOF
25234 /* end confdefs.h. */
25235 #include <ext/hash_map>
25236 #include <ext/hash_set>
25237 int
25238 main ()
25239 {
25240 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25241 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25242 ;
25243 return 0;
25244 }
25245 _ACEOF
25246 rm -f conftest.$ac_objext
25247 if { (ac_try="$ac_compile"
25248 case "(($ac_try" in
25249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25250 *) ac_try_echo=$ac_try;;
25251 esac
25252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25253 (eval "$ac_compile") 2>conftest.er1
25254 ac_status=$?
25255 grep -v '^ *+' conftest.er1 >conftest.err
25256 rm -f conftest.er1
25257 cat conftest.err >&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } && {
25260 test -z "$ac_cxx_werror_flag" ||
25261 test ! -s conftest.err
25262 } && test -s conftest.$ac_objext; then
25263 wx_cv_class_gnuhashmapset=yes
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25267
25268 wx_cv_class_gnuhashmapset=no
25269 fi
25270
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272
25273
25274 fi
25275 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25276 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25277 fi
25278
25279
25280
25281 fi
25282 fi
25283 fi
25284
25285
25286
25287 if test -n "$GCC"; then
25288 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25289 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25290 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 else
25293
25294 cat >conftest.$ac_ext <<_ACEOF
25295 /* confdefs.h. */
25296 _ACEOF
25297 cat confdefs.h >>conftest.$ac_ext
25298 cat >>conftest.$ac_ext <<_ACEOF
25299 /* end confdefs.h. */
25300
25301 int
25302 main ()
25303 {
25304
25305 unsigned int value=0;
25306 /* wxAtomicInc doesn't use return value here */
25307 __sync_fetch_and_add(&value, 2);
25308 __sync_sub_and_fetch(&value, 1);
25309 /* but wxAtomicDec does, so mimic that: */
25310 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25311
25312 ;
25313 return 0;
25314 }
25315 _ACEOF
25316 rm -f conftest.$ac_objext conftest$ac_exeext
25317 if { (ac_try="$ac_link"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25320 *) ac_try_echo=$ac_try;;
25321 esac
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_link") 2>conftest.er1
25324 ac_status=$?
25325 grep -v '^ *+' conftest.er1 >conftest.err
25326 rm -f conftest.er1
25327 cat conftest.err >&5
25328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25329 (exit $ac_status); } && {
25330 test -z "$ac_cxx_werror_flag" ||
25331 test ! -s conftest.err
25332 } && test -s conftest$ac_exeext &&
25333 $as_test_x conftest$ac_exeext; then
25334 wx_cv_cc_gcc_atomic_builtins=yes
25335 else
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339 wx_cv_cc_gcc_atomic_builtins=no
25340 fi
25341
25342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25343 conftest$ac_exeext conftest.$ac_ext
25344
25345 fi
25346
25347 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25348 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25349 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25350 cat >>confdefs.h <<\_ACEOF
25351 #define HAVE_GCC_ATOMIC_BUILTINS 1
25352 _ACEOF
25353
25354 fi
25355 fi
25356
25357
25358 ac_ext=c
25359 ac_cpp='$CPP $CPPFLAGS'
25360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363
25364
25365
25366 SEARCH_INCLUDE="\
25367 /usr/local/include \
25368 /usr/local/X11/include \
25369 /usr/local/include/X11 \
25370 /usr/local/X11R6/include \
25371 /usr/local/include/X11R6 \
25372 \
25373 /usr/Motif-2.1/include \
25374 /usr/Motif-1.2/include \
25375 /usr/include/Motif1.2 \
25376 \
25377 /usr/dt/include \
25378 /usr/openwin/include \
25379 \
25380 /usr/include/Xm \
25381 \
25382 /usr/X11R6/include \
25383 /usr/X11R6.4/include \
25384 \
25385 /usr/include/X11R6 \
25386 \
25387 /usr/X11/include \
25388 /usr/include/X11 \
25389 \
25390 /usr/XFree86/include/X11 \
25391 /usr/pkg/include \
25392 \
25393 /usr/local/X1R5/include \
25394 /usr/local/include/X11R5 \
25395 /usr/X11R5/include \
25396 /usr/include/X11R5 \
25397 \
25398 /usr/local/X11R4/include \
25399 /usr/local/include/X11R4 \
25400 /usr/X11R4/include \
25401 /usr/include/X11R4 \
25402 \
25403 /usr/openwin/share/include"
25404
25405 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25406 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25407
25408 case "${host}" in
25409 *-*-irix6* )
25410 if test "${wx_cv_std_libpath+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413
25414 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25415 for e in a so sl dylib dll.a; do
25416 libc="$d/libc.$e"
25417 if test -f $libc; then
25418 save_LIBS="$LIBS"
25419 LIBS="$libc"
25420 cat >conftest.$ac_ext <<_ACEOF
25421 int main() { return 0; }
25422 _ACEOF
25423 rm -f conftest.$ac_objext conftest$ac_exeext
25424 if { (ac_try="$ac_link"
25425 case "(($ac_try" in
25426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25427 *) ac_try_echo=$ac_try;;
25428 esac
25429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25430 (eval "$ac_link") 2>conftest.er1
25431 ac_status=$?
25432 grep -v '^ *+' conftest.er1 >conftest.err
25433 rm -f conftest.er1
25434 cat conftest.err >&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); } && {
25437 test -z "$ac_c_werror_flag" ||
25438 test ! -s conftest.err
25439 } && test -s conftest$ac_exeext &&
25440 $as_test_x conftest$ac_exeext; then
25441 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25442 else
25443 echo "$as_me: failed program was:" >&5
25444 sed 's/^/| /' conftest.$ac_ext >&5
25445
25446
25447 fi
25448
25449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25450 conftest$ac_exeext conftest.$ac_ext
25451 LIBS="$save_LIBS"
25452 if test "x$wx_cv_std_libpath" != "x"; then
25453 break 2
25454 fi
25455 fi
25456 done
25457 done
25458 if test "x$wx_cv_std_libpath" = "x"; then
25459 wx_cv_std_libpath="lib"
25460 fi
25461
25462
25463 fi
25464
25465 ;;
25466
25467 *-*-solaris2* )
25468 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25469 wx_cv_std_libpath="lib/64"
25470 else
25471 wx_cv_std_libpath="lib"
25472 fi
25473 ;;
25474
25475 *-*-linux* )
25476 if test "$ac_cv_sizeof_void_p" = 8 -a \
25477 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25478 wx_cv_std_libpath="lib64"
25479 else
25480 wx_cv_std_libpath="lib"
25481 fi
25482 ;;
25483
25484 *)
25485 wx_cv_std_libpath="lib";
25486 ;;
25487 esac
25488
25489 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25490 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25491
25492 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25493
25494 if test "$build" != "$host" -a "$GCC" = yes; then
25495 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25496 cross_root=`dirname $cross_root`
25497 cross_root=`dirname $cross_root`
25498
25499 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25500 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25501 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25502
25503 if test -z "$PKG_CONFIG_PATH"; then
25504 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25505 export PKG_CONFIG_PATH
25506 fi
25507
25508 if test -z "$x_includes" -o "$x_includes" = NONE; then
25509
25510 ac_find_includes=
25511 for ac_dir in $SEARCH_INCLUDE /usr/include;
25512 do
25513 if test -f "$ac_dir/X11/Intrinsic.h"; then
25514 ac_find_includes=$ac_dir
25515 break
25516 fi
25517 done
25518
25519 x_includes=$ac_find_includes
25520 fi
25521 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25522
25523 ac_find_libraries=
25524 for ac_dir in $SEARCH_LIB;
25525 do
25526 for ac_extension in a so sl dylib dll.a; do
25527 if test -f "$ac_dir/libXt.$ac_extension"; then
25528 ac_find_libraries=$ac_dir
25529 break 2
25530 fi
25531 done
25532 done
25533
25534 x_libraries=$ac_find_libraries
25535 fi
25536 fi
25537 fi
25538
25539
25540 cat >confcache <<\_ACEOF
25541 # This file is a shell script that caches the results of configure
25542 # tests run on this system so they can be shared between configure
25543 # scripts and configure runs, see configure's option --config-cache.
25544 # It is not useful on other systems. If it contains results you don't
25545 # want to keep, you may remove or edit it.
25546 #
25547 # config.status only pays attention to the cache file if you give it
25548 # the --recheck option to rerun configure.
25549 #
25550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25552 # following values.
25553
25554 _ACEOF
25555
25556 # The following way of writing the cache mishandles newlines in values,
25557 # but we know of no workaround that is simple, portable, and efficient.
25558 # So, we kill variables containing newlines.
25559 # Ultrix sh set writes to stderr and can't be redirected directly,
25560 # and sets the high bit in the cache file unless we assign to the vars.
25561 (
25562 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25563 eval ac_val=\$$ac_var
25564 case $ac_val in #(
25565 *${as_nl}*)
25566 case $ac_var in #(
25567 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25568 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25569 esac
25570 case $ac_var in #(
25571 _ | IFS | as_nl) ;; #(
25572 *) $as_unset $ac_var ;;
25573 esac ;;
25574 esac
25575 done
25576
25577 (set) 2>&1 |
25578 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25579 *${as_nl}ac_space=\ *)
25580 # `set' does not quote correctly, so add quotes (double-quote
25581 # substitution turns \\\\ into \\, and sed turns \\ into \).
25582 sed -n \
25583 "s/'/'\\\\''/g;
25584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25585 ;; #(
25586 *)
25587 # `set' quotes correctly as required by POSIX, so do not add quotes.
25588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25589 ;;
25590 esac |
25591 sort
25592 ) |
25593 sed '
25594 /^ac_cv_env_/b end
25595 t clear
25596 :clear
25597 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25598 t end
25599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25600 :end' >>confcache
25601 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25602 if test -w "$cache_file"; then
25603 test "x$cache_file" != "x/dev/null" &&
25604 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25605 echo "$as_me: updating cache $cache_file" >&6;}
25606 cat confcache >$cache_file
25607 else
25608 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25609 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25610 fi
25611 fi
25612 rm -f confcache
25613
25614 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25615 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25616 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25617 if test "${wx_cv_lib_glibc21+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25619 else
25620
25621 cat >conftest.$ac_ext <<_ACEOF
25622 /* confdefs.h. */
25623 _ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627 #include <features.h>
25628 int
25629 main ()
25630 {
25631
25632 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25633 not glibc 2.1
25634 #endif
25635
25636 ;
25637 return 0;
25638 }
25639 _ACEOF
25640 rm -f conftest.$ac_objext
25641 if { (ac_try="$ac_compile"
25642 case "(($ac_try" in
25643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25644 *) ac_try_echo=$ac_try;;
25645 esac
25646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25647 (eval "$ac_compile") 2>conftest.er1
25648 ac_status=$?
25649 grep -v '^ *+' conftest.er1 >conftest.err
25650 rm -f conftest.er1
25651 cat conftest.err >&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); } && {
25654 test -z "$ac_c_werror_flag" ||
25655 test ! -s conftest.err
25656 } && test -s conftest.$ac_objext; then
25657
25658 wx_cv_lib_glibc21=yes
25659
25660 else
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25663
25664
25665 wx_cv_lib_glibc21=no
25666
25667
25668 fi
25669
25670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25671
25672 fi
25673 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25674 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25675 if test "$wx_cv_lib_glibc21" = "yes"; then
25676 cat >>confdefs.h <<\_ACEOF
25677 #define wxHAVE_GLIBC2 1
25678 _ACEOF
25679
25680 fi
25681 fi
25682
25683 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25684 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25685 cat >>confdefs.h <<\_ACEOF
25686 #define _GNU_SOURCE 1
25687 _ACEOF
25688
25689 fi
25690 fi
25691
25692 have_cos=0
25693 have_floor=0
25694
25695 for ac_func in cos
25696 do
25697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 else
25703 cat >conftest.$ac_ext <<_ACEOF
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25711 #define $ac_func innocuous_$ac_func
25712
25713 /* System header to define __stub macros and hopefully few prototypes,
25714 which can conflict with char $ac_func (); below.
25715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25716 <limits.h> exists even on freestanding compilers. */
25717
25718 #ifdef __STDC__
25719 # include <limits.h>
25720 #else
25721 # include <assert.h>
25722 #endif
25723
25724 #undef $ac_func
25725
25726 /* Override any GCC internal prototype to avoid an error.
25727 Use char because int might match the return type of a GCC
25728 builtin and then its argument prototype would still apply. */
25729 #ifdef __cplusplus
25730 extern "C"
25731 #endif
25732 char $ac_func ();
25733 /* The GNU C library defines this for functions which it implements
25734 to always fail with ENOSYS. Some functions are actually named
25735 something starting with __ and the normal name is an alias. */
25736 #if defined __stub_$ac_func || defined __stub___$ac_func
25737 choke me
25738 #endif
25739
25740 int
25741 main ()
25742 {
25743 return $ac_func ();
25744 ;
25745 return 0;
25746 }
25747 _ACEOF
25748 rm -f conftest.$ac_objext conftest$ac_exeext
25749 if { (ac_try="$ac_link"
25750 case "(($ac_try" in
25751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25752 *) ac_try_echo=$ac_try;;
25753 esac
25754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25755 (eval "$ac_link") 2>conftest.er1
25756 ac_status=$?
25757 grep -v '^ *+' conftest.er1 >conftest.err
25758 rm -f conftest.er1
25759 cat conftest.err >&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } && {
25762 test -z "$ac_c_werror_flag" ||
25763 test ! -s conftest.err
25764 } && test -s conftest$ac_exeext &&
25765 $as_test_x conftest$ac_exeext; then
25766 eval "$as_ac_var=yes"
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 eval "$as_ac_var=no"
25772 fi
25773
25774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25775 conftest$ac_exeext conftest.$ac_ext
25776 fi
25777 ac_res=`eval echo '${'$as_ac_var'}'`
25778 { echo "$as_me:$LINENO: result: $ac_res" >&5
25779 echo "${ECHO_T}$ac_res" >&6; }
25780 if test `eval echo '${'$as_ac_var'}'` = yes; then
25781 cat >>confdefs.h <<_ACEOF
25782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25783 _ACEOF
25784 have_cos=1
25785 fi
25786 done
25787
25788
25789 for ac_func in floor
25790 do
25791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25795 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 else
25797 cat >conftest.$ac_ext <<_ACEOF
25798 /* confdefs.h. */
25799 _ACEOF
25800 cat confdefs.h >>conftest.$ac_ext
25801 cat >>conftest.$ac_ext <<_ACEOF
25802 /* end confdefs.h. */
25803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25805 #define $ac_func innocuous_$ac_func
25806
25807 /* System header to define __stub macros and hopefully few prototypes,
25808 which can conflict with char $ac_func (); below.
25809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25810 <limits.h> exists even on freestanding compilers. */
25811
25812 #ifdef __STDC__
25813 # include <limits.h>
25814 #else
25815 # include <assert.h>
25816 #endif
25817
25818 #undef $ac_func
25819
25820 /* Override any GCC internal prototype to avoid an error.
25821 Use char because int might match the return type of a GCC
25822 builtin and then its argument prototype would still apply. */
25823 #ifdef __cplusplus
25824 extern "C"
25825 #endif
25826 char $ac_func ();
25827 /* The GNU C library defines this for functions which it implements
25828 to always fail with ENOSYS. Some functions are actually named
25829 something starting with __ and the normal name is an alias. */
25830 #if defined __stub_$ac_func || defined __stub___$ac_func
25831 choke me
25832 #endif
25833
25834 int
25835 main ()
25836 {
25837 return $ac_func ();
25838 ;
25839 return 0;
25840 }
25841 _ACEOF
25842 rm -f conftest.$ac_objext conftest$ac_exeext
25843 if { (ac_try="$ac_link"
25844 case "(($ac_try" in
25845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25846 *) ac_try_echo=$ac_try;;
25847 esac
25848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25849 (eval "$ac_link") 2>conftest.er1
25850 ac_status=$?
25851 grep -v '^ *+' conftest.er1 >conftest.err
25852 rm -f conftest.er1
25853 cat conftest.err >&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); } && {
25856 test -z "$ac_c_werror_flag" ||
25857 test ! -s conftest.err
25858 } && test -s conftest$ac_exeext &&
25859 $as_test_x conftest$ac_exeext; then
25860 eval "$as_ac_var=yes"
25861 else
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865 eval "$as_ac_var=no"
25866 fi
25867
25868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25869 conftest$ac_exeext conftest.$ac_ext
25870 fi
25871 ac_res=`eval echo '${'$as_ac_var'}'`
25872 { echo "$as_me:$LINENO: result: $ac_res" >&5
25873 echo "${ECHO_T}$ac_res" >&6; }
25874 if test `eval echo '${'$as_ac_var'}'` = yes; then
25875 cat >>confdefs.h <<_ACEOF
25876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25877 _ACEOF
25878 have_floor=1
25879 fi
25880 done
25881
25882 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25883 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25884 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25885 { echo "$as_me:$LINENO: result: yes" >&5
25886 echo "${ECHO_T}yes" >&6; }
25887 else
25888 { echo "$as_me:$LINENO: result: no" >&5
25889 echo "${ECHO_T}no" >&6; }
25890 LIBS="$LIBS -lm"
25891 # use different functions to avoid configure caching
25892 have_sin=0
25893 have_ceil=0
25894
25895 for ac_func in sin
25896 do
25897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25911 #define $ac_func innocuous_$ac_func
25912
25913 /* System header to define __stub macros and hopefully few prototypes,
25914 which can conflict with char $ac_func (); below.
25915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25916 <limits.h> exists even on freestanding compilers. */
25917
25918 #ifdef __STDC__
25919 # include <limits.h>
25920 #else
25921 # include <assert.h>
25922 #endif
25923
25924 #undef $ac_func
25925
25926 /* Override any GCC internal prototype to avoid an error.
25927 Use char because int might match the return type of a GCC
25928 builtin and then its argument prototype would still apply. */
25929 #ifdef __cplusplus
25930 extern "C"
25931 #endif
25932 char $ac_func ();
25933 /* The GNU C library defines this for functions which it implements
25934 to always fail with ENOSYS. Some functions are actually named
25935 something starting with __ and the normal name is an alias. */
25936 #if defined __stub_$ac_func || defined __stub___$ac_func
25937 choke me
25938 #endif
25939
25940 int
25941 main ()
25942 {
25943 return $ac_func ();
25944 ;
25945 return 0;
25946 }
25947 _ACEOF
25948 rm -f conftest.$ac_objext conftest$ac_exeext
25949 if { (ac_try="$ac_link"
25950 case "(($ac_try" in
25951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25952 *) ac_try_echo=$ac_try;;
25953 esac
25954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25955 (eval "$ac_link") 2>conftest.er1
25956 ac_status=$?
25957 grep -v '^ *+' conftest.er1 >conftest.err
25958 rm -f conftest.er1
25959 cat conftest.err >&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } && {
25962 test -z "$ac_c_werror_flag" ||
25963 test ! -s conftest.err
25964 } && test -s conftest$ac_exeext &&
25965 $as_test_x conftest$ac_exeext; then
25966 eval "$as_ac_var=yes"
25967 else
25968 echo "$as_me: failed program was:" >&5
25969 sed 's/^/| /' conftest.$ac_ext >&5
25970
25971 eval "$as_ac_var=no"
25972 fi
25973
25974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25975 conftest$ac_exeext conftest.$ac_ext
25976 fi
25977 ac_res=`eval echo '${'$as_ac_var'}'`
25978 { echo "$as_me:$LINENO: result: $ac_res" >&5
25979 echo "${ECHO_T}$ac_res" >&6; }
25980 if test `eval echo '${'$as_ac_var'}'` = yes; then
25981 cat >>confdefs.h <<_ACEOF
25982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25983 _ACEOF
25984 have_sin=1
25985 fi
25986 done
25987
25988
25989 for ac_func in ceil
25990 do
25991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25994 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26005 #define $ac_func innocuous_$ac_func
26006
26007 /* System header to define __stub macros and hopefully few prototypes,
26008 which can conflict with char $ac_func (); below.
26009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26010 <limits.h> exists even on freestanding compilers. */
26011
26012 #ifdef __STDC__
26013 # include <limits.h>
26014 #else
26015 # include <assert.h>
26016 #endif
26017
26018 #undef $ac_func
26019
26020 /* Override any GCC internal prototype to avoid an error.
26021 Use char because int might match the return type of a GCC
26022 builtin and then its argument prototype would still apply. */
26023 #ifdef __cplusplus
26024 extern "C"
26025 #endif
26026 char $ac_func ();
26027 /* The GNU C library defines this for functions which it implements
26028 to always fail with ENOSYS. Some functions are actually named
26029 something starting with __ and the normal name is an alias. */
26030 #if defined __stub_$ac_func || defined __stub___$ac_func
26031 choke me
26032 #endif
26033
26034 int
26035 main ()
26036 {
26037 return $ac_func ();
26038 ;
26039 return 0;
26040 }
26041 _ACEOF
26042 rm -f conftest.$ac_objext conftest$ac_exeext
26043 if { (ac_try="$ac_link"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26047 esac
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_link") 2>conftest.er1
26050 ac_status=$?
26051 grep -v '^ *+' conftest.er1 >conftest.err
26052 rm -f conftest.er1
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } && {
26056 test -z "$ac_c_werror_flag" ||
26057 test ! -s conftest.err
26058 } && test -s conftest$ac_exeext &&
26059 $as_test_x conftest$ac_exeext; then
26060 eval "$as_ac_var=yes"
26061 else
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 eval "$as_ac_var=no"
26066 fi
26067
26068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26069 conftest$ac_exeext conftest.$ac_ext
26070 fi
26071 ac_res=`eval echo '${'$as_ac_var'}'`
26072 { echo "$as_me:$LINENO: result: $ac_res" >&5
26073 echo "${ECHO_T}$ac_res" >&6; }
26074 if test `eval echo '${'$as_ac_var'}'` = yes; then
26075 cat >>confdefs.h <<_ACEOF
26076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26077 _ACEOF
26078 have_ceil=1
26079 fi
26080 done
26081
26082 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26083 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26084 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26085 { echo "$as_me:$LINENO: result: yes" >&5
26086 echo "${ECHO_T}yes" >&6; }
26087 else
26088 { echo "$as_me:$LINENO: result: no" >&5
26089 echo "${ECHO_T}no" >&6; }
26090 # not sure we should warn the user, crash, etc.
26091 fi
26092 fi
26093
26094 ac_ext=cpp
26095 ac_cpp='$CXXCPP $CPPFLAGS'
26096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26099
26100 if test "wxUSE_UNICODE" = "yes"; then
26101
26102 for wx_func in wcstoull
26103 do
26104 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26105 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26106 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26107 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 else
26109
26110 cat >conftest.$ac_ext <<_ACEOF
26111
26112 /* confdefs.h. */
26113 _ACEOF
26114 cat confdefs.h >>conftest.$ac_ext
26115 cat >>conftest.$ac_ext <<_ACEOF
26116 /* end confdefs.h. */
26117
26118
26119 $ac_includes_default
26120
26121 int
26122 main ()
26123 {
26124
26125 #ifndef $wx_func
26126 &$wx_func;
26127 #endif
26128
26129
26130 ;
26131 return 0;
26132 }
26133
26134 _ACEOF
26135 rm -f conftest.$ac_objext conftest$ac_exeext
26136 if { (ac_try="$ac_link"
26137 case "(($ac_try" in
26138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26139 *) ac_try_echo=$ac_try;;
26140 esac
26141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26142 (eval "$ac_link") 2>conftest.er1
26143 ac_status=$?
26144 grep -v '^ *+' conftest.er1 >conftest.err
26145 rm -f conftest.er1
26146 cat conftest.err >&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } && {
26149 test -z "$ac_cxx_werror_flag" ||
26150 test ! -s conftest.err
26151 } && test -s conftest$ac_exeext &&
26152 $as_test_x conftest$ac_exeext; then
26153 eval wx_cv_func_$wx_func=yes
26154 else
26155 echo "$as_me: failed program was:" >&5
26156 sed 's/^/| /' conftest.$ac_ext >&5
26157
26158 eval wx_cv_func_$wx_func=no
26159 fi
26160
26161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26162 conftest$ac_exeext conftest.$ac_ext
26163
26164 fi
26165 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26166 { echo "$as_me:$LINENO: result: $ac_res" >&5
26167 echo "${ECHO_T}$ac_res" >&6; }
26168
26169 if eval test \$wx_cv_func_$wx_func = yes
26170 then
26171 cat >>confdefs.h <<_ACEOF
26172 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26173 _ACEOF
26174
26175
26176 else
26177 :
26178
26179 fi
26180 done
26181
26182 else
26183
26184 for wx_func in strtoull
26185 do
26186 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26187 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26188 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26191
26192 cat >conftest.$ac_ext <<_ACEOF
26193
26194 /* confdefs.h. */
26195 _ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199
26200
26201 $ac_includes_default
26202
26203 int
26204 main ()
26205 {
26206
26207 #ifndef $wx_func
26208 &$wx_func;
26209 #endif
26210
26211
26212 ;
26213 return 0;
26214 }
26215
26216 _ACEOF
26217 rm -f conftest.$ac_objext conftest$ac_exeext
26218 if { (ac_try="$ac_link"
26219 case "(($ac_try" in
26220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26221 *) ac_try_echo=$ac_try;;
26222 esac
26223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26224 (eval "$ac_link") 2>conftest.er1
26225 ac_status=$?
26226 grep -v '^ *+' conftest.er1 >conftest.err
26227 rm -f conftest.er1
26228 cat conftest.err >&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } && {
26231 test -z "$ac_cxx_werror_flag" ||
26232 test ! -s conftest.err
26233 } && test -s conftest$ac_exeext &&
26234 $as_test_x conftest$ac_exeext; then
26235 eval wx_cv_func_$wx_func=yes
26236 else
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.$ac_ext >&5
26239
26240 eval wx_cv_func_$wx_func=no
26241 fi
26242
26243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26244 conftest$ac_exeext conftest.$ac_ext
26245
26246 fi
26247 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26248 { echo "$as_me:$LINENO: result: $ac_res" >&5
26249 echo "${ECHO_T}$ac_res" >&6; }
26250
26251 if eval test \$wx_cv_func_$wx_func = yes
26252 then
26253 cat >>confdefs.h <<_ACEOF
26254 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26255 _ACEOF
26256
26257
26258 else
26259 :
26260
26261 fi
26262 done
26263
26264 fi
26265 ac_ext=c
26266 ac_cpp='$CPP $CPPFLAGS'
26267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26270
26271
26272
26273
26274 if test "$wxUSE_REGEX" != "no"; then
26275 cat >>confdefs.h <<\_ACEOF
26276 #define wxUSE_REGEX 1
26277 _ACEOF
26278
26279
26280 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26281 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26282 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26283 wxUSE_REGEX=builtin
26284 fi
26285
26286 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26287 { echo "$as_me:$LINENO: checking for regex.h" >&5
26288 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26289 if test "${ac_cv_header_regex_h+set}" = set; then
26290 echo $ECHO_N "(cached) $ECHO_C" >&6
26291 else
26292 cat >conftest.$ac_ext <<_ACEOF
26293 /* confdefs.h. */
26294 _ACEOF
26295 cat confdefs.h >>conftest.$ac_ext
26296 cat >>conftest.$ac_ext <<_ACEOF
26297 /* end confdefs.h. */
26298
26299
26300 #include <regex.h>
26301 _ACEOF
26302 rm -f conftest.$ac_objext
26303 if { (ac_try="$ac_compile"
26304 case "(($ac_try" in
26305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26306 *) ac_try_echo=$ac_try;;
26307 esac
26308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26309 (eval "$ac_compile") 2>conftest.er1
26310 ac_status=$?
26311 grep -v '^ *+' conftest.er1 >conftest.err
26312 rm -f conftest.er1
26313 cat conftest.err >&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } && {
26316 test -z "$ac_c_werror_flag" ||
26317 test ! -s conftest.err
26318 } && test -s conftest.$ac_objext; then
26319 ac_cv_header_regex_h=yes
26320 else
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26323
26324 ac_cv_header_regex_h=no
26325 fi
26326
26327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26328 fi
26329 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26330 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26331 if test $ac_cv_header_regex_h = yes; then
26332
26333
26334 for ac_func in regcomp re_search
26335 do
26336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26337 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 else
26342 cat >conftest.$ac_ext <<_ACEOF
26343 /* confdefs.h. */
26344 _ACEOF
26345 cat confdefs.h >>conftest.$ac_ext
26346 cat >>conftest.$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26350 #define $ac_func innocuous_$ac_func
26351
26352 /* System header to define __stub macros and hopefully few prototypes,
26353 which can conflict with char $ac_func (); below.
26354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26355 <limits.h> exists even on freestanding compilers. */
26356
26357 #ifdef __STDC__
26358 # include <limits.h>
26359 #else
26360 # include <assert.h>
26361 #endif
26362
26363 #undef $ac_func
26364
26365 /* Override any GCC internal prototype to avoid an error.
26366 Use char because int might match the return type of a GCC
26367 builtin and then its argument prototype would still apply. */
26368 #ifdef __cplusplus
26369 extern "C"
26370 #endif
26371 char $ac_func ();
26372 /* The GNU C library defines this for functions which it implements
26373 to always fail with ENOSYS. Some functions are actually named
26374 something starting with __ and the normal name is an alias. */
26375 #if defined __stub_$ac_func || defined __stub___$ac_func
26376 choke me
26377 #endif
26378
26379 int
26380 main ()
26381 {
26382 return $ac_func ();
26383 ;
26384 return 0;
26385 }
26386 _ACEOF
26387 rm -f conftest.$ac_objext conftest$ac_exeext
26388 if { (ac_try="$ac_link"
26389 case "(($ac_try" in
26390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26392 esac
26393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_link") 2>conftest.er1
26395 ac_status=$?
26396 grep -v '^ *+' conftest.er1 >conftest.err
26397 rm -f conftest.er1
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } && {
26401 test -z "$ac_c_werror_flag" ||
26402 test ! -s conftest.err
26403 } && test -s conftest$ac_exeext &&
26404 $as_test_x conftest$ac_exeext; then
26405 eval "$as_ac_var=yes"
26406 else
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26409
26410 eval "$as_ac_var=no"
26411 fi
26412
26413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26414 conftest$ac_exeext conftest.$ac_ext
26415 fi
26416 ac_res=`eval echo '${'$as_ac_var'}'`
26417 { echo "$as_me:$LINENO: result: $ac_res" >&5
26418 echo "${ECHO_T}$ac_res" >&6; }
26419 if test `eval echo '${'$as_ac_var'}'` = yes; then
26420 cat >>confdefs.h <<_ACEOF
26421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26422 _ACEOF
26423
26424 fi
26425 done
26426
26427 fi
26428
26429
26430
26431 if test "x$ac_cv_func_regcomp" != "xyes"; then
26432 if test "$wxUSE_REGEX" = "sys" ; then
26433 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26434 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26435 { (exit 1); exit 1; }; }
26436 else
26437 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26438 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26439 wxUSE_REGEX=builtin
26440 fi
26441 else
26442 wxUSE_REGEX=sys
26443 cat >>confdefs.h <<\_ACEOF
26444 #define WX_NO_REGEX_ADVANCED 1
26445 _ACEOF
26446
26447 fi
26448 fi
26449 fi
26450
26451
26452 ZLIB_LINK=
26453 if test "$wxUSE_ZLIB" != "no" ; then
26454 cat >>confdefs.h <<\_ACEOF
26455 #define wxUSE_ZLIB 1
26456 _ACEOF
26457
26458
26459 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26460 if test "$USE_DARWIN" = 1; then
26461 system_zlib_h_ok="yes"
26462 else
26463 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26464 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26465 if test "${ac_cv_header_zlib_h+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 else
26468 if test "$cross_compiling" = yes; then
26469 unset ac_cv_header_zlib_h
26470
26471 else
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478
26479 #include <zlib.h>
26480 #include <stdio.h>
26481
26482 int main()
26483 {
26484 FILE *f=fopen("conftestval", "w");
26485 if (!f) exit(1);
26486 fprintf(f, "%s",
26487 ZLIB_VERSION[0] == '1' &&
26488 (ZLIB_VERSION[2] > '1' ||
26489 (ZLIB_VERSION[2] == '1' &&
26490 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26491 exit(0);
26492 }
26493
26494 _ACEOF
26495 rm -f conftest$ac_exeext
26496 if { (ac_try="$ac_link"
26497 case "(($ac_try" in
26498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26499 *) ac_try_echo=$ac_try;;
26500 esac
26501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26502 (eval "$ac_link") 2>&5
26503 ac_status=$?
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26506 { (case "(($ac_try" in
26507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26508 *) ac_try_echo=$ac_try;;
26509 esac
26510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26511 (eval "$ac_try") 2>&5
26512 ac_status=$?
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; }; then
26515 ac_cv_header_zlib_h=`cat conftestval`
26516 else
26517 echo "$as_me: program exited with status $ac_status" >&5
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26520
26521 ( exit $ac_status )
26522 ac_cv_header_zlib_h=no
26523 fi
26524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26525 fi
26526
26527
26528
26529 fi
26530 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26532 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26533 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26534 if test "${ac_cv_header_zlib_h+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 else
26537 cat >conftest.$ac_ext <<_ACEOF
26538 /* confdefs.h. */
26539 _ACEOF
26540 cat confdefs.h >>conftest.$ac_ext
26541 cat >>conftest.$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26543
26544
26545 #include <zlib.h>
26546 _ACEOF
26547 rm -f conftest.$ac_objext
26548 if { (ac_try="$ac_compile"
26549 case "(($ac_try" in
26550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26551 *) ac_try_echo=$ac_try;;
26552 esac
26553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26554 (eval "$ac_compile") 2>conftest.er1
26555 ac_status=$?
26556 grep -v '^ *+' conftest.er1 >conftest.err
26557 rm -f conftest.er1
26558 cat conftest.err >&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); } && {
26561 test -z "$ac_c_werror_flag" ||
26562 test ! -s conftest.err
26563 } && test -s conftest.$ac_objext; then
26564 ac_cv_header_zlib_h=yes
26565 else
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26568
26569 ac_cv_header_zlib_h=no
26570 fi
26571
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26573 fi
26574 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26575 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26576
26577
26578
26579 system_zlib_h_ok=$ac_cv_header_zlib_h
26580 fi
26581
26582 if test "$system_zlib_h_ok" = "yes"; then
26583 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26584 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26585 if test "${ac_cv_lib_z_deflate+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26587 else
26588 ac_check_lib_save_LIBS=$LIBS
26589 LIBS="-lz $LIBS"
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596
26597 /* Override any GCC internal prototype to avoid an error.
26598 Use char because int might match the return type of a GCC
26599 builtin and then its argument prototype would still apply. */
26600 #ifdef __cplusplus
26601 extern "C"
26602 #endif
26603 char deflate ();
26604 int
26605 main ()
26606 {
26607 return deflate ();
26608 ;
26609 return 0;
26610 }
26611 _ACEOF
26612 rm -f conftest.$ac_objext conftest$ac_exeext
26613 if { (ac_try="$ac_link"
26614 case "(($ac_try" in
26615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26616 *) ac_try_echo=$ac_try;;
26617 esac
26618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26619 (eval "$ac_link") 2>conftest.er1
26620 ac_status=$?
26621 grep -v '^ *+' conftest.er1 >conftest.err
26622 rm -f conftest.er1
26623 cat conftest.err >&5
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); } && {
26626 test -z "$ac_c_werror_flag" ||
26627 test ! -s conftest.err
26628 } && test -s conftest$ac_exeext &&
26629 $as_test_x conftest$ac_exeext; then
26630 ac_cv_lib_z_deflate=yes
26631 else
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.$ac_ext >&5
26634
26635 ac_cv_lib_z_deflate=no
26636 fi
26637
26638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26639 conftest$ac_exeext conftest.$ac_ext
26640 LIBS=$ac_check_lib_save_LIBS
26641 fi
26642 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26643 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26644 if test $ac_cv_lib_z_deflate = yes; then
26645 ZLIB_LINK=" -lz"
26646 fi
26647
26648 fi
26649
26650 if test "x$ZLIB_LINK" = "x" ; then
26651 if test "$wxUSE_ZLIB" = "sys" ; then
26652 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26653 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26654 { (exit 1); exit 1; }; }
26655 else
26656 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26657 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26658 wxUSE_ZLIB=builtin
26659 fi
26660 else
26661 wxUSE_ZLIB=sys
26662 fi
26663 fi
26664 fi
26665
26666
26667 PNG_LINK=
26668 if test "$wxUSE_LIBPNG" != "no" ; then
26669 cat >>confdefs.h <<\_ACEOF
26670 #define wxUSE_LIBPNG 1
26671 _ACEOF
26672
26673
26674 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26675 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26676 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26677 wxUSE_LIBPNG=sys
26678 fi
26679
26680 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26681 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26682 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26683 wxUSE_LIBPNG=builtin
26684 fi
26685
26686 if test "$wxUSE_MGL" != 1 ; then
26687 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26688 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26689 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26690 if test "${ac_cv_header_png_h+set}" = set; then
26691 echo $ECHO_N "(cached) $ECHO_C" >&6
26692 else
26693 if test "$cross_compiling" = yes; then
26694 unset ac_cv_header_png_h
26695
26696 else
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703
26704 #include <png.h>
26705 #include <stdio.h>
26706
26707 int main()
26708 {
26709 FILE *f=fopen("conftestval", "w");
26710 if (!f) exit(1);
26711 fprintf(f, "%s",
26712 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26713 exit(0);
26714 }
26715
26716 _ACEOF
26717 rm -f conftest$ac_exeext
26718 if { (ac_try="$ac_link"
26719 case "(($ac_try" in
26720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26722 esac
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_link") 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26728 { (case "(($ac_try" in
26729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26730 *) ac_try_echo=$ac_try;;
26731 esac
26732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26733 (eval "$ac_try") 2>&5
26734 ac_status=$?
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; }; then
26737 ac_cv_header_png_h=`cat conftestval`
26738 else
26739 echo "$as_me: program exited with status $ac_status" >&5
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.$ac_ext >&5
26742
26743 ( exit $ac_status )
26744 ac_cv_header_png_h=no
26745 fi
26746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26747 fi
26748
26749
26750
26751 fi
26752 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26753 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26754 { echo "$as_me:$LINENO: checking for png.h" >&5
26755 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26756 if test "${ac_cv_header_png_h+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 else
26759 cat >conftest.$ac_ext <<_ACEOF
26760 /* confdefs.h. */
26761 _ACEOF
26762 cat confdefs.h >>conftest.$ac_ext
26763 cat >>conftest.$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26765
26766
26767 #include <png.h>
26768 _ACEOF
26769 rm -f conftest.$ac_objext
26770 if { (ac_try="$ac_compile"
26771 case "(($ac_try" in
26772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26773 *) ac_try_echo=$ac_try;;
26774 esac
26775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776 (eval "$ac_compile") 2>conftest.er1
26777 ac_status=$?
26778 grep -v '^ *+' conftest.er1 >conftest.err
26779 rm -f conftest.er1
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } && {
26783 test -z "$ac_c_werror_flag" ||
26784 test ! -s conftest.err
26785 } && test -s conftest.$ac_objext; then
26786 ac_cv_header_png_h=yes
26787 else
26788 echo "$as_me: failed program was:" >&5
26789 sed 's/^/| /' conftest.$ac_ext >&5
26790
26791 ac_cv_header_png_h=no
26792 fi
26793
26794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795 fi
26796 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26797 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26798
26799
26800
26801 if test "$ac_cv_header_png_h" = "yes"; then
26802 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26803 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26804 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 else
26807 ac_check_lib_save_LIBS=$LIBS
26808 LIBS="-lpng -lz -lm $LIBS"
26809 cat >conftest.$ac_ext <<_ACEOF
26810 /* confdefs.h. */
26811 _ACEOF
26812 cat confdefs.h >>conftest.$ac_ext
26813 cat >>conftest.$ac_ext <<_ACEOF
26814 /* end confdefs.h. */
26815
26816 /* Override any GCC internal prototype to avoid an error.
26817 Use char because int might match the return type of a GCC
26818 builtin and then its argument prototype would still apply. */
26819 #ifdef __cplusplus
26820 extern "C"
26821 #endif
26822 char png_check_sig ();
26823 int
26824 main ()
26825 {
26826 return png_check_sig ();
26827 ;
26828 return 0;
26829 }
26830 _ACEOF
26831 rm -f conftest.$ac_objext conftest$ac_exeext
26832 if { (ac_try="$ac_link"
26833 case "(($ac_try" in
26834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26835 *) ac_try_echo=$ac_try;;
26836 esac
26837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26838 (eval "$ac_link") 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } && {
26845 test -z "$ac_c_werror_flag" ||
26846 test ! -s conftest.err
26847 } && test -s conftest$ac_exeext &&
26848 $as_test_x conftest$ac_exeext; then
26849 ac_cv_lib_png_png_check_sig=yes
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26853
26854 ac_cv_lib_png_png_check_sig=no
26855 fi
26856
26857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26858 conftest$ac_exeext conftest.$ac_ext
26859 LIBS=$ac_check_lib_save_LIBS
26860 fi
26861 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26862 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26863 if test $ac_cv_lib_png_png_check_sig = yes; then
26864 PNG_LINK=" -lpng -lz"
26865 fi
26866
26867 fi
26868
26869 if test "x$PNG_LINK" = "x" ; then
26870 if test "$wxUSE_LIBPNG" = "sys" ; then
26871 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26872 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26873 { (exit 1); exit 1; }; }
26874 else
26875 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26876 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26877 wxUSE_LIBPNG=builtin
26878 fi
26879 else
26880 wxUSE_LIBPNG=sys
26881 fi
26882 fi
26883 fi
26884 fi
26885
26886
26887 JPEG_LINK=
26888 if test "$wxUSE_LIBJPEG" != "no" ; then
26889 cat >>confdefs.h <<\_ACEOF
26890 #define wxUSE_LIBJPEG 1
26891 _ACEOF
26892
26893
26894 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26895 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26896 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26897 wxUSE_LIBJPEG=sys
26898 fi
26899
26900 if test "$wxUSE_MGL" != 1 ; then
26901 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26902 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26903 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26904 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26905 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 else
26907 cat >conftest.$ac_ext <<_ACEOF
26908 /* confdefs.h. */
26909 _ACEOF
26910 cat confdefs.h >>conftest.$ac_ext
26911 cat >>conftest.$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913
26914 #undef HAVE_STDLIB_H
26915 #include <stdio.h>
26916 #include <jpeglib.h>
26917
26918 int
26919 main ()
26920 {
26921
26922
26923 ;
26924 return 0;
26925 }
26926 _ACEOF
26927 rm -f conftest.$ac_objext
26928 if { (ac_try="$ac_compile"
26929 case "(($ac_try" in
26930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26931 *) ac_try_echo=$ac_try;;
26932 esac
26933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26934 (eval "$ac_compile") 2>conftest.er1
26935 ac_status=$?
26936 grep -v '^ *+' conftest.er1 >conftest.err
26937 rm -f conftest.er1
26938 cat conftest.err >&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } && {
26941 test -z "$ac_c_werror_flag" ||
26942 test ! -s conftest.err
26943 } && test -s conftest.$ac_objext; then
26944 ac_cv_header_jpeglib_h=yes
26945 else
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26948
26949 ac_cv_header_jpeglib_h=no
26950
26951 fi
26952
26953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26954
26955 fi
26956
26957 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26958 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26959
26960 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26961 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26962 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26963 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26964 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 else
26966 ac_check_lib_save_LIBS=$LIBS
26967 LIBS="-ljpeg $LIBS"
26968 cat >conftest.$ac_ext <<_ACEOF
26969 /* confdefs.h. */
26970 _ACEOF
26971 cat confdefs.h >>conftest.$ac_ext
26972 cat >>conftest.$ac_ext <<_ACEOF
26973 /* end confdefs.h. */
26974
26975 /* Override any GCC internal prototype to avoid an error.
26976 Use char because int might match the return type of a GCC
26977 builtin and then its argument prototype would still apply. */
26978 #ifdef __cplusplus
26979 extern "C"
26980 #endif
26981 char jpeg_read_header ();
26982 int
26983 main ()
26984 {
26985 return jpeg_read_header ();
26986 ;
26987 return 0;
26988 }
26989 _ACEOF
26990 rm -f conftest.$ac_objext conftest$ac_exeext
26991 if { (ac_try="$ac_link"
26992 case "(($ac_try" in
26993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26994 *) ac_try_echo=$ac_try;;
26995 esac
26996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26997 (eval "$ac_link") 2>conftest.er1
26998 ac_status=$?
26999 grep -v '^ *+' conftest.er1 >conftest.err
27000 rm -f conftest.er1
27001 cat conftest.err >&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); } && {
27004 test -z "$ac_c_werror_flag" ||
27005 test ! -s conftest.err
27006 } && test -s conftest$ac_exeext &&
27007 $as_test_x conftest$ac_exeext; then
27008 ac_cv_lib_jpeg_jpeg_read_header=yes
27009 else
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.$ac_ext >&5
27012
27013 ac_cv_lib_jpeg_jpeg_read_header=no
27014 fi
27015
27016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27017 conftest$ac_exeext conftest.$ac_ext
27018 LIBS=$ac_check_lib_save_LIBS
27019 fi
27020 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27021 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27022 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27023 JPEG_LINK=" -ljpeg"
27024 fi
27025
27026 fi
27027
27028 if test "x$JPEG_LINK" = "x" ; then
27029 if test "$wxUSE_LIBJPEG" = "sys" ; then
27030 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27031 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27032 { (exit 1); exit 1; }; }
27033 else
27034 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27035 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27036 wxUSE_LIBJPEG=builtin
27037 fi
27038 else
27039 wxUSE_LIBJPEG=sys
27040
27041 if test "$wxUSE_MSW" = 1; then
27042 { echo "$as_me:$LINENO: checking for boolean" >&5
27043 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27044 if test "${ac_cv_type_boolean+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 else
27047 cat >conftest.$ac_ext <<_ACEOF
27048 /* confdefs.h. */
27049 _ACEOF
27050 cat confdefs.h >>conftest.$ac_ext
27051 cat >>conftest.$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27053 #include <windows.h>
27054
27055 typedef boolean ac__type_new_;
27056 int
27057 main ()
27058 {
27059 if ((ac__type_new_ *) 0)
27060 return 0;
27061 if (sizeof (ac__type_new_))
27062 return 0;
27063 ;
27064 return 0;
27065 }
27066 _ACEOF
27067 rm -f conftest.$ac_objext
27068 if { (ac_try="$ac_compile"
27069 case "(($ac_try" in
27070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27072 esac
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_compile") 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } && {
27081 test -z "$ac_c_werror_flag" ||
27082 test ! -s conftest.err
27083 } && test -s conftest.$ac_objext; then
27084 ac_cv_type_boolean=yes
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089 ac_cv_type_boolean=no
27090 fi
27091
27092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27093 fi
27094 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27095 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27096 if test $ac_cv_type_boolean = yes; then
27097
27098 cat >>confdefs.h <<_ACEOF
27099 #define HAVE_BOOLEAN 1
27100 _ACEOF
27101
27102
27103 { echo "$as_me:$LINENO: checking for boolean" >&5
27104 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27105 if test "${ac_cv_type_boolean+set}" = set; then
27106 echo $ECHO_N "(cached) $ECHO_C" >&6
27107 else
27108 cat >conftest.$ac_ext <<_ACEOF
27109 /* confdefs.h. */
27110 _ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27114
27115 #undef HAVE_BOOLEAN
27116 #include <stdio.h>
27117 #include <jpeglib.h>
27118
27119
27120 typedef boolean ac__type_new_;
27121 int
27122 main ()
27123 {
27124 if ((ac__type_new_ *) 0)
27125 return 0;
27126 if (sizeof (ac__type_new_))
27127 return 0;
27128 ;
27129 return 0;
27130 }
27131 _ACEOF
27132 rm -f conftest.$ac_objext
27133 if { (ac_try="$ac_compile"
27134 case "(($ac_try" in
27135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136 *) ac_try_echo=$ac_try;;
27137 esac
27138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27139 (eval "$ac_compile") 2>conftest.er1
27140 ac_status=$?
27141 grep -v '^ *+' conftest.er1 >conftest.err
27142 rm -f conftest.er1
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } && {
27146 test -z "$ac_c_werror_flag" ||
27147 test ! -s conftest.err
27148 } && test -s conftest.$ac_objext; then
27149 ac_cv_type_boolean=yes
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27153
27154 ac_cv_type_boolean=no
27155 fi
27156
27157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27158 fi
27159 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27160 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27161
27162 # The cast to long int works around a bug in the HP C Compiler
27163 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27164 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27165 # This bug is HP SR number 8606223364.
27166 { echo "$as_me:$LINENO: checking size of boolean" >&5
27167 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27168 if test "${ac_cv_sizeof_boolean+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27171 if test "$cross_compiling" = yes; then
27172 # Depending upon the size, compute the lo and hi bounds.
27173 cat >conftest.$ac_ext <<_ACEOF
27174 /* confdefs.h. */
27175 _ACEOF
27176 cat confdefs.h >>conftest.$ac_ext
27177 cat >>conftest.$ac_ext <<_ACEOF
27178 /* end confdefs.h. */
27179
27180 #undef HAVE_BOOLEAN
27181 #include <stdio.h>
27182 #include <jpeglib.h>
27183
27184
27185 typedef boolean ac__type_sizeof_;
27186 int
27187 main ()
27188 {
27189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27190 test_array [0] = 0
27191
27192 ;
27193 return 0;
27194 }
27195 _ACEOF
27196 rm -f conftest.$ac_objext
27197 if { (ac_try="$ac_compile"
27198 case "(($ac_try" in
27199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27200 *) ac_try_echo=$ac_try;;
27201 esac
27202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27203 (eval "$ac_compile") 2>conftest.er1
27204 ac_status=$?
27205 grep -v '^ *+' conftest.er1 >conftest.err
27206 rm -f conftest.er1
27207 cat conftest.err >&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } && {
27210 test -z "$ac_c_werror_flag" ||
27211 test ! -s conftest.err
27212 } && test -s conftest.$ac_objext; then
27213 ac_lo=0 ac_mid=0
27214 while :; do
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221
27222 #undef HAVE_BOOLEAN
27223 #include <stdio.h>
27224 #include <jpeglib.h>
27225
27226
27227 typedef boolean ac__type_sizeof_;
27228 int
27229 main ()
27230 {
27231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27232 test_array [0] = 0
27233
27234 ;
27235 return 0;
27236 }
27237 _ACEOF
27238 rm -f conftest.$ac_objext
27239 if { (ac_try="$ac_compile"
27240 case "(($ac_try" in
27241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27242 *) ac_try_echo=$ac_try;;
27243 esac
27244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27245 (eval "$ac_compile") 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } && {
27252 test -z "$ac_c_werror_flag" ||
27253 test ! -s conftest.err
27254 } && test -s conftest.$ac_objext; then
27255 ac_hi=$ac_mid; break
27256 else
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.$ac_ext >&5
27259
27260 ac_lo=`expr $ac_mid + 1`
27261 if test $ac_lo -le $ac_mid; then
27262 ac_lo= ac_hi=
27263 break
27264 fi
27265 ac_mid=`expr 2 '*' $ac_mid + 1`
27266 fi
27267
27268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27269 done
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280
27281 #undef HAVE_BOOLEAN
27282 #include <stdio.h>
27283 #include <jpeglib.h>
27284
27285
27286 typedef boolean ac__type_sizeof_;
27287 int
27288 main ()
27289 {
27290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27291 test_array [0] = 0
27292
27293 ;
27294 return 0;
27295 }
27296 _ACEOF
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27302 esac
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 ac_hi=-1 ac_mid=-1
27315 while :; do
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322
27323 #undef HAVE_BOOLEAN
27324 #include <stdio.h>
27325 #include <jpeglib.h>
27326
27327
27328 typedef boolean ac__type_sizeof_;
27329 int
27330 main ()
27331 {
27332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27333 test_array [0] = 0
27334
27335 ;
27336 return 0;
27337 }
27338 _ACEOF
27339 rm -f conftest.$ac_objext
27340 if { (ac_try="$ac_compile"
27341 case "(($ac_try" in
27342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27343 *) ac_try_echo=$ac_try;;
27344 esac
27345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27346 (eval "$ac_compile") 2>conftest.er1
27347 ac_status=$?
27348 grep -v '^ *+' conftest.er1 >conftest.err
27349 rm -f conftest.er1
27350 cat conftest.err >&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); } && {
27353 test -z "$ac_c_werror_flag" ||
27354 test ! -s conftest.err
27355 } && test -s conftest.$ac_objext; then
27356 ac_lo=$ac_mid; break
27357 else
27358 echo "$as_me: failed program was:" >&5
27359 sed 's/^/| /' conftest.$ac_ext >&5
27360
27361 ac_hi=`expr '(' $ac_mid ')' - 1`
27362 if test $ac_mid -le $ac_hi; then
27363 ac_lo= ac_hi=
27364 break
27365 fi
27366 ac_mid=`expr 2 '*' $ac_mid`
27367 fi
27368
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370 done
27371 else
27372 echo "$as_me: failed program was:" >&5
27373 sed 's/^/| /' conftest.$ac_ext >&5
27374
27375 ac_lo= ac_hi=
27376 fi
27377
27378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27379 fi
27380
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382 # Binary search between lo and hi bounds.
27383 while test "x$ac_lo" != "x$ac_hi"; do
27384 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391
27392 #undef HAVE_BOOLEAN
27393 #include <stdio.h>
27394 #include <jpeglib.h>
27395
27396
27397 typedef boolean ac__type_sizeof_;
27398 int
27399 main ()
27400 {
27401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27402 test_array [0] = 0
27403
27404 ;
27405 return 0;
27406 }
27407 _ACEOF
27408 rm -f conftest.$ac_objext
27409 if { (ac_try="$ac_compile"
27410 case "(($ac_try" in
27411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412 *) ac_try_echo=$ac_try;;
27413 esac
27414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415 (eval "$ac_compile") 2>conftest.er1
27416 ac_status=$?
27417 grep -v '^ *+' conftest.er1 >conftest.err
27418 rm -f conftest.er1
27419 cat conftest.err >&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); } && {
27422 test -z "$ac_c_werror_flag" ||
27423 test ! -s conftest.err
27424 } && test -s conftest.$ac_objext; then
27425 ac_hi=$ac_mid
27426 else
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27429
27430 ac_lo=`expr '(' $ac_mid ')' + 1`
27431 fi
27432
27433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27434 done
27435 case $ac_lo in
27436 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27437 '') if test "$ac_cv_type_boolean" = yes; then
27438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27439 See \`config.log' for more details." >&5
27440 echo "$as_me: error: cannot compute sizeof (boolean)
27441 See \`config.log' for more details." >&2;}
27442 { (exit 77); exit 77; }; }
27443 else
27444 ac_cv_sizeof_boolean=0
27445 fi ;;
27446 esac
27447 else
27448 cat >conftest.$ac_ext <<_ACEOF
27449 /* confdefs.h. */
27450 _ACEOF
27451 cat confdefs.h >>conftest.$ac_ext
27452 cat >>conftest.$ac_ext <<_ACEOF
27453 /* end confdefs.h. */
27454
27455 #undef HAVE_BOOLEAN
27456 #include <stdio.h>
27457 #include <jpeglib.h>
27458
27459
27460 typedef boolean ac__type_sizeof_;
27461 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27462 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27463 #include <stdio.h>
27464 #include <stdlib.h>
27465 int
27466 main ()
27467 {
27468
27469 FILE *f = fopen ("conftest.val", "w");
27470 if (! f)
27471 return 1;
27472 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27473 {
27474 long int i = longval ();
27475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27476 return 1;
27477 fprintf (f, "%ld\n", i);
27478 }
27479 else
27480 {
27481 unsigned long int i = ulongval ();
27482 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27483 return 1;
27484 fprintf (f, "%lu\n", i);
27485 }
27486 return ferror (f) || fclose (f) != 0;
27487
27488 ;
27489 return 0;
27490 }
27491 _ACEOF
27492 rm -f conftest$ac_exeext
27493 if { (ac_try="$ac_link"
27494 case "(($ac_try" in
27495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27496 *) ac_try_echo=$ac_try;;
27497 esac
27498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27499 (eval "$ac_link") 2>&5
27500 ac_status=$?
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27503 { (case "(($ac_try" in
27504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27505 *) ac_try_echo=$ac_try;;
27506 esac
27507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27508 (eval "$ac_try") 2>&5
27509 ac_status=$?
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; }; then
27512 ac_cv_sizeof_boolean=`cat conftest.val`
27513 else
27514 echo "$as_me: program exited with status $ac_status" >&5
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.$ac_ext >&5
27517
27518 ( exit $ac_status )
27519 if test "$ac_cv_type_boolean" = yes; then
27520 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27521 See \`config.log' for more details." >&5
27522 echo "$as_me: error: cannot compute sizeof (boolean)
27523 See \`config.log' for more details." >&2;}
27524 { (exit 77); exit 77; }; }
27525 else
27526 ac_cv_sizeof_boolean=0
27527 fi
27528 fi
27529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27530 fi
27531 rm -f conftest.val
27532 fi
27533 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27534 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27535
27536
27537
27538 cat >>confdefs.h <<_ACEOF
27539 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27540 _ACEOF
27541
27542
27543 cat >>confdefs.h <<_ACEOF
27544 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27545 _ACEOF
27546
27547
27548 fi
27549
27550 fi
27551 fi
27552 fi
27553 fi
27554 fi
27555
27556
27557 TIFF_LINK=
27558 TIFF_PREREQ_LINKS=-lm
27559 if test "$wxUSE_LIBTIFF" != "no" ; then
27560 cat >>confdefs.h <<\_ACEOF
27561 #define wxUSE_LIBTIFF 1
27562 _ACEOF
27563
27564
27565 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27566 if test "$wxUSE_LIBJPEG" = "sys"; then
27567 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27568 fi
27569 if test "$wxUSE_ZLIB" = "sys"; then
27570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27571 fi
27572 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27573 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27574 if test "${ac_cv_header_tiffio_h+set}" = set; then
27575 echo $ECHO_N "(cached) $ECHO_C" >&6
27576 else
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583
27584
27585
27586 #include <tiffio.h>
27587 _ACEOF
27588 rm -f conftest.$ac_objext
27589 if { (ac_try="$ac_compile"
27590 case "(($ac_try" in
27591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27592 *) ac_try_echo=$ac_try;;
27593 esac
27594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27595 (eval "$ac_compile") 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } && {
27602 test -z "$ac_c_werror_flag" ||
27603 test ! -s conftest.err
27604 } && test -s conftest.$ac_objext; then
27605 ac_cv_header_tiffio_h=yes
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 ac_cv_header_tiffio_h=no
27611 fi
27612
27613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27614 fi
27615 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27616 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27617 if test $ac_cv_header_tiffio_h = yes; then
27618
27619 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27620 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27621 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 else
27624 ac_check_lib_save_LIBS=$LIBS
27625 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27626 cat >conftest.$ac_ext <<_ACEOF
27627 /* confdefs.h. */
27628 _ACEOF
27629 cat confdefs.h >>conftest.$ac_ext
27630 cat >>conftest.$ac_ext <<_ACEOF
27631 /* end confdefs.h. */
27632
27633 /* Override any GCC internal prototype to avoid an error.
27634 Use char because int might match the return type of a GCC
27635 builtin and then its argument prototype would still apply. */
27636 #ifdef __cplusplus
27637 extern "C"
27638 #endif
27639 char TIFFError ();
27640 int
27641 main ()
27642 {
27643 return TIFFError ();
27644 ;
27645 return 0;
27646 }
27647 _ACEOF
27648 rm -f conftest.$ac_objext conftest$ac_exeext
27649 if { (ac_try="$ac_link"
27650 case "(($ac_try" in
27651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27652 *) ac_try_echo=$ac_try;;
27653 esac
27654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27655 (eval "$ac_link") 2>conftest.er1
27656 ac_status=$?
27657 grep -v '^ *+' conftest.er1 >conftest.err
27658 rm -f conftest.er1
27659 cat conftest.err >&5
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); } && {
27662 test -z "$ac_c_werror_flag" ||
27663 test ! -s conftest.err
27664 } && test -s conftest$ac_exeext &&
27665 $as_test_x conftest$ac_exeext; then
27666 ac_cv_lib_tiff_TIFFError=yes
27667 else
27668 echo "$as_me: failed program was:" >&5
27669 sed 's/^/| /' conftest.$ac_ext >&5
27670
27671 ac_cv_lib_tiff_TIFFError=no
27672 fi
27673
27674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27675 conftest$ac_exeext conftest.$ac_ext
27676 LIBS=$ac_check_lib_save_LIBS
27677 fi
27678 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27679 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27680 if test $ac_cv_lib_tiff_TIFFError = yes; then
27681 TIFF_LINK=" -ltiff"
27682 fi
27683
27684
27685 fi
27686
27687
27688
27689 if test "x$TIFF_LINK" = "x" ; then
27690 if test "$wxUSE_LIBTIFF" = "sys" ; then
27691 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27692 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27693 { (exit 1); exit 1; }; }
27694 else
27695 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27696 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27697 wxUSE_LIBTIFF=builtin
27698 fi
27699 else
27700 wxUSE_LIBTIFF=sys
27701 fi
27702 fi
27703 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27704 if test "$wxUSE_LIBJPEG" = "no"; then
27705 ac_configure_args="$ac_configure_args --disable-jpeg"
27706 fi
27707 subdirs="$subdirs src/tiff"
27708
27709 fi
27710 fi
27711
27712
27713 if test "$wxUSE_WCHAR_T" != "yes"; then
27714 if test "$wxUSE_EXPAT" != "no"; then
27715 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27716 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27717 wxUSE_EXPAT=no
27718 fi
27719 if test "$wxUSE_XML" != "no"; then
27720 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27721 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27722 wxUSE_XML=no
27723 fi
27724 fi
27725
27726 if test "$wxUSE_EXPAT" != "no"; then
27727 wxUSE_XML=yes
27728 cat >>confdefs.h <<\_ACEOF
27729 #define wxUSE_EXPAT 1
27730 _ACEOF
27731
27732 cat >>confdefs.h <<\_ACEOF
27733 #define wxUSE_XML 1
27734 _ACEOF
27735
27736
27737 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27738 { echo "$as_me:$LINENO: checking for expat.h" >&5
27739 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27740 if test "${ac_cv_header_expat_h+set}" = set; then
27741 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 else
27743 cat >conftest.$ac_ext <<_ACEOF
27744 /* confdefs.h. */
27745 _ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27749
27750
27751 #include <expat.h>
27752 _ACEOF
27753 rm -f conftest.$ac_objext
27754 if { (ac_try="$ac_compile"
27755 case "(($ac_try" in
27756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27757 *) ac_try_echo=$ac_try;;
27758 esac
27759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27760 (eval "$ac_compile") 2>conftest.er1
27761 ac_status=$?
27762 grep -v '^ *+' conftest.er1 >conftest.err
27763 rm -f conftest.er1
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } && {
27767 test -z "$ac_c_werror_flag" ||
27768 test ! -s conftest.err
27769 } && test -s conftest.$ac_objext; then
27770 ac_cv_header_expat_h=yes
27771 else
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27774
27775 ac_cv_header_expat_h=no
27776 fi
27777
27778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27779 fi
27780 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27781 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27782 if test $ac_cv_header_expat_h = yes; then
27783 found_expat_h=1
27784 fi
27785
27786
27787 if test "x$found_expat_h" = "x1"; then
27788 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27789 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27790 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27791 echo $ECHO_N "(cached) $ECHO_C" >&6
27792 else
27793
27794 ac_ext=cpp
27795 ac_cpp='$CXXCPP $CPPFLAGS'
27796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27799
27800 cat >conftest.$ac_ext <<_ACEOF
27801 /* confdefs.h. */
27802 _ACEOF
27803 cat confdefs.h >>conftest.$ac_ext
27804 cat >>conftest.$ac_ext <<_ACEOF
27805 /* end confdefs.h. */
27806 #include <expat.h>
27807 int
27808 main ()
27809 {
27810
27811 ;
27812 return 0;
27813 }
27814 _ACEOF
27815 rm -f conftest.$ac_objext
27816 if { (ac_try="$ac_compile"
27817 case "(($ac_try" in
27818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27819 *) ac_try_echo=$ac_try;;
27820 esac
27821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27822 (eval "$ac_compile") 2>conftest.er1
27823 ac_status=$?
27824 grep -v '^ *+' conftest.er1 >conftest.err
27825 rm -f conftest.er1
27826 cat conftest.err >&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); } && {
27829 test -z "$ac_cxx_werror_flag" ||
27830 test ! -s conftest.err
27831 } && test -s conftest.$ac_objext; then
27832 wx_cv_expat_is_not_broken=yes
27833 else
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27836
27837 wx_cv_expat_is_not_broken=no
27838
27839 fi
27840
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842 ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27847
27848
27849
27850 fi
27851 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27852 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27853 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27854 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27855 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27856 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27857 echo $ECHO_N "(cached) $ECHO_C" >&6
27858 else
27859 ac_check_lib_save_LIBS=$LIBS
27860 LIBS="-lexpat $LIBS"
27861 cat >conftest.$ac_ext <<_ACEOF
27862 /* confdefs.h. */
27863 _ACEOF
27864 cat confdefs.h >>conftest.$ac_ext
27865 cat >>conftest.$ac_ext <<_ACEOF
27866 /* end confdefs.h. */
27867
27868 /* Override any GCC internal prototype to avoid an error.
27869 Use char because int might match the return type of a GCC
27870 builtin and then its argument prototype would still apply. */
27871 #ifdef __cplusplus
27872 extern "C"
27873 #endif
27874 char XML_ParserCreate ();
27875 int
27876 main ()
27877 {
27878 return XML_ParserCreate ();
27879 ;
27880 return 0;
27881 }
27882 _ACEOF
27883 rm -f conftest.$ac_objext conftest$ac_exeext
27884 if { (ac_try="$ac_link"
27885 case "(($ac_try" in
27886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27887 *) ac_try_echo=$ac_try;;
27888 esac
27889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27890 (eval "$ac_link") 2>conftest.er1
27891 ac_status=$?
27892 grep -v '^ *+' conftest.er1 >conftest.err
27893 rm -f conftest.er1
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } && {
27897 test -z "$ac_c_werror_flag" ||
27898 test ! -s conftest.err
27899 } && test -s conftest$ac_exeext &&
27900 $as_test_x conftest$ac_exeext; then
27901 ac_cv_lib_expat_XML_ParserCreate=yes
27902 else
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.$ac_ext >&5
27905
27906 ac_cv_lib_expat_XML_ParserCreate=no
27907 fi
27908
27909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27910 conftest$ac_exeext conftest.$ac_ext
27911 LIBS=$ac_check_lib_save_LIBS
27912 fi
27913 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27914 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27915 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27916 EXPAT_LINK=" -lexpat"
27917 fi
27918
27919 fi
27920 fi
27921 if test "x$EXPAT_LINK" = "x" ; then
27922 if test "$wxUSE_EXPAT" = "sys" ; then
27923 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27924 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27925 { (exit 1); exit 1; }; }
27926 else
27927 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27928 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27929 wxUSE_EXPAT=builtin
27930 fi
27931 else
27932 wxUSE_EXPAT=sys
27933 fi
27934 fi
27935 if test "$wxUSE_EXPAT" = "builtin" ; then
27936 subdirs="$subdirs src/expat"
27937
27938 fi
27939 fi
27940
27941
27942
27943 if test "$wxUSE_LIBMSPACK" != "no"; then
27944 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27945 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27946 if test "${ac_cv_header_mspack_h+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 else
27949 cat >conftest.$ac_ext <<_ACEOF
27950 /* confdefs.h. */
27951 _ACEOF
27952 cat confdefs.h >>conftest.$ac_ext
27953 cat >>conftest.$ac_ext <<_ACEOF
27954 /* end confdefs.h. */
27955
27956
27957 #include <mspack.h>
27958 _ACEOF
27959 rm -f conftest.$ac_objext
27960 if { (ac_try="$ac_compile"
27961 case "(($ac_try" in
27962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27963 *) ac_try_echo=$ac_try;;
27964 esac
27965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27966 (eval "$ac_compile") 2>conftest.er1
27967 ac_status=$?
27968 grep -v '^ *+' conftest.er1 >conftest.err
27969 rm -f conftest.er1
27970 cat conftest.err >&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); } && {
27973 test -z "$ac_c_werror_flag" ||
27974 test ! -s conftest.err
27975 } && test -s conftest.$ac_objext; then
27976 ac_cv_header_mspack_h=yes
27977 else
27978 echo "$as_me: failed program was:" >&5
27979 sed 's/^/| /' conftest.$ac_ext >&5
27980
27981 ac_cv_header_mspack_h=no
27982 fi
27983
27984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985 fi
27986 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27987 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27988 if test $ac_cv_header_mspack_h = yes; then
27989 found_mspack_h=1
27990 fi
27991
27992
27993 if test "x$found_mspack_h" = "x1"; then
27994 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27995 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27996 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27997 echo $ECHO_N "(cached) $ECHO_C" >&6
27998 else
27999 ac_check_lib_save_LIBS=$LIBS
28000 LIBS="-lmspack $LIBS"
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007
28008 /* Override any GCC internal prototype to avoid an error.
28009 Use char because int might match the return type of a GCC
28010 builtin and then its argument prototype would still apply. */
28011 #ifdef __cplusplus
28012 extern "C"
28013 #endif
28014 char mspack_create_chm_decompressor ();
28015 int
28016 main ()
28017 {
28018 return mspack_create_chm_decompressor ();
28019 ;
28020 return 0;
28021 }
28022 _ACEOF
28023 rm -f conftest.$ac_objext conftest$ac_exeext
28024 if { (ac_try="$ac_link"
28025 case "(($ac_try" in
28026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28027 *) ac_try_echo=$ac_try;;
28028 esac
28029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28030 (eval "$ac_link") 2>conftest.er1
28031 ac_status=$?
28032 grep -v '^ *+' conftest.er1 >conftest.err
28033 rm -f conftest.er1
28034 cat conftest.err >&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); } && {
28037 test -z "$ac_c_werror_flag" ||
28038 test ! -s conftest.err
28039 } && test -s conftest$ac_exeext &&
28040 $as_test_x conftest$ac_exeext; then
28041 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28042 else
28043 echo "$as_me: failed program was:" >&5
28044 sed 's/^/| /' conftest.$ac_ext >&5
28045
28046 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28047 fi
28048
28049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28050 conftest$ac_exeext conftest.$ac_ext
28051 LIBS=$ac_check_lib_save_LIBS
28052 fi
28053 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28054 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28055 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28056 MSPACK_LINK=" -lmspack"
28057 fi
28058
28059 fi
28060 if test "x$MSPACK_LINK" = "x" ; then
28061 wxUSE_LIBMSPACK=no
28062 fi
28063 fi
28064
28065 if test "$wxUSE_LIBMSPACK" != "no"; then
28066 cat >>confdefs.h <<\_ACEOF
28067 #define wxUSE_LIBMSPACK 1
28068 _ACEOF
28069
28070 fi
28071
28072
28073
28074 AFMINSTALL=
28075 WIN32INSTALL=
28076
28077 TOOLKIT=
28078 TOOLKIT_INCLUDE=
28079 WIDGET_SET=
28080
28081 if test "$USE_WIN32" = 1 ; then
28082
28083 for ac_header in w32api.h
28084 do
28085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 cat >conftest.$ac_ext <<_ACEOF
28092 /* confdefs.h. */
28093 _ACEOF
28094 cat confdefs.h >>conftest.$ac_ext
28095 cat >>conftest.$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28097
28098
28099 #include <$ac_header>
28100 _ACEOF
28101 rm -f conftest.$ac_objext
28102 if { (ac_try="$ac_compile"
28103 case "(($ac_try" in
28104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105 *) ac_try_echo=$ac_try;;
28106 esac
28107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_compile") 2>conftest.er1
28109 ac_status=$?
28110 grep -v '^ *+' conftest.er1 >conftest.err
28111 rm -f conftest.er1
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && {
28115 test -z "$ac_c_werror_flag" ||
28116 test ! -s conftest.err
28117 } && test -s conftest.$ac_objext; then
28118 eval "$as_ac_Header=yes"
28119 else
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.$ac_ext >&5
28122
28123 eval "$as_ac_Header=no"
28124 fi
28125
28126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28127 fi
28128 ac_res=`eval echo '${'$as_ac_Header'}'`
28129 { echo "$as_me:$LINENO: result: $ac_res" >&5
28130 echo "${ECHO_T}$ac_res" >&6; }
28131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28132 cat >>confdefs.h <<_ACEOF
28133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28134 _ACEOF
28135
28136 fi
28137
28138 done
28139
28140 { echo "$as_me:$LINENO: checking for windows.h" >&5
28141 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28142 if test "${ac_cv_header_windows_h+set}" = set; then
28143 echo $ECHO_N "(cached) $ECHO_C" >&6
28144 else
28145 cat >conftest.$ac_ext <<_ACEOF
28146 /* confdefs.h. */
28147 _ACEOF
28148 cat confdefs.h >>conftest.$ac_ext
28149 cat >>conftest.$ac_ext <<_ACEOF
28150 /* end confdefs.h. */
28151
28152
28153 #include <windows.h>
28154 _ACEOF
28155 rm -f conftest.$ac_objext
28156 if { (ac_try="$ac_compile"
28157 case "(($ac_try" in
28158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28159 *) ac_try_echo=$ac_try;;
28160 esac
28161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28162 (eval "$ac_compile") 2>conftest.er1
28163 ac_status=$?
28164 grep -v '^ *+' conftest.er1 >conftest.err
28165 rm -f conftest.er1
28166 cat conftest.err >&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); } && {
28169 test -z "$ac_c_werror_flag" ||
28170 test ! -s conftest.err
28171 } && test -s conftest.$ac_objext; then
28172 ac_cv_header_windows_h=yes
28173 else
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28176
28177 ac_cv_header_windows_h=no
28178 fi
28179
28180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28181 fi
28182 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28183 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28184 if test $ac_cv_header_windows_h = yes; then
28185 :
28186 else
28187
28188 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28189 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28190 { (exit 1); exit 1; }; }
28191
28192 fi
28193
28194
28195
28196 case "${host}" in
28197 x86_64-*-mingw32* )
28198 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28199 ;;
28200 * )
28201 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28202 ;;
28203 esac
28204 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28205 LIBS="$LIBS -loleacc"
28206 fi
28207
28208 case "${host}" in
28209 *-*-cygwin* )
28210 LIBS="$LIBS -lkernel32 -luser32"
28211 esac
28212
28213 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28214 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28215
28216 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28217
28218 WIN32INSTALL=win32install
28219
28220 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28221 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28222 if test "${ac_cv_header_pbt_h+set}" = set; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28224 else
28225 cat >conftest.$ac_ext <<_ACEOF
28226 /* confdefs.h. */
28227 _ACEOF
28228 cat confdefs.h >>conftest.$ac_ext
28229 cat >>conftest.$ac_ext <<_ACEOF
28230 /* end confdefs.h. */
28231
28232
28233 #include <pbt.h>
28234 _ACEOF
28235 rm -f conftest.$ac_objext
28236 if { (ac_try="$ac_compile"
28237 case "(($ac_try" in
28238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28239 *) ac_try_echo=$ac_try;;
28240 esac
28241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28242 (eval "$ac_compile") 2>conftest.er1
28243 ac_status=$?
28244 grep -v '^ *+' conftest.er1 >conftest.err
28245 rm -f conftest.er1
28246 cat conftest.err >&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } && {
28249 test -z "$ac_c_werror_flag" ||
28250 test ! -s conftest.err
28251 } && test -s conftest.$ac_objext; then
28252 ac_cv_header_pbt_h=yes
28253 else
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.$ac_ext >&5
28256
28257 ac_cv_header_pbt_h=no
28258 fi
28259
28260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28261 fi
28262 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28263 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28264 if test $ac_cv_header_pbt_h = yes; then
28265 :
28266 else
28267 cat >>confdefs.h <<\_ACEOF
28268 #define NEED_PBT_H 1
28269 _ACEOF
28270
28271 fi
28272
28273
28274 fi
28275
28276 if test "$wxUSE_GUI" = "yes"; then
28277 USE_GUI=1
28278
28279 GUI_TK_LIBRARY=
28280
28281 WXGTK12=
28282 WXGTK127=
28283 WXGTK2=
28284 WXGPE=
28285
28286 if test "$wxUSE_COCOA" = 1 ; then
28287 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28288 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28289 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28290 wxUSE_PRINTING_ARCHITECTURE=no
28291 fi
28292 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28293 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28294 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28295 wxUSE_DRAG_AND_DROP=no
28296 fi
28297 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28298 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28299 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28300 wxUSE_DRAGIMAGE=no
28301 fi
28302 fi
28303
28304 if test "$wxUSE_MSW" = 1 ; then
28305 TOOLKIT=MSW
28306 GUIDIST=MSW_DIST
28307
28308 case "${host}" in
28309 *-*-mingw32* )
28310 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28311 esac
28312 fi
28313
28314 if test "$wxUSE_GTK" = 1; then
28315 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28316 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28317
28318 gtk_version_cached=1
28319 if test "${wx_cv_lib_gtk+set}" = set; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28321 else
28322
28323 gtk_version_cached=0
28324 { echo "$as_me:$LINENO: result: " >&5
28325 echo "${ECHO_T}" >&6; }
28326
28327 GTK_MODULES=
28328 if test "$wxUSE_THREADS" = "yes"; then
28329 GTK_MODULES=gthread
28330 fi
28331
28332 wx_cv_lib_gtk=
28333 if test "x$wxGTK_VERSION" != "x1"
28334 then
28335 case "${host}" in
28336 *-*-solaris2* )
28337 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28338 enable_gtktest=no
28339 fi
28340 esac
28341
28342 # Check whether --enable-gtktest was given.
28343 if test "${enable_gtktest+set}" = set; then
28344 enableval=$enable_gtktest;
28345 else
28346 enable_gtktest=yes
28347 fi
28348
28349
28350 pkg_config_args=gtk+-2.0
28351 for module in . $GTK_MODULES
28352 do
28353 case "$module" in
28354 gthread)
28355 pkg_config_args="$pkg_config_args gthread-2.0"
28356 ;;
28357 esac
28358 done
28359
28360 no_gtk=""
28361
28362 # Extract the first word of "pkg-config", so it can be a program name with args.
28363 set dummy pkg-config; ac_word=$2
28364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28366 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28367 echo $ECHO_N "(cached) $ECHO_C" >&6
28368 else
28369 case $PKG_CONFIG in
28370 [\\/]* | ?:[\\/]*)
28371 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28372 ;;
28373 *)
28374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28375 for as_dir in $PATH
28376 do
28377 IFS=$as_save_IFS
28378 test -z "$as_dir" && as_dir=.
28379 for ac_exec_ext in '' $ac_executable_extensions; do
28380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28381 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28383 break 2
28384 fi
28385 done
28386 done
28387 IFS=$as_save_IFS
28388
28389 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28390 ;;
28391 esac
28392 fi
28393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28394 if test -n "$PKG_CONFIG"; then
28395 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28396 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28397 else
28398 { echo "$as_me:$LINENO: result: no" >&5
28399 echo "${ECHO_T}no" >&6; }
28400 fi
28401
28402
28403
28404 if test x$PKG_CONFIG != xno ; then
28405 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28406 :
28407 else
28408 echo "*** pkg-config too old; version 0.7 or better required."
28409 no_gtk=yes
28410 PKG_CONFIG=no
28411 fi
28412 else
28413 no_gtk=yes
28414 fi
28415
28416 min_gtk_version=2.4.0
28417 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28418 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28419
28420 if test x$PKG_CONFIG != xno ; then
28421 ## don't try to run the test against uninstalled libtool libs
28422 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28423 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28424 enable_gtktest=no
28425 fi
28426
28427 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28428 :
28429 else
28430 no_gtk=yes
28431 fi
28432 fi
28433
28434 if test x"$no_gtk" = x ; then
28435 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28436 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28437 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28439 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28441 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28443 if test "x$enable_gtktest" = "xyes" ; then
28444 ac_save_CFLAGS="$CFLAGS"
28445 ac_save_LIBS="$LIBS"
28446 CFLAGS="$CFLAGS $GTK_CFLAGS"
28447 LIBS="$GTK_LIBS $LIBS"
28448 rm -f conf.gtktest
28449 if test "$cross_compiling" = yes; then
28450 echo $ac_n "cross compiling; assumed OK... $ac_c"
28451 else
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458
28459 #include <gtk/gtk.h>
28460 #include <stdio.h>
28461 #include <stdlib.h>
28462
28463 int
28464 main ()
28465 {
28466 int major, minor, micro;
28467 char *tmp_version;
28468
28469 system ("touch conf.gtktest");
28470
28471 /* HP/UX 9 (%@#!) writes to sscanf strings */
28472 tmp_version = g_strdup("$min_gtk_version");
28473 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28474 printf("%s, bad version string\n", "$min_gtk_version");
28475 exit(1);
28476 }
28477
28478 if ((gtk_major_version != $gtk_config_major_version) ||
28479 (gtk_minor_version != $gtk_config_minor_version) ||
28480 (gtk_micro_version != $gtk_config_micro_version))
28481 {
28482 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28483 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28484 gtk_major_version, gtk_minor_version, gtk_micro_version);
28485 printf ("*** was found! If pkg-config was correct, then it is best\n");
28486 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28487 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28488 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28489 printf("*** required on your system.\n");
28490 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28491 printf("*** to point to the correct configuration files\n");
28492 }
28493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28494 (gtk_minor_version != GTK_MINOR_VERSION) ||
28495 (gtk_micro_version != GTK_MICRO_VERSION))
28496 {
28497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28499 printf("*** library (version %d.%d.%d)\n",
28500 gtk_major_version, gtk_minor_version, gtk_micro_version);
28501 }
28502 else
28503 {
28504 if ((gtk_major_version > major) ||
28505 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28506 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28507 {
28508 return 0;
28509 }
28510 else
28511 {
28512 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28513 gtk_major_version, gtk_minor_version, gtk_micro_version);
28514 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28515 major, minor, micro);
28516 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28517 printf("***\n");
28518 printf("*** If you have already installed a sufficiently new version, this error\n");
28519 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28520 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28521 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28522 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28523 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28524 printf("*** so that the correct libraries are found at run-time))\n");
28525 }
28526 }
28527 return 1;
28528 }
28529
28530 _ACEOF
28531 rm -f conftest$ac_exeext
28532 if { (ac_try="$ac_link"
28533 case "(($ac_try" in
28534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28535 *) ac_try_echo=$ac_try;;
28536 esac
28537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28538 (eval "$ac_link") 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28548 ac_status=$?
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; }; then
28551 :
28552 else
28553 echo "$as_me: program exited with status $ac_status" >&5
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28556
28557 ( exit $ac_status )
28558 no_gtk=yes
28559 fi
28560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28561 fi
28562
28563
28564 CFLAGS="$ac_save_CFLAGS"
28565 LIBS="$ac_save_LIBS"
28566 fi
28567 fi
28568 if test "x$no_gtk" = x ; then
28569 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28570 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28571 wx_cv_lib_gtk=2.0
28572 else
28573 { echo "$as_me:$LINENO: result: no" >&5
28574 echo "${ECHO_T}no" >&6; }
28575 if test "$PKG_CONFIG" = "no" ; then
28576 echo "*** A new enough version of pkg-config was not found."
28577 echo "*** See http://pkgconfig.sourceforge.net"
28578 else
28579 if test -f conf.gtktest ; then
28580 :
28581 else
28582 echo "*** Could not run GTK+ test program, checking why..."
28583 ac_save_CFLAGS="$CFLAGS"
28584 ac_save_LIBS="$LIBS"
28585 CFLAGS="$CFLAGS $GTK_CFLAGS"
28586 LIBS="$LIBS $GTK_LIBS"
28587 cat >conftest.$ac_ext <<_ACEOF
28588 /* confdefs.h. */
28589 _ACEOF
28590 cat confdefs.h >>conftest.$ac_ext
28591 cat >>conftest.$ac_ext <<_ACEOF
28592 /* end confdefs.h. */
28593
28594 #include <gtk/gtk.h>
28595 #include <stdio.h>
28596
28597 int
28598 main ()
28599 {
28600 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28601 ;
28602 return 0;
28603 }
28604 _ACEOF
28605 rm -f conftest.$ac_objext conftest$ac_exeext
28606 if { (ac_try="$ac_link"
28607 case "(($ac_try" in
28608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28609 *) ac_try_echo=$ac_try;;
28610 esac
28611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28612 (eval "$ac_link") 2>conftest.er1
28613 ac_status=$?
28614 grep -v '^ *+' conftest.er1 >conftest.err
28615 rm -f conftest.er1
28616 cat conftest.err >&5
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); } && {
28619 test -z "$ac_c_werror_flag" ||
28620 test ! -s conftest.err
28621 } && test -s conftest$ac_exeext &&
28622 $as_test_x conftest$ac_exeext; then
28623 echo "*** The test program compiled, but did not run. This usually means"
28624 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28625 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28626 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28627 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28628 echo "*** is required on your system"
28629 echo "***"
28630 echo "*** If you have an old version installed, it is best to remove it, although"
28631 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 echo "*** The test program failed to compile or link. See the file config.log for the"
28637 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28638 fi
28639
28640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28641 conftest$ac_exeext conftest.$ac_ext
28642 CFLAGS="$ac_save_CFLAGS"
28643 LIBS="$ac_save_LIBS"
28644 fi
28645 fi
28646 GTK_CFLAGS=""
28647 GTK_LIBS=""
28648 :
28649 fi
28650
28651
28652 rm -f conf.gtktest
28653
28654
28655 case "${host}" in
28656 *-*-solaris2* )
28657 if test "$wxUSE_SHARED" != "yes"; then
28658 GTK_LIBS="$GTK_LIBS -lX11"
28659 fi
28660 esac
28661 fi
28662
28663 if test -z "$wx_cv_lib_gtk"; then
28664 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28665
28666 # Check whether --with-gtk-prefix was given.
28667 if test "${with_gtk_prefix+set}" = set; then
28668 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28669 else
28670 gtk_config_prefix=""
28671 fi
28672
28673
28674 # Check whether --with-gtk-exec-prefix was given.
28675 if test "${with_gtk_exec_prefix+set}" = set; then
28676 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28677 else
28678 gtk_config_exec_prefix=""
28679 fi
28680
28681 # Check whether --enable-gtktest was given.
28682 if test "${enable_gtktest+set}" = set; then
28683 enableval=$enable_gtktest;
28684 else
28685 enable_gtktest=yes
28686 fi
28687
28688
28689 for module in . $GTK_MODULES
28690 do
28691 case "$module" in
28692 gthread)
28693 gtk_config_args="$gtk_config_args gthread"
28694 ;;
28695 esac
28696 done
28697
28698 if test x$gtk_config_exec_prefix != x ; then
28699 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28700 if test x${GTK_CONFIG+set} != xset ; then
28701 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28702 fi
28703 fi
28704 if test x$gtk_config_prefix != x ; then
28705 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28706 if test x${GTK_CONFIG+set} != xset ; then
28707 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28708 fi
28709 fi
28710
28711 # Extract the first word of "gtk-config", so it can be a program name with args.
28712 set dummy gtk-config; ac_word=$2
28713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28715 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 else
28718 case $GTK_CONFIG in
28719 [\\/]* | ?:[\\/]*)
28720 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28721 ;;
28722 *)
28723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28724 for as_dir in $PATH
28725 do
28726 IFS=$as_save_IFS
28727 test -z "$as_dir" && as_dir=.
28728 for ac_exec_ext in '' $ac_executable_extensions; do
28729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28730 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28732 break 2
28733 fi
28734 done
28735 done
28736 IFS=$as_save_IFS
28737
28738 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28739 ;;
28740 esac
28741 fi
28742 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28743 if test -n "$GTK_CONFIG"; then
28744 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28745 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28746 else
28747 { echo "$as_me:$LINENO: result: no" >&5
28748 echo "${ECHO_T}no" >&6; }
28749 fi
28750
28751
28752 min_gtk_version=1.2.7
28753 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28754 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28755 no_gtk=""
28756 if test "$GTK_CONFIG" = "no" ; then
28757 no_gtk=yes
28758 else
28759 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28760 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28761 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28763 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28765 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28767 if test "x$enable_gtktest" = "xyes" ; then
28768 ac_save_CFLAGS="$CFLAGS"
28769 ac_save_LIBS="$LIBS"
28770 CFLAGS="$CFLAGS $GTK_CFLAGS"
28771 LIBS="$GTK_LIBS $LIBS"
28772 rm -f conf.gtktest
28773 if test "$cross_compiling" = yes; then
28774 echo $ac_n "cross compiling; assumed OK... $ac_c"
28775 else
28776 cat >conftest.$ac_ext <<_ACEOF
28777 /* confdefs.h. */
28778 _ACEOF
28779 cat confdefs.h >>conftest.$ac_ext
28780 cat >>conftest.$ac_ext <<_ACEOF
28781 /* end confdefs.h. */
28782
28783 #include <gtk/gtk.h>
28784 #include <stdio.h>
28785 #include <stdlib.h>
28786
28787 int
28788 main ()
28789 {
28790 int major, minor, micro;
28791 char *tmp_version;
28792
28793 system ("touch conf.gtktest");
28794
28795 /* HP/UX 9 (%@#!) writes to sscanf strings */
28796 tmp_version = g_strdup("$min_gtk_version");
28797 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28798 printf("%s, bad version string\n", "$min_gtk_version");
28799 exit(1);
28800 }
28801
28802 if ((gtk_major_version != $gtk_config_major_version) ||
28803 (gtk_minor_version != $gtk_config_minor_version) ||
28804 (gtk_micro_version != $gtk_config_micro_version))
28805 {
28806 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28807 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28808 gtk_major_version, gtk_minor_version, gtk_micro_version);
28809 printf ("*** was found! If gtk-config was correct, then it is best\n");
28810 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28811 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28812 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28813 printf("*** required on your system.\n");
28814 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28815 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28816 printf("*** before re-running configure\n");
28817 }
28818 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28819 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28820 (gtk_minor_version != GTK_MINOR_VERSION) ||
28821 (gtk_micro_version != GTK_MICRO_VERSION))
28822 {
28823 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28824 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28825 printf("*** library (version %d.%d.%d)\n",
28826 gtk_major_version, gtk_minor_version, gtk_micro_version);
28827 }
28828 #endif /* defined (GTK_MAJOR_VERSION) ... */
28829 else
28830 {
28831 if ((gtk_major_version > major) ||
28832 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28833 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28834 {
28835 return 0;
28836 }
28837 else
28838 {
28839 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28840 gtk_major_version, gtk_minor_version, gtk_micro_version);
28841 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28842 major, minor, micro);
28843 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28844 printf("***\n");
28845 printf("*** If you have already installed a sufficiently new version, this error\n");
28846 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28847 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28848 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28849 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28850 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28851 printf("*** so that the correct libraries are found at run-time))\n");
28852 }
28853 }
28854 return 1;
28855 }
28856
28857 _ACEOF
28858 rm -f conftest$ac_exeext
28859 if { (ac_try="$ac_link"
28860 case "(($ac_try" in
28861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28862 *) ac_try_echo=$ac_try;;
28863 esac
28864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28865 (eval "$ac_link") 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28869 { (case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28872 esac
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_try") 2>&5
28875 ac_status=$?
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; }; then
28878 :
28879 else
28880 echo "$as_me: program exited with status $ac_status" >&5
28881 echo "$as_me: failed program was:" >&5
28882 sed 's/^/| /' conftest.$ac_ext >&5
28883
28884 ( exit $ac_status )
28885 no_gtk=yes
28886 fi
28887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28888 fi
28889
28890
28891 CFLAGS="$ac_save_CFLAGS"
28892 LIBS="$ac_save_LIBS"
28893 fi
28894 fi
28895 if test "x$no_gtk" = x ; then
28896 { echo "$as_me:$LINENO: result: yes" >&5
28897 echo "${ECHO_T}yes" >&6; }
28898 wx_cv_lib_gtk=1.2.7
28899 else
28900 { echo "$as_me:$LINENO: result: no" >&5
28901 echo "${ECHO_T}no" >&6; }
28902 if test "$GTK_CONFIG" = "no" ; then
28903 echo "*** The gtk-config script installed by GTK could not be found"
28904 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28905 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28906 echo "*** full path to gtk-config."
28907 else
28908 if test -f conf.gtktest ; then
28909 :
28910 else
28911 echo "*** Could not run GTK test program, checking why..."
28912 CFLAGS="$CFLAGS $GTK_CFLAGS"
28913 LIBS="$LIBS $GTK_LIBS"
28914 cat >conftest.$ac_ext <<_ACEOF
28915 /* confdefs.h. */
28916 _ACEOF
28917 cat confdefs.h >>conftest.$ac_ext
28918 cat >>conftest.$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28920
28921 #include <gtk/gtk.h>
28922 #include <stdio.h>
28923
28924 int
28925 main ()
28926 {
28927 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28928 ;
28929 return 0;
28930 }
28931 _ACEOF
28932 rm -f conftest.$ac_objext conftest$ac_exeext
28933 if { (ac_try="$ac_link"
28934 case "(($ac_try" in
28935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28936 *) ac_try_echo=$ac_try;;
28937 esac
28938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28939 (eval "$ac_link") 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } && {
28946 test -z "$ac_c_werror_flag" ||
28947 test ! -s conftest.err
28948 } && test -s conftest$ac_exeext &&
28949 $as_test_x conftest$ac_exeext; then
28950 echo "*** The test program compiled, but did not run. This usually means"
28951 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28952 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28953 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28954 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28955 echo "*** is required on your system"
28956 echo "***"
28957 echo "*** If you have an old version installed, it is best to remove it, although"
28958 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28959 echo "***"
28960 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28961 echo "*** came with the system with the command"
28962 echo "***"
28963 echo "*** rpm --erase --nodeps gtk gtk-devel"
28964 else
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.$ac_ext >&5
28967
28968 echo "*** The test program failed to compile or link. See the file config.log for the"
28969 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28970 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28971 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28972 fi
28973
28974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28975 conftest$ac_exeext conftest.$ac_ext
28976 CFLAGS="$ac_save_CFLAGS"
28977 LIBS="$ac_save_LIBS"
28978 fi
28979 fi
28980 GTK_CFLAGS=""
28981 GTK_LIBS=""
28982 :
28983 fi
28984
28985
28986 rm -f conf.gtktest
28987
28988
28989 if test -z "$wx_cv_lib_gtk"; then
28990
28991 # Check whether --with-gtk-prefix was given.
28992 if test "${with_gtk_prefix+set}" = set; then
28993 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28994 else
28995 gtk_config_prefix=""
28996 fi
28997
28998
28999 # Check whether --with-gtk-exec-prefix was given.
29000 if test "${with_gtk_exec_prefix+set}" = set; then
29001 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29002 else
29003 gtk_config_exec_prefix=""
29004 fi
29005
29006 # Check whether --enable-gtktest was given.
29007 if test "${enable_gtktest+set}" = set; then
29008 enableval=$enable_gtktest;
29009 else
29010 enable_gtktest=yes
29011 fi
29012
29013
29014 for module in . $GTK_MODULES
29015 do
29016 case "$module" in
29017 gthread)
29018 gtk_config_args="$gtk_config_args gthread"
29019 ;;
29020 esac
29021 done
29022
29023 if test x$gtk_config_exec_prefix != x ; then
29024 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29025 if test x${GTK_CONFIG+set} != xset ; then
29026 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29027 fi
29028 fi
29029 if test x$gtk_config_prefix != x ; then
29030 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29031 if test x${GTK_CONFIG+set} != xset ; then
29032 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29033 fi
29034 fi
29035
29036 # Extract the first word of "gtk-config", so it can be a program name with args.
29037 set dummy gtk-config; ac_word=$2
29038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29040 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29041 echo $ECHO_N "(cached) $ECHO_C" >&6
29042 else
29043 case $GTK_CONFIG in
29044 [\\/]* | ?:[\\/]*)
29045 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29046 ;;
29047 *)
29048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29049 for as_dir in $PATH
29050 do
29051 IFS=$as_save_IFS
29052 test -z "$as_dir" && as_dir=.
29053 for ac_exec_ext in '' $ac_executable_extensions; do
29054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29055 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29057 break 2
29058 fi
29059 done
29060 done
29061 IFS=$as_save_IFS
29062
29063 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29064 ;;
29065 esac
29066 fi
29067 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29068 if test -n "$GTK_CONFIG"; then
29069 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29070 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29071 else
29072 { echo "$as_me:$LINENO: result: no" >&5
29073 echo "${ECHO_T}no" >&6; }
29074 fi
29075
29076
29077 min_gtk_version=1.2.3
29078 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29079 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29080 no_gtk=""
29081 if test "$GTK_CONFIG" = "no" ; then
29082 no_gtk=yes
29083 else
29084 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29085 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29086 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29088 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29090 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29092 if test "x$enable_gtktest" = "xyes" ; then
29093 ac_save_CFLAGS="$CFLAGS"
29094 ac_save_LIBS="$LIBS"
29095 CFLAGS="$CFLAGS $GTK_CFLAGS"
29096 LIBS="$GTK_LIBS $LIBS"
29097 rm -f conf.gtktest
29098 if test "$cross_compiling" = yes; then
29099 echo $ac_n "cross compiling; assumed OK... $ac_c"
29100 else
29101 cat >conftest.$ac_ext <<_ACEOF
29102 /* confdefs.h. */
29103 _ACEOF
29104 cat confdefs.h >>conftest.$ac_ext
29105 cat >>conftest.$ac_ext <<_ACEOF
29106 /* end confdefs.h. */
29107
29108 #include <gtk/gtk.h>
29109 #include <stdio.h>
29110 #include <stdlib.h>
29111
29112 int
29113 main ()
29114 {
29115 int major, minor, micro;
29116 char *tmp_version;
29117
29118 system ("touch conf.gtktest");
29119
29120 /* HP/UX 9 (%@#!) writes to sscanf strings */
29121 tmp_version = g_strdup("$min_gtk_version");
29122 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29123 printf("%s, bad version string\n", "$min_gtk_version");
29124 exit(1);
29125 }
29126
29127 if ((gtk_major_version != $gtk_config_major_version) ||
29128 (gtk_minor_version != $gtk_config_minor_version) ||
29129 (gtk_micro_version != $gtk_config_micro_version))
29130 {
29131 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29132 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29133 gtk_major_version, gtk_minor_version, gtk_micro_version);
29134 printf ("*** was found! If gtk-config was correct, then it is best\n");
29135 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29136 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29137 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29138 printf("*** required on your system.\n");
29139 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29140 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29141 printf("*** before re-running configure\n");
29142 }
29143 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29144 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29145 (gtk_minor_version != GTK_MINOR_VERSION) ||
29146 (gtk_micro_version != GTK_MICRO_VERSION))
29147 {
29148 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29149 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29150 printf("*** library (version %d.%d.%d)\n",
29151 gtk_major_version, gtk_minor_version, gtk_micro_version);
29152 }
29153 #endif /* defined (GTK_MAJOR_VERSION) ... */
29154 else
29155 {
29156 if ((gtk_major_version > major) ||
29157 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29158 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29159 {
29160 return 0;
29161 }
29162 else
29163 {
29164 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29165 gtk_major_version, gtk_minor_version, gtk_micro_version);
29166 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29167 major, minor, micro);
29168 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29169 printf("***\n");
29170 printf("*** If you have already installed a sufficiently new version, this error\n");
29171 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29172 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29173 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29174 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29175 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29176 printf("*** so that the correct libraries are found at run-time))\n");
29177 }
29178 }
29179 return 1;
29180 }
29181
29182 _ACEOF
29183 rm -f conftest$ac_exeext
29184 if { (ac_try="$ac_link"
29185 case "(($ac_try" in
29186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29187 *) ac_try_echo=$ac_try;;
29188 esac
29189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29190 (eval "$ac_link") 2>&5
29191 ac_status=$?
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29194 { (case "(($ac_try" in
29195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29196 *) ac_try_echo=$ac_try;;
29197 esac
29198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29199 (eval "$ac_try") 2>&5
29200 ac_status=$?
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); }; }; then
29203 :
29204 else
29205 echo "$as_me: program exited with status $ac_status" >&5
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209 ( exit $ac_status )
29210 no_gtk=yes
29211 fi
29212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29213 fi
29214
29215
29216 CFLAGS="$ac_save_CFLAGS"
29217 LIBS="$ac_save_LIBS"
29218 fi
29219 fi
29220 if test "x$no_gtk" = x ; then
29221 { echo "$as_me:$LINENO: result: yes" >&5
29222 echo "${ECHO_T}yes" >&6; }
29223 wx_cv_lib_gtk=1.2.3
29224 else
29225 { echo "$as_me:$LINENO: result: no" >&5
29226 echo "${ECHO_T}no" >&6; }
29227 if test "$GTK_CONFIG" = "no" ; then
29228 echo "*** The gtk-config script installed by GTK could not be found"
29229 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29230 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29231 echo "*** full path to gtk-config."
29232 else
29233 if test -f conf.gtktest ; then
29234 :
29235 else
29236 echo "*** Could not run GTK test program, checking why..."
29237 CFLAGS="$CFLAGS $GTK_CFLAGS"
29238 LIBS="$LIBS $GTK_LIBS"
29239 cat >conftest.$ac_ext <<_ACEOF
29240 /* confdefs.h. */
29241 _ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h. */
29245
29246 #include <gtk/gtk.h>
29247 #include <stdio.h>
29248
29249 int
29250 main ()
29251 {
29252 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29253 ;
29254 return 0;
29255 }
29256 _ACEOF
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (ac_try="$ac_link"
29259 case "(($ac_try" in
29260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29261 *) ac_try_echo=$ac_try;;
29262 esac
29263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29264 (eval "$ac_link") 2>conftest.er1
29265 ac_status=$?
29266 grep -v '^ *+' conftest.er1 >conftest.err
29267 rm -f conftest.er1
29268 cat conftest.err >&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && {
29271 test -z "$ac_c_werror_flag" ||
29272 test ! -s conftest.err
29273 } && test -s conftest$ac_exeext &&
29274 $as_test_x conftest$ac_exeext; then
29275 echo "*** The test program compiled, but did not run. This usually means"
29276 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29277 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29278 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29279 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29280 echo "*** is required on your system"
29281 echo "***"
29282 echo "*** If you have an old version installed, it is best to remove it, although"
29283 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29284 echo "***"
29285 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29286 echo "*** came with the system with the command"
29287 echo "***"
29288 echo "*** rpm --erase --nodeps gtk gtk-devel"
29289 else
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29292
29293 echo "*** The test program failed to compile or link. See the file config.log for the"
29294 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29295 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29296 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29297 fi
29298
29299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29300 conftest$ac_exeext conftest.$ac_ext
29301 CFLAGS="$ac_save_CFLAGS"
29302 LIBS="$ac_save_LIBS"
29303 fi
29304 fi
29305 GTK_CFLAGS=""
29306 GTK_LIBS=""
29307 :
29308 fi
29309
29310
29311 rm -f conf.gtktest
29312
29313 fi
29314 fi
29315 fi
29316
29317 if test -z "$wx_cv_lib_gtk"; then
29318 wx_cv_lib_gtk=none
29319 else
29320 wx_cv_cflags_gtk=$GTK_CFLAGS
29321 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29322 fi
29323
29324
29325 fi
29326
29327
29328 if test "$gtk_version_cached" = 1; then
29329 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29330 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29331 fi
29332
29333 case "$wx_cv_lib_gtk" in
29334 2.0) WXGTK2=1
29335 TOOLKIT_VERSION=2
29336 ;;
29337 1.2.7) WXGTK127=1
29338 WXGTK12=1
29339 ;;
29340 1.2.3) WXGTK12=1
29341 ;;
29342 *) { { echo "$as_me:$LINENO: error:
29343 The development files for GTK+ were not found. For GTK+ 2, please
29344 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29345 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29346 and that the version is 1.2.3 or above. Also check that the
29347 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29348 --libs' are in the LD_LIBRARY_PATH or equivalent.
29349 " >&5
29350 echo "$as_me: error:
29351 The development files for GTK+ were not found. For GTK+ 2, please
29352 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29353 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29354 and that the version is 1.2.3 or above. Also check that the
29355 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29356 --libs' are in the LD_LIBRARY_PATH or equivalent.
29357 " >&2;}
29358 { (exit 1); exit 1; }; }
29359 ;;
29360 esac
29361
29362 if test "$WXGTK2" = 1; then
29363 save_CFLAGS="$CFLAGS"
29364 save_LIBS="$LIBS"
29365 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29366 LIBS="$LIBS $wx_cv_libs_gtk"
29367
29368 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29369 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29370 cat >conftest.$ac_ext <<_ACEOF
29371 /* confdefs.h. */
29372 _ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29376
29377 #include <gtk/gtk.h>
29378
29379 int
29380 main ()
29381 {
29382
29383 #if !GTK_CHECK_VERSION(2,10,0)
29384 Not GTK+ 2.10
29385 #endif
29386
29387 ;
29388 return 0;
29389 }
29390 _ACEOF
29391 rm -f conftest.$ac_objext
29392 if { (ac_try="$ac_compile"
29393 case "(($ac_try" in
29394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29395 *) ac_try_echo=$ac_try;;
29396 esac
29397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29398 (eval "$ac_compile") 2>conftest.er1
29399 ac_status=$?
29400 grep -v '^ *+' conftest.er1 >conftest.err
29401 rm -f conftest.er1
29402 cat conftest.err >&5
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); } && {
29405 test -z "$ac_c_werror_flag" ||
29406 test ! -s conftest.err
29407 } && test -s conftest.$ac_objext; then
29408
29409 cat >>confdefs.h <<\_ACEOF
29410 #define __WXGTK210__ 1
29411 _ACEOF
29412
29413 cat >>confdefs.h <<\_ACEOF
29414 #define __WXGTK26__ 1
29415 _ACEOF
29416
29417 { echo "$as_me:$LINENO: result: yes" >&5
29418 echo "${ECHO_T}yes" >&6; }
29419 ac_wxgtk210=1
29420
29421 else
29422 echo "$as_me: failed program was:" >&5
29423 sed 's/^/| /' conftest.$ac_ext >&5
29424
29425
29426 { echo "$as_me:$LINENO: result: no" >&5
29427 echo "${ECHO_T}no" >&6; }
29428 ac_wxgtk210=0
29429
29430 fi
29431
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433
29434 if test "$ac_wxgtk210" = 0; then
29435 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29436 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29437 cat >conftest.$ac_ext <<_ACEOF
29438 /* confdefs.h. */
29439 _ACEOF
29440 cat confdefs.h >>conftest.$ac_ext
29441 cat >>conftest.$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29443
29444 #include <gtk/gtk.h>
29445
29446 int
29447 main ()
29448 {
29449
29450 #if !GTK_CHECK_VERSION(2,6,0)
29451 Not GTK+ 2.6
29452 #endif
29453
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 rm -f conftest.$ac_objext
29459 if { (ac_try="$ac_compile"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29463 esac
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_compile") 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest.$ac_objext; then
29475
29476 cat >>confdefs.h <<\_ACEOF
29477 #define __WXGTK26__ 1
29478 _ACEOF
29479
29480 { echo "$as_me:$LINENO: result: yes" >&5
29481 echo "${ECHO_T}yes" >&6; }
29482 ac_wxgtk26=1
29483
29484 else
29485 echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.$ac_ext >&5
29487
29488
29489 { echo "$as_me:$LINENO: result: no" >&5
29490 echo "${ECHO_T}no" >&6; }
29491 ac_wxgtk26=0
29492
29493 fi
29494
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 fi
29497
29498 CFLAGS="$save_CFLAGS"
29499 LIBS="$save_LIBS"
29500 else
29501 if test "$wxUSE_UNICODE" = "yes"; then
29502 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29503 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29504 wxUSE_UNICODE=no
29505 fi
29506
29507 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29508 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29509 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 else
29512 ac_check_lib_save_LIBS=$LIBS
29513 LIBS="-lgdk $LIBS"
29514 cat >conftest.$ac_ext <<_ACEOF
29515 /* confdefs.h. */
29516 _ACEOF
29517 cat confdefs.h >>conftest.$ac_ext
29518 cat >>conftest.$ac_ext <<_ACEOF
29519 /* end confdefs.h. */
29520
29521 /* Override any GCC internal prototype to avoid an error.
29522 Use char because int might match the return type of a GCC
29523 builtin and then its argument prototype would still apply. */
29524 #ifdef __cplusplus
29525 extern "C"
29526 #endif
29527 char gdk_im_open ();
29528 int
29529 main ()
29530 {
29531 return gdk_im_open ();
29532 ;
29533 return 0;
29534 }
29535 _ACEOF
29536 rm -f conftest.$ac_objext conftest$ac_exeext
29537 if { (ac_try="$ac_link"
29538 case "(($ac_try" in
29539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29540 *) ac_try_echo=$ac_try;;
29541 esac
29542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29543 (eval "$ac_link") 2>conftest.er1
29544 ac_status=$?
29545 grep -v '^ *+' conftest.er1 >conftest.err
29546 rm -f conftest.er1
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } && {
29550 test -z "$ac_c_werror_flag" ||
29551 test ! -s conftest.err
29552 } && test -s conftest$ac_exeext &&
29553 $as_test_x conftest$ac_exeext; then
29554 ac_cv_lib_gdk_gdk_im_open=yes
29555 else
29556 echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29558
29559 ac_cv_lib_gdk_gdk_im_open=no
29560 fi
29561
29562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29563 conftest$ac_exeext conftest.$ac_ext
29564 LIBS=$ac_check_lib_save_LIBS
29565 fi
29566 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29567 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29568 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29569 cat >>confdefs.h <<\_ACEOF
29570 #define HAVE_XIM 1
29571 _ACEOF
29572
29573 fi
29574
29575
29576 if test "$USE_DARWIN" != 1; then
29577
29578 for ac_func in poll
29579 do
29580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 else
29586 cat >conftest.$ac_ext <<_ACEOF
29587 /* confdefs.h. */
29588 _ACEOF
29589 cat confdefs.h >>conftest.$ac_ext
29590 cat >>conftest.$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29594 #define $ac_func innocuous_$ac_func
29595
29596 /* System header to define __stub macros and hopefully few prototypes,
29597 which can conflict with char $ac_func (); below.
29598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29599 <limits.h> exists even on freestanding compilers. */
29600
29601 #ifdef __STDC__
29602 # include <limits.h>
29603 #else
29604 # include <assert.h>
29605 #endif
29606
29607 #undef $ac_func
29608
29609 /* Override any GCC internal prototype to avoid an error.
29610 Use char because int might match the return type of a GCC
29611 builtin and then its argument prototype would still apply. */
29612 #ifdef __cplusplus
29613 extern "C"
29614 #endif
29615 char $ac_func ();
29616 /* The GNU C library defines this for functions which it implements
29617 to always fail with ENOSYS. Some functions are actually named
29618 something starting with __ and the normal name is an alias. */
29619 #if defined __stub_$ac_func || defined __stub___$ac_func
29620 choke me
29621 #endif
29622
29623 int
29624 main ()
29625 {
29626 return $ac_func ();
29627 ;
29628 return 0;
29629 }
29630 _ACEOF
29631 rm -f conftest.$ac_objext conftest$ac_exeext
29632 if { (ac_try="$ac_link"
29633 case "(($ac_try" in
29634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29635 *) ac_try_echo=$ac_try;;
29636 esac
29637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29638 (eval "$ac_link") 2>conftest.er1
29639 ac_status=$?
29640 grep -v '^ *+' conftest.er1 >conftest.err
29641 rm -f conftest.er1
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } && {
29645 test -z "$ac_c_werror_flag" ||
29646 test ! -s conftest.err
29647 } && test -s conftest$ac_exeext &&
29648 $as_test_x conftest$ac_exeext; then
29649 eval "$as_ac_var=yes"
29650 else
29651 echo "$as_me: failed program was:" >&5
29652 sed 's/^/| /' conftest.$ac_ext >&5
29653
29654 eval "$as_ac_var=no"
29655 fi
29656
29657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29658 conftest$ac_exeext conftest.$ac_ext
29659 fi
29660 ac_res=`eval echo '${'$as_ac_var'}'`
29661 { echo "$as_me:$LINENO: result: $ac_res" >&5
29662 echo "${ECHO_T}$ac_res" >&6; }
29663 if test `eval echo '${'$as_ac_var'}'` = yes; then
29664 cat >>confdefs.h <<_ACEOF
29665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29666 _ACEOF
29667
29668 fi
29669 done
29670
29671 fi
29672 fi
29673
29674 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29675 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29676
29677 AFMINSTALL=afminstall
29678 TOOLKIT=GTK
29679 GUIDIST=GTK_DIST
29680
29681 if test "$wxUSE_GPE" = "yes"; then
29682 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29683 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29684
29685 ac_find_libraries=
29686 for ac_dir in $SEARCH_LIB;
29687 do
29688 for ac_extension in a so sl dylib dll.a; do
29689 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29690 ac_find_libraries=$ac_dir
29691 break 2
29692 fi
29693 done
29694 done
29695
29696 if test "$ac_find_libraries" != "" ; then
29697
29698 if test "$ac_find_libraries" = "default location"; then
29699 ac_path_to_link=""
29700 else
29701 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29702 result=$?
29703 if test $result = 0; then
29704 ac_path_to_link=""
29705 else
29706 ac_path_to_link=" -L$ac_find_libraries"
29707 fi
29708 fi
29709
29710 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29711 WXGPE=1
29712 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29713 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29714 else
29715 { echo "$as_me:$LINENO: result: not found" >&5
29716 echo "${ECHO_T}not found" >&6; }
29717 fi
29718
29719 fi
29720 fi
29721
29722 if test "$wxUSE_MGL" = 1; then
29723 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29724 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29725 if test "x$MGL_ROOT" = x ; then
29726 { echo "$as_me:$LINENO: result: not found" >&5
29727 echo "${ECHO_T}not found" >&6; }
29728 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29729 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29730 { (exit 1); exit 1; }; }
29731 else
29732 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29733 echo "${ECHO_T}$MGL_ROOT" >&6; }
29734 fi
29735
29736 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29737 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29738 case "${host}" in
29739 *-*-linux* )
29740 if test "x$wxUSE_SHARED" = xyes ; then
29741 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29742 else
29743 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29744 fi
29745 ;;
29746 *-pc-msdosdjgpp )
29747 mgl_os_candidates="dos32/dj2"
29748 ;;
29749 *)
29750 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29751 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29752 { (exit 1); exit 1; }; }
29753 esac
29754
29755 mgl_lib_type=""
29756 mgl_os=""
29757
29758 for mgl_os_i in $mgl_os_candidates ; do
29759 if test "x$mgl_os" = x ; then
29760 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29761 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29762 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29763 mgl_lib_type=debug
29764 mgl_os=$mgl_os_i
29765 fi
29766 fi
29767 if test "x$mgl_lib_type" = x ; then
29768 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29769 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29770 mgl_lib_type=release
29771 mgl_os=$mgl_os_i
29772 fi
29773 fi
29774 fi
29775 done
29776
29777 if test "x$mgl_os" = x ; then
29778 { echo "$as_me:$LINENO: result: not found" >&5
29779 echo "${ECHO_T}not found" >&6; }
29780 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29781 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29782 { (exit 1); exit 1; }; }
29783 fi
29784 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29785 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29786
29787 wxUSE_UNIVERSAL="yes"
29788
29789 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29790 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29791
29792 AFMINSTALL=afminstall
29793 TOOLKIT=MGL
29794 GUIDIST=MGL_DIST
29795 fi
29796
29797 if test "$wxUSE_DFB" = 1; then
29798
29799
29800 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29801 if test -n "$ac_tool_prefix"; then
29802 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29803 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29806 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29807 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 else
29809 case $PKG_CONFIG in
29810 [\\/]* | ?:[\\/]*)
29811 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29812 ;;
29813 *)
29814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29815 for as_dir in $PATH
29816 do
29817 IFS=$as_save_IFS
29818 test -z "$as_dir" && as_dir=.
29819 for ac_exec_ext in '' $ac_executable_extensions; do
29820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29821 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29823 break 2
29824 fi
29825 done
29826 done
29827 IFS=$as_save_IFS
29828
29829 ;;
29830 esac
29831 fi
29832 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29833 if test -n "$PKG_CONFIG"; then
29834 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29835 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29836 else
29837 { echo "$as_me:$LINENO: result: no" >&5
29838 echo "${ECHO_T}no" >&6; }
29839 fi
29840
29841
29842 fi
29843 if test -z "$ac_cv_path_PKG_CONFIG"; then
29844 ac_pt_PKG_CONFIG=$PKG_CONFIG
29845 # Extract the first word of "pkg-config", so it can be a program name with args.
29846 set dummy pkg-config; ac_word=$2
29847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29849 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29852 case $ac_pt_PKG_CONFIG in
29853 [\\/]* | ?:[\\/]*)
29854 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29855 ;;
29856 *)
29857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29858 for as_dir in $PATH
29859 do
29860 IFS=$as_save_IFS
29861 test -z "$as_dir" && as_dir=.
29862 for ac_exec_ext in '' $ac_executable_extensions; do
29863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29864 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29866 break 2
29867 fi
29868 done
29869 done
29870 IFS=$as_save_IFS
29871
29872 ;;
29873 esac
29874 fi
29875 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29876 if test -n "$ac_pt_PKG_CONFIG"; then
29877 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29878 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29879 else
29880 { echo "$as_me:$LINENO: result: no" >&5
29881 echo "${ECHO_T}no" >&6; }
29882 fi
29883
29884 if test "x$ac_pt_PKG_CONFIG" = x; then
29885 PKG_CONFIG=""
29886 else
29887 case $cross_compiling:$ac_tool_warned in
29888 yes:)
29889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29890 whose name does not start with the host triplet. If you think this
29891 configuration is useful to you, please write to autoconf@gnu.org." >&5
29892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29893 whose name does not start with the host triplet. If you think this
29894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29895 ac_tool_warned=yes ;;
29896 esac
29897 PKG_CONFIG=$ac_pt_PKG_CONFIG
29898 fi
29899 else
29900 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29901 fi
29902
29903 fi
29904 if test -n "$PKG_CONFIG"; then
29905 _pkg_min_version=0.9.0
29906 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29907 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29908 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29909 { echo "$as_me:$LINENO: result: yes" >&5
29910 echo "${ECHO_T}yes" >&6; }
29911 else
29912 { echo "$as_me:$LINENO: result: no" >&5
29913 echo "${ECHO_T}no" >&6; }
29914 PKG_CONFIG=""
29915 fi
29916
29917 fi
29918
29919
29920 pkg_failed=no
29921 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29922 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29923
29924 if test -n "$PKG_CONFIG"; then
29925 if test -n "$DIRECTFB_CFLAGS"; then
29926 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29927 else
29928 if test -n "$PKG_CONFIG" && \
29929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29930 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29931 ac_status=$?
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); }; then
29934 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29935 else
29936 pkg_failed=yes
29937 fi
29938 fi
29939 else
29940 pkg_failed=untried
29941 fi
29942 if test -n "$PKG_CONFIG"; then
29943 if test -n "$DIRECTFB_LIBS"; then
29944 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29945 else
29946 if test -n "$PKG_CONFIG" && \
29947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29948 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29949 ac_status=$?
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; then
29952 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29953 else
29954 pkg_failed=yes
29955 fi
29956 fi
29957 else
29958 pkg_failed=untried
29959 fi
29960
29961
29962
29963 if test $pkg_failed = yes; then
29964
29965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29966 _pkg_short_errors_supported=yes
29967 else
29968 _pkg_short_errors_supported=no
29969 fi
29970 if test $_pkg_short_errors_supported = yes; then
29971 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29972 else
29973 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29974 fi
29975 # Put the nasty error message in config.log where it belongs
29976 echo "$DIRECTFB_PKG_ERRORS" >&5
29977
29978
29979 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29980 echo "$as_me: error: DirectFB not found." >&2;}
29981 { (exit 1); exit 1; }; }
29982
29983
29984 elif test $pkg_failed = untried; then
29985
29986 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29987 echo "$as_me: error: DirectFB not found." >&2;}
29988 { (exit 1); exit 1; }; }
29989
29990
29991 else
29992 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29993 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29994 { echo "$as_me:$LINENO: result: yes" >&5
29995 echo "${ECHO_T}yes" >&6; }
29996
29997 wxUSE_UNIVERSAL="yes"
29998 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29999 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30000 TOOLKIT=DFB
30001 GUIDIST=DFB_DIST
30002
30003 fi
30004 fi
30005
30006 if test "$wxUSE_MICROWIN" = 1; then
30007 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30008 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30009 if test "x$MICROWINDOWS" = x ; then
30010 { echo "$as_me:$LINENO: result: not found" >&5
30011 echo "${ECHO_T}not found" >&6; }
30012 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30013 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30014 { (exit 1); exit 1; }; }
30015 else
30016 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30017 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30018 fi
30019
30020 if test -f $MICROWINDOWS/lib/libmwin.a; then
30021 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30022 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30023 else
30024 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30025 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30026 { (exit 1); exit 1; }; }
30027 fi
30028
30029 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30030 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30031
30032 wxUSE_UNIVERSAL="yes"
30033
30034 AFMINSTALL=afminstall
30035 TOOLKIT=MICROWIN
30036 GUIDIST=MICROWIN_DIST
30037
30038 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30039 fi
30040
30041 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30042 { echo "$as_me:$LINENO: checking for X" >&5
30043 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30044
30045
30046 # Check whether --with-x was given.
30047 if test "${with_x+set}" = set; then
30048 withval=$with_x;
30049 fi
30050
30051 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30052 if test "x$with_x" = xno; then
30053 # The user explicitly disabled X.
30054 have_x=disabled
30055 else
30056 case $x_includes,$x_libraries in #(
30057 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30058 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30059 { (exit 1); exit 1; }; };; #(
30060 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 else
30063 # One or both of the vars are not set, and there is no cached value.
30064 ac_x_includes=no ac_x_libraries=no
30065 rm -f -r conftest.dir
30066 if mkdir conftest.dir; then
30067 cd conftest.dir
30068 cat >Imakefile <<'_ACEOF'
30069 incroot:
30070 @echo incroot='${INCROOT}'
30071 usrlibdir:
30072 @echo usrlibdir='${USRLIBDIR}'
30073 libdir:
30074 @echo libdir='${LIBDIR}'
30075 _ACEOF
30076 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30077 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30078 for ac_var in incroot usrlibdir libdir; do
30079 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30080 done
30081 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30082 for ac_extension in a so sl; do
30083 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30084 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30085 ac_im_usrlibdir=$ac_im_libdir; break
30086 fi
30087 done
30088 # Screen out bogus values from the imake configuration. They are
30089 # bogus both because they are the default anyway, and because
30090 # using them would break gcc on systems where it needs fixed includes.
30091 case $ac_im_incroot in
30092 /usr/include) ac_x_includes= ;;
30093 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30094 esac
30095 case $ac_im_usrlibdir in
30096 /usr/lib | /lib) ;;
30097 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30098 esac
30099 fi
30100 cd ..
30101 rm -f -r conftest.dir
30102 fi
30103
30104 # Standard set of common directories for X headers.
30105 # Check X11 before X11Rn because it is often a symlink to the current release.
30106 ac_x_header_dirs='
30107 /usr/X11/include
30108 /usr/X11R6/include
30109 /usr/X11R5/include
30110 /usr/X11R4/include
30111
30112 /usr/include/X11
30113 /usr/include/X11R6
30114 /usr/include/X11R5
30115 /usr/include/X11R4
30116
30117 /usr/local/X11/include
30118 /usr/local/X11R6/include
30119 /usr/local/X11R5/include
30120 /usr/local/X11R4/include
30121
30122 /usr/local/include/X11
30123 /usr/local/include/X11R6
30124 /usr/local/include/X11R5
30125 /usr/local/include/X11R4
30126
30127 /usr/X386/include
30128 /usr/x386/include
30129 /usr/XFree86/include/X11
30130
30131 /usr/include
30132 /usr/local/include
30133 /usr/unsupported/include
30134 /usr/athena/include
30135 /usr/local/x11r5/include
30136 /usr/lpp/Xamples/include
30137
30138 /usr/openwin/include
30139 /usr/openwin/share/include'
30140
30141 if test "$ac_x_includes" = no; then
30142 # Guess where to find include files, by looking for Xlib.h.
30143 # First, try using that file with no special directory specified.
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 #include <X11/Xlib.h>
30151 _ACEOF
30152 if { (ac_try="$ac_cpp conftest.$ac_ext"
30153 case "(($ac_try" in
30154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30155 *) ac_try_echo=$ac_try;;
30156 esac
30157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30159 ac_status=$?
30160 grep -v '^ *+' conftest.er1 >conftest.err
30161 rm -f conftest.er1
30162 cat conftest.err >&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); } >/dev/null && {
30165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30166 test ! -s conftest.err
30167 }; then
30168 # We can compile using X headers with no special include directory.
30169 ac_x_includes=
30170 else
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30173
30174 for ac_dir in $ac_x_header_dirs; do
30175 if test -r "$ac_dir/X11/Xlib.h"; then
30176 ac_x_includes=$ac_dir
30177 break
30178 fi
30179 done
30180 fi
30181
30182 rm -f conftest.err conftest.$ac_ext
30183 fi # $ac_x_includes = no
30184
30185 if test "$ac_x_libraries" = no; then
30186 # Check for the libraries.
30187 # See if we find them without any special options.
30188 # Don't add to $LIBS permanently.
30189 ac_save_LIBS=$LIBS
30190 LIBS="-lX11 $LIBS"
30191 cat >conftest.$ac_ext <<_ACEOF
30192 /* confdefs.h. */
30193 _ACEOF
30194 cat confdefs.h >>conftest.$ac_ext
30195 cat >>conftest.$ac_ext <<_ACEOF
30196 /* end confdefs.h. */
30197 #include <X11/Xlib.h>
30198 int
30199 main ()
30200 {
30201 XrmInitialize ()
30202 ;
30203 return 0;
30204 }
30205 _ACEOF
30206 rm -f conftest.$ac_objext conftest$ac_exeext
30207 if { (ac_try="$ac_link"
30208 case "(($ac_try" in
30209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30210 *) ac_try_echo=$ac_try;;
30211 esac
30212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30213 (eval "$ac_link") 2>conftest.er1
30214 ac_status=$?
30215 grep -v '^ *+' conftest.er1 >conftest.err
30216 rm -f conftest.er1
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } && {
30220 test -z "$ac_c_werror_flag" ||
30221 test ! -s conftest.err
30222 } && test -s conftest$ac_exeext &&
30223 $as_test_x conftest$ac_exeext; then
30224 LIBS=$ac_save_LIBS
30225 # We can link X programs with no special library path.
30226 ac_x_libraries=
30227 else
30228 echo "$as_me: failed program was:" >&5
30229 sed 's/^/| /' conftest.$ac_ext >&5
30230
30231 LIBS=$ac_save_LIBS
30232 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30233 do
30234 # Don't even attempt the hair of trying to link an X program!
30235 for ac_extension in a so sl; do
30236 if test -r "$ac_dir/libX11.$ac_extension"; then
30237 ac_x_libraries=$ac_dir
30238 break 2
30239 fi
30240 done
30241 done
30242 fi
30243
30244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30245 conftest$ac_exeext conftest.$ac_ext
30246 fi # $ac_x_libraries = no
30247
30248 case $ac_x_includes,$ac_x_libraries in #(
30249 no,* | *,no | *\'*)
30250 # Didn't find X, or a directory has "'" in its name.
30251 ac_cv_have_x="have_x=no";; #(
30252 *)
30253 # Record where we found X for the cache.
30254 ac_cv_have_x="have_x=yes\
30255 ac_x_includes='$ac_x_includes'\
30256 ac_x_libraries='$ac_x_libraries'"
30257 esac
30258 fi
30259 ;; #(
30260 *) have_x=yes;;
30261 esac
30262 eval "$ac_cv_have_x"
30263 fi # $with_x != no
30264
30265 if test "$have_x" != yes; then
30266 { echo "$as_me:$LINENO: result: $have_x" >&5
30267 echo "${ECHO_T}$have_x" >&6; }
30268 no_x=yes
30269 else
30270 # If each of the values was on the command line, it overrides each guess.
30271 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30272 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30273 # Update the cache value to reflect the command line values.
30274 ac_cv_have_x="have_x=yes\
30275 ac_x_includes='$x_includes'\
30276 ac_x_libraries='$x_libraries'"
30277 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30278 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30279 fi
30280
30281 if test "$no_x" = yes; then
30282 # Not all programs may use this symbol, but it does not hurt to define it.
30283
30284 cat >>confdefs.h <<\_ACEOF
30285 #define X_DISPLAY_MISSING 1
30286 _ACEOF
30287
30288 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30289 else
30290 if test -n "$x_includes"; then
30291 X_CFLAGS="$X_CFLAGS -I$x_includes"
30292 fi
30293
30294 # It would also be nice to do this for all -L options, not just this one.
30295 if test -n "$x_libraries"; then
30296 X_LIBS="$X_LIBS -L$x_libraries"
30297 # For Solaris; some versions of Sun CC require a space after -R and
30298 # others require no space. Words are not sufficient . . . .
30299 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30300 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30301 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30302 ac_xsave_c_werror_flag=$ac_c_werror_flag
30303 ac_c_werror_flag=yes
30304 cat >conftest.$ac_ext <<_ACEOF
30305 /* confdefs.h. */
30306 _ACEOF
30307 cat confdefs.h >>conftest.$ac_ext
30308 cat >>conftest.$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310
30311 int
30312 main ()
30313 {
30314
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext conftest$ac_exeext
30320 if { (ac_try="$ac_link"
30321 case "(($ac_try" in
30322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30323 *) ac_try_echo=$ac_try;;
30324 esac
30325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30326 (eval "$ac_link") 2>conftest.er1
30327 ac_status=$?
30328 grep -v '^ *+' conftest.er1 >conftest.err
30329 rm -f conftest.er1
30330 cat conftest.err >&5
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); } && {
30333 test -z "$ac_c_werror_flag" ||
30334 test ! -s conftest.err
30335 } && test -s conftest$ac_exeext &&
30336 $as_test_x conftest$ac_exeext; then
30337 { echo "$as_me:$LINENO: result: no" >&5
30338 echo "${ECHO_T}no" >&6; }
30339 X_LIBS="$X_LIBS -R$x_libraries"
30340 else
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.$ac_ext >&5
30343
30344 LIBS="$ac_xsave_LIBS -R $x_libraries"
30345 cat >conftest.$ac_ext <<_ACEOF
30346 /* confdefs.h. */
30347 _ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30351
30352 int
30353 main ()
30354 {
30355
30356 ;
30357 return 0;
30358 }
30359 _ACEOF
30360 rm -f conftest.$ac_objext conftest$ac_exeext
30361 if { (ac_try="$ac_link"
30362 case "(($ac_try" in
30363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30364 *) ac_try_echo=$ac_try;;
30365 esac
30366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30367 (eval "$ac_link") 2>conftest.er1
30368 ac_status=$?
30369 grep -v '^ *+' conftest.er1 >conftest.err
30370 rm -f conftest.er1
30371 cat conftest.err >&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } && {
30374 test -z "$ac_c_werror_flag" ||
30375 test ! -s conftest.err
30376 } && test -s conftest$ac_exeext &&
30377 $as_test_x conftest$ac_exeext; then
30378 { echo "$as_me:$LINENO: result: yes" >&5
30379 echo "${ECHO_T}yes" >&6; }
30380 X_LIBS="$X_LIBS -R $x_libraries"
30381 else
30382 echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30384
30385 { echo "$as_me:$LINENO: result: neither works" >&5
30386 echo "${ECHO_T}neither works" >&6; }
30387 fi
30388
30389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30390 conftest$ac_exeext conftest.$ac_ext
30391 fi
30392
30393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30394 conftest$ac_exeext conftest.$ac_ext
30395 ac_c_werror_flag=$ac_xsave_c_werror_flag
30396 LIBS=$ac_xsave_LIBS
30397 fi
30398
30399 # Check for system-dependent libraries X programs must link with.
30400 # Do this before checking for the system-independent R6 libraries
30401 # (-lICE), since we may need -lsocket or whatever for X linking.
30402
30403 if test "$ISC" = yes; then
30404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30405 else
30406 # Martyn Johnson says this is needed for Ultrix, if the X
30407 # libraries were built with DECnet support. And Karl Berry says
30408 # the Alpha needs dnet_stub (dnet does not exist).
30409 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30410 cat >conftest.$ac_ext <<_ACEOF
30411 /* confdefs.h. */
30412 _ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30416
30417 /* Override any GCC internal prototype to avoid an error.
30418 Use char because int might match the return type of a GCC
30419 builtin and then its argument prototype would still apply. */
30420 #ifdef __cplusplus
30421 extern "C"
30422 #endif
30423 char XOpenDisplay ();
30424 int
30425 main ()
30426 {
30427 return XOpenDisplay ();
30428 ;
30429 return 0;
30430 }
30431 _ACEOF
30432 rm -f conftest.$ac_objext conftest$ac_exeext
30433 if { (ac_try="$ac_link"
30434 case "(($ac_try" in
30435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30436 *) ac_try_echo=$ac_try;;
30437 esac
30438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30439 (eval "$ac_link") 2>conftest.er1
30440 ac_status=$?
30441 grep -v '^ *+' conftest.er1 >conftest.err
30442 rm -f conftest.er1
30443 cat conftest.err >&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); } && {
30446 test -z "$ac_c_werror_flag" ||
30447 test ! -s conftest.err
30448 } && test -s conftest$ac_exeext &&
30449 $as_test_x conftest$ac_exeext; then
30450 :
30451 else
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.$ac_ext >&5
30454
30455 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30456 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30457 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30458 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 else
30460 ac_check_lib_save_LIBS=$LIBS
30461 LIBS="-ldnet $LIBS"
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468
30469 /* Override any GCC internal prototype to avoid an error.
30470 Use char because int might match the return type of a GCC
30471 builtin and then its argument prototype would still apply. */
30472 #ifdef __cplusplus
30473 extern "C"
30474 #endif
30475 char dnet_ntoa ();
30476 int
30477 main ()
30478 {
30479 return dnet_ntoa ();
30480 ;
30481 return 0;
30482 }
30483 _ACEOF
30484 rm -f conftest.$ac_objext conftest$ac_exeext
30485 if { (ac_try="$ac_link"
30486 case "(($ac_try" in
30487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30488 *) ac_try_echo=$ac_try;;
30489 esac
30490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30491 (eval "$ac_link") 2>conftest.er1
30492 ac_status=$?
30493 grep -v '^ *+' conftest.er1 >conftest.err
30494 rm -f conftest.er1
30495 cat conftest.err >&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } && {
30498 test -z "$ac_c_werror_flag" ||
30499 test ! -s conftest.err
30500 } && test -s conftest$ac_exeext &&
30501 $as_test_x conftest$ac_exeext; then
30502 ac_cv_lib_dnet_dnet_ntoa=yes
30503 else
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30506
30507 ac_cv_lib_dnet_dnet_ntoa=no
30508 fi
30509
30510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30511 conftest$ac_exeext conftest.$ac_ext
30512 LIBS=$ac_check_lib_save_LIBS
30513 fi
30514 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30515 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30516 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30517 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30518 fi
30519
30520 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30521 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30522 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30523 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526 ac_check_lib_save_LIBS=$LIBS
30527 LIBS="-ldnet_stub $LIBS"
30528 cat >conftest.$ac_ext <<_ACEOF
30529 /* confdefs.h. */
30530 _ACEOF
30531 cat confdefs.h >>conftest.$ac_ext
30532 cat >>conftest.$ac_ext <<_ACEOF
30533 /* end confdefs.h. */
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 dnet_ntoa ();
30542 int
30543 main ()
30544 {
30545 return dnet_ntoa ();
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (ac_try="$ac_link"
30552 case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30555 esac
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_link") 2>conftest.er1
30558 ac_status=$?
30559 grep -v '^ *+' conftest.er1 >conftest.err
30560 rm -f conftest.er1
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } && {
30564 test -z "$ac_c_werror_flag" ||
30565 test ! -s conftest.err
30566 } && test -s conftest$ac_exeext &&
30567 $as_test_x conftest$ac_exeext; then
30568 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30569 else
30570 echo "$as_me: failed program was:" >&5
30571 sed 's/^/| /' conftest.$ac_ext >&5
30572
30573 ac_cv_lib_dnet_stub_dnet_ntoa=no
30574 fi
30575
30576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30577 conftest$ac_exeext conftest.$ac_ext
30578 LIBS=$ac_check_lib_save_LIBS
30579 fi
30580 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30581 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30582 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30583 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30584 fi
30585
30586 fi
30587 fi
30588
30589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30590 conftest$ac_exeext conftest.$ac_ext
30591 LIBS="$ac_xsave_LIBS"
30592
30593 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30594 # to get the SysV transport functions.
30595 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30596 # needs -lnsl.
30597 # The nsl library prevents programs from opening the X display
30598 # on Irix 5.2, according to T.E. Dickey.
30599 # The functions gethostbyname, getservbyname, and inet_addr are
30600 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30601 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30602 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30603 if test "${ac_cv_func_gethostbyname+set}" = set; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606 cat >conftest.$ac_ext <<_ACEOF
30607 /* confdefs.h. */
30608 _ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30612 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30614 #define gethostbyname innocuous_gethostbyname
30615
30616 /* System header to define __stub macros and hopefully few prototypes,
30617 which can conflict with char gethostbyname (); below.
30618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30619 <limits.h> exists even on freestanding compilers. */
30620
30621 #ifdef __STDC__
30622 # include <limits.h>
30623 #else
30624 # include <assert.h>
30625 #endif
30626
30627 #undef gethostbyname
30628
30629 /* Override any GCC internal prototype to avoid an error.
30630 Use char because int might match the return type of a GCC
30631 builtin and then its argument prototype would still apply. */
30632 #ifdef __cplusplus
30633 extern "C"
30634 #endif
30635 char gethostbyname ();
30636 /* The GNU C library defines this for functions which it implements
30637 to always fail with ENOSYS. Some functions are actually named
30638 something starting with __ and the normal name is an alias. */
30639 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30640 choke me
30641 #endif
30642
30643 int
30644 main ()
30645 {
30646 return gethostbyname ();
30647 ;
30648 return 0;
30649 }
30650 _ACEOF
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (ac_try="$ac_link"
30653 case "(($ac_try" in
30654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30655 *) ac_try_echo=$ac_try;;
30656 esac
30657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30658 (eval "$ac_link") 2>conftest.er1
30659 ac_status=$?
30660 grep -v '^ *+' conftest.er1 >conftest.err
30661 rm -f conftest.er1
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } && {
30665 test -z "$ac_c_werror_flag" ||
30666 test ! -s conftest.err
30667 } && test -s conftest$ac_exeext &&
30668 $as_test_x conftest$ac_exeext; then
30669 ac_cv_func_gethostbyname=yes
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 ac_cv_func_gethostbyname=no
30675 fi
30676
30677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30678 conftest$ac_exeext conftest.$ac_ext
30679 fi
30680 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30681 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30682
30683 if test $ac_cv_func_gethostbyname = no; then
30684 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30685 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30686 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30687 echo $ECHO_N "(cached) $ECHO_C" >&6
30688 else
30689 ac_check_lib_save_LIBS=$LIBS
30690 LIBS="-lnsl $LIBS"
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697
30698 /* Override any GCC internal prototype to avoid an error.
30699 Use char because int might match the return type of a GCC
30700 builtin and then its argument prototype would still apply. */
30701 #ifdef __cplusplus
30702 extern "C"
30703 #endif
30704 char gethostbyname ();
30705 int
30706 main ()
30707 {
30708 return gethostbyname ();
30709 ;
30710 return 0;
30711 }
30712 _ACEOF
30713 rm -f conftest.$ac_objext conftest$ac_exeext
30714 if { (ac_try="$ac_link"
30715 case "(($ac_try" in
30716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30717 *) ac_try_echo=$ac_try;;
30718 esac
30719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30720 (eval "$ac_link") 2>conftest.er1
30721 ac_status=$?
30722 grep -v '^ *+' conftest.er1 >conftest.err
30723 rm -f conftest.er1
30724 cat conftest.err >&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } && {
30727 test -z "$ac_c_werror_flag" ||
30728 test ! -s conftest.err
30729 } && test -s conftest$ac_exeext &&
30730 $as_test_x conftest$ac_exeext; then
30731 ac_cv_lib_nsl_gethostbyname=yes
30732 else
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30735
30736 ac_cv_lib_nsl_gethostbyname=no
30737 fi
30738
30739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30740 conftest$ac_exeext conftest.$ac_ext
30741 LIBS=$ac_check_lib_save_LIBS
30742 fi
30743 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30744 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30745 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30746 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30747 fi
30748
30749 if test $ac_cv_lib_nsl_gethostbyname = no; then
30750 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30751 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30752 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30753 echo $ECHO_N "(cached) $ECHO_C" >&6
30754 else
30755 ac_check_lib_save_LIBS=$LIBS
30756 LIBS="-lbsd $LIBS"
30757 cat >conftest.$ac_ext <<_ACEOF
30758 /* confdefs.h. */
30759 _ACEOF
30760 cat confdefs.h >>conftest.$ac_ext
30761 cat >>conftest.$ac_ext <<_ACEOF
30762 /* end confdefs.h. */
30763
30764 /* Override any GCC internal prototype to avoid an error.
30765 Use char because int might match the return type of a GCC
30766 builtin and then its argument prototype would still apply. */
30767 #ifdef __cplusplus
30768 extern "C"
30769 #endif
30770 char gethostbyname ();
30771 int
30772 main ()
30773 {
30774 return gethostbyname ();
30775 ;
30776 return 0;
30777 }
30778 _ACEOF
30779 rm -f conftest.$ac_objext conftest$ac_exeext
30780 if { (ac_try="$ac_link"
30781 case "(($ac_try" in
30782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30783 *) ac_try_echo=$ac_try;;
30784 esac
30785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30786 (eval "$ac_link") 2>conftest.er1
30787 ac_status=$?
30788 grep -v '^ *+' conftest.er1 >conftest.err
30789 rm -f conftest.er1
30790 cat conftest.err >&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } && {
30793 test -z "$ac_c_werror_flag" ||
30794 test ! -s conftest.err
30795 } && test -s conftest$ac_exeext &&
30796 $as_test_x conftest$ac_exeext; then
30797 ac_cv_lib_bsd_gethostbyname=yes
30798 else
30799 echo "$as_me: failed program was:" >&5
30800 sed 's/^/| /' conftest.$ac_ext >&5
30801
30802 ac_cv_lib_bsd_gethostbyname=no
30803 fi
30804
30805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30806 conftest$ac_exeext conftest.$ac_ext
30807 LIBS=$ac_check_lib_save_LIBS
30808 fi
30809 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30810 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30811 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30813 fi
30814
30815 fi
30816 fi
30817
30818 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30819 # socket/setsockopt and other routines are undefined under SCO ODT
30820 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30821 # on later versions), says Simon Leinen: it contains gethostby*
30822 # variants that don't use the name server (or something). -lsocket
30823 # must be given before -lnsl if both are needed. We assume that
30824 # if connect needs -lnsl, so does gethostbyname.
30825 { echo "$as_me:$LINENO: checking for connect" >&5
30826 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30827 if test "${ac_cv_func_connect+set}" = set; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 else
30830 cat >conftest.$ac_ext <<_ACEOF
30831 /* confdefs.h. */
30832 _ACEOF
30833 cat confdefs.h >>conftest.$ac_ext
30834 cat >>conftest.$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30836 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30838 #define connect innocuous_connect
30839
30840 /* System header to define __stub macros and hopefully few prototypes,
30841 which can conflict with char connect (); below.
30842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30843 <limits.h> exists even on freestanding compilers. */
30844
30845 #ifdef __STDC__
30846 # include <limits.h>
30847 #else
30848 # include <assert.h>
30849 #endif
30850
30851 #undef connect
30852
30853 /* Override any GCC internal prototype to avoid an error.
30854 Use char because int might match the return type of a GCC
30855 builtin and then its argument prototype would still apply. */
30856 #ifdef __cplusplus
30857 extern "C"
30858 #endif
30859 char connect ();
30860 /* The GNU C library defines this for functions which it implements
30861 to always fail with ENOSYS. Some functions are actually named
30862 something starting with __ and the normal name is an alias. */
30863 #if defined __stub_connect || defined __stub___connect
30864 choke me
30865 #endif
30866
30867 int
30868 main ()
30869 {
30870 return connect ();
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 rm -f conftest.$ac_objext conftest$ac_exeext
30876 if { (ac_try="$ac_link"
30877 case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30880 esac
30881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_link") 2>conftest.er1
30883 ac_status=$?
30884 grep -v '^ *+' conftest.er1 >conftest.err
30885 rm -f conftest.er1
30886 cat conftest.err >&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); } && {
30889 test -z "$ac_c_werror_flag" ||
30890 test ! -s conftest.err
30891 } && test -s conftest$ac_exeext &&
30892 $as_test_x conftest$ac_exeext; then
30893 ac_cv_func_connect=yes
30894 else
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.$ac_ext >&5
30897
30898 ac_cv_func_connect=no
30899 fi
30900
30901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30902 conftest$ac_exeext conftest.$ac_ext
30903 fi
30904 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30905 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30906
30907 if test $ac_cv_func_connect = no; then
30908 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30909 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30910 if test "${ac_cv_lib_socket_connect+set}" = set; then
30911 echo $ECHO_N "(cached) $ECHO_C" >&6
30912 else
30913 ac_check_lib_save_LIBS=$LIBS
30914 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30915 cat >conftest.$ac_ext <<_ACEOF
30916 /* confdefs.h. */
30917 _ACEOF
30918 cat confdefs.h >>conftest.$ac_ext
30919 cat >>conftest.$ac_ext <<_ACEOF
30920 /* end confdefs.h. */
30921
30922 /* Override any GCC internal prototype to avoid an error.
30923 Use char because int might match the return type of a GCC
30924 builtin and then its argument prototype would still apply. */
30925 #ifdef __cplusplus
30926 extern "C"
30927 #endif
30928 char connect ();
30929 int
30930 main ()
30931 {
30932 return connect ();
30933 ;
30934 return 0;
30935 }
30936 _ACEOF
30937 rm -f conftest.$ac_objext conftest$ac_exeext
30938 if { (ac_try="$ac_link"
30939 case "(($ac_try" in
30940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30941 *) ac_try_echo=$ac_try;;
30942 esac
30943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30944 (eval "$ac_link") 2>conftest.er1
30945 ac_status=$?
30946 grep -v '^ *+' conftest.er1 >conftest.err
30947 rm -f conftest.er1
30948 cat conftest.err >&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); } && {
30951 test -z "$ac_c_werror_flag" ||
30952 test ! -s conftest.err
30953 } && test -s conftest$ac_exeext &&
30954 $as_test_x conftest$ac_exeext; then
30955 ac_cv_lib_socket_connect=yes
30956 else
30957 echo "$as_me: failed program was:" >&5
30958 sed 's/^/| /' conftest.$ac_ext >&5
30959
30960 ac_cv_lib_socket_connect=no
30961 fi
30962
30963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30964 conftest$ac_exeext conftest.$ac_ext
30965 LIBS=$ac_check_lib_save_LIBS
30966 fi
30967 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30968 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30969 if test $ac_cv_lib_socket_connect = yes; then
30970 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30971 fi
30972
30973 fi
30974
30975 # Guillermo Gomez says -lposix is necessary on A/UX.
30976 { echo "$as_me:$LINENO: checking for remove" >&5
30977 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30978 if test "${ac_cv_func_remove+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 else
30981 cat >conftest.$ac_ext <<_ACEOF
30982 /* confdefs.h. */
30983 _ACEOF
30984 cat confdefs.h >>conftest.$ac_ext
30985 cat >>conftest.$ac_ext <<_ACEOF
30986 /* end confdefs.h. */
30987 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30989 #define remove innocuous_remove
30990
30991 /* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char remove (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30995
30996 #ifdef __STDC__
30997 # include <limits.h>
30998 #else
30999 # include <assert.h>
31000 #endif
31001
31002 #undef remove
31003
31004 /* Override any GCC internal prototype to avoid an error.
31005 Use char because int might match the return type of a GCC
31006 builtin and then its argument prototype would still apply. */
31007 #ifdef __cplusplus
31008 extern "C"
31009 #endif
31010 char remove ();
31011 /* The GNU C library defines this for functions which it implements
31012 to always fail with ENOSYS. Some functions are actually named
31013 something starting with __ and the normal name is an alias. */
31014 #if defined __stub_remove || defined __stub___remove
31015 choke me
31016 #endif
31017
31018 int
31019 main ()
31020 {
31021 return remove ();
31022 ;
31023 return 0;
31024 }
31025 _ACEOF
31026 rm -f conftest.$ac_objext conftest$ac_exeext
31027 if { (ac_try="$ac_link"
31028 case "(($ac_try" in
31029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31030 *) ac_try_echo=$ac_try;;
31031 esac
31032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31033 (eval "$ac_link") 2>conftest.er1
31034 ac_status=$?
31035 grep -v '^ *+' conftest.er1 >conftest.err
31036 rm -f conftest.er1
31037 cat conftest.err >&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); } && {
31040 test -z "$ac_c_werror_flag" ||
31041 test ! -s conftest.err
31042 } && test -s conftest$ac_exeext &&
31043 $as_test_x conftest$ac_exeext; then
31044 ac_cv_func_remove=yes
31045 else
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.$ac_ext >&5
31048
31049 ac_cv_func_remove=no
31050 fi
31051
31052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31053 conftest$ac_exeext conftest.$ac_ext
31054 fi
31055 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31056 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31057
31058 if test $ac_cv_func_remove = no; then
31059 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31060 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31061 if test "${ac_cv_lib_posix_remove+set}" = set; then
31062 echo $ECHO_N "(cached) $ECHO_C" >&6
31063 else
31064 ac_check_lib_save_LIBS=$LIBS
31065 LIBS="-lposix $LIBS"
31066 cat >conftest.$ac_ext <<_ACEOF
31067 /* confdefs.h. */
31068 _ACEOF
31069 cat confdefs.h >>conftest.$ac_ext
31070 cat >>conftest.$ac_ext <<_ACEOF
31071 /* end confdefs.h. */
31072
31073 /* Override any GCC internal prototype to avoid an error.
31074 Use char because int might match the return type of a GCC
31075 builtin and then its argument prototype would still apply. */
31076 #ifdef __cplusplus
31077 extern "C"
31078 #endif
31079 char remove ();
31080 int
31081 main ()
31082 {
31083 return remove ();
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext conftest$ac_exeext
31089 if { (ac_try="$ac_link"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31092 *) ac_try_echo=$ac_try;;
31093 esac
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_link") 2>conftest.er1
31096 ac_status=$?
31097 grep -v '^ *+' conftest.er1 >conftest.err
31098 rm -f conftest.er1
31099 cat conftest.err >&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest$ac_exeext &&
31105 $as_test_x conftest$ac_exeext; then
31106 ac_cv_lib_posix_remove=yes
31107 else
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.$ac_ext >&5
31110
31111 ac_cv_lib_posix_remove=no
31112 fi
31113
31114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31115 conftest$ac_exeext conftest.$ac_ext
31116 LIBS=$ac_check_lib_save_LIBS
31117 fi
31118 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31119 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31120 if test $ac_cv_lib_posix_remove = yes; then
31121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31122 fi
31123
31124 fi
31125
31126 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31127 { echo "$as_me:$LINENO: checking for shmat" >&5
31128 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31129 if test "${ac_cv_func_shmat+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31131 else
31132 cat >conftest.$ac_ext <<_ACEOF
31133 /* confdefs.h. */
31134 _ACEOF
31135 cat confdefs.h >>conftest.$ac_ext
31136 cat >>conftest.$ac_ext <<_ACEOF
31137 /* end confdefs.h. */
31138 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31140 #define shmat innocuous_shmat
31141
31142 /* System header to define __stub macros and hopefully few prototypes,
31143 which can conflict with char shmat (); below.
31144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31145 <limits.h> exists even on freestanding compilers. */
31146
31147 #ifdef __STDC__
31148 # include <limits.h>
31149 #else
31150 # include <assert.h>
31151 #endif
31152
31153 #undef shmat
31154
31155 /* Override any GCC internal prototype to avoid an error.
31156 Use char because int might match the return type of a GCC
31157 builtin and then its argument prototype would still apply. */
31158 #ifdef __cplusplus
31159 extern "C"
31160 #endif
31161 char shmat ();
31162 /* The GNU C library defines this for functions which it implements
31163 to always fail with ENOSYS. Some functions are actually named
31164 something starting with __ and the normal name is an alias. */
31165 #if defined __stub_shmat || defined __stub___shmat
31166 choke me
31167 #endif
31168
31169 int
31170 main ()
31171 {
31172 return shmat ();
31173 ;
31174 return 0;
31175 }
31176 _ACEOF
31177 rm -f conftest.$ac_objext conftest$ac_exeext
31178 if { (ac_try="$ac_link"
31179 case "(($ac_try" in
31180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31181 *) ac_try_echo=$ac_try;;
31182 esac
31183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31184 (eval "$ac_link") 2>conftest.er1
31185 ac_status=$?
31186 grep -v '^ *+' conftest.er1 >conftest.err
31187 rm -f conftest.er1
31188 cat conftest.err >&5
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); } && {
31191 test -z "$ac_c_werror_flag" ||
31192 test ! -s conftest.err
31193 } && test -s conftest$ac_exeext &&
31194 $as_test_x conftest$ac_exeext; then
31195 ac_cv_func_shmat=yes
31196 else
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.$ac_ext >&5
31199
31200 ac_cv_func_shmat=no
31201 fi
31202
31203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31204 conftest$ac_exeext conftest.$ac_ext
31205 fi
31206 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31207 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31208
31209 if test $ac_cv_func_shmat = no; then
31210 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31211 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31212 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31213 echo $ECHO_N "(cached) $ECHO_C" >&6
31214 else
31215 ac_check_lib_save_LIBS=$LIBS
31216 LIBS="-lipc $LIBS"
31217 cat >conftest.$ac_ext <<_ACEOF
31218 /* confdefs.h. */
31219 _ACEOF
31220 cat confdefs.h >>conftest.$ac_ext
31221 cat >>conftest.$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31223
31224 /* Override any GCC internal prototype to avoid an error.
31225 Use char because int might match the return type of a GCC
31226 builtin and then its argument prototype would still apply. */
31227 #ifdef __cplusplus
31228 extern "C"
31229 #endif
31230 char shmat ();
31231 int
31232 main ()
31233 {
31234 return shmat ();
31235 ;
31236 return 0;
31237 }
31238 _ACEOF
31239 rm -f conftest.$ac_objext conftest$ac_exeext
31240 if { (ac_try="$ac_link"
31241 case "(($ac_try" in
31242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31243 *) ac_try_echo=$ac_try;;
31244 esac
31245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31246 (eval "$ac_link") 2>conftest.er1
31247 ac_status=$?
31248 grep -v '^ *+' conftest.er1 >conftest.err
31249 rm -f conftest.er1
31250 cat conftest.err >&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } && {
31253 test -z "$ac_c_werror_flag" ||
31254 test ! -s conftest.err
31255 } && test -s conftest$ac_exeext &&
31256 $as_test_x conftest$ac_exeext; then
31257 ac_cv_lib_ipc_shmat=yes
31258 else
31259 echo "$as_me: failed program was:" >&5
31260 sed 's/^/| /' conftest.$ac_ext >&5
31261
31262 ac_cv_lib_ipc_shmat=no
31263 fi
31264
31265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31266 conftest$ac_exeext conftest.$ac_ext
31267 LIBS=$ac_check_lib_save_LIBS
31268 fi
31269 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31270 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31271 if test $ac_cv_lib_ipc_shmat = yes; then
31272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31273 fi
31274
31275 fi
31276 fi
31277
31278 # Check for libraries that X11R6 Xt/Xaw programs need.
31279 ac_save_LDFLAGS=$LDFLAGS
31280 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31281 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31282 # check for ICE first), but we must link in the order -lSM -lICE or
31283 # we get undefined symbols. So assume we have SM if we have ICE.
31284 # These have to be linked with before -lX11, unlike the other
31285 # libraries we check for below, so use a different variable.
31286 # John Interrante, Karl Berry
31287 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31288 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31289 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 ac_check_lib_save_LIBS=$LIBS
31293 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31294 cat >conftest.$ac_ext <<_ACEOF
31295 /* confdefs.h. */
31296 _ACEOF
31297 cat confdefs.h >>conftest.$ac_ext
31298 cat >>conftest.$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31300
31301 /* Override any GCC internal prototype to avoid an error.
31302 Use char because int might match the return type of a GCC
31303 builtin and then its argument prototype would still apply. */
31304 #ifdef __cplusplus
31305 extern "C"
31306 #endif
31307 char IceConnectionNumber ();
31308 int
31309 main ()
31310 {
31311 return IceConnectionNumber ();
31312 ;
31313 return 0;
31314 }
31315 _ACEOF
31316 rm -f conftest.$ac_objext conftest$ac_exeext
31317 if { (ac_try="$ac_link"
31318 case "(($ac_try" in
31319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31320 *) ac_try_echo=$ac_try;;
31321 esac
31322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31323 (eval "$ac_link") 2>conftest.er1
31324 ac_status=$?
31325 grep -v '^ *+' conftest.er1 >conftest.err
31326 rm -f conftest.er1
31327 cat conftest.err >&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } && {
31330 test -z "$ac_c_werror_flag" ||
31331 test ! -s conftest.err
31332 } && test -s conftest$ac_exeext &&
31333 $as_test_x conftest$ac_exeext; then
31334 ac_cv_lib_ICE_IceConnectionNumber=yes
31335 else
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31338
31339 ac_cv_lib_ICE_IceConnectionNumber=no
31340 fi
31341
31342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31343 conftest$ac_exeext conftest.$ac_ext
31344 LIBS=$ac_check_lib_save_LIBS
31345 fi
31346 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31347 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31348 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31349 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31350 fi
31351
31352 LDFLAGS=$ac_save_LDFLAGS
31353
31354 fi
31355
31356
31357 if test "$no_x" = "yes"; then
31358 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31359 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31360 { (exit 1); exit 1; }; }
31361 fi
31362
31363 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31364 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31365 AFMINSTALL=afminstall
31366 COMPILED_X_PROGRAM=0
31367
31368 fi
31369
31370 if test "$wxUSE_X11" = 1; then
31371 if test "$wxUSE_NANOX" = "yes"; then
31372 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31373 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31374 if test "x$MICROWIN" = x ; then
31375 { echo "$as_me:$LINENO: result: not found" >&5
31376 echo "${ECHO_T}not found" >&6; }
31377 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31378 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31379 { (exit 1); exit 1; }; }
31380 else
31381 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31382 echo "${ECHO_T}$MICROWIN" >&6; }
31383 cat >>confdefs.h <<\_ACEOF
31384 #define wxUSE_NANOX 1
31385 _ACEOF
31386
31387 fi
31388 fi
31389
31390 if test "$wxUSE_UNICODE" = "yes"; then
31391
31392
31393 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31394 if test -n "$ac_tool_prefix"; then
31395 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31396 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31400 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 else
31402 case $PKG_CONFIG in
31403 [\\/]* | ?:[\\/]*)
31404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31405 ;;
31406 *)
31407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31408 for as_dir in $PATH
31409 do
31410 IFS=$as_save_IFS
31411 test -z "$as_dir" && as_dir=.
31412 for ac_exec_ext in '' $ac_executable_extensions; do
31413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31416 break 2
31417 fi
31418 done
31419 done
31420 IFS=$as_save_IFS
31421
31422 ;;
31423 esac
31424 fi
31425 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31426 if test -n "$PKG_CONFIG"; then
31427 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31428 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31429 else
31430 { echo "$as_me:$LINENO: result: no" >&5
31431 echo "${ECHO_T}no" >&6; }
31432 fi
31433
31434
31435 fi
31436 if test -z "$ac_cv_path_PKG_CONFIG"; then
31437 ac_pt_PKG_CONFIG=$PKG_CONFIG
31438 # Extract the first word of "pkg-config", so it can be a program name with args.
31439 set dummy pkg-config; ac_word=$2
31440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31442 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445 case $ac_pt_PKG_CONFIG in
31446 [\\/]* | ?:[\\/]*)
31447 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31448 ;;
31449 *)
31450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31451 for as_dir in $PATH
31452 do
31453 IFS=$as_save_IFS
31454 test -z "$as_dir" && as_dir=.
31455 for ac_exec_ext in '' $ac_executable_extensions; do
31456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31457 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31459 break 2
31460 fi
31461 done
31462 done
31463 IFS=$as_save_IFS
31464
31465 ;;
31466 esac
31467 fi
31468 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31469 if test -n "$ac_pt_PKG_CONFIG"; then
31470 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31471 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31472 else
31473 { echo "$as_me:$LINENO: result: no" >&5
31474 echo "${ECHO_T}no" >&6; }
31475 fi
31476
31477 if test "x$ac_pt_PKG_CONFIG" = x; then
31478 PKG_CONFIG=""
31479 else
31480 case $cross_compiling:$ac_tool_warned in
31481 yes:)
31482 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31483 whose name does not start with the host triplet. If you think this
31484 configuration is useful to you, please write to autoconf@gnu.org." >&5
31485 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31486 whose name does not start with the host triplet. If you think this
31487 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31488 ac_tool_warned=yes ;;
31489 esac
31490 PKG_CONFIG=$ac_pt_PKG_CONFIG
31491 fi
31492 else
31493 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31494 fi
31495
31496 fi
31497 if test -n "$PKG_CONFIG"; then
31498 _pkg_min_version=0.9.0
31499 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31500 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31501 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31502 { echo "$as_me:$LINENO: result: yes" >&5
31503 echo "${ECHO_T}yes" >&6; }
31504 else
31505 { echo "$as_me:$LINENO: result: no" >&5
31506 echo "${ECHO_T}no" >&6; }
31507 PKG_CONFIG=""
31508 fi
31509
31510 fi
31511
31512
31513 pkg_failed=no
31514 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31515 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31516
31517 if test -n "$PKG_CONFIG"; then
31518 if test -n "$PANGOX_CFLAGS"; then
31519 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31520 else
31521 if test -n "$PKG_CONFIG" && \
31522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31523 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31524 ac_status=$?
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); }; then
31527 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31528 else
31529 pkg_failed=yes
31530 fi
31531 fi
31532 else
31533 pkg_failed=untried
31534 fi
31535 if test -n "$PKG_CONFIG"; then
31536 if test -n "$PANGOX_LIBS"; then
31537 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31538 else
31539 if test -n "$PKG_CONFIG" && \
31540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31541 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31542 ac_status=$?
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; then
31545 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31546 else
31547 pkg_failed=yes
31548 fi
31549 fi
31550 else
31551 pkg_failed=untried
31552 fi
31553
31554
31555
31556 if test $pkg_failed = yes; then
31557
31558 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31559 _pkg_short_errors_supported=yes
31560 else
31561 _pkg_short_errors_supported=no
31562 fi
31563 if test $_pkg_short_errors_supported = yes; then
31564 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31565 else
31566 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31567 fi
31568 # Put the nasty error message in config.log where it belongs
31569 echo "$PANGOX_PKG_ERRORS" >&5
31570
31571
31572 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31573 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31574 { (exit 1); exit 1; }; }
31575
31576
31577 elif test $pkg_failed = untried; then
31578
31579 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31580 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31581 { (exit 1); exit 1; }; }
31582
31583
31584 else
31585 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31586 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31587 { echo "$as_me:$LINENO: result: yes" >&5
31588 echo "${ECHO_T}yes" >&6; }
31589
31590 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31591 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31593
31594 fi
31595
31596 pkg_failed=no
31597 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31598 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31599
31600 if test -n "$PKG_CONFIG"; then
31601 if test -n "$PANGOFT2_CFLAGS"; then
31602 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31603 else
31604 if test -n "$PKG_CONFIG" && \
31605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31606 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; then
31610 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31611 else
31612 pkg_failed=yes
31613 fi
31614 fi
31615 else
31616 pkg_failed=untried
31617 fi
31618 if test -n "$PKG_CONFIG"; then
31619 if test -n "$PANGOFT2_LIBS"; then
31620 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31621 else
31622 if test -n "$PKG_CONFIG" && \
31623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31624 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; then
31628 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31629 else
31630 pkg_failed=yes
31631 fi
31632 fi
31633 else
31634 pkg_failed=untried
31635 fi
31636
31637
31638
31639 if test $pkg_failed = yes; then
31640
31641 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31642 _pkg_short_errors_supported=yes
31643 else
31644 _pkg_short_errors_supported=no
31645 fi
31646 if test $_pkg_short_errors_supported = yes; then
31647 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31648 else
31649 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31650 fi
31651 # Put the nasty error message in config.log where it belongs
31652 echo "$PANGOFT2_PKG_ERRORS" >&5
31653
31654
31655 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31656 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31657 wxUSE_PRINTING_ARCHITECTURE="no"
31658
31659
31660 elif test $pkg_failed = untried; then
31661
31662 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31663 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31664 wxUSE_PRINTING_ARCHITECTURE="no"
31665
31666
31667 else
31668 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31669 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31670 { echo "$as_me:$LINENO: result: yes" >&5
31671 echo "${ECHO_T}yes" >&6; }
31672
31673 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31674 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31675 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31676
31677 fi
31678
31679 pkg_failed=no
31680 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31681 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31682
31683 if test -n "$PKG_CONFIG"; then
31684 if test -n "$PANGOXFT_CFLAGS"; then
31685 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31686 else
31687 if test -n "$PKG_CONFIG" && \
31688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31689 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; then
31693 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31694 else
31695 pkg_failed=yes
31696 fi
31697 fi
31698 else
31699 pkg_failed=untried
31700 fi
31701 if test -n "$PKG_CONFIG"; then
31702 if test -n "$PANGOXFT_LIBS"; then
31703 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31704 else
31705 if test -n "$PKG_CONFIG" && \
31706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31707 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31708 ac_status=$?
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; then
31711 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31712 else
31713 pkg_failed=yes
31714 fi
31715 fi
31716 else
31717 pkg_failed=untried
31718 fi
31719
31720
31721
31722 if test $pkg_failed = yes; then
31723
31724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31725 _pkg_short_errors_supported=yes
31726 else
31727 _pkg_short_errors_supported=no
31728 fi
31729 if test $_pkg_short_errors_supported = yes; then
31730 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31731 else
31732 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31733 fi
31734 # Put the nasty error message in config.log where it belongs
31735 echo "$PANGOXFT_PKG_ERRORS" >&5
31736
31737
31738 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31739 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31740
31741
31742 elif test $pkg_failed = untried; then
31743
31744 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31745 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31746
31747
31748 else
31749 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31750 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31751 { echo "$as_me:$LINENO: result: yes" >&5
31752 echo "${ECHO_T}yes" >&6; }
31753
31754 cat >>confdefs.h <<\_ACEOF
31755 #define HAVE_PANGO_XFT 1
31756 _ACEOF
31757
31758 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31759 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31761
31762 fi
31763 save_LIBS="$LIBS"
31764 LIBS="$LIBS $PANGOX_LIBS"
31765
31766 for ac_func in pango_font_family_is_monospace
31767 do
31768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31772 echo $ECHO_N "(cached) $ECHO_C" >&6
31773 else
31774 cat >conftest.$ac_ext <<_ACEOF
31775 /* confdefs.h. */
31776 _ACEOF
31777 cat confdefs.h >>conftest.$ac_ext
31778 cat >>conftest.$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31782 #define $ac_func innocuous_$ac_func
31783
31784 /* System header to define __stub macros and hopefully few prototypes,
31785 which can conflict with char $ac_func (); below.
31786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31787 <limits.h> exists even on freestanding compilers. */
31788
31789 #ifdef __STDC__
31790 # include <limits.h>
31791 #else
31792 # include <assert.h>
31793 #endif
31794
31795 #undef $ac_func
31796
31797 /* Override any GCC internal prototype to avoid an error.
31798 Use char because int might match the return type of a GCC
31799 builtin and then its argument prototype would still apply. */
31800 #ifdef __cplusplus
31801 extern "C"
31802 #endif
31803 char $ac_func ();
31804 /* The GNU C library defines this for functions which it implements
31805 to always fail with ENOSYS. Some functions are actually named
31806 something starting with __ and the normal name is an alias. */
31807 #if defined __stub_$ac_func || defined __stub___$ac_func
31808 choke me
31809 #endif
31810
31811 int
31812 main ()
31813 {
31814 return $ac_func ();
31815 ;
31816 return 0;
31817 }
31818 _ACEOF
31819 rm -f conftest.$ac_objext conftest$ac_exeext
31820 if { (ac_try="$ac_link"
31821 case "(($ac_try" in
31822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31823 *) ac_try_echo=$ac_try;;
31824 esac
31825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31826 (eval "$ac_link") 2>conftest.er1
31827 ac_status=$?
31828 grep -v '^ *+' conftest.er1 >conftest.err
31829 rm -f conftest.er1
31830 cat conftest.err >&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } && {
31833 test -z "$ac_c_werror_flag" ||
31834 test ! -s conftest.err
31835 } && test -s conftest$ac_exeext &&
31836 $as_test_x conftest$ac_exeext; then
31837 eval "$as_ac_var=yes"
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31841
31842 eval "$as_ac_var=no"
31843 fi
31844
31845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31846 conftest$ac_exeext conftest.$ac_ext
31847 fi
31848 ac_res=`eval echo '${'$as_ac_var'}'`
31849 { echo "$as_me:$LINENO: result: $ac_res" >&5
31850 echo "${ECHO_T}$ac_res" >&6; }
31851 if test `eval echo '${'$as_ac_var'}'` = yes; then
31852 cat >>confdefs.h <<_ACEOF
31853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31854 _ACEOF
31855
31856 fi
31857 done
31858
31859 LIBS="$save_LIBS"
31860 fi
31861
31862 wxUSE_UNIVERSAL="yes"
31863
31864 if test "$wxUSE_NANOX" = "yes"; then
31865 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31866 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"
31867 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31868 else
31869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31870 fi
31871
31872 TOOLKIT=X11
31873 GUIDIST=X11_DIST
31874 fi
31875
31876 if test "$wxUSE_MOTIF" = 1; then
31877 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31878 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31879
31880 ac_find_includes=
31881 for ac_dir in $SEARCH_INCLUDE /usr/include;
31882 do
31883 if test -f "$ac_dir/Xm/Xm.h"; then
31884 ac_find_includes=$ac_dir
31885 break
31886 fi
31887 done
31888
31889 if test "$ac_find_includes" != "" ; then
31890 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31891 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31892
31893 if test "x$ac_find_includes" = "x/usr/include"; then
31894 ac_path_to_include=""
31895 else
31896 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31897 result=$?
31898 if test $result = 0; then
31899 ac_path_to_include=""
31900 else
31901 ac_path_to_include=" -I$ac_find_includes"
31902 fi
31903 fi
31904
31905 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31906 else
31907 save_CFLAGS=$CFLAGS
31908 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31909
31910 cat >conftest.$ac_ext <<_ACEOF
31911 /* confdefs.h. */
31912 _ACEOF
31913 cat confdefs.h >>conftest.$ac_ext
31914 cat >>conftest.$ac_ext <<_ACEOF
31915 /* end confdefs.h. */
31916
31917 #include <Xm/Xm.h>
31918
31919 int
31920 main ()
31921 {
31922
31923 int version;
31924 version = xmUseVersion;
31925
31926 ;
31927 return 0;
31928 }
31929 _ACEOF
31930 rm -f conftest.$ac_objext
31931 if { (ac_try="$ac_compile"
31932 case "(($ac_try" in
31933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31934 *) ac_try_echo=$ac_try;;
31935 esac
31936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31937 (eval "$ac_compile") 2>conftest.er1
31938 ac_status=$?
31939 grep -v '^ *+' conftest.er1 >conftest.err
31940 rm -f conftest.er1
31941 cat conftest.err >&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); } && {
31944 test -z "$ac_c_werror_flag" ||
31945 test ! -s conftest.err
31946 } && test -s conftest.$ac_objext; then
31947
31948 { echo "$as_me:$LINENO: result: found in default search path" >&5
31949 echo "${ECHO_T}found in default search path" >&6; }
31950 COMPILED_X_PROGRAM=1
31951
31952 else
31953 echo "$as_me: failed program was:" >&5
31954 sed 's/^/| /' conftest.$ac_ext >&5
31955
31956
31957 { echo "$as_me:$LINENO: result: no" >&5
31958 echo "${ECHO_T}no" >&6; }
31959 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31960 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31961 { (exit 1); exit 1; }; }
31962
31963
31964 fi
31965
31966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31967
31968 CFLAGS=$save_CFLAGS
31969 fi
31970
31971
31972 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31973 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31974
31975 ac_find_libraries=
31976 for ac_dir in $SEARCH_LIB;
31977 do
31978 for ac_extension in a so sl dylib dll.a; do
31979 if test -f "$ac_dir/libXm.$ac_extension"; then
31980 ac_find_libraries=$ac_dir
31981 break 2
31982 fi
31983 done
31984 done
31985
31986
31987 if test "x$ac_find_libraries" != "x" ; then
31988 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31989 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31990
31991
31992 if test "$ac_find_libraries" = "default location"; then
31993 ac_path_to_link=""
31994 else
31995 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31996 result=$?
31997 if test $result = 0; then
31998 ac_path_to_link=""
31999 else
32000 ac_path_to_link=" -L$ac_find_libraries"
32001 fi
32002 fi
32003
32004 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32005 else
32006 save_CFLAGS=$CFLAGS
32007 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32008 save_LIBS="$LIBS"
32009 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32010
32011 cat >conftest.$ac_ext <<_ACEOF
32012 /* confdefs.h. */
32013 _ACEOF
32014 cat confdefs.h >>conftest.$ac_ext
32015 cat >>conftest.$ac_ext <<_ACEOF
32016 /* end confdefs.h. */
32017
32018 #include <Xm/Xm.h>
32019
32020 int
32021 main ()
32022 {
32023
32024 int version;
32025 version = xmUseVersion;
32026
32027 ;
32028 return 0;
32029 }
32030 _ACEOF
32031 rm -f conftest.$ac_objext conftest$ac_exeext
32032 if { (ac_try="$ac_link"
32033 case "(($ac_try" in
32034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32035 *) ac_try_echo=$ac_try;;
32036 esac
32037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32038 (eval "$ac_link") 2>conftest.er1
32039 ac_status=$?
32040 grep -v '^ *+' conftest.er1 >conftest.err
32041 rm -f conftest.er1
32042 cat conftest.err >&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); } && {
32045 test -z "$ac_c_werror_flag" ||
32046 test ! -s conftest.err
32047 } && test -s conftest$ac_exeext &&
32048 $as_test_x conftest$ac_exeext; then
32049
32050 { echo "$as_me:$LINENO: result: found in default search path" >&5
32051 echo "${ECHO_T}found in default search path" >&6; }
32052 COMPILED_X_PROGRAM=1
32053
32054 else
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.$ac_ext >&5
32057
32058
32059 { echo "$as_me:$LINENO: result: no" >&5
32060 echo "${ECHO_T}no" >&6; }
32061 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32062 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32063 { (exit 1); exit 1; }; }
32064
32065
32066 fi
32067
32068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32069 conftest$ac_exeext conftest.$ac_ext
32070
32071 CFLAGS=$save_CFLAGS
32072 LIBS="$save_LIBS"
32073 fi
32074
32075 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32076 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32077 libp_link=""
32078 libsm_ice_link=""
32079 libs_found=0
32080 for libp in "" " -lXp"; do
32081 if test "$libs_found" = 0; then
32082 for libsm_ice in "" " -lSM -lICE"; do
32083 if test "$libs_found" = 0; then
32084 save_LIBS="$LIBS"
32085 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32086 save_CFLAGS=$CFLAGS
32087 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32088
32089 cat >conftest.$ac_ext <<_ACEOF
32090 /* confdefs.h. */
32091 _ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32095
32096 #include <Xm/Xm.h>
32097 #include <Xm/List.h>
32098
32099 int
32100 main ()
32101 {
32102
32103 XmString string = NULL;
32104 Widget w = NULL;
32105 int position = 0;
32106 XmListAddItem(w, string, position);
32107
32108 ;
32109 return 0;
32110 }
32111 _ACEOF
32112 rm -f conftest.$ac_objext conftest$ac_exeext
32113 if { (ac_try="$ac_link"
32114 case "(($ac_try" in
32115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32116 *) ac_try_echo=$ac_try;;
32117 esac
32118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32119 (eval "$ac_link") 2>conftest.er1
32120 ac_status=$?
32121 grep -v '^ *+' conftest.er1 >conftest.err
32122 rm -f conftest.er1
32123 cat conftest.err >&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } && {
32126 test -z "$ac_c_werror_flag" ||
32127 test ! -s conftest.err
32128 } && test -s conftest$ac_exeext &&
32129 $as_test_x conftest$ac_exeext; then
32130
32131 libp_link="$libp"
32132 libsm_ice_link="$libsm_ice"
32133 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32134 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32135 libs_found=1
32136
32137 else
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32140
32141
32142
32143 fi
32144
32145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32146 conftest$ac_exeext conftest.$ac_ext
32147
32148 LIBS="$save_LIBS"
32149 CFLAGS=$save_CFLAGS
32150 fi
32151 done
32152 fi
32153 done
32154
32155 if test "$libs_found" = 0; then
32156 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32157 echo "${ECHO_T}can't find the right libraries" >&6; }
32158 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32159 echo "$as_me: error: can't link a simple motif program" >&2;}
32160 { (exit 1); exit 1; }; }
32161 fi
32162
32163 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32164 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32165 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32166 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 else
32168 ac_check_lib_save_LIBS=$LIBS
32169 LIBS="-lSgm $LIBS"
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176
32177 /* Override any GCC internal prototype to avoid an error.
32178 Use char because int might match the return type of a GCC
32179 builtin and then its argument prototype would still apply. */
32180 #ifdef __cplusplus
32181 extern "C"
32182 #endif
32183 char SgCreateList ();
32184 int
32185 main ()
32186 {
32187 return SgCreateList ();
32188 ;
32189 return 0;
32190 }
32191 _ACEOF
32192 rm -f conftest.$ac_objext conftest$ac_exeext
32193 if { (ac_try="$ac_link"
32194 case "(($ac_try" in
32195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32196 *) ac_try_echo=$ac_try;;
32197 esac
32198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32199 (eval "$ac_link") 2>conftest.er1
32200 ac_status=$?
32201 grep -v '^ *+' conftest.er1 >conftest.err
32202 rm -f conftest.er1
32203 cat conftest.err >&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } && {
32206 test -z "$ac_c_werror_flag" ||
32207 test ! -s conftest.err
32208 } && test -s conftest$ac_exeext &&
32209 $as_test_x conftest$ac_exeext; then
32210 ac_cv_lib_Sgm_SgCreateList=yes
32211 else
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.$ac_ext >&5
32214
32215 ac_cv_lib_Sgm_SgCreateList=no
32216 fi
32217
32218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32219 conftest$ac_exeext conftest.$ac_ext
32220 LIBS=$ac_check_lib_save_LIBS
32221 fi
32222 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32223 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32224 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32225 libsgm_link=" -lSgm"
32226 fi
32227
32228
32229 save_CFLAGS=$CFLAGS
32230 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32231
32232 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32233 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32234 if test "${wx_cv_lib_motif2+set}" = set; then
32235 echo $ECHO_N "(cached) $ECHO_C" >&6
32236 else
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243
32244 #include <Xm/Xm.h>
32245
32246 int
32247 main ()
32248 {
32249
32250 #if XmVersion < 2000
32251 Not Motif 2
32252 #endif
32253
32254 ;
32255 return 0;
32256 }
32257 _ACEOF
32258 rm -f conftest.$ac_objext
32259 if { (ac_try="$ac_compile"
32260 case "(($ac_try" in
32261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32262 *) ac_try_echo=$ac_try;;
32263 esac
32264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32265 (eval "$ac_compile") 2>conftest.er1
32266 ac_status=$?
32267 grep -v '^ *+' conftest.er1 >conftest.err
32268 rm -f conftest.er1
32269 cat conftest.err >&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } && {
32272 test -z "$ac_c_werror_flag" ||
32273 test ! -s conftest.err
32274 } && test -s conftest.$ac_objext; then
32275 wx_cv_lib_motif2="yes"
32276 else
32277 echo "$as_me: failed program was:" >&5
32278 sed 's/^/| /' conftest.$ac_ext >&5
32279
32280 wx_cv_lib_motif2="no"
32281 fi
32282
32283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32284 fi
32285 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32286 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32287 if test "$wx_cv_lib_motif2" = "yes"; then
32288 cat >>confdefs.h <<\_ACEOF
32289 #define __WXMOTIF20__ 1
32290 _ACEOF
32291
32292 else
32293 cat >>confdefs.h <<\_ACEOF
32294 #define __WXMOTIF20__ 0
32295 _ACEOF
32296
32297 fi
32298
32299 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32300 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32301 if test "${wx_cv_lib_lesstif+set}" = set; then
32302 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 else
32304 cat >conftest.$ac_ext <<_ACEOF
32305 /* confdefs.h. */
32306 _ACEOF
32307 cat confdefs.h >>conftest.$ac_ext
32308 cat >>conftest.$ac_ext <<_ACEOF
32309 /* end confdefs.h. */
32310
32311 #include <Xm/Xm.h>
32312
32313 int
32314 main ()
32315 {
32316
32317 #if !defined(LesstifVersion) || LesstifVersion <= 0
32318 Not Lesstif
32319 #endif
32320
32321 ;
32322 return 0;
32323 }
32324 _ACEOF
32325 rm -f conftest.$ac_objext
32326 if { (ac_try="$ac_compile"
32327 case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32330 esac
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_compile") 2>conftest.er1
32333 ac_status=$?
32334 grep -v '^ *+' conftest.er1 >conftest.err
32335 rm -f conftest.er1
32336 cat conftest.err >&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } && {
32339 test -z "$ac_c_werror_flag" ||
32340 test ! -s conftest.err
32341 } && test -s conftest.$ac_objext; then
32342 wx_cv_lib_lesstif="yes"
32343 else
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.$ac_ext >&5
32346
32347 wx_cv_lib_lesstif="no"
32348 fi
32349
32350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351
32352 fi
32353 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32354 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32355 if test "$wx_cv_lib_lesstif" = "yes"; then
32356 cat >>confdefs.h <<\_ACEOF
32357 #define __WXLESSTIF__ 1
32358 _ACEOF
32359
32360 else
32361 cat >>confdefs.h <<\_ACEOF
32362 #define __WXLESSTIF__ 0
32363 _ACEOF
32364
32365 fi
32366
32367 CFLAGS=$save_CFLAGS
32368
32369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32370 TOOLKIT=MOTIF
32371 GUIDIST=MOTIF_DIST
32372 fi
32373
32374 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32375 if test "$wxUSE_LIBXPM" = "sys"; then
32376 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32377 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32378
32379 ac_find_libraries=
32380 for ac_dir in $SEARCH_LIB;
32381 do
32382 for ac_extension in a so sl dylib dll.a; do
32383 if test -f "$ac_dir/libXpm.$ac_extension"; then
32384 ac_find_libraries=$ac_dir
32385 break 2
32386 fi
32387 done
32388 done
32389
32390 if test "$ac_find_libraries" != "" ; then
32391
32392 if test "$ac_find_libraries" = "default location"; then
32393 ac_path_to_link=""
32394 else
32395 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32396 result=$?
32397 if test $result = 0; then
32398 ac_path_to_link=""
32399 else
32400 ac_path_to_link=" -L$ac_find_libraries"
32401 fi
32402 fi
32403
32404 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32405 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32406 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32407
32408 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32409 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32410 if test "${wx_cv_x11_xpm_h+set}" = set; then
32411 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 else
32413
32414 save_CFLAGS=$CFLAGS
32415 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32416
32417 cat >conftest.$ac_ext <<_ACEOF
32418 /* confdefs.h. */
32419 _ACEOF
32420 cat confdefs.h >>conftest.$ac_ext
32421 cat >>conftest.$ac_ext <<_ACEOF
32422 /* end confdefs.h. */
32423
32424 #include <X11/xpm.h>
32425
32426 int
32427 main ()
32428 {
32429
32430 int version;
32431 version = XpmLibraryVersion();
32432
32433 ;
32434 return 0;
32435 }
32436 _ACEOF
32437 rm -f conftest.$ac_objext
32438 if { (ac_try="$ac_compile"
32439 case "(($ac_try" in
32440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32441 *) ac_try_echo=$ac_try;;
32442 esac
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444 (eval "$ac_compile") 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } && {
32451 test -z "$ac_c_werror_flag" ||
32452 test ! -s conftest.err
32453 } && test -s conftest.$ac_objext; then
32454 wx_cv_x11_xpm_h=yes
32455 else
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32458
32459 wx_cv_x11_xpm_h=no
32460
32461 fi
32462
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464
32465 CFLAGS=$save_CFLAGS
32466
32467
32468 fi
32469 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32470 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32471
32472 if test $wx_cv_x11_xpm_h = "yes"; then
32473 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32474 cat >>confdefs.h <<\_ACEOF
32475 #define wxHAVE_LIB_XPM 1
32476 _ACEOF
32477
32478 else
32479 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32480 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32481 fi
32482 fi
32483
32484 fi
32485
32486 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32487 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32488 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32489 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 else
32491 ac_check_lib_save_LIBS=$LIBS
32492 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32493 cat >conftest.$ac_ext <<_ACEOF
32494 /* confdefs.h. */
32495 _ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499
32500 /* Override any GCC internal prototype to avoid an error.
32501 Use char because int might match the return type of a GCC
32502 builtin and then its argument prototype would still apply. */
32503 #ifdef __cplusplus
32504 extern "C"
32505 #endif
32506 char XShapeQueryExtension ();
32507 int
32508 main ()
32509 {
32510 return XShapeQueryExtension ();
32511 ;
32512 return 0;
32513 }
32514 _ACEOF
32515 rm -f conftest.$ac_objext conftest$ac_exeext
32516 if { (ac_try="$ac_link"
32517 case "(($ac_try" in
32518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32519 *) ac_try_echo=$ac_try;;
32520 esac
32521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32522 (eval "$ac_link") 2>conftest.er1
32523 ac_status=$?
32524 grep -v '^ *+' conftest.er1 >conftest.err
32525 rm -f conftest.er1
32526 cat conftest.err >&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); } && {
32529 test -z "$ac_c_werror_flag" ||
32530 test ! -s conftest.err
32531 } && test -s conftest$ac_exeext &&
32532 $as_test_x conftest$ac_exeext; then
32533 ac_cv_lib_Xext_XShapeQueryExtension=yes
32534 else
32535 echo "$as_me: failed program was:" >&5
32536 sed 's/^/| /' conftest.$ac_ext >&5
32537
32538 ac_cv_lib_Xext_XShapeQueryExtension=no
32539 fi
32540
32541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32542 conftest$ac_exeext conftest.$ac_ext
32543 LIBS=$ac_check_lib_save_LIBS
32544 fi
32545 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32546 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32547 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32548
32549 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32550 wxHAVE_XEXT_LIB=1
32551
32552 fi
32553
32554
32555 if test "$wxHAVE_XEXT_LIB" = 1; then
32556 save_CFLAGS="$CFLAGS"
32557 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32558
32559 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32560 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32561 cat >conftest.$ac_ext <<_ACEOF
32562 /* confdefs.h. */
32563 _ACEOF
32564 cat confdefs.h >>conftest.$ac_ext
32565 cat >>conftest.$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567
32568 #include <X11/Xlib.h>
32569 #include <X11/extensions/shape.h>
32570
32571 int
32572 main ()
32573 {
32574
32575 int dummy1, dummy2;
32576 XShapeQueryExtension((Display*)NULL,
32577 (int*)NULL, (int*)NULL);
32578
32579 ;
32580 return 0;
32581 }
32582 _ACEOF
32583 rm -f conftest.$ac_objext
32584 if { (ac_try="$ac_compile"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32588 esac
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_compile") 2>conftest.er1
32591 ac_status=$?
32592 grep -v '^ *+' conftest.er1 >conftest.err
32593 rm -f conftest.er1
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest.$ac_objext; then
32600
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_XSHAPE 1
32603 _ACEOF
32604
32605 { echo "$as_me:$LINENO: result: found" >&5
32606 echo "${ECHO_T}found" >&6; }
32607
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32611
32612
32613 { echo "$as_me:$LINENO: result: not found" >&5
32614 echo "${ECHO_T}not found" >&6; }
32615
32616 fi
32617
32618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32619 CFLAGS="$save_CFLAGS"
32620
32621 fi
32622 fi
32623
32624 if test "$wxUSE_OSX_CARBON" = 1; then
32625 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32626 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32627 if test "$GCC" = yes; then
32628 { echo "$as_me:$LINENO: result: gcc" >&5
32629 echo "${ECHO_T}gcc" >&6; }
32630 CPPFLAGS_PASCAL="-fpascal-strings"
32631 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32632 { echo "$as_me:$LINENO: result: xlc" >&5
32633 echo "${ECHO_T}xlc" >&6; }
32634 CPPFLAGS_PASCAL="-qmacpstr"
32635 else
32636 { echo "$as_me:$LINENO: result: none" >&5
32637 echo "${ECHO_T}none" >&6; }
32638 fi
32639
32640 if test "x$wxUSE_UNIX" = "xyes"; then
32641 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32642 else
32643 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32644 fi
32645
32646 TOOLKIT=OSX_CARBON
32647 GUIDIST=OSX_CARBON_DIST
32648 WXBASEPORT="_carbon"
32649 fi
32650
32651 if test "$wxUSE_OSX_COCOA" = 1; then
32652 TOOLKIT=OSX_COCOA
32653 GUIDIST=OSX_COCOA_DIST
32654 fi
32655
32656 if test "$wxUSE_COCOA" = 1; then
32657 TOOLKIT=COCOA
32658 GUIDIST=COCOA_DIST
32659 fi
32660
32661 if test "$wxUSE_PM" = 1; then
32662 TOOLKIT=PM
32663 GUIDIST=PM_DIST
32664 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32665 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32666 if test "${wx_cv_spbcdata+set}" = set; then
32667 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 else
32669
32670 cat >conftest.$ac_ext <<_ACEOF
32671 /* confdefs.h. */
32672 _ACEOF
32673 cat confdefs.h >>conftest.$ac_ext
32674 cat >>conftest.$ac_ext <<_ACEOF
32675 /* end confdefs.h. */
32676
32677 #define INCL_PM
32678 #include <os2.h>
32679
32680 int
32681 main ()
32682 {
32683
32684 SPBCDATA test;
32685
32686 ;
32687 return 0;
32688 }
32689 _ACEOF
32690 rm -f conftest.$ac_objext
32691 if { (ac_try="$ac_compile"
32692 case "(($ac_try" in
32693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32694 *) ac_try_echo=$ac_try;;
32695 esac
32696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32697 (eval "$ac_compile") 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } && {
32704 test -z "$ac_c_werror_flag" ||
32705 test ! -s conftest.err
32706 } && test -s conftest.$ac_objext; then
32707 wx_cv_spbcdata=yes
32708 else
32709 echo "$as_me: failed program was:" >&5
32710 sed 's/^/| /' conftest.$ac_ext >&5
32711
32712 wx_cv_spbcdata=no
32713
32714 fi
32715
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717
32718
32719 fi
32720 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32721 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32722
32723 if test $wx_cv_spbcdata = "yes"; then
32724 cat >>confdefs.h <<\_ACEOF
32725 #define HAVE_SPBCDATA 1
32726 _ACEOF
32727
32728 fi
32729 fi
32730
32731 if test "$TOOLKIT" = "PM" ; then
32732 TOOLKIT_DIR="os2"
32733 else
32734 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32735 fi
32736
32737 if test "$wxUSE_UNIVERSAL" = "yes"; then
32738 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32739 WIDGET_SET=univ
32740 fi
32741
32742 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32743 DISTDIR="wx\$(TOOLKIT)"
32744 else
32745 USE_GUI=0
32746
32747 TOOLKIT_DIR="base"
32748
32749 if test "$USE_WIN32" = 1 ; then
32750 TOOLKIT="MSW"
32751 fi
32752
32753 GUIDIST="BASE_DIST"
32754 DISTDIR="wxBase"
32755 fi
32756
32757
32758
32759 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32760 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32761 wxUSE_UNICODE_UTF8=yes
32762 elif test "$USE_OS2" = 1 ; then
32763 wxUSE_UNICODE_UTF8=yes
32764 else
32765 wxUSE_UNICODE_UTF8=no
32766 fi
32767 fi
32768
32769
32770 if test "$wxUSE_GUI" = "yes"; then
32771 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32772
32773 for ac_header in X11/Xlib.h
32774 do
32775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 else
32781 cat >conftest.$ac_ext <<_ACEOF
32782 /* confdefs.h. */
32783 _ACEOF
32784 cat confdefs.h >>conftest.$ac_ext
32785 cat >>conftest.$ac_ext <<_ACEOF
32786 /* end confdefs.h. */
32787
32788
32789 #include <$ac_header>
32790 _ACEOF
32791 rm -f conftest.$ac_objext
32792 if { (ac_try="$ac_compile"
32793 case "(($ac_try" in
32794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32795 *) ac_try_echo=$ac_try;;
32796 esac
32797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32798 (eval "$ac_compile") 2>conftest.er1
32799 ac_status=$?
32800 grep -v '^ *+' conftest.er1 >conftest.err
32801 rm -f conftest.er1
32802 cat conftest.err >&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } && {
32805 test -z "$ac_c_werror_flag" ||
32806 test ! -s conftest.err
32807 } && test -s conftest.$ac_objext; then
32808 eval "$as_ac_Header=yes"
32809 else
32810 echo "$as_me: failed program was:" >&5
32811 sed 's/^/| /' conftest.$ac_ext >&5
32812
32813 eval "$as_ac_Header=no"
32814 fi
32815
32816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32817 fi
32818 ac_res=`eval echo '${'$as_ac_Header'}'`
32819 { echo "$as_me:$LINENO: result: $ac_res" >&5
32820 echo "${ECHO_T}$ac_res" >&6; }
32821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32822 cat >>confdefs.h <<_ACEOF
32823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32824 _ACEOF
32825
32826 fi
32827
32828 done
32829
32830
32831 for ac_header in X11/XKBlib.h
32832 do
32833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845
32846 #if HAVE_X11_XLIB_H
32847 #include <X11/Xlib.h>
32848 #endif
32849
32850
32851 #include <$ac_header>
32852 _ACEOF
32853 rm -f conftest.$ac_objext
32854 if { (ac_try="$ac_compile"
32855 case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32857 *) ac_try_echo=$ac_try;;
32858 esac
32859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_compile") 2>conftest.er1
32861 ac_status=$?
32862 grep -v '^ *+' conftest.er1 >conftest.err
32863 rm -f conftest.er1
32864 cat conftest.err >&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } && {
32867 test -z "$ac_c_werror_flag" ||
32868 test ! -s conftest.err
32869 } && test -s conftest.$ac_objext; then
32870 eval "$as_ac_Header=yes"
32871 else
32872 echo "$as_me: failed program was:" >&5
32873 sed 's/^/| /' conftest.$ac_ext >&5
32874
32875 eval "$as_ac_Header=no"
32876 fi
32877
32878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32879 fi
32880 ac_res=`eval echo '${'$as_ac_Header'}'`
32881 { echo "$as_me:$LINENO: result: $ac_res" >&5
32882 echo "${ECHO_T}$ac_res" >&6; }
32883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32886 _ACEOF
32887
32888 fi
32889
32890 done
32891
32892 fi
32893 fi
32894
32895
32896
32897 if test "$wxUSE_DISPLAY" = "yes"; then
32898 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32899 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32900 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32901
32902 ac_find_libraries=
32903 for ac_dir in $SEARCH_LIB;
32904 do
32905 for ac_extension in a so sl dylib dll.a; do
32906 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32907 ac_find_libraries=$ac_dir
32908 break 2
32909 fi
32910 done
32911 done
32912
32913 if test "$ac_find_libraries" != "" ; then
32914
32915 if test "$ac_find_libraries" = "default location"; then
32916 ac_path_to_link=""
32917 else
32918 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32919 result=$?
32920 if test $result = 0; then
32921 ac_path_to_link=""
32922 else
32923 ac_path_to_link=" -L$ac_find_libraries"
32924 fi
32925 fi
32926
32927 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32928 LDFLAGS="$LDFLAGS $ac_path_to_link"
32929 fi
32930 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32931 { echo "$as_me:$LINENO: result: yes" >&5
32932 echo "${ECHO_T}yes" >&6; }
32933
32934 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32935 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32936
32937 ac_find_libraries=
32938 for ac_dir in $SEARCH_LIB;
32939 do
32940 for ac_extension in a so sl dylib dll.a; do
32941 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32942 ac_find_libraries=$ac_dir
32943 break 2
32944 fi
32945 done
32946 done
32947
32948 if test "$ac_find_libraries" != "" ; then
32949 { echo "$as_me:$LINENO: result: yes" >&5
32950 echo "${ECHO_T}yes" >&6; }
32951
32952 for ac_header in X11/extensions/xf86vmode.h
32953 do
32954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960 cat >conftest.$ac_ext <<_ACEOF
32961 /* confdefs.h. */
32962 _ACEOF
32963 cat confdefs.h >>conftest.$ac_ext
32964 cat >>conftest.$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32966
32967 #if HAVE_X11_XLIB_H
32968 #include <X11/Xlib.h>
32969 #endif
32970
32971
32972 #include <$ac_header>
32973 _ACEOF
32974 rm -f conftest.$ac_objext
32975 if { (ac_try="$ac_compile"
32976 case "(($ac_try" in
32977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32978 *) ac_try_echo=$ac_try;;
32979 esac
32980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32981 (eval "$ac_compile") 2>conftest.er1
32982 ac_status=$?
32983 grep -v '^ *+' conftest.er1 >conftest.err
32984 rm -f conftest.er1
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } && {
32988 test -z "$ac_c_werror_flag" ||
32989 test ! -s conftest.err
32990 } && test -s conftest.$ac_objext; then
32991 eval "$as_ac_Header=yes"
32992 else
32993 echo "$as_me: failed program was:" >&5
32994 sed 's/^/| /' conftest.$ac_ext >&5
32995
32996 eval "$as_ac_Header=no"
32997 fi
32998
32999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33000 fi
33001 ac_res=`eval echo '${'$as_ac_Header'}'`
33002 { echo "$as_me:$LINENO: result: $ac_res" >&5
33003 echo "${ECHO_T}$ac_res" >&6; }
33004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33005 cat >>confdefs.h <<_ACEOF
33006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33007 _ACEOF
33008
33009 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33010
33011 fi
33012
33013 done
33014
33015 else
33016 { echo "$as_me:$LINENO: result: no" >&5
33017 echo "${ECHO_T}no" >&6; }
33018 fi
33019
33020 else
33021 { echo "$as_me:$LINENO: result: no" >&5
33022 echo "${ECHO_T}no" >&6; }
33023 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33024 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33025 wxUSE_DISPLAY="no"
33026 fi
33027 elif test "$wxUSE_MSW" = 1; then
33028 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33029 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33030 if test "${ac_cv_header_ddraw_h+set}" = set; then
33031 echo $ECHO_N "(cached) $ECHO_C" >&6
33032 else
33033 cat >conftest.$ac_ext <<_ACEOF
33034 /* confdefs.h. */
33035 _ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039 #include <windows.h>
33040
33041 #include <ddraw.h>
33042 _ACEOF
33043 rm -f conftest.$ac_objext
33044 if { (ac_try="$ac_compile"
33045 case "(($ac_try" in
33046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33047 *) ac_try_echo=$ac_try;;
33048 esac
33049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33050 (eval "$ac_compile") 2>conftest.er1
33051 ac_status=$?
33052 grep -v '^ *+' conftest.er1 >conftest.err
33053 rm -f conftest.er1
33054 cat conftest.err >&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } && {
33057 test -z "$ac_c_werror_flag" ||
33058 test ! -s conftest.err
33059 } && test -s conftest.$ac_objext; then
33060 ac_cv_header_ddraw_h=yes
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065 ac_cv_header_ddraw_h=no
33066 fi
33067
33068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33069 fi
33070 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33071 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33072
33073
33074 fi
33075 fi
33076
33077 if test "$wxUSE_DETECT_SM" = "yes"; then
33078 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33079 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33080 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33081
33082 ac_find_libraries=
33083 for ac_dir in $SEARCH_LIB;
33084 do
33085 for ac_extension in a so sl dylib dll.a; do
33086 if test -f "$ac_dir/libSM.$ac_extension"; then
33087 ac_find_libraries=$ac_dir
33088 break 2
33089 fi
33090 done
33091 done
33092
33093 if test "$ac_find_libraries" != "" ; then
33094
33095 if test "$ac_find_libraries" = "default location"; then
33096 ac_path_to_link=""
33097 else
33098 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33099 result=$?
33100 if test $result = 0; then
33101 ac_path_to_link=""
33102 else
33103 ac_path_to_link=" -L$ac_find_libraries"
33104 fi
33105 fi
33106
33107 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33108 LDFLAGS="$LDFLAGS $ac_path_to_link"
33109 fi
33110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33111 { echo "$as_me:$LINENO: result: yes" >&5
33112 echo "${ECHO_T}yes" >&6; }
33113 else
33114 { echo "$as_me:$LINENO: result: no" >&5
33115 echo "${ECHO_T}no" >&6; }
33116 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33117 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33118 wxUSE_DETECT_SM="no"
33119 fi
33120 else
33121 wxUSE_DETECT_SM="no"
33122 fi
33123 fi
33124
33125
33126
33127 USE_OPENGL=0
33128 if test "$wxUSE_OPENGL" = "yes"; then
33129 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33130 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33131 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33132 wxUSE_OPENGL="no"
33133 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33134 OPENGL_LIBS="-framework OpenGL -framework AGL"
33135 elif test "$wxUSE_MSW" = 1; then
33136 OPENGL_LIBS="-lopengl32 -lglu32"
33137 else
33138 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33139 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33140
33141 ac_find_includes=
33142 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33143 do
33144 if test -f "$ac_dir/GL/gl.h"; then
33145 ac_find_includes=$ac_dir
33146 break
33147 fi
33148 done
33149
33150 if test "$ac_find_includes" != "" ; then
33151 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33152 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33153
33154 if test "x$ac_find_includes" = "x/usr/include"; then
33155 ac_path_to_include=""
33156 else
33157 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33158 result=$?
33159 if test $result = 0; then
33160 ac_path_to_include=""
33161 else
33162 ac_path_to_include=" -I$ac_find_includes"
33163 fi
33164 fi
33165
33166 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33167 else
33168 { echo "$as_me:$LINENO: result: not found" >&5
33169 echo "${ECHO_T}not found" >&6; }
33170 fi
33171
33172 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33173 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33174 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 else
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183
33184
33185 #include <GL/gl.h>
33186 _ACEOF
33187 rm -f conftest.$ac_objext
33188 if { (ac_try="$ac_compile"
33189 case "(($ac_try" in
33190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33191 *) ac_try_echo=$ac_try;;
33192 esac
33193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33194 (eval "$ac_compile") 2>conftest.er1
33195 ac_status=$?
33196 grep -v '^ *+' conftest.er1 >conftest.err
33197 rm -f conftest.er1
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } && {
33201 test -z "$ac_c_werror_flag" ||
33202 test ! -s conftest.err
33203 } && test -s conftest.$ac_objext; then
33204 ac_cv_header_GL_gl_h=yes
33205 else
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33208
33209 ac_cv_header_GL_gl_h=no
33210 fi
33211
33212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33213 fi
33214 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33215 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33216 if test $ac_cv_header_GL_gl_h = yes; then
33217
33218 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33219 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33220 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33222 else
33223 cat >conftest.$ac_ext <<_ACEOF
33224 /* confdefs.h. */
33225 _ACEOF
33226 cat confdefs.h >>conftest.$ac_ext
33227 cat >>conftest.$ac_ext <<_ACEOF
33228 /* end confdefs.h. */
33229
33230
33231 #include <GL/glu.h>
33232 _ACEOF
33233 rm -f conftest.$ac_objext
33234 if { (ac_try="$ac_compile"
33235 case "(($ac_try" in
33236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33237 *) ac_try_echo=$ac_try;;
33238 esac
33239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33240 (eval "$ac_compile") 2>conftest.er1
33241 ac_status=$?
33242 grep -v '^ *+' conftest.er1 >conftest.err
33243 rm -f conftest.er1
33244 cat conftest.err >&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } && {
33247 test -z "$ac_c_werror_flag" ||
33248 test ! -s conftest.err
33249 } && test -s conftest.$ac_objext; then
33250 ac_cv_header_GL_glu_h=yes
33251 else
33252 echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.$ac_ext >&5
33254
33255 ac_cv_header_GL_glu_h=no
33256 fi
33257
33258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33259 fi
33260 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33261 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33262 if test $ac_cv_header_GL_glu_h = yes; then
33263
33264 found_gl=0
33265
33266 { echo "$as_me:$LINENO: checking for -lGL" >&5
33267 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33268
33269 ac_find_libraries=
33270 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33271 do
33272 for ac_extension in a so sl dylib dll.a; do
33273 if test -f "$ac_dir/libGL.$ac_extension"; then
33274 ac_find_libraries=$ac_dir
33275 break 2
33276 fi
33277 done
33278 done
33279
33280 if test "$ac_find_libraries" != "" ; then
33281 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33282 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33283
33284
33285 if test "$ac_find_libraries" = "default location"; then
33286 ac_path_to_link=""
33287 else
33288 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33289 result=$?
33290 if test $result = 0; then
33291 ac_path_to_link=""
33292 else
33293 ac_path_to_link=" -L$ac_find_libraries"
33294 fi
33295 fi
33296
33297 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33298 LDFLAGS_GL="$ac_path_to_link"
33299 fi
33300
33301 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33302 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33303
33304 ac_find_libraries=
33305 for ac_dir in $SEARCH_LIB;
33306 do
33307 for ac_extension in a so sl dylib dll.a; do
33308 if test -f "$ac_dir/libGLU.$ac_extension"; then
33309 ac_find_libraries=$ac_dir
33310 break 2
33311 fi
33312 done
33313 done
33314
33315 if test "$ac_find_libraries" != "" ; then
33316
33317 if test "$ac_find_libraries" = "default location"; then
33318 ac_path_to_link=""
33319 else
33320 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33321 result=$?
33322 if test $result = 0; then
33323 ac_path_to_link=""
33324 else
33325 ac_path_to_link=" -L$ac_find_libraries"
33326 fi
33327 fi
33328
33329 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33330 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33331 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33332 fi
33333
33334 found_gl=1
33335 OPENGL_LIBS="-lGL -lGLU"
33336 { echo "$as_me:$LINENO: result: yes" >&5
33337 echo "${ECHO_T}yes" >&6; }
33338 else
33339 { echo "$as_me:$LINENO: result: no" >&5
33340 echo "${ECHO_T}no" >&6; }
33341 fi
33342 else
33343 { echo "$as_me:$LINENO: result: no" >&5
33344 echo "${ECHO_T}no" >&6; }
33345 fi
33346
33347 if test "$found_gl" != 1; then
33348 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33349 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33350
33351 ac_find_libraries=
33352 for ac_dir in $SEARCH_LIB;
33353 do
33354 for ac_extension in a so sl dylib dll.a; do
33355 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33356 ac_find_libraries=$ac_dir
33357 break 2
33358 fi
33359 done
33360 done
33361
33362 if test "$ac_find_libraries" != "" ; then
33363
33364 if test "$ac_find_libraries" = "default location"; then
33365 ac_path_to_link=""
33366 else
33367 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33368 result=$?
33369 if test $result = 0; then
33370 ac_path_to_link=""
33371 else
33372 ac_path_to_link=" -L$ac_find_libraries"
33373 fi
33374 fi
33375
33376 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33377 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33378 { echo "$as_me:$LINENO: result: yes" >&5
33379 echo "${ECHO_T}yes" >&6; }
33380 else
33381 { echo "$as_me:$LINENO: result: no" >&5
33382 echo "${ECHO_T}no" >&6; }
33383 fi
33384 fi
33385
33386 fi
33387
33388
33389
33390 fi
33391
33392
33393
33394 if test "x$OPENGL_LIBS" = "x"; then
33395 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33396 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33397 wxUSE_OPENGL=no
33398 USE_OPENGL=0
33399 fi
33400 fi
33401
33402 if test "$wxUSE_OPENGL" = "yes"; then
33403 USE_OPENGL=1
33404 cat >>confdefs.h <<\_ACEOF
33405 #define wxUSE_OPENGL 1
33406 _ACEOF
33407
33408 cat >>confdefs.h <<\_ACEOF
33409 #define wxUSE_GLCANVAS 1
33410 _ACEOF
33411
33412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33413 fi
33414 fi
33415
33416
33417 if test -n "$TOOLKIT" ; then
33418 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33419 fi
33420
33421
33422
33423 if test "$wxUSE_SHARED" = "yes"; then
33424 case "${host}" in
33425 *-pc-msdosdjgpp )
33426 wxUSE_SHARED=no
33427 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33428 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33429 ;;
33430 esac
33431 fi
33432
33433 if test "$wxUSE_SHARED" = "yes"; then
33434
33435
33436 case "${host}" in
33437 *-*-cygwin* | *-*-mingw* )
33438 wx_cv_version_script=no
33439 ;;
33440
33441 *)
33442 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33443 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33444 if test "${wx_cv_version_script+set}" = set; then
33445 echo $ECHO_N "(cached) $ECHO_C" >&6
33446 else
33447
33448 echo "VER_1 { *; };" >conftest.sym
33449 echo "int main() { return 0; }" >conftest.cpp
33450
33451 if { ac_try='
33452 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33453 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33456 ac_status=$?
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; } ; then
33459 if test -s conftest.stderr ; then
33460 wx_cv_version_script=no
33461 else
33462 wx_cv_version_script=yes
33463 fi
33464 else
33465 wx_cv_version_script=no
33466 fi
33467
33468 if test $wx_cv_version_script = yes
33469 then
33470 echo "struct B { virtual ~B() { } }; \
33471 struct D : public B { }; \
33472 void F() { D d; }" > conftest.cpp
33473
33474 if { ac_try='
33475 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33476 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33479 ac_status=$?
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; } &&
33482 { ac_try='
33483 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33484 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33486 (eval $ac_try) 2>&5
33487 ac_status=$?
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); }; }
33490 then
33491 if { ac_try='
33492 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33493 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33496 ac_status=$?
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; }
33499 then
33500 wx_cv_version_script=yes
33501 else
33502 wx_cv_version_script=no
33503 fi
33504 fi
33505 fi
33506
33507 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33508 rm -f conftest1.output conftest2.output conftest3.output
33509
33510 fi
33511 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33512 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33513
33514 if test $wx_cv_version_script = yes ; then
33515 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33516 fi
33517 ;;
33518 esac
33519
33520
33521 if test "$wxUSE_VISIBILITY" != "no"; then
33522
33523
33524 if test -n "$GCC"; then
33525 CFLAGS_VISIBILITY="-fvisibility=hidden"
33526 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33527 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33528 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33529 if test "${wx_cv_cc_visibility+set}" = set; then
33530 echo $ECHO_N "(cached) $ECHO_C" >&6
33531 else
33532
33533 wx_save_CXXFLAGS="$CXXFLAGS"
33534 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33535 ac_ext=cpp
33536 ac_cpp='$CXXCPP $CPPFLAGS'
33537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33540
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547
33548 /* we need gcc >= 4.0, older versions with visibility support
33549 didn't have class visibility: */
33550 #if defined(__GNUC__) && __GNUC__ < 4
33551 error this gcc is too old;
33552 #endif
33553
33554 /* visibility only makes sense for ELF shared libs: */
33555 #if !defined(__ELF__) && !defined(__APPLE__)
33556 error this platform has no visibility;
33557 #endif
33558
33559 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33560 extern __attribute__((__visibility__("default"))) int exportedvar;
33561 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33562 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33563 class __attribute__((__visibility__("default"))) Foo {
33564 Foo() {}
33565 };
33566
33567 int
33568 main ()
33569 {
33570
33571 ;
33572 return 0;
33573 }
33574 _ACEOF
33575 rm -f conftest.$ac_objext
33576 if { (ac_try="$ac_compile"
33577 case "(($ac_try" in
33578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33579 *) ac_try_echo=$ac_try;;
33580 esac
33581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33582 (eval "$ac_compile") 2>conftest.er1
33583 ac_status=$?
33584 grep -v '^ *+' conftest.er1 >conftest.err
33585 rm -f conftest.er1
33586 cat conftest.err >&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } && {
33589 test -z "$ac_cxx_werror_flag" ||
33590 test ! -s conftest.err
33591 } && test -s conftest.$ac_objext; then
33592 wx_cv_cc_visibility=yes
33593 else
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.$ac_ext >&5
33596
33597 wx_cv_cc_visibility=no
33598 fi
33599
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601 ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607 CXXFLAGS="$wx_save_CXXFLAGS"
33608 fi
33609
33610 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33611 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33612 if test $wx_cv_cc_visibility = yes; then
33613 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33614 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33615 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618
33619 wx_save_CXXFLAGS="$CXXFLAGS"
33620 wx_save_LDFLAGS="$LDFLAGS"
33621 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33622 LDFLAGS="$LDFLAGS -shared -fPIC"
33623 ac_ext=cpp
33624 ac_cpp='$CXXCPP $CPPFLAGS'
33625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33628
33629 cat >conftest.$ac_ext <<_ACEOF
33630 /* confdefs.h. */
33631 _ACEOF
33632 cat confdefs.h >>conftest.$ac_ext
33633 cat >>conftest.$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635
33636 #include <string>
33637
33638 int
33639 main ()
33640 {
33641
33642 std::string s("hello");
33643 return s.length();
33644
33645 ;
33646 return 0;
33647 }
33648 _ACEOF
33649 rm -f conftest.$ac_objext conftest$ac_exeext
33650 if { (ac_try="$ac_link"
33651 case "(($ac_try" in
33652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33653 *) ac_try_echo=$ac_try;;
33654 esac
33655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33656 (eval "$ac_link") 2>conftest.er1
33657 ac_status=$?
33658 grep -v '^ *+' conftest.er1 >conftest.err
33659 rm -f conftest.er1
33660 cat conftest.err >&5
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); } && {
33663 test -z "$ac_cxx_werror_flag" ||
33664 test ! -s conftest.err
33665 } && test -s conftest$ac_exeext &&
33666 $as_test_x conftest$ac_exeext; then
33667 wx_cv_cc_broken_libstdcxx_visibility=no
33668 else
33669 echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.$ac_ext >&5
33671
33672 wx_cv_cc_broken_libstdcxx_visibility=yes
33673 fi
33674
33675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33676 conftest$ac_exeext conftest.$ac_ext
33677 ac_ext=c
33678 ac_cpp='$CPP $CPPFLAGS'
33679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33682
33683 CXXFLAGS="$wx_save_CXXFLAGS"
33684 LDFLAGS="$wx_save_LDFLAGS"
33685 fi
33686
33687 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33688 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33689
33690 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33691 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33692 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33693 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33695 else
33696
33697 ac_ext=cpp
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33702
33703 cat >conftest.$ac_ext <<_ACEOF
33704 /* confdefs.h. */
33705 _ACEOF
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33709
33710 #pragma GCC visibility push(default)
33711 #include <string>
33712 #pragma GCC visibility pop
33713
33714 int
33715 main ()
33716 {
33717
33718 std::string s("hello");
33719 return s.length();
33720
33721 ;
33722 return 0;
33723 }
33724 _ACEOF
33725 rm -f conftest.$ac_objext conftest$ac_exeext
33726 if { (ac_try="$ac_link"
33727 case "(($ac_try" in
33728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33729 *) ac_try_echo=$ac_try;;
33730 esac
33731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33732 (eval "$ac_link") 2>conftest.er1
33733 ac_status=$?
33734 grep -v '^ *+' conftest.er1 >conftest.err
33735 rm -f conftest.er1
33736 cat conftest.err >&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } && {
33739 test -z "$ac_cxx_werror_flag" ||
33740 test ! -s conftest.err
33741 } && test -s conftest$ac_exeext &&
33742 $as_test_x conftest$ac_exeext; then
33743 wx_cv_cc_visibility_workaround=no
33744 else
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 wx_cv_cc_visibility_workaround=yes
33749 fi
33750
33751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33752 conftest$ac_exeext conftest.$ac_ext
33753 ac_ext=c
33754 ac_cpp='$CPP $CPPFLAGS'
33755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33758
33759
33760 fi
33761
33762 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33763 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33764
33765 if test $wx_cv_cc_visibility_workaround = no; then
33766 wx_cv_cc_visibility=no
33767 fi
33768 fi
33769 fi
33770
33771 if test $wx_cv_cc_visibility = yes; then
33772 cat >>confdefs.h <<\_ACEOF
33773 #define HAVE_VISIBILITY 1
33774 _ACEOF
33775
33776 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33777 cat >>confdefs.h <<\_ACEOF
33778 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33779 _ACEOF
33780
33781 fi
33782 else
33783 CFLAGS_VISIBILITY=""
33784 CXXFLAGS_VISIBILITY=""
33785 fi
33786
33787
33788 fi
33789
33790 fi
33791
33792 if test "x$SUNCXX" = xyes; then
33793 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33794 WXCONFIG_RPATH="-R\$libdir"
33795 else
33796 case "${host}" in
33797 *-*-linux* | *-*-gnu* )
33798 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33799 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33800 ;;
33801
33802 *-*-solaris2* )
33803
33804 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33805
33806 saveLdflags="$LDFLAGS"
33807 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33808 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33809 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h. */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816
33817 int
33818 main ()
33819 {
33820
33821 ;
33822 return 0;
33823 }
33824 _ACEOF
33825 rm -f conftest.$ac_objext conftest$ac_exeext
33826 if { (ac_try="$ac_link"
33827 case "(($ac_try" in
33828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33829 *) ac_try_echo=$ac_try;;
33830 esac
33831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33832 (eval "$ac_link") 2>conftest.er1
33833 ac_status=$?
33834 grep -v '^ *+' conftest.er1 >conftest.err
33835 rm -f conftest.er1
33836 cat conftest.err >&5
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); } && {
33839 test -z "$ac_c_werror_flag" ||
33840 test ! -s conftest.err
33841 } && test -s conftest$ac_exeext &&
33842 $as_test_x conftest$ac_exeext; then
33843
33844 { echo "$as_me:$LINENO: result: yes" >&5
33845 echo "${ECHO_T}yes" >&6; }
33846 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33847 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33848
33849 else
33850 echo "$as_me: failed program was:" >&5
33851 sed 's/^/| /' conftest.$ac_ext >&5
33852
33853
33854 { echo "$as_me:$LINENO: result: no" >&5
33855 echo "${ECHO_T}no" >&6; }
33856 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33857 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33858 LDFLAGS="$saveLdflags -Wl,-R,/"
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h. */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865
33866 int
33867 main ()
33868 {
33869
33870 ;
33871 return 0;
33872 }
33873 _ACEOF
33874 rm -f conftest.$ac_objext conftest$ac_exeext
33875 if { (ac_try="$ac_link"
33876 case "(($ac_try" in
33877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33878 *) ac_try_echo=$ac_try;;
33879 esac
33880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33881 (eval "$ac_link") 2>conftest.er1
33882 ac_status=$?
33883 grep -v '^ *+' conftest.er1 >conftest.err
33884 rm -f conftest.er1
33885 cat conftest.err >&5
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); } && {
33888 test -z "$ac_c_werror_flag" ||
33889 test ! -s conftest.err
33890 } && test -s conftest$ac_exeext &&
33891 $as_test_x conftest$ac_exeext; then
33892
33893 { echo "$as_me:$LINENO: result: yes" >&5
33894 echo "${ECHO_T}yes" >&6; }
33895 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33896 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33897
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33901
33902
33903 { echo "$as_me:$LINENO: result: no" >&5
33904 echo "${ECHO_T}no" >&6; }
33905
33906 fi
33907
33908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33909 conftest$ac_exeext conftest.$ac_ext
33910
33911 fi
33912
33913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33914 conftest$ac_exeext conftest.$ac_ext
33915 LDFLAGS="$saveLdflags"
33916 ;;
33917
33918 *-*-darwin* )
33919 install_name_tool=`which install_name_tool`
33920 if test "$install_name_tool" -a -x "$install_name_tool"; then
33921 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33922 cat <<EOF >change-install-names
33923 #!/bin/sh
33924 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33925 inst_cmd="install_name_tool "
33926 for i in \${libnames} ; do
33927 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33928 done
33929 \${inst_cmd} \${3}
33930 EOF
33931 chmod +x change-install-names
33932 fi
33933 ;;
33934
33935 *-*-cygwin* | *-*-mingw32* )
33936 ;;
33937
33938 *-*-hpux* )
33939 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33940 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33941 ;;
33942
33943 esac
33944 fi
33945
33946 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33947
33948 if test $wxUSE_RPATH = "no"; then
33949 SAMPLES_RPATH_FLAG=''
33950 SAMPLES_RPATH_POSTLINK=''
33951 WXCONFIG_RPATH=''
33952 fi
33953
33954 SHARED=1
33955
33956 else
33957
33958 config_linkage_component="-static"
33959 SHARED=0
33960
33961 fi
33962
33963
33964 UNICODE=0
33965 lib_unicode_suffix=
33966 WX_CHARTYPE="ansi"
33967 if test "$wxUSE_UNICODE" = "yes"; then
33968 lib_unicode_suffix=u
33969 WX_CHARTYPE="unicode"
33970 UNICODE=1
33971 fi
33972
33973 lib_debug_suffix=
33974 WX_DEBUGTYPE="release"
33975 DEBUG_FLAG=0
33976 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33977 lib_debug_suffix=d
33978 WX_DEBUGTYPE="debug"
33979 DEBUG_FLAG=1
33980 fi
33981
33982 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33983 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33984
33985 DEBUG_INFO=0
33986 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33987 DEBUG_INFO=1
33988 fi
33989
33990 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33991
33992 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33993
33994 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33995
33996 if test "$cross_compiling" = "yes"; then
33997 HOST_SUFFIX="-$host_alias"
33998 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33999 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34000 fi
34001
34002 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34003 if test "${TOOLKIT_DIR}" = "os2"; then
34004 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34005 else
34006 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34007 fi
34008
34009
34010
34011 if test "$wxUSE_COCOA" = 1; then
34012
34013 ac_ext=c
34014 ac_cpp='$CPP $CPPFLAGS'
34015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34018
34019 ac_ext=m
34020
34021 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34022 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34023 cat >conftest.$ac_ext <<_ACEOF
34024 /* confdefs.h. */
34025 _ACEOF
34026 cat confdefs.h >>conftest.$ac_ext
34027 cat >>conftest.$ac_ext <<_ACEOF
34028 /* end confdefs.h. */
34029 #include <AppKit/NSEvent.h>
34030 #include <CoreFoundation/CoreFoundation.h>
34031
34032 int
34033 main ()
34034 {
34035
34036 ;
34037 return 0;
34038 }
34039 _ACEOF
34040 rm -f conftest.$ac_objext
34041 if { (ac_try="$ac_compile"
34042 case "(($ac_try" in
34043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34044 *) ac_try_echo=$ac_try;;
34045 esac
34046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34047 (eval "$ac_compile") 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } && {
34054 test -z "$ac_c_werror_flag" ||
34055 test ! -s conftest.err
34056 } && test -s conftest.$ac_objext; then
34057 { echo "$as_me:$LINENO: result: no" >&5
34058 echo "${ECHO_T}no" >&6; }
34059 else
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34062
34063 { echo "$as_me:$LINENO: result: yes" >&5
34064 echo "${ECHO_T}yes" >&6; }
34065 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34066 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34067 cat >conftest.$ac_ext <<_ACEOF
34068 /* confdefs.h. */
34069 _ACEOF
34070 cat confdefs.h >>conftest.$ac_ext
34071 cat >>conftest.$ac_ext <<_ACEOF
34072 /* end confdefs.h. */
34073 #define __Point__ 1
34074 #include <AppKit/NSEvent.h>
34075 #include <CoreFoundation/CoreFoundation.h>
34076
34077 int
34078 main ()
34079 {
34080
34081 ;
34082 return 0;
34083 }
34084 _ACEOF
34085 rm -f conftest.$ac_objext
34086 if { (ac_try="$ac_compile"
34087 case "(($ac_try" in
34088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34089 *) ac_try_echo=$ac_try;;
34090 esac
34091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34092 (eval "$ac_compile") 2>conftest.er1
34093 ac_status=$?
34094 grep -v '^ *+' conftest.er1 >conftest.err
34095 rm -f conftest.er1
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } && {
34099 test -z "$ac_c_werror_flag" ||
34100 test ! -s conftest.err
34101 } && test -s conftest.$ac_objext; then
34102 { echo "$as_me:$LINENO: result: yes" >&5
34103 echo "${ECHO_T}yes" >&6; }
34104 cat >>confdefs.h <<\_ACEOF
34105 #define __Point__ 1
34106 _ACEOF
34107
34108
34109 else
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.$ac_ext >&5
34112
34113 { { echo "$as_me:$LINENO: error: no
34114 See \`config.log' for more details." >&5
34115 echo "$as_me: error: no
34116 See \`config.log' for more details." >&2;}
34117 { (exit 1); exit 1; }; }
34118
34119 fi
34120
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122
34123 fi
34124
34125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34126 ac_ext=c
34127 ac_cpp='$CPP $CPPFLAGS'
34128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34131
34132 fi
34133
34134
34135 { echo "$as_me:$LINENO: checking for mode_t" >&5
34136 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34137 if test "${ac_cv_type_mode_t+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 else
34140 cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h. */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146 $ac_includes_default
34147 typedef mode_t ac__type_new_;
34148 int
34149 main ()
34150 {
34151 if ((ac__type_new_ *) 0)
34152 return 0;
34153 if (sizeof (ac__type_new_))
34154 return 0;
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_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 ac_cv_type_mode_t=yes
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34180
34181 ac_cv_type_mode_t=no
34182 fi
34183
34184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34185 fi
34186 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34187 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34188 if test $ac_cv_type_mode_t = yes; then
34189 :
34190 else
34191
34192 cat >>confdefs.h <<_ACEOF
34193 #define mode_t int
34194 _ACEOF
34195
34196 fi
34197
34198 { echo "$as_me:$LINENO: checking for off_t" >&5
34199 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34200 if test "${ac_cv_type_off_t+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 $ac_includes_default
34210 typedef off_t ac__type_new_;
34211 int
34212 main ()
34213 {
34214 if ((ac__type_new_ *) 0)
34215 return 0;
34216 if (sizeof (ac__type_new_))
34217 return 0;
34218 ;
34219 return 0;
34220 }
34221 _ACEOF
34222 rm -f conftest.$ac_objext
34223 if { (ac_try="$ac_compile"
34224 case "(($ac_try" in
34225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34226 *) ac_try_echo=$ac_try;;
34227 esac
34228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34229 (eval "$ac_compile") 2>conftest.er1
34230 ac_status=$?
34231 grep -v '^ *+' conftest.er1 >conftest.err
34232 rm -f conftest.er1
34233 cat conftest.err >&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); } && {
34236 test -z "$ac_c_werror_flag" ||
34237 test ! -s conftest.err
34238 } && test -s conftest.$ac_objext; then
34239 ac_cv_type_off_t=yes
34240 else
34241 echo "$as_me: failed program was:" >&5
34242 sed 's/^/| /' conftest.$ac_ext >&5
34243
34244 ac_cv_type_off_t=no
34245 fi
34246
34247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34248 fi
34249 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34250 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34251 if test $ac_cv_type_off_t = yes; then
34252 :
34253 else
34254
34255 cat >>confdefs.h <<_ACEOF
34256 #define off_t long int
34257 _ACEOF
34258
34259 fi
34260
34261 { echo "$as_me:$LINENO: checking for pid_t" >&5
34262 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34263 if test "${ac_cv_type_pid_t+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 $ac_includes_default
34273 typedef pid_t ac__type_new_;
34274 int
34275 main ()
34276 {
34277 if ((ac__type_new_ *) 0)
34278 return 0;
34279 if (sizeof (ac__type_new_))
34280 return 0;
34281 ;
34282 return 0;
34283 }
34284 _ACEOF
34285 rm -f conftest.$ac_objext
34286 if { (ac_try="$ac_compile"
34287 case "(($ac_try" in
34288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34289 *) ac_try_echo=$ac_try;;
34290 esac
34291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34292 (eval "$ac_compile") 2>conftest.er1
34293 ac_status=$?
34294 grep -v '^ *+' conftest.er1 >conftest.err
34295 rm -f conftest.er1
34296 cat conftest.err >&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); } && {
34299 test -z "$ac_c_werror_flag" ||
34300 test ! -s conftest.err
34301 } && test -s conftest.$ac_objext; then
34302 ac_cv_type_pid_t=yes
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307 ac_cv_type_pid_t=no
34308 fi
34309
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 fi
34312 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34313 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34314 if test $ac_cv_type_pid_t = yes; then
34315 :
34316 else
34317
34318 cat >>confdefs.h <<_ACEOF
34319 #define pid_t int
34320 _ACEOF
34321
34322 fi
34323
34324 { echo "$as_me:$LINENO: checking for size_t" >&5
34325 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34326 if test "${ac_cv_type_size_t+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 else
34329 cat >conftest.$ac_ext <<_ACEOF
34330 /* confdefs.h. */
34331 _ACEOF
34332 cat confdefs.h >>conftest.$ac_ext
34333 cat >>conftest.$ac_ext <<_ACEOF
34334 /* end confdefs.h. */
34335 $ac_includes_default
34336 typedef size_t ac__type_new_;
34337 int
34338 main ()
34339 {
34340 if ((ac__type_new_ *) 0)
34341 return 0;
34342 if (sizeof (ac__type_new_))
34343 return 0;
34344 ;
34345 return 0;
34346 }
34347 _ACEOF
34348 rm -f conftest.$ac_objext
34349 if { (ac_try="$ac_compile"
34350 case "(($ac_try" in
34351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34352 *) ac_try_echo=$ac_try;;
34353 esac
34354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34355 (eval "$ac_compile") 2>conftest.er1
34356 ac_status=$?
34357 grep -v '^ *+' conftest.er1 >conftest.err
34358 rm -f conftest.er1
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } && {
34362 test -z "$ac_c_werror_flag" ||
34363 test ! -s conftest.err
34364 } && test -s conftest.$ac_objext; then
34365 ac_cv_type_size_t=yes
34366 else
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34369
34370 ac_cv_type_size_t=no
34371 fi
34372
34373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34374 fi
34375 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34376 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34377 if test $ac_cv_type_size_t = yes; then
34378 :
34379 else
34380
34381 cat >>confdefs.h <<_ACEOF
34382 #define size_t unsigned int
34383 _ACEOF
34384
34385 fi
34386
34387
34388 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34389 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34390 if test "${ac_cv_type_ssize_t+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 $ac_includes_default
34400 typedef ssize_t ac__type_new_;
34401 int
34402 main ()
34403 {
34404 if ((ac__type_new_ *) 0)
34405 return 0;
34406 if (sizeof (ac__type_new_))
34407 return 0;
34408 ;
34409 return 0;
34410 }
34411 _ACEOF
34412 rm -f conftest.$ac_objext
34413 if { (ac_try="$ac_compile"
34414 case "(($ac_try" in
34415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34416 *) ac_try_echo=$ac_try;;
34417 esac
34418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34419 (eval "$ac_compile") 2>conftest.er1
34420 ac_status=$?
34421 grep -v '^ *+' conftest.er1 >conftest.err
34422 rm -f conftest.er1
34423 cat conftest.err >&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); } && {
34426 test -z "$ac_c_werror_flag" ||
34427 test ! -s conftest.err
34428 } && test -s conftest.$ac_objext; then
34429 ac_cv_type_ssize_t=yes
34430 else
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34433
34434 ac_cv_type_ssize_t=no
34435 fi
34436
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 fi
34439 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34440 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34441 if test $ac_cv_type_ssize_t = yes; then
34442
34443 cat >>confdefs.h <<_ACEOF
34444 #define HAVE_SSIZE_T 1
34445 _ACEOF
34446
34447
34448 fi
34449
34450
34451 ac_ext=cpp
34452 ac_cpp='$CXXCPP $CPPFLAGS'
34453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34457 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34458 if test "${wx_cv_size_t_is_uint+set}" = set; then
34459 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 else
34461
34462 cat >conftest.$ac_ext <<_ACEOF
34463 /* confdefs.h. */
34464 _ACEOF
34465 cat confdefs.h >>conftest.$ac_ext
34466 cat >>conftest.$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468 #include <stddef.h>
34469 int
34470 main ()
34471 {
34472
34473 return 0; }
34474
34475 struct Foo { void foo(size_t); void foo(unsigned int); };
34476
34477 int bar() {
34478
34479 ;
34480 return 0;
34481 }
34482 _ACEOF
34483 rm -f conftest.$ac_objext
34484 if { (ac_try="$ac_compile"
34485 case "(($ac_try" in
34486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34487 *) ac_try_echo=$ac_try;;
34488 esac
34489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34490 (eval "$ac_compile") 2>conftest.er1
34491 ac_status=$?
34492 grep -v '^ *+' conftest.er1 >conftest.err
34493 rm -f conftest.er1
34494 cat conftest.err >&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); } && {
34497 test -z "$ac_cxx_werror_flag" ||
34498 test ! -s conftest.err
34499 } && test -s conftest.$ac_objext; then
34500 wx_cv_size_t_is_uint=no
34501 else
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.$ac_ext >&5
34504
34505 wx_cv_size_t_is_uint=yes
34506
34507 fi
34508
34509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34510
34511
34512 fi
34513 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34514 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34515
34516 if test "$wx_cv_size_t_is_uint" = "yes"; then
34517 cat >>confdefs.h <<\_ACEOF
34518 #define wxSIZE_T_IS_UINT 1
34519 _ACEOF
34520
34521 else
34522 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34523 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34524 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34525 echo $ECHO_N "(cached) $ECHO_C" >&6
34526 else
34527 cat >conftest.$ac_ext <<_ACEOF
34528 /* confdefs.h. */
34529 _ACEOF
34530 cat confdefs.h >>conftest.$ac_ext
34531 cat >>conftest.$ac_ext <<_ACEOF
34532 /* end confdefs.h. */
34533 #include <stddef.h>
34534 int
34535 main ()
34536 {
34537
34538 return 0; }
34539
34540 struct Foo { void foo(size_t); void foo(unsigned long); };
34541
34542 int bar() {
34543
34544 ;
34545 return 0;
34546 }
34547 _ACEOF
34548 rm -f conftest.$ac_objext
34549 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
34563 test ! -s conftest.err
34564 } && test -s conftest.$ac_objext; then
34565 wx_cv_size_t_is_ulong=no
34566 else
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.$ac_ext >&5
34569
34570 wx_cv_size_t_is_ulong=yes
34571
34572 fi
34573
34574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34575
34576 fi
34577 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34578 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34579
34580 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34581 cat >>confdefs.h <<\_ACEOF
34582 #define wxSIZE_T_IS_ULONG 1
34583 _ACEOF
34584
34585 fi
34586 fi
34587
34588 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34589 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34590 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 #include <wchar.h>
34600 int
34601 main ()
34602 {
34603
34604 return 0; }
34605
34606 struct Foo { void foo(wchar_t);
34607 void foo(unsigned short);
34608 void foo(unsigned int);
34609 void foo(unsigned long); };
34610
34611 int bar() {
34612
34613 ;
34614 return 0;
34615 }
34616 _ACEOF
34617 rm -f conftest.$ac_objext
34618 if { (ac_try="$ac_compile"
34619 case "(($ac_try" in
34620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34621 *) ac_try_echo=$ac_try;;
34622 esac
34623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34624 (eval "$ac_compile") 2>conftest.er1
34625 ac_status=$?
34626 grep -v '^ *+' conftest.er1 >conftest.err
34627 rm -f conftest.er1
34628 cat conftest.err >&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); } && {
34631 test -z "$ac_cxx_werror_flag" ||
34632 test ! -s conftest.err
34633 } && test -s conftest.$ac_objext; then
34634 wx_cv_wchar_t_is_separate_type=yes
34635 else
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.$ac_ext >&5
34638
34639 wx_cv_wchar_t_is_separate_type=no
34640
34641 fi
34642
34643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34644
34645 fi
34646 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34647 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34648
34649 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34650 cat >>confdefs.h <<\_ACEOF
34651 #define wxWCHAR_T_IS_REAL_TYPE 1
34652 _ACEOF
34653
34654 else
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxWCHAR_T_IS_REAL_TYPE 0
34657 _ACEOF
34658
34659 fi
34660
34661 ac_ext=c
34662 ac_cpp='$CPP $CPPFLAGS'
34663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34666
34667
34668 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34669 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34670 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34672 else
34673
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 #include <pwd.h>
34681 int
34682 main ()
34683 {
34684
34685 char *p;
34686 struct passwd *pw;
34687 p = pw->pw_gecos;
34688
34689 ;
34690 return 0;
34691 }
34692 _ACEOF
34693 rm -f conftest.$ac_objext
34694 if { (ac_try="$ac_compile"
34695 case "(($ac_try" in
34696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34697 *) ac_try_echo=$ac_try;;
34698 esac
34699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34700 (eval "$ac_compile") 2>conftest.er1
34701 ac_status=$?
34702 grep -v '^ *+' conftest.er1 >conftest.err
34703 rm -f conftest.er1
34704 cat conftest.err >&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } && {
34707 test -z "$ac_c_werror_flag" ||
34708 test ! -s conftest.err
34709 } && test -s conftest.$ac_objext; then
34710
34711 wx_cv_struct_pw_gecos=yes
34712
34713 else
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.$ac_ext >&5
34716
34717
34718 wx_cv_struct_pw_gecos=no
34719
34720
34721 fi
34722
34723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724
34725
34726 fi
34727 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34728 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34729
34730 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34731 cat >>confdefs.h <<\_ACEOF
34732 #define HAVE_PW_GECOS 1
34733 _ACEOF
34734
34735 fi
34736
34737
34738 if test "$wxUSE_WCHAR_T" = "yes"; then
34739 cat >>confdefs.h <<\_ACEOF
34740 #define wxUSE_WCHAR_T 1
34741 _ACEOF
34742
34743
34744 WCSLEN_FOUND=0
34745 WCHAR_LINK=
34746
34747 for ac_func in wcslen
34748 do
34749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h. */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h. */
34761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34763 #define $ac_func innocuous_$ac_func
34764
34765 /* System header to define __stub macros and hopefully few prototypes,
34766 which can conflict with char $ac_func (); below.
34767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34768 <limits.h> exists even on freestanding compilers. */
34769
34770 #ifdef __STDC__
34771 # include <limits.h>
34772 #else
34773 # include <assert.h>
34774 #endif
34775
34776 #undef $ac_func
34777
34778 /* Override any GCC internal prototype to avoid an error.
34779 Use char because int might match the return type of a GCC
34780 builtin and then its argument prototype would still apply. */
34781 #ifdef __cplusplus
34782 extern "C"
34783 #endif
34784 char $ac_func ();
34785 /* The GNU C library defines this for functions which it implements
34786 to always fail with ENOSYS. Some functions are actually named
34787 something starting with __ and the normal name is an alias. */
34788 #if defined __stub_$ac_func || defined __stub___$ac_func
34789 choke me
34790 #endif
34791
34792 int
34793 main ()
34794 {
34795 return $ac_func ();
34796 ;
34797 return 0;
34798 }
34799 _ACEOF
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (ac_try="$ac_link"
34802 case "(($ac_try" in
34803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34804 *) ac_try_echo=$ac_try;;
34805 esac
34806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34807 (eval "$ac_link") 2>conftest.er1
34808 ac_status=$?
34809 grep -v '^ *+' conftest.er1 >conftest.err
34810 rm -f conftest.er1
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } && {
34814 test -z "$ac_c_werror_flag" ||
34815 test ! -s conftest.err
34816 } && test -s conftest$ac_exeext &&
34817 $as_test_x conftest$ac_exeext; then
34818 eval "$as_ac_var=yes"
34819 else
34820 echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 eval "$as_ac_var=no"
34824 fi
34825
34826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34827 conftest$ac_exeext conftest.$ac_ext
34828 fi
34829 ac_res=`eval echo '${'$as_ac_var'}'`
34830 { echo "$as_me:$LINENO: result: $ac_res" >&5
34831 echo "${ECHO_T}$ac_res" >&6; }
34832 if test `eval echo '${'$as_ac_var'}'` = yes; then
34833 cat >>confdefs.h <<_ACEOF
34834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34835 _ACEOF
34836 WCSLEN_FOUND=1
34837 fi
34838 done
34839
34840
34841 if test "$WCSLEN_FOUND" = 0; then
34842 if test "$TOOLKIT" = "MSW"; then
34843 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34844 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34845 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34846 echo $ECHO_N "(cached) $ECHO_C" >&6
34847 else
34848 ac_check_lib_save_LIBS=$LIBS
34849 LIBS="-lmsvcrt $LIBS"
34850 cat >conftest.$ac_ext <<_ACEOF
34851 /* confdefs.h. */
34852 _ACEOF
34853 cat confdefs.h >>conftest.$ac_ext
34854 cat >>conftest.$ac_ext <<_ACEOF
34855 /* end confdefs.h. */
34856
34857 /* Override any GCC internal prototype to avoid an error.
34858 Use char because int might match the return type of a GCC
34859 builtin and then its argument prototype would still apply. */
34860 #ifdef __cplusplus
34861 extern "C"
34862 #endif
34863 char wcslen ();
34864 int
34865 main ()
34866 {
34867 return wcslen ();
34868 ;
34869 return 0;
34870 }
34871 _ACEOF
34872 rm -f conftest.$ac_objext conftest$ac_exeext
34873 if { (ac_try="$ac_link"
34874 case "(($ac_try" in
34875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34876 *) ac_try_echo=$ac_try;;
34877 esac
34878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34879 (eval "$ac_link") 2>conftest.er1
34880 ac_status=$?
34881 grep -v '^ *+' conftest.er1 >conftest.err
34882 rm -f conftest.er1
34883 cat conftest.err >&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); } && {
34886 test -z "$ac_c_werror_flag" ||
34887 test ! -s conftest.err
34888 } && test -s conftest$ac_exeext &&
34889 $as_test_x conftest$ac_exeext; then
34890 ac_cv_lib_msvcrt_wcslen=yes
34891 else
34892 echo "$as_me: failed program was:" >&5
34893 sed 's/^/| /' conftest.$ac_ext >&5
34894
34895 ac_cv_lib_msvcrt_wcslen=no
34896 fi
34897
34898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34899 conftest$ac_exeext conftest.$ac_ext
34900 LIBS=$ac_check_lib_save_LIBS
34901 fi
34902 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34903 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34904 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34905 WCHAR_OK=1
34906 fi
34907
34908 else
34909 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34910 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34911 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34912 echo $ECHO_N "(cached) $ECHO_C" >&6
34913 else
34914 ac_check_lib_save_LIBS=$LIBS
34915 LIBS="-lw $LIBS"
34916 cat >conftest.$ac_ext <<_ACEOF
34917 /* confdefs.h. */
34918 _ACEOF
34919 cat confdefs.h >>conftest.$ac_ext
34920 cat >>conftest.$ac_ext <<_ACEOF
34921 /* end confdefs.h. */
34922
34923 /* Override any GCC internal prototype to avoid an error.
34924 Use char because int might match the return type of a GCC
34925 builtin and then its argument prototype would still apply. */
34926 #ifdef __cplusplus
34927 extern "C"
34928 #endif
34929 char wcslen ();
34930 int
34931 main ()
34932 {
34933 return wcslen ();
34934 ;
34935 return 0;
34936 }
34937 _ACEOF
34938 rm -f conftest.$ac_objext conftest$ac_exeext
34939 if { (ac_try="$ac_link"
34940 case "(($ac_try" in
34941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34942 *) ac_try_echo=$ac_try;;
34943 esac
34944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34945 (eval "$ac_link") 2>conftest.er1
34946 ac_status=$?
34947 grep -v '^ *+' conftest.er1 >conftest.err
34948 rm -f conftest.er1
34949 cat conftest.err >&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); } && {
34952 test -z "$ac_c_werror_flag" ||
34953 test ! -s conftest.err
34954 } && test -s conftest$ac_exeext &&
34955 $as_test_x conftest$ac_exeext; then
34956 ac_cv_lib_w_wcslen=yes
34957 else
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961 ac_cv_lib_w_wcslen=no
34962 fi
34963
34964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34965 conftest$ac_exeext conftest.$ac_ext
34966 LIBS=$ac_check_lib_save_LIBS
34967 fi
34968 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34969 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34970 if test $ac_cv_lib_w_wcslen = yes; then
34971
34972 WCHAR_LINK=" -lw"
34973 WCSLEN_FOUND=1
34974
34975 fi
34976
34977 fi
34978 fi
34979
34980 if test "$WCSLEN_FOUND" = 1; then
34981 cat >>confdefs.h <<\_ACEOF
34982 #define HAVE_WCSLEN 1
34983 _ACEOF
34984
34985 fi
34986
34987
34988 for ac_func in wcsdup
34989 do
34990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 else
34996 cat >conftest.$ac_ext <<_ACEOF
34997 /* confdefs.h. */
34998 _ACEOF
34999 cat confdefs.h >>conftest.$ac_ext
35000 cat >>conftest.$ac_ext <<_ACEOF
35001 /* end confdefs.h. */
35002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35004 #define $ac_func innocuous_$ac_func
35005
35006 /* System header to define __stub macros and hopefully few prototypes,
35007 which can conflict with char $ac_func (); below.
35008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35009 <limits.h> exists even on freestanding compilers. */
35010
35011 #ifdef __STDC__
35012 # include <limits.h>
35013 #else
35014 # include <assert.h>
35015 #endif
35016
35017 #undef $ac_func
35018
35019 /* Override any GCC internal prototype to avoid an error.
35020 Use char because int might match the return type of a GCC
35021 builtin and then its argument prototype would still apply. */
35022 #ifdef __cplusplus
35023 extern "C"
35024 #endif
35025 char $ac_func ();
35026 /* The GNU C library defines this for functions which it implements
35027 to always fail with ENOSYS. Some functions are actually named
35028 something starting with __ and the normal name is an alias. */
35029 #if defined __stub_$ac_func || defined __stub___$ac_func
35030 choke me
35031 #endif
35032
35033 int
35034 main ()
35035 {
35036 return $ac_func ();
35037 ;
35038 return 0;
35039 }
35040 _ACEOF
35041 rm -f conftest.$ac_objext conftest$ac_exeext
35042 if { (ac_try="$ac_link"
35043 case "(($ac_try" in
35044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35045 *) ac_try_echo=$ac_try;;
35046 esac
35047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35048 (eval "$ac_link") 2>conftest.er1
35049 ac_status=$?
35050 grep -v '^ *+' conftest.er1 >conftest.err
35051 rm -f conftest.er1
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } && {
35055 test -z "$ac_c_werror_flag" ||
35056 test ! -s conftest.err
35057 } && test -s conftest$ac_exeext &&
35058 $as_test_x conftest$ac_exeext; then
35059 eval "$as_ac_var=yes"
35060 else
35061 echo "$as_me: failed program was:" >&5
35062 sed 's/^/| /' conftest.$ac_ext >&5
35063
35064 eval "$as_ac_var=no"
35065 fi
35066
35067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35068 conftest$ac_exeext conftest.$ac_ext
35069 fi
35070 ac_res=`eval echo '${'$as_ac_var'}'`
35071 { echo "$as_me:$LINENO: result: $ac_res" >&5
35072 echo "${ECHO_T}$ac_res" >&6; }
35073 if test `eval echo '${'$as_ac_var'}'` = yes; then
35074 cat >>confdefs.h <<_ACEOF
35075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35076 _ACEOF
35077
35078 fi
35079 done
35080
35081
35082 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35083 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35084 fi
35085
35086 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35087 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35088 if test "${ac_cv_type_mbstate_t+set}" = set; then
35089 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 else
35091 cat >conftest.$ac_ext <<_ACEOF
35092 /* confdefs.h. */
35093 _ACEOF
35094 cat confdefs.h >>conftest.$ac_ext
35095 cat >>conftest.$ac_ext <<_ACEOF
35096 /* end confdefs.h. */
35097 #include <wchar.h>
35098
35099 typedef mbstate_t ac__type_new_;
35100 int
35101 main ()
35102 {
35103 if ((ac__type_new_ *) 0)
35104 return 0;
35105 if (sizeof (ac__type_new_))
35106 return 0;
35107 ;
35108 return 0;
35109 }
35110 _ACEOF
35111 rm -f conftest.$ac_objext
35112 if { (ac_try="$ac_compile"
35113 case "(($ac_try" in
35114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35115 *) ac_try_echo=$ac_try;;
35116 esac
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118 (eval "$ac_compile") 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } && {
35125 test -z "$ac_c_werror_flag" ||
35126 test ! -s conftest.err
35127 } && test -s conftest.$ac_objext; then
35128 ac_cv_type_mbstate_t=yes
35129 else
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35132
35133 ac_cv_type_mbstate_t=no
35134 fi
35135
35136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137 fi
35138 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35139 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35140 if test $ac_cv_type_mbstate_t = yes; then
35141
35142 cat >>confdefs.h <<_ACEOF
35143 #define HAVE_MBSTATE_T 1
35144 _ACEOF
35145
35146
35147 for ac_func in wcsrtombs
35148 do
35149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35153 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 else
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35163 #define $ac_func innocuous_$ac_func
35164
35165 /* System header to define __stub macros and hopefully few prototypes,
35166 which can conflict with char $ac_func (); below.
35167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35168 <limits.h> exists even on freestanding compilers. */
35169
35170 #ifdef __STDC__
35171 # include <limits.h>
35172 #else
35173 # include <assert.h>
35174 #endif
35175
35176 #undef $ac_func
35177
35178 /* Override any GCC internal prototype to avoid an error.
35179 Use char because int might match the return type of a GCC
35180 builtin and then its argument prototype would still apply. */
35181 #ifdef __cplusplus
35182 extern "C"
35183 #endif
35184 char $ac_func ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined __stub_$ac_func || defined __stub___$ac_func
35189 choke me
35190 #endif
35191
35192 int
35193 main ()
35194 {
35195 return $ac_func ();
35196 ;
35197 return 0;
35198 }
35199 _ACEOF
35200 rm -f conftest.$ac_objext conftest$ac_exeext
35201 if { (ac_try="$ac_link"
35202 case "(($ac_try" in
35203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35204 *) ac_try_echo=$ac_try;;
35205 esac
35206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35207 (eval "$ac_link") 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } && {
35214 test -z "$ac_c_werror_flag" ||
35215 test ! -s conftest.err
35216 } && test -s conftest$ac_exeext &&
35217 $as_test_x conftest$ac_exeext; then
35218 eval "$as_ac_var=yes"
35219 else
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.$ac_ext >&5
35222
35223 eval "$as_ac_var=no"
35224 fi
35225
35226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35227 conftest$ac_exeext conftest.$ac_ext
35228 fi
35229 ac_res=`eval echo '${'$as_ac_var'}'`
35230 { echo "$as_me:$LINENO: result: $ac_res" >&5
35231 echo "${ECHO_T}$ac_res" >&6; }
35232 if test `eval echo '${'$as_ac_var'}'` = yes; then
35233 cat >>confdefs.h <<_ACEOF
35234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35235 _ACEOF
35236
35237 fi
35238 done
35239
35240 fi
35241
35242 else
35243 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35244 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35245 fi
35246
35247
35248
35249
35250 for ac_func in snprintf vsnprintf vsscanf
35251 do
35252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258 cat >conftest.$ac_ext <<_ACEOF
35259 /* confdefs.h. */
35260 _ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35266 #define $ac_func innocuous_$ac_func
35267
35268 /* System header to define __stub macros and hopefully few prototypes,
35269 which can conflict with char $ac_func (); below.
35270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35271 <limits.h> exists even on freestanding compilers. */
35272
35273 #ifdef __STDC__
35274 # include <limits.h>
35275 #else
35276 # include <assert.h>
35277 #endif
35278
35279 #undef $ac_func
35280
35281 /* Override any GCC internal prototype to avoid an error.
35282 Use char because int might match the return type of a GCC
35283 builtin and then its argument prototype would still apply. */
35284 #ifdef __cplusplus
35285 extern "C"
35286 #endif
35287 char $ac_func ();
35288 /* The GNU C library defines this for functions which it implements
35289 to always fail with ENOSYS. Some functions are actually named
35290 something starting with __ and the normal name is an alias. */
35291 #if defined __stub_$ac_func || defined __stub___$ac_func
35292 choke me
35293 #endif
35294
35295 int
35296 main ()
35297 {
35298 return $ac_func ();
35299 ;
35300 return 0;
35301 }
35302 _ACEOF
35303 rm -f conftest.$ac_objext conftest$ac_exeext
35304 if { (ac_try="$ac_link"
35305 case "(($ac_try" in
35306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35307 *) ac_try_echo=$ac_try;;
35308 esac
35309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35310 (eval "$ac_link") 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } && {
35317 test -z "$ac_c_werror_flag" ||
35318 test ! -s conftest.err
35319 } && test -s conftest$ac_exeext &&
35320 $as_test_x conftest$ac_exeext; then
35321 eval "$as_ac_var=yes"
35322 else
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.$ac_ext >&5
35325
35326 eval "$as_ac_var=no"
35327 fi
35328
35329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35330 conftest$ac_exeext conftest.$ac_ext
35331 fi
35332 ac_res=`eval echo '${'$as_ac_var'}'`
35333 { echo "$as_me:$LINENO: result: $ac_res" >&5
35334 echo "${ECHO_T}$ac_res" >&6; }
35335 if test `eval echo '${'$as_ac_var'}'` = yes; then
35336 cat >>confdefs.h <<_ACEOF
35337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35338 _ACEOF
35339
35340 fi
35341 done
35342
35343
35344 ac_ext=cpp
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35349
35350 if test "$ac_cv_func_vsnprintf" = "yes"; then
35351 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35352 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35353 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 else
35356
35357 cat >conftest.$ac_ext <<_ACEOF
35358 /* confdefs.h. */
35359 _ACEOF
35360 cat confdefs.h >>conftest.$ac_ext
35361 cat >>conftest.$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363
35364 #include <stdio.h>
35365 #include <stdarg.h>
35366 #ifdef __MSL__
35367 #if __MSL__ >= 0x6000
35368 namespace std {}
35369 using namespace std;
35370 #endif
35371 #endif
35372
35373 int
35374 main ()
35375 {
35376
35377 char *buf;
35378 va_list ap;
35379 vsnprintf(buf, 10u, "%s", ap);
35380
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 rm -f conftest.$ac_objext
35386 if { (ac_try="$ac_compile"
35387 case "(($ac_try" in
35388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35389 *) ac_try_echo=$ac_try;;
35390 esac
35391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35392 (eval "$ac_compile") 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } && {
35399 test -z "$ac_cxx_werror_flag" ||
35400 test ! -s conftest.err
35401 } && test -s conftest.$ac_objext; then
35402 wx_cv_func_vsnprintf_decl=yes
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35406
35407 wx_cv_func_vsnprintf_decl=no
35408
35409 fi
35410
35411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35412
35413
35414 fi
35415 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35416 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35417
35418 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35419 cat >>confdefs.h <<\_ACEOF
35420 #define HAVE_VSNPRINTF_DECL 1
35421 _ACEOF
35422
35423
35424 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35425 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35426 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 else
35429
35430 cat >conftest.$ac_ext <<_ACEOF
35431 /* confdefs.h. */
35432 _ACEOF
35433 cat confdefs.h >>conftest.$ac_ext
35434 cat >>conftest.$ac_ext <<_ACEOF
35435 /* end confdefs.h. */
35436
35437 #include <stdio.h>
35438 #include <stdarg.h>
35439 #ifdef __MSL__
35440 #if __MSL__ >= 0x6000
35441 namespace std {}
35442 using namespace std;
35443 #endif
35444 #endif
35445
35446 int
35447 main ()
35448 {
35449
35450 char *buf;
35451 va_list ap;
35452 const char *fmt = "%s";
35453 vsnprintf(buf, 10u, fmt, ap);
35454
35455 ;
35456 return 0;
35457 }
35458 _ACEOF
35459 rm -f conftest.$ac_objext
35460 if { (ac_try="$ac_compile"
35461 case "(($ac_try" in
35462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35463 *) ac_try_echo=$ac_try;;
35464 esac
35465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35466 (eval "$ac_compile") 2>conftest.er1
35467 ac_status=$?
35468 grep -v '^ *+' conftest.er1 >conftest.err
35469 rm -f conftest.er1
35470 cat conftest.err >&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } && {
35473 test -z "$ac_cxx_werror_flag" ||
35474 test ! -s conftest.err
35475 } && test -s conftest.$ac_objext; then
35476 wx_cv_func_broken_vsnprintf_decl=no
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 wx_cv_func_broken_vsnprintf_decl=yes
35482
35483 fi
35484
35485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35486
35487
35488 fi
35489 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35490 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35491
35492 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35493 cat >>confdefs.h <<\_ACEOF
35494 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35495 _ACEOF
35496
35497 fi
35498 fi
35499 fi
35500
35501 if test "$ac_cv_func_snprintf" = "yes"; then
35502 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35503 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35504 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35507
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h. */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35514
35515 #include <stdio.h>
35516 #include <stdarg.h>
35517 #ifdef __MSL__
35518 #if __MSL__ >= 0x6000
35519 namespace std {}
35520 using namespace std;
35521 #endif
35522 #endif
35523
35524 int
35525 main ()
35526 {
35527
35528 char *buf;
35529 snprintf(buf, 10u, "%s", "wx");
35530
35531 ;
35532 return 0;
35533 }
35534 _ACEOF
35535 rm -f conftest.$ac_objext
35536 if { (ac_try="$ac_compile"
35537 case "(($ac_try" in
35538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35539 *) ac_try_echo=$ac_try;;
35540 esac
35541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35542 (eval "$ac_compile") 2>conftest.er1
35543 ac_status=$?
35544 grep -v '^ *+' conftest.er1 >conftest.err
35545 rm -f conftest.er1
35546 cat conftest.err >&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); } && {
35549 test -z "$ac_cxx_werror_flag" ||
35550 test ! -s conftest.err
35551 } && test -s conftest.$ac_objext; then
35552 wx_cv_func_snprintf_decl=yes
35553 else
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35556
35557 wx_cv_func_snprintf_decl=no
35558
35559 fi
35560
35561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35562
35563
35564 fi
35565 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35566 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35567
35568 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35569 cat >>confdefs.h <<\_ACEOF
35570 #define HAVE_SNPRINTF_DECL 1
35571 _ACEOF
35572
35573 fi
35574
35575 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35576
35577 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35578 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35579 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 else
35582
35583 if test "$cross_compiling" = yes; then
35584
35585 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35586 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35587 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35588 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35589 wx_cv_func_snprintf_pos_params=no
35590
35591
35592 else
35593 cat >conftest.$ac_ext <<_ACEOF
35594 /* confdefs.h. */
35595 _ACEOF
35596 cat confdefs.h >>conftest.$ac_ext
35597 cat >>conftest.$ac_ext <<_ACEOF
35598 /* end confdefs.h. */
35599
35600 #include <stdio.h>
35601
35602 int main (void)
35603 {
35604 char buffer[128];
35605 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35606 if (strcmp ("2 3 1", buffer) == 0)
35607 exit (0);
35608 exit (1);
35609 }
35610
35611 _ACEOF
35612 rm -f conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35617 esac
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>&5
35620 ac_status=$?
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35623 { (case "(($ac_try" in
35624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35625 *) ac_try_echo=$ac_try;;
35626 esac
35627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35628 (eval "$ac_try") 2>&5
35629 ac_status=$?
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 wx_cv_func_snprintf_pos_params=no
35633 else
35634 echo "$as_me: program exited with status $ac_status" >&5
35635 echo "$as_me: failed program was:" >&5
35636 sed 's/^/| /' conftest.$ac_ext >&5
35637
35638 ( exit $ac_status )
35639 wx_cv_func_snprintf_pos_params=yes
35640 fi
35641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35642 fi
35643
35644
35645
35646
35647 fi
35648 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35649 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35650
35651 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35652 cat >>confdefs.h <<\_ACEOF
35653 #define HAVE_UNIX98_PRINTF 1
35654 _ACEOF
35655
35656 fi
35657 fi
35658 fi
35659
35660 if test "$ac_cv_func_vsscanf" = "yes"; then
35661 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35662 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35663 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666
35667 cat >conftest.$ac_ext <<_ACEOF
35668 /* confdefs.h. */
35669 _ACEOF
35670 cat confdefs.h >>conftest.$ac_ext
35671 cat >>conftest.$ac_ext <<_ACEOF
35672 /* end confdefs.h. */
35673
35674 #include <stdio.h>
35675 #include <stdarg.h>
35676 #ifdef __MSL__
35677 #if __MSL__ >= 0x6000
35678 namespace std {}
35679 using namespace std;
35680 #endif
35681 #endif
35682
35683 int
35684 main ()
35685 {
35686
35687 char *buf;
35688 va_list args;
35689 vsscanf(buf, "%s", args);
35690
35691 ;
35692 return 0;
35693 }
35694 _ACEOF
35695 rm -f conftest.$ac_objext
35696 if { (ac_try="$ac_compile"
35697 case "(($ac_try" in
35698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35700 esac
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_compile") 2>conftest.er1
35703 ac_status=$?
35704 grep -v '^ *+' conftest.er1 >conftest.err
35705 rm -f conftest.er1
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } && {
35709 test -z "$ac_cxx_werror_flag" ||
35710 test ! -s conftest.err
35711 } && test -s conftest.$ac_objext; then
35712 wx_cv_func_vsscanf_decl=yes
35713 else
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35716
35717 wx_cv_func_vsscanf_decl=no
35718
35719 fi
35720
35721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722
35723
35724 fi
35725 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35726 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35727
35728 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35729 cat >>confdefs.h <<\_ACEOF
35730 #define HAVE_VSSCANF_DECL 1
35731 _ACEOF
35732
35733 fi
35734 fi
35735 ac_ext=c
35736 ac_cpp='$CPP $CPPFLAGS'
35737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35740
35741
35742 if test "$wxUSE_UNICODE" = yes; then
35743
35744 wchar_headers="#include <stdio.h>
35745 #include <wchar.h>"
35746 case "${host}" in
35747 *-*-solaris2* )
35748
35749 for ac_header in widec.h
35750 do
35751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 else
35757 cat >conftest.$ac_ext <<_ACEOF
35758 /* confdefs.h. */
35759 _ACEOF
35760 cat confdefs.h >>conftest.$ac_ext
35761 cat >>conftest.$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35763 $ac_includes_default
35764
35765 #include <$ac_header>
35766 _ACEOF
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 *) ac_try_echo=$ac_try;;
35772 esac
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.$ac_objext; then
35784 eval "$as_ac_Header=yes"
35785 else
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 eval "$as_ac_Header=no"
35790 fi
35791
35792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35793 fi
35794 ac_res=`eval echo '${'$as_ac_Header'}'`
35795 { echo "$as_me:$LINENO: result: $ac_res" >&5
35796 echo "${ECHO_T}$ac_res" >&6; }
35797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35798 cat >>confdefs.h <<_ACEOF
35799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35800 _ACEOF
35801
35802 fi
35803
35804 done
35805
35806 if test "$ac_cv_header_widec_h" = "yes"; then
35807 wchar_headers="$wchar_headers
35808 #include <widec.h>"
35809 fi
35810 esac
35811
35812
35813 for wx_func in putws fputws wprintf vswprintf vswscanf
35814 do
35815 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35816 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35817 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35818 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 else
35820
35821 cat >conftest.$ac_ext <<_ACEOF
35822
35823 /* confdefs.h. */
35824 _ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35828
35829 $wchar_headers
35830 $ac_includes_default
35831
35832 int
35833 main ()
35834 {
35835
35836 #ifndef $wx_func
35837 &$wx_func;
35838 #endif
35839
35840
35841 ;
35842 return 0;
35843 }
35844
35845 _ACEOF
35846 rm -f conftest.$ac_objext conftest$ac_exeext
35847 if { (ac_try="$ac_link"
35848 case "(($ac_try" in
35849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35850 *) ac_try_echo=$ac_try;;
35851 esac
35852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35853 (eval "$ac_link") 2>conftest.er1
35854 ac_status=$?
35855 grep -v '^ *+' conftest.er1 >conftest.err
35856 rm -f conftest.er1
35857 cat conftest.err >&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); } && {
35860 test -z "$ac_c_werror_flag" ||
35861 test ! -s conftest.err
35862 } && test -s conftest$ac_exeext &&
35863 $as_test_x conftest$ac_exeext; then
35864 eval wx_cv_func_$wx_func=yes
35865 else
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35868
35869 eval wx_cv_func_$wx_func=no
35870 fi
35871
35872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35873 conftest$ac_exeext conftest.$ac_ext
35874
35875 fi
35876 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35877 { echo "$as_me:$LINENO: result: $ac_res" >&5
35878 echo "${ECHO_T}$ac_res" >&6; }
35879
35880 if eval test \$wx_cv_func_$wx_func = yes
35881 then
35882 cat >>confdefs.h <<_ACEOF
35883 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35884 _ACEOF
35885
35886
35887 else
35888 :
35889
35890 fi
35891 done
35892
35893
35894 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35895 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35896 cat >conftest.$ac_ext <<_ACEOF
35897 /* confdefs.h. */
35898 _ACEOF
35899 cat confdefs.h >>conftest.$ac_ext
35900 cat >>conftest.$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35902 #include <wchar.h>
35903 int
35904 main ()
35905 {
35906 &_vsnwprintf;
35907 ;
35908 return 0;
35909 }
35910 _ACEOF
35911 rm -f conftest.$ac_objext
35912 if { (ac_try="$ac_compile"
35913 case "(($ac_try" in
35914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35915 *) ac_try_echo=$ac_try;;
35916 esac
35917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35918 (eval "$ac_compile") 2>conftest.er1
35919 ac_status=$?
35920 grep -v '^ *+' conftest.er1 >conftest.err
35921 rm -f conftest.er1
35922 cat conftest.err >&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && {
35925 test -z "$ac_c_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest.$ac_objext; then
35928 { echo "$as_me:$LINENO: result: yes" >&5
35929 echo "${ECHO_T}yes" >&6; }
35930 cat >>confdefs.h <<\_ACEOF
35931 #define HAVE__VSNWPRINTF 1
35932 _ACEOF
35933
35934 else
35935 echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.$ac_ext >&5
35937
35938 { echo "$as_me:$LINENO: result: no" >&5
35939 echo "${ECHO_T}no" >&6; }
35940 fi
35941
35942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35943 fi
35944
35945 if test "$wxUSE_FILE" = "yes"; then
35946
35947 for wx_func in fsync
35948 do
35949 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35951 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954
35955 cat >conftest.$ac_ext <<_ACEOF
35956
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962
35963
35964 $ac_includes_default
35965
35966 int
35967 main ()
35968 {
35969
35970 #ifndef $wx_func
35971 &$wx_func;
35972 #endif
35973
35974
35975 ;
35976 return 0;
35977 }
35978
35979 _ACEOF
35980 rm -f conftest.$ac_objext conftest$ac_exeext
35981 if { (ac_try="$ac_link"
35982 case "(($ac_try" in
35983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35984 *) ac_try_echo=$ac_try;;
35985 esac
35986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35987 (eval "$ac_link") 2>conftest.er1
35988 ac_status=$?
35989 grep -v '^ *+' conftest.er1 >conftest.err
35990 rm -f conftest.er1
35991 cat conftest.err >&5
35992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 (exit $ac_status); } && {
35994 test -z "$ac_c_werror_flag" ||
35995 test ! -s conftest.err
35996 } && test -s conftest$ac_exeext &&
35997 $as_test_x conftest$ac_exeext; then
35998 eval wx_cv_func_$wx_func=yes
35999 else
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.$ac_ext >&5
36002
36003 eval wx_cv_func_$wx_func=no
36004 fi
36005
36006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36007 conftest$ac_exeext conftest.$ac_ext
36008
36009 fi
36010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36011 { echo "$as_me:$LINENO: result: $ac_res" >&5
36012 echo "${ECHO_T}$ac_res" >&6; }
36013
36014 if eval test \$wx_cv_func_$wx_func = yes
36015 then
36016 cat >>confdefs.h <<_ACEOF
36017 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36018 _ACEOF
36019
36020
36021 else
36022 :
36023
36024 fi
36025 done
36026
36027 fi
36028
36029 ac_ext=cpp
36030 ac_cpp='$CXXCPP $CPPFLAGS'
36031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36034
36035
36036 for wx_func in round
36037 do
36038 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36039 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36040 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36041 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 else
36043
36044 cat >conftest.$ac_ext <<_ACEOF
36045
36046 /* confdefs.h. */
36047 _ACEOF
36048 cat confdefs.h >>conftest.$ac_ext
36049 cat >>conftest.$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36051
36052 #include <math.h>
36053 $ac_includes_default
36054
36055 int
36056 main ()
36057 {
36058
36059 #ifndef $wx_func
36060 &$wx_func;
36061 #endif
36062
36063
36064 ;
36065 return 0;
36066 }
36067
36068 _ACEOF
36069 rm -f conftest.$ac_objext conftest$ac_exeext
36070 if { (ac_try="$ac_link"
36071 case "(($ac_try" in
36072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36073 *) ac_try_echo=$ac_try;;
36074 esac
36075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36076 (eval "$ac_link") 2>conftest.er1
36077 ac_status=$?
36078 grep -v '^ *+' conftest.er1 >conftest.err
36079 rm -f conftest.er1
36080 cat conftest.err >&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } && {
36083 test -z "$ac_cxx_werror_flag" ||
36084 test ! -s conftest.err
36085 } && test -s conftest$ac_exeext &&
36086 $as_test_x conftest$ac_exeext; then
36087 eval wx_cv_func_$wx_func=yes
36088 else
36089 echo "$as_me: failed program was:" >&5
36090 sed 's/^/| /' conftest.$ac_ext >&5
36091
36092 eval wx_cv_func_$wx_func=no
36093 fi
36094
36095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36096 conftest$ac_exeext conftest.$ac_ext
36097
36098 fi
36099 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36100 { echo "$as_me:$LINENO: result: $ac_res" >&5
36101 echo "${ECHO_T}$ac_res" >&6; }
36102
36103 if eval test \$wx_cv_func_$wx_func = yes
36104 then
36105 cat >>confdefs.h <<_ACEOF
36106 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36107 _ACEOF
36108
36109
36110 else
36111 :
36112
36113 fi
36114 done
36115
36116 ac_ext=c
36117 ac_cpp='$CPP $CPPFLAGS'
36118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121
36122
36123 if test "$TOOLKIT" != "MSW"; then
36124
36125 if test "$wxUSE_LIBICONV" != "no" ; then
36126
36127
36128
36129 # Check whether --with-libiconv-prefix was given.
36130 if test "${with_libiconv_prefix+set}" = set; then
36131 withval=$with_libiconv_prefix;
36132 for dir in `echo "$withval" | tr : ' '`; do
36133 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36134 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36135 done
36136
36137 fi
36138
36139
36140 { echo "$as_me:$LINENO: checking for iconv" >&5
36141 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36142 if test "${am_cv_func_iconv+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36144 else
36145
36146 am_cv_func_iconv="no, consider installing GNU libiconv"
36147 am_cv_lib_iconv=no
36148 cat >conftest.$ac_ext <<_ACEOF
36149 /* confdefs.h. */
36150 _ACEOF
36151 cat confdefs.h >>conftest.$ac_ext
36152 cat >>conftest.$ac_ext <<_ACEOF
36153 /* end confdefs.h. */
36154 #include <stdlib.h>
36155 #include <iconv.h>
36156 int
36157 main ()
36158 {
36159 iconv_t cd = iconv_open("","");
36160 iconv(cd,NULL,NULL,NULL,NULL);
36161 iconv_close(cd);
36162 ;
36163 return 0;
36164 }
36165 _ACEOF
36166 rm -f conftest.$ac_objext conftest$ac_exeext
36167 if { (ac_try="$ac_link"
36168 case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36170 *) ac_try_echo=$ac_try;;
36171 esac
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_link") 2>conftest.er1
36174 ac_status=$?
36175 grep -v '^ *+' conftest.er1 >conftest.err
36176 rm -f conftest.er1
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } && {
36180 test -z "$ac_c_werror_flag" ||
36181 test ! -s conftest.err
36182 } && test -s conftest$ac_exeext &&
36183 $as_test_x conftest$ac_exeext; then
36184 am_cv_func_iconv=yes
36185 else
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.$ac_ext >&5
36188
36189
36190 fi
36191
36192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36193 conftest$ac_exeext conftest.$ac_ext
36194 if test "$am_cv_func_iconv" != yes; then
36195 am_save_LIBS="$LIBS"
36196 LIBS="$LIBS -liconv"
36197 cat >conftest.$ac_ext <<_ACEOF
36198 /* confdefs.h. */
36199 _ACEOF
36200 cat confdefs.h >>conftest.$ac_ext
36201 cat >>conftest.$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36203 #include <stdlib.h>
36204 #include <iconv.h>
36205 int
36206 main ()
36207 {
36208 iconv_t cd = iconv_open("","");
36209 iconv(cd,NULL,NULL,NULL,NULL);
36210 iconv_close(cd);
36211 ;
36212 return 0;
36213 }
36214 _ACEOF
36215 rm -f conftest.$ac_objext conftest$ac_exeext
36216 if { (ac_try="$ac_link"
36217 case "(($ac_try" in
36218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36219 *) ac_try_echo=$ac_try;;
36220 esac
36221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36222 (eval "$ac_link") 2>conftest.er1
36223 ac_status=$?
36224 grep -v '^ *+' conftest.er1 >conftest.err
36225 rm -f conftest.er1
36226 cat conftest.err >&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } && {
36229 test -z "$ac_c_werror_flag" ||
36230 test ! -s conftest.err
36231 } && test -s conftest$ac_exeext &&
36232 $as_test_x conftest$ac_exeext; then
36233 am_cv_lib_iconv=yes
36234 am_cv_func_iconv=yes
36235 else
36236 echo "$as_me: failed program was:" >&5
36237 sed 's/^/| /' conftest.$ac_ext >&5
36238
36239
36240 fi
36241
36242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36243 conftest$ac_exeext conftest.$ac_ext
36244 LIBS="$am_save_LIBS"
36245 fi
36246
36247 fi
36248 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36249 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36250 if test "$am_cv_func_iconv" = yes; then
36251
36252 cat >>confdefs.h <<\_ACEOF
36253 #define HAVE_ICONV 1
36254 _ACEOF
36255
36256 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36257 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36258 if test "${wx_cv_func_iconv_const+set}" = set; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261 cat >conftest.$ac_ext <<_ACEOF
36262 /* confdefs.h. */
36263 _ACEOF
36264 cat confdefs.h >>conftest.$ac_ext
36265 cat >>conftest.$ac_ext <<_ACEOF
36266 /* end confdefs.h. */
36267
36268 #include <stdlib.h>
36269 #include <iconv.h>
36270 extern
36271 #ifdef __cplusplus
36272 "C"
36273 #endif
36274 #if defined(__STDC__) || defined(__cplusplus)
36275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36276 #else
36277 size_t iconv();
36278 #endif
36279
36280 int
36281 main ()
36282 {
36283
36284 ;
36285 return 0;
36286 }
36287 _ACEOF
36288 rm -f conftest.$ac_objext
36289 if { (ac_try="$ac_compile"
36290 case "(($ac_try" in
36291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36292 *) ac_try_echo=$ac_try;;
36293 esac
36294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36295 (eval "$ac_compile") 2>conftest.er1
36296 ac_status=$?
36297 grep -v '^ *+' conftest.er1 >conftest.err
36298 rm -f conftest.er1
36299 cat conftest.err >&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); } && {
36302 test -z "$ac_c_werror_flag" ||
36303 test ! -s conftest.err
36304 } && test -s conftest.$ac_objext; then
36305 wx_cv_func_iconv_const="no"
36306 else
36307 echo "$as_me: failed program was:" >&5
36308 sed 's/^/| /' conftest.$ac_ext >&5
36309
36310 wx_cv_func_iconv_const="yes"
36311
36312 fi
36313
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315
36316 fi
36317 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36318 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36319
36320 iconv_const=
36321 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36322 iconv_const="const"
36323 fi
36324
36325
36326 cat >>confdefs.h <<_ACEOF
36327 #define ICONV_CONST $iconv_const
36328 _ACEOF
36329
36330 fi
36331 LIBICONV=
36332 if test "$am_cv_lib_iconv" = yes; then
36333 LIBICONV="-liconv"
36334 fi
36335
36336
36337 LIBS="$LIBICONV $LIBS"
36338 fi
36339
36340 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36341
36342 for ac_func in sigaction
36343 do
36344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36348 echo $ECHO_N "(cached) $ECHO_C" >&6
36349 else
36350 cat >conftest.$ac_ext <<_ACEOF
36351 /* confdefs.h. */
36352 _ACEOF
36353 cat confdefs.h >>conftest.$ac_ext
36354 cat >>conftest.$ac_ext <<_ACEOF
36355 /* end confdefs.h. */
36356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36358 #define $ac_func innocuous_$ac_func
36359
36360 /* System header to define __stub macros and hopefully few prototypes,
36361 which can conflict with char $ac_func (); below.
36362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36363 <limits.h> exists even on freestanding compilers. */
36364
36365 #ifdef __STDC__
36366 # include <limits.h>
36367 #else
36368 # include <assert.h>
36369 #endif
36370
36371 #undef $ac_func
36372
36373 /* Override any GCC internal prototype to avoid an error.
36374 Use char because int might match the return type of a GCC
36375 builtin and then its argument prototype would still apply. */
36376 #ifdef __cplusplus
36377 extern "C"
36378 #endif
36379 char $ac_func ();
36380 /* The GNU C library defines this for functions which it implements
36381 to always fail with ENOSYS. Some functions are actually named
36382 something starting with __ and the normal name is an alias. */
36383 #if defined __stub_$ac_func || defined __stub___$ac_func
36384 choke me
36385 #endif
36386
36387 int
36388 main ()
36389 {
36390 return $ac_func ();
36391 ;
36392 return 0;
36393 }
36394 _ACEOF
36395 rm -f conftest.$ac_objext conftest$ac_exeext
36396 if { (ac_try="$ac_link"
36397 case "(($ac_try" in
36398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36399 *) ac_try_echo=$ac_try;;
36400 esac
36401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36402 (eval "$ac_link") 2>conftest.er1
36403 ac_status=$?
36404 grep -v '^ *+' conftest.er1 >conftest.err
36405 rm -f conftest.er1
36406 cat conftest.err >&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } && {
36409 test -z "$ac_c_werror_flag" ||
36410 test ! -s conftest.err
36411 } && test -s conftest$ac_exeext &&
36412 $as_test_x conftest$ac_exeext; then
36413 eval "$as_ac_var=yes"
36414 else
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36417
36418 eval "$as_ac_var=no"
36419 fi
36420
36421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36422 conftest$ac_exeext conftest.$ac_ext
36423 fi
36424 ac_res=`eval echo '${'$as_ac_var'}'`
36425 { echo "$as_me:$LINENO: result: $ac_res" >&5
36426 echo "${ECHO_T}$ac_res" >&6; }
36427 if test `eval echo '${'$as_ac_var'}'` = yes; then
36428 cat >>confdefs.h <<_ACEOF
36429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430 _ACEOF
36431
36432 fi
36433 done
36434
36435
36436 if test "$ac_cv_func_sigaction" = "no"; then
36437 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36438 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36439 wxUSE_ON_FATAL_EXCEPTION=no
36440 fi
36441
36442 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36443 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36444 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36445 if test "${wx_cv_type_sa_handler+set}" = set; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36447 else
36448
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <signal.h>
36462 int
36463 main ()
36464 {
36465
36466 extern void testSigHandler(int);
36467
36468 struct sigaction sa;
36469 sa.sa_handler = testSigHandler;
36470
36471 ;
36472 return 0;
36473 }
36474 _ACEOF
36475 rm -f conftest.$ac_objext
36476 if { (ac_try="$ac_compile"
36477 case "(($ac_try" in
36478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36479 *) ac_try_echo=$ac_try;;
36480 esac
36481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36482 (eval "$ac_compile") 2>conftest.er1
36483 ac_status=$?
36484 grep -v '^ *+' conftest.er1 >conftest.err
36485 rm -f conftest.er1
36486 cat conftest.err >&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } && {
36489 test -z "$ac_cxx_werror_flag" ||
36490 test ! -s conftest.err
36491 } && test -s conftest.$ac_objext; then
36492
36493 wx_cv_type_sa_handler=int
36494
36495 else
36496 echo "$as_me: failed program was:" >&5
36497 sed 's/^/| /' conftest.$ac_ext >&5
36498
36499
36500 wx_cv_type_sa_handler=void
36501
36502 fi
36503
36504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36505 ac_ext=c
36506 ac_cpp='$CPP $CPPFLAGS'
36507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36510
36511
36512 fi
36513 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36514 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36515
36516 cat >>confdefs.h <<_ACEOF
36517 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36518 _ACEOF
36519
36520 fi
36521 fi
36522
36523 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36524 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36525 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36526 if test "${wx_cv_func_backtrace+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36529
36530 ac_ext=cpp
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36535
36536 cat >conftest.$ac_ext <<_ACEOF
36537 /* confdefs.h. */
36538 _ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 #include <execinfo.h>
36543 int
36544 main ()
36545 {
36546
36547 void *trace[1];
36548 char **messages;
36549
36550 backtrace(trace, 1);
36551 messages = backtrace_symbols(trace, 1);
36552
36553 ;
36554 return 0;
36555 }
36556 _ACEOF
36557 rm -f conftest.$ac_objext
36558 if { (ac_try="$ac_compile"
36559 case "(($ac_try" in
36560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36561 *) ac_try_echo=$ac_try;;
36562 esac
36563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36564 (eval "$ac_compile") 2>conftest.er1
36565 ac_status=$?
36566 grep -v '^ *+' conftest.er1 >conftest.err
36567 rm -f conftest.er1
36568 cat conftest.err >&5
36569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36570 (exit $ac_status); } && {
36571 test -z "$ac_cxx_werror_flag" ||
36572 test ! -s conftest.err
36573 } && test -s conftest.$ac_objext; then
36574 wx_cv_func_backtrace=yes
36575 else
36576 echo "$as_me: failed program was:" >&5
36577 sed 's/^/| /' conftest.$ac_ext >&5
36578
36579 wx_cv_func_backtrace=no
36580
36581 fi
36582
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36584 ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589
36590
36591
36592 fi
36593 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36594 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36595
36596
36597 if test "$wx_cv_func_backtrace" = "no"; then
36598 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36599 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36600 wxUSE_STACKWALKER=no
36601 else
36602 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36603 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607
36608 ac_ext=cpp
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613
36614 cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h. */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <cxxabi.h>
36621 int
36622 main ()
36623 {
36624
36625 int rc;
36626 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36627
36628 ;
36629 return 0;
36630 }
36631 _ACEOF
36632 rm -f conftest.$ac_objext conftest$ac_exeext
36633 if { (ac_try="$ac_link"
36634 case "(($ac_try" in
36635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36636 *) ac_try_echo=$ac_try;;
36637 esac
36638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36639 (eval "$ac_link") 2>conftest.er1
36640 ac_status=$?
36641 grep -v '^ *+' conftest.er1 >conftest.err
36642 rm -f conftest.er1
36643 cat conftest.err >&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); } && {
36646 test -z "$ac_cxx_werror_flag" ||
36647 test ! -s conftest.err
36648 } && test -s conftest$ac_exeext &&
36649 $as_test_x conftest$ac_exeext; then
36650 wx_cv_func_cxa_demangle=yes
36651 else
36652 echo "$as_me: failed program was:" >&5
36653 sed 's/^/| /' conftest.$ac_ext >&5
36654
36655 wx_cv_func_cxa_demangle=no
36656
36657 fi
36658
36659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36660 conftest$ac_exeext conftest.$ac_ext
36661 ac_ext=c
36662 ac_cpp='$CPP $CPPFLAGS'
36663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36666
36667
36668
36669 fi
36670 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36671 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36672
36673 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36674 cat >>confdefs.h <<\_ACEOF
36675 #define HAVE_CXA_DEMANGLE 1
36676 _ACEOF
36677
36678 fi
36679 fi
36680 fi
36681
36682 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36683 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36684 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36685 wxUSE_STACKWALKER=no
36686 fi
36687
36688
36689
36690
36691 for ac_func in mkstemp mktemp
36692 do
36693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36697 echo $ECHO_N "(cached) $ECHO_C" >&6
36698 else
36699 cat >conftest.$ac_ext <<_ACEOF
36700 /* confdefs.h. */
36701 _ACEOF
36702 cat confdefs.h >>conftest.$ac_ext
36703 cat >>conftest.$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36707 #define $ac_func innocuous_$ac_func
36708
36709 /* System header to define __stub macros and hopefully few prototypes,
36710 which can conflict with char $ac_func (); below.
36711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36712 <limits.h> exists even on freestanding compilers. */
36713
36714 #ifdef __STDC__
36715 # include <limits.h>
36716 #else
36717 # include <assert.h>
36718 #endif
36719
36720 #undef $ac_func
36721
36722 /* Override any GCC internal prototype to avoid an error.
36723 Use char because int might match the return type of a GCC
36724 builtin and then its argument prototype would still apply. */
36725 #ifdef __cplusplus
36726 extern "C"
36727 #endif
36728 char $ac_func ();
36729 /* The GNU C library defines this for functions which it implements
36730 to always fail with ENOSYS. Some functions are actually named
36731 something starting with __ and the normal name is an alias. */
36732 #if defined __stub_$ac_func || defined __stub___$ac_func
36733 choke me
36734 #endif
36735
36736 int
36737 main ()
36738 {
36739 return $ac_func ();
36740 ;
36741 return 0;
36742 }
36743 _ACEOF
36744 rm -f conftest.$ac_objext conftest$ac_exeext
36745 if { (ac_try="$ac_link"
36746 case "(($ac_try" in
36747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36748 *) ac_try_echo=$ac_try;;
36749 esac
36750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36751 (eval "$ac_link") 2>conftest.er1
36752 ac_status=$?
36753 grep -v '^ *+' conftest.er1 >conftest.err
36754 rm -f conftest.er1
36755 cat conftest.err >&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } && {
36758 test -z "$ac_c_werror_flag" ||
36759 test ! -s conftest.err
36760 } && test -s conftest$ac_exeext &&
36761 $as_test_x conftest$ac_exeext; then
36762 eval "$as_ac_var=yes"
36763 else
36764 echo "$as_me: failed program was:" >&5
36765 sed 's/^/| /' conftest.$ac_ext >&5
36766
36767 eval "$as_ac_var=no"
36768 fi
36769
36770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36771 conftest$ac_exeext conftest.$ac_ext
36772 fi
36773 ac_res=`eval echo '${'$as_ac_var'}'`
36774 { echo "$as_me:$LINENO: result: $ac_res" >&5
36775 echo "${ECHO_T}$ac_res" >&6; }
36776 if test `eval echo '${'$as_ac_var'}'` = yes; then
36777 cat >>confdefs.h <<_ACEOF
36778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36779 _ACEOF
36780 break
36781 fi
36782 done
36783
36784
36785 { echo "$as_me:$LINENO: checking for statfs" >&5
36786 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36787 if test "${wx_cv_func_statfs+set}" = set; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 else
36790 cat >conftest.$ac_ext <<_ACEOF
36791 /* confdefs.h. */
36792 _ACEOF
36793 cat confdefs.h >>conftest.$ac_ext
36794 cat >>conftest.$ac_ext <<_ACEOF
36795 /* end confdefs.h. */
36796
36797 #if defined(__BSD__)
36798 #include <sys/param.h>
36799 #include <sys/mount.h>
36800 #else
36801 #include <sys/vfs.h>
36802 #endif
36803
36804 int
36805 main ()
36806 {
36807
36808 long l;
36809 struct statfs fs;
36810 statfs("/", &fs);
36811 l = fs.f_bsize;
36812 l += fs.f_blocks;
36813 l += fs.f_bavail;
36814
36815 ;
36816 return 0;
36817 }
36818 _ACEOF
36819 rm -f conftest.$ac_objext
36820 if { (ac_try="$ac_compile"
36821 case "(($ac_try" in
36822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36824 esac
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_compile") 2>conftest.er1
36827 ac_status=$?
36828 grep -v '^ *+' conftest.er1 >conftest.err
36829 rm -f conftest.er1
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_c_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest.$ac_objext; then
36836 wx_cv_func_statfs=yes
36837 else
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36840
36841 wx_cv_func_statfs=no
36842
36843 fi
36844
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846
36847 fi
36848 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36849 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36850
36851 if test "$wx_cv_func_statfs" = "yes"; then
36852 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36853 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36854 if test "${wx_cv_func_statfs_decl+set}" = set; then
36855 echo $ECHO_N "(cached) $ECHO_C" >&6
36856 else
36857 ac_ext=cpp
36858 ac_cpp='$CXXCPP $CPPFLAGS'
36859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862
36863 cat >conftest.$ac_ext <<_ACEOF
36864 /* confdefs.h. */
36865 _ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869
36870 #if defined(__BSD__)
36871 #include <sys/param.h>
36872 #include <sys/mount.h>
36873 #else
36874 #include <sys/vfs.h>
36875 #endif
36876
36877 int
36878 main ()
36879 {
36880
36881 struct statfs fs;
36882 statfs("", &fs);
36883
36884 ;
36885 return 0;
36886 }
36887 _ACEOF
36888 rm -f conftest.$ac_objext
36889 if { (ac_try="$ac_compile"
36890 case "(($ac_try" in
36891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36892 *) ac_try_echo=$ac_try;;
36893 esac
36894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36895 (eval "$ac_compile") 2>conftest.er1
36896 ac_status=$?
36897 grep -v '^ *+' conftest.er1 >conftest.err
36898 rm -f conftest.er1
36899 cat conftest.err >&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } && {
36902 test -z "$ac_cxx_werror_flag" ||
36903 test ! -s conftest.err
36904 } && test -s conftest.$ac_objext; then
36905 wx_cv_func_statfs_decl=yes
36906 else
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36909
36910 wx_cv_func_statfs_decl=no
36911
36912 fi
36913
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915 ac_ext=c
36916 ac_cpp='$CPP $CPPFLAGS'
36917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36920
36921
36922 fi
36923 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36924 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36925
36926 if test "$wx_cv_func_statfs_decl" = "yes"; then
36927 cat >>confdefs.h <<\_ACEOF
36928 #define HAVE_STATFS_DECL 1
36929 _ACEOF
36930
36931 fi
36932
36933 wx_cv_type_statvfs_t="struct statfs"
36934 cat >>confdefs.h <<\_ACEOF
36935 #define HAVE_STATFS 1
36936 _ACEOF
36937
36938 else
36939 { echo "$as_me:$LINENO: checking for statvfs" >&5
36940 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36941 if test "${wx_cv_func_statvfs+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36944 cat >conftest.$ac_ext <<_ACEOF
36945 /* confdefs.h. */
36946 _ACEOF
36947 cat confdefs.h >>conftest.$ac_ext
36948 cat >>conftest.$ac_ext <<_ACEOF
36949 /* end confdefs.h. */
36950
36951 #include <stddef.h>
36952 #include <sys/statvfs.h>
36953
36954 int
36955 main ()
36956 {
36957
36958 statvfs("/", NULL);
36959
36960 ;
36961 return 0;
36962 }
36963 _ACEOF
36964 rm -f conftest.$ac_objext
36965 if { (ac_try="$ac_compile"
36966 case "(($ac_try" in
36967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36968 *) ac_try_echo=$ac_try;;
36969 esac
36970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36971 (eval "$ac_compile") 2>conftest.er1
36972 ac_status=$?
36973 grep -v '^ *+' conftest.er1 >conftest.err
36974 rm -f conftest.er1
36975 cat conftest.err >&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); } && {
36978 test -z "$ac_c_werror_flag" ||
36979 test ! -s conftest.err
36980 } && test -s conftest.$ac_objext; then
36981 wx_cv_func_statvfs=yes
36982 else
36983 echo "$as_me: failed program was:" >&5
36984 sed 's/^/| /' conftest.$ac_ext >&5
36985
36986 wx_cv_func_statvfs=no
36987
36988 fi
36989
36990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36991
36992 fi
36993 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36994 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36995
36996 if test "$wx_cv_func_statvfs" = "yes"; then
36997 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36998 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36999 if test "${wx_cv_type_statvfs_t+set}" = set; then
37000 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 else
37002 ac_ext=cpp
37003 ac_cpp='$CXXCPP $CPPFLAGS'
37004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37007
37008 cat >conftest.$ac_ext <<_ACEOF
37009 /* confdefs.h. */
37010 _ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014
37015 #include <sys/statvfs.h>
37016
37017 int
37018 main ()
37019 {
37020
37021 long l;
37022 statvfs_t fs;
37023 statvfs("/", &fs);
37024 l = fs.f_bsize;
37025 l += fs.f_blocks;
37026 l += fs.f_bavail;
37027
37028 ;
37029 return 0;
37030 }
37031 _ACEOF
37032 rm -f conftest.$ac_objext
37033 if { (ac_try="$ac_compile"
37034 case "(($ac_try" in
37035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37036 *) ac_try_echo=$ac_try;;
37037 esac
37038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37039 (eval "$ac_compile") 2>conftest.er1
37040 ac_status=$?
37041 grep -v '^ *+' conftest.er1 >conftest.err
37042 rm -f conftest.er1
37043 cat conftest.err >&5
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); } && {
37046 test -z "$ac_cxx_werror_flag" ||
37047 test ! -s conftest.err
37048 } && test -s conftest.$ac_objext; then
37049 wx_cv_type_statvfs_t=statvfs_t
37050 else
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.$ac_ext >&5
37053
37054
37055 cat >conftest.$ac_ext <<_ACEOF
37056 /* confdefs.h. */
37057 _ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37061
37062 #include <sys/statvfs.h>
37063
37064 int
37065 main ()
37066 {
37067
37068 long l;
37069 struct statvfs fs;
37070 statvfs("/", &fs);
37071 l = fs.f_bsize;
37072 l += fs.f_blocks;
37073 l += fs.f_bavail;
37074
37075 ;
37076 return 0;
37077 }
37078 _ACEOF
37079 rm -f conftest.$ac_objext
37080 if { (ac_try="$ac_compile"
37081 case "(($ac_try" in
37082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37083 *) ac_try_echo=$ac_try;;
37084 esac
37085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37086 (eval "$ac_compile") 2>conftest.er1
37087 ac_status=$?
37088 grep -v '^ *+' conftest.er1 >conftest.err
37089 rm -f conftest.er1
37090 cat conftest.err >&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); } && {
37093 test -z "$ac_cxx_werror_flag" ||
37094 test ! -s conftest.err
37095 } && test -s conftest.$ac_objext; then
37096 wx_cv_type_statvfs_t="struct statvfs"
37097 else
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.$ac_ext >&5
37100
37101 wx_cv_type_statvfs_t="unknown"
37102
37103 fi
37104
37105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37106
37107
37108 fi
37109
37110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111 ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118 fi
37119 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37120 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37121
37122 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37123 cat >>confdefs.h <<\_ACEOF
37124 #define HAVE_STATVFS 1
37125 _ACEOF
37126
37127 fi
37128 else
37129 wx_cv_type_statvfs_t="unknown"
37130 fi
37131 fi
37132
37133 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37134 cat >>confdefs.h <<_ACEOF
37135 #define WX_STATFS_T $wx_cv_type_statvfs_t
37136 _ACEOF
37137
37138 else
37139 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37140 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37141 fi
37142
37143 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37144
37145
37146 for ac_func in fcntl flock
37147 do
37148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37152 echo $ECHO_N "(cached) $ECHO_C" >&6
37153 else
37154 cat >conftest.$ac_ext <<_ACEOF
37155 /* confdefs.h. */
37156 _ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37162 #define $ac_func innocuous_$ac_func
37163
37164 /* System header to define __stub macros and hopefully few prototypes,
37165 which can conflict with char $ac_func (); below.
37166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37167 <limits.h> exists even on freestanding compilers. */
37168
37169 #ifdef __STDC__
37170 # include <limits.h>
37171 #else
37172 # include <assert.h>
37173 #endif
37174
37175 #undef $ac_func
37176
37177 /* Override any GCC internal prototype to avoid an error.
37178 Use char because int might match the return type of a GCC
37179 builtin and then its argument prototype would still apply. */
37180 #ifdef __cplusplus
37181 extern "C"
37182 #endif
37183 char $ac_func ();
37184 /* The GNU C library defines this for functions which it implements
37185 to always fail with ENOSYS. Some functions are actually named
37186 something starting with __ and the normal name is an alias. */
37187 #if defined __stub_$ac_func || defined __stub___$ac_func
37188 choke me
37189 #endif
37190
37191 int
37192 main ()
37193 {
37194 return $ac_func ();
37195 ;
37196 return 0;
37197 }
37198 _ACEOF
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (ac_try="$ac_link"
37201 case "(($ac_try" in
37202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37203 *) ac_try_echo=$ac_try;;
37204 esac
37205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37206 (eval "$ac_link") 2>conftest.er1
37207 ac_status=$?
37208 grep -v '^ *+' conftest.er1 >conftest.err
37209 rm -f conftest.er1
37210 cat conftest.err >&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } && {
37213 test -z "$ac_c_werror_flag" ||
37214 test ! -s conftest.err
37215 } && test -s conftest$ac_exeext &&
37216 $as_test_x conftest$ac_exeext; then
37217 eval "$as_ac_var=yes"
37218 else
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37221
37222 eval "$as_ac_var=no"
37223 fi
37224
37225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37226 conftest$ac_exeext conftest.$ac_ext
37227 fi
37228 ac_res=`eval echo '${'$as_ac_var'}'`
37229 { echo "$as_me:$LINENO: result: $ac_res" >&5
37230 echo "${ECHO_T}$ac_res" >&6; }
37231 if test `eval echo '${'$as_ac_var'}'` = yes; then
37232 cat >>confdefs.h <<_ACEOF
37233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37234 _ACEOF
37235 break
37236 fi
37237 done
37238
37239
37240 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37241 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37242 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37243 wxUSE_SNGLINST_CHECKER=no
37244 fi
37245 fi
37246
37247
37248
37249 for ac_func in setenv putenv
37250 do
37251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 else
37257 cat >conftest.$ac_ext <<_ACEOF
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37266
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37271
37272 #ifdef __STDC__
37273 # include <limits.h>
37274 #else
37275 # include <assert.h>
37276 #endif
37277
37278 #undef $ac_func
37279
37280 /* Override any GCC internal prototype to avoid an error.
37281 Use char because int might match the return type of a GCC
37282 builtin and then its argument prototype would still apply. */
37283 #ifdef __cplusplus
37284 extern "C"
37285 #endif
37286 char $ac_func ();
37287 /* The GNU C library defines this for functions which it implements
37288 to always fail with ENOSYS. Some functions are actually named
37289 something starting with __ and the normal name is an alias. */
37290 #if defined __stub_$ac_func || defined __stub___$ac_func
37291 choke me
37292 #endif
37293
37294 int
37295 main ()
37296 {
37297 return $ac_func ();
37298 ;
37299 return 0;
37300 }
37301 _ACEOF
37302 rm -f conftest.$ac_objext conftest$ac_exeext
37303 if { (ac_try="$ac_link"
37304 case "(($ac_try" in
37305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37306 *) ac_try_echo=$ac_try;;
37307 esac
37308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37309 (eval "$ac_link") 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } && {
37316 test -z "$ac_c_werror_flag" ||
37317 test ! -s conftest.err
37318 } && test -s conftest$ac_exeext &&
37319 $as_test_x conftest$ac_exeext; then
37320 eval "$as_ac_var=yes"
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 eval "$as_ac_var=no"
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37329 conftest$ac_exeext conftest.$ac_ext
37330 fi
37331 ac_res=`eval echo '${'$as_ac_var'}'`
37332 { echo "$as_me:$LINENO: result: $ac_res" >&5
37333 echo "${ECHO_T}$ac_res" >&6; }
37334 if test `eval echo '${'$as_ac_var'}'` = yes; then
37335 cat >>confdefs.h <<_ACEOF
37336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37337 _ACEOF
37338 break
37339 fi
37340 done
37341
37342 if test "$ac_cv_func_setenv" = "yes"; then
37343
37344 for ac_func in unsetenv
37345 do
37346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37350 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 else
37352 cat >conftest.$ac_ext <<_ACEOF
37353 /* confdefs.h. */
37354 _ACEOF
37355 cat confdefs.h >>conftest.$ac_ext
37356 cat >>conftest.$ac_ext <<_ACEOF
37357 /* end confdefs.h. */
37358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37360 #define $ac_func innocuous_$ac_func
37361
37362 /* System header to define __stub macros and hopefully few prototypes,
37363 which can conflict with char $ac_func (); below.
37364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37365 <limits.h> exists even on freestanding compilers. */
37366
37367 #ifdef __STDC__
37368 # include <limits.h>
37369 #else
37370 # include <assert.h>
37371 #endif
37372
37373 #undef $ac_func
37374
37375 /* Override any GCC internal prototype to avoid an error.
37376 Use char because int might match the return type of a GCC
37377 builtin and then its argument prototype would still apply. */
37378 #ifdef __cplusplus
37379 extern "C"
37380 #endif
37381 char $ac_func ();
37382 /* The GNU C library defines this for functions which it implements
37383 to always fail with ENOSYS. Some functions are actually named
37384 something starting with __ and the normal name is an alias. */
37385 #if defined __stub_$ac_func || defined __stub___$ac_func
37386 choke me
37387 #endif
37388
37389 int
37390 main ()
37391 {
37392 return $ac_func ();
37393 ;
37394 return 0;
37395 }
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (ac_try="$ac_link"
37399 case "(($ac_try" in
37400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37401 *) ac_try_echo=$ac_try;;
37402 esac
37403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37404 (eval "$ac_link") 2>conftest.er1
37405 ac_status=$?
37406 grep -v '^ *+' conftest.er1 >conftest.err
37407 rm -f conftest.er1
37408 cat conftest.err >&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); } && {
37411 test -z "$ac_c_werror_flag" ||
37412 test ! -s conftest.err
37413 } && test -s conftest$ac_exeext &&
37414 $as_test_x conftest$ac_exeext; then
37415 eval "$as_ac_var=yes"
37416 else
37417 echo "$as_me: failed program was:" >&5
37418 sed 's/^/| /' conftest.$ac_ext >&5
37419
37420 eval "$as_ac_var=no"
37421 fi
37422
37423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37424 conftest$ac_exeext conftest.$ac_ext
37425 fi
37426 ac_res=`eval echo '${'$as_ac_var'}'`
37427 { echo "$as_me:$LINENO: result: $ac_res" >&5
37428 echo "${ECHO_T}$ac_res" >&6; }
37429 if test `eval echo '${'$as_ac_var'}'` = yes; then
37430 cat >>confdefs.h <<_ACEOF
37431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37432 _ACEOF
37433
37434 fi
37435 done
37436
37437 fi
37438
37439 HAVE_SOME_SLEEP_FUNC=0
37440 if test "$USE_BEOS" = 1; then
37441 cat >>confdefs.h <<\_ACEOF
37442 #define HAVE_SLEEP 1
37443 _ACEOF
37444
37445 HAVE_SOME_SLEEP_FUNC=1
37446 fi
37447
37448 if test "$USE_DARWIN" = 1; then
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE_USLEEP 1
37451 _ACEOF
37452
37453 HAVE_SOME_SLEEP_FUNC=1
37454 fi
37455
37456 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37457 POSIX4_LINK=
37458
37459 for ac_func in nanosleep
37460 do
37461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37465 echo $ECHO_N "(cached) $ECHO_C" >&6
37466 else
37467 cat >conftest.$ac_ext <<_ACEOF
37468 /* confdefs.h. */
37469 _ACEOF
37470 cat confdefs.h >>conftest.$ac_ext
37471 cat >>conftest.$ac_ext <<_ACEOF
37472 /* end confdefs.h. */
37473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37475 #define $ac_func innocuous_$ac_func
37476
37477 /* System header to define __stub macros and hopefully few prototypes,
37478 which can conflict with char $ac_func (); below.
37479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37480 <limits.h> exists even on freestanding compilers. */
37481
37482 #ifdef __STDC__
37483 # include <limits.h>
37484 #else
37485 # include <assert.h>
37486 #endif
37487
37488 #undef $ac_func
37489
37490 /* Override any GCC internal prototype to avoid an error.
37491 Use char because int might match the return type of a GCC
37492 builtin and then its argument prototype would still apply. */
37493 #ifdef __cplusplus
37494 extern "C"
37495 #endif
37496 char $ac_func ();
37497 /* The GNU C library defines this for functions which it implements
37498 to always fail with ENOSYS. Some functions are actually named
37499 something starting with __ and the normal name is an alias. */
37500 #if defined __stub_$ac_func || defined __stub___$ac_func
37501 choke me
37502 #endif
37503
37504 int
37505 main ()
37506 {
37507 return $ac_func ();
37508 ;
37509 return 0;
37510 }
37511 _ACEOF
37512 rm -f conftest.$ac_objext conftest$ac_exeext
37513 if { (ac_try="$ac_link"
37514 case "(($ac_try" in
37515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37516 *) ac_try_echo=$ac_try;;
37517 esac
37518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37519 (eval "$ac_link") 2>conftest.er1
37520 ac_status=$?
37521 grep -v '^ *+' conftest.er1 >conftest.err
37522 rm -f conftest.er1
37523 cat conftest.err >&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } && {
37526 test -z "$ac_c_werror_flag" ||
37527 test ! -s conftest.err
37528 } && test -s conftest$ac_exeext &&
37529 $as_test_x conftest$ac_exeext; then
37530 eval "$as_ac_var=yes"
37531 else
37532 echo "$as_me: failed program was:" >&5
37533 sed 's/^/| /' conftest.$ac_ext >&5
37534
37535 eval "$as_ac_var=no"
37536 fi
37537
37538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37539 conftest$ac_exeext conftest.$ac_ext
37540 fi
37541 ac_res=`eval echo '${'$as_ac_var'}'`
37542 { echo "$as_me:$LINENO: result: $ac_res" >&5
37543 echo "${ECHO_T}$ac_res" >&6; }
37544 if test `eval echo '${'$as_ac_var'}'` = yes; then
37545 cat >>confdefs.h <<_ACEOF
37546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37547 _ACEOF
37548 cat >>confdefs.h <<\_ACEOF
37549 #define HAVE_NANOSLEEP 1
37550 _ACEOF
37551
37552 else
37553
37554 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37555 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37556 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 else
37559 ac_check_lib_save_LIBS=$LIBS
37560 LIBS="-lposix4 $LIBS"
37561 cat >conftest.$ac_ext <<_ACEOF
37562 /* confdefs.h. */
37563 _ACEOF
37564 cat confdefs.h >>conftest.$ac_ext
37565 cat >>conftest.$ac_ext <<_ACEOF
37566 /* end confdefs.h. */
37567
37568 /* Override any GCC internal prototype to avoid an error.
37569 Use char because int might match the return type of a GCC
37570 builtin and then its argument prototype would still apply. */
37571 #ifdef __cplusplus
37572 extern "C"
37573 #endif
37574 char nanosleep ();
37575 int
37576 main ()
37577 {
37578 return nanosleep ();
37579 ;
37580 return 0;
37581 }
37582 _ACEOF
37583 rm -f conftest.$ac_objext conftest$ac_exeext
37584 if { (ac_try="$ac_link"
37585 case "(($ac_try" in
37586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37587 *) ac_try_echo=$ac_try;;
37588 esac
37589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37590 (eval "$ac_link") 2>conftest.er1
37591 ac_status=$?
37592 grep -v '^ *+' conftest.er1 >conftest.err
37593 rm -f conftest.er1
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } && {
37597 test -z "$ac_c_werror_flag" ||
37598 test ! -s conftest.err
37599 } && test -s conftest$ac_exeext &&
37600 $as_test_x conftest$ac_exeext; then
37601 ac_cv_lib_posix4_nanosleep=yes
37602 else
37603 echo "$as_me: failed program was:" >&5
37604 sed 's/^/| /' conftest.$ac_ext >&5
37605
37606 ac_cv_lib_posix4_nanosleep=no
37607 fi
37608
37609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37610 conftest$ac_exeext conftest.$ac_ext
37611 LIBS=$ac_check_lib_save_LIBS
37612 fi
37613 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37614 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37615 if test $ac_cv_lib_posix4_nanosleep = yes; then
37616
37617 cat >>confdefs.h <<\_ACEOF
37618 #define HAVE_NANOSLEEP 1
37619 _ACEOF
37620
37621 POSIX4_LINK=" -lposix4"
37622
37623 else
37624
37625
37626 for wx_func in usleep
37627 do
37628 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37629 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37630 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37632 else
37633
37634 cat >conftest.$ac_ext <<_ACEOF
37635
37636 /* confdefs.h. */
37637 _ACEOF
37638 cat confdefs.h >>conftest.$ac_ext
37639 cat >>conftest.$ac_ext <<_ACEOF
37640 /* end confdefs.h. */
37641
37642
37643 $ac_includes_default
37644
37645 int
37646 main ()
37647 {
37648
37649 #ifndef $wx_func
37650 &$wx_func;
37651 #endif
37652
37653
37654 ;
37655 return 0;
37656 }
37657
37658 _ACEOF
37659 rm -f conftest.$ac_objext conftest$ac_exeext
37660 if { (ac_try="$ac_link"
37661 case "(($ac_try" in
37662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37663 *) ac_try_echo=$ac_try;;
37664 esac
37665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37666 (eval "$ac_link") 2>conftest.er1
37667 ac_status=$?
37668 grep -v '^ *+' conftest.er1 >conftest.err
37669 rm -f conftest.er1
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } && {
37673 test -z "$ac_c_werror_flag" ||
37674 test ! -s conftest.err
37675 } && test -s conftest$ac_exeext &&
37676 $as_test_x conftest$ac_exeext; then
37677 eval wx_cv_func_$wx_func=yes
37678 else
37679 echo "$as_me: failed program was:" >&5
37680 sed 's/^/| /' conftest.$ac_ext >&5
37681
37682 eval wx_cv_func_$wx_func=no
37683 fi
37684
37685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37686 conftest$ac_exeext conftest.$ac_ext
37687
37688 fi
37689 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37690 { echo "$as_me:$LINENO: result: $ac_res" >&5
37691 echo "${ECHO_T}$ac_res" >&6; }
37692
37693 if eval test \$wx_cv_func_$wx_func = yes
37694 then
37695 cat >>confdefs.h <<_ACEOF
37696 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37697 _ACEOF
37698
37699
37700 else
37701 :
37702 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37703 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37704
37705 fi
37706 done
37707
37708
37709
37710 fi
37711
37712
37713
37714 fi
37715 done
37716
37717 fi
37718
37719
37720 for wx_func in uname
37721 do
37722 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37723 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37724 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37725 echo $ECHO_N "(cached) $ECHO_C" >&6
37726 else
37727
37728 cat >conftest.$ac_ext <<_ACEOF
37729
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735
37736 #include <sys/utsname.h>
37737 $ac_includes_default
37738
37739 int
37740 main ()
37741 {
37742
37743 #ifndef $wx_func
37744 &$wx_func;
37745 #endif
37746
37747
37748 ;
37749 return 0;
37750 }
37751
37752 _ACEOF
37753 rm -f conftest.$ac_objext conftest$ac_exeext
37754 if { (ac_try="$ac_link"
37755 case "(($ac_try" in
37756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37757 *) ac_try_echo=$ac_try;;
37758 esac
37759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37760 (eval "$ac_link") 2>conftest.er1
37761 ac_status=$?
37762 grep -v '^ *+' conftest.er1 >conftest.err
37763 rm -f conftest.er1
37764 cat conftest.err >&5
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); } && {
37767 test -z "$ac_c_werror_flag" ||
37768 test ! -s conftest.err
37769 } && test -s conftest$ac_exeext &&
37770 $as_test_x conftest$ac_exeext; then
37771 eval wx_cv_func_$wx_func=yes
37772 else
37773 echo "$as_me: failed program was:" >&5
37774 sed 's/^/| /' conftest.$ac_ext >&5
37775
37776 eval wx_cv_func_$wx_func=no
37777 fi
37778
37779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37780 conftest$ac_exeext conftest.$ac_ext
37781
37782 fi
37783 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37784 { echo "$as_me:$LINENO: result: $ac_res" >&5
37785 echo "${ECHO_T}$ac_res" >&6; }
37786
37787 if eval test \$wx_cv_func_$wx_func = yes
37788 then
37789 cat >>confdefs.h <<_ACEOF
37790 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37791 _ACEOF
37792
37793
37794 else
37795 :
37796
37797 fi
37798 done
37799
37800 if test "$wx_cv_func_uname" != yes; then
37801
37802 for wx_func in gethostname
37803 do
37804 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37805 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37806 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809
37810 cat >conftest.$ac_ext <<_ACEOF
37811
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817
37818
37819 $ac_includes_default
37820
37821 int
37822 main ()
37823 {
37824
37825 #ifndef $wx_func
37826 &$wx_func;
37827 #endif
37828
37829
37830 ;
37831 return 0;
37832 }
37833
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (ac_try="$ac_link"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37839 *) ac_try_echo=$ac_try;;
37840 esac
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_link") 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_c_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest$ac_exeext &&
37852 $as_test_x conftest$ac_exeext; then
37853 eval wx_cv_func_$wx_func=yes
37854 else
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37857
37858 eval wx_cv_func_$wx_func=no
37859 fi
37860
37861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37862 conftest$ac_exeext conftest.$ac_ext
37863
37864 fi
37865 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37866 { echo "$as_me:$LINENO: result: $ac_res" >&5
37867 echo "${ECHO_T}$ac_res" >&6; }
37868
37869 if eval test \$wx_cv_func_$wx_func = yes
37870 then
37871 cat >>confdefs.h <<_ACEOF
37872 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37873 _ACEOF
37874
37875
37876 else
37877 :
37878
37879 fi
37880 done
37881
37882 fi
37883
37884
37885 for wx_func in strtok_r
37886 do
37887 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37888 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37889 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37892
37893 cat >conftest.$ac_ext <<_ACEOF
37894
37895 /* confdefs.h. */
37896 _ACEOF
37897 cat confdefs.h >>conftest.$ac_ext
37898 cat >>conftest.$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37900
37901 #define _REENTRANT
37902 $ac_includes_default
37903
37904 int
37905 main ()
37906 {
37907
37908 #ifndef $wx_func
37909 &$wx_func;
37910 #endif
37911
37912
37913 ;
37914 return 0;
37915 }
37916
37917 _ACEOF
37918 rm -f conftest.$ac_objext conftest$ac_exeext
37919 if { (ac_try="$ac_link"
37920 case "(($ac_try" in
37921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37923 esac
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_link") 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest$ac_exeext &&
37935 $as_test_x conftest$ac_exeext; then
37936 eval wx_cv_func_$wx_func=yes
37937 else
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.$ac_ext >&5
37940
37941 eval wx_cv_func_$wx_func=no
37942 fi
37943
37944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37945 conftest$ac_exeext conftest.$ac_ext
37946
37947 fi
37948 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37949 { echo "$as_me:$LINENO: result: $ac_res" >&5
37950 echo "${ECHO_T}$ac_res" >&6; }
37951
37952 if eval test \$wx_cv_func_$wx_func = yes
37953 then
37954 cat >>confdefs.h <<_ACEOF
37955 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37956 _ACEOF
37957
37958
37959 else
37960 :
37961
37962 fi
37963 done
37964
37965
37966 INET_LINK=
37967
37968 for ac_func in inet_addr
37969 do
37970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37971 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37973 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h. */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37984 #define $ac_func innocuous_$ac_func
37985
37986 /* System header to define __stub macros and hopefully few prototypes,
37987 which can conflict with char $ac_func (); below.
37988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37989 <limits.h> exists even on freestanding compilers. */
37990
37991 #ifdef __STDC__
37992 # include <limits.h>
37993 #else
37994 # include <assert.h>
37995 #endif
37996
37997 #undef $ac_func
37998
37999 /* Override any GCC internal prototype to avoid an error.
38000 Use char because int might match the return type of a GCC
38001 builtin and then its argument prototype would still apply. */
38002 #ifdef __cplusplus
38003 extern "C"
38004 #endif
38005 char $ac_func ();
38006 /* The GNU C library defines this for functions which it implements
38007 to always fail with ENOSYS. Some functions are actually named
38008 something starting with __ and the normal name is an alias. */
38009 #if defined __stub_$ac_func || defined __stub___$ac_func
38010 choke me
38011 #endif
38012
38013 int
38014 main ()
38015 {
38016 return $ac_func ();
38017 ;
38018 return 0;
38019 }
38020 _ACEOF
38021 rm -f conftest.$ac_objext conftest$ac_exeext
38022 if { (ac_try="$ac_link"
38023 case "(($ac_try" in
38024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38025 *) ac_try_echo=$ac_try;;
38026 esac
38027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38028 (eval "$ac_link") 2>conftest.er1
38029 ac_status=$?
38030 grep -v '^ *+' conftest.er1 >conftest.err
38031 rm -f conftest.er1
38032 cat conftest.err >&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); } && {
38035 test -z "$ac_c_werror_flag" ||
38036 test ! -s conftest.err
38037 } && test -s conftest$ac_exeext &&
38038 $as_test_x conftest$ac_exeext; then
38039 eval "$as_ac_var=yes"
38040 else
38041 echo "$as_me: failed program was:" >&5
38042 sed 's/^/| /' conftest.$ac_ext >&5
38043
38044 eval "$as_ac_var=no"
38045 fi
38046
38047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38048 conftest$ac_exeext conftest.$ac_ext
38049 fi
38050 ac_res=`eval echo '${'$as_ac_var'}'`
38051 { echo "$as_me:$LINENO: result: $ac_res" >&5
38052 echo "${ECHO_T}$ac_res" >&6; }
38053 if test `eval echo '${'$as_ac_var'}'` = yes; then
38054 cat >>confdefs.h <<_ACEOF
38055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38056 _ACEOF
38057 cat >>confdefs.h <<\_ACEOF
38058 #define HAVE_INET_ADDR 1
38059 _ACEOF
38060
38061 else
38062
38063 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38064 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38065 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38066 echo $ECHO_N "(cached) $ECHO_C" >&6
38067 else
38068 ac_check_lib_save_LIBS=$LIBS
38069 LIBS="-lnsl $LIBS"
38070 cat >conftest.$ac_ext <<_ACEOF
38071 /* confdefs.h. */
38072 _ACEOF
38073 cat confdefs.h >>conftest.$ac_ext
38074 cat >>conftest.$ac_ext <<_ACEOF
38075 /* end confdefs.h. */
38076
38077 /* Override any GCC internal prototype to avoid an error.
38078 Use char because int might match the return type of a GCC
38079 builtin and then its argument prototype would still apply. */
38080 #ifdef __cplusplus
38081 extern "C"
38082 #endif
38083 char inet_addr ();
38084 int
38085 main ()
38086 {
38087 return inet_addr ();
38088 ;
38089 return 0;
38090 }
38091 _ACEOF
38092 rm -f conftest.$ac_objext conftest$ac_exeext
38093 if { (ac_try="$ac_link"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_link") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest$ac_exeext &&
38109 $as_test_x conftest$ac_exeext; then
38110 ac_cv_lib_nsl_inet_addr=yes
38111 else
38112 echo "$as_me: failed program was:" >&5
38113 sed 's/^/| /' conftest.$ac_ext >&5
38114
38115 ac_cv_lib_nsl_inet_addr=no
38116 fi
38117
38118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38119 conftest$ac_exeext conftest.$ac_ext
38120 LIBS=$ac_check_lib_save_LIBS
38121 fi
38122 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38123 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38124 if test $ac_cv_lib_nsl_inet_addr = yes; then
38125 INET_LINK="nsl"
38126 else
38127
38128 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38129 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38130 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 else
38133 ac_check_lib_save_LIBS=$LIBS
38134 LIBS="-lresolv $LIBS"
38135 cat >conftest.$ac_ext <<_ACEOF
38136 /* confdefs.h. */
38137 _ACEOF
38138 cat confdefs.h >>conftest.$ac_ext
38139 cat >>conftest.$ac_ext <<_ACEOF
38140 /* end confdefs.h. */
38141
38142 /* Override any GCC internal prototype to avoid an error.
38143 Use char because int might match the return type of a GCC
38144 builtin and then its argument prototype would still apply. */
38145 #ifdef __cplusplus
38146 extern "C"
38147 #endif
38148 char inet_addr ();
38149 int
38150 main ()
38151 {
38152 return inet_addr ();
38153 ;
38154 return 0;
38155 }
38156 _ACEOF
38157 rm -f conftest.$ac_objext conftest$ac_exeext
38158 if { (ac_try="$ac_link"
38159 case "(($ac_try" in
38160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38161 *) ac_try_echo=$ac_try;;
38162 esac
38163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38164 (eval "$ac_link") 2>conftest.er1
38165 ac_status=$?
38166 grep -v '^ *+' conftest.er1 >conftest.err
38167 rm -f conftest.er1
38168 cat conftest.err >&5
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); } && {
38171 test -z "$ac_c_werror_flag" ||
38172 test ! -s conftest.err
38173 } && test -s conftest$ac_exeext &&
38174 $as_test_x conftest$ac_exeext; then
38175 ac_cv_lib_resolv_inet_addr=yes
38176 else
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38179
38180 ac_cv_lib_resolv_inet_addr=no
38181 fi
38182
38183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38184 conftest$ac_exeext conftest.$ac_ext
38185 LIBS=$ac_check_lib_save_LIBS
38186 fi
38187 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38188 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38189 if test $ac_cv_lib_resolv_inet_addr = yes; then
38190 INET_LINK="resolv"
38191 else
38192
38193 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38194 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38195 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38197 else
38198 ac_check_lib_save_LIBS=$LIBS
38199 LIBS="-lsocket $LIBS"
38200 cat >conftest.$ac_ext <<_ACEOF
38201 /* confdefs.h. */
38202 _ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206
38207 /* Override any GCC internal prototype to avoid an error.
38208 Use char because int might match the return type of a GCC
38209 builtin and then its argument prototype would still apply. */
38210 #ifdef __cplusplus
38211 extern "C"
38212 #endif
38213 char inet_addr ();
38214 int
38215 main ()
38216 {
38217 return inet_addr ();
38218 ;
38219 return 0;
38220 }
38221 _ACEOF
38222 rm -f conftest.$ac_objext conftest$ac_exeext
38223 if { (ac_try="$ac_link"
38224 case "(($ac_try" in
38225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38226 *) ac_try_echo=$ac_try;;
38227 esac
38228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38229 (eval "$ac_link") 2>conftest.er1
38230 ac_status=$?
38231 grep -v '^ *+' conftest.er1 >conftest.err
38232 rm -f conftest.er1
38233 cat conftest.err >&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); } && {
38236 test -z "$ac_c_werror_flag" ||
38237 test ! -s conftest.err
38238 } && test -s conftest$ac_exeext &&
38239 $as_test_x conftest$ac_exeext; then
38240 ac_cv_lib_socket_inet_addr=yes
38241 else
38242 echo "$as_me: failed program was:" >&5
38243 sed 's/^/| /' conftest.$ac_ext >&5
38244
38245 ac_cv_lib_socket_inet_addr=no
38246 fi
38247
38248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38249 conftest$ac_exeext conftest.$ac_ext
38250 LIBS=$ac_check_lib_save_LIBS
38251 fi
38252 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38253 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38254 if test $ac_cv_lib_socket_inet_addr = yes; then
38255 INET_LINK="socket"
38256
38257 fi
38258
38259
38260
38261 fi
38262
38263
38264
38265 fi
38266
38267
38268
38269 fi
38270 done
38271
38272
38273
38274 for ac_func in inet_aton
38275 do
38276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 else
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38290 #define $ac_func innocuous_$ac_func
38291
38292 /* System header to define __stub macros and hopefully few prototypes,
38293 which can conflict with char $ac_func (); below.
38294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38295 <limits.h> exists even on freestanding compilers. */
38296
38297 #ifdef __STDC__
38298 # include <limits.h>
38299 #else
38300 # include <assert.h>
38301 #endif
38302
38303 #undef $ac_func
38304
38305 /* Override any GCC internal prototype to avoid an error.
38306 Use char because int might match the return type of a GCC
38307 builtin and then its argument prototype would still apply. */
38308 #ifdef __cplusplus
38309 extern "C"
38310 #endif
38311 char $ac_func ();
38312 /* The GNU C library defines this for functions which it implements
38313 to always fail with ENOSYS. Some functions are actually named
38314 something starting with __ and the normal name is an alias. */
38315 #if defined __stub_$ac_func || defined __stub___$ac_func
38316 choke me
38317 #endif
38318
38319 int
38320 main ()
38321 {
38322 return $ac_func ();
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (ac_try="$ac_link"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38332 esac
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_link") 2>conftest.er1
38335 ac_status=$?
38336 grep -v '^ *+' conftest.er1 >conftest.err
38337 rm -f conftest.er1
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_c_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest$ac_exeext &&
38344 $as_test_x conftest$ac_exeext; then
38345 eval "$as_ac_var=yes"
38346 else
38347 echo "$as_me: failed program was:" >&5
38348 sed 's/^/| /' conftest.$ac_ext >&5
38349
38350 eval "$as_ac_var=no"
38351 fi
38352
38353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38354 conftest$ac_exeext conftest.$ac_ext
38355 fi
38356 ac_res=`eval echo '${'$as_ac_var'}'`
38357 { echo "$as_me:$LINENO: result: $ac_res" >&5
38358 echo "${ECHO_T}$ac_res" >&6; }
38359 if test `eval echo '${'$as_ac_var'}'` = yes; then
38360 cat >>confdefs.h <<_ACEOF
38361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38362 _ACEOF
38363 cat >>confdefs.h <<\_ACEOF
38364 #define HAVE_INET_ATON 1
38365 _ACEOF
38366
38367 else
38368
38369 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38370 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38371 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38372 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375 ac_check_lib_save_LIBS=$LIBS
38376 LIBS="-l$INET_LINK $LIBS"
38377 cat >conftest.$ac_ext <<_ACEOF
38378 /* confdefs.h. */
38379 _ACEOF
38380 cat confdefs.h >>conftest.$ac_ext
38381 cat >>conftest.$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38387 #ifdef __cplusplus
38388 extern "C"
38389 #endif
38390 char inet_aton ();
38391 int
38392 main ()
38393 {
38394 return inet_aton ();
38395 ;
38396 return 0;
38397 }
38398 _ACEOF
38399 rm -f conftest.$ac_objext conftest$ac_exeext
38400 if { (ac_try="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38403 *) ac_try_echo=$ac_try;;
38404 esac
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest$ac_exeext &&
38416 $as_test_x conftest$ac_exeext; then
38417 eval "$as_ac_Lib=yes"
38418 else
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38421
38422 eval "$as_ac_Lib=no"
38423 fi
38424
38425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38426 conftest$ac_exeext conftest.$ac_ext
38427 LIBS=$ac_check_lib_save_LIBS
38428 fi
38429 ac_res=`eval echo '${'$as_ac_Lib'}'`
38430 { echo "$as_me:$LINENO: result: $ac_res" >&5
38431 echo "${ECHO_T}$ac_res" >&6; }
38432 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38433 cat >>confdefs.h <<\_ACEOF
38434 #define HAVE_INET_ATON 1
38435 _ACEOF
38436
38437 fi
38438
38439
38440 fi
38441 done
38442
38443
38444 if test "x$INET_LINK" != "x"; then
38445 cat >>confdefs.h <<\_ACEOF
38446 #define HAVE_INET_ADDR 1
38447 _ACEOF
38448
38449 INET_LINK=" -l$INET_LINK"
38450 fi
38451
38452
38453 for wx_func in fdopen
38454 do
38455 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38456 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38457 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460
38461 cat >conftest.$ac_ext <<_ACEOF
38462
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468
38469
38470 $ac_includes_default
38471
38472 int
38473 main ()
38474 {
38475
38476 #ifndef $wx_func
38477 &$wx_func;
38478 #endif
38479
38480
38481 ;
38482 return 0;
38483 }
38484
38485 _ACEOF
38486 rm -f conftest.$ac_objext conftest$ac_exeext
38487 if { (ac_try="$ac_link"
38488 case "(($ac_try" in
38489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38490 *) ac_try_echo=$ac_try;;
38491 esac
38492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38493 (eval "$ac_link") 2>conftest.er1
38494 ac_status=$?
38495 grep -v '^ *+' conftest.er1 >conftest.err
38496 rm -f conftest.er1
38497 cat conftest.err >&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); } && {
38500 test -z "$ac_c_werror_flag" ||
38501 test ! -s conftest.err
38502 } && test -s conftest$ac_exeext &&
38503 $as_test_x conftest$ac_exeext; then
38504 eval wx_cv_func_$wx_func=yes
38505 else
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38508
38509 eval wx_cv_func_$wx_func=no
38510 fi
38511
38512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38513 conftest$ac_exeext conftest.$ac_ext
38514
38515 fi
38516 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38517 { echo "$as_me:$LINENO: result: $ac_res" >&5
38518 echo "${ECHO_T}$ac_res" >&6; }
38519
38520 if eval test \$wx_cv_func_$wx_func = yes
38521 then
38522 cat >>confdefs.h <<_ACEOF
38523 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38524 _ACEOF
38525
38526
38527 else
38528 :
38529
38530 fi
38531 done
38532
38533
38534 if test "$wxUSE_TARSTREAM" = "yes"; then
38535
38536 for wx_func in sysconf
38537 do
38538 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38539 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38541 echo $ECHO_N "(cached) $ECHO_C" >&6
38542 else
38543
38544 cat >conftest.$ac_ext <<_ACEOF
38545
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551
38552
38553 $ac_includes_default
38554
38555 int
38556 main ()
38557 {
38558
38559 #ifndef $wx_func
38560 &$wx_func;
38561 #endif
38562
38563
38564 ;
38565 return 0;
38566 }
38567
38568 _ACEOF
38569 rm -f conftest.$ac_objext conftest$ac_exeext
38570 if { (ac_try="$ac_link"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38573 *) ac_try_echo=$ac_try;;
38574 esac
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_link") 2>conftest.er1
38577 ac_status=$?
38578 grep -v '^ *+' conftest.er1 >conftest.err
38579 rm -f conftest.er1
38580 cat conftest.err >&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } && {
38583 test -z "$ac_c_werror_flag" ||
38584 test ! -s conftest.err
38585 } && test -s conftest$ac_exeext &&
38586 $as_test_x conftest$ac_exeext; then
38587 eval wx_cv_func_$wx_func=yes
38588 else
38589 echo "$as_me: failed program was:" >&5
38590 sed 's/^/| /' conftest.$ac_ext >&5
38591
38592 eval wx_cv_func_$wx_func=no
38593 fi
38594
38595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38596 conftest$ac_exeext conftest.$ac_ext
38597
38598 fi
38599 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38600 { echo "$as_me:$LINENO: result: $ac_res" >&5
38601 echo "${ECHO_T}$ac_res" >&6; }
38602
38603 if eval test \$wx_cv_func_$wx_func = yes
38604 then
38605 cat >>confdefs.h <<_ACEOF
38606 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38607 _ACEOF
38608
38609
38610 else
38611 :
38612
38613 fi
38614 done
38615
38616
38617
38618 for wx_func in getpwuid_r
38619 do
38620 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38621 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38622 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38623 echo $ECHO_N "(cached) $ECHO_C" >&6
38624 else
38625
38626 cat >conftest.$ac_ext <<_ACEOF
38627
38628 /* confdefs.h. */
38629 _ACEOF
38630 cat confdefs.h >>conftest.$ac_ext
38631 cat >>conftest.$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633
38634
38635 #define _REENTRANT
38636 #include <pwd.h>
38637
38638 $ac_includes_default
38639
38640 int
38641 main ()
38642 {
38643
38644 #ifndef $wx_func
38645 &$wx_func;
38646 #endif
38647
38648 struct passwd pw, *ppw;
38649 char buf[1024];
38650 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38651
38652
38653 ;
38654 return 0;
38655 }
38656
38657 _ACEOF
38658 rm -f conftest.$ac_objext conftest$ac_exeext
38659 if { (ac_try="$ac_link"
38660 case "(($ac_try" in
38661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38662 *) ac_try_echo=$ac_try;;
38663 esac
38664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38665 (eval "$ac_link") 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } && {
38672 test -z "$ac_c_werror_flag" ||
38673 test ! -s conftest.err
38674 } && test -s conftest$ac_exeext &&
38675 $as_test_x conftest$ac_exeext; then
38676 eval wx_cv_func_$wx_func=yes
38677 else
38678 echo "$as_me: failed program was:" >&5
38679 sed 's/^/| /' conftest.$ac_ext >&5
38680
38681 eval wx_cv_func_$wx_func=no
38682 fi
38683
38684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38685 conftest$ac_exeext conftest.$ac_ext
38686
38687 fi
38688 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38689 { echo "$as_me:$LINENO: result: $ac_res" >&5
38690 echo "${ECHO_T}$ac_res" >&6; }
38691
38692 if eval test \$wx_cv_func_$wx_func = yes
38693 then
38694 cat >>confdefs.h <<_ACEOF
38695 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38696 _ACEOF
38697
38698
38699 else
38700 :
38701
38702 fi
38703 done
38704
38705
38706
38707 for wx_func in getgrgid_r
38708 do
38709 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38710 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38711 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38712 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38714
38715 cat >conftest.$ac_ext <<_ACEOF
38716
38717 /* confdefs.h. */
38718 _ACEOF
38719 cat confdefs.h >>conftest.$ac_ext
38720 cat >>conftest.$ac_ext <<_ACEOF
38721 /* end confdefs.h. */
38722
38723
38724 #define _REENTRANT
38725 #include <grp.h>
38726
38727 $ac_includes_default
38728
38729 int
38730 main ()
38731 {
38732
38733 #ifndef $wx_func
38734 &$wx_func;
38735 #endif
38736
38737 struct group grp, *pgrp;
38738 char buf[1024];
38739 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38740
38741
38742 ;
38743 return 0;
38744 }
38745
38746 _ACEOF
38747 rm -f conftest.$ac_objext conftest$ac_exeext
38748 if { (ac_try="$ac_link"
38749 case "(($ac_try" in
38750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38751 *) ac_try_echo=$ac_try;;
38752 esac
38753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38754 (eval "$ac_link") 2>conftest.er1
38755 ac_status=$?
38756 grep -v '^ *+' conftest.er1 >conftest.err
38757 rm -f conftest.er1
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } && {
38761 test -z "$ac_c_werror_flag" ||
38762 test ! -s conftest.err
38763 } && test -s conftest$ac_exeext &&
38764 $as_test_x conftest$ac_exeext; then
38765 eval wx_cv_func_$wx_func=yes
38766 else
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38769
38770 eval wx_cv_func_$wx_func=no
38771 fi
38772
38773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38774 conftest$ac_exeext conftest.$ac_ext
38775
38776 fi
38777 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38778 { echo "$as_me:$LINENO: result: $ac_res" >&5
38779 echo "${ECHO_T}$ac_res" >&6; }
38780
38781 if eval test \$wx_cv_func_$wx_func = yes
38782 then
38783 cat >>confdefs.h <<_ACEOF
38784 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38785 _ACEOF
38786
38787
38788 else
38789 :
38790
38791 fi
38792 done
38793
38794 fi
38795
38796 fi
38797
38798
38799
38800 cat >confcache <<\_ACEOF
38801 # This file is a shell script that caches the results of configure
38802 # tests run on this system so they can be shared between configure
38803 # scripts and configure runs, see configure's option --config-cache.
38804 # It is not useful on other systems. If it contains results you don't
38805 # want to keep, you may remove or edit it.
38806 #
38807 # config.status only pays attention to the cache file if you give it
38808 # the --recheck option to rerun configure.
38809 #
38810 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38811 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38812 # following values.
38813
38814 _ACEOF
38815
38816 # The following way of writing the cache mishandles newlines in values,
38817 # but we know of no workaround that is simple, portable, and efficient.
38818 # So, we kill variables containing newlines.
38819 # Ultrix sh set writes to stderr and can't be redirected directly,
38820 # and sets the high bit in the cache file unless we assign to the vars.
38821 (
38822 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38823 eval ac_val=\$$ac_var
38824 case $ac_val in #(
38825 *${as_nl}*)
38826 case $ac_var in #(
38827 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38828 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38829 esac
38830 case $ac_var in #(
38831 _ | IFS | as_nl) ;; #(
38832 *) $as_unset $ac_var ;;
38833 esac ;;
38834 esac
38835 done
38836
38837 (set) 2>&1 |
38838 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38839 *${as_nl}ac_space=\ *)
38840 # `set' does not quote correctly, so add quotes (double-quote
38841 # substitution turns \\\\ into \\, and sed turns \\ into \).
38842 sed -n \
38843 "s/'/'\\\\''/g;
38844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38845 ;; #(
38846 *)
38847 # `set' quotes correctly as required by POSIX, so do not add quotes.
38848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38849 ;;
38850 esac |
38851 sort
38852 ) |
38853 sed '
38854 /^ac_cv_env_/b end
38855 t clear
38856 :clear
38857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38858 t end
38859 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38860 :end' >>confcache
38861 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38862 if test -w "$cache_file"; then
38863 test "x$cache_file" != "x/dev/null" &&
38864 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38865 echo "$as_me: updating cache $cache_file" >&6;}
38866 cat confcache >$cache_file
38867 else
38868 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38869 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38870 fi
38871 fi
38872 rm -f confcache
38873
38874
38875 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38876
38877
38878 THREADS_LINK=
38879 THREADS_CFLAGS=
38880
38881 if test "$wxUSE_THREADS" = "yes" ; then
38882 if test "$USE_BEOS" = 1; then
38883 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38884 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38885 wxUSE_THREADS="no"
38886 fi
38887 fi
38888
38889 if test "$wxUSE_THREADS" = "yes" ; then
38890
38891
38892 THREAD_OPTS="-pthread"
38893 if test "x$SUNCXX" = xyes; then
38894 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38895 fi
38896
38897 case "${host}" in
38898 *-*-solaris2* | *-*-sunos4* )
38899 if test "x$GCC" = "xyes"; then
38900 THREAD_OPTS="-pthreads $THREAD_OPTS"
38901 fi
38902 ;;
38903 *-*-freebsd*)
38904 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38905 ;;
38906 *-*-darwin* | *-*-cygwin* )
38907 THREAD_OPTS=""
38908 ;;
38909 *-*-aix*)
38910 THREAD_OPTS="pthreads"
38911 ;;
38912 *-hp-hpux* )
38913 if test "x$GCC" = "xyes"; then
38914 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38915 THREAD_OPTS=""
38916 else
38917 THREAD_OPTS="-mt"
38918 fi
38919 ;;
38920
38921 *-*-irix* )
38922 if test "x$GCC" = "xyes"; then
38923 THREAD_OPTS=""
38924 fi
38925 ;;
38926
38927 *-*-*UnixWare*)
38928 if test "x$GCC" != "xyes"; then
38929 THREAD_OPTS="-Ethread"
38930 fi
38931 ;;
38932 esac
38933
38934 THREAD_OPTS="$THREAD_OPTS pthread none"
38935
38936 THREADS_OK=no
38937 for flag in $THREAD_OPTS; do
38938 case $flag in
38939 none)
38940 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38941 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38942 ;;
38943
38944 -*)
38945 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38946 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38947 THREADS_CFLAGS="$flag"
38948 ;;
38949
38950 *)
38951 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38952 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38953 THREADS_LINK="-l$flag"
38954 ;;
38955 esac
38956
38957 save_LIBS="$LIBS"
38958 save_CFLAGS="$CFLAGS"
38959 LIBS="$THREADS_LINK $LIBS"
38960 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38961
38962 cat >conftest.$ac_ext <<_ACEOF
38963 /* confdefs.h. */
38964 _ACEOF
38965 cat confdefs.h >>conftest.$ac_ext
38966 cat >>conftest.$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38968 #include <pthread.h>
38969 int
38970 main ()
38971 {
38972 pthread_create(0,0,0,0);
38973 ;
38974 return 0;
38975 }
38976 _ACEOF
38977 rm -f conftest.$ac_objext conftest$ac_exeext
38978 if { (ac_try="$ac_link"
38979 case "(($ac_try" in
38980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38981 *) ac_try_echo=$ac_try;;
38982 esac
38983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38984 (eval "$ac_link") 2>conftest.er1
38985 ac_status=$?
38986 grep -v '^ *+' conftest.er1 >conftest.err
38987 rm -f conftest.er1
38988 cat conftest.err >&5
38989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38990 (exit $ac_status); } && {
38991 test -z "$ac_c_werror_flag" ||
38992 test ! -s conftest.err
38993 } && test -s conftest$ac_exeext &&
38994 $as_test_x conftest$ac_exeext; then
38995 THREADS_OK=yes
38996 else
38997 echo "$as_me: failed program was:" >&5
38998 sed 's/^/| /' conftest.$ac_ext >&5
38999
39000
39001 fi
39002
39003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39004 conftest$ac_exeext conftest.$ac_ext
39005
39006 LIBS="$save_LIBS"
39007 CFLAGS="$save_CFLAGS"
39008
39009 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39010 echo "${ECHO_T}$THREADS_OK" >&6; }
39011 if test "x$THREADS_OK" = "xyes"; then
39012 break;
39013 fi
39014
39015 THREADS_LINK=""
39016 THREADS_CFLAGS=""
39017 done
39018
39019 if test "x$THREADS_OK" != "xyes"; then
39020 wxUSE_THREADS=no
39021 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39022 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39023 else
39024 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39025 LIBS="$THREADS_LINK $LIBS"
39026
39027 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39028 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39029 flag=no
39030 case "${host}" in
39031 *-aix*)
39032 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39033 flag="-D_THREAD_SAFE"
39034 ;;
39035 *-freebsd*)
39036 flag="-D_THREAD_SAFE"
39037 ;;
39038 *-hp-hpux* )
39039 flag="-D_REENTRANT"
39040 if test "x$GCC" != "xyes"; then
39041 flag="$flag -D_RWSTD_MULTI_THREAD"
39042 fi
39043 ;;
39044 *solaris* | alpha*-osf*)
39045 flag="-D_REENTRANT"
39046 ;;
39047 esac
39048 { echo "$as_me:$LINENO: result: ${flag}" >&5
39049 echo "${ECHO_T}${flag}" >&6; }
39050 if test "x$flag" != xno; then
39051 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39052 fi
39053
39054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39055 fi
39056 fi
39057
39058 if test "$wxUSE_THREADS" = "yes" ; then
39059
39060 for ac_func in thr_setconcurrency
39061 do
39062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 else
39068 cat >conftest.$ac_ext <<_ACEOF
39069 /* confdefs.h. */
39070 _ACEOF
39071 cat confdefs.h >>conftest.$ac_ext
39072 cat >>conftest.$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39076 #define $ac_func innocuous_$ac_func
39077
39078 /* System header to define __stub macros and hopefully few prototypes,
39079 which can conflict with char $ac_func (); below.
39080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39081 <limits.h> exists even on freestanding compilers. */
39082
39083 #ifdef __STDC__
39084 # include <limits.h>
39085 #else
39086 # include <assert.h>
39087 #endif
39088
39089 #undef $ac_func
39090
39091 /* Override any GCC internal prototype to avoid an error.
39092 Use char because int might match the return type of a GCC
39093 builtin and then its argument prototype would still apply. */
39094 #ifdef __cplusplus
39095 extern "C"
39096 #endif
39097 char $ac_func ();
39098 /* The GNU C library defines this for functions which it implements
39099 to always fail with ENOSYS. Some functions are actually named
39100 something starting with __ and the normal name is an alias. */
39101 #if defined __stub_$ac_func || defined __stub___$ac_func
39102 choke me
39103 #endif
39104
39105 int
39106 main ()
39107 {
39108 return $ac_func ();
39109 ;
39110 return 0;
39111 }
39112 _ACEOF
39113 rm -f conftest.$ac_objext conftest$ac_exeext
39114 if { (ac_try="$ac_link"
39115 case "(($ac_try" in
39116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39117 *) ac_try_echo=$ac_try;;
39118 esac
39119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39120 (eval "$ac_link") 2>conftest.er1
39121 ac_status=$?
39122 grep -v '^ *+' conftest.er1 >conftest.err
39123 rm -f conftest.er1
39124 cat conftest.err >&5
39125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39126 (exit $ac_status); } && {
39127 test -z "$ac_c_werror_flag" ||
39128 test ! -s conftest.err
39129 } && test -s conftest$ac_exeext &&
39130 $as_test_x conftest$ac_exeext; then
39131 eval "$as_ac_var=yes"
39132 else
39133 echo "$as_me: failed program was:" >&5
39134 sed 's/^/| /' conftest.$ac_ext >&5
39135
39136 eval "$as_ac_var=no"
39137 fi
39138
39139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39140 conftest$ac_exeext conftest.$ac_ext
39141 fi
39142 ac_res=`eval echo '${'$as_ac_var'}'`
39143 { echo "$as_me:$LINENO: result: $ac_res" >&5
39144 echo "${ECHO_T}$ac_res" >&6; }
39145 if test `eval echo '${'$as_ac_var'}'` = yes; then
39146 cat >>confdefs.h <<_ACEOF
39147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39148 _ACEOF
39149
39150 fi
39151 done
39152
39153
39154 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39155 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39156 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39157 echo $ECHO_N "(cached) $ECHO_C" >&6
39158 else
39159
39160 ac_ext=cpp
39161 ac_cpp='$CXXCPP $CPPFLAGS'
39162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39165
39166 cat >conftest.$ac_ext <<_ACEOF
39167 /* confdefs.h. */
39168 _ACEOF
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39172 #include <pthread.h>
39173 void ThreadCleanupFunc(void *p);
39174
39175 int
39176 main ()
39177 {
39178
39179 void *p;
39180 pthread_cleanup_push(ThreadCleanupFunc, p);
39181 pthread_cleanup_pop(0);
39182
39183 ;
39184 return 0;
39185 }
39186 _ACEOF
39187 rm -f conftest.$ac_objext
39188 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest.$ac_objext; then
39204
39205 wx_cv_func_pthread_cleanup=yes
39206
39207 else
39208 echo "$as_me: failed program was:" >&5
39209 sed 's/^/| /' conftest.$ac_ext >&5
39210
39211
39212 wx_cv_func_pthread_cleanup=no
39213
39214
39215 fi
39216
39217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39218 ac_ext=c
39219 ac_cpp='$CPP $CPPFLAGS'
39220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39223
39224
39225 fi
39226 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39227 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39228 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39229 cat >>confdefs.h <<\_ACEOF
39230 #define wxHAVE_PTHREAD_CLEANUP 1
39231 _ACEOF
39232
39233 fi
39234
39235
39236 for ac_header in sched.h
39237 do
39238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39244 cat >conftest.$ac_ext <<_ACEOF
39245 /* confdefs.h. */
39246 _ACEOF
39247 cat confdefs.h >>conftest.$ac_ext
39248 cat >>conftest.$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 $ac_includes_default
39251
39252 #include <$ac_header>
39253 _ACEOF
39254 rm -f conftest.$ac_objext
39255 if { (ac_try="$ac_compile"
39256 case "(($ac_try" in
39257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39258 *) ac_try_echo=$ac_try;;
39259 esac
39260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39261 (eval "$ac_compile") 2>conftest.er1
39262 ac_status=$?
39263 grep -v '^ *+' conftest.er1 >conftest.err
39264 rm -f conftest.er1
39265 cat conftest.err >&5
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); } && {
39268 test -z "$ac_c_werror_flag" ||
39269 test ! -s conftest.err
39270 } && test -s conftest.$ac_objext; then
39271 eval "$as_ac_Header=yes"
39272 else
39273 echo "$as_me: failed program was:" >&5
39274 sed 's/^/| /' conftest.$ac_ext >&5
39275
39276 eval "$as_ac_Header=no"
39277 fi
39278
39279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39280 fi
39281 ac_res=`eval echo '${'$as_ac_Header'}'`
39282 { echo "$as_me:$LINENO: result: $ac_res" >&5
39283 echo "${ECHO_T}$ac_res" >&6; }
39284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39285 cat >>confdefs.h <<_ACEOF
39286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39287 _ACEOF
39288
39289 fi
39290
39291 done
39292
39293 if test "$ac_cv_header_sched_h" = "yes"; then
39294 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39295 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39296 if test "${ac_cv_func_sched_yield+set}" = set; then
39297 echo $ECHO_N "(cached) $ECHO_C" >&6
39298 else
39299 cat >conftest.$ac_ext <<_ACEOF
39300 /* confdefs.h. */
39301 _ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39307 #define sched_yield innocuous_sched_yield
39308
39309 /* System header to define __stub macros and hopefully few prototypes,
39310 which can conflict with char sched_yield (); below.
39311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39312 <limits.h> exists even on freestanding compilers. */
39313
39314 #ifdef __STDC__
39315 # include <limits.h>
39316 #else
39317 # include <assert.h>
39318 #endif
39319
39320 #undef sched_yield
39321
39322 /* Override any GCC internal prototype to avoid an error.
39323 Use char because int might match the return type of a GCC
39324 builtin and then its argument prototype would still apply. */
39325 #ifdef __cplusplus
39326 extern "C"
39327 #endif
39328 char sched_yield ();
39329 /* The GNU C library defines this for functions which it implements
39330 to always fail with ENOSYS. Some functions are actually named
39331 something starting with __ and the normal name is an alias. */
39332 #if defined __stub_sched_yield || defined __stub___sched_yield
39333 choke me
39334 #endif
39335
39336 int
39337 main ()
39338 {
39339 return sched_yield ();
39340 ;
39341 return 0;
39342 }
39343 _ACEOF
39344 rm -f conftest.$ac_objext conftest$ac_exeext
39345 if { (ac_try="$ac_link"
39346 case "(($ac_try" in
39347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39348 *) ac_try_echo=$ac_try;;
39349 esac
39350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39351 (eval "$ac_link") 2>conftest.er1
39352 ac_status=$?
39353 grep -v '^ *+' conftest.er1 >conftest.err
39354 rm -f conftest.er1
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } && {
39358 test -z "$ac_c_werror_flag" ||
39359 test ! -s conftest.err
39360 } && test -s conftest$ac_exeext &&
39361 $as_test_x conftest$ac_exeext; then
39362 ac_cv_func_sched_yield=yes
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39366
39367 ac_cv_func_sched_yield=no
39368 fi
39369
39370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39371 conftest$ac_exeext conftest.$ac_ext
39372 fi
39373 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39374 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39375 if test $ac_cv_func_sched_yield = yes; then
39376 cat >>confdefs.h <<\_ACEOF
39377 #define HAVE_SCHED_YIELD 1
39378 _ACEOF
39379
39380 else
39381
39382 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39383 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39384 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39385 echo $ECHO_N "(cached) $ECHO_C" >&6
39386 else
39387 ac_check_lib_save_LIBS=$LIBS
39388 LIBS="-lposix4 $LIBS"
39389 cat >conftest.$ac_ext <<_ACEOF
39390 /* confdefs.h. */
39391 _ACEOF
39392 cat confdefs.h >>conftest.$ac_ext
39393 cat >>conftest.$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395
39396 /* Override any GCC internal prototype to avoid an error.
39397 Use char because int might match the return type of a GCC
39398 builtin and then its argument prototype would still apply. */
39399 #ifdef __cplusplus
39400 extern "C"
39401 #endif
39402 char sched_yield ();
39403 int
39404 main ()
39405 {
39406 return sched_yield ();
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext conftest$ac_exeext
39412 if { (ac_try="$ac_link"
39413 case "(($ac_try" in
39414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39415 *) ac_try_echo=$ac_try;;
39416 esac
39417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39418 (eval "$ac_link") 2>conftest.er1
39419 ac_status=$?
39420 grep -v '^ *+' conftest.er1 >conftest.err
39421 rm -f conftest.er1
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } && {
39425 test -z "$ac_c_werror_flag" ||
39426 test ! -s conftest.err
39427 } && test -s conftest$ac_exeext &&
39428 $as_test_x conftest$ac_exeext; then
39429 ac_cv_lib_posix4_sched_yield=yes
39430 else
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39433
39434 ac_cv_lib_posix4_sched_yield=no
39435 fi
39436
39437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39438 conftest$ac_exeext conftest.$ac_ext
39439 LIBS=$ac_check_lib_save_LIBS
39440 fi
39441 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39442 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39443 if test $ac_cv_lib_posix4_sched_yield = yes; then
39444 cat >>confdefs.h <<\_ACEOF
39445 #define HAVE_SCHED_YIELD 1
39446 _ACEOF
39447 POSIX4_LINK=" -lposix4"
39448 else
39449 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39450 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39451
39452 fi
39453
39454
39455
39456 fi
39457
39458 fi
39459
39460 HAVE_PRIOR_FUNCS=0
39461 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39462 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39463 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 else
39466 cat >conftest.$ac_ext <<_ACEOF
39467 /* confdefs.h. */
39468 _ACEOF
39469 cat confdefs.h >>conftest.$ac_ext
39470 cat >>conftest.$ac_ext <<_ACEOF
39471 /* end confdefs.h. */
39472 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39474 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39475
39476 /* System header to define __stub macros and hopefully few prototypes,
39477 which can conflict with char pthread_attr_getschedpolicy (); below.
39478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39479 <limits.h> exists even on freestanding compilers. */
39480
39481 #ifdef __STDC__
39482 # include <limits.h>
39483 #else
39484 # include <assert.h>
39485 #endif
39486
39487 #undef pthread_attr_getschedpolicy
39488
39489 /* Override any GCC internal prototype to avoid an error.
39490 Use char because int might match the return type of a GCC
39491 builtin and then its argument prototype would still apply. */
39492 #ifdef __cplusplus
39493 extern "C"
39494 #endif
39495 char pthread_attr_getschedpolicy ();
39496 /* The GNU C library defines this for functions which it implements
39497 to always fail with ENOSYS. Some functions are actually named
39498 something starting with __ and the normal name is an alias. */
39499 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39500 choke me
39501 #endif
39502
39503 int
39504 main ()
39505 {
39506 return pthread_attr_getschedpolicy ();
39507 ;
39508 return 0;
39509 }
39510 _ACEOF
39511 rm -f conftest.$ac_objext conftest$ac_exeext
39512 if { (ac_try="$ac_link"
39513 case "(($ac_try" in
39514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39515 *) ac_try_echo=$ac_try;;
39516 esac
39517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39518 (eval "$ac_link") 2>conftest.er1
39519 ac_status=$?
39520 grep -v '^ *+' conftest.er1 >conftest.err
39521 rm -f conftest.er1
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } && {
39525 test -z "$ac_c_werror_flag" ||
39526 test ! -s conftest.err
39527 } && test -s conftest$ac_exeext &&
39528 $as_test_x conftest$ac_exeext; then
39529 ac_cv_func_pthread_attr_getschedpolicy=yes
39530 else
39531 echo "$as_me: failed program was:" >&5
39532 sed 's/^/| /' conftest.$ac_ext >&5
39533
39534 ac_cv_func_pthread_attr_getschedpolicy=no
39535 fi
39536
39537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39538 conftest$ac_exeext conftest.$ac_ext
39539 fi
39540 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39541 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39542 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39543 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39544 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39545 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39547 else
39548 cat >conftest.$ac_ext <<_ACEOF
39549 /* confdefs.h. */
39550 _ACEOF
39551 cat confdefs.h >>conftest.$ac_ext
39552 cat >>conftest.$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39556 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39557
39558 /* System header to define __stub macros and hopefully few prototypes,
39559 which can conflict with char pthread_attr_setschedparam (); below.
39560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39561 <limits.h> exists even on freestanding compilers. */
39562
39563 #ifdef __STDC__
39564 # include <limits.h>
39565 #else
39566 # include <assert.h>
39567 #endif
39568
39569 #undef pthread_attr_setschedparam
39570
39571 /* Override any GCC internal prototype to avoid an error.
39572 Use char because int might match the return type of a GCC
39573 builtin and then its argument prototype would still apply. */
39574 #ifdef __cplusplus
39575 extern "C"
39576 #endif
39577 char pthread_attr_setschedparam ();
39578 /* The GNU C library defines this for functions which it implements
39579 to always fail with ENOSYS. Some functions are actually named
39580 something starting with __ and the normal name is an alias. */
39581 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39582 choke me
39583 #endif
39584
39585 int
39586 main ()
39587 {
39588 return pthread_attr_setschedparam ();
39589 ;
39590 return 0;
39591 }
39592 _ACEOF
39593 rm -f conftest.$ac_objext conftest$ac_exeext
39594 if { (ac_try="$ac_link"
39595 case "(($ac_try" in
39596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39597 *) ac_try_echo=$ac_try;;
39598 esac
39599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39600 (eval "$ac_link") 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } && {
39607 test -z "$ac_c_werror_flag" ||
39608 test ! -s conftest.err
39609 } && test -s conftest$ac_exeext &&
39610 $as_test_x conftest$ac_exeext; then
39611 ac_cv_func_pthread_attr_setschedparam=yes
39612 else
39613 echo "$as_me: failed program was:" >&5
39614 sed 's/^/| /' conftest.$ac_ext >&5
39615
39616 ac_cv_func_pthread_attr_setschedparam=no
39617 fi
39618
39619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39620 conftest$ac_exeext conftest.$ac_ext
39621 fi
39622 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39623 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39624 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39625 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39626 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39627 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39628 echo $ECHO_N "(cached) $ECHO_C" >&6
39629 else
39630 cat >conftest.$ac_ext <<_ACEOF
39631 /* confdefs.h. */
39632 _ACEOF
39633 cat confdefs.h >>conftest.$ac_ext
39634 cat >>conftest.$ac_ext <<_ACEOF
39635 /* end confdefs.h. */
39636 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39638 #define sched_get_priority_max innocuous_sched_get_priority_max
39639
39640 /* System header to define __stub macros and hopefully few prototypes,
39641 which can conflict with char sched_get_priority_max (); below.
39642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39643 <limits.h> exists even on freestanding compilers. */
39644
39645 #ifdef __STDC__
39646 # include <limits.h>
39647 #else
39648 # include <assert.h>
39649 #endif
39650
39651 #undef sched_get_priority_max
39652
39653 /* Override any GCC internal prototype to avoid an error.
39654 Use char because int might match the return type of a GCC
39655 builtin and then its argument prototype would still apply. */
39656 #ifdef __cplusplus
39657 extern "C"
39658 #endif
39659 char sched_get_priority_max ();
39660 /* The GNU C library defines this for functions which it implements
39661 to always fail with ENOSYS. Some functions are actually named
39662 something starting with __ and the normal name is an alias. */
39663 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39664 choke me
39665 #endif
39666
39667 int
39668 main ()
39669 {
39670 return sched_get_priority_max ();
39671 ;
39672 return 0;
39673 }
39674 _ACEOF
39675 rm -f conftest.$ac_objext conftest$ac_exeext
39676 if { (ac_try="$ac_link"
39677 case "(($ac_try" in
39678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39679 *) ac_try_echo=$ac_try;;
39680 esac
39681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39682 (eval "$ac_link") 2>conftest.er1
39683 ac_status=$?
39684 grep -v '^ *+' conftest.er1 >conftest.err
39685 rm -f conftest.er1
39686 cat conftest.err >&5
39687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39688 (exit $ac_status); } && {
39689 test -z "$ac_c_werror_flag" ||
39690 test ! -s conftest.err
39691 } && test -s conftest$ac_exeext &&
39692 $as_test_x conftest$ac_exeext; then
39693 ac_cv_func_sched_get_priority_max=yes
39694 else
39695 echo "$as_me: failed program was:" >&5
39696 sed 's/^/| /' conftest.$ac_ext >&5
39697
39698 ac_cv_func_sched_get_priority_max=no
39699 fi
39700
39701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39702 conftest$ac_exeext conftest.$ac_ext
39703 fi
39704 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39705 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39706 if test $ac_cv_func_sched_get_priority_max = yes; then
39707 HAVE_PRIOR_FUNCS=1
39708 else
39709 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39710 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39711 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 else
39714 ac_check_lib_save_LIBS=$LIBS
39715 LIBS="-lposix4 $LIBS"
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h. */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722
39723 /* Override any GCC internal prototype to avoid an error.
39724 Use char because int might match the return type of a GCC
39725 builtin and then its argument prototype would still apply. */
39726 #ifdef __cplusplus
39727 extern "C"
39728 #endif
39729 char sched_get_priority_max ();
39730 int
39731 main ()
39732 {
39733 return sched_get_priority_max ();
39734 ;
39735 return 0;
39736 }
39737 _ACEOF
39738 rm -f conftest.$ac_objext conftest$ac_exeext
39739 if { (ac_try="$ac_link"
39740 case "(($ac_try" in
39741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39742 *) ac_try_echo=$ac_try;;
39743 esac
39744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39745 (eval "$ac_link") 2>conftest.er1
39746 ac_status=$?
39747 grep -v '^ *+' conftest.er1 >conftest.err
39748 rm -f conftest.er1
39749 cat conftest.err >&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } && {
39752 test -z "$ac_c_werror_flag" ||
39753 test ! -s conftest.err
39754 } && test -s conftest$ac_exeext &&
39755 $as_test_x conftest$ac_exeext; then
39756 ac_cv_lib_posix4_sched_get_priority_max=yes
39757 else
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39760
39761 ac_cv_lib_posix4_sched_get_priority_max=no
39762 fi
39763
39764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39765 conftest$ac_exeext conftest.$ac_ext
39766 LIBS=$ac_check_lib_save_LIBS
39767 fi
39768 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39769 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39770 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39771
39772 HAVE_PRIOR_FUNCS=1
39773 POSIX4_LINK=" -lposix4"
39774
39775 fi
39776
39777
39778 fi
39779
39780
39781 fi
39782
39783
39784 fi
39785
39786
39787 if test "$HAVE_PRIOR_FUNCS" = 1; then
39788 cat >>confdefs.h <<\_ACEOF
39789 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39790 _ACEOF
39791
39792 else
39793 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39794 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39795 fi
39796
39797 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39798 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39799 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39800 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 else
39802 cat >conftest.$ac_ext <<_ACEOF
39803 /* confdefs.h. */
39804 _ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39810 #define pthread_cancel innocuous_pthread_cancel
39811
39812 /* System header to define __stub macros and hopefully few prototypes,
39813 which can conflict with char pthread_cancel (); below.
39814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39815 <limits.h> exists even on freestanding compilers. */
39816
39817 #ifdef __STDC__
39818 # include <limits.h>
39819 #else
39820 # include <assert.h>
39821 #endif
39822
39823 #undef pthread_cancel
39824
39825 /* Override any GCC internal prototype to avoid an error.
39826 Use char because int might match the return type of a GCC
39827 builtin and then its argument prototype would still apply. */
39828 #ifdef __cplusplus
39829 extern "C"
39830 #endif
39831 char pthread_cancel ();
39832 /* The GNU C library defines this for functions which it implements
39833 to always fail with ENOSYS. Some functions are actually named
39834 something starting with __ and the normal name is an alias. */
39835 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39836 choke me
39837 #endif
39838
39839 int
39840 main ()
39841 {
39842 return pthread_cancel ();
39843 ;
39844 return 0;
39845 }
39846 _ACEOF
39847 rm -f conftest.$ac_objext conftest$ac_exeext
39848 if { (ac_try="$ac_link"
39849 case "(($ac_try" in
39850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39851 *) ac_try_echo=$ac_try;;
39852 esac
39853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39854 (eval "$ac_link") 2>conftest.er1
39855 ac_status=$?
39856 grep -v '^ *+' conftest.er1 >conftest.err
39857 rm -f conftest.er1
39858 cat conftest.err >&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } && {
39861 test -z "$ac_c_werror_flag" ||
39862 test ! -s conftest.err
39863 } && test -s conftest$ac_exeext &&
39864 $as_test_x conftest$ac_exeext; then
39865 ac_cv_func_pthread_cancel=yes
39866 else
39867 echo "$as_me: failed program was:" >&5
39868 sed 's/^/| /' conftest.$ac_ext >&5
39869
39870 ac_cv_func_pthread_cancel=no
39871 fi
39872
39873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39874 conftest$ac_exeext conftest.$ac_ext
39875 fi
39876 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39877 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39878 if test $ac_cv_func_pthread_cancel = yes; then
39879 cat >>confdefs.h <<\_ACEOF
39880 #define HAVE_PTHREAD_CANCEL 1
39881 _ACEOF
39882
39883 else
39884 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39885 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39886 fi
39887
39888
39889 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39890 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39891 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39892 echo $ECHO_N "(cached) $ECHO_C" >&6
39893 else
39894 cat >conftest.$ac_ext <<_ACEOF
39895 /* confdefs.h. */
39896 _ACEOF
39897 cat confdefs.h >>conftest.$ac_ext
39898 cat >>conftest.$ac_ext <<_ACEOF
39899 /* end confdefs.h. */
39900 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39902 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39903
39904 /* System header to define __stub macros and hopefully few prototypes,
39905 which can conflict with char pthread_mutex_timedlock (); below.
39906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39907 <limits.h> exists even on freestanding compilers. */
39908
39909 #ifdef __STDC__
39910 # include <limits.h>
39911 #else
39912 # include <assert.h>
39913 #endif
39914
39915 #undef pthread_mutex_timedlock
39916
39917 /* Override any GCC internal prototype to avoid an error.
39918 Use char because int might match the return type of a GCC
39919 builtin and then its argument prototype would still apply. */
39920 #ifdef __cplusplus
39921 extern "C"
39922 #endif
39923 char pthread_mutex_timedlock ();
39924 /* The GNU C library defines this for functions which it implements
39925 to always fail with ENOSYS. Some functions are actually named
39926 something starting with __ and the normal name is an alias. */
39927 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39928 choke me
39929 #endif
39930
39931 int
39932 main ()
39933 {
39934 return pthread_mutex_timedlock ();
39935 ;
39936 return 0;
39937 }
39938 _ACEOF
39939 rm -f conftest.$ac_objext conftest$ac_exeext
39940 if { (ac_try="$ac_link"
39941 case "(($ac_try" in
39942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39943 *) ac_try_echo=$ac_try;;
39944 esac
39945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39946 (eval "$ac_link") 2>conftest.er1
39947 ac_status=$?
39948 grep -v '^ *+' conftest.er1 >conftest.err
39949 rm -f conftest.er1
39950 cat conftest.err >&5
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); } && {
39953 test -z "$ac_c_werror_flag" ||
39954 test ! -s conftest.err
39955 } && test -s conftest$ac_exeext &&
39956 $as_test_x conftest$ac_exeext; then
39957 ac_cv_func_pthread_mutex_timedlock=yes
39958 else
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.$ac_ext >&5
39961
39962 ac_cv_func_pthread_mutex_timedlock=no
39963 fi
39964
39965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39966 conftest$ac_exeext conftest.$ac_ext
39967 fi
39968 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39969 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39970 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39971 cat >>confdefs.h <<\_ACEOF
39972 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39973 _ACEOF
39974
39975 else
39976 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39977 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39978 fi
39979
39980
39981 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39982 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39983 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39984 echo $ECHO_N "(cached) $ECHO_C" >&6
39985 else
39986 cat >conftest.$ac_ext <<_ACEOF
39987 /* confdefs.h. */
39988 _ACEOF
39989 cat confdefs.h >>conftest.$ac_ext
39990 cat >>conftest.$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39994 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39995
39996 /* System header to define __stub macros and hopefully few prototypes,
39997 which can conflict with char pthread_attr_setstacksize (); below.
39998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39999 <limits.h> exists even on freestanding compilers. */
40000
40001 #ifdef __STDC__
40002 # include <limits.h>
40003 #else
40004 # include <assert.h>
40005 #endif
40006
40007 #undef pthread_attr_setstacksize
40008
40009 /* Override any GCC internal prototype to avoid an error.
40010 Use char because int might match the return type of a GCC
40011 builtin and then its argument prototype would still apply. */
40012 #ifdef __cplusplus
40013 extern "C"
40014 #endif
40015 char pthread_attr_setstacksize ();
40016 /* The GNU C library defines this for functions which it implements
40017 to always fail with ENOSYS. Some functions are actually named
40018 something starting with __ and the normal name is an alias. */
40019 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40020 choke me
40021 #endif
40022
40023 int
40024 main ()
40025 {
40026 return pthread_attr_setstacksize ();
40027 ;
40028 return 0;
40029 }
40030 _ACEOF
40031 rm -f conftest.$ac_objext conftest$ac_exeext
40032 if { (ac_try="$ac_link"
40033 case "(($ac_try" in
40034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40035 *) ac_try_echo=$ac_try;;
40036 esac
40037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40038 (eval "$ac_link") 2>conftest.er1
40039 ac_status=$?
40040 grep -v '^ *+' conftest.er1 >conftest.err
40041 rm -f conftest.er1
40042 cat conftest.err >&5
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); } && {
40045 test -z "$ac_c_werror_flag" ||
40046 test ! -s conftest.err
40047 } && test -s conftest$ac_exeext &&
40048 $as_test_x conftest$ac_exeext; then
40049 ac_cv_func_pthread_attr_setstacksize=yes
40050 else
40051 echo "$as_me: failed program was:" >&5
40052 sed 's/^/| /' conftest.$ac_ext >&5
40053
40054 ac_cv_func_pthread_attr_setstacksize=no
40055 fi
40056
40057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40058 conftest$ac_exeext conftest.$ac_ext
40059 fi
40060 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40061 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40062 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40063 cat >>confdefs.h <<\_ACEOF
40064 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40065 _ACEOF
40066
40067 fi
40068
40069
40070
40071 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40072 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40073 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40076
40077 cat >conftest.$ac_ext <<_ACEOF
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <pthread.h>
40084 int
40085 main ()
40086 {
40087
40088 pthread_mutexattr_t attr;
40089 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40090
40091 ;
40092 return 0;
40093 }
40094 _ACEOF
40095 rm -f conftest.$ac_objext
40096 if { (ac_try="$ac_compile"
40097 case "(($ac_try" in
40098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40099 *) ac_try_echo=$ac_try;;
40100 esac
40101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40102 (eval "$ac_compile") 2>conftest.er1
40103 ac_status=$?
40104 grep -v '^ *+' conftest.er1 >conftest.err
40105 rm -f conftest.er1
40106 cat conftest.err >&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } && {
40109 test -z "$ac_c_werror_flag" ||
40110 test ! -s conftest.err
40111 } && test -s conftest.$ac_objext; then
40112 wx_cv_type_pthread_mutexattr_t=yes
40113 else
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.$ac_ext >&5
40116
40117 wx_cv_type_pthread_mutexattr_t=no
40118
40119 fi
40120
40121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40122
40123 fi
40124 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40125 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40126
40127 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40128 cat >>confdefs.h <<\_ACEOF
40129 #define HAVE_PTHREAD_MUTEXATTR_T 1
40130 _ACEOF
40131
40132
40133 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40134 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40135 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40137 else
40138
40139 cat >conftest.$ac_ext <<_ACEOF
40140 /* confdefs.h. */
40141 _ACEOF
40142 cat confdefs.h >>conftest.$ac_ext
40143 cat >>conftest.$ac_ext <<_ACEOF
40144 /* end confdefs.h. */
40145 #include <pthread.h>
40146 int
40147 main ()
40148 {
40149
40150 pthread_mutexattr_t attr;
40151 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40152
40153 ;
40154 return 0;
40155 }
40156 _ACEOF
40157 rm -f conftest.$ac_objext
40158 if { (ac_try="$ac_compile"
40159 case "(($ac_try" in
40160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40161 *) ac_try_echo=$ac_try;;
40162 esac
40163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40164 (eval "$ac_compile") 2>conftest.er1
40165 ac_status=$?
40166 grep -v '^ *+' conftest.er1 >conftest.err
40167 rm -f conftest.er1
40168 cat conftest.err >&5
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); } && {
40171 test -z "$ac_c_werror_flag" ||
40172 test ! -s conftest.err
40173 } && test -s conftest.$ac_objext; then
40174 wx_cv_func_pthread_mutexattr_settype_decl=yes
40175 else
40176 echo "$as_me: failed program was:" >&5
40177 sed 's/^/| /' conftest.$ac_ext >&5
40178
40179 wx_cv_func_pthread_mutexattr_settype_decl=no
40180
40181 fi
40182
40183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40184
40185 fi
40186 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40187 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40188 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40189 cat >>confdefs.h <<\_ACEOF
40190 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40191 _ACEOF
40192
40193 fi
40194 else
40195 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40196 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40197 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40198 echo $ECHO_N "(cached) $ECHO_C" >&6
40199 else
40200
40201 cat >conftest.$ac_ext <<_ACEOF
40202 /* confdefs.h. */
40203 _ACEOF
40204 cat confdefs.h >>conftest.$ac_ext
40205 cat >>conftest.$ac_ext <<_ACEOF
40206 /* end confdefs.h. */
40207 #include <pthread.h>
40208 int
40209 main ()
40210 {
40211
40212 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40213
40214 ;
40215 return 0;
40216 }
40217 _ACEOF
40218 rm -f conftest.$ac_objext
40219 if { (ac_try="$ac_compile"
40220 case "(($ac_try" in
40221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40222 *) ac_try_echo=$ac_try;;
40223 esac
40224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40225 (eval "$ac_compile") 2>conftest.er1
40226 ac_status=$?
40227 grep -v '^ *+' conftest.er1 >conftest.err
40228 rm -f conftest.er1
40229 cat conftest.err >&5
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); } && {
40232 test -z "$ac_c_werror_flag" ||
40233 test ! -s conftest.err
40234 } && test -s conftest.$ac_objext; then
40235
40236 wx_cv_type_pthread_rec_mutex_init=yes
40237
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242
40243 wx_cv_type_pthread_rec_mutex_init=no
40244
40245
40246 fi
40247
40248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40249
40250 fi
40251 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40252 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40253 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40254 cat >>confdefs.h <<\_ACEOF
40255 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40256 _ACEOF
40257
40258 else
40259 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40260 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40261 fi
40262 fi
40263
40264 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40265 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40266 if test "${wx_cv_cc___thread+set}" = set; then
40267 echo $ECHO_N "(cached) $ECHO_C" >&6
40268 else
40269
40270 cat >conftest.$ac_ext <<_ACEOF
40271 /* confdefs.h. */
40272 _ACEOF
40273 cat confdefs.h >>conftest.$ac_ext
40274 cat >>conftest.$ac_ext <<_ACEOF
40275 /* end confdefs.h. */
40276 #include <pthread.h>
40277 int
40278 main ()
40279 {
40280
40281 static __thread int n = 0;
40282 static __thread int *p = 0;
40283
40284 ;
40285 return 0;
40286 }
40287 _ACEOF
40288 rm -f conftest.$ac_objext
40289 if { (ac_try="$ac_compile"
40290 case "(($ac_try" in
40291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40292 *) ac_try_echo=$ac_try;;
40293 esac
40294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40295 (eval "$ac_compile") 2>conftest.er1
40296 ac_status=$?
40297 grep -v '^ *+' conftest.er1 >conftest.err
40298 rm -f conftest.er1
40299 cat conftest.err >&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); } && {
40302 test -z "$ac_c_werror_flag" ||
40303 test ! -s conftest.err
40304 } && test -s conftest.$ac_objext; then
40305 wx_cv_cc___thread=yes
40306 else
40307 echo "$as_me: failed program was:" >&5
40308 sed 's/^/| /' conftest.$ac_ext >&5
40309
40310 wx_cv_cc___thread=no
40311
40312 fi
40313
40314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40315
40316
40317 fi
40318 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40319 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40320
40321 if test "$wx_cv_cc___thread" = "yes"; then
40322
40323 GXX_VERSION=""
40324
40325
40326
40327 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40328 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40329
40330 if test "x$GCC" = "xyes" ; then
40331
40332 if test -z "" ; then
40333
40334 ax_gcc_option_test="int main()
40335 {
40336 return 0;
40337 }"
40338
40339 else
40340
40341 ax_gcc_option_test=""
40342
40343 fi
40344
40345
40346 # Dump the test program to file
40347 cat <<EOF > conftest.c
40348 $ax_gcc_option_test
40349 EOF
40350
40351 # Dump back the file to the log, useful for debugging purposes
40352 { ac_try='cat conftest.c 1>&5'
40353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40354 (eval $ac_try) 2>&5
40355 ac_status=$?
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); }; }
40358
40359 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40361 (eval $ac_try) 2>&5
40362 ac_status=$?
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); }; } ; then
40365
40366 { echo "$as_me:$LINENO: result: yes" >&5
40367 echo "${ECHO_T}yes" >&6; }
40368
40369 ax_gcc_version_option=yes
40370
40371
40372 else
40373
40374 { echo "$as_me:$LINENO: result: no" >&5
40375 echo "${ECHO_T}no" >&6; }
40376
40377 ax_gcc_version_option=no
40378
40379
40380 fi
40381
40382
40383 else
40384
40385 { echo "$as_me:$LINENO: result: no gcc available" >&5
40386 echo "${ECHO_T}no gcc available" >&6; }
40387
40388 fi
40389
40390
40391 if test "x$GXX" = "xyes"; then
40392
40393 if test "x$ax_gxx_version_option" != "no"; then
40394
40395 { echo "$as_me:$LINENO: checking gxx version" >&5
40396 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40397 if test "${ax_cv_gxx_version+set}" = set; then
40398 echo $ECHO_N "(cached) $ECHO_C" >&6
40399 else
40400
40401 ax_cv_gxx_version="`$CXX -dumpversion`"
40402 if test "x$ax_cv_gxx_version" = "x"; then
40403
40404 ax_cv_gxx_version=""
40405
40406 fi
40407
40408
40409 fi
40410 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40411 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40412 GXX_VERSION=$ax_cv_gxx_version
40413
40414 fi
40415
40416
40417 fi
40418
40419
40420
40421 if test -n "$ax_cv_gxx_version"; then
40422 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40423 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40424 case "$ax_cv_gxx_version" in
40425 1.* | 2.* | 3.* )
40426 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40427 echo "${ECHO_T}no, it's broken" >&6; }
40428 wx_cv_cc___thread=no
40429 ;;
40430 *)
40431 { echo "$as_me:$LINENO: result: yes, it works" >&5
40432 echo "${ECHO_T}yes, it works" >&6; }
40433 ;;
40434 esac
40435 fi
40436 fi
40437
40438 if test "$wx_cv_cc___thread" = "yes"; then
40439 cat >>confdefs.h <<\_ACEOF
40440 #define HAVE___THREAD_KEYWORD 1
40441 _ACEOF
40442
40443 fi
40444 fi
40445
40446 else
40447 if test "$wxUSE_THREADS" = "yes" ; then
40448 case "${host}" in
40449 x86_64-*-mingw32* )
40450 ;;
40451 *-*-mingw32* )
40452 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40453 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40454 if test "${wx_cv_cflags_mthread+set}" = set; then
40455 echo $ECHO_N "(cached) $ECHO_C" >&6
40456 else
40457
40458 CFLAGS_OLD="$CFLAGS"
40459 CFLAGS="-mthreads $CFLAGS"
40460 cat >conftest.$ac_ext <<_ACEOF
40461 /* confdefs.h. */
40462 _ACEOF
40463 cat confdefs.h >>conftest.$ac_ext
40464 cat >>conftest.$ac_ext <<_ACEOF
40465 /* end confdefs.h. */
40466
40467 int
40468 main ()
40469 {
40470
40471 ;
40472 return 0;
40473 }
40474 _ACEOF
40475 rm -f conftest.$ac_objext
40476 if { (ac_try="$ac_compile"
40477 case "(($ac_try" in
40478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40479 *) ac_try_echo=$ac_try;;
40480 esac
40481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40482 (eval "$ac_compile") 2>conftest.er1
40483 ac_status=$?
40484 grep -v '^ *+' conftest.er1 >conftest.err
40485 rm -f conftest.er1
40486 cat conftest.err >&5
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); } && {
40489 test -z "$ac_c_werror_flag" ||
40490 test ! -s conftest.err
40491 } && test -s conftest.$ac_objext; then
40492 wx_cv_cflags_mthread=yes
40493 else
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.$ac_ext >&5
40496
40497 wx_cv_cflags_mthread=no
40498
40499 fi
40500
40501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40502
40503
40504 fi
40505 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40506 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40507
40508 if test "$wx_cv_cflags_mthread" = "yes"; then
40509 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40510 LDFLAGS="$LDFLAGS -mthreads"
40511 else
40512 CFLAGS="$CFLAGS_OLD"
40513 fi
40514 ;;
40515 *-pc-os2*emx )
40516 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40517 LDFLAGS="$LDFLAGS -Zmt"
40518 ;;
40519 esac
40520 fi
40521 fi
40522
40523 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40524 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40525 if test "${ac_cv_func_localtime_r+set}" = set; then
40526 echo $ECHO_N "(cached) $ECHO_C" >&6
40527 else
40528 cat >conftest.$ac_ext <<_ACEOF
40529 /* confdefs.h. */
40530 _ACEOF
40531 cat confdefs.h >>conftest.$ac_ext
40532 cat >>conftest.$ac_ext <<_ACEOF
40533 /* end confdefs.h. */
40534 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40536 #define localtime_r innocuous_localtime_r
40537
40538 /* System header to define __stub macros and hopefully few prototypes,
40539 which can conflict with char localtime_r (); below.
40540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40541 <limits.h> exists even on freestanding compilers. */
40542
40543 #ifdef __STDC__
40544 # include <limits.h>
40545 #else
40546 # include <assert.h>
40547 #endif
40548
40549 #undef localtime_r
40550
40551 /* Override any GCC internal prototype to avoid an error.
40552 Use char because int might match the return type of a GCC
40553 builtin and then its argument prototype would still apply. */
40554 #ifdef __cplusplus
40555 extern "C"
40556 #endif
40557 char localtime_r ();
40558 /* The GNU C library defines this for functions which it implements
40559 to always fail with ENOSYS. Some functions are actually named
40560 something starting with __ and the normal name is an alias. */
40561 #if defined __stub_localtime_r || defined __stub___localtime_r
40562 choke me
40563 #endif
40564
40565 int
40566 main ()
40567 {
40568 return localtime_r ();
40569 ;
40570 return 0;
40571 }
40572 _ACEOF
40573 rm -f conftest.$ac_objext conftest$ac_exeext
40574 if { (ac_try="$ac_link"
40575 case "(($ac_try" in
40576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40577 *) ac_try_echo=$ac_try;;
40578 esac
40579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40580 (eval "$ac_link") 2>conftest.er1
40581 ac_status=$?
40582 grep -v '^ *+' conftest.er1 >conftest.err
40583 rm -f conftest.er1
40584 cat conftest.err >&5
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); } && {
40587 test -z "$ac_c_werror_flag" ||
40588 test ! -s conftest.err
40589 } && test -s conftest$ac_exeext &&
40590 $as_test_x conftest$ac_exeext; then
40591 ac_cv_func_localtime_r=yes
40592 else
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.$ac_ext >&5
40595
40596 ac_cv_func_localtime_r=no
40597 fi
40598
40599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40600 conftest$ac_exeext conftest.$ac_ext
40601 fi
40602 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40603 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40604 if test $ac_cv_func_localtime_r = yes; then
40605 cat >>confdefs.h <<\_ACEOF
40606 #define HAVE_LOCALTIME_R 1
40607 _ACEOF
40608
40609 fi
40610
40611 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40612 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40613 if test "${ac_cv_func_gmtime_r+set}" = set; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40615 else
40616 cat >conftest.$ac_ext <<_ACEOF
40617 /* confdefs.h. */
40618 _ACEOF
40619 cat confdefs.h >>conftest.$ac_ext
40620 cat >>conftest.$ac_ext <<_ACEOF
40621 /* end confdefs.h. */
40622 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40624 #define gmtime_r innocuous_gmtime_r
40625
40626 /* System header to define __stub macros and hopefully few prototypes,
40627 which can conflict with char gmtime_r (); below.
40628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40629 <limits.h> exists even on freestanding compilers. */
40630
40631 #ifdef __STDC__
40632 # include <limits.h>
40633 #else
40634 # include <assert.h>
40635 #endif
40636
40637 #undef gmtime_r
40638
40639 /* Override any GCC internal prototype to avoid an error.
40640 Use char because int might match the return type of a GCC
40641 builtin and then its argument prototype would still apply. */
40642 #ifdef __cplusplus
40643 extern "C"
40644 #endif
40645 char gmtime_r ();
40646 /* The GNU C library defines this for functions which it implements
40647 to always fail with ENOSYS. Some functions are actually named
40648 something starting with __ and the normal name is an alias. */
40649 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40650 choke me
40651 #endif
40652
40653 int
40654 main ()
40655 {
40656 return gmtime_r ();
40657 ;
40658 return 0;
40659 }
40660 _ACEOF
40661 rm -f conftest.$ac_objext conftest$ac_exeext
40662 if { (ac_try="$ac_link"
40663 case "(($ac_try" in
40664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40665 *) ac_try_echo=$ac_try;;
40666 esac
40667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40668 (eval "$ac_link") 2>conftest.er1
40669 ac_status=$?
40670 grep -v '^ *+' conftest.er1 >conftest.err
40671 rm -f conftest.er1
40672 cat conftest.err >&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); } && {
40675 test -z "$ac_c_werror_flag" ||
40676 test ! -s conftest.err
40677 } && test -s conftest$ac_exeext &&
40678 $as_test_x conftest$ac_exeext; then
40679 ac_cv_func_gmtime_r=yes
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40683
40684 ac_cv_func_gmtime_r=no
40685 fi
40686
40687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40688 conftest$ac_exeext conftest.$ac_ext
40689 fi
40690 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40691 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40692 if test $ac_cv_func_gmtime_r = yes; then
40693 cat >>confdefs.h <<\_ACEOF
40694 #define HAVE_GMTIME_R 1
40695 _ACEOF
40696
40697 fi
40698
40699
40700
40701
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40707
40708 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40709 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40710
40711 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40712 echo $ECHO_N "(cached) $ECHO_C" >&6
40713 else
40714
40715
40716 ################################################################
40717
40718 ac_cv_func_which_gethostbyname_r=unknown
40719
40720 #
40721 # ONE ARGUMENT (sanity check)
40722 #
40723
40724 # This should fail, as there is no variant of gethostbyname_r() that takes
40725 # a single argument. If it actually compiles, then we can assume that
40726 # netdb.h is not declaring the function, and the compiler is thereby
40727 # assuming an implicit prototype. In which case, we're out of luck.
40728 #
40729 cat >conftest.$ac_ext <<_ACEOF
40730 /* confdefs.h. */
40731 _ACEOF
40732 cat confdefs.h >>conftest.$ac_ext
40733 cat >>conftest.$ac_ext <<_ACEOF
40734 /* end confdefs.h. */
40735 #include <netdb.h>
40736 int
40737 main ()
40738 {
40739
40740 char *name = "www.gnu.org";
40741 (void)gethostbyname_r(name) /* ; */
40742
40743 ;
40744 return 0;
40745 }
40746 _ACEOF
40747 rm -f conftest.$ac_objext
40748 if { (ac_try="$ac_compile"
40749 case "(($ac_try" in
40750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40751 *) ac_try_echo=$ac_try;;
40752 esac
40753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40754 (eval "$ac_compile") 2>conftest.er1
40755 ac_status=$?
40756 grep -v '^ *+' conftest.er1 >conftest.err
40757 rm -f conftest.er1
40758 cat conftest.err >&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); } && {
40761 test -z "$ac_c_werror_flag" ||
40762 test ! -s conftest.err
40763 } && test -s conftest.$ac_objext; then
40764 ac_cv_func_which_gethostbyname_r=no
40765 else
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.$ac_ext >&5
40768
40769
40770 fi
40771
40772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40773
40774 #
40775 # SIX ARGUMENTS
40776 # (e.g. Linux)
40777 #
40778
40779 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40780
40781 cat >conftest.$ac_ext <<_ACEOF
40782 /* confdefs.h. */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 #include <netdb.h>
40788 int
40789 main ()
40790 {
40791
40792 char *name = "www.gnu.org";
40793 struct hostent ret, *retp;
40794 char buf[1024];
40795 int buflen = 1024;
40796 int my_h_errno;
40797 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40798
40799 ;
40800 return 0;
40801 }
40802 _ACEOF
40803 rm -f conftest.$ac_objext
40804 if { (ac_try="$ac_compile"
40805 case "(($ac_try" in
40806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40807 *) ac_try_echo=$ac_try;;
40808 esac
40809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40810 (eval "$ac_compile") 2>conftest.er1
40811 ac_status=$?
40812 grep -v '^ *+' conftest.er1 >conftest.err
40813 rm -f conftest.er1
40814 cat conftest.err >&5
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); } && {
40817 test -z "$ac_c_werror_flag" ||
40818 test ! -s conftest.err
40819 } && test -s conftest.$ac_objext; then
40820 ac_cv_func_which_gethostbyname_r=six
40821 else
40822 echo "$as_me: failed program was:" >&5
40823 sed 's/^/| /' conftest.$ac_ext >&5
40824
40825
40826 fi
40827
40828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40829
40830 fi
40831
40832 #
40833 # FIVE ARGUMENTS
40834 # (e.g. Solaris)
40835 #
40836
40837 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40838
40839 cat >conftest.$ac_ext <<_ACEOF
40840 /* confdefs.h. */
40841 _ACEOF
40842 cat confdefs.h >>conftest.$ac_ext
40843 cat >>conftest.$ac_ext <<_ACEOF
40844 /* end confdefs.h. */
40845 #include <netdb.h>
40846 int
40847 main ()
40848 {
40849
40850 char *name = "www.gnu.org";
40851 struct hostent ret;
40852 char buf[1024];
40853 int buflen = 1024;
40854 int my_h_errno;
40855 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40856
40857 ;
40858 return 0;
40859 }
40860 _ACEOF
40861 rm -f conftest.$ac_objext
40862 if { (ac_try="$ac_compile"
40863 case "(($ac_try" in
40864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40865 *) ac_try_echo=$ac_try;;
40866 esac
40867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40868 (eval "$ac_compile") 2>conftest.er1
40869 ac_status=$?
40870 grep -v '^ *+' conftest.er1 >conftest.err
40871 rm -f conftest.er1
40872 cat conftest.err >&5
40873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40874 (exit $ac_status); } && {
40875 test -z "$ac_c_werror_flag" ||
40876 test ! -s conftest.err
40877 } && test -s conftest.$ac_objext; then
40878 ac_cv_func_which_gethostbyname_r=five
40879 else
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.$ac_ext >&5
40882
40883
40884 fi
40885
40886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40887
40888 fi
40889
40890 #
40891 # THREE ARGUMENTS
40892 # (e.g. AIX, HP-UX, Tru64)
40893 #
40894
40895 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40896
40897 cat >conftest.$ac_ext <<_ACEOF
40898 /* confdefs.h. */
40899 _ACEOF
40900 cat confdefs.h >>conftest.$ac_ext
40901 cat >>conftest.$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40903 #include <netdb.h>
40904 int
40905 main ()
40906 {
40907
40908 char *name = "www.gnu.org";
40909 struct hostent ret;
40910 struct hostent_data data;
40911 (void)gethostbyname_r(name, &ret, &data) /* ; */
40912
40913 ;
40914 return 0;
40915 }
40916 _ACEOF
40917 rm -f conftest.$ac_objext
40918 if { (ac_try="$ac_compile"
40919 case "(($ac_try" in
40920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40921 *) ac_try_echo=$ac_try;;
40922 esac
40923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40924 (eval "$ac_compile") 2>conftest.er1
40925 ac_status=$?
40926 grep -v '^ *+' conftest.er1 >conftest.err
40927 rm -f conftest.er1
40928 cat conftest.err >&5
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); } && {
40931 test -z "$ac_c_werror_flag" ||
40932 test ! -s conftest.err
40933 } && test -s conftest.$ac_objext; then
40934 ac_cv_func_which_gethostbyname_r=three
40935 else
40936 echo "$as_me: failed program was:" >&5
40937 sed 's/^/| /' conftest.$ac_ext >&5
40938
40939
40940 fi
40941
40942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40943
40944 fi
40945
40946 ################################################################
40947
40948
40949 fi
40950
40951 case "$ac_cv_func_which_gethostbyname_r" in
40952 three)
40953 { echo "$as_me:$LINENO: result: three" >&5
40954 echo "${ECHO_T}three" >&6; }
40955 cat >>confdefs.h <<\_ACEOF
40956 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40957 _ACEOF
40958
40959 ;;
40960
40961 five)
40962 { echo "$as_me:$LINENO: result: five" >&5
40963 echo "${ECHO_T}five" >&6; }
40964 cat >>confdefs.h <<\_ACEOF
40965 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40966 _ACEOF
40967
40968 ;;
40969
40970 six)
40971 { echo "$as_me:$LINENO: result: six" >&5
40972 echo "${ECHO_T}six" >&6; }
40973 cat >>confdefs.h <<\_ACEOF
40974 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40975 _ACEOF
40976
40977 ;;
40978
40979 no)
40980 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40981 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40982 ;;
40983
40984 unknown)
40985 { echo "$as_me:$LINENO: result: can't tell" >&5
40986 echo "${ECHO_T}can't tell" >&6; }
40987 ;;
40988
40989 *)
40990 { { echo "$as_me:$LINENO: error: internal error" >&5
40991 echo "$as_me: error: internal error" >&2;}
40992 { (exit 1); exit 1; }; }
40993 ;;
40994 esac
40995
40996 ac_ext=c
40997 ac_cpp='$CPP $CPPFLAGS'
40998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41001
41002
41003
41004 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41005 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41006 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41007 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41008 if test "${ac_cv_func_gethostbyname+set}" = set; then
41009 echo $ECHO_N "(cached) $ECHO_C" >&6
41010 else
41011 cat >conftest.$ac_ext <<_ACEOF
41012 /* confdefs.h. */
41013 _ACEOF
41014 cat confdefs.h >>conftest.$ac_ext
41015 cat >>conftest.$ac_ext <<_ACEOF
41016 /* end confdefs.h. */
41017 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41019 #define gethostbyname innocuous_gethostbyname
41020
41021 /* System header to define __stub macros and hopefully few prototypes,
41022 which can conflict with char gethostbyname (); below.
41023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41024 <limits.h> exists even on freestanding compilers. */
41025
41026 #ifdef __STDC__
41027 # include <limits.h>
41028 #else
41029 # include <assert.h>
41030 #endif
41031
41032 #undef gethostbyname
41033
41034 /* Override any GCC internal prototype to avoid an error.
41035 Use char because int might match the return type of a GCC
41036 builtin and then its argument prototype would still apply. */
41037 #ifdef __cplusplus
41038 extern "C"
41039 #endif
41040 char gethostbyname ();
41041 /* The GNU C library defines this for functions which it implements
41042 to always fail with ENOSYS. Some functions are actually named
41043 something starting with __ and the normal name is an alias. */
41044 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41045 choke me
41046 #endif
41047
41048 int
41049 main ()
41050 {
41051 return gethostbyname ();
41052 ;
41053 return 0;
41054 }
41055 _ACEOF
41056 rm -f conftest.$ac_objext conftest$ac_exeext
41057 if { (ac_try="$ac_link"
41058 case "(($ac_try" in
41059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41060 *) ac_try_echo=$ac_try;;
41061 esac
41062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41063 (eval "$ac_link") 2>conftest.er1
41064 ac_status=$?
41065 grep -v '^ *+' conftest.er1 >conftest.err
41066 rm -f conftest.er1
41067 cat conftest.err >&5
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); } && {
41070 test -z "$ac_c_werror_flag" ||
41071 test ! -s conftest.err
41072 } && test -s conftest$ac_exeext &&
41073 $as_test_x conftest$ac_exeext; then
41074 ac_cv_func_gethostbyname=yes
41075 else
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 ac_cv_func_gethostbyname=no
41080 fi
41081
41082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41083 conftest$ac_exeext conftest.$ac_ext
41084 fi
41085 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41086 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41087 if test $ac_cv_func_gethostbyname = yes; then
41088 cat >>confdefs.h <<\_ACEOF
41089 #define HAVE_GETHOSTBYNAME 1
41090 _ACEOF
41091
41092 fi
41093
41094 fi
41095
41096 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41097 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41098 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41100 else
41101
41102 ac_ext=cpp
41103 ac_cpp='$CXXCPP $CPPFLAGS'
41104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41107
41108
41109 cat >conftest.$ac_ext <<_ACEOF
41110 /* confdefs.h. */
41111 _ACEOF
41112 cat confdefs.h >>conftest.$ac_ext
41113 cat >>conftest.$ac_ext <<_ACEOF
41114 /* end confdefs.h. */
41115 #include <netdb.h>
41116 int
41117 main ()
41118 {
41119
41120 char *name;
41121 char *proto;
41122 struct servent *se, *res;
41123 char buffer[2048];
41124 int buflen = 2048;
41125 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41126
41127 ;
41128 return 0;
41129 }
41130 _ACEOF
41131 rm -f conftest.$ac_objext
41132 if { (ac_try="$ac_compile"
41133 case "(($ac_try" in
41134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41135 *) ac_try_echo=$ac_try;;
41136 esac
41137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41138 (eval "$ac_compile") 2>conftest.er1
41139 ac_status=$?
41140 grep -v '^ *+' conftest.er1 >conftest.err
41141 rm -f conftest.er1
41142 cat conftest.err >&5
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); } && {
41145 test -z "$ac_cxx_werror_flag" ||
41146 test ! -s conftest.err
41147 } && test -s conftest.$ac_objext; then
41148 ac_cv_func_which_getservbyname_r=six
41149 else
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41152
41153
41154 cat >conftest.$ac_ext <<_ACEOF
41155 /* confdefs.h. */
41156 _ACEOF
41157 cat confdefs.h >>conftest.$ac_ext
41158 cat >>conftest.$ac_ext <<_ACEOF
41159 /* end confdefs.h. */
41160 #include <netdb.h>
41161 int
41162 main ()
41163 {
41164
41165 char *name;
41166 char *proto;
41167 struct servent *se;
41168 char buffer[2048];
41169 int buflen = 2048;
41170 (void) getservbyname_r(name, proto, se, buffer, buflen)
41171
41172 ;
41173 return 0;
41174 }
41175 _ACEOF
41176 rm -f conftest.$ac_objext
41177 if { (ac_try="$ac_compile"
41178 case "(($ac_try" in
41179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41180 *) ac_try_echo=$ac_try;;
41181 esac
41182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41183 (eval "$ac_compile") 2>conftest.er1
41184 ac_status=$?
41185 grep -v '^ *+' conftest.er1 >conftest.err
41186 rm -f conftest.er1
41187 cat conftest.err >&5
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); } && {
41190 test -z "$ac_cxx_werror_flag" ||
41191 test ! -s conftest.err
41192 } && test -s conftest.$ac_objext; then
41193 ac_cv_func_which_getservbyname_r=five
41194 else
41195 echo "$as_me: failed program was:" >&5
41196 sed 's/^/| /' conftest.$ac_ext >&5
41197
41198
41199 cat >conftest.$ac_ext <<_ACEOF
41200 /* confdefs.h. */
41201 _ACEOF
41202 cat confdefs.h >>conftest.$ac_ext
41203 cat >>conftest.$ac_ext <<_ACEOF
41204 /* end confdefs.h. */
41205 #include <netdb.h>
41206 int
41207 main ()
41208 {
41209
41210 char *name;
41211 char *proto;
41212 struct servent *se;
41213 struct servent_data data;
41214 (void) getservbyname_r(name, proto, se, &data);
41215
41216 ;
41217 return 0;
41218 }
41219 _ACEOF
41220 rm -f conftest.$ac_objext
41221 if { (ac_try="$ac_compile"
41222 case "(($ac_try" in
41223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41224 *) ac_try_echo=$ac_try;;
41225 esac
41226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41227 (eval "$ac_compile") 2>conftest.er1
41228 ac_status=$?
41229 grep -v '^ *+' conftest.er1 >conftest.err
41230 rm -f conftest.er1
41231 cat conftest.err >&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } && {
41234 test -z "$ac_cxx_werror_flag" ||
41235 test ! -s conftest.err
41236 } && test -s conftest.$ac_objext; then
41237 ac_cv_func_which_getservbyname_r=four
41238 else
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41241
41242 ac_cv_func_which_getservbyname_r=no
41243
41244 fi
41245
41246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41247
41248
41249 fi
41250
41251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41252
41253
41254 fi
41255
41256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41257 ac_ext=c
41258 ac_cpp='$CPP $CPPFLAGS'
41259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41262
41263
41264
41265 fi
41266 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41267 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41268
41269 if test $ac_cv_func_which_getservbyname_r = six; then
41270 cat >>confdefs.h <<\_ACEOF
41271 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41272 _ACEOF
41273
41274 elif test $ac_cv_func_which_getservbyname_r = five; then
41275 cat >>confdefs.h <<\_ACEOF
41276 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41277 _ACEOF
41278
41279 elif test $ac_cv_func_which_getservbyname_r = four; then
41280 cat >>confdefs.h <<\_ACEOF
41281 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41282 _ACEOF
41283
41284 fi
41285
41286
41287 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41288 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41289
41290 for ac_func in getservbyname
41291 do
41292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41296 echo $ECHO_N "(cached) $ECHO_C" >&6
41297 else
41298 cat >conftest.$ac_ext <<_ACEOF
41299 /* confdefs.h. */
41300 _ACEOF
41301 cat confdefs.h >>conftest.$ac_ext
41302 cat >>conftest.$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41306 #define $ac_func innocuous_$ac_func
41307
41308 /* System header to define __stub macros and hopefully few prototypes,
41309 which can conflict with char $ac_func (); below.
41310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41311 <limits.h> exists even on freestanding compilers. */
41312
41313 #ifdef __STDC__
41314 # include <limits.h>
41315 #else
41316 # include <assert.h>
41317 #endif
41318
41319 #undef $ac_func
41320
41321 /* Override any GCC internal prototype to avoid an error.
41322 Use char because int might match the return type of a GCC
41323 builtin and then its argument prototype would still apply. */
41324 #ifdef __cplusplus
41325 extern "C"
41326 #endif
41327 char $ac_func ();
41328 /* The GNU C library defines this for functions which it implements
41329 to always fail with ENOSYS. Some functions are actually named
41330 something starting with __ and the normal name is an alias. */
41331 #if defined __stub_$ac_func || defined __stub___$ac_func
41332 choke me
41333 #endif
41334
41335 int
41336 main ()
41337 {
41338 return $ac_func ();
41339 ;
41340 return 0;
41341 }
41342 _ACEOF
41343 rm -f conftest.$ac_objext conftest$ac_exeext
41344 if { (ac_try="$ac_link"
41345 case "(($ac_try" in
41346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41347 *) ac_try_echo=$ac_try;;
41348 esac
41349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41350 (eval "$ac_link") 2>conftest.er1
41351 ac_status=$?
41352 grep -v '^ *+' conftest.er1 >conftest.err
41353 rm -f conftest.er1
41354 cat conftest.err >&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); } && {
41357 test -z "$ac_c_werror_flag" ||
41358 test ! -s conftest.err
41359 } && test -s conftest$ac_exeext &&
41360 $as_test_x conftest$ac_exeext; then
41361 eval "$as_ac_var=yes"
41362 else
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.$ac_ext >&5
41365
41366 eval "$as_ac_var=no"
41367 fi
41368
41369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41370 conftest$ac_exeext conftest.$ac_ext
41371 fi
41372 ac_res=`eval echo '${'$as_ac_var'}'`
41373 { echo "$as_me:$LINENO: result: $ac_res" >&5
41374 echo "${ECHO_T}$ac_res" >&6; }
41375 if test `eval echo '${'$as_ac_var'}'` = yes; then
41376 cat >>confdefs.h <<_ACEOF
41377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41378 _ACEOF
41379 cat >>confdefs.h <<\_ACEOF
41380 #define HAVE_GETSERVBYNAME 1
41381 _ACEOF
41382
41383 fi
41384 done
41385
41386 fi
41387
41388 if test "$wxUSE_THREADS" = "yes"; then
41389 cat >>confdefs.h <<\_ACEOF
41390 #define wxUSE_THREADS 1
41391 _ACEOF
41392
41393
41394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41395 else
41396 if test "$wx_cv_func_strtok_r" = "yes"; then
41397 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41398 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41399 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41400 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41401 { echo "$as_me:$LINENO: result: yes" >&5
41402 echo "${ECHO_T}yes" >&6; }
41403 else
41404 { echo "$as_me:$LINENO: result: no" >&5
41405 echo "${ECHO_T}no" >&6; }
41406 fi
41407 fi
41408 fi
41409
41410 if test "$WXGTK2" = 1 ; then
41411 cat >>confdefs.h <<_ACEOF
41412 #define __WXGTK20__ $WXGTK2
41413 _ACEOF
41414
41415 WXGTK12=1
41416 fi
41417
41418 if test "$WXGTK12" = 1 ; then
41419 cat >>confdefs.h <<_ACEOF
41420 #define __WXGTK12__ $WXGTK12
41421 _ACEOF
41422
41423 fi
41424
41425 if test "$WXGTK127" = 1 ; then
41426 cat >>confdefs.h <<_ACEOF
41427 #define __WXGTK127__ $WXGTK127
41428 _ACEOF
41429
41430 fi
41431
41432 if test "$WXGPE" = 1 ; then
41433 cat >>confdefs.h <<_ACEOF
41434 #define __WXGPE__ $WXGPE
41435 _ACEOF
41436
41437 fi
41438
41439 DEBUG_CFLAGS=
41440 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41441 DEBUG_CFLAGS="-g"
41442 fi
41443
41444 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41445 wxUSE_DEBUG_INFO=yes
41446 if test "$GCC" = yes; then
41447 DEBUG_CFLAGS="-ggdb"
41448 fi
41449 fi
41450
41451 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41452 cat >>confdefs.h <<\_ACEOF
41453 #define WXDEBUG 1
41454 _ACEOF
41455
41456 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41457 else
41458 if test "$wxUSE_GTK" = 1 ; then
41459 if test "x$wxGTK_VERSION" = "x1" ; then
41460 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41461 fi
41462 fi
41463 fi
41464
41465 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41466 cat >>confdefs.h <<\_ACEOF
41467 #define wxUSE_MEMORY_TRACING 1
41468 _ACEOF
41469
41470 cat >>confdefs.h <<\_ACEOF
41471 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41472 _ACEOF
41473
41474 cat >>confdefs.h <<\_ACEOF
41475 #define wxUSE_DEBUG_NEW_ALWAYS 1
41476 _ACEOF
41477
41478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41479 fi
41480
41481 if test "$wxUSE_DMALLOC" = "yes" ; then
41482 DMALLOC_LIBS="-ldmallocthcxx"
41483 fi
41484
41485 PROFILE_FLAGS=
41486 if test "$wxUSE_PROFILE" = "yes" ; then
41487 PROFILE_FLAGS=" -pg"
41488 fi
41489
41490 if test "$GCC" = "yes" ; then
41491 if test "$wxUSE_NO_RTTI" = "yes" ; then
41492 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41493 fi
41494 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41495 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41496 fi
41497 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41498 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41499 fi
41500
41501 case "${host}" in
41502 powerpc*-*-aix* )
41503 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41504 ;;
41505 *-hppa* )
41506 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41507 ;;
41508 esac
41509 fi
41510
41511 OPTIMISE_CFLAGS=
41512 if test "$wxUSE_OPTIMISE" = "no" ; then
41513 if test "$GCC" = yes ; then
41514 OPTIMISE_CFLAGS="-O0"
41515 fi
41516 else
41517 if test "$GCC" = yes ; then
41518 case "${host}" in
41519 *-pc-os2_emx | *-pc-os2-emx )
41520 OPTIMISE_CFLAGS="-O2"
41521 ;;
41522 *)
41523 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41524 ;;
41525 esac
41526 else
41527 OPTIMISE_CFLAGS="-O"
41528 fi
41529 fi
41530
41531
41532 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41533 cat >>confdefs.h <<\_ACEOF
41534 #define WXWIN_COMPATIBILITY_2_6 1
41535 _ACEOF
41536
41537
41538 WXWIN_COMPATIBILITY_2_8="yes"
41539 fi
41540
41541 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41542 cat >>confdefs.h <<\_ACEOF
41543 #define WXWIN_COMPATIBILITY_2_8 1
41544 _ACEOF
41545
41546 fi
41547
41548
41549 if test "$wxUSE_GUI" = "yes"; then
41550 cat >>confdefs.h <<\_ACEOF
41551 #define wxUSE_GUI 1
41552 _ACEOF
41553
41554
41555 fi
41556
41557
41558 if test "$wxUSE_UNIX" = "yes"; then
41559 cat >>confdefs.h <<\_ACEOF
41560 #define wxUSE_UNIX 1
41561 _ACEOF
41562
41563 fi
41564
41565
41566 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41567
41568 HAVE_DL_FUNCS=0
41569 HAVE_SHL_FUNCS=0
41570 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41571 if test "$USE_DOS" = 1; then
41572 HAVE_DL_FUNCS=0
41573 else
41574
41575 for ac_func in dlopen
41576 do
41577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41578 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41580 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41581 echo $ECHO_N "(cached) $ECHO_C" >&6
41582 else
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41591 #define $ac_func innocuous_$ac_func
41592
41593 /* System header to define __stub macros and hopefully few prototypes,
41594 which can conflict with char $ac_func (); below.
41595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41596 <limits.h> exists even on freestanding compilers. */
41597
41598 #ifdef __STDC__
41599 # include <limits.h>
41600 #else
41601 # include <assert.h>
41602 #endif
41603
41604 #undef $ac_func
41605
41606 /* Override any GCC internal prototype to avoid an error.
41607 Use char because int might match the return type of a GCC
41608 builtin and then its argument prototype would still apply. */
41609 #ifdef __cplusplus
41610 extern "C"
41611 #endif
41612 char $ac_func ();
41613 /* The GNU C library defines this for functions which it implements
41614 to always fail with ENOSYS. Some functions are actually named
41615 something starting with __ and the normal name is an alias. */
41616 #if defined __stub_$ac_func || defined __stub___$ac_func
41617 choke me
41618 #endif
41619
41620 int
41621 main ()
41622 {
41623 return $ac_func ();
41624 ;
41625 return 0;
41626 }
41627 _ACEOF
41628 rm -f conftest.$ac_objext conftest$ac_exeext
41629 if { (ac_try="$ac_link"
41630 case "(($ac_try" in
41631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41632 *) ac_try_echo=$ac_try;;
41633 esac
41634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41635 (eval "$ac_link") 2>conftest.er1
41636 ac_status=$?
41637 grep -v '^ *+' conftest.er1 >conftest.err
41638 rm -f conftest.er1
41639 cat conftest.err >&5
41640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641 (exit $ac_status); } && {
41642 test -z "$ac_c_werror_flag" ||
41643 test ! -s conftest.err
41644 } && test -s conftest$ac_exeext &&
41645 $as_test_x conftest$ac_exeext; then
41646 eval "$as_ac_var=yes"
41647 else
41648 echo "$as_me: failed program was:" >&5
41649 sed 's/^/| /' conftest.$ac_ext >&5
41650
41651 eval "$as_ac_var=no"
41652 fi
41653
41654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41655 conftest$ac_exeext conftest.$ac_ext
41656 fi
41657 ac_res=`eval echo '${'$as_ac_var'}'`
41658 { echo "$as_me:$LINENO: result: $ac_res" >&5
41659 echo "${ECHO_T}$ac_res" >&6; }
41660 if test `eval echo '${'$as_ac_var'}'` = yes; then
41661 cat >>confdefs.h <<_ACEOF
41662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41663 _ACEOF
41664
41665 cat >>confdefs.h <<\_ACEOF
41666 #define HAVE_DLOPEN 1
41667 _ACEOF
41668
41669 HAVE_DL_FUNCS=1
41670
41671 else
41672
41673 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41674 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41675 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41676 echo $ECHO_N "(cached) $ECHO_C" >&6
41677 else
41678 ac_check_lib_save_LIBS=$LIBS
41679 LIBS="-ldl $LIBS"
41680 cat >conftest.$ac_ext <<_ACEOF
41681 /* confdefs.h. */
41682 _ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41686
41687 /* Override any GCC internal prototype to avoid an error.
41688 Use char because int might match the return type of a GCC
41689 builtin and then its argument prototype would still apply. */
41690 #ifdef __cplusplus
41691 extern "C"
41692 #endif
41693 char dlopen ();
41694 int
41695 main ()
41696 {
41697 return dlopen ();
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (ac_try="$ac_link"
41704 case "(($ac_try" in
41705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41706 *) ac_try_echo=$ac_try;;
41707 esac
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_link") 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest$ac_exeext &&
41719 $as_test_x conftest$ac_exeext; then
41720 ac_cv_lib_dl_dlopen=yes
41721 else
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.$ac_ext >&5
41724
41725 ac_cv_lib_dl_dlopen=no
41726 fi
41727
41728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41729 conftest$ac_exeext conftest.$ac_ext
41730 LIBS=$ac_check_lib_save_LIBS
41731 fi
41732 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41733 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41734 if test $ac_cv_lib_dl_dlopen = yes; then
41735
41736 cat >>confdefs.h <<\_ACEOF
41737 #define HAVE_DLOPEN 1
41738 _ACEOF
41739
41740 HAVE_DL_FUNCS=1
41741 DL_LINK=" -ldl$DL_LINK"
41742
41743 else
41744
41745
41746 for ac_func in shl_load
41747 do
41748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41752 echo $ECHO_N "(cached) $ECHO_C" >&6
41753 else
41754 cat >conftest.$ac_ext <<_ACEOF
41755 /* confdefs.h. */
41756 _ACEOF
41757 cat confdefs.h >>conftest.$ac_ext
41758 cat >>conftest.$ac_ext <<_ACEOF
41759 /* end confdefs.h. */
41760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41762 #define $ac_func innocuous_$ac_func
41763
41764 /* System header to define __stub macros and hopefully few prototypes,
41765 which can conflict with char $ac_func (); below.
41766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41767 <limits.h> exists even on freestanding compilers. */
41768
41769 #ifdef __STDC__
41770 # include <limits.h>
41771 #else
41772 # include <assert.h>
41773 #endif
41774
41775 #undef $ac_func
41776
41777 /* Override any GCC internal prototype to avoid an error.
41778 Use char because int might match the return type of a GCC
41779 builtin and then its argument prototype would still apply. */
41780 #ifdef __cplusplus
41781 extern "C"
41782 #endif
41783 char $ac_func ();
41784 /* The GNU C library defines this for functions which it implements
41785 to always fail with ENOSYS. Some functions are actually named
41786 something starting with __ and the normal name is an alias. */
41787 #if defined __stub_$ac_func || defined __stub___$ac_func
41788 choke me
41789 #endif
41790
41791 int
41792 main ()
41793 {
41794 return $ac_func ();
41795 ;
41796 return 0;
41797 }
41798 _ACEOF
41799 rm -f conftest.$ac_objext conftest$ac_exeext
41800 if { (ac_try="$ac_link"
41801 case "(($ac_try" in
41802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41803 *) ac_try_echo=$ac_try;;
41804 esac
41805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41806 (eval "$ac_link") 2>conftest.er1
41807 ac_status=$?
41808 grep -v '^ *+' conftest.er1 >conftest.err
41809 rm -f conftest.er1
41810 cat conftest.err >&5
41811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41812 (exit $ac_status); } && {
41813 test -z "$ac_c_werror_flag" ||
41814 test ! -s conftest.err
41815 } && test -s conftest$ac_exeext &&
41816 $as_test_x conftest$ac_exeext; then
41817 eval "$as_ac_var=yes"
41818 else
41819 echo "$as_me: failed program was:" >&5
41820 sed 's/^/| /' conftest.$ac_ext >&5
41821
41822 eval "$as_ac_var=no"
41823 fi
41824
41825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41826 conftest$ac_exeext conftest.$ac_ext
41827 fi
41828 ac_res=`eval echo '${'$as_ac_var'}'`
41829 { echo "$as_me:$LINENO: result: $ac_res" >&5
41830 echo "${ECHO_T}$ac_res" >&6; }
41831 if test `eval echo '${'$as_ac_var'}'` = yes; then
41832 cat >>confdefs.h <<_ACEOF
41833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41834 _ACEOF
41835
41836 cat >>confdefs.h <<\_ACEOF
41837 #define HAVE_SHL_LOAD 1
41838 _ACEOF
41839
41840 HAVE_SHL_FUNCS=1
41841
41842 else
41843
41844 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41845 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41846 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41847 echo $ECHO_N "(cached) $ECHO_C" >&6
41848 else
41849 ac_check_lib_save_LIBS=$LIBS
41850 LIBS="-lshl_load $LIBS"
41851 cat >conftest.$ac_ext <<_ACEOF
41852 /* confdefs.h. */
41853 _ACEOF
41854 cat confdefs.h >>conftest.$ac_ext
41855 cat >>conftest.$ac_ext <<_ACEOF
41856 /* end confdefs.h. */
41857
41858 /* Override any GCC internal prototype to avoid an error.
41859 Use char because int might match the return type of a GCC
41860 builtin and then its argument prototype would still apply. */
41861 #ifdef __cplusplus
41862 extern "C"
41863 #endif
41864 char dld ();
41865 int
41866 main ()
41867 {
41868 return dld ();
41869 ;
41870 return 0;
41871 }
41872 _ACEOF
41873 rm -f conftest.$ac_objext conftest$ac_exeext
41874 if { (ac_try="$ac_link"
41875 case "(($ac_try" in
41876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41877 *) ac_try_echo=$ac_try;;
41878 esac
41879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41880 (eval "$ac_link") 2>conftest.er1
41881 ac_status=$?
41882 grep -v '^ *+' conftest.er1 >conftest.err
41883 rm -f conftest.er1
41884 cat conftest.err >&5
41885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41886 (exit $ac_status); } && {
41887 test -z "$ac_c_werror_flag" ||
41888 test ! -s conftest.err
41889 } && test -s conftest$ac_exeext &&
41890 $as_test_x conftest$ac_exeext; then
41891 ac_cv_lib_shl_load_dld=yes
41892 else
41893 echo "$as_me: failed program was:" >&5
41894 sed 's/^/| /' conftest.$ac_ext >&5
41895
41896 ac_cv_lib_shl_load_dld=no
41897 fi
41898
41899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41900 conftest$ac_exeext conftest.$ac_ext
41901 LIBS=$ac_check_lib_save_LIBS
41902 fi
41903 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41904 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41905 if test $ac_cv_lib_shl_load_dld = yes; then
41906
41907 HAVE_SHL_FUNCS=1
41908 DL_LINK=" -ldld$DL_LINK"
41909
41910 fi
41911
41912
41913 fi
41914 done
41915
41916
41917 fi
41918
41919
41920 fi
41921 done
41922
41923
41924 if test "$HAVE_DL_FUNCS" = 1; then
41925
41926 for ac_func in dlerror
41927 do
41928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41932 echo $ECHO_N "(cached) $ECHO_C" >&6
41933 else
41934 cat >conftest.$ac_ext <<_ACEOF
41935 /* confdefs.h. */
41936 _ACEOF
41937 cat confdefs.h >>conftest.$ac_ext
41938 cat >>conftest.$ac_ext <<_ACEOF
41939 /* end confdefs.h. */
41940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41942 #define $ac_func innocuous_$ac_func
41943
41944 /* System header to define __stub macros and hopefully few prototypes,
41945 which can conflict with char $ac_func (); below.
41946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41947 <limits.h> exists even on freestanding compilers. */
41948
41949 #ifdef __STDC__
41950 # include <limits.h>
41951 #else
41952 # include <assert.h>
41953 #endif
41954
41955 #undef $ac_func
41956
41957 /* Override any GCC internal prototype to avoid an error.
41958 Use char because int might match the return type of a GCC
41959 builtin and then its argument prototype would still apply. */
41960 #ifdef __cplusplus
41961 extern "C"
41962 #endif
41963 char $ac_func ();
41964 /* The GNU C library defines this for functions which it implements
41965 to always fail with ENOSYS. Some functions are actually named
41966 something starting with __ and the normal name is an alias. */
41967 #if defined __stub_$ac_func || defined __stub___$ac_func
41968 choke me
41969 #endif
41970
41971 int
41972 main ()
41973 {
41974 return $ac_func ();
41975 ;
41976 return 0;
41977 }
41978 _ACEOF
41979 rm -f conftest.$ac_objext conftest$ac_exeext
41980 if { (ac_try="$ac_link"
41981 case "(($ac_try" in
41982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41983 *) ac_try_echo=$ac_try;;
41984 esac
41985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41986 (eval "$ac_link") 2>conftest.er1
41987 ac_status=$?
41988 grep -v '^ *+' conftest.er1 >conftest.err
41989 rm -f conftest.er1
41990 cat conftest.err >&5
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); } && {
41993 test -z "$ac_c_werror_flag" ||
41994 test ! -s conftest.err
41995 } && test -s conftest$ac_exeext &&
41996 $as_test_x conftest$ac_exeext; then
41997 eval "$as_ac_var=yes"
41998 else
41999 echo "$as_me: failed program was:" >&5
42000 sed 's/^/| /' conftest.$ac_ext >&5
42001
42002 eval "$as_ac_var=no"
42003 fi
42004
42005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42006 conftest$ac_exeext conftest.$ac_ext
42007 fi
42008 ac_res=`eval echo '${'$as_ac_var'}'`
42009 { echo "$as_me:$LINENO: result: $ac_res" >&5
42010 echo "${ECHO_T}$ac_res" >&6; }
42011 if test `eval echo '${'$as_ac_var'}'` = yes; then
42012 cat >>confdefs.h <<_ACEOF
42013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42014 _ACEOF
42015 cat >>confdefs.h <<\_ACEOF
42016 #define HAVE_DLERROR 1
42017 _ACEOF
42018
42019 else
42020
42021 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42022 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42023 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 else
42026 ac_check_lib_save_LIBS=$LIBS
42027 LIBS="-ldl $LIBS"
42028 cat >conftest.$ac_ext <<_ACEOF
42029 /* confdefs.h. */
42030 _ACEOF
42031 cat confdefs.h >>conftest.$ac_ext
42032 cat >>conftest.$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42034
42035 /* Override any GCC internal prototype to avoid an error.
42036 Use char because int might match the return type of a GCC
42037 builtin and then its argument prototype would still apply. */
42038 #ifdef __cplusplus
42039 extern "C"
42040 #endif
42041 char dlerror ();
42042 int
42043 main ()
42044 {
42045 return dlerror ();
42046 ;
42047 return 0;
42048 }
42049 _ACEOF
42050 rm -f conftest.$ac_objext conftest$ac_exeext
42051 if { (ac_try="$ac_link"
42052 case "(($ac_try" in
42053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42054 *) ac_try_echo=$ac_try;;
42055 esac
42056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42057 (eval "$ac_link") 2>conftest.er1
42058 ac_status=$?
42059 grep -v '^ *+' conftest.er1 >conftest.err
42060 rm -f conftest.er1
42061 cat conftest.err >&5
42062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42063 (exit $ac_status); } && {
42064 test -z "$ac_c_werror_flag" ||
42065 test ! -s conftest.err
42066 } && test -s conftest$ac_exeext &&
42067 $as_test_x conftest$ac_exeext; then
42068 ac_cv_lib_dl_dlerror=yes
42069 else
42070 echo "$as_me: failed program was:" >&5
42071 sed 's/^/| /' conftest.$ac_ext >&5
42072
42073 ac_cv_lib_dl_dlerror=no
42074 fi
42075
42076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42077 conftest$ac_exeext conftest.$ac_ext
42078 LIBS=$ac_check_lib_save_LIBS
42079 fi
42080 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42081 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42082 if test $ac_cv_lib_dl_dlerror = yes; then
42083 cat >>confdefs.h <<\_ACEOF
42084 #define HAVE_DLERROR 1
42085 _ACEOF
42086
42087 fi
42088
42089
42090
42091 fi
42092 done
42093
42094 fi
42095 fi
42096
42097 if test "$USE_DARWIN" = 1; then
42098 HAVE_DL_FUNCS=1
42099 fi
42100
42101 if test "$HAVE_DL_FUNCS" = 0; then
42102 if test "$HAVE_SHL_FUNCS" = 0; then
42103 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42104 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42105 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42106 wxUSE_DYNAMIC_LOADER=no
42107 wxUSE_DYNLIB_CLASS=no
42108 else
42109 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42110 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42111 fi
42112 fi
42113 fi
42114 fi
42115 fi
42116
42117 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42118 cat >>confdefs.h <<\_ACEOF
42119 #define wxUSE_DYNAMIC_LOADER 1
42120 _ACEOF
42121
42122 fi
42123 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42124 cat >>confdefs.h <<\_ACEOF
42125 #define wxUSE_DYNLIB_CLASS 1
42126 _ACEOF
42127
42128 fi
42129
42130
42131
42132 if test "$wxUSE_PLUGINS" = "yes" ; then
42133 if test "$wxUSE_SHARED" = "no" ; then
42134 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42135 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42136 wxUSE_PLUGINS=no
42137 fi
42138 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42139 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42140 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42141 wxUSE_PLUGINS=no
42142 fi
42143 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42144 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42145 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42146 wxUSE_PLUGINS=no
42147 fi
42148 if test "$wxUSE_PLUGINS" = "yes" ; then
42149 cat >>confdefs.h <<\_ACEOF
42150 #define wxUSE_PLUGINS 1
42151 _ACEOF
42152
42153 fi
42154 fi
42155
42156
42157 if test "$wxUSE_STL" = "yes"; then
42158 cat >>confdefs.h <<\_ACEOF
42159 #define wxUSE_STL 1
42160 _ACEOF
42161
42162 fi
42163
42164 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42165 cat >>confdefs.h <<\_ACEOF
42166 #define wxUSE_EXTENDED_RTTI 1
42167 _ACEOF
42168
42169 fi
42170
42171 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define wxUSE_APPLE_IEEE 1
42174 _ACEOF
42175
42176 fi
42177
42178 if test "$wxUSE_TIMER" = "yes"; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define wxUSE_TIMER 1
42181 _ACEOF
42182
42183 fi
42184
42185 if test "$USE_UNIX" = 1 ; then
42186 if test "$wxUSE_MGL" != 1; then
42187 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42188 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42189 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42190 echo $ECHO_N "(cached) $ECHO_C" >&6
42191 else
42192
42193 cat >conftest.$ac_ext <<_ACEOF
42194 /* confdefs.h. */
42195 _ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199
42200 #include <sys/ioctl.h>
42201 #include <sys/soundcard.h>
42202
42203 int
42204 main ()
42205 {
42206
42207 ioctl(0, SNDCTL_DSP_SPEED, 0);
42208
42209 ;
42210 return 0;
42211 }
42212 _ACEOF
42213 rm -f conftest.$ac_objext conftest$ac_exeext
42214 if { (ac_try="$ac_link"
42215 case "(($ac_try" in
42216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42217 *) ac_try_echo=$ac_try;;
42218 esac
42219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42220 (eval "$ac_link") 2>conftest.er1
42221 ac_status=$?
42222 grep -v '^ *+' conftest.er1 >conftest.err
42223 rm -f conftest.er1
42224 cat conftest.err >&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } && {
42227 test -z "$ac_c_werror_flag" ||
42228 test ! -s conftest.err
42229 } && test -s conftest$ac_exeext &&
42230 $as_test_x conftest$ac_exeext; then
42231 ac_cv_header_sys_soundcard=yes
42232 else
42233 echo "$as_me: failed program was:" >&5
42234 sed 's/^/| /' conftest.$ac_ext >&5
42235
42236
42237 saveLibs="$LIBS"
42238 LIBS="$saveLibs -lossaudio"
42239 cat >conftest.$ac_ext <<_ACEOF
42240 /* confdefs.h. */
42241 _ACEOF
42242 cat confdefs.h >>conftest.$ac_ext
42243 cat >>conftest.$ac_ext <<_ACEOF
42244 /* end confdefs.h. */
42245
42246 #include <sys/ioctl.h>
42247 #include <sys/soundcard.h>
42248
42249 int
42250 main ()
42251 {
42252
42253 ioctl(0, SNDCTL_DSP_SPEED, 0);
42254
42255 ;
42256 return 0;
42257 }
42258 _ACEOF
42259 rm -f conftest.$ac_objext conftest$ac_exeext
42260 if { (ac_try="$ac_link"
42261 case "(($ac_try" in
42262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42263 *) ac_try_echo=$ac_try;;
42264 esac
42265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42266 (eval "$ac_link") 2>conftest.er1
42267 ac_status=$?
42268 grep -v '^ *+' conftest.er1 >conftest.err
42269 rm -f conftest.er1
42270 cat conftest.err >&5
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); } && {
42273 test -z "$ac_c_werror_flag" ||
42274 test ! -s conftest.err
42275 } && test -s conftest$ac_exeext &&
42276 $as_test_x conftest$ac_exeext; then
42277 ac_cv_header_sys_soundcard=yes
42278 else
42279 echo "$as_me: failed program was:" >&5
42280 sed 's/^/| /' conftest.$ac_ext >&5
42281
42282
42283 LIBS="$saveLibs"
42284 ac_cv_header_sys_soundcard=no
42285
42286
42287 fi
42288
42289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42290 conftest$ac_exeext conftest.$ac_ext
42291
42292
42293 fi
42294
42295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42296 conftest$ac_exeext conftest.$ac_ext
42297
42298 fi
42299 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42300 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42301 fi
42302
42303 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42304 cat >>confdefs.h <<\_ACEOF
42305 #define HAVE_SYS_SOUNDCARD_H 1
42306 _ACEOF
42307
42308 fi
42309 fi
42310
42311 WITH_PLUGIN_SDL=0
42312 if test "$wxUSE_SOUND" = "yes"; then
42313 if test "$USE_UNIX" = 1 ; then
42314 if test "$wxUSE_LIBSDL" != "no"; then
42315
42316 # Check whether --with-sdl-prefix was given.
42317 if test "${with_sdl_prefix+set}" = set; then
42318 withval=$with_sdl_prefix; sdl_prefix="$withval"
42319 else
42320 sdl_prefix=""
42321 fi
42322
42323
42324 # Check whether --with-sdl-exec-prefix was given.
42325 if test "${with_sdl_exec_prefix+set}" = set; then
42326 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42327 else
42328 sdl_exec_prefix=""
42329 fi
42330
42331 # Check whether --enable-sdltest was given.
42332 if test "${enable_sdltest+set}" = set; then
42333 enableval=$enable_sdltest;
42334 else
42335 enable_sdltest=yes
42336 fi
42337
42338
42339 if test x$sdl_exec_prefix != x ; then
42340 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42341 if test x${SDL_CONFIG+set} != xset ; then
42342 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42343 fi
42344 fi
42345 if test x$sdl_prefix != x ; then
42346 sdl_args="$sdl_args --prefix=$sdl_prefix"
42347 if test x${SDL_CONFIG+set} != xset ; then
42348 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42349 fi
42350 fi
42351
42352 if test "x$prefix" != xNONE; then
42353 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42354 fi
42355 # Extract the first word of "sdl-config", so it can be a program name with args.
42356 set dummy sdl-config; ac_word=$2
42357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42359 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42360 echo $ECHO_N "(cached) $ECHO_C" >&6
42361 else
42362 case $SDL_CONFIG in
42363 [\\/]* | ?:[\\/]*)
42364 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42365 ;;
42366 *)
42367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42368 for as_dir in $PATH
42369 do
42370 IFS=$as_save_IFS
42371 test -z "$as_dir" && as_dir=.
42372 for ac_exec_ext in '' $ac_executable_extensions; do
42373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42374 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42376 break 2
42377 fi
42378 done
42379 done
42380 IFS=$as_save_IFS
42381
42382 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42383 ;;
42384 esac
42385 fi
42386 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42387 if test -n "$SDL_CONFIG"; then
42388 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42389 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42390 else
42391 { echo "$as_me:$LINENO: result: no" >&5
42392 echo "${ECHO_T}no" >&6; }
42393 fi
42394
42395
42396 min_sdl_version=1.2.0
42397 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42398 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42399 no_sdl=""
42400 if test "$SDL_CONFIG" = "no" ; then
42401 no_sdl=yes
42402 else
42403 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42404 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42405
42406 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42407 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42408 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42409 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42410 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42411 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42412 if test "x$enable_sdltest" = "xyes" ; then
42413 ac_save_CFLAGS="$CFLAGS"
42414 ac_save_CXXFLAGS="$CXXFLAGS"
42415 ac_save_LIBS="$LIBS"
42416 CFLAGS="$CFLAGS $SDL_CFLAGS"
42417 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42418 LIBS="$LIBS $SDL_LIBS"
42419 rm -f conf.sdltest
42420 if test "$cross_compiling" = yes; then
42421 echo $ac_n "cross compiling; assumed OK... $ac_c"
42422 else
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h. */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429
42430 #include <stdio.h>
42431 #include <stdlib.h>
42432 #include <string.h>
42433 #include "SDL.h"
42434
42435 char*
42436 my_strdup (char *str)
42437 {
42438 char *new_str;
42439
42440 if (str)
42441 {
42442 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42443 strcpy (new_str, str);
42444 }
42445 else
42446 new_str = NULL;
42447
42448 return new_str;
42449 }
42450
42451 int main (int argc, char *argv[])
42452 {
42453 int major, minor, micro;
42454 char *tmp_version;
42455
42456 /* This hangs on some systems (?)
42457 system ("touch conf.sdltest");
42458 */
42459 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42460
42461 /* HP/UX 9 (%@#!) writes to sscanf strings */
42462 tmp_version = my_strdup("$min_sdl_version");
42463 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42464 printf("%s, bad version string\n", "$min_sdl_version");
42465 exit(1);
42466 }
42467
42468 if (($sdl_major_version > major) ||
42469 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42470 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42471 {
42472 return 0;
42473 }
42474 else
42475 {
42476 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42477 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42478 printf("*** best to upgrade to the required version.\n");
42479 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42480 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42481 printf("*** config.cache before re-running configure\n");
42482 return 1;
42483 }
42484 }
42485
42486
42487 _ACEOF
42488 rm -f conftest$ac_exeext
42489 if { (ac_try="$ac_link"
42490 case "(($ac_try" in
42491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42492 *) ac_try_echo=$ac_try;;
42493 esac
42494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42495 (eval "$ac_link") 2>&5
42496 ac_status=$?
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42499 { (case "(($ac_try" in
42500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42501 *) ac_try_echo=$ac_try;;
42502 esac
42503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42504 (eval "$ac_try") 2>&5
42505 ac_status=$?
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); }; }; then
42508 :
42509 else
42510 echo "$as_me: program exited with status $ac_status" >&5
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.$ac_ext >&5
42513
42514 ( exit $ac_status )
42515 no_sdl=yes
42516 fi
42517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42518 fi
42519
42520
42521 CFLAGS="$ac_save_CFLAGS"
42522 CXXFLAGS="$ac_save_CXXFLAGS"
42523 LIBS="$ac_save_LIBS"
42524 fi
42525 fi
42526 if test "x$no_sdl" = x ; then
42527 { echo "$as_me:$LINENO: result: yes" >&5
42528 echo "${ECHO_T}yes" >&6; }
42529
42530 EXTRALIBS_SDL="$SDL_LIBS"
42531 CFLAGS="$SDL_CFLAGS $CFLAGS"
42532 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42533 cat >>confdefs.h <<\_ACEOF
42534 #define wxUSE_LIBSDL 1
42535 _ACEOF
42536
42537
42538 else
42539 { echo "$as_me:$LINENO: result: no" >&5
42540 echo "${ECHO_T}no" >&6; }
42541 if test "$SDL_CONFIG" = "no" ; then
42542 echo "*** The sdl-config script installed by SDL could not be found"
42543 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42544 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42545 echo "*** full path to sdl-config."
42546 else
42547 if test -f conf.sdltest ; then
42548 :
42549 else
42550 echo "*** Could not run SDL test program, checking why..."
42551 CFLAGS="$CFLAGS $SDL_CFLAGS"
42552 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42553 LIBS="$LIBS $SDL_LIBS"
42554 cat >conftest.$ac_ext <<_ACEOF
42555 /* confdefs.h. */
42556 _ACEOF
42557 cat confdefs.h >>conftest.$ac_ext
42558 cat >>conftest.$ac_ext <<_ACEOF
42559 /* end confdefs.h. */
42560
42561 #include <stdio.h>
42562 #include "SDL.h"
42563
42564 int main(int argc, char *argv[])
42565 { return 0; }
42566 #undef main
42567 #define main K_and_R_C_main
42568
42569 int
42570 main ()
42571 {
42572 return 0;
42573 ;
42574 return 0;
42575 }
42576 _ACEOF
42577 rm -f conftest.$ac_objext conftest$ac_exeext
42578 if { (ac_try="$ac_link"
42579 case "(($ac_try" in
42580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42581 *) ac_try_echo=$ac_try;;
42582 esac
42583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42584 (eval "$ac_link") 2>conftest.er1
42585 ac_status=$?
42586 grep -v '^ *+' conftest.er1 >conftest.err
42587 rm -f conftest.er1
42588 cat conftest.err >&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } && {
42591 test -z "$ac_c_werror_flag" ||
42592 test ! -s conftest.err
42593 } && test -s conftest$ac_exeext &&
42594 $as_test_x conftest$ac_exeext; then
42595 echo "*** The test program compiled, but did not run. This usually means"
42596 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42597 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42598 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42599 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42600 echo "*** is required on your system"
42601 echo "***"
42602 echo "*** If you have an old version installed, it is best to remove it, although"
42603 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42604 else
42605 echo "$as_me: failed program was:" >&5
42606 sed 's/^/| /' conftest.$ac_ext >&5
42607
42608 echo "*** The test program failed to compile or link. See the file config.log for the"
42609 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42610 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42611 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42612 fi
42613
42614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42615 conftest$ac_exeext conftest.$ac_ext
42616 CFLAGS="$ac_save_CFLAGS"
42617 CXXFLAGS="$ac_save_CXXFLAGS"
42618 LIBS="$ac_save_LIBS"
42619 fi
42620 fi
42621 SDL_CFLAGS=""
42622 SDL_LIBS=""
42623 wxUSE_LIBSDL="no"
42624 fi
42625
42626
42627 rm -f conf.sdltest
42628
42629 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42630 WITH_PLUGIN_SDL=1
42631 fi
42632 fi
42633 else
42634 if test "$wxUSE_MGL" = 1; then
42635 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42636 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42637 wxUSE_SOUND="no"
42638 fi
42639 fi
42640 fi
42641
42642 if test "$wxUSE_SOUND" = "yes"; then
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_SOUND 1
42645 _ACEOF
42646
42647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42648 fi
42649
42650 if test "$WXGTK2" = 1; then
42651
42652
42653 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42654 if test -n "$ac_tool_prefix"; then
42655 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42656 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42659 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42660 echo $ECHO_N "(cached) $ECHO_C" >&6
42661 else
42662 case $PKG_CONFIG in
42663 [\\/]* | ?:[\\/]*)
42664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42665 ;;
42666 *)
42667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42668 for as_dir in $PATH
42669 do
42670 IFS=$as_save_IFS
42671 test -z "$as_dir" && as_dir=.
42672 for ac_exec_ext in '' $ac_executable_extensions; do
42673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42674 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42676 break 2
42677 fi
42678 done
42679 done
42680 IFS=$as_save_IFS
42681
42682 ;;
42683 esac
42684 fi
42685 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42686 if test -n "$PKG_CONFIG"; then
42687 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42688 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42689 else
42690 { echo "$as_me:$LINENO: result: no" >&5
42691 echo "${ECHO_T}no" >&6; }
42692 fi
42693
42694
42695 fi
42696 if test -z "$ac_cv_path_PKG_CONFIG"; then
42697 ac_pt_PKG_CONFIG=$PKG_CONFIG
42698 # Extract the first word of "pkg-config", so it can be a program name with args.
42699 set dummy pkg-config; ac_word=$2
42700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42702 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42704 else
42705 case $ac_pt_PKG_CONFIG in
42706 [\\/]* | ?:[\\/]*)
42707 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42708 ;;
42709 *)
42710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42711 for as_dir in $PATH
42712 do
42713 IFS=$as_save_IFS
42714 test -z "$as_dir" && as_dir=.
42715 for ac_exec_ext in '' $ac_executable_extensions; do
42716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42717 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42719 break 2
42720 fi
42721 done
42722 done
42723 IFS=$as_save_IFS
42724
42725 ;;
42726 esac
42727 fi
42728 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42729 if test -n "$ac_pt_PKG_CONFIG"; then
42730 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42731 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42732 else
42733 { echo "$as_me:$LINENO: result: no" >&5
42734 echo "${ECHO_T}no" >&6; }
42735 fi
42736
42737 if test "x$ac_pt_PKG_CONFIG" = x; then
42738 PKG_CONFIG=""
42739 else
42740 case $cross_compiling:$ac_tool_warned in
42741 yes:)
42742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42743 whose name does not start with the host triplet. If you think this
42744 configuration is useful to you, please write to autoconf@gnu.org." >&5
42745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42746 whose name does not start with the host triplet. If you think this
42747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42748 ac_tool_warned=yes ;;
42749 esac
42750 PKG_CONFIG=$ac_pt_PKG_CONFIG
42751 fi
42752 else
42753 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42754 fi
42755
42756 fi
42757 if test -n "$PKG_CONFIG"; then
42758 _pkg_min_version=0.9.0
42759 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42760 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42761 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42762 { echo "$as_me:$LINENO: result: yes" >&5
42763 echo "${ECHO_T}yes" >&6; }
42764 else
42765 { echo "$as_me:$LINENO: result: no" >&5
42766 echo "${ECHO_T}no" >&6; }
42767 PKG_CONFIG=""
42768 fi
42769
42770 fi
42771
42772 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42773
42774 if test "$wxUSE_GTKPRINT" = "yes" ; then
42775
42776
42777 pkg_failed=no
42778 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42779 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42780
42781 if test -n "$PKG_CONFIG"; then
42782 if test -n "$GTKPRINT_CFLAGS"; then
42783 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42784 else
42785 if test -n "$PKG_CONFIG" && \
42786 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42787 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42788 ac_status=$?
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); }; then
42791 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42792 else
42793 pkg_failed=yes
42794 fi
42795 fi
42796 else
42797 pkg_failed=untried
42798 fi
42799 if test -n "$PKG_CONFIG"; then
42800 if test -n "$GTKPRINT_LIBS"; then
42801 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42802 else
42803 if test -n "$PKG_CONFIG" && \
42804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42805 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42806 ac_status=$?
42807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42808 (exit $ac_status); }; then
42809 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42810 else
42811 pkg_failed=yes
42812 fi
42813 fi
42814 else
42815 pkg_failed=untried
42816 fi
42817
42818
42819
42820 if test $pkg_failed = yes; then
42821
42822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42823 _pkg_short_errors_supported=yes
42824 else
42825 _pkg_short_errors_supported=no
42826 fi
42827 if test $_pkg_short_errors_supported = yes; then
42828 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42829 else
42830 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42831 fi
42832 # Put the nasty error message in config.log where it belongs
42833 echo "$GTKPRINT_PKG_ERRORS" >&5
42834
42835
42836 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42837 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42838 wxUSE_GTKPRINT="no"
42839
42840
42841 elif test $pkg_failed = untried; then
42842
42843 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42844 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42845 wxUSE_GTKPRINT="no"
42846
42847
42848 else
42849 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42850 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42851 { echo "$as_me:$LINENO: result: yes" >&5
42852 echo "${ECHO_T}yes" >&6; }
42853
42854 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42855 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42856 cat >>confdefs.h <<\_ACEOF
42857 #define wxUSE_GTKPRINT 1
42858 _ACEOF
42859
42860
42861 fi
42862 fi
42863
42864 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42865
42866
42867 pkg_failed=no
42868 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42869 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42870
42871 if test -n "$PKG_CONFIG"; then
42872 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42873 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42874 else
42875 if test -n "$PKG_CONFIG" && \
42876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42877 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42878 ac_status=$?
42879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42880 (exit $ac_status); }; then
42881 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42882 else
42883 pkg_failed=yes
42884 fi
42885 fi
42886 else
42887 pkg_failed=untried
42888 fi
42889 if test -n "$PKG_CONFIG"; then
42890 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42891 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42892 else
42893 if test -n "$PKG_CONFIG" && \
42894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42895 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42896 ac_status=$?
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); }; then
42899 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42900 else
42901 pkg_failed=yes
42902 fi
42903 fi
42904 else
42905 pkg_failed=untried
42906 fi
42907
42908
42909
42910 if test $pkg_failed = yes; then
42911
42912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42913 _pkg_short_errors_supported=yes
42914 else
42915 _pkg_short_errors_supported=no
42916 fi
42917 if test $_pkg_short_errors_supported = yes; then
42918 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42919 else
42920 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42921 fi
42922 # Put the nasty error message in config.log where it belongs
42923 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42924
42925
42926 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42927 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42928 wxUSE_LIBGNOMEPRINT="no"
42929
42930
42931 elif test $pkg_failed = untried; then
42932
42933 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42934 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42935 wxUSE_LIBGNOMEPRINT="no"
42936
42937
42938 else
42939 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42940 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42941 { echo "$as_me:$LINENO: result: yes" >&5
42942 echo "${ECHO_T}yes" >&6; }
42943
42944 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42945 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42946 cat >>confdefs.h <<\_ACEOF
42947 #define wxUSE_LIBGNOMEPRINT 1
42948 _ACEOF
42949
42950
42951 fi
42952 fi
42953 fi
42954
42955 if test "$wxUSE_MIMETYPE" = "yes" ; then
42956 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42957
42958
42959 pkg_failed=no
42960 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42961 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42962
42963 if test -n "$PKG_CONFIG"; then
42964 if test -n "$GNOMEVFS_CFLAGS"; then
42965 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42966 else
42967 if test -n "$PKG_CONFIG" && \
42968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42969 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42970 ac_status=$?
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; then
42973 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42974 else
42975 pkg_failed=yes
42976 fi
42977 fi
42978 else
42979 pkg_failed=untried
42980 fi
42981 if test -n "$PKG_CONFIG"; then
42982 if test -n "$GNOMEVFS_LIBS"; then
42983 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42984 else
42985 if test -n "$PKG_CONFIG" && \
42986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42987 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42988 ac_status=$?
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; then
42991 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42992 else
42993 pkg_failed=yes
42994 fi
42995 fi
42996 else
42997 pkg_failed=untried
42998 fi
42999
43000
43001
43002 if test $pkg_failed = yes; then
43003
43004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43005 _pkg_short_errors_supported=yes
43006 else
43007 _pkg_short_errors_supported=no
43008 fi
43009 if test $_pkg_short_errors_supported = yes; then
43010 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43011 else
43012 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43013 fi
43014 # Put the nasty error message in config.log where it belongs
43015 echo "$GNOMEVFS_PKG_ERRORS" >&5
43016
43017
43018 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43019 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43020 wxUSE_LIBGNOMEVFS="no"
43021
43022
43023 elif test $pkg_failed = untried; then
43024
43025 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43026 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43027 wxUSE_LIBGNOMEVFS="no"
43028
43029
43030 else
43031 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43032 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43033 { echo "$as_me:$LINENO: result: yes" >&5
43034 echo "${ECHO_T}yes" >&6; }
43035
43036 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43037 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43038 cat >>confdefs.h <<\_ACEOF
43039 #define wxUSE_LIBGNOMEVFS 1
43040 _ACEOF
43041
43042
43043 fi
43044 fi
43045 fi
43046
43047 if test "$wxUSE_LIBHILDON" = "yes" ; then
43048
43049 pkg_failed=no
43050 { echo "$as_me:$LINENO: checking for HILDON" >&5
43051 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43052
43053 if test -n "$PKG_CONFIG"; then
43054 if test -n "$HILDON_CFLAGS"; then
43055 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43056 else
43057 if test -n "$PKG_CONFIG" && \
43058 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43059 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43060 ac_status=$?
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); }; then
43063 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43064 else
43065 pkg_failed=yes
43066 fi
43067 fi
43068 else
43069 pkg_failed=untried
43070 fi
43071 if test -n "$PKG_CONFIG"; then
43072 if test -n "$HILDON_LIBS"; then
43073 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43074 else
43075 if test -n "$PKG_CONFIG" && \
43076 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43077 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43078 ac_status=$?
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); }; then
43081 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43082 else
43083 pkg_failed=yes
43084 fi
43085 fi
43086 else
43087 pkg_failed=untried
43088 fi
43089
43090
43091
43092 if test $pkg_failed = yes; then
43093
43094 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43095 _pkg_short_errors_supported=yes
43096 else
43097 _pkg_short_errors_supported=no
43098 fi
43099 if test $_pkg_short_errors_supported = yes; then
43100 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43101 else
43102 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43103 fi
43104 # Put the nasty error message in config.log where it belongs
43105 echo "$HILDON_PKG_ERRORS" >&5
43106
43107
43108 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43109 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43110 wxUSE_LIBHILDON="no"
43111
43112
43113 elif test $pkg_failed = untried; then
43114
43115 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43116 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43117 wxUSE_LIBHILDON="no"
43118
43119
43120 else
43121 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43122 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43123 { echo "$as_me:$LINENO: result: yes" >&5
43124 echo "${ECHO_T}yes" >&6; }
43125
43126 EXTRALIBS_HILDON="$HILDON_LIBS"
43127 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43128 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43129 cat >>confdefs.h <<\_ACEOF
43130 #define wxUSE_LIBHILDON 1
43131 _ACEOF
43132
43133
43134 fi
43135 fi
43136 fi
43137
43138 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43139 cat >>confdefs.h <<\_ACEOF
43140 #define wxUSE_CMDLINE_PARSER 1
43141 _ACEOF
43142
43143 fi
43144
43145 if test "$wxUSE_STOPWATCH" = "yes"; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define wxUSE_STOPWATCH 1
43148 _ACEOF
43149
43150 fi
43151
43152 if test "$wxUSE_DATETIME" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define wxUSE_DATETIME 1
43155 _ACEOF
43156
43157 fi
43158
43159 if test "$wxUSE_FILE" = "yes"; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_FILE 1
43162 _ACEOF
43163
43164 fi
43165
43166 if test "$wxUSE_FFILE" = "yes"; then
43167 cat >>confdefs.h <<\_ACEOF
43168 #define wxUSE_FFILE 1
43169 _ACEOF
43170
43171 fi
43172
43173 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43174 if test "$wxUSE_STREAMS" != yes; then
43175 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43176 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43177 wxUSE_ARCHIVE_STREAMS=no
43178 else
43179 cat >>confdefs.h <<\_ACEOF
43180 #define wxUSE_ARCHIVE_STREAMS 1
43181 _ACEOF
43182
43183 fi
43184 fi
43185
43186 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43187 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43188 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43189 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43190 elif test "$wxUSE_ZLIB" = "no"; then
43191 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43192 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43193 else
43194 cat >>confdefs.h <<\_ACEOF
43195 #define wxUSE_ZIPSTREAM 1
43196 _ACEOF
43197
43198 fi
43199 fi
43200
43201 if test "$wxUSE_TARSTREAM" = "yes"; then
43202 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43203 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43204 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43205 else
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_TARSTREAM 1
43208 _ACEOF
43209
43210 fi
43211 fi
43212
43213 if test "$wxUSE_FILESYSTEM" = "yes"; then
43214 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43215 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43216 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43217 wxUSE_FILESYSTEM=no
43218 else
43219 cat >>confdefs.h <<\_ACEOF
43220 #define wxUSE_FILESYSTEM 1
43221 _ACEOF
43222
43223 fi
43224 fi
43225
43226 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43227 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43228 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43229 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43230 else
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_FS_ARCHIVE 1
43233 _ACEOF
43234
43235 fi
43236 fi
43237
43238 if test "$wxUSE_FS_ZIP" = "yes"; then
43239 if test "$wxUSE_FS_ARCHIVE" != yes; then
43240 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43241 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43242 else
43243 cat >>confdefs.h <<\_ACEOF
43244 #define wxUSE_FS_ZIP 1
43245 _ACEOF
43246
43247 fi
43248 fi
43249
43250 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43251 if test "$USE_UNIX" != 1; then
43252 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43253 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43254 wxUSE_ON_FATAL_EXCEPTION=no
43255 else
43256 cat >>confdefs.h <<\_ACEOF
43257 #define wxUSE_ON_FATAL_EXCEPTION 1
43258 _ACEOF
43259
43260 fi
43261 fi
43262
43263 if test "$wxUSE_STACKWALKER" = "yes"; then
43264 cat >>confdefs.h <<\_ACEOF
43265 #define wxUSE_STACKWALKER 1
43266 _ACEOF
43267
43268 fi
43269
43270 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43271 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43272 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43273 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43274 wxUSE_DEBUGREPORT=no
43275 else
43276 cat >>confdefs.h <<\_ACEOF
43277 #define wxUSE_DEBUGREPORT 1
43278 _ACEOF
43279
43280 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43282 fi
43283 fi
43284 fi
43285
43286 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxUSE_SNGLINST_CHECKER 1
43289 _ACEOF
43290
43291 fi
43292
43293 if test "$wxUSE_BUSYINFO" = "yes"; then
43294 cat >>confdefs.h <<\_ACEOF
43295 #define wxUSE_BUSYINFO 1
43296 _ACEOF
43297
43298 fi
43299
43300 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_STD_IOSTREAM 1
43303 _ACEOF
43304
43305 fi
43306
43307 if test "$wxUSE_STD_STRING" = "yes"; then
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_STD_STRING 1
43310 _ACEOF
43311
43312 fi
43313
43314 if test "$wxUSE_STDPATHS" = "yes"; then
43315 cat >>confdefs.h <<\_ACEOF
43316 #define wxUSE_STDPATHS 1
43317 _ACEOF
43318
43319 fi
43320
43321 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43322 cat >>confdefs.h <<\_ACEOF
43323 #define wxUSE_TEXTBUFFER 1
43324 _ACEOF
43325
43326 fi
43327
43328 if test "$wxUSE_TEXTFILE" = "yes"; then
43329 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43330 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43331 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43332 else
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_TEXTFILE 1
43335 _ACEOF
43336
43337 fi
43338 fi
43339
43340 if test "$wxUSE_CONFIG" = "yes" ; then
43341 if test "$wxUSE_TEXTFILE" != "yes"; then
43342 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43343 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43344 else
43345 cat >>confdefs.h <<\_ACEOF
43346 #define wxUSE_CONFIG 1
43347 _ACEOF
43348
43349 cat >>confdefs.h <<\_ACEOF
43350 #define wxUSE_CONFIG_NATIVE 1
43351 _ACEOF
43352
43353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43354 fi
43355 fi
43356
43357 if test "$wxUSE_INTL" = "yes" ; then
43358 if test "$wxUSE_FILE" != "yes"; then
43359 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43360 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43361 else
43362 cat >>confdefs.h <<\_ACEOF
43363 #define wxUSE_INTL 1
43364 _ACEOF
43365
43366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43367 GUIDIST="$GUIDIST INTL_DIST"
43368 fi
43369 fi
43370
43371 if test "$wxUSE_XLOCALE" = "yes" ; then
43372 cat >>confdefs.h <<\_ACEOF
43373 #define wxUSE_XLOCALE 1
43374 _ACEOF
43375
43376 { echo "$as_me:$LINENO: checking for locale_t" >&5
43377 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43378 if test "${ac_cv_type_locale_t+set}" = set; then
43379 echo $ECHO_N "(cached) $ECHO_C" >&6
43380 else
43381 cat >conftest.$ac_ext <<_ACEOF
43382 /* confdefs.h. */
43383 _ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 #include <xlocale.h>
43388 #include <locale.h>
43389
43390 typedef locale_t ac__type_new_;
43391 int
43392 main ()
43393 {
43394 if ((ac__type_new_ *) 0)
43395 return 0;
43396 if (sizeof (ac__type_new_))
43397 return 0;
43398 ;
43399 return 0;
43400 }
43401 _ACEOF
43402 rm -f conftest.$ac_objext
43403 if { (ac_try="$ac_compile"
43404 case "(($ac_try" in
43405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43406 *) ac_try_echo=$ac_try;;
43407 esac
43408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43409 (eval "$ac_compile") 2>conftest.er1
43410 ac_status=$?
43411 grep -v '^ *+' conftest.er1 >conftest.err
43412 rm -f conftest.er1
43413 cat conftest.err >&5
43414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43415 (exit $ac_status); } && {
43416 test -z "$ac_c_werror_flag" ||
43417 test ! -s conftest.err
43418 } && test -s conftest.$ac_objext; then
43419 ac_cv_type_locale_t=yes
43420 else
43421 echo "$as_me: failed program was:" >&5
43422 sed 's/^/| /' conftest.$ac_ext >&5
43423
43424 ac_cv_type_locale_t=no
43425 fi
43426
43427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43428 fi
43429 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43430 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43431 if test $ac_cv_type_locale_t = yes; then
43432
43433 cat >>confdefs.h <<_ACEOF
43434 #define HAVE_LOCALE_T 1
43435 _ACEOF
43436
43437
43438 fi
43439
43440 fi
43441
43442 if test "$wxUSE_LOG" = "yes"; then
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_LOG 1
43445 _ACEOF
43446
43447
43448 if test "$wxUSE_LOGGUI" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_LOGGUI 1
43451 _ACEOF
43452
43453 fi
43454
43455 if test "$wxUSE_LOGWINDOW" = "yes"; then
43456 cat >>confdefs.h <<\_ACEOF
43457 #define wxUSE_LOGWINDOW 1
43458 _ACEOF
43459
43460 fi
43461
43462 if test "$wxUSE_LOGDIALOG" = "yes"; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_LOG_DIALOG 1
43465 _ACEOF
43466
43467 fi
43468
43469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43470 fi
43471
43472 if test "$wxUSE_LONGLONG" = "yes"; then
43473 cat >>confdefs.h <<\_ACEOF
43474 #define wxUSE_LONGLONG 1
43475 _ACEOF
43476
43477 fi
43478
43479 if test "$wxUSE_GEOMETRY" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_GEOMETRY 1
43482 _ACEOF
43483
43484 fi
43485
43486 if test "$wxUSE_BASE64" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_BASE64 1
43489 _ACEOF
43490
43491 fi
43492
43493 if test "$wxUSE_STREAMS" = "yes" ; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_STREAMS 1
43496 _ACEOF
43497
43498 fi
43499
43500 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_PRINTF_POS_PARAMS 1
43503 _ACEOF
43504
43505 fi
43506
43507 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_OBJC_UNIQUIFYING 1
43510 _ACEOF
43511
43512 fi
43513
43514
43515 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43516 cat >>confdefs.h <<\_ACEOF
43517 #define wxUSE_CONSOLE_EVENTLOOP 1
43518 _ACEOF
43519
43520
43521 if test "$wxUSE_UNIX" = "yes"; then
43522 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43523 cat >>confdefs.h <<\_ACEOF
43524 #define wxUSE_SELECT_DISPATCHER 1
43525 _ACEOF
43526
43527 fi
43528
43529 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43530
43531 for ac_header in sys/epoll.h
43532 do
43533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43537 echo $ECHO_N "(cached) $ECHO_C" >&6
43538 else
43539 cat >conftest.$ac_ext <<_ACEOF
43540 /* confdefs.h. */
43541 _ACEOF
43542 cat confdefs.h >>conftest.$ac_ext
43543 cat >>conftest.$ac_ext <<_ACEOF
43544 /* end confdefs.h. */
43545 $ac_includes_default
43546
43547 #include <$ac_header>
43548 _ACEOF
43549 rm -f conftest.$ac_objext
43550 if { (ac_try="$ac_compile"
43551 case "(($ac_try" in
43552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43553 *) ac_try_echo=$ac_try;;
43554 esac
43555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43556 (eval "$ac_compile") 2>conftest.er1
43557 ac_status=$?
43558 grep -v '^ *+' conftest.er1 >conftest.err
43559 rm -f conftest.er1
43560 cat conftest.err >&5
43561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43562 (exit $ac_status); } && {
43563 test -z "$ac_c_werror_flag" ||
43564 test ! -s conftest.err
43565 } && test -s conftest.$ac_objext; then
43566 eval "$as_ac_Header=yes"
43567 else
43568 echo "$as_me: failed program was:" >&5
43569 sed 's/^/| /' conftest.$ac_ext >&5
43570
43571 eval "$as_ac_Header=no"
43572 fi
43573
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575 fi
43576 ac_res=`eval echo '${'$as_ac_Header'}'`
43577 { echo "$as_me:$LINENO: result: $ac_res" >&5
43578 echo "${ECHO_T}$ac_res" >&6; }
43579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43580 cat >>confdefs.h <<_ACEOF
43581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43582 _ACEOF
43583
43584 fi
43585
43586 done
43587
43588 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define wxUSE_EPOLL_DISPATCHER 1
43591 _ACEOF
43592
43593 else
43594 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43595 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43596 fi
43597 fi
43598 fi
43599 fi
43600
43601
43602
43603
43604 for ac_func in gettimeofday ftime
43605 do
43606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43610 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 else
43612 cat >conftest.$ac_ext <<_ACEOF
43613 /* confdefs.h. */
43614 _ACEOF
43615 cat confdefs.h >>conftest.$ac_ext
43616 cat >>conftest.$ac_ext <<_ACEOF
43617 /* end confdefs.h. */
43618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43620 #define $ac_func innocuous_$ac_func
43621
43622 /* System header to define __stub macros and hopefully few prototypes,
43623 which can conflict with char $ac_func (); below.
43624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43625 <limits.h> exists even on freestanding compilers. */
43626
43627 #ifdef __STDC__
43628 # include <limits.h>
43629 #else
43630 # include <assert.h>
43631 #endif
43632
43633 #undef $ac_func
43634
43635 /* Override any GCC internal prototype to avoid an error.
43636 Use char because int might match the return type of a GCC
43637 builtin and then its argument prototype would still apply. */
43638 #ifdef __cplusplus
43639 extern "C"
43640 #endif
43641 char $ac_func ();
43642 /* The GNU C library defines this for functions which it implements
43643 to always fail with ENOSYS. Some functions are actually named
43644 something starting with __ and the normal name is an alias. */
43645 #if defined __stub_$ac_func || defined __stub___$ac_func
43646 choke me
43647 #endif
43648
43649 int
43650 main ()
43651 {
43652 return $ac_func ();
43653 ;
43654 return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (ac_try="$ac_link"
43659 case "(($ac_try" in
43660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43661 *) ac_try_echo=$ac_try;;
43662 esac
43663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43664 (eval "$ac_link") 2>conftest.er1
43665 ac_status=$?
43666 grep -v '^ *+' conftest.er1 >conftest.err
43667 rm -f conftest.er1
43668 cat conftest.err >&5
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); } && {
43671 test -z "$ac_c_werror_flag" ||
43672 test ! -s conftest.err
43673 } && test -s conftest$ac_exeext &&
43674 $as_test_x conftest$ac_exeext; then
43675 eval "$as_ac_var=yes"
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43679
43680 eval "$as_ac_var=no"
43681 fi
43682
43683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43684 conftest$ac_exeext conftest.$ac_ext
43685 fi
43686 ac_res=`eval echo '${'$as_ac_var'}'`
43687 { echo "$as_me:$LINENO: result: $ac_res" >&5
43688 echo "${ECHO_T}$ac_res" >&6; }
43689 if test `eval echo '${'$as_ac_var'}'` = yes; then
43690 cat >>confdefs.h <<_ACEOF
43691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43692 _ACEOF
43693 break
43694 fi
43695 done
43696
43697
43698 if test "$ac_cv_func_gettimeofday" = "yes"; then
43699 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43700 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43701 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43702 echo $ECHO_N "(cached) $ECHO_C" >&6
43703 else
43704
43705 cat >conftest.$ac_ext <<_ACEOF
43706 /* confdefs.h. */
43707 _ACEOF
43708 cat confdefs.h >>conftest.$ac_ext
43709 cat >>conftest.$ac_ext <<_ACEOF
43710 /* end confdefs.h. */
43711
43712 #include <sys/time.h>
43713 #include <unistd.h>
43714
43715 int
43716 main ()
43717 {
43718
43719 struct timeval tv;
43720 gettimeofday(&tv, NULL);
43721
43722 ;
43723 return 0;
43724 }
43725 _ACEOF
43726 rm -f conftest.$ac_objext
43727 if { (ac_try="$ac_compile"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43730 *) ac_try_echo=$ac_try;;
43731 esac
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_compile") 2>conftest.er1
43734 ac_status=$?
43735 grep -v '^ *+' conftest.er1 >conftest.err
43736 rm -f conftest.er1
43737 cat conftest.err >&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } && {
43740 test -z "$ac_c_werror_flag" ||
43741 test ! -s conftest.err
43742 } && test -s conftest.$ac_objext; then
43743 wx_cv_func_gettimeofday_has_2_args=yes
43744 else
43745 echo "$as_me: failed program was:" >&5
43746 sed 's/^/| /' conftest.$ac_ext >&5
43747
43748 cat >conftest.$ac_ext <<_ACEOF
43749 /* confdefs.h. */
43750 _ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43754
43755 #include <sys/time.h>
43756 #include <unistd.h>
43757
43758 int
43759 main ()
43760 {
43761
43762 struct timeval tv;
43763 gettimeofday(&tv);
43764
43765 ;
43766 return 0;
43767 }
43768 _ACEOF
43769 rm -f conftest.$ac_objext
43770 if { (ac_try="$ac_compile"
43771 case "(($ac_try" in
43772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43773 *) ac_try_echo=$ac_try;;
43774 esac
43775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43776 (eval "$ac_compile") 2>conftest.er1
43777 ac_status=$?
43778 grep -v '^ *+' conftest.er1 >conftest.err
43779 rm -f conftest.er1
43780 cat conftest.err >&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); } && {
43783 test -z "$ac_c_werror_flag" ||
43784 test ! -s conftest.err
43785 } && test -s conftest.$ac_objext; then
43786 wx_cv_func_gettimeofday_has_2_args=no
43787 else
43788 echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.$ac_ext >&5
43790
43791
43792 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43793 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43794 wx_cv_func_gettimeofday_has_2_args=unknown
43795
43796
43797 fi
43798
43799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43800
43801 fi
43802
43803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804
43805 fi
43806 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43807 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43808
43809 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43810 cat >>confdefs.h <<\_ACEOF
43811 #define WX_GETTIMEOFDAY_NO_TZ 1
43812 _ACEOF
43813
43814 fi
43815 fi
43816
43817 if test "$wxUSE_DATETIME" = "yes"; then
43818 { echo "$as_me:$LINENO: checking for strptime" >&5
43819 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43820 if test "${ac_cv_func_strptime+set}" = set; then
43821 echo $ECHO_N "(cached) $ECHO_C" >&6
43822 else
43823 cat >conftest.$ac_ext <<_ACEOF
43824 /* confdefs.h. */
43825 _ACEOF
43826 cat confdefs.h >>conftest.$ac_ext
43827 cat >>conftest.$ac_ext <<_ACEOF
43828 /* end confdefs.h. */
43829 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43831 #define strptime innocuous_strptime
43832
43833 /* System header to define __stub macros and hopefully few prototypes,
43834 which can conflict with char strptime (); below.
43835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43836 <limits.h> exists even on freestanding compilers. */
43837
43838 #ifdef __STDC__
43839 # include <limits.h>
43840 #else
43841 # include <assert.h>
43842 #endif
43843
43844 #undef strptime
43845
43846 /* Override any GCC internal prototype to avoid an error.
43847 Use char because int might match the return type of a GCC
43848 builtin and then its argument prototype would still apply. */
43849 #ifdef __cplusplus
43850 extern "C"
43851 #endif
43852 char strptime ();
43853 /* The GNU C library defines this for functions which it implements
43854 to always fail with ENOSYS. Some functions are actually named
43855 something starting with __ and the normal name is an alias. */
43856 #if defined __stub_strptime || defined __stub___strptime
43857 choke me
43858 #endif
43859
43860 int
43861 main ()
43862 {
43863 return strptime ();
43864 ;
43865 return 0;
43866 }
43867 _ACEOF
43868 rm -f conftest.$ac_objext conftest$ac_exeext
43869 if { (ac_try="$ac_link"
43870 case "(($ac_try" in
43871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43872 *) ac_try_echo=$ac_try;;
43873 esac
43874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43875 (eval "$ac_link") 2>conftest.er1
43876 ac_status=$?
43877 grep -v '^ *+' conftest.er1 >conftest.err
43878 rm -f conftest.er1
43879 cat conftest.err >&5
43880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43881 (exit $ac_status); } && {
43882 test -z "$ac_c_werror_flag" ||
43883 test ! -s conftest.err
43884 } && test -s conftest$ac_exeext &&
43885 $as_test_x conftest$ac_exeext; then
43886 ac_cv_func_strptime=yes
43887 else
43888 echo "$as_me: failed program was:" >&5
43889 sed 's/^/| /' conftest.$ac_ext >&5
43890
43891 ac_cv_func_strptime=no
43892 fi
43893
43894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43895 conftest$ac_exeext conftest.$ac_ext
43896 fi
43897 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43898 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43899
43900 if test "$ac_cv_func_strptime" = "yes"; then
43901 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43902 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43903 if test "${wx_cv_func_strptime_decl+set}" = set; then
43904 echo $ECHO_N "(cached) $ECHO_C" >&6
43905 else
43906
43907 ac_ext=cpp
43908 ac_cpp='$CXXCPP $CPPFLAGS'
43909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43912
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
43920 #include <time.h>
43921
43922 int
43923 main ()
43924 {
43925
43926 struct tm t;
43927 strptime("foo", "bar", &t);
43928
43929 ;
43930 return 0;
43931 }
43932 _ACEOF
43933 rm -f conftest.$ac_objext
43934 if { (ac_try="$ac_compile"
43935 case "(($ac_try" in
43936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43937 *) ac_try_echo=$ac_try;;
43938 esac
43939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43940 (eval "$ac_compile") 2>conftest.er1
43941 ac_status=$?
43942 grep -v '^ *+' conftest.er1 >conftest.err
43943 rm -f conftest.er1
43944 cat conftest.err >&5
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); } && {
43947 test -z "$ac_cxx_werror_flag" ||
43948 test ! -s conftest.err
43949 } && test -s conftest.$ac_objext; then
43950 wx_cv_func_strptime_decl=yes
43951 else
43952 echo "$as_me: failed program was:" >&5
43953 sed 's/^/| /' conftest.$ac_ext >&5
43954
43955 wx_cv_func_strptime_decl=no
43956
43957 fi
43958
43959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43960 ac_ext=c
43961 ac_cpp='$CPP $CPPFLAGS'
43962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43965
43966
43967
43968 fi
43969 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43970 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43971 fi
43972 if test "$wx_cv_func_strptime_decl" = "yes"; then
43973 cat >>confdefs.h <<\_ACEOF
43974 #define HAVE_STRPTIME_DECL 1
43975 _ACEOF
43976
43977 else
43978 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43979 fi
43980 if test "$ac_cv_func_strptime" = "yes"; then
43981 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43982 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43983 if test "${wx_cv_func_strptime_ok+set}" = set; then
43984 echo $ECHO_N "(cached) $ECHO_C" >&6
43985 else
43986 if test "$cross_compiling" = yes; then
43987 wx_cv_func_strptime_ok=no
43988
43989 else
43990 cat >conftest.$ac_ext <<_ACEOF
43991
43992 #include <stdlib.h>
43993 #include <time.h>
43994 #include "confdefs.h"
43995
43996 $wx_strptime_decl
43997
43998 int main()
43999 {
44000 struct tm t;
44001 return !!strptime("", "%x", &t);
44002 }
44003
44004 _ACEOF
44005 rm -f conftest$ac_exeext
44006 if { (ac_try="$ac_link"
44007 case "(($ac_try" in
44008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44009 *) ac_try_echo=$ac_try;;
44010 esac
44011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44012 (eval "$ac_link") 2>&5
44013 ac_status=$?
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44016 { (case "(($ac_try" in
44017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44018 *) ac_try_echo=$ac_try;;
44019 esac
44020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44021 (eval "$ac_try") 2>&5
44022 ac_status=$?
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); }; }; then
44025 wx_cv_func_strptime_ok=yes
44026 else
44027 echo "$as_me: program exited with status $ac_status" >&5
44028 echo "$as_me: failed program was:" >&5
44029 sed 's/^/| /' conftest.$ac_ext >&5
44030
44031 ( exit $ac_status )
44032 wx_cv_func_strptime_ok=no
44033 fi
44034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44035 fi
44036
44037
44038
44039 fi
44040 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44041 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44042
44043 if test "$wx_cv_func_strptime_ok" = "yes"; then
44044 cat >>confdefs.h <<\_ACEOF
44045 #define HAVE_STRPTIME 1
44046 _ACEOF
44047
44048 fi
44049 fi
44050
44051 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44052 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44053 if test "${wx_cv_var_timezone+set}" = set; then
44054 echo $ECHO_N "(cached) $ECHO_C" >&6
44055 else
44056
44057 ac_ext=cpp
44058 ac_cpp='$CXXCPP $CPPFLAGS'
44059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062
44063 cat >conftest.$ac_ext <<_ACEOF
44064 /* confdefs.h. */
44065 _ACEOF
44066 cat confdefs.h >>conftest.$ac_ext
44067 cat >>conftest.$ac_ext <<_ACEOF
44068 /* end confdefs.h. */
44069
44070 #include <time.h>
44071
44072 int
44073 main ()
44074 {
44075
44076 int tz;
44077 tz = timezone;
44078
44079 ;
44080 return 0;
44081 }
44082 _ACEOF
44083 rm -f conftest.$ac_objext
44084 if { (ac_try="$ac_compile"
44085 case "(($ac_try" in
44086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44087 *) ac_try_echo=$ac_try;;
44088 esac
44089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44090 (eval "$ac_compile") 2>conftest.er1
44091 ac_status=$?
44092 grep -v '^ *+' conftest.er1 >conftest.err
44093 rm -f conftest.er1
44094 cat conftest.err >&5
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); } && {
44097 test -z "$ac_cxx_werror_flag" ||
44098 test ! -s conftest.err
44099 } && test -s conftest.$ac_objext; then
44100
44101 wx_cv_var_timezone=timezone
44102
44103 else
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.$ac_ext >&5
44106
44107
44108 cat >conftest.$ac_ext <<_ACEOF
44109 /* confdefs.h. */
44110 _ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44114
44115 #include <time.h>
44116
44117 int
44118 main ()
44119 {
44120
44121 int tz;
44122 tz = _timezone;
44123
44124 ;
44125 return 0;
44126 }
44127 _ACEOF
44128 rm -f conftest.$ac_objext
44129 if { (ac_try="$ac_compile"
44130 case "(($ac_try" in
44131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44132 *) ac_try_echo=$ac_try;;
44133 esac
44134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44135 (eval "$ac_compile") 2>conftest.er1
44136 ac_status=$?
44137 grep -v '^ *+' conftest.er1 >conftest.err
44138 rm -f conftest.er1
44139 cat conftest.err >&5
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); } && {
44142 test -z "$ac_cxx_werror_flag" ||
44143 test ! -s conftest.err
44144 } && test -s conftest.$ac_objext; then
44145
44146 wx_cv_var_timezone=_timezone
44147
44148 else
44149 echo "$as_me: failed program was:" >&5
44150 sed 's/^/| /' conftest.$ac_ext >&5
44151
44152
44153 cat >conftest.$ac_ext <<_ACEOF
44154 /* confdefs.h. */
44155 _ACEOF
44156 cat confdefs.h >>conftest.$ac_ext
44157 cat >>conftest.$ac_ext <<_ACEOF
44158 /* end confdefs.h. */
44159
44160 #include <time.h>
44161
44162 int
44163 main ()
44164 {
44165
44166 int tz;
44167 tz = __timezone;
44168
44169 ;
44170 return 0;
44171 }
44172 _ACEOF
44173 rm -f conftest.$ac_objext
44174 if { (ac_try="$ac_compile"
44175 case "(($ac_try" in
44176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44177 *) ac_try_echo=$ac_try;;
44178 esac
44179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44180 (eval "$ac_compile") 2>conftest.er1
44181 ac_status=$?
44182 grep -v '^ *+' conftest.er1 >conftest.err
44183 rm -f conftest.er1
44184 cat conftest.err >&5
44185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186 (exit $ac_status); } && {
44187 test -z "$ac_cxx_werror_flag" ||
44188 test ! -s conftest.err
44189 } && test -s conftest.$ac_objext; then
44190
44191 wx_cv_var_timezone=__timezone
44192
44193 else
44194 echo "$as_me: failed program was:" >&5
44195 sed 's/^/| /' conftest.$ac_ext >&5
44196
44197
44198 if test "$USE_DOS" = 0 ; then
44199 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44200 echo "$as_me: WARNING: no timezone variable" >&2;}
44201 fi
44202
44203
44204 fi
44205
44206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44207
44208
44209 fi
44210
44211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44212
44213
44214 fi
44215
44216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217 ac_ext=c
44218 ac_cpp='$CPP $CPPFLAGS'
44219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44222
44223
44224
44225 fi
44226 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44227 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44228
44229 if test "x$wx_cv_var_timezone" != x ; then
44230 cat >>confdefs.h <<_ACEOF
44231 #define WX_TIMEZONE $wx_cv_var_timezone
44232 _ACEOF
44233
44234 fi
44235
44236
44237 for ac_func in localtime
44238 do
44239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44240 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44242 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44243 echo $ECHO_N "(cached) $ECHO_C" >&6
44244 else
44245 cat >conftest.$ac_ext <<_ACEOF
44246 /* confdefs.h. */
44247 _ACEOF
44248 cat confdefs.h >>conftest.$ac_ext
44249 cat >>conftest.$ac_ext <<_ACEOF
44250 /* end confdefs.h. */
44251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44253 #define $ac_func innocuous_$ac_func
44254
44255 /* System header to define __stub macros and hopefully few prototypes,
44256 which can conflict with char $ac_func (); below.
44257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44258 <limits.h> exists even on freestanding compilers. */
44259
44260 #ifdef __STDC__
44261 # include <limits.h>
44262 #else
44263 # include <assert.h>
44264 #endif
44265
44266 #undef $ac_func
44267
44268 /* Override any GCC internal prototype to avoid an error.
44269 Use char because int might match the return type of a GCC
44270 builtin and then its argument prototype would still apply. */
44271 #ifdef __cplusplus
44272 extern "C"
44273 #endif
44274 char $ac_func ();
44275 /* The GNU C library defines this for functions which it implements
44276 to always fail with ENOSYS. Some functions are actually named
44277 something starting with __ and the normal name is an alias. */
44278 #if defined __stub_$ac_func || defined __stub___$ac_func
44279 choke me
44280 #endif
44281
44282 int
44283 main ()
44284 {
44285 return $ac_func ();
44286 ;
44287 return 0;
44288 }
44289 _ACEOF
44290 rm -f conftest.$ac_objext conftest$ac_exeext
44291 if { (ac_try="$ac_link"
44292 case "(($ac_try" in
44293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44294 *) ac_try_echo=$ac_try;;
44295 esac
44296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44297 (eval "$ac_link") 2>conftest.er1
44298 ac_status=$?
44299 grep -v '^ *+' conftest.er1 >conftest.err
44300 rm -f conftest.er1
44301 cat conftest.err >&5
44302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44303 (exit $ac_status); } && {
44304 test -z "$ac_c_werror_flag" ||
44305 test ! -s conftest.err
44306 } && test -s conftest$ac_exeext &&
44307 $as_test_x conftest$ac_exeext; then
44308 eval "$as_ac_var=yes"
44309 else
44310 echo "$as_me: failed program was:" >&5
44311 sed 's/^/| /' conftest.$ac_ext >&5
44312
44313 eval "$as_ac_var=no"
44314 fi
44315
44316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44317 conftest$ac_exeext conftest.$ac_ext
44318 fi
44319 ac_res=`eval echo '${'$as_ac_var'}'`
44320 { echo "$as_me:$LINENO: result: $ac_res" >&5
44321 echo "${ECHO_T}$ac_res" >&6; }
44322 if test `eval echo '${'$as_ac_var'}'` = yes; then
44323 cat >>confdefs.h <<_ACEOF
44324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44325 _ACEOF
44326
44327 fi
44328 done
44329
44330
44331 if test "$ac_cv_func_localtime" = "yes"; then
44332 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44333 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44334 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44335 echo $ECHO_N "(cached) $ECHO_C" >&6
44336 else
44337
44338 cat >conftest.$ac_ext <<_ACEOF
44339 /* confdefs.h. */
44340 _ACEOF
44341 cat confdefs.h >>conftest.$ac_ext
44342 cat >>conftest.$ac_ext <<_ACEOF
44343 /* end confdefs.h. */
44344
44345 #include <time.h>
44346
44347 int
44348 main ()
44349 {
44350
44351 struct tm tm;
44352 tm.tm_gmtoff++;
44353
44354 ;
44355 return 0;
44356 }
44357 _ACEOF
44358 rm -f conftest.$ac_objext
44359 if { (ac_try="$ac_compile"
44360 case "(($ac_try" in
44361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44362 *) ac_try_echo=$ac_try;;
44363 esac
44364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44365 (eval "$ac_compile") 2>conftest.er1
44366 ac_status=$?
44367 grep -v '^ *+' conftest.er1 >conftest.err
44368 rm -f conftest.er1
44369 cat conftest.err >&5
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); } && {
44372 test -z "$ac_c_werror_flag" ||
44373 test ! -s conftest.err
44374 } && test -s conftest.$ac_objext; then
44375
44376 wx_cv_struct_tm_has_gmtoff=yes
44377
44378 else
44379 echo "$as_me: failed program was:" >&5
44380 sed 's/^/| /' conftest.$ac_ext >&5
44381
44382 wx_cv_struct_tm_has_gmtoff=no
44383
44384 fi
44385
44386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44387
44388 fi
44389 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44390 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44391 fi
44392
44393 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define WX_GMTOFF_IN_TM 1
44396 _ACEOF
44397
44398 fi
44399
44400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44401 fi
44402
44403
44404 if test "$wxUSE_SOCKETS" = "yes"; then
44405 if test "$wxUSE_MGL" = 1; then
44406 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44407 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44408 wxUSE_SOCKETS="no"
44409 fi
44410 fi
44411
44412 if test "$wxUSE_SOCKETS" = "yes"; then
44413 if test "$TOOLKIT" != "MSW"; then
44414 { echo "$as_me:$LINENO: checking for socket" >&5
44415 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44416 if test "${ac_cv_func_socket+set}" = set; then
44417 echo $ECHO_N "(cached) $ECHO_C" >&6
44418 else
44419 cat >conftest.$ac_ext <<_ACEOF
44420 /* confdefs.h. */
44421 _ACEOF
44422 cat confdefs.h >>conftest.$ac_ext
44423 cat >>conftest.$ac_ext <<_ACEOF
44424 /* end confdefs.h. */
44425 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44427 #define socket innocuous_socket
44428
44429 /* System header to define __stub macros and hopefully few prototypes,
44430 which can conflict with char socket (); below.
44431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44432 <limits.h> exists even on freestanding compilers. */
44433
44434 #ifdef __STDC__
44435 # include <limits.h>
44436 #else
44437 # include <assert.h>
44438 #endif
44439
44440 #undef socket
44441
44442 /* Override any GCC internal prototype to avoid an error.
44443 Use char because int might match the return type of a GCC
44444 builtin and then its argument prototype would still apply. */
44445 #ifdef __cplusplus
44446 extern "C"
44447 #endif
44448 char socket ();
44449 /* The GNU C library defines this for functions which it implements
44450 to always fail with ENOSYS. Some functions are actually named
44451 something starting with __ and the normal name is an alias. */
44452 #if defined __stub_socket || defined __stub___socket
44453 choke me
44454 #endif
44455
44456 int
44457 main ()
44458 {
44459 return socket ();
44460 ;
44461 return 0;
44462 }
44463 _ACEOF
44464 rm -f conftest.$ac_objext conftest$ac_exeext
44465 if { (ac_try="$ac_link"
44466 case "(($ac_try" in
44467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44468 *) ac_try_echo=$ac_try;;
44469 esac
44470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44471 (eval "$ac_link") 2>conftest.er1
44472 ac_status=$?
44473 grep -v '^ *+' conftest.er1 >conftest.err
44474 rm -f conftest.er1
44475 cat conftest.err >&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); } && {
44478 test -z "$ac_c_werror_flag" ||
44479 test ! -s conftest.err
44480 } && test -s conftest$ac_exeext &&
44481 $as_test_x conftest$ac_exeext; then
44482 ac_cv_func_socket=yes
44483 else
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44486
44487 ac_cv_func_socket=no
44488 fi
44489
44490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44491 conftest$ac_exeext conftest.$ac_ext
44492 fi
44493 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44494 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44495 if test $ac_cv_func_socket = yes; then
44496 :
44497 else
44498
44499 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44500 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44501 if test "${ac_cv_lib_socket_socket+set}" = set; then
44502 echo $ECHO_N "(cached) $ECHO_C" >&6
44503 else
44504 ac_check_lib_save_LIBS=$LIBS
44505 LIBS="-lsocket $LIBS"
44506 cat >conftest.$ac_ext <<_ACEOF
44507 /* confdefs.h. */
44508 _ACEOF
44509 cat confdefs.h >>conftest.$ac_ext
44510 cat >>conftest.$ac_ext <<_ACEOF
44511 /* end confdefs.h. */
44512
44513 /* Override any GCC internal prototype to avoid an error.
44514 Use char because int might match the return type of a GCC
44515 builtin and then its argument prototype would still apply. */
44516 #ifdef __cplusplus
44517 extern "C"
44518 #endif
44519 char socket ();
44520 int
44521 main ()
44522 {
44523 return socket ();
44524 ;
44525 return 0;
44526 }
44527 _ACEOF
44528 rm -f conftest.$ac_objext conftest$ac_exeext
44529 if { (ac_try="$ac_link"
44530 case "(($ac_try" in
44531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44532 *) ac_try_echo=$ac_try;;
44533 esac
44534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44535 (eval "$ac_link") 2>conftest.er1
44536 ac_status=$?
44537 grep -v '^ *+' conftest.er1 >conftest.err
44538 rm -f conftest.er1
44539 cat conftest.err >&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); } && {
44542 test -z "$ac_c_werror_flag" ||
44543 test ! -s conftest.err
44544 } && test -s conftest$ac_exeext &&
44545 $as_test_x conftest$ac_exeext; then
44546 ac_cv_lib_socket_socket=yes
44547 else
44548 echo "$as_me: failed program was:" >&5
44549 sed 's/^/| /' conftest.$ac_ext >&5
44550
44551 ac_cv_lib_socket_socket=no
44552 fi
44553
44554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44555 conftest$ac_exeext conftest.$ac_ext
44556 LIBS=$ac_check_lib_save_LIBS
44557 fi
44558 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44559 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44560 if test $ac_cv_lib_socket_socket = yes; then
44561 if test "$INET_LINK" != " -lsocket"; then
44562 INET_LINK="$INET_LINK -lsocket"
44563 fi
44564 else
44565
44566 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44567 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44568 wxUSE_SOCKETS=no
44569
44570
44571 fi
44572
44573
44574
44575 fi
44576
44577 fi
44578 fi
44579
44580 if test "$wxUSE_SOCKETS" = "yes" ; then
44581 if test "$TOOLKIT" != "MSW"; then
44582 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44583 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44584 if test "${wx_cv_type_getsockname3+set}" = set; then
44585 echo $ECHO_N "(cached) $ECHO_C" >&6
44586 else
44587
44588 ac_ext=cpp
44589 ac_cpp='$CXXCPP $CPPFLAGS'
44590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44593
44594 cat >conftest.$ac_ext <<_ACEOF
44595 /* confdefs.h. */
44596 _ACEOF
44597 cat confdefs.h >>conftest.$ac_ext
44598 cat >>conftest.$ac_ext <<_ACEOF
44599 /* end confdefs.h. */
44600
44601 #include <sys/types.h>
44602 #include <sys/socket.h>
44603
44604 int
44605 main ()
44606 {
44607
44608 socklen_t len;
44609 getsockname(0, 0, &len);
44610
44611 ;
44612 return 0;
44613 }
44614 _ACEOF
44615 rm -f conftest.$ac_objext
44616 if { (ac_try="$ac_compile"
44617 case "(($ac_try" in
44618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44619 *) ac_try_echo=$ac_try;;
44620 esac
44621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44622 (eval "$ac_compile") 2>conftest.er1
44623 ac_status=$?
44624 grep -v '^ *+' conftest.er1 >conftest.err
44625 rm -f conftest.er1
44626 cat conftest.err >&5
44627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44628 (exit $ac_status); } && {
44629 test -z "$ac_cxx_werror_flag" ||
44630 test ! -s conftest.err
44631 } && test -s conftest.$ac_objext; then
44632 wx_cv_type_getsockname3=socklen_t
44633 else
44634 echo "$as_me: failed program was:" >&5
44635 sed 's/^/| /' conftest.$ac_ext >&5
44636
44637
44638 CFLAGS_OLD="$CFLAGS"
44639 if test "$GCC" = yes ; then
44640 CFLAGS="-Werror $CFLAGS"
44641 fi
44642
44643 cat >conftest.$ac_ext <<_ACEOF
44644 /* confdefs.h. */
44645 _ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44649
44650 #include <sys/types.h>
44651 #include <sys/socket.h>
44652
44653 int
44654 main ()
44655 {
44656
44657 size_t len;
44658 getsockname(0, 0, &len);
44659
44660 ;
44661 return 0;
44662 }
44663 _ACEOF
44664 rm -f conftest.$ac_objext
44665 if { (ac_try="$ac_compile"
44666 case "(($ac_try" in
44667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44668 *) ac_try_echo=$ac_try;;
44669 esac
44670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44671 (eval "$ac_compile") 2>conftest.er1
44672 ac_status=$?
44673 grep -v '^ *+' conftest.er1 >conftest.err
44674 rm -f conftest.er1
44675 cat conftest.err >&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); } && {
44678 test -z "$ac_cxx_werror_flag" ||
44679 test ! -s conftest.err
44680 } && test -s conftest.$ac_objext; then
44681 wx_cv_type_getsockname3=size_t
44682 else
44683 echo "$as_me: failed program was:" >&5
44684 sed 's/^/| /' conftest.$ac_ext >&5
44685
44686 cat >conftest.$ac_ext <<_ACEOF
44687 /* confdefs.h. */
44688 _ACEOF
44689 cat confdefs.h >>conftest.$ac_ext
44690 cat >>conftest.$ac_ext <<_ACEOF
44691 /* end confdefs.h. */
44692
44693 #include <sys/types.h>
44694 #include <sys/socket.h>
44695
44696 int
44697 main ()
44698 {
44699
44700 int len;
44701 getsockname(0, 0, &len);
44702
44703 ;
44704 return 0;
44705 }
44706 _ACEOF
44707 rm -f conftest.$ac_objext
44708 if { (ac_try="$ac_compile"
44709 case "(($ac_try" in
44710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44711 *) ac_try_echo=$ac_try;;
44712 esac
44713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44714 (eval "$ac_compile") 2>conftest.er1
44715 ac_status=$?
44716 grep -v '^ *+' conftest.er1 >conftest.err
44717 rm -f conftest.er1
44718 cat conftest.err >&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } && {
44721 test -z "$ac_cxx_werror_flag" ||
44722 test ! -s conftest.err
44723 } && test -s conftest.$ac_objext; then
44724 wx_cv_type_getsockname3=int
44725 else
44726 echo "$as_me: failed program was:" >&5
44727 sed 's/^/| /' conftest.$ac_ext >&5
44728
44729 wx_cv_type_getsockname3=unknown
44730
44731 fi
44732
44733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44734
44735 fi
44736
44737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44738
44739 CFLAGS="$CFLAGS_OLD"
44740
44741
44742 fi
44743
44744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745 ac_ext=c
44746 ac_cpp='$CPP $CPPFLAGS'
44747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44750
44751
44752 fi
44753 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44754 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44755
44756 if test "$wx_cv_type_getsockname3" = "unknown"; then
44757 wxUSE_SOCKETS=no
44758 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44759 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44760 else
44761 cat >>confdefs.h <<_ACEOF
44762 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44763 _ACEOF
44764
44765 fi
44766 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44767 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44768 if test "${wx_cv_type_getsockopt5+set}" = set; then
44769 echo $ECHO_N "(cached) $ECHO_C" >&6
44770 else
44771
44772 ac_ext=cpp
44773 ac_cpp='$CXXCPP $CPPFLAGS'
44774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44777
44778 cat >conftest.$ac_ext <<_ACEOF
44779 /* confdefs.h. */
44780 _ACEOF
44781 cat confdefs.h >>conftest.$ac_ext
44782 cat >>conftest.$ac_ext <<_ACEOF
44783 /* end confdefs.h. */
44784
44785 #include <sys/types.h>
44786 #include <sys/socket.h>
44787
44788 int
44789 main ()
44790 {
44791
44792 socklen_t len;
44793 getsockopt(0, 0, 0, 0, &len);
44794
44795 ;
44796 return 0;
44797 }
44798 _ACEOF
44799 rm -f conftest.$ac_objext
44800 if { (ac_try="$ac_compile"
44801 case "(($ac_try" in
44802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44803 *) ac_try_echo=$ac_try;;
44804 esac
44805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44806 (eval "$ac_compile") 2>conftest.er1
44807 ac_status=$?
44808 grep -v '^ *+' conftest.er1 >conftest.err
44809 rm -f conftest.er1
44810 cat conftest.err >&5
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); } && {
44813 test -z "$ac_cxx_werror_flag" ||
44814 test ! -s conftest.err
44815 } && test -s conftest.$ac_objext; then
44816 wx_cv_type_getsockopt5=socklen_t
44817 else
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.$ac_ext >&5
44820
44821
44822 cat >conftest.$ac_ext <<_ACEOF
44823 /* confdefs.h. */
44824 _ACEOF
44825 cat confdefs.h >>conftest.$ac_ext
44826 cat >>conftest.$ac_ext <<_ACEOF
44827 /* end confdefs.h. */
44828
44829 #include <sys/types.h>
44830 #include <sys/socket.h>
44831
44832 int
44833 main ()
44834 {
44835
44836 size_t len;
44837 getsockopt(0, 0, 0, 0, &len);
44838
44839 ;
44840 return 0;
44841 }
44842 _ACEOF
44843 rm -f conftest.$ac_objext
44844 if { (ac_try="$ac_compile"
44845 case "(($ac_try" in
44846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44847 *) ac_try_echo=$ac_try;;
44848 esac
44849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44850 (eval "$ac_compile") 2>conftest.er1
44851 ac_status=$?
44852 grep -v '^ *+' conftest.er1 >conftest.err
44853 rm -f conftest.er1
44854 cat conftest.err >&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); } && {
44857 test -z "$ac_cxx_werror_flag" ||
44858 test ! -s conftest.err
44859 } && test -s conftest.$ac_objext; then
44860 wx_cv_type_getsockopt5=size_t
44861 else
44862 echo "$as_me: failed program was:" >&5
44863 sed 's/^/| /' conftest.$ac_ext >&5
44864
44865 cat >conftest.$ac_ext <<_ACEOF
44866 /* confdefs.h. */
44867 _ACEOF
44868 cat confdefs.h >>conftest.$ac_ext
44869 cat >>conftest.$ac_ext <<_ACEOF
44870 /* end confdefs.h. */
44871
44872 #include <sys/types.h>
44873 #include <sys/socket.h>
44874
44875 int
44876 main ()
44877 {
44878
44879 int len;
44880 getsockopt(0, 0, 0, 0, &len);
44881
44882 ;
44883 return 0;
44884 }
44885 _ACEOF
44886 rm -f conftest.$ac_objext
44887 if { (ac_try="$ac_compile"
44888 case "(($ac_try" in
44889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44890 *) ac_try_echo=$ac_try;;
44891 esac
44892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44893 (eval "$ac_compile") 2>conftest.er1
44894 ac_status=$?
44895 grep -v '^ *+' conftest.er1 >conftest.err
44896 rm -f conftest.er1
44897 cat conftest.err >&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } && {
44900 test -z "$ac_cxx_werror_flag" ||
44901 test ! -s conftest.err
44902 } && test -s conftest.$ac_objext; then
44903 wx_cv_type_getsockopt5=int
44904 else
44905 echo "$as_me: failed program was:" >&5
44906 sed 's/^/| /' conftest.$ac_ext >&5
44907
44908 wx_cv_type_getsockopt5=unknown
44909
44910 fi
44911
44912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44913
44914 fi
44915
44916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44917
44918
44919 fi
44920
44921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44922 ac_ext=c
44923 ac_cpp='$CPP $CPPFLAGS'
44924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44927
44928
44929 fi
44930 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44931 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44932
44933 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44934 wxUSE_SOCKETS=no
44935 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44936 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44937 else
44938 cat >>confdefs.h <<_ACEOF
44939 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44940 _ACEOF
44941
44942 fi
44943 fi
44944 fi
44945
44946 if test "$wxUSE_SOCKETS" = "yes" ; then
44947 if test "$wxUSE_IPV6" = "yes"; then
44948 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44949 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44950 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44951 echo $ECHO_N "(cached) $ECHO_C" >&6
44952 else
44953
44954 cat >conftest.$ac_ext <<_ACEOF
44955 /* confdefs.h. */
44956 _ACEOF
44957 cat confdefs.h >>conftest.$ac_ext
44958 cat >>conftest.$ac_ext <<_ACEOF
44959 /* end confdefs.h. */
44960
44961 #include <sys/types.h>
44962 #include <sys/socket.h>
44963 #include <netinet/in.h>
44964
44965 int
44966 main ()
44967 {
44968
44969 struct sockaddr_in6 sa6;
44970
44971 ;
44972 return 0;
44973 }
44974 _ACEOF
44975 rm -f conftest.$ac_objext
44976 if { (ac_try="$ac_compile"
44977 case "(($ac_try" in
44978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44979 *) ac_try_echo=$ac_try;;
44980 esac
44981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44982 (eval "$ac_compile") 2>conftest.er1
44983 ac_status=$?
44984 grep -v '^ *+' conftest.er1 >conftest.err
44985 rm -f conftest.er1
44986 cat conftest.err >&5
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); } && {
44989 test -z "$ac_c_werror_flag" ||
44990 test ! -s conftest.err
44991 } && test -s conftest.$ac_objext; then
44992 wx_cv_type_sockaddr_in6=yes
44993 else
44994 echo "$as_me: failed program was:" >&5
44995 sed 's/^/| /' conftest.$ac_ext >&5
44996
44997 wx_cv_type_sockaddr_in6=no
44998
44999 fi
45000
45001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45002
45003
45004 fi
45005 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45006 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45007
45008 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_IPV6 1
45011 _ACEOF
45012
45013 else
45014 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45015 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45016 fi
45017 fi
45018
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_SOCKETS 1
45021 _ACEOF
45022
45023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45024 fi
45025
45026 if test "$wxUSE_PROTOCOL" = "yes"; then
45027 if test "$wxUSE_SOCKETS" != "yes"; then
45028 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45029 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45030 wxUSE_PROTOCOL=no
45031 fi
45032 fi
45033
45034 if test "$wxUSE_PROTOCOL" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_PROTOCOL 1
45037 _ACEOF
45038
45039
45040 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_PROTOCOL_HTTP 1
45043 _ACEOF
45044
45045 fi
45046 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_PROTOCOL_FTP 1
45049 _ACEOF
45050
45051 fi
45052 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_PROTOCOL_FILE 1
45055 _ACEOF
45056
45057 fi
45058 else
45059 if test "$wxUSE_FS_INET" = "yes"; then
45060 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45061 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45062 wxUSE_FS_INET="no"
45063 fi
45064 fi
45065
45066 if test "$wxUSE_URL" = "yes"; then
45067 if test "$wxUSE_PROTOCOL" != "yes"; then
45068 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45069 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45070 wxUSE_URL=no
45071 fi
45072 if test "$wxUSE_URL" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_URL 1
45075 _ACEOF
45076
45077 fi
45078 fi
45079
45080 if test "$wxUSE_VARIANT" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_VARIANT 1
45083 _ACEOF
45084
45085 fi
45086
45087 if test "$wxUSE_FS_INET" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_FS_INET 1
45090 _ACEOF
45091
45092 fi
45093
45094
45095 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45096 wxUSE_JOYSTICK=no
45097
45098 if test "$TOOLKIT" = "MSW"; then
45099 wxUSE_JOYSTICK=yes
45100
45101 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45102 if test "$USE_DARWIN" = 1; then
45103 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45104 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45105 ac_ext=cpp
45106 ac_cpp='$CXXCPP $CPPFLAGS'
45107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45110
45111 cat >conftest.$ac_ext <<_ACEOF
45112 /* confdefs.h. */
45113 _ACEOF
45114 cat confdefs.h >>conftest.$ac_ext
45115 cat >>conftest.$ac_ext <<_ACEOF
45116 /* end confdefs.h. */
45117 #include <IOKit/hid/IOHIDLib.h>
45118 int
45119 main ()
45120 {
45121 IOHIDQueueInterface *qi = NULL;
45122 IOHIDCallbackFunction cb = NULL;
45123 qi->setEventCallout(NULL, cb, NULL, NULL);
45124 ;
45125 return 0;
45126 }
45127 _ACEOF
45128 rm -f conftest.$ac_objext
45129 if { (ac_try="$ac_compile"
45130 case "(($ac_try" in
45131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45132 *) ac_try_echo=$ac_try;;
45133 esac
45134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45135 (eval "$ac_compile") 2>conftest.er1
45136 ac_status=$?
45137 grep -v '^ *+' conftest.er1 >conftest.err
45138 rm -f conftest.er1
45139 cat conftest.err >&5
45140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45141 (exit $ac_status); } && {
45142 test -z "$ac_cxx_werror_flag" ||
45143 test ! -s conftest.err
45144 } && test -s conftest.$ac_objext; then
45145 wxUSE_JOYSTICK=yes
45146
45147 else
45148 echo "$as_me: failed program was:" >&5
45149 sed 's/^/| /' conftest.$ac_ext >&5
45150
45151
45152 fi
45153
45154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45155 ac_ext=c
45156 ac_cpp='$CPP $CPPFLAGS'
45157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45160
45161 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45162 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45163 fi
45164
45165 else
45166 if test "$wxUSE_MGL" != 1; then
45167
45168 for ac_header in linux/joystick.h
45169 do
45170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45174 echo $ECHO_N "(cached) $ECHO_C" >&6
45175 else
45176 cat >conftest.$ac_ext <<_ACEOF
45177 /* confdefs.h. */
45178 _ACEOF
45179 cat confdefs.h >>conftest.$ac_ext
45180 cat >>conftest.$ac_ext <<_ACEOF
45181 /* end confdefs.h. */
45182 $ac_includes_default
45183
45184 #include <$ac_header>
45185 _ACEOF
45186 rm -f conftest.$ac_objext
45187 if { (ac_try="$ac_compile"
45188 case "(($ac_try" in
45189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45190 *) ac_try_echo=$ac_try;;
45191 esac
45192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45193 (eval "$ac_compile") 2>conftest.er1
45194 ac_status=$?
45195 grep -v '^ *+' conftest.er1 >conftest.err
45196 rm -f conftest.er1
45197 cat conftest.err >&5
45198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45199 (exit $ac_status); } && {
45200 test -z "$ac_c_werror_flag" ||
45201 test ! -s conftest.err
45202 } && test -s conftest.$ac_objext; then
45203 eval "$as_ac_Header=yes"
45204 else
45205 echo "$as_me: failed program was:" >&5
45206 sed 's/^/| /' conftest.$ac_ext >&5
45207
45208 eval "$as_ac_Header=no"
45209 fi
45210
45211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45212 fi
45213 ac_res=`eval echo '${'$as_ac_Header'}'`
45214 { echo "$as_me:$LINENO: result: $ac_res" >&5
45215 echo "${ECHO_T}$ac_res" >&6; }
45216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45217 cat >>confdefs.h <<_ACEOF
45218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45219 _ACEOF
45220 wxUSE_JOYSTICK=yes
45221 fi
45222
45223 done
45224
45225 fi
45226 fi
45227
45228 if test "$wxUSE_JOYSTICK" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_JOYSTICK 1
45231 _ACEOF
45232
45233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45234 else
45235 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45236 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45237 fi
45238 fi
45239
45240
45241
45242 if test "$wxUSE_FONTENUM" = "yes" ; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_FONTENUM 1
45245 _ACEOF
45246
45247 fi
45248
45249 if test "$wxUSE_FONTMAP" = "yes" ; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_FONTMAP 1
45252 _ACEOF
45253
45254 fi
45255
45256 if test "$wxUSE_UNICODE" = "yes" ; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_UNICODE 1
45259 _ACEOF
45260
45261
45262 if test "$USE_WIN32" != 1; then
45263 wxUSE_UNICODE_MSLU=no
45264 fi
45265
45266 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45267 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45268 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45269 if test "${ac_cv_lib_unicows_main+set}" = set; then
45270 echo $ECHO_N "(cached) $ECHO_C" >&6
45271 else
45272 ac_check_lib_save_LIBS=$LIBS
45273 LIBS="-lunicows $LIBS"
45274 cat >conftest.$ac_ext <<_ACEOF
45275 /* confdefs.h. */
45276 _ACEOF
45277 cat confdefs.h >>conftest.$ac_ext
45278 cat >>conftest.$ac_ext <<_ACEOF
45279 /* end confdefs.h. */
45280
45281
45282 int
45283 main ()
45284 {
45285 return main ();
45286 ;
45287 return 0;
45288 }
45289 _ACEOF
45290 rm -f conftest.$ac_objext conftest$ac_exeext
45291 if { (ac_try="$ac_link"
45292 case "(($ac_try" in
45293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45294 *) ac_try_echo=$ac_try;;
45295 esac
45296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45297 (eval "$ac_link") 2>conftest.er1
45298 ac_status=$?
45299 grep -v '^ *+' conftest.er1 >conftest.err
45300 rm -f conftest.er1
45301 cat conftest.err >&5
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); } && {
45304 test -z "$ac_c_werror_flag" ||
45305 test ! -s conftest.err
45306 } && test -s conftest$ac_exeext &&
45307 $as_test_x conftest$ac_exeext; then
45308 ac_cv_lib_unicows_main=yes
45309 else
45310 echo "$as_me: failed program was:" >&5
45311 sed 's/^/| /' conftest.$ac_ext >&5
45312
45313 ac_cv_lib_unicows_main=no
45314 fi
45315
45316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45317 conftest$ac_exeext conftest.$ac_ext
45318 LIBS=$ac_check_lib_save_LIBS
45319 fi
45320 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45321 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45322 if test $ac_cv_lib_unicows_main = yes; then
45323
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_UNICODE_MSLU 1
45326 _ACEOF
45327
45328
45329 else
45330
45331 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45332 Applications will only run on Windows NT/2000/XP!" >&5
45333 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45334 Applications will only run on Windows NT/2000/XP!" >&2;}
45335 wxUSE_UNICODE_MSLU=no
45336
45337 fi
45338
45339 fi
45340 fi
45341
45342 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_UNICODE_UTF8 1
45345 _ACEOF
45346
45347
45348 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_UTF8_LOCALE_ONLY 1
45351 _ACEOF
45352
45353 fi
45354 fi
45355
45356
45357 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_CONSTRAINTS 1
45360 _ACEOF
45361
45362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45363 fi
45364
45365 if test "$wxUSE_MDI" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_MDI 1
45368 _ACEOF
45369
45370
45371 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_MDI_ARCHITECTURE 1
45374 _ACEOF
45375
45376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45377 fi
45378 fi
45379
45380 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45383 _ACEOF
45384
45385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45386 fi
45387
45388 if test "$wxUSE_HELP" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_HELP 1
45391 _ACEOF
45392
45393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45394
45395 if test "$wxUSE_MSW" = 1; then
45396 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_MS_HTML_HELP 1
45399 _ACEOF
45400
45401 fi
45402 fi
45403
45404 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45405 if test "$wxUSE_HTML" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_WXHTML_HELP 1
45408 _ACEOF
45409
45410 else
45411 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45412 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45413 wxUSE_WXHTML_HELP=no
45414 fi
45415 fi
45416 fi
45417
45418 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_PRINTING_ARCHITECTURE 1
45421 _ACEOF
45422
45423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45424 fi
45425
45426 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_POSTSCRIPT 1
45429 _ACEOF
45430
45431 fi
45432
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45435 _ACEOF
45436
45437
45438 if test "$wxUSE_SVG" = "yes"; then
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_SVG 1
45441 _ACEOF
45442
45443 fi
45444
45445
45446 if test "$wxUSE_METAFILE" = "yes"; then
45447 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45448 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45449 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45450 wxUSE_METAFILE=no
45451 fi
45452 fi
45453
45454
45455 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45456 -o "$wxUSE_CLIPBOARD" = "yes" \
45457 -o "$wxUSE_OLE" = "yes" \
45458 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45459 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45460 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45461 if test "${ac_cv_header_ole2_h+set}" = set; then
45462 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45464 cat >conftest.$ac_ext <<_ACEOF
45465 /* confdefs.h. */
45466 _ACEOF
45467 cat confdefs.h >>conftest.$ac_ext
45468 cat >>conftest.$ac_ext <<_ACEOF
45469 /* end confdefs.h. */
45470
45471
45472 #include <ole2.h>
45473 _ACEOF
45474 rm -f conftest.$ac_objext
45475 if { (ac_try="$ac_compile"
45476 case "(($ac_try" in
45477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45478 *) ac_try_echo=$ac_try;;
45479 esac
45480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45481 (eval "$ac_compile") 2>conftest.er1
45482 ac_status=$?
45483 grep -v '^ *+' conftest.er1 >conftest.err
45484 rm -f conftest.er1
45485 cat conftest.err >&5
45486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45487 (exit $ac_status); } && {
45488 test -z "$ac_c_werror_flag" ||
45489 test ! -s conftest.err
45490 } && test -s conftest.$ac_objext; then
45491 ac_cv_header_ole2_h=yes
45492 else
45493 echo "$as_me: failed program was:" >&5
45494 sed 's/^/| /' conftest.$ac_ext >&5
45495
45496 ac_cv_header_ole2_h=no
45497 fi
45498
45499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45500 fi
45501 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45502 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45503
45504
45505
45506 if test "$ac_cv_header_ole2_h" = "yes" ; then
45507 if test "$GCC" = yes ; then
45508 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45509 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45510 cat >conftest.$ac_ext <<_ACEOF
45511 /* confdefs.h. */
45512 _ACEOF
45513 cat confdefs.h >>conftest.$ac_ext
45514 cat >>conftest.$ac_ext <<_ACEOF
45515 /* end confdefs.h. */
45516 #include <windows.h>
45517 #include <ole2.h>
45518 int
45519 main ()
45520 {
45521
45522 ;
45523 return 0;
45524 }
45525 _ACEOF
45526 rm -f conftest.$ac_objext
45527 if { (ac_try="$ac_compile"
45528 case "(($ac_try" in
45529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45530 *) ac_try_echo=$ac_try;;
45531 esac
45532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45533 (eval "$ac_compile") 2>conftest.er1
45534 ac_status=$?
45535 grep -v '^ *+' conftest.er1 >conftest.err
45536 rm -f conftest.er1
45537 cat conftest.err >&5
45538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45539 (exit $ac_status); } && {
45540 test -z "$ac_c_werror_flag" ||
45541 test ! -s conftest.err
45542 } && test -s conftest.$ac_objext; then
45543 { echo "$as_me:$LINENO: result: no" >&5
45544 echo "${ECHO_T}no" >&6; }
45545 else
45546 echo "$as_me: failed program was:" >&5
45547 sed 's/^/| /' conftest.$ac_ext >&5
45548
45549 { echo "$as_me:$LINENO: result: yes" >&5
45550 echo "${ECHO_T}yes" >&6; }
45551 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45552 fi
45553
45554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45555 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45556 if test "$wxUSE_OLE" = "yes" ; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_OLE 1
45559 _ACEOF
45560
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_OLE_AUTOMATION 1
45563 _ACEOF
45564
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_ACTIVEX 1
45567 _ACEOF
45568
45569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45570 fi
45571 fi
45572
45573 if test "$wxUSE_DATAOBJ" = "yes" ; then
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_DATAOBJ 1
45576 _ACEOF
45577
45578 fi
45579 else
45580 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45581 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45582
45583 wxUSE_CLIPBOARD=no
45584 wxUSE_DRAG_AND_DROP=no
45585 wxUSE_DATAOBJ=no
45586 wxUSE_OLE=no
45587 fi
45588
45589 if test "$wxUSE_METAFILE" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_METAFILE 1
45592 _ACEOF
45593
45594
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_ENH_METAFILE 1
45597 _ACEOF
45598
45599 fi
45600 fi
45601
45602 if test "$wxUSE_IPC" = "yes"; then
45603 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45604 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45605 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45606 wxUSE_IPC=no
45607 fi
45608
45609 if test "$wxUSE_IPC" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_IPC 1
45612 _ACEOF
45613
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45615 fi
45616 fi
45617
45618 if test "$wxUSE_DATAOBJ" = "yes"; then
45619 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45620 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45621 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45622 wxUSE_DATAOBJ=no
45623 else
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_DATAOBJ 1
45626 _ACEOF
45627
45628 fi
45629 else
45630 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45631 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45632 wxUSE_CLIPBOARD=no
45633 wxUSE_DRAG_AND_DROP=no
45634 fi
45635
45636 if test "$wxUSE_CLIPBOARD" = "yes"; then
45637 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45638 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45639 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45640 wxUSE_CLIPBOARD=no
45641 fi
45642
45643 if test "$wxUSE_CLIPBOARD" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_CLIPBOARD 1
45646 _ACEOF
45647
45648 fi
45649 fi
45650
45651 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45652 if test "$wxUSE_GTK" = 1; then
45653 if test "$WXGTK12" != 1; then
45654 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45655 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45656 wxUSE_DRAG_AND_DROP=no
45657 fi
45658 fi
45659
45660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45661 "$wxUSE_DFB" = 1; then
45662 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45663 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45664 wxUSE_DRAG_AND_DROP=no
45665 fi
45666
45667 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_DRAG_AND_DROP 1
45670 _ACEOF
45671
45672 fi
45673
45674 fi
45675
45676 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45678 fi
45679
45680 if test "$wxUSE_SPLINES" = "yes" ; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_SPLINES 1
45683 _ACEOF
45684
45685 fi
45686
45687 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_MOUSEWHEEL 1
45690 _ACEOF
45691
45692 fi
45693
45694
45695 USES_CONTROLS=0
45696 if test "$wxUSE_CONTROLS" = "yes"; then
45697 USES_CONTROLS=1
45698 fi
45699
45700 if test "$wxUSE_ACCEL" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_ACCEL 1
45703 _ACEOF
45704
45705 USES_CONTROLS=1
45706 fi
45707
45708 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_ANIMATIONCTRL 1
45711 _ACEOF
45712
45713 USES_CONTROLS=1
45714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45715 fi
45716
45717 if test "$wxUSE_BUTTON" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_BUTTON 1
45720 _ACEOF
45721
45722 USES_CONTROLS=1
45723 fi
45724
45725 if test "$wxUSE_BMPBUTTON" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_BMPBUTTON 1
45728 _ACEOF
45729
45730 USES_CONTROLS=1
45731 fi
45732
45733 if test "$wxUSE_CALCTRL" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_CALENDARCTRL 1
45736 _ACEOF
45737
45738 USES_CONTROLS=1
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45740 fi
45741
45742 if test "$wxUSE_CARET" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_CARET 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45749 fi
45750
45751 if test "$wxUSE_COLLPANE" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_COLLPANE 1
45754 _ACEOF
45755
45756 USES_CONTROLS=1
45757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45758 fi
45759
45760 if test "$wxUSE_COMBOBOX" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_COMBOBOX 1
45763 _ACEOF
45764
45765 USES_CONTROLS=1
45766 fi
45767
45768 if test "$wxUSE_COMBOCTRL" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_COMBOCTRL 1
45771 _ACEOF
45772
45773 USES_CONTROLS=1
45774 fi
45775
45776 if test "$wxUSE_CHOICE" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_CHOICE 1
45779 _ACEOF
45780
45781 USES_CONTROLS=1
45782 fi
45783
45784 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_CHOICEBOOK 1
45787 _ACEOF
45788
45789 USES_CONTROLS=1
45790 fi
45791
45792 if test "$wxUSE_CHECKBOX" = "yes"; then
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_CHECKBOX 1
45795 _ACEOF
45796
45797 USES_CONTROLS=1
45798 fi
45799
45800 if test "$wxUSE_CHECKLST" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_CHECKLISTBOX 1
45803 _ACEOF
45804
45805 USES_CONTROLS=1
45806 fi
45807
45808 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_COLOURPICKERCTRL 1
45811 _ACEOF
45812
45813 USES_CONTROLS=1
45814 fi
45815
45816 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_DATEPICKCTRL 1
45819 _ACEOF
45820
45821 USES_CONTROLS=1
45822 fi
45823
45824 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45825 cat >>confdefs.h <<\_ACEOF
45826 #define wxUSE_DIRPICKERCTRL 1
45827 _ACEOF
45828
45829 USES_CONTROLS=1
45830 fi
45831
45832 if test "$wxUSE_FILECTRL" = "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define wxUSE_FILECTRL 1
45835 _ACEOF
45836
45837 USES_CONTROLS=1
45838 fi
45839
45840 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_FILEPICKERCTRL 1
45843 _ACEOF
45844
45845 USES_CONTROLS=1
45846 fi
45847
45848 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_FONTPICKERCTRL 1
45851 _ACEOF
45852
45853 USES_CONTROLS=1
45854 fi
45855
45856 if test "$wxUSE_DISPLAY" = "yes"; then
45857 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45858 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45859 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45860 wxUSE_DISPLAY=no
45861 else
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_DISPLAY 1
45864 _ACEOF
45865
45866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45867 fi
45868 fi
45869
45870 if test "$wxUSE_DETECT_SM" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_DETECT_SM 1
45873 _ACEOF
45874
45875 fi
45876
45877 if test "$wxUSE_GAUGE" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_GAUGE 1
45880 _ACEOF
45881
45882 USES_CONTROLS=1
45883 fi
45884
45885 if test "$wxUSE_GRID" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_GRID 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45892 fi
45893
45894 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_HYPERLINKCTRL 1
45897 _ACEOF
45898
45899 USES_CONTROLS=1
45900 fi
45901
45902 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_BITMAPCOMBOBOX 1
45905 _ACEOF
45906
45907 USES_CONTROLS=1
45908 fi
45909
45910 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_DATAVIEWCTRL 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45917 fi
45918
45919 if test "$wxUSE_IMAGLIST" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_IMAGLIST 1
45922 _ACEOF
45923
45924 fi
45925
45926 if test "$wxUSE_LISTBOOK" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_LISTBOOK 1
45929 _ACEOF
45930
45931 USES_CONTROLS=1
45932 fi
45933
45934 if test "$wxUSE_LISTBOX" = "yes"; then
45935 cat >>confdefs.h <<\_ACEOF
45936 #define wxUSE_LISTBOX 1
45937 _ACEOF
45938
45939 USES_CONTROLS=1
45940 fi
45941
45942 if test "$wxUSE_LISTCTRL" = "yes"; then
45943 if test "$wxUSE_IMAGLIST" = "yes"; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_LISTCTRL 1
45946 _ACEOF
45947
45948 USES_CONTROLS=1
45949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45950 else
45951 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45952 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45953 fi
45954 fi
45955
45956 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_EDITABLELISTBOX 1
45959 _ACEOF
45960
45961 USES_CONTROLS=1
45962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45963 fi
45964
45965 if test "$wxUSE_NOTEBOOK" = "yes"; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_NOTEBOOK 1
45968 _ACEOF
45969
45970 USES_CONTROLS=1
45971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45972 fi
45973
45974 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_NOTIFICATION_MESSAGE 1
45977 _ACEOF
45978
45979 fi
45980
45981 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45982 cat >>confdefs.h <<\_ACEOF
45983 #define wxUSE_ODCOMBOBOX 1
45984 _ACEOF
45985
45986 USES_CONTROLS=1
45987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45988 fi
45989
45990 if test "$wxUSE_RADIOBOX" = "yes"; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_RADIOBOX 1
45993 _ACEOF
45994
45995 USES_CONTROLS=1
45996 fi
45997
45998 if test "$wxUSE_RADIOBTN" = "yes"; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_RADIOBTN 1
46001 _ACEOF
46002
46003 USES_CONTROLS=1
46004 fi
46005
46006 if test "$wxUSE_SASH" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_SASH 1
46009 _ACEOF
46010
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46012 fi
46013
46014 if test "$wxUSE_SCROLLBAR" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_SCROLLBAR 1
46017 _ACEOF
46018
46019 USES_CONTROLS=1
46020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46021 fi
46022
46023 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46024 cat >>confdefs.h <<\_ACEOF
46025 #define wxUSE_SEARCHCTRL 1
46026 _ACEOF
46027
46028 USES_CONTROLS=1
46029 fi
46030
46031 if test "$wxUSE_SLIDER" = "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define wxUSE_SLIDER 1
46034 _ACEOF
46035
46036 USES_CONTROLS=1
46037 fi
46038
46039 if test "$wxUSE_SPINBTN" = "yes"; then
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_SPINBTN 1
46042 _ACEOF
46043
46044 USES_CONTROLS=1
46045 fi
46046
46047 if test "$wxUSE_SPINCTRL" = "yes"; then
46048 cat >>confdefs.h <<\_ACEOF
46049 #define wxUSE_SPINCTRL 1
46050 _ACEOF
46051
46052 USES_CONTROLS=1
46053 fi
46054
46055 if test "$wxUSE_SPLITTER" = "yes"; then
46056 cat >>confdefs.h <<\_ACEOF
46057 #define wxUSE_SPLITTER 1
46058 _ACEOF
46059
46060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46061 fi
46062
46063 if test "$wxUSE_STATBMP" = "yes"; then
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_STATBMP 1
46066 _ACEOF
46067
46068 USES_CONTROLS=1
46069 fi
46070
46071 if test "$wxUSE_STATBOX" = "yes"; then
46072 cat >>confdefs.h <<\_ACEOF
46073 #define wxUSE_STATBOX 1
46074 _ACEOF
46075
46076 USES_CONTROLS=1
46077 fi
46078
46079 if test "$wxUSE_STATTEXT" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define wxUSE_STATTEXT 1
46082 _ACEOF
46083
46084 USES_CONTROLS=1
46085 fi
46086
46087 if test "$wxUSE_STATLINE" = "yes"; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_STATLINE 1
46090 _ACEOF
46091
46092 USES_CONTROLS=1
46093 fi
46094
46095 if test "$wxUSE_STATUSBAR" = "yes"; then
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_NATIVE_STATUSBAR 1
46098 _ACEOF
46099
46100 cat >>confdefs.h <<\_ACEOF
46101 #define wxUSE_STATUSBAR 1
46102 _ACEOF
46103
46104 USES_CONTROLS=1
46105
46106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46107 fi
46108
46109 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_TAB_DIALOG 1
46112 _ACEOF
46113
46114 fi
46115
46116 if test "$wxUSE_TEXTCTRL" = "yes"; then
46117 cat >>confdefs.h <<\_ACEOF
46118 #define wxUSE_TEXTCTRL 1
46119 _ACEOF
46120
46121 USES_CONTROLS=1
46122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46123
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_RICHEDIT 1
46126 _ACEOF
46127
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_RICHEDIT2 1
46130 _ACEOF
46131
46132 fi
46133
46134 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46135 if test "$wxUSE_COCOA" = 1 ; then
46136 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46137 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46138 wxUSE_TOGGLEBTN=no
46139 fi
46140
46141 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_TOGGLEBTN 1
46144 _ACEOF
46145
46146 USES_CONTROLS=1
46147 fi
46148 fi
46149
46150 if test "$wxUSE_TOOLBAR" = "yes"; then
46151 cat >>confdefs.h <<\_ACEOF
46152 #define wxUSE_TOOLBAR 1
46153 _ACEOF
46154
46155 USES_CONTROLS=1
46156
46157 if test "$wxUSE_UNIVERSAL" = "yes"; then
46158 wxUSE_TOOLBAR_NATIVE="no"
46159 else
46160 wxUSE_TOOLBAR_NATIVE="yes"
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_TOOLBAR_NATIVE 1
46163 _ACEOF
46164
46165 fi
46166
46167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46168 fi
46169
46170 if test "$wxUSE_TOOLTIPS" = "yes"; then
46171 if test "$wxUSE_MOTIF" = 1; then
46172 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46173 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46174 else
46175 if test "$wxUSE_UNIVERSAL" = "yes"; then
46176 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46177 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46178 else
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_TOOLTIPS 1
46181 _ACEOF
46182
46183 fi
46184 fi
46185 fi
46186
46187 if test "$wxUSE_TREEBOOK" = "yes"; then
46188 cat >>confdefs.h <<\_ACEOF
46189 #define wxUSE_TREEBOOK 1
46190 _ACEOF
46191
46192 USES_CONTROLS=1
46193 fi
46194
46195 if test "$wxUSE_TOOLBOOK" = "yes"; then
46196 cat >>confdefs.h <<\_ACEOF
46197 #define wxUSE_TOOLBOOK 1
46198 _ACEOF
46199
46200 USES_CONTROLS=1
46201 fi
46202
46203 if test "$wxUSE_TREECTRL" = "yes"; then
46204 if test "$wxUSE_IMAGLIST" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_TREECTRL 1
46207 _ACEOF
46208
46209 USES_CONTROLS=1
46210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46211 else
46212 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46213 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46214 fi
46215 fi
46216
46217 if test "$wxUSE_POPUPWIN" = "yes"; then
46218 if test "$wxUSE_COCOA" = 1 ; then
46219 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46220 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46221 else
46222 if test "$wxUSE_PM" = 1; then
46223 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46224 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46225 else
46226 cat >>confdefs.h <<\_ACEOF
46227 #define wxUSE_POPUPWIN 1
46228 _ACEOF
46229
46230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46231
46232 USES_CONTROLS=1
46233 fi
46234 fi
46235 fi
46236
46237 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46238 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46239 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46240 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46241 else
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_DIALUP_MANAGER 1
46244 _ACEOF
46245
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46247 fi
46248 fi
46249
46250 if test "$wxUSE_TIPWINDOW" = "yes"; then
46251 if test "$wxUSE_PM" = 1; then
46252 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46253 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46254 else
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_TIPWINDOW 1
46257 _ACEOF
46258
46259 fi
46260 fi
46261
46262 if test "$USES_CONTROLS" = 1; then
46263 cat >>confdefs.h <<\_ACEOF
46264 #define wxUSE_CONTROLS 1
46265 _ACEOF
46266
46267 fi
46268
46269
46270 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_ACCESSIBILITY 1
46273 _ACEOF
46274
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46276 fi
46277
46278 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_DRAGIMAGE 1
46281 _ACEOF
46282
46283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46284 fi
46285
46286 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46287 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46288 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46289 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46290 else
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_EXCEPTIONS 1
46293 _ACEOF
46294
46295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46296 fi
46297 fi
46298
46299 USE_HTML=0
46300 if test "$wxUSE_HTML" = "yes"; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_HTML 1
46303 _ACEOF
46304
46305 USE_HTML=1
46306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46307 fi
46308 if test "$wxUSE_WEBKIT" = "yes"; then
46309 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46310 old_CPPFLAGS="$CPPFLAGS"
46311 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46312 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46313 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46314 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46315 echo $ECHO_N "(cached) $ECHO_C" >&6
46316 else
46317 cat >conftest.$ac_ext <<_ACEOF
46318 /* confdefs.h. */
46319 _ACEOF
46320 cat confdefs.h >>conftest.$ac_ext
46321 cat >>conftest.$ac_ext <<_ACEOF
46322 /* end confdefs.h. */
46323
46324 #include <Carbon/Carbon.h>
46325 #include <WebKit/WebKit.h>
46326
46327
46328 #include <WebKit/HIWebView.h>
46329 _ACEOF
46330 rm -f conftest.$ac_objext
46331 if { (ac_try="$ac_compile"
46332 case "(($ac_try" in
46333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46334 *) ac_try_echo=$ac_try;;
46335 esac
46336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46337 (eval "$ac_compile") 2>conftest.er1
46338 ac_status=$?
46339 grep -v '^ *+' conftest.er1 >conftest.err
46340 rm -f conftest.er1
46341 cat conftest.err >&5
46342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46343 (exit $ac_status); } && {
46344 test -z "$ac_c_werror_flag" ||
46345 test ! -s conftest.err
46346 } && test -s conftest.$ac_objext; then
46347 ac_cv_header_WebKit_HIWebView_h=yes
46348 else
46349 echo "$as_me: failed program was:" >&5
46350 sed 's/^/| /' conftest.$ac_ext >&5
46351
46352 ac_cv_header_WebKit_HIWebView_h=no
46353 fi
46354
46355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46356 fi
46357 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46358 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46359 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46360
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_WEBKIT 1
46363 _ACEOF
46364
46365 WEBKIT_LINK="-framework WebKit"
46366
46367 else
46368
46369 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46370 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46371 wxUSE_WEBKIT=no
46372
46373 fi
46374
46375
46376 CPPFLAGS="$old_CPPFLAGS"
46377 elif test "$wxUSE_COCOA" = 1; then
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_WEBKIT 1
46380 _ACEOF
46381
46382 else
46383 wxUSE_WEBKIT=no
46384 fi
46385 if test "$wxUSE_WEBKIT" = "yes"; then
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46387 fi
46388 fi
46389
46390 USE_XRC=0
46391 if test "$wxUSE_XRC" = "yes"; then
46392 if test "$wxUSE_XML" != "yes"; then
46393 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46394 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46395 wxUSE_XRC=no
46396 else
46397 cat >>confdefs.h <<\_ACEOF
46398 #define wxUSE_XRC 1
46399 _ACEOF
46400
46401 USE_XRC=1
46402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46403 fi
46404 fi
46405
46406 USE_AUI=0
46407 if test "$wxUSE_AUI" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_AUI 1
46410 _ACEOF
46411
46412 USE_AUI=1
46413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46414 fi
46415
46416 USE_PROPGRID=0
46417 if test "$wxUSE_PROPGRID" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_PROPGRID 1
46420 _ACEOF
46421
46422 USE_PROPGRID=1
46423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46424 fi
46425
46426 USE_STC=0
46427 if test "$wxUSE_STC" = "yes"; then
46428 cat >>confdefs.h <<\_ACEOF
46429 #define wxUSE_STC 1
46430 _ACEOF
46431
46432 USE_STC=1
46433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46434 fi
46435
46436 if test "$wxUSE_MENUS" = "yes"; then
46437 cat >>confdefs.h <<\_ACEOF
46438 #define wxUSE_MENUS 1
46439 _ACEOF
46440
46441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46442 fi
46443
46444 if test "$wxUSE_METAFILE" = "yes"; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_METAFILE 1
46447 _ACEOF
46448
46449 fi
46450
46451 if test "$wxUSE_MIMETYPE" = "yes"; then
46452 cat >>confdefs.h <<\_ACEOF
46453 #define wxUSE_MIMETYPE 1
46454 _ACEOF
46455
46456 fi
46457
46458 if test "$wxUSE_MINIFRAME" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_MINIFRAME 1
46461 _ACEOF
46462
46463 fi
46464
46465 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_SYSTEM_OPTIONS 1
46468 _ACEOF
46469
46470 fi
46471
46472 if test "$wxUSE_TASKBARICON" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_TASKBARICON 1
46475 _ACEOF
46476
46477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46478 fi
46479
46480
46481 if test "$wxUSE_VALIDATORS" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_VALIDATORS 1
46484 _ACEOF
46485
46486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46487 fi
46488
46489 if test "$wxUSE_PALETTE" = "yes" ; then
46490 if test "$wxUSE_DFB" = 1; then
46491 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46492 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46493 wxUSE_PALETTE=no
46494 else
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_PALETTE 1
46497 _ACEOF
46498
46499 fi
46500 fi
46501
46502 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46503 LIBS=" -lunicows $LIBS"
46504 fi
46505
46506 USE_RICHTEXT=0
46507 if test "$wxUSE_RICHTEXT" = "yes"; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_RICHTEXT 1
46510 _ACEOF
46511
46512 USE_RICHTEXT=1
46513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46514 fi
46515
46516
46517 if test "$wxUSE_IMAGE" = "yes" ; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_IMAGE 1
46520 _ACEOF
46521
46522
46523 if test "$wxUSE_GIF" = "yes" ; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_GIF 1
46526 _ACEOF
46527
46528 fi
46529
46530 if test "$wxUSE_PCX" = "yes" ; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_PCX 1
46533 _ACEOF
46534
46535 fi
46536
46537 if test "$wxUSE_TGA" = "yes" ; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_TGA 1
46540 _ACEOF
46541
46542 fi
46543
46544 if test "$wxUSE_IFF" = "yes" ; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_IFF 1
46547 _ACEOF
46548
46549 fi
46550
46551 if test "$wxUSE_PNM" = "yes" ; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_PNM 1
46554 _ACEOF
46555
46556 fi
46557
46558 if test "$wxUSE_XPM" = "yes" ; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_XPM 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_ICO_CUR" = "yes" ; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_ICO_CUR 1
46568 _ACEOF
46569
46570 fi
46571 fi
46572
46573
46574 if test "$wxUSE_ABOUTDLG" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_ABOUTDLG 1
46577 _ACEOF
46578
46579 fi
46580
46581 if test "$wxUSE_CHOICEDLG" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_CHOICEDLG 1
46584 _ACEOF
46585
46586 fi
46587
46588 if test "$wxUSE_COLOURDLG" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_COLOURDLG 1
46591 _ACEOF
46592
46593 fi
46594
46595 if test "$wxUSE_FILEDLG" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_FILEDLG 1
46598 _ACEOF
46599
46600 fi
46601
46602 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_FINDREPLDLG 1
46605 _ACEOF
46606
46607 fi
46608
46609 if test "$wxUSE_FONTDLG" = "yes"; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_FONTDLG 1
46612 _ACEOF
46613
46614 fi
46615
46616 if test "$wxUSE_DIRDLG" = "yes"; then
46617 if test "$wxUSE_TREECTRL" != "yes"; then
46618 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46619 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46620 else
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_DIRDLG 1
46623 _ACEOF
46624
46625 fi
46626 fi
46627
46628 if test "$wxUSE_MSGDLG" = "yes"; then
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_MSGDLG 1
46631 _ACEOF
46632
46633 fi
46634
46635 if test "$wxUSE_NUMBERDLG" = "yes"; then
46636 cat >>confdefs.h <<\_ACEOF
46637 #define wxUSE_NUMBERDLG 1
46638 _ACEOF
46639
46640 fi
46641
46642 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_PROGRESSDLG 1
46645 _ACEOF
46646
46647 fi
46648
46649 if test "$wxUSE_SPLASH" = "yes"; then
46650 cat >>confdefs.h <<\_ACEOF
46651 #define wxUSE_SPLASH 1
46652 _ACEOF
46653
46654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46655 fi
46656
46657 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_STARTUP_TIPS 1
46660 _ACEOF
46661
46662 fi
46663
46664 if test "$wxUSE_TEXTDLG" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_TEXTDLG 1
46667 _ACEOF
46668
46669 fi
46670
46671 if test "$wxUSE_WIZARDDLG" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_WIZARDDLG 1
46674 _ACEOF
46675
46676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46677 fi
46678
46679
46680 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46681 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46682 cat >>confdefs.h <<\_ACEOF
46683 #define wxUSE_OWNER_DRAWN 1
46684 _ACEOF
46685
46686 fi
46687 fi
46688
46689
46690 if test "$wxUSE_MSW" = 1 ; then
46691
46692 if test "$wxUSE_DC_CACHEING" = "yes"; then
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_DC_CACHEING 1
46695 _ACEOF
46696
46697 fi
46698
46699 if test "$wxUSE_DIB" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_WXDIB 1
46702 _ACEOF
46703
46704 fi
46705
46706 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46707 cat >>confdefs.h <<\_ACEOF
46708 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46709 _ACEOF
46710
46711 fi
46712
46713 if test "$wxUSE_UXTHEME" = "yes"; then
46714 cat >>confdefs.h <<\_ACEOF
46715 #define wxUSE_UXTHEME 1
46716 _ACEOF
46717
46718 fi
46719
46720 fi
46721
46722 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_AUTOID_MANAGEMENT 1
46725 _ACEOF
46726
46727 fi
46728
46729 if test "$USE_WIN32" = 1 ; then
46730 if test "$wxUSE_INICONF" = "yes"; then
46731 cat >>confdefs.h <<\_ACEOF
46732 #define wxUSE_INICONF 1
46733 _ACEOF
46734
46735 fi
46736
46737 if test "$wxUSE_REGKEY" = "yes"; then
46738 cat >>confdefs.h <<\_ACEOF
46739 #define wxUSE_REGKEY 1
46740 _ACEOF
46741
46742 fi
46743 fi
46744
46745
46746 if test "$wxUSE_MAC" = 1; then
46747 wxUSE_GRAPHICS_CONTEXT="yes"
46748 fi
46749
46750 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46751 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_GRAPHICS_CONTEXT 1
46754 _ACEOF
46755
46756 elif test "$wxUSE_GTK" != 1; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_GRAPHICS_CONTEXT 1
46759 _ACEOF
46760
46761 else
46762
46763 pkg_failed=no
46764 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46765 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46766
46767 if test -n "$PKG_CONFIG"; then
46768 if test -n "$CAIRO_CFLAGS"; then
46769 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46770 else
46771 if test -n "$PKG_CONFIG" && \
46772 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46773 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46774 ac_status=$?
46775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46776 (exit $ac_status); }; then
46777 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46778 else
46779 pkg_failed=yes
46780 fi
46781 fi
46782 else
46783 pkg_failed=untried
46784 fi
46785 if test -n "$PKG_CONFIG"; then
46786 if test -n "$CAIRO_LIBS"; then
46787 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46788 else
46789 if test -n "$PKG_CONFIG" && \
46790 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46791 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46792 ac_status=$?
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); }; then
46795 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46796 else
46797 pkg_failed=yes
46798 fi
46799 fi
46800 else
46801 pkg_failed=untried
46802 fi
46803
46804
46805
46806 if test $pkg_failed = yes; then
46807
46808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46809 _pkg_short_errors_supported=yes
46810 else
46811 _pkg_short_errors_supported=no
46812 fi
46813 if test $_pkg_short_errors_supported = yes; then
46814 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46815 else
46816 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46817 fi
46818 # Put the nasty error message in config.log where it belongs
46819 echo "$CAIRO_PKG_ERRORS" >&5
46820
46821 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46822 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46823
46824 elif test $pkg_failed = untried; then
46825 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46826 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46827
46828 else
46829 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46830 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46831 { echo "$as_me:$LINENO: result: yes" >&5
46832 echo "${ECHO_T}yes" >&6; }
46833 cat >>confdefs.h <<\_ACEOF
46834 #define wxUSE_GRAPHICS_CONTEXT 1
46835 _ACEOF
46836
46837 fi
46838 fi
46839 fi
46840
46841
46842 USE_MEDIA=0
46843
46844 if test "$wxUSE_MEDIACTRL" = "yes"; then
46845 USE_MEDIA=1
46846
46847 if test "$wxUSE_GTK" = 1; then
46848 wxUSE_GSTREAMER="no"
46849
46850 GST_VERSION_MAJOR=0
46851 GST_VERSION_MINOR=10
46852 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46853
46854 if test "$wxUSE_GSTREAMER8" = "no"; then
46855
46856 pkg_failed=no
46857 { echo "$as_me:$LINENO: checking for GST" >&5
46858 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46859
46860 if test -n "$PKG_CONFIG"; then
46861 if test -n "$GST_CFLAGS"; then
46862 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46863 else
46864 if test -n "$PKG_CONFIG" && \
46865 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46866 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46867 ac_status=$?
46868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46869 (exit $ac_status); }; then
46870 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46871 else
46872 pkg_failed=yes
46873 fi
46874 fi
46875 else
46876 pkg_failed=untried
46877 fi
46878 if test -n "$PKG_CONFIG"; then
46879 if test -n "$GST_LIBS"; then
46880 pkg_cv_GST_LIBS="$GST_LIBS"
46881 else
46882 if test -n "$PKG_CONFIG" && \
46883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46884 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46885 ac_status=$?
46886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46887 (exit $ac_status); }; then
46888 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46889 else
46890 pkg_failed=yes
46891 fi
46892 fi
46893 else
46894 pkg_failed=untried
46895 fi
46896
46897
46898
46899 if test $pkg_failed = yes; then
46900
46901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46902 _pkg_short_errors_supported=yes
46903 else
46904 _pkg_short_errors_supported=no
46905 fi
46906 if test $_pkg_short_errors_supported = yes; then
46907 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46908 else
46909 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46910 fi
46911 # Put the nasty error message in config.log where it belongs
46912 echo "$GST_PKG_ERRORS" >&5
46913
46914
46915 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46916 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46917 GST_VERSION_MINOR=8
46918
46919
46920 elif test $pkg_failed = untried; then
46921
46922 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46923 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46924 GST_VERSION_MINOR=8
46925
46926
46927 else
46928 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46929 GST_LIBS=$pkg_cv_GST_LIBS
46930 { echo "$as_me:$LINENO: result: yes" >&5
46931 echo "${ECHO_T}yes" >&6; }
46932
46933 wxUSE_GSTREAMER="yes"
46934 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46935
46936 fi
46937 else
46938 GST_VERSION_MINOR=8
46939 fi
46940
46941 if test $GST_VERSION_MINOR = "8"; then
46942 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46943
46944 pkg_failed=no
46945 { echo "$as_me:$LINENO: checking for GST" >&5
46946 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46947
46948 if test -n "$PKG_CONFIG"; then
46949 if test -n "$GST_CFLAGS"; then
46950 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46951 else
46952 if test -n "$PKG_CONFIG" && \
46953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46954 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46955 ac_status=$?
46956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46957 (exit $ac_status); }; then
46958 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46959 else
46960 pkg_failed=yes
46961 fi
46962 fi
46963 else
46964 pkg_failed=untried
46965 fi
46966 if test -n "$PKG_CONFIG"; then
46967 if test -n "$GST_LIBS"; then
46968 pkg_cv_GST_LIBS="$GST_LIBS"
46969 else
46970 if test -n "$PKG_CONFIG" && \
46971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46972 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46973 ac_status=$?
46974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46975 (exit $ac_status); }; then
46976 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46977 else
46978 pkg_failed=yes
46979 fi
46980 fi
46981 else
46982 pkg_failed=untried
46983 fi
46984
46985
46986
46987 if test $pkg_failed = yes; then
46988
46989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46990 _pkg_short_errors_supported=yes
46991 else
46992 _pkg_short_errors_supported=no
46993 fi
46994 if test $_pkg_short_errors_supported = yes; then
46995 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46996 else
46997 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46998 fi
46999 # Put the nasty error message in config.log where it belongs
47000 echo "$GST_PKG_ERRORS" >&5
47001
47002
47003 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47004 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47005
47006 elif test $pkg_failed = untried; then
47007
47008 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47009 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47010
47011 else
47012 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47013 GST_LIBS=$pkg_cv_GST_LIBS
47014 { echo "$as_me:$LINENO: result: yes" >&5
47015 echo "${ECHO_T}yes" >&6; }
47016 wxUSE_GSTREAMER="yes"
47017 fi
47018 fi
47019
47020
47021 if test "$wxUSE_GSTREAMER" = "yes"; then
47022 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47023 EXTRALIBS_MEDIA="$GST_LIBS"
47024
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_GSTREAMER 1
47027 _ACEOF
47028
47029 else
47030 USE_MEDIA=0
47031 fi
47032 fi
47033
47034 if test $USE_MEDIA = 1; then
47035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_MEDIACTRL 1
47038 _ACEOF
47039
47040 fi
47041 fi
47042
47043
47044 if test "$cross_compiling" = "yes"; then
47045 OSINFO="\"$host\""
47046 else
47047 OSINFO=`uname -s -r -m`
47048 OSINFO="\"$OSINFO\""
47049 fi
47050
47051 cat >>confdefs.h <<_ACEOF
47052 #define WXWIN_OS_DESCRIPTION $OSINFO
47053 _ACEOF
47054
47055
47056
47057 if test "x$prefix" != "xNONE"; then
47058 wxPREFIX=$prefix
47059 else
47060 wxPREFIX=$ac_default_prefix
47061 fi
47062
47063 cat >>confdefs.h <<_ACEOF
47064 #define wxINSTALL_PREFIX "$wxPREFIX"
47065 _ACEOF
47066
47067
47068
47069
47070 STD_BASE_LIBS="base"
47071 STD_GUI_LIBS=""
47072 BUILT_WX_LIBS="base"
47073 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47074
47075 if test "$wxUSE_SOCKETS" = "yes" ; then
47076 STD_BASE_LIBS="net $STD_BASE_LIBS"
47077 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47078 fi
47079 if test "$wxUSE_XML" = "yes" ; then
47080 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47081 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47082 fi
47083
47084 if test "$wxUSE_GUI" = "yes"; then
47085 STD_GUI_LIBS="adv core"
47086 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47087
47088 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47089 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47090 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47091 fi
47092 if test "$wxUSE_HTML" = "yes" ; then
47093 STD_GUI_LIBS="html $STD_GUI_LIBS"
47094 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47095 fi
47096 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47097 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47098 fi
47099 if test "$wxUSE_OPENGL" = "yes" ; then
47100 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47101 fi
47102 if test "$wxUSE_AUI" = "yes" ; then
47103 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47104 fi
47105 if test "$wxUSE_PROPGRID" = "yes" ; then
47106 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47107 fi
47108 if test "$wxUSE_RICHTEXT" = "yes" ; then
47109 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47110 fi
47111 if test "$wxUSE_STC" = "yes" ; then
47112 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47113 fi
47114 if test "$wxUSE_XRC" = "yes" ; then
47115 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47116 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47117 fi
47118 fi
47119
47120
47121
47122
47123
47124
47125
47126
47127 if test "$wxUSE_MAC" = 1 ; then
47128 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47129 if test "$USE_DARWIN" = 1; then
47130 LDFLAGS="$LDFLAGS -framework QuickTime"
47131 fi
47132 fi
47133 if test "$USE_DARWIN" = 1; then
47134 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47135 fi
47136 fi
47137 if test "$wxUSE_COCOA" = 1 ; then
47138 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47139 if test "$wxUSE_MEDIACTRL" = "yes"; then
47140 LDFLAGS="$LDFLAGS -framework QuickTime"
47141 fi
47142 fi
47143 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47144 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47145 fi
47146
47147 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47148
47149 if test "$wxUSE_GUI" = "yes"; then
47150
47151
47152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47153 erase event exec font image minimal mobile \
47154 mobile/wxedit mobile/styles render \
47155 shaped svg taborder vscroll widgets"
47156
47157 if test "$wxUSE_MONOLITHIC" != "yes"; then
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47159 fi
47160 if test "$TOOLKIT" = "MSW"; then
47161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47162 if test "$wxUSE_UNIVERSAL" != "yes"; then
47163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47164 fi
47165 fi
47166 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47168 fi
47169 else
47170 SAMPLES_SUBDIRS="console"
47171 if test "$wxUSE_SOCKETS" = "yes" ; then
47172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47173 fi
47174 if test "$wxUSE_IPC" = "yes" ; then
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47176 fi
47177 fi
47178
47179
47180 if test "x$INTELCC" = "xyes" ; then
47181 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47182 elif test "$GCC" = yes ; then
47183 CWARNINGS="-Wall -Wundef"
47184 fi
47185
47186 if test "x$INTELCXX" = "xyes" ; then
47187 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47188 elif test "$GXX" = yes ; then
47189 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47190 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47191 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47192 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47193 echo $ECHO_N "(cached) $ECHO_C" >&6
47194 else
47195 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47196
47197 ac_ext=cpp
47198 ac_cpp='$CXXCPP $CPPFLAGS'
47199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202
47203 ac_save_CXXFLAGS="$CXXFLAGS"
47204 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47205 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47206 cat >conftest.$ac_ext <<_ACEOF
47207 /* confdefs.h. */
47208 _ACEOF
47209 cat confdefs.h >>conftest.$ac_ext
47210 cat >>conftest.$ac_ext <<_ACEOF
47211 /* end confdefs.h. */
47212
47213 int
47214 main ()
47215 {
47216 return 0;
47217 ;
47218 return 0;
47219 }
47220 _ACEOF
47221 rm -f conftest.$ac_objext
47222 if { (ac_try="$ac_compile"
47223 case "(($ac_try" in
47224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47225 *) ac_try_echo=$ac_try;;
47226 esac
47227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47228 (eval "$ac_compile") 2>conftest.er1
47229 ac_status=$?
47230 grep -v '^ *+' conftest.er1 >conftest.err
47231 rm -f conftest.er1
47232 cat conftest.err >&5
47233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47234 (exit $ac_status); } && {
47235 test -z "$ac_cxx_werror_flag" ||
47236 test ! -s conftest.err
47237 } && test -s conftest.$ac_objext; then
47238 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47239 else
47240 echo "$as_me: failed program was:" >&5
47241 sed 's/^/| /' conftest.$ac_ext >&5
47242
47243
47244 fi
47245
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 done
47248 CXXFLAGS="$ac_save_CXXFLAGS"
47249 ac_ext=c
47250 ac_cpp='$CPP $CPPFLAGS'
47251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47254
47255
47256 fi
47257 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47258 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47259 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47260 .ok|.ok,*) ;;
47261 .|.no|.no,*) ;;
47262 *)
47263 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47264 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47265 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47266 ac_status=$?
47267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47268 (exit $ac_status); }
47269 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47270 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47271 ac_status=$?
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); }
47274 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47275 fi
47276 ;;
47277 esac
47278
47279 fi
47280
47281
47282 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47283 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47284
47285
47286 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47287 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47288 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47289 $CPPFLAGS `
47290
47291 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47292 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47293 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47294 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47295 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47296
47297 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47298
47299
47300 if test "x$MWCC" = "xyes"; then
47301
47302 CC="$CC -cwd source -I-"
47303 CXX="$CXX -cwd source -I-"
47304 fi
47305
47306
47307 LIBS=`echo $LIBS`
47308 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47309 EXTRALIBS_XML="$EXPAT_LINK"
47310 EXTRALIBS_HTML="$MSPACK_LINK"
47311 EXTRALIBS_MEDIA="$GST_LIBS"
47312 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47313 if test "$wxUSE_GUI" = "yes"; then
47314 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47315 fi
47316 if test "$wxUSE_OPENGL" = "yes"; then
47317 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47318 fi
47319
47320 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47321
47322 WXCONFIG_LIBS="$LIBS"
47323
47324 if test "$wxUSE_REGEX" = "builtin" ; then
47325 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47326 fi
47327 if test "$wxUSE_EXPAT" = "builtin" ; then
47328 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47329 fi
47330 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47331 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47332 fi
47333 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47334 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47335 fi
47336 if test "$wxUSE_LIBPNG" = "builtin" ; then
47337 wxconfig_3rdparty="png $wxconfig_3rdparty"
47338 fi
47339 if test "$wxUSE_ZLIB" = "builtin" ; then
47340 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47341 fi
47342
47343 for i in $wxconfig_3rdparty ; do
47344 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47345 done
47346
47347
47348 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47349 WXUNIV=1
47350
47351 case "$wxUNIV_THEMES" in
47352 ''|all)
47353 cat >>confdefs.h <<\_ACEOF
47354 #define wxUSE_ALL_THEMES 1
47355 _ACEOF
47356
47357 ;;
47358
47359 *)
47360 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47361 cat >>confdefs.h <<_ACEOF
47362 #define wxUSE_THEME_$t 1
47363 _ACEOF
47364
47365 done
47366 esac
47367 else
47368 WXUNIV=0
47369 fi
47370
47371
47372
47373
47374
47375
47376
47377
47378 if test $wxUSE_MONOLITHIC = "yes" ; then
47379 MONOLITHIC=1
47380 else
47381 MONOLITHIC=0
47382 fi
47383
47384 if test $wxUSE_PLUGINS = "yes" ; then
47385 USE_PLUGINS=1
47386 else
47387 USE_PLUGINS=0
47388 fi
47389
47390 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47391 USE_QA=1
47392 else
47393 USE_QA=0
47394 fi
47395
47396 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47397 OFFICIAL_BUILD=1
47398 else
47399 OFFICIAL_BUILD=0
47400 fi
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429 TOOLKIT_LOWERCASE=xxx
47430 if test "$TOOLKIT" = "MAC"; then
47431 TOOLKIT_LOWERCASE=osx_carbon
47432 fi
47433 if test "$TOOLKIT" = "OSX_CARBON"; then
47434 TOOLKIT_LOWERCASE=osx_carbon
47435 fi
47436 if test "$TOOLKIT" = "OSX_COCOA"; then
47437 TOOLKIT_LOWERCASE=osx_cocoa
47438 fi
47439 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47440 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47441 fi
47442
47443
47444
47445
47446
47447
47448
47449
47450 case "$TOOLKIT" in
47451 GTK)
47452 TOOLKIT_DESC="GTK+"
47453 if test "$WXGTK2" = 1; then
47454 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47455 if test "$wxUSE_GTKPRINT" = "yes" ; then
47456 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47457 fi
47458 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47459 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47460 fi
47461 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47462 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47463 fi
47464 if test "$wxUSE_LIBHILDON" = "yes"; then
47465 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47466 fi
47467
47468 if test "$TOOLKIT_EXTRA" != ""; then
47469 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47470 fi
47471 fi
47472 ;;
47473
47474 ?*)
47475 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47476 ;;
47477
47478 *)
47479 TOOLKIT_DESC="base only"
47480 ;;
47481 esac
47482
47483 if test "$wxUSE_WINE" = "yes"; then
47484 BAKEFILE_FORCE_PLATFORM=win32
47485 fi
47486
47487 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47488 then
47489 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47490 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47491 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47492 echo $ECHO_N "(cached) $ECHO_C" >&6
47493 else
47494
47495 echo '#include <stdio.h>
47496 const wchar_t test_var[] = L"awidetest";' > conftest.h
47497
47498 echo '#include "conftest.h"
47499 int main()
47500 {
47501 printf("%ls", test_var);
47502 return 0;
47503 }' > conftest.cpp
47504
47505 wx_cv_gcc_pch_bug="pch not supported"
47506
47507 if $CXX conftest.h >/dev/null 2>&1
47508 then
47509 wx_cv_gcc_pch_bug=
47510
47511 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47512 then
47513 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47514 grep awidetest >/dev/null
47515 then
47516 wx_cv_gcc_pch_bug=no
47517 else
47518 wx_cv_gcc_pch_bug=yes
47519 fi
47520 fi
47521 fi
47522
47523 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47524
47525 fi
47526 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47527 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47528
47529 if test "$wx_cv_gcc_pch_bug" = yes; then
47530 bk_use_pch=no
47531 fi
47532 fi
47533
47534
47535
47536
47537
47538
47539
47540 if test "x$BAKEFILE_HOST" = "x"; then
47541 if test "x${host}" = "x" ; then
47542 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47543 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47544 { (exit 1); exit 1; }; }
47545 fi
47546
47547 BAKEFILE_HOST="${host}"
47548 fi
47549
47550 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47551
47552 if test -n "$ac_tool_prefix"; then
47553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47557 if test "${ac_cv_prog_RANLIB+set}" = set; then
47558 echo $ECHO_N "(cached) $ECHO_C" >&6
47559 else
47560 if test -n "$RANLIB"; then
47561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47562 else
47563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47564 for as_dir in $PATH
47565 do
47566 IFS=$as_save_IFS
47567 test -z "$as_dir" && as_dir=.
47568 for ac_exec_ext in '' $ac_executable_extensions; do
47569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47572 break 2
47573 fi
47574 done
47575 done
47576 IFS=$as_save_IFS
47577
47578 fi
47579 fi
47580 RANLIB=$ac_cv_prog_RANLIB
47581 if test -n "$RANLIB"; then
47582 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47583 echo "${ECHO_T}$RANLIB" >&6; }
47584 else
47585 { echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6; }
47587 fi
47588
47589
47590 fi
47591 if test -z "$ac_cv_prog_RANLIB"; then
47592 ac_ct_RANLIB=$RANLIB
47593 # Extract the first word of "ranlib", so it can be a program name with args.
47594 set dummy ranlib; ac_word=$2
47595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47597 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 else
47600 if test -n "$ac_ct_RANLIB"; then
47601 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47602 else
47603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47604 for as_dir in $PATH
47605 do
47606 IFS=$as_save_IFS
47607 test -z "$as_dir" && as_dir=.
47608 for ac_exec_ext in '' $ac_executable_extensions; do
47609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47610 ac_cv_prog_ac_ct_RANLIB="ranlib"
47611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47612 break 2
47613 fi
47614 done
47615 done
47616 IFS=$as_save_IFS
47617
47618 fi
47619 fi
47620 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47621 if test -n "$ac_ct_RANLIB"; then
47622 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47623 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47624 else
47625 { echo "$as_me:$LINENO: result: no" >&5
47626 echo "${ECHO_T}no" >&6; }
47627 fi
47628
47629 if test "x$ac_ct_RANLIB" = x; then
47630 RANLIB=":"
47631 else
47632 case $cross_compiling:$ac_tool_warned in
47633 yes:)
47634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47635 whose name does not start with the host triplet. If you think this
47636 configuration is useful to you, please write to autoconf@gnu.org." >&5
47637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47638 whose name does not start with the host triplet. If you think this
47639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47640 ac_tool_warned=yes ;;
47641 esac
47642 RANLIB=$ac_ct_RANLIB
47643 fi
47644 else
47645 RANLIB="$ac_cv_prog_RANLIB"
47646 fi
47647
47648 # Find a good install program. We prefer a C program (faster),
47649 # so one script is as good as another. But avoid the broken or
47650 # incompatible versions:
47651 # SysV /etc/install, /usr/sbin/install
47652 # SunOS /usr/etc/install
47653 # IRIX /sbin/install
47654 # AIX /bin/install
47655 # AmigaOS /C/install, which installs bootblocks on floppy discs
47656 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47657 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47658 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47659 # OS/2's system install, which has a completely different semantic
47660 # ./install, which can be erroneously created by make from ./install.sh.
47661 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47662 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47663 if test -z "$INSTALL"; then
47664 if test "${ac_cv_path_install+set}" = set; then
47665 echo $ECHO_N "(cached) $ECHO_C" >&6
47666 else
47667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47668 for as_dir in $PATH
47669 do
47670 IFS=$as_save_IFS
47671 test -z "$as_dir" && as_dir=.
47672 # Account for people who put trailing slashes in PATH elements.
47673 case $as_dir/ in
47674 ./ | .// | /cC/* | \
47675 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47676 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47677 /usr/ucb/* ) ;;
47678 *)
47679 # OSF1 and SCO ODT 3.0 have their own names for install.
47680 # Don't use installbsd from OSF since it installs stuff as root
47681 # by default.
47682 for ac_prog in ginstall scoinst install; do
47683 for ac_exec_ext in '' $ac_executable_extensions; do
47684 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47685 if test $ac_prog = install &&
47686 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47687 # AIX install. It has an incompatible calling convention.
47688 :
47689 elif test $ac_prog = install &&
47690 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47691 # program-specific install script used by HP pwplus--don't use.
47692 :
47693 else
47694 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47695 break 3
47696 fi
47697 fi
47698 done
47699 done
47700 ;;
47701 esac
47702 done
47703 IFS=$as_save_IFS
47704
47705
47706 fi
47707 if test "${ac_cv_path_install+set}" = set; then
47708 INSTALL=$ac_cv_path_install
47709 else
47710 # As a last resort, use the slow shell script. Don't cache a
47711 # value for INSTALL within a source directory, because that will
47712 # break other packages using the cache if that directory is
47713 # removed, or if the value is a relative name.
47714 INSTALL=$ac_install_sh
47715 fi
47716 fi
47717 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47718 echo "${ECHO_T}$INSTALL" >&6; }
47719
47720 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47721 # It thinks the first close brace ends the variable substitution.
47722 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47723
47724 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47725
47726 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47727
47728 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47729 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47730 LN_S=$as_ln_s
47731 if test "$LN_S" = "ln -s"; then
47732 { echo "$as_me:$LINENO: result: yes" >&5
47733 echo "${ECHO_T}yes" >&6; }
47734 else
47735 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47736 echo "${ECHO_T}no, using $LN_S" >&6; }
47737 fi
47738
47739
47740 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47741 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47742 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47743 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47744 echo $ECHO_N "(cached) $ECHO_C" >&6
47745 else
47746 cat >conftest.make <<\_ACEOF
47747 SHELL = /bin/sh
47748 all:
47749 @echo '@@@%%%=$(MAKE)=@@@%%%'
47750 _ACEOF
47751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47752 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47753 *@@@%%%=?*=@@@%%%*)
47754 eval ac_cv_prog_make_${ac_make}_set=yes;;
47755 *)
47756 eval ac_cv_prog_make_${ac_make}_set=no;;
47757 esac
47758 rm -f conftest.make
47759 fi
47760 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47763 SET_MAKE=
47764 else
47765 { echo "$as_me:$LINENO: result: no" >&5
47766 echo "${ECHO_T}no" >&6; }
47767 SET_MAKE="MAKE=${MAKE-make}"
47768 fi
47769
47770
47771
47772 if test "x$SUNCXX" = "xyes"; then
47773 AR=$CXX
47774 AROPTIONS="-xar -o"
47775
47776 elif test "x$SGICC" = "xyes"; then
47777 AR=$CXX
47778 AROPTIONS="-ar -o"
47779
47780 else
47781 if test -n "$ac_tool_prefix"; then
47782 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47783 set dummy ${ac_tool_prefix}ar; ac_word=$2
47784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47786 if test "${ac_cv_prog_AR+set}" = set; then
47787 echo $ECHO_N "(cached) $ECHO_C" >&6
47788 else
47789 if test -n "$AR"; then
47790 ac_cv_prog_AR="$AR" # Let the user override the test.
47791 else
47792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47793 for as_dir in $PATH
47794 do
47795 IFS=$as_save_IFS
47796 test -z "$as_dir" && as_dir=.
47797 for ac_exec_ext in '' $ac_executable_extensions; do
47798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47799 ac_cv_prog_AR="${ac_tool_prefix}ar"
47800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47801 break 2
47802 fi
47803 done
47804 done
47805 IFS=$as_save_IFS
47806
47807 fi
47808 fi
47809 AR=$ac_cv_prog_AR
47810 if test -n "$AR"; then
47811 { echo "$as_me:$LINENO: result: $AR" >&5
47812 echo "${ECHO_T}$AR" >&6; }
47813 else
47814 { echo "$as_me:$LINENO: result: no" >&5
47815 echo "${ECHO_T}no" >&6; }
47816 fi
47817
47818
47819 fi
47820 if test -z "$ac_cv_prog_AR"; then
47821 ac_ct_AR=$AR
47822 # Extract the first word of "ar", so it can be a program name with args.
47823 set dummy ar; ac_word=$2
47824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47826 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47827 echo $ECHO_N "(cached) $ECHO_C" >&6
47828 else
47829 if test -n "$ac_ct_AR"; then
47830 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47831 else
47832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47833 for as_dir in $PATH
47834 do
47835 IFS=$as_save_IFS
47836 test -z "$as_dir" && as_dir=.
47837 for ac_exec_ext in '' $ac_executable_extensions; do
47838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47839 ac_cv_prog_ac_ct_AR="ar"
47840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47841 break 2
47842 fi
47843 done
47844 done
47845 IFS=$as_save_IFS
47846
47847 fi
47848 fi
47849 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47850 if test -n "$ac_ct_AR"; then
47851 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47852 echo "${ECHO_T}$ac_ct_AR" >&6; }
47853 else
47854 { echo "$as_me:$LINENO: result: no" >&5
47855 echo "${ECHO_T}no" >&6; }
47856 fi
47857
47858 if test "x$ac_ct_AR" = x; then
47859 AR="ar"
47860 else
47861 case $cross_compiling:$ac_tool_warned in
47862 yes:)
47863 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47864 whose name does not start with the host triplet. If you think this
47865 configuration is useful to you, please write to autoconf@gnu.org." >&5
47866 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47867 whose name does not start with the host triplet. If you think this
47868 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47869 ac_tool_warned=yes ;;
47870 esac
47871 AR=$ac_ct_AR
47872 fi
47873 else
47874 AR="$ac_cv_prog_AR"
47875 fi
47876
47877 AROPTIONS=rcu
47878 fi
47879
47880
47881 if test -n "$ac_tool_prefix"; then
47882 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47883 set dummy ${ac_tool_prefix}strip; ac_word=$2
47884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47886 if test "${ac_cv_prog_STRIP+set}" = set; then
47887 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 else
47889 if test -n "$STRIP"; then
47890 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47891 else
47892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47893 for as_dir in $PATH
47894 do
47895 IFS=$as_save_IFS
47896 test -z "$as_dir" && as_dir=.
47897 for ac_exec_ext in '' $ac_executable_extensions; do
47898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47899 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47901 break 2
47902 fi
47903 done
47904 done
47905 IFS=$as_save_IFS
47906
47907 fi
47908 fi
47909 STRIP=$ac_cv_prog_STRIP
47910 if test -n "$STRIP"; then
47911 { echo "$as_me:$LINENO: result: $STRIP" >&5
47912 echo "${ECHO_T}$STRIP" >&6; }
47913 else
47914 { echo "$as_me:$LINENO: result: no" >&5
47915 echo "${ECHO_T}no" >&6; }
47916 fi
47917
47918
47919 fi
47920 if test -z "$ac_cv_prog_STRIP"; then
47921 ac_ct_STRIP=$STRIP
47922 # Extract the first word of "strip", so it can be a program name with args.
47923 set dummy strip; ac_word=$2
47924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47926 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47927 echo $ECHO_N "(cached) $ECHO_C" >&6
47928 else
47929 if test -n "$ac_ct_STRIP"; then
47930 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47931 else
47932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47933 for as_dir in $PATH
47934 do
47935 IFS=$as_save_IFS
47936 test -z "$as_dir" && as_dir=.
47937 for ac_exec_ext in '' $ac_executable_extensions; do
47938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47939 ac_cv_prog_ac_ct_STRIP="strip"
47940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47941 break 2
47942 fi
47943 done
47944 done
47945 IFS=$as_save_IFS
47946
47947 fi
47948 fi
47949 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47950 if test -n "$ac_ct_STRIP"; then
47951 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47952 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47953 else
47954 { echo "$as_me:$LINENO: result: no" >&5
47955 echo "${ECHO_T}no" >&6; }
47956 fi
47957
47958 if test "x$ac_ct_STRIP" = x; then
47959 STRIP=":"
47960 else
47961 case $cross_compiling:$ac_tool_warned in
47962 yes:)
47963 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47964 whose name does not start with the host triplet. If you think this
47965 configuration is useful to you, please write to autoconf@gnu.org." >&5
47966 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47967 whose name does not start with the host triplet. If you think this
47968 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47969 ac_tool_warned=yes ;;
47970 esac
47971 STRIP=$ac_ct_STRIP
47972 fi
47973 else
47974 STRIP="$ac_cv_prog_STRIP"
47975 fi
47976
47977 if test -n "$ac_tool_prefix"; then
47978 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47979 set dummy ${ac_tool_prefix}nm; ac_word=$2
47980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47982 if test "${ac_cv_prog_NM+set}" = set; then
47983 echo $ECHO_N "(cached) $ECHO_C" >&6
47984 else
47985 if test -n "$NM"; then
47986 ac_cv_prog_NM="$NM" # Let the user override the test.
47987 else
47988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47989 for as_dir in $PATH
47990 do
47991 IFS=$as_save_IFS
47992 test -z "$as_dir" && as_dir=.
47993 for ac_exec_ext in '' $ac_executable_extensions; do
47994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47995 ac_cv_prog_NM="${ac_tool_prefix}nm"
47996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47997 break 2
47998 fi
47999 done
48000 done
48001 IFS=$as_save_IFS
48002
48003 fi
48004 fi
48005 NM=$ac_cv_prog_NM
48006 if test -n "$NM"; then
48007 { echo "$as_me:$LINENO: result: $NM" >&5
48008 echo "${ECHO_T}$NM" >&6; }
48009 else
48010 { echo "$as_me:$LINENO: result: no" >&5
48011 echo "${ECHO_T}no" >&6; }
48012 fi
48013
48014
48015 fi
48016 if test -z "$ac_cv_prog_NM"; then
48017 ac_ct_NM=$NM
48018 # Extract the first word of "nm", so it can be a program name with args.
48019 set dummy nm; ac_word=$2
48020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48022 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48023 echo $ECHO_N "(cached) $ECHO_C" >&6
48024 else
48025 if test -n "$ac_ct_NM"; then
48026 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48027 else
48028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48029 for as_dir in $PATH
48030 do
48031 IFS=$as_save_IFS
48032 test -z "$as_dir" && as_dir=.
48033 for ac_exec_ext in '' $ac_executable_extensions; do
48034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48035 ac_cv_prog_ac_ct_NM="nm"
48036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48037 break 2
48038 fi
48039 done
48040 done
48041 IFS=$as_save_IFS
48042
48043 fi
48044 fi
48045 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48046 if test -n "$ac_ct_NM"; then
48047 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48048 echo "${ECHO_T}$ac_ct_NM" >&6; }
48049 else
48050 { echo "$as_me:$LINENO: result: no" >&5
48051 echo "${ECHO_T}no" >&6; }
48052 fi
48053
48054 if test "x$ac_ct_NM" = x; then
48055 NM=":"
48056 else
48057 case $cross_compiling:$ac_tool_warned in
48058 yes:)
48059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48060 whose name does not start with the host triplet. If you think this
48061 configuration is useful to you, please write to autoconf@gnu.org." >&5
48062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48063 whose name does not start with the host triplet. If you think this
48064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48065 ac_tool_warned=yes ;;
48066 esac
48067 NM=$ac_ct_NM
48068 fi
48069 else
48070 NM="$ac_cv_prog_NM"
48071 fi
48072
48073
48074 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48075 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48076 INSTALL_TEST_DIR=acbftest$$
48077 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48078 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48079 rmdir $INSTALL_TEST_DIR
48080 INSTALL_DIR='$(INSTALL) -d'
48081 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48082 echo "${ECHO_T}$INSTALL -d" >&6; }
48083 else
48084 INSTALL_DIR="mkdir -p"
48085 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48086 echo "${ECHO_T}mkdir -p" >&6; }
48087 fi
48088
48089
48090 LDFLAGS_GUI=
48091 case ${BAKEFILE_HOST} in
48092 *-*-cygwin* | *-*-mingw32* )
48093 LDFLAGS_GUI="-mwindows"
48094 esac
48095
48096
48097 fi
48098
48099 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48100 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48101 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48102 echo $ECHO_N "(cached) $ECHO_C" >&6
48103 else
48104
48105 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48106 egrep -s GNU > /dev/null); then
48107 bakefile_cv_prog_makeisgnu="yes"
48108 else
48109 bakefile_cv_prog_makeisgnu="no"
48110 fi
48111
48112 fi
48113 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48114 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48115
48116 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48117 IF_GNU_MAKE=""
48118 else
48119 IF_GNU_MAKE="#"
48120 fi
48121
48122
48123
48124 PLATFORM_UNIX=0
48125 PLATFORM_WIN32=0
48126 PLATFORM_MSDOS=0
48127 PLATFORM_MAC=0
48128 PLATFORM_MACOS=0
48129 PLATFORM_MACOSX=0
48130 PLATFORM_OS2=0
48131 PLATFORM_BEOS=0
48132
48133 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48134 case "${BAKEFILE_HOST}" in
48135 *-*-mingw32* )
48136 PLATFORM_WIN32=1
48137 ;;
48138 *-pc-msdosdjgpp )
48139 PLATFORM_MSDOS=1
48140 ;;
48141 *-pc-os2_emx | *-pc-os2-emx )
48142 PLATFORM_OS2=1
48143 ;;
48144 *-*-darwin* )
48145 PLATFORM_MAC=1
48146 PLATFORM_MACOSX=1
48147 ;;
48148 *-*-beos* )
48149 PLATFORM_BEOS=1
48150 ;;
48151 powerpc-apple-macos* )
48152 PLATFORM_MAC=1
48153 PLATFORM_MACOS=1
48154 ;;
48155 * )
48156 PLATFORM_UNIX=1
48157 ;;
48158 esac
48159 else
48160 case "$BAKEFILE_FORCE_PLATFORM" in
48161 win32 )
48162 PLATFORM_WIN32=1
48163 ;;
48164 msdos )
48165 PLATFORM_MSDOS=1
48166 ;;
48167 os2 )
48168 PLATFORM_OS2=1
48169 ;;
48170 darwin )
48171 PLATFORM_MAC=1
48172 PLATFORM_MACOSX=1
48173 ;;
48174 unix )
48175 PLATFORM_UNIX=1
48176 ;;
48177 beos )
48178 PLATFORM_BEOS=1
48179 ;;
48180 * )
48181 ;;
48182 esac
48183 fi
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195 # Check whether --enable-omf was given.
48196 if test "${enable_omf+set}" = set; then
48197 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48198 fi
48199
48200
48201 case "${BAKEFILE_HOST}" in
48202 *-*-darwin* )
48203 if test "x$GCC" = "xyes"; then
48204 CFLAGS="$CFLAGS -fno-common"
48205 CXXFLAGS="$CXXFLAGS -fno-common"
48206 fi
48207 if test "x$XLCC" = "xyes"; then
48208 CFLAGS="$CFLAGS -qnocommon"
48209 CXXFLAGS="$CXXFLAGS -qnocommon"
48210 fi
48211 ;;
48212
48213 *-pc-os2_emx | *-pc-os2-emx )
48214 if test "x$bk_os2_use_omf" = "xyes" ; then
48215 AR=emxomfar
48216 RANLIB=:
48217 LDFLAGS="-Zomf $LDFLAGS"
48218 CFLAGS="-Zomf $CFLAGS"
48219 CXXFLAGS="-Zomf $CXXFLAGS"
48220 OS2_LIBEXT="lib"
48221 else
48222 OS2_LIBEXT="a"
48223 fi
48224 ;;
48225
48226 i*86-*-beos* )
48227 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48228 ;;
48229 esac
48230
48231
48232 SO_SUFFIX="so"
48233 SO_SUFFIX_MODULE="so"
48234 EXEEXT=""
48235 LIBPREFIX="lib"
48236 LIBEXT=".a"
48237 DLLPREFIX="lib"
48238 DLLPREFIX_MODULE=""
48239 DLLIMP_SUFFIX=""
48240 dlldir="$libdir"
48241
48242 case "${BAKEFILE_HOST}" in
48243 ia64-hp-hpux* )
48244 ;;
48245 *-hp-hpux* )
48246 SO_SUFFIX="sl"
48247 SO_SUFFIX_MODULE="sl"
48248 ;;
48249 *-*-aix* )
48250 SO_SUFFIX="a"
48251 SO_SUFFIX_MODULE="a"
48252 ;;
48253 *-*-cygwin* )
48254 SO_SUFFIX="dll"
48255 SO_SUFFIX_MODULE="dll"
48256 DLLIMP_SUFFIX="dll.a"
48257 EXEEXT=".exe"
48258 DLLPREFIX="cyg"
48259 dlldir="$bindir"
48260 ;;
48261 *-*-mingw32* )
48262 SO_SUFFIX="dll"
48263 SO_SUFFIX_MODULE="dll"
48264 DLLIMP_SUFFIX="dll.a"
48265 EXEEXT=".exe"
48266 DLLPREFIX=""
48267 dlldir="$bindir"
48268 ;;
48269 *-pc-msdosdjgpp )
48270 EXEEXT=".exe"
48271 DLLPREFIX=""
48272 dlldir="$bindir"
48273 ;;
48274 *-pc-os2_emx | *-pc-os2-emx )
48275 SO_SUFFIX="dll"
48276 SO_SUFFIX_MODULE="dll"
48277 DLLIMP_SUFFIX=$OS2_LIBEXT
48278 EXEEXT=".exe"
48279 DLLPREFIX=""
48280 LIBPREFIX=""
48281 LIBEXT=".$OS2_LIBEXT"
48282 dlldir="$bindir"
48283 ;;
48284 *-*-darwin* )
48285 SO_SUFFIX="dylib"
48286 SO_SUFFIX_MODULE="bundle"
48287 ;;
48288 esac
48289
48290 if test "x$DLLIMP_SUFFIX" = "x" ; then
48291 DLLIMP_SUFFIX="$SO_SUFFIX"
48292 fi
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305 PIC_FLAG=""
48306 if test "x$GCC" = "xyes"; then
48307 PIC_FLAG="-fPIC"
48308 fi
48309
48310 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48311 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48312 WINDOWS_IMPLIB=0
48313
48314 case "${BAKEFILE_HOST}" in
48315 *-hp-hpux* )
48316 if test "x$GCC" != "xyes"; then
48317 LDFLAGS="$LDFLAGS -L/usr/lib"
48318
48319 SHARED_LD_CC="${CC} -b -o"
48320 SHARED_LD_CXX="${CXX} -b -o"
48321 PIC_FLAG="+Z"
48322 fi
48323 ;;
48324
48325 *-*-linux* )
48326 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48327 PIC_FLAG="-KPIC"
48328 elif test "x$SUNCXX" = "xyes"; then
48329 SHARED_LD_CC="${CC} -G -o"
48330 SHARED_LD_CXX="${CXX} -G -o"
48331 PIC_FLAG="-KPIC"
48332 fi
48333 ;;
48334
48335 *-*-solaris2* )
48336 if test "x$SUNCXX" = xyes ; then
48337 SHARED_LD_CC="${CC} -G -o"
48338 SHARED_LD_CXX="${CXX} -G -o"
48339 PIC_FLAG="-KPIC"
48340 fi
48341 ;;
48342
48343 *-*-darwin* )
48344
48345 D='$'
48346 cat <<EOF >shared-ld-sh
48347 #!/bin/sh
48348 #-----------------------------------------------------------------------------
48349 #-- Name: distrib/mac/shared-ld-sh
48350 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48351 #-- Author: Gilles Depeyrot
48352 #-- Copyright: (c) 2002 Gilles Depeyrot
48353 #-- Licence: any use permitted
48354 #-----------------------------------------------------------------------------
48355
48356 verbose=0
48357 args=""
48358 objects=""
48359 linking_flag="-dynamiclib"
48360 ldargs="-r -keep_private_externs -nostdlib"
48361
48362 if test "x${D}CXX" = "x"; then
48363 CXX="c++"
48364 fi
48365
48366 while test ${D}# -gt 0; do
48367 case ${D}1 in
48368
48369 -v)
48370 verbose=1
48371 ;;
48372
48373 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48374 # collect these options and values
48375 args="${D}{args} ${D}1 ${D}2"
48376 shift
48377 ;;
48378
48379 -arch|-isysroot)
48380 # collect these options and values
48381 ldargs="${D}{ldargs} ${D}1 ${D}2"
48382 shift
48383 ;;
48384
48385 -s|-Wl,*)
48386 # collect these load args
48387 ldargs="${D}{ldargs} ${D}1"
48388 ;;
48389
48390 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48391 # collect these options
48392 args="${D}{args} ${D}1"
48393 ;;
48394
48395 -dynamiclib|-bundle)
48396 linking_flag="${D}1"
48397 ;;
48398
48399 -*)
48400 echo "shared-ld: unhandled option '${D}1'"
48401 exit 1
48402 ;;
48403
48404 *.o | *.a | *.dylib)
48405 # collect object files
48406 objects="${D}{objects} ${D}1"
48407 ;;
48408
48409 *)
48410 echo "shared-ld: unhandled argument '${D}1'"
48411 exit 1
48412 ;;
48413
48414 esac
48415 shift
48416 done
48417
48418 status=0
48419
48420 #
48421 # Link one module containing all the others
48422 #
48423 if test ${D}{verbose} = 1; then
48424 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48425 fi
48426 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48427 status=${D}?
48428
48429 #
48430 # Link the shared library from the single module created, but only if the
48431 # previous command didn't fail:
48432 #
48433 if test ${D}{status} = 0; then
48434 if test ${D}{verbose} = 1; then
48435 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48436 fi
48437 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48438 status=${D}?
48439 fi
48440
48441 #
48442 # Remove intermediate module
48443 #
48444 rm -f master.${D}${D}.o
48445
48446 exit ${D}status
48447 EOF
48448
48449 chmod +x shared-ld-sh
48450
48451 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48452 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48453
48454
48455 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48456 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48457 if test "${bakefile_cv_gcc31+set}" = set; then
48458 echo $ECHO_N "(cached) $ECHO_C" >&6
48459 else
48460
48461 cat >conftest.$ac_ext <<_ACEOF
48462 /* confdefs.h. */
48463 _ACEOF
48464 cat confdefs.h >>conftest.$ac_ext
48465 cat >>conftest.$ac_ext <<_ACEOF
48466 /* end confdefs.h. */
48467
48468 int
48469 main ()
48470 {
48471
48472 #if (__GNUC__ < 3) || \
48473 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48474 This is old gcc
48475 #endif
48476
48477 ;
48478 return 0;
48479 }
48480 _ACEOF
48481 rm -f conftest.$ac_objext
48482 if { (ac_try="$ac_compile"
48483 case "(($ac_try" in
48484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48485 *) ac_try_echo=$ac_try;;
48486 esac
48487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48488 (eval "$ac_compile") 2>conftest.er1
48489 ac_status=$?
48490 grep -v '^ *+' conftest.er1 >conftest.err
48491 rm -f conftest.er1
48492 cat conftest.err >&5
48493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48494 (exit $ac_status); } && {
48495 test -z "$ac_c_werror_flag" ||
48496 test ! -s conftest.err
48497 } && test -s conftest.$ac_objext; then
48498
48499 bakefile_cv_gcc31=yes
48500
48501 else
48502 echo "$as_me: failed program was:" >&5
48503 sed 's/^/| /' conftest.$ac_ext >&5
48504
48505
48506 bakefile_cv_gcc31=no
48507
48508
48509 fi
48510
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512
48513 fi
48514 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48515 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48516 if test "$bakefile_cv_gcc31" = "no"; then
48517 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48518 SHARED_LD_CXX="$SHARED_LD_CC"
48519 else
48520 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48521 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48522 fi
48523
48524 if test "x$GCC" == "xyes"; then
48525 PIC_FLAG="-dynamic -fPIC"
48526 fi
48527 if test "x$XLCC" = "xyes"; then
48528 PIC_FLAG="-dynamic -DPIC"
48529 fi
48530 ;;
48531
48532 *-*-aix* )
48533 if test "x$GCC" = "xyes"; then
48534 PIC_FLAG=""
48535
48536 case "${BAKEFILE_HOST}" in
48537 *-*-aix5* )
48538 LD_EXPFULL="-Wl,-bexpfull"
48539 ;;
48540 esac
48541
48542 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48543 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48544 else
48545 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48546 set dummy makeC++SharedLib; ac_word=$2
48547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48549 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48550 echo $ECHO_N "(cached) $ECHO_C" >&6
48551 else
48552 if test -n "$AIX_CXX_LD"; then
48553 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48554 else
48555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48556 for as_dir in $PATH
48557 do
48558 IFS=$as_save_IFS
48559 test -z "$as_dir" && as_dir=.
48560 for ac_exec_ext in '' $ac_executable_extensions; do
48561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48562 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48564 break 2
48565 fi
48566 done
48567 done
48568 IFS=$as_save_IFS
48569
48570 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48571 fi
48572 fi
48573 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48574 if test -n "$AIX_CXX_LD"; then
48575 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48576 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48577 else
48578 { echo "$as_me:$LINENO: result: no" >&5
48579 echo "${ECHO_T}no" >&6; }
48580 fi
48581
48582
48583 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48584 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48585 fi
48586 ;;
48587
48588 *-*-beos* )
48589 SHARED_LD_CC="${LD} -nostart -o"
48590 SHARED_LD_CXX="${LD} -nostart -o"
48591 ;;
48592
48593 *-*-irix* )
48594 if test "x$GCC" != "xyes"; then
48595 PIC_FLAG="-KPIC"
48596 fi
48597 ;;
48598
48599 *-*-cygwin* | *-*-mingw32* )
48600 PIC_FLAG=""
48601 SHARED_LD_CC="\$(CC) -shared -o"
48602 SHARED_LD_CXX="\$(CXX) -shared -o"
48603 WINDOWS_IMPLIB=1
48604 ;;
48605
48606 *-pc-os2_emx | *-pc-os2-emx )
48607 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48608 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48609 PIC_FLAG=""
48610
48611 D='$'
48612 cat <<EOF >dllar.sh
48613 #!/bin/sh
48614 #
48615 # dllar - a tool to build both a .dll and an .a file
48616 # from a set of object (.o) files for EMX/OS2.
48617 #
48618 # Written by Andrew Zabolotny, bit@freya.etu.ru
48619 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48620 #
48621 # This script will accept a set of files on the command line.
48622 # All the public symbols from the .o files will be exported into
48623 # a .DEF file, then linker will be run (through gcc) against them to
48624 # build a shared library consisting of all given .o files. All libraries
48625 # (.a) will be first decompressed into component .o files then act as
48626 # described above. You can optionally give a description (-d "description")
48627 # which will be put into .DLL. To see the list of accepted options (as well
48628 # as command-line format) simply run this program without options. The .DLL
48629 # is built to be imported by name (there is no guarantee that new versions
48630 # of the library you build will have same ordinals for same symbols).
48631 #
48632 # dllar is free software; you can redistribute it and/or modify
48633 # it under the terms of the GNU General Public License as published by
48634 # the Free Software Foundation; either version 2, or (at your option)
48635 # any later version.
48636 #
48637 # dllar is distributed in the hope that it will be useful,
48638 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48639 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48640 # GNU General Public License for more details.
48641 #
48642 # You should have received a copy of the GNU General Public License
48643 # along with dllar; see the file COPYING. If not, write to the Free
48644 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48645 # 02111-1307, USA.
48646
48647 # To successfuly run this program you will need:
48648 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48649 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48650 # - gcc
48651 # (used to build the .dll)
48652 # - emxexp
48653 # (used to create .def file from .o files)
48654 # - emximp
48655 # (used to create .a file from .def file)
48656 # - GNU text utilites (cat, sort, uniq)
48657 # used to process emxexp output
48658 # - GNU file utilities (mv, rm)
48659 # - GNU sed
48660 # - lxlite (optional, see flag below)
48661 # (used for general .dll cleanup)
48662 #
48663
48664 flag_USE_LXLITE=1;
48665
48666 #
48667 # helper functions
48668 # basnam, variant of basename, which does _not_ remove the path, _iff_
48669 # second argument (suffix to remove) is given
48670 basnam(){
48671 case ${D}# in
48672 1)
48673 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48674 ;;
48675 2)
48676 echo ${D}1 | sed 's/'${D}2'${D}//'
48677 ;;
48678 *)
48679 echo "error in basnam ${D}*"
48680 exit 8
48681 ;;
48682 esac
48683 }
48684
48685 # Cleanup temporary files and output
48686 CleanUp() {
48687 cd ${D}curDir
48688 for i in ${D}inputFiles ; do
48689 case ${D}i in
48690 *!)
48691 rm -rf \`basnam ${D}i !\`
48692 ;;
48693 *)
48694 ;;
48695 esac
48696 done
48697
48698 # Kill result in case of failure as there is just to many stupid make/nmake
48699 # things out there which doesn't do this.
48700 if [ ${D}# -eq 0 ]; then
48701 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48702 fi
48703 }
48704
48705 # Print usage and exit script with rc=1.
48706 PrintHelp() {
48707 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48708 echo ' [-name-mangler-script script.sh]'
48709 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48710 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48711 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48712 echo ' [*.o] [*.a]'
48713 echo '*> "output_file" should have no extension.'
48714 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48715 echo ' The import library name is derived from this and is set to "name".a,'
48716 echo ' unless overridden by -import'
48717 echo '*> "importlib_name" should have no extension.'
48718 echo ' If it has the .o, or .a extension, it is automatically removed.'
48719 echo ' This name is used as the import library name and may be longer and'
48720 echo ' more descriptive than the DLL name which has to follow the old '
48721 echo ' 8.3 convention of FAT.'
48722 echo '*> "script.sh may be given to override the output_file name by a'
48723 echo ' different name. It is mainly useful if the regular make process'
48724 echo ' of some package does not take into account OS/2 restriction of'
48725 echo ' DLL name lengths. It takes the importlib name as input and is'
48726 echo ' supposed to procude a shorter name as output. The script should'
48727 echo ' expect to get importlib_name without extension and should produce'
48728 echo ' a (max.) 8 letter name without extension.'
48729 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48730 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48731 echo ' These flags will be put at the start of GCC command line.'
48732 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48733 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48734 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48735 echo ' If the last character of a symbol is "*", all symbols beginning'
48736 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48737 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48738 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48739 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48740 echo ' C runtime DLLs.'
48741 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48742 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48743 echo ' unchanged to GCC at the end of command line.'
48744 echo '*> If you create a DLL from a library and you do not specify -o,'
48745 echo ' the basename for DLL and import library will be set to library name,'
48746 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48747 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48748 echo ' library will be renamed into gcc_s.a.'
48749 echo '--------'
48750 echo 'Example:'
48751 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48752 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48753 CleanUp
48754 exit 1
48755 }
48756
48757 # Execute a command.
48758 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48759 # @Uses Whatever CleanUp() uses.
48760 doCommand() {
48761 echo "${D}*"
48762 eval ${D}*
48763 rcCmd=${D}?
48764
48765 if [ ${D}rcCmd -ne 0 ]; then
48766 echo "command failed, exit code="${D}rcCmd
48767 CleanUp
48768 exit ${D}rcCmd
48769 fi
48770 }
48771
48772 # main routine
48773 # setup globals
48774 cmdLine=${D}*
48775 outFile=""
48776 outimpFile=""
48777 inputFiles=""
48778 renameScript=""
48779 description=""
48780 CC=gcc.exe
48781 CFLAGS="-s -Zcrtdll"
48782 EXTRA_CFLAGS=""
48783 EXPORT_BY_ORDINALS=0
48784 exclude_symbols=""
48785 library_flags=""
48786 curDir=\`pwd\`
48787 curDirS=curDir
48788 case ${D}curDirS in
48789 */)
48790 ;;
48791 *)
48792 curDirS=${D}{curDirS}"/"
48793 ;;
48794 esac
48795 # Parse commandline
48796 libsToLink=0
48797 omfLinking=0
48798 while [ ${D}1 ]; do
48799 case ${D}1 in
48800 -ord*)
48801 EXPORT_BY_ORDINALS=1;
48802 ;;
48803 -o*)
48804 shift
48805 outFile=${D}1
48806 ;;
48807 -i*)
48808 shift
48809 outimpFile=${D}1
48810 ;;
48811 -name-mangler-script)
48812 shift
48813 renameScript=${D}1
48814 ;;
48815 -d*)
48816 shift
48817 description=${D}1
48818 ;;
48819 -f*)
48820 shift
48821 CFLAGS=${D}1
48822 ;;
48823 -c*)
48824 shift
48825 CC=${D}1
48826 ;;
48827 -h*)
48828 PrintHelp
48829 ;;
48830 -ex*)
48831 shift
48832 exclude_symbols=${D}{exclude_symbols}${D}1" "
48833 ;;
48834 -libf*)
48835 shift
48836 library_flags=${D}{library_flags}${D}1" "
48837 ;;
48838 -nocrt*)
48839 CFLAGS="-s"
48840 ;;
48841 -nolxl*)
48842 flag_USE_LXLITE=0
48843 ;;
48844 -* | /*)
48845 case ${D}1 in
48846 -L* | -l*)
48847 libsToLink=1
48848 ;;
48849 -Zomf)
48850 omfLinking=1
48851 ;;
48852 *)
48853 ;;
48854 esac
48855 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48856 ;;
48857 *.dll)
48858 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48859 if [ ${D}omfLinking -eq 1 ]; then
48860 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48861 else
48862 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48863 fi
48864 ;;
48865 *)
48866 found=0;
48867 if [ ${D}libsToLink -ne 0 ]; then
48868 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48869 else
48870 for file in ${D}1 ; do
48871 if [ -f ${D}file ]; then
48872 inputFiles="${D}{inputFiles} ${D}file"
48873 found=1
48874 fi
48875 done
48876 if [ ${D}found -eq 0 ]; then
48877 echo "ERROR: No file(s) found: "${D}1
48878 exit 8
48879 fi
48880 fi
48881 ;;
48882 esac
48883 shift
48884 done # iterate cmdline words
48885
48886 #
48887 if [ -z "${D}inputFiles" ]; then
48888 echo "dllar: no input files"
48889 PrintHelp
48890 fi
48891
48892 # Now extract all .o files from .a files
48893 newInputFiles=""
48894 for file in ${D}inputFiles ; do
48895 case ${D}file in
48896 *.a | *.lib)
48897 case ${D}file in
48898 *.a)
48899 suffix=".a"
48900 AR="ar"
48901 ;;
48902 *.lib)
48903 suffix=".lib"
48904 AR="emxomfar"
48905 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48906 ;;
48907 *)
48908 ;;
48909 esac
48910 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48911 mkdir ${D}dirname
48912 if [ ${D}? -ne 0 ]; then
48913 echo "Failed to create subdirectory ./${D}dirname"
48914 CleanUp
48915 exit 8;
48916 fi
48917 # Append '!' to indicate archive
48918 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48919 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48920 cd ${D}curDir
48921 found=0;
48922 for subfile in ${D}dirname/*.o* ; do
48923 if [ -f ${D}subfile ]; then
48924 found=1
48925 if [ -s ${D}subfile ]; then
48926 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48927 newInputFiles="${D}newInputFiles ${D}subfile"
48928 fi
48929 fi
48930 done
48931 if [ ${D}found -eq 0 ]; then
48932 echo "WARNING: there are no files in archive \\'${D}file\\'"
48933 fi
48934 ;;
48935 *)
48936 newInputFiles="${D}{newInputFiles} ${D}file"
48937 ;;
48938 esac
48939 done
48940 inputFiles="${D}newInputFiles"
48941
48942 # Output filename(s).
48943 do_backup=0;
48944 if [ -z ${D}outFile ]; then
48945 do_backup=1;
48946 set outFile ${D}inputFiles; outFile=${D}2
48947 fi
48948
48949 # If it is an archive, remove the '!' and the '_%' suffixes
48950 case ${D}outFile in
48951 *_%!)
48952 outFile=\`basnam ${D}outFile _%!\`
48953 ;;
48954 *)
48955 ;;
48956 esac
48957 case ${D}outFile in
48958 *.dll)
48959 outFile=\`basnam ${D}outFile .dll\`
48960 ;;
48961 *.DLL)
48962 outFile=\`basnam ${D}outFile .DLL\`
48963 ;;
48964 *.o)
48965 outFile=\`basnam ${D}outFile .o\`
48966 ;;
48967 *.obj)
48968 outFile=\`basnam ${D}outFile .obj\`
48969 ;;
48970 *.a)
48971 outFile=\`basnam ${D}outFile .a\`
48972 ;;
48973 *.lib)
48974 outFile=\`basnam ${D}outFile .lib\`
48975 ;;
48976 *)
48977 ;;
48978 esac
48979 case ${D}outimpFile in
48980 *.a)
48981 outimpFile=\`basnam ${D}outimpFile .a\`
48982 ;;
48983 *.lib)
48984 outimpFile=\`basnam ${D}outimpFile .lib\`
48985 ;;
48986 *)
48987 ;;
48988 esac
48989 if [ -z ${D}outimpFile ]; then
48990 outimpFile=${D}outFile
48991 fi
48992 defFile="${D}{outFile}.def"
48993 arcFile="${D}{outimpFile}.a"
48994 arcFile2="${D}{outimpFile}.lib"
48995
48996 #create ${D}dllFile as something matching 8.3 restrictions,
48997 if [ -z ${D}renameScript ] ; then
48998 dllFile="${D}outFile"
48999 else
49000 dllFile=\`${D}renameScript ${D}outimpFile\`
49001 fi
49002
49003 if [ ${D}do_backup -ne 0 ] ; then
49004 if [ -f ${D}arcFile ] ; then
49005 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49006 fi
49007 if [ -f ${D}arcFile2 ] ; then
49008 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49009 fi
49010 fi
49011
49012 # Extract public symbols from all the object files.
49013 tmpdefFile=${D}{defFile}_%
49014 rm -f ${D}tmpdefFile
49015 for file in ${D}inputFiles ; do
49016 case ${D}file in
49017 *!)
49018 ;;
49019 *)
49020 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49021 ;;
49022 esac
49023 done
49024
49025 # Create the def file.
49026 rm -f ${D}defFile
49027 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49028 dllFile="${D}{dllFile}.dll"
49029 if [ ! -z ${D}description ]; then
49030 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49031 fi
49032 echo "EXPORTS" >> ${D}defFile
49033
49034 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49035 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49036
49037 # Checks if the export is ok or not.
49038 for word in ${D}exclude_symbols; do
49039 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49040 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49041 done
49042
49043
49044 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49045 sed "=" < ${D}tmpdefFile | \\
49046 sed '
49047 N
49048 : loop
49049 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49050 t loop
49051 ' > ${D}{tmpdefFile}%
49052 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49053 else
49054 rm -f ${D}{tmpdefFile}%
49055 fi
49056 cat ${D}tmpdefFile >> ${D}defFile
49057 rm -f ${D}tmpdefFile
49058
49059 # Do linking, create implib, and apply lxlite.
49060 gccCmdl="";
49061 for file in ${D}inputFiles ; do
49062 case ${D}file in
49063 *!)
49064 ;;
49065 *)
49066 gccCmdl="${D}gccCmdl ${D}file"
49067 ;;
49068 esac
49069 done
49070 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49071 touch "${D}{outFile}.dll"
49072
49073 doCommand "emximp -o ${D}arcFile ${D}defFile"
49074 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49075 add_flags="";
49076 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49077 add_flags="-ynd"
49078 fi
49079 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49080 fi
49081 doCommand "emxomf -s -l ${D}arcFile"
49082
49083 # Successful exit.
49084 CleanUp 1
49085 exit 0
49086 EOF
49087
49088 chmod +x dllar.sh
49089 ;;
49090
49091 powerpc-apple-macos* | \
49092 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49093 *-*-mirbsd* | \
49094 *-*-sunos4* | \
49095 *-*-osf* | \
49096 *-*-dgux5* | \
49097 *-*-sysv5* | \
49098 *-pc-msdosdjgpp )
49099 ;;
49100
49101 *)
49102 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49103 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49104 { (exit 1); exit 1; }; }
49105 esac
49106
49107 if test "x$PIC_FLAG" != "x" ; then
49108 PIC_FLAG="$PIC_FLAG -DPIC"
49109 fi
49110
49111 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49112 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49113 fi
49114 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49115 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49116 fi
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126 USE_SOVERSION=0
49127 USE_SOVERLINUX=0
49128 USE_SOVERSOLARIS=0
49129 USE_SOVERCYGWIN=0
49130 USE_SOSYMLINKS=0
49131 USE_MACVERSION=0
49132 SONAME_FLAG=
49133
49134 case "${BAKEFILE_HOST}" in
49135 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49136 *-*-k*bsd*-gnu | *-*-mirbsd* )
49137 if test "x$SUNCXX" = "xyes"; then
49138 SONAME_FLAG="-h "
49139 else
49140 SONAME_FLAG="-Wl,-soname,"
49141 fi
49142 USE_SOVERSION=1
49143 USE_SOVERLINUX=1
49144 USE_SOSYMLINKS=1
49145 ;;
49146
49147 *-*-solaris2* )
49148 SONAME_FLAG="-h "
49149 USE_SOVERSION=1
49150 USE_SOVERSOLARIS=1
49151 USE_SOSYMLINKS=1
49152 ;;
49153
49154 *-*-darwin* )
49155 USE_MACVERSION=1
49156 USE_SOVERSION=1
49157 USE_SOSYMLINKS=1
49158 ;;
49159
49160 *-*-cygwin* )
49161 USE_SOVERSION=1
49162 USE_SOVERCYGWIN=1
49163 ;;
49164 esac
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175 # Check whether --enable-dependency-tracking was given.
49176 if test "${enable_dependency_tracking+set}" = set; then
49177 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49178 fi
49179
49180
49181 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49182 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49183
49184 BK_DEPS=""
49185 if test "x$bk_use_trackdeps" = "xno" ; then
49186 DEPS_TRACKING=0
49187 { echo "$as_me:$LINENO: result: disabled" >&5
49188 echo "${ECHO_T}disabled" >&6; }
49189 else
49190 DEPS_TRACKING=1
49191
49192 if test "x$GCC" = "xyes"; then
49193 DEPSMODE=gcc
49194 case "${BAKEFILE_HOST}" in
49195 *-*-darwin* )
49196 DEPSFLAG="-no-cpp-precomp -MMD"
49197 ;;
49198 * )
49199 DEPSFLAG="-MMD"
49200 ;;
49201 esac
49202 { echo "$as_me:$LINENO: result: gcc" >&5
49203 echo "${ECHO_T}gcc" >&6; }
49204 elif test "x$MWCC" = "xyes"; then
49205 DEPSMODE=mwcc
49206 DEPSFLAG="-MM"
49207 { echo "$as_me:$LINENO: result: mwcc" >&5
49208 echo "${ECHO_T}mwcc" >&6; }
49209 elif test "x$SUNCC" = "xyes"; then
49210 DEPSMODE=unixcc
49211 DEPSFLAG="-xM1"
49212 { echo "$as_me:$LINENO: result: Sun cc" >&5
49213 echo "${ECHO_T}Sun cc" >&6; }
49214 elif test "x$SGICC" = "xyes"; then
49215 DEPSMODE=unixcc
49216 DEPSFLAG="-M"
49217 { echo "$as_me:$LINENO: result: SGI cc" >&5
49218 echo "${ECHO_T}SGI cc" >&6; }
49219 elif test "x$HPCC" = "xyes"; then
49220 DEPSMODE=unixcc
49221 DEPSFLAG="+make"
49222 { echo "$as_me:$LINENO: result: HP cc" >&5
49223 echo "${ECHO_T}HP cc" >&6; }
49224 elif test "x$COMPAQCC" = "xyes"; then
49225 DEPSMODE=gcc
49226 DEPSFLAG="-MD"
49227 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49228 echo "${ECHO_T}Compaq cc" >&6; }
49229 else
49230 DEPS_TRACKING=0
49231 { echo "$as_me:$LINENO: result: none" >&5
49232 echo "${ECHO_T}none" >&6; }
49233 fi
49234
49235 if test $DEPS_TRACKING = 1 ; then
49236
49237 D='$'
49238 cat <<EOF >bk-deps
49239 #!/bin/sh
49240
49241 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49242 # script. It is used to track C/C++ files dependencies in portable way.
49243 #
49244 # Permission is given to use this file in any way.
49245
49246 DEPSMODE=${DEPSMODE}
49247 DEPSFLAG="${DEPSFLAG}"
49248 DEPSDIRBASE=.deps
49249
49250 if test ${D}DEPSMODE = gcc ; then
49251 ${D}* ${D}{DEPSFLAG}
49252 status=${D}?
49253
49254 # determine location of created files:
49255 while test ${D}# -gt 0; do
49256 case "${D}1" in
49257 -o )
49258 shift
49259 objfile=${D}1
49260 ;;
49261 -* )
49262 ;;
49263 * )
49264 srcfile=${D}1
49265 ;;
49266 esac
49267 shift
49268 done
49269 objfilebase=\`basename ${D}objfile\`
49270 builddir=\`dirname ${D}objfile\`
49271 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49272 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49273 depsdir=${D}builddir/${D}DEPSDIRBASE
49274 mkdir -p ${D}depsdir
49275
49276 # if the compiler failed, we're done:
49277 if test ${D}{status} != 0 ; then
49278 rm -f ${D}depfile
49279 exit ${D}{status}
49280 fi
49281
49282 # move created file to the location we want it in:
49283 if test -f ${D}depfile ; then
49284 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49285 rm -f ${D}depfile
49286 else
49287 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49288 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49289 if test ! -f ${D}depfile ; then
49290 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49291 depfile="${D}objfile.d"
49292 fi
49293 if test -f ${D}depfile ; then
49294 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49295 rm -f ${D}depfile
49296 fi
49297 fi
49298 exit 0
49299
49300 elif test ${D}DEPSMODE = mwcc ; then
49301 ${D}* || exit ${D}?
49302 # Run mwcc again with -MM and redirect into the dep file we want
49303 # NOTE: We can't use shift here because we need ${D}* to be valid
49304 prevarg=
49305 for arg in ${D}* ; do
49306 if test "${D}prevarg" = "-o"; then
49307 objfile=${D}arg
49308 else
49309 case "${D}arg" in
49310 -* )
49311 ;;
49312 * )
49313 srcfile=${D}arg
49314 ;;
49315 esac
49316 fi
49317 prevarg="${D}arg"
49318 done
49319
49320 objfilebase=\`basename ${D}objfile\`
49321 builddir=\`dirname ${D}objfile\`
49322 depsdir=${D}builddir/${D}DEPSDIRBASE
49323 mkdir -p ${D}depsdir
49324
49325 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49326 exit 0
49327
49328 elif test ${D}DEPSMODE = unixcc; then
49329 ${D}* || exit ${D}?
49330 # Run compiler again with deps flag and redirect into the dep file.
49331 # It doesn't work if the '-o FILE' option is used, but without it the
49332 # dependency file will contain the wrong name for the object. So it is
49333 # removed from the command line, and the dep file is fixed with sed.
49334 cmd=""
49335 while test ${D}# -gt 0; do
49336 case "${D}1" in
49337 -o )
49338 shift
49339 objfile=${D}1
49340 ;;
49341 * )
49342 eval arg${D}#=\\${D}1
49343 cmd="${D}cmd \\${D}arg${D}#"
49344 ;;
49345 esac
49346 shift
49347 done
49348
49349 objfilebase=\`basename ${D}objfile\`
49350 builddir=\`dirname ${D}objfile\`
49351 depsdir=${D}builddir/${D}DEPSDIRBASE
49352 mkdir -p ${D}depsdir
49353
49354 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49355 exit 0
49356
49357 else
49358 ${D}*
49359 exit ${D}?
49360 fi
49361 EOF
49362
49363 chmod +x bk-deps
49364 BK_DEPS="`pwd`/bk-deps"
49365 fi
49366 fi
49367
49368
49369
49370
49371
49372 case ${BAKEFILE_HOST} in
49373 *-*-cygwin* | *-*-mingw32* )
49374 if test -n "$ac_tool_prefix"; then
49375 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49376 set dummy ${ac_tool_prefix}windres; ac_word=$2
49377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49379 if test "${ac_cv_prog_WINDRES+set}" = set; then
49380 echo $ECHO_N "(cached) $ECHO_C" >&6
49381 else
49382 if test -n "$WINDRES"; then
49383 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49384 else
49385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49386 for as_dir in $PATH
49387 do
49388 IFS=$as_save_IFS
49389 test -z "$as_dir" && as_dir=.
49390 for ac_exec_ext in '' $ac_executable_extensions; do
49391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49392 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49394 break 2
49395 fi
49396 done
49397 done
49398 IFS=$as_save_IFS
49399
49400 fi
49401 fi
49402 WINDRES=$ac_cv_prog_WINDRES
49403 if test -n "$WINDRES"; then
49404 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49405 echo "${ECHO_T}$WINDRES" >&6; }
49406 else
49407 { echo "$as_me:$LINENO: result: no" >&5
49408 echo "${ECHO_T}no" >&6; }
49409 fi
49410
49411
49412 fi
49413 if test -z "$ac_cv_prog_WINDRES"; then
49414 ac_ct_WINDRES=$WINDRES
49415 # Extract the first word of "windres", so it can be a program name with args.
49416 set dummy windres; ac_word=$2
49417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49419 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49421 else
49422 if test -n "$ac_ct_WINDRES"; then
49423 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49424 else
49425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49426 for as_dir in $PATH
49427 do
49428 IFS=$as_save_IFS
49429 test -z "$as_dir" && as_dir=.
49430 for ac_exec_ext in '' $ac_executable_extensions; do
49431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49432 ac_cv_prog_ac_ct_WINDRES="windres"
49433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49434 break 2
49435 fi
49436 done
49437 done
49438 IFS=$as_save_IFS
49439
49440 fi
49441 fi
49442 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49443 if test -n "$ac_ct_WINDRES"; then
49444 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49445 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49446 else
49447 { echo "$as_me:$LINENO: result: no" >&5
49448 echo "${ECHO_T}no" >&6; }
49449 fi
49450
49451 if test "x$ac_ct_WINDRES" = x; then
49452 WINDRES=""
49453 else
49454 case $cross_compiling:$ac_tool_warned in
49455 yes:)
49456 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49457 whose name does not start with the host triplet. If you think this
49458 configuration is useful to you, please write to autoconf@gnu.org." >&5
49459 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49460 whose name does not start with the host triplet. If you think this
49461 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49462 ac_tool_warned=yes ;;
49463 esac
49464 WINDRES=$ac_ct_WINDRES
49465 fi
49466 else
49467 WINDRES="$ac_cv_prog_WINDRES"
49468 fi
49469
49470 ;;
49471
49472 *-*-darwin* | powerpc-apple-macos* )
49473 # Extract the first word of "Rez", so it can be a program name with args.
49474 set dummy Rez; ac_word=$2
49475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49477 if test "${ac_cv_prog_REZ+set}" = set; then
49478 echo $ECHO_N "(cached) $ECHO_C" >&6
49479 else
49480 if test -n "$REZ"; then
49481 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49482 else
49483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49484 for as_dir in $PATH
49485 do
49486 IFS=$as_save_IFS
49487 test -z "$as_dir" && as_dir=.
49488 for ac_exec_ext in '' $ac_executable_extensions; do
49489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49490 ac_cv_prog_REZ="Rez"
49491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49492 break 2
49493 fi
49494 done
49495 done
49496 IFS=$as_save_IFS
49497
49498 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49499 fi
49500 fi
49501 REZ=$ac_cv_prog_REZ
49502 if test -n "$REZ"; then
49503 { echo "$as_me:$LINENO: result: $REZ" >&5
49504 echo "${ECHO_T}$REZ" >&6; }
49505 else
49506 { echo "$as_me:$LINENO: result: no" >&5
49507 echo "${ECHO_T}no" >&6; }
49508 fi
49509
49510
49511 # Extract the first word of "SetFile", so it can be a program name with args.
49512 set dummy SetFile; ac_word=$2
49513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49515 if test "${ac_cv_prog_SETFILE+set}" = set; then
49516 echo $ECHO_N "(cached) $ECHO_C" >&6
49517 else
49518 if test -n "$SETFILE"; then
49519 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49520 else
49521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49522 for as_dir in $PATH
49523 do
49524 IFS=$as_save_IFS
49525 test -z "$as_dir" && as_dir=.
49526 for ac_exec_ext in '' $ac_executable_extensions; do
49527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49528 ac_cv_prog_SETFILE="SetFile"
49529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49530 break 2
49531 fi
49532 done
49533 done
49534 IFS=$as_save_IFS
49535
49536 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49537 fi
49538 fi
49539 SETFILE=$ac_cv_prog_SETFILE
49540 if test -n "$SETFILE"; then
49541 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49542 echo "${ECHO_T}$SETFILE" >&6; }
49543 else
49544 { echo "$as_me:$LINENO: result: no" >&5
49545 echo "${ECHO_T}no" >&6; }
49546 fi
49547
49548
49549 ;;
49550 esac
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49561
49562
49563 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49564
49565
49566
49567 # Check whether --enable-precomp-headers was given.
49568 if test "${enable_precomp_headers+set}" = set; then
49569 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49570 fi
49571
49572
49573 GCC_PCH=0
49574 ICC_PCH=0
49575 USE_PCH=0
49576 BK_MAKE_PCH=""
49577
49578 case ${BAKEFILE_HOST} in
49579 *-*-cygwin* )
49580 bk_use_pch="no"
49581 ;;
49582 esac
49583
49584 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49585 if test "x$GCC" = "xyes"; then
49586 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49587 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49588 cat >conftest.$ac_ext <<_ACEOF
49589 /* confdefs.h. */
49590 _ACEOF
49591 cat confdefs.h >>conftest.$ac_ext
49592 cat >>conftest.$ac_ext <<_ACEOF
49593 /* end confdefs.h. */
49594
49595 int
49596 main ()
49597 {
49598
49599 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49600 There is no PCH support
49601 #endif
49602 #if (__GNUC__ < 3)
49603 There is no PCH support
49604 #endif
49605 #if (__GNUC__ == 3) && \
49606 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49607 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49608 ( defined(__INTEL_COMPILER) )
49609 There is no PCH support
49610 #endif
49611
49612 ;
49613 return 0;
49614 }
49615 _ACEOF
49616 rm -f conftest.$ac_objext
49617 if { (ac_try="$ac_compile"
49618 case "(($ac_try" in
49619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49620 *) ac_try_echo=$ac_try;;
49621 esac
49622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49623 (eval "$ac_compile") 2>conftest.er1
49624 ac_status=$?
49625 grep -v '^ *+' conftest.er1 >conftest.err
49626 rm -f conftest.er1
49627 cat conftest.err >&5
49628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49629 (exit $ac_status); } && {
49630 test -z "$ac_c_werror_flag" ||
49631 test ! -s conftest.err
49632 } && test -s conftest.$ac_objext; then
49633
49634 { echo "$as_me:$LINENO: result: yes" >&5
49635 echo "${ECHO_T}yes" >&6; }
49636 GCC_PCH=1
49637
49638 else
49639 echo "$as_me: failed program was:" >&5
49640 sed 's/^/| /' conftest.$ac_ext >&5
49641
49642
49643 if test "$INTELCXX8" = "yes"; then
49644 { echo "$as_me:$LINENO: result: yes" >&5
49645 echo "${ECHO_T}yes" >&6; }
49646 ICC_PCH=1
49647 if test "$INTELCXX10" = "yes"; then
49648 ICC_PCH_CREATE_SWITCH="-pch-create"
49649 ICC_PCH_USE_SWITCH="-pch-use"
49650 else
49651 ICC_PCH_CREATE_SWITCH="-create-pch"
49652 ICC_PCH_USE_SWITCH="-use-pch"
49653 fi
49654 else
49655 { echo "$as_me:$LINENO: result: no" >&5
49656 echo "${ECHO_T}no" >&6; }
49657 fi
49658
49659 fi
49660
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49663 USE_PCH=1
49664
49665 D='$'
49666 cat <<EOF >bk-make-pch
49667 #!/bin/sh
49668
49669 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49670 # script. It is used to generated precompiled headers.
49671 #
49672 # Permission is given to use this file in any way.
49673
49674 outfile="${D}{1}"
49675 header="${D}{2}"
49676 shift
49677 shift
49678
49679 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49680
49681 compiler=""
49682 headerfile=""
49683
49684 while test ${D}{#} -gt 0; do
49685 add_to_cmdline=1
49686 case "${D}{1}" in
49687 -I* )
49688 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49689 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49690 headerfile="${D}{incdir}/${D}{header}"
49691 fi
49692 ;;
49693 -use-pch|-use_pch|-pch-use )
49694 shift
49695 add_to_cmdline=0
49696 ;;
49697 esac
49698 if test ${D}add_to_cmdline = 1 ; then
49699 compiler="${D}{compiler} ${D}{1}"
49700 fi
49701 shift
49702 done
49703
49704 if test "x${D}{headerfile}" = "x" ; then
49705 echo "error: can't find header ${D}{header} in include paths" >&2
49706 else
49707 if test -f ${D}{outfile} ; then
49708 rm -f ${D}{outfile}
49709 else
49710 mkdir -p \`dirname ${D}{outfile}\`
49711 fi
49712 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49713 mkdir -p ${D}{builddir}/.deps
49714 if test "x${GCC_PCH}" = "x1" ; then
49715 # can do this because gcc is >= 3.4:
49716 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49717 elif test "x${ICC_PCH}" = "x1" ; then
49718 filename=pch_gen-${D}${D}
49719 file=${D}{filename}.c
49720 dfile=${D}{filename}.d
49721 cat > ${D}file <<EOT
49722 #include "${D}header"
49723 EOT
49724 # using -MF icc complains about differing command lines in creation/use
49725 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49726 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49727 rm -f ${D}file ${D}dfile ${D}{filename}.o
49728 fi
49729 exit ${D}{?}
49730 fi
49731 EOF
49732
49733 chmod +x bk-make-pch
49734 BK_MAKE_PCH="`pwd`/bk-make-pch"
49735 fi
49736 fi
49737 fi
49738
49739
49740
49741
49742
49743
49744
49745 COND_BUILD_DEBUG="#"
49746 if test "x$BUILD" = "xdebug" ; then
49747 COND_BUILD_DEBUG=""
49748 fi
49749
49750 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49751 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49753 fi
49754
49755 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49756 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49757 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49758 fi
49759
49760 COND_BUILD_DEBUG_UNICODE_0="#"
49761 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49762 COND_BUILD_DEBUG_UNICODE_0=""
49763 fi
49764
49765 COND_BUILD_DEBUG_UNICODE_1="#"
49766 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49767 COND_BUILD_DEBUG_UNICODE_1=""
49768 fi
49769
49770 COND_BUILD_RELEASE="#"
49771 if test "x$BUILD" = "xrelease" ; then
49772 COND_BUILD_RELEASE=""
49773 fi
49774
49775 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49776 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49777 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49778 fi
49779
49780 COND_BUILD_RELEASE_UNICODE_0="#"
49781 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49782 COND_BUILD_RELEASE_UNICODE_0=""
49783 fi
49784
49785 COND_BUILD_RELEASE_UNICODE_1="#"
49786 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49787 COND_BUILD_RELEASE_UNICODE_1=""
49788 fi
49789
49790 COND_BUILD_debug="#"
49791 if test "x$BUILD" = "xdebug" ; then
49792 COND_BUILD_debug=""
49793 fi
49794
49795 COND_BUILD_debug_DEBUG_FLAG_default="#"
49796 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49797 COND_BUILD_debug_DEBUG_FLAG_default=""
49798 fi
49799
49800 COND_BUILD_debug_DEBUG_INFO_default="#"
49801 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49802 COND_BUILD_debug_DEBUG_INFO_default=""
49803 fi
49804
49805 COND_BUILD_debug_UNICODE_0="#"
49806 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49807 COND_BUILD_debug_UNICODE_0=""
49808 fi
49809
49810 COND_BUILD_debug_UNICODE_1="#"
49811 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49812 COND_BUILD_debug_UNICODE_1=""
49813 fi
49814
49815 COND_BUILD_release="#"
49816 if test "x$BUILD" = "xrelease" ; then
49817 COND_BUILD_release=""
49818 fi
49819
49820 COND_BUILD_release_DEBUG_INFO_default="#"
49821 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49822 COND_BUILD_release_DEBUG_INFO_default=""
49823 fi
49824
49825 COND_BUILD_release_UNICODE_0="#"
49826 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49827 COND_BUILD_release_UNICODE_0=""
49828 fi
49829
49830 COND_BUILD_release_UNICODE_1="#"
49831 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49832 COND_BUILD_release_UNICODE_1=""
49833 fi
49834
49835 COND_DEBUG_FLAG_1="#"
49836 if test "x$DEBUG_FLAG" = "x1" ; then
49837 COND_DEBUG_FLAG_1=""
49838 fi
49839
49840 COND_DEBUG_INFO_0="#"
49841 if test "x$DEBUG_INFO" = "x0" ; then
49842 COND_DEBUG_INFO_0=""
49843 fi
49844
49845 COND_DEBUG_INFO_1="#"
49846 if test "x$DEBUG_INFO" = "x1" ; then
49847 COND_DEBUG_INFO_1=""
49848 fi
49849
49850 COND_DEPS_TRACKING_0="#"
49851 if test "x$DEPS_TRACKING" = "x0" ; then
49852 COND_DEPS_TRACKING_0=""
49853 fi
49854
49855 COND_DEPS_TRACKING_1="#"
49856 if test "x$DEPS_TRACKING" = "x1" ; then
49857 COND_DEPS_TRACKING_1=""
49858 fi
49859
49860 COND_GCC_PCH_1="#"
49861 if test "x$GCC_PCH" = "x1" ; then
49862 COND_GCC_PCH_1=""
49863 fi
49864
49865 COND_ICC_PCH_1="#"
49866 if test "x$ICC_PCH" = "x1" ; then
49867 COND_ICC_PCH_1=""
49868 fi
49869
49870 COND_MONOLITHIC_0="#"
49871 if test "x$MONOLITHIC" = "x0" ; then
49872 COND_MONOLITHIC_0=""
49873 fi
49874
49875 COND_MONOLITHIC_0_SHARED_0="#"
49876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49877 COND_MONOLITHIC_0_SHARED_0=""
49878 fi
49879
49880 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49882 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49883 fi
49884
49885 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49888 fi
49889
49890 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49893 fi
49894
49895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49898 fi
49899
49900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49903 fi
49904
49905 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49907 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49908 fi
49909
49910 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49912 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49913 fi
49914
49915 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49917 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49918 fi
49919
49920 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49922 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49923 fi
49924
49925 COND_MONOLITHIC_0_SHARED_1="#"
49926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49927 COND_MONOLITHIC_0_SHARED_1=""
49928 fi
49929
49930 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49932 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49933 fi
49934
49935 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49938 fi
49939
49940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49943 fi
49944
49945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49948 fi
49949
49950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49953 fi
49954
49955 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49957 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49958 fi
49959
49960 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49962 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49963 fi
49964
49965 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49967 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49968 fi
49969
49970 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49972 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49973 fi
49974
49975 COND_MONOLITHIC_0_USE_AUI_1="#"
49976 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49977 COND_MONOLITHIC_0_USE_AUI_1=""
49978 fi
49979
49980 COND_MONOLITHIC_0_USE_GUI_1="#"
49981 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49982 COND_MONOLITHIC_0_USE_GUI_1=""
49983 fi
49984
49985 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49986 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49987 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49988 fi
49989
49990 COND_MONOLITHIC_0_USE_HTML_1="#"
49991 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49992 COND_MONOLITHIC_0_USE_HTML_1=""
49993 fi
49994
49995 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49996 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49997 COND_MONOLITHIC_0_USE_MEDIA_1=""
49998 fi
49999
50000 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50001 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50002 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50003 fi
50004
50005 COND_MONOLITHIC_0_USE_QA_1="#"
50006 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50007 COND_MONOLITHIC_0_USE_QA_1=""
50008 fi
50009
50010 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50011 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50012 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50013 fi
50014
50015 COND_MONOLITHIC_0_USE_STC_1="#"
50016 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50017 COND_MONOLITHIC_0_USE_STC_1=""
50018 fi
50019
50020 COND_MONOLITHIC_0_USE_XRC_1="#"
50021 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50022 COND_MONOLITHIC_0_USE_XRC_1=""
50023 fi
50024
50025 COND_MONOLITHIC_1="#"
50026 if test "x$MONOLITHIC" = "x1" ; then
50027 COND_MONOLITHIC_1=""
50028 fi
50029
50030 COND_MONOLITHIC_1_SHARED_0="#"
50031 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50032 COND_MONOLITHIC_1_SHARED_0=""
50033 fi
50034
50035 COND_MONOLITHIC_1_SHARED_1="#"
50036 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50037 COND_MONOLITHIC_1_SHARED_1=""
50038 fi
50039
50040 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50041 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50042 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50043 fi
50044
50045 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50046 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50048 fi
50049
50050 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50051 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50052 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50053 fi
50054
50055 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50056 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50057 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50058 fi
50059
50060 COND_PLATFORM_MACOSX_1="#"
50061 if test "x$PLATFORM_MACOSX" = "x1" ; then
50062 COND_PLATFORM_MACOSX_1=""
50063 fi
50064
50065 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50066 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50067 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50068 fi
50069
50070 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50071 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50072 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50073 fi
50074
50075 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50076 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50078 fi
50079
50080 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50081 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50082 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50083 fi
50084
50085 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50086 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50087 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50088 fi
50089
50090 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50091 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50092 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50093 fi
50094
50095 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50096 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50097 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50098 fi
50099
50100 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50101 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50102 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50103 fi
50104
50105 COND_PLATFORM_MACOS_1="#"
50106 if test "x$PLATFORM_MACOS" = "x1" ; then
50107 COND_PLATFORM_MACOS_1=""
50108 fi
50109
50110 COND_PLATFORM_MAC_0="#"
50111 if test "x$PLATFORM_MAC" = "x0" ; then
50112 COND_PLATFORM_MAC_0=""
50113 fi
50114
50115 COND_PLATFORM_MAC_1="#"
50116 if test "x$PLATFORM_MAC" = "x1" ; then
50117 COND_PLATFORM_MAC_1=""
50118 fi
50119
50120 COND_PLATFORM_MSDOS_0="#"
50121 if test "x$PLATFORM_MSDOS" = "x0" ; then
50122 COND_PLATFORM_MSDOS_0=""
50123 fi
50124
50125 COND_PLATFORM_MSDOS_1="#"
50126 if test "x$PLATFORM_MSDOS" = "x1" ; then
50127 COND_PLATFORM_MSDOS_1=""
50128 fi
50129
50130 COND_PLATFORM_OS2_1="#"
50131 if test "x$PLATFORM_OS2" = "x1" ; then
50132 COND_PLATFORM_OS2_1=""
50133 fi
50134
50135 COND_PLATFORM_UNIX_0="#"
50136 if test "x$PLATFORM_UNIX" = "x0" ; then
50137 COND_PLATFORM_UNIX_0=""
50138 fi
50139
50140 COND_PLATFORM_UNIX_1="#"
50141 if test "x$PLATFORM_UNIX" = "x1" ; then
50142 COND_PLATFORM_UNIX_1=""
50143 fi
50144
50145 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50146 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50148 fi
50149
50150 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50151 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50152 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50153 fi
50154
50155 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50156 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50157 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50158 fi
50159
50160 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50161 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50162 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50163 fi
50164
50165 COND_PLATFORM_WIN32_0="#"
50166 if test "x$PLATFORM_WIN32" = "x0" ; then
50167 COND_PLATFORM_WIN32_0=""
50168 fi
50169
50170 COND_PLATFORM_WIN32_1="#"
50171 if test "x$PLATFORM_WIN32" = "x1" ; then
50172 COND_PLATFORM_WIN32_1=""
50173 fi
50174
50175 COND_SHARED_0="#"
50176 if test "x$SHARED" = "x0" ; then
50177 COND_SHARED_0=""
50178 fi
50179
50180 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50181 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50182 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50183 fi
50184
50185 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50186 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50187 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50188 fi
50189
50190 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50191 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50192 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50193 fi
50194
50195 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50196 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50197 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50198 fi
50199
50200 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50201 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50202 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50203 fi
50204
50205 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50206 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50207 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50208 fi
50209
50210 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50211 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50213 fi
50214
50215 COND_SHARED_0_USE_STC_1="#"
50216 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50217 COND_SHARED_0_USE_STC_1=""
50218 fi
50219
50220 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50221 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50222 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50223 fi
50224
50225 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50226 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50227 COND_SHARED_0_wxUSE_REGEX_builtin=""
50228 fi
50229
50230 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50231 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50232 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50233 fi
50234
50235 COND_SHARED_1="#"
50236 if test "x$SHARED" = "x1" ; then
50237 COND_SHARED_1=""
50238 fi
50239
50240 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50241 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50242 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50243 fi
50244
50245 COND_TOOLKIT_="#"
50246 if test "x$TOOLKIT" = "x" ; then
50247 COND_TOOLKIT_=""
50248 fi
50249
50250 COND_TOOLKIT_COCOA="#"
50251 if test "x$TOOLKIT" = "xCOCOA" ; then
50252 COND_TOOLKIT_COCOA=""
50253 fi
50254
50255 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50256 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50257 COND_TOOLKIT_COCOA_USE_GUI_1=""
50258 fi
50259
50260 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50261 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50262 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50263 fi
50264
50265 COND_TOOLKIT_DFB="#"
50266 if test "x$TOOLKIT" = "xDFB" ; then
50267 COND_TOOLKIT_DFB=""
50268 fi
50269
50270 COND_TOOLKIT_DFB_USE_GUI_1="#"
50271 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50272 COND_TOOLKIT_DFB_USE_GUI_1=""
50273 fi
50274
50275 COND_TOOLKIT_GTK="#"
50276 if test "x$TOOLKIT" = "xGTK" ; then
50277 COND_TOOLKIT_GTK=""
50278 fi
50279
50280 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50281 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50283 fi
50284
50285 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50286 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50288 fi
50289
50290 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50291 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50293 fi
50294
50295 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50296 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50298 fi
50299
50300 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50301 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50303 fi
50304
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50306 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50308 fi
50309
50310 COND_TOOLKIT_GTK_USE_GUI_1="#"
50311 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50312 COND_TOOLKIT_GTK_USE_GUI_1=""
50313 fi
50314
50315 COND_TOOLKIT_MAC="#"
50316 if test "x$TOOLKIT" = "xMAC" ; then
50317 COND_TOOLKIT_MAC=""
50318 fi
50319
50320 COND_TOOLKIT_MGL="#"
50321 if test "x$TOOLKIT" = "xMGL" ; then
50322 COND_TOOLKIT_MGL=""
50323 fi
50324
50325 COND_TOOLKIT_MGL_USE_GUI_1="#"
50326 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50327 COND_TOOLKIT_MGL_USE_GUI_1=""
50328 fi
50329
50330 COND_TOOLKIT_MOTIF="#"
50331 if test "x$TOOLKIT" = "xMOTIF" ; then
50332 COND_TOOLKIT_MOTIF=""
50333 fi
50334
50335 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50336 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50337 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50338 fi
50339
50340 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50341 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50342 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50343 fi
50344
50345 COND_TOOLKIT_MSW="#"
50346 if test "x$TOOLKIT" = "xMSW" ; then
50347 COND_TOOLKIT_MSW=""
50348 fi
50349
50350 COND_TOOLKIT_MSW_USE_GUI_1="#"
50351 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50352 COND_TOOLKIT_MSW_USE_GUI_1=""
50353 fi
50354
50355 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50356 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50357 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50358 fi
50359
50360 COND_TOOLKIT_MSW_WXUNIV_0="#"
50361 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50362 COND_TOOLKIT_MSW_WXUNIV_0=""
50363 fi
50364
50365 COND_TOOLKIT_OSX_CARBON="#"
50366 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50367 COND_TOOLKIT_OSX_CARBON=""
50368 fi
50369
50370 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50371 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50372 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50373 fi
50374
50375 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50376 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50377 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50378 fi
50379
50380 COND_TOOLKIT_OSX_COCOA="#"
50381 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50382 COND_TOOLKIT_OSX_COCOA=""
50383 fi
50384
50385 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50386 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50387 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50388 fi
50389
50390 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50391 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50392 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50393 fi
50394
50395 COND_TOOLKIT_OSX_IPHONE="#"
50396 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50397 COND_TOOLKIT_OSX_IPHONE=""
50398 fi
50399
50400 COND_TOOLKIT_PM="#"
50401 if test "x$TOOLKIT" = "xPM" ; then
50402 COND_TOOLKIT_PM=""
50403 fi
50404
50405 COND_TOOLKIT_PM_USE_GUI_1="#"
50406 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50407 COND_TOOLKIT_PM_USE_GUI_1=""
50408 fi
50409
50410 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50411 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50412 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50413 fi
50414
50415 COND_TOOLKIT_WINCE="#"
50416 if test "x$TOOLKIT" = "xWINCE" ; then
50417 COND_TOOLKIT_WINCE=""
50418 fi
50419
50420 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50421 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50422 COND_TOOLKIT_WINCE_USE_GUI_1=""
50423 fi
50424
50425 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50426 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50427 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50428 fi
50429
50430 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50431 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50432 COND_TOOLKIT_WINCE_WXUNIV_0=""
50433 fi
50434
50435 COND_TOOLKIT_X11="#"
50436 if test "x$TOOLKIT" = "xX11" ; then
50437 COND_TOOLKIT_X11=""
50438 fi
50439
50440 COND_TOOLKIT_X11_USE_GUI_1="#"
50441 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50442 COND_TOOLKIT_X11_USE_GUI_1=""
50443 fi
50444
50445 COND_UNICODE_1="#"
50446 if test "x$UNICODE" = "x1" ; then
50447 COND_UNICODE_1=""
50448 fi
50449
50450 COND_USE_EXCEPTIONS_0="#"
50451 if test "x$USE_EXCEPTIONS" = "x0" ; then
50452 COND_USE_EXCEPTIONS_0=""
50453 fi
50454
50455 COND_USE_EXCEPTIONS_1="#"
50456 if test "x$USE_EXCEPTIONS" = "x1" ; then
50457 COND_USE_EXCEPTIONS_1=""
50458 fi
50459
50460 COND_USE_GUI_0="#"
50461 if test "x$USE_GUI" = "x0" ; then
50462 COND_USE_GUI_0=""
50463 fi
50464
50465 COND_USE_GUI_1="#"
50466 if test "x$USE_GUI" = "x1" ; then
50467 COND_USE_GUI_1=""
50468 fi
50469
50470 COND_USE_GUI_1_USE_OPENGL_1="#"
50471 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50472 COND_USE_GUI_1_USE_OPENGL_1=""
50473 fi
50474
50475 COND_USE_GUI_1_WXUNIV_0="#"
50476 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50477 COND_USE_GUI_1_WXUNIV_0=""
50478 fi
50479
50480 COND_USE_GUI_1_WXUNIV_1="#"
50481 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50482 COND_USE_GUI_1_WXUNIV_1=""
50483 fi
50484
50485 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50486 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50487 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50488 fi
50489
50490 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50491 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50492 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50493 fi
50494
50495 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50496 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50497 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50498 fi
50499
50500 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50501 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50502 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50503 fi
50504
50505 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50506 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50507 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50508 fi
50509
50510 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50511 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50512 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50513 fi
50514
50515 COND_USE_OPENGL_1="#"
50516 if test "x$USE_OPENGL" = "x1" ; then
50517 COND_USE_OPENGL_1=""
50518 fi
50519
50520 COND_USE_PCH_1="#"
50521 if test "x$USE_PCH" = "x1" ; then
50522 COND_USE_PCH_1=""
50523 fi
50524
50525 COND_USE_PLUGINS_0="#"
50526 if test "x$USE_PLUGINS" = "x0" ; then
50527 COND_USE_PLUGINS_0=""
50528 fi
50529
50530 COND_USE_RTTI_0="#"
50531 if test "x$USE_RTTI" = "x0" ; then
50532 COND_USE_RTTI_0=""
50533 fi
50534
50535 COND_USE_RTTI_1="#"
50536 if test "x$USE_RTTI" = "x1" ; then
50537 COND_USE_RTTI_1=""
50538 fi
50539
50540 COND_USE_SOSYMLINKS_1="#"
50541 if test "x$USE_SOSYMLINKS" = "x1" ; then
50542 COND_USE_SOSYMLINKS_1=""
50543 fi
50544
50545 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50546 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50547 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50548 fi
50549
50550 COND_USE_SOVERLINUX_1="#"
50551 if test "x$USE_SOVERLINUX" = "x1" ; then
50552 COND_USE_SOVERLINUX_1=""
50553 fi
50554
50555 COND_USE_SOVERSION_0="#"
50556 if test "x$USE_SOVERSION" = "x0" ; then
50557 COND_USE_SOVERSION_0=""
50558 fi
50559
50560 COND_USE_SOVERSOLARIS_1="#"
50561 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50562 COND_USE_SOVERSOLARIS_1=""
50563 fi
50564
50565 COND_USE_STC_1="#"
50566 if test "x$USE_STC" = "x1" ; then
50567 COND_USE_STC_1=""
50568 fi
50569
50570 COND_USE_THREADS_0="#"
50571 if test "x$USE_THREADS" = "x0" ; then
50572 COND_USE_THREADS_0=""
50573 fi
50574
50575 COND_USE_THREADS_1="#"
50576 if test "x$USE_THREADS" = "x1" ; then
50577 COND_USE_THREADS_1=""
50578 fi
50579
50580 COND_USE_XRC_1="#"
50581 if test "x$USE_XRC" = "x1" ; then
50582 COND_USE_XRC_1=""
50583 fi
50584
50585 COND_WINDOWS_IMPLIB_1="#"
50586 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50587 COND_WINDOWS_IMPLIB_1=""
50588 fi
50589
50590 COND_WITH_PLUGIN_SDL_1="#"
50591 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50592 COND_WITH_PLUGIN_SDL_1=""
50593 fi
50594
50595 COND_WXUNIV_0="#"
50596 if test "x$WXUNIV" = "x0" ; then
50597 COND_WXUNIV_0=""
50598 fi
50599
50600 COND_WXUNIV_1="#"
50601 if test "x$WXUNIV" = "x1" ; then
50602 COND_WXUNIV_1=""
50603 fi
50604
50605 COND_WXUSE_EXPAT_BUILTIN="#"
50606 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50607 COND_WXUSE_EXPAT_BUILTIN=""
50608 fi
50609
50610 COND_WXUSE_LIBJPEG_BUILTIN="#"
50611 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50612 COND_WXUSE_LIBJPEG_BUILTIN=""
50613 fi
50614
50615 COND_WXUSE_LIBPNG_BUILTIN="#"
50616 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50617 COND_WXUSE_LIBPNG_BUILTIN=""
50618 fi
50619
50620 COND_WXUSE_LIBTIFF_BUILTIN="#"
50621 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50622 COND_WXUSE_LIBTIFF_BUILTIN=""
50623 fi
50624
50625 COND_WXUSE_REGEX_BUILTIN="#"
50626 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50627 COND_WXUSE_REGEX_BUILTIN=""
50628 fi
50629
50630 COND_WXUSE_ZLIB_BUILTIN="#"
50631 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50632 COND_WXUSE_ZLIB_BUILTIN=""
50633 fi
50634
50635 COND_wxUSE_EXPAT_builtin="#"
50636 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50637 COND_wxUSE_EXPAT_builtin=""
50638 fi
50639
50640 COND_wxUSE_LIBJPEG_builtin="#"
50641 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50642 COND_wxUSE_LIBJPEG_builtin=""
50643 fi
50644
50645 COND_wxUSE_LIBPNG_builtin="#"
50646 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50647 COND_wxUSE_LIBPNG_builtin=""
50648 fi
50649
50650 COND_wxUSE_LIBTIFF_builtin="#"
50651 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50652 COND_wxUSE_LIBTIFF_builtin=""
50653 fi
50654
50655 COND_wxUSE_REGEX_builtin="#"
50656 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50657 COND_wxUSE_REGEX_builtin=""
50658 fi
50659
50660 COND_wxUSE_ZLIB_builtin="#"
50661 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50662 COND_wxUSE_ZLIB_builtin=""
50663 fi
50664
50665
50666
50667 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50668 { { 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
50669 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;}
50670 { (exit 1); exit 1; }; }
50671 fi
50672
50673 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50674 { { 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
50675 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;}
50676 { (exit 1); exit 1; }; }
50677 fi
50678
50679
50680 case ${INSTALL} in
50681 /* ) # Absolute
50682 ;;
50683 ?:* ) # Drive letter, considered as absolute.
50684 ;;
50685 *)
50686 INSTALL=`pwd`/${INSTALL} ;;
50687 esac
50688
50689 if test "$wxUSE_GUI" = "yes"; then
50690
50691 if test "$wxUSE_MSW" = 1 ; then
50692 if test "x$WINDRES" = "x"; then
50693 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50694 echo "$as_me: error: Required windres program not found" >&2;}
50695 { (exit 1); exit 1; }; }
50696 fi
50697
50698 RESCOMP="$WINDRES"
50699 fi
50700
50701 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50702 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50703 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50704
50705 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50706
50707 # Extract the first word of "DeRez", so it can be a program name with args.
50708 set dummy DeRez; ac_word=$2
50709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50711 if test "${ac_cv_prog_DEREZ+set}" = set; then
50712 echo $ECHO_N "(cached) $ECHO_C" >&6
50713 else
50714 if test -n "$DEREZ"; then
50715 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50716 else
50717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50718 for as_dir in $PATH
50719 do
50720 IFS=$as_save_IFS
50721 test -z "$as_dir" && as_dir=.
50722 for ac_exec_ext in '' $ac_executable_extensions; do
50723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50724 ac_cv_prog_DEREZ="DeRez"
50725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50726 break 2
50727 fi
50728 done
50729 done
50730 IFS=$as_save_IFS
50731
50732 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50733 fi
50734 fi
50735 DEREZ=$ac_cv_prog_DEREZ
50736 if test -n "$DEREZ"; then
50737 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50738 echo "${ECHO_T}$DEREZ" >&6; }
50739 else
50740 { echo "$as_me:$LINENO: result: no" >&5
50741 echo "${ECHO_T}no" >&6; }
50742 fi
50743
50744
50745
50746 MACSETFILE="\$(SETFILE)"
50747
50748 if test "$wxUSE_OSX_CARBON" = 1; then
50749 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50750 RESCOMP="$REZ"
50751 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50752 else
50753 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50754 RESCOMP="cat /dev/null \| $REZ"
50755 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50756 fi
50757
50758 else
50759 MACSETFILE="@true"
50760
50761 if test "$wxUSE_PM" = 1; then
50762 RESCOMP="emxbind"
50763 WXCONFIG_RESFLAGS="-ep"
50764
50765 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50766 else
50767 POSTLINK_COMMAND="@true"
50768 fi
50769 fi
50770
50771 fi
50772
50773
50774 if test $GCC_PCH = 1
50775 then
50776 if test "$wx_cv_gcc_pch_bug" = yes; then
50777 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50778 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50779 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50780 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50781 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50782 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50783 fi
50784
50785 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50786 # the headers that benefit from precompilation are mostly C++ headers.
50787 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50788 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50789 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50790 fi
50791
50792
50793 if test "$wxUSE_MAC" = 1 ; then
50794 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50795 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50796 mv temp bk-deps
50797 chmod +x bk-deps
50798 fi
50799 fi
50800
50801 if test "$wxUSE_SHARED" = "yes"; then
50802 case "${host}" in
50803 *-pc-os2_emx | *-pc-os2-emx )
50804 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50805 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50806 cp -p ${srcdir}/src/os2/dllnames.sh .
50807 cp -p ${srcdir}/src/os2/dllar.sh .
50808 ;;
50809 esac
50810 fi
50811 if test "$wxUSE_OMF" = "yes"; then
50812 case "${host}" in
50813 *-pc-os2_emx | *-pc-os2-emx )
50814 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50815 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50816 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50817 ;;
50818 esac
50819 fi
50820
50821 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50822
50823
50824 case "${host}" in
50825 *-*-solaris2* )
50826 if test "$GCC" = yes; then
50827 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50828 LIBS=`echo $LIBS | sed 's/-mt//'`
50829 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50830 fi
50831 ;;
50832
50833 *-*-linux* )
50834 if test "x$SUNCXX" = xyes; then
50835 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50836 LIBS=`echo $LIBS | sed 's/-pthread//'`
50837 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50838 fi
50839 ;;
50840 esac
50841
50842 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50843 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50844 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50845 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50846
50847 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50909 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50910 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50911 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50912 echo $ECHO_N "(cached) $ECHO_C" >&6
50913 else
50914 cat >conftest.make <<\_ACEOF
50915 SHELL = /bin/sh
50916 all:
50917 @echo '@@@%%%=$(MAKE)=@@@%%%'
50918 _ACEOF
50919 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50920 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50921 *@@@%%%=?*=@@@%%%*)
50922 eval ac_cv_prog_make_${ac_make}_set=yes;;
50923 *)
50924 eval ac_cv_prog_make_${ac_make}_set=no;;
50925 esac
50926 rm -f conftest.make
50927 fi
50928 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50929 { echo "$as_me:$LINENO: result: yes" >&5
50930 echo "${ECHO_T}yes" >&6; }
50931 SET_MAKE=
50932 else
50933 { echo "$as_me:$LINENO: result: no" >&5
50934 echo "${ECHO_T}no" >&6; }
50935 SET_MAKE="MAKE=${MAKE-make}"
50936 fi
50937
50938
50939
50940 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50941
50942
50943 if test "$USE_WIN32" = 1; then
50944 ac_config_commands="$ac_config_commands
50945 rcdefs.h
50946 "
50947
50948 fi
50949
50950 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50951
50952
50953 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50954
50955
50956 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50957
50958
50959 if test "$wx_cv_version_script" = "yes"; then
50960 ac_config_files="$ac_config_files version-script"
50961
50962 fi
50963 ac_config_files="$ac_config_files Makefile"
50964
50965
50966 ac_config_commands="$ac_config_commands wx-config"
50967
50968
50969
50970 if test "$wxWITH_SUBDIRS" != "no"; then
50971 if test "$wxUSE_GUI" = "yes"; then
50972 SUBDIRS="samples demos utils"
50973 else
50974 SUBDIRS="samples utils"
50975 fi
50976
50977
50978
50979 # Check whether --with-cppunit-prefix was given.
50980 if test "${with_cppunit_prefix+set}" = set; then
50981 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50982 else
50983 cppunit_config_prefix=""
50984 fi
50985
50986
50987 # Check whether --with-cppunit-exec-prefix was given.
50988 if test "${with_cppunit_exec_prefix+set}" = set; then
50989 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50990 else
50991 cppunit_config_exec_prefix=""
50992 fi
50993
50994
50995 if test x$cppunit_config_exec_prefix != x ; then
50996 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50997 if test x${CPPUNIT_CONFIG+set} != xset ; then
50998 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50999 fi
51000 fi
51001 if test x$cppunit_config_prefix != x ; then
51002 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51003 if test x${CPPUNIT_CONFIG+set} != xset ; then
51004 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51005 fi
51006 fi
51007
51008 # Extract the first word of "cppunit-config", so it can be a program name with args.
51009 set dummy cppunit-config; ac_word=$2
51010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51012 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51013 echo $ECHO_N "(cached) $ECHO_C" >&6
51014 else
51015 case $CPPUNIT_CONFIG in
51016 [\\/]* | ?:[\\/]*)
51017 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51018 ;;
51019 *)
51020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51021 for as_dir in $PATH
51022 do
51023 IFS=$as_save_IFS
51024 test -z "$as_dir" && as_dir=.
51025 for ac_exec_ext in '' $ac_executable_extensions; do
51026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51027 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51029 break 2
51030 fi
51031 done
51032 done
51033 IFS=$as_save_IFS
51034
51035 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51036 ;;
51037 esac
51038 fi
51039 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51040 if test -n "$CPPUNIT_CONFIG"; then
51041 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51042 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51043 else
51044 { echo "$as_me:$LINENO: result: no" >&5
51045 echo "${ECHO_T}no" >&6; }
51046 fi
51047
51048
51049 cppunit_version_min=1.8.0
51050
51051 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51052 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51053 no_cppunit=""
51054 if test "$CPPUNIT_CONFIG" = "no" ; then
51055 { echo "$as_me:$LINENO: result: no" >&5
51056 echo "${ECHO_T}no" >&6; }
51057 no_cppunit=yes
51058 else
51059 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51060 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51061 cppunit_version=`$CPPUNIT_CONFIG --version`
51062
51063 cppunit_major_version=`echo $cppunit_version | \
51064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51065 cppunit_minor_version=`echo $cppunit_version | \
51066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51067 cppunit_micro_version=`echo $cppunit_version | \
51068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51069
51070 cppunit_major_min=`echo $cppunit_version_min | \
51071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51072 cppunit_minor_min=`echo $cppunit_version_min | \
51073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51074 cppunit_micro_min=`echo $cppunit_version_min | \
51075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51076
51077 cppunit_version_proper=`expr \
51078 $cppunit_major_version \> $cppunit_major_min \| \
51079 $cppunit_major_version \= $cppunit_major_min \& \
51080 $cppunit_minor_version \> $cppunit_minor_min \| \
51081 $cppunit_major_version \= $cppunit_major_min \& \
51082 $cppunit_minor_version \= $cppunit_minor_min \& \
51083 $cppunit_micro_version \>= $cppunit_micro_min `
51084
51085 if test "$cppunit_version_proper" = "1" ; then
51086 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51087 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51088 else
51089 { echo "$as_me:$LINENO: result: no" >&5
51090 echo "${ECHO_T}no" >&6; }
51091 no_cppunit=yes
51092 fi
51093 fi
51094
51095 if test "x$no_cppunit" = x ; then
51096 SUBDIRS="$SUBDIRS tests"
51097 else
51098 CPPUNIT_CFLAGS=""
51099 CPPUNIT_LIBS=""
51100 :
51101 fi
51102
51103
51104
51105
51106
51107 for subdir in $SUBDIRS; do
51108 if test -d ${srcdir}/${subdir} ; then
51109 if test "$wxUSE_GUI" = "yes"; then
51110 if test ${subdir} = "samples"; then
51111 makefiles="samples/Makefile.in $makefiles"
51112 for sample in $SAMPLES_SUBDIRS; do
51113 if test -d $srcdir/samples/$sample; then
51114 makefiles="samples/$sample/Makefile.in $makefiles"
51115 fi
51116 done
51117 else
51118 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51119 eval "disabled=\$$disabled_var"
51120 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51121 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51122 fi
51123 else
51124 if test ${subdir} = "samples"; then
51125 makefiles="samples/Makefile.in $makefiles"
51126 for sample in `echo $SAMPLES_SUBDIRS`; do
51127 if test -d $srcdir/samples/$sample; then
51128 makefiles="samples/$sample/Makefile.in $makefiles"
51129 fi
51130 done
51131 elif test ${subdir} = "utils"; then
51132 makefiles=""
51133 for util in ifacecheck ; do
51134 if test -d $srcdir/utils/$util ; then
51135 makefiles="utils/$util/src/Makefile.in \
51136 $makefiles"
51137 fi
51138 done
51139 else
51140 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51141 fi
51142 fi
51143
51144 for mkin in $makefiles ; do
51145 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51146 ac_config_files="$ac_config_files $mk"
51147
51148 done
51149 fi
51150 done
51151 fi
51152 cat >confcache <<\_ACEOF
51153 # This file is a shell script that caches the results of configure
51154 # tests run on this system so they can be shared between configure
51155 # scripts and configure runs, see configure's option --config-cache.
51156 # It is not useful on other systems. If it contains results you don't
51157 # want to keep, you may remove or edit it.
51158 #
51159 # config.status only pays attention to the cache file if you give it
51160 # the --recheck option to rerun configure.
51161 #
51162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51164 # following values.
51165
51166 _ACEOF
51167
51168 # The following way of writing the cache mishandles newlines in values,
51169 # but we know of no workaround that is simple, portable, and efficient.
51170 # So, we kill variables containing newlines.
51171 # Ultrix sh set writes to stderr and can't be redirected directly,
51172 # and sets the high bit in the cache file unless we assign to the vars.
51173 (
51174 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51175 eval ac_val=\$$ac_var
51176 case $ac_val in #(
51177 *${as_nl}*)
51178 case $ac_var in #(
51179 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51180 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51181 esac
51182 case $ac_var in #(
51183 _ | IFS | as_nl) ;; #(
51184 *) $as_unset $ac_var ;;
51185 esac ;;
51186 esac
51187 done
51188
51189 (set) 2>&1 |
51190 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51191 *${as_nl}ac_space=\ *)
51192 # `set' does not quote correctly, so add quotes (double-quote
51193 # substitution turns \\\\ into \\, and sed turns \\ into \).
51194 sed -n \
51195 "s/'/'\\\\''/g;
51196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51197 ;; #(
51198 *)
51199 # `set' quotes correctly as required by POSIX, so do not add quotes.
51200 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51201 ;;
51202 esac |
51203 sort
51204 ) |
51205 sed '
51206 /^ac_cv_env_/b end
51207 t clear
51208 :clear
51209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51210 t end
51211 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51212 :end' >>confcache
51213 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51214 if test -w "$cache_file"; then
51215 test "x$cache_file" != "x/dev/null" &&
51216 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51217 echo "$as_me: updating cache $cache_file" >&6;}
51218 cat confcache >$cache_file
51219 else
51220 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51221 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51222 fi
51223 fi
51224 rm -f confcache
51225
51226 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51227 # Let make expand exec_prefix.
51228 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51229
51230 DEFS=-DHAVE_CONFIG_H
51231
51232 ac_libobjs=
51233 ac_ltlibobjs=
51234 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51235 # 1. Remove the extension, and $U if already installed.
51236 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51237 ac_i=`echo "$ac_i" | sed "$ac_script"`
51238 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51239 # will be set to the directory where LIBOBJS objects are built.
51240 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51241 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51242 done
51243 LIBOBJS=$ac_libobjs
51244
51245 LTLIBOBJS=$ac_ltlibobjs
51246
51247
51248
51249 : ${CONFIG_STATUS=./config.status}
51250 ac_clean_files_save=$ac_clean_files
51251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51252 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51253 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51254 cat >$CONFIG_STATUS <<_ACEOF
51255 #! $SHELL
51256 # Generated by $as_me.
51257 # Run this file to recreate the current configuration.
51258 # Compiler output produced by configure, useful for debugging
51259 # configure, is in config.log if it exists.
51260
51261 debug=false
51262 ac_cs_recheck=false
51263 ac_cs_silent=false
51264 SHELL=\${CONFIG_SHELL-$SHELL}
51265 _ACEOF
51266
51267 cat >>$CONFIG_STATUS <<\_ACEOF
51268 ## --------------------- ##
51269 ## M4sh Initialization. ##
51270 ## --------------------- ##
51271
51272 # Be more Bourne compatible
51273 DUALCASE=1; export DUALCASE # for MKS sh
51274 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51275 emulate sh
51276 NULLCMD=:
51277 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51278 # is contrary to our usage. Disable this feature.
51279 alias -g '${1+"$@"}'='"$@"'
51280 setopt NO_GLOB_SUBST
51281 else
51282 case `(set -o) 2>/dev/null` in
51283 *posix*) set -o posix ;;
51284 esac
51285
51286 fi
51287
51288
51289
51290
51291 # PATH needs CR
51292 # Avoid depending upon Character Ranges.
51293 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51294 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51295 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51296 as_cr_digits='0123456789'
51297 as_cr_alnum=$as_cr_Letters$as_cr_digits
51298
51299 # The user is always right.
51300 if test "${PATH_SEPARATOR+set}" != set; then
51301 echo "#! /bin/sh" >conf$$.sh
51302 echo "exit 0" >>conf$$.sh
51303 chmod +x conf$$.sh
51304 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51305 PATH_SEPARATOR=';'
51306 else
51307 PATH_SEPARATOR=:
51308 fi
51309 rm -f conf$$.sh
51310 fi
51311
51312 # Support unset when possible.
51313 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51314 as_unset=unset
51315 else
51316 as_unset=false
51317 fi
51318
51319
51320 # IFS
51321 # We need space, tab and new line, in precisely that order. Quoting is
51322 # there to prevent editors from complaining about space-tab.
51323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51324 # splitting by setting IFS to empty value.)
51325 as_nl='
51326 '
51327 IFS=" "" $as_nl"
51328
51329 # Find who we are. Look in the path if we contain no directory separator.
51330 case $0 in
51331 *[\\/]* ) as_myself=$0 ;;
51332 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51334 do
51335 IFS=$as_save_IFS
51336 test -z "$as_dir" && as_dir=.
51337 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51338 done
51339 IFS=$as_save_IFS
51340
51341 ;;
51342 esac
51343 # We did not find ourselves, most probably we were run as `sh COMMAND'
51344 # in which case we are not to be found in the path.
51345 if test "x$as_myself" = x; then
51346 as_myself=$0
51347 fi
51348 if test ! -f "$as_myself"; then
51349 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51350 { (exit 1); exit 1; }
51351 fi
51352
51353 # Work around bugs in pre-3.0 UWIN ksh.
51354 for as_var in ENV MAIL MAILPATH
51355 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51356 done
51357 PS1='$ '
51358 PS2='> '
51359 PS4='+ '
51360
51361 # NLS nuisances.
51362 for as_var in \
51363 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51364 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51365 LC_TELEPHONE LC_TIME
51366 do
51367 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51368 eval $as_var=C; export $as_var
51369 else
51370 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51371 fi
51372 done
51373
51374 # Required to use basename.
51375 if expr a : '\(a\)' >/dev/null 2>&1 &&
51376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51377 as_expr=expr
51378 else
51379 as_expr=false
51380 fi
51381
51382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51383 as_basename=basename
51384 else
51385 as_basename=false
51386 fi
51387
51388
51389 # Name of the executable.
51390 as_me=`$as_basename -- "$0" ||
51391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51392 X"$0" : 'X\(//\)$' \| \
51393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51394 echo X/"$0" |
51395 sed '/^.*\/\([^/][^/]*\)\/*$/{
51396 s//\1/
51397 q
51398 }
51399 /^X\/\(\/\/\)$/{
51400 s//\1/
51401 q
51402 }
51403 /^X\/\(\/\).*/{
51404 s//\1/
51405 q
51406 }
51407 s/.*/./; q'`
51408
51409 # CDPATH.
51410 $as_unset CDPATH
51411
51412
51413
51414 as_lineno_1=$LINENO
51415 as_lineno_2=$LINENO
51416 test "x$as_lineno_1" != "x$as_lineno_2" &&
51417 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51418
51419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51420 # uniformly replaced by the line number. The first 'sed' inserts a
51421 # line-number line after each line using $LINENO; the second 'sed'
51422 # does the real work. The second script uses 'N' to pair each
51423 # line-number line with the line containing $LINENO, and appends
51424 # trailing '-' during substitution so that $LINENO is not a special
51425 # case at line end.
51426 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51427 # scripts with optimization help from Paolo Bonzini. Blame Lee
51428 # E. McMahon (1931-1989) for sed's syntax. :-)
51429 sed -n '
51430 p
51431 /[$]LINENO/=
51432 ' <$as_myself |
51433 sed '
51434 s/[$]LINENO.*/&-/
51435 t lineno
51436 b
51437 :lineno
51438 N
51439 :loop
51440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51441 t loop
51442 s/-\n.*//
51443 ' >$as_me.lineno &&
51444 chmod +x "$as_me.lineno" ||
51445 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51446 { (exit 1); exit 1; }; }
51447
51448 # Don't try to exec as it changes $[0], causing all sort of problems
51449 # (the dirname of $[0] is not the place where we might find the
51450 # original and so on. Autoconf is especially sensitive to this).
51451 . "./$as_me.lineno"
51452 # Exit status is that of the last command.
51453 exit
51454 }
51455
51456
51457 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51458 as_dirname=dirname
51459 else
51460 as_dirname=false
51461 fi
51462
51463 ECHO_C= ECHO_N= ECHO_T=
51464 case `echo -n x` in
51465 -n*)
51466 case `echo 'x\c'` in
51467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51468 *) ECHO_C='\c';;
51469 esac;;
51470 *)
51471 ECHO_N='-n';;
51472 esac
51473
51474 if expr a : '\(a\)' >/dev/null 2>&1 &&
51475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51476 as_expr=expr
51477 else
51478 as_expr=false
51479 fi
51480
51481 rm -f conf$$ conf$$.exe conf$$.file
51482 if test -d conf$$.dir; then
51483 rm -f conf$$.dir/conf$$.file
51484 else
51485 rm -f conf$$.dir
51486 mkdir conf$$.dir
51487 fi
51488 echo >conf$$.file
51489 if ln -s conf$$.file conf$$ 2>/dev/null; then
51490 as_ln_s='ln -s'
51491 # ... but there are two gotchas:
51492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51494 # In both cases, we have to default to `cp -p'.
51495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51496 as_ln_s='cp -p'
51497 elif ln conf$$.file conf$$ 2>/dev/null; then
51498 as_ln_s=ln
51499 else
51500 as_ln_s='cp -p'
51501 fi
51502 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51503 rmdir conf$$.dir 2>/dev/null
51504
51505 if mkdir -p . 2>/dev/null; then
51506 as_mkdir_p=:
51507 else
51508 test -d ./-p && rmdir ./-p
51509 as_mkdir_p=false
51510 fi
51511
51512 if test -x / >/dev/null 2>&1; then
51513 as_test_x='test -x'
51514 else
51515 if ls -dL / >/dev/null 2>&1; then
51516 as_ls_L_option=L
51517 else
51518 as_ls_L_option=
51519 fi
51520 as_test_x='
51521 eval sh -c '\''
51522 if test -d "$1"; then
51523 test -d "$1/.";
51524 else
51525 case $1 in
51526 -*)set "./$1";;
51527 esac;
51528 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51529 ???[sx]*):;;*)false;;esac;fi
51530 '\'' sh
51531 '
51532 fi
51533 as_executable_p=$as_test_x
51534
51535 # Sed expression to map a string onto a valid CPP name.
51536 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51537
51538 # Sed expression to map a string onto a valid variable name.
51539 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51540
51541
51542 exec 6>&1
51543
51544 # Save the log message, to keep $[0] and so on meaningful, and to
51545 # report actual input values of CONFIG_FILES etc. instead of their
51546 # values after options handling.
51547 ac_log="
51548 This file was extended by wxWidgets $as_me 2.9.0, which was
51549 generated by GNU Autoconf 2.61. Invocation command line was
51550
51551 CONFIG_FILES = $CONFIG_FILES
51552 CONFIG_HEADERS = $CONFIG_HEADERS
51553 CONFIG_LINKS = $CONFIG_LINKS
51554 CONFIG_COMMANDS = $CONFIG_COMMANDS
51555 $ $0 $@
51556
51557 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51558 "
51559
51560 _ACEOF
51561
51562 cat >>$CONFIG_STATUS <<_ACEOF
51563 # Files that config.status was made for.
51564 config_files="$ac_config_files"
51565 config_headers="$ac_config_headers"
51566 config_commands="$ac_config_commands"
51567
51568 _ACEOF
51569
51570 cat >>$CONFIG_STATUS <<\_ACEOF
51571 ac_cs_usage="\
51572 \`$as_me' instantiates files from templates according to the
51573 current configuration.
51574
51575 Usage: $0 [OPTIONS] [FILE]...
51576
51577 -h, --help print this help, then exit
51578 -V, --version print version number and configuration settings, then exit
51579 -q, --quiet do not print progress messages
51580 -d, --debug don't remove temporary files
51581 --recheck update $as_me by reconfiguring in the same conditions
51582 --file=FILE[:TEMPLATE]
51583 instantiate the configuration file FILE
51584 --header=FILE[:TEMPLATE]
51585 instantiate the configuration header FILE
51586
51587 Configuration files:
51588 $config_files
51589
51590 Configuration headers:
51591 $config_headers
51592
51593 Configuration commands:
51594 $config_commands
51595
51596 Report bugs to <bug-autoconf@gnu.org>."
51597
51598 _ACEOF
51599 cat >>$CONFIG_STATUS <<_ACEOF
51600 ac_cs_version="\\
51601 wxWidgets config.status 2.9.0
51602 configured by $0, generated by GNU Autoconf 2.61,
51603 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51604
51605 Copyright (C) 2006 Free Software Foundation, Inc.
51606 This config.status script is free software; the Free Software Foundation
51607 gives unlimited permission to copy, distribute and modify it."
51608
51609 ac_pwd='$ac_pwd'
51610 srcdir='$srcdir'
51611 INSTALL='$INSTALL'
51612 _ACEOF
51613
51614 cat >>$CONFIG_STATUS <<\_ACEOF
51615 # If no file are specified by the user, then we need to provide default
51616 # value. By we need to know if files were specified by the user.
51617 ac_need_defaults=:
51618 while test $# != 0
51619 do
51620 case $1 in
51621 --*=*)
51622 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51623 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51624 ac_shift=:
51625 ;;
51626 *)
51627 ac_option=$1
51628 ac_optarg=$2
51629 ac_shift=shift
51630 ;;
51631 esac
51632
51633 case $ac_option in
51634 # Handling of the options.
51635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51636 ac_cs_recheck=: ;;
51637 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51638 echo "$ac_cs_version"; exit ;;
51639 --debug | --debu | --deb | --de | --d | -d )
51640 debug=: ;;
51641 --file | --fil | --fi | --f )
51642 $ac_shift
51643 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51644 ac_need_defaults=false;;
51645 --header | --heade | --head | --hea )
51646 $ac_shift
51647 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51648 ac_need_defaults=false;;
51649 --he | --h)
51650 # Conflict between --help and --header
51651 { echo "$as_me: error: ambiguous option: $1
51652 Try \`$0 --help' for more information." >&2
51653 { (exit 1); exit 1; }; };;
51654 --help | --hel | -h )
51655 echo "$ac_cs_usage"; exit ;;
51656 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51657 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51658 ac_cs_silent=: ;;
51659
51660 # This is an error.
51661 -*) { echo "$as_me: error: unrecognized option: $1
51662 Try \`$0 --help' for more information." >&2
51663 { (exit 1); exit 1; }; } ;;
51664
51665 *) ac_config_targets="$ac_config_targets $1"
51666 ac_need_defaults=false ;;
51667
51668 esac
51669 shift
51670 done
51671
51672 ac_configure_extra_args=
51673
51674 if $ac_cs_silent; then
51675 exec 6>/dev/null
51676 ac_configure_extra_args="$ac_configure_extra_args --silent"
51677 fi
51678
51679 _ACEOF
51680 cat >>$CONFIG_STATUS <<_ACEOF
51681 if \$ac_cs_recheck; then
51682 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51683 CONFIG_SHELL=$SHELL
51684 export CONFIG_SHELL
51685 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51686 fi
51687
51688 _ACEOF
51689 cat >>$CONFIG_STATUS <<\_ACEOF
51690 exec 5>>config.log
51691 {
51692 echo
51693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51694 ## Running $as_me. ##
51695 _ASBOX
51696 echo "$ac_log"
51697 } >&5
51698
51699 _ACEOF
51700 cat >>$CONFIG_STATUS <<_ACEOF
51701 #
51702 # INIT-COMMANDS
51703 #
51704
51705 CPP="$CPP"
51706 infile="$srcdir/include/wx/msw/genrcdefs.h"
51707 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51708
51709
51710 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51711 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51712 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51713 LN_S="${LN_S}"
51714
51715
51716 _ACEOF
51717
51718 cat >>$CONFIG_STATUS <<\_ACEOF
51719
51720 # Handling of arguments.
51721 for ac_config_target in $ac_config_targets
51722 do
51723 case $ac_config_target in
51724 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51725 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51726 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51727 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51728 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51729 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51730 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51731 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51732 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51733
51734 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51735 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51736 { (exit 1); exit 1; }; };;
51737 esac
51738 done
51739
51740
51741 # If the user did not use the arguments to specify the items to instantiate,
51742 # then the envvar interface is used. Set only those that are not.
51743 # We use the long form for the default assignment because of an extremely
51744 # bizarre bug on SunOS 4.1.3.
51745 if $ac_need_defaults; then
51746 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51747 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51748 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51749 fi
51750
51751 # Have a temporary directory for convenience. Make it in the build tree
51752 # simply because there is no reason against having it here, and in addition,
51753 # creating and moving files from /tmp can sometimes cause problems.
51754 # Hook for its removal unless debugging.
51755 # Note that there is a small window in which the directory will not be cleaned:
51756 # after its creation but before its name has been assigned to `$tmp'.
51757 $debug ||
51758 {
51759 tmp=
51760 trap 'exit_status=$?
51761 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51762 ' 0
51763 trap '{ (exit 1); exit 1; }' 1 2 13 15
51764 }
51765 # Create a (secure) tmp directory for tmp files.
51766
51767 {
51768 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51769 test -n "$tmp" && test -d "$tmp"
51770 } ||
51771 {
51772 tmp=./conf$$-$RANDOM
51773 (umask 077 && mkdir "$tmp")
51774 } ||
51775 {
51776 echo "$me: cannot create a temporary directory in ." >&2
51777 { (exit 1); exit 1; }
51778 }
51779
51780 #
51781 # Set up the sed scripts for CONFIG_FILES section.
51782 #
51783
51784 # No need to generate the scripts if there are no CONFIG_FILES.
51785 # This happens for instance when ./config.status config.h
51786 if test -n "$CONFIG_FILES"; then
51787
51788 _ACEOF
51789
51790
51791
51792 ac_delim='%!_!# '
51793 for ac_last_try in false false false false false :; do
51794 cat >conf$$subs.sed <<_ACEOF
51795 SHELL!$SHELL$ac_delim
51796 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51797 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51798 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51799 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51800 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51801 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51802 exec_prefix!$exec_prefix$ac_delim
51803 prefix!$prefix$ac_delim
51804 program_transform_name!$program_transform_name$ac_delim
51805 bindir!$bindir$ac_delim
51806 sbindir!$sbindir$ac_delim
51807 libexecdir!$libexecdir$ac_delim
51808 datarootdir!$datarootdir$ac_delim
51809 datadir!$datadir$ac_delim
51810 sysconfdir!$sysconfdir$ac_delim
51811 sharedstatedir!$sharedstatedir$ac_delim
51812 localstatedir!$localstatedir$ac_delim
51813 includedir!$includedir$ac_delim
51814 oldincludedir!$oldincludedir$ac_delim
51815 docdir!$docdir$ac_delim
51816 infodir!$infodir$ac_delim
51817 htmldir!$htmldir$ac_delim
51818 dvidir!$dvidir$ac_delim
51819 pdfdir!$pdfdir$ac_delim
51820 psdir!$psdir$ac_delim
51821 libdir!$libdir$ac_delim
51822 localedir!$localedir$ac_delim
51823 mandir!$mandir$ac_delim
51824 DEFS!$DEFS$ac_delim
51825 ECHO_C!$ECHO_C$ac_delim
51826 ECHO_N!$ECHO_N$ac_delim
51827 ECHO_T!$ECHO_T$ac_delim
51828 LIBS!$LIBS$ac_delim
51829 build_alias!$build_alias$ac_delim
51830 host_alias!$host_alias$ac_delim
51831 target_alias!$target_alias$ac_delim
51832 build!$build$ac_delim
51833 build_cpu!$build_cpu$ac_delim
51834 build_vendor!$build_vendor$ac_delim
51835 build_os!$build_os$ac_delim
51836 host!$host$ac_delim
51837 host_cpu!$host_cpu$ac_delim
51838 host_vendor!$host_vendor$ac_delim
51839 host_os!$host_os$ac_delim
51840 target!$target$ac_delim
51841 target_cpu!$target_cpu$ac_delim
51842 target_vendor!$target_vendor$ac_delim
51843 target_os!$target_os$ac_delim
51844 wx_top_builddir!$wx_top_builddir$ac_delim
51845 CC!$CC$ac_delim
51846 CFLAGS!$CFLAGS$ac_delim
51847 LDFLAGS!$LDFLAGS$ac_delim
51848 CPPFLAGS!$CPPFLAGS$ac_delim
51849 ac_ct_CC!$ac_ct_CC$ac_delim
51850 EXEEXT!$EXEEXT$ac_delim
51851 OBJEXT!$OBJEXT$ac_delim
51852 CPP!$CPP$ac_delim
51853 GREP!$GREP$ac_delim
51854 EGREP!$EGREP$ac_delim
51855 CXX!$CXX$ac_delim
51856 CXXFLAGS!$CXXFLAGS$ac_delim
51857 ac_ct_CXX!$ac_ct_CXX$ac_delim
51858 AR!$AR$ac_delim
51859 subdirs!$subdirs$ac_delim
51860 PKG_CONFIG!$PKG_CONFIG$ac_delim
51861 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51862 GTK_LIBS!$GTK_LIBS$ac_delim
51863 GTK_CONFIG!$GTK_CONFIG$ac_delim
51864 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51865 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51866 XMKMF!$XMKMF$ac_delim
51867 X_CFLAGS!$X_CFLAGS$ac_delim
51868 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51869 X_LIBS!$X_LIBS$ac_delim
51870 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51871 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51872 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51873 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51874 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51875 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51876 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51877 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51878 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51879 LIBICONV!$LIBICONV$ac_delim
51880 GXX_VERSION!$GXX_VERSION$ac_delim
51881 SDL_CONFIG!$SDL_CONFIG$ac_delim
51882 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51883 SDL_LIBS!$SDL_LIBS$ac_delim
51884 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51885 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51886 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51887 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51888 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51889 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51890 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51891 HILDON_LIBS!$HILDON_LIBS$ac_delim
51892 _ACEOF
51893
51894 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51895 break
51896 elif $ac_last_try; then
51897 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51898 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51899 { (exit 1); exit 1; }; }
51900 else
51901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51902 fi
51903 done
51904
51905 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51906 if test -n "$ac_eof"; then
51907 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51908 ac_eof=`expr $ac_eof + 1`
51909 fi
51910
51911 cat >>$CONFIG_STATUS <<_ACEOF
51912 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51914 _ACEOF
51915 sed '
51916 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51917 s/^/s,@/; s/!/@,|#_!!_#|/
51918 :n
51919 t n
51920 s/'"$ac_delim"'$/,g/; t
51921 s/$/\\/; p
51922 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51923 ' >>$CONFIG_STATUS <conf$$subs.sed
51924 rm -f conf$$subs.sed
51925 cat >>$CONFIG_STATUS <<_ACEOF
51926 CEOF$ac_eof
51927 _ACEOF
51928
51929
51930 ac_delim='%!_!# '
51931 for ac_last_try in false false false false false :; do
51932 cat >conf$$subs.sed <<_ACEOF
51933 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51934 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51935 GST_CFLAGS!$GST_CFLAGS$ac_delim
51936 GST_LIBS!$GST_LIBS$ac_delim
51937 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51938 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51939 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51940 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51941 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51942 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51943 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51944 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51945 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51946 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51947 VENDOR!$VENDOR$ac_delim
51948 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51949 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51950 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51951 WXUNIV!$WXUNIV$ac_delim
51952 MONOLITHIC!$MONOLITHIC$ac_delim
51953 USE_PLUGINS!$USE_PLUGINS$ac_delim
51954 CXXWARNINGS!$CXXWARNINGS$ac_delim
51955 EXTRALIBS!$EXTRALIBS$ac_delim
51956 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51957 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51958 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51959 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51960 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51961 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51962 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51963 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51964 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51965 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51966 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51967 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51968 UNICODE!$UNICODE$ac_delim
51969 BUILD!$BUILD$ac_delim
51970 DEBUG_INFO!$DEBUG_INFO$ac_delim
51971 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51972 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51973 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51974 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51975 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51976 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51977 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51978 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51979 RANLIB!$RANLIB$ac_delim
51980 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51981 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51982 INSTALL_DATA!$INSTALL_DATA$ac_delim
51983 LN_S!$LN_S$ac_delim
51984 SET_MAKE!$SET_MAKE$ac_delim
51985 MAKE_SET!$MAKE_SET$ac_delim
51986 AROPTIONS!$AROPTIONS$ac_delim
51987 STRIP!$STRIP$ac_delim
51988 NM!$NM$ac_delim
51989 INSTALL_DIR!$INSTALL_DIR$ac_delim
51990 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51991 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51992 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51993 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51994 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51995 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51996 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51997 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51998 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51999 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52000 SO_SUFFIX!$SO_SUFFIX$ac_delim
52001 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52002 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52003 LIBPREFIX!$LIBPREFIX$ac_delim
52004 LIBEXT!$LIBEXT$ac_delim
52005 DLLPREFIX!$DLLPREFIX$ac_delim
52006 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52007 dlldir!$dlldir$ac_delim
52008 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52009 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52010 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52011 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52012 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52013 PIC_FLAG!$PIC_FLAG$ac_delim
52014 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52015 USE_SOVERSION!$USE_SOVERSION$ac_delim
52016 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52017 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52018 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52019 USE_MACVERSION!$USE_MACVERSION$ac_delim
52020 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52021 SONAME_FLAG!$SONAME_FLAG$ac_delim
52022 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52023 BK_DEPS!$BK_DEPS$ac_delim
52024 WINDRES!$WINDRES$ac_delim
52025 REZ!$REZ$ac_delim
52026 SETFILE!$SETFILE$ac_delim
52027 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52028 GCC_PCH!$GCC_PCH$ac_delim
52029 ICC_PCH!$ICC_PCH$ac_delim
52030 _ACEOF
52031
52032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52033 break
52034 elif $ac_last_try; then
52035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52037 { (exit 1); exit 1; }; }
52038 else
52039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52040 fi
52041 done
52042
52043 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52044 if test -n "$ac_eof"; then
52045 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52046 ac_eof=`expr $ac_eof + 1`
52047 fi
52048
52049 cat >>$CONFIG_STATUS <<_ACEOF
52050 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52052 _ACEOF
52053 sed '
52054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52055 s/^/s,@/; s/!/@,|#_!!_#|/
52056 :n
52057 t n
52058 s/'"$ac_delim"'$/,g/; t
52059 s/$/\\/; p
52060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52061 ' >>$CONFIG_STATUS <conf$$subs.sed
52062 rm -f conf$$subs.sed
52063 cat >>$CONFIG_STATUS <<_ACEOF
52064 CEOF$ac_eof
52065 _ACEOF
52066
52067
52068 ac_delim='%!_!# '
52069 for ac_last_try in false false false false false :; do
52070 cat >conf$$subs.sed <<_ACEOF
52071 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52072 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52073 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52074 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52075 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52076 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52077 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52078 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52079 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52080 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52081 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52082 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52083 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52084 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52085 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52086 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52087 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52088 COND_BUILD_release!$COND_BUILD_release$ac_delim
52089 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52090 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52091 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52092 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52093 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52094 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52095 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52096 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52097 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52098 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52099 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52100 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52101 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52106 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52107 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52108 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52109 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52110 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52111 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52116 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52117 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52118 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52119 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52120 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52121 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52122 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52123 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52124 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52125 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52126 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52127 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52128 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52129 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52130 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52131 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52132 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52133 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52134 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52135 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52136 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52137 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52138 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52139 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52140 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52141 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52142 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52143 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52144 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52145 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52146 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52147 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52148 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52149 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52150 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52151 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52152 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52153 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52154 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52155 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52156 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52157 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52158 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52159 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52160 COND_SHARED_0!$COND_SHARED_0$ac_delim
52161 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52162 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52163 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52164 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52165 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52166 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52167 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52168 _ACEOF
52169
52170 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52171 break
52172 elif $ac_last_try; then
52173 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52174 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52175 { (exit 1); exit 1; }; }
52176 else
52177 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52178 fi
52179 done
52180
52181 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52182 if test -n "$ac_eof"; then
52183 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52184 ac_eof=`expr $ac_eof + 1`
52185 fi
52186
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52190 _ACEOF
52191 sed '
52192 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52193 s/^/s,@/; s/!/@,|#_!!_#|/
52194 :n
52195 t n
52196 s/'"$ac_delim"'$/,g/; t
52197 s/$/\\/; p
52198 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52199 ' >>$CONFIG_STATUS <conf$$subs.sed
52200 rm -f conf$$subs.sed
52201 cat >>$CONFIG_STATUS <<_ACEOF
52202 CEOF$ac_eof
52203 _ACEOF
52204
52205
52206 ac_delim='%!_!# '
52207 for ac_last_try in false false false false false :; do
52208 cat >conf$$subs.sed <<_ACEOF
52209 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52210 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52211 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52212 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52213 COND_SHARED_1!$COND_SHARED_1$ac_delim
52214 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52215 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52216 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52217 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52219 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52220 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52221 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52224 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52226 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52227 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52228 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52229 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52230 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52231 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52232 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52233 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52234 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52235 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52236 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52237 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52238 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52239 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52240 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52243 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52244 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52245 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52246 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52247 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52250 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52251 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52252 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52253 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52254 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52255 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52256 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52257 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52258 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52259 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52260 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52261 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52262 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52263 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52264 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52265 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52266 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52267 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52268 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52269 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52270 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52271 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52272 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52273 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52274 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52275 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52276 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52277 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52278 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52279 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52280 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52281 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52282 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52283 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52284 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52285 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52286 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52287 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52288 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52289 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52290 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52291 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52292 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52293 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52294 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52295 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52296 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52297 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52298 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52299 DEREZ!$DEREZ$ac_delim
52300 SHARED!$SHARED$ac_delim
52301 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52302 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52303 USE_GUI!$USE_GUI$ac_delim
52304 AFMINSTALL!$AFMINSTALL$ac_delim
52305 WIN32INSTALL!$WIN32INSTALL$ac_delim
52306 _ACEOF
52307
52308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52309 break
52310 elif $ac_last_try; then
52311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52313 { (exit 1); exit 1; }; }
52314 else
52315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52316 fi
52317 done
52318
52319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52320 if test -n "$ac_eof"; then
52321 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52322 ac_eof=`expr $ac_eof + 1`
52323 fi
52324
52325 cat >>$CONFIG_STATUS <<_ACEOF
52326 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52328 _ACEOF
52329 sed '
52330 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52331 s/^/s,@/; s/!/@,|#_!!_#|/
52332 :n
52333 t n
52334 s/'"$ac_delim"'$/,g/; t
52335 s/$/\\/; p
52336 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52337 ' >>$CONFIG_STATUS <conf$$subs.sed
52338 rm -f conf$$subs.sed
52339 cat >>$CONFIG_STATUS <<_ACEOF
52340 CEOF$ac_eof
52341 _ACEOF
52342
52343
52344 ac_delim='%!_!# '
52345 for ac_last_try in false false false false false :; do
52346 cat >conf$$subs.sed <<_ACEOF
52347 TOOLKIT!$TOOLKIT$ac_delim
52348 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52349 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52350 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52351 cross_compiling!$cross_compiling$ac_delim
52352 WIDGET_SET!$WIDGET_SET$ac_delim
52353 WX_RELEASE!$WX_RELEASE$ac_delim
52354 WX_VERSION!$WX_VERSION$ac_delim
52355 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52356 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52357 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52358 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52359 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52360 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52361 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52362 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52363 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52364 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52365 GUIDIST!$GUIDIST$ac_delim
52366 DISTDIR!$DISTDIR$ac_delim
52367 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52368 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52369 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52370 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52371 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52372 RESCOMP!$RESCOMP$ac_delim
52373 RESFLAGS!$RESFLAGS$ac_delim
52374 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52375 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52376 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52377 LIBWXMACRES!$LIBWXMACRES$ac_delim
52378 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52379 MACSETFILE!$MACSETFILE$ac_delim
52380 GCC!$GCC$ac_delim
52381 DLLTOOL!$DLLTOOL$ac_delim
52382 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52383 LIBOBJS!$LIBOBJS$ac_delim
52384 LTLIBOBJS!$LTLIBOBJS$ac_delim
52385 _ACEOF
52386
52387 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52388 break
52389 elif $ac_last_try; then
52390 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52391 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52392 { (exit 1); exit 1; }; }
52393 else
52394 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52395 fi
52396 done
52397
52398 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52399 if test -n "$ac_eof"; then
52400 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52401 ac_eof=`expr $ac_eof + 1`
52402 fi
52403
52404 cat >>$CONFIG_STATUS <<_ACEOF
52405 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52407 _ACEOF
52408 sed '
52409 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52410 s/^/s,@/; s/!/@,|#_!!_#|/
52411 :n
52412 t n
52413 s/'"$ac_delim"'$/,g/; t
52414 s/$/\\/; p
52415 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52416 ' >>$CONFIG_STATUS <conf$$subs.sed
52417 rm -f conf$$subs.sed
52418 cat >>$CONFIG_STATUS <<_ACEOF
52419 :end
52420 s/|#_!!_#|//g
52421 CEOF$ac_eof
52422 _ACEOF
52423
52424
52425 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52426 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52427 # trailing colons and then remove the whole line if VPATH becomes empty
52428 # (actually we leave an empty line to preserve line numbers).
52429 if test "x$srcdir" = x.; then
52430 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52431 s/:*\$(srcdir):*/:/
52432 s/:*\${srcdir}:*/:/
52433 s/:*@srcdir@:*/:/
52434 s/^\([^=]*=[ ]*\):*/\1/
52435 s/:*$//
52436 s/^[^=]*=[ ]*$//
52437 }'
52438 fi
52439
52440 cat >>$CONFIG_STATUS <<\_ACEOF
52441 fi # test -n "$CONFIG_FILES"
52442
52443
52444 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52445 do
52446 case $ac_tag in
52447 :[FHLC]) ac_mode=$ac_tag; continue;;
52448 esac
52449 case $ac_mode$ac_tag in
52450 :[FHL]*:*);;
52451 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52452 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52453 { (exit 1); exit 1; }; };;
52454 :[FH]-) ac_tag=-:-;;
52455 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52456 esac
52457 ac_save_IFS=$IFS
52458 IFS=:
52459 set x $ac_tag
52460 IFS=$ac_save_IFS
52461 shift
52462 ac_file=$1
52463 shift
52464
52465 case $ac_mode in
52466 :L) ac_source=$1;;
52467 :[FH])
52468 ac_file_inputs=
52469 for ac_f
52470 do
52471 case $ac_f in
52472 -) ac_f="$tmp/stdin";;
52473 *) # Look for the file first in the build tree, then in the source tree
52474 # (if the path is not absolute). The absolute path cannot be DOS-style,
52475 # because $ac_f cannot contain `:'.
52476 test -f "$ac_f" ||
52477 case $ac_f in
52478 [\\/$]*) false;;
52479 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52480 esac ||
52481 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52482 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52483 { (exit 1); exit 1; }; };;
52484 esac
52485 ac_file_inputs="$ac_file_inputs $ac_f"
52486 done
52487
52488 # Let's still pretend it is `configure' which instantiates (i.e., don't
52489 # use $as_me), people would be surprised to read:
52490 # /* config.h. Generated by config.status. */
52491 configure_input="Generated from "`IFS=:
52492 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52493 if test x"$ac_file" != x-; then
52494 configure_input="$ac_file. $configure_input"
52495 { echo "$as_me:$LINENO: creating $ac_file" >&5
52496 echo "$as_me: creating $ac_file" >&6;}
52497 fi
52498
52499 case $ac_tag in
52500 *:-:* | *:-) cat >"$tmp/stdin";;
52501 esac
52502 ;;
52503 esac
52504
52505 ac_dir=`$as_dirname -- "$ac_file" ||
52506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52507 X"$ac_file" : 'X\(//\)[^/]' \| \
52508 X"$ac_file" : 'X\(//\)$' \| \
52509 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52510 echo X"$ac_file" |
52511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52512 s//\1/
52513 q
52514 }
52515 /^X\(\/\/\)[^/].*/{
52516 s//\1/
52517 q
52518 }
52519 /^X\(\/\/\)$/{
52520 s//\1/
52521 q
52522 }
52523 /^X\(\/\).*/{
52524 s//\1/
52525 q
52526 }
52527 s/.*/./; q'`
52528 { as_dir="$ac_dir"
52529 case $as_dir in #(
52530 -*) as_dir=./$as_dir;;
52531 esac
52532 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52533 as_dirs=
52534 while :; do
52535 case $as_dir in #(
52536 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52537 *) as_qdir=$as_dir;;
52538 esac
52539 as_dirs="'$as_qdir' $as_dirs"
52540 as_dir=`$as_dirname -- "$as_dir" ||
52541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52542 X"$as_dir" : 'X\(//\)[^/]' \| \
52543 X"$as_dir" : 'X\(//\)$' \| \
52544 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52545 echo X"$as_dir" |
52546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52547 s//\1/
52548 q
52549 }
52550 /^X\(\/\/\)[^/].*/{
52551 s//\1/
52552 q
52553 }
52554 /^X\(\/\/\)$/{
52555 s//\1/
52556 q
52557 }
52558 /^X\(\/\).*/{
52559 s//\1/
52560 q
52561 }
52562 s/.*/./; q'`
52563 test -d "$as_dir" && break
52564 done
52565 test -z "$as_dirs" || eval "mkdir $as_dirs"
52566 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52567 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52568 { (exit 1); exit 1; }; }; }
52569 ac_builddir=.
52570
52571 case "$ac_dir" in
52572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52573 *)
52574 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52575 # A ".." for each directory in $ac_dir_suffix.
52576 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52577 case $ac_top_builddir_sub in
52578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52579 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52580 esac ;;
52581 esac
52582 ac_abs_top_builddir=$ac_pwd
52583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52584 # for backward compatibility:
52585 ac_top_builddir=$ac_top_build_prefix
52586
52587 case $srcdir in
52588 .) # We are building in place.
52589 ac_srcdir=.
52590 ac_top_srcdir=$ac_top_builddir_sub
52591 ac_abs_top_srcdir=$ac_pwd ;;
52592 [\\/]* | ?:[\\/]* ) # Absolute name.
52593 ac_srcdir=$srcdir$ac_dir_suffix;
52594 ac_top_srcdir=$srcdir
52595 ac_abs_top_srcdir=$srcdir ;;
52596 *) # Relative name.
52597 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52598 ac_top_srcdir=$ac_top_build_prefix$srcdir
52599 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52600 esac
52601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52602
52603
52604 case $ac_mode in
52605 :F)
52606 #
52607 # CONFIG_FILE
52608 #
52609
52610 case $INSTALL in
52611 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52612 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52613 esac
52614 _ACEOF
52615
52616 cat >>$CONFIG_STATUS <<\_ACEOF
52617 # If the template does not know about datarootdir, expand it.
52618 # FIXME: This hack should be removed a few years after 2.60.
52619 ac_datarootdir_hack=; ac_datarootdir_seen=
52620
52621 case `sed -n '/datarootdir/ {
52622 p
52623 q
52624 }
52625 /@datadir@/p
52626 /@docdir@/p
52627 /@infodir@/p
52628 /@localedir@/p
52629 /@mandir@/p
52630 ' $ac_file_inputs` in
52631 *datarootdir*) ac_datarootdir_seen=yes;;
52632 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52633 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52634 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52635 _ACEOF
52636 cat >>$CONFIG_STATUS <<_ACEOF
52637 ac_datarootdir_hack='
52638 s&@datadir@&$datadir&g
52639 s&@docdir@&$docdir&g
52640 s&@infodir@&$infodir&g
52641 s&@localedir@&$localedir&g
52642 s&@mandir@&$mandir&g
52643 s&\\\${datarootdir}&$datarootdir&g' ;;
52644 esac
52645 _ACEOF
52646
52647 # Neutralize VPATH when `$srcdir' = `.'.
52648 # Shell code in configure.ac might set extrasub.
52649 # FIXME: do we really want to maintain this feature?
52650 cat >>$CONFIG_STATUS <<_ACEOF
52651 sed "$ac_vpsub
52652 $extrasub
52653 _ACEOF
52654 cat >>$CONFIG_STATUS <<\_ACEOF
52655 :t
52656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52657 s&@configure_input@&$configure_input&;t t
52658 s&@top_builddir@&$ac_top_builddir_sub&;t t
52659 s&@srcdir@&$ac_srcdir&;t t
52660 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52661 s&@top_srcdir@&$ac_top_srcdir&;t t
52662 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52663 s&@builddir@&$ac_builddir&;t t
52664 s&@abs_builddir@&$ac_abs_builddir&;t t
52665 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52666 s&@INSTALL@&$ac_INSTALL&;t t
52667 $ac_datarootdir_hack
52668 " $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
52669
52670 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52671 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52672 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52673 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52674 which seems to be undefined. Please make sure it is defined." >&5
52675 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52676 which seems to be undefined. Please make sure it is defined." >&2;}
52677
52678 rm -f "$tmp/stdin"
52679 case $ac_file in
52680 -) cat "$tmp/out"; rm -f "$tmp/out";;
52681 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52682 esac
52683 ;;
52684 :H)
52685 #
52686 # CONFIG_HEADER
52687 #
52688 _ACEOF
52689
52690 # Transform confdefs.h into a sed script `conftest.defines', that
52691 # substitutes the proper values into config.h.in to produce config.h.
52692 rm -f conftest.defines conftest.tail
52693 # First, append a space to every undef/define line, to ease matching.
52694 echo 's/$/ /' >conftest.defines
52695 # Then, protect against being on the right side of a sed subst, or in
52696 # an unquoted here document, in config.status. If some macros were
52697 # called several times there might be several #defines for the same
52698 # symbol, which is useless. But do not sort them, since the last
52699 # AC_DEFINE must be honored.
52700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52701 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52702 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52703 # PARAMS is the parameter list in the macro definition--in most cases, it's
52704 # just an empty string.
52705 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52706 ac_dB='\\)[ (].*,\\1define\\2'
52707 ac_dC=' '
52708 ac_dD=' ,'
52709
52710 uniq confdefs.h |
52711 sed -n '
52712 t rset
52713 :rset
52714 s/^[ ]*#[ ]*define[ ][ ]*//
52715 t ok
52716 d
52717 :ok
52718 s/[\\&,]/\\&/g
52719 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52720 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52721 ' >>conftest.defines
52722
52723 # Remove the space that was appended to ease matching.
52724 # Then replace #undef with comments. This is necessary, for
52725 # example, in the case of _POSIX_SOURCE, which is predefined and required
52726 # on some systems where configure will not decide to define it.
52727 # (The regexp can be short, since the line contains either #define or #undef.)
52728 echo 's/ $//
52729 s,^[ #]*u.*,/* & */,' >>conftest.defines
52730
52731 # Break up conftest.defines:
52732 ac_max_sed_lines=50
52733
52734 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52735 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52736 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52737 # et cetera.
52738 ac_in='$ac_file_inputs'
52739 ac_out='"$tmp/out1"'
52740 ac_nxt='"$tmp/out2"'
52741
52742 while :
52743 do
52744 # Write a here document:
52745 cat >>$CONFIG_STATUS <<_ACEOF
52746 # First, check the format of the line:
52747 cat >"\$tmp/defines.sed" <<\\CEOF
52748 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52749 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52750 b
52751 :def
52752 _ACEOF
52753 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52754 echo 'CEOF
52755 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52756 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52757 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52758 grep . conftest.tail >/dev/null || break
52759 rm -f conftest.defines
52760 mv conftest.tail conftest.defines
52761 done
52762 rm -f conftest.defines conftest.tail
52763
52764 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52765 cat >>$CONFIG_STATUS <<\_ACEOF
52766 if test x"$ac_file" != x-; then
52767 echo "/* $configure_input */" >"$tmp/config.h"
52768 cat "$ac_result" >>"$tmp/config.h"
52769 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52770 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52771 echo "$as_me: $ac_file is unchanged" >&6;}
52772 else
52773 rm -f $ac_file
52774 mv "$tmp/config.h" $ac_file
52775 fi
52776 else
52777 echo "/* $configure_input */"
52778 cat "$ac_result"
52779 fi
52780 rm -f "$tmp/out12"
52781 ;;
52782
52783 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52784 echo "$as_me: executing $ac_file commands" >&6;}
52785 ;;
52786 esac
52787
52788
52789 case $ac_file$ac_mode in
52790 "rcdefs.h":C)
52791 mkdir -p $outdir &&
52792 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52793 ;;
52794 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52795 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52796 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52797 "wx-config":C) rm -f wx-config
52798 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52799 ;;
52800
52801 esac
52802 done # for ac_tag
52803
52804
52805 { (exit 0); exit 0; }
52806 _ACEOF
52807 chmod +x $CONFIG_STATUS
52808 ac_clean_files=$ac_clean_files_save
52809
52810
52811 # configure is writing to config.log, and then calls config.status.
52812 # config.status does its own redirection, appending to config.log.
52813 # Unfortunately, on DOS this fails, as config.log is still kept open
52814 # by configure, so config.status won't be able to write to it; its
52815 # output is simply discarded. So we exec the FD to /dev/null,
52816 # effectively closing config.log, so it can be properly (re)opened and
52817 # appended to by config.status. When coming back to configure, we
52818 # need to make the FD available again.
52819 if test "$no_create" != yes; then
52820 ac_cs_success=:
52821 ac_config_status_args=
52822 test "$silent" = yes &&
52823 ac_config_status_args="$ac_config_status_args --quiet"
52824 exec 5>/dev/null
52825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52826 exec 5>>config.log
52827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52828 # would make configure fail if this is the last instruction.
52829 $ac_cs_success || { (exit 1); exit 1; }
52830 fi
52831
52832 #
52833 # CONFIG_SUBDIRS section.
52834 #
52835 if test "$no_recursion" != yes; then
52836
52837 # Remove --cache-file and --srcdir arguments so they do not pile up.
52838 ac_sub_configure_args=
52839 ac_prev=
52840 eval "set x $ac_configure_args"
52841 shift
52842 for ac_arg
52843 do
52844 if test -n "$ac_prev"; then
52845 ac_prev=
52846 continue
52847 fi
52848 case $ac_arg in
52849 -cache-file | --cache-file | --cache-fil | --cache-fi \
52850 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52851 ac_prev=cache_file ;;
52852 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52853 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52854 | --c=*)
52855 ;;
52856 --config-cache | -C)
52857 ;;
52858 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52859 ac_prev=srcdir ;;
52860 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52861 ;;
52862 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52863 ac_prev=prefix ;;
52864 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52865 ;;
52866 *)
52867 case $ac_arg in
52868 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52869 esac
52870 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52871 esac
52872 done
52873
52874 # Always prepend --prefix to ensure using the same prefix
52875 # in subdir configurations.
52876 ac_arg="--prefix=$prefix"
52877 case $ac_arg in
52878 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52879 esac
52880 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52881
52882 # Pass --silent
52883 if test "$silent" = yes; then
52884 ac_sub_configure_args="--silent $ac_sub_configure_args"
52885 fi
52886
52887 ac_popdir=`pwd`
52888 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52889
52890 # Do not complain, so a configure script can configure whichever
52891 # parts of a large source tree are present.
52892 test -d "$srcdir/$ac_dir" || continue
52893
52894 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52895 echo "$as_me:$LINENO: $ac_msg" >&5
52896 echo "$ac_msg" >&6
52897 { as_dir="$ac_dir"
52898 case $as_dir in #(
52899 -*) as_dir=./$as_dir;;
52900 esac
52901 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52902 as_dirs=
52903 while :; do
52904 case $as_dir in #(
52905 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52906 *) as_qdir=$as_dir;;
52907 esac
52908 as_dirs="'$as_qdir' $as_dirs"
52909 as_dir=`$as_dirname -- "$as_dir" ||
52910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52911 X"$as_dir" : 'X\(//\)[^/]' \| \
52912 X"$as_dir" : 'X\(//\)$' \| \
52913 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52914 echo X"$as_dir" |
52915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52916 s//\1/
52917 q
52918 }
52919 /^X\(\/\/\)[^/].*/{
52920 s//\1/
52921 q
52922 }
52923 /^X\(\/\/\)$/{
52924 s//\1/
52925 q
52926 }
52927 /^X\(\/\).*/{
52928 s//\1/
52929 q
52930 }
52931 s/.*/./; q'`
52932 test -d "$as_dir" && break
52933 done
52934 test -z "$as_dirs" || eval "mkdir $as_dirs"
52935 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52936 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52937 { (exit 1); exit 1; }; }; }
52938 ac_builddir=.
52939
52940 case "$ac_dir" in
52941 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52942 *)
52943 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52944 # A ".." for each directory in $ac_dir_suffix.
52945 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52946 case $ac_top_builddir_sub in
52947 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52948 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52949 esac ;;
52950 esac
52951 ac_abs_top_builddir=$ac_pwd
52952 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52953 # for backward compatibility:
52954 ac_top_builddir=$ac_top_build_prefix
52955
52956 case $srcdir in
52957 .) # We are building in place.
52958 ac_srcdir=.
52959 ac_top_srcdir=$ac_top_builddir_sub
52960 ac_abs_top_srcdir=$ac_pwd ;;
52961 [\\/]* | ?:[\\/]* ) # Absolute name.
52962 ac_srcdir=$srcdir$ac_dir_suffix;
52963 ac_top_srcdir=$srcdir
52964 ac_abs_top_srcdir=$srcdir ;;
52965 *) # Relative name.
52966 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52967 ac_top_srcdir=$ac_top_build_prefix$srcdir
52968 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52969 esac
52970 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52971
52972
52973 cd "$ac_dir"
52974
52975 # Check for guested configure; otherwise get Cygnus style configure.
52976 if test -f "$ac_srcdir/configure.gnu"; then
52977 ac_sub_configure=$ac_srcdir/configure.gnu
52978 elif test -f "$ac_srcdir/configure"; then
52979 ac_sub_configure=$ac_srcdir/configure
52980 elif test -f "$ac_srcdir/configure.in"; then
52981 # This should be Cygnus configure.
52982 ac_sub_configure=$ac_aux_dir/configure
52983 else
52984 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52985 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52986 ac_sub_configure=
52987 fi
52988
52989 # The recursion is here.
52990 if test -n "$ac_sub_configure"; then
52991 # Make the cache file name correct relative to the subdirectory.
52992 case $cache_file in
52993 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52994 *) # Relative name.
52995 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52996 esac
52997
52998 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52999 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53000 # The eval makes quoting arguments work.
53001 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53002 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53003 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53004 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53005 { (exit 1); exit 1; }; }
53006 fi
53007
53008 cd "$ac_popdir"
53009 done
53010 fi
53011
53012
53013 echo
53014 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53015 echo ""
53016 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53017 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53018
53019 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53020 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53021 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53022 if test "$wxUSE_UNICODE" = "yes"; then
53023 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53024 echo " (using UTF-8)"
53025 else
53026 echo " (using wchar_t)"
53027 fi
53028 else
53029 echo
53030 fi
53031
53032 echo " What level of wxWidgets compatibility should be enabled?"
53033 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53034 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53035
53036 echo " Which libraries should wxWidgets use?"
53037 echo " STL ${wxUSE_STL}"
53038 echo " jpeg ${wxUSE_LIBJPEG-none}"
53039 echo " png ${wxUSE_LIBPNG-none}"
53040 echo " regex ${wxUSE_REGEX}"
53041 echo " tiff ${wxUSE_LIBTIFF-none}"
53042 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53043 echo " xpm ${wxUSE_LIBXPM-none}"
53044 fi
53045 echo " zlib ${wxUSE_ZLIB}"
53046 echo " expat ${wxUSE_EXPAT}"
53047 echo " libmspack ${wxUSE_LIBMSPACK}"
53048 echo " sdl ${wxUSE_LIBSDL}"
53049
53050 echo ""
53051