]> git.saurik.com Git - wxWidgets.git/blob - configure
replace dynamic_cast<> with wxDynamicCast
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57597 2008-12-27 14:58:12Z 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 HEADER_PAD_OPTION
760 HOST_SUFFIX
761 CPPUNIT_CFLAGS
762 CPPUNIT_LIBS
763 RANLIB
764 INSTALL_PROGRAM
765 INSTALL_SCRIPT
766 INSTALL_DATA
767 LN_S
768 SET_MAKE
769 MAKE_SET
770 AROPTIONS
771 STRIP
772 NM
773 INSTALL_DIR
774 LDFLAGS_GUI
775 IF_GNU_MAKE
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 WINDRES
809 REZ
810 SETFILE
811 OBJCXXFLAGS
812 GCC_PCH
813 ICC_PCH
814 ICC_PCH_CREATE_SWITCH
815 ICC_PCH_USE_SWITCH
816 BK_MAKE_PCH
817 COND_BUILD_DEBUG
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
835 COND_DEBUG_FLAG_1
836 COND_DEBUG_INFO_0
837 COND_DEBUG_INFO_1
838 COND_DEPS_TRACKING_0
839 COND_DEPS_TRACKING_1
840 COND_GCC_PCH_1
841 COND_ICC_PCH_1
842 COND_MONOLITHIC_0
843 COND_MONOLITHIC_0_SHARED_0
844 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
853 COND_MONOLITHIC_0_SHARED_1
854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
860 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
861 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
862 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
863 COND_MONOLITHIC_0_USE_AUI_1
864 COND_MONOLITHIC_0_USE_GUI_1
865 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
866 COND_MONOLITHIC_0_USE_HTML_1
867 COND_MONOLITHIC_0_USE_MEDIA_1
868 COND_MONOLITHIC_0_USE_PROPGRID_1
869 COND_MONOLITHIC_0_USE_QA_1
870 COND_MONOLITHIC_0_USE_RICHTEXT_1
871 COND_MONOLITHIC_0_USE_STC_1
872 COND_MONOLITHIC_0_USE_XRC_1
873 COND_MONOLITHIC_1
874 COND_MONOLITHIC_1_SHARED_0
875 COND_MONOLITHIC_1_SHARED_1
876 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
877 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
880 COND_PLATFORM_MACOSX_1
881 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
886 COND_PLATFORM_MACOSX_1_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
888 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
889 COND_PLATFORM_MACOS_1
890 COND_PLATFORM_MAC_0
891 COND_PLATFORM_MAC_1
892 COND_PLATFORM_MSDOS_0
893 COND_PLATFORM_MSDOS_1
894 COND_PLATFORM_OS2_1
895 COND_PLATFORM_UNIX_0
896 COND_PLATFORM_UNIX_1
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
898 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_GUI_1
900 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
901 COND_PLATFORM_WIN32_0
902 COND_PLATFORM_WIN32_1
903 COND_SHARED_0
904 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
906 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
907 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
910 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
911 COND_SHARED_0_USE_STC_1
912 COND_SHARED_0_wxUSE_EXPAT_builtin
913 COND_SHARED_0_wxUSE_REGEX_builtin
914 COND_SHARED_0_wxUSE_ZLIB_builtin
915 COND_SHARED_1
916 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
917 COND_TOOLKIT_
918 COND_TOOLKIT_COCOA
919 COND_TOOLKIT_COCOA_USE_GUI_1
920 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_DFB
922 COND_TOOLKIT_DFB_USE_GUI_1
923 COND_TOOLKIT_GTK
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_GTK_USE_GUI_1
931 COND_TOOLKIT_MAC
932 COND_TOOLKIT_MGL
933 COND_TOOLKIT_MGL_USE_GUI_1
934 COND_TOOLKIT_MOTIF
935 COND_TOOLKIT_MOTIF_USE_GUI_1
936 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW
938 COND_TOOLKIT_MSW_USE_GUI_1
939 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_MSW_WXUNIV_0
941 COND_TOOLKIT_OSX_CARBON
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
943 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_OSX_COCOA
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
946 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_OSX_IPHONE
948 COND_TOOLKIT_PM
949 COND_TOOLKIT_PM_USE_GUI_1
950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE
952 COND_TOOLKIT_WINCE_USE_GUI_1
953 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_WXUNIV_0
955 COND_TOOLKIT_X11
956 COND_TOOLKIT_X11_USE_GUI_1
957 COND_UNICODE_1
958 COND_USE_EXCEPTIONS_0
959 COND_USE_EXCEPTIONS_1
960 COND_USE_GUI_0
961 COND_USE_GUI_1
962 COND_USE_GUI_1_USE_OPENGL_1
963 COND_USE_GUI_1_WXUNIV_0
964 COND_USE_GUI_1_WXUNIV_1
965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
969 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
970 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
971 COND_USE_OPENGL_1
972 COND_USE_PCH_1
973 COND_USE_PLUGINS_0
974 COND_USE_RTTI_0
975 COND_USE_RTTI_1
976 COND_USE_SOSYMLINKS_1
977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
978 COND_USE_SOVERLINUX_1
979 COND_USE_SOVERSION_0
980 COND_USE_SOVERSOLARIS_1
981 COND_USE_STC_1
982 COND_USE_THREADS_0
983 COND_USE_THREADS_1
984 COND_USE_XRC_1
985 COND_WINDOWS_IMPLIB_1
986 COND_WITH_PLUGIN_SDL_1
987 COND_WXUNIV_0
988 COND_WXUNIV_1
989 COND_WXUSE_EXPAT_BUILTIN
990 COND_WXUSE_LIBJPEG_BUILTIN
991 COND_WXUSE_LIBPNG_BUILTIN
992 COND_WXUSE_LIBTIFF_BUILTIN
993 COND_WXUSE_REGEX_BUILTIN
994 COND_WXUSE_ZLIB_BUILTIN
995 COND_wxUSE_EXPAT_builtin
996 COND_wxUSE_LIBJPEG_builtin
997 COND_wxUSE_LIBPNG_builtin
998 COND_wxUSE_LIBTIFF_builtin
999 COND_wxUSE_REGEX_builtin
1000 COND_wxUSE_ZLIB_builtin
1001 DEREZ
1002 SHARED
1003 WX_LIBRARY_BASENAME_NOGUI
1004 WX_LIBRARY_BASENAME_GUI
1005 USE_GUI
1006 AFMINSTALL
1007 WIN32INSTALL
1008 TOOLKIT
1009 TOOLKIT_DIR
1010 TOOLCHAIN_NAME
1011 TOOLCHAIN_FULLNAME
1012 cross_compiling
1013 WIDGET_SET
1014 WX_RELEASE
1015 WX_VERSION
1016 WX_SUBVERSION
1017 WX_CHARTYPE
1018 WX_DEBUGTYPE
1019 WXCONFIG_CPPFLAGS
1020 WXCONFIG_CFLAGS
1021 WXCONFIG_CXXFLAGS
1022 WXCONFIG_LIBS
1023 WXCONFIG_RPATH
1024 WXCONFIG_LDFLAGS_GUI
1025 WXCONFIG_RESFLAGS
1026 GUIDIST
1027 DISTDIR
1028 SAMPLES_SUBDIRS
1029 LDFLAGS_GL
1030 OPENGL_LIBS
1031 DMALLOC_LIBS
1032 WX_VERSION_TAG
1033 RESCOMP
1034 RESFLAGS
1035 RESPROGRAMOBJ
1036 WX_RESOURCES_MACOSX_ASCII
1037 WX_RESOURCES_MACOSX_DATA
1038 LIBWXMACRES
1039 POSTLINK_COMMAND
1040 MACSETFILE
1041 GCC
1042 DLLTOOL
1043 CPPUNIT_CONFIG
1044 LIBOBJS
1045 LTLIBOBJS'
1046 ac_subst_files=''
1047 ac_precious_vars='build_alias
1048 host_alias
1049 target_alias
1050 CC
1051 CFLAGS
1052 LDFLAGS
1053 LIBS
1054 CPPFLAGS
1055 CPP
1056 CXX
1057 CXXFLAGS
1058 CCC
1059 PKG_CONFIG
1060 DIRECTFB_CFLAGS
1061 DIRECTFB_LIBS
1062 XMKMF
1063 PANGOX_CFLAGS
1064 PANGOX_LIBS
1065 PANGOFT2_CFLAGS
1066 PANGOFT2_LIBS
1067 PANGOXFT_CFLAGS
1068 PANGOXFT_LIBS
1069 GTKPRINT_CFLAGS
1070 GTKPRINT_LIBS
1071 LIBGNOMEPRINTUI_CFLAGS
1072 LIBGNOMEPRINTUI_LIBS
1073 GNOMEVFS_CFLAGS
1074 GNOMEVFS_LIBS
1075 HILDON_CFLAGS
1076 HILDON_LIBS
1077 CAIRO_CFLAGS
1078 CAIRO_LIBS
1079 GST_CFLAGS
1080 GST_LIBS'
1081 ac_subdirs_all='src/tiff
1082 src/expat'
1083
1084 # Initialize some variables set by options.
1085 ac_init_help=
1086 ac_init_version=false
1087 # The variables have the same names as the options, with
1088 # dashes changed to underlines.
1089 cache_file=/dev/null
1090 exec_prefix=NONE
1091 no_create=
1092 no_recursion=
1093 prefix=NONE
1094 program_prefix=NONE
1095 program_suffix=NONE
1096 program_transform_name=s,x,x,
1097 silent=
1098 site=
1099 srcdir=
1100 verbose=
1101 x_includes=NONE
1102 x_libraries=NONE
1103
1104 # Installation directory options.
1105 # These are left unexpanded so users can "make install exec_prefix=/foo"
1106 # and all the variables that are supposed to be based on exec_prefix
1107 # by default will actually change.
1108 # Use braces instead of parens because sh, perl, etc. also accept them.
1109 # (The list follows the same order as the GNU Coding Standards.)
1110 bindir='${exec_prefix}/bin'
1111 sbindir='${exec_prefix}/sbin'
1112 libexecdir='${exec_prefix}/libexec'
1113 datarootdir='${prefix}/share'
1114 datadir='${datarootdir}'
1115 sysconfdir='${prefix}/etc'
1116 sharedstatedir='${prefix}/com'
1117 localstatedir='${prefix}/var'
1118 includedir='${prefix}/include'
1119 oldincludedir='/usr/include'
1120 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1121 infodir='${datarootdir}/info'
1122 htmldir='${docdir}'
1123 dvidir='${docdir}'
1124 pdfdir='${docdir}'
1125 psdir='${docdir}'
1126 libdir='${exec_prefix}/lib'
1127 localedir='${datarootdir}/locale'
1128 mandir='${datarootdir}/man'
1129
1130 ac_prev=
1131 ac_dashdash=
1132 for ac_option
1133 do
1134 # If the previous option needs an argument, assign it.
1135 if test -n "$ac_prev"; then
1136 eval $ac_prev=\$ac_option
1137 ac_prev=
1138 continue
1139 fi
1140
1141 case $ac_option in
1142 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1143 *) ac_optarg=yes ;;
1144 esac
1145
1146 # Accept the important Cygnus configure options, so we can diagnose typos.
1147
1148 case $ac_dashdash$ac_option in
1149 --)
1150 ac_dashdash=yes ;;
1151
1152 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1153 ac_prev=bindir ;;
1154 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1155 bindir=$ac_optarg ;;
1156
1157 -build | --build | --buil | --bui | --bu)
1158 ac_prev=build_alias ;;
1159 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1160 build_alias=$ac_optarg ;;
1161
1162 -cache-file | --cache-file | --cache-fil | --cache-fi \
1163 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1164 ac_prev=cache_file ;;
1165 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1166 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1167 cache_file=$ac_optarg ;;
1168
1169 --config-cache | -C)
1170 cache_file=config.cache ;;
1171
1172 -datadir | --datadir | --datadi | --datad)
1173 ac_prev=datadir ;;
1174 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1175 datadir=$ac_optarg ;;
1176
1177 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1178 | --dataroo | --dataro | --datar)
1179 ac_prev=datarootdir ;;
1180 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1181 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1182 datarootdir=$ac_optarg ;;
1183
1184 -disable-* | --disable-*)
1185 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1189 { (exit 1); exit 1; }; }
1190 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1191 eval enable_$ac_feature=no ;;
1192
1193 -docdir | --docdir | --docdi | --doc | --do)
1194 ac_prev=docdir ;;
1195 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1196 docdir=$ac_optarg ;;
1197
1198 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 ac_prev=dvidir ;;
1200 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1201 dvidir=$ac_optarg ;;
1202
1203 -enable-* | --enable-*)
1204 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1208 { (exit 1); exit 1; }; }
1209 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1210 eval enable_$ac_feature=\$ac_optarg ;;
1211
1212 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1213 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1214 | --exec | --exe | --ex)
1215 ac_prev=exec_prefix ;;
1216 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1217 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1218 | --exec=* | --exe=* | --ex=*)
1219 exec_prefix=$ac_optarg ;;
1220
1221 -gas | --gas | --ga | --g)
1222 # Obsolete; use --with-gas.
1223 with_gas=yes ;;
1224
1225 -help | --help | --hel | --he | -h)
1226 ac_init_help=long ;;
1227 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1228 ac_init_help=recursive ;;
1229 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1230 ac_init_help=short ;;
1231
1232 -host | --host | --hos | --ho)
1233 ac_prev=host_alias ;;
1234 -host=* | --host=* | --hos=* | --ho=*)
1235 host_alias=$ac_optarg ;;
1236
1237 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 ac_prev=htmldir ;;
1239 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 | --ht=*)
1241 htmldir=$ac_optarg ;;
1242
1243 -includedir | --includedir | --includedi | --included | --include \
1244 | --includ | --inclu | --incl | --inc)
1245 ac_prev=includedir ;;
1246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1247 | --includ=* | --inclu=* | --incl=* | --inc=*)
1248 includedir=$ac_optarg ;;
1249
1250 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 ac_prev=infodir ;;
1252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1253 infodir=$ac_optarg ;;
1254
1255 -libdir | --libdir | --libdi | --libd)
1256 ac_prev=libdir ;;
1257 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1258 libdir=$ac_optarg ;;
1259
1260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1261 | --libexe | --libex | --libe)
1262 ac_prev=libexecdir ;;
1263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1264 | --libexe=* | --libex=* | --libe=*)
1265 libexecdir=$ac_optarg ;;
1266
1267 -localedir | --localedir | --localedi | --localed | --locale)
1268 ac_prev=localedir ;;
1269 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1270 localedir=$ac_optarg ;;
1271
1272 -localstatedir | --localstatedir | --localstatedi | --localstated \
1273 | --localstate | --localstat | --localsta | --localst | --locals)
1274 ac_prev=localstatedir ;;
1275 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1276 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1277 localstatedir=$ac_optarg ;;
1278
1279 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 ac_prev=mandir ;;
1281 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1282 mandir=$ac_optarg ;;
1283
1284 -nfp | --nfp | --nf)
1285 # Obsolete; use --without-fp.
1286 with_fp=no ;;
1287
1288 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1289 | --no-cr | --no-c | -n)
1290 no_create=yes ;;
1291
1292 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1293 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1294 no_recursion=yes ;;
1295
1296 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1297 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1298 | --oldin | --oldi | --old | --ol | --o)
1299 ac_prev=oldincludedir ;;
1300 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1301 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1302 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1303 oldincludedir=$ac_optarg ;;
1304
1305 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 ac_prev=prefix ;;
1307 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1308 prefix=$ac_optarg ;;
1309
1310 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1311 | --program-pre | --program-pr | --program-p)
1312 ac_prev=program_prefix ;;
1313 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1314 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1315 program_prefix=$ac_optarg ;;
1316
1317 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1318 | --program-suf | --program-su | --program-s)
1319 ac_prev=program_suffix ;;
1320 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1321 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1322 program_suffix=$ac_optarg ;;
1323
1324 -program-transform-name | --program-transform-name \
1325 | --program-transform-nam | --program-transform-na \
1326 | --program-transform-n | --program-transform- \
1327 | --program-transform | --program-transfor \
1328 | --program-transfo | --program-transf \
1329 | --program-trans | --program-tran \
1330 | --progr-tra | --program-tr | --program-t)
1331 ac_prev=program_transform_name ;;
1332 -program-transform-name=* | --program-transform-name=* \
1333 | --program-transform-nam=* | --program-transform-na=* \
1334 | --program-transform-n=* | --program-transform-=* \
1335 | --program-transform=* | --program-transfor=* \
1336 | --program-transfo=* | --program-transf=* \
1337 | --program-trans=* | --program-tran=* \
1338 | --progr-tra=* | --program-tr=* | --program-t=*)
1339 program_transform_name=$ac_optarg ;;
1340
1341 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 ac_prev=pdfdir ;;
1343 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1344 pdfdir=$ac_optarg ;;
1345
1346 -psdir | --psdir | --psdi | --psd | --ps)
1347 ac_prev=psdir ;;
1348 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1349 psdir=$ac_optarg ;;
1350
1351 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1352 | -silent | --silent | --silen | --sile | --sil)
1353 silent=yes ;;
1354
1355 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 ac_prev=sbindir ;;
1357 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 | --sbi=* | --sb=*)
1359 sbindir=$ac_optarg ;;
1360
1361 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1362 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1363 | --sharedst | --shareds | --shared | --share | --shar \
1364 | --sha | --sh)
1365 ac_prev=sharedstatedir ;;
1366 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1367 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1368 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 | --sha=* | --sh=*)
1370 sharedstatedir=$ac_optarg ;;
1371
1372 -site | --site | --sit)
1373 ac_prev=site ;;
1374 -site=* | --site=* | --sit=*)
1375 site=$ac_optarg ;;
1376
1377 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 ac_prev=srcdir ;;
1379 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1380 srcdir=$ac_optarg ;;
1381
1382 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1383 | --syscon | --sysco | --sysc | --sys | --sy)
1384 ac_prev=sysconfdir ;;
1385 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1386 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1387 sysconfdir=$ac_optarg ;;
1388
1389 -target | --target | --targe | --targ | --tar | --ta | --t)
1390 ac_prev=target_alias ;;
1391 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1392 target_alias=$ac_optarg ;;
1393
1394 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1395 verbose=yes ;;
1396
1397 -version | --version | --versio | --versi | --vers | -V)
1398 ac_init_version=: ;;
1399
1400 -with-* | --with-*)
1401 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1404 { echo "$as_me: error: invalid package name: $ac_package" >&2
1405 { (exit 1); exit 1; }; }
1406 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1407 eval with_$ac_package=\$ac_optarg ;;
1408
1409 -without-* | --without-*)
1410 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_$ac_package=no ;;
1417
1418 --x)
1419 # Obsolete; use --with-x.
1420 with_x=yes ;;
1421
1422 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1423 | --x-incl | --x-inc | --x-in | --x-i)
1424 ac_prev=x_includes ;;
1425 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1426 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1427 x_includes=$ac_optarg ;;
1428
1429 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1430 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1431 ac_prev=x_libraries ;;
1432 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1433 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1434 x_libraries=$ac_optarg ;;
1435
1436 -*) { echo "$as_me: error: unrecognized option: $ac_option
1437 Try \`$0 --help' for more information." >&2
1438 { (exit 1); exit 1; }; }
1439 ;;
1440
1441 *=*)
1442 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1443 # Reject names that are not valid shell variable names.
1444 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1445 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1446 { (exit 1); exit 1; }; }
1447 eval $ac_envvar=\$ac_optarg
1448 export $ac_envvar ;;
1449
1450 *)
1451 # FIXME: should be removed in autoconf 3.0.
1452 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1453 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1454 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1455 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1456 ;;
1457
1458 esac
1459 done
1460
1461 if test -n "$ac_prev"; then
1462 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1463 { echo "$as_me: error: missing argument to $ac_option" >&2
1464 { (exit 1); exit 1; }; }
1465 fi
1466
1467 # Be sure to have absolute directory names.
1468 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1469 datadir sysconfdir sharedstatedir localstatedir includedir \
1470 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1471 libdir localedir mandir
1472 do
1473 eval ac_val=\$$ac_var
1474 case $ac_val in
1475 [\\/$]* | ?:[\\/]* ) continue;;
1476 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1477 esac
1478 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1479 { (exit 1); exit 1; }; }
1480 done
1481
1482 # There might be people who depend on the old broken behavior: `$host'
1483 # used to hold the argument of --host etc.
1484 # FIXME: To remove some day.
1485 build=$build_alias
1486 host=$host_alias
1487 target=$target_alias
1488
1489 # FIXME: To remove some day.
1490 if test "x$host_alias" != x; then
1491 if test "x$build_alias" = x; then
1492 cross_compiling=maybe
1493 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1494 If a cross compiler is detected then cross compile mode will be used." >&2
1495 elif test "x$build_alias" != "x$host_alias"; then
1496 cross_compiling=yes
1497 fi
1498 fi
1499
1500 ac_tool_prefix=
1501 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1502
1503 test "$silent" = yes && exec 6>/dev/null
1504
1505
1506 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1507 ac_ls_di=`ls -di .` &&
1508 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1509 { echo "$as_me: error: Working directory cannot be determined" >&2
1510 { (exit 1); exit 1; }; }
1511 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1512 { echo "$as_me: error: pwd does not report name of working directory" >&2
1513 { (exit 1); exit 1; }; }
1514
1515
1516 # Find the source files, if location was not specified.
1517 if test -z "$srcdir"; then
1518 ac_srcdir_defaulted=yes
1519 # Try the directory containing this script, then the parent directory.
1520 ac_confdir=`$as_dirname -- "$0" ||
1521 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1522 X"$0" : 'X\(//\)[^/]' \| \
1523 X"$0" : 'X\(//\)$' \| \
1524 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1525 echo X"$0" |
1526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)[^/].*/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\/\)$/{
1535 s//\1/
1536 q
1537 }
1538 /^X\(\/\).*/{
1539 s//\1/
1540 q
1541 }
1542 s/.*/./; q'`
1543 srcdir=$ac_confdir
1544 if test ! -r "$srcdir/$ac_unique_file"; then
1545 srcdir=..
1546 fi
1547 else
1548 ac_srcdir_defaulted=no
1549 fi
1550 if test ! -r "$srcdir/$ac_unique_file"; then
1551 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1552 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1553 { (exit 1); exit 1; }; }
1554 fi
1555 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1556 ac_abs_confdir=`(
1557 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1558 { (exit 1); exit 1; }; }
1559 pwd)`
1560 # When building in place, set srcdir=.
1561 if test "$ac_abs_confdir" = "$ac_pwd"; then
1562 srcdir=.
1563 fi
1564 # Remove unnecessary trailing slashes from srcdir.
1565 # Double slashes in file names in object file debugging info
1566 # mess up M-x gdb in Emacs.
1567 case $srcdir in
1568 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1569 esac
1570 for ac_var in $ac_precious_vars; do
1571 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1572 eval ac_env_${ac_var}_value=\$${ac_var}
1573 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1574 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1575 done
1576
1577 #
1578 # Report the --help message.
1579 #
1580 if test "$ac_init_help" = "long"; then
1581 # Omit some internal or obsolete options to make the list less imposing.
1582 # This message is too long to be a string in the A/UX 3.1 sh.
1583 cat <<_ACEOF
1584 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1585
1586 Usage: $0 [OPTION]... [VAR=VALUE]...
1587
1588 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1589 VAR=VALUE. See below for descriptions of some of the useful variables.
1590
1591 Defaults for the options are specified in brackets.
1592
1593 Configuration:
1594 -h, --help display this help and exit
1595 --help=short display options specific to this package
1596 --help=recursive display the short help of all the included packages
1597 -V, --version display version information and exit
1598 -q, --quiet, --silent do not print \`checking...' messages
1599 --cache-file=FILE cache test results in FILE [disabled]
1600 -C, --config-cache alias for \`--cache-file=config.cache'
1601 -n, --no-create do not create output files
1602 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1603
1604 Installation directories:
1605 --prefix=PREFIX install architecture-independent files in PREFIX
1606 [$ac_default_prefix]
1607 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1608 [PREFIX]
1609
1610 By default, \`make install' will install all the files in
1611 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1612 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1613 for instance \`--prefix=\$HOME'.
1614
1615 For better control, use the options below.
1616
1617 Fine tuning of the installation directories:
1618 --bindir=DIR user executables [EPREFIX/bin]
1619 --sbindir=DIR system admin executables [EPREFIX/sbin]
1620 --libexecdir=DIR program executables [EPREFIX/libexec]
1621 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1622 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1623 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1624 --libdir=DIR object code libraries [EPREFIX/lib]
1625 --includedir=DIR C header files [PREFIX/include]
1626 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1627 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1628 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1629 --infodir=DIR info documentation [DATAROOTDIR/info]
1630 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1631 --mandir=DIR man documentation [DATAROOTDIR/man]
1632 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1633 --htmldir=DIR html documentation [DOCDIR]
1634 --dvidir=DIR dvi documentation [DOCDIR]
1635 --pdfdir=DIR pdf documentation [DOCDIR]
1636 --psdir=DIR ps documentation [DOCDIR]
1637 _ACEOF
1638
1639 cat <<\_ACEOF
1640
1641 X features:
1642 --x-includes=DIR X include files are in DIR
1643 --x-libraries=DIR X library files are in DIR
1644
1645 System types:
1646 --build=BUILD configure for building on BUILD [guessed]
1647 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1648 --target=TARGET configure for building compilers for TARGET [HOST]
1649 _ACEOF
1650 fi
1651
1652 if test -n "$ac_init_help"; then
1653 case $ac_init_help in
1654 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1655 esac
1656 cat <<\_ACEOF
1657
1658 Optional Features:
1659 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1660 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1661 --disable-gui don't build GUI parts of the library
1662 --enable-monolithic build wxWidgets as single library
1663 --enable-plugins build parts of wxWidgets as loadable components
1664 --enable-official_build official build of wxWidgets (win32 DLL only)
1665 --enable-vendor=VENDOR vendor name (win32 DLL only)
1666 --disable-all-features disable all optional features to build minimal library
1667 --enable-universal use wxWidgets GUI controls instead of native ones
1668 --enable-nanox use NanoX
1669 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1670 --enable-gpe use GNOME PDA Environment features if possible
1671 --disable-shared create static library instead of shared
1672 --enable-debug same as debug_flag and debug_info
1673 --enable-stl use STL for containers
1674 --enable-std_iostreams use standard C++ stream classes
1675 --enable-std_string use standard C++ string classes
1676 --disable-unicode compile without Unicode support
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-utf8 use UTF-8 representation for strings (Unix only)
1679 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1680 --enable-extended_rtti use extended RTTI (XTI)
1681 --enable-omf use OMF object format
1682 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1683 --enable-debug_info create code with debugging information
1684 --disable-optimise compile without optimisations
1685 --enable-debug_gdb create code with extra GDB debugging information
1686 --enable-debug_cntxt use wxDebugContext
1687 --enable-mem_tracing create code with memory tracing
1688 --enable-profile create code with profiling information
1689 --enable-no_rtti create code without RTTI information
1690 --enable-no_exceptions create code without C++ exceptions handling
1691 --enable-permissive compile code disregarding strict ANSI
1692 --enable-no_deps create code without dependency information
1693 --disable-vararg_macros don't use vararg macros, even if they are supported
1694 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1695 --enable-compat26 enable wxWidgets 2.6 compatibility
1696 --disable-compat28 disable wxWidgets 2.8 compatibility
1697 --disable-rpath disable use of rpath for uninstalled builds
1698 --enable-objc_uniquifying enable Objective-C class name uniquifying
1699 --disable-visibility disable use of ELF symbols visibility even if supported
1700 --enable-intl use internationalization system
1701 --enable-xlocale use x-locale support (requires wxLocale)
1702 --enable-config use wxConfig (and derived) classes
1703 --enable-protocols use wxProtocol and derived classes
1704 --enable-ftp use wxFTP (requires wxProtocol
1705 --enable-http use wxHTTP (requires wxProtocol
1706 --enable-fileproto use wxFileProto class (requires wxProtocol
1707 --enable-sockets use socket/network classes
1708 --enable-ipv6 enable IPv6 support in wxSocket
1709 --enable-ole use OLE classes (Win32 only)
1710 --enable-dataobj use data object classes
1711 --enable-ipc use interprocess communication (wxSocket etc.)
1712 --enable-baseevtloop use event loop in console programs too
1713 --enable-epollloop use wxEpollDispatcher class (Linux only)
1714 --enable-selectloop use wxSelectDispatcher class
1715 --enable-apple_ieee use the Apple IEEE codec
1716 --enable-arcstream use wxArchive streams
1717 --enable-base64 use base64 encoding/decoding functions
1718 --enable-backtrace use wxStackWalker class for getting backtraces
1719 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1720 --enable-cmdline use wxCmdLineParser class
1721 --enable-datetime use wxDateTime class
1722 --enable-debugreport use wxDebugReport class
1723 --enable-dialupman use dialup network classes
1724 --enable-dynlib use wxLibrary class for DLL loading
1725 --enable-dynamicloader use (new) wxDynamicLibrary class
1726 --enable-exceptions build exception-safe library
1727 --enable-ffile use wxFFile class
1728 --enable-file use wxFile class
1729 --enable-filesystem use virtual file systems classes
1730 --enable-fontenum use wxFontEnumerator class
1731 --enable-fontmap use font encodings conversion classes
1732 --enable-fs_archive use virtual archive filesystems
1733 --enable-fs_inet use virtual HTTP/FTP filesystems
1734 --enable-fs_zip now replaced by fs_archive
1735 --enable-geometry use geometry class
1736 --enable-log use logging system
1737 --enable-longlong use wxLongLong class
1738 --enable-mimetype use wxMimeTypesManager
1739 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1740 --enable-snglinst use wxSingleInstanceChecker class
1741 --enable-sound use wxSound class
1742 --enable-stdpaths use wxStandardPaths class
1743 --enable-stopwatch use wxStopWatch class
1744 --enable-streams use wxStream etc classes
1745 --enable-sysoptions use wxSystemOptions
1746 --enable-tarstream use wxTar streams
1747 --enable-textbuf use wxTextBuffer class
1748 --enable-textfile use wxTextFile class
1749 --enable-timer use wxTimer class
1750 --enable-variant use wxVariant class
1751 --enable-zipstream use wxZip streams
1752 --enable-url use wxURL class
1753 --enable-protocol use wxProtocol class
1754 --enable-protocol-http HTTP support in wxProtocol
1755 --enable-protocol-ftp FTP support in wxProtocol
1756 --enable-protocol-file FILE support in wxProtocol
1757 --enable-threads use threads
1758 --enable-iniconf use wxIniConfig (Win32 only)
1759 --enable-regkey use wxRegKey class (Win32 only)
1760 --enable-docview use document view architecture
1761 --enable-help use help subsystem
1762 --enable-mshtmlhelp use MS HTML Help (win32)
1763 --enable-html use wxHTML sub-library
1764 --enable-htmlhelp use wxHTML-based help
1765 --enable-xrc use XRC resources sub-library
1766 --enable-aui use AUI docking library
1767 --enable-propgrid use wxPropertyGrid library
1768 --enable-stc use wxStyledTextCtrl library
1769 --enable-constraints use layout-constraints system
1770 --enable-loggui use standard GUI logger
1771 --enable-logwin use wxLogWindow
1772 --enable-logdialog use wxLogDialog
1773 --enable-mdi use multiple document interface architecture
1774 --enable-mdidoc use docview architecture with MDI
1775 --enable-mediactrl use wxMediaCtrl class
1776 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1777 --enable-webkit use wxWebKitCtrl (Mac)
1778 --enable-richtext use wxRichTextCtrl
1779 --enable-graphics_ctx use graphics context 2D drawing API
1780 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1781 --enable-printarch use printing architecture
1782 --enable-svg use wxSVGFileDC device context
1783 --enable-clipboard use wxClipboard class
1784 --enable-dnd use Drag'n'Drop classes
1785 --enable-metafile use win32 metafiles
1786 --disable-controls disable compilation of all standard controls
1787 --enable-accel use accelerators
1788 --enable-animatectrl use wxAnimationCtrl class
1789 --enable-button use wxButton class
1790 --enable-bmpbutton use wxBitmapButton class
1791 --enable-bmpcombobox use wxBitmapComboBox class
1792 --enable-calendar use wxCalendarCtrl class
1793 --enable-caret use wxCaret class
1794 --enable-checkbox use wxCheckBox class
1795 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1796 --enable-choice use wxChoice class
1797 --enable-choicebook use wxChoicebook class
1798 --enable-collpane use wxCollapsiblePane class
1799 --enable-colourpicker use wxColourPickerCtrl class
1800 --enable-combobox use wxComboBox class
1801 --enable-comboctrl use wxComboCtrl class
1802 --enable-datepick use wxDatePickerCtrl class
1803 --enable-dirpicker use wxDirPickerCtrl class
1804 --enable-display use wxDisplay class
1805 --enable-detect_sm use code to detect X11 session manager
1806 --enable-editablebox use wxEditableListBox class
1807 --enable-filepicker use wxFilePickerCtrl class
1808 --enable-filectrl use wxFileCtrl class
1809 --enable-fontpicker use wxFontPickerCtrl class
1810 --enable-gauge use wxGauge class
1811 --enable-grid use wxGrid class
1812 --enable-dataviewctrl use wxDataViewCtrl class
1813 --enable-hyperlink use wxHyperlinkCtrl class
1814 --enable-imaglist use wxImageList class
1815 --enable-listbook use wxListbook class
1816 --enable-listbox use wxListBox class
1817 --enable-listctrl use wxListCtrl class
1818 --enable-notebook use wxNotebook class
1819 --enable-notifmsg use wxNotificationMessage class
1820 --enable-odcombobox use wxOwnerDrawnComboBox class
1821 --enable-radiobox use wxRadioBox class
1822 --enable-radiobtn use wxRadioButton class
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar 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_GSTREAMER8=no
2966
2967 DEFAULT_wxUSE_UNICODE_UTF8=auto
2968 DEFAULT_wxUSE_OPENGL=auto
2969 DEFAULT_wxUSE_MEDIACTRL=auto
2970
2971 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2972
2973 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2974
2975 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2976
2977 DEFAULT_wxUSE_GTK2=yes
2978
2979 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2980
2981
2982
2983
2984
2985 enablestring=disable
2986 defaultval=
2987 if test -z "$defaultval"; then
2988 if test x"$enablestring" = xdisable; then
2989 defaultval=yes
2990 else
2991 defaultval=no
2992 fi
2993 fi
2994
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2997 # Check whether --enable-gui was given.
2998 if test "${enable_gui+set}" = set; then
2999 enableval=$enable_gui;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_gui='wxUSE_GUI=yes'
3002 else
3003 wx_cv_use_gui='wxUSE_GUI=no'
3004 fi
3005
3006 else
3007
3008 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3009
3010 fi
3011
3012
3013 eval "$wx_cv_use_gui"
3014
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_GUI = yes; then
3017 result=no
3018 else
3019 result=yes
3020 fi
3021 else
3022 result=$wxUSE_GUI
3023 fi
3024
3025 { echo "$as_me:$LINENO: result: $result" >&5
3026 echo "${ECHO_T}$result" >&6; }
3027
3028
3029 enablestring=
3030 defaultval=
3031 if test -z "$defaultval"; then
3032 if test x"$enablestring" = xdisable; then
3033 defaultval=yes
3034 else
3035 defaultval=no
3036 fi
3037 fi
3038
3039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3040 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3041 # Check whether --enable-monolithic was given.
3042 if test "${enable_monolithic+set}" = set; then
3043 enableval=$enable_monolithic;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3046 else
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3048 fi
3049
3050 else
3051
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3053
3054 fi
3055
3056
3057 eval "$wx_cv_use_monolithic"
3058
3059 if test x"$enablestring" = xdisable; then
3060 if test $wxUSE_MONOLITHIC = yes; then
3061 result=no
3062 else
3063 result=yes
3064 fi
3065 else
3066 result=$wxUSE_MONOLITHIC
3067 fi
3068
3069 { echo "$as_me:$LINENO: result: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3071
3072
3073 enablestring=
3074 defaultval=
3075 if test -z "$defaultval"; then
3076 if test x"$enablestring" = xdisable; then
3077 defaultval=yes
3078 else
3079 defaultval=no
3080 fi
3081 fi
3082
3083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3085 # Check whether --enable-plugins was given.
3086 if test "${enable_plugins+set}" = set; then
3087 enableval=$enable_plugins;
3088 if test "$enableval" = yes; then
3089 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3090 else
3091 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3092 fi
3093
3094 else
3095
3096 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3097
3098 fi
3099
3100
3101 eval "$wx_cv_use_plugins"
3102
3103 if test x"$enablestring" = xdisable; then
3104 if test $wxUSE_PLUGINS = yes; then
3105 result=no
3106 else
3107 result=yes
3108 fi
3109 else
3110 result=$wxUSE_PLUGINS
3111 fi
3112
3113 { echo "$as_me:$LINENO: result: $result" >&5
3114 echo "${ECHO_T}$result" >&6; }
3115
3116
3117 withstring=without
3118 defaultval=$wxUSE_ALL_FEATURES
3119 if test -z "$defaultval"; then
3120 if test x"$withstring" = xwithout; then
3121 defaultval=yes
3122 else
3123 defaultval=no
3124 fi
3125 fi
3126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3127 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3128
3129 # Check whether --with-subdirs was given.
3130 if test "${with_subdirs+set}" = set; then
3131 withval=$with_subdirs;
3132 if test "$withval" = yes; then
3133 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3134 else
3135 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3136 fi
3137
3138 else
3139
3140 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3141
3142 fi
3143
3144
3145 eval "$wx_cv_use_subdirs"
3146
3147 if test x"$withstring" = xwithout; then
3148 if test $wxWITH_SUBDIRS = yes; then
3149 result=no
3150 else
3151 result=yes
3152 fi
3153 else
3154 result=$wxWITH_SUBDIRS
3155 fi
3156
3157 { echo "$as_me:$LINENO: result: $result" >&5
3158 echo "${ECHO_T}$result" >&6; }
3159
3160
3161 # Check whether --with-flavour was given.
3162 if test "${with_flavour+set}" = set; then
3163 withval=$with_flavour; WX_FLAVOUR="$withval"
3164 fi
3165
3166
3167 enablestring=
3168 defaultval=
3169 if test -z "$defaultval"; then
3170 if test x"$enablestring" = xdisable; then
3171 defaultval=yes
3172 else
3173 defaultval=no
3174 fi
3175 fi
3176
3177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3178 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3179 # Check whether --enable-official_build was given.
3180 if test "${enable_official_build+set}" = set; then
3181 enableval=$enable_official_build;
3182 if test "$enableval" = yes; then
3183 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3184 else
3185 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3186 fi
3187
3188 else
3189
3190 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3191
3192 fi
3193
3194
3195 eval "$wx_cv_use_official_build"
3196
3197 if test x"$enablestring" = xdisable; then
3198 if test $wxUSE_OFFICIAL_BUILD = yes; then
3199 result=no
3200 else
3201 result=yes
3202 fi
3203 else
3204 result=$wxUSE_OFFICIAL_BUILD
3205 fi
3206
3207 { echo "$as_me:$LINENO: result: $result" >&5
3208 echo "${ECHO_T}$result" >&6; }
3209
3210 # Check whether --enable-vendor was given.
3211 if test "${enable_vendor+set}" = set; then
3212 enableval=$enable_vendor; VENDOR="$enableval"
3213 fi
3214
3215 if test "x$VENDOR" = "x"; then
3216 VENDOR="custom"
3217 fi
3218
3219
3220 enablestring=disable
3221 defaultval=
3222 if test -z "$defaultval"; then
3223 if test x"$enablestring" = xdisable; then
3224 defaultval=yes
3225 else
3226 defaultval=no
3227 fi
3228 fi
3229
3230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3231 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3232 # Check whether --enable-all-features was given.
3233 if test "${enable_all_features+set}" = set; then
3234 enableval=$enable_all_features;
3235 if test "$enableval" = yes; then
3236 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3237 else
3238 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3239 fi
3240
3241 else
3242
3243 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3244
3245 fi
3246
3247
3248 eval "$wx_cv_use_all_features"
3249
3250 if test x"$enablestring" = xdisable; then
3251 if test $wxUSE_ALL_FEATURES = yes; then
3252 result=no
3253 else
3254 result=yes
3255 fi
3256 else
3257 result=$wxUSE_ALL_FEATURES
3258 fi
3259
3260 { echo "$as_me:$LINENO: result: $result" >&5
3261 echo "${ECHO_T}$result" >&6; }
3262
3263
3264
3265 if test "$wxUSE_GUI" = "yes"; then
3266
3267
3268 enablestring=
3269 defaultval=
3270 if test -z "$defaultval"; then
3271 if test x"$enablestring" = xdisable; then
3272 defaultval=yes
3273 else
3274 defaultval=no
3275 fi
3276 fi
3277
3278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3279 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3280 # Check whether --enable-universal was given.
3281 if test "${enable_universal+set}" = set; then
3282 enableval=$enable_universal;
3283 if test "$enableval" = yes; then
3284 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3285 else
3286 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3287 fi
3288
3289 else
3290
3291 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3292
3293 fi
3294
3295
3296 eval "$wx_cv_use_universal"
3297
3298 if test x"$enablestring" = xdisable; then
3299 if test $wxUSE_UNIVERSAL = yes; then
3300 result=no
3301 else
3302 result=yes
3303 fi
3304 else
3305 result=$wxUSE_UNIVERSAL
3306 fi
3307
3308 { echo "$as_me:$LINENO: result: $result" >&5
3309 echo "${ECHO_T}$result" >&6; }
3310
3311 if test "$wxUSE_UNIVERSAL" = "yes"; then
3312
3313 # Check whether --with-themes was given.
3314 if test "${with_themes+set}" = set; then
3315 withval=$with_themes; wxUNIV_THEMES="$withval"
3316 fi
3317
3318 fi
3319
3320
3321 # Check whether --with-gtk was given.
3322 if test "${with_gtk+set}" = set; then
3323 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3324 fi
3325
3326
3327 # Check whether --with-motif was given.
3328 if test "${with_motif+set}" = set; then
3329 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3330 fi
3331
3332
3333 # Check whether --with-osx_carbon was given.
3334 if test "${with_osx_carbon+set}" = set; then
3335 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3336 fi
3337
3338
3339 # Check whether --with-osx_cocoa was given.
3340 if test "${with_osx_cocoa+set}" = set; then
3341 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3342 fi
3343
3344
3345 # Check whether --with-mac was given.
3346 if test "${with_mac+set}" = set; then
3347 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3348 fi
3349
3350
3351 # Check whether --with-cocoa was given.
3352 if test "${with_cocoa+set}" = set; then
3353 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3354 fi
3355
3356
3357 # Check whether --with-wine was given.
3358 if test "${with_wine+set}" = set; then
3359 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3360 fi
3361
3362
3363 # Check whether --with-msw was given.
3364 if test "${with_msw+set}" = set; then
3365 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3366 fi
3367
3368
3369 # Check whether --with-pm was given.
3370 if test "${with_pm+set}" = set; then
3371 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3372 fi
3373
3374
3375 # Check whether --with-mgl was given.
3376 if test "${with_mgl+set}" = set; then
3377 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3378 fi
3379
3380
3381 # Check whether --with-directfb was given.
3382 if test "${with_directfb+set}" = set; then
3383 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3384 fi
3385
3386
3387 # Check whether --with-microwin was given.
3388 if test "${with_microwin+set}" = set; then
3389 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3390 fi
3391
3392
3393 # Check whether --with-x11 was given.
3394 if test "${with_x11+set}" = set; then
3395 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3396 fi
3397
3398
3399 enablestring=
3400 defaultval=
3401 if test -z "$defaultval"; then
3402 if test x"$enablestring" = xdisable; then
3403 defaultval=yes
3404 else
3405 defaultval=no
3406 fi
3407 fi
3408
3409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3410 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3411 # Check whether --enable-nanox was given.
3412 if test "${enable_nanox+set}" = set; then
3413 enableval=$enable_nanox;
3414 if test "$enableval" = yes; then
3415 wx_cv_use_nanox='wxUSE_NANOX=yes'
3416 else
3417 wx_cv_use_nanox='wxUSE_NANOX=no'
3418 fi
3419
3420 else
3421
3422 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3423
3424 fi
3425
3426
3427 eval "$wx_cv_use_nanox"
3428
3429 if test x"$enablestring" = xdisable; then
3430 if test $wxUSE_NANOX = yes; then
3431 result=no
3432 else
3433 result=yes
3434 fi
3435 else
3436 result=$wxUSE_NANOX
3437 fi
3438
3439 { echo "$as_me:$LINENO: result: $result" >&5
3440 echo "${ECHO_T}$result" >&6; }
3441
3442
3443 # Check whether --enable-gtk2 was given.
3444 if test "${enable_gtk2+set}" = set; then
3445 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3446 fi
3447
3448
3449 enablestring=
3450 defaultval=
3451 if test -z "$defaultval"; then
3452 if test x"$enablestring" = xdisable; then
3453 defaultval=yes
3454 else
3455 defaultval=no
3456 fi
3457 fi
3458
3459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3460 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3461 # Check whether --enable-gpe was given.
3462 if test "${enable_gpe+set}" = set; then
3463 enableval=$enable_gpe;
3464 if test "$enableval" = yes; then
3465 wx_cv_use_gpe='wxUSE_GPE=yes'
3466 else
3467 wx_cv_use_gpe='wxUSE_GPE=no'
3468 fi
3469
3470 else
3471
3472 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3473
3474 fi
3475
3476
3477 eval "$wx_cv_use_gpe"
3478
3479 if test x"$enablestring" = xdisable; then
3480 if test $wxUSE_GPE = yes; then
3481 result=no
3482 else
3483 result=yes
3484 fi
3485 else
3486 result=$wxUSE_GPE
3487 fi
3488
3489 { echo "$as_me:$LINENO: result: $result" >&5
3490 echo "${ECHO_T}$result" >&6; }
3491
3492
3493
3494 { echo "$as_me:$LINENO: checking for toolkit" >&5
3495 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3496
3497
3498
3499 # In Wine, we need to default to MSW, not GTK or MOTIF
3500 if test "$wxUSE_WINE" = "yes"; then
3501 DEFAULT_DEFAULT_wxUSE_GTK=0
3502 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3503 DEFAULT_DEFAULT_wxUSE_MSW=1
3504 wxUSE_SHARED=no
3505 CC=${CC:-winegcc}
3506 CXX=${CXX:-wineg++}
3507 fi
3508
3509
3510 if test "$wxUSE_GUI" = "yes"; then
3511
3512 if test "$USE_BEOS" = 1; then
3513 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3514 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3515 { (exit 1); exit 1; }; }
3516 fi
3517
3518 if test "$TOOLKIT_GIVEN" = 1; then
3519 for toolkit in $ALL_TOOLKITS; do
3520 var=wxUSE_$toolkit
3521 eval "value=\$${var}"
3522 if test "x$value" = "xno"; then
3523 eval "$var=0"
3524 elif test "x$value" != "x"; then
3525 eval "$var=1"
3526 fi
3527
3528 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3529 eval "wx${toolkit}_VERSION=$value"
3530 fi
3531 done
3532 else
3533 for toolkit in $ALL_TOOLKITS; do
3534 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3535 eval "wxUSE_$toolkit=\$${var}"
3536 done
3537 fi
3538
3539 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3540 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3541 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3542
3543 case "${host}" in
3544 *-pc-os2_emx | *-pc-os2-emx )
3545 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3546 esac
3547
3548 case "$NUM_TOOLKITS" in
3549 1)
3550 ;;
3551 0)
3552 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3553 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3554 { (exit 1); exit 1; }; }
3555 ;;
3556 *)
3557 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3558 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3559 { (exit 1); exit 1; }; }
3560 esac
3561
3562 # to be removed when --disable-gtk2 isn't needed
3563 if test "x$wxUSE_GTK2" = "xyes"; then
3564 wxGTK_VERSION=2
3565 elif test "x$wxUSE_GTK2" = "xno"; then
3566 wxGTK_VERSION=1
3567 fi
3568
3569 for toolkit in $ALL_TOOLKITS; do
3570 var=wxUSE_$toolkit
3571 eval "value=\$${var}"
3572 if test "$value" = 1; then
3573 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3574 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3575 echo "${ECHO_T}$toolkit_echo" >&6; }
3576 fi
3577 done
3578 else
3579 if test "x$host_alias" != "x"; then
3580 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3581 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3582 else
3583 { echo "$as_me:$LINENO: result: base only" >&5
3584 echo "${ECHO_T}base only" >&6; }
3585 fi
3586 fi
3587
3588 wxUSE_MAC=0
3589 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3590 wxUSE_MAC=1
3591 fi
3592
3593
3594
3595 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3596 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3597
3598 # Check whether --with-libpng was given.
3599 if test "${with_libpng+set}" = set; then
3600 withval=$with_libpng;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3603 elif test "$withval" = no; then
3604 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3605 elif test "$withval" = sys; then
3606 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3609 else
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3613 fi
3614
3615 else
3616
3617 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3618
3619 fi
3620
3621
3622 eval "$wx_cv_use_libpng"
3623
3624 if test "$wxUSE_LIBPNG" = yes; then
3625 { echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBPNG" = no; then
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3630 elif test "$wxUSE_LIBPNG" = sys; then
3631 { echo "$as_me:$LINENO: result: system version" >&5
3632 echo "${ECHO_T}system version" >&6; }
3633 elif test "$wxUSE_LIBPNG" = builtin; then
3634 { echo "$as_me:$LINENO: result: builtin version" >&5
3635 echo "${ECHO_T}builtin version" >&6; }
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642
3643 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3644 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3645
3646 # Check whether --with-libjpeg was given.
3647 if test "${with_libjpeg+set}" = set; then
3648 withval=$with_libjpeg;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3651 elif test "$withval" = no; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3653 elif test "$withval" = sys; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3657 else
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3661 fi
3662
3663 else
3664
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3666
3667 fi
3668
3669
3670 eval "$wx_cv_use_libjpeg"
3671
3672 if test "$wxUSE_LIBJPEG" = yes; then
3673 { echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBJPEG" = no; then
3676 { echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = sys; then
3679 { echo "$as_me:$LINENO: result: system version" >&5
3680 echo "${ECHO_T}system version" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = builtin; then
3682 { echo "$as_me:$LINENO: result: builtin version" >&5
3683 echo "${ECHO_T}builtin version" >&6; }
3684 else
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3688 fi
3689
3690
3691 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3692 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3693
3694 # Check whether --with-libtiff was given.
3695 if test "${with_libtiff+set}" = set; then
3696 withval=$with_libtiff;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3705 else
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3709 fi
3710
3711 else
3712
3713 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3714
3715 fi
3716
3717
3718 eval "$wx_cv_use_libtiff"
3719
3720 if test "$wxUSE_LIBTIFF" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBTIFF" = no; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = sys; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737
3738
3739 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3740 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3741
3742 # Check whether --with-libxpm was given.
3743 if test "${with_libxpm+set}" = set; then
3744 withval=$with_libxpm;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3747 elif test "$withval" = no; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3749 elif test "$withval" = sys; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3753 else
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3757 fi
3758
3759 else
3760
3761 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3762
3763 fi
3764
3765
3766 eval "$wx_cv_use_libxpm"
3767
3768 if test "$wxUSE_LIBXPM" = yes; then
3769 { echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6; }
3771 elif test "$wxUSE_LIBXPM" = no; then
3772 { echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6; }
3774 elif test "$wxUSE_LIBXPM" = sys; then
3775 { echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6; }
3777 elif test "$wxUSE_LIBXPM" = builtin; then
3778 { echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6; }
3780 else
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3784 fi
3785
3786
3787 withstring=
3788 defaultval=$wxUSE_ALL_FEATURES
3789 if test -z "$defaultval"; then
3790 if test x"$withstring" = xwithout; then
3791 defaultval=yes
3792 else
3793 defaultval=no
3794 fi
3795 fi
3796 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3797 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3798
3799 # Check whether --with-libiconv was given.
3800 if test "${with_libiconv+set}" = set; then
3801 withval=$with_libiconv;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3804 else
3805 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3806 fi
3807
3808 else
3809
3810 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3811
3812 fi
3813
3814
3815 eval "$wx_cv_use_libiconv"
3816
3817 if test x"$withstring" = xwithout; then
3818 if test $wxUSE_LIBICONV = yes; then
3819 result=no
3820 else
3821 result=yes
3822 fi
3823 else
3824 result=$wxUSE_LIBICONV
3825 fi
3826
3827 { echo "$as_me:$LINENO: result: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3829
3830
3831 withstring=
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3835 defaultval=yes
3836 else
3837 defaultval=no
3838 fi
3839 fi
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3842
3843 # Check whether --with-libmspack was given.
3844 if test "${with_libmspack+set}" = set; then
3845 withval=$with_libmspack;
3846 if test "$withval" = yes; then
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3848 else
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3850 fi
3851
3852 else
3853
3854 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3855
3856 fi
3857
3858
3859 eval "$wx_cv_use_libmspack"
3860
3861 if test x"$withstring" = xwithout; then
3862 if test $wxUSE_LIBMSPACK = yes; then
3863 result=no
3864 else
3865 result=yes
3866 fi
3867 else
3868 result=$wxUSE_LIBMSPACK
3869 fi
3870
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3873
3874
3875 withstring=without
3876 defaultval=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x"$withstring" = xwithout; then
3879 defaultval=yes
3880 else
3881 defaultval=no
3882 fi
3883 fi
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3886
3887 # Check whether --with-gtkprint was given.
3888 if test "${with_gtkprint+set}" = set; then
3889 withval=$with_gtkprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3892 else
3893 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3894 fi
3895
3896 else
3897
3898 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3899
3900 fi
3901
3902
3903 eval "$wx_cv_use_gtkprint"
3904
3905 if test x"$withstring" = xwithout; then
3906 if test $wxUSE_GTKPRINT = yes; then
3907 result=no
3908 else
3909 result=yes
3910 fi
3911 else
3912 result=$wxUSE_GTKPRINT
3913 fi
3914
3915 { echo "$as_me:$LINENO: result: $result" >&5
3916 echo "${ECHO_T}$result" >&6; }
3917
3918
3919 withstring=without
3920 defaultval=$wxUSE_ALL_FEATURES
3921 if test -z "$defaultval"; then
3922 if test x"$withstring" = xwithout; then
3923 defaultval=yes
3924 else
3925 defaultval=no
3926 fi
3927 fi
3928 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3929 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3930
3931 # Check whether --with-gnomeprint was given.
3932 if test "${with_gnomeprint+set}" = set; then
3933 withval=$with_gnomeprint;
3934 if test "$withval" = yes; then
3935 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3936 else
3937 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3938 fi
3939
3940 else
3941
3942 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3943
3944 fi
3945
3946
3947 eval "$wx_cv_use_gnomeprint"
3948
3949 if test x"$withstring" = xwithout; then
3950 if test $wxUSE_LIBGNOMEPRINT = yes; then
3951 result=no
3952 else
3953 result=yes
3954 fi
3955 else
3956 result=$wxUSE_LIBGNOMEPRINT
3957 fi
3958
3959 { echo "$as_me:$LINENO: result: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3961
3962
3963 withstring=
3964 defaultval=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x"$withstring" = xwithout; then
3967 defaultval=yes
3968 else
3969 defaultval=no
3970 fi
3971 fi
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3974
3975 # Check whether --with-gnomevfs was given.
3976 if test "${with_gnomevfs+set}" = set; then
3977 withval=$with_gnomevfs;
3978 if test "$withval" = yes; then
3979 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3980 else
3981 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3982 fi
3983
3984 else
3985
3986 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3987
3988 fi
3989
3990
3991 eval "$wx_cv_use_gnomevfs"
3992
3993 if test x"$withstring" = xwithout; then
3994 if test $wxUSE_LIBGNOMEVFS = yes; then
3995 result=no
3996 else
3997 result=yes
3998 fi
3999 else
4000 result=$wxUSE_LIBGNOMEVFS
4001 fi
4002
4003 { echo "$as_me:$LINENO: result: $result" >&5
4004 echo "${ECHO_T}$result" >&6; }
4005
4006
4007 withstring=
4008 defaultval=$wxUSE_ALL_FEATURES
4009 if test -z "$defaultval"; then
4010 if test x"$withstring" = xwithout; then
4011 defaultval=yes
4012 else
4013 defaultval=no
4014 fi
4015 fi
4016 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4017 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4018
4019 # Check whether --with-hildon was given.
4020 if test "${with_hildon+set}" = set; then
4021 withval=$with_hildon;
4022 if test "$withval" = yes; then
4023 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4024 else
4025 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4026 fi
4027
4028 else
4029
4030 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4031
4032 fi
4033
4034
4035 eval "$wx_cv_use_hildon"
4036
4037 if test x"$withstring" = xwithout; then
4038 if test $wxUSE_LIBHILDON = yes; then
4039 result=no
4040 else
4041 result=yes
4042 fi
4043 else
4044 result=$wxUSE_LIBHILDON
4045 fi
4046
4047 { echo "$as_me:$LINENO: result: $result" >&5
4048 echo "${ECHO_T}$result" >&6; }
4049
4050
4051 withstring=
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4055 defaultval=yes
4056 else
4057 defaultval=no
4058 fi
4059 fi
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4062
4063 # Check whether --with-opengl was given.
4064 if test "${with_opengl+set}" = set; then
4065 withval=$with_opengl;
4066 if test "$withval" = yes; then
4067 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4068 else
4069 wx_cv_use_opengl='wxUSE_OPENGL=no'
4070 fi
4071
4072 else
4073
4074 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4075
4076 fi
4077
4078
4079 eval "$wx_cv_use_opengl"
4080
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_OPENGL = yes; then
4083 result=no
4084 else
4085 result=yes
4086 fi
4087 else
4088 result=$wxUSE_OPENGL
4089 fi
4090
4091 { echo "$as_me:$LINENO: result: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4093
4094
4095 fi
4096
4097
4098 withstring=
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4102 defaultval=yes
4103 else
4104 defaultval=no
4105 fi
4106 fi
4107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4108 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4109
4110 # Check whether --with-dmalloc was given.
4111 if test "${with_dmalloc+set}" = set; then
4112 withval=$with_dmalloc;
4113 if test "$withval" = yes; then
4114 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4115 else
4116 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4117 fi
4118
4119 else
4120
4121 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4122
4123 fi
4124
4125
4126 eval "$wx_cv_use_dmalloc"
4127
4128 if test x"$withstring" = xwithout; then
4129 if test $wxUSE_DMALLOC = yes; then
4130 result=no
4131 else
4132 result=yes
4133 fi
4134 else
4135 result=$wxUSE_DMALLOC
4136 fi
4137
4138 { echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6; }
4140
4141
4142 withstring=
4143 defaultval=$wxUSE_ALL_FEATURES
4144 if test -z "$defaultval"; then
4145 if test x"$withstring" = xwithout; then
4146 defaultval=yes
4147 else
4148 defaultval=no
4149 fi
4150 fi
4151 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4152 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4153
4154 # Check whether --with-sdl was given.
4155 if test "${with_sdl+set}" = set; then
4156 withval=$with_sdl;
4157 if test "$withval" = yes; then
4158 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4159 else
4160 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4161 fi
4162
4163 else
4164
4165 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4166
4167 fi
4168
4169
4170 eval "$wx_cv_use_sdl"
4171
4172 if test x"$withstring" = xwithout; then
4173 if test $wxUSE_LIBSDL = yes; then
4174 result=no
4175 else
4176 result=yes
4177 fi
4178 else
4179 result=$wxUSE_LIBSDL
4180 fi
4181
4182 { echo "$as_me:$LINENO: result: $result" >&5
4183 echo "${ECHO_T}$result" >&6; }
4184
4185
4186 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4187 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4188
4189 # Check whether --with-regex was given.
4190 if test "${with_regex+set}" = set; then
4191 withval=$with_regex;
4192 if test "$withval" = yes; then
4193 wx_cv_use_regex='wxUSE_REGEX=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_regex='wxUSE_REGEX=no'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_regex='wxUSE_REGEX=sys'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_regex='wxUSE_REGEX=builtin'
4200 else
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4204 fi
4205
4206 else
4207
4208 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4209
4210 fi
4211
4212
4213 eval "$wx_cv_use_regex"
4214
4215 if test "$wxUSE_REGEX" = yes; then
4216 { echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_REGEX" = no; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 elif test "$wxUSE_REGEX" = sys; then
4222 { echo "$as_me:$LINENO: result: system version" >&5
4223 echo "${ECHO_T}system version" >&6; }
4224 elif test "$wxUSE_REGEX" = builtin; then
4225 { echo "$as_me:$LINENO: result: builtin version" >&5
4226 echo "${ECHO_T}builtin version" >&6; }
4227 else
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4231 fi
4232
4233
4234 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4235 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4236
4237 # Check whether --with-zlib was given.
4238 if test "${with_zlib+set}" = set; then
4239 withval=$with_zlib;
4240 if test "$withval" = yes; then
4241 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_zlib='wxUSE_ZLIB=no'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4248 else
4249 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4250 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4252 fi
4253
4254 else
4255
4256 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4257
4258 fi
4259
4260
4261 eval "$wx_cv_use_zlib"
4262
4263 if test "$wxUSE_ZLIB" = yes; then
4264 { echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_ZLIB" = no; then
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4269 elif test "$wxUSE_ZLIB" = sys; then
4270 { echo "$as_me:$LINENO: result: system version" >&5
4271 echo "${ECHO_T}system version" >&6; }
4272 elif test "$wxUSE_ZLIB" = builtin; then
4273 { echo "$as_me:$LINENO: result: builtin version" >&5
4274 echo "${ECHO_T}builtin version" >&6; }
4275 else
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4279 fi
4280
4281
4282 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4283 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4284
4285 # Check whether --with-expat was given.
4286 if test "${with_expat+set}" = set; then
4287 withval=$with_expat;
4288 if test "$withval" = yes; then
4289 wx_cv_use_expat='wxUSE_EXPAT=yes'
4290 elif test "$withval" = no; then
4291 wx_cv_use_expat='wxUSE_EXPAT=no'
4292 elif test "$withval" = sys; then
4293 wx_cv_use_expat='wxUSE_EXPAT=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4296 else
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4300 fi
4301
4302 else
4303
4304 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4305
4306 fi
4307
4308
4309 eval "$wx_cv_use_expat"
4310
4311 if test "$wxUSE_EXPAT" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_EXPAT" = no; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_EXPAT" = sys; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_EXPAT" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4323 else
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4327 fi
4328
4329
4330 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4331 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4332
4333 # Check whether --with-macosx-sdk was given.
4334 if test "${with_macosx_sdk+set}" = set; then
4335 withval=$with_macosx_sdk;
4336 wxUSE_MACOSX_SDK=$withval
4337 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4338
4339 fi
4340
4341 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4342 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4343
4344 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4345 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4346
4347 # Check whether --with-macosx-version-min was given.
4348 if test "${with_macosx_version_min+set}" = set; then
4349 withval=$with_macosx_version_min;
4350 wxUSE_MACOSX_VERSION_MIN=$withval
4351 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4352
4353 fi
4354
4355 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4356 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4357
4358
4359
4360 enablestring=disable
4361 defaultval=
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4364 defaultval=yes
4365 else
4366 defaultval=no
4367 fi
4368 fi
4369
4370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4372 # Check whether --enable-shared was given.
4373 if test "${enable_shared+set}" = set; then
4374 enableval=$enable_shared;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_shared='wxUSE_SHARED=yes'
4377 else
4378 wx_cv_use_shared='wxUSE_SHARED=no'
4379 fi
4380
4381 else
4382
4383 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4384
4385 fi
4386
4387
4388 eval "$wx_cv_use_shared"
4389
4390 if test x"$enablestring" = xdisable; then
4391 if test $wxUSE_SHARED = yes; then
4392 result=no
4393 else
4394 result=yes
4395 fi
4396 else
4397 result=$wxUSE_SHARED
4398 fi
4399
4400 { echo "$as_me:$LINENO: result: $result" >&5
4401 echo "${ECHO_T}$result" >&6; }
4402
4403
4404 enablestring=
4405 defaultval=
4406 if test -z "$defaultval"; then
4407 if test x"$enablestring" = xdisable; then
4408 defaultval=yes
4409 else
4410 defaultval=no
4411 fi
4412 fi
4413
4414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_debug='wxUSE_DEBUG=yes'
4421 else
4422 wx_cv_use_debug='wxUSE_DEBUG=no'
4423 fi
4424
4425 else
4426
4427 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4428
4429 fi
4430
4431
4432 eval "$wx_cv_use_debug"
4433
4434 if test x"$enablestring" = xdisable; then
4435 if test $wxUSE_DEBUG = yes; then
4436 result=no
4437 else
4438 result=yes
4439 fi
4440 else
4441 result=$wxUSE_DEBUG
4442 fi
4443
4444 { echo "$as_me:$LINENO: result: $result" >&5
4445 echo "${ECHO_T}$result" >&6; }
4446
4447
4448 enablestring=
4449 defaultval=
4450 if test -z "$defaultval"; then
4451 if test x"$enablestring" = xdisable; then
4452 defaultval=yes
4453 else
4454 defaultval=no
4455 fi
4456 fi
4457
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4460 # Check whether --enable-stl was given.
4461 if test "${enable_stl+set}" = set; then
4462 enableval=$enable_stl;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_stl='wxUSE_STL=yes'
4465 else
4466 wx_cv_use_stl='wxUSE_STL=no'
4467 fi
4468
4469 else
4470
4471 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4472
4473 fi
4474
4475
4476 eval "$wx_cv_use_stl"
4477
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STL = yes; then
4480 result=no
4481 else
4482 result=yes
4483 fi
4484 else
4485 result=$wxUSE_STL
4486 fi
4487
4488 { echo "$as_me:$LINENO: result: $result" >&5
4489 echo "${ECHO_T}$result" >&6; }
4490
4491
4492 enablestring=
4493 defaultval=
4494 if test -z "$defaultval"; then
4495 if test x"$enablestring" = xdisable; then
4496 defaultval=yes
4497 else
4498 defaultval=no
4499 fi
4500 fi
4501
4502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4504 # Check whether --enable-std_iostreams was given.
4505 if test "${enable_std_iostreams+set}" = set; then
4506 enableval=$enable_std_iostreams;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4509 else
4510 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4511 fi
4512
4513 else
4514
4515 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4516
4517 fi
4518
4519
4520 eval "$wx_cv_use_std_iostreams"
4521
4522 if test x"$enablestring" = xdisable; then
4523 if test $wxUSE_STD_IOSTREAM = yes; then
4524 result=no
4525 else
4526 result=yes
4527 fi
4528 else
4529 result=$wxUSE_STD_IOSTREAM
4530 fi
4531
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4534
4535
4536 enablestring=
4537 defaultval=
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4540 defaultval=yes
4541 else
4542 defaultval=no
4543 fi
4544 fi
4545
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4548 # Check whether --enable-std_string was given.
4549 if test "${enable_std_string+set}" = set; then
4550 enableval=$enable_std_string;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4553 else
4554 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4555 fi
4556
4557 else
4558
4559 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4560
4561 fi
4562
4563
4564 eval "$wx_cv_use_std_string"
4565
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_STD_STRING = yes; then
4568 result=no
4569 else
4570 result=yes
4571 fi
4572 else
4573 result=$wxUSE_STD_STRING
4574 fi
4575
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4578
4579
4580 enablestring=disable
4581 defaultval=
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4584 defaultval=yes
4585 else
4586 defaultval=no
4587 fi
4588 fi
4589
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4592 # Check whether --enable-unicode was given.
4593 if test "${enable_unicode+set}" = set; then
4594 enableval=$enable_unicode;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4597 else
4598 wx_cv_use_unicode='wxUSE_UNICODE=no'
4599 fi
4600
4601 else
4602
4603 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4604
4605 fi
4606
4607
4608 eval "$wx_cv_use_unicode"
4609
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE = yes; then
4612 result=no
4613 else
4614 result=yes
4615 fi
4616 else
4617 result=$wxUSE_UNICODE
4618 fi
4619
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4622
4623
4624 enablestring=
4625 defaultval=
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4628 defaultval=yes
4629 else
4630 defaultval=no
4631 fi
4632 fi
4633
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4636 # Check whether --enable-mslu was given.
4637 if test "${enable_mslu+set}" = set; then
4638 enableval=$enable_mslu;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4641 else
4642 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4643 fi
4644
4645 else
4646
4647 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4648
4649 fi
4650
4651
4652 eval "$wx_cv_use_mslu"
4653
4654 if test x"$enablestring" = xdisable; then
4655 if test $wxUSE_UNICODE_MSLU = yes; then
4656 result=no
4657 else
4658 result=yes
4659 fi
4660 else
4661 result=$wxUSE_UNICODE_MSLU
4662 fi
4663
4664 { echo "$as_me:$LINENO: result: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4666
4667
4668 enablestring=
4669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4671 # Check whether --enable-utf8 was given.
4672 if test "${enable_utf8+set}" = set; then
4673 enableval=$enable_utf8;
4674 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4675
4676 else
4677
4678 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4679
4680 fi
4681
4682
4683 eval "$wx_cv_use_utf8"
4684
4685 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4686 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4701 # Check whether --enable-utf8only was given.
4702 if test "${enable_utf8only+set}" = set; then
4703 enableval=$enable_utf8only;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4706 else
4707 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4708 fi
4709
4710 else
4711
4712 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4713
4714 fi
4715
4716
4717 eval "$wx_cv_use_utf8only"
4718
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4721 result=no
4722 else
4723 result=yes
4724 fi
4725 else
4726 result=$wxUSE_UNICODE_UTF8_LOCALE
4727 fi
4728
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4731
4732
4733 enablestring=
4734 defaultval=
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4737 defaultval=yes
4738 else
4739 defaultval=no
4740 fi
4741 fi
4742
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4745 # Check whether --enable-extended_rtti was given.
4746 if test "${enable_extended_rtti+set}" = set; then
4747 enableval=$enable_extended_rtti;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4750 else
4751 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4752 fi
4753
4754 else
4755
4756 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4757
4758 fi
4759
4760
4761 eval "$wx_cv_use_extended_rtti"
4762
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_EXTENDED_RTTI = yes; then
4765 result=no
4766 else
4767 result=yes
4768 fi
4769 else
4770 result=$wxUSE_EXTENDED_RTTI
4771 fi
4772
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4775
4776 if test "$USE_OS2" = 1; then
4777 DEFAULT_wxUSE_OMF=no
4778
4779 enablestring=
4780 defaultval=
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4783 defaultval=yes
4784 else
4785 defaultval=no
4786 fi
4787 fi
4788
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4791 # Check whether --enable-omf was given.
4792 if test "${enable_omf+set}" = set; then
4793 enableval=$enable_omf;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_omf='wxUSE_OMF=yes'
4796 else
4797 wx_cv_use_omf='wxUSE_OMF=no'
4798 fi
4799
4800 else
4801
4802 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4803
4804 fi
4805
4806
4807 eval "$wx_cv_use_omf"
4808
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_OMF = yes; then
4811 result=no
4812 else
4813 result=yes
4814 fi
4815 else
4816 result=$wxUSE_OMF
4817 fi
4818
4819 { echo "$as_me:$LINENO: result: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4821
4822 fi
4823
4824 if test "$wxUSE_DEBUG" = "yes"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG=yes
4826 DEFAULT_wxUSE_DEBUG_INFO=yes
4827 BUILD=debug
4828 elif test "$wxUSE_DEBUG" = "no"; then
4829 DEFAULT_wxUSE_DEBUG_FLAG=no
4830 DEFAULT_wxUSE_DEBUG_INFO=no
4831 BUILD=release
4832 fi
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4847 # Check whether --enable-debug_flag was given.
4848 if test "${enable_debug_flag+set}" = set; then
4849 enableval=$enable_debug_flag;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4852 else
4853 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_debug_flag"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_DEBUG_FLAG = yes; then
4867 result=no
4868 else
4869 result=yes
4870 fi
4871 else
4872 result=$wxUSE_DEBUG_FLAG
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_info was given.
4892 if test "${enable_debug_info+set}" = set; then
4893 enableval=$enable_debug_info;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4896 else
4897 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_debug_info"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_INFO = yes; then
4911 result=no
4912 else
4913 result=yes
4914 fi
4915 else
4916 result=$wxUSE_DEBUG_INFO
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4924 wxUSE_DEBUG=yes
4925 BUILD=debug
4926 fi
4927
4928 if test "$wxUSE_DEBUG" = "yes"; then
4929 DEFAULT_wxUSE_OPTIMISE=no
4930 fi
4931
4932
4933 enablestring=disable
4934 defaultval=
4935 if test -z "$defaultval"; then
4936 if test x"$enablestring" = xdisable; then
4937 defaultval=yes
4938 else
4939 defaultval=no
4940 fi
4941 fi
4942
4943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4945 # Check whether --enable-optimise was given.
4946 if test "${enable_optimise+set}" = set; then
4947 enableval=$enable_optimise;
4948 if test "$enableval" = yes; then
4949 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4950 else
4951 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4952 fi
4953
4954 else
4955
4956 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4957
4958 fi
4959
4960
4961 eval "$wx_cv_use_optimise"
4962
4963 if test x"$enablestring" = xdisable; then
4964 if test $wxUSE_OPTIMISE = yes; then
4965 result=no
4966 else
4967 result=yes
4968 fi
4969 else
4970 result=$wxUSE_OPTIMISE
4971 fi
4972
4973 { echo "$as_me:$LINENO: result: $result" >&5
4974 echo "${ECHO_T}$result" >&6; }
4975
4976
4977
4978 enablestring=
4979 defaultval=
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4982 defaultval=yes
4983 else
4984 defaultval=no
4985 fi
4986 fi
4987
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4990 # Check whether --enable-debug_gdb was given.
4991 if test "${enable_debug_gdb+set}" = set; then
4992 enableval=$enable_debug_gdb;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4995 else
4996 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4997 fi
4998
4999 else
5000
5001 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5002
5003 fi
5004
5005
5006 eval "$wx_cv_use_debug_gdb"
5007
5008 if test x"$enablestring" = xdisable; then
5009 if test $wxUSE_DEBUG_GDB = yes; then
5010 result=no
5011 else
5012 result=yes
5013 fi
5014 else
5015 result=$wxUSE_DEBUG_GDB
5016 fi
5017
5018 { echo "$as_me:$LINENO: result: $result" >&5
5019 echo "${ECHO_T}$result" >&6; }
5020
5021
5022 enablestring=
5023 defaultval=
5024 if test -z "$defaultval"; then
5025 if test x"$enablestring" = xdisable; then
5026 defaultval=yes
5027 else
5028 defaultval=no
5029 fi
5030 fi
5031
5032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5033 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5034 # Check whether --enable-debug_cntxt was given.
5035 if test "${enable_debug_cntxt+set}" = set; then
5036 enableval=$enable_debug_cntxt;
5037 if test "$enableval" = yes; then
5038 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5039 else
5040 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5041 fi
5042
5043 else
5044
5045 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5046
5047 fi
5048
5049
5050 eval "$wx_cv_use_debug_cntxt"
5051
5052 if test x"$enablestring" = xdisable; then
5053 if test $wxUSE_DEBUG_CONTEXT = yes; then
5054 result=no
5055 else
5056 result=yes
5057 fi
5058 else
5059 result=$wxUSE_DEBUG_CONTEXT
5060 fi
5061
5062 { echo "$as_me:$LINENO: result: $result" >&5
5063 echo "${ECHO_T}$result" >&6; }
5064
5065
5066 enablestring=
5067 defaultval=
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5070 defaultval=yes
5071 else
5072 defaultval=no
5073 fi
5074 fi
5075
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5078 # Check whether --enable-mem_tracing was given.
5079 if test "${enable_mem_tracing+set}" = set; then
5080 enableval=$enable_mem_tracing;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5083 else
5084 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5085 fi
5086
5087 else
5088
5089 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5090
5091 fi
5092
5093
5094 eval "$wx_cv_use_mem_tracing"
5095
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_MEM_TRACING = yes; then
5098 result=no
5099 else
5100 result=yes
5101 fi
5102 else
5103 result=$wxUSE_MEM_TRACING
5104 fi
5105
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5108
5109
5110 enablestring=
5111 defaultval=
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5114 defaultval=yes
5115 else
5116 defaultval=no
5117 fi
5118 fi
5119
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5122 # Check whether --enable-profile was given.
5123 if test "${enable_profile+set}" = set; then
5124 enableval=$enable_profile;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_profile='wxUSE_PROFILE=yes'
5127 else
5128 wx_cv_use_profile='wxUSE_PROFILE=no'
5129 fi
5130
5131 else
5132
5133 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5134
5135 fi
5136
5137
5138 eval "$wx_cv_use_profile"
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_PROFILE = yes; then
5142 result=no
5143 else
5144 result=yes
5145 fi
5146 else
5147 result=$wxUSE_PROFILE
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153
5154 enablestring=
5155 defaultval=
5156 if test -z "$defaultval"; then
5157 if test x"$enablestring" = xdisable; then
5158 defaultval=yes
5159 else
5160 defaultval=no
5161 fi
5162 fi
5163
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5166 # Check whether --enable-no_rtti was given.
5167 if test "${enable_no_rtti+set}" = set; then
5168 enableval=$enable_no_rtti;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5171 else
5172 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5173 fi
5174
5175 else
5176
5177 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5178
5179 fi
5180
5181
5182 eval "$wx_cv_use_no_rtti"
5183
5184 if test x"$enablestring" = xdisable; then
5185 if test $wxUSE_NO_RTTI = yes; then
5186 result=no
5187 else
5188 result=yes
5189 fi
5190 else
5191 result=$wxUSE_NO_RTTI
5192 fi
5193
5194 { echo "$as_me:$LINENO: result: $result" >&5
5195 echo "${ECHO_T}$result" >&6; }
5196
5197
5198 enablestring=
5199 defaultval=
5200 if test -z "$defaultval"; then
5201 if test x"$enablestring" = xdisable; then
5202 defaultval=yes
5203 else
5204 defaultval=no
5205 fi
5206 fi
5207
5208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5210 # Check whether --enable-no_exceptions was given.
5211 if test "${enable_no_exceptions+set}" = set; then
5212 enableval=$enable_no_exceptions;
5213 if test "$enableval" = yes; then
5214 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5215 else
5216 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5217 fi
5218
5219 else
5220
5221 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5222
5223 fi
5224
5225
5226 eval "$wx_cv_use_no_exceptions"
5227
5228 if test x"$enablestring" = xdisable; then
5229 if test $wxUSE_NO_EXCEPTIONS = yes; then
5230 result=no
5231 else
5232 result=yes
5233 fi
5234 else
5235 result=$wxUSE_NO_EXCEPTIONS
5236 fi
5237
5238 { echo "$as_me:$LINENO: result: $result" >&5
5239 echo "${ECHO_T}$result" >&6; }
5240
5241
5242 enablestring=
5243 defaultval=
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5246 defaultval=yes
5247 else
5248 defaultval=no
5249 fi
5250 fi
5251
5252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5254 # Check whether --enable-permissive was given.
5255 if test "${enable_permissive+set}" = set; then
5256 enableval=$enable_permissive;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5259 else
5260 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5261 fi
5262
5263 else
5264
5265 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5266
5267 fi
5268
5269
5270 eval "$wx_cv_use_permissive"
5271
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_PERMISSIVE = yes; then
5274 result=no
5275 else
5276 result=yes
5277 fi
5278 else
5279 result=$wxUSE_PERMISSIVE
5280 fi
5281
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5284
5285
5286 enablestring=
5287 defaultval=
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5290 defaultval=yes
5291 else
5292 defaultval=no
5293 fi
5294 fi
5295
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5298 # Check whether --enable-no_deps was given.
5299 if test "${enable_no_deps+set}" = set; then
5300 enableval=$enable_no_deps;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5303 else
5304 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5305 fi
5306
5307 else
5308
5309 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5310
5311 fi
5312
5313
5314 eval "$wx_cv_use_no_deps"
5315
5316 if test x"$enablestring" = xdisable; then
5317 if test $wxUSE_NO_DEPS = yes; then
5318 result=no
5319 else
5320 result=yes
5321 fi
5322 else
5323 result=$wxUSE_NO_DEPS
5324 fi
5325
5326 { echo "$as_me:$LINENO: result: $result" >&5
5327 echo "${ECHO_T}$result" >&6; }
5328
5329
5330 enablestring=disable
5331 defaultval=
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5334 defaultval=yes
5335 else
5336 defaultval=no
5337 fi
5338 fi
5339
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5342 # Check whether --enable-vararg_macros was given.
5343 if test "${enable_vararg_macros+set}" = set; then
5344 enableval=$enable_vararg_macros;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5347 else
5348 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5349 fi
5350
5351 else
5352
5353 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_vararg_macros"
5359
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_VARARG_MACROS = yes; then
5362 result=no
5363 else
5364 result=yes
5365 fi
5366 else
5367 result=$wxUSE_VARARG_MACROS
5368 fi
5369
5370 { echo "$as_me:$LINENO: result: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5372
5373
5374 enablestring=
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5377 # Check whether --enable-universal_binary was given.
5378 if test "${enable_universal_binary+set}" = set; then
5379 enableval=$enable_universal_binary;
5380 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5381
5382 else
5383
5384 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5385
5386 fi
5387
5388
5389 eval "$wx_cv_use_universal_binary"
5390
5391 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5392 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5393
5394
5395
5396 enablestring=
5397 defaultval=
5398 if test -z "$defaultval"; then
5399 if test x"$enablestring" = xdisable; then
5400 defaultval=yes
5401 else
5402 defaultval=no
5403 fi
5404 fi
5405
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5408 # Check whether --enable-compat26 was given.
5409 if test "${enable_compat26+set}" = set; then
5410 enableval=$enable_compat26;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5413 else
5414 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5415 fi
5416
5417 else
5418
5419 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5420
5421 fi
5422
5423
5424 eval "$wx_cv_use_compat26"
5425
5426 if test x"$enablestring" = xdisable; then
5427 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5428 result=no
5429 else
5430 result=yes
5431 fi
5432 else
5433 result=$WXWIN_COMPATIBILITY_2_6
5434 fi
5435
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5438
5439
5440 enablestring=disable
5441 defaultval=
5442 if test -z "$defaultval"; then
5443 if test x"$enablestring" = xdisable; then
5444 defaultval=yes
5445 else
5446 defaultval=no
5447 fi
5448 fi
5449
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5452 # Check whether --enable-compat28 was given.
5453 if test "${enable_compat28+set}" = set; then
5454 enableval=$enable_compat28;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5457 else
5458 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5459 fi
5460
5461 else
5462
5463 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5464
5465 fi
5466
5467
5468 eval "$wx_cv_use_compat28"
5469
5470 if test x"$enablestring" = xdisable; then
5471 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5472 result=no
5473 else
5474 result=yes
5475 fi
5476 else
5477 result=$WXWIN_COMPATIBILITY_2_8
5478 fi
5479
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5482
5483
5484
5485 enablestring=disable
5486 defaultval=
5487 if test -z "$defaultval"; then
5488 if test x"$enablestring" = xdisable; then
5489 defaultval=yes
5490 else
5491 defaultval=no
5492 fi
5493 fi
5494
5495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5497 # Check whether --enable-rpath was given.
5498 if test "${enable_rpath+set}" = set; then
5499 enableval=$enable_rpath;
5500 if test "$enableval" = yes; then
5501 wx_cv_use_rpath='wxUSE_RPATH=yes'
5502 else
5503 wx_cv_use_rpath='wxUSE_RPATH=no'
5504 fi
5505
5506 else
5507
5508 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5509
5510 fi
5511
5512
5513 eval "$wx_cv_use_rpath"
5514
5515 if test x"$enablestring" = xdisable; then
5516 if test $wxUSE_RPATH = yes; then
5517 result=no
5518 else
5519 result=yes
5520 fi
5521 else
5522 result=$wxUSE_RPATH
5523 fi
5524
5525 { echo "$as_me:$LINENO: result: $result" >&5
5526 echo "${ECHO_T}$result" >&6; }
5527
5528
5529
5530 enablestring=
5531 defaultval=
5532 if test -z "$defaultval"; then
5533 if test x"$enablestring" = xdisable; then
5534 defaultval=yes
5535 else
5536 defaultval=no
5537 fi
5538 fi
5539
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5542 # Check whether --enable-objc_uniquifying was given.
5543 if test "${enable_objc_uniquifying+set}" = set; then
5544 enableval=$enable_objc_uniquifying;
5545 if test "$enableval" = yes; then
5546 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5547 else
5548 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5549 fi
5550
5551 else
5552
5553 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5554
5555 fi
5556
5557
5558 eval "$wx_cv_use_objc_uniquifying"
5559
5560 if test x"$enablestring" = xdisable; then
5561 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5562 result=no
5563 else
5564 result=yes
5565 fi
5566 else
5567 result=$wxUSE_OBJC_UNIQUIFYING
5568 fi
5569
5570 { echo "$as_me:$LINENO: result: $result" >&5
5571 echo "${ECHO_T}$result" >&6; }
5572
5573
5574
5575 enablestring=disable
5576 defaultval=
5577 if test -z "$defaultval"; then
5578 if test x"$enablestring" = xdisable; then
5579 defaultval=yes
5580 else
5581 defaultval=no
5582 fi
5583 fi
5584
5585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5587 # Check whether --enable-visibility was given.
5588 if test "${enable_visibility+set}" = set; then
5589 enableval=$enable_visibility;
5590 if test "$enableval" = yes; then
5591 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5592 else
5593 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5594 fi
5595
5596 else
5597
5598 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5599
5600 fi
5601
5602
5603 eval "$wx_cv_use_visibility"
5604
5605 if test x"$enablestring" = xdisable; then
5606 if test $wxUSE_VISIBILITY = yes; then
5607 result=no
5608 else
5609 result=yes
5610 fi
5611 else
5612 result=$wxUSE_VISIBILITY
5613 fi
5614
5615 { echo "$as_me:$LINENO: result: $result" >&5
5616 echo "${ECHO_T}$result" >&6; }
5617
5618
5619
5620
5621 enablestring=
5622 defaultval=$wxUSE_ALL_FEATURES
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5625 defaultval=yes
5626 else
5627 defaultval=no
5628 fi
5629 fi
5630
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5633 # Check whether --enable-intl was given.
5634 if test "${enable_intl+set}" = set; then
5635 enableval=$enable_intl;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_intl='wxUSE_INTL=yes'
5638 else
5639 wx_cv_use_intl='wxUSE_INTL=no'
5640 fi
5641
5642 else
5643
5644 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5645
5646 fi
5647
5648
5649 eval "$wx_cv_use_intl"
5650
5651 if test x"$enablestring" = xdisable; then
5652 if test $wxUSE_INTL = yes; then
5653 result=no
5654 else
5655 result=yes
5656 fi
5657 else
5658 result=$wxUSE_INTL
5659 fi
5660
5661 { echo "$as_me:$LINENO: result: $result" >&5
5662 echo "${ECHO_T}$result" >&6; }
5663
5664
5665 enablestring=
5666 defaultval=$wxUSE_ALL_FEATURES
5667 if test -z "$defaultval"; then
5668 if test x"$enablestring" = xdisable; then
5669 defaultval=yes
5670 else
5671 defaultval=no
5672 fi
5673 fi
5674
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5677 # Check whether --enable-xlocale was given.
5678 if test "${enable_xlocale+set}" = set; then
5679 enableval=$enable_xlocale;
5680 if test "$enableval" = yes; then
5681 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5682 else
5683 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5684 fi
5685
5686 else
5687
5688 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5689
5690 fi
5691
5692
5693 eval "$wx_cv_use_xlocale"
5694
5695 if test x"$enablestring" = xdisable; then
5696 if test $wxUSE_XLOCALE = yes; then
5697 result=no
5698 else
5699 result=yes
5700 fi
5701 else
5702 result=$wxUSE_XLOCALE
5703 fi
5704
5705 { echo "$as_me:$LINENO: result: $result" >&5
5706 echo "${ECHO_T}$result" >&6; }
5707
5708
5709 enablestring=
5710 defaultval=$wxUSE_ALL_FEATURES
5711 if test -z "$defaultval"; then
5712 if test x"$enablestring" = xdisable; then
5713 defaultval=yes
5714 else
5715 defaultval=no
5716 fi
5717 fi
5718
5719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5721 # Check whether --enable-config was given.
5722 if test "${enable_config+set}" = set; then
5723 enableval=$enable_config;
5724 if test "$enableval" = yes; then
5725 wx_cv_use_config='wxUSE_CONFIG=yes'
5726 else
5727 wx_cv_use_config='wxUSE_CONFIG=no'
5728 fi
5729
5730 else
5731
5732 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5733
5734 fi
5735
5736
5737 eval "$wx_cv_use_config"
5738
5739 if test x"$enablestring" = xdisable; then
5740 if test $wxUSE_CONFIG = yes; then
5741 result=no
5742 else
5743 result=yes
5744 fi
5745 else
5746 result=$wxUSE_CONFIG
5747 fi
5748
5749 { echo "$as_me:$LINENO: result: $result" >&5
5750 echo "${ECHO_T}$result" >&6; }
5751
5752
5753
5754 enablestring=
5755 defaultval=$wxUSE_ALL_FEATURES
5756 if test -z "$defaultval"; then
5757 if test x"$enablestring" = xdisable; then
5758 defaultval=yes
5759 else
5760 defaultval=no
5761 fi
5762 fi
5763
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5766 # Check whether --enable-protocols was given.
5767 if test "${enable_protocols+set}" = set; then
5768 enableval=$enable_protocols;
5769 if test "$enableval" = yes; then
5770 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5771 else
5772 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5773 fi
5774
5775 else
5776
5777 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5778
5779 fi
5780
5781
5782 eval "$wx_cv_use_protocols"
5783
5784 if test x"$enablestring" = xdisable; then
5785 if test $wxUSE_PROTOCOL = yes; then
5786 result=no
5787 else
5788 result=yes
5789 fi
5790 else
5791 result=$wxUSE_PROTOCOL
5792 fi
5793
5794 { echo "$as_me:$LINENO: result: $result" >&5
5795 echo "${ECHO_T}$result" >&6; }
5796
5797
5798 enablestring=
5799 defaultval=$wxUSE_ALL_FEATURES
5800 if test -z "$defaultval"; then
5801 if test x"$enablestring" = xdisable; then
5802 defaultval=yes
5803 else
5804 defaultval=no
5805 fi
5806 fi
5807
5808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5809 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5810 # Check whether --enable-ftp was given.
5811 if test "${enable_ftp+set}" = set; then
5812 enableval=$enable_ftp;
5813 if test "$enableval" = yes; then
5814 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5815 else
5816 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5817 fi
5818
5819 else
5820
5821 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5822
5823 fi
5824
5825
5826 eval "$wx_cv_use_ftp"
5827
5828 if test x"$enablestring" = xdisable; then
5829 if test $wxUSE_PROTOCOL_FTP = yes; then
5830 result=no
5831 else
5832 result=yes
5833 fi
5834 else
5835 result=$wxUSE_PROTOCOL_FTP
5836 fi
5837
5838 { echo "$as_me:$LINENO: result: $result" >&5
5839 echo "${ECHO_T}$result" >&6; }
5840
5841
5842 enablestring=
5843 defaultval=$wxUSE_ALL_FEATURES
5844 if test -z "$defaultval"; then
5845 if test x"$enablestring" = xdisable; then
5846 defaultval=yes
5847 else
5848 defaultval=no
5849 fi
5850 fi
5851
5852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5853 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5854 # Check whether --enable-http was given.
5855 if test "${enable_http+set}" = set; then
5856 enableval=$enable_http;
5857 if test "$enableval" = yes; then
5858 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5859 else
5860 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5861 fi
5862
5863 else
5864
5865 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5866
5867 fi
5868
5869
5870 eval "$wx_cv_use_http"
5871
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_PROTOCOL_HTTP = yes; then
5874 result=no
5875 else
5876 result=yes
5877 fi
5878 else
5879 result=$wxUSE_PROTOCOL_HTTP
5880 fi
5881
5882 { echo "$as_me:$LINENO: result: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5884
5885
5886 enablestring=
5887 defaultval=$wxUSE_ALL_FEATURES
5888 if test -z "$defaultval"; then
5889 if test x"$enablestring" = xdisable; then
5890 defaultval=yes
5891 else
5892 defaultval=no
5893 fi
5894 fi
5895
5896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5898 # Check whether --enable-fileproto was given.
5899 if test "${enable_fileproto+set}" = set; then
5900 enableval=$enable_fileproto;
5901 if test "$enableval" = yes; then
5902 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5903 else
5904 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5905 fi
5906
5907 else
5908
5909 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5910
5911 fi
5912
5913
5914 eval "$wx_cv_use_fileproto"
5915
5916 if test x"$enablestring" = xdisable; then
5917 if test $wxUSE_PROTOCOL_FILE = yes; then
5918 result=no
5919 else
5920 result=yes
5921 fi
5922 else
5923 result=$wxUSE_PROTOCOL_FILE
5924 fi
5925
5926 { echo "$as_me:$LINENO: result: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5928
5929
5930 enablestring=
5931 defaultval=$wxUSE_ALL_FEATURES
5932 if test -z "$defaultval"; then
5933 if test x"$enablestring" = xdisable; then
5934 defaultval=yes
5935 else
5936 defaultval=no
5937 fi
5938 fi
5939
5940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5941 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5942 # Check whether --enable-sockets was given.
5943 if test "${enable_sockets+set}" = set; then
5944 enableval=$enable_sockets;
5945 if test "$enableval" = yes; then
5946 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5947 else
5948 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5949 fi
5950
5951 else
5952
5953 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5954
5955 fi
5956
5957
5958 eval "$wx_cv_use_sockets"
5959
5960 if test x"$enablestring" = xdisable; then
5961 if test $wxUSE_SOCKETS = yes; then
5962 result=no
5963 else
5964 result=yes
5965 fi
5966 else
5967 result=$wxUSE_SOCKETS
5968 fi
5969
5970 { echo "$as_me:$LINENO: result: $result" >&5
5971 echo "${ECHO_T}$result" >&6; }
5972
5973
5974 enablestring=
5975 defaultval=$wxUSE_ALL_FEATURES
5976 if test -z "$defaultval"; then
5977 if test x"$enablestring" = xdisable; then
5978 defaultval=yes
5979 else
5980 defaultval=no
5981 fi
5982 fi
5983
5984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5986 # Check whether --enable-ipv6 was given.
5987 if test "${enable_ipv6+set}" = set; then
5988 enableval=$enable_ipv6;
5989 if test "$enableval" = yes; then
5990 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5991 else
5992 wx_cv_use_ipv6='wxUSE_IPV6=no'
5993 fi
5994
5995 else
5996
5997 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5998
5999 fi
6000
6001
6002 eval "$wx_cv_use_ipv6"
6003
6004 if test x"$enablestring" = xdisable; then
6005 if test $wxUSE_IPV6 = yes; then
6006 result=no
6007 else
6008 result=yes
6009 fi
6010 else
6011 result=$wxUSE_IPV6
6012 fi
6013
6014 { echo "$as_me:$LINENO: result: $result" >&5
6015 echo "${ECHO_T}$result" >&6; }
6016
6017
6018 enablestring=
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6022 defaultval=yes
6023 else
6024 defaultval=no
6025 fi
6026 fi
6027
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6030 # Check whether --enable-ole was given.
6031 if test "${enable_ole+set}" = set; then
6032 enableval=$enable_ole;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_ole='wxUSE_OLE=yes'
6035 else
6036 wx_cv_use_ole='wxUSE_OLE=no'
6037 fi
6038
6039 else
6040
6041 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6042
6043 fi
6044
6045
6046 eval "$wx_cv_use_ole"
6047
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_OLE = yes; then
6050 result=no
6051 else
6052 result=yes
6053 fi
6054 else
6055 result=$wxUSE_OLE
6056 fi
6057
6058 { echo "$as_me:$LINENO: result: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6060
6061
6062 enablestring=
6063 defaultval=$wxUSE_ALL_FEATURES
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6066 defaultval=yes
6067 else
6068 defaultval=no
6069 fi
6070 fi
6071
6072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6074 # Check whether --enable-dataobj was given.
6075 if test "${enable_dataobj+set}" = set; then
6076 enableval=$enable_dataobj;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6079 else
6080 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6081 fi
6082
6083 else
6084
6085 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6086
6087 fi
6088
6089
6090 eval "$wx_cv_use_dataobj"
6091
6092 if test x"$enablestring" = xdisable; then
6093 if test $wxUSE_DATAOBJ = yes; then
6094 result=no
6095 else
6096 result=yes
6097 fi
6098 else
6099 result=$wxUSE_DATAOBJ
6100 fi
6101
6102 { echo "$as_me:$LINENO: result: $result" >&5
6103 echo "${ECHO_T}$result" >&6; }
6104
6105
6106
6107 enablestring=
6108 defaultval=$wxUSE_ALL_FEATURES
6109 if test -z "$defaultval"; then
6110 if test x"$enablestring" = xdisable; then
6111 defaultval=yes
6112 else
6113 defaultval=no
6114 fi
6115 fi
6116
6117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6119 # Check whether --enable-ipc was given.
6120 if test "${enable_ipc+set}" = set; then
6121 enableval=$enable_ipc;
6122 if test "$enableval" = yes; then
6123 wx_cv_use_ipc='wxUSE_IPC=yes'
6124 else
6125 wx_cv_use_ipc='wxUSE_IPC=no'
6126 fi
6127
6128 else
6129
6130 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6131
6132 fi
6133
6134
6135 eval "$wx_cv_use_ipc"
6136
6137 if test x"$enablestring" = xdisable; then
6138 if test $wxUSE_IPC = yes; then
6139 result=no
6140 else
6141 result=yes
6142 fi
6143 else
6144 result=$wxUSE_IPC
6145 fi
6146
6147 { echo "$as_me:$LINENO: result: $result" >&5
6148 echo "${ECHO_T}$result" >&6; }
6149
6150
6151
6152 enablestring=
6153 defaultval=$wxUSE_ALL_FEATURES
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6156 defaultval=yes
6157 else
6158 defaultval=no
6159 fi
6160 fi
6161
6162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6164 # Check whether --enable-baseevtloop was given.
6165 if test "${enable_baseevtloop+set}" = set; then
6166 enableval=$enable_baseevtloop;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6169 else
6170 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6171 fi
6172
6173 else
6174
6175 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6176
6177 fi
6178
6179
6180 eval "$wx_cv_use_baseevtloop"
6181
6182 if test x"$enablestring" = xdisable; then
6183 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6184 result=no
6185 else
6186 result=yes
6187 fi
6188 else
6189 result=$wxUSE_CONSOLE_EVENTLOOP
6190 fi
6191
6192 { echo "$as_me:$LINENO: result: $result" >&5
6193 echo "${ECHO_T}$result" >&6; }
6194
6195
6196 enablestring=
6197 defaultval=$wxUSE_ALL_FEATURES
6198 if test -z "$defaultval"; then
6199 if test x"$enablestring" = xdisable; then
6200 defaultval=yes
6201 else
6202 defaultval=no
6203 fi
6204 fi
6205
6206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6208 # Check whether --enable-epollloop was given.
6209 if test "${enable_epollloop+set}" = set; then
6210 enableval=$enable_epollloop;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6213 else
6214 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6215 fi
6216
6217 else
6218
6219 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6220
6221 fi
6222
6223
6224 eval "$wx_cv_use_epollloop"
6225
6226 if test x"$enablestring" = xdisable; then
6227 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6228 result=no
6229 else
6230 result=yes
6231 fi
6232 else
6233 result=$wxUSE_EPOLL_DISPATCHER
6234 fi
6235
6236 { echo "$as_me:$LINENO: result: $result" >&5
6237 echo "${ECHO_T}$result" >&6; }
6238
6239
6240 enablestring=
6241 defaultval=$wxUSE_ALL_FEATURES
6242 if test -z "$defaultval"; then
6243 if test x"$enablestring" = xdisable; then
6244 defaultval=yes
6245 else
6246 defaultval=no
6247 fi
6248 fi
6249
6250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6252 # Check whether --enable-selectloop was given.
6253 if test "${enable_selectloop+set}" = set; then
6254 enableval=$enable_selectloop;
6255 if test "$enableval" = yes; then
6256 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6257 else
6258 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6259 fi
6260
6261 else
6262
6263 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6264
6265 fi
6266
6267
6268 eval "$wx_cv_use_selectloop"
6269
6270 if test x"$enablestring" = xdisable; then
6271 if test $wxUSE_SELECT_DISPATCHER = yes; then
6272 result=no
6273 else
6274 result=yes
6275 fi
6276 else
6277 result=$wxUSE_SELECT_DISPATCHER
6278 fi
6279
6280 { echo "$as_me:$LINENO: result: $result" >&5
6281 echo "${ECHO_T}$result" >&6; }
6282
6283
6284
6285 enablestring=
6286 defaultval=$wxUSE_ALL_FEATURES
6287 if test -z "$defaultval"; then
6288 if test x"$enablestring" = xdisable; then
6289 defaultval=yes
6290 else
6291 defaultval=no
6292 fi
6293 fi
6294
6295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6297 # Check whether --enable-apple_ieee was given.
6298 if test "${enable_apple_ieee+set}" = set; then
6299 enableval=$enable_apple_ieee;
6300 if test "$enableval" = yes; then
6301 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6302 else
6303 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6304 fi
6305
6306 else
6307
6308 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6309
6310 fi
6311
6312
6313 eval "$wx_cv_use_apple_ieee"
6314
6315 if test x"$enablestring" = xdisable; then
6316 if test $wxUSE_APPLE_IEEE = yes; then
6317 result=no
6318 else
6319 result=yes
6320 fi
6321 else
6322 result=$wxUSE_APPLE_IEEE
6323 fi
6324
6325 { echo "$as_me:$LINENO: result: $result" >&5
6326 echo "${ECHO_T}$result" >&6; }
6327
6328
6329 enablestring=
6330 defaultval=$wxUSE_ALL_FEATURES
6331 if test -z "$defaultval"; then
6332 if test x"$enablestring" = xdisable; then
6333 defaultval=yes
6334 else
6335 defaultval=no
6336 fi
6337 fi
6338
6339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6341 # Check whether --enable-arcstream was given.
6342 if test "${enable_arcstream+set}" = set; then
6343 enableval=$enable_arcstream;
6344 if test "$enableval" = yes; then
6345 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6346 else
6347 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6348 fi
6349
6350 else
6351
6352 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6353
6354 fi
6355
6356
6357 eval "$wx_cv_use_arcstream"
6358
6359 if test x"$enablestring" = xdisable; then
6360 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6361 result=no
6362 else
6363 result=yes
6364 fi
6365 else
6366 result=$wxUSE_ARCHIVE_STREAMS
6367 fi
6368
6369 { echo "$as_me:$LINENO: result: $result" >&5
6370 echo "${ECHO_T}$result" >&6; }
6371
6372
6373 enablestring=
6374 defaultval=$wxUSE_ALL_FEATURES
6375 if test -z "$defaultval"; then
6376 if test x"$enablestring" = xdisable; then
6377 defaultval=yes
6378 else
6379 defaultval=no
6380 fi
6381 fi
6382
6383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6385 # Check whether --enable-base64 was given.
6386 if test "${enable_base64+set}" = set; then
6387 enableval=$enable_base64;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_base64='wxUSE_BASE64=yes'
6390 else
6391 wx_cv_use_base64='wxUSE_BASE64=no'
6392 fi
6393
6394 else
6395
6396 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6397
6398 fi
6399
6400
6401 eval "$wx_cv_use_base64"
6402
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_BASE64 = yes; then
6405 result=no
6406 else
6407 result=yes
6408 fi
6409 else
6410 result=$wxUSE_BASE64
6411 fi
6412
6413 { echo "$as_me:$LINENO: result: $result" >&5
6414 echo "${ECHO_T}$result" >&6; }
6415
6416
6417 enablestring=
6418 defaultval=$wxUSE_ALL_FEATURES
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6421 defaultval=yes
6422 else
6423 defaultval=no
6424 fi
6425 fi
6426
6427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6429 # Check whether --enable-backtrace was given.
6430 if test "${enable_backtrace+set}" = set; then
6431 enableval=$enable_backtrace;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6434 else
6435 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6436 fi
6437
6438 else
6439
6440 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6441
6442 fi
6443
6444
6445 eval "$wx_cv_use_backtrace"
6446
6447 if test x"$enablestring" = xdisable; then
6448 if test $wxUSE_STACKWALKER = yes; then
6449 result=no
6450 else
6451 result=yes
6452 fi
6453 else
6454 result=$wxUSE_STACKWALKER
6455 fi
6456
6457 { echo "$as_me:$LINENO: result: $result" >&5
6458 echo "${ECHO_T}$result" >&6; }
6459
6460
6461 enablestring=
6462 defaultval=$wxUSE_ALL_FEATURES
6463 if test -z "$defaultval"; then
6464 if test x"$enablestring" = xdisable; then
6465 defaultval=yes
6466 else
6467 defaultval=no
6468 fi
6469 fi
6470
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6473 # Check whether --enable-catch_segvs was given.
6474 if test "${enable_catch_segvs+set}" = set; then
6475 enableval=$enable_catch_segvs;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6478 else
6479 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6480 fi
6481
6482 else
6483
6484 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6485
6486 fi
6487
6488
6489 eval "$wx_cv_use_catch_segvs"
6490
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6493 result=no
6494 else
6495 result=yes
6496 fi
6497 else
6498 result=$wxUSE_ON_FATAL_EXCEPTION
6499 fi
6500
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6503
6504
6505 enablestring=
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6509 defaultval=yes
6510 else
6511 defaultval=no
6512 fi
6513 fi
6514
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6517 # Check whether --enable-cmdline was given.
6518 if test "${enable_cmdline+set}" = set; then
6519 enableval=$enable_cmdline;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6522 else
6523 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6524 fi
6525
6526 else
6527
6528 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6529
6530 fi
6531
6532
6533 eval "$wx_cv_use_cmdline"
6534
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_CMDLINE_PARSER = yes; then
6537 result=no
6538 else
6539 result=yes
6540 fi
6541 else
6542 result=$wxUSE_CMDLINE_PARSER
6543 fi
6544
6545 { echo "$as_me:$LINENO: result: $result" >&5
6546 echo "${ECHO_T}$result" >&6; }
6547
6548
6549 enablestring=
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6553 defaultval=yes
6554 else
6555 defaultval=no
6556 fi
6557 fi
6558
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6561 # Check whether --enable-datetime was given.
6562 if test "${enable_datetime+set}" = set; then
6563 enableval=$enable_datetime;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6566 else
6567 wx_cv_use_datetime='wxUSE_DATETIME=no'
6568 fi
6569
6570 else
6571
6572 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6573
6574 fi
6575
6576
6577 eval "$wx_cv_use_datetime"
6578
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_DATETIME = yes; then
6581 result=no
6582 else
6583 result=yes
6584 fi
6585 else
6586 result=$wxUSE_DATETIME
6587 fi
6588
6589 { echo "$as_me:$LINENO: result: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6591
6592
6593 enablestring=
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6597 defaultval=yes
6598 else
6599 defaultval=no
6600 fi
6601 fi
6602
6603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6605 # Check whether --enable-debugreport was given.
6606 if test "${enable_debugreport+set}" = set; then
6607 enableval=$enable_debugreport;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6610 else
6611 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6612 fi
6613
6614 else
6615
6616 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6617
6618 fi
6619
6620
6621 eval "$wx_cv_use_debugreport"
6622
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_DEBUGREPORT = yes; then
6625 result=no
6626 else
6627 result=yes
6628 fi
6629 else
6630 result=$wxUSE_DEBUGREPORT
6631 fi
6632
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6635
6636
6637 enablestring=
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6641 defaultval=yes
6642 else
6643 defaultval=no
6644 fi
6645 fi
6646
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6649 # Check whether --enable-dialupman was given.
6650 if test "${enable_dialupman+set}" = set; then
6651 enableval=$enable_dialupman;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6654 else
6655 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6656 fi
6657
6658 else
6659
6660 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6661
6662 fi
6663
6664
6665 eval "$wx_cv_use_dialupman"
6666
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DIALUP_MANAGER = yes; then
6669 result=no
6670 else
6671 result=yes
6672 fi
6673 else
6674 result=$wxUSE_DIALUP_MANAGER
6675 fi
6676
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6679
6680
6681 enablestring=
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6685 defaultval=yes
6686 else
6687 defaultval=no
6688 fi
6689 fi
6690
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6693 # Check whether --enable-dynlib was given.
6694 if test "${enable_dynlib+set}" = set; then
6695 enableval=$enable_dynlib;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6698 else
6699 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6700 fi
6701
6702 else
6703
6704 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_dynlib"
6710
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_DYNLIB_CLASS = yes; then
6713 result=no
6714 else
6715 result=yes
6716 fi
6717 else
6718 result=$wxUSE_DYNLIB_CLASS
6719 fi
6720
6721 { echo "$as_me:$LINENO: result: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6723
6724
6725 enablestring=
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6729 defaultval=yes
6730 else
6731 defaultval=no
6732 fi
6733 fi
6734
6735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6737 # Check whether --enable-dynamicloader was given.
6738 if test "${enable_dynamicloader+set}" = set; then
6739 enableval=$enable_dynamicloader;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6742 else
6743 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6744 fi
6745
6746 else
6747
6748 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6749
6750 fi
6751
6752
6753 eval "$wx_cv_use_dynamicloader"
6754
6755 if test x"$enablestring" = xdisable; then
6756 if test $wxUSE_DYNAMIC_LOADER = yes; then
6757 result=no
6758 else
6759 result=yes
6760 fi
6761 else
6762 result=$wxUSE_DYNAMIC_LOADER
6763 fi
6764
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6767
6768
6769 enablestring=
6770 defaultval=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x"$enablestring" = xdisable; then
6773 defaultval=yes
6774 else
6775 defaultval=no
6776 fi
6777 fi
6778
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6781 # Check whether --enable-exceptions was given.
6782 if test "${enable_exceptions+set}" = set; then
6783 enableval=$enable_exceptions;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6786 else
6787 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6788 fi
6789
6790 else
6791
6792 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6793
6794 fi
6795
6796
6797 eval "$wx_cv_use_exceptions"
6798
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_EXCEPTIONS = yes; then
6801 result=no
6802 else
6803 result=yes
6804 fi
6805 else
6806 result=$wxUSE_EXCEPTIONS
6807 fi
6808
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6811
6812
6813 enablestring=
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6817 defaultval=yes
6818 else
6819 defaultval=no
6820 fi
6821 fi
6822
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6825 # Check whether --enable-ffile was given.
6826 if test "${enable_ffile+set}" = set; then
6827 enableval=$enable_ffile;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_ffile='wxUSE_FFILE=yes'
6830 else
6831 wx_cv_use_ffile='wxUSE_FFILE=no'
6832 fi
6833
6834 else
6835
6836 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6837
6838 fi
6839
6840
6841 eval "$wx_cv_use_ffile"
6842
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_FFILE = yes; then
6845 result=no
6846 else
6847 result=yes
6848 fi
6849 else
6850 result=$wxUSE_FFILE
6851 fi
6852
6853 { echo "$as_me:$LINENO: result: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6855
6856
6857 enablestring=
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6861 defaultval=yes
6862 else
6863 defaultval=no
6864 fi
6865 fi
6866
6867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6869 # Check whether --enable-file was given.
6870 if test "${enable_file+set}" = set; then
6871 enableval=$enable_file;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_file='wxUSE_FILE=yes'
6874 else
6875 wx_cv_use_file='wxUSE_FILE=no'
6876 fi
6877
6878 else
6879
6880 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6881
6882 fi
6883
6884
6885 eval "$wx_cv_use_file"
6886
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_FILE = yes; then
6889 result=no
6890 else
6891 result=yes
6892 fi
6893 else
6894 result=$wxUSE_FILE
6895 fi
6896
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6899
6900
6901 enablestring=
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6905 defaultval=yes
6906 else
6907 defaultval=no
6908 fi
6909 fi
6910
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6913 # Check whether --enable-filesystem was given.
6914 if test "${enable_filesystem+set}" = set; then
6915 enableval=$enable_filesystem;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6918 else
6919 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6920 fi
6921
6922 else
6923
6924 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6925
6926 fi
6927
6928
6929 eval "$wx_cv_use_filesystem"
6930
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_FILESYSTEM = yes; then
6933 result=no
6934 else
6935 result=yes
6936 fi
6937 else
6938 result=$wxUSE_FILESYSTEM
6939 fi
6940
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6943
6944
6945 enablestring=
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6949 defaultval=yes
6950 else
6951 defaultval=no
6952 fi
6953 fi
6954
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6957 # Check whether --enable-fontenum was given.
6958 if test "${enable_fontenum+set}" = set; then
6959 enableval=$enable_fontenum;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6962 else
6963 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6964 fi
6965
6966 else
6967
6968 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6969
6970 fi
6971
6972
6973 eval "$wx_cv_use_fontenum"
6974
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_FONTENUM = yes; then
6977 result=no
6978 else
6979 result=yes
6980 fi
6981 else
6982 result=$wxUSE_FONTENUM
6983 fi
6984
6985 { echo "$as_me:$LINENO: result: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6987
6988
6989 enablestring=
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6993 defaultval=yes
6994 else
6995 defaultval=no
6996 fi
6997 fi
6998
6999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7001 # Check whether --enable-fontmap was given.
7002 if test "${enable_fontmap+set}" = set; then
7003 enableval=$enable_fontmap;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7006 else
7007 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7008 fi
7009
7010 else
7011
7012 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7013
7014 fi
7015
7016
7017 eval "$wx_cv_use_fontmap"
7018
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_FONTMAP = yes; then
7021 result=no
7022 else
7023 result=yes
7024 fi
7025 else
7026 result=$wxUSE_FONTMAP
7027 fi
7028
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7031
7032
7033 enablestring=
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7037 defaultval=yes
7038 else
7039 defaultval=no
7040 fi
7041 fi
7042
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7045 # Check whether --enable-fs_archive was given.
7046 if test "${enable_fs_archive+set}" = set; then
7047 enableval=$enable_fs_archive;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7050 else
7051 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7052 fi
7053
7054 else
7055
7056 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7057
7058 fi
7059
7060
7061 eval "$wx_cv_use_fs_archive"
7062
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_FS_ARCHIVE = yes; then
7065 result=no
7066 else
7067 result=yes
7068 fi
7069 else
7070 result=$wxUSE_FS_ARCHIVE
7071 fi
7072
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7075
7076
7077 enablestring=
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7081 defaultval=yes
7082 else
7083 defaultval=no
7084 fi
7085 fi
7086
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7089 # Check whether --enable-fs_inet was given.
7090 if test "${enable_fs_inet+set}" = set; then
7091 enableval=$enable_fs_inet;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7094 else
7095 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7096 fi
7097
7098 else
7099
7100 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7101
7102 fi
7103
7104
7105 eval "$wx_cv_use_fs_inet"
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_FS_INET = yes; then
7109 result=no
7110 else
7111 result=yes
7112 fi
7113 else
7114 result=$wxUSE_FS_INET
7115 fi
7116
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7119
7120
7121 enablestring=
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7125 defaultval=yes
7126 else
7127 defaultval=no
7128 fi
7129 fi
7130
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7133 # Check whether --enable-fs_zip was given.
7134 if test "${enable_fs_zip+set}" = set; then
7135 enableval=$enable_fs_zip;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7138 else
7139 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7140 fi
7141
7142 else
7143
7144 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7145
7146 fi
7147
7148
7149 eval "$wx_cv_use_fs_zip"
7150
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_FS_ZIP = yes; then
7153 result=no
7154 else
7155 result=yes
7156 fi
7157 else
7158 result=$wxUSE_FS_ZIP
7159 fi
7160
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7163
7164
7165 enablestring=
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7169 defaultval=yes
7170 else
7171 defaultval=no
7172 fi
7173 fi
7174
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7177 # Check whether --enable-geometry was given.
7178 if test "${enable_geometry+set}" = set; then
7179 enableval=$enable_geometry;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7182 else
7183 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7184 fi
7185
7186 else
7187
7188 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7189
7190 fi
7191
7192
7193 eval "$wx_cv_use_geometry"
7194
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_GEOMETRY = yes; then
7197 result=no
7198 else
7199 result=yes
7200 fi
7201 else
7202 result=$wxUSE_GEOMETRY
7203 fi
7204
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7207
7208
7209 enablestring=
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7213 defaultval=yes
7214 else
7215 defaultval=no
7216 fi
7217 fi
7218
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7221 # Check whether --enable-log was given.
7222 if test "${enable_log+set}" = set; then
7223 enableval=$enable_log;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_log='wxUSE_LOG=yes'
7226 else
7227 wx_cv_use_log='wxUSE_LOG=no'
7228 fi
7229
7230 else
7231
7232 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7233
7234 fi
7235
7236
7237 eval "$wx_cv_use_log"
7238
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_LOG = yes; then
7241 result=no
7242 else
7243 result=yes
7244 fi
7245 else
7246 result=$wxUSE_LOG
7247 fi
7248
7249 { echo "$as_me:$LINENO: result: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7251
7252
7253 enablestring=
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7257 defaultval=yes
7258 else
7259 defaultval=no
7260 fi
7261 fi
7262
7263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7265 # Check whether --enable-longlong was given.
7266 if test "${enable_longlong+set}" = set; then
7267 enableval=$enable_longlong;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7270 else
7271 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7272 fi
7273
7274 else
7275
7276 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7277
7278 fi
7279
7280
7281 eval "$wx_cv_use_longlong"
7282
7283 if test x"$enablestring" = xdisable; then
7284 if test $wxUSE_LONGLONG = yes; then
7285 result=no
7286 else
7287 result=yes
7288 fi
7289 else
7290 result=$wxUSE_LONGLONG
7291 fi
7292
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7295
7296
7297 enablestring=
7298 defaultval=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x"$enablestring" = xdisable; then
7301 defaultval=yes
7302 else
7303 defaultval=no
7304 fi
7305 fi
7306
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7309 # Check whether --enable-mimetype was given.
7310 if test "${enable_mimetype+set}" = set; then
7311 enableval=$enable_mimetype;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7314 else
7315 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7316 fi
7317
7318 else
7319
7320 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7321
7322 fi
7323
7324
7325 eval "$wx_cv_use_mimetype"
7326
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_MIMETYPE = yes; then
7329 result=no
7330 else
7331 result=yes
7332 fi
7333 else
7334 result=$wxUSE_MIMETYPE
7335 fi
7336
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7339
7340
7341 enablestring=
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7345 defaultval=yes
7346 else
7347 defaultval=no
7348 fi
7349 fi
7350
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7353 # Check whether --enable-printfposparam was given.
7354 if test "${enable_printfposparam+set}" = set; then
7355 enableval=$enable_printfposparam;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7358 else
7359 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7360 fi
7361
7362 else
7363
7364 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7365
7366 fi
7367
7368
7369 eval "$wx_cv_use_printfposparam"
7370
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7373 result=no
7374 else
7375 result=yes
7376 fi
7377 else
7378 result=$wxUSE_PRINTF_POS_PARAMS
7379 fi
7380
7381 { echo "$as_me:$LINENO: result: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7383
7384
7385 enablestring=
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7389 defaultval=yes
7390 else
7391 defaultval=no
7392 fi
7393 fi
7394
7395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7397 # Check whether --enable-snglinst was given.
7398 if test "${enable_snglinst+set}" = set; then
7399 enableval=$enable_snglinst;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7402 else
7403 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7404 fi
7405
7406 else
7407
7408 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7409
7410 fi
7411
7412
7413 eval "$wx_cv_use_snglinst"
7414
7415 if test x"$enablestring" = xdisable; then
7416 if test $wxUSE_SNGLINST_CHECKER = yes; then
7417 result=no
7418 else
7419 result=yes
7420 fi
7421 else
7422 result=$wxUSE_SNGLINST_CHECKER
7423 fi
7424
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7427
7428
7429 enablestring=
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7433 defaultval=yes
7434 else
7435 defaultval=no
7436 fi
7437 fi
7438
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7441 # Check whether --enable-sound was given.
7442 if test "${enable_sound+set}" = set; then
7443 enableval=$enable_sound;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_sound='wxUSE_SOUND=yes'
7446 else
7447 wx_cv_use_sound='wxUSE_SOUND=no'
7448 fi
7449
7450 else
7451
7452 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7453
7454 fi
7455
7456
7457 eval "$wx_cv_use_sound"
7458
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_SOUND = yes; then
7461 result=no
7462 else
7463 result=yes
7464 fi
7465 else
7466 result=$wxUSE_SOUND
7467 fi
7468
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7471
7472
7473 enablestring=
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7477 defaultval=yes
7478 else
7479 defaultval=no
7480 fi
7481 fi
7482
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7485 # Check whether --enable-stdpaths was given.
7486 if test "${enable_stdpaths+set}" = set; then
7487 enableval=$enable_stdpaths;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7490 else
7491 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7492 fi
7493
7494 else
7495
7496 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7497
7498 fi
7499
7500
7501 eval "$wx_cv_use_stdpaths"
7502
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_STDPATHS = yes; then
7505 result=no
7506 else
7507 result=yes
7508 fi
7509 else
7510 result=$wxUSE_STDPATHS
7511 fi
7512
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7515
7516
7517 enablestring=
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7521 defaultval=yes
7522 else
7523 defaultval=no
7524 fi
7525 fi
7526
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7529 # Check whether --enable-stopwatch was given.
7530 if test "${enable_stopwatch+set}" = set; then
7531 enableval=$enable_stopwatch;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7534 else
7535 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7536 fi
7537
7538 else
7539
7540 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7541
7542 fi
7543
7544
7545 eval "$wx_cv_use_stopwatch"
7546
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_STOPWATCH = yes; then
7549 result=no
7550 else
7551 result=yes
7552 fi
7553 else
7554 result=$wxUSE_STOPWATCH
7555 fi
7556
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7559
7560
7561 enablestring=
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7565 defaultval=yes
7566 else
7567 defaultval=no
7568 fi
7569 fi
7570
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7573 # Check whether --enable-streams was given.
7574 if test "${enable_streams+set}" = set; then
7575 enableval=$enable_streams;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_streams='wxUSE_STREAMS=yes'
7578 else
7579 wx_cv_use_streams='wxUSE_STREAMS=no'
7580 fi
7581
7582 else
7583
7584 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7585
7586 fi
7587
7588
7589 eval "$wx_cv_use_streams"
7590
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_STREAMS = yes; then
7593 result=no
7594 else
7595 result=yes
7596 fi
7597 else
7598 result=$wxUSE_STREAMS
7599 fi
7600
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7603
7604
7605 enablestring=
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7609 defaultval=yes
7610 else
7611 defaultval=no
7612 fi
7613 fi
7614
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7617 # Check whether --enable-system_options was given.
7618 if test "${enable_system_options+set}" = set; then
7619 enableval=$enable_system_options;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7622 else
7623 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7624 fi
7625
7626 else
7627
7628 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7629
7630 fi
7631
7632
7633 eval "$wx_cv_use_system_options"
7634
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7637 result=no
7638 else
7639 result=yes
7640 fi
7641 else
7642 result=$wxUSE_SYSTEM_OPTIONS
7643 fi
7644
7645 { echo "$as_me:$LINENO: result: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7647
7648
7649 enablestring=
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7653 defaultval=yes
7654 else
7655 defaultval=no
7656 fi
7657 fi
7658
7659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7661 # Check whether --enable-tarstream was given.
7662 if test "${enable_tarstream+set}" = set; then
7663 enableval=$enable_tarstream;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7666 else
7667 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7668 fi
7669
7670 else
7671
7672 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7673
7674 fi
7675
7676
7677 eval "$wx_cv_use_tarstream"
7678
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_TARSTREAM = yes; then
7681 result=no
7682 else
7683 result=yes
7684 fi
7685 else
7686 result=$wxUSE_TARSTREAM
7687 fi
7688
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7691
7692
7693 enablestring=
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7697 defaultval=yes
7698 else
7699 defaultval=no
7700 fi
7701 fi
7702
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7705 # Check whether --enable-textbuf was given.
7706 if test "${enable_textbuf+set}" = set; then
7707 enableval=$enable_textbuf;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7710 else
7711 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7712 fi
7713
7714 else
7715
7716 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$wx_cv_use_textbuf"
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_TEXTBUFFER = yes; then
7725 result=no
7726 else
7727 result=yes
7728 fi
7729 else
7730 result=$wxUSE_TEXTBUFFER
7731 fi
7732
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7749 # Check whether --enable-textfile was given.
7750 if test "${enable_textfile+set}" = set; then
7751 enableval=$enable_textfile;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7754 else
7755 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7756 fi
7757
7758 else
7759
7760 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7761
7762 fi
7763
7764
7765 eval "$wx_cv_use_textfile"
7766
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_TEXTFILE = yes; then
7769 result=no
7770 else
7771 result=yes
7772 fi
7773 else
7774 result=$wxUSE_TEXTFILE
7775 fi
7776
7777 { echo "$as_me:$LINENO: result: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7779
7780
7781 enablestring=
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7785 defaultval=yes
7786 else
7787 defaultval=no
7788 fi
7789 fi
7790
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7793 # Check whether --enable-timer was given.
7794 if test "${enable_timer+set}" = set; then
7795 enableval=$enable_timer;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_timer='wxUSE_TIMER=yes'
7798 else
7799 wx_cv_use_timer='wxUSE_TIMER=no'
7800 fi
7801
7802 else
7803
7804 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7805
7806 fi
7807
7808
7809 eval "$wx_cv_use_timer"
7810
7811 if test x"$enablestring" = xdisable; then
7812 if test $wxUSE_TIMER = yes; then
7813 result=no
7814 else
7815 result=yes
7816 fi
7817 else
7818 result=$wxUSE_TIMER
7819 fi
7820
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7823
7824
7825 enablestring=
7826 defaultval=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x"$enablestring" = xdisable; then
7829 defaultval=yes
7830 else
7831 defaultval=no
7832 fi
7833 fi
7834
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7837 # Check whether --enable-variant was given.
7838 if test "${enable_variant+set}" = set; then
7839 enableval=$enable_variant;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_variant='wxUSE_VARIANT=yes'
7842 else
7843 wx_cv_use_variant='wxUSE_VARIANT=no'
7844 fi
7845
7846 else
7847
7848 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7849
7850 fi
7851
7852
7853 eval "$wx_cv_use_variant"
7854
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_VARIANT = yes; then
7857 result=no
7858 else
7859 result=yes
7860 fi
7861 else
7862 result=$wxUSE_VARIANT
7863 fi
7864
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7867
7868
7869 enablestring=
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7873 defaultval=yes
7874 else
7875 defaultval=no
7876 fi
7877 fi
7878
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7881 # Check whether --enable-zipstream was given.
7882 if test "${enable_zipstream+set}" = set; then
7883 enableval=$enable_zipstream;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7886 else
7887 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7888 fi
7889
7890 else
7891
7892 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7893
7894 fi
7895
7896
7897 eval "$wx_cv_use_zipstream"
7898
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_ZIPSTREAM = yes; then
7901 result=no
7902 else
7903 result=yes
7904 fi
7905 else
7906 result=$wxUSE_ZIPSTREAM
7907 fi
7908
7909 { echo "$as_me:$LINENO: result: $result" >&5
7910 echo "${ECHO_T}$result" >&6; }
7911
7912
7913
7914 enablestring=
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7918 defaultval=yes
7919 else
7920 defaultval=no
7921 fi
7922 fi
7923
7924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7926 # Check whether --enable-url was given.
7927 if test "${enable_url+set}" = set; then
7928 enableval=$enable_url;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_url='wxUSE_URL=yes'
7931 else
7932 wx_cv_use_url='wxUSE_URL=no'
7933 fi
7934
7935 else
7936
7937 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_url"
7943
7944 if test x"$enablestring" = xdisable; then
7945 if test $wxUSE_URL = yes; then
7946 result=no
7947 else
7948 result=yes
7949 fi
7950 else
7951 result=$wxUSE_URL
7952 fi
7953
7954 { echo "$as_me:$LINENO: result: $result" >&5
7955 echo "${ECHO_T}$result" >&6; }
7956
7957
7958 enablestring=
7959 defaultval=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x"$enablestring" = xdisable; then
7962 defaultval=yes
7963 else
7964 defaultval=no
7965 fi
7966 fi
7967
7968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7970 # Check whether --enable-protocol was given.
7971 if test "${enable_protocol+set}" = set; then
7972 enableval=$enable_protocol;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7975 else
7976 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7977 fi
7978
7979 else
7980
7981 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7982
7983 fi
7984
7985
7986 eval "$wx_cv_use_protocol"
7987
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_PROTOCOL = yes; then
7990 result=no
7991 else
7992 result=yes
7993 fi
7994 else
7995 result=$wxUSE_PROTOCOL
7996 fi
7997
7998 { echo "$as_me:$LINENO: result: $result" >&5
7999 echo "${ECHO_T}$result" >&6; }
8000
8001
8002 enablestring=
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8006 defaultval=yes
8007 else
8008 defaultval=no
8009 fi
8010 fi
8011
8012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8014 # Check whether --enable-protocol_http was given.
8015 if test "${enable_protocol_http+set}" = set; then
8016 enableval=$enable_protocol_http;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8019 else
8020 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8021 fi
8022
8023 else
8024
8025 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8026
8027 fi
8028
8029
8030 eval "$wx_cv_use_protocol_http"
8031
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_PROTOCOL_HTTP = yes; then
8034 result=no
8035 else
8036 result=yes
8037 fi
8038 else
8039 result=$wxUSE_PROTOCOL_HTTP
8040 fi
8041
8042 { echo "$as_me:$LINENO: result: $result" >&5
8043 echo "${ECHO_T}$result" >&6; }
8044
8045
8046 enablestring=
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8050 defaultval=yes
8051 else
8052 defaultval=no
8053 fi
8054 fi
8055
8056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8058 # Check whether --enable-protocol_ftp was given.
8059 if test "${enable_protocol_ftp+set}" = set; then
8060 enableval=$enable_protocol_ftp;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8063 else
8064 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8065 fi
8066
8067 else
8068
8069 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8070
8071 fi
8072
8073
8074 eval "$wx_cv_use_protocol_ftp"
8075
8076 if test x"$enablestring" = xdisable; then
8077 if test $wxUSE_PROTOCOL_FTP = yes; then
8078 result=no
8079 else
8080 result=yes
8081 fi
8082 else
8083 result=$wxUSE_PROTOCOL_FTP
8084 fi
8085
8086 { echo "$as_me:$LINENO: result: $result" >&5
8087 echo "${ECHO_T}$result" >&6; }
8088
8089
8090 enablestring=
8091 defaultval=$wxUSE_ALL_FEATURES
8092 if test -z "$defaultval"; then
8093 if test x"$enablestring" = xdisable; then
8094 defaultval=yes
8095 else
8096 defaultval=no
8097 fi
8098 fi
8099
8100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8102 # Check whether --enable-protocol_file was given.
8103 if test "${enable_protocol_file+set}" = set; then
8104 enableval=$enable_protocol_file;
8105 if test "$enableval" = yes; then
8106 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8107 else
8108 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8109 fi
8110
8111 else
8112
8113 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8114
8115 fi
8116
8117
8118 eval "$wx_cv_use_protocol_file"
8119
8120 if test x"$enablestring" = xdisable; then
8121 if test $wxUSE_PROTOCOL_FILE = yes; then
8122 result=no
8123 else
8124 result=yes
8125 fi
8126 else
8127 result=$wxUSE_PROTOCOL_FILE
8128 fi
8129
8130 { echo "$as_me:$LINENO: result: $result" >&5
8131 echo "${ECHO_T}$result" >&6; }
8132
8133
8134
8135 enablestring=
8136 defaultval=$wxUSE_ALL_FEATURES
8137 if test -z "$defaultval"; then
8138 if test x"$enablestring" = xdisable; then
8139 defaultval=yes
8140 else
8141 defaultval=no
8142 fi
8143 fi
8144
8145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8146 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8147 # Check whether --enable-threads was given.
8148 if test "${enable_threads+set}" = set; then
8149 enableval=$enable_threads;
8150 if test "$enableval" = yes; then
8151 wx_cv_use_threads='wxUSE_THREADS=yes'
8152 else
8153 wx_cv_use_threads='wxUSE_THREADS=no'
8154 fi
8155
8156 else
8157
8158 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8159
8160 fi
8161
8162
8163 eval "$wx_cv_use_threads"
8164
8165 if test x"$enablestring" = xdisable; then
8166 if test $wxUSE_THREADS = yes; then
8167 result=no
8168 else
8169 result=yes
8170 fi
8171 else
8172 result=$wxUSE_THREADS
8173 fi
8174
8175 { echo "$as_me:$LINENO: result: $result" >&5
8176 echo "${ECHO_T}$result" >&6; }
8177
8178
8179
8180 enablestring=
8181 defaultval=
8182 if test -z "$defaultval"; then
8183 if test x"$enablestring" = xdisable; then
8184 defaultval=yes
8185 else
8186 defaultval=no
8187 fi
8188 fi
8189
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8192 # Check whether --enable-iniconf was given.
8193 if test "${enable_iniconf+set}" = set; then
8194 enableval=$enable_iniconf;
8195 if test "$enableval" = yes; then
8196 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8197 else
8198 wx_cv_use_iniconf='wxUSE_INICONF=no'
8199 fi
8200
8201 else
8202
8203 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8204
8205 fi
8206
8207
8208 eval "$wx_cv_use_iniconf"
8209
8210 if test x"$enablestring" = xdisable; then
8211 if test $wxUSE_INICONF = yes; then
8212 result=no
8213 else
8214 result=yes
8215 fi
8216 else
8217 result=$wxUSE_INICONF
8218 fi
8219
8220 { echo "$as_me:$LINENO: result: $result" >&5
8221 echo "${ECHO_T}$result" >&6; }
8222
8223
8224 enablestring=
8225 defaultval=$wxUSE_ALL_FEATURES
8226 if test -z "$defaultval"; then
8227 if test x"$enablestring" = xdisable; then
8228 defaultval=yes
8229 else
8230 defaultval=no
8231 fi
8232 fi
8233
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8236 # Check whether --enable-regkey was given.
8237 if test "${enable_regkey+set}" = set; then
8238 enableval=$enable_regkey;
8239 if test "$enableval" = yes; then
8240 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8241 else
8242 wx_cv_use_regkey='wxUSE_REGKEY=no'
8243 fi
8244
8245 else
8246
8247 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8248
8249 fi
8250
8251
8252 eval "$wx_cv_use_regkey"
8253
8254 if test x"$enablestring" = xdisable; then
8255 if test $wxUSE_REGKEY = yes; then
8256 result=no
8257 else
8258 result=yes
8259 fi
8260 else
8261 result=$wxUSE_REGKEY
8262 fi
8263
8264 { echo "$as_me:$LINENO: result: $result" >&5
8265 echo "${ECHO_T}$result" >&6; }
8266
8267
8268 if test "$wxUSE_GUI" = "yes"; then
8269
8270
8271
8272 enablestring=
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z "$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8276 defaultval=yes
8277 else
8278 defaultval=no
8279 fi
8280 fi
8281
8282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8284 # Check whether --enable-docview was given.
8285 if test "${enable_docview+set}" = set; then
8286 enableval=$enable_docview;
8287 if test "$enableval" = yes; then
8288 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8289 else
8290 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8291 fi
8292
8293 else
8294
8295 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8296
8297 fi
8298
8299
8300 eval "$wx_cv_use_docview"
8301
8302 if test x"$enablestring" = xdisable; then
8303 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8304 result=no
8305 else
8306 result=yes
8307 fi
8308 else
8309 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8310 fi
8311
8312 { echo "$as_me:$LINENO: result: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8314
8315
8316 enablestring=
8317 defaultval=$wxUSE_ALL_FEATURES
8318 if test -z "$defaultval"; then
8319 if test x"$enablestring" = xdisable; then
8320 defaultval=yes
8321 else
8322 defaultval=no
8323 fi
8324 fi
8325
8326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8328 # Check whether --enable-help was given.
8329 if test "${enable_help+set}" = set; then
8330 enableval=$enable_help;
8331 if test "$enableval" = yes; then
8332 wx_cv_use_help='wxUSE_HELP=yes'
8333 else
8334 wx_cv_use_help='wxUSE_HELP=no'
8335 fi
8336
8337 else
8338
8339 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8340
8341 fi
8342
8343
8344 eval "$wx_cv_use_help"
8345
8346 if test x"$enablestring" = xdisable; then
8347 if test $wxUSE_HELP = yes; then
8348 result=no
8349 else
8350 result=yes
8351 fi
8352 else
8353 result=$wxUSE_HELP
8354 fi
8355
8356 { echo "$as_me:$LINENO: result: $result" >&5
8357 echo "${ECHO_T}$result" >&6; }
8358
8359
8360 enablestring=
8361 defaultval=$wxUSE_ALL_FEATURES
8362 if test -z "$defaultval"; then
8363 if test x"$enablestring" = xdisable; then
8364 defaultval=yes
8365 else
8366 defaultval=no
8367 fi
8368 fi
8369
8370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8372 # Check whether --enable-mshtmlhelp was given.
8373 if test "${enable_mshtmlhelp+set}" = set; then
8374 enableval=$enable_mshtmlhelp;
8375 if test "$enableval" = yes; then
8376 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8377 else
8378 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8379 fi
8380
8381 else
8382
8383 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8384
8385 fi
8386
8387
8388 eval "$wx_cv_use_mshtmlhelp"
8389
8390 if test x"$enablestring" = xdisable; then
8391 if test $wxUSE_MS_HTML_HELP = yes; then
8392 result=no
8393 else
8394 result=yes
8395 fi
8396 else
8397 result=$wxUSE_MS_HTML_HELP
8398 fi
8399
8400 { echo "$as_me:$LINENO: result: $result" >&5
8401 echo "${ECHO_T}$result" >&6; }
8402
8403
8404 enablestring=
8405 defaultval=$wxUSE_ALL_FEATURES
8406 if test -z "$defaultval"; then
8407 if test x"$enablestring" = xdisable; then
8408 defaultval=yes
8409 else
8410 defaultval=no
8411 fi
8412 fi
8413
8414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8416 # Check whether --enable-html was given.
8417 if test "${enable_html+set}" = set; then
8418 enableval=$enable_html;
8419 if test "$enableval" = yes; then
8420 wx_cv_use_html='wxUSE_HTML=yes'
8421 else
8422 wx_cv_use_html='wxUSE_HTML=no'
8423 fi
8424
8425 else
8426
8427 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8428
8429 fi
8430
8431
8432 eval "$wx_cv_use_html"
8433
8434 if test x"$enablestring" = xdisable; then
8435 if test $wxUSE_HTML = yes; then
8436 result=no
8437 else
8438 result=yes
8439 fi
8440 else
8441 result=$wxUSE_HTML
8442 fi
8443
8444 { echo "$as_me:$LINENO: result: $result" >&5
8445 echo "${ECHO_T}$result" >&6; }
8446
8447
8448 enablestring=
8449 defaultval=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x"$enablestring" = xdisable; then
8452 defaultval=yes
8453 else
8454 defaultval=no
8455 fi
8456 fi
8457
8458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8460 # Check whether --enable-htmlhelp was given.
8461 if test "${enable_htmlhelp+set}" = set; then
8462 enableval=$enable_htmlhelp;
8463 if test "$enableval" = yes; then
8464 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8465 else
8466 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8467 fi
8468
8469 else
8470
8471 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8472
8473 fi
8474
8475
8476 eval "$wx_cv_use_htmlhelp"
8477
8478 if test x"$enablestring" = xdisable; then
8479 if test $wxUSE_WXHTML_HELP = yes; then
8480 result=no
8481 else
8482 result=yes
8483 fi
8484 else
8485 result=$wxUSE_WXHTML_HELP
8486 fi
8487
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8490
8491
8492 enablestring=
8493 defaultval=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x"$enablestring" = xdisable; then
8496 defaultval=yes
8497 else
8498 defaultval=no
8499 fi
8500 fi
8501
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8504 # Check whether --enable-xrc was given.
8505 if test "${enable_xrc+set}" = set; then
8506 enableval=$enable_xrc;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_xrc='wxUSE_XRC=yes'
8509 else
8510 wx_cv_use_xrc='wxUSE_XRC=no'
8511 fi
8512
8513 else
8514
8515 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8516
8517 fi
8518
8519
8520 eval "$wx_cv_use_xrc"
8521
8522 if test x"$enablestring" = xdisable; then
8523 if test $wxUSE_XRC = yes; then
8524 result=no
8525 else
8526 result=yes
8527 fi
8528 else
8529 result=$wxUSE_XRC
8530 fi
8531
8532 { echo "$as_me:$LINENO: result: $result" >&5
8533 echo "${ECHO_T}$result" >&6; }
8534
8535
8536 enablestring=
8537 defaultval=$wxUSE_ALL_FEATURES
8538 if test -z "$defaultval"; then
8539 if test x"$enablestring" = xdisable; then
8540 defaultval=yes
8541 else
8542 defaultval=no
8543 fi
8544 fi
8545
8546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8548 # Check whether --enable-aui was given.
8549 if test "${enable_aui+set}" = set; then
8550 enableval=$enable_aui;
8551 if test "$enableval" = yes; then
8552 wx_cv_use_aui='wxUSE_AUI=yes'
8553 else
8554 wx_cv_use_aui='wxUSE_AUI=no'
8555 fi
8556
8557 else
8558
8559 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8560
8561 fi
8562
8563
8564 eval "$wx_cv_use_aui"
8565
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_AUI = yes; then
8568 result=no
8569 else
8570 result=yes
8571 fi
8572 else
8573 result=$wxUSE_AUI
8574 fi
8575
8576 { echo "$as_me:$LINENO: result: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8578
8579
8580 enablestring=
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8584 defaultval=yes
8585 else
8586 defaultval=no
8587 fi
8588 fi
8589
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8592 # Check whether --enable-propgrid was given.
8593 if test "${enable_propgrid+set}" = set; then
8594 enableval=$enable_propgrid;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8597 else
8598 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8599 fi
8600
8601 else
8602
8603 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8604
8605 fi
8606
8607
8608 eval "$wx_cv_use_propgrid"
8609
8610 if test x"$enablestring" = xdisable; then
8611 if test $wxUSE_PROPGRID = yes; then
8612 result=no
8613 else
8614 result=yes
8615 fi
8616 else
8617 result=$wxUSE_PROPGRID
8618 fi
8619
8620 { echo "$as_me:$LINENO: result: $result" >&5
8621 echo "${ECHO_T}$result" >&6; }
8622
8623
8624 enablestring=
8625 defaultval=$wxUSE_ALL_FEATURES
8626 if test -z "$defaultval"; then
8627 if test x"$enablestring" = xdisable; then
8628 defaultval=yes
8629 else
8630 defaultval=no
8631 fi
8632 fi
8633
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8636 # Check whether --enable-stc was given.
8637 if test "${enable_stc+set}" = set; then
8638 enableval=$enable_stc;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_stc='wxUSE_STC=yes'
8641 else
8642 wx_cv_use_stc='wxUSE_STC=no'
8643 fi
8644
8645 else
8646
8647 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8648
8649 fi
8650
8651
8652 eval "$wx_cv_use_stc"
8653
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_STC = yes; then
8656 result=no
8657 else
8658 result=yes
8659 fi
8660 else
8661 result=$wxUSE_STC
8662 fi
8663
8664 { echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6; }
8666
8667
8668 enablestring=
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8672 defaultval=yes
8673 else
8674 defaultval=no
8675 fi
8676 fi
8677
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8680 # Check whether --enable-constraints was given.
8681 if test "${enable_constraints+set}" = set; then
8682 enableval=$enable_constraints;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8685 else
8686 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8687 fi
8688
8689 else
8690
8691 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8692
8693 fi
8694
8695
8696 eval "$wx_cv_use_constraints"
8697
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_CONSTRAINTS = yes; then
8700 result=no
8701 else
8702 result=yes
8703 fi
8704 else
8705 result=$wxUSE_CONSTRAINTS
8706 fi
8707
8708 { echo "$as_me:$LINENO: result: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8710
8711
8712 enablestring=
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8716 defaultval=yes
8717 else
8718 defaultval=no
8719 fi
8720 fi
8721
8722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8723 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8724 # Check whether --enable-loggui was given.
8725 if test "${enable_loggui+set}" = set; then
8726 enableval=$enable_loggui;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8729 else
8730 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8731 fi
8732
8733 else
8734
8735 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8736
8737 fi
8738
8739
8740 eval "$wx_cv_use_loggui"
8741
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_LOGGUI = yes; then
8744 result=no
8745 else
8746 result=yes
8747 fi
8748 else
8749 result=$wxUSE_LOGGUI
8750 fi
8751
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8754
8755
8756 enablestring=
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8760 defaultval=yes
8761 else
8762 defaultval=no
8763 fi
8764 fi
8765
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8768 # Check whether --enable-logwin was given.
8769 if test "${enable_logwin+set}" = set; then
8770 enableval=$enable_logwin;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8773 else
8774 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8775 fi
8776
8777 else
8778
8779 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8780
8781 fi
8782
8783
8784 eval "$wx_cv_use_logwin"
8785
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_LOGWINDOW = yes; then
8788 result=no
8789 else
8790 result=yes
8791 fi
8792 else
8793 result=$wxUSE_LOGWINDOW
8794 fi
8795
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8798
8799
8800 enablestring=
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8804 defaultval=yes
8805 else
8806 defaultval=no
8807 fi
8808 fi
8809
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8812 # Check whether --enable-logdialog was given.
8813 if test "${enable_logdialog+set}" = set; then
8814 enableval=$enable_logdialog;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8817 else
8818 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8819 fi
8820
8821 else
8822
8823 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8824
8825 fi
8826
8827
8828 eval "$wx_cv_use_logdialog"
8829
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_LOGDIALOG = yes; then
8832 result=no
8833 else
8834 result=yes
8835 fi
8836 else
8837 result=$wxUSE_LOGDIALOG
8838 fi
8839
8840 { echo "$as_me:$LINENO: result: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8842
8843
8844 enablestring=
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8848 defaultval=yes
8849 else
8850 defaultval=no
8851 fi
8852 fi
8853
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8856 # Check whether --enable-mdi was given.
8857 if test "${enable_mdi+set}" = set; then
8858 enableval=$enable_mdi;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_mdi='wxUSE_MDI=yes'
8861 else
8862 wx_cv_use_mdi='wxUSE_MDI=no'
8863 fi
8864
8865 else
8866
8867 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8868
8869 fi
8870
8871
8872 eval "$wx_cv_use_mdi"
8873
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_MDI = yes; then
8876 result=no
8877 else
8878 result=yes
8879 fi
8880 else
8881 result=$wxUSE_MDI
8882 fi
8883
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8886
8887
8888 enablestring=
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8892 defaultval=yes
8893 else
8894 defaultval=no
8895 fi
8896 fi
8897
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8900 # Check whether --enable-mdidoc was given.
8901 if test "${enable_mdidoc+set}" = set; then
8902 enableval=$enable_mdidoc;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8905 else
8906 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8907 fi
8908
8909 else
8910
8911 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8912
8913 fi
8914
8915
8916 eval "$wx_cv_use_mdidoc"
8917
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8920 result=no
8921 else
8922 result=yes
8923 fi
8924 else
8925 result=$wxUSE_MDI_ARCHITECTURE
8926 fi
8927
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8930
8931
8932 enablestring=
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8936 defaultval=yes
8937 else
8938 defaultval=no
8939 fi
8940 fi
8941
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8944 # Check whether --enable-mediactrl was given.
8945 if test "${enable_mediactrl+set}" = set; then
8946 enableval=$enable_mediactrl;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8949 else
8950 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8951 fi
8952
8953 else
8954
8955 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8956
8957 fi
8958
8959
8960 eval "$wx_cv_use_mediactrl"
8961
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_MEDIACTRL = yes; then
8964 result=no
8965 else
8966 result=yes
8967 fi
8968 else
8969 result=$wxUSE_MEDIACTRL
8970 fi
8971
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8974
8975
8976 enablestring=
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8980 defaultval=yes
8981 else
8982 defaultval=no
8983 fi
8984 fi
8985
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8988 # Check whether --enable-gstreamer8 was given.
8989 if test "${enable_gstreamer8+set}" = set; then
8990 enableval=$enable_gstreamer8;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8993 else
8994 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8995 fi
8996
8997 else
8998
8999 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9000
9001 fi
9002
9003
9004 eval "$wx_cv_use_gstreamer8"
9005
9006 if test x"$enablestring" = xdisable; then
9007 if test $wxUSE_GSTREAMER8 = yes; then
9008 result=no
9009 else
9010 result=yes
9011 fi
9012 else
9013 result=$wxUSE_GSTREAMER8
9014 fi
9015
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9018
9019
9020 enablestring=
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9024 defaultval=yes
9025 else
9026 defaultval=no
9027 fi
9028 fi
9029
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9032 # Check whether --enable-webkit was given.
9033 if test "${enable_webkit+set}" = set; then
9034 enableval=$enable_webkit;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9037 else
9038 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9039 fi
9040
9041 else
9042
9043 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9044
9045 fi
9046
9047
9048 eval "$wx_cv_use_webkit"
9049
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_WEBKIT = yes; then
9052 result=no
9053 else
9054 result=yes
9055 fi
9056 else
9057 result=$wxUSE_WEBKIT
9058 fi
9059
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9062
9063
9064 enablestring=
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9068 defaultval=yes
9069 else
9070 defaultval=no
9071 fi
9072 fi
9073
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9076 # Check whether --enable-richtext was given.
9077 if test "${enable_richtext+set}" = set; then
9078 enableval=$enable_richtext;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9081 else
9082 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9083 fi
9084
9085 else
9086
9087 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9088
9089 fi
9090
9091
9092 eval "$wx_cv_use_richtext"
9093
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_RICHTEXT = yes; then
9096 result=no
9097 else
9098 result=yes
9099 fi
9100 else
9101 result=$wxUSE_RICHTEXT
9102 fi
9103
9104 { echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9106
9107
9108 enablestring=
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9112 defaultval=yes
9113 else
9114 defaultval=no
9115 fi
9116 fi
9117
9118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9120 # Check whether --enable-graphics_ctx was given.
9121 if test "${enable_graphics_ctx+set}" = set; then
9122 enableval=$enable_graphics_ctx;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9125 else
9126 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9127 fi
9128
9129 else
9130
9131 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9132
9133 fi
9134
9135
9136 eval "$wx_cv_use_graphics_ctx"
9137
9138 if test x"$enablestring" = xdisable; then
9139 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9140 result=no
9141 else
9142 result=yes
9143 fi
9144 else
9145 result=$wxUSE_GRAPHICS_CONTEXT
9146 fi
9147
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9150
9151
9152 enablestring=
9153 defaultval=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x"$enablestring" = xdisable; then
9156 defaultval=yes
9157 else
9158 defaultval=no
9159 fi
9160 fi
9161
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9164 # Check whether --enable-postscript was given.
9165 if test "${enable_postscript+set}" = set; then
9166 enableval=$enable_postscript;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9169 else
9170 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9171 fi
9172
9173 else
9174
9175 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9176
9177 fi
9178
9179
9180 eval "$wx_cv_use_postscript"
9181
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_POSTSCRIPT = yes; then
9184 result=no
9185 else
9186 result=yes
9187 fi
9188 else
9189 result=$wxUSE_POSTSCRIPT
9190 fi
9191
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9194
9195
9196 enablestring=
9197 defaultval=$wxUSE_ALL_FEATURES
9198 if test -z "$defaultval"; then
9199 if test x"$enablestring" = xdisable; then
9200 defaultval=yes
9201 else
9202 defaultval=no
9203 fi
9204 fi
9205
9206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9208 # Check whether --enable-printarch was given.
9209 if test "${enable_printarch+set}" = set; then
9210 enableval=$enable_printarch;
9211 if test "$enableval" = yes; then
9212 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9213 else
9214 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9215 fi
9216
9217 else
9218
9219 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9220
9221 fi
9222
9223
9224 eval "$wx_cv_use_printarch"
9225
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9228 result=no
9229 else
9230 result=yes
9231 fi
9232 else
9233 result=$wxUSE_PRINTING_ARCHITECTURE
9234 fi
9235
9236 { echo "$as_me:$LINENO: result: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9238
9239
9240 enablestring=
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9244 defaultval=yes
9245 else
9246 defaultval=no
9247 fi
9248 fi
9249
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9252 # Check whether --enable-svg was given.
9253 if test "${enable_svg+set}" = set; then
9254 enableval=$enable_svg;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_svg='wxUSE_SVG=yes'
9257 else
9258 wx_cv_use_svg='wxUSE_SVG=no'
9259 fi
9260
9261 else
9262
9263 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9264
9265 fi
9266
9267
9268 eval "$wx_cv_use_svg"
9269
9270 if test x"$enablestring" = xdisable; then
9271 if test $wxUSE_SVG = yes; then
9272 result=no
9273 else
9274 result=yes
9275 fi
9276 else
9277 result=$wxUSE_SVG
9278 fi
9279
9280 { echo "$as_me:$LINENO: result: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9282
9283
9284
9285
9286 enablestring=
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9290 defaultval=yes
9291 else
9292 defaultval=no
9293 fi
9294 fi
9295
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9298 # Check whether --enable-clipboard was given.
9299 if test "${enable_clipboard+set}" = set; then
9300 enableval=$enable_clipboard;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9303 else
9304 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9305 fi
9306
9307 else
9308
9309 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9310
9311 fi
9312
9313
9314 eval "$wx_cv_use_clipboard"
9315
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_CLIPBOARD = yes; then
9318 result=no
9319 else
9320 result=yes
9321 fi
9322 else
9323 result=$wxUSE_CLIPBOARD
9324 fi
9325
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9328
9329
9330 enablestring=
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9334 defaultval=yes
9335 else
9336 defaultval=no
9337 fi
9338 fi
9339
9340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9342 # Check whether --enable-dnd was given.
9343 if test "${enable_dnd+set}" = set; then
9344 enableval=$enable_dnd;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9347 else
9348 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9349 fi
9350
9351 else
9352
9353 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9354
9355 fi
9356
9357
9358 eval "$wx_cv_use_dnd"
9359
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_DRAG_AND_DROP = yes; then
9362 result=no
9363 else
9364 result=yes
9365 fi
9366 else
9367 result=$wxUSE_DRAG_AND_DROP
9368 fi
9369
9370 { echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9372
9373
9374 enablestring=
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9378 defaultval=yes
9379 else
9380 defaultval=no
9381 fi
9382 fi
9383
9384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9385 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9386 # Check whether --enable-metafile was given.
9387 if test "${enable_metafile+set}" = set; then
9388 enableval=$enable_metafile;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9391 else
9392 wx_cv_use_metafile='wxUSE_METAFILE=no'
9393 fi
9394
9395 else
9396
9397 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9398
9399 fi
9400
9401
9402 eval "$wx_cv_use_metafile"
9403
9404 if test x"$enablestring" = xdisable; then
9405 if test $wxUSE_METAFILE = yes; then
9406 result=no
9407 else
9408 result=yes
9409 fi
9410 else
9411 result=$wxUSE_METAFILE
9412 fi
9413
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9416
9417
9418
9419 DEFAULT_wxUSE_CONTROLS=none
9420
9421 enablestring=disable
9422 defaultval=
9423 if test -z "$defaultval"; then
9424 if test x"$enablestring" = xdisable; then
9425 defaultval=yes
9426 else
9427 defaultval=no
9428 fi
9429 fi
9430
9431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9433 # Check whether --enable-controls was given.
9434 if test "${enable_controls+set}" = set; then
9435 enableval=$enable_controls;
9436 if test "$enableval" = yes; then
9437 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9438 else
9439 wx_cv_use_controls='wxUSE_CONTROLS=no'
9440 fi
9441
9442 else
9443
9444 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9445
9446 fi
9447
9448
9449 eval "$wx_cv_use_controls"
9450
9451 if test x"$enablestring" = xdisable; then
9452 if test $wxUSE_CONTROLS = yes; then
9453 result=no
9454 else
9455 result=yes
9456 fi
9457 else
9458 result=$wxUSE_CONTROLS
9459 fi
9460
9461 { echo "$as_me:$LINENO: result: $result" >&5
9462 echo "${ECHO_T}$result" >&6; }
9463
9464
9465 if test "$wxUSE_CONTROLS" = "yes"; then
9466 DEFAULT_wxUSE_ACCEL=yes
9467 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9468 DEFAULT_wxUSE_BMPBUTTON=yes
9469 DEFAULT_wxUSE_BUTTON=yes
9470 DEFAULT_wxUSE_CALCTRL=yes
9471 DEFAULT_wxUSE_CARET=yes
9472 DEFAULT_wxUSE_COMBOBOX=yes
9473 DEFAULT_wxUSE_CHECKBOX=yes
9474 DEFAULT_wxUSE_CHECKLISTBOX=yes
9475 DEFAULT_wxUSE_CHOICE=yes
9476 DEFAULT_wxUSE_CHOICEBOOK=yes
9477 DEFAULT_wxUSE_COLLPANE=yes
9478 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9479 DEFAULT_wxUSE_COMBOBOX=yes
9480 DEFAULT_wxUSE_DATEPICKCTRL=yes
9481 DEFAULT_wxUSE_DISPLAY=yes
9482 DEFAULT_wxUSE_DETECT_SM=yes
9483 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9484 DEFAULT_wxUSE_FILECTRL=yes
9485 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9486 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9487 DEFAULT_wxUSE_GAUGE=yes
9488 DEFAULT_wxUSE_GRID=yes
9489 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9490 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9491 DEFAULT_wxUSE_IMAGLIST=yes
9492 DEFAULT_wxUSE_LISTBOOK=yes
9493 DEFAULT_wxUSE_LISTBOX=yes
9494 DEFAULT_wxUSE_LISTCTRL=yes
9495 DEFAULT_wxUSE_NOTEBOOK=yes
9496 DEFAULT_wxUSE_RADIOBOX=yes
9497 DEFAULT_wxUSE_RADIOBTN=yes
9498 DEFAULT_wxUSE_SASH=yes
9499 DEFAULT_wxUSE_SCROLLBAR=yes
9500 DEFAULT_wxUSE_SEARCHCTRL=yes
9501 DEFAULT_wxUSE_SLIDER=yes
9502 DEFAULT_wxUSE_SPINBTN=yes
9503 DEFAULT_wxUSE_SPINCTRL=yes
9504 DEFAULT_wxUSE_SPLITTER=yes
9505 DEFAULT_wxUSE_STATBMP=yes
9506 DEFAULT_wxUSE_STATBOX=yes
9507 DEFAULT_wxUSE_STATLINE=yes
9508 DEFAULT_wxUSE_STATUSBAR=yes
9509 DEFAULT_wxUSE_TOGGLEBTN=yes
9510 DEFAULT_wxUSE_TOOLBAR=yes
9511 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9512 DEFAULT_wxUSE_TOOLTIPS=yes
9513 DEFAULT_wxUSE_TREEBOOK=yes
9514 DEFAULT_wxUSE_TOOLBOOK=yes
9515 DEFAULT_wxUSE_TREECTRL=yes
9516 DEFAULT_wxUSE_POPUPWIN=yes
9517 DEFAULT_wxUSE_TIPWINDOW=yes
9518 elif test "$wxUSE_CONTROLS" = "no"; then
9519 DEFAULT_wxUSE_ACCEL=no
9520 DEFAULT_wxUSE_ANIMATIONCTRL=no
9521 DEFAULT_wxUSE_BMPBUTTON=no
9522 DEFAULT_wxUSE_BUTTON=no
9523 DEFAULT_wxUSE_CALCTRL=no
9524 DEFAULT_wxUSE_CARET=no
9525 DEFAULT_wxUSE_COLLPANE=no
9526 DEFAULT_wxUSE_COMBOBOX=no
9527 DEFAULT_wxUSE_CHECKBOX=no
9528 DEFAULT_wxUSE_CHECKLISTBOX=no
9529 DEFAULT_wxUSE_CHOICE=no
9530 DEFAULT_wxUSE_CHOICEBOOK=no
9531 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9532 DEFAULT_wxUSE_COMBOBOX=no
9533 DEFAULT_wxUSE_DATEPICKCTRL=no
9534 DEFAULT_wxUSE_DISPLAY=no
9535 DEFAULT_wxUSE_DETECT_SM=no
9536 DEFAULT_wxUSE_DIRPICKERCTRL=no
9537 DEFAULT_wxUSE_FILECTRL=no
9538 DEFAULT_wxUSE_FILEPICKERCTRL=no
9539 DEFAULT_wxUSE_FONTPICKERCTRL=no
9540 DEFAULT_wxUSE_GAUGE=no
9541 DEFAULT_wxUSE_GRID=no
9542 DEFAULT_wxUSE_HYPERLINKCTRL=no
9543 DEFAULT_wxUSE_DATAVIEWCTRL=no
9544 DEFAULT_wxUSE_IMAGLIST=no
9545 DEFAULT_wxUSE_LISTBOOK=no
9546 DEFAULT_wxUSE_LISTBOX=no
9547 DEFAULT_wxUSE_LISTCTRL=no
9548 DEFAULT_wxUSE_NOTEBOOK=no
9549 DEFAULT_wxUSE_RADIOBOX=no
9550 DEFAULT_wxUSE_RADIOBTN=no
9551 DEFAULT_wxUSE_SASH=no
9552 DEFAULT_wxUSE_SCROLLBAR=no
9553 DEFAULT_wxUSE_SEARCHCTRL=no
9554 DEFAULT_wxUSE_SLIDER=no
9555 DEFAULT_wxUSE_SPINBTN=no
9556 DEFAULT_wxUSE_SPINCTRL=no
9557 DEFAULT_wxUSE_SPLITTER=no
9558 DEFAULT_wxUSE_STATBMP=no
9559 DEFAULT_wxUSE_STATBOX=no
9560 DEFAULT_wxUSE_STATLINE=no
9561 DEFAULT_wxUSE_STATUSBAR=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}-taskbaricon" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11698 # Check whether --enable-taskbaricon was given.
11699 if test "${enable_taskbaricon+set}" = set; then
11700 enableval=$enable_taskbaricon;
11701 if test "$enableval" = yes; then
11702 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11703 else
11704 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11705 fi
11706
11707 else
11708
11709 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11710
11711 fi
11712
11713
11714 eval "$wx_cv_use_taskbaricon"
11715
11716 if test x"$enablestring" = xdisable; then
11717 if test $wxUSE_TASKBARICON = yes; then
11718 result=no
11719 else
11720 result=yes
11721 fi
11722 else
11723 result=$wxUSE_TASKBARICON
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}-textctrl" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11742 # Check whether --enable-textctrl was given.
11743 if test "${enable_textctrl+set}" = set; then
11744 enableval=$enable_textctrl;
11745 if test "$enableval" = yes; then
11746 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11747 else
11748 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11749 fi
11750
11751 else
11752
11753 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11754
11755 fi
11756
11757
11758 eval "$wx_cv_use_textctrl"
11759
11760 if test x"$enablestring" = xdisable; then
11761 if test $wxUSE_TEXTCTRL = yes; then
11762 result=no
11763 else
11764 result=yes
11765 fi
11766 else
11767 result=$wxUSE_TEXTCTRL
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}-togglebtn" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11786 # Check whether --enable-togglebtn was given.
11787 if test "${enable_togglebtn+set}" = set; then
11788 enableval=$enable_togglebtn;
11789 if test "$enableval" = yes; then
11790 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11791 else
11792 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11793 fi
11794
11795 else
11796
11797 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11798
11799 fi
11800
11801
11802 eval "$wx_cv_use_togglebtn"
11803
11804 if test x"$enablestring" = xdisable; then
11805 if test $wxUSE_TOGGLEBTN = yes; then
11806 result=no
11807 else
11808 result=yes
11809 fi
11810 else
11811 result=$wxUSE_TOGGLEBTN
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}-toolbar" >&5
11829 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11830 # Check whether --enable-toolbar was given.
11831 if test "${enable_toolbar+set}" = set; then
11832 enableval=$enable_toolbar;
11833 if test "$enableval" = yes; then
11834 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11835 else
11836 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11837 fi
11838
11839 else
11840
11841 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11842
11843 fi
11844
11845
11846 eval "$wx_cv_use_toolbar"
11847
11848 if test x"$enablestring" = xdisable; then
11849 if test $wxUSE_TOOLBAR = yes; then
11850 result=no
11851 else
11852 result=yes
11853 fi
11854 else
11855 result=$wxUSE_TOOLBAR
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}-tbarnative" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11874 # Check whether --enable-tbarnative was given.
11875 if test "${enable_tbarnative+set}" = set; then
11876 enableval=$enable_tbarnative;
11877 if test "$enableval" = yes; then
11878 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11879 else
11880 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11881 fi
11882
11883 else
11884
11885 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11886
11887 fi
11888
11889
11890 eval "$wx_cv_use_tbarnative"
11891
11892 if test x"$enablestring" = xdisable; then
11893 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11894 result=no
11895 else
11896 result=yes
11897 fi
11898 else
11899 result=$wxUSE_TOOLBAR_NATIVE
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}-treebook" >&5
11917 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11918 # Check whether --enable-treebook was given.
11919 if test "${enable_treebook+set}" = set; then
11920 enableval=$enable_treebook;
11921 if test "$enableval" = yes; then
11922 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11923 else
11924 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11925 fi
11926
11927 else
11928
11929 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11930
11931 fi
11932
11933
11934 eval "$wx_cv_use_treebook"
11935
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_TREEBOOK = yes; then
11938 result=no
11939 else
11940 result=yes
11941 fi
11942 else
11943 result=$wxUSE_TREEBOOK
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}-toolbook" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11962 # Check whether --enable-toolbook was given.
11963 if test "${enable_toolbook+set}" = set; then
11964 enableval=$enable_toolbook;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11967 else
11968 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11969 fi
11970
11971 else
11972
11973 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11974
11975 fi
11976
11977
11978 eval "$wx_cv_use_toolbook"
11979
11980 if test x"$enablestring" = xdisable; then
11981 if test $wxUSE_TOOLBOOK = yes; then
11982 result=no
11983 else
11984 result=yes
11985 fi
11986 else
11987 result=$wxUSE_TOOLBOOK
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}-treectrl" >&5
12005 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12006 # Check whether --enable-treectrl was given.
12007 if test "${enable_treectrl+set}" = set; then
12008 enableval=$enable_treectrl;
12009 if test "$enableval" = yes; then
12010 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12011 else
12012 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12013 fi
12014
12015 else
12016
12017 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12018
12019 fi
12020
12021
12022 eval "$wx_cv_use_treectrl"
12023
12024 if test x"$enablestring" = xdisable; then
12025 if test $wxUSE_TREECTRL = yes; then
12026 result=no
12027 else
12028 result=yes
12029 fi
12030 else
12031 result=$wxUSE_TREECTRL
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}-tipwindow" >&5
12049 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12050 # Check whether --enable-tipwindow was given.
12051 if test "${enable_tipwindow+set}" = set; then
12052 enableval=$enable_tipwindow;
12053 if test "$enableval" = yes; then
12054 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12055 else
12056 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12057 fi
12058
12059 else
12060
12061 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12062
12063 fi
12064
12065
12066 eval "$wx_cv_use_tipwindow"
12067
12068 if test x"$enablestring" = xdisable; then
12069 if test $wxUSE_TIPWINDOW = yes; then
12070 result=no
12071 else
12072 result=yes
12073 fi
12074 else
12075 result=$wxUSE_TIPWINDOW
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}-popupwin" >&5
12093 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12094 # Check whether --enable-popupwin was given.
12095 if test "${enable_popupwin+set}" = set; then
12096 enableval=$enable_popupwin;
12097 if test "$enableval" = yes; then
12098 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12099 else
12100 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12101 fi
12102
12103 else
12104
12105 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12106
12107 fi
12108
12109
12110 eval "$wx_cv_use_popupwin"
12111
12112 if test x"$enablestring" = xdisable; then
12113 if test $wxUSE_POPUPWIN = yes; then
12114 result=no
12115 else
12116 result=yes
12117 fi
12118 else
12119 result=$wxUSE_POPUPWIN
12120 fi
12121
12122 { echo "$as_me:$LINENO: result: $result" >&5
12123 echo "${ECHO_T}$result" >&6; }
12124
12125
12126
12127
12128 enablestring=
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12132 defaultval=yes
12133 else
12134 defaultval=no
12135 fi
12136 fi
12137
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12140 # Check whether --enable-commondlg was given.
12141 if test "${enable_commondlg+set}" = set; then
12142 enableval=$enable_commondlg;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12145 else
12146 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12147 fi
12148
12149 else
12150
12151 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12152
12153 fi
12154
12155
12156 eval "$wx_cv_use_commondlg"
12157
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_COMMONDLGS = yes; then
12160 result=no
12161 else
12162 result=yes
12163 fi
12164 else
12165 result=$wxUSE_COMMONDLGS
12166 fi
12167
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
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}-aboutdlg" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12184 # Check whether --enable-aboutdlg was given.
12185 if test "${enable_aboutdlg+set}" = set; then
12186 enableval=$enable_aboutdlg;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12189 else
12190 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12191 fi
12192
12193 else
12194
12195 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12196
12197 fi
12198
12199
12200 eval "$wx_cv_use_aboutdlg"
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_ABOUTDLG = yes; then
12204 result=no
12205 else
12206 result=yes
12207 fi
12208 else
12209 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12228 # Check whether --enable-choicedlg was given.
12229 if test "${enable_choicedlg+set}" = set; then
12230 enableval=$enable_choicedlg;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12233 else
12234 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12235 fi
12236
12237 else
12238
12239 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12240
12241 fi
12242
12243
12244 eval "$wx_cv_use_choicedlg"
12245
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_CHOICEDLG = yes; then
12248 result=no
12249 else
12250 result=yes
12251 fi
12252 else
12253 result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12272 # Check whether --enable-coldlg was given.
12273 if test "${enable_coldlg+set}" = set; then
12274 enableval=$enable_coldlg;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12277 else
12278 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12279 fi
12280
12281 else
12282
12283 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12284
12285 fi
12286
12287
12288 eval "$wx_cv_use_coldlg"
12289
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_COLOURDLG = yes; then
12292 result=no
12293 else
12294 result=yes
12295 fi
12296 else
12297 result=$wxUSE_COLOURDLG
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}-filedlg" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12316 # Check whether --enable-filedlg was given.
12317 if test "${enable_filedlg+set}" = set; then
12318 enableval=$enable_filedlg;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12321 else
12322 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12323 fi
12324
12325 else
12326
12327 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_filedlg"
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_FILEDLG = yes; then
12336 result=no
12337 else
12338 result=yes
12339 fi
12340 else
12341 result=$wxUSE_FILEDLG
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}-finddlg" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12360 # Check whether --enable-finddlg was given.
12361 if test "${enable_finddlg+set}" = set; then
12362 enableval=$enable_finddlg;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12365 else
12366 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12367 fi
12368
12369 else
12370
12371 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12372
12373 fi
12374
12375
12376 eval "$wx_cv_use_finddlg"
12377
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_FINDREPLDLG = yes; then
12380 result=no
12381 else
12382 result=yes
12383 fi
12384 else
12385 result=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12404 # Check whether --enable-fontdlg was given.
12405 if test "${enable_fontdlg+set}" = set; then
12406 enableval=$enable_fontdlg;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12409 else
12410 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12411 fi
12412
12413 else
12414
12415 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12416
12417 fi
12418
12419
12420 eval "$wx_cv_use_fontdlg"
12421
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_FONTDLG = yes; then
12424 result=no
12425 else
12426 result=yes
12427 fi
12428 else
12429 result=$wxUSE_FONTDLG
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}-dirdlg" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12448 # Check whether --enable-dirdlg was given.
12449 if test "${enable_dirdlg+set}" = set; then
12450 enableval=$enable_dirdlg;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12453 else
12454 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12455 fi
12456
12457 else
12458
12459 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12460
12461 fi
12462
12463
12464 eval "$wx_cv_use_dirdlg"
12465
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_DIRDLG = yes; then
12468 result=no
12469 else
12470 result=yes
12471 fi
12472 else
12473 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12492 # Check whether --enable-msgdlg was given.
12493 if test "${enable_msgdlg+set}" = set; then
12494 enableval=$enable_msgdlg;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12497 else
12498 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12499 fi
12500
12501 else
12502
12503 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12504
12505 fi
12506
12507
12508 eval "$wx_cv_use_msgdlg"
12509
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_MSGDLG = yes; then
12512 result=no
12513 else
12514 result=yes
12515 fi
12516 else
12517 result=$wxUSE_MSGDLG
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}-numberdlg" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12536 # Check whether --enable-numberdlg was given.
12537 if test "${enable_numberdlg+set}" = set; then
12538 enableval=$enable_numberdlg;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12541 else
12542 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12543 fi
12544
12545 else
12546
12547 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12548
12549 fi
12550
12551
12552 eval "$wx_cv_use_numberdlg"
12553
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_NUMBERDLG = yes; then
12556 result=no
12557 else
12558 result=yes
12559 fi
12560 else
12561 result=$wxUSE_NUMBERDLG
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}-splash" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12580 # Check whether --enable-splash was given.
12581 if test "${enable_splash+set}" = set; then
12582 enableval=$enable_splash;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_splash='wxUSE_SPLASH=yes'
12585 else
12586 wx_cv_use_splash='wxUSE_SPLASH=no'
12587 fi
12588
12589 else
12590
12591 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12592
12593 fi
12594
12595
12596 eval "$wx_cv_use_splash"
12597
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_SPLASH = yes; then
12600 result=no
12601 else
12602 result=yes
12603 fi
12604 else
12605 result=$wxUSE_SPLASH
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}-textdlg" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12624 # Check whether --enable-textdlg was given.
12625 if test "${enable_textdlg+set}" = set; then
12626 enableval=$enable_textdlg;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12629 else
12630 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12631 fi
12632
12633 else
12634
12635 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12636
12637 fi
12638
12639
12640 eval "$wx_cv_use_textdlg"
12641
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TEXTDLG = yes; then
12644 result=no
12645 else
12646 result=yes
12647 fi
12648 else
12649 result=$wxUSE_TEXTDLG
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}-tipdlg" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12668 # Check whether --enable-tipdlg was given.
12669 if test "${enable_tipdlg+set}" = set; then
12670 enableval=$enable_tipdlg;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12673 else
12674 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12675 fi
12676
12677 else
12678
12679 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12680
12681 fi
12682
12683
12684 eval "$wx_cv_use_tipdlg"
12685
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_STARTUP_TIPS = yes; then
12688 result=no
12689 else
12690 result=yes
12691 fi
12692 else
12693 result=$wxUSE_STARTUP_TIPS
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}-progressdlg" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12712 # Check whether --enable-progressdlg was given.
12713 if test "${enable_progressdlg+set}" = set; then
12714 enableval=$enable_progressdlg;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12717 else
12718 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12719 fi
12720
12721 else
12722
12723 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12724
12725 fi
12726
12727
12728 eval "$wx_cv_use_progressdlg"
12729
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_PROGRESSDLG = yes; then
12732 result=no
12733 else
12734 result=yes
12735 fi
12736 else
12737 result=$wxUSE_PROGRESSDLG
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}-wizarddlg" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12756 # Check whether --enable-wizarddlg was given.
12757 if test "${enable_wizarddlg+set}" = set; then
12758 enableval=$enable_wizarddlg;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12761 else
12762 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12763 fi
12764
12765 else
12766
12767 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_wizarddlg"
12773
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_WIZARDDLG = yes; then
12776 result=no
12777 else
12778 result=yes
12779 fi
12780 else
12781 result=$wxUSE_WIZARDDLG
12782 fi
12783
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12786
12787
12788
12789
12790 enablestring=
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12794 defaultval=yes
12795 else
12796 defaultval=no
12797 fi
12798 fi
12799
12800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12801 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12802 # Check whether --enable-menus was given.
12803 if test "${enable_menus+set}" = set; then
12804 enableval=$enable_menus;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_menus='wxUSE_MENUS=yes'
12807 else
12808 wx_cv_use_menus='wxUSE_MENUS=no'
12809 fi
12810
12811 else
12812
12813 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12814
12815 fi
12816
12817
12818 eval "$wx_cv_use_menus"
12819
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_MENUS = yes; then
12822 result=no
12823 else
12824 result=yes
12825 fi
12826 else
12827 result=$wxUSE_MENUS
12828 fi
12829
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
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}-miniframe" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12846 # Check whether --enable-miniframe was given.
12847 if test "${enable_miniframe+set}" = set; then
12848 enableval=$enable_miniframe;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12851 else
12852 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_miniframe"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_MINIFRAME = yes; then
12866 result=no
12867 else
12868 result=yes
12869 fi
12870 else
12871 result=$wxUSE_MINIFRAME
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}-tooltips" >&5
12889 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12890 # Check whether --enable-tooltips was given.
12891 if test "${enable_tooltips+set}" = set; then
12892 enableval=$enable_tooltips;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12895 else
12896 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_tooltips"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TOOLTIPS = yes; then
12910 result=no
12911 else
12912 result=yes
12913 fi
12914 else
12915 result=$wxUSE_TOOLTIPS
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}-splines" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12934 # Check whether --enable-splines was given.
12935 if test "${enable_splines+set}" = set; then
12936 enableval=$enable_splines;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_splines='wxUSE_SPLINES=yes'
12939 else
12940 wx_cv_use_splines='wxUSE_SPLINES=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_splines"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_SPLINES = yes; then
12954 result=no
12955 else
12956 result=yes
12957 fi
12958 else
12959 result=$wxUSE_SPLINES
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}-mousewheel" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12978 # Check whether --enable-mousewheel was given.
12979 if test "${enable_mousewheel+set}" = set; then
12980 enableval=$enable_mousewheel;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12983 else
12984 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_mousewheel"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_MOUSEWHEEL = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13022 # Check whether --enable-validators was given.
13023 if test "${enable_validators+set}" = set; then
13024 enableval=$enable_validators;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13027 else
13028 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13029 fi
13030
13031 else
13032
13033 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13034
13035 fi
13036
13037
13038 eval "$wx_cv_use_validators"
13039
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_VALIDATORS = yes; then
13042 result=no
13043 else
13044 result=yes
13045 fi
13046 else
13047 result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13066 # Check whether --enable-busyinfo was given.
13067 if test "${enable_busyinfo+set}" = set; then
13068 enableval=$enable_busyinfo;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13071 else
13072 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13073 fi
13074
13075 else
13076
13077 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_busyinfo"
13083
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_BUSYINFO = yes; then
13086 result=no
13087 else
13088 result=yes
13089 fi
13090 else
13091 result=$wxUSE_BUSYINFO
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}-joystick" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13110 # Check whether --enable-joystick was given.
13111 if test "${enable_joystick+set}" = set; then
13112 enableval=$enable_joystick;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13115 else
13116 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13117 fi
13118
13119 else
13120
13121 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_joystick"
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_JOYSTICK = yes; then
13130 result=no
13131 else
13132 result=yes
13133 fi
13134 else
13135 result=$wxUSE_JOYSTICK
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}-metafile" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13154 # Check whether --enable-metafile was given.
13155 if test "${enable_metafile+set}" = set; then
13156 enableval=$enable_metafile;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13159 else
13160 wx_cv_use_metafile='wxUSE_METAFILE=no'
13161 fi
13162
13163 else
13164
13165 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13166
13167 fi
13168
13169
13170 eval "$wx_cv_use_metafile"
13171
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_METAFILE = yes; then
13174 result=no
13175 else
13176 result=yes
13177 fi
13178 else
13179 result=$wxUSE_METAFILE
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}-dragimage" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13198 # Check whether --enable-dragimage was given.
13199 if test "${enable_dragimage+set}" = set; then
13200 enableval=$enable_dragimage;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13203 else
13204 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13205 fi
13206
13207 else
13208
13209 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_dragimage"
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_DRAGIMAGE = yes; then
13218 result=no
13219 else
13220 result=yes
13221 fi
13222 else
13223 result=$wxUSE_DRAGIMAGE
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}-accessibility" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13242 # Check whether --enable-accessibility was given.
13243 if test "${enable_accessibility+set}" = set; then
13244 enableval=$enable_accessibility;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13247 else
13248 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13249 fi
13250
13251 else
13252
13253 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_accessibility"
13259
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_ACCESSIBILITY = yes; then
13262 result=no
13263 else
13264 result=yes
13265 fi
13266 else
13267 result=$wxUSE_ACCESSIBILITY
13268 fi
13269
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13272
13273
13274
13275
13276 enablestring=
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13280 defaultval=yes
13281 else
13282 defaultval=no
13283 fi
13284 fi
13285
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13288 # Check whether --enable-palette was given.
13289 if test "${enable_palette+set}" = set; then
13290 enableval=$enable_palette;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_palette='wxUSE_PALETTE=yes'
13293 else
13294 wx_cv_use_palette='wxUSE_PALETTE=no'
13295 fi
13296
13297 else
13298
13299 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13300
13301 fi
13302
13303
13304 eval "$wx_cv_use_palette"
13305
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_PALETTE = yes; then
13308 result=no
13309 else
13310 result=yes
13311 fi
13312 else
13313 result=$wxUSE_PALETTE
13314 fi
13315
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
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}-image" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13332 # Check whether --enable-image was given.
13333 if test "${enable_image+set}" = set; then
13334 enableval=$enable_image;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_image='wxUSE_IMAGE=yes'
13337 else
13338 wx_cv_use_image='wxUSE_IMAGE=no'
13339 fi
13340
13341 else
13342
13343 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13344
13345 fi
13346
13347
13348 eval "$wx_cv_use_image"
13349
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_IMAGE = yes; then
13352 result=no
13353 else
13354 result=yes
13355 fi
13356 else
13357 result=$wxUSE_IMAGE
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}-gif" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13376 # Check whether --enable-gif was given.
13377 if test "${enable_gif+set}" = set; then
13378 enableval=$enable_gif;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_gif='wxUSE_GIF=yes'
13381 else
13382 wx_cv_use_gif='wxUSE_GIF=no'
13383 fi
13384
13385 else
13386
13387 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13388
13389 fi
13390
13391
13392 eval "$wx_cv_use_gif"
13393
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_GIF = yes; then
13396 result=no
13397 else
13398 result=yes
13399 fi
13400 else
13401 result=$wxUSE_GIF
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}-pcx" >&5
13419 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13420 # Check whether --enable-pcx was given.
13421 if test "${enable_pcx+set}" = set; then
13422 enableval=$enable_pcx;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_pcx='wxUSE_PCX=yes'
13425 else
13426 wx_cv_use_pcx='wxUSE_PCX=no'
13427 fi
13428
13429 else
13430
13431 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13432
13433 fi
13434
13435
13436 eval "$wx_cv_use_pcx"
13437
13438 if test x"$enablestring" = xdisable; then
13439 if test $wxUSE_PCX = yes; then
13440 result=no
13441 else
13442 result=yes
13443 fi
13444 else
13445 result=$wxUSE_PCX
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}-tga" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13464 # Check whether --enable-tga was given.
13465 if test "${enable_tga+set}" = set; then
13466 enableval=$enable_tga;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_tga='wxUSE_TGA=yes'
13469 else
13470 wx_cv_use_tga='wxUSE_TGA=no'
13471 fi
13472
13473 else
13474
13475 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13476
13477 fi
13478
13479
13480 eval "$wx_cv_use_tga"
13481
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_TGA = yes; then
13484 result=no
13485 else
13486 result=yes
13487 fi
13488 else
13489 result=$wxUSE_TGA
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}-iff" >&5
13507 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13508 # Check whether --enable-iff was given.
13509 if test "${enable_iff+set}" = set; then
13510 enableval=$enable_iff;
13511 if test "$enableval" = yes; then
13512 wx_cv_use_iff='wxUSE_IFF=yes'
13513 else
13514 wx_cv_use_iff='wxUSE_IFF=no'
13515 fi
13516
13517 else
13518
13519 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_iff"
13525
13526 if test x"$enablestring" = xdisable; then
13527 if test $wxUSE_IFF = yes; then
13528 result=no
13529 else
13530 result=yes
13531 fi
13532 else
13533 result=$wxUSE_IFF
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}-pnm" >&5
13551 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13552 # Check whether --enable-pnm was given.
13553 if test "${enable_pnm+set}" = set; then
13554 enableval=$enable_pnm;
13555 if test "$enableval" = yes; then
13556 wx_cv_use_pnm='wxUSE_PNM=yes'
13557 else
13558 wx_cv_use_pnm='wxUSE_PNM=no'
13559 fi
13560
13561 else
13562
13563 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13564
13565 fi
13566
13567
13568 eval "$wx_cv_use_pnm"
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_PNM = yes; then
13572 result=no
13573 else
13574 result=yes
13575 fi
13576 else
13577 result=$wxUSE_PNM
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}-xpm" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13596 # Check whether --enable-xpm was given.
13597 if test "${enable_xpm+set}" = set; then
13598 enableval=$enable_xpm;
13599 if test "$enableval" = yes; then
13600 wx_cv_use_xpm='wxUSE_XPM=yes'
13601 else
13602 wx_cv_use_xpm='wxUSE_XPM=no'
13603 fi
13604
13605 else
13606
13607 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_xpm"
13613
13614 if test x"$enablestring" = xdisable; then
13615 if test $wxUSE_XPM = yes; then
13616 result=no
13617 else
13618 result=yes
13619 fi
13620 else
13621 result=$wxUSE_XPM
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}-ico_cur" >&5
13639 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13640 # Check whether --enable-ico_cur was given.
13641 if test "${enable_ico_cur+set}" = set; then
13642 enableval=$enable_ico_cur;
13643 if test "$enableval" = yes; then
13644 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13645 else
13646 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13647 fi
13648
13649 else
13650
13651 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13652
13653 fi
13654
13655
13656 eval "$wx_cv_use_ico_cur"
13657
13658 if test x"$enablestring" = xdisable; then
13659 if test $wxUSE_ICO_CUR = yes; then
13660 result=no
13661 else
13662 result=yes
13663 fi
13664 else
13665 result=$wxUSE_ICO_CUR
13666 fi
13667
13668 { echo "$as_me:$LINENO: result: $result" >&5
13669 echo "${ECHO_T}$result" >&6; }
13670
13671
13672
13673
13674 enablestring=
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13678 defaultval=yes
13679 else
13680 defaultval=no
13681 fi
13682 fi
13683
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13686 # Check whether --enable-dccache was given.
13687 if test "${enable_dccache+set}" = set; then
13688 enableval=$enable_dccache;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13691 else
13692 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13693 fi
13694
13695 else
13696
13697 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13698
13699 fi
13700
13701
13702 eval "$wx_cv_use_dccache"
13703
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_DC_CACHEING = yes; then
13706 result=no
13707 else
13708 result=yes
13709 fi
13710 else
13711 result=$wxUSE_DC_CACHEING
13712 fi
13713
13714 { echo "$as_me:$LINENO: result: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
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}-ps-in-msw" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13730 # Check whether --enable-ps-in-msw was given.
13731 if test "${enable_ps_in_msw+set}" = set; then
13732 enableval=$enable_ps_in_msw;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13735 else
13736 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13737 fi
13738
13739 else
13740
13741 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13742
13743 fi
13744
13745
13746 eval "$wx_cv_use_ps_in_msw"
13747
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13750 result=no
13751 else
13752 result=yes
13753 fi
13754 else
13755 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
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}-ownerdrawn" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13774 # Check whether --enable-ownerdrawn was given.
13775 if test "${enable_ownerdrawn+set}" = set; then
13776 enableval=$enable_ownerdrawn;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13779 else
13780 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13781 fi
13782
13783 else
13784
13785 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13786
13787 fi
13788
13789
13790 eval "$wx_cv_use_ownerdrawn"
13791
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_OWNER_DRAWN = yes; then
13794 result=no
13795 else
13796 result=yes
13797 fi
13798 else
13799 result=$wxUSE_OWNER_DRAWN
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}-uxtheme" >&5
13817 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13818 # Check whether --enable-uxtheme was given.
13819 if test "${enable_uxtheme+set}" = set; then
13820 enableval=$enable_uxtheme;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13823 else
13824 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13825 fi
13826
13827 else
13828
13829 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13830
13831 fi
13832
13833
13834 eval "$wx_cv_use_uxtheme"
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_UXTHEME = yes; then
13838 result=no
13839 else
13840 result=yes
13841 fi
13842 else
13843 result=$wxUSE_UXTHEME
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}-wxdib" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13862 # Check whether --enable-wxdib was given.
13863 if test "${enable_wxdib+set}" = set; then
13864 enableval=$enable_wxdib;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_wxdib='wxUSE_DIB=yes'
13867 else
13868 wx_cv_use_wxdib='wxUSE_DIB=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_wxdib"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_DIB = yes; then
13882 result=no
13883 else
13884 result=yes
13885 fi
13886 else
13887 result=$wxUSE_DIB
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894 if test "$wxUSE_MSW" != 1; then
13895 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13896 fi
13897
13898
13899 enablestring=
13900 defaultval=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x"$enablestring" = xdisable; then
13903 defaultval=yes
13904 else
13905 defaultval=no
13906 fi
13907 fi
13908
13909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13910 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13911 # Check whether --enable-autoidman was given.
13912 if test "${enable_autoidman+set}" = set; then
13913 enableval=$enable_autoidman;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13916 else
13917 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13918 fi
13919
13920 else
13921
13922 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13923
13924 fi
13925
13926
13927 eval "$wx_cv_use_autoidman"
13928
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13931 result=no
13932 else
13933 result=yes
13934 fi
13935 else
13936 result=$wxUSE_AUTOID_MANAGEMENT
13937 fi
13938
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13941
13942
13943 fi
13944
13945
13946 cat >confcache <<\_ACEOF
13947 # This file is a shell script that caches the results of configure
13948 # tests run on this system so they can be shared between configure
13949 # scripts and configure runs, see configure's option --config-cache.
13950 # It is not useful on other systems. If it contains results you don't
13951 # want to keep, you may remove or edit it.
13952 #
13953 # config.status only pays attention to the cache file if you give it
13954 # the --recheck option to rerun configure.
13955 #
13956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13958 # following values.
13959
13960 _ACEOF
13961
13962 # The following way of writing the cache mishandles newlines in values,
13963 # but we know of no workaround that is simple, portable, and efficient.
13964 # So, we kill variables containing newlines.
13965 # Ultrix sh set writes to stderr and can't be redirected directly,
13966 # and sets the high bit in the cache file unless we assign to the vars.
13967 (
13968 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13969 eval ac_val=\$$ac_var
13970 case $ac_val in #(
13971 *${as_nl}*)
13972 case $ac_var in #(
13973 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13974 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13975 esac
13976 case $ac_var in #(
13977 _ | IFS | as_nl) ;; #(
13978 *) $as_unset $ac_var ;;
13979 esac ;;
13980 esac
13981 done
13982
13983 (set) 2>&1 |
13984 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13985 *${as_nl}ac_space=\ *)
13986 # `set' does not quote correctly, so add quotes (double-quote
13987 # substitution turns \\\\ into \\, and sed turns \\ into \).
13988 sed -n \
13989 "s/'/'\\\\''/g;
13990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13991 ;; #(
13992 *)
13993 # `set' quotes correctly as required by POSIX, so do not add quotes.
13994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13995 ;;
13996 esac |
13997 sort
13998 ) |
13999 sed '
14000 /^ac_cv_env_/b end
14001 t clear
14002 :clear
14003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14004 t end
14005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14006 :end' >>confcache
14007 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14008 if test -w "$cache_file"; then
14009 test "x$cache_file" != "x/dev/null" &&
14010 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14011 echo "$as_me: updating cache $cache_file" >&6;}
14012 cat confcache >$cache_file
14013 else
14014 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14015 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14016 fi
14017 fi
14018 rm -f confcache
14019
14020 CFLAGS=${CFLAGS:=}
14021
14022
14023
14024 ac_ext=c
14025 ac_cpp='$CPP $CPPFLAGS'
14026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14029 if test -n "$ac_tool_prefix"; then
14030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14034 if test "${ac_cv_prog_CC+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 else
14037 if test -n "$CC"; then
14038 ac_cv_prog_CC="$CC" # Let the user override the test.
14039 else
14040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14041 for as_dir in $PATH
14042 do
14043 IFS=$as_save_IFS
14044 test -z "$as_dir" && as_dir=.
14045 for ac_exec_ext in '' $ac_executable_extensions; do
14046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14049 break 2
14050 fi
14051 done
14052 done
14053 IFS=$as_save_IFS
14054
14055 fi
14056 fi
14057 CC=$ac_cv_prog_CC
14058 if test -n "$CC"; then
14059 { echo "$as_me:$LINENO: result: $CC" >&5
14060 echo "${ECHO_T}$CC" >&6; }
14061 else
14062 { echo "$as_me:$LINENO: result: no" >&5
14063 echo "${ECHO_T}no" >&6; }
14064 fi
14065
14066
14067 fi
14068 if test -z "$ac_cv_prog_CC"; then
14069 ac_ct_CC=$CC
14070 # Extract the first word of "gcc", so it can be a program name with args.
14071 set dummy gcc; ac_word=$2
14072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 if test -n "$ac_ct_CC"; then
14078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14079 else
14080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14081 for as_dir in $PATH
14082 do
14083 IFS=$as_save_IFS
14084 test -z "$as_dir" && as_dir=.
14085 for ac_exec_ext in '' $ac_executable_extensions; do
14086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14087 ac_cv_prog_ac_ct_CC="gcc"
14088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14089 break 2
14090 fi
14091 done
14092 done
14093 IFS=$as_save_IFS
14094
14095 fi
14096 fi
14097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14098 if test -n "$ac_ct_CC"; then
14099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14100 echo "${ECHO_T}$ac_ct_CC" >&6; }
14101 else
14102 { echo "$as_me:$LINENO: result: no" >&5
14103 echo "${ECHO_T}no" >&6; }
14104 fi
14105
14106 if test "x$ac_ct_CC" = x; then
14107 CC=""
14108 else
14109 case $cross_compiling:$ac_tool_warned in
14110 yes:)
14111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14112 whose name does not start with the host triplet. If you think this
14113 configuration is useful to you, please write to autoconf@gnu.org." >&5
14114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14115 whose name does not start with the host triplet. If you think this
14116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14117 ac_tool_warned=yes ;;
14118 esac
14119 CC=$ac_ct_CC
14120 fi
14121 else
14122 CC="$ac_cv_prog_CC"
14123 fi
14124
14125 if test -z "$CC"; then
14126 if test -n "$ac_tool_prefix"; then
14127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14128 set dummy ${ac_tool_prefix}cc; ac_word=$2
14129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14131 if test "${ac_cv_prog_CC+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 else
14134 if test -n "$CC"; then
14135 ac_cv_prog_CC="$CC" # Let the user override the test.
14136 else
14137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14138 for as_dir in $PATH
14139 do
14140 IFS=$as_save_IFS
14141 test -z "$as_dir" && as_dir=.
14142 for ac_exec_ext in '' $ac_executable_extensions; do
14143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14144 ac_cv_prog_CC="${ac_tool_prefix}cc"
14145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14146 break 2
14147 fi
14148 done
14149 done
14150 IFS=$as_save_IFS
14151
14152 fi
14153 fi
14154 CC=$ac_cv_prog_CC
14155 if test -n "$CC"; then
14156 { echo "$as_me:$LINENO: result: $CC" >&5
14157 echo "${ECHO_T}$CC" >&6; }
14158 else
14159 { echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6; }
14161 fi
14162
14163
14164 fi
14165 fi
14166 if test -z "$CC"; then
14167 # Extract the first word of "cc", so it can be a program name with args.
14168 set dummy cc; ac_word=$2
14169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14171 if test "${ac_cv_prog_CC+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 else
14174 if test -n "$CC"; then
14175 ac_cv_prog_CC="$CC" # Let the user override the test.
14176 else
14177 ac_prog_rejected=no
14178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14179 for as_dir in $PATH
14180 do
14181 IFS=$as_save_IFS
14182 test -z "$as_dir" && as_dir=.
14183 for ac_exec_ext in '' $ac_executable_extensions; do
14184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14186 ac_prog_rejected=yes
14187 continue
14188 fi
14189 ac_cv_prog_CC="cc"
14190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 break 2
14192 fi
14193 done
14194 done
14195 IFS=$as_save_IFS
14196
14197 if test $ac_prog_rejected = yes; then
14198 # We found a bogon in the path, so make sure we never use it.
14199 set dummy $ac_cv_prog_CC
14200 shift
14201 if test $# != 0; then
14202 # We chose a different compiler from the bogus one.
14203 # However, it has the same basename, so the bogon will be chosen
14204 # first if we set CC to just the basename; use the full file name.
14205 shift
14206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14207 fi
14208 fi
14209 fi
14210 fi
14211 CC=$ac_cv_prog_CC
14212 if test -n "$CC"; then
14213 { echo "$as_me:$LINENO: result: $CC" >&5
14214 echo "${ECHO_T}$CC" >&6; }
14215 else
14216 { echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6; }
14218 fi
14219
14220
14221 fi
14222 if test -z "$CC"; then
14223 if test -n "$ac_tool_prefix"; then
14224 for ac_prog in cl.exe
14225 do
14226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14230 if test "${ac_cv_prog_CC+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 else
14233 if test -n "$CC"; then
14234 ac_cv_prog_CC="$CC" # Let the user override the test.
14235 else
14236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14237 for as_dir in $PATH
14238 do
14239 IFS=$as_save_IFS
14240 test -z "$as_dir" && as_dir=.
14241 for ac_exec_ext in '' $ac_executable_extensions; do
14242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14243 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14245 break 2
14246 fi
14247 done
14248 done
14249 IFS=$as_save_IFS
14250
14251 fi
14252 fi
14253 CC=$ac_cv_prog_CC
14254 if test -n "$CC"; then
14255 { echo "$as_me:$LINENO: result: $CC" >&5
14256 echo "${ECHO_T}$CC" >&6; }
14257 else
14258 { echo "$as_me:$LINENO: result: no" >&5
14259 echo "${ECHO_T}no" >&6; }
14260 fi
14261
14262
14263 test -n "$CC" && break
14264 done
14265 fi
14266 if test -z "$CC"; then
14267 ac_ct_CC=$CC
14268 for ac_prog in cl.exe
14269 do
14270 # Extract the first word of "$ac_prog", so it can be a program name with args.
14271 set dummy $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_ac_ct_CC+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 if test -n "$ac_ct_CC"; then
14278 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14298 if test -n "$ac_ct_CC"; then
14299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14300 echo "${ECHO_T}$ac_ct_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 "$ac_ct_CC" && break
14308 done
14309
14310 if test "x$ac_ct_CC" = x; then
14311 CC=""
14312 else
14313 case $cross_compiling:$ac_tool_warned in
14314 yes:)
14315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14316 whose name does not start with the host triplet. If you think this
14317 configuration is useful to you, please write to autoconf@gnu.org." >&5
14318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14319 whose name does not start with the host triplet. If you think this
14320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14321 ac_tool_warned=yes ;;
14322 esac
14323 CC=$ac_ct_CC
14324 fi
14325 fi
14326
14327 fi
14328
14329
14330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: no acceptable C compiler found in \$PATH
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14335
14336 # Provide some information about the compiler.
14337 echo "$as_me:$LINENO: checking for C compiler version" >&5
14338 ac_compiler=`set X $ac_compile; echo $2`
14339 { (ac_try="$ac_compiler --version >&5"
14340 case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14343 esac
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_compiler --version >&5") 2>&5
14346 ac_status=$?
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }
14349 { (ac_try="$ac_compiler -v >&5"
14350 case "(($ac_try" in
14351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14352 *) ac_try_echo=$ac_try;;
14353 esac
14354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14355 (eval "$ac_compiler -v >&5") 2>&5
14356 ac_status=$?
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }
14359 { (ac_try="$ac_compiler -V >&5"
14360 case "(($ac_try" in
14361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14362 *) ac_try_echo=$ac_try;;
14363 esac
14364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14365 (eval "$ac_compiler -V >&5") 2>&5
14366 ac_status=$?
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }
14369
14370 cat >conftest.$ac_ext <<_ACEOF
14371 /* confdefs.h. */
14372 _ACEOF
14373 cat confdefs.h >>conftest.$ac_ext
14374 cat >>conftest.$ac_ext <<_ACEOF
14375 /* end confdefs.h. */
14376
14377 int
14378 main ()
14379 {
14380
14381 ;
14382 return 0;
14383 }
14384 _ACEOF
14385 ac_clean_files_save=$ac_clean_files
14386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14387 # Try to create an executable without -o first, disregard a.out.
14388 # It will help us diagnose broken compilers, and finding out an intuition
14389 # of exeext.
14390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14393 #
14394 # List of possible output files, starting from the most likely.
14395 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14396 # only as a last resort. b.out is created by i960 compilers.
14397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14398 #
14399 # The IRIX 6 linker writes into existing files which may not be
14400 # executable, retaining their permissions. Remove them first so a
14401 # subsequent execution test works.
14402 ac_rmfiles=
14403 for ac_file in $ac_files
14404 do
14405 case $ac_file in
14406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14408 esac
14409 done
14410 rm -f $ac_rmfiles
14411
14412 if { (ac_try="$ac_link_default"
14413 case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14416 esac
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_link_default") 2>&5
14419 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; then
14422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14425 # so that the user can short-circuit this test for compilers unknown to
14426 # Autoconf.
14427 for ac_file in $ac_files ''
14428 do
14429 test -f "$ac_file" || continue
14430 case $ac_file in
14431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14432 ;;
14433 [ab].out )
14434 # We found the default executable, but exeext='' is most
14435 # certainly right.
14436 break;;
14437 *.* )
14438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14439 then :; else
14440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14441 fi
14442 # We set ac_cv_exeext here because the later test for it is not
14443 # safe: cross compilers may not add the suffix if given an `-o'
14444 # argument, so we may need to know it at that point already.
14445 # Even if this section looks crufty: it has the advantage of
14446 # actually working.
14447 break;;
14448 * )
14449 break;;
14450 esac
14451 done
14452 test "$ac_cv_exeext" = no && ac_cv_exeext=
14453
14454 else
14455 ac_file=''
14456 fi
14457
14458 { echo "$as_me:$LINENO: result: $ac_file" >&5
14459 echo "${ECHO_T}$ac_file" >&6; }
14460 if test -z "$ac_file"; then
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14463
14464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14465 See \`config.log' for more details." >&5
14466 echo "$as_me: error: C compiler cannot create executables
14467 See \`config.log' for more details." >&2;}
14468 { (exit 77); exit 77; }; }
14469 fi
14470
14471 ac_exeext=$ac_cv_exeext
14472
14473 # Check that the compiler produces executables we can run. If not, either
14474 # the compiler is broken, or we cross compile.
14475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14478 # If not cross compiling, check that we can run a simple program.
14479 if test "$cross_compiling" != yes; then
14480 if { ac_try='./$ac_file'
14481 { (case "(($ac_try" in
14482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14484 esac
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_try") 2>&5
14487 ac_status=$?
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); }; }; then
14490 cross_compiling=no
14491 else
14492 if test "$cross_compiling" = maybe; then
14493 cross_compiling=yes
14494 else
14495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14496 If you meant to cross compile, use \`--host'.
14497 See \`config.log' for more details." >&5
14498 echo "$as_me: error: cannot run C compiled programs.
14499 If you meant to cross compile, use \`--host'.
14500 See \`config.log' for more details." >&2;}
14501 { (exit 1); exit 1; }; }
14502 fi
14503 fi
14504 fi
14505 { echo "$as_me:$LINENO: result: yes" >&5
14506 echo "${ECHO_T}yes" >&6; }
14507
14508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14509 ac_clean_files=$ac_clean_files_save
14510 # Check that the compiler produces executables we can run. If not, either
14511 # the compiler is broken, or we cross compile.
14512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14515 echo "${ECHO_T}$cross_compiling" >&6; }
14516
14517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14519 if { (ac_try="$ac_link"
14520 case "(($ac_try" in
14521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14522 *) ac_try_echo=$ac_try;;
14523 esac
14524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14525 (eval "$ac_link") 2>&5
14526 ac_status=$?
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; then
14529 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14530 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14531 # work properly (i.e., refer to `conftest.exe'), while it won't with
14532 # `rm'.
14533 for ac_file in conftest.exe conftest conftest.*; do
14534 test -f "$ac_file" || continue
14535 case $ac_file in
14536 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14537 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14538 break;;
14539 * ) break;;
14540 esac
14541 done
14542 else
14543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14546 See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14548 fi
14549
14550 rm -f conftest$ac_cv_exeext
14551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14553
14554 rm -f conftest.$ac_ext
14555 EXEEXT=$ac_cv_exeext
14556 ac_exeext=$EXEEXT
14557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14559 if test "${ac_cv_objext+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 else
14562 cat >conftest.$ac_ext <<_ACEOF
14563 /* confdefs.h. */
14564 _ACEOF
14565 cat confdefs.h >>conftest.$ac_ext
14566 cat >>conftest.$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568
14569 int
14570 main ()
14571 {
14572
14573 ;
14574 return 0;
14575 }
14576 _ACEOF
14577 rm -f conftest.o conftest.obj
14578 if { (ac_try="$ac_compile"
14579 case "(($ac_try" in
14580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14581 *) ac_try_echo=$ac_try;;
14582 esac
14583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14584 (eval "$ac_compile") 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; then
14588 for ac_file in conftest.o conftest.obj conftest.*; do
14589 test -f "$ac_file" || continue;
14590 case $ac_file in
14591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14593 break;;
14594 esac
14595 done
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14601 See \`config.log' for more details." >&5
14602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14603 See \`config.log' for more details." >&2;}
14604 { (exit 1); exit 1; }; }
14605 fi
14606
14607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14608 fi
14609 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14610 echo "${ECHO_T}$ac_cv_objext" >&6; }
14611 OBJEXT=$ac_cv_objext
14612 ac_objext=$OBJEXT
14613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14614 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14617 else
14618 cat >conftest.$ac_ext <<_ACEOF
14619 /* confdefs.h. */
14620 _ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14624
14625 int
14626 main ()
14627 {
14628 #ifndef __GNUC__
14629 choke me
14630 #endif
14631
14632 ;
14633 return 0;
14634 }
14635 _ACEOF
14636 rm -f conftest.$ac_objext
14637 if { (ac_try="$ac_compile"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14641 esac
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compile") 2>conftest.er1
14644 ac_status=$?
14645 grep -v '^ *+' conftest.er1 >conftest.err
14646 rm -f conftest.er1
14647 cat conftest.err >&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); } && {
14650 test -z "$ac_c_werror_flag" ||
14651 test ! -s conftest.err
14652 } && test -s conftest.$ac_objext; then
14653 ac_compiler_gnu=yes
14654 else
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14657
14658 ac_compiler_gnu=no
14659 fi
14660
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14663
14664 fi
14665 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14666 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14667 GCC=`test $ac_compiler_gnu = yes && echo yes`
14668 ac_test_CFLAGS=${CFLAGS+set}
14669 ac_save_CFLAGS=$CFLAGS
14670 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14671 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14672 if test "${ac_cv_prog_cc_g+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675 ac_save_c_werror_flag=$ac_c_werror_flag
14676 ac_c_werror_flag=yes
14677 ac_cv_prog_cc_g=no
14678 CFLAGS="-g"
14679 cat >conftest.$ac_ext <<_ACEOF
14680 /* confdefs.h. */
14681 _ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685
14686 int
14687 main ()
14688 {
14689
14690 ;
14691 return 0;
14692 }
14693 _ACEOF
14694 rm -f conftest.$ac_objext
14695 if { (ac_try="$ac_compile"
14696 case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14699 esac
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_compile") 2>conftest.er1
14702 ac_status=$?
14703 grep -v '^ *+' conftest.er1 >conftest.err
14704 rm -f conftest.er1
14705 cat conftest.err >&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } && {
14708 test -z "$ac_c_werror_flag" ||
14709 test ! -s conftest.err
14710 } && test -s conftest.$ac_objext; then
14711 ac_cv_prog_cc_g=yes
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14715
14716 CFLAGS=""
14717 cat >conftest.$ac_ext <<_ACEOF
14718 /* confdefs.h. */
14719 _ACEOF
14720 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14723
14724 int
14725 main ()
14726 {
14727
14728 ;
14729 return 0;
14730 }
14731 _ACEOF
14732 rm -f conftest.$ac_objext
14733 if { (ac_try="$ac_compile"
14734 case "(($ac_try" in
14735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14737 esac
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_compile") 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } && {
14746 test -z "$ac_c_werror_flag" ||
14747 test ! -s conftest.err
14748 } && test -s conftest.$ac_objext; then
14749 :
14750 else
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14753
14754 ac_c_werror_flag=$ac_save_c_werror_flag
14755 CFLAGS="-g"
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762
14763 int
14764 main ()
14765 {
14766
14767 ;
14768 return 0;
14769 }
14770 _ACEOF
14771 rm -f conftest.$ac_objext
14772 if { (ac_try="$ac_compile"
14773 case "(($ac_try" in
14774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14775 *) ac_try_echo=$ac_try;;
14776 esac
14777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14778 (eval "$ac_compile") 2>conftest.er1
14779 ac_status=$?
14780 grep -v '^ *+' conftest.er1 >conftest.err
14781 rm -f conftest.er1
14782 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } && {
14785 test -z "$ac_c_werror_flag" ||
14786 test ! -s conftest.err
14787 } && test -s conftest.$ac_objext; then
14788 ac_cv_prog_cc_g=yes
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14792
14793
14794 fi
14795
14796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14797 fi
14798
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14800 fi
14801
14802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14804 fi
14805 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14807 if test "$ac_test_CFLAGS" = set; then
14808 CFLAGS=$ac_save_CFLAGS
14809 elif test $ac_cv_prog_cc_g = yes; then
14810 if test "$GCC" = yes; then
14811 CFLAGS="-g -O2"
14812 else
14813 CFLAGS="-g"
14814 fi
14815 else
14816 if test "$GCC" = yes; then
14817 CFLAGS="-O2"
14818 else
14819 CFLAGS=
14820 fi
14821 fi
14822 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14823 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14824 if test "${ac_cv_prog_cc_c89+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 else
14827 ac_cv_prog_cc_c89=no
14828 ac_save_CC=$CC
14829 cat >conftest.$ac_ext <<_ACEOF
14830 /* confdefs.h. */
14831 _ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 #include <stdarg.h>
14836 #include <stdio.h>
14837 #include <sys/types.h>
14838 #include <sys/stat.h>
14839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14840 struct buf { int x; };
14841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14842 static char *e (p, i)
14843 char **p;
14844 int i;
14845 {
14846 return p[i];
14847 }
14848 static char *f (char * (*g) (char **, int), char **p, ...)
14849 {
14850 char *s;
14851 va_list v;
14852 va_start (v,p);
14853 s = g (p, va_arg (v,int));
14854 va_end (v);
14855 return s;
14856 }
14857
14858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14859 function prototypes and stuff, but not '\xHH' hex character constants.
14860 These don't provoke an error unfortunately, instead are silently treated
14861 as 'x'. The following induces an error, until -std is added to get
14862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14863 array size at least. It's necessary to write '\x00'==0 to get something
14864 that's true only with -std. */
14865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14866
14867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14868 inside strings and character constants. */
14869 #define FOO(x) 'x'
14870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14871
14872 int test (int i, double x);
14873 struct s1 {int (*f) (int a);};
14874 struct s2 {int (*f) (double a);};
14875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14876 int argc;
14877 char **argv;
14878 int
14879 main ()
14880 {
14881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14882 ;
14883 return 0;
14884 }
14885 _ACEOF
14886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14888 do
14889 CC="$ac_save_CC $ac_arg"
14890 rm -f conftest.$ac_objext
14891 if { (ac_try="$ac_compile"
14892 case "(($ac_try" in
14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14895 esac
14896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_compile") 2>conftest.er1
14898 ac_status=$?
14899 grep -v '^ *+' conftest.er1 >conftest.err
14900 rm -f conftest.er1
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } && {
14904 test -z "$ac_c_werror_flag" ||
14905 test ! -s conftest.err
14906 } && test -s conftest.$ac_objext; then
14907 ac_cv_prog_cc_c89=$ac_arg
14908 else
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14911
14912
14913 fi
14914
14915 rm -f core conftest.err conftest.$ac_objext
14916 test "x$ac_cv_prog_cc_c89" != "xno" && break
14917 done
14918 rm -f conftest.$ac_ext
14919 CC=$ac_save_CC
14920
14921 fi
14922 # AC_CACHE_VAL
14923 case "x$ac_cv_prog_cc_c89" in
14924 x)
14925 { echo "$as_me:$LINENO: result: none needed" >&5
14926 echo "${ECHO_T}none needed" >&6; } ;;
14927 xno)
14928 { echo "$as_me:$LINENO: result: unsupported" >&5
14929 echo "${ECHO_T}unsupported" >&6; } ;;
14930 *)
14931 CC="$CC $ac_cv_prog_cc_c89"
14932 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14933 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14934 esac
14935
14936
14937 ac_ext=c
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14942
14943
14944
14945
14946 ac_ext=c
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14951
14952 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14953 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14954 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14956 else
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963
14964 int
14965 main ()
14966 {
14967
14968 #ifndef __INTEL_COMPILER
14969 choke me
14970 #endif
14971
14972 ;
14973 return 0;
14974 }
14975 _ACEOF
14976 rm -f conftest.$ac_objext
14977 if { (ac_try="$ac_compile"
14978 case "(($ac_try" in
14979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14980 *) ac_try_echo=$ac_try;;
14981 esac
14982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14983 (eval "$ac_compile") 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } && {
14990 test -z "$ac_c_werror_flag" ||
14991 test ! -s conftest.err
14992 } && test -s conftest.$ac_objext; then
14993 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14997
14998 bakefile_cv_c_compiler___INTEL_COMPILER=no
14999
15000 fi
15001
15002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15003
15004
15005 fi
15006 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15007 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15008 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15009 :; INTELCC=yes
15010 else
15011 :;
15012 fi
15013 ac_ext=c
15014 ac_cpp='$CPP $CPPFLAGS'
15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15018
15019
15020
15021
15022 if test "$INTELCC" = "yes"; then
15023
15024
15025 ac_ext=c
15026 ac_cpp='$CPP $CPPFLAGS'
15027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15030
15031 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15032 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15033 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 cat >conftest.$ac_ext <<_ACEOF
15037 /* confdefs.h. */
15038 _ACEOF
15039 cat confdefs.h >>conftest.$ac_ext
15040 cat >>conftest.$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15042
15043 int
15044 main ()
15045 {
15046
15047 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15048 choke me
15049 #endif
15050
15051 ;
15052 return 0;
15053 }
15054 _ACEOF
15055 rm -f conftest.$ac_objext
15056 if { (ac_try="$ac_compile"
15057 case "(($ac_try" in
15058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15059 *) ac_try_echo=$ac_try;;
15060 esac
15061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15062 (eval "$ac_compile") 2>conftest.er1
15063 ac_status=$?
15064 grep -v '^ *+' conftest.er1 >conftest.err
15065 rm -f conftest.er1
15066 cat conftest.err >&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } && {
15069 test -z "$ac_c_werror_flag" ||
15070 test ! -s conftest.err
15071 } && test -s conftest.$ac_objext; then
15072 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15073 else
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15076
15077 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15078
15079 fi
15080
15081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15082
15083
15084 fi
15085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15086 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15087 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15088 :; INTELCC8=yes
15089 else
15090 :;
15091 fi
15092 ac_ext=c
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15097
15098
15099
15100
15101
15102 ac_ext=c
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107
15108 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15109 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15110 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15113 cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h. */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119
15120 int
15121 main ()
15122 {
15123
15124 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15125 choke me
15126 #endif
15127
15128 ;
15129 return 0;
15130 }
15131 _ACEOF
15132 rm -f conftest.$ac_objext
15133 if { (ac_try="$ac_compile"
15134 case "(($ac_try" in
15135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15136 *) ac_try_echo=$ac_try;;
15137 esac
15138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15139 (eval "$ac_compile") 2>conftest.er1
15140 ac_status=$?
15141 grep -v '^ *+' conftest.er1 >conftest.err
15142 rm -f conftest.er1
15143 cat conftest.err >&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } && {
15146 test -z "$ac_c_werror_flag" ||
15147 test ! -s conftest.err
15148 } && test -s conftest.$ac_objext; then
15149 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15150 else
15151 echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.$ac_ext >&5
15153
15154 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15155
15156 fi
15157
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159
15160
15161 fi
15162 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15163 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15164 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15165 :; INTELCC10=yes
15166 else
15167 :;
15168 fi
15169 ac_ext=c
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15174
15175
15176
15177 fi
15178
15179 if test "x$GCC" != "xyes"; then
15180 if test "xCC" = "xC"; then
15181 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15182 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15183 if test "${bakefile_cv_c_exto+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 cat >conftest.$ac_ext <<_ACEOF
15187 /* confdefs.h. */
15188 _ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15192
15193 int
15194 main ()
15195 {
15196
15197 ;
15198 return 0;
15199 }
15200 _ACEOF
15201 rm -f conftest.$ac_objext conftest.$ac_ext.o
15202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15203 (eval $ac_compile) 2>&5
15204 ac_status=$?
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); }; then
15207 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15208 case $ac_file in
15209 conftest.$ac_ext.o)
15210 bakefile_cv_c_exto="-ext o"
15211 ;;
15212 *)
15213 ;;
15214 esac
15215 done
15216 else
15217 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15218 See \`config.log' for more details." >&5
15219 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15220 See \`config.log' for more details." >&2;}
15221 { (exit 1); exit 1; }; }
15222
15223 fi
15224
15225 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15226
15227 fi
15228 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15229 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15231 if test "c" = "c"; then
15232 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15233 fi
15234 if test "c" = "cxx"; then
15235 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15236 fi
15237 fi
15238
15239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15240 unset ac_cv_prog_cc_g
15241 ac_test_CFLAGS=${CFLAGS+set}
15242 ac_save_CFLAGS=$CFLAGS
15243 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15244 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15245 if test "${ac_cv_prog_cc_g+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 ac_save_c_werror_flag=$ac_c_werror_flag
15249 ac_c_werror_flag=yes
15250 ac_cv_prog_cc_g=no
15251 CFLAGS="-g"
15252 cat >conftest.$ac_ext <<_ACEOF
15253 /* confdefs.h. */
15254 _ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15258
15259 int
15260 main ()
15261 {
15262
15263 ;
15264 return 0;
15265 }
15266 _ACEOF
15267 rm -f conftest.$ac_objext
15268 if { (ac_try="$ac_compile"
15269 case "(($ac_try" in
15270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15271 *) ac_try_echo=$ac_try;;
15272 esac
15273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15274 (eval "$ac_compile") 2>conftest.er1
15275 ac_status=$?
15276 grep -v '^ *+' conftest.er1 >conftest.err
15277 rm -f conftest.er1
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } && {
15281 test -z "$ac_c_werror_flag" ||
15282 test ! -s conftest.err
15283 } && test -s conftest.$ac_objext; then
15284 ac_cv_prog_cc_g=yes
15285 else
15286 echo "$as_me: failed program was:" >&5
15287 sed 's/^/| /' conftest.$ac_ext >&5
15288
15289 CFLAGS=""
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296
15297 int
15298 main ()
15299 {
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15310 esac
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>conftest.er1
15313 ac_status=$?
15314 grep -v '^ *+' conftest.er1 >conftest.err
15315 rm -f conftest.er1
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest.$ac_objext; then
15322 :
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15326
15327 ac_c_werror_flag=$ac_save_c_werror_flag
15328 CFLAGS="-g"
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335
15336 int
15337 main ()
15338 {
15339
15340 ;
15341 return 0;
15342 }
15343 _ACEOF
15344 rm -f conftest.$ac_objext
15345 if { (ac_try="$ac_compile"
15346 case "(($ac_try" in
15347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15348 *) ac_try_echo=$ac_try;;
15349 esac
15350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351 (eval "$ac_compile") 2>conftest.er1
15352 ac_status=$?
15353 grep -v '^ *+' conftest.er1 >conftest.err
15354 rm -f conftest.er1
15355 cat conftest.err >&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } && {
15358 test -z "$ac_c_werror_flag" ||
15359 test ! -s conftest.err
15360 } && test -s conftest.$ac_objext; then
15361 ac_cv_prog_cc_g=yes
15362 else
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.$ac_ext >&5
15365
15366
15367 fi
15368
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15370 fi
15371
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15373 fi
15374
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376 ac_c_werror_flag=$ac_save_c_werror_flag
15377 fi
15378 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15379 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15380 if test "$ac_test_CFLAGS" = set; then
15381 CFLAGS=$ac_save_CFLAGS
15382 elif test $ac_cv_prog_cc_g = yes; then
15383 if test "$GCC" = yes; then
15384 CFLAGS="-g -O2"
15385 else
15386 CFLAGS="-g"
15387 fi
15388 else
15389 if test "$GCC" = yes; then
15390 CFLAGS="-O2"
15391 else
15392 CFLAGS=
15393 fi
15394 fi
15395 fi
15396 fi
15397
15398 case `uname -s` in
15399 AIX*)
15400
15401
15402 ac_ext=c
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15407
15408 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15409 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15410 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 else
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 #ifndef __xlC__
15425 choke me
15426 #endif
15427
15428 ;
15429 return 0;
15430 }
15431 _ACEOF
15432 rm -f conftest.$ac_objext
15433 if { (ac_try="$ac_compile"
15434 case "(($ac_try" in
15435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15436 *) ac_try_echo=$ac_try;;
15437 esac
15438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15439 (eval "$ac_compile") 2>conftest.er1
15440 ac_status=$?
15441 grep -v '^ *+' conftest.er1 >conftest.err
15442 rm -f conftest.er1
15443 cat conftest.err >&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } && {
15446 test -z "$ac_c_werror_flag" ||
15447 test ! -s conftest.err
15448 } && test -s conftest.$ac_objext; then
15449 bakefile_cv_c_compiler___xlC__=yes
15450 else
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15453
15454 bakefile_cv_c_compiler___xlC__=no
15455
15456 fi
15457
15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15459
15460
15461 fi
15462 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15463 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15464 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15465 :; XLCC=yes
15466 else
15467 :;
15468 fi
15469 ac_ext=c
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15474
15475
15476
15477 ;;
15478
15479 Darwin)
15480
15481
15482 ac_ext=c
15483 ac_cpp='$CPP $CPPFLAGS'
15484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487
15488 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15489 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15490 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 cat >conftest.$ac_ext <<_ACEOF
15494 /* confdefs.h. */
15495 _ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499
15500 int
15501 main ()
15502 {
15503
15504 #ifndef __MWERKS__
15505 choke me
15506 #endif
15507
15508 ;
15509 return 0;
15510 }
15511 _ACEOF
15512 rm -f conftest.$ac_objext
15513 if { (ac_try="$ac_compile"
15514 case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15517 esac
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_compile") 2>conftest.er1
15520 ac_status=$?
15521 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && {
15526 test -z "$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 } && test -s conftest.$ac_objext; then
15529 bakefile_cv_c_compiler___MWERKS__=yes
15530 else
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15533
15534 bakefile_cv_c_compiler___MWERKS__=no
15535
15536 fi
15537
15538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15539
15540
15541 fi
15542 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15543 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15544 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15545 :; MWCC=yes
15546 else
15547 :;
15548 fi
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555
15556
15557 if test "$MWCC" != "yes"; then
15558
15559
15560 ac_ext=c
15561 ac_cpp='$CPP $CPPFLAGS'
15562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565
15566 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15567 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15568 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15570 else
15571 cat >conftest.$ac_ext <<_ACEOF
15572 /* confdefs.h. */
15573 _ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577
15578 int
15579 main ()
15580 {
15581
15582 #ifndef __xlC__
15583 choke me
15584 #endif
15585
15586 ;
15587 return 0;
15588 }
15589 _ACEOF
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15595 esac
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15598 ac_status=$?
15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 bakefile_cv_c_compiler___xlC__=yes
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15611
15612 bakefile_cv_c_compiler___xlC__=no
15613
15614 fi
15615
15616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15617
15618
15619 fi
15620 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15621 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15622 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15623 :; XLCC=yes
15624 else
15625 :;
15626 fi
15627 ac_ext=c
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15632
15633
15634
15635 fi
15636 ;;
15637
15638 IRIX*)
15639
15640
15641 ac_ext=c
15642 ac_cpp='$CPP $CPPFLAGS'
15643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646
15647 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15648 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15649 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658
15659 int
15660 main ()
15661 {
15662
15663 #ifndef _SGI_COMPILER_VERSION
15664 choke me
15665 #endif
15666
15667 ;
15668 return 0;
15669 }
15670 _ACEOF
15671 rm -f conftest.$ac_objext
15672 if { (ac_try="$ac_compile"
15673 case "(($ac_try" in
15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15675 *) ac_try_echo=$ac_try;;
15676 esac
15677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15678 (eval "$ac_compile") 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } && {
15685 test -z "$ac_c_werror_flag" ||
15686 test ! -s conftest.err
15687 } && test -s conftest.$ac_objext; then
15688 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15689 else
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15692
15693 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15694
15695 fi
15696
15697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15698
15699
15700 fi
15701 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15702 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15703 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15704 :; SGICC=yes
15705 else
15706 :;
15707 fi
15708 ac_ext=c
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713
15714
15715
15716 ;;
15717
15718 Linux*)
15719 if test "$INTELCC" != "yes"; then
15720
15721
15722 ac_ext=c
15723 ac_cpp='$CPP $CPPFLAGS'
15724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15727
15728 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15729 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15730 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 else
15733 cat >conftest.$ac_ext <<_ACEOF
15734 /* confdefs.h. */
15735 _ACEOF
15736 cat confdefs.h >>conftest.$ac_ext
15737 cat >>conftest.$ac_ext <<_ACEOF
15738 /* end confdefs.h. */
15739
15740 int
15741 main ()
15742 {
15743
15744 #ifndef __SUNPRO_C
15745 choke me
15746 #endif
15747
15748 ;
15749 return 0;
15750 }
15751 _ACEOF
15752 rm -f conftest.$ac_objext
15753 if { (ac_try="$ac_compile"
15754 case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15757 esac
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_compile") 2>conftest.er1
15760 ac_status=$?
15761 grep -v '^ *+' conftest.er1 >conftest.err
15762 rm -f conftest.er1
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest.$ac_objext; then
15769 bakefile_cv_c_compiler___SUNPRO_C=yes
15770 else
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15773
15774 bakefile_cv_c_compiler___SUNPRO_C=no
15775
15776 fi
15777
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779
15780
15781 fi
15782 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15783 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15784 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15785 :; SUNCC=yes
15786 else
15787 :;
15788 fi
15789 ac_ext=c
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794
15795
15796
15797 fi
15798 ;;
15799
15800 HP-UX*)
15801
15802
15803 ac_ext=c
15804 ac_cpp='$CPP $CPPFLAGS'
15805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808
15809 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15810 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15811 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 else
15814 cat >conftest.$ac_ext <<_ACEOF
15815 /* confdefs.h. */
15816 _ACEOF
15817 cat confdefs.h >>conftest.$ac_ext
15818 cat >>conftest.$ac_ext <<_ACEOF
15819 /* end confdefs.h. */
15820
15821 int
15822 main ()
15823 {
15824
15825 #ifndef __HP_cc
15826 choke me
15827 #endif
15828
15829 ;
15830 return 0;
15831 }
15832 _ACEOF
15833 rm -f conftest.$ac_objext
15834 if { (ac_try="$ac_compile"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15838 esac
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_compile") 2>conftest.er1
15841 ac_status=$?
15842 grep -v '^ *+' conftest.er1 >conftest.err
15843 rm -f conftest.er1
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest.$ac_objext; then
15850 bakefile_cv_c_compiler___HP_cc=yes
15851 else
15852 echo "$as_me: failed program was:" >&5
15853 sed 's/^/| /' conftest.$ac_ext >&5
15854
15855 bakefile_cv_c_compiler___HP_cc=no
15856
15857 fi
15858
15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15860
15861
15862 fi
15863 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15864 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15865 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15866 :; HPCC=yes
15867 else
15868 :;
15869 fi
15870 ac_ext=c
15871 ac_cpp='$CPP $CPPFLAGS'
15872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15875
15876
15877
15878 ;;
15879
15880 OSF1)
15881
15882
15883 ac_ext=c
15884 ac_cpp='$CPP $CPPFLAGS'
15885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15888
15889 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15890 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15891 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 else
15894 cat >conftest.$ac_ext <<_ACEOF
15895 /* confdefs.h. */
15896 _ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15900
15901 int
15902 main ()
15903 {
15904
15905 #ifndef __DECC
15906 choke me
15907 #endif
15908
15909 ;
15910 return 0;
15911 }
15912 _ACEOF
15913 rm -f conftest.$ac_objext
15914 if { (ac_try="$ac_compile"
15915 case "(($ac_try" in
15916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15917 *) ac_try_echo=$ac_try;;
15918 esac
15919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15920 (eval "$ac_compile") 2>conftest.er1
15921 ac_status=$?
15922 grep -v '^ *+' conftest.er1 >conftest.err
15923 rm -f conftest.er1
15924 cat conftest.err >&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } && {
15927 test -z "$ac_c_werror_flag" ||
15928 test ! -s conftest.err
15929 } && test -s conftest.$ac_objext; then
15930 bakefile_cv_c_compiler___DECC=yes
15931 else
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15934
15935 bakefile_cv_c_compiler___DECC=no
15936
15937 fi
15938
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940
15941
15942 fi
15943 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15944 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15945 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15946 :; COMPAQCC=yes
15947 else
15948 :;
15949 fi
15950 ac_ext=c
15951 ac_cpp='$CPP $CPPFLAGS'
15952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15955
15956
15957
15958 ;;
15959
15960 SunOS)
15961
15962
15963 ac_ext=c
15964 ac_cpp='$CPP $CPPFLAGS'
15965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15968
15969 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15970 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15971 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980
15981 int
15982 main ()
15983 {
15984
15985 #ifndef __SUNPRO_C
15986 choke me
15987 #endif
15988
15989 ;
15990 return 0;
15991 }
15992 _ACEOF
15993 rm -f conftest.$ac_objext
15994 if { (ac_try="$ac_compile"
15995 case "(($ac_try" in
15996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997 *) ac_try_echo=$ac_try;;
15998 esac
15999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000 (eval "$ac_compile") 2>conftest.er1
16001 ac_status=$?
16002 grep -v '^ *+' conftest.er1 >conftest.err
16003 rm -f conftest.er1
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } && {
16007 test -z "$ac_c_werror_flag" ||
16008 test ! -s conftest.err
16009 } && test -s conftest.$ac_objext; then
16010 bakefile_cv_c_compiler___SUNPRO_C=yes
16011 else
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.$ac_ext >&5
16014
16015 bakefile_cv_c_compiler___SUNPRO_C=no
16016
16017 fi
16018
16019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16020
16021
16022 fi
16023 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16024 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16025 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16026 :; SUNCC=yes
16027 else
16028 :;
16029 fi
16030 ac_ext=c
16031 ac_cpp='$CPP $CPPFLAGS'
16032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035
16036
16037
16038 ;;
16039 esac
16040 fi
16041
16042
16043
16044 ac_ext=c
16045 ac_cpp='$CPP $CPPFLAGS'
16046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16051 # On Suns, sometimes $CPP names a directory.
16052 if test -n "$CPP" && test -d "$CPP"; then
16053 CPP=
16054 fi
16055 if test -z "$CPP"; then
16056 if test "${ac_cv_prog_CPP+set}" = set; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 else
16059 # Double quotes because CPP needs to be expanded
16060 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16061 do
16062 ac_preproc_ok=false
16063 for ac_c_preproc_warn_flag in '' yes
16064 do
16065 # Use a header file that comes with gcc, so configuring glibc
16066 # with a fresh cross-compiler works.
16067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16068 # <limits.h> exists even on freestanding compilers.
16069 # On the NeXT, cc -E runs the code through the compiler's parser,
16070 # not just through cpp. "Syntax error" is here to catch this case.
16071 cat >conftest.$ac_ext <<_ACEOF
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 #ifdef __STDC__
16078 # include <limits.h>
16079 #else
16080 # include <assert.h>
16081 #endif
16082 Syntax error
16083 _ACEOF
16084 if { (ac_try="$ac_cpp conftest.$ac_ext"
16085 case "(($ac_try" in
16086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16087 *) ac_try_echo=$ac_try;;
16088 esac
16089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16091 ac_status=$?
16092 grep -v '^ *+' conftest.er1 >conftest.err
16093 rm -f conftest.er1
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } >/dev/null && {
16097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16098 test ! -s conftest.err
16099 }; then
16100 :
16101 else
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16104
16105 # Broken: fails on valid input.
16106 continue
16107 fi
16108
16109 rm -f conftest.err conftest.$ac_ext
16110
16111 # OK, works on sane cases. Now check whether nonexistent headers
16112 # can be detected and how.
16113 cat >conftest.$ac_ext <<_ACEOF
16114 /* confdefs.h. */
16115 _ACEOF
16116 cat confdefs.h >>conftest.$ac_ext
16117 cat >>conftest.$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 #include <ac_nonexistent.h>
16120 _ACEOF
16121 if { (ac_try="$ac_cpp conftest.$ac_ext"
16122 case "(($ac_try" in
16123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124 *) ac_try_echo=$ac_try;;
16125 esac
16126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16128 ac_status=$?
16129 grep -v '^ *+' conftest.er1 >conftest.err
16130 rm -f conftest.er1
16131 cat conftest.err >&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } >/dev/null && {
16134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16135 test ! -s conftest.err
16136 }; then
16137 # Broken: success on invalid input.
16138 continue
16139 else
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16142
16143 # Passes both tests.
16144 ac_preproc_ok=:
16145 break
16146 fi
16147
16148 rm -f conftest.err conftest.$ac_ext
16149
16150 done
16151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16152 rm -f conftest.err conftest.$ac_ext
16153 if $ac_preproc_ok; then
16154 break
16155 fi
16156
16157 done
16158 ac_cv_prog_CPP=$CPP
16159
16160 fi
16161 CPP=$ac_cv_prog_CPP
16162 else
16163 ac_cv_prog_CPP=$CPP
16164 fi
16165 { echo "$as_me:$LINENO: result: $CPP" >&5
16166 echo "${ECHO_T}$CPP" >&6; }
16167 ac_preproc_ok=false
16168 for ac_c_preproc_warn_flag in '' yes
16169 do
16170 # Use a header file that comes with gcc, so configuring glibc
16171 # with a fresh cross-compiler works.
16172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16173 # <limits.h> exists even on freestanding compilers.
16174 # On the NeXT, cc -E runs the code through the compiler's parser,
16175 # not just through cpp. "Syntax error" is here to catch this case.
16176 cat >conftest.$ac_ext <<_ACEOF
16177 /* confdefs.h. */
16178 _ACEOF
16179 cat confdefs.h >>conftest.$ac_ext
16180 cat >>conftest.$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 #ifdef __STDC__
16183 # include <limits.h>
16184 #else
16185 # include <assert.h>
16186 #endif
16187 Syntax error
16188 _ACEOF
16189 if { (ac_try="$ac_cpp conftest.$ac_ext"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } >/dev/null && {
16202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16203 test ! -s conftest.err
16204 }; then
16205 :
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 # Broken: fails on valid input.
16211 continue
16212 fi
16213
16214 rm -f conftest.err conftest.$ac_ext
16215
16216 # OK, works on sane cases. Now check whether nonexistent headers
16217 # can be detected and how.
16218 cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h. */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <ac_nonexistent.h>
16225 _ACEOF
16226 if { (ac_try="$ac_cpp conftest.$ac_ext"
16227 case "(($ac_try" in
16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 *) ac_try_echo=$ac_try;;
16230 esac
16231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } >/dev/null && {
16239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16240 test ! -s conftest.err
16241 }; then
16242 # Broken: success on invalid input.
16243 continue
16244 else
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.$ac_ext >&5
16247
16248 # Passes both tests.
16249 ac_preproc_ok=:
16250 break
16251 fi
16252
16253 rm -f conftest.err conftest.$ac_ext
16254
16255 done
16256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16257 rm -f conftest.err conftest.$ac_ext
16258 if $ac_preproc_ok; then
16259 :
16260 else
16261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16262 See \`config.log' for more details." >&5
16263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16264 See \`config.log' for more details." >&2;}
16265 { (exit 1); exit 1; }; }
16266 fi
16267
16268 ac_ext=c
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16273
16274
16275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16277 if test "${ac_cv_path_GREP+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 else
16280 # Extract the first word of "grep ggrep" to use in msg output
16281 if test -z "$GREP"; then
16282 set dummy grep ggrep; ac_prog_name=$2
16283 if test "${ac_cv_path_GREP+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 else
16286 ac_path_GREP_found=false
16287 # Loop through the user's path and test for each of PROGNAME-LIST
16288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16290 do
16291 IFS=$as_save_IFS
16292 test -z "$as_dir" && as_dir=.
16293 for ac_prog in grep ggrep; do
16294 for ac_exec_ext in '' $ac_executable_extensions; do
16295 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16297 # Check for GNU ac_path_GREP and select it if it is found.
16298 # Check for GNU $ac_path_GREP
16299 case `"$ac_path_GREP" --version 2>&1` in
16300 *GNU*)
16301 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16302 *)
16303 ac_count=0
16304 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16305 while :
16306 do
16307 cat "conftest.in" "conftest.in" >"conftest.tmp"
16308 mv "conftest.tmp" "conftest.in"
16309 cp "conftest.in" "conftest.nl"
16310 echo 'GREP' >> "conftest.nl"
16311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16313 ac_count=`expr $ac_count + 1`
16314 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16315 # Best one so far, save it but keep looking for a better one
16316 ac_cv_path_GREP="$ac_path_GREP"
16317 ac_path_GREP_max=$ac_count
16318 fi
16319 # 10*(2^10) chars as input seems more than enough
16320 test $ac_count -gt 10 && break
16321 done
16322 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16323 esac
16324
16325
16326 $ac_path_GREP_found && break 3
16327 done
16328 done
16329
16330 done
16331 IFS=$as_save_IFS
16332
16333
16334 fi
16335
16336 GREP="$ac_cv_path_GREP"
16337 if test -z "$GREP"; then
16338 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16340 { (exit 1); exit 1; }; }
16341 fi
16342
16343 else
16344 ac_cv_path_GREP=$GREP
16345 fi
16346
16347
16348 fi
16349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16351 GREP="$ac_cv_path_GREP"
16352
16353
16354 { echo "$as_me:$LINENO: checking for egrep" >&5
16355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16356 if test "${ac_cv_path_EGREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 else
16359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16360 then ac_cv_path_EGREP="$GREP -E"
16361 else
16362 # Extract the first word of "egrep" to use in msg output
16363 if test -z "$EGREP"; then
16364 set dummy egrep; ac_prog_name=$2
16365 if test "${ac_cv_path_EGREP+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 ac_path_EGREP_found=false
16369 # Loop through the user's path and test for each of PROGNAME-LIST
16370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16372 do
16373 IFS=$as_save_IFS
16374 test -z "$as_dir" && as_dir=.
16375 for ac_prog in egrep; do
16376 for ac_exec_ext in '' $ac_executable_extensions; do
16377 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16378 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16379 # Check for GNU ac_path_EGREP and select it if it is found.
16380 # Check for GNU $ac_path_EGREP
16381 case `"$ac_path_EGREP" --version 2>&1` in
16382 *GNU*)
16383 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16384 *)
16385 ac_count=0
16386 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16387 while :
16388 do
16389 cat "conftest.in" "conftest.in" >"conftest.tmp"
16390 mv "conftest.tmp" "conftest.in"
16391 cp "conftest.in" "conftest.nl"
16392 echo 'EGREP' >> "conftest.nl"
16393 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16395 ac_count=`expr $ac_count + 1`
16396 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16397 # Best one so far, save it but keep looking for a better one
16398 ac_cv_path_EGREP="$ac_path_EGREP"
16399 ac_path_EGREP_max=$ac_count
16400 fi
16401 # 10*(2^10) chars as input seems more than enough
16402 test $ac_count -gt 10 && break
16403 done
16404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16405 esac
16406
16407
16408 $ac_path_EGREP_found && break 3
16409 done
16410 done
16411
16412 done
16413 IFS=$as_save_IFS
16414
16415
16416 fi
16417
16418 EGREP="$ac_cv_path_EGREP"
16419 if test -z "$EGREP"; then
16420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16422 { (exit 1); exit 1; }; }
16423 fi
16424
16425 else
16426 ac_cv_path_EGREP=$EGREP
16427 fi
16428
16429
16430 fi
16431 fi
16432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16434 EGREP="$ac_cv_path_EGREP"
16435
16436
16437 if test $ac_cv_c_compiler_gnu = yes; then
16438 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16439 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 else
16443 ac_pattern="Autoconf.*'x'"
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <sgtty.h>
16451 Autoconf TIOCGETP
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16455 ac_cv_prog_gcc_traditional=yes
16456 else
16457 ac_cv_prog_gcc_traditional=no
16458 fi
16459 rm -f conftest*
16460
16461
16462 if test $ac_cv_prog_gcc_traditional = no; then
16463 cat >conftest.$ac_ext <<_ACEOF
16464 /* confdefs.h. */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 #include <termio.h>
16470 Autoconf TCGETA
16471 _ACEOF
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16474 ac_cv_prog_gcc_traditional=yes
16475 fi
16476 rm -f conftest*
16477
16478 fi
16479 fi
16480 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16481 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16482 if test $ac_cv_prog_gcc_traditional = yes; then
16483 CC="$CC -traditional"
16484 fi
16485 fi
16486
16487
16488 CXXFLAGS=${CXXFLAGS:=}
16489
16490
16491
16492 ac_ext=cpp
16493 ac_cpp='$CXXCPP $CPPFLAGS'
16494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16497 if test -z "$CXX"; then
16498 if test -n "$CCC"; then
16499 CXX=$CCC
16500 else
16501 if test -n "$ac_tool_prefix"; then
16502 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16503 do
16504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16508 if test "${ac_cv_prog_CXX+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 if test -n "$CXX"; then
16512 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16513 else
16514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16515 for as_dir in $PATH
16516 do
16517 IFS=$as_save_IFS
16518 test -z "$as_dir" && as_dir=.
16519 for ac_exec_ext in '' $ac_executable_extensions; do
16520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16521 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16523 break 2
16524 fi
16525 done
16526 done
16527 IFS=$as_save_IFS
16528
16529 fi
16530 fi
16531 CXX=$ac_cv_prog_CXX
16532 if test -n "$CXX"; then
16533 { echo "$as_me:$LINENO: result: $CXX" >&5
16534 echo "${ECHO_T}$CXX" >&6; }
16535 else
16536 { echo "$as_me:$LINENO: result: no" >&5
16537 echo "${ECHO_T}no" >&6; }
16538 fi
16539
16540
16541 test -n "$CXX" && break
16542 done
16543 fi
16544 if test -z "$CXX"; then
16545 ac_ct_CXX=$CXX
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_prog", so it can be a program name with args.
16549 set dummy $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_ac_ct_CXX+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 else
16555 if test -n "$ac_ct_CXX"; then
16556 ac_cv_prog_ac_ct_CXX="$ac_ct_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_ac_ct_CXX="$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 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16576 if test -n "$ac_ct_CXX"; then
16577 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16578 echo "${ECHO_T}$ac_ct_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 "$ac_ct_CXX" && break
16586 done
16587
16588 if test "x$ac_ct_CXX" = x; then
16589 CXX="g++"
16590 else
16591 case $cross_compiling:$ac_tool_warned in
16592 yes:)
16593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16594 whose name does not start with the host triplet. If you think this
16595 configuration is useful to you, please write to autoconf@gnu.org." >&5
16596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16597 whose name does not start with the host triplet. If you think this
16598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16599 ac_tool_warned=yes ;;
16600 esac
16601 CXX=$ac_ct_CXX
16602 fi
16603 fi
16604
16605 fi
16606 fi
16607 # Provide some information about the compiler.
16608 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16609 ac_compiler=`set X $ac_compile; echo $2`
16610 { (ac_try="$ac_compiler --version >&5"
16611 case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16614 esac
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_compiler --version >&5") 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }
16620 { (ac_try="$ac_compiler -v >&5"
16621 case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16624 esac
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compiler -v >&5") 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }
16630 { (ac_try="$ac_compiler -V >&5"
16631 case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_compiler -V >&5") 2>&5
16637 ac_status=$?
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }
16640
16641 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16642 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16643 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h. */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652
16653 int
16654 main ()
16655 {
16656 #ifndef __GNUC__
16657 choke me
16658 #endif
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_cxx_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_compiler_gnu=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 ac_compiler_gnu=no
16687 fi
16688
16689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16690 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16691
16692 fi
16693 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16694 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16695 GXX=`test $ac_compiler_gnu = yes && echo yes`
16696 ac_test_CXXFLAGS=${CXXFLAGS+set}
16697 ac_save_CXXFLAGS=$CXXFLAGS
16698 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16699 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16700 if test "${ac_cv_prog_cxx_g+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 else
16703 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16704 ac_cxx_werror_flag=yes
16705 ac_cv_prog_cxx_g=no
16706 CXXFLAGS="-g"
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713
16714 int
16715 main ()
16716 {
16717
16718 ;
16719 return 0;
16720 }
16721 _ACEOF
16722 rm -f conftest.$ac_objext
16723 if { (ac_try="$ac_compile"
16724 case "(($ac_try" in
16725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16726 *) ac_try_echo=$ac_try;;
16727 esac
16728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16729 (eval "$ac_compile") 2>conftest.er1
16730 ac_status=$?
16731 grep -v '^ *+' conftest.er1 >conftest.err
16732 rm -f conftest.er1
16733 cat conftest.err >&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && {
16736 test -z "$ac_cxx_werror_flag" ||
16737 test ! -s conftest.err
16738 } && test -s conftest.$ac_objext; then
16739 ac_cv_prog_cxx_g=yes
16740 else
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16743
16744 CXXFLAGS=""
16745 cat >conftest.$ac_ext <<_ACEOF
16746 /* confdefs.h. */
16747 _ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751
16752 int
16753 main ()
16754 {
16755
16756 ;
16757 return 0;
16758 }
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16765 esac
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16768 ac_status=$?
16769 grep -v '^ *+' conftest.er1 >conftest.err
16770 rm -f conftest.er1
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_cxx_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.$ac_objext; then
16777 :
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16783 CXXFLAGS="-g"
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790
16791 int
16792 main ()
16793 {
16794
16795 ;
16796 return 0;
16797 }
16798 _ACEOF
16799 rm -f conftest.$ac_objext
16800 if { (ac_try="$ac_compile"
16801 case "(($ac_try" in
16802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16803 *) ac_try_echo=$ac_try;;
16804 esac
16805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16806 (eval "$ac_compile") 2>conftest.er1
16807 ac_status=$?
16808 grep -v '^ *+' conftest.er1 >conftest.err
16809 rm -f conftest.er1
16810 cat conftest.err >&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } && {
16813 test -z "$ac_cxx_werror_flag" ||
16814 test ! -s conftest.err
16815 } && test -s conftest.$ac_objext; then
16816 ac_cv_prog_cxx_g=yes
16817 else
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16820
16821
16822 fi
16823
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 fi
16826
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16828 fi
16829
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16832 fi
16833 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16834 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16835 if test "$ac_test_CXXFLAGS" = set; then
16836 CXXFLAGS=$ac_save_CXXFLAGS
16837 elif test $ac_cv_prog_cxx_g = yes; then
16838 if test "$GXX" = yes; then
16839 CXXFLAGS="-g -O2"
16840 else
16841 CXXFLAGS="-g"
16842 fi
16843 else
16844 if test "$GXX" = yes; then
16845 CXXFLAGS="-O2"
16846 else
16847 CXXFLAGS=
16848 fi
16849 fi
16850 ac_ext=c
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16855
16856
16857
16858
16859 ac_ext=cpp
16860 ac_cpp='$CXXCPP $CPPFLAGS'
16861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16864
16865 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16866 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16867 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 cat >conftest.$ac_ext <<_ACEOF
16871 /* confdefs.h. */
16872 _ACEOF
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16876
16877 int
16878 main ()
16879 {
16880
16881 #ifndef __INTEL_COMPILER
16882 choke me
16883 #endif
16884
16885 ;
16886 return 0;
16887 }
16888 _ACEOF
16889 rm -f conftest.$ac_objext
16890 if { (ac_try="$ac_compile"
16891 case "(($ac_try" in
16892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16893 *) ac_try_echo=$ac_try;;
16894 esac
16895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16896 (eval "$ac_compile") 2>conftest.er1
16897 ac_status=$?
16898 grep -v '^ *+' conftest.er1 >conftest.err
16899 rm -f conftest.er1
16900 cat conftest.err >&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } && {
16903 test -z "$ac_cxx_werror_flag" ||
16904 test ! -s conftest.err
16905 } && test -s conftest.$ac_objext; then
16906 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16907 else
16908 echo "$as_me: failed program was:" >&5
16909 sed 's/^/| /' conftest.$ac_ext >&5
16910
16911 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16912
16913 fi
16914
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916
16917
16918 fi
16919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16921 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16922 :; INTELCXX=yes
16923 else
16924 :;
16925 fi
16926 ac_ext=c
16927 ac_cpp='$CPP $CPPFLAGS'
16928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16931
16932
16933
16934
16935 if test "$INTELCXX" = "yes"; then
16936
16937
16938 ac_ext=cpp
16939 ac_cpp='$CXXCPP $CPPFLAGS'
16940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16943
16944 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16945 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16946 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 else
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h. */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955
16956 int
16957 main ()
16958 {
16959
16960 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16961 choke me
16962 #endif
16963
16964 ;
16965 return 0;
16966 }
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16973 esac
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_cxx_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16986 else
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16989
16990 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16991
16992 fi
16993
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16995
16996
16997 fi
16998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17000 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17001 :; INTELCXX8=yes
17002 else
17003 :;
17004 fi
17005 ac_ext=c
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010
17011
17012
17013
17014
17015 ac_ext=cpp
17016 ac_cpp='$CXXCPP $CPPFLAGS'
17017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17020
17021 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17022 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17023 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 else
17026 cat >conftest.$ac_ext <<_ACEOF
17027 /* confdefs.h. */
17028 _ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032
17033 int
17034 main ()
17035 {
17036
17037 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17038 choke me
17039 #endif
17040
17041 ;
17042 return 0;
17043 }
17044 _ACEOF
17045 rm -f conftest.$ac_objext
17046 if { (ac_try="$ac_compile"
17047 case "(($ac_try" in
17048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17049 *) ac_try_echo=$ac_try;;
17050 esac
17051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17052 (eval "$ac_compile") 2>conftest.er1
17053 ac_status=$?
17054 grep -v '^ *+' conftest.er1 >conftest.err
17055 rm -f conftest.er1
17056 cat conftest.err >&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && {
17059 test -z "$ac_cxx_werror_flag" ||
17060 test ! -s conftest.err
17061 } && test -s conftest.$ac_objext; then
17062 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17063 else
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17066
17067 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17068
17069 fi
17070
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073
17074 fi
17075 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17076 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17077 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17078 :; INTELCXX10=yes
17079 else
17080 :;
17081 fi
17082 ac_ext=c
17083 ac_cpp='$CPP $CPPFLAGS'
17084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17087
17088
17089
17090 fi
17091
17092 if test "x$GCXX" != "xyes"; then
17093 if test "xCXX" = "xC"; then
17094 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17095 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17096 if test "${bakefile_cv_c_exto+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 else
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h. */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105
17106 int
17107 main ()
17108 {
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 rm -f conftest.$ac_objext conftest.$ac_ext.o
17115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17116 (eval $ac_compile) 2>&5
17117 ac_status=$?
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; then
17120 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17121 case $ac_file in
17122 conftest.$ac_ext.o)
17123 bakefile_cv_c_exto="-ext o"
17124 ;;
17125 *)
17126 ;;
17127 esac
17128 done
17129 else
17130 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17131 See \`config.log' for more details." >&5
17132 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17133 See \`config.log' for more details." >&2;}
17134 { (exit 1); exit 1; }; }
17135
17136 fi
17137
17138 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17139
17140 fi
17141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17142 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17143 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17144 if test "c" = "c"; then
17145 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17146 fi
17147 if test "c" = "cxx"; then
17148 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17149 fi
17150 fi
17151
17152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17153 unset ac_cv_prog_cc_g
17154 ac_test_CFLAGS=${CFLAGS+set}
17155 ac_save_CFLAGS=$CFLAGS
17156 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17157 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17158 if test "${ac_cv_prog_cc_g+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 else
17161 ac_save_c_werror_flag=$ac_c_werror_flag
17162 ac_c_werror_flag=yes
17163 ac_cv_prog_cc_g=no
17164 CFLAGS="-g"
17165 cat >conftest.$ac_ext <<_ACEOF
17166 /* confdefs.h. */
17167 _ACEOF
17168 cat confdefs.h >>conftest.$ac_ext
17169 cat >>conftest.$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171
17172 int
17173 main ()
17174 {
17175
17176 ;
17177 return 0;
17178 }
17179 _ACEOF
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17185 esac
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 ac_cv_prog_cc_g=yes
17198 else
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 CFLAGS=""
17203 cat >conftest.$ac_ext <<_ACEOF
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209
17210 int
17211 main ()
17212 {
17213
17214 ;
17215 return 0;
17216 }
17217 _ACEOF
17218 rm -f conftest.$ac_objext
17219 if { (ac_try="$ac_compile"
17220 case "(($ac_try" in
17221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17222 *) ac_try_echo=$ac_try;;
17223 esac
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_compile") 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } && {
17232 test -z "$ac_c_werror_flag" ||
17233 test ! -s conftest.err
17234 } && test -s conftest.$ac_objext; then
17235 :
17236 else
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17239
17240 ac_c_werror_flag=$ac_save_c_werror_flag
17241 CFLAGS="-g"
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248
17249 int
17250 main ()
17251 {
17252
17253 ;
17254 return 0;
17255 }
17256 _ACEOF
17257 rm -f conftest.$ac_objext
17258 if { (ac_try="$ac_compile"
17259 case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17262 esac
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compile") 2>conftest.er1
17265 ac_status=$?
17266 grep -v '^ *+' conftest.er1 >conftest.err
17267 rm -f conftest.er1
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } && {
17271 test -z "$ac_c_werror_flag" ||
17272 test ! -s conftest.err
17273 } && test -s conftest.$ac_objext; then
17274 ac_cv_prog_cc_g=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279
17280 fi
17281
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283 fi
17284
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17286 fi
17287
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289 ac_c_werror_flag=$ac_save_c_werror_flag
17290 fi
17291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17292 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17293 if test "$ac_test_CFLAGS" = set; then
17294 CFLAGS=$ac_save_CFLAGS
17295 elif test $ac_cv_prog_cc_g = yes; then
17296 if test "$GCC" = yes; then
17297 CFLAGS="-g -O2"
17298 else
17299 CFLAGS="-g"
17300 fi
17301 else
17302 if test "$GCC" = yes; then
17303 CFLAGS="-O2"
17304 else
17305 CFLAGS=
17306 fi
17307 fi
17308 fi
17309 fi
17310
17311 case `uname -s` in
17312 AIX*)
17313
17314
17315 ac_ext=cpp
17316 ac_cpp='$CXXCPP $CPPFLAGS'
17317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17320
17321 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17322 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17323 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17324 echo $ECHO_N "(cached) $ECHO_C" >&6
17325 else
17326 cat >conftest.$ac_ext <<_ACEOF
17327 /* confdefs.h. */
17328 _ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332
17333 int
17334 main ()
17335 {
17336
17337 #ifndef __xlC__
17338 choke me
17339 #endif
17340
17341 ;
17342 return 0;
17343 }
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_cxx_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17362 bakefile_cv_cxx_compiler___xlC__=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 bakefile_cv_cxx_compiler___xlC__=no
17368
17369 fi
17370
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372
17373
17374 fi
17375 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17376 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17377 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17378 :; XLCXX=yes
17379 else
17380 :;
17381 fi
17382 ac_ext=c
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17387
17388
17389
17390 ;;
17391
17392 Darwin)
17393
17394
17395 ac_ext=cpp
17396 ac_cpp='$CXXCPP $CPPFLAGS'
17397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17400
17401 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17402 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17403 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 else
17406 cat >conftest.$ac_ext <<_ACEOF
17407 /* confdefs.h. */
17408 _ACEOF
17409 cat confdefs.h >>conftest.$ac_ext
17410 cat >>conftest.$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412
17413 int
17414 main ()
17415 {
17416
17417 #ifndef __MWERKS__
17418 choke me
17419 #endif
17420
17421 ;
17422 return 0;
17423 }
17424 _ACEOF
17425 rm -f conftest.$ac_objext
17426 if { (ac_try="$ac_compile"
17427 case "(($ac_try" in
17428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17429 *) ac_try_echo=$ac_try;;
17430 esac
17431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17432 (eval "$ac_compile") 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } && {
17439 test -z "$ac_cxx_werror_flag" ||
17440 test ! -s conftest.err
17441 } && test -s conftest.$ac_objext; then
17442 bakefile_cv_cxx_compiler___MWERKS__=yes
17443 else
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.$ac_ext >&5
17446
17447 bakefile_cv_cxx_compiler___MWERKS__=no
17448
17449 fi
17450
17451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452
17453
17454 fi
17455 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17456 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17457 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17458 :; MWCXX=yes
17459 else
17460 :;
17461 fi
17462 ac_ext=c
17463 ac_cpp='$CPP $CPPFLAGS'
17464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17467
17468
17469
17470 if test "$MWCXX" != "yes"; then
17471
17472
17473 ac_ext=cpp
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478
17479 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17481 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 else
17484 cat >conftest.$ac_ext <<_ACEOF
17485 /* confdefs.h. */
17486 _ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490
17491 int
17492 main ()
17493 {
17494
17495 #ifndef __xlC__
17496 choke me
17497 #endif
17498
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 rm -f conftest.$ac_objext
17504 if { (ac_try="$ac_compile"
17505 case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17508 esac
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_compile") 2>conftest.er1
17511 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_cxx_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest.$ac_objext; then
17520 bakefile_cv_cxx_compiler___xlC__=yes
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 bakefile_cv_cxx_compiler___xlC__=no
17526
17527 fi
17528
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530
17531
17532 fi
17533 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17534 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17535 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17536 :; XLCXX=yes
17537 else
17538 :;
17539 fi
17540 ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545
17546
17547
17548 fi
17549 ;;
17550
17551 IRIX*)
17552
17553
17554 ac_ext=cpp
17555 ac_cpp='$CXXCPP $CPPFLAGS'
17556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17559
17560 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17561 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17562 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17563 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 else
17565 cat >conftest.$ac_ext <<_ACEOF
17566 /* confdefs.h. */
17567 _ACEOF
17568 cat confdefs.h >>conftest.$ac_ext
17569 cat >>conftest.$ac_ext <<_ACEOF
17570 /* end confdefs.h. */
17571
17572 int
17573 main ()
17574 {
17575
17576 #ifndef _SGI_COMPILER_VERSION
17577 choke me
17578 #endif
17579
17580 ;
17581 return 0;
17582 }
17583 _ACEOF
17584 rm -f conftest.$ac_objext
17585 if { (ac_try="$ac_compile"
17586 case "(($ac_try" in
17587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17588 *) ac_try_echo=$ac_try;;
17589 esac
17590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17591 (eval "$ac_compile") 2>conftest.er1
17592 ac_status=$?
17593 grep -v '^ *+' conftest.er1 >conftest.err
17594 rm -f conftest.er1
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } && {
17598 test -z "$ac_cxx_werror_flag" ||
17599 test ! -s conftest.err
17600 } && test -s conftest.$ac_objext; then
17601 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17602 else
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17605
17606 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17607
17608 fi
17609
17610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611
17612
17613 fi
17614 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17615 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17616 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17617 :; SGICXX=yes
17618 else
17619 :;
17620 fi
17621 ac_ext=c
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17626
17627
17628
17629 ;;
17630
17631 Linux*)
17632 if test "$INTELCXX" != "yes"; then
17633
17634
17635 ac_ext=cpp
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17640
17641 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17642 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17643 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 else
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652
17653 int
17654 main ()
17655 {
17656
17657 #ifndef __SUNPRO_CC
17658 choke me
17659 #endif
17660
17661 ;
17662 return 0;
17663 }
17664 _ACEOF
17665 rm -f conftest.$ac_objext
17666 if { (ac_try="$ac_compile"
17667 case "(($ac_try" in
17668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17669 *) ac_try_echo=$ac_try;;
17670 esac
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_compile") 2>conftest.er1
17673 ac_status=$?
17674 grep -v '^ *+' conftest.er1 >conftest.err
17675 rm -f conftest.er1
17676 cat conftest.err >&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } && {
17679 test -z "$ac_cxx_werror_flag" ||
17680 test ! -s conftest.err
17681 } && test -s conftest.$ac_objext; then
17682 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17683 else
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17686
17687 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17688
17689 fi
17690
17691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692
17693
17694 fi
17695 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17696 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17697 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17698 :; SUNCXX=yes
17699 else
17700 :;
17701 fi
17702 ac_ext=c
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709
17710 fi
17711 ;;
17712
17713 HP-UX*)
17714
17715
17716 ac_ext=cpp
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17721
17722 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17723 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 else
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733
17734 int
17735 main ()
17736 {
17737
17738 #ifndef __HP_aCC
17739 choke me
17740 #endif
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___HP_aCC=yes
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17767
17768 bakefile_cv_cxx_compiler___HP_aCC=no
17769
17770 fi
17771
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774
17775 fi
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17779 :; HPCXX=yes
17780 else
17781 :;
17782 fi
17783 ac_ext=c
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17788
17789
17790
17791 ;;
17792
17793 OSF1)
17794
17795
17796 ac_ext=cpp
17797 ac_cpp='$CXXCPP $CPPFLAGS'
17798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17801
17802 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17803 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17804 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 else
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813
17814 int
17815 main ()
17816 {
17817
17818 #ifndef __DECCXX
17819 choke me
17820 #endif
17821
17822 ;
17823 return 0;
17824 }
17825 _ACEOF
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17833 (eval "$ac_compile") 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } && {
17840 test -z "$ac_cxx_werror_flag" ||
17841 test ! -s conftest.err
17842 } && test -s conftest.$ac_objext; then
17843 bakefile_cv_cxx_compiler___DECCXX=yes
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 bakefile_cv_cxx_compiler___DECCXX=no
17849
17850 fi
17851
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853
17854
17855 fi
17856 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17857 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17858 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17859 :; COMPAQCXX=yes
17860 else
17861 :;
17862 fi
17863 ac_ext=c
17864 ac_cpp='$CPP $CPPFLAGS'
17865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17868
17869
17870
17871 ;;
17872
17873 SunOS)
17874
17875
17876 ac_ext=cpp
17877 ac_cpp='$CXXCPP $CPPFLAGS'
17878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17881
17882 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17883 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17884 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 else
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893
17894 int
17895 main ()
17896 {
17897
17898 #ifndef __SUNPRO_CC
17899 choke me
17900 #endif
17901
17902 ;
17903 return 0;
17904 }
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (ac_try="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17911 esac
17912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17913 (eval "$ac_compile") 2>conftest.er1
17914 ac_status=$?
17915 grep -v '^ *+' conftest.er1 >conftest.err
17916 rm -f conftest.er1
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } && {
17920 test -z "$ac_cxx_werror_flag" ||
17921 test ! -s conftest.err
17922 } && test -s conftest.$ac_objext; then
17923 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17924 else
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.$ac_ext >&5
17927
17928 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17929
17930 fi
17931
17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933
17934
17935 fi
17936 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17937 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17938 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17939 :; SUNCXX=yes
17940 else
17941 :;
17942 fi
17943 ac_ext=c
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948
17949
17950
17951 ;;
17952 esac
17953 fi
17954
17955
17956
17957 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17958 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17959 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17960 { (exit 1); exit 1; }; }
17961 fi
17962
17963 if test "x$SUNCXX" != xyes; then
17964 if test -n "$ac_tool_prefix"; then
17965 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17966 set dummy ${ac_tool_prefix}ar; ac_word=$2
17967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17969 if test "${ac_cv_prog_AR+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 if test -n "$AR"; then
17973 ac_cv_prog_AR="$AR" # Let the user override the test.
17974 else
17975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17976 for as_dir in $PATH
17977 do
17978 IFS=$as_save_IFS
17979 test -z "$as_dir" && as_dir=.
17980 for ac_exec_ext in '' $ac_executable_extensions; do
17981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17982 ac_cv_prog_AR="${ac_tool_prefix}ar"
17983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17984 break 2
17985 fi
17986 done
17987 done
17988 IFS=$as_save_IFS
17989
17990 fi
17991 fi
17992 AR=$ac_cv_prog_AR
17993 if test -n "$AR"; then
17994 { echo "$as_me:$LINENO: result: $AR" >&5
17995 echo "${ECHO_T}$AR" >&6; }
17996 else
17997 { echo "$as_me:$LINENO: result: no" >&5
17998 echo "${ECHO_T}no" >&6; }
17999 fi
18000
18001
18002 fi
18003 if test -z "$ac_cv_prog_AR"; then
18004 ac_ct_AR=$AR
18005 # Extract the first word of "ar", so it can be a program name with args.
18006 set dummy ar; ac_word=$2
18007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18009 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 else
18012 if test -n "$ac_ct_AR"; then
18013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18014 else
18015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18016 for as_dir in $PATH
18017 do
18018 IFS=$as_save_IFS
18019 test -z "$as_dir" && as_dir=.
18020 for ac_exec_ext in '' $ac_executable_extensions; do
18021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18022 ac_cv_prog_ac_ct_AR="ar"
18023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18024 break 2
18025 fi
18026 done
18027 done
18028 IFS=$as_save_IFS
18029
18030 fi
18031 fi
18032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18033 if test -n "$ac_ct_AR"; then
18034 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18035 echo "${ECHO_T}$ac_ct_AR" >&6; }
18036 else
18037 { echo "$as_me:$LINENO: result: no" >&5
18038 echo "${ECHO_T}no" >&6; }
18039 fi
18040
18041 if test "x$ac_ct_AR" = x; then
18042 AR=""
18043 else
18044 case $cross_compiling:$ac_tool_warned in
18045 yes:)
18046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18047 whose name does not start with the host triplet. If you think this
18048 configuration is useful to you, please write to autoconf@gnu.org." >&5
18049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18050 whose name does not start with the host triplet. If you think this
18051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18052 ac_tool_warned=yes ;;
18053 esac
18054 AR=$ac_ct_AR
18055 fi
18056 else
18057 AR="$ac_cv_prog_AR"
18058 fi
18059
18060 if test "x$AR" = "x" ; then
18061 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18062 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18063 { (exit 1); exit 1; }; }
18064 fi
18065 fi
18066
18067 retest_macosx_linking=no
18068
18069 #if test "$wxUSE_MAC" = 1; then
18070 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18071 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18072 # Implicitly turn on the new --with-macosx-sdk using the default
18073 # SDK which provides the behavior this option has always had.
18074 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18075 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18076 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18077 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18078 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18079 wxUSE_MACOSX_SDK=yes
18080 fi
18081 else
18082 # Complain to user if he specified an argument to --enable-universal_binary
18083 # and also 1) specified --with-macosx-sdk using the default (yes) or
18084 # 2) specified --with-macosx-sdk using a path or 3) specified
18085 # --without-macosx-sdk (no).
18086 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18087 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; }
18092 else
18093 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18094 # special-case the empty string because the below test simply
18095 # converts "no" to the empty string anyway.
18096 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18097 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18098 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18099 fi
18100 fi
18101 OSX_UNIV_OPTS="-arch ppc -arch i386"
18102 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18103 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18104 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18105 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18106 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18107 retest_macosx_linking=yes
18108
18109 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18110 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18111 bk_use_pch=no
18112 fi
18113 #fi
18114
18115 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18116 wxUSE_MACOSX_SDK=
18117 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18118 # TODO: Search for most recent SDK and use it.
18119 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18120 fi
18121
18122
18123 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18124 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18125 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18126 if ! test -d "$wxUSE_MACOSX_SDK"; then
18127 { { echo "$as_me:$LINENO: error: not found
18128 See \`config.log' for more details." >&5
18129 echo "$as_me: error: not found
18130 See \`config.log' for more details." >&2;}
18131 { (exit 1); exit 1; }; }
18132 else
18133 { echo "$as_me:$LINENO: result: exists" >&5
18134 echo "${ECHO_T}exists" >&6; }
18135 fi
18136 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18137 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18138 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18139 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18140 retest_macosx_linking=yes
18141 fi
18142
18143 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18144 wxUSE_MACOSX_VERSION_MIN=
18145 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18146 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18147 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18148 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18149
18150 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/'`
18151
18152 # If that failed, try again with the new key
18153 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18154
18155 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/'`
18156
18157 fi
18158
18159 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18160 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18161 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18162 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18163 else
18164 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18165 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18166 wxUSE_MACOSX_VERSION_MIN=
18167 fi
18168 else
18169 wxUSE_MACOSX_VERSION_MIN=
18170 fi
18171 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18172 if test "$wxUSE_MAC" = 1; then
18173 # otherwise configure stops on leopard for universal_binary
18174 wxUSE_MACOSX_VERSION_MIN=10.4
18175 fi
18176 fi
18177
18178 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18179 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18180 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18182 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18183 retest_macosx_linking=yes
18184 fi
18185
18186 if test "x$retest_macosx_linking" = "xyes"; then
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18194 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201
18202 int
18203 main ()
18204 {
18205
18206 ;
18207 return 0;
18208 }
18209 _ACEOF
18210 rm -f conftest.$ac_objext conftest$ac_exeext
18211 if { (ac_try="$ac_link"
18212 case "(($ac_try" in
18213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18214 *) ac_try_echo=$ac_try;;
18215 esac
18216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18217 (eval "$ac_link") 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } && {
18224 test -z "$ac_c_werror_flag" ||
18225 test ! -s conftest.err
18226 } && test -s conftest$ac_exeext &&
18227 $as_test_x conftest$ac_exeext; then
18228 { echo "$as_me:$LINENO: result: yes" >&5
18229 echo "${ECHO_T}yes" >&6; }
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18233
18234 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18235 See \`config.log' for more details." >&5
18236 echo "$as_me: error: no. Try a different SDK
18237 See \`config.log' for more details." >&2;}
18238 { (exit 1); exit 1; }; }; exit 1
18239 fi
18240
18241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18242 conftest$ac_exeext conftest.$ac_ext
18243 ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18248
18249
18250 ac_ext=cpp
18251 ac_cpp='$CXXCPP $CPPFLAGS'
18252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18255
18256 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18257 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18258 cat >conftest.$ac_ext <<_ACEOF
18259 /* confdefs.h. */
18260 _ACEOF
18261 cat confdefs.h >>conftest.$ac_ext
18262 cat >>conftest.$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18264
18265 int
18266 main ()
18267 {
18268
18269 ;
18270 return 0;
18271 }
18272 _ACEOF
18273 rm -f conftest.$ac_objext conftest$ac_exeext
18274 if { (ac_try="$ac_link"
18275 case "(($ac_try" in
18276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18277 *) ac_try_echo=$ac_try;;
18278 esac
18279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18280 (eval "$ac_link") 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } && {
18287 test -z "$ac_cxx_werror_flag" ||
18288 test ! -s conftest.err
18289 } && test -s conftest$ac_exeext &&
18290 $as_test_x conftest$ac_exeext; then
18291 { echo "$as_me:$LINENO: result: yes" >&5
18292 echo "${ECHO_T}yes" >&6; }
18293 else
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18296
18297 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18298 See \`config.log' for more details." >&5
18299 echo "$as_me: error: no. Try a different SDK
18300 See \`config.log' for more details." >&2;}
18301 { (exit 1); exit 1; }; }; exit 1
18302 fi
18303
18304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18305 conftest$ac_exeext conftest.$ac_ext
18306 ac_ext=c
18307 ac_cpp='$CPP $CPPFLAGS'
18308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18311
18312 fi
18313
18314
18315 case "${host}" in
18316
18317 *-*-darwin* )
18318 INSTALL_PROGRAM="cp -fp"
18319 INSTALL_DATA="cp -fp"
18320 ;;
18321 *)
18322 ;;
18323 esac
18324
18325
18326 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18327 CXXFLAGS="-qunique $CXXFLAGS"
18328 fi
18329
18330 case "${host}" in
18331 powerpc-*-darwin* )
18332 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18333 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340
18341 int
18342 main ()
18343 {
18344 #ifndef __POWERPC__
18345 choke me for lack of PowerPC
18346 #endif
18347
18348 ;
18349 return 0;
18350 }
18351 _ACEOF
18352 rm -f conftest.$ac_objext
18353 if { (ac_try="$ac_compile"
18354 case "(($ac_try" in
18355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18356 *) ac_try_echo=$ac_try;;
18357 esac
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359 (eval "$ac_compile") 2>conftest.er1
18360 ac_status=$?
18361 grep -v '^ *+' conftest.er1 >conftest.err
18362 rm -f conftest.er1
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && {
18366 test -z "$ac_c_werror_flag" ||
18367 test ! -s conftest.err
18368 } && test -s conftest.$ac_objext; then
18369 { echo "$as_me:$LINENO: result: yes" >&5
18370 echo "${ECHO_T}yes" >&6; }
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 { echo "$as_me:$LINENO: result: no" >&5
18376 echo "${ECHO_T}no" >&6; }
18377 cat >>confdefs.h <<\_ACEOF
18378 #define __POWERPC__ 1
18379 _ACEOF
18380
18381
18382 fi
18383
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 ;;
18386 esac
18387
18388 case "${host}" in
18389 *-*-darwin* )
18390 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18391 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <CoreFoundation/CFBase.h>
18399
18400 int
18401 main ()
18402 {
18403
18404 ;
18405 return 0;
18406 }
18407 _ACEOF
18408 rm -f conftest.$ac_objext
18409 if { (ac_try="$ac_compile"
18410 case "(($ac_try" in
18411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18412 *) ac_try_echo=$ac_try;;
18413 esac
18414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18415 (eval "$ac_compile") 2>conftest.er1
18416 ac_status=$?
18417 grep -v '^ *+' conftest.er1 >conftest.err
18418 rm -f conftest.er1
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } && {
18422 test -z "$ac_c_werror_flag" ||
18423 test ! -s conftest.err
18424 } && test -s conftest.$ac_objext; then
18425 { echo "$as_me:$LINENO: result: yes" >&5
18426 echo "${ECHO_T}yes" >&6; }
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 { echo "$as_me:$LINENO: result: no" >&5
18432 echo "${ECHO_T}no" >&6; }
18433 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18434 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #define __CF_USE_FRAMEWORK_INCLUDES__
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 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18472 else
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18477 See \`config.log' for more details." >&5
18478 echo "$as_me: error: no. CoreFoundation not available.
18479 See \`config.log' for more details." >&2;}
18480 { (exit 1); exit 1; }; }
18481
18482 fi
18483
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485
18486
18487 fi
18488
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 ;;
18491 esac
18492
18493 wants_win32=0
18494 doesnt_want_win32=0
18495 case "${host}" in
18496 *-*-cygwin*)
18497 if test "$wxUSE_MSW" = 1 ; then
18498 wants_win32=1
18499 else
18500 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18501 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18502 if test "${wx_cv_nocygwin+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 else
18505
18506 cat >conftest.$ac_ext <<_ACEOF
18507 /* confdefs.h. */
18508 _ACEOF
18509 cat confdefs.h >>conftest.$ac_ext
18510 cat >>conftest.$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512
18513 int
18514 main ()
18515 {
18516
18517 #ifdef __MINGW32__
18518 choke me
18519 #endif
18520
18521 ;
18522 return 0;
18523 }
18524 _ACEOF
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18542 wx_cv_nocygwin=no
18543 else
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18546
18547 wx_cv_nocygwin=yes
18548
18549 fi
18550
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553
18554 fi
18555 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18556 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18557
18558 if test "$wx_cv_nocygwin" = "yes"; then
18559 wants_win32=1
18560 else
18561 doesnt_want_win32=1
18562 fi
18563 fi
18564 if test "$wants_win32" = 1 ; then
18565 BAKEFILE_FORCE_PLATFORM=win32
18566 fi
18567 ;;
18568 *-*-mingw*)
18569 wants_win32=1
18570 ;;
18571 esac
18572
18573 if test "$wxUSE_WINE" = "yes"; then
18574 wants_win32=1
18575 LDFLAGS_GUI="-mwindows"
18576 fi
18577
18578 if test "$wants_win32" = 1 ; then
18579 USE_UNIX=0
18580 USE_WIN32=1
18581 cat >>confdefs.h <<\_ACEOF
18582 #define __WIN32__ 1
18583 _ACEOF
18584
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WIN95__ 1
18587 _ACEOF
18588
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __WINDOWS__ 1
18591 _ACEOF
18592
18593 cat >>confdefs.h <<\_ACEOF
18594 #define __GNUWIN32__ 1
18595 _ACEOF
18596
18597 cat >>confdefs.h <<\_ACEOF
18598 #define STRICT 1
18599 _ACEOF
18600
18601 fi
18602 if test "$doesnt_want_win32" = 1 ; then
18603 USE_UNIX=1
18604 USE_WIN32=0
18605 fi
18606
18607 if test "$USE_UNIX" = 1 ; then
18608 wxUSE_UNIX=yes
18609 cat >>confdefs.h <<\_ACEOF
18610 #define __UNIX__ 1
18611 _ACEOF
18612
18613 fi
18614
18615 case "${host}" in
18616 *-pc-os2_emx | *-pc-os2-emx )
18617 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18618 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18619 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18620 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 else
18623 ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lcExt $LIBS"
18625 cat >conftest.$ac_ext <<_ACEOF
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631
18632 /* Override any GCC internal prototype to avoid an error.
18633 Use char because int might match the return type of a GCC
18634 builtin and then its argument prototype would still apply. */
18635 #ifdef __cplusplus
18636 extern "C"
18637 #endif
18638 char drand48 ();
18639 int
18640 main ()
18641 {
18642 return drand48 ();
18643 ;
18644 return 0;
18645 }
18646 _ACEOF
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (ac_try="$ac_link"
18649 case "(($ac_try" in
18650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18651 *) ac_try_echo=$ac_try;;
18652 esac
18653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18654 (eval "$ac_link") 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } && {
18661 test -z "$ac_c_werror_flag" ||
18662 test ! -s conftest.err
18663 } && test -s conftest$ac_exeext &&
18664 $as_test_x conftest$ac_exeext; then
18665 ac_cv_lib_cExt_drand48=yes
18666 else
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18669
18670 ac_cv_lib_cExt_drand48=no
18671 fi
18672
18673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18674 conftest$ac_exeext conftest.$ac_ext
18675 LIBS=$ac_check_lib_save_LIBS
18676 fi
18677 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18678 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18679 if test $ac_cv_lib_cExt_drand48 = yes; then
18680 LIBS="$LIBS -lcExt"
18681 fi
18682
18683 else
18684 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18685 fi
18686 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18687 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18688 if test "${wx_cv_gccversion+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 else
18691
18692 if test "$cross_compiling" = yes; then
18693 wx_cv_gccversion="EMX2"
18694
18695 else
18696 cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h. */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702
18703 #include <stdio.h>
18704
18705 int main()
18706 {
18707 FILE *f=fopen("conftestval", "w");
18708 if (!f) exit(1);
18709 fprintf(f,
18710 #if (__GNUC__ < 3)
18711 "EMX2"
18712 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18713 "EMX3"
18714 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18715 "Innotek5"
18716 #else
18717 "Innotek6"
18718 #endif
18719 );
18720 exit(0);
18721 }
18722
18723 _ACEOF
18724 rm -f conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18735 { (case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_try") 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 wx_cv_gccversion=`cat conftestval`
18745 else
18746 echo "$as_me: program exited with status $ac_status" >&5
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ( exit $ac_status )
18751 wx_cv_gccversion="EMX2"
18752 fi
18753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18754 fi
18755
18756
18757
18758 fi
18759 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18760 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18761 if test "$wx_cv_gccversion" = "EMX2"; then
18762 LIBS="$LIBS -lstdcpp"
18763 LDFLAGS="$LDFLAGS -Zsysv-signals"
18764 else
18765 if test "$wx_cv_gccversion" = "EMX3"; then
18766 LIBS="$LIBS -lstdcxx -lgcc"
18767 LDFLAGS="$LDFLAGS -Zsysv-signals"
18768 else
18769 LIBS="$LIBS -lstdc++"
18770 fi
18771 fi
18772 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18773 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18774 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18775 wxUSE_OMF=yes
18776 enable_omf=yes
18777 fi
18778 ;;
18779 *)
18780
18781 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18782 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18783 if test "${ac_cv_string_strcasecmp+set}" = set; then
18784 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 else
18786
18787 cat >conftest.$ac_ext <<_ACEOF
18788 /* confdefs.h. */
18789 _ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18793
18794 #include <string.h>
18795
18796 int
18797 main ()
18798 {
18799
18800 strcasecmp("foo", "bar");
18801
18802 ;
18803 return 0;
18804 }
18805 _ACEOF
18806 rm -f conftest.$ac_objext conftest$ac_exeext
18807 if { (ac_try="$ac_link"
18808 case "(($ac_try" in
18809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18810 *) ac_try_echo=$ac_try;;
18811 esac
18812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18813 (eval "$ac_link") 2>conftest.er1
18814 ac_status=$?
18815 grep -v '^ *+' conftest.er1 >conftest.err
18816 rm -f conftest.er1
18817 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } && {
18820 test -z "$ac_c_werror_flag" ||
18821 test ! -s conftest.err
18822 } && test -s conftest$ac_exeext &&
18823 $as_test_x conftest$ac_exeext; then
18824 ac_cv_string_strcasecmp=yes
18825 else
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18828
18829 ac_cv_string_strcasecmp=no
18830
18831 fi
18832
18833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18834 conftest$ac_exeext conftest.$ac_ext
18835
18836 fi
18837 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18838 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18839
18840 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18841 cat >>confdefs.h <<\_ACEOF
18842 #define HAVE_STRCASECMP_IN_STRING_H 1
18843 _ACEOF
18844
18845 else
18846 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18847 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18848 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 else
18851
18852 cat >conftest.$ac_ext <<_ACEOF
18853 /* confdefs.h. */
18854 _ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858
18859 #include <strings.h>
18860
18861 int
18862 main ()
18863 {
18864
18865 strcasecmp("foo", "bar");
18866
18867 ;
18868 return 0;
18869 }
18870 _ACEOF
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (ac_try="$ac_link"
18873 case "(($ac_try" in
18874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18876 esac
18877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_link") 2>conftest.er1
18879 ac_status=$?
18880 grep -v '^ *+' conftest.er1 >conftest.err
18881 rm -f conftest.er1
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } && {
18885 test -z "$ac_c_werror_flag" ||
18886 test ! -s conftest.err
18887 } && test -s conftest$ac_exeext &&
18888 $as_test_x conftest$ac_exeext; then
18889 ac_cv_strings_strcasecmp=yes
18890 else
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18893
18894 ac_cv_strings_strcasecmp=no
18895
18896 fi
18897
18898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18899 conftest$ac_exeext conftest.$ac_ext
18900
18901 fi
18902 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18903 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18904
18905 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18906 cat >>confdefs.h <<\_ACEOF
18907 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18908 _ACEOF
18909
18910 else
18911 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18912 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18913 { (exit 1); exit 1; }; }
18914 fi
18915 fi
18916
18917 ;;
18918 esac
18919
18920
18921 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18922 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18923 if test "${ac_cv_header_stdc+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <stdlib.h>
18933 #include <stdarg.h>
18934 #include <string.h>
18935 #include <float.h>
18936
18937 int
18938 main ()
18939 {
18940
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (ac_try="$ac_compile"
18947 case "(($ac_try" in
18948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18949 *) ac_try_echo=$ac_try;;
18950 esac
18951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18952 (eval "$ac_compile") 2>conftest.er1
18953 ac_status=$?
18954 grep -v '^ *+' conftest.er1 >conftest.err
18955 rm -f conftest.er1
18956 cat conftest.err >&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } && {
18959 test -z "$ac_c_werror_flag" ||
18960 test ! -s conftest.err
18961 } && test -s conftest.$ac_objext; then
18962 ac_cv_header_stdc=yes
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 ac_cv_header_stdc=no
18968 fi
18969
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971
18972 if test $ac_cv_header_stdc = yes; then
18973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18974 cat >conftest.$ac_ext <<_ACEOF
18975 /* confdefs.h. */
18976 _ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <string.h>
18981
18982 _ACEOF
18983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18984 $EGREP "memchr" >/dev/null 2>&1; then
18985 :
18986 else
18987 ac_cv_header_stdc=no
18988 fi
18989 rm -f conftest*
18990
18991 fi
18992
18993 if test $ac_cv_header_stdc = yes; then
18994 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18995 cat >conftest.$ac_ext <<_ACEOF
18996 /* confdefs.h. */
18997 _ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <stdlib.h>
19002
19003 _ACEOF
19004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19005 $EGREP "free" >/dev/null 2>&1; then
19006 :
19007 else
19008 ac_cv_header_stdc=no
19009 fi
19010 rm -f conftest*
19011
19012 fi
19013
19014 if test $ac_cv_header_stdc = yes; then
19015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19016 if test "$cross_compiling" = yes; then
19017 :
19018 else
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 #include <ctype.h>
19026 #include <stdlib.h>
19027 #if ((' ' & 0x0FF) == 0x020)
19028 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19029 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19030 #else
19031 # define ISLOWER(c) \
19032 (('a' <= (c) && (c) <= 'i') \
19033 || ('j' <= (c) && (c) <= 'r') \
19034 || ('s' <= (c) && (c) <= 'z'))
19035 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19036 #endif
19037
19038 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19039 int
19040 main ()
19041 {
19042 int i;
19043 for (i = 0; i < 256; i++)
19044 if (XOR (islower (i), ISLOWER (i))
19045 || toupper (i) != TOUPPER (i))
19046 return 2;
19047 return 0;
19048 }
19049 _ACEOF
19050 rm -f conftest$ac_exeext
19051 if { (ac_try="$ac_link"
19052 case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19055 esac
19056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_link") 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19061 { (case "(($ac_try" in
19062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19063 *) ac_try_echo=$ac_try;;
19064 esac
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_try") 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; }; then
19070 :
19071 else
19072 echo "$as_me: program exited with status $ac_status" >&5
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 ( exit $ac_status )
19077 ac_cv_header_stdc=no
19078 fi
19079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19080 fi
19081
19082
19083 fi
19084 fi
19085 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19086 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19087 if test $ac_cv_header_stdc = yes; then
19088
19089 cat >>confdefs.h <<\_ACEOF
19090 #define STDC_HEADERS 1
19091 _ACEOF
19092
19093 fi
19094
19095 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19106 inttypes.h stdint.h unistd.h
19107 do
19108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19121
19122 #include <$ac_header>
19123 _ACEOF
19124 rm -f conftest.$ac_objext
19125 if { (ac_try="$ac_compile"
19126 case "(($ac_try" in
19127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19128 *) ac_try_echo=$ac_try;;
19129 esac
19130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19131 (eval "$ac_compile") 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } && {
19138 test -z "$ac_c_werror_flag" ||
19139 test ! -s conftest.err
19140 } && test -s conftest.$ac_objext; then
19141 eval "$as_ac_Header=yes"
19142 else
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19145
19146 eval "$as_ac_Header=no"
19147 fi
19148
19149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19150 fi
19151 ac_res=`eval echo '${'$as_ac_Header'}'`
19152 { echo "$as_me:$LINENO: result: $ac_res" >&5
19153 echo "${ECHO_T}$ac_res" >&6; }
19154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19157 _ACEOF
19158
19159 fi
19160
19161 done
19162
19163
19164
19165
19166 for ac_header in langinfo.h wchar.h
19167 do
19168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181
19182 #include <$ac_header>
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 eval "$as_ac_Header=yes"
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19205
19206 eval "$as_ac_Header=no"
19207 fi
19208
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 fi
19211 ac_res=`eval echo '${'$as_ac_Header'}'`
19212 { echo "$as_me:$LINENO: result: $ac_res" >&5
19213 echo "${ECHO_T}$ac_res" >&6; }
19214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19217 _ACEOF
19218
19219 fi
19220
19221 done
19222
19223
19224 if test "$ac_cv_header_wchar_h" != "yes"; then
19225
19226 for ac_header in wcstr.h
19227 do
19228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19229 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19241
19242 #include <$ac_header>
19243 _ACEOF
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19249 esac
19250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19252 ac_status=$?
19253 grep -v '^ *+' conftest.er1 >conftest.err
19254 rm -f conftest.er1
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } && {
19258 test -z "$ac_c_werror_flag" ||
19259 test ! -s conftest.err
19260 } && test -s conftest.$ac_objext; then
19261 eval "$as_ac_Header=yes"
19262 else
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19265
19266 eval "$as_ac_Header=no"
19267 fi
19268
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 fi
19271 ac_res=`eval echo '${'$as_ac_Header'}'`
19272 { echo "$as_me:$LINENO: result: $ac_res" >&5
19273 echo "${ECHO_T}$ac_res" >&6; }
19274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19275 cat >>confdefs.h <<_ACEOF
19276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19277 _ACEOF
19278
19279 fi
19280
19281 done
19282
19283 fi
19284
19285 case "${host}" in
19286 *-pc-os2_emx | *-pc-os2-emx )
19287 if test $ac_cv_header_langinfo_h = "yes" \
19288 -a \( "$wx_cv_gccversion" = "EMX2" \
19289 -o "$wx_cv_gccversion" = "EMX3" \
19290 -o "$wx_cv_gccversion" = "Innotek5" \); then
19291 LIBS="$LIBS -lintl"
19292 fi
19293 ;;
19294 esac
19295
19296 if test "$USE_UNIX" = 1 ; then
19297
19298 for ac_header in sys/select.h
19299 do
19300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 else
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 $ac_includes_default
19313
19314 #include <$ac_header>
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_c_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 eval "$as_ac_Header=yes"
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 eval "$as_ac_Header=no"
19339 fi
19340
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 fi
19343 ac_res=`eval echo '${'$as_ac_Header'}'`
19344 { echo "$as_me:$LINENO: result: $ac_res" >&5
19345 echo "${ECHO_T}$ac_res" >&6; }
19346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19347 cat >>confdefs.h <<_ACEOF
19348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19349 _ACEOF
19350
19351 fi
19352
19353 done
19354
19355 fi
19356
19357
19358 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19359 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19360 if test "${ac_cv_c_const+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369
19370 int
19371 main ()
19372 {
19373 /* FIXME: Include the comments suggested by Paul. */
19374 #ifndef __cplusplus
19375 /* Ultrix mips cc rejects this. */
19376 typedef int charset[2];
19377 const charset cs;
19378 /* SunOS 4.1.1 cc rejects this. */
19379 char const *const *pcpcc;
19380 char **ppc;
19381 /* NEC SVR4.0.2 mips cc rejects this. */
19382 struct point {int x, y;};
19383 static struct point const zero = {0,0};
19384 /* AIX XL C 1.02.0.0 rejects this.
19385 It does not let you subtract one const X* pointer from another in
19386 an arm of an if-expression whose if-part is not a constant
19387 expression */
19388 const char *g = "string";
19389 pcpcc = &g + (g ? g-g : 0);
19390 /* HPUX 7.0 cc rejects these. */
19391 ++pcpcc;
19392 ppc = (char**) pcpcc;
19393 pcpcc = (char const *const *) ppc;
19394 { /* SCO 3.2v4 cc rejects this. */
19395 char *t;
19396 char const *s = 0 ? (char *) 0 : (char const *) 0;
19397
19398 *t++ = 0;
19399 if (s) return 0;
19400 }
19401 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19402 int x[] = {25, 17};
19403 const int *foo = &x[0];
19404 ++foo;
19405 }
19406 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19407 typedef const int *iptr;
19408 iptr p = 0;
19409 ++p;
19410 }
19411 { /* AIX XL C 1.02.0.0 rejects this saying
19412 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19413 struct s { int j; const int *ap[3]; };
19414 struct s *b; b->j = 5;
19415 }
19416 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19417 const int foo = 10;
19418 if (!foo) return 0;
19419 }
19420 return !cs[0] && !zero.x;
19421 #endif
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (ac_try="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19432 esac
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19435 ac_status=$?
19436 grep -v '^ *+' conftest.er1 >conftest.err
19437 rm -f conftest.er1
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } && {
19441 test -z "$ac_c_werror_flag" ||
19442 test ! -s conftest.err
19443 } && test -s conftest.$ac_objext; then
19444 ac_cv_c_const=yes
19445 else
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19448
19449 ac_cv_c_const=no
19450 fi
19451
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19453 fi
19454 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19455 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19456 if test $ac_cv_c_const = no; then
19457
19458 cat >>confdefs.h <<\_ACEOF
19459 #define const
19460 _ACEOF
19461
19462 fi
19463
19464 { echo "$as_me:$LINENO: checking for inline" >&5
19465 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19466 if test "${ac_cv_c_inline+set}" = set; then
19467 echo $ECHO_N "(cached) $ECHO_C" >&6
19468 else
19469 ac_cv_c_inline=no
19470 for ac_kw in inline __inline__ __inline; do
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifndef __cplusplus
19478 typedef int foo_t;
19479 static $ac_kw foo_t static_foo () {return 0; }
19480 $ac_kw foo_t foo () {return 0; }
19481 #endif
19482
19483 _ACEOF
19484 rm -f conftest.$ac_objext
19485 if { (ac_try="$ac_compile"
19486 case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19489 esac
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_compile") 2>conftest.er1
19492 ac_status=$?
19493 grep -v '^ *+' conftest.er1 >conftest.err
19494 rm -f conftest.er1
19495 cat conftest.err >&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); } && {
19498 test -z "$ac_c_werror_flag" ||
19499 test ! -s conftest.err
19500 } && test -s conftest.$ac_objext; then
19501 ac_cv_c_inline=$ac_kw
19502 else
19503 echo "$as_me: failed program was:" >&5
19504 sed 's/^/| /' conftest.$ac_ext >&5
19505
19506
19507 fi
19508
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 test "$ac_cv_c_inline" != no && break
19511 done
19512
19513 fi
19514 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19515 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19516
19517
19518 case $ac_cv_c_inline in
19519 inline | yes) ;;
19520 *)
19521 case $ac_cv_c_inline in
19522 no) ac_val=;;
19523 *) ac_val=$ac_cv_c_inline;;
19524 esac
19525 cat >>confdefs.h <<_ACEOF
19526 #ifndef __cplusplus
19527 #define inline $ac_val
19528 #endif
19529 _ACEOF
19530 ;;
19531 esac
19532
19533
19534 { echo "$as_me:$LINENO: checking for short" >&5
19535 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19536 if test "${ac_cv_type_short+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 else
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef short ac__type_new_;
19547 int
19548 main ()
19549 {
19550 if ((ac__type_new_ *) 0)
19551 return 0;
19552 if (sizeof (ac__type_new_))
19553 return 0;
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (ac_try="$ac_compile"
19560 case "(($ac_try" in
19561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19562 *) ac_try_echo=$ac_try;;
19563 esac
19564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19565 (eval "$ac_compile") 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } && {
19572 test -z "$ac_c_werror_flag" ||
19573 test ! -s conftest.err
19574 } && test -s conftest.$ac_objext; then
19575 ac_cv_type_short=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 ac_cv_type_short=no
19581 fi
19582
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 fi
19585 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19586 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19587
19588 # The cast to long int works around a bug in the HP C Compiler
19589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19591 # This bug is HP SR number 8606223364.
19592 { echo "$as_me:$LINENO: checking size of short" >&5
19593 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19594 if test "${ac_cv_sizeof_short+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 else
19597 if test "$cross_compiling" = yes; then
19598 # Depending upon the size, compute the lo and hi bounds.
19599 cat >conftest.$ac_ext <<_ACEOF
19600 /* confdefs.h. */
19601 _ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 $ac_includes_default
19606 typedef short ac__type_sizeof_;
19607 int
19608 main ()
19609 {
19610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19611 test_array [0] = 0
19612
19613 ;
19614 return 0;
19615 }
19616 _ACEOF
19617 rm -f conftest.$ac_objext
19618 if { (ac_try="$ac_compile"
19619 case "(($ac_try" in
19620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19621 *) ac_try_echo=$ac_try;;
19622 esac
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_compile") 2>conftest.er1
19625 ac_status=$?
19626 grep -v '^ *+' conftest.er1 >conftest.err
19627 rm -f conftest.er1
19628 cat conftest.err >&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } && {
19631 test -z "$ac_c_werror_flag" ||
19632 test ! -s conftest.err
19633 } && test -s conftest.$ac_objext; then
19634 ac_lo=0 ac_mid=0
19635 while :; do
19636 cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h. */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19643 typedef short ac__type_sizeof_;
19644 int
19645 main ()
19646 {
19647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19648 test_array [0] = 0
19649
19650 ;
19651 return 0;
19652 }
19653 _ACEOF
19654 rm -f conftest.$ac_objext
19655 if { (ac_try="$ac_compile"
19656 case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19659 esac
19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19662 ac_status=$?
19663 grep -v '^ *+' conftest.er1 >conftest.err
19664 rm -f conftest.er1
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 ac_hi=$ac_mid; break
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 ac_lo=`expr $ac_mid + 1`
19677 if test $ac_lo -le $ac_mid; then
19678 ac_lo= ac_hi=
19679 break
19680 fi
19681 ac_mid=`expr 2 '*' $ac_mid + 1`
19682 fi
19683
19684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 done
19686 else
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19689
19690 cat >conftest.$ac_ext <<_ACEOF
19691 /* confdefs.h. */
19692 _ACEOF
19693 cat confdefs.h >>conftest.$ac_ext
19694 cat >>conftest.$ac_ext <<_ACEOF
19695 /* end confdefs.h. */
19696 $ac_includes_default
19697 typedef short ac__type_sizeof_;
19698 int
19699 main ()
19700 {
19701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19702 test_array [0] = 0
19703
19704 ;
19705 return 0;
19706 }
19707 _ACEOF
19708 rm -f conftest.$ac_objext
19709 if { (ac_try="$ac_compile"
19710 case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19713 esac
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_compile") 2>conftest.er1
19716 ac_status=$?
19717 grep -v '^ *+' conftest.er1 >conftest.err
19718 rm -f conftest.er1
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } && {
19722 test -z "$ac_c_werror_flag" ||
19723 test ! -s conftest.err
19724 } && test -s conftest.$ac_objext; then
19725 ac_hi=-1 ac_mid=-1
19726 while :; do
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef short ac__type_sizeof_;
19735 int
19736 main ()
19737 {
19738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19739 test_array [0] = 0
19740
19741 ;
19742 return 0;
19743 }
19744 _ACEOF
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19749 *) ac_try_echo=$ac_try;;
19750 esac
19751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19753 ac_status=$?
19754 grep -v '^ *+' conftest.er1 >conftest.err
19755 rm -f conftest.er1
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_lo=$ac_mid; break
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 ac_hi=`expr '(' $ac_mid ')' - 1`
19768 if test $ac_mid -le $ac_hi; then
19769 ac_lo= ac_hi=
19770 break
19771 fi
19772 ac_mid=`expr 2 '*' $ac_mid`
19773 fi
19774
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19776 done
19777 else
19778 echo "$as_me: failed program was:" >&5
19779 sed 's/^/| /' conftest.$ac_ext >&5
19780
19781 ac_lo= ac_hi=
19782 fi
19783
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 fi
19786
19787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19788 # Binary search between lo and hi bounds.
19789 while test "x$ac_lo" != "x$ac_hi"; do
19790 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19791 cat >conftest.$ac_ext <<_ACEOF
19792 /* confdefs.h. */
19793 _ACEOF
19794 cat confdefs.h >>conftest.$ac_ext
19795 cat >>conftest.$ac_ext <<_ACEOF
19796 /* end confdefs.h. */
19797 $ac_includes_default
19798 typedef short ac__type_sizeof_;
19799 int
19800 main ()
19801 {
19802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19803 test_array [0] = 0
19804
19805 ;
19806 return 0;
19807 }
19808 _ACEOF
19809 rm -f conftest.$ac_objext
19810 if { (ac_try="$ac_compile"
19811 case "(($ac_try" in
19812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19813 *) ac_try_echo=$ac_try;;
19814 esac
19815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19816 (eval "$ac_compile") 2>conftest.er1
19817 ac_status=$?
19818 grep -v '^ *+' conftest.er1 >conftest.err
19819 rm -f conftest.er1
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } && {
19823 test -z "$ac_c_werror_flag" ||
19824 test ! -s conftest.err
19825 } && test -s conftest.$ac_objext; then
19826 ac_hi=$ac_mid
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 ac_lo=`expr '(' $ac_mid ')' + 1`
19832 fi
19833
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 done
19836 case $ac_lo in
19837 ?*) ac_cv_sizeof_short=$ac_lo;;
19838 '') if test "$ac_cv_type_short" = yes; then
19839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19840 See \`config.log' for more details." >&5
19841 echo "$as_me: error: cannot compute sizeof (short)
19842 See \`config.log' for more details." >&2;}
19843 { (exit 77); exit 77; }; }
19844 else
19845 ac_cv_sizeof_short=0
19846 fi ;;
19847 esac
19848 else
19849 cat >conftest.$ac_ext <<_ACEOF
19850 /* confdefs.h. */
19851 _ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19856 typedef short ac__type_sizeof_;
19857 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19858 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19859 #include <stdio.h>
19860 #include <stdlib.h>
19861 int
19862 main ()
19863 {
19864
19865 FILE *f = fopen ("conftest.val", "w");
19866 if (! f)
19867 return 1;
19868 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19869 {
19870 long int i = longval ();
19871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19872 return 1;
19873 fprintf (f, "%ld\n", i);
19874 }
19875 else
19876 {
19877 unsigned long int i = ulongval ();
19878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19879 return 1;
19880 fprintf (f, "%lu\n", i);
19881 }
19882 return ferror (f) || fclose (f) != 0;
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rm -f conftest$ac_exeext
19889 if { (ac_try="$ac_link"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19893 esac
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_link") 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19899 { (case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19902 esac
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_try") 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_sizeof_short=`cat conftest.val`
19909 else
19910 echo "$as_me: program exited with status $ac_status" >&5
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19913
19914 ( exit $ac_status )
19915 if test "$ac_cv_type_short" = yes; then
19916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19917 See \`config.log' for more details." >&5
19918 echo "$as_me: error: cannot compute sizeof (short)
19919 See \`config.log' for more details." >&2;}
19920 { (exit 77); exit 77; }; }
19921 else
19922 ac_cv_sizeof_short=0
19923 fi
19924 fi
19925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19926 fi
19927 rm -f conftest.val
19928 fi
19929 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19930 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19931
19932
19933
19934 cat >>confdefs.h <<_ACEOF
19935 #define SIZEOF_SHORT $ac_cv_sizeof_short
19936 _ACEOF
19937
19938
19939 { echo "$as_me:$LINENO: checking for void *" >&5
19940 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19941 if test "${ac_cv_type_void_p+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 else
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef void * ac__type_new_;
19952 int
19953 main ()
19954 {
19955 if ((ac__type_new_ *) 0)
19956 return 0;
19957 if (sizeof (ac__type_new_))
19958 return 0;
19959 ;
19960 return 0;
19961 }
19962 _ACEOF
19963 rm -f conftest.$ac_objext
19964 if { (ac_try="$ac_compile"
19965 case "(($ac_try" in
19966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19967 *) ac_try_echo=$ac_try;;
19968 esac
19969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19970 (eval "$ac_compile") 2>conftest.er1
19971 ac_status=$?
19972 grep -v '^ *+' conftest.er1 >conftest.err
19973 rm -f conftest.er1
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } && {
19977 test -z "$ac_c_werror_flag" ||
19978 test ! -s conftest.err
19979 } && test -s conftest.$ac_objext; then
19980 ac_cv_type_void_p=yes
19981 else
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985 ac_cv_type_void_p=no
19986 fi
19987
19988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 fi
19990 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19991 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19992
19993 # The cast to long int works around a bug in the HP C Compiler
19994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19995 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19996 # This bug is HP SR number 8606223364.
19997 { echo "$as_me:$LINENO: checking size of void *" >&5
19998 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19999 if test "${ac_cv_sizeof_void_p+set}" = set; then
20000 echo $ECHO_N "(cached) $ECHO_C" >&6
20001 else
20002 if test "$cross_compiling" = yes; then
20003 # Depending upon the size, compute the lo and hi bounds.
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 typedef void * ac__type_sizeof_;
20012 int
20013 main ()
20014 {
20015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20016 test_array [0] = 0
20017
20018 ;
20019 return 0;
20020 }
20021 _ACEOF
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20027 esac
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_c_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20039 ac_lo=0 ac_mid=0
20040 while :; do
20041 cat >conftest.$ac_ext <<_ACEOF
20042 /* confdefs.h. */
20043 _ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 $ac_includes_default
20048 typedef void * ac__type_sizeof_;
20049 int
20050 main ()
20051 {
20052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20053 test_array [0] = 0
20054
20055 ;
20056 return 0;
20057 }
20058 _ACEOF
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20064 esac
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest.$ac_objext; then
20076 ac_hi=$ac_mid; break
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 ac_lo=`expr $ac_mid + 1`
20082 if test $ac_lo -le $ac_mid; then
20083 ac_lo= ac_hi=
20084 break
20085 fi
20086 ac_mid=`expr 2 '*' $ac_mid + 1`
20087 fi
20088
20089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20090 done
20091 else
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20094
20095 cat >conftest.$ac_ext <<_ACEOF
20096 /* confdefs.h. */
20097 _ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 $ac_includes_default
20102 typedef void * ac__type_sizeof_;
20103 int
20104 main ()
20105 {
20106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20107 test_array [0] = 0
20108
20109 ;
20110 return 0;
20111 }
20112 _ACEOF
20113 rm -f conftest.$ac_objext
20114 if { (ac_try="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20118 esac
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20130 ac_hi=-1 ac_mid=-1
20131 while :; do
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef void * ac__type_sizeof_;
20140 int
20141 main ()
20142 {
20143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20144 test_array [0] = 0
20145
20146 ;
20147 return 0;
20148 }
20149 _ACEOF
20150 rm -f conftest.$ac_objext
20151 if { (ac_try="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20155 esac
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_compile") 2>conftest.er1
20158 ac_status=$?
20159 grep -v '^ *+' conftest.er1 >conftest.err
20160 rm -f conftest.er1
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest.$ac_objext; then
20167 ac_lo=$ac_mid; break
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ac_hi=`expr '(' $ac_mid ')' - 1`
20173 if test $ac_mid -le $ac_hi; then
20174 ac_lo= ac_hi=
20175 break
20176 fi
20177 ac_mid=`expr 2 '*' $ac_mid`
20178 fi
20179
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 done
20182 else
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.$ac_ext >&5
20185
20186 ac_lo= ac_hi=
20187 fi
20188
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 fi
20191
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 # Binary search between lo and hi bounds.
20194 while test "x$ac_lo" != "x$ac_hi"; do
20195 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef void * ac__type_sizeof_;
20204 int
20205 main ()
20206 {
20207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20208 test_array [0] = 0
20209
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_hi=$ac_mid
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20235
20236 ac_lo=`expr '(' $ac_mid ')' + 1`
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 done
20241 case $ac_lo in
20242 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20243 '') if test "$ac_cv_type_void_p" = yes; then
20244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20245 See \`config.log' for more details." >&5
20246 echo "$as_me: error: cannot compute sizeof (void *)
20247 See \`config.log' for more details." >&2;}
20248 { (exit 77); exit 77; }; }
20249 else
20250 ac_cv_sizeof_void_p=0
20251 fi ;;
20252 esac
20253 else
20254 cat >conftest.$ac_ext <<_ACEOF
20255 /* confdefs.h. */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260 $ac_includes_default
20261 typedef void * ac__type_sizeof_;
20262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20264 #include <stdio.h>
20265 #include <stdlib.h>
20266 int
20267 main ()
20268 {
20269
20270 FILE *f = fopen ("conftest.val", "w");
20271 if (! f)
20272 return 1;
20273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20274 {
20275 long int i = longval ();
20276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20277 return 1;
20278 fprintf (f, "%ld\n", i);
20279 }
20280 else
20281 {
20282 unsigned long int i = ulongval ();
20283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20284 return 1;
20285 fprintf (f, "%lu\n", i);
20286 }
20287 return ferror (f) || fclose (f) != 0;
20288
20289 ;
20290 return 0;
20291 }
20292 _ACEOF
20293 rm -f conftest$ac_exeext
20294 if { (ac_try="$ac_link"
20295 case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20298 esac
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_link") 2>&5
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20304 { (case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20306 *) ac_try_echo=$ac_try;;
20307 esac
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_try") 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 ac_cv_sizeof_void_p=`cat conftest.val`
20314 else
20315 echo "$as_me: program exited with status $ac_status" >&5
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319 ( exit $ac_status )
20320 if test "$ac_cv_type_void_p" = yes; then
20321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20322 See \`config.log' for more details." >&5
20323 echo "$as_me: error: cannot compute sizeof (void *)
20324 See \`config.log' for more details." >&2;}
20325 { (exit 77); exit 77; }; }
20326 else
20327 ac_cv_sizeof_void_p=0
20328 fi
20329 fi
20330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20331 fi
20332 rm -f conftest.val
20333 fi
20334 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20335 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20336
20337
20338
20339 cat >>confdefs.h <<_ACEOF
20340 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20341 _ACEOF
20342
20343
20344 { echo "$as_me:$LINENO: checking for int" >&5
20345 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20346 if test "${ac_cv_type_int+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 else
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef int ac__type_new_;
20357 int
20358 main ()
20359 {
20360 if ((ac__type_new_ *) 0)
20361 return 0;
20362 if (sizeof (ac__type_new_))
20363 return 0;
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20373 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20385 ac_cv_type_int=yes
20386 else
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20389
20390 ac_cv_type_int=no
20391 fi
20392
20393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 fi
20395 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20396 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20397
20398 # The cast to long int works around a bug in the HP C Compiler
20399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20401 # This bug is HP SR number 8606223364.
20402 { echo "$as_me:$LINENO: checking size of int" >&5
20403 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20404 if test "${ac_cv_sizeof_int+set}" = set; then
20405 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 else
20407 if test "$cross_compiling" = yes; then
20408 # Depending upon the size, compute the lo and hi bounds.
20409 cat >conftest.$ac_ext <<_ACEOF
20410 /* confdefs.h. */
20411 _ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20416 typedef int ac__type_sizeof_;
20417 int
20418 main ()
20419 {
20420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20421 test_array [0] = 0
20422
20423 ;
20424 return 0;
20425 }
20426 _ACEOF
20427 rm -f conftest.$ac_objext
20428 if { (ac_try="$ac_compile"
20429 case "(($ac_try" in
20430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20431 *) ac_try_echo=$ac_try;;
20432 esac
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_compile") 2>conftest.er1
20435 ac_status=$?
20436 grep -v '^ *+' conftest.er1 >conftest.err
20437 rm -f conftest.er1
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest.$ac_objext; then
20444 ac_lo=0 ac_mid=0
20445 while :; do
20446 cat >conftest.$ac_ext <<_ACEOF
20447 /* confdefs.h. */
20448 _ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 $ac_includes_default
20453 typedef int ac__type_sizeof_;
20454 int
20455 main ()
20456 {
20457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20458 test_array [0] = 0
20459
20460 ;
20461 return 0;
20462 }
20463 _ACEOF
20464 rm -f conftest.$ac_objext
20465 if { (ac_try="$ac_compile"
20466 case "(($ac_try" in
20467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20468 *) ac_try_echo=$ac_try;;
20469 esac
20470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20471 (eval "$ac_compile") 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } && {
20478 test -z "$ac_c_werror_flag" ||
20479 test ! -s conftest.err
20480 } && test -s conftest.$ac_objext; then
20481 ac_hi=$ac_mid; break
20482 else
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20485
20486 ac_lo=`expr $ac_mid + 1`
20487 if test $ac_lo -le $ac_mid; then
20488 ac_lo= ac_hi=
20489 break
20490 fi
20491 ac_mid=`expr 2 '*' $ac_mid + 1`
20492 fi
20493
20494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 done
20496 else
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.$ac_ext >&5
20499
20500 cat >conftest.$ac_ext <<_ACEOF
20501 /* confdefs.h. */
20502 _ACEOF
20503 cat confdefs.h >>conftest.$ac_ext
20504 cat >>conftest.$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 $ac_includes_default
20507 typedef int ac__type_sizeof_;
20508 int
20509 main ()
20510 {
20511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20512 test_array [0] = 0
20513
20514 ;
20515 return 0;
20516 }
20517 _ACEOF
20518 rm -f conftest.$ac_objext
20519 if { (ac_try="$ac_compile"
20520 case "(($ac_try" in
20521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20523 esac
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compile") 2>conftest.er1
20526 ac_status=$?
20527 grep -v '^ *+' conftest.er1 >conftest.err
20528 rm -f conftest.er1
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } && {
20532 test -z "$ac_c_werror_flag" ||
20533 test ! -s conftest.err
20534 } && test -s conftest.$ac_objext; then
20535 ac_hi=-1 ac_mid=-1
20536 while :; do
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef int ac__type_sizeof_;
20545 int
20546 main ()
20547 {
20548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20549 test_array [0] = 0
20550
20551 ;
20552 return 0;
20553 }
20554 _ACEOF
20555 rm -f conftest.$ac_objext
20556 if { (ac_try="$ac_compile"
20557 case "(($ac_try" in
20558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20559 *) ac_try_echo=$ac_try;;
20560 esac
20561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20562 (eval "$ac_compile") 2>conftest.er1
20563 ac_status=$?
20564 grep -v '^ *+' conftest.er1 >conftest.err
20565 rm -f conftest.er1
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } && {
20569 test -z "$ac_c_werror_flag" ||
20570 test ! -s conftest.err
20571 } && test -s conftest.$ac_objext; then
20572 ac_lo=$ac_mid; break
20573 else
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20576
20577 ac_hi=`expr '(' $ac_mid ')' - 1`
20578 if test $ac_mid -le $ac_hi; then
20579 ac_lo= ac_hi=
20580 break
20581 fi
20582 ac_mid=`expr 2 '*' $ac_mid`
20583 fi
20584
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586 done
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20590
20591 ac_lo= ac_hi=
20592 fi
20593
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20595 fi
20596
20597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20598 # Binary search between lo and hi bounds.
20599 while test "x$ac_lo" != "x$ac_hi"; do
20600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20601 cat >conftest.$ac_ext <<_ACEOF
20602 /* confdefs.h. */
20603 _ACEOF
20604 cat confdefs.h >>conftest.$ac_ext
20605 cat >>conftest.$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20608 typedef int ac__type_sizeof_;
20609 int
20610 main ()
20611 {
20612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20613 test_array [0] = 0
20614
20615 ;
20616 return 0;
20617 }
20618 _ACEOF
20619 rm -f conftest.$ac_objext
20620 if { (ac_try="$ac_compile"
20621 case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20624 esac
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20636 ac_hi=$ac_mid
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_lo=`expr '(' $ac_mid ')' + 1`
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 done
20646 case $ac_lo in
20647 ?*) ac_cv_sizeof_int=$ac_lo;;
20648 '') if test "$ac_cv_type_int" = yes; then
20649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20650 See \`config.log' for more details." >&5
20651 echo "$as_me: error: cannot compute sizeof (int)
20652 See \`config.log' for more details." >&2;}
20653 { (exit 77); exit 77; }; }
20654 else
20655 ac_cv_sizeof_int=0
20656 fi ;;
20657 esac
20658 else
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef int ac__type_sizeof_;
20667 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20668 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20669 #include <stdio.h>
20670 #include <stdlib.h>
20671 int
20672 main ()
20673 {
20674
20675 FILE *f = fopen ("conftest.val", "w");
20676 if (! f)
20677 return 1;
20678 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20679 {
20680 long int i = longval ();
20681 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20682 return 1;
20683 fprintf (f, "%ld\n", i);
20684 }
20685 else
20686 {
20687 unsigned long int i = ulongval ();
20688 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20689 return 1;
20690 fprintf (f, "%lu\n", i);
20691 }
20692 return ferror (f) || fclose (f) != 0;
20693
20694 ;
20695 return 0;
20696 }
20697 _ACEOF
20698 rm -f conftest$ac_exeext
20699 if { (ac_try="$ac_link"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_link") 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20709 { (case "(($ac_try" in
20710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20711 *) ac_try_echo=$ac_try;;
20712 esac
20713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_try") 2>&5
20715 ac_status=$?
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; }; then
20718 ac_cv_sizeof_int=`cat conftest.val`
20719 else
20720 echo "$as_me: program exited with status $ac_status" >&5
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20723
20724 ( exit $ac_status )
20725 if test "$ac_cv_type_int" = yes; then
20726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20727 See \`config.log' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (int)
20729 See \`config.log' for more details." >&2;}
20730 { (exit 77); exit 77; }; }
20731 else
20732 ac_cv_sizeof_int=0
20733 fi
20734 fi
20735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20736 fi
20737 rm -f conftest.val
20738 fi
20739 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20740 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20741
20742
20743
20744 cat >>confdefs.h <<_ACEOF
20745 #define SIZEOF_INT $ac_cv_sizeof_int
20746 _ACEOF
20747
20748
20749 { echo "$as_me:$LINENO: checking for long" >&5
20750 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20751 if test "${ac_cv_type_long+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 else
20754 cat >conftest.$ac_ext <<_ACEOF
20755 /* confdefs.h. */
20756 _ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef long ac__type_new_;
20762 int
20763 main ()
20764 {
20765 if ((ac__type_new_ *) 0)
20766 return 0;
20767 if (sizeof (ac__type_new_))
20768 return 0;
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20778 esac
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20781 ac_status=$?
20782 grep -v '^ *+' conftest.er1 >conftest.err
20783 rm -f conftest.er1
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20790 ac_cv_type_long=yes
20791 else
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.$ac_ext >&5
20794
20795 ac_cv_type_long=no
20796 fi
20797
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 fi
20800 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20801 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20802
20803 # The cast to long int works around a bug in the HP C Compiler
20804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20806 # This bug is HP SR number 8606223364.
20807 { echo "$as_me:$LINENO: checking size of long" >&5
20808 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20809 if test "${ac_cv_sizeof_long+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 else
20812 if test "$cross_compiling" = yes; then
20813 # Depending upon the size, compute the lo and hi bounds.
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 $ac_includes_default
20821 typedef long ac__type_sizeof_;
20822 int
20823 main ()
20824 {
20825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20826 test_array [0] = 0
20827
20828 ;
20829 return 0;
20830 }
20831 _ACEOF
20832 rm -f conftest.$ac_objext
20833 if { (ac_try="$ac_compile"
20834 case "(($ac_try" in
20835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20836 *) ac_try_echo=$ac_try;;
20837 esac
20838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20839 (eval "$ac_compile") 2>conftest.er1
20840 ac_status=$?
20841 grep -v '^ *+' conftest.er1 >conftest.err
20842 rm -f conftest.er1
20843 cat conftest.err >&5
20844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20845 (exit $ac_status); } && {
20846 test -z "$ac_c_werror_flag" ||
20847 test ! -s conftest.err
20848 } && test -s conftest.$ac_objext; then
20849 ac_lo=0 ac_mid=0
20850 while :; do
20851 cat >conftest.$ac_ext <<_ACEOF
20852 /* confdefs.h. */
20853 _ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 $ac_includes_default
20858 typedef long ac__type_sizeof_;
20859 int
20860 main ()
20861 {
20862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20863 test_array [0] = 0
20864
20865 ;
20866 return 0;
20867 }
20868 _ACEOF
20869 rm -f conftest.$ac_objext
20870 if { (ac_try="$ac_compile"
20871 case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20874 esac
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_compile") 2>conftest.er1
20877 ac_status=$?
20878 grep -v '^ *+' conftest.er1 >conftest.err
20879 rm -f conftest.er1
20880 cat conftest.err >&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } && {
20883 test -z "$ac_c_werror_flag" ||
20884 test ! -s conftest.err
20885 } && test -s conftest.$ac_objext; then
20886 ac_hi=$ac_mid; break
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 ac_lo=`expr $ac_mid + 1`
20892 if test $ac_lo -le $ac_mid; then
20893 ac_lo= ac_hi=
20894 break
20895 fi
20896 ac_mid=`expr 2 '*' $ac_mid + 1`
20897 fi
20898
20899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20900 done
20901 else
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20904
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 typedef long ac__type_sizeof_;
20913 int
20914 main ()
20915 {
20916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20917 test_array [0] = 0
20918
20919 ;
20920 return 0;
20921 }
20922 _ACEOF
20923 rm -f conftest.$ac_objext
20924 if { (ac_try="$ac_compile"
20925 case "(($ac_try" in
20926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20927 *) ac_try_echo=$ac_try;;
20928 esac
20929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20930 (eval "$ac_compile") 2>conftest.er1
20931 ac_status=$?
20932 grep -v '^ *+' conftest.er1 >conftest.err
20933 rm -f conftest.er1
20934 cat conftest.err >&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } && {
20937 test -z "$ac_c_werror_flag" ||
20938 test ! -s conftest.err
20939 } && test -s conftest.$ac_objext; then
20940 ac_hi=-1 ac_mid=-1
20941 while :; do
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef long ac__type_sizeof_;
20950 int
20951 main ()
20952 {
20953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20954 test_array [0] = 0
20955
20956 ;
20957 return 0;
20958 }
20959 _ACEOF
20960 rm -f conftest.$ac_objext
20961 if { (ac_try="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20965 esac
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20968 ac_status=$?
20969 grep -v '^ *+' conftest.er1 >conftest.err
20970 rm -f conftest.er1
20971 cat conftest.err >&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } && {
20974 test -z "$ac_c_werror_flag" ||
20975 test ! -s conftest.err
20976 } && test -s conftest.$ac_objext; then
20977 ac_lo=$ac_mid; break
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 ac_hi=`expr '(' $ac_mid ')' - 1`
20983 if test $ac_mid -le $ac_hi; then
20984 ac_lo= ac_hi=
20985 break
20986 fi
20987 ac_mid=`expr 2 '*' $ac_mid`
20988 fi
20989
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 done
20992 else
20993 echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20995
20996 ac_lo= ac_hi=
20997 fi
20998
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21000 fi
21001
21002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 # Binary search between lo and hi bounds.
21004 while test "x$ac_lo" != "x$ac_hi"; do
21005 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21006 cat >conftest.$ac_ext <<_ACEOF
21007 /* confdefs.h. */
21008 _ACEOF
21009 cat confdefs.h >>conftest.$ac_ext
21010 cat >>conftest.$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 $ac_includes_default
21013 typedef long ac__type_sizeof_;
21014 int
21015 main ()
21016 {
21017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21018 test_array [0] = 0
21019
21020 ;
21021 return 0;
21022 }
21023 _ACEOF
21024 rm -f conftest.$ac_objext
21025 if { (ac_try="$ac_compile"
21026 case "(($ac_try" in
21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21029 esac
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_compile") 2>conftest.er1
21032 ac_status=$?
21033 grep -v '^ *+' conftest.er1 >conftest.err
21034 rm -f conftest.er1
21035 cat conftest.err >&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); } && {
21038 test -z "$ac_c_werror_flag" ||
21039 test ! -s conftest.err
21040 } && test -s conftest.$ac_objext; then
21041 ac_hi=$ac_mid
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21045
21046 ac_lo=`expr '(' $ac_mid ')' + 1`
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 done
21051 case $ac_lo in
21052 ?*) ac_cv_sizeof_long=$ac_lo;;
21053 '') if test "$ac_cv_type_long" = yes; then
21054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21055 See \`config.log' for more details." >&5
21056 echo "$as_me: error: cannot compute sizeof (long)
21057 See \`config.log' for more details." >&2;}
21058 { (exit 77); exit 77; }; }
21059 else
21060 ac_cv_sizeof_long=0
21061 fi ;;
21062 esac
21063 else
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
21066 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 typedef long ac__type_sizeof_;
21072 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21073 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21074 #include <stdio.h>
21075 #include <stdlib.h>
21076 int
21077 main ()
21078 {
21079
21080 FILE *f = fopen ("conftest.val", "w");
21081 if (! f)
21082 return 1;
21083 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21084 {
21085 long int i = longval ();
21086 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21087 return 1;
21088 fprintf (f, "%ld\n", i);
21089 }
21090 else
21091 {
21092 unsigned long int i = ulongval ();
21093 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21094 return 1;
21095 fprintf (f, "%lu\n", i);
21096 }
21097 return ferror (f) || fclose (f) != 0;
21098
21099 ;
21100 return 0;
21101 }
21102 _ACEOF
21103 rm -f conftest$ac_exeext
21104 if { (ac_try="$ac_link"
21105 case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21108 esac
21109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_link") 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21114 { (case "(($ac_try" in
21115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21116 *) ac_try_echo=$ac_try;;
21117 esac
21118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21119 (eval "$ac_try") 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_sizeof_long=`cat conftest.val`
21124 else
21125 echo "$as_me: program exited with status $ac_status" >&5
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21128
21129 ( exit $ac_status )
21130 if test "$ac_cv_type_long" = yes; then
21131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21132 See \`config.log' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (long)
21134 See \`config.log' for more details." >&2;}
21135 { (exit 77); exit 77; }; }
21136 else
21137 ac_cv_sizeof_long=0
21138 fi
21139 fi
21140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21141 fi
21142 rm -f conftest.val
21143 fi
21144 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21145 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21146
21147
21148
21149 cat >>confdefs.h <<_ACEOF
21150 #define SIZEOF_LONG $ac_cv_sizeof_long
21151 _ACEOF
21152
21153
21154 { echo "$as_me:$LINENO: checking for size_t" >&5
21155 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21156 if test "${ac_cv_type_size_t+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 else
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h. */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef size_t ac__type_new_;
21167 int
21168 main ()
21169 {
21170 if ((ac__type_new_ *) 0)
21171 return 0;
21172 if (sizeof (ac__type_new_))
21173 return 0;
21174 ;
21175 return 0;
21176 }
21177 _ACEOF
21178 rm -f conftest.$ac_objext
21179 if { (ac_try="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21183 esac
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21186 ac_status=$?
21187 grep -v '^ *+' conftest.er1 >conftest.err
21188 rm -f conftest.er1
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21195 ac_cv_type_size_t=yes
21196 else
21197 echo "$as_me: failed program was:" >&5
21198 sed 's/^/| /' conftest.$ac_ext >&5
21199
21200 ac_cv_type_size_t=no
21201 fi
21202
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 fi
21205 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21206 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21207
21208 # The cast to long int works around a bug in the HP C Compiler
21209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21211 # This bug is HP SR number 8606223364.
21212 { echo "$as_me:$LINENO: checking size of size_t" >&5
21213 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21214 if test "${ac_cv_sizeof_size_t+set}" = set; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21216 else
21217 if test "$cross_compiling" = yes; then
21218 # Depending upon the size, compute the lo and hi bounds.
21219 cat >conftest.$ac_ext <<_ACEOF
21220 /* confdefs.h. */
21221 _ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 typedef size_t ac__type_sizeof_;
21227 int
21228 main ()
21229 {
21230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21231 test_array [0] = 0
21232
21233 ;
21234 return 0;
21235 }
21236 _ACEOF
21237 rm -f conftest.$ac_objext
21238 if { (ac_try="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242 esac
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && {
21251 test -z "$ac_c_werror_flag" ||
21252 test ! -s conftest.err
21253 } && test -s conftest.$ac_objext; then
21254 ac_lo=0 ac_mid=0
21255 while :; do
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 $ac_includes_default
21263 typedef size_t ac__type_sizeof_;
21264 int
21265 main ()
21266 {
21267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21268 test_array [0] = 0
21269
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext
21275 if { (ac_try="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21279 esac
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21282 ac_status=$?
21283 grep -v '^ *+' conftest.er1 >conftest.err
21284 rm -f conftest.er1
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.$ac_objext; then
21291 ac_hi=$ac_mid; break
21292 else
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21295
21296 ac_lo=`expr $ac_mid + 1`
21297 if test $ac_lo -le $ac_mid; then
21298 ac_lo= ac_hi=
21299 break
21300 fi
21301 ac_mid=`expr 2 '*' $ac_mid + 1`
21302 fi
21303
21304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 done
21306 else
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21309
21310 cat >conftest.$ac_ext <<_ACEOF
21311 /* confdefs.h. */
21312 _ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 $ac_includes_default
21317 typedef size_t ac__type_sizeof_;
21318 int
21319 main ()
21320 {
21321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21322 test_array [0] = 0
21323
21324 ;
21325 return 0;
21326 }
21327 _ACEOF
21328 rm -f conftest.$ac_objext
21329 if { (ac_try="$ac_compile"
21330 case "(($ac_try" in
21331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21333 esac
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_compile") 2>conftest.er1
21336 ac_status=$?
21337 grep -v '^ *+' conftest.er1 >conftest.err
21338 rm -f conftest.er1
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } && {
21342 test -z "$ac_c_werror_flag" ||
21343 test ! -s conftest.err
21344 } && test -s conftest.$ac_objext; then
21345 ac_hi=-1 ac_mid=-1
21346 while :; do
21347 cat >conftest.$ac_ext <<_ACEOF
21348 /* confdefs.h. */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 typedef size_t ac__type_sizeof_;
21355 int
21356 main ()
21357 {
21358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21359 test_array [0] = 0
21360
21361 ;
21362 return 0;
21363 }
21364 _ACEOF
21365 rm -f conftest.$ac_objext
21366 if { (ac_try="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21370 esac
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21373 ac_status=$?
21374 grep -v '^ *+' conftest.er1 >conftest.err
21375 rm -f conftest.er1
21376 cat conftest.err >&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } && {
21379 test -z "$ac_c_werror_flag" ||
21380 test ! -s conftest.err
21381 } && test -s conftest.$ac_objext; then
21382 ac_lo=$ac_mid; break
21383 else
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.$ac_ext >&5
21386
21387 ac_hi=`expr '(' $ac_mid ')' - 1`
21388 if test $ac_mid -le $ac_hi; then
21389 ac_lo= ac_hi=
21390 break
21391 fi
21392 ac_mid=`expr 2 '*' $ac_mid`
21393 fi
21394
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 done
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 ac_lo= ac_hi=
21402 fi
21403
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 fi
21406
21407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21408 # Binary search between lo and hi bounds.
21409 while test "x$ac_lo" != "x$ac_hi"; do
21410 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21411 cat >conftest.$ac_ext <<_ACEOF
21412 /* confdefs.h. */
21413 _ACEOF
21414 cat confdefs.h >>conftest.$ac_ext
21415 cat >>conftest.$ac_ext <<_ACEOF
21416 /* end confdefs.h. */
21417 $ac_includes_default
21418 typedef size_t ac__type_sizeof_;
21419 int
21420 main ()
21421 {
21422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21423 test_array [0] = 0
21424
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 rm -f conftest.$ac_objext
21430 if { (ac_try="$ac_compile"
21431 case "(($ac_try" in
21432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21433 *) ac_try_echo=$ac_try;;
21434 esac
21435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21436 (eval "$ac_compile") 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } && {
21443 test -z "$ac_c_werror_flag" ||
21444 test ! -s conftest.err
21445 } && test -s conftest.$ac_objext; then
21446 ac_hi=$ac_mid
21447 else
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21450
21451 ac_lo=`expr '(' $ac_mid ')' + 1`
21452 fi
21453
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 done
21456 case $ac_lo in
21457 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21458 '') if test "$ac_cv_type_size_t" = yes; then
21459 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21460 See \`config.log' for more details." >&5
21461 echo "$as_me: error: cannot compute sizeof (size_t)
21462 See \`config.log' for more details." >&2;}
21463 { (exit 77); exit 77; }; }
21464 else
21465 ac_cv_sizeof_size_t=0
21466 fi ;;
21467 esac
21468 else
21469 cat >conftest.$ac_ext <<_ACEOF
21470 /* confdefs.h. */
21471 _ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 $ac_includes_default
21476 typedef size_t ac__type_sizeof_;
21477 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21478 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21479 #include <stdio.h>
21480 #include <stdlib.h>
21481 int
21482 main ()
21483 {
21484
21485 FILE *f = fopen ("conftest.val", "w");
21486 if (! f)
21487 return 1;
21488 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21489 {
21490 long int i = longval ();
21491 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21492 return 1;
21493 fprintf (f, "%ld\n", i);
21494 }
21495 else
21496 {
21497 unsigned long int i = ulongval ();
21498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21499 return 1;
21500 fprintf (f, "%lu\n", i);
21501 }
21502 return ferror (f) || fclose (f) != 0;
21503
21504 ;
21505 return 0;
21506 }
21507 _ACEOF
21508 rm -f conftest$ac_exeext
21509 if { (ac_try="$ac_link"
21510 case "(($ac_try" in
21511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;;
21513 esac
21514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_link") 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21519 { (case "(($ac_try" in
21520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521 *) ac_try_echo=$ac_try;;
21522 esac
21523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21524 (eval "$ac_try") 2>&5
21525 ac_status=$?
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; }; then
21528 ac_cv_sizeof_size_t=`cat conftest.val`
21529 else
21530 echo "$as_me: program exited with status $ac_status" >&5
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21533
21534 ( exit $ac_status )
21535 if test "$ac_cv_type_size_t" = yes; then
21536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21537 See \`config.log' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (size_t)
21539 See \`config.log' for more details." >&2;}
21540 { (exit 77); exit 77; }; }
21541 else
21542 ac_cv_sizeof_size_t=0
21543 fi
21544 fi
21545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21546 fi
21547 rm -f conftest.val
21548 fi
21549 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21550 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21551
21552
21553
21554 cat >>confdefs.h <<_ACEOF
21555 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21556 _ACEOF
21557
21558
21559
21560 case "${host}" in
21561 arm-*-linux* )
21562 { echo "$as_me:$LINENO: checking for long long" >&5
21563 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21564 if test "${ac_cv_type_long_long+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 else
21567 cat >conftest.$ac_ext <<_ACEOF
21568 /* confdefs.h. */
21569 _ACEOF
21570 cat confdefs.h >>conftest.$ac_ext
21571 cat >>conftest.$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 $ac_includes_default
21574 typedef long long ac__type_new_;
21575 int
21576 main ()
21577 {
21578 if ((ac__type_new_ *) 0)
21579 return 0;
21580 if (sizeof (ac__type_new_))
21581 return 0;
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext
21587 if { (ac_try="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21591 esac
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21594 ac_status=$?
21595 grep -v '^ *+' conftest.er1 >conftest.err
21596 rm -f conftest.er1
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21603 ac_cv_type_long_long=yes
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ac_cv_type_long_long=no
21609 fi
21610
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 fi
21613 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21614 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21615
21616 # The cast to long int works around a bug in the HP C Compiler
21617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21619 # This bug is HP SR number 8606223364.
21620 { echo "$as_me:$LINENO: checking size of long long" >&5
21621 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21622 if test "${ac_cv_sizeof_long_long+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21624 else
21625 if test "$cross_compiling" = yes; then
21626 # Depending upon the size, compute the lo and hi bounds.
21627 cat >conftest.$ac_ext <<_ACEOF
21628 /* confdefs.h. */
21629 _ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef long long ac__type_sizeof_;
21635 int
21636 main ()
21637 {
21638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21639 test_array [0] = 0
21640
21641 ;
21642 return 0;
21643 }
21644 _ACEOF
21645 rm -f conftest.$ac_objext
21646 if { (ac_try="$ac_compile"
21647 case "(($ac_try" in
21648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21649 *) ac_try_echo=$ac_try;;
21650 esac
21651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21652 (eval "$ac_compile") 2>conftest.er1
21653 ac_status=$?
21654 grep -v '^ *+' conftest.er1 >conftest.err
21655 rm -f conftest.er1
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && {
21659 test -z "$ac_c_werror_flag" ||
21660 test ! -s conftest.err
21661 } && test -s conftest.$ac_objext; then
21662 ac_lo=0 ac_mid=0
21663 while :; do
21664 cat >conftest.$ac_ext <<_ACEOF
21665 /* confdefs.h. */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef long long ac__type_sizeof_;
21672 int
21673 main ()
21674 {
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21676 test_array [0] = 0
21677
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21686 *) ac_try_echo=$ac_try;;
21687 esac
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21690 ac_status=$?
21691 grep -v '^ *+' conftest.er1 >conftest.err
21692 rm -f conftest.er1
21693 cat conftest.err >&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.$ac_objext; then
21699 ac_hi=$ac_mid; break
21700 else
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.$ac_ext >&5
21703
21704 ac_lo=`expr $ac_mid + 1`
21705 if test $ac_lo -le $ac_mid; then
21706 ac_lo= ac_hi=
21707 break
21708 fi
21709 ac_mid=`expr 2 '*' $ac_mid + 1`
21710 fi
21711
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 done
21714 else
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21717
21718 cat >conftest.$ac_ext <<_ACEOF
21719 /* confdefs.h. */
21720 _ACEOF
21721 cat confdefs.h >>conftest.$ac_ext
21722 cat >>conftest.$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21724 $ac_includes_default
21725 typedef long long ac__type_sizeof_;
21726 int
21727 main ()
21728 {
21729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21730 test_array [0] = 0
21731
21732 ;
21733 return 0;
21734 }
21735 _ACEOF
21736 rm -f conftest.$ac_objext
21737 if { (ac_try="$ac_compile"
21738 case "(($ac_try" in
21739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21740 *) ac_try_echo=$ac_try;;
21741 esac
21742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21743 (eval "$ac_compile") 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } && {
21750 test -z "$ac_c_werror_flag" ||
21751 test ! -s conftest.err
21752 } && test -s conftest.$ac_objext; then
21753 ac_hi=-1 ac_mid=-1
21754 while :; do
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 $ac_includes_default
21762 typedef long long ac__type_sizeof_;
21763 int
21764 main ()
21765 {
21766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21767 test_array [0] = 0
21768
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (ac_try="$ac_compile"
21775 case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21778 esac
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_compile") 2>conftest.er1
21781 ac_status=$?
21782 grep -v '^ *+' conftest.er1 >conftest.err
21783 rm -f conftest.er1
21784 cat conftest.err >&5
21785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786 (exit $ac_status); } && {
21787 test -z "$ac_c_werror_flag" ||
21788 test ! -s conftest.err
21789 } && test -s conftest.$ac_objext; then
21790 ac_lo=$ac_mid; break
21791 else
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 ac_hi=`expr '(' $ac_mid ')' - 1`
21796 if test $ac_mid -le $ac_hi; then
21797 ac_lo= ac_hi=
21798 break
21799 fi
21800 ac_mid=`expr 2 '*' $ac_mid`
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 done
21805 else
21806 echo "$as_me: failed program was:" >&5
21807 sed 's/^/| /' conftest.$ac_ext >&5
21808
21809 ac_lo= ac_hi=
21810 fi
21811
21812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21813 fi
21814
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 # Binary search between lo and hi bounds.
21817 while test "x$ac_lo" != "x$ac_hi"; do
21818 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef long long ac__type_sizeof_;
21827 int
21828 main ()
21829 {
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21831 test_array [0] = 0
21832
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21842 esac
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21854 ac_hi=$ac_mid
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 ac_lo=`expr '(' $ac_mid ')' + 1`
21860 fi
21861
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 done
21864 case $ac_lo in
21865 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21866 '') if test "$ac_cv_type_long_long" = yes; then
21867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21868 See \`config.log' for more details." >&5
21869 echo "$as_me: error: cannot compute sizeof (long long)
21870 See \`config.log' for more details." >&2;}
21871 { (exit 77); exit 77; }; }
21872 else
21873 ac_cv_sizeof_long_long=0
21874 fi ;;
21875 esac
21876 else
21877 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */
21879 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef long long ac__type_sizeof_;
21885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21887 #include <stdio.h>
21888 #include <stdlib.h>
21889 int
21890 main ()
21891 {
21892
21893 FILE *f = fopen ("conftest.val", "w");
21894 if (! f)
21895 return 1;
21896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21897 {
21898 long int i = longval ();
21899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21900 return 1;
21901 fprintf (f, "%ld\n", i);
21902 }
21903 else
21904 {
21905 unsigned long int i = ulongval ();
21906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21907 return 1;
21908 fprintf (f, "%lu\n", i);
21909 }
21910 return ferror (f) || fclose (f) != 0;
21911
21912 ;
21913 return 0;
21914 }
21915 _ACEOF
21916 rm -f conftest$ac_exeext
21917 if { (ac_try="$ac_link"
21918 case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21921 esac
21922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_link") 2>&5
21924 ac_status=$?
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21927 { (case "(($ac_try" in
21928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21929 *) ac_try_echo=$ac_try;;
21930 esac
21931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21932 (eval "$ac_try") 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_sizeof_long_long=`cat conftest.val`
21937 else
21938 echo "$as_me: program exited with status $ac_status" >&5
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.$ac_ext >&5
21941
21942 ( exit $ac_status )
21943 if test "$ac_cv_type_long_long" = yes; then
21944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21945 See \`config.log' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long long)
21947 See \`config.log' for more details." >&2;}
21948 { (exit 77); exit 77; }; }
21949 else
21950 ac_cv_sizeof_long_long=0
21951 fi
21952 fi
21953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21954 fi
21955 rm -f conftest.val
21956 fi
21957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21958 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21959
21960
21961
21962 cat >>confdefs.h <<_ACEOF
21963 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21964 _ACEOF
21965
21966
21967 ;;
21968 *-hp-hpux* )
21969 { echo "$as_me:$LINENO: checking for long long" >&5
21970 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21971 if test "${ac_cv_type_long_long+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 else
21974 cat >conftest.$ac_ext <<_ACEOF
21975 /* confdefs.h. */
21976 _ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_new_;
21982 int
21983 main ()
21984 {
21985 if ((ac__type_new_ *) 0)
21986 return 0;
21987 if (sizeof (ac__type_new_))
21988 return 0;
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest.$ac_objext
21994 if { (ac_try="$ac_compile"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_compile") 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } && {
22007 test -z "$ac_c_werror_flag" ||
22008 test ! -s conftest.err
22009 } && test -s conftest.$ac_objext; then
22010 ac_cv_type_long_long=yes
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22014
22015 ac_cv_type_long_long=no
22016 fi
22017
22018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 fi
22020 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22021 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22022
22023 # The cast to long int works around a bug in the HP C Compiler
22024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22026 # This bug is HP SR number 8606223364.
22027 { echo "$as_me:$LINENO: checking size of long long" >&5
22028 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22029 if test "${ac_cv_sizeof_long_long+set}" = set; then
22030 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 else
22032 if test "$cross_compiling" = yes; then
22033 # Depending upon the size, compute the lo and hi bounds.
22034 cat >conftest.$ac_ext <<_ACEOF
22035 /* confdefs.h. */
22036 _ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 $ac_includes_default
22041 typedef long long ac__type_sizeof_;
22042 int
22043 main ()
22044 {
22045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22046 test_array [0] = 0
22047
22048 ;
22049 return 0;
22050 }
22051 _ACEOF
22052 rm -f conftest.$ac_objext
22053 if { (ac_try="$ac_compile"
22054 case "(($ac_try" in
22055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22056 *) ac_try_echo=$ac_try;;
22057 esac
22058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059 (eval "$ac_compile") 2>conftest.er1
22060 ac_status=$?
22061 grep -v '^ *+' conftest.er1 >conftest.err
22062 rm -f conftest.er1
22063 cat conftest.err >&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); } && {
22066 test -z "$ac_c_werror_flag" ||
22067 test ! -s conftest.err
22068 } && test -s conftest.$ac_objext; then
22069 ac_lo=0 ac_mid=0
22070 while :; do
22071 cat >conftest.$ac_ext <<_ACEOF
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 typedef long long ac__type_sizeof_;
22079 int
22080 main ()
22081 {
22082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22083 test_array [0] = 0
22084
22085 ;
22086 return 0;
22087 }
22088 _ACEOF
22089 rm -f conftest.$ac_objext
22090 if { (ac_try="$ac_compile"
22091 case "(($ac_try" in
22092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22093 *) ac_try_echo=$ac_try;;
22094 esac
22095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22096 (eval "$ac_compile") 2>conftest.er1
22097 ac_status=$?
22098 grep -v '^ *+' conftest.er1 >conftest.err
22099 rm -f conftest.er1
22100 cat conftest.err >&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && {
22103 test -z "$ac_c_werror_flag" ||
22104 test ! -s conftest.err
22105 } && test -s conftest.$ac_objext; then
22106 ac_hi=$ac_mid; break
22107 else
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.$ac_ext >&5
22110
22111 ac_lo=`expr $ac_mid + 1`
22112 if test $ac_lo -le $ac_mid; then
22113 ac_lo= ac_hi=
22114 break
22115 fi
22116 ac_mid=`expr 2 '*' $ac_mid + 1`
22117 fi
22118
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 done
22121 else
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22124
22125 cat >conftest.$ac_ext <<_ACEOF
22126 /* confdefs.h. */
22127 _ACEOF
22128 cat confdefs.h >>conftest.$ac_ext
22129 cat >>conftest.$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 typedef long long ac__type_sizeof_;
22133 int
22134 main ()
22135 {
22136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22137 test_array [0] = 0
22138
22139 ;
22140 return 0;
22141 }
22142 _ACEOF
22143 rm -f conftest.$ac_objext
22144 if { (ac_try="$ac_compile"
22145 case "(($ac_try" in
22146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22148 esac
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_compile") 2>conftest.er1
22151 ac_status=$?
22152 grep -v '^ *+' conftest.er1 >conftest.err
22153 rm -f conftest.er1
22154 cat conftest.err >&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); } && {
22157 test -z "$ac_c_werror_flag" ||
22158 test ! -s conftest.err
22159 } && test -s conftest.$ac_objext; then
22160 ac_hi=-1 ac_mid=-1
22161 while :; do
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef long long ac__type_sizeof_;
22170 int
22171 main ()
22172 {
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22174 test_array [0] = 0
22175
22176 ;
22177 return 0;
22178 }
22179 _ACEOF
22180 rm -f conftest.$ac_objext
22181 if { (ac_try="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22185 esac
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22188 ac_status=$?
22189 grep -v '^ *+' conftest.er1 >conftest.err
22190 rm -f conftest.er1
22191 cat conftest.err >&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.$ac_objext; then
22197 ac_lo=$ac_mid; break
22198 else
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 ac_hi=`expr '(' $ac_mid ')' - 1`
22203 if test $ac_mid -le $ac_hi; then
22204 ac_lo= ac_hi=
22205 break
22206 fi
22207 ac_mid=`expr 2 '*' $ac_mid`
22208 fi
22209
22210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22211 done
22212 else
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22215
22216 ac_lo= ac_hi=
22217 fi
22218
22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22220 fi
22221
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223 # Binary search between lo and hi bounds.
22224 while test "x$ac_lo" != "x$ac_hi"; do
22225 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22226 cat >conftest.$ac_ext <<_ACEOF
22227 /* confdefs.h. */
22228 _ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 $ac_includes_default
22233 typedef long long ac__type_sizeof_;
22234 int
22235 main ()
22236 {
22237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22238 test_array [0] = 0
22239
22240 ;
22241 return 0;
22242 }
22243 _ACEOF
22244 rm -f conftest.$ac_objext
22245 if { (ac_try="$ac_compile"
22246 case "(($ac_try" in
22247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22248 *) ac_try_echo=$ac_try;;
22249 esac
22250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251 (eval "$ac_compile") 2>conftest.er1
22252 ac_status=$?
22253 grep -v '^ *+' conftest.er1 >conftest.err
22254 rm -f conftest.er1
22255 cat conftest.err >&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); } && {
22258 test -z "$ac_c_werror_flag" ||
22259 test ! -s conftest.err
22260 } && test -s conftest.$ac_objext; then
22261 ac_hi=$ac_mid
22262 else
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.$ac_ext >&5
22265
22266 ac_lo=`expr '(' $ac_mid ')' + 1`
22267 fi
22268
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 done
22271 case $ac_lo in
22272 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22273 '') if test "$ac_cv_type_long_long" = yes; then
22274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22275 See \`config.log' for more details." >&5
22276 echo "$as_me: error: cannot compute sizeof (long long)
22277 See \`config.log' for more details." >&2;}
22278 { (exit 77); exit 77; }; }
22279 else
22280 ac_cv_sizeof_long_long=0
22281 fi ;;
22282 esac
22283 else
22284 cat >conftest.$ac_ext <<_ACEOF
22285 /* confdefs.h. */
22286 _ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 $ac_includes_default
22291 typedef long long ac__type_sizeof_;
22292 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22293 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22294 #include <stdio.h>
22295 #include <stdlib.h>
22296 int
22297 main ()
22298 {
22299
22300 FILE *f = fopen ("conftest.val", "w");
22301 if (! f)
22302 return 1;
22303 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22304 {
22305 long int i = longval ();
22306 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22307 return 1;
22308 fprintf (f, "%ld\n", i);
22309 }
22310 else
22311 {
22312 unsigned long int i = ulongval ();
22313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22314 return 1;
22315 fprintf (f, "%lu\n", i);
22316 }
22317 return ferror (f) || fclose (f) != 0;
22318
22319 ;
22320 return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest$ac_exeext
22324 if { (ac_try="$ac_link"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22328 esac
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_link") 2>&5
22331 ac_status=$?
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22337 esac
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_sizeof_long_long=`cat conftest.val`
22344 else
22345 echo "$as_me: program exited with status $ac_status" >&5
22346 echo "$as_me: failed program was:" >&5
22347 sed 's/^/| /' conftest.$ac_ext >&5
22348
22349 ( exit $ac_status )
22350 if test "$ac_cv_type_long_long" = yes; then
22351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22352 See \`config.log' for more details." >&5
22353 echo "$as_me: error: cannot compute sizeof (long long)
22354 See \`config.log' for more details." >&2;}
22355 { (exit 77); exit 77; }; }
22356 else
22357 ac_cv_sizeof_long_long=0
22358 fi
22359 fi
22360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22361 fi
22362 rm -f conftest.val
22363 fi
22364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22366
22367
22368
22369 cat >>confdefs.h <<_ACEOF
22370 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22371 _ACEOF
22372
22373
22374 if test "$ac_cv_sizeof_long_long" != 0; then
22375 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22376 fi
22377 ;;
22378 * )
22379 { echo "$as_me:$LINENO: checking for long long" >&5
22380 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22381 if test "${ac_cv_type_long_long+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22383 else
22384 cat >conftest.$ac_ext <<_ACEOF
22385 /* confdefs.h. */
22386 _ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 $ac_includes_default
22391 typedef long long ac__type_new_;
22392 int
22393 main ()
22394 {
22395 if ((ac__type_new_ *) 0)
22396 return 0;
22397 if (sizeof (ac__type_new_))
22398 return 0;
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_type_long_long=yes
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_cv_type_long_long=no
22426 fi
22427
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 fi
22430 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22431 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22432
22433 # The cast to long int works around a bug in the HP C Compiler
22434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22436 # This bug is HP SR number 8606223364.
22437 { echo "$as_me:$LINENO: checking size of long long" >&5
22438 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22439 if test "${ac_cv_sizeof_long_long+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 else
22442 if test "$cross_compiling" = yes; then
22443 # Depending upon the size, compute the lo and hi bounds.
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_sizeof_;
22452 int
22453 main ()
22454 {
22455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22456 test_array [0] = 0
22457
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22466 *) ac_try_echo=$ac_try;;
22467 esac
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22470 ac_status=$?
22471 grep -v '^ *+' conftest.er1 >conftest.err
22472 rm -f conftest.er1
22473 cat conftest.err >&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && {
22476 test -z "$ac_c_werror_flag" ||
22477 test ! -s conftest.err
22478 } && test -s conftest.$ac_objext; then
22479 ac_lo=0 ac_mid=0
22480 while :; do
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef long long ac__type_sizeof_;
22489 int
22490 main ()
22491 {
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22493 test_array [0] = 0
22494
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (ac_try="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22504 esac
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22507 ac_status=$?
22508 grep -v '^ *+' conftest.er1 >conftest.err
22509 rm -f conftest.er1
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22516 ac_hi=$ac_mid; break
22517 else
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.$ac_ext >&5
22520
22521 ac_lo=`expr $ac_mid + 1`
22522 if test $ac_lo -le $ac_mid; then
22523 ac_lo= ac_hi=
22524 break
22525 fi
22526 ac_mid=`expr 2 '*' $ac_mid + 1`
22527 fi
22528
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22530 done
22531 else
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22534
22535 cat >conftest.$ac_ext <<_ACEOF
22536 /* confdefs.h. */
22537 _ACEOF
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541 $ac_includes_default
22542 typedef long long ac__type_sizeof_;
22543 int
22544 main ()
22545 {
22546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22547 test_array [0] = 0
22548
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest.$ac_objext
22554 if { (ac_try="$ac_compile"
22555 case "(($ac_try" in
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22558 esac
22559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22560 (eval "$ac_compile") 2>conftest.er1
22561 ac_status=$?
22562 grep -v '^ *+' conftest.er1 >conftest.err
22563 rm -f conftest.er1
22564 cat conftest.err >&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } && {
22567 test -z "$ac_c_werror_flag" ||
22568 test ! -s conftest.err
22569 } && test -s conftest.$ac_objext; then
22570 ac_hi=-1 ac_mid=-1
22571 while :; do
22572 cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h. */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 $ac_includes_default
22579 typedef long long ac__type_sizeof_;
22580 int
22581 main ()
22582 {
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22584 test_array [0] = 0
22585
22586 ;
22587 return 0;
22588 }
22589 _ACEOF
22590 rm -f conftest.$ac_objext
22591 if { (ac_try="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22595 esac
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22598 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then
22607 ac_lo=$ac_mid; break
22608 else
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22611
22612 ac_hi=`expr '(' $ac_mid ')' - 1`
22613 if test $ac_mid -le $ac_hi; then
22614 ac_lo= ac_hi=
22615 break
22616 fi
22617 ac_mid=`expr 2 '*' $ac_mid`
22618 fi
22619
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 done
22622 else
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 ac_lo= ac_hi=
22627 fi
22628
22629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630 fi
22631
22632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22633 # Binary search between lo and hi bounds.
22634 while test "x$ac_lo" != "x$ac_hi"; do
22635 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22636 cat >conftest.$ac_ext <<_ACEOF
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 typedef long long ac__type_sizeof_;
22644 int
22645 main ()
22646 {
22647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22648 test_array [0] = 0
22649
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (ac_try="$ac_compile"
22656 case "(($ac_try" in
22657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22658 *) ac_try_echo=$ac_try;;
22659 esac
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_compile") 2>conftest.er1
22662 ac_status=$?
22663 grep -v '^ *+' conftest.er1 >conftest.err
22664 rm -f conftest.er1
22665 cat conftest.err >&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } && {
22668 test -z "$ac_c_werror_flag" ||
22669 test ! -s conftest.err
22670 } && test -s conftest.$ac_objext; then
22671 ac_hi=$ac_mid
22672 else
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22675
22676 ac_lo=`expr '(' $ac_mid ')' + 1`
22677 fi
22678
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 done
22681 case $ac_lo in
22682 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22683 '') if test "$ac_cv_type_long_long" = yes; then
22684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22685 See \`config.log' for more details." >&5
22686 echo "$as_me: error: cannot compute sizeof (long long)
22687 See \`config.log' for more details." >&2;}
22688 { (exit 77); exit 77; }; }
22689 else
22690 ac_cv_sizeof_long_long=0
22691 fi ;;
22692 esac
22693 else
22694 cat >conftest.$ac_ext <<_ACEOF
22695 /* confdefs.h. */
22696 _ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_sizeof_;
22702 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 #include <stdio.h>
22705 #include <stdlib.h>
22706 int
22707 main ()
22708 {
22709
22710 FILE *f = fopen ("conftest.val", "w");
22711 if (! f)
22712 return 1;
22713 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22714 {
22715 long int i = longval ();
22716 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22717 return 1;
22718 fprintf (f, "%ld\n", i);
22719 }
22720 else
22721 {
22722 unsigned long int i = ulongval ();
22723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 return 1;
22725 fprintf (f, "%lu\n", i);
22726 }
22727 return ferror (f) || fclose (f) != 0;
22728
22729 ;
22730 return 0;
22731 }
22732 _ACEOF
22733 rm -f conftest$ac_exeext
22734 if { (ac_try="$ac_link"
22735 case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22738 esac
22739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_link") 2>&5
22741 ac_status=$?
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22744 { (case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22747 esac
22748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_try") 2>&5
22750 ac_status=$?
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); }; }; then
22753 ac_cv_sizeof_long_long=`cat conftest.val`
22754 else
22755 echo "$as_me: program exited with status $ac_status" >&5
22756 echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22758
22759 ( exit $ac_status )
22760 if test "$ac_cv_type_long_long" = yes; then
22761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22762 See \`config.log' for more details." >&5
22763 echo "$as_me: error: cannot compute sizeof (long long)
22764 See \`config.log' for more details." >&2;}
22765 { (exit 77); exit 77; }; }
22766 else
22767 ac_cv_sizeof_long_long=0
22768 fi
22769 fi
22770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22771 fi
22772 rm -f conftest.val
22773 fi
22774 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22775 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22776
22777
22778
22779 cat >>confdefs.h <<_ACEOF
22780 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22781 _ACEOF
22782
22783
22784 esac
22785
22786 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22787 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22788 if test "${ac_cv_type_wchar_t+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797
22798 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22799 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22800 # error "fake wchar_t"
22801 #endif
22802 #ifdef HAVE_WCHAR_H
22803 # ifdef __CYGWIN__
22804 # include <stddef.h>
22805 # endif
22806 # include <wchar.h>
22807 #endif
22808 #ifdef HAVE_STDLIB_H
22809 # include <stdlib.h>
22810 #endif
22811 #include <stdio.h>
22812
22813
22814
22815 typedef wchar_t ac__type_new_;
22816 int
22817 main ()
22818 {
22819 if ((ac__type_new_ *) 0)
22820 return 0;
22821 if (sizeof (ac__type_new_))
22822 return 0;
22823 ;
22824 return 0;
22825 }
22826 _ACEOF
22827 rm -f conftest.$ac_objext
22828 if { (ac_try="$ac_compile"
22829 case "(($ac_try" in
22830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22831 *) ac_try_echo=$ac_try;;
22832 esac
22833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22834 (eval "$ac_compile") 2>conftest.er1
22835 ac_status=$?
22836 grep -v '^ *+' conftest.er1 >conftest.err
22837 rm -f conftest.er1
22838 cat conftest.err >&5
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } && {
22841 test -z "$ac_c_werror_flag" ||
22842 test ! -s conftest.err
22843 } && test -s conftest.$ac_objext; then
22844 ac_cv_type_wchar_t=yes
22845 else
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22848
22849 ac_cv_type_wchar_t=no
22850 fi
22851
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 fi
22854 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22855 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22856
22857 # The cast to long int works around a bug in the HP C Compiler
22858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22860 # This bug is HP SR number 8606223364.
22861 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22862 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22863 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22864 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 else
22866 if test "$cross_compiling" = yes; then
22867 # Depending upon the size, compute the lo and hi bounds.
22868 cat >conftest.$ac_ext <<_ACEOF
22869 /* confdefs.h. */
22870 _ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874
22875 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22876 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22877 # error "fake wchar_t"
22878 #endif
22879 #ifdef HAVE_WCHAR_H
22880 # ifdef __CYGWIN__
22881 # include <stddef.h>
22882 # endif
22883 # include <wchar.h>
22884 #endif
22885 #ifdef HAVE_STDLIB_H
22886 # include <stdlib.h>
22887 #endif
22888 #include <stdio.h>
22889
22890
22891
22892 typedef wchar_t ac__type_sizeof_;
22893 int
22894 main ()
22895 {
22896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22897 test_array [0] = 0
22898
22899 ;
22900 return 0;
22901 }
22902 _ACEOF
22903 rm -f conftest.$ac_objext
22904 if { (ac_try="$ac_compile"
22905 case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22908 esac
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_compile") 2>conftest.er1
22911 ac_status=$?
22912 grep -v '^ *+' conftest.er1 >conftest.err
22913 rm -f conftest.er1
22914 cat conftest.err >&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } && {
22917 test -z "$ac_c_werror_flag" ||
22918 test ! -s conftest.err
22919 } && test -s conftest.$ac_objext; then
22920 ac_lo=0 ac_mid=0
22921 while :; do
22922 cat >conftest.$ac_ext <<_ACEOF
22923 /* confdefs.h. */
22924 _ACEOF
22925 cat confdefs.h >>conftest.$ac_ext
22926 cat >>conftest.$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928
22929 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22930 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22931 # error "fake wchar_t"
22932 #endif
22933 #ifdef HAVE_WCHAR_H
22934 # ifdef __CYGWIN__
22935 # include <stddef.h>
22936 # endif
22937 # include <wchar.h>
22938 #endif
22939 #ifdef HAVE_STDLIB_H
22940 # include <stdlib.h>
22941 #endif
22942 #include <stdio.h>
22943
22944
22945
22946 typedef wchar_t ac__type_sizeof_;
22947 int
22948 main ()
22949 {
22950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22951 test_array [0] = 0
22952
22953 ;
22954 return 0;
22955 }
22956 _ACEOF
22957 rm -f conftest.$ac_objext
22958 if { (ac_try="$ac_compile"
22959 case "(($ac_try" in
22960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22961 *) ac_try_echo=$ac_try;;
22962 esac
22963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22964 (eval "$ac_compile") 2>conftest.er1
22965 ac_status=$?
22966 grep -v '^ *+' conftest.er1 >conftest.err
22967 rm -f conftest.er1
22968 cat conftest.err >&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); } && {
22971 test -z "$ac_c_werror_flag" ||
22972 test ! -s conftest.err
22973 } && test -s conftest.$ac_objext; then
22974 ac_hi=$ac_mid; break
22975 else
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22978
22979 ac_lo=`expr $ac_mid + 1`
22980 if test $ac_lo -le $ac_mid; then
22981 ac_lo= ac_hi=
22982 break
22983 fi
22984 ac_mid=`expr 2 '*' $ac_mid + 1`
22985 fi
22986
22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22988 done
22989 else
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.$ac_ext >&5
22992
22993 cat >conftest.$ac_ext <<_ACEOF
22994 /* confdefs.h. */
22995 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999
23000 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23001 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23002 # error "fake wchar_t"
23003 #endif
23004 #ifdef HAVE_WCHAR_H
23005 # ifdef __CYGWIN__
23006 # include <stddef.h>
23007 # endif
23008 # include <wchar.h>
23009 #endif
23010 #ifdef HAVE_STDLIB_H
23011 # include <stdlib.h>
23012 #endif
23013 #include <stdio.h>
23014
23015
23016
23017 typedef wchar_t ac__type_sizeof_;
23018 int
23019 main ()
23020 {
23021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23022 test_array [0] = 0
23023
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_c_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045 ac_hi=-1 ac_mid=-1
23046 while :; do
23047 cat >conftest.$ac_ext <<_ACEOF
23048 /* confdefs.h. */
23049 _ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23053
23054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23056 # error "fake wchar_t"
23057 #endif
23058 #ifdef HAVE_WCHAR_H
23059 # ifdef __CYGWIN__
23060 # include <stddef.h>
23061 # endif
23062 # include <wchar.h>
23063 #endif
23064 #ifdef HAVE_STDLIB_H
23065 # include <stdlib.h>
23066 #endif
23067 #include <stdio.h>
23068
23069
23070
23071 typedef wchar_t ac__type_sizeof_;
23072 int
23073 main ()
23074 {
23075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23076 test_array [0] = 0
23077
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 rm -f conftest.$ac_objext
23083 if { (ac_try="$ac_compile"
23084 case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23087 esac
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_compile") 2>conftest.er1
23090 ac_status=$?
23091 grep -v '^ *+' conftest.er1 >conftest.err
23092 rm -f conftest.er1
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } && {
23096 test -z "$ac_c_werror_flag" ||
23097 test ! -s conftest.err
23098 } && test -s conftest.$ac_objext; then
23099 ac_lo=$ac_mid; break
23100 else
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.$ac_ext >&5
23103
23104 ac_hi=`expr '(' $ac_mid ')' - 1`
23105 if test $ac_mid -le $ac_hi; then
23106 ac_lo= ac_hi=
23107 break
23108 fi
23109 ac_mid=`expr 2 '*' $ac_mid`
23110 fi
23111
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 done
23114 else
23115 echo "$as_me: failed program was:" >&5
23116 sed 's/^/| /' conftest.$ac_ext >&5
23117
23118 ac_lo= ac_hi=
23119 fi
23120
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122 fi
23123
23124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23125 # Binary search between lo and hi bounds.
23126 while test "x$ac_lo" != "x$ac_hi"; do
23127 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23128 cat >conftest.$ac_ext <<_ACEOF
23129 /* confdefs.h. */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134
23135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23137 # error "fake wchar_t"
23138 #endif
23139 #ifdef HAVE_WCHAR_H
23140 # ifdef __CYGWIN__
23141 # include <stddef.h>
23142 # endif
23143 # include <wchar.h>
23144 #endif
23145 #ifdef HAVE_STDLIB_H
23146 # include <stdlib.h>
23147 #endif
23148 #include <stdio.h>
23149
23150
23151
23152 typedef wchar_t ac__type_sizeof_;
23153 int
23154 main ()
23155 {
23156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23157 test_array [0] = 0
23158
23159 ;
23160 return 0;
23161 }
23162 _ACEOF
23163 rm -f conftest.$ac_objext
23164 if { (ac_try="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23168 esac
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23171 ac_status=$?
23172 grep -v '^ *+' conftest.er1 >conftest.err
23173 rm -f conftest.er1
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_c_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23180 ac_hi=$ac_mid
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 ac_lo=`expr '(' $ac_mid ')' + 1`
23186 fi
23187
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189 done
23190 case $ac_lo in
23191 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23192 '') if test "$ac_cv_type_wchar_t" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23194 See \`config.log' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (wchar_t)
23196 See \`config.log' for more details." >&2;}
23197 { (exit 77); exit 77; }; }
23198 else
23199 ac_cv_sizeof_wchar_t=0
23200 fi ;;
23201 esac
23202 else
23203 cat >conftest.$ac_ext <<_ACEOF
23204 /* confdefs.h. */
23205 _ACEOF
23206 cat confdefs.h >>conftest.$ac_ext
23207 cat >>conftest.$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23209
23210 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23211 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23212 # error "fake wchar_t"
23213 #endif
23214 #ifdef HAVE_WCHAR_H
23215 # ifdef __CYGWIN__
23216 # include <stddef.h>
23217 # endif
23218 # include <wchar.h>
23219 #endif
23220 #ifdef HAVE_STDLIB_H
23221 # include <stdlib.h>
23222 #endif
23223 #include <stdio.h>
23224
23225
23226
23227 typedef wchar_t ac__type_sizeof_;
23228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23230 #include <stdio.h>
23231 #include <stdlib.h>
23232 int
23233 main ()
23234 {
23235
23236 FILE *f = fopen ("conftest.val", "w");
23237 if (! f)
23238 return 1;
23239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23240 {
23241 long int i = longval ();
23242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23243 return 1;
23244 fprintf (f, "%ld\n", i);
23245 }
23246 else
23247 {
23248 unsigned long int i = ulongval ();
23249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23250 return 1;
23251 fprintf (f, "%lu\n", i);
23252 }
23253 return ferror (f) || fclose (f) != 0;
23254
23255 ;
23256 return 0;
23257 }
23258 _ACEOF
23259 rm -f conftest$ac_exeext
23260 if { (ac_try="$ac_link"
23261 case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23264 esac
23265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_link") 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23270 { (case "(($ac_try" in
23271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23272 *) ac_try_echo=$ac_try;;
23273 esac
23274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23275 (eval "$ac_try") 2>&5
23276 ac_status=$?
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); }; }; then
23279 ac_cv_sizeof_wchar_t=`cat conftest.val`
23280 else
23281 echo "$as_me: program exited with status $ac_status" >&5
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23284
23285 ( exit $ac_status )
23286 if test "$ac_cv_type_wchar_t" = yes; then
23287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23288 See \`config.log' for more details." >&5
23289 echo "$as_me: error: cannot compute sizeof (wchar_t)
23290 See \`config.log' for more details." >&2;}
23291 { (exit 77); exit 77; }; }
23292 else
23293 ac_cv_sizeof_wchar_t=0
23294 fi
23295 fi
23296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23297 fi
23298 rm -f conftest.val
23299 fi
23300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23301 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23302
23303
23304
23305 cat >>confdefs.h <<_ACEOF
23306 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23307 _ACEOF
23308
23309
23310 if test "$ac_cv_sizeof_wchar_t" != 0; then
23311 wxUSE_WCHAR_T=yes
23312 else
23313 wxUSE_WCHAR_T=no
23314 fi
23315
23316 { echo "$as_me:$LINENO: checking for va_copy" >&5
23317 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23318 if test "${wx_cv_func_va_copy+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23320 else
23321
23322 ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328 cat >conftest.$ac_ext <<_ACEOF
23329
23330 #include <stdarg.h>
23331 void foo(char *f, ...)
23332 {
23333 va_list ap1, ap2;
23334 va_start(ap1, f);
23335 va_copy(ap2, ap1);
23336 va_end(ap2);
23337 va_end(ap1);
23338 }
23339 int main()
23340 {
23341 foo("hi", 17);
23342 return 0;
23343 }
23344 _ACEOF
23345 rm -f conftest.$ac_objext conftest$ac_exeext
23346 if { (ac_try="$ac_link"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23350 esac
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_link") 2>conftest.er1
23353 ac_status=$?
23354 grep -v '^ *+' conftest.er1 >conftest.err
23355 rm -f conftest.er1
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } && {
23359 test -z "$ac_cxx_werror_flag" ||
23360 test ! -s conftest.err
23361 } && test -s conftest$ac_exeext &&
23362 $as_test_x conftest$ac_exeext; then
23363 wx_cv_func_va_copy=yes
23364 else
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 wx_cv_func_va_copy=no
23369
23370 fi
23371
23372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23373 conftest$ac_exeext conftest.$ac_ext
23374 ac_ext=c
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23379
23380
23381
23382 fi
23383 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23384 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23385
23386 if test $wx_cv_func_va_copy = "yes"; then
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_VA_COPY 1
23389 _ACEOF
23390
23391 else
23392 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23393 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23394 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397
23398 if test "$cross_compiling" = yes; then
23399 wx_cv_type_va_list_lvalue=yes
23400
23401 else
23402 cat >conftest.$ac_ext <<_ACEOF
23403
23404 #include <stdarg.h>
23405 int foo(char *f, ...)
23406 {
23407 va_list ap1, ap2;
23408 va_start(ap1, f);
23409 ap2 = ap1;
23410 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23411 return 1;
23412 va_end(ap2);
23413 va_end(ap1);
23414 return 0;
23415 }
23416 int main()
23417 {
23418 return foo("hi", 17);
23419 }
23420 _ACEOF
23421 rm -f conftest$ac_exeext
23422 if { (ac_try="$ac_link"
23423 case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23426 esac
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_link") 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23432 { (case "(($ac_try" in
23433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23434 *) ac_try_echo=$ac_try;;
23435 esac
23436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23437 (eval "$ac_try") 2>&5
23438 ac_status=$?
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 wx_cv_type_va_list_lvalue=yes
23442 else
23443 echo "$as_me: program exited with status $ac_status" >&5
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 ( exit $ac_status )
23448 wx_cv_type_va_list_lvalue=no
23449 fi
23450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23451 fi
23452
23453
23454
23455
23456 fi
23457 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23458 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23459
23460 if test $wx_cv_type_va_list_lvalue != "yes"; then
23461 cat >>confdefs.h <<\_ACEOF
23462 #define VA_LIST_IS_ARRAY 1
23463 _ACEOF
23464
23465 fi
23466 fi
23467
23468 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23469
23470 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23471 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23472 if test "${wx_cv_have_variadic_macros+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23474 else
23475
23476 ac_ext=cpp
23477 ac_cpp='$CXXCPP $CPPFLAGS'
23478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23481
23482 cat >conftest.$ac_ext <<_ACEOF
23483 /* confdefs.h. */
23484 _ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23488
23489 #include <stdio.h>
23490 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23491
23492 int
23493 main ()
23494 {
23495
23496 test("%s %d %p", "test", 1, 0);
23497
23498
23499 ;
23500 return 0;
23501 }
23502 _ACEOF
23503 rm -f conftest.$ac_objext
23504 if { (ac_try="$ac_compile"
23505 case "(($ac_try" in
23506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23507 *) ac_try_echo=$ac_try;;
23508 esac
23509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23510 (eval "$ac_compile") 2>conftest.er1
23511 ac_status=$?
23512 grep -v '^ *+' conftest.er1 >conftest.err
23513 rm -f conftest.er1
23514 cat conftest.err >&5
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && {
23517 test -z "$ac_cxx_werror_flag" ||
23518 test ! -s conftest.err
23519 } && test -s conftest.$ac_objext; then
23520 wx_cv_have_variadic_macros=yes
23521 else
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.$ac_ext >&5
23524
23525 wx_cv_have_variadic_macros=no
23526
23527 fi
23528
23529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23530 ac_ext=c
23531 ac_cpp='$CPP $CPPFLAGS'
23532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23535
23536
23537
23538 fi
23539 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23540 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23541
23542 if test $wx_cv_have_variadic_macros = "yes"; then
23543 cat >>confdefs.h <<\_ACEOF
23544 #define HAVE_VARIADIC_MACROS 1
23545 _ACEOF
23546
23547 fi
23548
23549 fi
23550
23551 LARGEFILE_CPPFLAGS=
23552 # Check whether --enable-largefile was given.
23553 if test "${enable_largefile+set}" = set; then
23554 enableval=$enable_largefile;
23555 fi
23556
23557 if test "$enable_largefile" != no; then
23558 wx_largefile=no
23559
23560 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23561 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23562 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23564 else
23565
23566 cat >conftest.$ac_ext <<_ACEOF
23567 /* confdefs.h. */
23568 _ACEOF
23569 cat confdefs.h >>conftest.$ac_ext
23570 cat >>conftest.$ac_ext <<_ACEOF
23571 /* end confdefs.h. */
23572 #define _FILE_OFFSET_BITS 64
23573 #include <sys/types.h>
23574 int
23575 main ()
23576 {
23577 typedef struct {
23578 unsigned int field: sizeof(off_t) == 8;
23579 } wxlf;
23580
23581 ;
23582 return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext
23586 if { (ac_try="$ac_compile"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23590 esac
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_compile") 2>conftest.er1
23593 ac_status=$?
23594 grep -v '^ *+' conftest.er1 >conftest.err
23595 rm -f conftest.er1
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } && {
23599 test -z "$ac_c_werror_flag" ||
23600 test ! -s conftest.err
23601 } && test -s conftest.$ac_objext; then
23602 ac_cv_sys_file_offset_bits=64
23603 else
23604 echo "$as_me: failed program was:" >&5
23605 sed 's/^/| /' conftest.$ac_ext >&5
23606
23607 ac_cv_sys_file_offset_bits=no
23608 fi
23609
23610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23611
23612
23613 fi
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23615 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23616
23617 if test "$ac_cv_sys_file_offset_bits" != no; then
23618 wx_largefile=yes
23619 cat >>confdefs.h <<_ACEOF
23620 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23621 _ACEOF
23622
23623 fi
23624
23625 if test "x$wx_largefile" != "xyes"; then
23626
23627 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23628 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23629 if test "${ac_cv_sys_large_files+set}" = set; then
23630 echo $ECHO_N "(cached) $ECHO_C" >&6
23631 else
23632
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 #define _LARGE_FILES 1
23640 #include <sys/types.h>
23641 int
23642 main ()
23643 {
23644 typedef struct {
23645 unsigned int field: sizeof(off_t) == 8;
23646 } wxlf;
23647
23648 ;
23649 return 0;
23650 }
23651 _ACEOF
23652 rm -f conftest.$ac_objext
23653 if { (ac_try="$ac_compile"
23654 case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23657 esac
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_compile") 2>conftest.er1
23660 ac_status=$?
23661 grep -v '^ *+' conftest.er1 >conftest.err
23662 rm -f conftest.er1
23663 cat conftest.err >&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); } && {
23666 test -z "$ac_c_werror_flag" ||
23667 test ! -s conftest.err
23668 } && test -s conftest.$ac_objext; then
23669 ac_cv_sys_large_files=1
23670 else
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23673
23674 ac_cv_sys_large_files=no
23675 fi
23676
23677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23678
23679
23680 fi
23681 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23682 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23683
23684 if test "$ac_cv_sys_large_files" != no; then
23685 wx_largefile=yes
23686 cat >>confdefs.h <<_ACEOF
23687 #define _LARGE_FILES $ac_cv_sys_large_files
23688 _ACEOF
23689
23690 fi
23691
23692 fi
23693
23694 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23695 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23696 if test "x$wx_largefile" = "xyes"; then
23697 cat >>confdefs.h <<\_ACEOF
23698 #define HAVE_LARGEFILE_SUPPORT 1
23699 _ACEOF
23700
23701 fi
23702 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23703 echo "${ECHO_T}$wx_largefile" >&6; }
23704 fi
23705
23706 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23707 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23708 elif test "$ac_cv_sys_large_files" = 1; then
23709 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23710 fi
23711
23712 if test -n "$LARGEFILE_CPPFLAGS"; then
23713 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23714
23715 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23716 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23717 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23718 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23719 echo $ECHO_N "(cached) $ECHO_C" >&6
23720 else
23721
23722 ac_ext=cpp
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23727
23728 cat >conftest.$ac_ext <<_ACEOF
23729 /* confdefs.h. */
23730 _ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h. */
23734
23735 int
23736 main ()
23737 {
23738
23739 #ifndef __STDC_EXT__
23740 choke me
23741 #endif
23742
23743 ;
23744 return 0;
23745 }
23746 _ACEOF
23747 rm -f conftest.$ac_objext
23748 if { (ac_try="$ac_compile"
23749 case "(($ac_try" in
23750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23752 esac
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_compile") 2>conftest.er1
23755 ac_status=$?
23756 grep -v '^ *+' conftest.er1 >conftest.err
23757 rm -f conftest.er1
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_cxx_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest.$ac_objext; then
23764 wx_cv_STDC_EXT_required=no
23765 else
23766 echo "$as_me: failed program was:" >&5
23767 sed 's/^/| /' conftest.$ac_ext >&5
23768
23769 wx_cv_STDC_EXT_required=yes
23770
23771 fi
23772
23773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_ext=c
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779
23780
23781
23782 fi
23783 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23784 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23785 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23786 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23787 fi
23788 fi
23789 fi
23790
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797 old_CPPFLAGS="$CPPFLAGS"
23798 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23799 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23800 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23801 if test "${ac_cv_sys_largefile_source+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804 while :; do
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <sys/types.h> /* for off_t */
23812 #include <stdio.h>
23813 int
23814 main ()
23815 {
23816 int (*fp) (FILE *, off_t, int) = fseeko;
23817 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext conftest$ac_exeext
23823 if { (ac_try="$ac_link"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_link") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest$ac_exeext &&
23839 $as_test_x conftest$ac_exeext; then
23840 ac_cv_sys_largefile_source=no; break
23841 else
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.$ac_ext >&5
23844
23845
23846 fi
23847
23848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23849 conftest$ac_exeext conftest.$ac_ext
23850 cat >conftest.$ac_ext <<_ACEOF
23851 /* confdefs.h. */
23852 _ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #define _LARGEFILE_SOURCE 1
23857 #include <sys/types.h> /* for off_t */
23858 #include <stdio.h>
23859 int
23860 main ()
23861 {
23862 int (*fp) (FILE *, off_t, int) = fseeko;
23863 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23864 ;
23865 return 0;
23866 }
23867 _ACEOF
23868 rm -f conftest.$ac_objext conftest$ac_exeext
23869 if { (ac_try="$ac_link"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23873 esac
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_link") 2>conftest.er1
23876 ac_status=$?
23877 grep -v '^ *+' conftest.er1 >conftest.err
23878 rm -f conftest.er1
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest$ac_exeext &&
23885 $as_test_x conftest$ac_exeext; then
23886 ac_cv_sys_largefile_source=1; break
23887 else
23888 echo "$as_me: failed program was:" >&5
23889 sed 's/^/| /' conftest.$ac_ext >&5
23890
23891
23892 fi
23893
23894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23895 conftest$ac_exeext conftest.$ac_ext
23896 ac_cv_sys_largefile_source=unknown
23897 break
23898 done
23899 fi
23900 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23901 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23902 case $ac_cv_sys_largefile_source in #(
23903 no | unknown) ;;
23904 *)
23905 cat >>confdefs.h <<_ACEOF
23906 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23907 _ACEOF
23908 ;;
23909 esac
23910 rm -f conftest*
23911
23912 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23913 # in glibc 2.1.3, but that breaks too many other things.
23914 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23915 if test $ac_cv_sys_largefile_source != unknown; then
23916
23917 cat >>confdefs.h <<\_ACEOF
23918 #define HAVE_FSEEKO 1
23919 _ACEOF
23920
23921 fi
23922
23923 CPPFLAGS="$old_CPPFLAGS"
23924 ac_ext=c
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929
23930 if test "$ac_cv_sys_largefile_source" != no; then
23931 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23932 fi
23933
23934 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23935 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23936 if test "${ac_cv_c_bigendian+set}" = set; then
23937 echo $ECHO_N "(cached) $ECHO_C" >&6
23938 else
23939 ac_cv_c_bigendian=unknown
23940 # See if sys/param.h defines the BYTE_ORDER macro.
23941 cat >conftest.$ac_ext <<_ACEOF
23942 /* confdefs.h. */
23943 _ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947 #include <sys/types.h>
23948 #include <sys/param.h>
23949 int
23950 main ()
23951 {
23952
23953 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23954 bogus endian macros
23955 #endif
23956 ;
23957 return 0;
23958 }
23959 _ACEOF
23960 rm -f conftest.$ac_objext
23961 if { (ac_try="$ac_compile"
23962 case "(($ac_try" in
23963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23964 *) ac_try_echo=$ac_try;;
23965 esac
23966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23967 (eval "$ac_compile") 2>conftest.er1
23968 ac_status=$?
23969 grep -v '^ *+' conftest.er1 >conftest.err
23970 rm -f conftest.er1
23971 cat conftest.err >&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } && {
23974 test -z "$ac_c_werror_flag" ||
23975 test ! -s conftest.err
23976 } && test -s conftest.$ac_objext; then
23977 # It does; now see whether it defined to BIG_ENDIAN or not.
23978 cat >conftest.$ac_ext <<_ACEOF
23979 /* confdefs.h. */
23980 _ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 #include <sys/types.h>
23985 #include <sys/param.h>
23986 int
23987 main ()
23988 {
23989
23990 #if BYTE_ORDER != BIG_ENDIAN
23991 not big endian
23992 #endif
23993 ;
23994 return 0;
23995 }
23996 _ACEOF
23997 rm -f conftest.$ac_objext
23998 if { (ac_try="$ac_compile"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24002 esac
24003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24004 (eval "$ac_compile") 2>conftest.er1
24005 ac_status=$?
24006 grep -v '^ *+' conftest.er1 >conftest.err
24007 rm -f conftest.er1
24008 cat conftest.err >&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); } && {
24011 test -z "$ac_c_werror_flag" ||
24012 test ! -s conftest.err
24013 } && test -s conftest.$ac_objext; then
24014 ac_cv_c_bigendian=yes
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 ac_cv_c_bigendian=no
24020 fi
24021
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 else
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027
24028 fi
24029
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 if test $ac_cv_c_bigendian = unknown; then
24032 if test "$cross_compiling" = yes; then
24033 ac_cv_c_bigendian=unknown
24034 else
24035 cat >conftest.$ac_ext <<_ACEOF
24036 /* confdefs.h. */
24037 _ACEOF
24038 cat confdefs.h >>conftest.$ac_ext
24039 cat >>conftest.$ac_ext <<_ACEOF
24040 /* end confdefs.h. */
24041 main () {
24042 /* Are we little or big endian? From Harbison&Steele. */
24043 union
24044 {
24045 long l;
24046 char c[sizeof (long)];
24047 } u;
24048 u.l = 1;
24049 exit (u.c[sizeof (long) - 1] == 1);
24050 }
24051 _ACEOF
24052 rm -f conftest$ac_exeext
24053 if { (ac_try="$ac_link"
24054 case "(($ac_try" in
24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24056 *) ac_try_echo=$ac_try;;
24057 esac
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_link") 2>&5
24060 ac_status=$?
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24063 { (case "(($ac_try" in
24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24065 *) ac_try_echo=$ac_try;;
24066 esac
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_try") 2>&5
24069 ac_status=$?
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; }; then
24072 ac_cv_c_bigendian=no
24073 else
24074 echo "$as_me: program exited with status $ac_status" >&5
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.$ac_ext >&5
24077
24078 ( exit $ac_status )
24079 ac_cv_c_bigendian=yes
24080 fi
24081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24082 fi
24083
24084
24085 fi
24086 fi
24087 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24088 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24089 if test $ac_cv_c_bigendian = unknown; then
24090 { 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
24091 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;}
24092 fi
24093 if test $ac_cv_c_bigendian = yes; then
24094 cat >>confdefs.h <<\_ACEOF
24095 #define WORDS_BIGENDIAN 1
24096 _ACEOF
24097
24098 fi
24099
24100
24101
24102
24103 ac_ext=cpp
24104 ac_cpp='$CXXCPP $CPPFLAGS'
24105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24108
24109
24110
24111 for ac_header in iostream
24112 do
24113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 else
24119 cat >conftest.$ac_ext <<_ACEOF
24120 /* confdefs.h. */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h. */
24125
24126
24127 #include <$ac_header>
24128 _ACEOF
24129 rm -f conftest.$ac_objext
24130 if { (ac_try="$ac_compile"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24134 esac
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_compile") 2>conftest.er1
24137 ac_status=$?
24138 grep -v '^ *+' conftest.er1 >conftest.err
24139 rm -f conftest.er1
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } && {
24143 test -z "$ac_cxx_werror_flag" ||
24144 test ! -s conftest.err
24145 } && test -s conftest.$ac_objext; then
24146 eval "$as_ac_Header=yes"
24147 else
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24150
24151 eval "$as_ac_Header=no"
24152 fi
24153
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 fi
24156 ac_res=`eval echo '${'$as_ac_Header'}'`
24157 { echo "$as_me:$LINENO: result: $ac_res" >&5
24158 echo "${ECHO_T}$ac_res" >&6; }
24159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24162 _ACEOF
24163
24164 fi
24165
24166 done
24167
24168
24169 if test "$ac_cv_header_iostream" = "yes" ; then
24170 :
24171 else
24172 cat >>confdefs.h <<\_ACEOF
24173 #define wxUSE_IOSTREAMH 1
24174 _ACEOF
24175
24176 fi
24177
24178 ac_ext=c
24179 ac_cpp='$CPP $CPPFLAGS'
24180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183
24184
24185
24186
24187 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24188 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24189 if test "${wx_cv_explicit+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192
24193
24194 ac_ext=cpp
24195 ac_cpp='$CXXCPP $CPPFLAGS'
24196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24199
24200
24201 cat >conftest.$ac_ext <<_ACEOF
24202 /* confdefs.h. */
24203 _ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207
24208 class Foo { public: explicit Foo(int) {} };
24209
24210 int
24211 main ()
24212 {
24213
24214 return 0;
24215
24216 ;
24217 return 0;
24218 }
24219 _ACEOF
24220 rm -f conftest.$ac_objext
24221 if { (ac_try="$ac_compile"
24222 case "(($ac_try" in
24223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24224 *) ac_try_echo=$ac_try;;
24225 esac
24226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24227 (eval "$ac_compile") 2>conftest.er1
24228 ac_status=$?
24229 grep -v '^ *+' conftest.er1 >conftest.err
24230 rm -f conftest.er1
24231 cat conftest.err >&5
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); } && {
24234 test -z "$ac_cxx_werror_flag" ||
24235 test ! -s conftest.err
24236 } && test -s conftest.$ac_objext; then
24237
24238 cat >conftest.$ac_ext <<_ACEOF
24239 /* confdefs.h. */
24240 _ACEOF
24241 cat confdefs.h >>conftest.$ac_ext
24242 cat >>conftest.$ac_ext <<_ACEOF
24243 /* end confdefs.h. */
24244
24245 class Foo { public: explicit Foo(int) {} };
24246 static void TakeFoo(const Foo& foo) { }
24247
24248 int
24249 main ()
24250 {
24251
24252 TakeFoo(17);
24253 return 0;
24254
24255 ;
24256 return 0;
24257 }
24258 _ACEOF
24259 rm -f conftest.$ac_objext
24260 if { (ac_try="$ac_compile"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24264 esac
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_compile") 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_cxx_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest.$ac_objext; then
24276 wx_cv_explicit=no
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 wx_cv_explicit=yes
24282
24283 fi
24284
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291 wx_cv_explicit=no
24292
24293 fi
24294
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24296
24297 ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302
24303
24304 fi
24305 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24306 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24307
24308 if test "$wx_cv_explicit" = "yes"; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_EXPLICIT 1
24311 _ACEOF
24312
24313 fi
24314
24315
24316 if test "x$SUNCXX" = xyes; then
24317 CXXFLAGS="-features=tmplife $CXXFLAGS"
24318 fi
24319
24320 if test "x$SUNCC" = xyes; then
24321 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24322 fi
24323
24324 if test "x$SGICC" = "xyes"; then
24325 CFLAGS="-woff 3970 $CFLAGS"
24326 fi
24327 if test "x$SGICXX" = "xyes"; then
24328 CXXFLAGS="-woff 3970 $CXXFLAGS"
24329 fi
24330
24331 if test "x$HPCC" = "xyes"; then
24332 CFLAGS="+W 2011,2450 $CFLAGS"
24333 fi
24334 if test "x$HPCXX" = "xyes"; then
24335 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24336 fi
24337
24338 if test "x$COMPAQCXX" = "xyes"; then
24339 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24340 fi
24341
24342 ac_ext=cpp
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24347
24348
24349 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24350 if test "$wxUSE_UNICODE" = "yes"; then
24351 std_string="std::wstring"
24352 char_type="wchar_t"
24353 else
24354 std_string="std::string"
24355 char_type="char"
24356 fi
24357
24358 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24359 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24360 if test "${wx_cv_class_stdstring+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24362 else
24363
24364 cat >conftest.$ac_ext <<_ACEOF
24365 /* confdefs.h. */
24366 _ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 #include <string>
24371 int
24372 main ()
24373 {
24374 $std_string foo;
24375 ;
24376 return 0;
24377 }
24378 _ACEOF
24379 rm -f conftest.$ac_objext
24380 if { (ac_try="$ac_compile"
24381 case "(($ac_try" in
24382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24383 *) ac_try_echo=$ac_try;;
24384 esac
24385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24386 (eval "$ac_compile") 2>conftest.er1
24387 ac_status=$?
24388 grep -v '^ *+' conftest.er1 >conftest.err
24389 rm -f conftest.er1
24390 cat conftest.err >&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); } && {
24393 test -z "$ac_cxx_werror_flag" ||
24394 test ! -s conftest.err
24395 } && test -s conftest.$ac_objext; then
24396 wx_cv_class_stdstring=yes
24397 else
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24400
24401 wx_cv_class_stdstring=no
24402
24403 fi
24404
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406
24407
24408 fi
24409 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24410 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24411
24412 if test "$wx_cv_class_stdstring" = yes; then
24413 if test "$wxUSE_UNICODE" = "yes"; then
24414 cat >>confdefs.h <<\_ACEOF
24415 #define HAVE_STD_WSTRING 1
24416 _ACEOF
24417
24418 fi
24419 else
24420 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24421 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24422 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 else
24425
24426 cat >conftest.$ac_ext <<_ACEOF
24427 /* confdefs.h. */
24428 _ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432
24433 #ifdef HAVE_WCHAR_H
24434 # ifdef __CYGWIN__
24435 # include <stddef.h>
24436 # endif
24437 # include <wchar.h>
24438 #endif
24439 #ifdef HAVE_STDLIB_H
24440 # include <stdlib.h>
24441 #endif
24442 #include <stdio.h>
24443 #include <string>
24444
24445 int
24446 main ()
24447 {
24448 std::basic_string<$char_type> foo;
24449 const $char_type* dummy = foo.c_str();
24450 ;
24451 return 0;
24452 }
24453 _ACEOF
24454 rm -f conftest.$ac_objext
24455 if { (ac_try="$ac_compile"
24456 case "(($ac_try" in
24457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24458 *) ac_try_echo=$ac_try;;
24459 esac
24460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24461 (eval "$ac_compile") 2>conftest.er1
24462 ac_status=$?
24463 grep -v '^ *+' conftest.er1 >conftest.err
24464 rm -f conftest.er1
24465 cat conftest.err >&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } && {
24468 test -z "$ac_cxx_werror_flag" ||
24469 test ! -s conftest.err
24470 } && test -s conftest.$ac_objext; then
24471 wx_cv_class_stdbasicstring=yes
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 wx_cv_class_stdbasicstring=no
24477
24478 fi
24479
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481
24482
24483 fi
24484 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24485 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24486
24487 if test "$wx_cv_class_stdbasicstring" != yes; then
24488 if test "$wxUSE_STL" = "yes"; then
24489 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24490 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24491 { (exit 1); exit 1; }; }
24492 elif test "$wxUSE_STD_STRING" = "yes"; then
24493 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24494 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24495 { (exit 1); exit 1; }; }
24496 else
24497 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24498 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24499 wxUSE_STD_STRING=no
24500 fi
24501 fi
24502 fi
24503 fi
24504
24505 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24506 { echo "$as_me:$LINENO: checking for std::istream" >&5
24507 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24508 if test "${ac_cv_type_std__istream+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 else
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #include <iostream>
24518
24519 typedef std::istream ac__type_new_;
24520 int
24521 main ()
24522 {
24523 if ((ac__type_new_ *) 0)
24524 return 0;
24525 if (sizeof (ac__type_new_))
24526 return 0;
24527 ;
24528 return 0;
24529 }
24530 _ACEOF
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24539 ac_status=$?
24540 grep -v '^ *+' conftest.er1 >conftest.err
24541 rm -f conftest.er1
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 ac_cv_type_std__istream=yes
24549 else
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553 ac_cv_type_std__istream=no
24554 fi
24555
24556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24557 fi
24558 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24559 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24560 if test $ac_cv_type_std__istream = yes; then
24561
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE_STD__ISTREAM 1
24564 _ACEOF
24565
24566
24567 else
24568 wxUSE_STD_IOSTREAM=no
24569 fi
24570 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24571 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24572 if test "${ac_cv_type_std__ostream+set}" = set; then
24573 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 else
24575 cat >conftest.$ac_ext <<_ACEOF
24576 /* confdefs.h. */
24577 _ACEOF
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24581 #include <iostream>
24582
24583 typedef std::ostream ac__type_new_;
24584 int
24585 main ()
24586 {
24587 if ((ac__type_new_ *) 0)
24588 return 0;
24589 if (sizeof (ac__type_new_))
24590 return 0;
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 rm -f conftest.$ac_objext
24596 if { (ac_try="$ac_compile"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24600 esac
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_compile") 2>conftest.er1
24603 ac_status=$?
24604 grep -v '^ *+' conftest.er1 >conftest.err
24605 rm -f conftest.er1
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_cxx_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest.$ac_objext; then
24612 ac_cv_type_std__ostream=yes
24613 else
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.$ac_ext >&5
24616
24617 ac_cv_type_std__ostream=no
24618 fi
24619
24620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 fi
24622 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24623 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24624 if test $ac_cv_type_std__ostream = yes; then
24625
24626 cat >>confdefs.h <<_ACEOF
24627 #define HAVE_STD__OSTREAM 1
24628 _ACEOF
24629
24630
24631 else
24632 wxUSE_STD_IOSTREAM=no
24633 fi
24634
24635
24636 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24637 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24638 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24639 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24640 { (exit 1); exit 1; }; }
24641 else
24642 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24643 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24644 fi
24645 fi
24646 fi
24647
24648 if test "$wxUSE_STL" = "yes"; then
24649 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24650 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24651 if test "${wx_cv_lib_stl+set}" = set; then
24652 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 else
24654 cat >conftest.$ac_ext <<_ACEOF
24655 /* confdefs.h. */
24656 _ACEOF
24657 cat confdefs.h >>conftest.$ac_ext
24658 cat >>conftest.$ac_ext <<_ACEOF
24659 /* end confdefs.h. */
24660 #include <string>
24661 #include <functional>
24662 #include <algorithm>
24663 #include <vector>
24664 #include <list>
24665 int
24666 main ()
24667 {
24668 std::vector<int> moo;
24669 std::list<int> foo;
24670 std::vector<int>::iterator it =
24671 std::find_if(moo.begin(), moo.end(),
24672 std::bind2nd(std::less<int>(), 3));
24673 ;
24674 return 0;
24675 }
24676 _ACEOF
24677 rm -f conftest.$ac_objext
24678 if { (ac_try="$ac_compile"
24679 case "(($ac_try" in
24680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24681 *) ac_try_echo=$ac_try;;
24682 esac
24683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24684 (eval "$ac_compile") 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } && {
24691 test -z "$ac_cxx_werror_flag" ||
24692 test ! -s conftest.err
24693 } && test -s conftest.$ac_objext; then
24694 wx_cv_lib_stl=yes
24695 else
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24698
24699 wx_cv_lib_stl=no
24700
24701 fi
24702
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704
24705 fi
24706 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24707 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24708
24709 if test "$wx_cv_lib_stl" != yes; then
24710 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24711 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24712 { (exit 1); exit 1; }; }
24713 fi
24714
24715 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24716 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24717 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 else
24720 cat >conftest.$ac_ext <<_ACEOF
24721 /* confdefs.h. */
24722 _ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 #include <string>
24727 int
24728 main ()
24729 {
24730 std::string foo, bar;
24731 foo.compare(bar);
24732 foo.compare(1, 1, bar);
24733 foo.compare(1, 1, bar, 1, 1);
24734 foo.compare("");
24735 foo.compare(1, 1, "");
24736 foo.compare(1, 1, "", 2);
24737 ;
24738 return 0;
24739 }
24740 _ACEOF
24741 rm -f conftest.$ac_objext
24742 if { (ac_try="$ac_compile"
24743 case "(($ac_try" in
24744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24745 *) ac_try_echo=$ac_try;;
24746 esac
24747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24748 (eval "$ac_compile") 2>conftest.er1
24749 ac_status=$?
24750 grep -v '^ *+' conftest.er1 >conftest.err
24751 rm -f conftest.er1
24752 cat conftest.err >&5
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); } && {
24755 test -z "$ac_cxx_werror_flag" ||
24756 test ! -s conftest.err
24757 } && test -s conftest.$ac_objext; then
24758 wx_cv_func_stdstring_compare=yes
24759 else
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 wx_cv_func_stdstring_compare=no
24764
24765 fi
24766
24767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24768
24769 fi
24770 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24771 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24772
24773 if test "$wx_cv_func_stdstring_compare" = yes; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define HAVE_STD_STRING_COMPARE 1
24776 _ACEOF
24777
24778 fi
24779
24780 if test "$wx_cv_class_gnuhashmapset" = yes; then
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_EXT_HASH_MAP 1
24783 _ACEOF
24784
24785 cat >>confdefs.h <<\_ACEOF
24786 #define HAVE_GNU_CXX_HASH_MAP 1
24787 _ACEOF
24788
24789 fi
24790
24791 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24792 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24793 if test "${ac_cv_header_unordered_map+set}" = set; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 else
24796 cat >conftest.$ac_ext <<_ACEOF
24797 /* confdefs.h. */
24798 _ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h. */
24802
24803
24804
24805 #include <unordered_map>
24806 _ACEOF
24807 rm -f conftest.$ac_objext
24808 if { (ac_try="$ac_compile"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24812 esac
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_compile") 2>conftest.er1
24815 ac_status=$?
24816 grep -v '^ *+' conftest.er1 >conftest.err
24817 rm -f conftest.er1
24818 cat conftest.err >&5
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); } && {
24821 test -z "$ac_cxx_werror_flag" ||
24822 test ! -s conftest.err
24823 } && test -s conftest.$ac_objext; then
24824 ac_cv_header_unordered_map=yes
24825 else
24826 echo "$as_me: failed program was:" >&5
24827 sed 's/^/| /' conftest.$ac_ext >&5
24828
24829 ac_cv_header_unordered_map=no
24830 fi
24831
24832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 fi
24834 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24835 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24836 if test $ac_cv_header_unordered_map = yes; then
24837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24838 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24839 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 else
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h. */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 #include <unordered_map>
24849 #include <unordered_set>
24850 int
24851 main ()
24852 {
24853 std::unordered_map<double*, char*> test1;
24854 std::unordered_set<char*> test2;
24855 ;
24856 return 0;
24857 }
24858 _ACEOF
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24864 esac
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 wx_cv_class_stdunorderedmapset=yes
24877 else
24878 echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24880
24881 wx_cv_class_stdunorderedmapset=no
24882 fi
24883
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885
24886
24887 fi
24888 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24889 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24890 fi
24891
24892
24893
24894 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24895 cat >>confdefs.h <<\_ACEOF
24896 #define HAVE_STD_UNORDERED_MAP 1
24897 _ACEOF
24898
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_STD_UNORDERED_SET 1
24901 _ACEOF
24902
24903 else
24904 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24905 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24906 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 else
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h. */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915
24916
24917
24918 #include <tr1/unordered_map>
24919 _ACEOF
24920 rm -f conftest.$ac_objext
24921 if { (ac_try="$ac_compile"
24922 case "(($ac_try" in
24923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24924 *) ac_try_echo=$ac_try;;
24925 esac
24926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24927 (eval "$ac_compile") 2>conftest.er1
24928 ac_status=$?
24929 grep -v '^ *+' conftest.er1 >conftest.err
24930 rm -f conftest.er1
24931 cat conftest.err >&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } && {
24934 test -z "$ac_cxx_werror_flag" ||
24935 test ! -s conftest.err
24936 } && test -s conftest.$ac_objext; then
24937 ac_cv_header_tr1_unordered_map=yes
24938 else
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.$ac_ext >&5
24941
24942 ac_cv_header_tr1_unordered_map=no
24943 fi
24944
24945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946 fi
24947 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24948 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24949 if test $ac_cv_header_tr1_unordered_map = yes; then
24950 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24951 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24952 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955 cat >conftest.$ac_ext <<_ACEOF
24956 /* confdefs.h. */
24957 _ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 #include <tr1/unordered_map>
24962 #include <tr1/unordered_set>
24963 int
24964 main ()
24965 {
24966 std::tr1::unordered_map<double*, char*> test1;
24967 std::tr1::unordered_set<char*> test2;
24968 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24969 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24970 #endif
24971 ;
24972 return 0;
24973 }
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24980 esac
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24983 ac_status=$?
24984 grep -v '^ *+' conftest.er1 >conftest.err
24985 rm -f conftest.er1
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 wx_cv_class_tr1unorderedmapset=yes
24993 else
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24996
24997 wx_cv_class_tr1unorderedmapset=no
24998 fi
24999
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25001
25002
25003 fi
25004 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25005 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25006 fi
25007
25008
25009
25010 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25011 cat >>confdefs.h <<\_ACEOF
25012 #define HAVE_TR1_UNORDERED_MAP 1
25013 _ACEOF
25014
25015 cat >>confdefs.h <<\_ACEOF
25016 #define HAVE_TR1_UNORDERED_SET 1
25017 _ACEOF
25018
25019 else
25020 { echo "$as_me:$LINENO: checking for hash_map" >&5
25021 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25022 if test "${ac_cv_header_hash_map+set}" = set; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 else
25025 cat >conftest.$ac_ext <<_ACEOF
25026 /* confdefs.h. */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031
25032
25033
25034 #include <hash_map>
25035 _ACEOF
25036 rm -f conftest.$ac_objext
25037 if { (ac_try="$ac_compile"
25038 case "(($ac_try" in
25039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25040 *) ac_try_echo=$ac_try;;
25041 esac
25042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25043 (eval "$ac_compile") 2>conftest.er1
25044 ac_status=$?
25045 grep -v '^ *+' conftest.er1 >conftest.err
25046 rm -f conftest.er1
25047 cat conftest.err >&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } && {
25050 test -z "$ac_cxx_werror_flag" ||
25051 test ! -s conftest.err
25052 } && test -s conftest.$ac_objext; then
25053 ac_cv_header_hash_map=yes
25054 else
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.$ac_ext >&5
25057
25058 ac_cv_header_hash_map=no
25059 fi
25060
25061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25062 fi
25063 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25064 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25065 if test $ac_cv_header_hash_map = yes; then
25066 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25067 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25068 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 else
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h. */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 #include <hash_map>
25078 #include <hash_set>
25079 int
25080 main ()
25081 {
25082 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25083 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25084 ;
25085 return 0;
25086 }
25087 _ACEOF
25088 rm -f conftest.$ac_objext
25089 if { (ac_try="$ac_compile"
25090 case "(($ac_try" in
25091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25092 *) ac_try_echo=$ac_try;;
25093 esac
25094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25095 (eval "$ac_compile") 2>conftest.er1
25096 ac_status=$?
25097 grep -v '^ *+' conftest.er1 >conftest.err
25098 rm -f conftest.er1
25099 cat conftest.err >&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); } && {
25102 test -z "$ac_cxx_werror_flag" ||
25103 test ! -s conftest.err
25104 } && test -s conftest.$ac_objext; then
25105 wx_cv_class_stdhashmapset=yes
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25109
25110 wx_cv_class_stdhashmapset=no
25111 fi
25112
25113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25114
25115
25116 fi
25117 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25118 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25119 fi
25120
25121
25122
25123 if test "$wx_cv_class_stdhashmapset" = yes; then
25124 cat >>confdefs.h <<\_ACEOF
25125 #define HAVE_HASH_MAP 1
25126 _ACEOF
25127
25128 cat >>confdefs.h <<\_ACEOF
25129 #define HAVE_STD_HASH_MAP 1
25130 _ACEOF
25131
25132 fi
25133
25134 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 else
25139 cat >conftest.$ac_ext <<_ACEOF
25140 /* confdefs.h. */
25141 _ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145
25146
25147
25148 #include <ext/hash_map>
25149 _ACEOF
25150 rm -f conftest.$ac_objext
25151 if { (ac_try="$ac_compile"
25152 case "(($ac_try" in
25153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25154 *) ac_try_echo=$ac_try;;
25155 esac
25156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25157 (eval "$ac_compile") 2>conftest.er1
25158 ac_status=$?
25159 grep -v '^ *+' conftest.er1 >conftest.err
25160 rm -f conftest.er1
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } && {
25164 test -z "$ac_cxx_werror_flag" ||
25165 test ! -s conftest.err
25166 } && test -s conftest.$ac_objext; then
25167 ac_cv_header_ext_hash_map=yes
25168 else
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.$ac_ext >&5
25171
25172 ac_cv_header_ext_hash_map=no
25173 fi
25174
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176 fi
25177 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25178 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25179 if test $ac_cv_header_ext_hash_map = yes; then
25180 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25181 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25182 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 #include <ext/hash_map>
25192 #include <ext/hash_set>
25193 int
25194 main ()
25195 {
25196 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25197 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext
25203 if { (ac_try="$ac_compile"
25204 case "(($ac_try" in
25205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25206 *) ac_try_echo=$ac_try;;
25207 esac
25208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25209 (eval "$ac_compile") 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } && {
25216 test -z "$ac_cxx_werror_flag" ||
25217 test ! -s conftest.err
25218 } && test -s conftest.$ac_objext; then
25219 wx_cv_class_gnuhashmapset=yes
25220 else
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25223
25224 wx_cv_class_gnuhashmapset=no
25225 fi
25226
25227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228
25229
25230 fi
25231 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25232 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25233 fi
25234
25235
25236
25237 fi
25238 fi
25239 fi
25240
25241
25242
25243 if test -n "$GCC"; then
25244 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25245 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25246 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25247 echo $ECHO_N "(cached) $ECHO_C" >&6
25248 else
25249
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h. */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256
25257 int
25258 main ()
25259 {
25260
25261 unsigned int value=0;
25262 /* wxAtomicInc doesn't use return value here */
25263 __sync_fetch_and_add(&value, 2);
25264 __sync_sub_and_fetch(&value, 1);
25265 /* but wxAtomicDec does, so mimic that: */
25266 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25267
25268 ;
25269 return 0;
25270 }
25271 _ACEOF
25272 rm -f conftest.$ac_objext conftest$ac_exeext
25273 if { (ac_try="$ac_link"
25274 case "(($ac_try" in
25275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25276 *) ac_try_echo=$ac_try;;
25277 esac
25278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25279 (eval "$ac_link") 2>conftest.er1
25280 ac_status=$?
25281 grep -v '^ *+' conftest.er1 >conftest.err
25282 rm -f conftest.er1
25283 cat conftest.err >&5
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); } && {
25286 test -z "$ac_cxx_werror_flag" ||
25287 test ! -s conftest.err
25288 } && test -s conftest$ac_exeext &&
25289 $as_test_x conftest$ac_exeext; then
25290 wx_cv_cc_gcc_atomic_builtins=yes
25291 else
25292 echo "$as_me: failed program was:" >&5
25293 sed 's/^/| /' conftest.$ac_ext >&5
25294
25295 wx_cv_cc_gcc_atomic_builtins=no
25296 fi
25297
25298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25299 conftest$ac_exeext conftest.$ac_ext
25300
25301 fi
25302
25303 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25304 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25305 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25306 cat >>confdefs.h <<\_ACEOF
25307 #define HAVE_GCC_ATOMIC_BUILTINS 1
25308 _ACEOF
25309
25310 fi
25311 fi
25312
25313
25314 ac_ext=c
25315 ac_cpp='$CPP $CPPFLAGS'
25316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25319
25320
25321
25322 SEARCH_INCLUDE="\
25323 /usr/local/include \
25324 /usr/local/X11/include \
25325 /usr/local/include/X11 \
25326 /usr/local/X11R6/include \
25327 /usr/local/include/X11R6 \
25328 \
25329 /usr/Motif-2.1/include \
25330 /usr/Motif-1.2/include \
25331 /usr/include/Motif1.2 \
25332 \
25333 /usr/dt/include \
25334 /usr/openwin/include \
25335 \
25336 /usr/include/Xm \
25337 \
25338 /usr/X11R6/include \
25339 /usr/X11R6.4/include \
25340 \
25341 /usr/include/X11R6 \
25342 \
25343 /usr/X11/include \
25344 /usr/include/X11 \
25345 \
25346 /usr/XFree86/include/X11 \
25347 /usr/pkg/include \
25348 \
25349 /usr/local/X1R5/include \
25350 /usr/local/include/X11R5 \
25351 /usr/X11R5/include \
25352 /usr/include/X11R5 \
25353 \
25354 /usr/local/X11R4/include \
25355 /usr/local/include/X11R4 \
25356 /usr/X11R4/include \
25357 /usr/include/X11R4 \
25358 \
25359 /usr/openwin/share/include"
25360
25361 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25362 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25363
25364 case "${host}" in
25365 *-*-irix6* )
25366 if test "${wx_cv_std_libpath+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 else
25369
25370 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25371 for e in a so sl dylib dll.a; do
25372 libc="$d/libc.$e"
25373 if test -f $libc; then
25374 save_LIBS="$LIBS"
25375 LIBS="$libc"
25376 cat >conftest.$ac_ext <<_ACEOF
25377 int main() { return 0; }
25378 _ACEOF
25379 rm -f conftest.$ac_objext conftest$ac_exeext
25380 if { (ac_try="$ac_link"
25381 case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25384 esac
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_link") 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_c_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest$ac_exeext &&
25396 $as_test_x conftest$ac_exeext; then
25397 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25398 else
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25401
25402
25403 fi
25404
25405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25406 conftest$ac_exeext conftest.$ac_ext
25407 LIBS="$save_LIBS"
25408 if test "x$wx_cv_std_libpath" != "x"; then
25409 break 2
25410 fi
25411 fi
25412 done
25413 done
25414 if test "x$wx_cv_std_libpath" = "x"; then
25415 wx_cv_std_libpath="lib"
25416 fi
25417
25418
25419 fi
25420
25421 ;;
25422
25423 *-*-solaris2* )
25424 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25425 wx_cv_std_libpath="lib/64"
25426 else
25427 wx_cv_std_libpath="lib"
25428 fi
25429 ;;
25430
25431 *-*-linux* )
25432 if test "$ac_cv_sizeof_void_p" = 8 -a \
25433 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25434 wx_cv_std_libpath="lib64"
25435 else
25436 wx_cv_std_libpath="lib"
25437 fi
25438 ;;
25439
25440 *)
25441 wx_cv_std_libpath="lib";
25442 ;;
25443 esac
25444
25445 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25446 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25447
25448 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25449
25450 if test "$build" != "$host" -a "$GCC" = yes; then
25451 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25452 cross_root=`dirname $cross_root`
25453 cross_root=`dirname $cross_root`
25454
25455 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25457 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25458
25459 if test -z "$PKG_CONFIG_PATH"; then
25460 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25461 export PKG_CONFIG_PATH
25462 fi
25463
25464 if test -z "$x_includes" -o "$x_includes" = NONE; then
25465
25466 ac_find_includes=
25467 for ac_dir in $SEARCH_INCLUDE /usr/include;
25468 do
25469 if test -f "$ac_dir/X11/Intrinsic.h"; then
25470 ac_find_includes=$ac_dir
25471 break
25472 fi
25473 done
25474
25475 x_includes=$ac_find_includes
25476 fi
25477 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25478
25479 ac_find_libraries=
25480 for ac_dir in $SEARCH_LIB;
25481 do
25482 for ac_extension in a so sl dylib dll.a; do
25483 if test -f "$ac_dir/libXt.$ac_extension"; then
25484 ac_find_libraries=$ac_dir
25485 break 2
25486 fi
25487 done
25488 done
25489
25490 x_libraries=$ac_find_libraries
25491 fi
25492 fi
25493 fi
25494
25495
25496 cat >confcache <<\_ACEOF
25497 # This file is a shell script that caches the results of configure
25498 # tests run on this system so they can be shared between configure
25499 # scripts and configure runs, see configure's option --config-cache.
25500 # It is not useful on other systems. If it contains results you don't
25501 # want to keep, you may remove or edit it.
25502 #
25503 # config.status only pays attention to the cache file if you give it
25504 # the --recheck option to rerun configure.
25505 #
25506 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25508 # following values.
25509
25510 _ACEOF
25511
25512 # The following way of writing the cache mishandles newlines in values,
25513 # but we know of no workaround that is simple, portable, and efficient.
25514 # So, we kill variables containing newlines.
25515 # Ultrix sh set writes to stderr and can't be redirected directly,
25516 # and sets the high bit in the cache file unless we assign to the vars.
25517 (
25518 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25519 eval ac_val=\$$ac_var
25520 case $ac_val in #(
25521 *${as_nl}*)
25522 case $ac_var in #(
25523 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25524 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25525 esac
25526 case $ac_var in #(
25527 _ | IFS | as_nl) ;; #(
25528 *) $as_unset $ac_var ;;
25529 esac ;;
25530 esac
25531 done
25532
25533 (set) 2>&1 |
25534 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25535 *${as_nl}ac_space=\ *)
25536 # `set' does not quote correctly, so add quotes (double-quote
25537 # substitution turns \\\\ into \\, and sed turns \\ into \).
25538 sed -n \
25539 "s/'/'\\\\''/g;
25540 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25541 ;; #(
25542 *)
25543 # `set' quotes correctly as required by POSIX, so do not add quotes.
25544 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25545 ;;
25546 esac |
25547 sort
25548 ) |
25549 sed '
25550 /^ac_cv_env_/b end
25551 t clear
25552 :clear
25553 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25554 t end
25555 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25556 :end' >>confcache
25557 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25558 if test -w "$cache_file"; then
25559 test "x$cache_file" != "x/dev/null" &&
25560 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25561 echo "$as_me: updating cache $cache_file" >&6;}
25562 cat confcache >$cache_file
25563 else
25564 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25565 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25566 fi
25567 fi
25568 rm -f confcache
25569
25570 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25571 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25572 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25573 if test "${wx_cv_lib_glibc21+set}" = set; then
25574 echo $ECHO_N "(cached) $ECHO_C" >&6
25575 else
25576
25577 cat >conftest.$ac_ext <<_ACEOF
25578 /* confdefs.h. */
25579 _ACEOF
25580 cat confdefs.h >>conftest.$ac_ext
25581 cat >>conftest.$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583 #include <features.h>
25584 int
25585 main ()
25586 {
25587
25588 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25589 not glibc 2.1
25590 #endif
25591
25592 ;
25593 return 0;
25594 }
25595 _ACEOF
25596 rm -f conftest.$ac_objext
25597 if { (ac_try="$ac_compile"
25598 case "(($ac_try" in
25599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25600 *) ac_try_echo=$ac_try;;
25601 esac
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603 (eval "$ac_compile") 2>conftest.er1
25604 ac_status=$?
25605 grep -v '^ *+' conftest.er1 >conftest.err
25606 rm -f conftest.er1
25607 cat conftest.err >&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } && {
25610 test -z "$ac_c_werror_flag" ||
25611 test ! -s conftest.err
25612 } && test -s conftest.$ac_objext; then
25613
25614 wx_cv_lib_glibc21=yes
25615
25616 else
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.$ac_ext >&5
25619
25620
25621 wx_cv_lib_glibc21=no
25622
25623
25624 fi
25625
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25627
25628 fi
25629 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25630 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25631 if test "$wx_cv_lib_glibc21" = "yes"; then
25632 cat >>confdefs.h <<\_ACEOF
25633 #define wxHAVE_GLIBC2 1
25634 _ACEOF
25635
25636 fi
25637 fi
25638
25639 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25640 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25641 cat >>confdefs.h <<\_ACEOF
25642 #define _GNU_SOURCE 1
25643 _ACEOF
25644
25645 fi
25646 fi
25647
25648 have_cos=0
25649 have_floor=0
25650
25651 for ac_func in cos
25652 do
25653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 else
25659 cat >conftest.$ac_ext <<_ACEOF
25660 /* confdefs.h. */
25661 _ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25667 #define $ac_func innocuous_$ac_func
25668
25669 /* System header to define __stub macros and hopefully few prototypes,
25670 which can conflict with char $ac_func (); below.
25671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25672 <limits.h> exists even on freestanding compilers. */
25673
25674 #ifdef __STDC__
25675 # include <limits.h>
25676 #else
25677 # include <assert.h>
25678 #endif
25679
25680 #undef $ac_func
25681
25682 /* Override any GCC internal prototype to avoid an error.
25683 Use char because int might match the return type of a GCC
25684 builtin and then its argument prototype would still apply. */
25685 #ifdef __cplusplus
25686 extern "C"
25687 #endif
25688 char $ac_func ();
25689 /* The GNU C library defines this for functions which it implements
25690 to always fail with ENOSYS. Some functions are actually named
25691 something starting with __ and the normal name is an alias. */
25692 #if defined __stub_$ac_func || defined __stub___$ac_func
25693 choke me
25694 #endif
25695
25696 int
25697 main ()
25698 {
25699 return $ac_func ();
25700 ;
25701 return 0;
25702 }
25703 _ACEOF
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (ac_try="$ac_link"
25706 case "(($ac_try" in
25707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25708 *) ac_try_echo=$ac_try;;
25709 esac
25710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25711 (eval "$ac_link") 2>conftest.er1
25712 ac_status=$?
25713 grep -v '^ *+' conftest.er1 >conftest.err
25714 rm -f conftest.er1
25715 cat conftest.err >&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); } && {
25718 test -z "$ac_c_werror_flag" ||
25719 test ! -s conftest.err
25720 } && test -s conftest$ac_exeext &&
25721 $as_test_x conftest$ac_exeext; then
25722 eval "$as_ac_var=yes"
25723 else
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.$ac_ext >&5
25726
25727 eval "$as_ac_var=no"
25728 fi
25729
25730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25731 conftest$ac_exeext conftest.$ac_ext
25732 fi
25733 ac_res=`eval echo '${'$as_ac_var'}'`
25734 { echo "$as_me:$LINENO: result: $ac_res" >&5
25735 echo "${ECHO_T}$ac_res" >&6; }
25736 if test `eval echo '${'$as_ac_var'}'` = yes; then
25737 cat >>confdefs.h <<_ACEOF
25738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25739 _ACEOF
25740 have_cos=1
25741 fi
25742 done
25743
25744
25745 for ac_func in floor
25746 do
25747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 else
25753 cat >conftest.$ac_ext <<_ACEOF
25754 /* confdefs.h. */
25755 _ACEOF
25756 cat confdefs.h >>conftest.$ac_ext
25757 cat >>conftest.$ac_ext <<_ACEOF
25758 /* end confdefs.h. */
25759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25761 #define $ac_func innocuous_$ac_func
25762
25763 /* System header to define __stub macros and hopefully few prototypes,
25764 which can conflict with char $ac_func (); below.
25765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25766 <limits.h> exists even on freestanding compilers. */
25767
25768 #ifdef __STDC__
25769 # include <limits.h>
25770 #else
25771 # include <assert.h>
25772 #endif
25773
25774 #undef $ac_func
25775
25776 /* Override any GCC internal prototype to avoid an error.
25777 Use char because int might match the return type of a GCC
25778 builtin and then its argument prototype would still apply. */
25779 #ifdef __cplusplus
25780 extern "C"
25781 #endif
25782 char $ac_func ();
25783 /* The GNU C library defines this for functions which it implements
25784 to always fail with ENOSYS. Some functions are actually named
25785 something starting with __ and the normal name is an alias. */
25786 #if defined __stub_$ac_func || defined __stub___$ac_func
25787 choke me
25788 #endif
25789
25790 int
25791 main ()
25792 {
25793 return $ac_func ();
25794 ;
25795 return 0;
25796 }
25797 _ACEOF
25798 rm -f conftest.$ac_objext conftest$ac_exeext
25799 if { (ac_try="$ac_link"
25800 case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25803 esac
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_link") 2>conftest.er1
25806 ac_status=$?
25807 grep -v '^ *+' conftest.er1 >conftest.err
25808 rm -f conftest.er1
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_c_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest$ac_exeext &&
25815 $as_test_x conftest$ac_exeext; then
25816 eval "$as_ac_var=yes"
25817 else
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25820
25821 eval "$as_ac_var=no"
25822 fi
25823
25824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25825 conftest$ac_exeext conftest.$ac_ext
25826 fi
25827 ac_res=`eval echo '${'$as_ac_var'}'`
25828 { echo "$as_me:$LINENO: result: $ac_res" >&5
25829 echo "${ECHO_T}$ac_res" >&6; }
25830 if test `eval echo '${'$as_ac_var'}'` = yes; then
25831 cat >>confdefs.h <<_ACEOF
25832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25833 _ACEOF
25834 have_floor=1
25835 fi
25836 done
25837
25838 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25839 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25840 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25841 { echo "$as_me:$LINENO: result: yes" >&5
25842 echo "${ECHO_T}yes" >&6; }
25843 else
25844 { echo "$as_me:$LINENO: result: no" >&5
25845 echo "${ECHO_T}no" >&6; }
25846 LIBS="$LIBS -lm"
25847 # use different functions to avoid configure caching
25848 have_sin=0
25849 have_ceil=0
25850
25851 for ac_func in sin
25852 do
25853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25854 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25856 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25857 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 else
25859 cat >conftest.$ac_ext <<_ACEOF
25860 /* confdefs.h. */
25861 _ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25867 #define $ac_func innocuous_$ac_func
25868
25869 /* System header to define __stub macros and hopefully few prototypes,
25870 which can conflict with char $ac_func (); below.
25871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25872 <limits.h> exists even on freestanding compilers. */
25873
25874 #ifdef __STDC__
25875 # include <limits.h>
25876 #else
25877 # include <assert.h>
25878 #endif
25879
25880 #undef $ac_func
25881
25882 /* Override any GCC internal prototype to avoid an error.
25883 Use char because int might match the return type of a GCC
25884 builtin and then its argument prototype would still apply. */
25885 #ifdef __cplusplus
25886 extern "C"
25887 #endif
25888 char $ac_func ();
25889 /* The GNU C library defines this for functions which it implements
25890 to always fail with ENOSYS. Some functions are actually named
25891 something starting with __ and the normal name is an alias. */
25892 #if defined __stub_$ac_func || defined __stub___$ac_func
25893 choke me
25894 #endif
25895
25896 int
25897 main ()
25898 {
25899 return $ac_func ();
25900 ;
25901 return 0;
25902 }
25903 _ACEOF
25904 rm -f conftest.$ac_objext conftest$ac_exeext
25905 if { (ac_try="$ac_link"
25906 case "(($ac_try" in
25907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25908 *) ac_try_echo=$ac_try;;
25909 esac
25910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25911 (eval "$ac_link") 2>conftest.er1
25912 ac_status=$?
25913 grep -v '^ *+' conftest.er1 >conftest.err
25914 rm -f conftest.er1
25915 cat conftest.err >&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } && {
25918 test -z "$ac_c_werror_flag" ||
25919 test ! -s conftest.err
25920 } && test -s conftest$ac_exeext &&
25921 $as_test_x conftest$ac_exeext; then
25922 eval "$as_ac_var=yes"
25923 else
25924 echo "$as_me: failed program was:" >&5
25925 sed 's/^/| /' conftest.$ac_ext >&5
25926
25927 eval "$as_ac_var=no"
25928 fi
25929
25930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25931 conftest$ac_exeext conftest.$ac_ext
25932 fi
25933 ac_res=`eval echo '${'$as_ac_var'}'`
25934 { echo "$as_me:$LINENO: result: $ac_res" >&5
25935 echo "${ECHO_T}$ac_res" >&6; }
25936 if test `eval echo '${'$as_ac_var'}'` = yes; then
25937 cat >>confdefs.h <<_ACEOF
25938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25939 _ACEOF
25940 have_sin=1
25941 fi
25942 done
25943
25944
25945 for ac_func in ceil
25946 do
25947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25951 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 else
25953 cat >conftest.$ac_ext <<_ACEOF
25954 /* confdefs.h. */
25955 _ACEOF
25956 cat confdefs.h >>conftest.$ac_ext
25957 cat >>conftest.$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25961 #define $ac_func innocuous_$ac_func
25962
25963 /* System header to define __stub macros and hopefully few prototypes,
25964 which can conflict with char $ac_func (); below.
25965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25966 <limits.h> exists even on freestanding compilers. */
25967
25968 #ifdef __STDC__
25969 # include <limits.h>
25970 #else
25971 # include <assert.h>
25972 #endif
25973
25974 #undef $ac_func
25975
25976 /* Override any GCC internal prototype to avoid an error.
25977 Use char because int might match the return type of a GCC
25978 builtin and then its argument prototype would still apply. */
25979 #ifdef __cplusplus
25980 extern "C"
25981 #endif
25982 char $ac_func ();
25983 /* The GNU C library defines this for functions which it implements
25984 to always fail with ENOSYS. Some functions are actually named
25985 something starting with __ and the normal name is an alias. */
25986 #if defined __stub_$ac_func || defined __stub___$ac_func
25987 choke me
25988 #endif
25989
25990 int
25991 main ()
25992 {
25993 return $ac_func ();
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 rm -f conftest.$ac_objext conftest$ac_exeext
25999 if { (ac_try="$ac_link"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26003 esac
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_link") 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_c_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest$ac_exeext &&
26015 $as_test_x conftest$ac_exeext; then
26016 eval "$as_ac_var=yes"
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26020
26021 eval "$as_ac_var=no"
26022 fi
26023
26024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26025 conftest$ac_exeext conftest.$ac_ext
26026 fi
26027 ac_res=`eval echo '${'$as_ac_var'}'`
26028 { echo "$as_me:$LINENO: result: $ac_res" >&5
26029 echo "${ECHO_T}$ac_res" >&6; }
26030 if test `eval echo '${'$as_ac_var'}'` = yes; then
26031 cat >>confdefs.h <<_ACEOF
26032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26033 _ACEOF
26034 have_ceil=1
26035 fi
26036 done
26037
26038 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26039 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26040 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26041 { echo "$as_me:$LINENO: result: yes" >&5
26042 echo "${ECHO_T}yes" >&6; }
26043 else
26044 { echo "$as_me:$LINENO: result: no" >&5
26045 echo "${ECHO_T}no" >&6; }
26046 # not sure we should warn the user, crash, etc.
26047 fi
26048 fi
26049
26050 ac_ext=cpp
26051 ac_cpp='$CXXCPP $CPPFLAGS'
26052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055
26056 if test "wxUSE_UNICODE" = "yes"; then
26057
26058 for wx_func in wcstoull
26059 do
26060 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26062 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065
26066 cat >conftest.$ac_ext <<_ACEOF
26067
26068 /* confdefs.h. */
26069 _ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26073
26074
26075 $ac_includes_default
26076
26077 int
26078 main ()
26079 {
26080
26081 #ifndef $wx_func
26082 &$wx_func;
26083 #endif
26084
26085
26086 ;
26087 return 0;
26088 }
26089
26090 _ACEOF
26091 rm -f conftest.$ac_objext conftest$ac_exeext
26092 if { (ac_try="$ac_link"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26096 esac
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_link") 2>conftest.er1
26099 ac_status=$?
26100 grep -v '^ *+' conftest.er1 >conftest.err
26101 rm -f conftest.er1
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_cxx_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest$ac_exeext &&
26108 $as_test_x conftest$ac_exeext; then
26109 eval wx_cv_func_$wx_func=yes
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26113
26114 eval wx_cv_func_$wx_func=no
26115 fi
26116
26117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26118 conftest$ac_exeext conftest.$ac_ext
26119
26120 fi
26121 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26122 { echo "$as_me:$LINENO: result: $ac_res" >&5
26123 echo "${ECHO_T}$ac_res" >&6; }
26124
26125 if eval test \$wx_cv_func_$wx_func = yes
26126 then
26127 cat >>confdefs.h <<_ACEOF
26128 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26129 _ACEOF
26130
26131
26132 else
26133 :
26134
26135 fi
26136 done
26137
26138 else
26139
26140 for wx_func in strtoull
26141 do
26142 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26143 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26144 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147
26148 cat >conftest.$ac_ext <<_ACEOF
26149
26150 /* confdefs.h. */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h. */
26155
26156
26157 $ac_includes_default
26158
26159 int
26160 main ()
26161 {
26162
26163 #ifndef $wx_func
26164 &$wx_func;
26165 #endif
26166
26167
26168 ;
26169 return 0;
26170 }
26171
26172 _ACEOF
26173 rm -f conftest.$ac_objext conftest$ac_exeext
26174 if { (ac_try="$ac_link"
26175 case "(($ac_try" in
26176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26177 *) ac_try_echo=$ac_try;;
26178 esac
26179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26180 (eval "$ac_link") 2>conftest.er1
26181 ac_status=$?
26182 grep -v '^ *+' conftest.er1 >conftest.err
26183 rm -f conftest.er1
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && {
26187 test -z "$ac_cxx_werror_flag" ||
26188 test ! -s conftest.err
26189 } && test -s conftest$ac_exeext &&
26190 $as_test_x conftest$ac_exeext; then
26191 eval wx_cv_func_$wx_func=yes
26192 else
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26195
26196 eval wx_cv_func_$wx_func=no
26197 fi
26198
26199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26200 conftest$ac_exeext conftest.$ac_ext
26201
26202 fi
26203 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26204 { echo "$as_me:$LINENO: result: $ac_res" >&5
26205 echo "${ECHO_T}$ac_res" >&6; }
26206
26207 if eval test \$wx_cv_func_$wx_func = yes
26208 then
26209 cat >>confdefs.h <<_ACEOF
26210 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26211 _ACEOF
26212
26213
26214 else
26215 :
26216
26217 fi
26218 done
26219
26220 fi
26221 ac_ext=c
26222 ac_cpp='$CPP $CPPFLAGS'
26223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26226
26227
26228
26229
26230 if test "$wxUSE_REGEX" != "no"; then
26231 cat >>confdefs.h <<\_ACEOF
26232 #define wxUSE_REGEX 1
26233 _ACEOF
26234
26235
26236 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26237 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26238 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26239 wxUSE_REGEX=builtin
26240 fi
26241
26242 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26243 { echo "$as_me:$LINENO: checking for regex.h" >&5
26244 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26245 if test "${ac_cv_header_regex_h+set}" = set; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 else
26248 cat >conftest.$ac_ext <<_ACEOF
26249 /* confdefs.h. */
26250 _ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26254
26255
26256 #include <regex.h>
26257 _ACEOF
26258 rm -f conftest.$ac_objext
26259 if { (ac_try="$ac_compile"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26263 esac
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_compile") 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest.$ac_objext; then
26275 ac_cv_header_regex_h=yes
26276 else
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 ac_cv_header_regex_h=no
26281 fi
26282
26283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26284 fi
26285 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26286 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26287 if test $ac_cv_header_regex_h = yes; then
26288
26289
26290 for ac_func in regcomp re_search
26291 do
26292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298 cat >conftest.$ac_ext <<_ACEOF
26299 /* confdefs.h. */
26300 _ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26306 #define $ac_func innocuous_$ac_func
26307
26308 /* System header to define __stub macros and hopefully few prototypes,
26309 which can conflict with char $ac_func (); below.
26310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26311 <limits.h> exists even on freestanding compilers. */
26312
26313 #ifdef __STDC__
26314 # include <limits.h>
26315 #else
26316 # include <assert.h>
26317 #endif
26318
26319 #undef $ac_func
26320
26321 /* Override any GCC internal prototype to avoid an error.
26322 Use char because int might match the return type of a GCC
26323 builtin and then its argument prototype would still apply. */
26324 #ifdef __cplusplus
26325 extern "C"
26326 #endif
26327 char $ac_func ();
26328 /* The GNU C library defines this for functions which it implements
26329 to always fail with ENOSYS. Some functions are actually named
26330 something starting with __ and the normal name is an alias. */
26331 #if defined __stub_$ac_func || defined __stub___$ac_func
26332 choke me
26333 #endif
26334
26335 int
26336 main ()
26337 {
26338 return $ac_func ();
26339 ;
26340 return 0;
26341 }
26342 _ACEOF
26343 rm -f conftest.$ac_objext conftest$ac_exeext
26344 if { (ac_try="$ac_link"
26345 case "(($ac_try" in
26346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26347 *) ac_try_echo=$ac_try;;
26348 esac
26349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26350 (eval "$ac_link") 2>conftest.er1
26351 ac_status=$?
26352 grep -v '^ *+' conftest.er1 >conftest.err
26353 rm -f conftest.er1
26354 cat conftest.err >&5
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); } && {
26357 test -z "$ac_c_werror_flag" ||
26358 test ! -s conftest.err
26359 } && test -s conftest$ac_exeext &&
26360 $as_test_x conftest$ac_exeext; then
26361 eval "$as_ac_var=yes"
26362 else
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26365
26366 eval "$as_ac_var=no"
26367 fi
26368
26369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26370 conftest$ac_exeext conftest.$ac_ext
26371 fi
26372 ac_res=`eval echo '${'$as_ac_var'}'`
26373 { echo "$as_me:$LINENO: result: $ac_res" >&5
26374 echo "${ECHO_T}$ac_res" >&6; }
26375 if test `eval echo '${'$as_ac_var'}'` = yes; then
26376 cat >>confdefs.h <<_ACEOF
26377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26378 _ACEOF
26379
26380 fi
26381 done
26382
26383 fi
26384
26385
26386
26387 if test "x$ac_cv_func_regcomp" != "xyes"; then
26388 if test "$wxUSE_REGEX" = "sys" ; then
26389 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26390 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26391 { (exit 1); exit 1; }; }
26392 else
26393 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26394 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26395 wxUSE_REGEX=builtin
26396 fi
26397 else
26398 wxUSE_REGEX=sys
26399 cat >>confdefs.h <<\_ACEOF
26400 #define WX_NO_REGEX_ADVANCED 1
26401 _ACEOF
26402
26403 fi
26404 fi
26405 fi
26406
26407
26408 ZLIB_LINK=
26409 if test "$wxUSE_ZLIB" != "no" ; then
26410 cat >>confdefs.h <<\_ACEOF
26411 #define wxUSE_ZLIB 1
26412 _ACEOF
26413
26414
26415 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26416 if test "$USE_DARWIN" = 1; then
26417 system_zlib_h_ok="yes"
26418 else
26419 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26420 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26421 if test "${ac_cv_header_zlib_h+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26424 if test "$cross_compiling" = yes; then
26425 unset ac_cv_header_zlib_h
26426
26427 else
26428 cat >conftest.$ac_ext <<_ACEOF
26429 /* confdefs.h. */
26430 _ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26434
26435 #include <zlib.h>
26436 #include <stdio.h>
26437
26438 int main()
26439 {
26440 FILE *f=fopen("conftestval", "w");
26441 if (!f) exit(1);
26442 fprintf(f, "%s",
26443 ZLIB_VERSION[0] == '1' &&
26444 (ZLIB_VERSION[2] > '1' ||
26445 (ZLIB_VERSION[2] == '1' &&
26446 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26447 exit(0);
26448 }
26449
26450 _ACEOF
26451 rm -f conftest$ac_exeext
26452 if { (ac_try="$ac_link"
26453 case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26455 *) ac_try_echo=$ac_try;;
26456 esac
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_link") 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26462 { (case "(($ac_try" in
26463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26464 *) ac_try_echo=$ac_try;;
26465 esac
26466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26467 (eval "$ac_try") 2>&5
26468 ac_status=$?
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 ac_cv_header_zlib_h=`cat conftestval`
26472 else
26473 echo "$as_me: program exited with status $ac_status" >&5
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26476
26477 ( exit $ac_status )
26478 ac_cv_header_zlib_h=no
26479 fi
26480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26481 fi
26482
26483
26484
26485 fi
26486 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26487 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26488 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26489 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26490 if test "${ac_cv_header_zlib_h+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 else
26493 cat >conftest.$ac_ext <<_ACEOF
26494 /* confdefs.h. */
26495 _ACEOF
26496 cat confdefs.h >>conftest.$ac_ext
26497 cat >>conftest.$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26499
26500
26501 #include <zlib.h>
26502 _ACEOF
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26511 ac_status=$?
26512 grep -v '^ *+' conftest.er1 >conftest.err
26513 rm -f conftest.er1
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.$ac_objext; then
26520 ac_cv_header_zlib_h=yes
26521 else
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.$ac_ext >&5
26524
26525 ac_cv_header_zlib_h=no
26526 fi
26527
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26529 fi
26530 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26532
26533
26534
26535 system_zlib_h_ok=$ac_cv_header_zlib_h
26536 fi
26537
26538 if test "$system_zlib_h_ok" = "yes"; then
26539 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26540 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26541 if test "${ac_cv_lib_z_deflate+set}" = set; then
26542 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 else
26544 ac_check_lib_save_LIBS=$LIBS
26545 LIBS="-lz $LIBS"
26546 cat >conftest.$ac_ext <<_ACEOF
26547 /* confdefs.h. */
26548 _ACEOF
26549 cat confdefs.h >>conftest.$ac_ext
26550 cat >>conftest.$ac_ext <<_ACEOF
26551 /* end confdefs.h. */
26552
26553 /* Override any GCC internal prototype to avoid an error.
26554 Use char because int might match the return type of a GCC
26555 builtin and then its argument prototype would still apply. */
26556 #ifdef __cplusplus
26557 extern "C"
26558 #endif
26559 char deflate ();
26560 int
26561 main ()
26562 {
26563 return deflate ();
26564 ;
26565 return 0;
26566 }
26567 _ACEOF
26568 rm -f conftest.$ac_objext conftest$ac_exeext
26569 if { (ac_try="$ac_link"
26570 case "(($ac_try" in
26571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26572 *) ac_try_echo=$ac_try;;
26573 esac
26574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26575 (eval "$ac_link") 2>conftest.er1
26576 ac_status=$?
26577 grep -v '^ *+' conftest.er1 >conftest.err
26578 rm -f conftest.er1
26579 cat conftest.err >&5
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); } && {
26582 test -z "$ac_c_werror_flag" ||
26583 test ! -s conftest.err
26584 } && test -s conftest$ac_exeext &&
26585 $as_test_x conftest$ac_exeext; then
26586 ac_cv_lib_z_deflate=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 ac_cv_lib_z_deflate=no
26592 fi
26593
26594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26595 conftest$ac_exeext conftest.$ac_ext
26596 LIBS=$ac_check_lib_save_LIBS
26597 fi
26598 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26599 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26600 if test $ac_cv_lib_z_deflate = yes; then
26601 ZLIB_LINK=" -lz"
26602 fi
26603
26604 fi
26605
26606 if test "x$ZLIB_LINK" = "x" ; then
26607 if test "$wxUSE_ZLIB" = "sys" ; then
26608 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26609 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26610 { (exit 1); exit 1; }; }
26611 else
26612 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26613 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26614 wxUSE_ZLIB=builtin
26615 fi
26616 else
26617 wxUSE_ZLIB=sys
26618 fi
26619 fi
26620 fi
26621
26622
26623 PNG_LINK=
26624 if test "$wxUSE_LIBPNG" != "no" ; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxUSE_LIBPNG 1
26627 _ACEOF
26628
26629
26630 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26631 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26632 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26633 wxUSE_LIBPNG=sys
26634 fi
26635
26636 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26637 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26638 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26639 wxUSE_LIBPNG=builtin
26640 fi
26641
26642 if test "$wxUSE_MGL" != 1 ; then
26643 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26644 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26645 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26646 if test "${ac_cv_header_png_h+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 else
26649 if test "$cross_compiling" = yes; then
26650 unset ac_cv_header_png_h
26651
26652 else
26653 cat >conftest.$ac_ext <<_ACEOF
26654 /* confdefs.h. */
26655 _ACEOF
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659
26660 #include <png.h>
26661 #include <stdio.h>
26662
26663 int main()
26664 {
26665 FILE *f=fopen("conftestval", "w");
26666 if (!f) exit(1);
26667 fprintf(f, "%s",
26668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26669 exit(0);
26670 }
26671
26672 _ACEOF
26673 rm -f conftest$ac_exeext
26674 if { (ac_try="$ac_link"
26675 case "(($ac_try" in
26676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26677 *) ac_try_echo=$ac_try;;
26678 esac
26679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26680 (eval "$ac_link") 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26684 { (case "(($ac_try" in
26685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26686 *) ac_try_echo=$ac_try;;
26687 esac
26688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26689 (eval "$ac_try") 2>&5
26690 ac_status=$?
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 ac_cv_header_png_h=`cat conftestval`
26694 else
26695 echo "$as_me: program exited with status $ac_status" >&5
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26698
26699 ( exit $ac_status )
26700 ac_cv_header_png_h=no
26701 fi
26702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26703 fi
26704
26705
26706
26707 fi
26708 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26709 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26710 { echo "$as_me:$LINENO: checking for png.h" >&5
26711 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26712 if test "${ac_cv_header_png_h+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 else
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721
26722
26723 #include <png.h>
26724 _ACEOF
26725 rm -f conftest.$ac_objext
26726 if { (ac_try="$ac_compile"
26727 case "(($ac_try" in
26728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26729 *) ac_try_echo=$ac_try;;
26730 esac
26731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26732 (eval "$ac_compile") 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } && {
26739 test -z "$ac_c_werror_flag" ||
26740 test ! -s conftest.err
26741 } && test -s conftest.$ac_objext; then
26742 ac_cv_header_png_h=yes
26743 else
26744 echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 ac_cv_header_png_h=no
26748 fi
26749
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
26755
26756
26757 if test "$ac_cv_header_png_h" = "yes"; then
26758 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26759 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26760 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763 ac_check_lib_save_LIBS=$LIBS
26764 LIBS="-lpng -lz -lm $LIBS"
26765 cat >conftest.$ac_ext <<_ACEOF
26766 /* confdefs.h. */
26767 _ACEOF
26768 cat confdefs.h >>conftest.$ac_ext
26769 cat >>conftest.$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26771
26772 /* Override any GCC internal prototype to avoid an error.
26773 Use char because int might match the return type of a GCC
26774 builtin and then its argument prototype would still apply. */
26775 #ifdef __cplusplus
26776 extern "C"
26777 #endif
26778 char png_check_sig ();
26779 int
26780 main ()
26781 {
26782 return png_check_sig ();
26783 ;
26784 return 0;
26785 }
26786 _ACEOF
26787 rm -f conftest.$ac_objext conftest$ac_exeext
26788 if { (ac_try="$ac_link"
26789 case "(($ac_try" in
26790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26792 esac
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_link") 2>conftest.er1
26795 ac_status=$?
26796 grep -v '^ *+' conftest.er1 >conftest.err
26797 rm -f conftest.er1
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest$ac_exeext &&
26804 $as_test_x conftest$ac_exeext; then
26805 ac_cv_lib_png_png_check_sig=yes
26806 else
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26809
26810 ac_cv_lib_png_png_check_sig=no
26811 fi
26812
26813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26814 conftest$ac_exeext conftest.$ac_ext
26815 LIBS=$ac_check_lib_save_LIBS
26816 fi
26817 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26818 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26819 if test $ac_cv_lib_png_png_check_sig = yes; then
26820 PNG_LINK=" -lpng -lz"
26821 fi
26822
26823 fi
26824
26825 if test "x$PNG_LINK" = "x" ; then
26826 if test "$wxUSE_LIBPNG" = "sys" ; then
26827 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26828 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26829 { (exit 1); exit 1; }; }
26830 else
26831 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26832 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26833 wxUSE_LIBPNG=builtin
26834 fi
26835 else
26836 wxUSE_LIBPNG=sys
26837 fi
26838 fi
26839 fi
26840 fi
26841
26842
26843 JPEG_LINK=
26844 if test "$wxUSE_LIBJPEG" != "no" ; then
26845 cat >>confdefs.h <<\_ACEOF
26846 #define wxUSE_LIBJPEG 1
26847 _ACEOF
26848
26849
26850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26851 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26852 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26853 wxUSE_LIBJPEG=sys
26854 fi
26855
26856 if test "$wxUSE_MGL" != 1 ; then
26857 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26858 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26859 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26860 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863 cat >conftest.$ac_ext <<_ACEOF
26864 /* confdefs.h. */
26865 _ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869
26870 #undef HAVE_STDLIB_H
26871 #include <stdio.h>
26872 #include <jpeglib.h>
26873
26874 int
26875 main ()
26876 {
26877
26878
26879 ;
26880 return 0;
26881 }
26882 _ACEOF
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26888 esac
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.$ac_objext; then
26900 ac_cv_header_jpeglib_h=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_cv_header_jpeglib_h=no
26906
26907 fi
26908
26909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26910
26911 fi
26912
26913 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26914 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26915
26916 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26917 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26918 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26919 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26922 ac_check_lib_save_LIBS=$LIBS
26923 LIBS="-ljpeg $LIBS"
26924 cat >conftest.$ac_ext <<_ACEOF
26925 /* confdefs.h. */
26926 _ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26930
26931 /* Override any GCC internal prototype to avoid an error.
26932 Use char because int might match the return type of a GCC
26933 builtin and then its argument prototype would still apply. */
26934 #ifdef __cplusplus
26935 extern "C"
26936 #endif
26937 char jpeg_read_header ();
26938 int
26939 main ()
26940 {
26941 return jpeg_read_header ();
26942 ;
26943 return 0;
26944 }
26945 _ACEOF
26946 rm -f conftest.$ac_objext conftest$ac_exeext
26947 if { (ac_try="$ac_link"
26948 case "(($ac_try" in
26949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26950 *) ac_try_echo=$ac_try;;
26951 esac
26952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26953 (eval "$ac_link") 2>conftest.er1
26954 ac_status=$?
26955 grep -v '^ *+' conftest.er1 >conftest.err
26956 rm -f conftest.er1
26957 cat conftest.err >&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } && {
26960 test -z "$ac_c_werror_flag" ||
26961 test ! -s conftest.err
26962 } && test -s conftest$ac_exeext &&
26963 $as_test_x conftest$ac_exeext; then
26964 ac_cv_lib_jpeg_jpeg_read_header=yes
26965 else
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.$ac_ext >&5
26968
26969 ac_cv_lib_jpeg_jpeg_read_header=no
26970 fi
26971
26972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26973 conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26975 fi
26976 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26977 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26978 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26979 JPEG_LINK=" -ljpeg"
26980 fi
26981
26982 fi
26983
26984 if test "x$JPEG_LINK" = "x" ; then
26985 if test "$wxUSE_LIBJPEG" = "sys" ; then
26986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26987 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26988 { (exit 1); exit 1; }; }
26989 else
26990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26991 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26992 wxUSE_LIBJPEG=builtin
26993 fi
26994 else
26995 wxUSE_LIBJPEG=sys
26996
26997 if test "$wxUSE_MSW" = 1; then
26998 { echo "$as_me:$LINENO: checking for boolean" >&5
26999 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27000 if test "${ac_cv_type_boolean+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27003 cat >conftest.$ac_ext <<_ACEOF
27004 /* confdefs.h. */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <windows.h>
27010
27011 typedef boolean ac__type_new_;
27012 int
27013 main ()
27014 {
27015 if ((ac__type_new_ *) 0)
27016 return 0;
27017 if (sizeof (ac__type_new_))
27018 return 0;
27019 ;
27020 return 0;
27021 }
27022 _ACEOF
27023 rm -f conftest.$ac_objext
27024 if { (ac_try="$ac_compile"
27025 case "(($ac_try" in
27026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27027 *) ac_try_echo=$ac_try;;
27028 esac
27029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27030 (eval "$ac_compile") 2>conftest.er1
27031 ac_status=$?
27032 grep -v '^ *+' conftest.er1 >conftest.err
27033 rm -f conftest.er1
27034 cat conftest.err >&5
27035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036 (exit $ac_status); } && {
27037 test -z "$ac_c_werror_flag" ||
27038 test ! -s conftest.err
27039 } && test -s conftest.$ac_objext; then
27040 ac_cv_type_boolean=yes
27041 else
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.$ac_ext >&5
27044
27045 ac_cv_type_boolean=no
27046 fi
27047
27048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27049 fi
27050 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27051 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27052 if test $ac_cv_type_boolean = yes; then
27053
27054 cat >>confdefs.h <<_ACEOF
27055 #define HAVE_BOOLEAN 1
27056 _ACEOF
27057
27058
27059 { echo "$as_me:$LINENO: checking for boolean" >&5
27060 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27061 if test "${ac_cv_type_boolean+set}" = set; then
27062 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 else
27064 cat >conftest.$ac_ext <<_ACEOF
27065 /* confdefs.h. */
27066 _ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070
27071 #undef HAVE_BOOLEAN
27072 #include <stdio.h>
27073 #include <jpeglib.h>
27074
27075
27076 typedef boolean ac__type_new_;
27077 int
27078 main ()
27079 {
27080 if ((ac__type_new_ *) 0)
27081 return 0;
27082 if (sizeof (ac__type_new_))
27083 return 0;
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 rm -f conftest.$ac_objext
27089 if { (ac_try="$ac_compile"
27090 case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27093 esac
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_compile") 2>conftest.er1
27096 ac_status=$?
27097 grep -v '^ *+' conftest.er1 >conftest.err
27098 rm -f conftest.er1
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } && {
27102 test -z "$ac_c_werror_flag" ||
27103 test ! -s conftest.err
27104 } && test -s conftest.$ac_objext; then
27105 ac_cv_type_boolean=yes
27106 else
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27109
27110 ac_cv_type_boolean=no
27111 fi
27112
27113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27114 fi
27115 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27116 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27117
27118 # The cast to long int works around a bug in the HP C Compiler
27119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27121 # This bug is HP SR number 8606223364.
27122 { echo "$as_me:$LINENO: checking size of boolean" >&5
27123 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27124 if test "${ac_cv_sizeof_boolean+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 else
27127 if test "$cross_compiling" = yes; then
27128 # Depending upon the size, compute the lo and hi bounds.
27129 cat >conftest.$ac_ext <<_ACEOF
27130 /* confdefs.h. */
27131 _ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135
27136 #undef HAVE_BOOLEAN
27137 #include <stdio.h>
27138 #include <jpeglib.h>
27139
27140
27141 typedef boolean ac__type_sizeof_;
27142 int
27143 main ()
27144 {
27145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27146 test_array [0] = 0
27147
27148 ;
27149 return 0;
27150 }
27151 _ACEOF
27152 rm -f conftest.$ac_objext
27153 if { (ac_try="$ac_compile"
27154 case "(($ac_try" in
27155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27156 *) ac_try_echo=$ac_try;;
27157 esac
27158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159 (eval "$ac_compile") 2>conftest.er1
27160 ac_status=$?
27161 grep -v '^ *+' conftest.er1 >conftest.err
27162 rm -f conftest.er1
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } && {
27166 test -z "$ac_c_werror_flag" ||
27167 test ! -s conftest.err
27168 } && test -s conftest.$ac_objext; then
27169 ac_lo=0 ac_mid=0
27170 while :; do
27171 cat >conftest.$ac_ext <<_ACEOF
27172 /* confdefs.h. */
27173 _ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27177
27178 #undef HAVE_BOOLEAN
27179 #include <stdio.h>
27180 #include <jpeglib.h>
27181
27182
27183 typedef boolean ac__type_sizeof_;
27184 int
27185 main ()
27186 {
27187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27188 test_array [0] = 0
27189
27190 ;
27191 return 0;
27192 }
27193 _ACEOF
27194 rm -f conftest.$ac_objext
27195 if { (ac_try="$ac_compile"
27196 case "(($ac_try" in
27197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27198 *) ac_try_echo=$ac_try;;
27199 esac
27200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27201 (eval "$ac_compile") 2>conftest.er1
27202 ac_status=$?
27203 grep -v '^ *+' conftest.er1 >conftest.err
27204 rm -f conftest.er1
27205 cat conftest.err >&5
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); } && {
27208 test -z "$ac_c_werror_flag" ||
27209 test ! -s conftest.err
27210 } && test -s conftest.$ac_objext; then
27211 ac_hi=$ac_mid; break
27212 else
27213 echo "$as_me: failed program was:" >&5
27214 sed 's/^/| /' conftest.$ac_ext >&5
27215
27216 ac_lo=`expr $ac_mid + 1`
27217 if test $ac_lo -le $ac_mid; then
27218 ac_lo= ac_hi=
27219 break
27220 fi
27221 ac_mid=`expr 2 '*' $ac_mid + 1`
27222 fi
27223
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27225 done
27226 else
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27229
27230 cat >conftest.$ac_ext <<_ACEOF
27231 /* confdefs.h. */
27232 _ACEOF
27233 cat confdefs.h >>conftest.$ac_ext
27234 cat >>conftest.$ac_ext <<_ACEOF
27235 /* end confdefs.h. */
27236
27237 #undef HAVE_BOOLEAN
27238 #include <stdio.h>
27239 #include <jpeglib.h>
27240
27241
27242 typedef boolean ac__type_sizeof_;
27243 int
27244 main ()
27245 {
27246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27247 test_array [0] = 0
27248
27249 ;
27250 return 0;
27251 }
27252 _ACEOF
27253 rm -f conftest.$ac_objext
27254 if { (ac_try="$ac_compile"
27255 case "(($ac_try" in
27256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27257 *) ac_try_echo=$ac_try;;
27258 esac
27259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27260 (eval "$ac_compile") 2>conftest.er1
27261 ac_status=$?
27262 grep -v '^ *+' conftest.er1 >conftest.err
27263 rm -f conftest.er1
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } && {
27267 test -z "$ac_c_werror_flag" ||
27268 test ! -s conftest.err
27269 } && test -s conftest.$ac_objext; then
27270 ac_hi=-1 ac_mid=-1
27271 while :; do
27272 cat >conftest.$ac_ext <<_ACEOF
27273 /* confdefs.h. */
27274 _ACEOF
27275 cat confdefs.h >>conftest.$ac_ext
27276 cat >>conftest.$ac_ext <<_ACEOF
27277 /* end confdefs.h. */
27278
27279 #undef HAVE_BOOLEAN
27280 #include <stdio.h>
27281 #include <jpeglib.h>
27282
27283
27284 typedef boolean ac__type_sizeof_;
27285 int
27286 main ()
27287 {
27288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27289 test_array [0] = 0
27290
27291 ;
27292 return 0;
27293 }
27294 _ACEOF
27295 rm -f conftest.$ac_objext
27296 if { (ac_try="$ac_compile"
27297 case "(($ac_try" in
27298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;;
27300 esac
27301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27302 (eval "$ac_compile") 2>conftest.er1
27303 ac_status=$?
27304 grep -v '^ *+' conftest.er1 >conftest.err
27305 rm -f conftest.er1
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && {
27309 test -z "$ac_c_werror_flag" ||
27310 test ! -s conftest.err
27311 } && test -s conftest.$ac_objext; then
27312 ac_lo=$ac_mid; break
27313 else
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.$ac_ext >&5
27316
27317 ac_hi=`expr '(' $ac_mid ')' - 1`
27318 if test $ac_mid -le $ac_hi; then
27319 ac_lo= ac_hi=
27320 break
27321 fi
27322 ac_mid=`expr 2 '*' $ac_mid`
27323 fi
27324
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 done
27327 else
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27330
27331 ac_lo= ac_hi=
27332 fi
27333
27334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27335 fi
27336
27337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27338 # Binary search between lo and hi bounds.
27339 while test "x$ac_lo" != "x$ac_hi"; do
27340 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347
27348 #undef HAVE_BOOLEAN
27349 #include <stdio.h>
27350 #include <jpeglib.h>
27351
27352
27353 typedef boolean ac__type_sizeof_;
27354 int
27355 main ()
27356 {
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27358 test_array [0] = 0
27359
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27369 esac
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27372 ac_status=$?
27373 grep -v '^ *+' conftest.er1 >conftest.err
27374 rm -f conftest.er1
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27381 ac_hi=$ac_mid
27382 else
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386 ac_lo=`expr '(' $ac_mid ')' + 1`
27387 fi
27388
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27390 done
27391 case $ac_lo in
27392 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27393 '') if test "$ac_cv_type_boolean" = yes; then
27394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27395 See \`config.log' for more details." >&5
27396 echo "$as_me: error: cannot compute sizeof (boolean)
27397 See \`config.log' for more details." >&2;}
27398 { (exit 77); exit 77; }; }
27399 else
27400 ac_cv_sizeof_boolean=0
27401 fi ;;
27402 esac
27403 else
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h. */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27410
27411 #undef HAVE_BOOLEAN
27412 #include <stdio.h>
27413 #include <jpeglib.h>
27414
27415
27416 typedef boolean ac__type_sizeof_;
27417 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27418 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27419 #include <stdio.h>
27420 #include <stdlib.h>
27421 int
27422 main ()
27423 {
27424
27425 FILE *f = fopen ("conftest.val", "w");
27426 if (! f)
27427 return 1;
27428 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27429 {
27430 long int i = longval ();
27431 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27432 return 1;
27433 fprintf (f, "%ld\n", i);
27434 }
27435 else
27436 {
27437 unsigned long int i = ulongval ();
27438 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27439 return 1;
27440 fprintf (f, "%lu\n", i);
27441 }
27442 return ferror (f) || fclose (f) != 0;
27443
27444 ;
27445 return 0;
27446 }
27447 _ACEOF
27448 rm -f conftest$ac_exeext
27449 if { (ac_try="$ac_link"
27450 case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27453 esac
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_link") 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27459 { (case "(($ac_try" in
27460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27461 *) ac_try_echo=$ac_try;;
27462 esac
27463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27464 (eval "$ac_try") 2>&5
27465 ac_status=$?
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 ac_cv_sizeof_boolean=`cat conftest.val`
27469 else
27470 echo "$as_me: program exited with status $ac_status" >&5
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ( exit $ac_status )
27475 if test "$ac_cv_type_boolean" = yes; then
27476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27477 See \`config.log' for more details." >&5
27478 echo "$as_me: error: cannot compute sizeof (boolean)
27479 See \`config.log' for more details." >&2;}
27480 { (exit 77); exit 77; }; }
27481 else
27482 ac_cv_sizeof_boolean=0
27483 fi
27484 fi
27485 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27486 fi
27487 rm -f conftest.val
27488 fi
27489 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27490 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27491
27492
27493
27494 cat >>confdefs.h <<_ACEOF
27495 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27496 _ACEOF
27497
27498
27499 cat >>confdefs.h <<_ACEOF
27500 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27501 _ACEOF
27502
27503
27504 fi
27505
27506 fi
27507 fi
27508 fi
27509 fi
27510 fi
27511
27512
27513 TIFF_LINK=
27514 TIFF_PREREQ_LINKS=-lm
27515 if test "$wxUSE_LIBTIFF" != "no" ; then
27516 cat >>confdefs.h <<\_ACEOF
27517 #define wxUSE_LIBTIFF 1
27518 _ACEOF
27519
27520
27521 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27522 if test "$wxUSE_LIBJPEG" = "sys"; then
27523 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27524 fi
27525 if test "$wxUSE_ZLIB" = "sys"; then
27526 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27527 fi
27528 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27529 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27530 if test "${ac_cv_header_tiffio_h+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 else
27533 cat >conftest.$ac_ext <<_ACEOF
27534 /* confdefs.h. */
27535 _ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27539
27540
27541
27542 #include <tiffio.h>
27543 _ACEOF
27544 rm -f conftest.$ac_objext
27545 if { (ac_try="$ac_compile"
27546 case "(($ac_try" in
27547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548 *) ac_try_echo=$ac_try;;
27549 esac
27550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551 (eval "$ac_compile") 2>conftest.er1
27552 ac_status=$?
27553 grep -v '^ *+' conftest.er1 >conftest.err
27554 rm -f conftest.er1
27555 cat conftest.err >&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); } && {
27558 test -z "$ac_c_werror_flag" ||
27559 test ! -s conftest.err
27560 } && test -s conftest.$ac_objext; then
27561 ac_cv_header_tiffio_h=yes
27562 else
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27565
27566 ac_cv_header_tiffio_h=no
27567 fi
27568
27569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27570 fi
27571 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27572 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27573 if test $ac_cv_header_tiffio_h = yes; then
27574
27575 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27576 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27577 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27578 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 else
27580 ac_check_lib_save_LIBS=$LIBS
27581 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588
27589 /* Override any GCC internal prototype to avoid an error.
27590 Use char because int might match the return type of a GCC
27591 builtin and then its argument prototype would still apply. */
27592 #ifdef __cplusplus
27593 extern "C"
27594 #endif
27595 char TIFFError ();
27596 int
27597 main ()
27598 {
27599 return TIFFError ();
27600 ;
27601 return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (ac_try="$ac_link"
27606 case "(($ac_try" in
27607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27608 *) ac_try_echo=$ac_try;;
27609 esac
27610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27611 (eval "$ac_link") 2>conftest.er1
27612 ac_status=$?
27613 grep -v '^ *+' conftest.er1 >conftest.err
27614 rm -f conftest.er1
27615 cat conftest.err >&5
27616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617 (exit $ac_status); } && {
27618 test -z "$ac_c_werror_flag" ||
27619 test ! -s conftest.err
27620 } && test -s conftest$ac_exeext &&
27621 $as_test_x conftest$ac_exeext; then
27622 ac_cv_lib_tiff_TIFFError=yes
27623 else
27624 echo "$as_me: failed program was:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27626
27627 ac_cv_lib_tiff_TIFFError=no
27628 fi
27629
27630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27631 conftest$ac_exeext conftest.$ac_ext
27632 LIBS=$ac_check_lib_save_LIBS
27633 fi
27634 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27635 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27636 if test $ac_cv_lib_tiff_TIFFError = yes; then
27637 TIFF_LINK=" -ltiff"
27638 fi
27639
27640
27641 fi
27642
27643
27644
27645 if test "x$TIFF_LINK" = "x" ; then
27646 if test "$wxUSE_LIBTIFF" = "sys" ; then
27647 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27648 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27649 { (exit 1); exit 1; }; }
27650 else
27651 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27652 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27653 wxUSE_LIBTIFF=builtin
27654 fi
27655 else
27656 wxUSE_LIBTIFF=sys
27657 fi
27658 fi
27659 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27660 if test "$wxUSE_LIBJPEG" = "no"; then
27661 ac_configure_args="$ac_configure_args --disable-jpeg"
27662 fi
27663 subdirs="$subdirs src/tiff"
27664
27665 fi
27666 fi
27667
27668
27669 if test "$wxUSE_WCHAR_T" != "yes"; then
27670 if test "$wxUSE_EXPAT" != "no"; then
27671 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27672 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27673 wxUSE_EXPAT=no
27674 fi
27675 if test "$wxUSE_XML" != "no"; then
27676 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27677 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27678 wxUSE_XML=no
27679 fi
27680 fi
27681
27682 if test "$wxUSE_EXPAT" != "no"; then
27683 wxUSE_XML=yes
27684 cat >>confdefs.h <<\_ACEOF
27685 #define wxUSE_EXPAT 1
27686 _ACEOF
27687
27688 cat >>confdefs.h <<\_ACEOF
27689 #define wxUSE_XML 1
27690 _ACEOF
27691
27692
27693 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27694 { echo "$as_me:$LINENO: checking for expat.h" >&5
27695 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27696 if test "${ac_cv_header_expat_h+set}" = set; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 else
27699 cat >conftest.$ac_ext <<_ACEOF
27700 /* confdefs.h. */
27701 _ACEOF
27702 cat confdefs.h >>conftest.$ac_ext
27703 cat >>conftest.$ac_ext <<_ACEOF
27704 /* end confdefs.h. */
27705
27706
27707 #include <expat.h>
27708 _ACEOF
27709 rm -f conftest.$ac_objext
27710 if { (ac_try="$ac_compile"
27711 case "(($ac_try" in
27712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27713 *) ac_try_echo=$ac_try;;
27714 esac
27715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27716 (eval "$ac_compile") 2>conftest.er1
27717 ac_status=$?
27718 grep -v '^ *+' conftest.er1 >conftest.err
27719 rm -f conftest.er1
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } && {
27723 test -z "$ac_c_werror_flag" ||
27724 test ! -s conftest.err
27725 } && test -s conftest.$ac_objext; then
27726 ac_cv_header_expat_h=yes
27727 else
27728 echo "$as_me: failed program was:" >&5
27729 sed 's/^/| /' conftest.$ac_ext >&5
27730
27731 ac_cv_header_expat_h=no
27732 fi
27733
27734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27735 fi
27736 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27737 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27738 if test $ac_cv_header_expat_h = yes; then
27739 found_expat_h=1
27740 fi
27741
27742
27743 if test "x$found_expat_h" = "x1"; then
27744 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27745 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27746 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27748 else
27749
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755
27756 cat >conftest.$ac_ext <<_ACEOF
27757 /* confdefs.h. */
27758 _ACEOF
27759 cat confdefs.h >>conftest.$ac_ext
27760 cat >>conftest.$ac_ext <<_ACEOF
27761 /* end confdefs.h. */
27762 #include <expat.h>
27763 int
27764 main ()
27765 {
27766
27767 ;
27768 return 0;
27769 }
27770 _ACEOF
27771 rm -f conftest.$ac_objext
27772 if { (ac_try="$ac_compile"
27773 case "(($ac_try" in
27774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27775 *) ac_try_echo=$ac_try;;
27776 esac
27777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27778 (eval "$ac_compile") 2>conftest.er1
27779 ac_status=$?
27780 grep -v '^ *+' conftest.er1 >conftest.err
27781 rm -f conftest.er1
27782 cat conftest.err >&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); } && {
27785 test -z "$ac_cxx_werror_flag" ||
27786 test ! -s conftest.err
27787 } && test -s conftest.$ac_objext; then
27788 wx_cv_expat_is_not_broken=yes
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 wx_cv_expat_is_not_broken=no
27794
27795 fi
27796
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_ext=c
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27803
27804
27805
27806 fi
27807 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27808 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27809 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27810 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27811 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27812 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 else
27815 ac_check_lib_save_LIBS=$LIBS
27816 LIBS="-lexpat $LIBS"
27817 cat >conftest.$ac_ext <<_ACEOF
27818 /* confdefs.h. */
27819 _ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h. */
27823
27824 /* Override any GCC internal prototype to avoid an error.
27825 Use char because int might match the return type of a GCC
27826 builtin and then its argument prototype would still apply. */
27827 #ifdef __cplusplus
27828 extern "C"
27829 #endif
27830 char XML_ParserCreate ();
27831 int
27832 main ()
27833 {
27834 return XML_ParserCreate ();
27835 ;
27836 return 0;
27837 }
27838 _ACEOF
27839 rm -f conftest.$ac_objext conftest$ac_exeext
27840 if { (ac_try="$ac_link"
27841 case "(($ac_try" in
27842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27843 *) ac_try_echo=$ac_try;;
27844 esac
27845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27846 (eval "$ac_link") 2>conftest.er1
27847 ac_status=$?
27848 grep -v '^ *+' conftest.er1 >conftest.err
27849 rm -f conftest.er1
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); } && {
27853 test -z "$ac_c_werror_flag" ||
27854 test ! -s conftest.err
27855 } && test -s conftest$ac_exeext &&
27856 $as_test_x conftest$ac_exeext; then
27857 ac_cv_lib_expat_XML_ParserCreate=yes
27858 else
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27861
27862 ac_cv_lib_expat_XML_ParserCreate=no
27863 fi
27864
27865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27866 conftest$ac_exeext conftest.$ac_ext
27867 LIBS=$ac_check_lib_save_LIBS
27868 fi
27869 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27870 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27871 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27872 EXPAT_LINK=" -lexpat"
27873 fi
27874
27875 fi
27876 fi
27877 if test "x$EXPAT_LINK" = "x" ; then
27878 if test "$wxUSE_EXPAT" = "sys" ; then
27879 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27880 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27881 { (exit 1); exit 1; }; }
27882 else
27883 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27884 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27885 wxUSE_EXPAT=builtin
27886 fi
27887 else
27888 wxUSE_EXPAT=sys
27889 fi
27890 fi
27891 if test "$wxUSE_EXPAT" = "builtin" ; then
27892 subdirs="$subdirs src/expat"
27893
27894 fi
27895 fi
27896
27897
27898
27899 if test "$wxUSE_LIBMSPACK" != "no"; then
27900 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27901 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27902 if test "${ac_cv_header_mspack_h+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905 cat >conftest.$ac_ext <<_ACEOF
27906 /* confdefs.h. */
27907 _ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27911
27912
27913 #include <mspack.h>
27914 _ACEOF
27915 rm -f conftest.$ac_objext
27916 if { (ac_try="$ac_compile"
27917 case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27920 esac
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_compile") 2>conftest.er1
27923 ac_status=$?
27924 grep -v '^ *+' conftest.er1 >conftest.err
27925 rm -f conftest.er1
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } && {
27929 test -z "$ac_c_werror_flag" ||
27930 test ! -s conftest.err
27931 } && test -s conftest.$ac_objext; then
27932 ac_cv_header_mspack_h=yes
27933 else
27934 echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27936
27937 ac_cv_header_mspack_h=no
27938 fi
27939
27940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 fi
27942 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27943 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27944 if test $ac_cv_header_mspack_h = yes; then
27945 found_mspack_h=1
27946 fi
27947
27948
27949 if test "x$found_mspack_h" = "x1"; then
27950 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27951 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27952 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 ac_check_lib_save_LIBS=$LIBS
27956 LIBS="-lmspack $LIBS"
27957 cat >conftest.$ac_ext <<_ACEOF
27958 /* confdefs.h. */
27959 _ACEOF
27960 cat confdefs.h >>conftest.$ac_ext
27961 cat >>conftest.$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27963
27964 /* Override any GCC internal prototype to avoid an error.
27965 Use char because int might match the return type of a GCC
27966 builtin and then its argument prototype would still apply. */
27967 #ifdef __cplusplus
27968 extern "C"
27969 #endif
27970 char mspack_create_chm_decompressor ();
27971 int
27972 main ()
27973 {
27974 return mspack_create_chm_decompressor ();
27975 ;
27976 return 0;
27977 }
27978 _ACEOF
27979 rm -f conftest.$ac_objext conftest$ac_exeext
27980 if { (ac_try="$ac_link"
27981 case "(($ac_try" in
27982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27983 *) ac_try_echo=$ac_try;;
27984 esac
27985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27986 (eval "$ac_link") 2>conftest.er1
27987 ac_status=$?
27988 grep -v '^ *+' conftest.er1 >conftest.err
27989 rm -f conftest.er1
27990 cat conftest.err >&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } && {
27993 test -z "$ac_c_werror_flag" ||
27994 test ! -s conftest.err
27995 } && test -s conftest$ac_exeext &&
27996 $as_test_x conftest$ac_exeext; then
27997 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27998 else
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28001
28002 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28003 fi
28004
28005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28006 conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28008 fi
28009 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28010 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28011 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28012 MSPACK_LINK=" -lmspack"
28013 fi
28014
28015 fi
28016 if test "x$MSPACK_LINK" = "x" ; then
28017 wxUSE_LIBMSPACK=no
28018 fi
28019 fi
28020
28021 if test "$wxUSE_LIBMSPACK" != "no"; then
28022 cat >>confdefs.h <<\_ACEOF
28023 #define wxUSE_LIBMSPACK 1
28024 _ACEOF
28025
28026 fi
28027
28028
28029
28030 AFMINSTALL=
28031 WIN32INSTALL=
28032
28033 TOOLKIT=
28034 TOOLKIT_INCLUDE=
28035 WIDGET_SET=
28036
28037 if test "$USE_WIN32" = 1 ; then
28038
28039 for ac_header in w32api.h
28040 do
28041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28042 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28044 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 else
28047 cat >conftest.$ac_ext <<_ACEOF
28048 /* confdefs.h. */
28049 _ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053
28054
28055 #include <$ac_header>
28056 _ACEOF
28057 rm -f conftest.$ac_objext
28058 if { (ac_try="$ac_compile"
28059 case "(($ac_try" in
28060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 *) ac_try_echo=$ac_try;;
28062 esac
28063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28064 (eval "$ac_compile") 2>conftest.er1
28065 ac_status=$?
28066 grep -v '^ *+' conftest.er1 >conftest.err
28067 rm -f conftest.er1
28068 cat conftest.err >&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && {
28071 test -z "$ac_c_werror_flag" ||
28072 test ! -s conftest.err
28073 } && test -s conftest.$ac_objext; then
28074 eval "$as_ac_Header=yes"
28075 else
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28078
28079 eval "$as_ac_Header=no"
28080 fi
28081
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 fi
28084 ac_res=`eval echo '${'$as_ac_Header'}'`
28085 { echo "$as_me:$LINENO: result: $ac_res" >&5
28086 echo "${ECHO_T}$ac_res" >&6; }
28087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28088 cat >>confdefs.h <<_ACEOF
28089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28090 _ACEOF
28091
28092 fi
28093
28094 done
28095
28096 { echo "$as_me:$LINENO: checking for windows.h" >&5
28097 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28098 if test "${ac_cv_header_windows_h+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28100 else
28101 cat >conftest.$ac_ext <<_ACEOF
28102 /* confdefs.h. */
28103 _ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28107
28108
28109 #include <windows.h>
28110 _ACEOF
28111 rm -f conftest.$ac_objext
28112 if { (ac_try="$ac_compile"
28113 case "(($ac_try" in
28114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28115 *) ac_try_echo=$ac_try;;
28116 esac
28117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28118 (eval "$ac_compile") 2>conftest.er1
28119 ac_status=$?
28120 grep -v '^ *+' conftest.er1 >conftest.err
28121 rm -f conftest.er1
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); } && {
28125 test -z "$ac_c_werror_flag" ||
28126 test ! -s conftest.err
28127 } && test -s conftest.$ac_objext; then
28128 ac_cv_header_windows_h=yes
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 ac_cv_header_windows_h=no
28134 fi
28135
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 fi
28138 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28139 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28140 if test $ac_cv_header_windows_h = yes; then
28141 :
28142 else
28143
28144 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28145 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28146 { (exit 1); exit 1; }; }
28147
28148 fi
28149
28150
28151
28152 case "${host}" in
28153 x86_64-*-mingw32* )
28154 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28155 ;;
28156 * )
28157 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28158 ;;
28159 esac
28160 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28161 LIBS="$LIBS -loleacc"
28162 fi
28163
28164 case "${host}" in
28165 *-*-cygwin* )
28166 LIBS="$LIBS -lkernel32 -luser32"
28167 esac
28168
28169 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28170 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28171
28172 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28173
28174 WIN32INSTALL=win32install
28175
28176 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28177 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28178 if test "${ac_cv_header_pbt_h+set}" = set; then
28179 echo $ECHO_N "(cached) $ECHO_C" >&6
28180 else
28181 cat >conftest.$ac_ext <<_ACEOF
28182 /* confdefs.h. */
28183 _ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28187
28188
28189 #include <pbt.h>
28190 _ACEOF
28191 rm -f conftest.$ac_objext
28192 if { (ac_try="$ac_compile"
28193 case "(($ac_try" in
28194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28195 *) ac_try_echo=$ac_try;;
28196 esac
28197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28198 (eval "$ac_compile") 2>conftest.er1
28199 ac_status=$?
28200 grep -v '^ *+' conftest.er1 >conftest.err
28201 rm -f conftest.er1
28202 cat conftest.err >&5
28203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204 (exit $ac_status); } && {
28205 test -z "$ac_c_werror_flag" ||
28206 test ! -s conftest.err
28207 } && test -s conftest.$ac_objext; then
28208 ac_cv_header_pbt_h=yes
28209 else
28210 echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.$ac_ext >&5
28212
28213 ac_cv_header_pbt_h=no
28214 fi
28215
28216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28217 fi
28218 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28219 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28220 if test $ac_cv_header_pbt_h = yes; then
28221 :
28222 else
28223 cat >>confdefs.h <<\_ACEOF
28224 #define NEED_PBT_H 1
28225 _ACEOF
28226
28227 fi
28228
28229
28230 fi
28231
28232 if test "$wxUSE_GUI" = "yes"; then
28233 USE_GUI=1
28234
28235 GUI_TK_LIBRARY=
28236
28237 WXGTK12=
28238 WXGTK127=
28239 WXGTK2=
28240 WXGPE=
28241
28242 if test "$wxUSE_COCOA" = 1 ; then
28243 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28244 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28245 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28246 wxUSE_PRINTING_ARCHITECTURE=no
28247 fi
28248 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28249 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28250 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28251 wxUSE_DRAG_AND_DROP=no
28252 fi
28253 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28254 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28255 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28256 wxUSE_DRAGIMAGE=no
28257 fi
28258 fi
28259
28260 if test "$wxUSE_MSW" = 1 ; then
28261 TOOLKIT=MSW
28262 GUIDIST=MSW_DIST
28263
28264 case "${host}" in
28265 *-*-mingw32* )
28266 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28267 esac
28268 fi
28269
28270 if test "$wxUSE_GTK" = 1; then
28271 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28272 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28273
28274 gtk_version_cached=1
28275 if test "${wx_cv_lib_gtk+set}" = set; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278
28279 gtk_version_cached=0
28280 { echo "$as_me:$LINENO: result: " >&5
28281 echo "${ECHO_T}" >&6; }
28282
28283 GTK_MODULES=
28284 if test "$wxUSE_THREADS" = "yes"; then
28285 GTK_MODULES=gthread
28286 fi
28287
28288 wx_cv_lib_gtk=
28289 if test "x$wxGTK_VERSION" != "x1"
28290 then
28291 case "${host}" in
28292 *-*-solaris2* )
28293 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28294 enable_gtktest=no
28295 fi
28296 esac
28297
28298 # Check whether --enable-gtktest was given.
28299 if test "${enable_gtktest+set}" = set; then
28300 enableval=$enable_gtktest;
28301 else
28302 enable_gtktest=yes
28303 fi
28304
28305
28306 pkg_config_args=gtk+-2.0
28307 for module in . $GTK_MODULES
28308 do
28309 case "$module" in
28310 gthread)
28311 pkg_config_args="$pkg_config_args gthread-2.0"
28312 ;;
28313 esac
28314 done
28315
28316 no_gtk=""
28317
28318 # Extract the first word of "pkg-config", so it can be a program name with args.
28319 set dummy pkg-config; ac_word=$2
28320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28322 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325 case $PKG_CONFIG in
28326 [\\/]* | ?:[\\/]*)
28327 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28328 ;;
28329 *)
28330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28331 for as_dir in $PATH
28332 do
28333 IFS=$as_save_IFS
28334 test -z "$as_dir" && as_dir=.
28335 for ac_exec_ext in '' $ac_executable_extensions; do
28336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28337 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28339 break 2
28340 fi
28341 done
28342 done
28343 IFS=$as_save_IFS
28344
28345 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28346 ;;
28347 esac
28348 fi
28349 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28350 if test -n "$PKG_CONFIG"; then
28351 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28352 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28353 else
28354 { echo "$as_me:$LINENO: result: no" >&5
28355 echo "${ECHO_T}no" >&6; }
28356 fi
28357
28358
28359
28360 if test x$PKG_CONFIG != xno ; then
28361 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28362 :
28363 else
28364 echo "*** pkg-config too old; version 0.7 or better required."
28365 no_gtk=yes
28366 PKG_CONFIG=no
28367 fi
28368 else
28369 no_gtk=yes
28370 fi
28371
28372 min_gtk_version=2.4.0
28373 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28374 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28375
28376 if test x$PKG_CONFIG != xno ; then
28377 ## don't try to run the test against uninstalled libtool libs
28378 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28379 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28380 enable_gtktest=no
28381 fi
28382
28383 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28384 :
28385 else
28386 no_gtk=yes
28387 fi
28388 fi
28389
28390 if test x"$no_gtk" = x ; then
28391 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28392 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28393 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28395 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28397 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28399 if test "x$enable_gtktest" = "xyes" ; then
28400 ac_save_CFLAGS="$CFLAGS"
28401 ac_save_LIBS="$LIBS"
28402 CFLAGS="$CFLAGS $GTK_CFLAGS"
28403 LIBS="$GTK_LIBS $LIBS"
28404 rm -f conf.gtktest
28405 if test "$cross_compiling" = yes; then
28406 echo $ac_n "cross compiling; assumed OK... $ac_c"
28407 else
28408 cat >conftest.$ac_ext <<_ACEOF
28409 /* confdefs.h. */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28414
28415 #include <gtk/gtk.h>
28416 #include <stdio.h>
28417 #include <stdlib.h>
28418
28419 int
28420 main ()
28421 {
28422 int major, minor, micro;
28423 char *tmp_version;
28424
28425 system ("touch conf.gtktest");
28426
28427 /* HP/UX 9 (%@#!) writes to sscanf strings */
28428 tmp_version = g_strdup("$min_gtk_version");
28429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28430 printf("%s, bad version string\n", "$min_gtk_version");
28431 exit(1);
28432 }
28433
28434 if ((gtk_major_version != $gtk_config_major_version) ||
28435 (gtk_minor_version != $gtk_config_minor_version) ||
28436 (gtk_micro_version != $gtk_config_micro_version))
28437 {
28438 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28440 gtk_major_version, gtk_minor_version, gtk_micro_version);
28441 printf ("*** was found! If pkg-config was correct, then it is best\n");
28442 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28444 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28445 printf("*** required on your system.\n");
28446 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28447 printf("*** to point to the correct configuration files\n");
28448 }
28449 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28450 (gtk_minor_version != GTK_MINOR_VERSION) ||
28451 (gtk_micro_version != GTK_MICRO_VERSION))
28452 {
28453 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28454 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28455 printf("*** library (version %d.%d.%d)\n",
28456 gtk_major_version, gtk_minor_version, gtk_micro_version);
28457 }
28458 else
28459 {
28460 if ((gtk_major_version > major) ||
28461 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28462 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28463 {
28464 return 0;
28465 }
28466 else
28467 {
28468 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28469 gtk_major_version, gtk_minor_version, gtk_micro_version);
28470 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28471 major, minor, micro);
28472 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28473 printf("***\n");
28474 printf("*** If you have already installed a sufficiently new version, this error\n");
28475 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28476 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28477 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28478 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28479 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28480 printf("*** so that the correct libraries are found at run-time))\n");
28481 }
28482 }
28483 return 1;
28484 }
28485
28486 _ACEOF
28487 rm -f conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28492 esac
28493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28498 { (case "(($ac_try" in
28499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28500 *) ac_try_echo=$ac_try;;
28501 esac
28502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28503 (eval "$ac_try") 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 :
28508 else
28509 echo "$as_me: program exited with status $ac_status" >&5
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28512
28513 ( exit $ac_status )
28514 no_gtk=yes
28515 fi
28516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28517 fi
28518
28519
28520 CFLAGS="$ac_save_CFLAGS"
28521 LIBS="$ac_save_LIBS"
28522 fi
28523 fi
28524 if test "x$no_gtk" = x ; then
28525 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28526 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28527 wx_cv_lib_gtk=2.0
28528 else
28529 { echo "$as_me:$LINENO: result: no" >&5
28530 echo "${ECHO_T}no" >&6; }
28531 if test "$PKG_CONFIG" = "no" ; then
28532 echo "*** A new enough version of pkg-config was not found."
28533 echo "*** See http://pkgconfig.sourceforge.net"
28534 else
28535 if test -f conf.gtktest ; then
28536 :
28537 else
28538 echo "*** Could not run GTK+ test program, checking why..."
28539 ac_save_CFLAGS="$CFLAGS"
28540 ac_save_LIBS="$LIBS"
28541 CFLAGS="$CFLAGS $GTK_CFLAGS"
28542 LIBS="$LIBS $GTK_LIBS"
28543 cat >conftest.$ac_ext <<_ACEOF
28544 /* confdefs.h. */
28545 _ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549
28550 #include <gtk/gtk.h>
28551 #include <stdio.h>
28552
28553 int
28554 main ()
28555 {
28556 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28557 ;
28558 return 0;
28559 }
28560 _ACEOF
28561 rm -f conftest.$ac_objext conftest$ac_exeext
28562 if { (ac_try="$ac_link"
28563 case "(($ac_try" in
28564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28565 *) ac_try_echo=$ac_try;;
28566 esac
28567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28568 (eval "$ac_link") 2>conftest.er1
28569 ac_status=$?
28570 grep -v '^ *+' conftest.er1 >conftest.err
28571 rm -f conftest.er1
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 (exit $ac_status); } && {
28575 test -z "$ac_c_werror_flag" ||
28576 test ! -s conftest.err
28577 } && test -s conftest$ac_exeext &&
28578 $as_test_x conftest$ac_exeext; then
28579 echo "*** The test program compiled, but did not run. This usually means"
28580 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28581 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28582 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28583 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28584 echo "*** is required on your system"
28585 echo "***"
28586 echo "*** If you have an old version installed, it is best to remove it, although"
28587 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 echo "*** The test program failed to compile or link. See the file config.log for the"
28593 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28594 fi
28595
28596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28597 conftest$ac_exeext conftest.$ac_ext
28598 CFLAGS="$ac_save_CFLAGS"
28599 LIBS="$ac_save_LIBS"
28600 fi
28601 fi
28602 GTK_CFLAGS=""
28603 GTK_LIBS=""
28604 :
28605 fi
28606
28607
28608 rm -f conf.gtktest
28609
28610
28611 case "${host}" in
28612 *-*-solaris2* )
28613 if test "$wxUSE_SHARED" != "yes"; then
28614 GTK_LIBS="$GTK_LIBS -lX11"
28615 fi
28616 esac
28617 fi
28618
28619 if test -z "$wx_cv_lib_gtk"; then
28620 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28621
28622 # Check whether --with-gtk-prefix was given.
28623 if test "${with_gtk_prefix+set}" = set; then
28624 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28625 else
28626 gtk_config_prefix=""
28627 fi
28628
28629
28630 # Check whether --with-gtk-exec-prefix was given.
28631 if test "${with_gtk_exec_prefix+set}" = set; then
28632 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28633 else
28634 gtk_config_exec_prefix=""
28635 fi
28636
28637 # Check whether --enable-gtktest was given.
28638 if test "${enable_gtktest+set}" = set; then
28639 enableval=$enable_gtktest;
28640 else
28641 enable_gtktest=yes
28642 fi
28643
28644
28645 for module in . $GTK_MODULES
28646 do
28647 case "$module" in
28648 gthread)
28649 gtk_config_args="$gtk_config_args gthread"
28650 ;;
28651 esac
28652 done
28653
28654 if test x$gtk_config_exec_prefix != x ; then
28655 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28656 if test x${GTK_CONFIG+set} != xset ; then
28657 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28658 fi
28659 fi
28660 if test x$gtk_config_prefix != x ; then
28661 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28662 if test x${GTK_CONFIG+set} != xset ; then
28663 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28664 fi
28665 fi
28666
28667 # Extract the first word of "gtk-config", so it can be a program name with args.
28668 set dummy gtk-config; ac_word=$2
28669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28671 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 else
28674 case $GTK_CONFIG in
28675 [\\/]* | ?:[\\/]*)
28676 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28677 ;;
28678 *)
28679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28680 for as_dir in $PATH
28681 do
28682 IFS=$as_save_IFS
28683 test -z "$as_dir" && as_dir=.
28684 for ac_exec_ext in '' $ac_executable_extensions; do
28685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28686 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28688 break 2
28689 fi
28690 done
28691 done
28692 IFS=$as_save_IFS
28693
28694 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28695 ;;
28696 esac
28697 fi
28698 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28699 if test -n "$GTK_CONFIG"; then
28700 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28701 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28702 else
28703 { echo "$as_me:$LINENO: result: no" >&5
28704 echo "${ECHO_T}no" >&6; }
28705 fi
28706
28707
28708 min_gtk_version=1.2.7
28709 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28710 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28711 no_gtk=""
28712 if test "$GTK_CONFIG" = "no" ; then
28713 no_gtk=yes
28714 else
28715 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28716 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28717 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28719 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28721 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28723 if test "x$enable_gtktest" = "xyes" ; then
28724 ac_save_CFLAGS="$CFLAGS"
28725 ac_save_LIBS="$LIBS"
28726 CFLAGS="$CFLAGS $GTK_CFLAGS"
28727 LIBS="$GTK_LIBS $LIBS"
28728 rm -f conf.gtktest
28729 if test "$cross_compiling" = yes; then
28730 echo $ac_n "cross compiling; assumed OK... $ac_c"
28731 else
28732 cat >conftest.$ac_ext <<_ACEOF
28733 /* confdefs.h. */
28734 _ACEOF
28735 cat confdefs.h >>conftest.$ac_ext
28736 cat >>conftest.$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28738
28739 #include <gtk/gtk.h>
28740 #include <stdio.h>
28741 #include <stdlib.h>
28742
28743 int
28744 main ()
28745 {
28746 int major, minor, micro;
28747 char *tmp_version;
28748
28749 system ("touch conf.gtktest");
28750
28751 /* HP/UX 9 (%@#!) writes to sscanf strings */
28752 tmp_version = g_strdup("$min_gtk_version");
28753 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28754 printf("%s, bad version string\n", "$min_gtk_version");
28755 exit(1);
28756 }
28757
28758 if ((gtk_major_version != $gtk_config_major_version) ||
28759 (gtk_minor_version != $gtk_config_minor_version) ||
28760 (gtk_micro_version != $gtk_config_micro_version))
28761 {
28762 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28763 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28764 gtk_major_version, gtk_minor_version, gtk_micro_version);
28765 printf ("*** was found! If gtk-config was correct, then it is best\n");
28766 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28767 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28768 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28769 printf("*** required on your system.\n");
28770 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28771 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28772 printf("*** before re-running configure\n");
28773 }
28774 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28775 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28776 (gtk_minor_version != GTK_MINOR_VERSION) ||
28777 (gtk_micro_version != GTK_MICRO_VERSION))
28778 {
28779 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28780 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28781 printf("*** library (version %d.%d.%d)\n",
28782 gtk_major_version, gtk_minor_version, gtk_micro_version);
28783 }
28784 #endif /* defined (GTK_MAJOR_VERSION) ... */
28785 else
28786 {
28787 if ((gtk_major_version > major) ||
28788 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28789 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28790 {
28791 return 0;
28792 }
28793 else
28794 {
28795 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28796 gtk_major_version, gtk_minor_version, gtk_micro_version);
28797 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28798 major, minor, micro);
28799 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28800 printf("***\n");
28801 printf("*** If you have already installed a sufficiently new version, this error\n");
28802 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28803 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28804 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28805 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28806 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28807 printf("*** so that the correct libraries are found at run-time))\n");
28808 }
28809 }
28810 return 1;
28811 }
28812
28813 _ACEOF
28814 rm -f conftest$ac_exeext
28815 if { (ac_try="$ac_link"
28816 case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28819 esac
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_link") 2>&5
28822 ac_status=$?
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28825 { (case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28828 esac
28829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_try") 2>&5
28831 ac_status=$?
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); }; }; then
28834 :
28835 else
28836 echo "$as_me: program exited with status $ac_status" >&5
28837 echo "$as_me: failed program was:" >&5
28838 sed 's/^/| /' conftest.$ac_ext >&5
28839
28840 ( exit $ac_status )
28841 no_gtk=yes
28842 fi
28843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28844 fi
28845
28846
28847 CFLAGS="$ac_save_CFLAGS"
28848 LIBS="$ac_save_LIBS"
28849 fi
28850 fi
28851 if test "x$no_gtk" = x ; then
28852 { echo "$as_me:$LINENO: result: yes" >&5
28853 echo "${ECHO_T}yes" >&6; }
28854 wx_cv_lib_gtk=1.2.7
28855 else
28856 { echo "$as_me:$LINENO: result: no" >&5
28857 echo "${ECHO_T}no" >&6; }
28858 if test "$GTK_CONFIG" = "no" ; then
28859 echo "*** The gtk-config script installed by GTK could not be found"
28860 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28861 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28862 echo "*** full path to gtk-config."
28863 else
28864 if test -f conf.gtktest ; then
28865 :
28866 else
28867 echo "*** Could not run GTK test program, checking why..."
28868 CFLAGS="$CFLAGS $GTK_CFLAGS"
28869 LIBS="$LIBS $GTK_LIBS"
28870 cat >conftest.$ac_ext <<_ACEOF
28871 /* confdefs.h. */
28872 _ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28876
28877 #include <gtk/gtk.h>
28878 #include <stdio.h>
28879
28880 int
28881 main ()
28882 {
28883 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28884 ;
28885 return 0;
28886 }
28887 _ACEOF
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (ac_try="$ac_link"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28893 esac
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_link") 2>conftest.er1
28896 ac_status=$?
28897 grep -v '^ *+' conftest.er1 >conftest.err
28898 rm -f conftest.er1
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } && {
28902 test -z "$ac_c_werror_flag" ||
28903 test ! -s conftest.err
28904 } && test -s conftest$ac_exeext &&
28905 $as_test_x conftest$ac_exeext; then
28906 echo "*** The test program compiled, but did not run. This usually means"
28907 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28908 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28909 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28910 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28911 echo "*** is required on your system"
28912 echo "***"
28913 echo "*** If you have an old version installed, it is best to remove it, although"
28914 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28915 echo "***"
28916 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28917 echo "*** came with the system with the command"
28918 echo "***"
28919 echo "*** rpm --erase --nodeps gtk gtk-devel"
28920 else
28921 echo "$as_me: failed program was:" >&5
28922 sed 's/^/| /' conftest.$ac_ext >&5
28923
28924 echo "*** The test program failed to compile or link. See the file config.log for the"
28925 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28926 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28927 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28928 fi
28929
28930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28931 conftest$ac_exeext conftest.$ac_ext
28932 CFLAGS="$ac_save_CFLAGS"
28933 LIBS="$ac_save_LIBS"
28934 fi
28935 fi
28936 GTK_CFLAGS=""
28937 GTK_LIBS=""
28938 :
28939 fi
28940
28941
28942 rm -f conf.gtktest
28943
28944
28945 if test -z "$wx_cv_lib_gtk"; then
28946
28947 # Check whether --with-gtk-prefix was given.
28948 if test "${with_gtk_prefix+set}" = set; then
28949 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28950 else
28951 gtk_config_prefix=""
28952 fi
28953
28954
28955 # Check whether --with-gtk-exec-prefix was given.
28956 if test "${with_gtk_exec_prefix+set}" = set; then
28957 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28958 else
28959 gtk_config_exec_prefix=""
28960 fi
28961
28962 # Check whether --enable-gtktest was given.
28963 if test "${enable_gtktest+set}" = set; then
28964 enableval=$enable_gtktest;
28965 else
28966 enable_gtktest=yes
28967 fi
28968
28969
28970 for module in . $GTK_MODULES
28971 do
28972 case "$module" in
28973 gthread)
28974 gtk_config_args="$gtk_config_args gthread"
28975 ;;
28976 esac
28977 done
28978
28979 if test x$gtk_config_exec_prefix != x ; then
28980 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28981 if test x${GTK_CONFIG+set} != xset ; then
28982 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28983 fi
28984 fi
28985 if test x$gtk_config_prefix != x ; then
28986 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28987 if test x${GTK_CONFIG+set} != xset ; then
28988 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28989 fi
28990 fi
28991
28992 # Extract the first word of "gtk-config", so it can be a program name with args.
28993 set dummy gtk-config; ac_word=$2
28994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28996 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28997 echo $ECHO_N "(cached) $ECHO_C" >&6
28998 else
28999 case $GTK_CONFIG in
29000 [\\/]* | ?:[\\/]*)
29001 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29002 ;;
29003 *)
29004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29005 for as_dir in $PATH
29006 do
29007 IFS=$as_save_IFS
29008 test -z "$as_dir" && as_dir=.
29009 for ac_exec_ext in '' $ac_executable_extensions; do
29010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29011 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29013 break 2
29014 fi
29015 done
29016 done
29017 IFS=$as_save_IFS
29018
29019 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29020 ;;
29021 esac
29022 fi
29023 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29024 if test -n "$GTK_CONFIG"; then
29025 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29026 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29027 else
29028 { echo "$as_me:$LINENO: result: no" >&5
29029 echo "${ECHO_T}no" >&6; }
29030 fi
29031
29032
29033 min_gtk_version=1.2.3
29034 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29035 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29036 no_gtk=""
29037 if test "$GTK_CONFIG" = "no" ; then
29038 no_gtk=yes
29039 else
29040 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29041 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29042 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29044 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29046 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29048 if test "x$enable_gtktest" = "xyes" ; then
29049 ac_save_CFLAGS="$CFLAGS"
29050 ac_save_LIBS="$LIBS"
29051 CFLAGS="$CFLAGS $GTK_CFLAGS"
29052 LIBS="$GTK_LIBS $LIBS"
29053 rm -f conf.gtktest
29054 if test "$cross_compiling" = yes; then
29055 echo $ac_n "cross compiling; assumed OK... $ac_c"
29056 else
29057 cat >conftest.$ac_ext <<_ACEOF
29058 /* confdefs.h. */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063
29064 #include <gtk/gtk.h>
29065 #include <stdio.h>
29066 #include <stdlib.h>
29067
29068 int
29069 main ()
29070 {
29071 int major, minor, micro;
29072 char *tmp_version;
29073
29074 system ("touch conf.gtktest");
29075
29076 /* HP/UX 9 (%@#!) writes to sscanf strings */
29077 tmp_version = g_strdup("$min_gtk_version");
29078 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29079 printf("%s, bad version string\n", "$min_gtk_version");
29080 exit(1);
29081 }
29082
29083 if ((gtk_major_version != $gtk_config_major_version) ||
29084 (gtk_minor_version != $gtk_config_minor_version) ||
29085 (gtk_micro_version != $gtk_config_micro_version))
29086 {
29087 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29088 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29089 gtk_major_version, gtk_minor_version, gtk_micro_version);
29090 printf ("*** was found! If gtk-config was correct, then it is best\n");
29091 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29092 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29093 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29094 printf("*** required on your system.\n");
29095 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29096 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29097 printf("*** before re-running configure\n");
29098 }
29099 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29100 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29101 (gtk_minor_version != GTK_MINOR_VERSION) ||
29102 (gtk_micro_version != GTK_MICRO_VERSION))
29103 {
29104 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29105 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29106 printf("*** library (version %d.%d.%d)\n",
29107 gtk_major_version, gtk_minor_version, gtk_micro_version);
29108 }
29109 #endif /* defined (GTK_MAJOR_VERSION) ... */
29110 else
29111 {
29112 if ((gtk_major_version > major) ||
29113 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29114 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29115 {
29116 return 0;
29117 }
29118 else
29119 {
29120 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29121 gtk_major_version, gtk_minor_version, gtk_micro_version);
29122 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29123 major, minor, micro);
29124 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29125 printf("***\n");
29126 printf("*** If you have already installed a sufficiently new version, this error\n");
29127 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29128 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29129 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29130 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29131 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29132 printf("*** so that the correct libraries are found at run-time))\n");
29133 }
29134 }
29135 return 1;
29136 }
29137
29138 _ACEOF
29139 rm -f conftest$ac_exeext
29140 if { (ac_try="$ac_link"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29144 esac
29145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_link") 2>&5
29147 ac_status=$?
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29150 { (case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29153 esac
29154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_try") 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 :
29160 else
29161 echo "$as_me: program exited with status $ac_status" >&5
29162 echo "$as_me: failed program was:" >&5
29163 sed 's/^/| /' conftest.$ac_ext >&5
29164
29165 ( exit $ac_status )
29166 no_gtk=yes
29167 fi
29168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29169 fi
29170
29171
29172 CFLAGS="$ac_save_CFLAGS"
29173 LIBS="$ac_save_LIBS"
29174 fi
29175 fi
29176 if test "x$no_gtk" = x ; then
29177 { echo "$as_me:$LINENO: result: yes" >&5
29178 echo "${ECHO_T}yes" >&6; }
29179 wx_cv_lib_gtk=1.2.3
29180 else
29181 { echo "$as_me:$LINENO: result: no" >&5
29182 echo "${ECHO_T}no" >&6; }
29183 if test "$GTK_CONFIG" = "no" ; then
29184 echo "*** The gtk-config script installed by GTK could not be found"
29185 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29186 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29187 echo "*** full path to gtk-config."
29188 else
29189 if test -f conf.gtktest ; then
29190 :
29191 else
29192 echo "*** Could not run GTK test program, checking why..."
29193 CFLAGS="$CFLAGS $GTK_CFLAGS"
29194 LIBS="$LIBS $GTK_LIBS"
29195 cat >conftest.$ac_ext <<_ACEOF
29196 /* confdefs.h. */
29197 _ACEOF
29198 cat confdefs.h >>conftest.$ac_ext
29199 cat >>conftest.$ac_ext <<_ACEOF
29200 /* end confdefs.h. */
29201
29202 #include <gtk/gtk.h>
29203 #include <stdio.h>
29204
29205 int
29206 main ()
29207 {
29208 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext conftest$ac_exeext
29214 if { (ac_try="$ac_link"
29215 case "(($ac_try" in
29216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29217 *) ac_try_echo=$ac_try;;
29218 esac
29219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29220 (eval "$ac_link") 2>conftest.er1
29221 ac_status=$?
29222 grep -v '^ *+' conftest.er1 >conftest.err
29223 rm -f conftest.er1
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } && {
29227 test -z "$ac_c_werror_flag" ||
29228 test ! -s conftest.err
29229 } && test -s conftest$ac_exeext &&
29230 $as_test_x conftest$ac_exeext; then
29231 echo "*** The test program compiled, but did not run. This usually means"
29232 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29233 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29236 echo "*** is required on your system"
29237 echo "***"
29238 echo "*** If you have an old version installed, it is best to remove it, although"
29239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29240 echo "***"
29241 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29242 echo "*** came with the system with the command"
29243 echo "***"
29244 echo "*** rpm --erase --nodeps gtk gtk-devel"
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 echo "*** The test program failed to compile or link. See the file config.log for the"
29250 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29251 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29252 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29253 fi
29254
29255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29256 conftest$ac_exeext conftest.$ac_ext
29257 CFLAGS="$ac_save_CFLAGS"
29258 LIBS="$ac_save_LIBS"
29259 fi
29260 fi
29261 GTK_CFLAGS=""
29262 GTK_LIBS=""
29263 :
29264 fi
29265
29266
29267 rm -f conf.gtktest
29268
29269 fi
29270 fi
29271 fi
29272
29273 if test -z "$wx_cv_lib_gtk"; then
29274 wx_cv_lib_gtk=none
29275 else
29276 wx_cv_cflags_gtk=$GTK_CFLAGS
29277 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29278 fi
29279
29280
29281 fi
29282
29283
29284 if test "$gtk_version_cached" = 1; then
29285 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29286 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29287 fi
29288
29289 case "$wx_cv_lib_gtk" in
29290 2.0) WXGTK2=1
29291 TOOLKIT_VERSION=2
29292 ;;
29293 1.2.7) WXGTK127=1
29294 WXGTK12=1
29295 ;;
29296 1.2.3) WXGTK12=1
29297 ;;
29298 *) { { echo "$as_me:$LINENO: error:
29299 The development files for GTK+ were not found. For GTK+ 2, please
29300 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29301 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29302 and that the version is 1.2.3 or above. Also check that the
29303 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29304 --libs' are in the LD_LIBRARY_PATH or equivalent.
29305 " >&5
29306 echo "$as_me: error:
29307 The development files for GTK+ were not found. For GTK+ 2, please
29308 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29309 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29310 and that the version is 1.2.3 or above. Also check that the
29311 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29312 --libs' are in the LD_LIBRARY_PATH or equivalent.
29313 " >&2;}
29314 { (exit 1); exit 1; }; }
29315 ;;
29316 esac
29317
29318 if test "$WXGTK2" = 1; then
29319 save_CFLAGS="$CFLAGS"
29320 save_LIBS="$LIBS"
29321 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29322 LIBS="$LIBS $wx_cv_libs_gtk"
29323
29324 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29325 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 #include <gtk/gtk.h>
29334
29335 int
29336 main ()
29337 {
29338
29339 #if !GTK_CHECK_VERSION(2,10,0)
29340 Not GTK+ 2.10
29341 #endif
29342
29343 ;
29344 return 0;
29345 }
29346 _ACEOF
29347 rm -f conftest.$ac_objext
29348 if { (ac_try="$ac_compile"
29349 case "(($ac_try" in
29350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29351 *) ac_try_echo=$ac_try;;
29352 esac
29353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29354 (eval "$ac_compile") 2>conftest.er1
29355 ac_status=$?
29356 grep -v '^ *+' conftest.er1 >conftest.err
29357 rm -f conftest.er1
29358 cat conftest.err >&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); } && {
29361 test -z "$ac_c_werror_flag" ||
29362 test ! -s conftest.err
29363 } && test -s conftest.$ac_objext; then
29364
29365 cat >>confdefs.h <<\_ACEOF
29366 #define __WXGTK210__ 1
29367 _ACEOF
29368
29369 cat >>confdefs.h <<\_ACEOF
29370 #define __WXGTK26__ 1
29371 _ACEOF
29372
29373 { echo "$as_me:$LINENO: result: yes" >&5
29374 echo "${ECHO_T}yes" >&6; }
29375 ac_wxgtk210=1
29376
29377 else
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.$ac_ext >&5
29380
29381
29382 { echo "$as_me:$LINENO: result: no" >&5
29383 echo "${ECHO_T}no" >&6; }
29384 ac_wxgtk210=0
29385
29386 fi
29387
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389
29390 if test "$ac_wxgtk210" = 0; then
29391 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29392 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29393 cat >conftest.$ac_ext <<_ACEOF
29394 /* confdefs.h. */
29395 _ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399
29400 #include <gtk/gtk.h>
29401
29402 int
29403 main ()
29404 {
29405
29406 #if !GTK_CHECK_VERSION(2,6,0)
29407 Not GTK+ 2.6
29408 #endif
29409
29410 ;
29411 return 0;
29412 }
29413 _ACEOF
29414 rm -f conftest.$ac_objext
29415 if { (ac_try="$ac_compile"
29416 case "(($ac_try" in
29417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29418 *) ac_try_echo=$ac_try;;
29419 esac
29420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29421 (eval "$ac_compile") 2>conftest.er1
29422 ac_status=$?
29423 grep -v '^ *+' conftest.er1 >conftest.err
29424 rm -f conftest.er1
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } && {
29428 test -z "$ac_c_werror_flag" ||
29429 test ! -s conftest.err
29430 } && test -s conftest.$ac_objext; then
29431
29432 cat >>confdefs.h <<\_ACEOF
29433 #define __WXGTK26__ 1
29434 _ACEOF
29435
29436 { echo "$as_me:$LINENO: result: yes" >&5
29437 echo "${ECHO_T}yes" >&6; }
29438 ac_wxgtk26=1
29439
29440 else
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29443
29444
29445 { echo "$as_me:$LINENO: result: no" >&5
29446 echo "${ECHO_T}no" >&6; }
29447 ac_wxgtk26=0
29448
29449 fi
29450
29451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29452 fi
29453
29454 CFLAGS="$save_CFLAGS"
29455 LIBS="$save_LIBS"
29456 else
29457 if test "$wxUSE_UNICODE" = "yes"; then
29458 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29459 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29460 wxUSE_UNICODE=no
29461 fi
29462
29463 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29464 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29465 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 else
29468 ac_check_lib_save_LIBS=$LIBS
29469 LIBS="-lgdk $LIBS"
29470 cat >conftest.$ac_ext <<_ACEOF
29471 /* confdefs.h. */
29472 _ACEOF
29473 cat confdefs.h >>conftest.$ac_ext
29474 cat >>conftest.$ac_ext <<_ACEOF
29475 /* end confdefs.h. */
29476
29477 /* Override any GCC internal prototype to avoid an error.
29478 Use char because int might match the return type of a GCC
29479 builtin and then its argument prototype would still apply. */
29480 #ifdef __cplusplus
29481 extern "C"
29482 #endif
29483 char gdk_im_open ();
29484 int
29485 main ()
29486 {
29487 return gdk_im_open ();
29488 ;
29489 return 0;
29490 }
29491 _ACEOF
29492 rm -f conftest.$ac_objext conftest$ac_exeext
29493 if { (ac_try="$ac_link"
29494 case "(($ac_try" in
29495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29496 *) ac_try_echo=$ac_try;;
29497 esac
29498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29499 (eval "$ac_link") 2>conftest.er1
29500 ac_status=$?
29501 grep -v '^ *+' conftest.er1 >conftest.err
29502 rm -f conftest.er1
29503 cat conftest.err >&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } && {
29506 test -z "$ac_c_werror_flag" ||
29507 test ! -s conftest.err
29508 } && test -s conftest$ac_exeext &&
29509 $as_test_x conftest$ac_exeext; then
29510 ac_cv_lib_gdk_gdk_im_open=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 ac_cv_lib_gdk_gdk_im_open=no
29516 fi
29517
29518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29519 conftest$ac_exeext conftest.$ac_ext
29520 LIBS=$ac_check_lib_save_LIBS
29521 fi
29522 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29523 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29524 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29525 cat >>confdefs.h <<\_ACEOF
29526 #define HAVE_XIM 1
29527 _ACEOF
29528
29529 fi
29530
29531
29532 if test "$USE_DARWIN" != 1; then
29533
29534 for ac_func in poll
29535 do
29536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 else
29542 cat >conftest.$ac_ext <<_ACEOF
29543 /* confdefs.h. */
29544 _ACEOF
29545 cat confdefs.h >>conftest.$ac_ext
29546 cat >>conftest.$ac_ext <<_ACEOF
29547 /* end confdefs.h. */
29548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29550 #define $ac_func innocuous_$ac_func
29551
29552 /* System header to define __stub macros and hopefully few prototypes,
29553 which can conflict with char $ac_func (); below.
29554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29555 <limits.h> exists even on freestanding compilers. */
29556
29557 #ifdef __STDC__
29558 # include <limits.h>
29559 #else
29560 # include <assert.h>
29561 #endif
29562
29563 #undef $ac_func
29564
29565 /* Override any GCC internal prototype to avoid an error.
29566 Use char because int might match the return type of a GCC
29567 builtin and then its argument prototype would still apply. */
29568 #ifdef __cplusplus
29569 extern "C"
29570 #endif
29571 char $ac_func ();
29572 /* The GNU C library defines this for functions which it implements
29573 to always fail with ENOSYS. Some functions are actually named
29574 something starting with __ and the normal name is an alias. */
29575 #if defined __stub_$ac_func || defined __stub___$ac_func
29576 choke me
29577 #endif
29578
29579 int
29580 main ()
29581 {
29582 return $ac_func ();
29583 ;
29584 return 0;
29585 }
29586 _ACEOF
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (ac_try="$ac_link"
29589 case "(($ac_try" in
29590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29591 *) ac_try_echo=$ac_try;;
29592 esac
29593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29594 (eval "$ac_link") 2>conftest.er1
29595 ac_status=$?
29596 grep -v '^ *+' conftest.er1 >conftest.err
29597 rm -f conftest.er1
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } && {
29601 test -z "$ac_c_werror_flag" ||
29602 test ! -s conftest.err
29603 } && test -s conftest$ac_exeext &&
29604 $as_test_x conftest$ac_exeext; then
29605 eval "$as_ac_var=yes"
29606 else
29607 echo "$as_me: failed program was:" >&5
29608 sed 's/^/| /' conftest.$ac_ext >&5
29609
29610 eval "$as_ac_var=no"
29611 fi
29612
29613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29614 conftest$ac_exeext conftest.$ac_ext
29615 fi
29616 ac_res=`eval echo '${'$as_ac_var'}'`
29617 { echo "$as_me:$LINENO: result: $ac_res" >&5
29618 echo "${ECHO_T}$ac_res" >&6; }
29619 if test `eval echo '${'$as_ac_var'}'` = yes; then
29620 cat >>confdefs.h <<_ACEOF
29621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29622 _ACEOF
29623
29624 fi
29625 done
29626
29627 fi
29628 fi
29629
29630 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29631 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29632
29633 AFMINSTALL=afminstall
29634 TOOLKIT=GTK
29635 GUIDIST=GTK_DIST
29636
29637 if test "$wxUSE_GPE" = "yes"; then
29638 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29639 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29640
29641 ac_find_libraries=
29642 for ac_dir in $SEARCH_LIB;
29643 do
29644 for ac_extension in a so sl dylib dll.a; do
29645 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29646 ac_find_libraries=$ac_dir
29647 break 2
29648 fi
29649 done
29650 done
29651
29652 if test "$ac_find_libraries" != "" ; then
29653
29654 if test "$ac_find_libraries" = "default location"; then
29655 ac_path_to_link=""
29656 else
29657 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29658 result=$?
29659 if test $result = 0; then
29660 ac_path_to_link=""
29661 else
29662 ac_path_to_link=" -L$ac_find_libraries"
29663 fi
29664 fi
29665
29666 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29667 WXGPE=1
29668 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29669 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29670 else
29671 { echo "$as_me:$LINENO: result: not found" >&5
29672 echo "${ECHO_T}not found" >&6; }
29673 fi
29674
29675 fi
29676 fi
29677
29678 if test "$wxUSE_MGL" = 1; then
29679 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29680 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29681 if test "x$MGL_ROOT" = x ; then
29682 { echo "$as_me:$LINENO: result: not found" >&5
29683 echo "${ECHO_T}not found" >&6; }
29684 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29685 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29686 { (exit 1); exit 1; }; }
29687 else
29688 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29689 echo "${ECHO_T}$MGL_ROOT" >&6; }
29690 fi
29691
29692 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29693 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29694 case "${host}" in
29695 *-*-linux* )
29696 if test "x$wxUSE_SHARED" = xyes ; then
29697 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29698 else
29699 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29700 fi
29701 ;;
29702 *-pc-msdosdjgpp )
29703 mgl_os_candidates="dos32/dj2"
29704 ;;
29705 *)
29706 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29707 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29708 { (exit 1); exit 1; }; }
29709 esac
29710
29711 mgl_lib_type=""
29712 mgl_os=""
29713
29714 for mgl_os_i in $mgl_os_candidates ; do
29715 if test "x$mgl_os" = x ; then
29716 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29717 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29718 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29719 mgl_lib_type=debug
29720 mgl_os=$mgl_os_i
29721 fi
29722 fi
29723 if test "x$mgl_lib_type" = x ; then
29724 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29725 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29726 mgl_lib_type=release
29727 mgl_os=$mgl_os_i
29728 fi
29729 fi
29730 fi
29731 done
29732
29733 if test "x$mgl_os" = x ; then
29734 { echo "$as_me:$LINENO: result: not found" >&5
29735 echo "${ECHO_T}not found" >&6; }
29736 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29737 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29738 { (exit 1); exit 1; }; }
29739 fi
29740 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29741 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29742
29743 wxUSE_UNIVERSAL="yes"
29744
29745 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29746 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29747
29748 AFMINSTALL=afminstall
29749 TOOLKIT=MGL
29750 GUIDIST=MGL_DIST
29751 fi
29752
29753 if test "$wxUSE_DFB" = 1; then
29754
29755
29756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29757 if test -n "$ac_tool_prefix"; then
29758 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 else
29765 case $PKG_CONFIG in
29766 [\\/]* | ?:[\\/]*)
29767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29768 ;;
29769 *)
29770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29771 for as_dir in $PATH
29772 do
29773 IFS=$as_save_IFS
29774 test -z "$as_dir" && as_dir=.
29775 for ac_exec_ext in '' $ac_executable_extensions; do
29776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29779 break 2
29780 fi
29781 done
29782 done
29783 IFS=$as_save_IFS
29784
29785 ;;
29786 esac
29787 fi
29788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29789 if test -n "$PKG_CONFIG"; then
29790 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29791 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29792 else
29793 { echo "$as_me:$LINENO: result: no" >&5
29794 echo "${ECHO_T}no" >&6; }
29795 fi
29796
29797
29798 fi
29799 if test -z "$ac_cv_path_PKG_CONFIG"; then
29800 ac_pt_PKG_CONFIG=$PKG_CONFIG
29801 # Extract the first word of "pkg-config", so it can be a program name with args.
29802 set dummy pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808 case $ac_pt_PKG_CONFIG in
29809 [\\/]* | ?:[\\/]*)
29810 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29811 ;;
29812 *)
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29815 do
29816 IFS=$as_save_IFS
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29822 break 2
29823 fi
29824 done
29825 done
29826 IFS=$as_save_IFS
29827
29828 ;;
29829 esac
29830 fi
29831 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29832 if test -n "$ac_pt_PKG_CONFIG"; then
29833 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29834 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29835 else
29836 { echo "$as_me:$LINENO: result: no" >&5
29837 echo "${ECHO_T}no" >&6; }
29838 fi
29839
29840 if test "x$ac_pt_PKG_CONFIG" = x; then
29841 PKG_CONFIG=""
29842 else
29843 case $cross_compiling:$ac_tool_warned in
29844 yes:)
29845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29846 whose name does not start with the host triplet. If you think this
29847 configuration is useful to you, please write to autoconf@gnu.org." >&5
29848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29849 whose name does not start with the host triplet. If you think this
29850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29851 ac_tool_warned=yes ;;
29852 esac
29853 PKG_CONFIG=$ac_pt_PKG_CONFIG
29854 fi
29855 else
29856 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29857 fi
29858
29859 fi
29860 if test -n "$PKG_CONFIG"; then
29861 _pkg_min_version=0.9.0
29862 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29863 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29864 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29865 { echo "$as_me:$LINENO: result: yes" >&5
29866 echo "${ECHO_T}yes" >&6; }
29867 else
29868 { echo "$as_me:$LINENO: result: no" >&5
29869 echo "${ECHO_T}no" >&6; }
29870 PKG_CONFIG=""
29871 fi
29872
29873 fi
29874
29875
29876 pkg_failed=no
29877 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29878 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29879
29880 if test -n "$PKG_CONFIG"; then
29881 if test -n "$DIRECTFB_CFLAGS"; then
29882 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29883 else
29884 if test -n "$PKG_CONFIG" && \
29885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29886 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; then
29890 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29891 else
29892 pkg_failed=yes
29893 fi
29894 fi
29895 else
29896 pkg_failed=untried
29897 fi
29898 if test -n "$PKG_CONFIG"; then
29899 if test -n "$DIRECTFB_LIBS"; then
29900 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29901 else
29902 if test -n "$PKG_CONFIG" && \
29903 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29904 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29905 ac_status=$?
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; then
29908 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29909 else
29910 pkg_failed=yes
29911 fi
29912 fi
29913 else
29914 pkg_failed=untried
29915 fi
29916
29917
29918
29919 if test $pkg_failed = yes; then
29920
29921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29922 _pkg_short_errors_supported=yes
29923 else
29924 _pkg_short_errors_supported=no
29925 fi
29926 if test $_pkg_short_errors_supported = yes; then
29927 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29928 else
29929 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29930 fi
29931 # Put the nasty error message in config.log where it belongs
29932 echo "$DIRECTFB_PKG_ERRORS" >&5
29933
29934
29935 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29936 echo "$as_me: error: DirectFB not found." >&2;}
29937 { (exit 1); exit 1; }; }
29938
29939
29940 elif test $pkg_failed = untried; then
29941
29942 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29943 echo "$as_me: error: DirectFB not found." >&2;}
29944 { (exit 1); exit 1; }; }
29945
29946
29947 else
29948 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29949 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29950 { echo "$as_me:$LINENO: result: yes" >&5
29951 echo "${ECHO_T}yes" >&6; }
29952
29953 wxUSE_UNIVERSAL="yes"
29954 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29955 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29956 TOOLKIT=DFB
29957 GUIDIST=DFB_DIST
29958
29959 fi
29960 fi
29961
29962 if test "$wxUSE_MICROWIN" = 1; then
29963 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29964 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29965 if test "x$MICROWINDOWS" = x ; then
29966 { echo "$as_me:$LINENO: result: not found" >&5
29967 echo "${ECHO_T}not found" >&6; }
29968 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29969 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29970 { (exit 1); exit 1; }; }
29971 else
29972 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29973 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29974 fi
29975
29976 if test -f $MICROWINDOWS/lib/libmwin.a; then
29977 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29978 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29979 else
29980 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29981 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29982 { (exit 1); exit 1; }; }
29983 fi
29984
29985 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29986 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29987
29988 wxUSE_UNIVERSAL="yes"
29989
29990 AFMINSTALL=afminstall
29991 TOOLKIT=MICROWIN
29992 GUIDIST=MICROWIN_DIST
29993
29994 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29995 fi
29996
29997 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29998 { echo "$as_me:$LINENO: checking for X" >&5
29999 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30000
30001
30002 # Check whether --with-x was given.
30003 if test "${with_x+set}" = set; then
30004 withval=$with_x;
30005 fi
30006
30007 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30008 if test "x$with_x" = xno; then
30009 # The user explicitly disabled X.
30010 have_x=disabled
30011 else
30012 case $x_includes,$x_libraries in #(
30013 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30014 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30015 { (exit 1); exit 1; }; };; #(
30016 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30018 else
30019 # One or both of the vars are not set, and there is no cached value.
30020 ac_x_includes=no ac_x_libraries=no
30021 rm -f -r conftest.dir
30022 if mkdir conftest.dir; then
30023 cd conftest.dir
30024 cat >Imakefile <<'_ACEOF'
30025 incroot:
30026 @echo incroot='${INCROOT}'
30027 usrlibdir:
30028 @echo usrlibdir='${USRLIBDIR}'
30029 libdir:
30030 @echo libdir='${LIBDIR}'
30031 _ACEOF
30032 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30033 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30034 for ac_var in incroot usrlibdir libdir; do
30035 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30036 done
30037 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30038 for ac_extension in a so sl; do
30039 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30040 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30041 ac_im_usrlibdir=$ac_im_libdir; break
30042 fi
30043 done
30044 # Screen out bogus values from the imake configuration. They are
30045 # bogus both because they are the default anyway, and because
30046 # using them would break gcc on systems where it needs fixed includes.
30047 case $ac_im_incroot in
30048 /usr/include) ac_x_includes= ;;
30049 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30050 esac
30051 case $ac_im_usrlibdir in
30052 /usr/lib | /lib) ;;
30053 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30054 esac
30055 fi
30056 cd ..
30057 rm -f -r conftest.dir
30058 fi
30059
30060 # Standard set of common directories for X headers.
30061 # Check X11 before X11Rn because it is often a symlink to the current release.
30062 ac_x_header_dirs='
30063 /usr/X11/include
30064 /usr/X11R6/include
30065 /usr/X11R5/include
30066 /usr/X11R4/include
30067
30068 /usr/include/X11
30069 /usr/include/X11R6
30070 /usr/include/X11R5
30071 /usr/include/X11R4
30072
30073 /usr/local/X11/include
30074 /usr/local/X11R6/include
30075 /usr/local/X11R5/include
30076 /usr/local/X11R4/include
30077
30078 /usr/local/include/X11
30079 /usr/local/include/X11R6
30080 /usr/local/include/X11R5
30081 /usr/local/include/X11R4
30082
30083 /usr/X386/include
30084 /usr/x386/include
30085 /usr/XFree86/include/X11
30086
30087 /usr/include
30088 /usr/local/include
30089 /usr/unsupported/include
30090 /usr/athena/include
30091 /usr/local/x11r5/include
30092 /usr/lpp/Xamples/include
30093
30094 /usr/openwin/include
30095 /usr/openwin/share/include'
30096
30097 if test "$ac_x_includes" = no; then
30098 # Guess where to find include files, by looking for Xlib.h.
30099 # First, try using that file with no special directory specified.
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 #include <X11/Xlib.h>
30107 _ACEOF
30108 if { (ac_try="$ac_cpp conftest.$ac_ext"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30112 esac
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30115 ac_status=$?
30116 grep -v '^ *+' conftest.er1 >conftest.err
30117 rm -f conftest.er1
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } >/dev/null && {
30121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30122 test ! -s conftest.err
30123 }; then
30124 # We can compile using X headers with no special include directory.
30125 ac_x_includes=
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30129
30130 for ac_dir in $ac_x_header_dirs; do
30131 if test -r "$ac_dir/X11/Xlib.h"; then
30132 ac_x_includes=$ac_dir
30133 break
30134 fi
30135 done
30136 fi
30137
30138 rm -f conftest.err conftest.$ac_ext
30139 fi # $ac_x_includes = no
30140
30141 if test "$ac_x_libraries" = no; then
30142 # Check for the libraries.
30143 # See if we find them without any special options.
30144 # Don't add to $LIBS permanently.
30145 ac_save_LIBS=$LIBS
30146 LIBS="-lX11 $LIBS"
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30154 int
30155 main ()
30156 {
30157 XrmInitialize ()
30158 ;
30159 return 0;
30160 }
30161 _ACEOF
30162 rm -f conftest.$ac_objext conftest$ac_exeext
30163 if { (ac_try="$ac_link"
30164 case "(($ac_try" in
30165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30166 *) ac_try_echo=$ac_try;;
30167 esac
30168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30169 (eval "$ac_link") 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } && {
30176 test -z "$ac_c_werror_flag" ||
30177 test ! -s conftest.err
30178 } && test -s conftest$ac_exeext &&
30179 $as_test_x conftest$ac_exeext; then
30180 LIBS=$ac_save_LIBS
30181 # We can link X programs with no special library path.
30182 ac_x_libraries=
30183 else
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30186
30187 LIBS=$ac_save_LIBS
30188 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30189 do
30190 # Don't even attempt the hair of trying to link an X program!
30191 for ac_extension in a so sl; do
30192 if test -r "$ac_dir/libX11.$ac_extension"; then
30193 ac_x_libraries=$ac_dir
30194 break 2
30195 fi
30196 done
30197 done
30198 fi
30199
30200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30201 conftest$ac_exeext conftest.$ac_ext
30202 fi # $ac_x_libraries = no
30203
30204 case $ac_x_includes,$ac_x_libraries in #(
30205 no,* | *,no | *\'*)
30206 # Didn't find X, or a directory has "'" in its name.
30207 ac_cv_have_x="have_x=no";; #(
30208 *)
30209 # Record where we found X for the cache.
30210 ac_cv_have_x="have_x=yes\
30211 ac_x_includes='$ac_x_includes'\
30212 ac_x_libraries='$ac_x_libraries'"
30213 esac
30214 fi
30215 ;; #(
30216 *) have_x=yes;;
30217 esac
30218 eval "$ac_cv_have_x"
30219 fi # $with_x != no
30220
30221 if test "$have_x" != yes; then
30222 { echo "$as_me:$LINENO: result: $have_x" >&5
30223 echo "${ECHO_T}$have_x" >&6; }
30224 no_x=yes
30225 else
30226 # If each of the values was on the command line, it overrides each guess.
30227 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30228 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30229 # Update the cache value to reflect the command line values.
30230 ac_cv_have_x="have_x=yes\
30231 ac_x_includes='$x_includes'\
30232 ac_x_libraries='$x_libraries'"
30233 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30234 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30235 fi
30236
30237 if test "$no_x" = yes; then
30238 # Not all programs may use this symbol, but it does not hurt to define it.
30239
30240 cat >>confdefs.h <<\_ACEOF
30241 #define X_DISPLAY_MISSING 1
30242 _ACEOF
30243
30244 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30245 else
30246 if test -n "$x_includes"; then
30247 X_CFLAGS="$X_CFLAGS -I$x_includes"
30248 fi
30249
30250 # It would also be nice to do this for all -L options, not just this one.
30251 if test -n "$x_libraries"; then
30252 X_LIBS="$X_LIBS -L$x_libraries"
30253 # For Solaris; some versions of Sun CC require a space after -R and
30254 # others require no space. Words are not sufficient . . . .
30255 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30256 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30257 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30258 ac_xsave_c_werror_flag=$ac_c_werror_flag
30259 ac_c_werror_flag=yes
30260 cat >conftest.$ac_ext <<_ACEOF
30261 /* confdefs.h. */
30262 _ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30266
30267 int
30268 main ()
30269 {
30270
30271 ;
30272 return 0;
30273 }
30274 _ACEOF
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (ac_try="$ac_link"
30277 case "(($ac_try" in
30278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30279 *) ac_try_echo=$ac_try;;
30280 esac
30281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30282 (eval "$ac_link") 2>conftest.er1
30283 ac_status=$?
30284 grep -v '^ *+' conftest.er1 >conftest.err
30285 rm -f conftest.er1
30286 cat conftest.err >&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } && {
30289 test -z "$ac_c_werror_flag" ||
30290 test ! -s conftest.err
30291 } && test -s conftest$ac_exeext &&
30292 $as_test_x conftest$ac_exeext; then
30293 { echo "$as_me:$LINENO: result: no" >&5
30294 echo "${ECHO_T}no" >&6; }
30295 X_LIBS="$X_LIBS -R$x_libraries"
30296 else
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.$ac_ext >&5
30299
30300 LIBS="$ac_xsave_LIBS -R $x_libraries"
30301 cat >conftest.$ac_ext <<_ACEOF
30302 /* confdefs.h. */
30303 _ACEOF
30304 cat confdefs.h >>conftest.$ac_ext
30305 cat >>conftest.$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30307
30308 int
30309 main ()
30310 {
30311
30312 ;
30313 return 0;
30314 }
30315 _ACEOF
30316 rm -f conftest.$ac_objext conftest$ac_exeext
30317 if { (ac_try="$ac_link"
30318 case "(($ac_try" in
30319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30320 *) ac_try_echo=$ac_try;;
30321 esac
30322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30323 (eval "$ac_link") 2>conftest.er1
30324 ac_status=$?
30325 grep -v '^ *+' conftest.er1 >conftest.err
30326 rm -f conftest.er1
30327 cat conftest.err >&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); } && {
30330 test -z "$ac_c_werror_flag" ||
30331 test ! -s conftest.err
30332 } && test -s conftest$ac_exeext &&
30333 $as_test_x conftest$ac_exeext; then
30334 { echo "$as_me:$LINENO: result: yes" >&5
30335 echo "${ECHO_T}yes" >&6; }
30336 X_LIBS="$X_LIBS -R $x_libraries"
30337 else
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341 { echo "$as_me:$LINENO: result: neither works" >&5
30342 echo "${ECHO_T}neither works" >&6; }
30343 fi
30344
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30347 fi
30348
30349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30350 conftest$ac_exeext conftest.$ac_ext
30351 ac_c_werror_flag=$ac_xsave_c_werror_flag
30352 LIBS=$ac_xsave_LIBS
30353 fi
30354
30355 # Check for system-dependent libraries X programs must link with.
30356 # Do this before checking for the system-independent R6 libraries
30357 # (-lICE), since we may need -lsocket or whatever for X linking.
30358
30359 if test "$ISC" = yes; then
30360 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30361 else
30362 # Martyn Johnson says this is needed for Ultrix, if the X
30363 # libraries were built with DECnet support. And Karl Berry says
30364 # the Alpha needs dnet_stub (dnet does not exist).
30365 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30366 cat >conftest.$ac_ext <<_ACEOF
30367 /* confdefs.h. */
30368 _ACEOF
30369 cat confdefs.h >>conftest.$ac_ext
30370 cat >>conftest.$ac_ext <<_ACEOF
30371 /* end confdefs.h. */
30372
30373 /* Override any GCC internal prototype to avoid an error.
30374 Use char because int might match the return type of a GCC
30375 builtin and then its argument prototype would still apply. */
30376 #ifdef __cplusplus
30377 extern "C"
30378 #endif
30379 char XOpenDisplay ();
30380 int
30381 main ()
30382 {
30383 return XOpenDisplay ();
30384 ;
30385 return 0;
30386 }
30387 _ACEOF
30388 rm -f conftest.$ac_objext conftest$ac_exeext
30389 if { (ac_try="$ac_link"
30390 case "(($ac_try" in
30391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30392 *) ac_try_echo=$ac_try;;
30393 esac
30394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30395 (eval "$ac_link") 2>conftest.er1
30396 ac_status=$?
30397 grep -v '^ *+' conftest.er1 >conftest.err
30398 rm -f conftest.er1
30399 cat conftest.err >&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } && {
30402 test -z "$ac_c_werror_flag" ||
30403 test ! -s conftest.err
30404 } && test -s conftest$ac_exeext &&
30405 $as_test_x conftest$ac_exeext; then
30406 :
30407 else
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.$ac_ext >&5
30410
30411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30412 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30413 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 else
30416 ac_check_lib_save_LIBS=$LIBS
30417 LIBS="-ldnet $LIBS"
30418 cat >conftest.$ac_ext <<_ACEOF
30419 /* confdefs.h. */
30420 _ACEOF
30421 cat confdefs.h >>conftest.$ac_ext
30422 cat >>conftest.$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424
30425 /* Override any GCC internal prototype to avoid an error.
30426 Use char because int might match the return type of a GCC
30427 builtin and then its argument prototype would still apply. */
30428 #ifdef __cplusplus
30429 extern "C"
30430 #endif
30431 char dnet_ntoa ();
30432 int
30433 main ()
30434 {
30435 return dnet_ntoa ();
30436 ;
30437 return 0;
30438 }
30439 _ACEOF
30440 rm -f conftest.$ac_objext conftest$ac_exeext
30441 if { (ac_try="$ac_link"
30442 case "(($ac_try" in
30443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30444 *) ac_try_echo=$ac_try;;
30445 esac
30446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 (eval "$ac_link") 2>conftest.er1
30448 ac_status=$?
30449 grep -v '^ *+' conftest.er1 >conftest.err
30450 rm -f conftest.er1
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && {
30454 test -z "$ac_c_werror_flag" ||
30455 test ! -s conftest.err
30456 } && test -s conftest$ac_exeext &&
30457 $as_test_x conftest$ac_exeext; then
30458 ac_cv_lib_dnet_dnet_ntoa=yes
30459 else
30460 echo "$as_me: failed program was:" >&5
30461 sed 's/^/| /' conftest.$ac_ext >&5
30462
30463 ac_cv_lib_dnet_dnet_ntoa=no
30464 fi
30465
30466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30467 conftest$ac_exeext conftest.$ac_ext
30468 LIBS=$ac_check_lib_save_LIBS
30469 fi
30470 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30471 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30472 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30473 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30474 fi
30475
30476 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30477 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30478 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30479 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482 ac_check_lib_save_LIBS=$LIBS
30483 LIBS="-ldnet_stub $LIBS"
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h. */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30490
30491 /* Override any GCC internal prototype to avoid an error.
30492 Use char because int might match the return type of a GCC
30493 builtin and then its argument prototype would still apply. */
30494 #ifdef __cplusplus
30495 extern "C"
30496 #endif
30497 char dnet_ntoa ();
30498 int
30499 main ()
30500 {
30501 return dnet_ntoa ();
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (ac_try="$ac_link"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30510 *) ac_try_echo=$ac_try;;
30511 esac
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_link") 2>conftest.er1
30514 ac_status=$?
30515 grep -v '^ *+' conftest.er1 >conftest.err
30516 rm -f conftest.er1
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest$ac_exeext &&
30523 $as_test_x conftest$ac_exeext; then
30524 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30525 else
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.$ac_ext >&5
30528
30529 ac_cv_lib_dnet_stub_dnet_ntoa=no
30530 fi
30531
30532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30533 conftest$ac_exeext conftest.$ac_ext
30534 LIBS=$ac_check_lib_save_LIBS
30535 fi
30536 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30537 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30538 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30539 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30540 fi
30541
30542 fi
30543 fi
30544
30545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30546 conftest$ac_exeext conftest.$ac_ext
30547 LIBS="$ac_xsave_LIBS"
30548
30549 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30550 # to get the SysV transport functions.
30551 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30552 # needs -lnsl.
30553 # The nsl library prevents programs from opening the X display
30554 # on Irix 5.2, according to T.E. Dickey.
30555 # The functions gethostbyname, getservbyname, and inet_addr are
30556 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30557 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30558 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30559 if test "${ac_cv_func_gethostbyname+set}" = set; then
30560 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 else
30562 cat >conftest.$ac_ext <<_ACEOF
30563 /* confdefs.h. */
30564 _ACEOF
30565 cat confdefs.h >>conftest.$ac_ext
30566 cat >>conftest.$ac_ext <<_ACEOF
30567 /* end confdefs.h. */
30568 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30570 #define gethostbyname innocuous_gethostbyname
30571
30572 /* System header to define __stub macros and hopefully few prototypes,
30573 which can conflict with char gethostbyname (); below.
30574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30575 <limits.h> exists even on freestanding compilers. */
30576
30577 #ifdef __STDC__
30578 # include <limits.h>
30579 #else
30580 # include <assert.h>
30581 #endif
30582
30583 #undef gethostbyname
30584
30585 /* Override any GCC internal prototype to avoid an error.
30586 Use char because int might match the return type of a GCC
30587 builtin and then its argument prototype would still apply. */
30588 #ifdef __cplusplus
30589 extern "C"
30590 #endif
30591 char gethostbyname ();
30592 /* The GNU C library defines this for functions which it implements
30593 to always fail with ENOSYS. Some functions are actually named
30594 something starting with __ and the normal name is an alias. */
30595 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30596 choke me
30597 #endif
30598
30599 int
30600 main ()
30601 {
30602 return gethostbyname ();
30603 ;
30604 return 0;
30605 }
30606 _ACEOF
30607 rm -f conftest.$ac_objext conftest$ac_exeext
30608 if { (ac_try="$ac_link"
30609 case "(($ac_try" in
30610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30611 *) ac_try_echo=$ac_try;;
30612 esac
30613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30614 (eval "$ac_link") 2>conftest.er1
30615 ac_status=$?
30616 grep -v '^ *+' conftest.er1 >conftest.err
30617 rm -f conftest.er1
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } && {
30621 test -z "$ac_c_werror_flag" ||
30622 test ! -s conftest.err
30623 } && test -s conftest$ac_exeext &&
30624 $as_test_x conftest$ac_exeext; then
30625 ac_cv_func_gethostbyname=yes
30626 else
30627 echo "$as_me: failed program was:" >&5
30628 sed 's/^/| /' conftest.$ac_ext >&5
30629
30630 ac_cv_func_gethostbyname=no
30631 fi
30632
30633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30634 conftest$ac_exeext conftest.$ac_ext
30635 fi
30636 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30637 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30638
30639 if test $ac_cv_func_gethostbyname = no; then
30640 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30641 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30642 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 else
30645 ac_check_lib_save_LIBS=$LIBS
30646 LIBS="-lnsl $LIBS"
30647 cat >conftest.$ac_ext <<_ACEOF
30648 /* confdefs.h. */
30649 _ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30653
30654 /* Override any GCC internal prototype to avoid an error.
30655 Use char because int might match the return type of a GCC
30656 builtin and then its argument prototype would still apply. */
30657 #ifdef __cplusplus
30658 extern "C"
30659 #endif
30660 char gethostbyname ();
30661 int
30662 main ()
30663 {
30664 return gethostbyname ();
30665 ;
30666 return 0;
30667 }
30668 _ACEOF
30669 rm -f conftest.$ac_objext conftest$ac_exeext
30670 if { (ac_try="$ac_link"
30671 case "(($ac_try" in
30672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30673 *) ac_try_echo=$ac_try;;
30674 esac
30675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30676 (eval "$ac_link") 2>conftest.er1
30677 ac_status=$?
30678 grep -v '^ *+' conftest.er1 >conftest.err
30679 rm -f conftest.er1
30680 cat conftest.err >&5
30681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682 (exit $ac_status); } && {
30683 test -z "$ac_c_werror_flag" ||
30684 test ! -s conftest.err
30685 } && test -s conftest$ac_exeext &&
30686 $as_test_x conftest$ac_exeext; then
30687 ac_cv_lib_nsl_gethostbyname=yes
30688 else
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30691
30692 ac_cv_lib_nsl_gethostbyname=no
30693 fi
30694
30695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30696 conftest$ac_exeext conftest.$ac_ext
30697 LIBS=$ac_check_lib_save_LIBS
30698 fi
30699 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30700 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30701 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30702 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30703 fi
30704
30705 if test $ac_cv_lib_nsl_gethostbyname = no; then
30706 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30707 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30708 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 else
30711 ac_check_lib_save_LIBS=$LIBS
30712 LIBS="-lbsd $LIBS"
30713 cat >conftest.$ac_ext <<_ACEOF
30714 /* confdefs.h. */
30715 _ACEOF
30716 cat confdefs.h >>conftest.$ac_ext
30717 cat >>conftest.$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719
30720 /* Override any GCC internal prototype to avoid an error.
30721 Use char because int might match the return type of a GCC
30722 builtin and then its argument prototype would still apply. */
30723 #ifdef __cplusplus
30724 extern "C"
30725 #endif
30726 char gethostbyname ();
30727 int
30728 main ()
30729 {
30730 return gethostbyname ();
30731 ;
30732 return 0;
30733 }
30734 _ACEOF
30735 rm -f conftest.$ac_objext conftest$ac_exeext
30736 if { (ac_try="$ac_link"
30737 case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30740 esac
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_link") 2>conftest.er1
30743 ac_status=$?
30744 grep -v '^ *+' conftest.er1 >conftest.err
30745 rm -f conftest.er1
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest$ac_exeext &&
30752 $as_test_x conftest$ac_exeext; then
30753 ac_cv_lib_bsd_gethostbyname=yes
30754 else
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.$ac_ext >&5
30757
30758 ac_cv_lib_bsd_gethostbyname=no
30759 fi
30760
30761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30762 conftest$ac_exeext conftest.$ac_ext
30763 LIBS=$ac_check_lib_save_LIBS
30764 fi
30765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30769 fi
30770
30771 fi
30772 fi
30773
30774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30775 # socket/setsockopt and other routines are undefined under SCO ODT
30776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30777 # on later versions), says Simon Leinen: it contains gethostby*
30778 # variants that don't use the name server (or something). -lsocket
30779 # must be given before -lnsl if both are needed. We assume that
30780 # if connect needs -lnsl, so does gethostbyname.
30781 { echo "$as_me:$LINENO: checking for connect" >&5
30782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30783 if test "${ac_cv_func_connect+set}" = set; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 else
30786 cat >conftest.$ac_ext <<_ACEOF
30787 /* confdefs.h. */
30788 _ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30794 #define connect innocuous_connect
30795
30796 /* System header to define __stub macros and hopefully few prototypes,
30797 which can conflict with char connect (); below.
30798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30799 <limits.h> exists even on freestanding compilers. */
30800
30801 #ifdef __STDC__
30802 # include <limits.h>
30803 #else
30804 # include <assert.h>
30805 #endif
30806
30807 #undef connect
30808
30809 /* Override any GCC internal prototype to avoid an error.
30810 Use char because int might match the return type of a GCC
30811 builtin and then its argument prototype would still apply. */
30812 #ifdef __cplusplus
30813 extern "C"
30814 #endif
30815 char connect ();
30816 /* The GNU C library defines this for functions which it implements
30817 to always fail with ENOSYS. Some functions are actually named
30818 something starting with __ and the normal name is an alias. */
30819 #if defined __stub_connect || defined __stub___connect
30820 choke me
30821 #endif
30822
30823 int
30824 main ()
30825 {
30826 return connect ();
30827 ;
30828 return 0;
30829 }
30830 _ACEOF
30831 rm -f conftest.$ac_objext conftest$ac_exeext
30832 if { (ac_try="$ac_link"
30833 case "(($ac_try" in
30834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30835 *) ac_try_echo=$ac_try;;
30836 esac
30837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_link") 2>conftest.er1
30839 ac_status=$?
30840 grep -v '^ *+' conftest.er1 >conftest.err
30841 rm -f conftest.er1
30842 cat conftest.err >&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } && {
30845 test -z "$ac_c_werror_flag" ||
30846 test ! -s conftest.err
30847 } && test -s conftest$ac_exeext &&
30848 $as_test_x conftest$ac_exeext; then
30849 ac_cv_func_connect=yes
30850 else
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30853
30854 ac_cv_func_connect=no
30855 fi
30856
30857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30858 conftest$ac_exeext conftest.$ac_ext
30859 fi
30860 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30861 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30862
30863 if test $ac_cv_func_connect = no; then
30864 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30865 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30866 if test "${ac_cv_lib_socket_connect+set}" = set; then
30867 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 else
30869 ac_check_lib_save_LIBS=$LIBS
30870 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30871 cat >conftest.$ac_ext <<_ACEOF
30872 /* confdefs.h. */
30873 _ACEOF
30874 cat confdefs.h >>conftest.$ac_ext
30875 cat >>conftest.$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30877
30878 /* Override any GCC internal prototype to avoid an error.
30879 Use char because int might match the return type of a GCC
30880 builtin and then its argument prototype would still apply. */
30881 #ifdef __cplusplus
30882 extern "C"
30883 #endif
30884 char connect ();
30885 int
30886 main ()
30887 {
30888 return connect ();
30889 ;
30890 return 0;
30891 }
30892 _ACEOF
30893 rm -f conftest.$ac_objext conftest$ac_exeext
30894 if { (ac_try="$ac_link"
30895 case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30898 esac
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_link") 2>conftest.er1
30901 ac_status=$?
30902 grep -v '^ *+' conftest.er1 >conftest.err
30903 rm -f conftest.er1
30904 cat conftest.err >&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } && {
30907 test -z "$ac_c_werror_flag" ||
30908 test ! -s conftest.err
30909 } && test -s conftest$ac_exeext &&
30910 $as_test_x conftest$ac_exeext; then
30911 ac_cv_lib_socket_connect=yes
30912 else
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916 ac_cv_lib_socket_connect=no
30917 fi
30918
30919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30920 conftest$ac_exeext conftest.$ac_ext
30921 LIBS=$ac_check_lib_save_LIBS
30922 fi
30923 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30924 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30925 if test $ac_cv_lib_socket_connect = yes; then
30926 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30927 fi
30928
30929 fi
30930
30931 # Guillermo Gomez says -lposix is necessary on A/UX.
30932 { echo "$as_me:$LINENO: checking for remove" >&5
30933 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30934 if test "${ac_cv_func_remove+set}" = set; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 else
30937 cat >conftest.$ac_ext <<_ACEOF
30938 /* confdefs.h. */
30939 _ACEOF
30940 cat confdefs.h >>conftest.$ac_ext
30941 cat >>conftest.$ac_ext <<_ACEOF
30942 /* end confdefs.h. */
30943 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30945 #define remove innocuous_remove
30946
30947 /* System header to define __stub macros and hopefully few prototypes,
30948 which can conflict with char remove (); below.
30949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30950 <limits.h> exists even on freestanding compilers. */
30951
30952 #ifdef __STDC__
30953 # include <limits.h>
30954 #else
30955 # include <assert.h>
30956 #endif
30957
30958 #undef remove
30959
30960 /* Override any GCC internal prototype to avoid an error.
30961 Use char because int might match the return type of a GCC
30962 builtin and then its argument prototype would still apply. */
30963 #ifdef __cplusplus
30964 extern "C"
30965 #endif
30966 char remove ();
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined __stub_remove || defined __stub___remove
30971 choke me
30972 #endif
30973
30974 int
30975 main ()
30976 {
30977 return remove ();
30978 ;
30979 return 0;
30980 }
30981 _ACEOF
30982 rm -f conftest.$ac_objext conftest$ac_exeext
30983 if { (ac_try="$ac_link"
30984 case "(($ac_try" in
30985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30986 *) ac_try_echo=$ac_try;;
30987 esac
30988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30989 (eval "$ac_link") 2>conftest.er1
30990 ac_status=$?
30991 grep -v '^ *+' conftest.er1 >conftest.err
30992 rm -f conftest.er1
30993 cat conftest.err >&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } && {
30996 test -z "$ac_c_werror_flag" ||
30997 test ! -s conftest.err
30998 } && test -s conftest$ac_exeext &&
30999 $as_test_x conftest$ac_exeext; then
31000 ac_cv_func_remove=yes
31001 else
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31004
31005 ac_cv_func_remove=no
31006 fi
31007
31008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31009 conftest$ac_exeext conftest.$ac_ext
31010 fi
31011 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31012 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31013
31014 if test $ac_cv_func_remove = no; then
31015 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31016 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31017 if test "${ac_cv_lib_posix_remove+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31020 ac_check_lib_save_LIBS=$LIBS
31021 LIBS="-lposix $LIBS"
31022 cat >conftest.$ac_ext <<_ACEOF
31023 /* confdefs.h. */
31024 _ACEOF
31025 cat confdefs.h >>conftest.$ac_ext
31026 cat >>conftest.$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31028
31029 /* Override any GCC internal prototype to avoid an error.
31030 Use char because int might match the return type of a GCC
31031 builtin and then its argument prototype would still apply. */
31032 #ifdef __cplusplus
31033 extern "C"
31034 #endif
31035 char remove ();
31036 int
31037 main ()
31038 {
31039 return remove ();
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 rm -f conftest.$ac_objext conftest$ac_exeext
31045 if { (ac_try="$ac_link"
31046 case "(($ac_try" in
31047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31048 *) ac_try_echo=$ac_try;;
31049 esac
31050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31051 (eval "$ac_link") 2>conftest.er1
31052 ac_status=$?
31053 grep -v '^ *+' conftest.er1 >conftest.err
31054 rm -f conftest.er1
31055 cat conftest.err >&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } && {
31058 test -z "$ac_c_werror_flag" ||
31059 test ! -s conftest.err
31060 } && test -s conftest$ac_exeext &&
31061 $as_test_x conftest$ac_exeext; then
31062 ac_cv_lib_posix_remove=yes
31063 else
31064 echo "$as_me: failed program was:" >&5
31065 sed 's/^/| /' conftest.$ac_ext >&5
31066
31067 ac_cv_lib_posix_remove=no
31068 fi
31069
31070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31071 conftest$ac_exeext conftest.$ac_ext
31072 LIBS=$ac_check_lib_save_LIBS
31073 fi
31074 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31075 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31076 if test $ac_cv_lib_posix_remove = yes; then
31077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31078 fi
31079
31080 fi
31081
31082 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31083 { echo "$as_me:$LINENO: checking for shmat" >&5
31084 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31085 if test "${ac_cv_func_shmat+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 else
31088 cat >conftest.$ac_ext <<_ACEOF
31089 /* confdefs.h. */
31090 _ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31096 #define shmat innocuous_shmat
31097
31098 /* System header to define __stub macros and hopefully few prototypes,
31099 which can conflict with char shmat (); below.
31100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31101 <limits.h> exists even on freestanding compilers. */
31102
31103 #ifdef __STDC__
31104 # include <limits.h>
31105 #else
31106 # include <assert.h>
31107 #endif
31108
31109 #undef shmat
31110
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 char shmat ();
31118 /* The GNU C library defines this for functions which it implements
31119 to always fail with ENOSYS. Some functions are actually named
31120 something starting with __ and the normal name is an alias. */
31121 #if defined __stub_shmat || defined __stub___shmat
31122 choke me
31123 #endif
31124
31125 int
31126 main ()
31127 {
31128 return shmat ();
31129 ;
31130 return 0;
31131 }
31132 _ACEOF
31133 rm -f conftest.$ac_objext conftest$ac_exeext
31134 if { (ac_try="$ac_link"
31135 case "(($ac_try" in
31136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31137 *) ac_try_echo=$ac_try;;
31138 esac
31139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31140 (eval "$ac_link") 2>conftest.er1
31141 ac_status=$?
31142 grep -v '^ *+' conftest.er1 >conftest.err
31143 rm -f conftest.er1
31144 cat conftest.err >&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } && {
31147 test -z "$ac_c_werror_flag" ||
31148 test ! -s conftest.err
31149 } && test -s conftest$ac_exeext &&
31150 $as_test_x conftest$ac_exeext; then
31151 ac_cv_func_shmat=yes
31152 else
31153 echo "$as_me: failed program was:" >&5
31154 sed 's/^/| /' conftest.$ac_ext >&5
31155
31156 ac_cv_func_shmat=no
31157 fi
31158
31159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31160 conftest$ac_exeext conftest.$ac_ext
31161 fi
31162 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31163 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31164
31165 if test $ac_cv_func_shmat = no; then
31166 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31167 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31168 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31169 echo $ECHO_N "(cached) $ECHO_C" >&6
31170 else
31171 ac_check_lib_save_LIBS=$LIBS
31172 LIBS="-lipc $LIBS"
31173 cat >conftest.$ac_ext <<_ACEOF
31174 /* confdefs.h. */
31175 _ACEOF
31176 cat confdefs.h >>conftest.$ac_ext
31177 cat >>conftest.$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31179
31180 /* Override any GCC internal prototype to avoid an error.
31181 Use char because int might match the return type of a GCC
31182 builtin and then its argument prototype would still apply. */
31183 #ifdef __cplusplus
31184 extern "C"
31185 #endif
31186 char shmat ();
31187 int
31188 main ()
31189 {
31190 return shmat ();
31191 ;
31192 return 0;
31193 }
31194 _ACEOF
31195 rm -f conftest.$ac_objext conftest$ac_exeext
31196 if { (ac_try="$ac_link"
31197 case "(($ac_try" in
31198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31199 *) ac_try_echo=$ac_try;;
31200 esac
31201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31202 (eval "$ac_link") 2>conftest.er1
31203 ac_status=$?
31204 grep -v '^ *+' conftest.er1 >conftest.err
31205 rm -f conftest.er1
31206 cat conftest.err >&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); } && {
31209 test -z "$ac_c_werror_flag" ||
31210 test ! -s conftest.err
31211 } && test -s conftest$ac_exeext &&
31212 $as_test_x conftest$ac_exeext; then
31213 ac_cv_lib_ipc_shmat=yes
31214 else
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31217
31218 ac_cv_lib_ipc_shmat=no
31219 fi
31220
31221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31222 conftest$ac_exeext conftest.$ac_ext
31223 LIBS=$ac_check_lib_save_LIBS
31224 fi
31225 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31226 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31227 if test $ac_cv_lib_ipc_shmat = yes; then
31228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31229 fi
31230
31231 fi
31232 fi
31233
31234 # Check for libraries that X11R6 Xt/Xaw programs need.
31235 ac_save_LDFLAGS=$LDFLAGS
31236 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31238 # check for ICE first), but we must link in the order -lSM -lICE or
31239 # we get undefined symbols. So assume we have SM if we have ICE.
31240 # These have to be linked with before -lX11, unlike the other
31241 # libraries we check for below, so use a different variable.
31242 # John Interrante, Karl Berry
31243 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31244 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31245 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 else
31248 ac_check_lib_save_LIBS=$LIBS
31249 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256
31257 /* Override any GCC internal prototype to avoid an error.
31258 Use char because int might match the return type of a GCC
31259 builtin and then its argument prototype would still apply. */
31260 #ifdef __cplusplus
31261 extern "C"
31262 #endif
31263 char IceConnectionNumber ();
31264 int
31265 main ()
31266 {
31267 return IceConnectionNumber ();
31268 ;
31269 return 0;
31270 }
31271 _ACEOF
31272 rm -f conftest.$ac_objext conftest$ac_exeext
31273 if { (ac_try="$ac_link"
31274 case "(($ac_try" in
31275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31276 *) ac_try_echo=$ac_try;;
31277 esac
31278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31279 (eval "$ac_link") 2>conftest.er1
31280 ac_status=$?
31281 grep -v '^ *+' conftest.er1 >conftest.err
31282 rm -f conftest.er1
31283 cat conftest.err >&5
31284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31285 (exit $ac_status); } && {
31286 test -z "$ac_c_werror_flag" ||
31287 test ! -s conftest.err
31288 } && test -s conftest$ac_exeext &&
31289 $as_test_x conftest$ac_exeext; then
31290 ac_cv_lib_ICE_IceConnectionNumber=yes
31291 else
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31294
31295 ac_cv_lib_ICE_IceConnectionNumber=no
31296 fi
31297
31298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31299 conftest$ac_exeext conftest.$ac_ext
31300 LIBS=$ac_check_lib_save_LIBS
31301 fi
31302 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31303 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31304 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31305 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31306 fi
31307
31308 LDFLAGS=$ac_save_LDFLAGS
31309
31310 fi
31311
31312
31313 if test "$no_x" = "yes"; then
31314 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31315 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31316 { (exit 1); exit 1; }; }
31317 fi
31318
31319 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31320 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31321 AFMINSTALL=afminstall
31322 COMPILED_X_PROGRAM=0
31323
31324 fi
31325
31326 if test "$wxUSE_X11" = 1; then
31327 if test "$wxUSE_NANOX" = "yes"; then
31328 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31329 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31330 if test "x$MICROWIN" = x ; then
31331 { echo "$as_me:$LINENO: result: not found" >&5
31332 echo "${ECHO_T}not found" >&6; }
31333 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31334 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31335 { (exit 1); exit 1; }; }
31336 else
31337 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31338 echo "${ECHO_T}$MICROWIN" >&6; }
31339 cat >>confdefs.h <<\_ACEOF
31340 #define wxUSE_NANOX 1
31341 _ACEOF
31342
31343 fi
31344 fi
31345
31346 if test "$wxUSE_UNICODE" = "yes"; then
31347
31348
31349 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31350 if test -n "$ac_tool_prefix"; then
31351 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31352 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31355 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31358 case $PKG_CONFIG in
31359 [\\/]* | ?:[\\/]*)
31360 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31361 ;;
31362 *)
31363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31364 for as_dir in $PATH
31365 do
31366 IFS=$as_save_IFS
31367 test -z "$as_dir" && as_dir=.
31368 for ac_exec_ext in '' $ac_executable_extensions; do
31369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31370 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31372 break 2
31373 fi
31374 done
31375 done
31376 IFS=$as_save_IFS
31377
31378 ;;
31379 esac
31380 fi
31381 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31382 if test -n "$PKG_CONFIG"; then
31383 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31384 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31385 else
31386 { echo "$as_me:$LINENO: result: no" >&5
31387 echo "${ECHO_T}no" >&6; }
31388 fi
31389
31390
31391 fi
31392 if test -z "$ac_cv_path_PKG_CONFIG"; then
31393 ac_pt_PKG_CONFIG=$PKG_CONFIG
31394 # Extract the first word of "pkg-config", so it can be a program name with args.
31395 set dummy pkg-config; ac_word=$2
31396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31398 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 else
31401 case $ac_pt_PKG_CONFIG in
31402 [\\/]* | ?:[\\/]*)
31403 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31404 ;;
31405 *)
31406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31407 for as_dir in $PATH
31408 do
31409 IFS=$as_save_IFS
31410 test -z "$as_dir" && as_dir=.
31411 for ac_exec_ext in '' $ac_executable_extensions; do
31412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31413 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31415 break 2
31416 fi
31417 done
31418 done
31419 IFS=$as_save_IFS
31420
31421 ;;
31422 esac
31423 fi
31424 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31425 if test -n "$ac_pt_PKG_CONFIG"; then
31426 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31427 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31428 else
31429 { echo "$as_me:$LINENO: result: no" >&5
31430 echo "${ECHO_T}no" >&6; }
31431 fi
31432
31433 if test "x$ac_pt_PKG_CONFIG" = x; then
31434 PKG_CONFIG=""
31435 else
31436 case $cross_compiling:$ac_tool_warned in
31437 yes:)
31438 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31439 whose name does not start with the host triplet. If you think this
31440 configuration is useful to you, please write to autoconf@gnu.org." >&5
31441 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31442 whose name does not start with the host triplet. If you think this
31443 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31444 ac_tool_warned=yes ;;
31445 esac
31446 PKG_CONFIG=$ac_pt_PKG_CONFIG
31447 fi
31448 else
31449 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31450 fi
31451
31452 fi
31453 if test -n "$PKG_CONFIG"; then
31454 _pkg_min_version=0.9.0
31455 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31456 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31457 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31458 { echo "$as_me:$LINENO: result: yes" >&5
31459 echo "${ECHO_T}yes" >&6; }
31460 else
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31463 PKG_CONFIG=""
31464 fi
31465
31466 fi
31467
31468
31469 pkg_failed=no
31470 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31471 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31472
31473 if test -n "$PKG_CONFIG"; then
31474 if test -n "$PANGOX_CFLAGS"; then
31475 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31476 else
31477 if test -n "$PKG_CONFIG" && \
31478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31479 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; then
31483 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31484 else
31485 pkg_failed=yes
31486 fi
31487 fi
31488 else
31489 pkg_failed=untried
31490 fi
31491 if test -n "$PKG_CONFIG"; then
31492 if test -n "$PANGOX_LIBS"; then
31493 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31494 else
31495 if test -n "$PKG_CONFIG" && \
31496 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31497 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31498 ac_status=$?
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; then
31501 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31502 else
31503 pkg_failed=yes
31504 fi
31505 fi
31506 else
31507 pkg_failed=untried
31508 fi
31509
31510
31511
31512 if test $pkg_failed = yes; then
31513
31514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31515 _pkg_short_errors_supported=yes
31516 else
31517 _pkg_short_errors_supported=no
31518 fi
31519 if test $_pkg_short_errors_supported = yes; then
31520 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31521 else
31522 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31523 fi
31524 # Put the nasty error message in config.log where it belongs
31525 echo "$PANGOX_PKG_ERRORS" >&5
31526
31527
31528 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31529 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31530 { (exit 1); exit 1; }; }
31531
31532
31533 elif test $pkg_failed = untried; then
31534
31535 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31536 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31537 { (exit 1); exit 1; }; }
31538
31539
31540 else
31541 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31542 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31543 { echo "$as_me:$LINENO: result: yes" >&5
31544 echo "${ECHO_T}yes" >&6; }
31545
31546 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31547 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31548 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31549
31550 fi
31551
31552 pkg_failed=no
31553 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31554 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31555
31556 if test -n "$PKG_CONFIG"; then
31557 if test -n "$PANGOFT2_CFLAGS"; then
31558 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31559 else
31560 if test -n "$PKG_CONFIG" && \
31561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31562 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31563 ac_status=$?
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; then
31566 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31567 else
31568 pkg_failed=yes
31569 fi
31570 fi
31571 else
31572 pkg_failed=untried
31573 fi
31574 if test -n "$PKG_CONFIG"; then
31575 if test -n "$PANGOFT2_LIBS"; then
31576 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31577 else
31578 if test -n "$PKG_CONFIG" && \
31579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31580 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; then
31584 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31585 else
31586 pkg_failed=yes
31587 fi
31588 fi
31589 else
31590 pkg_failed=untried
31591 fi
31592
31593
31594
31595 if test $pkg_failed = yes; then
31596
31597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31598 _pkg_short_errors_supported=yes
31599 else
31600 _pkg_short_errors_supported=no
31601 fi
31602 if test $_pkg_short_errors_supported = yes; then
31603 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31604 else
31605 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31606 fi
31607 # Put the nasty error message in config.log where it belongs
31608 echo "$PANGOFT2_PKG_ERRORS" >&5
31609
31610
31611 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31612 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31613 wxUSE_PRINTING_ARCHITECTURE="no"
31614
31615
31616 elif test $pkg_failed = untried; then
31617
31618 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31619 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31620 wxUSE_PRINTING_ARCHITECTURE="no"
31621
31622
31623 else
31624 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31625 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31626 { echo "$as_me:$LINENO: result: yes" >&5
31627 echo "${ECHO_T}yes" >&6; }
31628
31629 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31630 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31631 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31632
31633 fi
31634
31635 pkg_failed=no
31636 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31637 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31638
31639 if test -n "$PKG_CONFIG"; then
31640 if test -n "$PANGOXFT_CFLAGS"; then
31641 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31642 else
31643 if test -n "$PKG_CONFIG" && \
31644 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31645 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31646 ac_status=$?
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); }; then
31649 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31650 else
31651 pkg_failed=yes
31652 fi
31653 fi
31654 else
31655 pkg_failed=untried
31656 fi
31657 if test -n "$PKG_CONFIG"; then
31658 if test -n "$PANGOXFT_LIBS"; then
31659 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31660 else
31661 if test -n "$PKG_CONFIG" && \
31662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31663 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31664 ac_status=$?
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; then
31667 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31668 else
31669 pkg_failed=yes
31670 fi
31671 fi
31672 else
31673 pkg_failed=untried
31674 fi
31675
31676
31677
31678 if test $pkg_failed = yes; then
31679
31680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31681 _pkg_short_errors_supported=yes
31682 else
31683 _pkg_short_errors_supported=no
31684 fi
31685 if test $_pkg_short_errors_supported = yes; then
31686 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31687 else
31688 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31689 fi
31690 # Put the nasty error message in config.log where it belongs
31691 echo "$PANGOXFT_PKG_ERRORS" >&5
31692
31693
31694 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31695 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31696
31697
31698 elif test $pkg_failed = untried; then
31699
31700 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31701 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31702
31703
31704 else
31705 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31706 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31707 { echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6; }
31709
31710 cat >>confdefs.h <<\_ACEOF
31711 #define HAVE_PANGO_XFT 1
31712 _ACEOF
31713
31714 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31715 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31716 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31717
31718 fi
31719 save_LIBS="$LIBS"
31720 LIBS="$LIBS $PANGOX_LIBS"
31721
31722 for ac_func in pango_font_family_is_monospace
31723 do
31724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31727 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31728 echo $ECHO_N "(cached) $ECHO_C" >&6
31729 else
31730 cat >conftest.$ac_ext <<_ACEOF
31731 /* confdefs.h. */
31732 _ACEOF
31733 cat confdefs.h >>conftest.$ac_ext
31734 cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31738 #define $ac_func innocuous_$ac_func
31739
31740 /* System header to define __stub macros and hopefully few prototypes,
31741 which can conflict with char $ac_func (); below.
31742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31743 <limits.h> exists even on freestanding compilers. */
31744
31745 #ifdef __STDC__
31746 # include <limits.h>
31747 #else
31748 # include <assert.h>
31749 #endif
31750
31751 #undef $ac_func
31752
31753 /* Override any GCC internal prototype to avoid an error.
31754 Use char because int might match the return type of a GCC
31755 builtin and then its argument prototype would still apply. */
31756 #ifdef __cplusplus
31757 extern "C"
31758 #endif
31759 char $ac_func ();
31760 /* The GNU C library defines this for functions which it implements
31761 to always fail with ENOSYS. Some functions are actually named
31762 something starting with __ and the normal name is an alias. */
31763 #if defined __stub_$ac_func || defined __stub___$ac_func
31764 choke me
31765 #endif
31766
31767 int
31768 main ()
31769 {
31770 return $ac_func ();
31771 ;
31772 return 0;
31773 }
31774 _ACEOF
31775 rm -f conftest.$ac_objext conftest$ac_exeext
31776 if { (ac_try="$ac_link"
31777 case "(($ac_try" in
31778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31779 *) ac_try_echo=$ac_try;;
31780 esac
31781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31782 (eval "$ac_link") 2>conftest.er1
31783 ac_status=$?
31784 grep -v '^ *+' conftest.er1 >conftest.err
31785 rm -f conftest.er1
31786 cat conftest.err >&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); } && {
31789 test -z "$ac_c_werror_flag" ||
31790 test ! -s conftest.err
31791 } && test -s conftest$ac_exeext &&
31792 $as_test_x conftest$ac_exeext; then
31793 eval "$as_ac_var=yes"
31794 else
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31797
31798 eval "$as_ac_var=no"
31799 fi
31800
31801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31802 conftest$ac_exeext conftest.$ac_ext
31803 fi
31804 ac_res=`eval echo '${'$as_ac_var'}'`
31805 { echo "$as_me:$LINENO: result: $ac_res" >&5
31806 echo "${ECHO_T}$ac_res" >&6; }
31807 if test `eval echo '${'$as_ac_var'}'` = yes; then
31808 cat >>confdefs.h <<_ACEOF
31809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31810 _ACEOF
31811
31812 fi
31813 done
31814
31815 LIBS="$save_LIBS"
31816 fi
31817
31818 wxUSE_UNIVERSAL="yes"
31819
31820 if test "$wxUSE_NANOX" = "yes"; then
31821 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31822 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"
31823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31824 else
31825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31826 fi
31827
31828 TOOLKIT=X11
31829 GUIDIST=X11_DIST
31830 fi
31831
31832 if test "$wxUSE_MOTIF" = 1; then
31833 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31834 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31835
31836 ac_find_includes=
31837 for ac_dir in $SEARCH_INCLUDE /usr/include;
31838 do
31839 if test -f "$ac_dir/Xm/Xm.h"; then
31840 ac_find_includes=$ac_dir
31841 break
31842 fi
31843 done
31844
31845 if test "$ac_find_includes" != "" ; then
31846 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31847 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31848
31849 if test "x$ac_find_includes" = "x/usr/include"; then
31850 ac_path_to_include=""
31851 else
31852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31853 result=$?
31854 if test $result = 0; then
31855 ac_path_to_include=""
31856 else
31857 ac_path_to_include=" -I$ac_find_includes"
31858 fi
31859 fi
31860
31861 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31862 else
31863 save_CFLAGS=$CFLAGS
31864 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31865
31866 cat >conftest.$ac_ext <<_ACEOF
31867 /* confdefs.h. */
31868 _ACEOF
31869 cat confdefs.h >>conftest.$ac_ext
31870 cat >>conftest.$ac_ext <<_ACEOF
31871 /* end confdefs.h. */
31872
31873 #include <Xm/Xm.h>
31874
31875 int
31876 main ()
31877 {
31878
31879 int version;
31880 version = xmUseVersion;
31881
31882 ;
31883 return 0;
31884 }
31885 _ACEOF
31886 rm -f conftest.$ac_objext
31887 if { (ac_try="$ac_compile"
31888 case "(($ac_try" in
31889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31890 *) ac_try_echo=$ac_try;;
31891 esac
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_compile") 2>conftest.er1
31894 ac_status=$?
31895 grep -v '^ *+' conftest.er1 >conftest.err
31896 rm -f conftest.er1
31897 cat conftest.err >&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } && {
31900 test -z "$ac_c_werror_flag" ||
31901 test ! -s conftest.err
31902 } && test -s conftest.$ac_objext; then
31903
31904 { echo "$as_me:$LINENO: result: found in default search path" >&5
31905 echo "${ECHO_T}found in default search path" >&6; }
31906 COMPILED_X_PROGRAM=1
31907
31908 else
31909 echo "$as_me: failed program was:" >&5
31910 sed 's/^/| /' conftest.$ac_ext >&5
31911
31912
31913 { echo "$as_me:$LINENO: result: no" >&5
31914 echo "${ECHO_T}no" >&6; }
31915 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31916 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31917 { (exit 1); exit 1; }; }
31918
31919
31920 fi
31921
31922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31923
31924 CFLAGS=$save_CFLAGS
31925 fi
31926
31927
31928 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31929 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31930
31931 ac_find_libraries=
31932 for ac_dir in $SEARCH_LIB;
31933 do
31934 for ac_extension in a so sl dylib dll.a; do
31935 if test -f "$ac_dir/libXm.$ac_extension"; then
31936 ac_find_libraries=$ac_dir
31937 break 2
31938 fi
31939 done
31940 done
31941
31942
31943 if test "x$ac_find_libraries" != "x" ; then
31944 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31945 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31946
31947
31948 if test "$ac_find_libraries" = "default location"; then
31949 ac_path_to_link=""
31950 else
31951 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31952 result=$?
31953 if test $result = 0; then
31954 ac_path_to_link=""
31955 else
31956 ac_path_to_link=" -L$ac_find_libraries"
31957 fi
31958 fi
31959
31960 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31961 else
31962 save_CFLAGS=$CFLAGS
31963 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31964 save_LIBS="$LIBS"
31965 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31966
31967 cat >conftest.$ac_ext <<_ACEOF
31968 /* confdefs.h. */
31969 _ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31973
31974 #include <Xm/Xm.h>
31975
31976 int
31977 main ()
31978 {
31979
31980 int version;
31981 version = xmUseVersion;
31982
31983 ;
31984 return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (ac_try="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31992 esac
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32005
32006 { echo "$as_me:$LINENO: result: found in default search path" >&5
32007 echo "${ECHO_T}found in default search path" >&6; }
32008 COMPILED_X_PROGRAM=1
32009
32010 else
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32013
32014
32015 { echo "$as_me:$LINENO: result: no" >&5
32016 echo "${ECHO_T}no" >&6; }
32017 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32018 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32019 { (exit 1); exit 1; }; }
32020
32021
32022 fi
32023
32024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32025 conftest$ac_exeext conftest.$ac_ext
32026
32027 CFLAGS=$save_CFLAGS
32028 LIBS="$save_LIBS"
32029 fi
32030
32031 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32032 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32033 libp_link=""
32034 libsm_ice_link=""
32035 libs_found=0
32036 for libp in "" " -lXp"; do
32037 if test "$libs_found" = 0; then
32038 for libsm_ice in "" " -lSM -lICE"; do
32039 if test "$libs_found" = 0; then
32040 save_LIBS="$LIBS"
32041 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32042 save_CFLAGS=$CFLAGS
32043 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32044
32045 cat >conftest.$ac_ext <<_ACEOF
32046 /* confdefs.h. */
32047 _ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32051
32052 #include <Xm/Xm.h>
32053 #include <Xm/List.h>
32054
32055 int
32056 main ()
32057 {
32058
32059 XmString string = NULL;
32060 Widget w = NULL;
32061 int position = 0;
32062 XmListAddItem(w, string, position);
32063
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 rm -f conftest.$ac_objext conftest$ac_exeext
32069 if { (ac_try="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32073 esac
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32076 ac_status=$?
32077 grep -v '^ *+' conftest.er1 >conftest.err
32078 rm -f conftest.er1
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest$ac_exeext &&
32085 $as_test_x conftest$ac_exeext; then
32086
32087 libp_link="$libp"
32088 libsm_ice_link="$libsm_ice"
32089 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32090 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32091 libs_found=1
32092
32093 else
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.$ac_ext >&5
32096
32097
32098
32099 fi
32100
32101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32102 conftest$ac_exeext conftest.$ac_ext
32103
32104 LIBS="$save_LIBS"
32105 CFLAGS=$save_CFLAGS
32106 fi
32107 done
32108 fi
32109 done
32110
32111 if test "$libs_found" = 0; then
32112 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32113 echo "${ECHO_T}can't find the right libraries" >&6; }
32114 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32115 echo "$as_me: error: can't link a simple motif program" >&2;}
32116 { (exit 1); exit 1; }; }
32117 fi
32118
32119 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32120 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32121 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32122 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 else
32124 ac_check_lib_save_LIBS=$LIBS
32125 LIBS="-lSgm $LIBS"
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132
32133 /* Override any GCC internal prototype to avoid an error.
32134 Use char because int might match the return type of a GCC
32135 builtin and then its argument prototype would still apply. */
32136 #ifdef __cplusplus
32137 extern "C"
32138 #endif
32139 char SgCreateList ();
32140 int
32141 main ()
32142 {
32143 return SgCreateList ();
32144 ;
32145 return 0;
32146 }
32147 _ACEOF
32148 rm -f conftest.$ac_objext conftest$ac_exeext
32149 if { (ac_try="$ac_link"
32150 case "(($ac_try" in
32151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32152 *) ac_try_echo=$ac_try;;
32153 esac
32154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32155 (eval "$ac_link") 2>conftest.er1
32156 ac_status=$?
32157 grep -v '^ *+' conftest.er1 >conftest.err
32158 rm -f conftest.er1
32159 cat conftest.err >&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } && {
32162 test -z "$ac_c_werror_flag" ||
32163 test ! -s conftest.err
32164 } && test -s conftest$ac_exeext &&
32165 $as_test_x conftest$ac_exeext; then
32166 ac_cv_lib_Sgm_SgCreateList=yes
32167 else
32168 echo "$as_me: failed program was:" >&5
32169 sed 's/^/| /' conftest.$ac_ext >&5
32170
32171 ac_cv_lib_Sgm_SgCreateList=no
32172 fi
32173
32174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32175 conftest$ac_exeext conftest.$ac_ext
32176 LIBS=$ac_check_lib_save_LIBS
32177 fi
32178 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32179 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32180 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32181 libsgm_link=" -lSgm"
32182 fi
32183
32184
32185 save_CFLAGS=$CFLAGS
32186 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32187
32188 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32189 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32190 if test "${wx_cv_lib_motif2+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 else
32193 cat >conftest.$ac_ext <<_ACEOF
32194 /* confdefs.h. */
32195 _ACEOF
32196 cat confdefs.h >>conftest.$ac_ext
32197 cat >>conftest.$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32199
32200 #include <Xm/Xm.h>
32201
32202 int
32203 main ()
32204 {
32205
32206 #if XmVersion < 2000
32207 Not Motif 2
32208 #endif
32209
32210 ;
32211 return 0;
32212 }
32213 _ACEOF
32214 rm -f conftest.$ac_objext
32215 if { (ac_try="$ac_compile"
32216 case "(($ac_try" in
32217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32218 *) ac_try_echo=$ac_try;;
32219 esac
32220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32221 (eval "$ac_compile") 2>conftest.er1
32222 ac_status=$?
32223 grep -v '^ *+' conftest.er1 >conftest.err
32224 rm -f conftest.er1
32225 cat conftest.err >&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } && {
32228 test -z "$ac_c_werror_flag" ||
32229 test ! -s conftest.err
32230 } && test -s conftest.$ac_objext; then
32231 wx_cv_lib_motif2="yes"
32232 else
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.$ac_ext >&5
32235
32236 wx_cv_lib_motif2="no"
32237 fi
32238
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 fi
32241 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32242 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32243 if test "$wx_cv_lib_motif2" = "yes"; then
32244 cat >>confdefs.h <<\_ACEOF
32245 #define __WXMOTIF20__ 1
32246 _ACEOF
32247
32248 else
32249 cat >>confdefs.h <<\_ACEOF
32250 #define __WXMOTIF20__ 0
32251 _ACEOF
32252
32253 fi
32254
32255 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32256 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32257 if test "${wx_cv_lib_lesstif+set}" = set; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 else
32260 cat >conftest.$ac_ext <<_ACEOF
32261 /* confdefs.h. */
32262 _ACEOF
32263 cat confdefs.h >>conftest.$ac_ext
32264 cat >>conftest.$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32266
32267 #include <Xm/Xm.h>
32268
32269 int
32270 main ()
32271 {
32272
32273 #if !defined(LesstifVersion) || LesstifVersion <= 0
32274 Not Lesstif
32275 #endif
32276
32277 ;
32278 return 0;
32279 }
32280 _ACEOF
32281 rm -f conftest.$ac_objext
32282 if { (ac_try="$ac_compile"
32283 case "(($ac_try" in
32284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32285 *) ac_try_echo=$ac_try;;
32286 esac
32287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32288 (eval "$ac_compile") 2>conftest.er1
32289 ac_status=$?
32290 grep -v '^ *+' conftest.er1 >conftest.err
32291 rm -f conftest.er1
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } && {
32295 test -z "$ac_c_werror_flag" ||
32296 test ! -s conftest.err
32297 } && test -s conftest.$ac_objext; then
32298 wx_cv_lib_lesstif="yes"
32299 else
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32302
32303 wx_cv_lib_lesstif="no"
32304 fi
32305
32306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32307
32308 fi
32309 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32310 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32311 if test "$wx_cv_lib_lesstif" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313 #define __WXLESSTIF__ 1
32314 _ACEOF
32315
32316 else
32317 cat >>confdefs.h <<\_ACEOF
32318 #define __WXLESSTIF__ 0
32319 _ACEOF
32320
32321 fi
32322
32323 CFLAGS=$save_CFLAGS
32324
32325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32326 TOOLKIT=MOTIF
32327 GUIDIST=MOTIF_DIST
32328 fi
32329
32330 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32331 if test "$wxUSE_LIBXPM" = "sys"; then
32332 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32333 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32334
32335 ac_find_libraries=
32336 for ac_dir in $SEARCH_LIB;
32337 do
32338 for ac_extension in a so sl dylib dll.a; do
32339 if test -f "$ac_dir/libXpm.$ac_extension"; then
32340 ac_find_libraries=$ac_dir
32341 break 2
32342 fi
32343 done
32344 done
32345
32346 if test "$ac_find_libraries" != "" ; then
32347
32348 if test "$ac_find_libraries" = "default location"; then
32349 ac_path_to_link=""
32350 else
32351 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32352 result=$?
32353 if test $result = 0; then
32354 ac_path_to_link=""
32355 else
32356 ac_path_to_link=" -L$ac_find_libraries"
32357 fi
32358 fi
32359
32360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32361 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32362 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32363
32364 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32365 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32366 if test "${wx_cv_x11_xpm_h+set}" = set; then
32367 echo $ECHO_N "(cached) $ECHO_C" >&6
32368 else
32369
32370 save_CFLAGS=$CFLAGS
32371 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32372
32373 cat >conftest.$ac_ext <<_ACEOF
32374 /* confdefs.h. */
32375 _ACEOF
32376 cat confdefs.h >>conftest.$ac_ext
32377 cat >>conftest.$ac_ext <<_ACEOF
32378 /* end confdefs.h. */
32379
32380 #include <X11/xpm.h>
32381
32382 int
32383 main ()
32384 {
32385
32386 int version;
32387 version = XpmLibraryVersion();
32388
32389 ;
32390 return 0;
32391 }
32392 _ACEOF
32393 rm -f conftest.$ac_objext
32394 if { (ac_try="$ac_compile"
32395 case "(($ac_try" in
32396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32397 *) ac_try_echo=$ac_try;;
32398 esac
32399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32400 (eval "$ac_compile") 2>conftest.er1
32401 ac_status=$?
32402 grep -v '^ *+' conftest.er1 >conftest.err
32403 rm -f conftest.er1
32404 cat conftest.err >&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } && {
32407 test -z "$ac_c_werror_flag" ||
32408 test ! -s conftest.err
32409 } && test -s conftest.$ac_objext; then
32410 wx_cv_x11_xpm_h=yes
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415 wx_cv_x11_xpm_h=no
32416
32417 fi
32418
32419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32420
32421 CFLAGS=$save_CFLAGS
32422
32423
32424 fi
32425 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32426 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32427
32428 if test $wx_cv_x11_xpm_h = "yes"; then
32429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32430 cat >>confdefs.h <<\_ACEOF
32431 #define wxHAVE_LIB_XPM 1
32432 _ACEOF
32433
32434 else
32435 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32436 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32437 fi
32438 fi
32439
32440 fi
32441
32442 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32443 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32444 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32445 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 else
32447 ac_check_lib_save_LIBS=$LIBS
32448 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32449 cat >conftest.$ac_ext <<_ACEOF
32450 /* confdefs.h. */
32451 _ACEOF
32452 cat confdefs.h >>conftest.$ac_ext
32453 cat >>conftest.$ac_ext <<_ACEOF
32454 /* end confdefs.h. */
32455
32456 /* Override any GCC internal prototype to avoid an error.
32457 Use char because int might match the return type of a GCC
32458 builtin and then its argument prototype would still apply. */
32459 #ifdef __cplusplus
32460 extern "C"
32461 #endif
32462 char XShapeQueryExtension ();
32463 int
32464 main ()
32465 {
32466 return XShapeQueryExtension ();
32467 ;
32468 return 0;
32469 }
32470 _ACEOF
32471 rm -f conftest.$ac_objext conftest$ac_exeext
32472 if { (ac_try="$ac_link"
32473 case "(($ac_try" in
32474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32475 *) ac_try_echo=$ac_try;;
32476 esac
32477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32478 (eval "$ac_link") 2>conftest.er1
32479 ac_status=$?
32480 grep -v '^ *+' conftest.er1 >conftest.err
32481 rm -f conftest.er1
32482 cat conftest.err >&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); } && {
32485 test -z "$ac_c_werror_flag" ||
32486 test ! -s conftest.err
32487 } && test -s conftest$ac_exeext &&
32488 $as_test_x conftest$ac_exeext; then
32489 ac_cv_lib_Xext_XShapeQueryExtension=yes
32490 else
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.$ac_ext >&5
32493
32494 ac_cv_lib_Xext_XShapeQueryExtension=no
32495 fi
32496
32497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32498 conftest$ac_exeext conftest.$ac_ext
32499 LIBS=$ac_check_lib_save_LIBS
32500 fi
32501 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32502 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32503 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32504
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32506 wxHAVE_XEXT_LIB=1
32507
32508 fi
32509
32510
32511 if test "$wxHAVE_XEXT_LIB" = 1; then
32512 save_CFLAGS="$CFLAGS"
32513 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32514
32515 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32516 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32517 cat >conftest.$ac_ext <<_ACEOF
32518 /* confdefs.h. */
32519 _ACEOF
32520 cat confdefs.h >>conftest.$ac_ext
32521 cat >>conftest.$ac_ext <<_ACEOF
32522 /* end confdefs.h. */
32523
32524 #include <X11/Xlib.h>
32525 #include <X11/extensions/shape.h>
32526
32527 int
32528 main ()
32529 {
32530
32531 int dummy1, dummy2;
32532 XShapeQueryExtension((Display*)NULL,
32533 (int*)NULL, (int*)NULL);
32534
32535 ;
32536 return 0;
32537 }
32538 _ACEOF
32539 rm -f conftest.$ac_objext
32540 if { (ac_try="$ac_compile"
32541 case "(($ac_try" in
32542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32543 *) ac_try_echo=$ac_try;;
32544 esac
32545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32546 (eval "$ac_compile") 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } && {
32553 test -z "$ac_c_werror_flag" ||
32554 test ! -s conftest.err
32555 } && test -s conftest.$ac_objext; then
32556
32557 cat >>confdefs.h <<\_ACEOF
32558 #define HAVE_XSHAPE 1
32559 _ACEOF
32560
32561 { echo "$as_me:$LINENO: result: found" >&5
32562 echo "${ECHO_T}found" >&6; }
32563
32564 else
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.$ac_ext >&5
32567
32568
32569 { echo "$as_me:$LINENO: result: not found" >&5
32570 echo "${ECHO_T}not found" >&6; }
32571
32572 fi
32573
32574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32575 CFLAGS="$save_CFLAGS"
32576
32577 fi
32578 fi
32579
32580 if test "$wxUSE_OSX_CARBON" = 1; then
32581 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32582 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32583 if test "$GCC" = yes; then
32584 { echo "$as_me:$LINENO: result: gcc" >&5
32585 echo "${ECHO_T}gcc" >&6; }
32586 CPPFLAGS_PASCAL="-fpascal-strings"
32587 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32588 { echo "$as_me:$LINENO: result: xlc" >&5
32589 echo "${ECHO_T}xlc" >&6; }
32590 CPPFLAGS_PASCAL="-qmacpstr"
32591 else
32592 { echo "$as_me:$LINENO: result: none" >&5
32593 echo "${ECHO_T}none" >&6; }
32594 fi
32595
32596 if test "x$wxUSE_UNIX" = "xyes"; then
32597 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32598 else
32599 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32600 fi
32601
32602 TOOLKIT=OSX_CARBON
32603 GUIDIST=OSX_CARBON_DIST
32604 WXBASEPORT="_carbon"
32605 fi
32606
32607 if test "$wxUSE_OSX_COCOA" = 1; then
32608 TOOLKIT=OSX_COCOA
32609 GUIDIST=OSX_COCOA_DIST
32610 fi
32611
32612 if test "$wxUSE_COCOA" = 1; then
32613 TOOLKIT=COCOA
32614 GUIDIST=COCOA_DIST
32615 fi
32616
32617 if test "$wxUSE_PM" = 1; then
32618 TOOLKIT=PM
32619 GUIDIST=PM_DIST
32620 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32621 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32622 if test "${wx_cv_spbcdata+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625
32626 cat >conftest.$ac_ext <<_ACEOF
32627 /* confdefs.h. */
32628 _ACEOF
32629 cat confdefs.h >>conftest.$ac_ext
32630 cat >>conftest.$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32632
32633 #define INCL_PM
32634 #include <os2.h>
32635
32636 int
32637 main ()
32638 {
32639
32640 SPBCDATA test;
32641
32642 ;
32643 return 0;
32644 }
32645 _ACEOF
32646 rm -f conftest.$ac_objext
32647 if { (ac_try="$ac_compile"
32648 case "(($ac_try" in
32649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32650 *) ac_try_echo=$ac_try;;
32651 esac
32652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32653 (eval "$ac_compile") 2>conftest.er1
32654 ac_status=$?
32655 grep -v '^ *+' conftest.er1 >conftest.err
32656 rm -f conftest.er1
32657 cat conftest.err >&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } && {
32660 test -z "$ac_c_werror_flag" ||
32661 test ! -s conftest.err
32662 } && test -s conftest.$ac_objext; then
32663 wx_cv_spbcdata=yes
32664 else
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32667
32668 wx_cv_spbcdata=no
32669
32670 fi
32671
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673
32674
32675 fi
32676 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32677 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32678
32679 if test $wx_cv_spbcdata = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681 #define HAVE_SPBCDATA 1
32682 _ACEOF
32683
32684 fi
32685 fi
32686
32687 if test "$TOOLKIT" = "PM" ; then
32688 TOOLKIT_DIR="os2"
32689 else
32690 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32691 fi
32692
32693 if test "$wxUSE_UNIVERSAL" = "yes"; then
32694 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32695 WIDGET_SET=univ
32696 fi
32697
32698 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32699 DISTDIR="wx\$(TOOLKIT)"
32700 else
32701 USE_GUI=0
32702
32703 TOOLKIT_DIR="base"
32704
32705 if test "$USE_WIN32" = 1 ; then
32706 TOOLKIT="MSW"
32707 fi
32708
32709 GUIDIST="BASE_DIST"
32710 DISTDIR="wxBase"
32711 fi
32712
32713
32714
32715 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32716 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32717 wxUSE_UNICODE_UTF8=yes
32718 elif test "$USE_OS2" = 1 ; then
32719 wxUSE_UNICODE_UTF8=yes
32720 else
32721 wxUSE_UNICODE_UTF8=no
32722 fi
32723 fi
32724
32725
32726 if test "$wxUSE_GUI" = "yes"; then
32727 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32728
32729 for ac_header in X11/Xlib.h
32730 do
32731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32736 else
32737 cat >conftest.$ac_ext <<_ACEOF
32738 /* confdefs.h. */
32739 _ACEOF
32740 cat confdefs.h >>conftest.$ac_ext
32741 cat >>conftest.$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32743
32744
32745 #include <$ac_header>
32746 _ACEOF
32747 rm -f conftest.$ac_objext
32748 if { (ac_try="$ac_compile"
32749 case "(($ac_try" in
32750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32751 *) ac_try_echo=$ac_try;;
32752 esac
32753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32754 (eval "$ac_compile") 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } && {
32761 test -z "$ac_c_werror_flag" ||
32762 test ! -s conftest.err
32763 } && test -s conftest.$ac_objext; then
32764 eval "$as_ac_Header=yes"
32765 else
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.$ac_ext >&5
32768
32769 eval "$as_ac_Header=no"
32770 fi
32771
32772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32773 fi
32774 ac_res=`eval echo '${'$as_ac_Header'}'`
32775 { echo "$as_me:$LINENO: result: $ac_res" >&5
32776 echo "${ECHO_T}$ac_res" >&6; }
32777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32778 cat >>confdefs.h <<_ACEOF
32779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32780 _ACEOF
32781
32782 fi
32783
32784 done
32785
32786
32787 for ac_header in X11/XKBlib.h
32788 do
32789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 else
32795 cat >conftest.$ac_ext <<_ACEOF
32796 /* confdefs.h. */
32797 _ACEOF
32798 cat confdefs.h >>conftest.$ac_ext
32799 cat >>conftest.$ac_ext <<_ACEOF
32800 /* end confdefs.h. */
32801
32802 #if HAVE_X11_XLIB_H
32803 #include <X11/Xlib.h>
32804 #endif
32805
32806
32807 #include <$ac_header>
32808 _ACEOF
32809 rm -f conftest.$ac_objext
32810 if { (ac_try="$ac_compile"
32811 case "(($ac_try" in
32812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32813 *) ac_try_echo=$ac_try;;
32814 esac
32815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 (eval "$ac_compile") 2>conftest.er1
32817 ac_status=$?
32818 grep -v '^ *+' conftest.er1 >conftest.err
32819 rm -f conftest.er1
32820 cat conftest.err >&5
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); } && {
32823 test -z "$ac_c_werror_flag" ||
32824 test ! -s conftest.err
32825 } && test -s conftest.$ac_objext; then
32826 eval "$as_ac_Header=yes"
32827 else
32828 echo "$as_me: failed program was:" >&5
32829 sed 's/^/| /' conftest.$ac_ext >&5
32830
32831 eval "$as_ac_Header=no"
32832 fi
32833
32834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 fi
32836 ac_res=`eval echo '${'$as_ac_Header'}'`
32837 { echo "$as_me:$LINENO: result: $ac_res" >&5
32838 echo "${ECHO_T}$ac_res" >&6; }
32839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32840 cat >>confdefs.h <<_ACEOF
32841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32842 _ACEOF
32843
32844 fi
32845
32846 done
32847
32848 fi
32849 fi
32850
32851
32852
32853 if test "$wxUSE_DISPLAY" = "yes"; then
32854 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32855 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32856 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32857
32858 ac_find_libraries=
32859 for ac_dir in $SEARCH_LIB;
32860 do
32861 for ac_extension in a so sl dylib dll.a; do
32862 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32863 ac_find_libraries=$ac_dir
32864 break 2
32865 fi
32866 done
32867 done
32868
32869 if test "$ac_find_libraries" != "" ; then
32870
32871 if test "$ac_find_libraries" = "default location"; then
32872 ac_path_to_link=""
32873 else
32874 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32875 result=$?
32876 if test $result = 0; then
32877 ac_path_to_link=""
32878 else
32879 ac_path_to_link=" -L$ac_find_libraries"
32880 fi
32881 fi
32882
32883 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32884 LDFLAGS="$LDFLAGS $ac_path_to_link"
32885 fi
32886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32887 { echo "$as_me:$LINENO: result: yes" >&5
32888 echo "${ECHO_T}yes" >&6; }
32889
32890 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32891 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32892
32893 ac_find_libraries=
32894 for ac_dir in $SEARCH_LIB;
32895 do
32896 for ac_extension in a so sl dylib dll.a; do
32897 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32898 ac_find_libraries=$ac_dir
32899 break 2
32900 fi
32901 done
32902 done
32903
32904 if test "$ac_find_libraries" != "" ; then
32905 { echo "$as_me:$LINENO: result: yes" >&5
32906 echo "${ECHO_T}yes" >&6; }
32907
32908 for ac_header in X11/extensions/xf86vmode.h
32909 do
32910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 else
32916 cat >conftest.$ac_ext <<_ACEOF
32917 /* confdefs.h. */
32918 _ACEOF
32919 cat confdefs.h >>conftest.$ac_ext
32920 cat >>conftest.$ac_ext <<_ACEOF
32921 /* end confdefs.h. */
32922
32923 #if HAVE_X11_XLIB_H
32924 #include <X11/Xlib.h>
32925 #endif
32926
32927
32928 #include <$ac_header>
32929 _ACEOF
32930 rm -f conftest.$ac_objext
32931 if { (ac_try="$ac_compile"
32932 case "(($ac_try" in
32933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32934 *) ac_try_echo=$ac_try;;
32935 esac
32936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32937 (eval "$ac_compile") 2>conftest.er1
32938 ac_status=$?
32939 grep -v '^ *+' conftest.er1 >conftest.err
32940 rm -f conftest.er1
32941 cat conftest.err >&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } && {
32944 test -z "$ac_c_werror_flag" ||
32945 test ! -s conftest.err
32946 } && test -s conftest.$ac_objext; then
32947 eval "$as_ac_Header=yes"
32948 else
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32951
32952 eval "$as_ac_Header=no"
32953 fi
32954
32955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32956 fi
32957 ac_res=`eval echo '${'$as_ac_Header'}'`
32958 { echo "$as_me:$LINENO: result: $ac_res" >&5
32959 echo "${ECHO_T}$ac_res" >&6; }
32960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32961 cat >>confdefs.h <<_ACEOF
32962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32963 _ACEOF
32964
32965 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32966
32967 fi
32968
32969 done
32970
32971 else
32972 { echo "$as_me:$LINENO: result: no" >&5
32973 echo "${ECHO_T}no" >&6; }
32974 fi
32975
32976 else
32977 { echo "$as_me:$LINENO: result: no" >&5
32978 echo "${ECHO_T}no" >&6; }
32979 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32980 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32981 wxUSE_DISPLAY="no"
32982 fi
32983 elif test "$wxUSE_MSW" = 1; then
32984 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32985 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32986 if test "${ac_cv_header_ddraw_h+set}" = set; then
32987 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 else
32989 cat >conftest.$ac_ext <<_ACEOF
32990 /* confdefs.h. */
32991 _ACEOF
32992 cat confdefs.h >>conftest.$ac_ext
32993 cat >>conftest.$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995 #include <windows.h>
32996
32997 #include <ddraw.h>
32998 _ACEOF
32999 rm -f conftest.$ac_objext
33000 if { (ac_try="$ac_compile"
33001 case "(($ac_try" in
33002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33003 *) ac_try_echo=$ac_try;;
33004 esac
33005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33006 (eval "$ac_compile") 2>conftest.er1
33007 ac_status=$?
33008 grep -v '^ *+' conftest.er1 >conftest.err
33009 rm -f conftest.er1
33010 cat conftest.err >&5
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); } && {
33013 test -z "$ac_c_werror_flag" ||
33014 test ! -s conftest.err
33015 } && test -s conftest.$ac_objext; then
33016 ac_cv_header_ddraw_h=yes
33017 else
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33020
33021 ac_cv_header_ddraw_h=no
33022 fi
33023
33024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025 fi
33026 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33027 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33028
33029
33030 fi
33031 fi
33032
33033 if test "$wxUSE_DETECT_SM" = "yes"; then
33034 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33035 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33036 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33037
33038 ac_find_libraries=
33039 for ac_dir in $SEARCH_LIB;
33040 do
33041 for ac_extension in a so sl dylib dll.a; do
33042 if test -f "$ac_dir/libSM.$ac_extension"; then
33043 ac_find_libraries=$ac_dir
33044 break 2
33045 fi
33046 done
33047 done
33048
33049 if test "$ac_find_libraries" != "" ; then
33050
33051 if test "$ac_find_libraries" = "default location"; then
33052 ac_path_to_link=""
33053 else
33054 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33055 result=$?
33056 if test $result = 0; then
33057 ac_path_to_link=""
33058 else
33059 ac_path_to_link=" -L$ac_find_libraries"
33060 fi
33061 fi
33062
33063 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33064 LDFLAGS="$LDFLAGS $ac_path_to_link"
33065 fi
33066 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33067 { echo "$as_me:$LINENO: result: yes" >&5
33068 echo "${ECHO_T}yes" >&6; }
33069 else
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33072 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33073 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33074 wxUSE_DETECT_SM="no"
33075 fi
33076 else
33077 wxUSE_DETECT_SM="no"
33078 fi
33079 fi
33080
33081
33082
33083 USE_OPENGL=0
33084 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33085
33086
33087 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33088 OPENGL_LIBS="-framework OpenGL -framework AGL"
33089 elif test "$wxUSE_MSW" = 1; then
33090 OPENGL_LIBS="-lopengl32 -lglu32"
33091 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33092
33093 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33094 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33095
33096 ac_find_includes=
33097 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33098 do
33099 if test -f "$ac_dir/GL/gl.h"; then
33100 ac_find_includes=$ac_dir
33101 break
33102 fi
33103 done
33104
33105 if test "$ac_find_includes" != "" ; then
33106 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33107 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33108
33109 if test "x$ac_find_includes" = "x/usr/include"; then
33110 ac_path_to_include=""
33111 else
33112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33113 result=$?
33114 if test $result = 0; then
33115 ac_path_to_include=""
33116 else
33117 ac_path_to_include=" -I$ac_find_includes"
33118 fi
33119 fi
33120
33121 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33122 else
33123 { echo "$as_me:$LINENO: result: not found" >&5
33124 echo "${ECHO_T}not found" >&6; }
33125 fi
33126
33127 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33128 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33129 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33130 echo $ECHO_N "(cached) $ECHO_C" >&6
33131 else
33132 cat >conftest.$ac_ext <<_ACEOF
33133 /* confdefs.h. */
33134 _ACEOF
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138
33139
33140 #include <GL/gl.h>
33141 _ACEOF
33142 rm -f conftest.$ac_objext
33143 if { (ac_try="$ac_compile"
33144 case "(($ac_try" in
33145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33146 *) ac_try_echo=$ac_try;;
33147 esac
33148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33149 (eval "$ac_compile") 2>conftest.er1
33150 ac_status=$?
33151 grep -v '^ *+' conftest.er1 >conftest.err
33152 rm -f conftest.er1
33153 cat conftest.err >&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } && {
33156 test -z "$ac_c_werror_flag" ||
33157 test ! -s conftest.err
33158 } && test -s conftest.$ac_objext; then
33159 ac_cv_header_GL_gl_h=yes
33160 else
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.$ac_ext >&5
33163
33164 ac_cv_header_GL_gl_h=no
33165 fi
33166
33167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33168 fi
33169 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33170 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33171 if test $ac_cv_header_GL_gl_h = yes; then
33172
33173 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33174 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33175 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178 cat >conftest.$ac_ext <<_ACEOF
33179 /* confdefs.h. */
33180 _ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184
33185
33186 #include <GL/glu.h>
33187 _ACEOF
33188 rm -f conftest.$ac_objext
33189 if { (ac_try="$ac_compile"
33190 case "(($ac_try" in
33191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33193 esac
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_compile") 2>conftest.er1
33196 ac_status=$?
33197 grep -v '^ *+' conftest.er1 >conftest.err
33198 rm -f conftest.er1
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest.$ac_objext; then
33205 ac_cv_header_GL_glu_h=yes
33206 else
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33209
33210 ac_cv_header_GL_glu_h=no
33211 fi
33212
33213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33214 fi
33215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33216 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33217 if test $ac_cv_header_GL_glu_h = yes; then
33218
33219 found_gl=0
33220
33221 { echo "$as_me:$LINENO: checking for -lGL" >&5
33222 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33223
33224 ac_find_libraries=
33225 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33226 do
33227 for ac_extension in a so sl dylib dll.a; do
33228 if test -f "$ac_dir/libGL.$ac_extension"; then
33229 ac_find_libraries=$ac_dir
33230 break 2
33231 fi
33232 done
33233 done
33234
33235 if test "$ac_find_libraries" != "" ; then
33236 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33237 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33238
33239
33240 if test "$ac_find_libraries" = "default location"; then
33241 ac_path_to_link=""
33242 else
33243 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33244 result=$?
33245 if test $result = 0; then
33246 ac_path_to_link=""
33247 else
33248 ac_path_to_link=" -L$ac_find_libraries"
33249 fi
33250 fi
33251
33252 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33253 LDFLAGS_GL="$ac_path_to_link"
33254 fi
33255
33256 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33257 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33258
33259 ac_find_libraries=
33260 for ac_dir in $SEARCH_LIB;
33261 do
33262 for ac_extension in a so sl dylib dll.a; do
33263 if test -f "$ac_dir/libGLU.$ac_extension"; then
33264 ac_find_libraries=$ac_dir
33265 break 2
33266 fi
33267 done
33268 done
33269
33270 if test "$ac_find_libraries" != "" ; then
33271
33272 if test "$ac_find_libraries" = "default location"; then
33273 ac_path_to_link=""
33274 else
33275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33276 result=$?
33277 if test $result = 0; then
33278 ac_path_to_link=""
33279 else
33280 ac_path_to_link=" -L$ac_find_libraries"
33281 fi
33282 fi
33283
33284 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33285 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33286 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33287 fi
33288
33289 found_gl=1
33290 OPENGL_LIBS="-lGL -lGLU"
33291 { echo "$as_me:$LINENO: result: yes" >&5
33292 echo "${ECHO_T}yes" >&6; }
33293 else
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33296 fi
33297 else
33298 { echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6; }
33300 fi
33301
33302 if test "$found_gl" != 1; then
33303 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33304 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33305
33306 ac_find_libraries=
33307 for ac_dir in $SEARCH_LIB;
33308 do
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33312 break 2
33313 fi
33314 done
33315 done
33316
33317 if test "$ac_find_libraries" != "" ; then
33318
33319 if test "$ac_find_libraries" = "default location"; then
33320 ac_path_to_link=""
33321 else
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33323 result=$?
33324 if test $result = 0; then
33325 ac_path_to_link=""
33326 else
33327 ac_path_to_link=" -L$ac_find_libraries"
33328 fi
33329 fi
33330
33331 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33332 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33333 { echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6; }
33335 else
33336 { echo "$as_me:$LINENO: result: no" >&5
33337 echo "${ECHO_T}no" >&6; }
33338 fi
33339 fi
33340
33341 fi
33342
33343
33344
33345 fi
33346
33347
33348
33349 if test "x$OPENGL_LIBS" = "x"; then
33350 if test "$wxUSE_OPENGL" = "yes"; then
33351 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33352 echo "$as_me: error: OpenGL libraries not available" >&2;}
33353 { (exit 1); exit 1; }; }
33354 else
33355 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33356 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33357 wxUSE_OPENGL=no
33358 USE_OPENGL=0
33359 fi
33360 else
33361 wxUSE_OPENGL=yes
33362 fi
33363 else
33364 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33365 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33366 wxUSE_OPENGL="no"
33367 fi
33368
33369 if test "$wxUSE_OPENGL" = "yes"; then
33370 USE_OPENGL=1
33371 cat >>confdefs.h <<\_ACEOF
33372 #define wxUSE_OPENGL 1
33373 _ACEOF
33374
33375 cat >>confdefs.h <<\_ACEOF
33376 #define wxUSE_GLCANVAS 1
33377 _ACEOF
33378
33379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33380 fi
33381 fi
33382
33383
33384 if test -n "$TOOLKIT" ; then
33385 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33386 fi
33387
33388
33389
33390 if test "$wxUSE_SHARED" = "yes"; then
33391 case "${host}" in
33392 *-pc-msdosdjgpp )
33393 wxUSE_SHARED=no
33394 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33395 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33396 ;;
33397 esac
33398 fi
33399
33400 if test "$wxUSE_SHARED" = "yes"; then
33401
33402
33403 case "${host}" in
33404 *-*-cygwin* | *-*-mingw* )
33405 wx_cv_version_script=no
33406 ;;
33407
33408 *)
33409 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33410 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33411 if test "${wx_cv_version_script+set}" = set; then
33412 echo $ECHO_N "(cached) $ECHO_C" >&6
33413 else
33414
33415 echo "VER_1 { *; };" >conftest.sym
33416 echo "int main() { return 0; }" >conftest.cpp
33417
33418 if { ac_try='
33419 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33420 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; } ; then
33426 if test -s conftest.stderr ; then
33427 wx_cv_version_script=no
33428 else
33429 wx_cv_version_script=yes
33430 fi
33431 else
33432 wx_cv_version_script=no
33433 fi
33434
33435 if test $wx_cv_version_script = yes
33436 then
33437 echo "struct B { virtual ~B() { } }; \
33438 struct D : public B { }; \
33439 void F() { D d; }" > conftest.cpp
33440
33441 if { ac_try='
33442 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33443 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33446 ac_status=$?
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; } &&
33449 { ac_try='
33450 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33451 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33454 ac_status=$?
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; }
33457 then
33458 if { ac_try='
33459 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33460 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33463 ac_status=$?
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; }
33466 then
33467 wx_cv_version_script=yes
33468 else
33469 wx_cv_version_script=no
33470 fi
33471 fi
33472 fi
33473
33474 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33475 rm -f conftest1.output conftest2.output conftest3.output
33476
33477 fi
33478 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33479 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33480
33481 if test $wx_cv_version_script = yes ; then
33482 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33483 fi
33484 ;;
33485 esac
33486
33487
33488 if test "$wxUSE_VISIBILITY" != "no"; then
33489
33490
33491 if test -n "$GCC"; then
33492 CFLAGS_VISIBILITY="-fvisibility=hidden"
33493 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33494 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33495 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33496 if test "${wx_cv_cc_visibility+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 else
33499
33500 wx_save_CXXFLAGS="$CXXFLAGS"
33501 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507
33508 cat >conftest.$ac_ext <<_ACEOF
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514
33515 /* we need gcc >= 4.0, older versions with visibility support
33516 didn't have class visibility: */
33517 #if defined(__GNUC__) && __GNUC__ < 4
33518 error this gcc is too old;
33519 #endif
33520
33521 /* visibility only makes sense for ELF shared libs: */
33522 #if !defined(__ELF__) && !defined(__APPLE__)
33523 error this platform has no visibility;
33524 #endif
33525
33526 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33527 extern __attribute__((__visibility__("default"))) int exportedvar;
33528 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33529 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33530 class __attribute__((__visibility__("default"))) Foo {
33531 Foo() {}
33532 };
33533
33534 int
33535 main ()
33536 {
33537
33538 ;
33539 return 0;
33540 }
33541 _ACEOF
33542 rm -f conftest.$ac_objext
33543 if { (ac_try="$ac_compile"
33544 case "(($ac_try" in
33545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33546 *) ac_try_echo=$ac_try;;
33547 esac
33548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33549 (eval "$ac_compile") 2>conftest.er1
33550 ac_status=$?
33551 grep -v '^ *+' conftest.er1 >conftest.err
33552 rm -f conftest.er1
33553 cat conftest.err >&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } && {
33556 test -z "$ac_cxx_werror_flag" ||
33557 test ! -s conftest.err
33558 } && test -s conftest.$ac_objext; then
33559 wx_cv_cc_visibility=yes
33560 else
33561 echo "$as_me: failed program was:" >&5
33562 sed 's/^/| /' conftest.$ac_ext >&5
33563
33564 wx_cv_cc_visibility=no
33565 fi
33566
33567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33568 ac_ext=c
33569 ac_cpp='$CPP $CPPFLAGS'
33570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33573
33574 CXXFLAGS="$wx_save_CXXFLAGS"
33575 fi
33576
33577 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33578 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33579 if test $wx_cv_cc_visibility = yes; then
33580 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33581 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33582 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33583 echo $ECHO_N "(cached) $ECHO_C" >&6
33584 else
33585
33586 wx_save_CXXFLAGS="$CXXFLAGS"
33587 wx_save_LDFLAGS="$LDFLAGS"
33588 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33589 LDFLAGS="$LDFLAGS -shared -fPIC"
33590 ac_ext=cpp
33591 ac_cpp='$CXXCPP $CPPFLAGS'
33592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33595
33596 cat >conftest.$ac_ext <<_ACEOF
33597 /* confdefs.h. */
33598 _ACEOF
33599 cat confdefs.h >>conftest.$ac_ext
33600 cat >>conftest.$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33602
33603 #include <string>
33604
33605 int
33606 main ()
33607 {
33608
33609 std::string s("hello");
33610 return s.length();
33611
33612 ;
33613 return 0;
33614 }
33615 _ACEOF
33616 rm -f conftest.$ac_objext conftest$ac_exeext
33617 if { (ac_try="$ac_link"
33618 case "(($ac_try" in
33619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33620 *) ac_try_echo=$ac_try;;
33621 esac
33622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33623 (eval "$ac_link") 2>conftest.er1
33624 ac_status=$?
33625 grep -v '^ *+' conftest.er1 >conftest.err
33626 rm -f conftest.er1
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } && {
33630 test -z "$ac_cxx_werror_flag" ||
33631 test ! -s conftest.err
33632 } && test -s conftest$ac_exeext &&
33633 $as_test_x conftest$ac_exeext; then
33634 wx_cv_cc_broken_libstdcxx_visibility=no
33635 else
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33638
33639 wx_cv_cc_broken_libstdcxx_visibility=yes
33640 fi
33641
33642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33643 conftest$ac_exeext conftest.$ac_ext
33644 ac_ext=c
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649
33650 CXXFLAGS="$wx_save_CXXFLAGS"
33651 LDFLAGS="$wx_save_LDFLAGS"
33652 fi
33653
33654 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33655 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33656
33657 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33658 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33659 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33660 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33661 echo $ECHO_N "(cached) $ECHO_C" >&6
33662 else
33663
33664 ac_ext=cpp
33665 ac_cpp='$CXXCPP $CPPFLAGS'
33666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33669
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h. */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676
33677 #pragma GCC visibility push(default)
33678 #include <string>
33679 #pragma GCC visibility pop
33680
33681 int
33682 main ()
33683 {
33684
33685 std::string s("hello");
33686 return s.length();
33687
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (ac_try="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33696 *) ac_try_echo=$ac_try;;
33697 esac
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33700 ac_status=$?
33701 grep -v '^ *+' conftest.er1 >conftest.err
33702 rm -f conftest.er1
33703 cat conftest.err >&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_cxx_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest$ac_exeext &&
33709 $as_test_x conftest$ac_exeext; then
33710 wx_cv_cc_visibility_workaround=no
33711 else
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33714
33715 wx_cv_cc_visibility_workaround=yes
33716 fi
33717
33718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33719 conftest$ac_exeext conftest.$ac_ext
33720 ac_ext=c
33721 ac_cpp='$CPP $CPPFLAGS'
33722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33725
33726
33727 fi
33728
33729 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33730 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33731
33732 if test $wx_cv_cc_visibility_workaround = no; then
33733 wx_cv_cc_visibility=no
33734 fi
33735 fi
33736 fi
33737
33738 if test $wx_cv_cc_visibility = yes; then
33739 cat >>confdefs.h <<\_ACEOF
33740 #define HAVE_VISIBILITY 1
33741 _ACEOF
33742
33743 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33744 cat >>confdefs.h <<\_ACEOF
33745 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33746 _ACEOF
33747
33748 fi
33749 else
33750 CFLAGS_VISIBILITY=""
33751 CXXFLAGS_VISIBILITY=""
33752 fi
33753
33754
33755 fi
33756
33757 fi
33758
33759 if test "x$SUNCXX" = xyes; then
33760 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33761 WXCONFIG_RPATH="-R\$libdir"
33762 else
33763 case "${host}" in
33764 *-*-linux* | *-*-gnu* )
33765 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33766 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33767 ;;
33768
33769 *-*-solaris2* )
33770
33771 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33772
33773 saveLdflags="$LDFLAGS"
33774 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33775 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33776 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33777 cat >conftest.$ac_ext <<_ACEOF
33778 /* confdefs.h. */
33779 _ACEOF
33780 cat confdefs.h >>conftest.$ac_ext
33781 cat >>conftest.$ac_ext <<_ACEOF
33782 /* end confdefs.h. */
33783
33784 int
33785 main ()
33786 {
33787
33788 ;
33789 return 0;
33790 }
33791 _ACEOF
33792 rm -f conftest.$ac_objext conftest$ac_exeext
33793 if { (ac_try="$ac_link"
33794 case "(($ac_try" in
33795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33796 *) ac_try_echo=$ac_try;;
33797 esac
33798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33799 (eval "$ac_link") 2>conftest.er1
33800 ac_status=$?
33801 grep -v '^ *+' conftest.er1 >conftest.err
33802 rm -f conftest.er1
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } && {
33806 test -z "$ac_c_werror_flag" ||
33807 test ! -s conftest.err
33808 } && test -s conftest$ac_exeext &&
33809 $as_test_x conftest$ac_exeext; then
33810
33811 { echo "$as_me:$LINENO: result: yes" >&5
33812 echo "${ECHO_T}yes" >&6; }
33813 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33814 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33815
33816 else
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.$ac_ext >&5
33819
33820
33821 { echo "$as_me:$LINENO: result: no" >&5
33822 echo "${ECHO_T}no" >&6; }
33823 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33824 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33825 LDFLAGS="$saveLdflags -Wl,-R,/"
33826 cat >conftest.$ac_ext <<_ACEOF
33827 /* confdefs.h. */
33828 _ACEOF
33829 cat confdefs.h >>conftest.$ac_ext
33830 cat >>conftest.$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33832
33833 int
33834 main ()
33835 {
33836
33837 ;
33838 return 0;
33839 }
33840 _ACEOF
33841 rm -f conftest.$ac_objext conftest$ac_exeext
33842 if { (ac_try="$ac_link"
33843 case "(($ac_try" in
33844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33845 *) ac_try_echo=$ac_try;;
33846 esac
33847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33848 (eval "$ac_link") 2>conftest.er1
33849 ac_status=$?
33850 grep -v '^ *+' conftest.er1 >conftest.err
33851 rm -f conftest.er1
33852 cat conftest.err >&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } && {
33855 test -z "$ac_c_werror_flag" ||
33856 test ! -s conftest.err
33857 } && test -s conftest$ac_exeext &&
33858 $as_test_x conftest$ac_exeext; then
33859
33860 { echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6; }
33862 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33863 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33864
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33868
33869
33870 { echo "$as_me:$LINENO: result: no" >&5
33871 echo "${ECHO_T}no" >&6; }
33872
33873 fi
33874
33875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33876 conftest$ac_exeext conftest.$ac_ext
33877
33878 fi
33879
33880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33881 conftest$ac_exeext conftest.$ac_ext
33882 LDFLAGS="$saveLdflags"
33883 ;;
33884
33885 *-*-darwin* )
33886 install_name_tool=`which install_name_tool`
33887 if test "$install_name_tool" -a -x "$install_name_tool"; then
33888 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33889 cat <<EOF >change-install-names
33890 #!/bin/sh
33891 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33892 inst_cmd="install_name_tool "
33893 for i in \${libnames} ; do
33894 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33895 done
33896 \${inst_cmd} \${3}
33897 EOF
33898 chmod +x change-install-names
33899 fi
33900
33901 HEADER_PAD_OPTION="-headerpad_max_install_names"
33902 ;;
33903
33904 *-*-cygwin* | *-*-mingw32* )
33905 ;;
33906
33907 *-*-hpux* )
33908 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33909 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33910 ;;
33911
33912 esac
33913 fi
33914
33915 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33916
33917 if test $wxUSE_RPATH = "no"; then
33918 SAMPLES_RPATH_FLAG=''
33919 SAMPLES_RPATH_POSTLINK=''
33920 WXCONFIG_RPATH=''
33921 fi
33922
33923 SHARED=1
33924
33925 else
33926
33927 config_linkage_component="-static"
33928 SHARED=0
33929
33930 fi
33931
33932
33933 UNICODE=0
33934 lib_unicode_suffix=
33935 WX_CHARTYPE="ansi"
33936 if test "$wxUSE_UNICODE" = "yes"; then
33937 lib_unicode_suffix=u
33938 WX_CHARTYPE="unicode"
33939 UNICODE=1
33940 fi
33941
33942 lib_debug_suffix=
33943 WX_DEBUGTYPE="release"
33944 DEBUG_FLAG=0
33945 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33946 lib_debug_suffix=d
33947 WX_DEBUGTYPE="debug"
33948 DEBUG_FLAG=1
33949 fi
33950
33951 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33952 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33953
33954 DEBUG_INFO=0
33955 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33956 DEBUG_INFO=1
33957 fi
33958
33959 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33960
33961 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33962
33963 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33964
33965 if test "$cross_compiling" = "yes"; then
33966 HOST_SUFFIX="-$host_alias"
33967 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33968 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33969 fi
33970
33971 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33972 if test "${TOOLKIT_DIR}" = "os2"; then
33973 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33974 else
33975 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33976 fi
33977
33978
33979
33980 if test "$wxUSE_COCOA" = 1; then
33981
33982 ac_ext=c
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987
33988 ac_ext=m
33989
33990 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33991 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33992 cat >conftest.$ac_ext <<_ACEOF
33993 /* confdefs.h. */
33994 _ACEOF
33995 cat confdefs.h >>conftest.$ac_ext
33996 cat >>conftest.$ac_ext <<_ACEOF
33997 /* end confdefs.h. */
33998 #include <AppKit/NSEvent.h>
33999 #include <CoreFoundation/CoreFoundation.h>
34000
34001 int
34002 main ()
34003 {
34004
34005 ;
34006 return 0;
34007 }
34008 _ACEOF
34009 rm -f conftest.$ac_objext
34010 if { (ac_try="$ac_compile"
34011 case "(($ac_try" in
34012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34013 *) ac_try_echo=$ac_try;;
34014 esac
34015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34016 (eval "$ac_compile") 2>conftest.er1
34017 ac_status=$?
34018 grep -v '^ *+' conftest.er1 >conftest.err
34019 rm -f conftest.er1
34020 cat conftest.err >&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); } && {
34023 test -z "$ac_c_werror_flag" ||
34024 test ! -s conftest.err
34025 } && test -s conftest.$ac_objext; then
34026 { echo "$as_me:$LINENO: result: no" >&5
34027 echo "${ECHO_T}no" >&6; }
34028 else
34029 echo "$as_me: failed program was:" >&5
34030 sed 's/^/| /' conftest.$ac_ext >&5
34031
34032 { echo "$as_me:$LINENO: result: yes" >&5
34033 echo "${ECHO_T}yes" >&6; }
34034 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34035 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34036 cat >conftest.$ac_ext <<_ACEOF
34037 /* confdefs.h. */
34038 _ACEOF
34039 cat confdefs.h >>conftest.$ac_ext
34040 cat >>conftest.$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 #define __Point__ 1
34043 #include <AppKit/NSEvent.h>
34044 #include <CoreFoundation/CoreFoundation.h>
34045
34046 int
34047 main ()
34048 {
34049
34050 ;
34051 return 0;
34052 }
34053 _ACEOF
34054 rm -f conftest.$ac_objext
34055 if { (ac_try="$ac_compile"
34056 case "(($ac_try" in
34057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34058 *) ac_try_echo=$ac_try;;
34059 esac
34060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34061 (eval "$ac_compile") 2>conftest.er1
34062 ac_status=$?
34063 grep -v '^ *+' conftest.er1 >conftest.err
34064 rm -f conftest.er1
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } && {
34068 test -z "$ac_c_werror_flag" ||
34069 test ! -s conftest.err
34070 } && test -s conftest.$ac_objext; then
34071 { echo "$as_me:$LINENO: result: yes" >&5
34072 echo "${ECHO_T}yes" >&6; }
34073 cat >>confdefs.h <<\_ACEOF
34074 #define __Point__ 1
34075 _ACEOF
34076
34077
34078 else
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34081
34082 { { echo "$as_me:$LINENO: error: no
34083 See \`config.log' for more details." >&5
34084 echo "$as_me: error: no
34085 See \`config.log' for more details." >&2;}
34086 { (exit 1); exit 1; }; }
34087
34088 fi
34089
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091
34092 fi
34093
34094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34095 ac_ext=c
34096 ac_cpp='$CPP $CPPFLAGS'
34097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100
34101 fi
34102
34103
34104 { echo "$as_me:$LINENO: checking for mode_t" >&5
34105 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34106 if test "${ac_cv_type_mode_t+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 else
34109 cat >conftest.$ac_ext <<_ACEOF
34110 /* confdefs.h. */
34111 _ACEOF
34112 cat confdefs.h >>conftest.$ac_ext
34113 cat >>conftest.$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 $ac_includes_default
34116 typedef mode_t ac__type_new_;
34117 int
34118 main ()
34119 {
34120 if ((ac__type_new_ *) 0)
34121 return 0;
34122 if (sizeof (ac__type_new_))
34123 return 0;
34124 ;
34125 return 0;
34126 }
34127 _ACEOF
34128 rm -f conftest.$ac_objext
34129 if { (ac_try="$ac_compile"
34130 case "(($ac_try" in
34131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34132 *) ac_try_echo=$ac_try;;
34133 esac
34134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34135 (eval "$ac_compile") 2>conftest.er1
34136 ac_status=$?
34137 grep -v '^ *+' conftest.er1 >conftest.err
34138 rm -f conftest.er1
34139 cat conftest.err >&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } && {
34142 test -z "$ac_c_werror_flag" ||
34143 test ! -s conftest.err
34144 } && test -s conftest.$ac_objext; then
34145 ac_cv_type_mode_t=yes
34146 else
34147 echo "$as_me: failed program was:" >&5
34148 sed 's/^/| /' conftest.$ac_ext >&5
34149
34150 ac_cv_type_mode_t=no
34151 fi
34152
34153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34154 fi
34155 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34156 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34157 if test $ac_cv_type_mode_t = yes; then
34158 :
34159 else
34160
34161 cat >>confdefs.h <<_ACEOF
34162 #define mode_t int
34163 _ACEOF
34164
34165 fi
34166
34167 { echo "$as_me:$LINENO: checking for off_t" >&5
34168 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34169 if test "${ac_cv_type_off_t+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34171 else
34172 cat >conftest.$ac_ext <<_ACEOF
34173 /* confdefs.h. */
34174 _ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178 $ac_includes_default
34179 typedef off_t ac__type_new_;
34180 int
34181 main ()
34182 {
34183 if ((ac__type_new_ *) 0)
34184 return 0;
34185 if (sizeof (ac__type_new_))
34186 return 0;
34187 ;
34188 return 0;
34189 }
34190 _ACEOF
34191 rm -f conftest.$ac_objext
34192 if { (ac_try="$ac_compile"
34193 case "(($ac_try" in
34194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34195 *) ac_try_echo=$ac_try;;
34196 esac
34197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34198 (eval "$ac_compile") 2>conftest.er1
34199 ac_status=$?
34200 grep -v '^ *+' conftest.er1 >conftest.err
34201 rm -f conftest.er1
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } && {
34205 test -z "$ac_c_werror_flag" ||
34206 test ! -s conftest.err
34207 } && test -s conftest.$ac_objext; then
34208 ac_cv_type_off_t=yes
34209 else
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.$ac_ext >&5
34212
34213 ac_cv_type_off_t=no
34214 fi
34215
34216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34217 fi
34218 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34219 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34220 if test $ac_cv_type_off_t = yes; then
34221 :
34222 else
34223
34224 cat >>confdefs.h <<_ACEOF
34225 #define off_t long int
34226 _ACEOF
34227
34228 fi
34229
34230 { echo "$as_me:$LINENO: checking for pid_t" >&5
34231 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34232 if test "${ac_cv_type_pid_t+set}" = set; then
34233 echo $ECHO_N "(cached) $ECHO_C" >&6
34234 else
34235 cat >conftest.$ac_ext <<_ACEOF
34236 /* confdefs.h. */
34237 _ACEOF
34238 cat confdefs.h >>conftest.$ac_ext
34239 cat >>conftest.$ac_ext <<_ACEOF
34240 /* end confdefs.h. */
34241 $ac_includes_default
34242 typedef pid_t ac__type_new_;
34243 int
34244 main ()
34245 {
34246 if ((ac__type_new_ *) 0)
34247 return 0;
34248 if (sizeof (ac__type_new_))
34249 return 0;
34250 ;
34251 return 0;
34252 }
34253 _ACEOF
34254 rm -f conftest.$ac_objext
34255 if { (ac_try="$ac_compile"
34256 case "(($ac_try" in
34257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34258 *) ac_try_echo=$ac_try;;
34259 esac
34260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34261 (eval "$ac_compile") 2>conftest.er1
34262 ac_status=$?
34263 grep -v '^ *+' conftest.er1 >conftest.err
34264 rm -f conftest.er1
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } && {
34268 test -z "$ac_c_werror_flag" ||
34269 test ! -s conftest.err
34270 } && test -s conftest.$ac_objext; then
34271 ac_cv_type_pid_t=yes
34272 else
34273 echo "$as_me: failed program was:" >&5
34274 sed 's/^/| /' conftest.$ac_ext >&5
34275
34276 ac_cv_type_pid_t=no
34277 fi
34278
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280 fi
34281 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34282 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34283 if test $ac_cv_type_pid_t = yes; then
34284 :
34285 else
34286
34287 cat >>confdefs.h <<_ACEOF
34288 #define pid_t int
34289 _ACEOF
34290
34291 fi
34292
34293 { echo "$as_me:$LINENO: checking for size_t" >&5
34294 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34295 if test "${ac_cv_type_size_t+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304 $ac_includes_default
34305 typedef size_t ac__type_new_;
34306 int
34307 main ()
34308 {
34309 if ((ac__type_new_ *) 0)
34310 return 0;
34311 if (sizeof (ac__type_new_))
34312 return 0;
34313 ;
34314 return 0;
34315 }
34316 _ACEOF
34317 rm -f conftest.$ac_objext
34318 if { (ac_try="$ac_compile"
34319 case "(($ac_try" in
34320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34321 *) ac_try_echo=$ac_try;;
34322 esac
34323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34324 (eval "$ac_compile") 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } && {
34331 test -z "$ac_c_werror_flag" ||
34332 test ! -s conftest.err
34333 } && test -s conftest.$ac_objext; then
34334 ac_cv_type_size_t=yes
34335 else
34336 echo "$as_me: failed program was:" >&5
34337 sed 's/^/| /' conftest.$ac_ext >&5
34338
34339 ac_cv_type_size_t=no
34340 fi
34341
34342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34343 fi
34344 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34345 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34346 if test $ac_cv_type_size_t = yes; then
34347 :
34348 else
34349
34350 cat >>confdefs.h <<_ACEOF
34351 #define size_t unsigned int
34352 _ACEOF
34353
34354 fi
34355
34356
34357 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34358 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34359 if test "${ac_cv_type_ssize_t+set}" = set; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34361 else
34362 cat >conftest.$ac_ext <<_ACEOF
34363 /* confdefs.h. */
34364 _ACEOF
34365 cat confdefs.h >>conftest.$ac_ext
34366 cat >>conftest.$ac_ext <<_ACEOF
34367 /* end confdefs.h. */
34368 $ac_includes_default
34369 typedef ssize_t ac__type_new_;
34370 int
34371 main ()
34372 {
34373 if ((ac__type_new_ *) 0)
34374 return 0;
34375 if (sizeof (ac__type_new_))
34376 return 0;
34377 ;
34378 return 0;
34379 }
34380 _ACEOF
34381 rm -f conftest.$ac_objext
34382 if { (ac_try="$ac_compile"
34383 case "(($ac_try" in
34384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34385 *) ac_try_echo=$ac_try;;
34386 esac
34387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34388 (eval "$ac_compile") 2>conftest.er1
34389 ac_status=$?
34390 grep -v '^ *+' conftest.er1 >conftest.err
34391 rm -f conftest.er1
34392 cat conftest.err >&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } && {
34395 test -z "$ac_c_werror_flag" ||
34396 test ! -s conftest.err
34397 } && test -s conftest.$ac_objext; then
34398 ac_cv_type_ssize_t=yes
34399 else
34400 echo "$as_me: failed program was:" >&5
34401 sed 's/^/| /' conftest.$ac_ext >&5
34402
34403 ac_cv_type_ssize_t=no
34404 fi
34405
34406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34407 fi
34408 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34409 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34410 if test $ac_cv_type_ssize_t = yes; then
34411
34412 cat >>confdefs.h <<_ACEOF
34413 #define HAVE_SSIZE_T 1
34414 _ACEOF
34415
34416
34417 fi
34418
34419
34420 ac_ext=cpp
34421 ac_cpp='$CXXCPP $CPPFLAGS'
34422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34425 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34426 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34427 if test "${wx_cv_size_t_is_uint+set}" = set; then
34428 echo $ECHO_N "(cached) $ECHO_C" >&6
34429 else
34430
34431 cat >conftest.$ac_ext <<_ACEOF
34432 /* confdefs.h. */
34433 _ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 #include <stddef.h>
34438 int
34439 main ()
34440 {
34441
34442 return 0; }
34443
34444 struct Foo { void foo(size_t); void foo(unsigned int); };
34445
34446 int bar() {
34447
34448 ;
34449 return 0;
34450 }
34451 _ACEOF
34452 rm -f conftest.$ac_objext
34453 if { (ac_try="$ac_compile"
34454 case "(($ac_try" in
34455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34456 *) ac_try_echo=$ac_try;;
34457 esac
34458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34459 (eval "$ac_compile") 2>conftest.er1
34460 ac_status=$?
34461 grep -v '^ *+' conftest.er1 >conftest.err
34462 rm -f conftest.er1
34463 cat conftest.err >&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } && {
34466 test -z "$ac_cxx_werror_flag" ||
34467 test ! -s conftest.err
34468 } && test -s conftest.$ac_objext; then
34469 wx_cv_size_t_is_uint=no
34470 else
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 wx_cv_size_t_is_uint=yes
34475
34476 fi
34477
34478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34479
34480
34481 fi
34482 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34483 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34484
34485 if test "$wx_cv_size_t_is_uint" = "yes"; then
34486 cat >>confdefs.h <<\_ACEOF
34487 #define wxSIZE_T_IS_UINT 1
34488 _ACEOF
34489
34490 else
34491 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34492 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34493 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34494 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 else
34496 cat >conftest.$ac_ext <<_ACEOF
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502 #include <stddef.h>
34503 int
34504 main ()
34505 {
34506
34507 return 0; }
34508
34509 struct Foo { void foo(size_t); void foo(unsigned long); };
34510
34511 int bar() {
34512
34513 ;
34514 return 0;
34515 }
34516 _ACEOF
34517 rm -f conftest.$ac_objext
34518 if { (ac_try="$ac_compile"
34519 case "(($ac_try" in
34520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34521 *) ac_try_echo=$ac_try;;
34522 esac
34523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34524 (eval "$ac_compile") 2>conftest.er1
34525 ac_status=$?
34526 grep -v '^ *+' conftest.er1 >conftest.err
34527 rm -f conftest.er1
34528 cat conftest.err >&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); } && {
34531 test -z "$ac_cxx_werror_flag" ||
34532 test ! -s conftest.err
34533 } && test -s conftest.$ac_objext; then
34534 wx_cv_size_t_is_ulong=no
34535 else
34536 echo "$as_me: failed program was:" >&5
34537 sed 's/^/| /' conftest.$ac_ext >&5
34538
34539 wx_cv_size_t_is_ulong=yes
34540
34541 fi
34542
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544
34545 fi
34546 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34547 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34548
34549 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34550 cat >>confdefs.h <<\_ACEOF
34551 #define wxSIZE_T_IS_ULONG 1
34552 _ACEOF
34553
34554 fi
34555 fi
34556
34557 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34558 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34559 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34560 echo $ECHO_N "(cached) $ECHO_C" >&6
34561 else
34562 cat >conftest.$ac_ext <<_ACEOF
34563 /* confdefs.h. */
34564 _ACEOF
34565 cat confdefs.h >>conftest.$ac_ext
34566 cat >>conftest.$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568 #include <wchar.h>
34569 int
34570 main ()
34571 {
34572
34573 return 0; }
34574
34575 struct Foo { void foo(wchar_t);
34576 void foo(unsigned short);
34577 void foo(unsigned int);
34578 void foo(unsigned long); };
34579
34580 int bar() {
34581
34582 ;
34583 return 0;
34584 }
34585 _ACEOF
34586 rm -f conftest.$ac_objext
34587 if { (ac_try="$ac_compile"
34588 case "(($ac_try" in
34589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34590 *) ac_try_echo=$ac_try;;
34591 esac
34592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34593 (eval "$ac_compile") 2>conftest.er1
34594 ac_status=$?
34595 grep -v '^ *+' conftest.er1 >conftest.err
34596 rm -f conftest.er1
34597 cat conftest.err >&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); } && {
34600 test -z "$ac_cxx_werror_flag" ||
34601 test ! -s conftest.err
34602 } && test -s conftest.$ac_objext; then
34603 wx_cv_wchar_t_is_separate_type=yes
34604 else
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34607
34608 wx_cv_wchar_t_is_separate_type=no
34609
34610 fi
34611
34612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34613
34614 fi
34615 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34616 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34617
34618 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34619 cat >>confdefs.h <<\_ACEOF
34620 #define wxWCHAR_T_IS_REAL_TYPE 1
34621 _ACEOF
34622
34623 else
34624 cat >>confdefs.h <<\_ACEOF
34625 #define wxWCHAR_T_IS_REAL_TYPE 0
34626 _ACEOF
34627
34628 fi
34629
34630 ac_ext=c
34631 ac_cpp='$CPP $CPPFLAGS'
34632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34635
34636
34637 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34638 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34639 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34640 echo $ECHO_N "(cached) $ECHO_C" >&6
34641 else
34642
34643 cat >conftest.$ac_ext <<_ACEOF
34644 /* confdefs.h. */
34645 _ACEOF
34646 cat confdefs.h >>conftest.$ac_ext
34647 cat >>conftest.$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34649 #include <pwd.h>
34650 int
34651 main ()
34652 {
34653
34654 char *p;
34655 struct passwd *pw;
34656 p = pw->pw_gecos;
34657
34658 ;
34659 return 0;
34660 }
34661 _ACEOF
34662 rm -f conftest.$ac_objext
34663 if { (ac_try="$ac_compile"
34664 case "(($ac_try" in
34665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34666 *) ac_try_echo=$ac_try;;
34667 esac
34668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34669 (eval "$ac_compile") 2>conftest.er1
34670 ac_status=$?
34671 grep -v '^ *+' conftest.er1 >conftest.err
34672 rm -f conftest.er1
34673 cat conftest.err >&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } && {
34676 test -z "$ac_c_werror_flag" ||
34677 test ! -s conftest.err
34678 } && test -s conftest.$ac_objext; then
34679
34680 wx_cv_struct_pw_gecos=yes
34681
34682 else
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34685
34686
34687 wx_cv_struct_pw_gecos=no
34688
34689
34690 fi
34691
34692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34693
34694
34695 fi
34696 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34697 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34698
34699 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34700 cat >>confdefs.h <<\_ACEOF
34701 #define HAVE_PW_GECOS 1
34702 _ACEOF
34703
34704 fi
34705
34706
34707 if test "$wxUSE_WCHAR_T" = "yes"; then
34708 cat >>confdefs.h <<\_ACEOF
34709 #define wxUSE_WCHAR_T 1
34710 _ACEOF
34711
34712
34713 WCSLEN_FOUND=0
34714 WCHAR_LINK=
34715
34716 for ac_func in wcslen
34717 do
34718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724 cat >conftest.$ac_ext <<_ACEOF
34725 /* confdefs.h. */
34726 _ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34732 #define $ac_func innocuous_$ac_func
34733
34734 /* System header to define __stub macros and hopefully few prototypes,
34735 which can conflict with char $ac_func (); below.
34736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34737 <limits.h> exists even on freestanding compilers. */
34738
34739 #ifdef __STDC__
34740 # include <limits.h>
34741 #else
34742 # include <assert.h>
34743 #endif
34744
34745 #undef $ac_func
34746
34747 /* Override any GCC internal prototype to avoid an error.
34748 Use char because int might match the return type of a GCC
34749 builtin and then its argument prototype would still apply. */
34750 #ifdef __cplusplus
34751 extern "C"
34752 #endif
34753 char $ac_func ();
34754 /* The GNU C library defines this for functions which it implements
34755 to always fail with ENOSYS. Some functions are actually named
34756 something starting with __ and the normal name is an alias. */
34757 #if defined __stub_$ac_func || defined __stub___$ac_func
34758 choke me
34759 #endif
34760
34761 int
34762 main ()
34763 {
34764 return $ac_func ();
34765 ;
34766 return 0;
34767 }
34768 _ACEOF
34769 rm -f conftest.$ac_objext conftest$ac_exeext
34770 if { (ac_try="$ac_link"
34771 case "(($ac_try" in
34772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34773 *) ac_try_echo=$ac_try;;
34774 esac
34775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34776 (eval "$ac_link") 2>conftest.er1
34777 ac_status=$?
34778 grep -v '^ *+' conftest.er1 >conftest.err
34779 rm -f conftest.er1
34780 cat conftest.err >&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); } && {
34783 test -z "$ac_c_werror_flag" ||
34784 test ! -s conftest.err
34785 } && test -s conftest$ac_exeext &&
34786 $as_test_x conftest$ac_exeext; then
34787 eval "$as_ac_var=yes"
34788 else
34789 echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34791
34792 eval "$as_ac_var=no"
34793 fi
34794
34795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34796 conftest$ac_exeext conftest.$ac_ext
34797 fi
34798 ac_res=`eval echo '${'$as_ac_var'}'`
34799 { echo "$as_me:$LINENO: result: $ac_res" >&5
34800 echo "${ECHO_T}$ac_res" >&6; }
34801 if test `eval echo '${'$as_ac_var'}'` = yes; then
34802 cat >>confdefs.h <<_ACEOF
34803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34804 _ACEOF
34805 WCSLEN_FOUND=1
34806 fi
34807 done
34808
34809
34810 if test "$WCSLEN_FOUND" = 0; then
34811 if test "$TOOLKIT" = "MSW"; then
34812 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34813 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34814 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34816 else
34817 ac_check_lib_save_LIBS=$LIBS
34818 LIBS="-lmsvcrt $LIBS"
34819 cat >conftest.$ac_ext <<_ACEOF
34820 /* confdefs.h. */
34821 _ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34825
34826 /* Override any GCC internal prototype to avoid an error.
34827 Use char because int might match the return type of a GCC
34828 builtin and then its argument prototype would still apply. */
34829 #ifdef __cplusplus
34830 extern "C"
34831 #endif
34832 char wcslen ();
34833 int
34834 main ()
34835 {
34836 return wcslen ();
34837 ;
34838 return 0;
34839 }
34840 _ACEOF
34841 rm -f conftest.$ac_objext conftest$ac_exeext
34842 if { (ac_try="$ac_link"
34843 case "(($ac_try" in
34844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34845 *) ac_try_echo=$ac_try;;
34846 esac
34847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34848 (eval "$ac_link") 2>conftest.er1
34849 ac_status=$?
34850 grep -v '^ *+' conftest.er1 >conftest.err
34851 rm -f conftest.er1
34852 cat conftest.err >&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); } && {
34855 test -z "$ac_c_werror_flag" ||
34856 test ! -s conftest.err
34857 } && test -s conftest$ac_exeext &&
34858 $as_test_x conftest$ac_exeext; then
34859 ac_cv_lib_msvcrt_wcslen=yes
34860 else
34861 echo "$as_me: failed program was:" >&5
34862 sed 's/^/| /' conftest.$ac_ext >&5
34863
34864 ac_cv_lib_msvcrt_wcslen=no
34865 fi
34866
34867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34868 conftest$ac_exeext conftest.$ac_ext
34869 LIBS=$ac_check_lib_save_LIBS
34870 fi
34871 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34872 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34873 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34874 WCHAR_OK=1
34875 fi
34876
34877 else
34878 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34879 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34880 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 else
34883 ac_check_lib_save_LIBS=$LIBS
34884 LIBS="-lw $LIBS"
34885 cat >conftest.$ac_ext <<_ACEOF
34886 /* confdefs.h. */
34887 _ACEOF
34888 cat confdefs.h >>conftest.$ac_ext
34889 cat >>conftest.$ac_ext <<_ACEOF
34890 /* end confdefs.h. */
34891
34892 /* Override any GCC internal prototype to avoid an error.
34893 Use char because int might match the return type of a GCC
34894 builtin and then its argument prototype would still apply. */
34895 #ifdef __cplusplus
34896 extern "C"
34897 #endif
34898 char wcslen ();
34899 int
34900 main ()
34901 {
34902 return wcslen ();
34903 ;
34904 return 0;
34905 }
34906 _ACEOF
34907 rm -f conftest.$ac_objext conftest$ac_exeext
34908 if { (ac_try="$ac_link"
34909 case "(($ac_try" in
34910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34911 *) ac_try_echo=$ac_try;;
34912 esac
34913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34914 (eval "$ac_link") 2>conftest.er1
34915 ac_status=$?
34916 grep -v '^ *+' conftest.er1 >conftest.err
34917 rm -f conftest.er1
34918 cat conftest.err >&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } && {
34921 test -z "$ac_c_werror_flag" ||
34922 test ! -s conftest.err
34923 } && test -s conftest$ac_exeext &&
34924 $as_test_x conftest$ac_exeext; then
34925 ac_cv_lib_w_wcslen=yes
34926 else
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.$ac_ext >&5
34929
34930 ac_cv_lib_w_wcslen=no
34931 fi
34932
34933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34934 conftest$ac_exeext conftest.$ac_ext
34935 LIBS=$ac_check_lib_save_LIBS
34936 fi
34937 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34938 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34939 if test $ac_cv_lib_w_wcslen = yes; then
34940
34941 WCHAR_LINK=" -lw"
34942 WCSLEN_FOUND=1
34943
34944 fi
34945
34946 fi
34947 fi
34948
34949 if test "$WCSLEN_FOUND" = 1; then
34950 cat >>confdefs.h <<\_ACEOF
34951 #define HAVE_WCSLEN 1
34952 _ACEOF
34953
34954 fi
34955
34956
34957 for ac_func in wcsdup
34958 do
34959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34962 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 else
34965 cat >conftest.$ac_ext <<_ACEOF
34966 /* confdefs.h. */
34967 _ACEOF
34968 cat confdefs.h >>conftest.$ac_ext
34969 cat >>conftest.$ac_ext <<_ACEOF
34970 /* end confdefs.h. */
34971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34973 #define $ac_func innocuous_$ac_func
34974
34975 /* System header to define __stub macros and hopefully few prototypes,
34976 which can conflict with char $ac_func (); below.
34977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34978 <limits.h> exists even on freestanding compilers. */
34979
34980 #ifdef __STDC__
34981 # include <limits.h>
34982 #else
34983 # include <assert.h>
34984 #endif
34985
34986 #undef $ac_func
34987
34988 /* Override any GCC internal prototype to avoid an error.
34989 Use char because int might match the return type of a GCC
34990 builtin and then its argument prototype would still apply. */
34991 #ifdef __cplusplus
34992 extern "C"
34993 #endif
34994 char $ac_func ();
34995 /* The GNU C library defines this for functions which it implements
34996 to always fail with ENOSYS. Some functions are actually named
34997 something starting with __ and the normal name is an alias. */
34998 #if defined __stub_$ac_func || defined __stub___$ac_func
34999 choke me
35000 #endif
35001
35002 int
35003 main ()
35004 {
35005 return $ac_func ();
35006 ;
35007 return 0;
35008 }
35009 _ACEOF
35010 rm -f conftest.$ac_objext conftest$ac_exeext
35011 if { (ac_try="$ac_link"
35012 case "(($ac_try" in
35013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35014 *) ac_try_echo=$ac_try;;
35015 esac
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_link") 2>conftest.er1
35018 ac_status=$?
35019 grep -v '^ *+' conftest.er1 >conftest.err
35020 rm -f conftest.er1
35021 cat conftest.err >&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest$ac_exeext &&
35027 $as_test_x conftest$ac_exeext; then
35028 eval "$as_ac_var=yes"
35029 else
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35032
35033 eval "$as_ac_var=no"
35034 fi
35035
35036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35037 conftest$ac_exeext conftest.$ac_ext
35038 fi
35039 ac_res=`eval echo '${'$as_ac_var'}'`
35040 { echo "$as_me:$LINENO: result: $ac_res" >&5
35041 echo "${ECHO_T}$ac_res" >&6; }
35042 if test `eval echo '${'$as_ac_var'}'` = yes; then
35043 cat >>confdefs.h <<_ACEOF
35044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35045 _ACEOF
35046
35047 fi
35048 done
35049
35050
35051 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35052 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35053 fi
35054
35055 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35056 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35057 if test "${ac_cv_type_mbstate_t+set}" = set; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 else
35060 cat >conftest.$ac_ext <<_ACEOF
35061 /* confdefs.h. */
35062 _ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 #include <wchar.h>
35067
35068 typedef mbstate_t ac__type_new_;
35069 int
35070 main ()
35071 {
35072 if ((ac__type_new_ *) 0)
35073 return 0;
35074 if (sizeof (ac__type_new_))
35075 return 0;
35076 ;
35077 return 0;
35078 }
35079 _ACEOF
35080 rm -f conftest.$ac_objext
35081 if { (ac_try="$ac_compile"
35082 case "(($ac_try" in
35083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35084 *) ac_try_echo=$ac_try;;
35085 esac
35086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35087 (eval "$ac_compile") 2>conftest.er1
35088 ac_status=$?
35089 grep -v '^ *+' conftest.er1 >conftest.err
35090 rm -f conftest.er1
35091 cat conftest.err >&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } && {
35094 test -z "$ac_c_werror_flag" ||
35095 test ! -s conftest.err
35096 } && test -s conftest.$ac_objext; then
35097 ac_cv_type_mbstate_t=yes
35098 else
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.$ac_ext >&5
35101
35102 ac_cv_type_mbstate_t=no
35103 fi
35104
35105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35106 fi
35107 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35108 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35109 if test $ac_cv_type_mbstate_t = yes; then
35110
35111 cat >>confdefs.h <<_ACEOF
35112 #define HAVE_MBSTATE_T 1
35113 _ACEOF
35114
35115
35116 for ac_func in wcsrtombs
35117 do
35118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 else
35124 cat >conftest.$ac_ext <<_ACEOF
35125 /* confdefs.h. */
35126 _ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35132 #define $ac_func innocuous_$ac_func
35133
35134 /* System header to define __stub macros and hopefully few prototypes,
35135 which can conflict with char $ac_func (); below.
35136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35137 <limits.h> exists even on freestanding compilers. */
35138
35139 #ifdef __STDC__
35140 # include <limits.h>
35141 #else
35142 # include <assert.h>
35143 #endif
35144
35145 #undef $ac_func
35146
35147 /* Override any GCC internal prototype to avoid an error.
35148 Use char because int might match the return type of a GCC
35149 builtin and then its argument prototype would still apply. */
35150 #ifdef __cplusplus
35151 extern "C"
35152 #endif
35153 char $ac_func ();
35154 /* The GNU C library defines this for functions which it implements
35155 to always fail with ENOSYS. Some functions are actually named
35156 something starting with __ and the normal name is an alias. */
35157 #if defined __stub_$ac_func || defined __stub___$ac_func
35158 choke me
35159 #endif
35160
35161 int
35162 main ()
35163 {
35164 return $ac_func ();
35165 ;
35166 return 0;
35167 }
35168 _ACEOF
35169 rm -f conftest.$ac_objext conftest$ac_exeext
35170 if { (ac_try="$ac_link"
35171 case "(($ac_try" in
35172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35173 *) ac_try_echo=$ac_try;;
35174 esac
35175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35176 (eval "$ac_link") 2>conftest.er1
35177 ac_status=$?
35178 grep -v '^ *+' conftest.er1 >conftest.err
35179 rm -f conftest.er1
35180 cat conftest.err >&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } && {
35183 test -z "$ac_c_werror_flag" ||
35184 test ! -s conftest.err
35185 } && test -s conftest$ac_exeext &&
35186 $as_test_x conftest$ac_exeext; then
35187 eval "$as_ac_var=yes"
35188 else
35189 echo "$as_me: failed program was:" >&5
35190 sed 's/^/| /' conftest.$ac_ext >&5
35191
35192 eval "$as_ac_var=no"
35193 fi
35194
35195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35196 conftest$ac_exeext conftest.$ac_ext
35197 fi
35198 ac_res=`eval echo '${'$as_ac_var'}'`
35199 { echo "$as_me:$LINENO: result: $ac_res" >&5
35200 echo "${ECHO_T}$ac_res" >&6; }
35201 if test `eval echo '${'$as_ac_var'}'` = yes; then
35202 cat >>confdefs.h <<_ACEOF
35203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35204 _ACEOF
35205
35206 fi
35207 done
35208
35209 fi
35210
35211 else
35212 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35213 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35214 fi
35215
35216
35217
35218
35219 for ac_func in snprintf vsnprintf vsscanf
35220 do
35221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35222 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35224 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35226 else
35227 cat >conftest.$ac_ext <<_ACEOF
35228 /* confdefs.h. */
35229 _ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35235 #define $ac_func innocuous_$ac_func
35236
35237 /* System header to define __stub macros and hopefully few prototypes,
35238 which can conflict with char $ac_func (); below.
35239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35240 <limits.h> exists even on freestanding compilers. */
35241
35242 #ifdef __STDC__
35243 # include <limits.h>
35244 #else
35245 # include <assert.h>
35246 #endif
35247
35248 #undef $ac_func
35249
35250 /* Override any GCC internal prototype to avoid an error.
35251 Use char because int might match the return type of a GCC
35252 builtin and then its argument prototype would still apply. */
35253 #ifdef __cplusplus
35254 extern "C"
35255 #endif
35256 char $ac_func ();
35257 /* The GNU C library defines this for functions which it implements
35258 to always fail with ENOSYS. Some functions are actually named
35259 something starting with __ and the normal name is an alias. */
35260 #if defined __stub_$ac_func || defined __stub___$ac_func
35261 choke me
35262 #endif
35263
35264 int
35265 main ()
35266 {
35267 return $ac_func ();
35268 ;
35269 return 0;
35270 }
35271 _ACEOF
35272 rm -f conftest.$ac_objext conftest$ac_exeext
35273 if { (ac_try="$ac_link"
35274 case "(($ac_try" in
35275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35276 *) ac_try_echo=$ac_try;;
35277 esac
35278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35279 (eval "$ac_link") 2>conftest.er1
35280 ac_status=$?
35281 grep -v '^ *+' conftest.er1 >conftest.err
35282 rm -f conftest.er1
35283 cat conftest.err >&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); } && {
35286 test -z "$ac_c_werror_flag" ||
35287 test ! -s conftest.err
35288 } && test -s conftest$ac_exeext &&
35289 $as_test_x conftest$ac_exeext; then
35290 eval "$as_ac_var=yes"
35291 else
35292 echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.$ac_ext >&5
35294
35295 eval "$as_ac_var=no"
35296 fi
35297
35298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35299 conftest$ac_exeext conftest.$ac_ext
35300 fi
35301 ac_res=`eval echo '${'$as_ac_var'}'`
35302 { echo "$as_me:$LINENO: result: $ac_res" >&5
35303 echo "${ECHO_T}$ac_res" >&6; }
35304 if test `eval echo '${'$as_ac_var'}'` = yes; then
35305 cat >>confdefs.h <<_ACEOF
35306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35307 _ACEOF
35308
35309 fi
35310 done
35311
35312
35313 ac_ext=cpp
35314 ac_cpp='$CXXCPP $CPPFLAGS'
35315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35318
35319 if test "$ac_cv_func_vsnprintf" = "yes"; then
35320 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35321 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35322 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35323 echo $ECHO_N "(cached) $ECHO_C" >&6
35324 else
35325
35326 cat >conftest.$ac_ext <<_ACEOF
35327 /* confdefs.h. */
35328 _ACEOF
35329 cat confdefs.h >>conftest.$ac_ext
35330 cat >>conftest.$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35332
35333 #include <stdio.h>
35334 #include <stdarg.h>
35335 #ifdef __MSL__
35336 #if __MSL__ >= 0x6000
35337 namespace std {}
35338 using namespace std;
35339 #endif
35340 #endif
35341
35342 int
35343 main ()
35344 {
35345
35346 char *buf;
35347 va_list ap;
35348 vsnprintf(buf, 10u, "%s", ap);
35349
35350 ;
35351 return 0;
35352 }
35353 _ACEOF
35354 rm -f conftest.$ac_objext
35355 if { (ac_try="$ac_compile"
35356 case "(($ac_try" in
35357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35358 *) ac_try_echo=$ac_try;;
35359 esac
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_compile") 2>conftest.er1
35362 ac_status=$?
35363 grep -v '^ *+' conftest.er1 >conftest.err
35364 rm -f conftest.er1
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } && {
35368 test -z "$ac_cxx_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest.$ac_objext; then
35371 wx_cv_func_vsnprintf_decl=yes
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35375
35376 wx_cv_func_vsnprintf_decl=no
35377
35378 fi
35379
35380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35381
35382
35383 fi
35384 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35385 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35386
35387 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35388 cat >>confdefs.h <<\_ACEOF
35389 #define HAVE_VSNPRINTF_DECL 1
35390 _ACEOF
35391
35392
35393 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35394 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35395 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 else
35398
35399 cat >conftest.$ac_ext <<_ACEOF
35400 /* confdefs.h. */
35401 _ACEOF
35402 cat confdefs.h >>conftest.$ac_ext
35403 cat >>conftest.$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35405
35406 #include <stdio.h>
35407 #include <stdarg.h>
35408 #ifdef __MSL__
35409 #if __MSL__ >= 0x6000
35410 namespace std {}
35411 using namespace std;
35412 #endif
35413 #endif
35414
35415 int
35416 main ()
35417 {
35418
35419 char *buf;
35420 va_list ap;
35421 const char *fmt = "%s";
35422 vsnprintf(buf, 10u, fmt, ap);
35423
35424 ;
35425 return 0;
35426 }
35427 _ACEOF
35428 rm -f conftest.$ac_objext
35429 if { (ac_try="$ac_compile"
35430 case "(($ac_try" in
35431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35432 *) ac_try_echo=$ac_try;;
35433 esac
35434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35435 (eval "$ac_compile") 2>conftest.er1
35436 ac_status=$?
35437 grep -v '^ *+' conftest.er1 >conftest.err
35438 rm -f conftest.er1
35439 cat conftest.err >&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); } && {
35442 test -z "$ac_cxx_werror_flag" ||
35443 test ! -s conftest.err
35444 } && test -s conftest.$ac_objext; then
35445 wx_cv_func_broken_vsnprintf_decl=no
35446 else
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 wx_cv_func_broken_vsnprintf_decl=yes
35451
35452 fi
35453
35454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35455
35456
35457 fi
35458 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35459 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35460
35461 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35462 cat >>confdefs.h <<\_ACEOF
35463 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35464 _ACEOF
35465
35466 fi
35467 fi
35468 fi
35469
35470 if test "$ac_cv_func_snprintf" = "yes"; then
35471 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35472 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35473 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35475 else
35476
35477 cat >conftest.$ac_ext <<_ACEOF
35478 /* confdefs.h. */
35479 _ACEOF
35480 cat confdefs.h >>conftest.$ac_ext
35481 cat >>conftest.$ac_ext <<_ACEOF
35482 /* end confdefs.h. */
35483
35484 #include <stdio.h>
35485 #include <stdarg.h>
35486 #ifdef __MSL__
35487 #if __MSL__ >= 0x6000
35488 namespace std {}
35489 using namespace std;
35490 #endif
35491 #endif
35492
35493 int
35494 main ()
35495 {
35496
35497 char *buf;
35498 snprintf(buf, 10u, "%s", "wx");
35499
35500 ;
35501 return 0;
35502 }
35503 _ACEOF
35504 rm -f conftest.$ac_objext
35505 if { (ac_try="$ac_compile"
35506 case "(($ac_try" in
35507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35508 *) ac_try_echo=$ac_try;;
35509 esac
35510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35511 (eval "$ac_compile") 2>conftest.er1
35512 ac_status=$?
35513 grep -v '^ *+' conftest.er1 >conftest.err
35514 rm -f conftest.er1
35515 cat conftest.err >&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); } && {
35518 test -z "$ac_cxx_werror_flag" ||
35519 test ! -s conftest.err
35520 } && test -s conftest.$ac_objext; then
35521 wx_cv_func_snprintf_decl=yes
35522 else
35523 echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.$ac_ext >&5
35525
35526 wx_cv_func_snprintf_decl=no
35527
35528 fi
35529
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531
35532
35533 fi
35534 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35535 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35536
35537 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35538 cat >>confdefs.h <<\_ACEOF
35539 #define HAVE_SNPRINTF_DECL 1
35540 _ACEOF
35541
35542 fi
35543
35544 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35545
35546 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35547 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35548 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35549 echo $ECHO_N "(cached) $ECHO_C" >&6
35550 else
35551
35552 if test "$cross_compiling" = yes; then
35553
35554 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35555 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35556 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35557 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35558 wx_cv_func_snprintf_pos_params=no
35559
35560
35561 else
35562 cat >conftest.$ac_ext <<_ACEOF
35563 /* confdefs.h. */
35564 _ACEOF
35565 cat confdefs.h >>conftest.$ac_ext
35566 cat >>conftest.$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35568
35569 #include <stdio.h>
35570
35571 int main (void)
35572 {
35573 char buffer[128];
35574 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35575 if (strcmp ("2 3 1", buffer) == 0)
35576 exit (0);
35577 exit (1);
35578 }
35579
35580 _ACEOF
35581 rm -f conftest$ac_exeext
35582 if { (ac_try="$ac_link"
35583 case "(($ac_try" in
35584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35585 *) ac_try_echo=$ac_try;;
35586 esac
35587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35588 (eval "$ac_link") 2>&5
35589 ac_status=$?
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35592 { (case "(($ac_try" in
35593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35594 *) ac_try_echo=$ac_try;;
35595 esac
35596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35597 (eval "$ac_try") 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; }; then
35601 wx_cv_func_snprintf_pos_params=no
35602 else
35603 echo "$as_me: program exited with status $ac_status" >&5
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35606
35607 ( exit $ac_status )
35608 wx_cv_func_snprintf_pos_params=yes
35609 fi
35610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35611 fi
35612
35613
35614
35615
35616 fi
35617 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35618 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35619
35620 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35621 cat >>confdefs.h <<\_ACEOF
35622 #define HAVE_UNIX98_PRINTF 1
35623 _ACEOF
35624
35625 fi
35626 fi
35627 fi
35628
35629 if test "$ac_cv_func_vsscanf" = "yes"; then
35630 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35631 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35632 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35633 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 else
35635
35636 cat >conftest.$ac_ext <<_ACEOF
35637 /* confdefs.h. */
35638 _ACEOF
35639 cat confdefs.h >>conftest.$ac_ext
35640 cat >>conftest.$ac_ext <<_ACEOF
35641 /* end confdefs.h. */
35642
35643 #include <stdio.h>
35644 #include <stdarg.h>
35645 #ifdef __MSL__
35646 #if __MSL__ >= 0x6000
35647 namespace std {}
35648 using namespace std;
35649 #endif
35650 #endif
35651
35652 int
35653 main ()
35654 {
35655
35656 char *buf;
35657 va_list args;
35658 vsscanf(buf, "%s", args);
35659
35660 ;
35661 return 0;
35662 }
35663 _ACEOF
35664 rm -f conftest.$ac_objext
35665 if { (ac_try="$ac_compile"
35666 case "(($ac_try" in
35667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35668 *) ac_try_echo=$ac_try;;
35669 esac
35670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35671 (eval "$ac_compile") 2>conftest.er1
35672 ac_status=$?
35673 grep -v '^ *+' conftest.er1 >conftest.err
35674 rm -f conftest.er1
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } && {
35678 test -z "$ac_cxx_werror_flag" ||
35679 test ! -s conftest.err
35680 } && test -s conftest.$ac_objext; then
35681 wx_cv_func_vsscanf_decl=yes
35682 else
35683 echo "$as_me: failed program was:" >&5
35684 sed 's/^/| /' conftest.$ac_ext >&5
35685
35686 wx_cv_func_vsscanf_decl=no
35687
35688 fi
35689
35690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35691
35692
35693 fi
35694 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35695 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35696
35697 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35698 cat >>confdefs.h <<\_ACEOF
35699 #define HAVE_VSSCANF_DECL 1
35700 _ACEOF
35701
35702 fi
35703 fi
35704 ac_ext=c
35705 ac_cpp='$CPP $CPPFLAGS'
35706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709
35710
35711 if test "$wxUSE_UNICODE" = yes; then
35712
35713 wchar_headers="#include <stdio.h>
35714 #include <wchar.h>"
35715 case "${host}" in
35716 *-*-solaris2* )
35717
35718 for ac_header in widec.h
35719 do
35720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35725 else
35726 cat >conftest.$ac_ext <<_ACEOF
35727 /* confdefs.h. */
35728 _ACEOF
35729 cat confdefs.h >>conftest.$ac_ext
35730 cat >>conftest.$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35732 $ac_includes_default
35733
35734 #include <$ac_header>
35735 _ACEOF
35736 rm -f conftest.$ac_objext
35737 if { (ac_try="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35741 esac
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.$ac_objext; then
35753 eval "$as_ac_Header=yes"
35754 else
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758 eval "$as_ac_Header=no"
35759 fi
35760
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35762 fi
35763 ac_res=`eval echo '${'$as_ac_Header'}'`
35764 { echo "$as_me:$LINENO: result: $ac_res" >&5
35765 echo "${ECHO_T}$ac_res" >&6; }
35766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35767 cat >>confdefs.h <<_ACEOF
35768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35769 _ACEOF
35770
35771 fi
35772
35773 done
35774
35775 if test "$ac_cv_header_widec_h" = "yes"; then
35776 wchar_headers="$wchar_headers
35777 #include <widec.h>"
35778 fi
35779 esac
35780
35781
35782 for wx_func in putws fputws wprintf vswprintf vswscanf
35783 do
35784 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35785 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35786 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789
35790 cat >conftest.$ac_ext <<_ACEOF
35791
35792 /* confdefs.h. */
35793 _ACEOF
35794 cat confdefs.h >>conftest.$ac_ext
35795 cat >>conftest.$ac_ext <<_ACEOF
35796 /* end confdefs.h. */
35797
35798 $wchar_headers
35799 $ac_includes_default
35800
35801 int
35802 main ()
35803 {
35804
35805 #ifndef $wx_func
35806 &$wx_func;
35807 #endif
35808
35809
35810 ;
35811 return 0;
35812 }
35813
35814 _ACEOF
35815 rm -f conftest.$ac_objext conftest$ac_exeext
35816 if { (ac_try="$ac_link"
35817 case "(($ac_try" in
35818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35819 *) ac_try_echo=$ac_try;;
35820 esac
35821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35822 (eval "$ac_link") 2>conftest.er1
35823 ac_status=$?
35824 grep -v '^ *+' conftest.er1 >conftest.err
35825 rm -f conftest.er1
35826 cat conftest.err >&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } && {
35829 test -z "$ac_c_werror_flag" ||
35830 test ! -s conftest.err
35831 } && test -s conftest$ac_exeext &&
35832 $as_test_x conftest$ac_exeext; then
35833 eval wx_cv_func_$wx_func=yes
35834 else
35835 echo "$as_me: failed program was:" >&5
35836 sed 's/^/| /' conftest.$ac_ext >&5
35837
35838 eval wx_cv_func_$wx_func=no
35839 fi
35840
35841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35842 conftest$ac_exeext conftest.$ac_ext
35843
35844 fi
35845 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35846 { echo "$as_me:$LINENO: result: $ac_res" >&5
35847 echo "${ECHO_T}$ac_res" >&6; }
35848
35849 if eval test \$wx_cv_func_$wx_func = yes
35850 then
35851 cat >>confdefs.h <<_ACEOF
35852 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35853 _ACEOF
35854
35855
35856 else
35857 :
35858
35859 fi
35860 done
35861
35862
35863 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35864 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35865 cat >conftest.$ac_ext <<_ACEOF
35866 /* confdefs.h. */
35867 _ACEOF
35868 cat confdefs.h >>conftest.$ac_ext
35869 cat >>conftest.$ac_ext <<_ACEOF
35870 /* end confdefs.h. */
35871 #include <wchar.h>
35872 int
35873 main ()
35874 {
35875 &_vsnwprintf;
35876 ;
35877 return 0;
35878 }
35879 _ACEOF
35880 rm -f conftest.$ac_objext
35881 if { (ac_try="$ac_compile"
35882 case "(($ac_try" in
35883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35884 *) ac_try_echo=$ac_try;;
35885 esac
35886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35887 (eval "$ac_compile") 2>conftest.er1
35888 ac_status=$?
35889 grep -v '^ *+' conftest.er1 >conftest.err
35890 rm -f conftest.er1
35891 cat conftest.err >&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } && {
35894 test -z "$ac_c_werror_flag" ||
35895 test ! -s conftest.err
35896 } && test -s conftest.$ac_objext; then
35897 { echo "$as_me:$LINENO: result: yes" >&5
35898 echo "${ECHO_T}yes" >&6; }
35899 cat >>confdefs.h <<\_ACEOF
35900 #define HAVE__VSNWPRINTF 1
35901 _ACEOF
35902
35903 else
35904 echo "$as_me: failed program was:" >&5
35905 sed 's/^/| /' conftest.$ac_ext >&5
35906
35907 { echo "$as_me:$LINENO: result: no" >&5
35908 echo "${ECHO_T}no" >&6; }
35909 fi
35910
35911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35912 fi
35913
35914 if test "$wxUSE_FILE" = "yes"; then
35915
35916 for wx_func in fsync
35917 do
35918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35920 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35921 echo $ECHO_N "(cached) $ECHO_C" >&6
35922 else
35923
35924 cat >conftest.$ac_ext <<_ACEOF
35925
35926 /* confdefs.h. */
35927 _ACEOF
35928 cat confdefs.h >>conftest.$ac_ext
35929 cat >>conftest.$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35931
35932
35933 $ac_includes_default
35934
35935 int
35936 main ()
35937 {
35938
35939 #ifndef $wx_func
35940 &$wx_func;
35941 #endif
35942
35943
35944 ;
35945 return 0;
35946 }
35947
35948 _ACEOF
35949 rm -f conftest.$ac_objext conftest$ac_exeext
35950 if { (ac_try="$ac_link"
35951 case "(($ac_try" in
35952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35953 *) ac_try_echo=$ac_try;;
35954 esac
35955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35956 (eval "$ac_link") 2>conftest.er1
35957 ac_status=$?
35958 grep -v '^ *+' conftest.er1 >conftest.err
35959 rm -f conftest.er1
35960 cat conftest.err >&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } && {
35963 test -z "$ac_c_werror_flag" ||
35964 test ! -s conftest.err
35965 } && test -s conftest$ac_exeext &&
35966 $as_test_x conftest$ac_exeext; then
35967 eval wx_cv_func_$wx_func=yes
35968 else
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.$ac_ext >&5
35971
35972 eval wx_cv_func_$wx_func=no
35973 fi
35974
35975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35976 conftest$ac_exeext conftest.$ac_ext
35977
35978 fi
35979 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35980 { echo "$as_me:$LINENO: result: $ac_res" >&5
35981 echo "${ECHO_T}$ac_res" >&6; }
35982
35983 if eval test \$wx_cv_func_$wx_func = yes
35984 then
35985 cat >>confdefs.h <<_ACEOF
35986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35987 _ACEOF
35988
35989
35990 else
35991 :
35992
35993 fi
35994 done
35995
35996 fi
35997
35998 ac_ext=cpp
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36003
36004
36005 for wx_func in round
36006 do
36007 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36008 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36009 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36010 echo $ECHO_N "(cached) $ECHO_C" >&6
36011 else
36012
36013 cat >conftest.$ac_ext <<_ACEOF
36014
36015 /* confdefs.h. */
36016 _ACEOF
36017 cat confdefs.h >>conftest.$ac_ext
36018 cat >>conftest.$ac_ext <<_ACEOF
36019 /* end confdefs.h. */
36020
36021 #include <math.h>
36022 $ac_includes_default
36023
36024 int
36025 main ()
36026 {
36027
36028 #ifndef $wx_func
36029 &$wx_func;
36030 #endif
36031
36032
36033 ;
36034 return 0;
36035 }
36036
36037 _ACEOF
36038 rm -f conftest.$ac_objext conftest$ac_exeext
36039 if { (ac_try="$ac_link"
36040 case "(($ac_try" in
36041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36042 *) ac_try_echo=$ac_try;;
36043 esac
36044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36045 (eval "$ac_link") 2>conftest.er1
36046 ac_status=$?
36047 grep -v '^ *+' conftest.er1 >conftest.err
36048 rm -f conftest.er1
36049 cat conftest.err >&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); } && {
36052 test -z "$ac_cxx_werror_flag" ||
36053 test ! -s conftest.err
36054 } && test -s conftest$ac_exeext &&
36055 $as_test_x conftest$ac_exeext; then
36056 eval wx_cv_func_$wx_func=yes
36057 else
36058 echo "$as_me: failed program was:" >&5
36059 sed 's/^/| /' conftest.$ac_ext >&5
36060
36061 eval wx_cv_func_$wx_func=no
36062 fi
36063
36064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36065 conftest$ac_exeext conftest.$ac_ext
36066
36067 fi
36068 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36069 { echo "$as_me:$LINENO: result: $ac_res" >&5
36070 echo "${ECHO_T}$ac_res" >&6; }
36071
36072 if eval test \$wx_cv_func_$wx_func = yes
36073 then
36074 cat >>confdefs.h <<_ACEOF
36075 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36076 _ACEOF
36077
36078
36079 else
36080 :
36081
36082 fi
36083 done
36084
36085 ac_ext=c
36086 ac_cpp='$CPP $CPPFLAGS'
36087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090
36091
36092 if test "$TOOLKIT" != "MSW"; then
36093
36094 if test "$wxUSE_LIBICONV" != "no" ; then
36095
36096
36097
36098 # Check whether --with-libiconv-prefix was given.
36099 if test "${with_libiconv_prefix+set}" = set; then
36100 withval=$with_libiconv_prefix;
36101 for dir in `echo "$withval" | tr : ' '`; do
36102 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36103 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36104 done
36105
36106 fi
36107
36108
36109 { echo "$as_me:$LINENO: checking for iconv" >&5
36110 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36111 if test "${am_cv_func_iconv+set}" = set; then
36112 echo $ECHO_N "(cached) $ECHO_C" >&6
36113 else
36114
36115 am_cv_func_iconv="no, consider installing GNU libiconv"
36116 am_cv_lib_iconv=no
36117 cat >conftest.$ac_ext <<_ACEOF
36118 /* confdefs.h. */
36119 _ACEOF
36120 cat confdefs.h >>conftest.$ac_ext
36121 cat >>conftest.$ac_ext <<_ACEOF
36122 /* end confdefs.h. */
36123 #include <stdlib.h>
36124 #include <iconv.h>
36125 int
36126 main ()
36127 {
36128 iconv_t cd = iconv_open("","");
36129 iconv(cd,NULL,NULL,NULL,NULL);
36130 iconv_close(cd);
36131 ;
36132 return 0;
36133 }
36134 _ACEOF
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36139 *) ac_try_echo=$ac_try;;
36140 esac
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36143 ac_status=$?
36144 grep -v '^ *+' conftest.er1 >conftest.err
36145 rm -f conftest.er1
36146 cat conftest.err >&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_c_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest$ac_exeext &&
36152 $as_test_x conftest$ac_exeext; then
36153 am_cv_func_iconv=yes
36154 else
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36157
36158
36159 fi
36160
36161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36162 conftest$ac_exeext conftest.$ac_ext
36163 if test "$am_cv_func_iconv" != yes; then
36164 am_save_LIBS="$LIBS"
36165 LIBS="$LIBS -liconv"
36166 cat >conftest.$ac_ext <<_ACEOF
36167 /* confdefs.h. */
36168 _ACEOF
36169 cat confdefs.h >>conftest.$ac_ext
36170 cat >>conftest.$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172 #include <stdlib.h>
36173 #include <iconv.h>
36174 int
36175 main ()
36176 {
36177 iconv_t cd = iconv_open("","");
36178 iconv(cd,NULL,NULL,NULL,NULL);
36179 iconv_close(cd);
36180 ;
36181 return 0;
36182 }
36183 _ACEOF
36184 rm -f conftest.$ac_objext conftest$ac_exeext
36185 if { (ac_try="$ac_link"
36186 case "(($ac_try" in
36187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36188 *) ac_try_echo=$ac_try;;
36189 esac
36190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36191 (eval "$ac_link") 2>conftest.er1
36192 ac_status=$?
36193 grep -v '^ *+' conftest.er1 >conftest.err
36194 rm -f conftest.er1
36195 cat conftest.err >&5
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); } && {
36198 test -z "$ac_c_werror_flag" ||
36199 test ! -s conftest.err
36200 } && test -s conftest$ac_exeext &&
36201 $as_test_x conftest$ac_exeext; then
36202 am_cv_lib_iconv=yes
36203 am_cv_func_iconv=yes
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36207
36208
36209 fi
36210
36211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36212 conftest$ac_exeext conftest.$ac_ext
36213 LIBS="$am_save_LIBS"
36214 fi
36215
36216 fi
36217 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36218 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36219 if test "$am_cv_func_iconv" = yes; then
36220
36221 cat >>confdefs.h <<\_ACEOF
36222 #define HAVE_ICONV 1
36223 _ACEOF
36224
36225 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36226 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36227 if test "${wx_cv_func_iconv_const+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 else
36230 cat >conftest.$ac_ext <<_ACEOF
36231 /* confdefs.h. */
36232 _ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36236
36237 #include <stdlib.h>
36238 #include <iconv.h>
36239 extern
36240 #ifdef __cplusplus
36241 "C"
36242 #endif
36243 #if defined(__STDC__) || defined(__cplusplus)
36244 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36245 #else
36246 size_t iconv();
36247 #endif
36248
36249 int
36250 main ()
36251 {
36252
36253 ;
36254 return 0;
36255 }
36256 _ACEOF
36257 rm -f conftest.$ac_objext
36258 if { (ac_try="$ac_compile"
36259 case "(($ac_try" in
36260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36261 *) ac_try_echo=$ac_try;;
36262 esac
36263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36264 (eval "$ac_compile") 2>conftest.er1
36265 ac_status=$?
36266 grep -v '^ *+' conftest.er1 >conftest.err
36267 rm -f conftest.er1
36268 cat conftest.err >&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } && {
36271 test -z "$ac_c_werror_flag" ||
36272 test ! -s conftest.err
36273 } && test -s conftest.$ac_objext; then
36274 wx_cv_func_iconv_const="no"
36275 else
36276 echo "$as_me: failed program was:" >&5
36277 sed 's/^/| /' conftest.$ac_ext >&5
36278
36279 wx_cv_func_iconv_const="yes"
36280
36281 fi
36282
36283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36284
36285 fi
36286 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36287 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36288
36289 iconv_const=
36290 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36291 iconv_const="const"
36292 fi
36293
36294
36295 cat >>confdefs.h <<_ACEOF
36296 #define ICONV_CONST $iconv_const
36297 _ACEOF
36298
36299 fi
36300 LIBICONV=
36301 if test "$am_cv_lib_iconv" = yes; then
36302 LIBICONV="-liconv"
36303 fi
36304
36305
36306 LIBS="$LIBICONV $LIBS"
36307 fi
36308
36309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36310
36311 for ac_func in sigaction
36312 do
36313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 else
36319 cat >conftest.$ac_ext <<_ACEOF
36320 /* confdefs.h. */
36321 _ACEOF
36322 cat confdefs.h >>conftest.$ac_ext
36323 cat >>conftest.$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36327 #define $ac_func innocuous_$ac_func
36328
36329 /* System header to define __stub macros and hopefully few prototypes,
36330 which can conflict with char $ac_func (); below.
36331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36332 <limits.h> exists even on freestanding compilers. */
36333
36334 #ifdef __STDC__
36335 # include <limits.h>
36336 #else
36337 # include <assert.h>
36338 #endif
36339
36340 #undef $ac_func
36341
36342 /* Override any GCC internal prototype to avoid an error.
36343 Use char because int might match the return type of a GCC
36344 builtin and then its argument prototype would still apply. */
36345 #ifdef __cplusplus
36346 extern "C"
36347 #endif
36348 char $ac_func ();
36349 /* The GNU C library defines this for functions which it implements
36350 to always fail with ENOSYS. Some functions are actually named
36351 something starting with __ and the normal name is an alias. */
36352 #if defined __stub_$ac_func || defined __stub___$ac_func
36353 choke me
36354 #endif
36355
36356 int
36357 main ()
36358 {
36359 return $ac_func ();
36360 ;
36361 return 0;
36362 }
36363 _ACEOF
36364 rm -f conftest.$ac_objext conftest$ac_exeext
36365 if { (ac_try="$ac_link"
36366 case "(($ac_try" in
36367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36368 *) ac_try_echo=$ac_try;;
36369 esac
36370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36371 (eval "$ac_link") 2>conftest.er1
36372 ac_status=$?
36373 grep -v '^ *+' conftest.er1 >conftest.err
36374 rm -f conftest.er1
36375 cat conftest.err >&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); } && {
36378 test -z "$ac_c_werror_flag" ||
36379 test ! -s conftest.err
36380 } && test -s conftest$ac_exeext &&
36381 $as_test_x conftest$ac_exeext; then
36382 eval "$as_ac_var=yes"
36383 else
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.$ac_ext >&5
36386
36387 eval "$as_ac_var=no"
36388 fi
36389
36390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36391 conftest$ac_exeext conftest.$ac_ext
36392 fi
36393 ac_res=`eval echo '${'$as_ac_var'}'`
36394 { echo "$as_me:$LINENO: result: $ac_res" >&5
36395 echo "${ECHO_T}$ac_res" >&6; }
36396 if test `eval echo '${'$as_ac_var'}'` = yes; then
36397 cat >>confdefs.h <<_ACEOF
36398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36399 _ACEOF
36400
36401 fi
36402 done
36403
36404
36405 if test "$ac_cv_func_sigaction" = "no"; then
36406 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36407 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36408 wxUSE_ON_FATAL_EXCEPTION=no
36409 fi
36410
36411 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36412 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36413 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36414 if test "${wx_cv_type_sa_handler+set}" = set; then
36415 echo $ECHO_N "(cached) $ECHO_C" >&6
36416 else
36417
36418 ac_ext=cpp
36419 ac_cpp='$CXXCPP $CPPFLAGS'
36420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36423
36424 cat >conftest.$ac_ext <<_ACEOF
36425 /* confdefs.h. */
36426 _ACEOF
36427 cat confdefs.h >>conftest.$ac_ext
36428 cat >>conftest.$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36430 #include <signal.h>
36431 int
36432 main ()
36433 {
36434
36435 extern void testSigHandler(int);
36436
36437 struct sigaction sa;
36438 sa.sa_handler = testSigHandler;
36439
36440 ;
36441 return 0;
36442 }
36443 _ACEOF
36444 rm -f conftest.$ac_objext
36445 if { (ac_try="$ac_compile"
36446 case "(($ac_try" in
36447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36448 *) ac_try_echo=$ac_try;;
36449 esac
36450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36451 (eval "$ac_compile") 2>conftest.er1
36452 ac_status=$?
36453 grep -v '^ *+' conftest.er1 >conftest.err
36454 rm -f conftest.er1
36455 cat conftest.err >&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } && {
36458 test -z "$ac_cxx_werror_flag" ||
36459 test ! -s conftest.err
36460 } && test -s conftest.$ac_objext; then
36461
36462 wx_cv_type_sa_handler=int
36463
36464 else
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36467
36468
36469 wx_cv_type_sa_handler=void
36470
36471 fi
36472
36473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36474 ac_ext=c
36475 ac_cpp='$CPP $CPPFLAGS'
36476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36479
36480
36481 fi
36482 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36483 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36484
36485 cat >>confdefs.h <<_ACEOF
36486 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36487 _ACEOF
36488
36489 fi
36490 fi
36491
36492 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36493 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36494 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36495 if test "${wx_cv_func_backtrace+set}" = set; then
36496 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 else
36498
36499 ac_ext=cpp
36500 ac_cpp='$CXXCPP $CPPFLAGS'
36501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36504
36505 cat >conftest.$ac_ext <<_ACEOF
36506 /* confdefs.h. */
36507 _ACEOF
36508 cat confdefs.h >>conftest.$ac_ext
36509 cat >>conftest.$ac_ext <<_ACEOF
36510 /* end confdefs.h. */
36511 #include <execinfo.h>
36512 int
36513 main ()
36514 {
36515
36516 void *trace[1];
36517 char **messages;
36518
36519 backtrace(trace, 1);
36520 messages = backtrace_symbols(trace, 1);
36521
36522 ;
36523 return 0;
36524 }
36525 _ACEOF
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36531 esac
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_func_backtrace=yes
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548 wx_cv_func_backtrace=no
36549
36550 fi
36551
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553 ac_ext=c
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36558
36559
36560
36561 fi
36562 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36563 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36564
36565
36566 if test "$wx_cv_func_backtrace" = "no"; then
36567 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36568 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36569 wxUSE_STACKWALKER=no
36570 else
36571 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36572 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36573 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36574 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 else
36576
36577 ac_ext=cpp
36578 ac_cpp='$CXXCPP $CPPFLAGS'
36579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36582
36583 cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h. */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 #include <cxxabi.h>
36590 int
36591 main ()
36592 {
36593
36594 int rc;
36595 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36596
36597 ;
36598 return 0;
36599 }
36600 _ACEOF
36601 rm -f conftest.$ac_objext conftest$ac_exeext
36602 if { (ac_try="$ac_link"
36603 case "(($ac_try" in
36604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36605 *) ac_try_echo=$ac_try;;
36606 esac
36607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36608 (eval "$ac_link") 2>conftest.er1
36609 ac_status=$?
36610 grep -v '^ *+' conftest.er1 >conftest.err
36611 rm -f conftest.er1
36612 cat conftest.err >&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } && {
36615 test -z "$ac_cxx_werror_flag" ||
36616 test ! -s conftest.err
36617 } && test -s conftest$ac_exeext &&
36618 $as_test_x conftest$ac_exeext; then
36619 wx_cv_func_cxa_demangle=yes
36620 else
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.$ac_ext >&5
36623
36624 wx_cv_func_cxa_demangle=no
36625
36626 fi
36627
36628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36629 conftest$ac_exeext conftest.$ac_ext
36630 ac_ext=c
36631 ac_cpp='$CPP $CPPFLAGS'
36632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36635
36636
36637
36638 fi
36639 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36640 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36641
36642 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36643 cat >>confdefs.h <<\_ACEOF
36644 #define HAVE_CXA_DEMANGLE 1
36645 _ACEOF
36646
36647 fi
36648 fi
36649 fi
36650
36651 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36652 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36653 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36654 wxUSE_STACKWALKER=no
36655 fi
36656
36657
36658
36659
36660 for ac_func in mkstemp mktemp
36661 do
36662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36666 echo $ECHO_N "(cached) $ECHO_C" >&6
36667 else
36668 cat >conftest.$ac_ext <<_ACEOF
36669 /* confdefs.h. */
36670 _ACEOF
36671 cat confdefs.h >>conftest.$ac_ext
36672 cat >>conftest.$ac_ext <<_ACEOF
36673 /* end confdefs.h. */
36674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36676 #define $ac_func innocuous_$ac_func
36677
36678 /* System header to define __stub macros and hopefully few prototypes,
36679 which can conflict with char $ac_func (); below.
36680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36681 <limits.h> exists even on freestanding compilers. */
36682
36683 #ifdef __STDC__
36684 # include <limits.h>
36685 #else
36686 # include <assert.h>
36687 #endif
36688
36689 #undef $ac_func
36690
36691 /* Override any GCC internal prototype to avoid an error.
36692 Use char because int might match the return type of a GCC
36693 builtin and then its argument prototype would still apply. */
36694 #ifdef __cplusplus
36695 extern "C"
36696 #endif
36697 char $ac_func ();
36698 /* The GNU C library defines this for functions which it implements
36699 to always fail with ENOSYS. Some functions are actually named
36700 something starting with __ and the normal name is an alias. */
36701 #if defined __stub_$ac_func || defined __stub___$ac_func
36702 choke me
36703 #endif
36704
36705 int
36706 main ()
36707 {
36708 return $ac_func ();
36709 ;
36710 return 0;
36711 }
36712 _ACEOF
36713 rm -f conftest.$ac_objext conftest$ac_exeext
36714 if { (ac_try="$ac_link"
36715 case "(($ac_try" in
36716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36717 *) ac_try_echo=$ac_try;;
36718 esac
36719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36720 (eval "$ac_link") 2>conftest.er1
36721 ac_status=$?
36722 grep -v '^ *+' conftest.er1 >conftest.err
36723 rm -f conftest.er1
36724 cat conftest.err >&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); } && {
36727 test -z "$ac_c_werror_flag" ||
36728 test ! -s conftest.err
36729 } && test -s conftest$ac_exeext &&
36730 $as_test_x conftest$ac_exeext; then
36731 eval "$as_ac_var=yes"
36732 else
36733 echo "$as_me: failed program was:" >&5
36734 sed 's/^/| /' conftest.$ac_ext >&5
36735
36736 eval "$as_ac_var=no"
36737 fi
36738
36739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36740 conftest$ac_exeext conftest.$ac_ext
36741 fi
36742 ac_res=`eval echo '${'$as_ac_var'}'`
36743 { echo "$as_me:$LINENO: result: $ac_res" >&5
36744 echo "${ECHO_T}$ac_res" >&6; }
36745 if test `eval echo '${'$as_ac_var'}'` = yes; then
36746 cat >>confdefs.h <<_ACEOF
36747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36748 _ACEOF
36749 break
36750 fi
36751 done
36752
36753
36754 { echo "$as_me:$LINENO: checking for statfs" >&5
36755 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36756 if test "${wx_cv_func_statfs+set}" = set; then
36757 echo $ECHO_N "(cached) $ECHO_C" >&6
36758 else
36759 cat >conftest.$ac_ext <<_ACEOF
36760 /* confdefs.h. */
36761 _ACEOF
36762 cat confdefs.h >>conftest.$ac_ext
36763 cat >>conftest.$ac_ext <<_ACEOF
36764 /* end confdefs.h. */
36765
36766 #if defined(__BSD__)
36767 #include <sys/param.h>
36768 #include <sys/mount.h>
36769 #else
36770 #include <sys/vfs.h>
36771 #endif
36772
36773 int
36774 main ()
36775 {
36776
36777 long l;
36778 struct statfs fs;
36779 statfs("/", &fs);
36780 l = fs.f_bsize;
36781 l += fs.f_blocks;
36782 l += fs.f_bavail;
36783
36784 ;
36785 return 0;
36786 }
36787 _ACEOF
36788 rm -f conftest.$ac_objext
36789 if { (ac_try="$ac_compile"
36790 case "(($ac_try" in
36791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36792 *) ac_try_echo=$ac_try;;
36793 esac
36794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36795 (eval "$ac_compile") 2>conftest.er1
36796 ac_status=$?
36797 grep -v '^ *+' conftest.er1 >conftest.err
36798 rm -f conftest.er1
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } && {
36802 test -z "$ac_c_werror_flag" ||
36803 test ! -s conftest.err
36804 } && test -s conftest.$ac_objext; then
36805 wx_cv_func_statfs=yes
36806 else
36807 echo "$as_me: failed program was:" >&5
36808 sed 's/^/| /' conftest.$ac_ext >&5
36809
36810 wx_cv_func_statfs=no
36811
36812 fi
36813
36814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815
36816 fi
36817 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36818 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36819
36820 if test "$wx_cv_func_statfs" = "yes"; then
36821 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36822 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36823 if test "${wx_cv_func_statfs_decl+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826 ac_ext=cpp
36827 ac_cpp='$CXXCPP $CPPFLAGS'
36828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831
36832 cat >conftest.$ac_ext <<_ACEOF
36833 /* confdefs.h. */
36834 _ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36838
36839 #if defined(__BSD__)
36840 #include <sys/param.h>
36841 #include <sys/mount.h>
36842 #else
36843 #include <sys/vfs.h>
36844 #endif
36845
36846 int
36847 main ()
36848 {
36849
36850 struct statfs fs;
36851 statfs("", &fs);
36852
36853 ;
36854 return 0;
36855 }
36856 _ACEOF
36857 rm -f conftest.$ac_objext
36858 if { (ac_try="$ac_compile"
36859 case "(($ac_try" in
36860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36861 *) ac_try_echo=$ac_try;;
36862 esac
36863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36864 (eval "$ac_compile") 2>conftest.er1
36865 ac_status=$?
36866 grep -v '^ *+' conftest.er1 >conftest.err
36867 rm -f conftest.er1
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && {
36871 test -z "$ac_cxx_werror_flag" ||
36872 test ! -s conftest.err
36873 } && test -s conftest.$ac_objext; then
36874 wx_cv_func_statfs_decl=yes
36875 else
36876 echo "$as_me: failed program was:" >&5
36877 sed 's/^/| /' conftest.$ac_ext >&5
36878
36879 wx_cv_func_statfs_decl=no
36880
36881 fi
36882
36883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36884 ac_ext=c
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36889
36890
36891 fi
36892 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36893 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36894
36895 if test "$wx_cv_func_statfs_decl" = "yes"; then
36896 cat >>confdefs.h <<\_ACEOF
36897 #define HAVE_STATFS_DECL 1
36898 _ACEOF
36899
36900 fi
36901
36902 wx_cv_type_statvfs_t="struct statfs"
36903 cat >>confdefs.h <<\_ACEOF
36904 #define HAVE_STATFS 1
36905 _ACEOF
36906
36907 else
36908 { echo "$as_me:$LINENO: checking for statvfs" >&5
36909 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36910 if test "${wx_cv_func_statvfs+set}" = set; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 else
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919
36920 #include <stddef.h>
36921 #include <sys/statvfs.h>
36922
36923 int
36924 main ()
36925 {
36926
36927 statvfs("/", NULL);
36928
36929 ;
36930 return 0;
36931 }
36932 _ACEOF
36933 rm -f conftest.$ac_objext
36934 if { (ac_try="$ac_compile"
36935 case "(($ac_try" in
36936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36937 *) ac_try_echo=$ac_try;;
36938 esac
36939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36940 (eval "$ac_compile") 2>conftest.er1
36941 ac_status=$?
36942 grep -v '^ *+' conftest.er1 >conftest.err
36943 rm -f conftest.er1
36944 cat conftest.err >&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); } && {
36947 test -z "$ac_c_werror_flag" ||
36948 test ! -s conftest.err
36949 } && test -s conftest.$ac_objext; then
36950 wx_cv_func_statvfs=yes
36951 else
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36954
36955 wx_cv_func_statvfs=no
36956
36957 fi
36958
36959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36960
36961 fi
36962 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36963 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36964
36965 if test "$wx_cv_func_statvfs" = "yes"; then
36966 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36967 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36968 if test "${wx_cv_type_statvfs_t+set}" = set; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36970 else
36971 ac_ext=cpp
36972 ac_cpp='$CXXCPP $CPPFLAGS'
36973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36976
36977 cat >conftest.$ac_ext <<_ACEOF
36978 /* confdefs.h. */
36979 _ACEOF
36980 cat confdefs.h >>conftest.$ac_ext
36981 cat >>conftest.$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983
36984 #include <sys/statvfs.h>
36985
36986 int
36987 main ()
36988 {
36989
36990 long l;
36991 statvfs_t fs;
36992 statvfs("/", &fs);
36993 l = fs.f_bsize;
36994 l += fs.f_blocks;
36995 l += fs.f_bavail;
36996
36997 ;
36998 return 0;
36999 }
37000 _ACEOF
37001 rm -f conftest.$ac_objext
37002 if { (ac_try="$ac_compile"
37003 case "(($ac_try" in
37004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37005 *) ac_try_echo=$ac_try;;
37006 esac
37007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37008 (eval "$ac_compile") 2>conftest.er1
37009 ac_status=$?
37010 grep -v '^ *+' conftest.er1 >conftest.err
37011 rm -f conftest.er1
37012 cat conftest.err >&5
37013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014 (exit $ac_status); } && {
37015 test -z "$ac_cxx_werror_flag" ||
37016 test ! -s conftest.err
37017 } && test -s conftest.$ac_objext; then
37018 wx_cv_type_statvfs_t=statvfs_t
37019 else
37020 echo "$as_me: failed program was:" >&5
37021 sed 's/^/| /' conftest.$ac_ext >&5
37022
37023
37024 cat >conftest.$ac_ext <<_ACEOF
37025 /* confdefs.h. */
37026 _ACEOF
37027 cat confdefs.h >>conftest.$ac_ext
37028 cat >>conftest.$ac_ext <<_ACEOF
37029 /* end confdefs.h. */
37030
37031 #include <sys/statvfs.h>
37032
37033 int
37034 main ()
37035 {
37036
37037 long l;
37038 struct statvfs fs;
37039 statvfs("/", &fs);
37040 l = fs.f_bsize;
37041 l += fs.f_blocks;
37042 l += fs.f_bavail;
37043
37044 ;
37045 return 0;
37046 }
37047 _ACEOF
37048 rm -f conftest.$ac_objext
37049 if { (ac_try="$ac_compile"
37050 case "(($ac_try" in
37051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37052 *) ac_try_echo=$ac_try;;
37053 esac
37054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37055 (eval "$ac_compile") 2>conftest.er1
37056 ac_status=$?
37057 grep -v '^ *+' conftest.er1 >conftest.err
37058 rm -f conftest.er1
37059 cat conftest.err >&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } && {
37062 test -z "$ac_cxx_werror_flag" ||
37063 test ! -s conftest.err
37064 } && test -s conftest.$ac_objext; then
37065 wx_cv_type_statvfs_t="struct statvfs"
37066 else
37067 echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.$ac_ext >&5
37069
37070 wx_cv_type_statvfs_t="unknown"
37071
37072 fi
37073
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37075
37076
37077 fi
37078
37079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37080 ac_ext=c
37081 ac_cpp='$CPP $CPPFLAGS'
37082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37085
37086
37087 fi
37088 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37089 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37090
37091 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37092 cat >>confdefs.h <<\_ACEOF
37093 #define HAVE_STATVFS 1
37094 _ACEOF
37095
37096 fi
37097 else
37098 wx_cv_type_statvfs_t="unknown"
37099 fi
37100 fi
37101
37102 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37103 cat >>confdefs.h <<_ACEOF
37104 #define WX_STATFS_T $wx_cv_type_statvfs_t
37105 _ACEOF
37106
37107 else
37108 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37109 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37110 fi
37111
37112 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37113
37114
37115 for ac_func in fcntl flock
37116 do
37117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37118 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37120 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37121 echo $ECHO_N "(cached) $ECHO_C" >&6
37122 else
37123 cat >conftest.$ac_ext <<_ACEOF
37124 /* confdefs.h. */
37125 _ACEOF
37126 cat confdefs.h >>conftest.$ac_ext
37127 cat >>conftest.$ac_ext <<_ACEOF
37128 /* end confdefs.h. */
37129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37131 #define $ac_func innocuous_$ac_func
37132
37133 /* System header to define __stub macros and hopefully few prototypes,
37134 which can conflict with char $ac_func (); below.
37135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37136 <limits.h> exists even on freestanding compilers. */
37137
37138 #ifdef __STDC__
37139 # include <limits.h>
37140 #else
37141 # include <assert.h>
37142 #endif
37143
37144 #undef $ac_func
37145
37146 /* Override any GCC internal prototype to avoid an error.
37147 Use char because int might match the return type of a GCC
37148 builtin and then its argument prototype would still apply. */
37149 #ifdef __cplusplus
37150 extern "C"
37151 #endif
37152 char $ac_func ();
37153 /* The GNU C library defines this for functions which it implements
37154 to always fail with ENOSYS. Some functions are actually named
37155 something starting with __ and the normal name is an alias. */
37156 #if defined __stub_$ac_func || defined __stub___$ac_func
37157 choke me
37158 #endif
37159
37160 int
37161 main ()
37162 {
37163 return $ac_func ();
37164 ;
37165 return 0;
37166 }
37167 _ACEOF
37168 rm -f conftest.$ac_objext conftest$ac_exeext
37169 if { (ac_try="$ac_link"
37170 case "(($ac_try" in
37171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37172 *) ac_try_echo=$ac_try;;
37173 esac
37174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37175 (eval "$ac_link") 2>conftest.er1
37176 ac_status=$?
37177 grep -v '^ *+' conftest.er1 >conftest.err
37178 rm -f conftest.er1
37179 cat conftest.err >&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } && {
37182 test -z "$ac_c_werror_flag" ||
37183 test ! -s conftest.err
37184 } && test -s conftest$ac_exeext &&
37185 $as_test_x conftest$ac_exeext; then
37186 eval "$as_ac_var=yes"
37187 else
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37190
37191 eval "$as_ac_var=no"
37192 fi
37193
37194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37195 conftest$ac_exeext conftest.$ac_ext
37196 fi
37197 ac_res=`eval echo '${'$as_ac_var'}'`
37198 { echo "$as_me:$LINENO: result: $ac_res" >&5
37199 echo "${ECHO_T}$ac_res" >&6; }
37200 if test `eval echo '${'$as_ac_var'}'` = yes; then
37201 cat >>confdefs.h <<_ACEOF
37202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37203 _ACEOF
37204 break
37205 fi
37206 done
37207
37208
37209 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37210 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37211 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37212 wxUSE_SNGLINST_CHECKER=no
37213 fi
37214 fi
37215
37216
37217
37218 for ac_func in setenv putenv
37219 do
37220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37224 echo $ECHO_N "(cached) $ECHO_C" >&6
37225 else
37226 cat >conftest.$ac_ext <<_ACEOF
37227 /* confdefs.h. */
37228 _ACEOF
37229 cat confdefs.h >>conftest.$ac_ext
37230 cat >>conftest.$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37234 #define $ac_func innocuous_$ac_func
37235
37236 /* System header to define __stub macros and hopefully few prototypes,
37237 which can conflict with char $ac_func (); below.
37238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37239 <limits.h> exists even on freestanding compilers. */
37240
37241 #ifdef __STDC__
37242 # include <limits.h>
37243 #else
37244 # include <assert.h>
37245 #endif
37246
37247 #undef $ac_func
37248
37249 /* Override any GCC internal prototype to avoid an error.
37250 Use char because int might match the return type of a GCC
37251 builtin and then its argument prototype would still apply. */
37252 #ifdef __cplusplus
37253 extern "C"
37254 #endif
37255 char $ac_func ();
37256 /* The GNU C library defines this for functions which it implements
37257 to always fail with ENOSYS. Some functions are actually named
37258 something starting with __ and the normal name is an alias. */
37259 #if defined __stub_$ac_func || defined __stub___$ac_func
37260 choke me
37261 #endif
37262
37263 int
37264 main ()
37265 {
37266 return $ac_func ();
37267 ;
37268 return 0;
37269 }
37270 _ACEOF
37271 rm -f conftest.$ac_objext conftest$ac_exeext
37272 if { (ac_try="$ac_link"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37275 *) ac_try_echo=$ac_try;;
37276 esac
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_link") 2>conftest.er1
37279 ac_status=$?
37280 grep -v '^ *+' conftest.er1 >conftest.err
37281 rm -f conftest.er1
37282 cat conftest.err >&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest$ac_exeext &&
37288 $as_test_x conftest$ac_exeext; then
37289 eval "$as_ac_var=yes"
37290 else
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.$ac_ext >&5
37293
37294 eval "$as_ac_var=no"
37295 fi
37296
37297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37298 conftest$ac_exeext conftest.$ac_ext
37299 fi
37300 ac_res=`eval echo '${'$as_ac_var'}'`
37301 { echo "$as_me:$LINENO: result: $ac_res" >&5
37302 echo "${ECHO_T}$ac_res" >&6; }
37303 if test `eval echo '${'$as_ac_var'}'` = yes; then
37304 cat >>confdefs.h <<_ACEOF
37305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37306 _ACEOF
37307 break
37308 fi
37309 done
37310
37311 if test "$ac_cv_func_setenv" = "yes"; then
37312
37313 for ac_func in unsetenv
37314 do
37315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37320 else
37321 cat >conftest.$ac_ext <<_ACEOF
37322 /* confdefs.h. */
37323 _ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define $ac_func innocuous_$ac_func
37330
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char $ac_func (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37335
37336 #ifdef __STDC__
37337 # include <limits.h>
37338 #else
37339 # include <assert.h>
37340 #endif
37341
37342 #undef $ac_func
37343
37344 /* Override any GCC internal prototype to avoid an error.
37345 Use char because int might match the return type of a GCC
37346 builtin and then its argument prototype would still apply. */
37347 #ifdef __cplusplus
37348 extern "C"
37349 #endif
37350 char $ac_func ();
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined __stub_$ac_func || defined __stub___$ac_func
37355 choke me
37356 #endif
37357
37358 int
37359 main ()
37360 {
37361 return $ac_func ();
37362 ;
37363 return 0;
37364 }
37365 _ACEOF
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37371 esac
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37374 ac_status=$?
37375 grep -v '^ *+' conftest.er1 >conftest.err
37376 rm -f conftest.er1
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval "$as_ac_var=yes"
37385 else
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37388
37389 eval "$as_ac_var=no"
37390 fi
37391
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37394 fi
37395 ac_res=`eval echo '${'$as_ac_var'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398 if test `eval echo '${'$as_ac_var'}'` = yes; then
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37401 _ACEOF
37402
37403 fi
37404 done
37405
37406 fi
37407
37408 HAVE_SOME_SLEEP_FUNC=0
37409 if test "$USE_BEOS" = 1; then
37410 cat >>confdefs.h <<\_ACEOF
37411 #define HAVE_SLEEP 1
37412 _ACEOF
37413
37414 HAVE_SOME_SLEEP_FUNC=1
37415 fi
37416
37417 if test "$USE_DARWIN" = 1; then
37418 cat >>confdefs.h <<\_ACEOF
37419 #define HAVE_USLEEP 1
37420 _ACEOF
37421
37422 HAVE_SOME_SLEEP_FUNC=1
37423 fi
37424
37425 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37426 POSIX4_LINK=
37427
37428 for ac_func in nanosleep
37429 do
37430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37434 echo $ECHO_N "(cached) $ECHO_C" >&6
37435 else
37436 cat >conftest.$ac_ext <<_ACEOF
37437 /* confdefs.h. */
37438 _ACEOF
37439 cat confdefs.h >>conftest.$ac_ext
37440 cat >>conftest.$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37444 #define $ac_func innocuous_$ac_func
37445
37446 /* System header to define __stub macros and hopefully few prototypes,
37447 which can conflict with char $ac_func (); below.
37448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37449 <limits.h> exists even on freestanding compilers. */
37450
37451 #ifdef __STDC__
37452 # include <limits.h>
37453 #else
37454 # include <assert.h>
37455 #endif
37456
37457 #undef $ac_func
37458
37459 /* Override any GCC internal prototype to avoid an error.
37460 Use char because int might match the return type of a GCC
37461 builtin and then its argument prototype would still apply. */
37462 #ifdef __cplusplus
37463 extern "C"
37464 #endif
37465 char $ac_func ();
37466 /* The GNU C library defines this for functions which it implements
37467 to always fail with ENOSYS. Some functions are actually named
37468 something starting with __ and the normal name is an alias. */
37469 #if defined __stub_$ac_func || defined __stub___$ac_func
37470 choke me
37471 #endif
37472
37473 int
37474 main ()
37475 {
37476 return $ac_func ();
37477 ;
37478 return 0;
37479 }
37480 _ACEOF
37481 rm -f conftest.$ac_objext conftest$ac_exeext
37482 if { (ac_try="$ac_link"
37483 case "(($ac_try" in
37484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37485 *) ac_try_echo=$ac_try;;
37486 esac
37487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37488 (eval "$ac_link") 2>conftest.er1
37489 ac_status=$?
37490 grep -v '^ *+' conftest.er1 >conftest.err
37491 rm -f conftest.er1
37492 cat conftest.err >&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } && {
37495 test -z "$ac_c_werror_flag" ||
37496 test ! -s conftest.err
37497 } && test -s conftest$ac_exeext &&
37498 $as_test_x conftest$ac_exeext; then
37499 eval "$as_ac_var=yes"
37500 else
37501 echo "$as_me: failed program was:" >&5
37502 sed 's/^/| /' conftest.$ac_ext >&5
37503
37504 eval "$as_ac_var=no"
37505 fi
37506
37507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37508 conftest$ac_exeext conftest.$ac_ext
37509 fi
37510 ac_res=`eval echo '${'$as_ac_var'}'`
37511 { echo "$as_me:$LINENO: result: $ac_res" >&5
37512 echo "${ECHO_T}$ac_res" >&6; }
37513 if test `eval echo '${'$as_ac_var'}'` = yes; then
37514 cat >>confdefs.h <<_ACEOF
37515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37516 _ACEOF
37517 cat >>confdefs.h <<\_ACEOF
37518 #define HAVE_NANOSLEEP 1
37519 _ACEOF
37520
37521 else
37522
37523 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37524 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37525 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37527 else
37528 ac_check_lib_save_LIBS=$LIBS
37529 LIBS="-lposix4 $LIBS"
37530 cat >conftest.$ac_ext <<_ACEOF
37531 /* confdefs.h. */
37532 _ACEOF
37533 cat confdefs.h >>conftest.$ac_ext
37534 cat >>conftest.$ac_ext <<_ACEOF
37535 /* end confdefs.h. */
37536
37537 /* Override any GCC internal prototype to avoid an error.
37538 Use char because int might match the return type of a GCC
37539 builtin and then its argument prototype would still apply. */
37540 #ifdef __cplusplus
37541 extern "C"
37542 #endif
37543 char nanosleep ();
37544 int
37545 main ()
37546 {
37547 return nanosleep ();
37548 ;
37549 return 0;
37550 }
37551 _ACEOF
37552 rm -f conftest.$ac_objext conftest$ac_exeext
37553 if { (ac_try="$ac_link"
37554 case "(($ac_try" in
37555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37556 *) ac_try_echo=$ac_try;;
37557 esac
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_link") 2>conftest.er1
37560 ac_status=$?
37561 grep -v '^ *+' conftest.er1 >conftest.err
37562 rm -f conftest.er1
37563 cat conftest.err >&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest$ac_exeext &&
37569 $as_test_x conftest$ac_exeext; then
37570 ac_cv_lib_posix4_nanosleep=yes
37571 else
37572 echo "$as_me: failed program was:" >&5
37573 sed 's/^/| /' conftest.$ac_ext >&5
37574
37575 ac_cv_lib_posix4_nanosleep=no
37576 fi
37577
37578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37579 conftest$ac_exeext conftest.$ac_ext
37580 LIBS=$ac_check_lib_save_LIBS
37581 fi
37582 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37583 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37584 if test $ac_cv_lib_posix4_nanosleep = yes; then
37585
37586 cat >>confdefs.h <<\_ACEOF
37587 #define HAVE_NANOSLEEP 1
37588 _ACEOF
37589
37590 POSIX4_LINK=" -lposix4"
37591
37592 else
37593
37594
37595 for wx_func in usleep
37596 do
37597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 else
37602
37603 cat >conftest.$ac_ext <<_ACEOF
37604
37605 /* confdefs.h. */
37606 _ACEOF
37607 cat confdefs.h >>conftest.$ac_ext
37608 cat >>conftest.$ac_ext <<_ACEOF
37609 /* end confdefs.h. */
37610
37611
37612 $ac_includes_default
37613
37614 int
37615 main ()
37616 {
37617
37618 #ifndef $wx_func
37619 &$wx_func;
37620 #endif
37621
37622
37623 ;
37624 return 0;
37625 }
37626
37627 _ACEOF
37628 rm -f conftest.$ac_objext conftest$ac_exeext
37629 if { (ac_try="$ac_link"
37630 case "(($ac_try" in
37631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37632 *) ac_try_echo=$ac_try;;
37633 esac
37634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37635 (eval "$ac_link") 2>conftest.er1
37636 ac_status=$?
37637 grep -v '^ *+' conftest.er1 >conftest.err
37638 rm -f conftest.er1
37639 cat conftest.err >&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); } && {
37642 test -z "$ac_c_werror_flag" ||
37643 test ! -s conftest.err
37644 } && test -s conftest$ac_exeext &&
37645 $as_test_x conftest$ac_exeext; then
37646 eval wx_cv_func_$wx_func=yes
37647 else
37648 echo "$as_me: failed program was:" >&5
37649 sed 's/^/| /' conftest.$ac_ext >&5
37650
37651 eval wx_cv_func_$wx_func=no
37652 fi
37653
37654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37655 conftest$ac_exeext conftest.$ac_ext
37656
37657 fi
37658 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37659 { echo "$as_me:$LINENO: result: $ac_res" >&5
37660 echo "${ECHO_T}$ac_res" >&6; }
37661
37662 if eval test \$wx_cv_func_$wx_func = yes
37663 then
37664 cat >>confdefs.h <<_ACEOF
37665 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37666 _ACEOF
37667
37668
37669 else
37670 :
37671 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37672 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37673
37674 fi
37675 done
37676
37677
37678
37679 fi
37680
37681
37682
37683 fi
37684 done
37685
37686 fi
37687
37688
37689 for wx_func in uname
37690 do
37691 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37692 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37693 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 else
37696
37697 cat >conftest.$ac_ext <<_ACEOF
37698
37699 /* confdefs.h. */
37700 _ACEOF
37701 cat confdefs.h >>conftest.$ac_ext
37702 cat >>conftest.$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704
37705 #include <sys/utsname.h>
37706 $ac_includes_default
37707
37708 int
37709 main ()
37710 {
37711
37712 #ifndef $wx_func
37713 &$wx_func;
37714 #endif
37715
37716
37717 ;
37718 return 0;
37719 }
37720
37721 _ACEOF
37722 rm -f conftest.$ac_objext conftest$ac_exeext
37723 if { (ac_try="$ac_link"
37724 case "(($ac_try" in
37725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37726 *) ac_try_echo=$ac_try;;
37727 esac
37728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37729 (eval "$ac_link") 2>conftest.er1
37730 ac_status=$?
37731 grep -v '^ *+' conftest.er1 >conftest.err
37732 rm -f conftest.er1
37733 cat conftest.err >&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } && {
37736 test -z "$ac_c_werror_flag" ||
37737 test ! -s conftest.err
37738 } && test -s conftest$ac_exeext &&
37739 $as_test_x conftest$ac_exeext; then
37740 eval wx_cv_func_$wx_func=yes
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745 eval wx_cv_func_$wx_func=no
37746 fi
37747
37748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37749 conftest$ac_exeext conftest.$ac_ext
37750
37751 fi
37752 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37753 { echo "$as_me:$LINENO: result: $ac_res" >&5
37754 echo "${ECHO_T}$ac_res" >&6; }
37755
37756 if eval test \$wx_cv_func_$wx_func = yes
37757 then
37758 cat >>confdefs.h <<_ACEOF
37759 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37760 _ACEOF
37761
37762
37763 else
37764 :
37765
37766 fi
37767 done
37768
37769 if test "$wx_cv_func_uname" != yes; then
37770
37771 for wx_func in gethostname
37772 do
37773 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37774 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37775 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37776 echo $ECHO_N "(cached) $ECHO_C" >&6
37777 else
37778
37779 cat >conftest.$ac_ext <<_ACEOF
37780
37781 /* confdefs.h. */
37782 _ACEOF
37783 cat confdefs.h >>conftest.$ac_ext
37784 cat >>conftest.$ac_ext <<_ACEOF
37785 /* end confdefs.h. */
37786
37787
37788 $ac_includes_default
37789
37790 int
37791 main ()
37792 {
37793
37794 #ifndef $wx_func
37795 &$wx_func;
37796 #endif
37797
37798
37799 ;
37800 return 0;
37801 }
37802
37803 _ACEOF
37804 rm -f conftest.$ac_objext conftest$ac_exeext
37805 if { (ac_try="$ac_link"
37806 case "(($ac_try" in
37807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37808 *) ac_try_echo=$ac_try;;
37809 esac
37810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37811 (eval "$ac_link") 2>conftest.er1
37812 ac_status=$?
37813 grep -v '^ *+' conftest.er1 >conftest.err
37814 rm -f conftest.er1
37815 cat conftest.err >&5
37816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37817 (exit $ac_status); } && {
37818 test -z "$ac_c_werror_flag" ||
37819 test ! -s conftest.err
37820 } && test -s conftest$ac_exeext &&
37821 $as_test_x conftest$ac_exeext; then
37822 eval wx_cv_func_$wx_func=yes
37823 else
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.$ac_ext >&5
37826
37827 eval wx_cv_func_$wx_func=no
37828 fi
37829
37830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37831 conftest$ac_exeext conftest.$ac_ext
37832
37833 fi
37834 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37835 { echo "$as_me:$LINENO: result: $ac_res" >&5
37836 echo "${ECHO_T}$ac_res" >&6; }
37837
37838 if eval test \$wx_cv_func_$wx_func = yes
37839 then
37840 cat >>confdefs.h <<_ACEOF
37841 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37842 _ACEOF
37843
37844
37845 else
37846 :
37847
37848 fi
37849 done
37850
37851 fi
37852
37853
37854 for wx_func in strtok_r
37855 do
37856 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37857 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37858 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 else
37861
37862 cat >conftest.$ac_ext <<_ACEOF
37863
37864 /* confdefs.h. */
37865 _ACEOF
37866 cat confdefs.h >>conftest.$ac_ext
37867 cat >>conftest.$ac_ext <<_ACEOF
37868 /* end confdefs.h. */
37869
37870 #define _REENTRANT
37871 $ac_includes_default
37872
37873 int
37874 main ()
37875 {
37876
37877 #ifndef $wx_func
37878 &$wx_func;
37879 #endif
37880
37881
37882 ;
37883 return 0;
37884 }
37885
37886 _ACEOF
37887 rm -f conftest.$ac_objext conftest$ac_exeext
37888 if { (ac_try="$ac_link"
37889 case "(($ac_try" in
37890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37891 *) ac_try_echo=$ac_try;;
37892 esac
37893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37894 (eval "$ac_link") 2>conftest.er1
37895 ac_status=$?
37896 grep -v '^ *+' conftest.er1 >conftest.err
37897 rm -f conftest.er1
37898 cat conftest.err >&5
37899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37900 (exit $ac_status); } && {
37901 test -z "$ac_c_werror_flag" ||
37902 test ! -s conftest.err
37903 } && test -s conftest$ac_exeext &&
37904 $as_test_x conftest$ac_exeext; then
37905 eval wx_cv_func_$wx_func=yes
37906 else
37907 echo "$as_me: failed program was:" >&5
37908 sed 's/^/| /' conftest.$ac_ext >&5
37909
37910 eval wx_cv_func_$wx_func=no
37911 fi
37912
37913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37914 conftest$ac_exeext conftest.$ac_ext
37915
37916 fi
37917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37918 { echo "$as_me:$LINENO: result: $ac_res" >&5
37919 echo "${ECHO_T}$ac_res" >&6; }
37920
37921 if eval test \$wx_cv_func_$wx_func = yes
37922 then
37923 cat >>confdefs.h <<_ACEOF
37924 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37925 _ACEOF
37926
37927
37928 else
37929 :
37930
37931 fi
37932 done
37933
37934
37935 INET_LINK=
37936
37937 for ac_func in inet_addr
37938 do
37939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37945 cat >conftest.$ac_ext <<_ACEOF
37946 /* confdefs.h. */
37947 _ACEOF
37948 cat confdefs.h >>conftest.$ac_ext
37949 cat >>conftest.$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37953 #define $ac_func innocuous_$ac_func
37954
37955 /* System header to define __stub macros and hopefully few prototypes,
37956 which can conflict with char $ac_func (); below.
37957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37958 <limits.h> exists even on freestanding compilers. */
37959
37960 #ifdef __STDC__
37961 # include <limits.h>
37962 #else
37963 # include <assert.h>
37964 #endif
37965
37966 #undef $ac_func
37967
37968 /* Override any GCC internal prototype to avoid an error.
37969 Use char because int might match the return type of a GCC
37970 builtin and then its argument prototype would still apply. */
37971 #ifdef __cplusplus
37972 extern "C"
37973 #endif
37974 char $ac_func ();
37975 /* The GNU C library defines this for functions which it implements
37976 to always fail with ENOSYS. Some functions are actually named
37977 something starting with __ and the normal name is an alias. */
37978 #if defined __stub_$ac_func || defined __stub___$ac_func
37979 choke me
37980 #endif
37981
37982 int
37983 main ()
37984 {
37985 return $ac_func ();
37986 ;
37987 return 0;
37988 }
37989 _ACEOF
37990 rm -f conftest.$ac_objext conftest$ac_exeext
37991 if { (ac_try="$ac_link"
37992 case "(($ac_try" in
37993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37994 *) ac_try_echo=$ac_try;;
37995 esac
37996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37997 (eval "$ac_link") 2>conftest.er1
37998 ac_status=$?
37999 grep -v '^ *+' conftest.er1 >conftest.err
38000 rm -f conftest.er1
38001 cat conftest.err >&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } && {
38004 test -z "$ac_c_werror_flag" ||
38005 test ! -s conftest.err
38006 } && test -s conftest$ac_exeext &&
38007 $as_test_x conftest$ac_exeext; then
38008 eval "$as_ac_var=yes"
38009 else
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38012
38013 eval "$as_ac_var=no"
38014 fi
38015
38016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38017 conftest$ac_exeext conftest.$ac_ext
38018 fi
38019 ac_res=`eval echo '${'$as_ac_var'}'`
38020 { echo "$as_me:$LINENO: result: $ac_res" >&5
38021 echo "${ECHO_T}$ac_res" >&6; }
38022 if test `eval echo '${'$as_ac_var'}'` = yes; then
38023 cat >>confdefs.h <<_ACEOF
38024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38025 _ACEOF
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_INET_ADDR 1
38028 _ACEOF
38029
38030 else
38031
38032 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38033 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38034 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38037 ac_check_lib_save_LIBS=$LIBS
38038 LIBS="-lnsl $LIBS"
38039 cat >conftest.$ac_ext <<_ACEOF
38040 /* confdefs.h. */
38041 _ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38045
38046 /* Override any GCC internal prototype to avoid an error.
38047 Use char because int might match the return type of a GCC
38048 builtin and then its argument prototype would still apply. */
38049 #ifdef __cplusplus
38050 extern "C"
38051 #endif
38052 char inet_addr ();
38053 int
38054 main ()
38055 {
38056 return inet_addr ();
38057 ;
38058 return 0;
38059 }
38060 _ACEOF
38061 rm -f conftest.$ac_objext conftest$ac_exeext
38062 if { (ac_try="$ac_link"
38063 case "(($ac_try" in
38064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38065 *) ac_try_echo=$ac_try;;
38066 esac
38067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38068 (eval "$ac_link") 2>conftest.er1
38069 ac_status=$?
38070 grep -v '^ *+' conftest.er1 >conftest.err
38071 rm -f conftest.er1
38072 cat conftest.err >&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } && {
38075 test -z "$ac_c_werror_flag" ||
38076 test ! -s conftest.err
38077 } && test -s conftest$ac_exeext &&
38078 $as_test_x conftest$ac_exeext; then
38079 ac_cv_lib_nsl_inet_addr=yes
38080 else
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38083
38084 ac_cv_lib_nsl_inet_addr=no
38085 fi
38086
38087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38088 conftest$ac_exeext conftest.$ac_ext
38089 LIBS=$ac_check_lib_save_LIBS
38090 fi
38091 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38092 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38093 if test $ac_cv_lib_nsl_inet_addr = yes; then
38094 INET_LINK="nsl"
38095 else
38096
38097 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38098 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38099 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38100 echo $ECHO_N "(cached) $ECHO_C" >&6
38101 else
38102 ac_check_lib_save_LIBS=$LIBS
38103 LIBS="-lresolv $LIBS"
38104 cat >conftest.$ac_ext <<_ACEOF
38105 /* confdefs.h. */
38106 _ACEOF
38107 cat confdefs.h >>conftest.$ac_ext
38108 cat >>conftest.$ac_ext <<_ACEOF
38109 /* end confdefs.h. */
38110
38111 /* Override any GCC internal prototype to avoid an error.
38112 Use char because int might match the return type of a GCC
38113 builtin and then its argument prototype would still apply. */
38114 #ifdef __cplusplus
38115 extern "C"
38116 #endif
38117 char inet_addr ();
38118 int
38119 main ()
38120 {
38121 return inet_addr ();
38122 ;
38123 return 0;
38124 }
38125 _ACEOF
38126 rm -f conftest.$ac_objext conftest$ac_exeext
38127 if { (ac_try="$ac_link"
38128 case "(($ac_try" in
38129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38130 *) ac_try_echo=$ac_try;;
38131 esac
38132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38133 (eval "$ac_link") 2>conftest.er1
38134 ac_status=$?
38135 grep -v '^ *+' conftest.er1 >conftest.err
38136 rm -f conftest.er1
38137 cat conftest.err >&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } && {
38140 test -z "$ac_c_werror_flag" ||
38141 test ! -s conftest.err
38142 } && test -s conftest$ac_exeext &&
38143 $as_test_x conftest$ac_exeext; then
38144 ac_cv_lib_resolv_inet_addr=yes
38145 else
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.$ac_ext >&5
38148
38149 ac_cv_lib_resolv_inet_addr=no
38150 fi
38151
38152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38153 conftest$ac_exeext conftest.$ac_ext
38154 LIBS=$ac_check_lib_save_LIBS
38155 fi
38156 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38157 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38158 if test $ac_cv_lib_resolv_inet_addr = yes; then
38159 INET_LINK="resolv"
38160 else
38161
38162 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38163 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38164 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38166 else
38167 ac_check_lib_save_LIBS=$LIBS
38168 LIBS="-lsocket $LIBS"
38169 cat >conftest.$ac_ext <<_ACEOF
38170 /* confdefs.h. */
38171 _ACEOF
38172 cat confdefs.h >>conftest.$ac_ext
38173 cat >>conftest.$ac_ext <<_ACEOF
38174 /* end confdefs.h. */
38175
38176 /* Override any GCC internal prototype to avoid an error.
38177 Use char because int might match the return type of a GCC
38178 builtin and then its argument prototype would still apply. */
38179 #ifdef __cplusplus
38180 extern "C"
38181 #endif
38182 char inet_addr ();
38183 int
38184 main ()
38185 {
38186 return inet_addr ();
38187 ;
38188 return 0;
38189 }
38190 _ACEOF
38191 rm -f conftest.$ac_objext conftest$ac_exeext
38192 if { (ac_try="$ac_link"
38193 case "(($ac_try" in
38194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38195 *) ac_try_echo=$ac_try;;
38196 esac
38197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38198 (eval "$ac_link") 2>conftest.er1
38199 ac_status=$?
38200 grep -v '^ *+' conftest.er1 >conftest.err
38201 rm -f conftest.er1
38202 cat conftest.err >&5
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); } && {
38205 test -z "$ac_c_werror_flag" ||
38206 test ! -s conftest.err
38207 } && test -s conftest$ac_exeext &&
38208 $as_test_x conftest$ac_exeext; then
38209 ac_cv_lib_socket_inet_addr=yes
38210 else
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.$ac_ext >&5
38213
38214 ac_cv_lib_socket_inet_addr=no
38215 fi
38216
38217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38218 conftest$ac_exeext conftest.$ac_ext
38219 LIBS=$ac_check_lib_save_LIBS
38220 fi
38221 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38222 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38223 if test $ac_cv_lib_socket_inet_addr = yes; then
38224 INET_LINK="socket"
38225
38226 fi
38227
38228
38229
38230 fi
38231
38232
38233
38234 fi
38235
38236
38237
38238 fi
38239 done
38240
38241
38242
38243 for ac_func in inet_aton
38244 do
38245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38246 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38248 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 else
38251 cat >conftest.$ac_ext <<_ACEOF
38252 /* confdefs.h. */
38253 _ACEOF
38254 cat confdefs.h >>conftest.$ac_ext
38255 cat >>conftest.$ac_ext <<_ACEOF
38256 /* end confdefs.h. */
38257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38259 #define $ac_func innocuous_$ac_func
38260
38261 /* System header to define __stub macros and hopefully few prototypes,
38262 which can conflict with char $ac_func (); below.
38263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38264 <limits.h> exists even on freestanding compilers. */
38265
38266 #ifdef __STDC__
38267 # include <limits.h>
38268 #else
38269 # include <assert.h>
38270 #endif
38271
38272 #undef $ac_func
38273
38274 /* Override any GCC internal prototype to avoid an error.
38275 Use char because int might match the return type of a GCC
38276 builtin and then its argument prototype would still apply. */
38277 #ifdef __cplusplus
38278 extern "C"
38279 #endif
38280 char $ac_func ();
38281 /* The GNU C library defines this for functions which it implements
38282 to always fail with ENOSYS. Some functions are actually named
38283 something starting with __ and the normal name is an alias. */
38284 #if defined __stub_$ac_func || defined __stub___$ac_func
38285 choke me
38286 #endif
38287
38288 int
38289 main ()
38290 {
38291 return $ac_func ();
38292 ;
38293 return 0;
38294 }
38295 _ACEOF
38296 rm -f conftest.$ac_objext conftest$ac_exeext
38297 if { (ac_try="$ac_link"
38298 case "(($ac_try" in
38299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38300 *) ac_try_echo=$ac_try;;
38301 esac
38302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38303 (eval "$ac_link") 2>conftest.er1
38304 ac_status=$?
38305 grep -v '^ *+' conftest.er1 >conftest.err
38306 rm -f conftest.er1
38307 cat conftest.err >&5
38308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38309 (exit $ac_status); } && {
38310 test -z "$ac_c_werror_flag" ||
38311 test ! -s conftest.err
38312 } && test -s conftest$ac_exeext &&
38313 $as_test_x conftest$ac_exeext; then
38314 eval "$as_ac_var=yes"
38315 else
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.$ac_ext >&5
38318
38319 eval "$as_ac_var=no"
38320 fi
38321
38322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38323 conftest$ac_exeext conftest.$ac_ext
38324 fi
38325 ac_res=`eval echo '${'$as_ac_var'}'`
38326 { echo "$as_me:$LINENO: result: $ac_res" >&5
38327 echo "${ECHO_T}$ac_res" >&6; }
38328 if test `eval echo '${'$as_ac_var'}'` = yes; then
38329 cat >>confdefs.h <<_ACEOF
38330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38331 _ACEOF
38332 cat >>confdefs.h <<\_ACEOF
38333 #define HAVE_INET_ATON 1
38334 _ACEOF
38335
38336 else
38337
38338 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38339 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38340 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38341 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38342 echo $ECHO_N "(cached) $ECHO_C" >&6
38343 else
38344 ac_check_lib_save_LIBS=$LIBS
38345 LIBS="-l$INET_LINK $LIBS"
38346 cat >conftest.$ac_ext <<_ACEOF
38347 /* confdefs.h. */
38348 _ACEOF
38349 cat confdefs.h >>conftest.$ac_ext
38350 cat >>conftest.$ac_ext <<_ACEOF
38351 /* end confdefs.h. */
38352
38353 /* Override any GCC internal prototype to avoid an error.
38354 Use char because int might match the return type of a GCC
38355 builtin and then its argument prototype would still apply. */
38356 #ifdef __cplusplus
38357 extern "C"
38358 #endif
38359 char inet_aton ();
38360 int
38361 main ()
38362 {
38363 return inet_aton ();
38364 ;
38365 return 0;
38366 }
38367 _ACEOF
38368 rm -f conftest.$ac_objext conftest$ac_exeext
38369 if { (ac_try="$ac_link"
38370 case "(($ac_try" in
38371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38372 *) ac_try_echo=$ac_try;;
38373 esac
38374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38375 (eval "$ac_link") 2>conftest.er1
38376 ac_status=$?
38377 grep -v '^ *+' conftest.er1 >conftest.err
38378 rm -f conftest.er1
38379 cat conftest.err >&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } && {
38382 test -z "$ac_c_werror_flag" ||
38383 test ! -s conftest.err
38384 } && test -s conftest$ac_exeext &&
38385 $as_test_x conftest$ac_exeext; then
38386 eval "$as_ac_Lib=yes"
38387 else
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38390
38391 eval "$as_ac_Lib=no"
38392 fi
38393
38394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38395 conftest$ac_exeext conftest.$ac_ext
38396 LIBS=$ac_check_lib_save_LIBS
38397 fi
38398 ac_res=`eval echo '${'$as_ac_Lib'}'`
38399 { echo "$as_me:$LINENO: result: $ac_res" >&5
38400 echo "${ECHO_T}$ac_res" >&6; }
38401 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38402 cat >>confdefs.h <<\_ACEOF
38403 #define HAVE_INET_ATON 1
38404 _ACEOF
38405
38406 fi
38407
38408
38409 fi
38410 done
38411
38412
38413 if test "x$INET_LINK" != "x"; then
38414 cat >>confdefs.h <<\_ACEOF
38415 #define HAVE_INET_ADDR 1
38416 _ACEOF
38417
38418 INET_LINK=" -l$INET_LINK"
38419 fi
38420
38421
38422 for wx_func in fdopen
38423 do
38424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38427 echo $ECHO_N "(cached) $ECHO_C" >&6
38428 else
38429
38430 cat >conftest.$ac_ext <<_ACEOF
38431
38432 /* confdefs.h. */
38433 _ACEOF
38434 cat confdefs.h >>conftest.$ac_ext
38435 cat >>conftest.$ac_ext <<_ACEOF
38436 /* end confdefs.h. */
38437
38438
38439 $ac_includes_default
38440
38441 int
38442 main ()
38443 {
38444
38445 #ifndef $wx_func
38446 &$wx_func;
38447 #endif
38448
38449
38450 ;
38451 return 0;
38452 }
38453
38454 _ACEOF
38455 rm -f conftest.$ac_objext conftest$ac_exeext
38456 if { (ac_try="$ac_link"
38457 case "(($ac_try" in
38458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38459 *) ac_try_echo=$ac_try;;
38460 esac
38461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38462 (eval "$ac_link") 2>conftest.er1
38463 ac_status=$?
38464 grep -v '^ *+' conftest.er1 >conftest.err
38465 rm -f conftest.er1
38466 cat conftest.err >&5
38467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468 (exit $ac_status); } && {
38469 test -z "$ac_c_werror_flag" ||
38470 test ! -s conftest.err
38471 } && test -s conftest$ac_exeext &&
38472 $as_test_x conftest$ac_exeext; then
38473 eval wx_cv_func_$wx_func=yes
38474 else
38475 echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.$ac_ext >&5
38477
38478 eval wx_cv_func_$wx_func=no
38479 fi
38480
38481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38482 conftest$ac_exeext conftest.$ac_ext
38483
38484 fi
38485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38486 { echo "$as_me:$LINENO: result: $ac_res" >&5
38487 echo "${ECHO_T}$ac_res" >&6; }
38488
38489 if eval test \$wx_cv_func_$wx_func = yes
38490 then
38491 cat >>confdefs.h <<_ACEOF
38492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38493 _ACEOF
38494
38495
38496 else
38497 :
38498
38499 fi
38500 done
38501
38502
38503 if test "$wxUSE_TARSTREAM" = "yes"; then
38504
38505 for wx_func in sysconf
38506 do
38507 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38508 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38509 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38512
38513 cat >conftest.$ac_ext <<_ACEOF
38514
38515 /* confdefs.h. */
38516 _ACEOF
38517 cat confdefs.h >>conftest.$ac_ext
38518 cat >>conftest.$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38520
38521
38522 $ac_includes_default
38523
38524 int
38525 main ()
38526 {
38527
38528 #ifndef $wx_func
38529 &$wx_func;
38530 #endif
38531
38532
38533 ;
38534 return 0;
38535 }
38536
38537 _ACEOF
38538 rm -f conftest.$ac_objext conftest$ac_exeext
38539 if { (ac_try="$ac_link"
38540 case "(($ac_try" in
38541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38542 *) ac_try_echo=$ac_try;;
38543 esac
38544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38545 (eval "$ac_link") 2>conftest.er1
38546 ac_status=$?
38547 grep -v '^ *+' conftest.er1 >conftest.err
38548 rm -f conftest.er1
38549 cat conftest.err >&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); } && {
38552 test -z "$ac_c_werror_flag" ||
38553 test ! -s conftest.err
38554 } && test -s conftest$ac_exeext &&
38555 $as_test_x conftest$ac_exeext; then
38556 eval wx_cv_func_$wx_func=yes
38557 else
38558 echo "$as_me: failed program was:" >&5
38559 sed 's/^/| /' conftest.$ac_ext >&5
38560
38561 eval wx_cv_func_$wx_func=no
38562 fi
38563
38564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38565 conftest$ac_exeext conftest.$ac_ext
38566
38567 fi
38568 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38569 { echo "$as_me:$LINENO: result: $ac_res" >&5
38570 echo "${ECHO_T}$ac_res" >&6; }
38571
38572 if eval test \$wx_cv_func_$wx_func = yes
38573 then
38574 cat >>confdefs.h <<_ACEOF
38575 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38576 _ACEOF
38577
38578
38579 else
38580 :
38581
38582 fi
38583 done
38584
38585
38586
38587 for wx_func in getpwuid_r
38588 do
38589 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38590 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38591 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38592 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 else
38594
38595 cat >conftest.$ac_ext <<_ACEOF
38596
38597 /* confdefs.h. */
38598 _ACEOF
38599 cat confdefs.h >>conftest.$ac_ext
38600 cat >>conftest.$ac_ext <<_ACEOF
38601 /* end confdefs.h. */
38602
38603
38604 #define _REENTRANT
38605 #include <pwd.h>
38606
38607 $ac_includes_default
38608
38609 int
38610 main ()
38611 {
38612
38613 #ifndef $wx_func
38614 &$wx_func;
38615 #endif
38616
38617 struct passwd pw, *ppw;
38618 char buf[1024];
38619 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38620
38621
38622 ;
38623 return 0;
38624 }
38625
38626 _ACEOF
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (ac_try="$ac_link"
38629 case "(($ac_try" in
38630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38631 *) ac_try_echo=$ac_try;;
38632 esac
38633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38634 (eval "$ac_link") 2>conftest.er1
38635 ac_status=$?
38636 grep -v '^ *+' conftest.er1 >conftest.err
38637 rm -f conftest.er1
38638 cat conftest.err >&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); } && {
38641 test -z "$ac_c_werror_flag" ||
38642 test ! -s conftest.err
38643 } && test -s conftest$ac_exeext &&
38644 $as_test_x conftest$ac_exeext; then
38645 eval wx_cv_func_$wx_func=yes
38646 else
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.$ac_ext >&5
38649
38650 eval wx_cv_func_$wx_func=no
38651 fi
38652
38653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38654 conftest$ac_exeext conftest.$ac_ext
38655
38656 fi
38657 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38658 { echo "$as_me:$LINENO: result: $ac_res" >&5
38659 echo "${ECHO_T}$ac_res" >&6; }
38660
38661 if eval test \$wx_cv_func_$wx_func = yes
38662 then
38663 cat >>confdefs.h <<_ACEOF
38664 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38665 _ACEOF
38666
38667
38668 else
38669 :
38670
38671 fi
38672 done
38673
38674
38675
38676 for wx_func in getgrgid_r
38677 do
38678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38680 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38681 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 else
38683
38684 cat >conftest.$ac_ext <<_ACEOF
38685
38686 /* confdefs.h. */
38687 _ACEOF
38688 cat confdefs.h >>conftest.$ac_ext
38689 cat >>conftest.$ac_ext <<_ACEOF
38690 /* end confdefs.h. */
38691
38692
38693 #define _REENTRANT
38694 #include <grp.h>
38695
38696 $ac_includes_default
38697
38698 int
38699 main ()
38700 {
38701
38702 #ifndef $wx_func
38703 &$wx_func;
38704 #endif
38705
38706 struct group grp, *pgrp;
38707 char buf[1024];
38708 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38709
38710
38711 ;
38712 return 0;
38713 }
38714
38715 _ACEOF
38716 rm -f conftest.$ac_objext conftest$ac_exeext
38717 if { (ac_try="$ac_link"
38718 case "(($ac_try" in
38719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38720 *) ac_try_echo=$ac_try;;
38721 esac
38722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38723 (eval "$ac_link") 2>conftest.er1
38724 ac_status=$?
38725 grep -v '^ *+' conftest.er1 >conftest.err
38726 rm -f conftest.er1
38727 cat conftest.err >&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } && {
38730 test -z "$ac_c_werror_flag" ||
38731 test ! -s conftest.err
38732 } && test -s conftest$ac_exeext &&
38733 $as_test_x conftest$ac_exeext; then
38734 eval wx_cv_func_$wx_func=yes
38735 else
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38738
38739 eval wx_cv_func_$wx_func=no
38740 fi
38741
38742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38743 conftest$ac_exeext conftest.$ac_ext
38744
38745 fi
38746 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38747 { echo "$as_me:$LINENO: result: $ac_res" >&5
38748 echo "${ECHO_T}$ac_res" >&6; }
38749
38750 if eval test \$wx_cv_func_$wx_func = yes
38751 then
38752 cat >>confdefs.h <<_ACEOF
38753 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38754 _ACEOF
38755
38756
38757 else
38758 :
38759
38760 fi
38761 done
38762
38763 fi
38764
38765 fi
38766
38767
38768
38769 cat >confcache <<\_ACEOF
38770 # This file is a shell script that caches the results of configure
38771 # tests run on this system so they can be shared between configure
38772 # scripts and configure runs, see configure's option --config-cache.
38773 # It is not useful on other systems. If it contains results you don't
38774 # want to keep, you may remove or edit it.
38775 #
38776 # config.status only pays attention to the cache file if you give it
38777 # the --recheck option to rerun configure.
38778 #
38779 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38781 # following values.
38782
38783 _ACEOF
38784
38785 # The following way of writing the cache mishandles newlines in values,
38786 # but we know of no workaround that is simple, portable, and efficient.
38787 # So, we kill variables containing newlines.
38788 # Ultrix sh set writes to stderr and can't be redirected directly,
38789 # and sets the high bit in the cache file unless we assign to the vars.
38790 (
38791 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38792 eval ac_val=\$$ac_var
38793 case $ac_val in #(
38794 *${as_nl}*)
38795 case $ac_var in #(
38796 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38797 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38798 esac
38799 case $ac_var in #(
38800 _ | IFS | as_nl) ;; #(
38801 *) $as_unset $ac_var ;;
38802 esac ;;
38803 esac
38804 done
38805
38806 (set) 2>&1 |
38807 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38808 *${as_nl}ac_space=\ *)
38809 # `set' does not quote correctly, so add quotes (double-quote
38810 # substitution turns \\\\ into \\, and sed turns \\ into \).
38811 sed -n \
38812 "s/'/'\\\\''/g;
38813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38814 ;; #(
38815 *)
38816 # `set' quotes correctly as required by POSIX, so do not add quotes.
38817 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38818 ;;
38819 esac |
38820 sort
38821 ) |
38822 sed '
38823 /^ac_cv_env_/b end
38824 t clear
38825 :clear
38826 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38827 t end
38828 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38829 :end' >>confcache
38830 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38831 if test -w "$cache_file"; then
38832 test "x$cache_file" != "x/dev/null" &&
38833 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38834 echo "$as_me: updating cache $cache_file" >&6;}
38835 cat confcache >$cache_file
38836 else
38837 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38838 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38839 fi
38840 fi
38841 rm -f confcache
38842
38843
38844 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38845
38846
38847 THREADS_LINK=
38848 THREADS_CFLAGS=
38849
38850 if test "$wxUSE_THREADS" = "yes" ; then
38851 if test "$USE_BEOS" = 1; then
38852 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38853 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38854 wxUSE_THREADS="no"
38855 fi
38856 fi
38857
38858 if test "$wxUSE_THREADS" = "yes" ; then
38859
38860
38861 THREAD_OPTS="-pthread"
38862 if test "x$SUNCXX" = xyes; then
38863 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38864 fi
38865
38866 case "${host}" in
38867 *-*-solaris2* | *-*-sunos4* )
38868 if test "x$GCC" = "xyes"; then
38869 THREAD_OPTS="-pthreads $THREAD_OPTS"
38870 fi
38871 ;;
38872 *-*-freebsd*)
38873 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38874 ;;
38875 *-*-darwin* | *-*-cygwin* )
38876 THREAD_OPTS=""
38877 ;;
38878 *-*-aix*)
38879 THREAD_OPTS="pthreads"
38880 ;;
38881 *-hp-hpux* )
38882 if test "x$GCC" = "xyes"; then
38883 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38884 THREAD_OPTS=""
38885 else
38886 THREAD_OPTS="-mt"
38887 fi
38888 ;;
38889
38890 *-*-irix* )
38891 if test "x$GCC" = "xyes"; then
38892 THREAD_OPTS=""
38893 fi
38894 ;;
38895
38896 *-*-*UnixWare*)
38897 if test "x$GCC" != "xyes"; then
38898 THREAD_OPTS="-Ethread"
38899 fi
38900 ;;
38901 esac
38902
38903 THREAD_OPTS="$THREAD_OPTS pthread none"
38904
38905 THREADS_OK=no
38906 for flag in $THREAD_OPTS; do
38907 case $flag in
38908 none)
38909 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38910 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38911 ;;
38912
38913 -*)
38914 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38915 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38916 THREADS_CFLAGS="$flag"
38917 ;;
38918
38919 *)
38920 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38921 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38922 THREADS_LINK="-l$flag"
38923 ;;
38924 esac
38925
38926 save_LIBS="$LIBS"
38927 save_CFLAGS="$CFLAGS"
38928 LIBS="$THREADS_LINK $LIBS"
38929 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38930
38931 cat >conftest.$ac_ext <<_ACEOF
38932 /* confdefs.h. */
38933 _ACEOF
38934 cat confdefs.h >>conftest.$ac_ext
38935 cat >>conftest.$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38937 #include <pthread.h>
38938 int
38939 main ()
38940 {
38941 pthread_create(0,0,0,0);
38942 ;
38943 return 0;
38944 }
38945 _ACEOF
38946 rm -f conftest.$ac_objext conftest$ac_exeext
38947 if { (ac_try="$ac_link"
38948 case "(($ac_try" in
38949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38950 *) ac_try_echo=$ac_try;;
38951 esac
38952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38953 (eval "$ac_link") 2>conftest.er1
38954 ac_status=$?
38955 grep -v '^ *+' conftest.er1 >conftest.err
38956 rm -f conftest.er1
38957 cat conftest.err >&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } && {
38960 test -z "$ac_c_werror_flag" ||
38961 test ! -s conftest.err
38962 } && test -s conftest$ac_exeext &&
38963 $as_test_x conftest$ac_exeext; then
38964 THREADS_OK=yes
38965 else
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.$ac_ext >&5
38968
38969
38970 fi
38971
38972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38973 conftest$ac_exeext conftest.$ac_ext
38974
38975 LIBS="$save_LIBS"
38976 CFLAGS="$save_CFLAGS"
38977
38978 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38979 echo "${ECHO_T}$THREADS_OK" >&6; }
38980 if test "x$THREADS_OK" = "xyes"; then
38981 break;
38982 fi
38983
38984 THREADS_LINK=""
38985 THREADS_CFLAGS=""
38986 done
38987
38988 if test "x$THREADS_OK" != "xyes"; then
38989 wxUSE_THREADS=no
38990 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38991 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38992 else
38993 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38994 LIBS="$THREADS_LINK $LIBS"
38995
38996 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38997 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38998 flag=no
38999 case "${host}" in
39000 *-aix*)
39001 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39002 flag="-D_THREAD_SAFE"
39003 ;;
39004 *-freebsd*)
39005 flag="-D_THREAD_SAFE"
39006 ;;
39007 *-hp-hpux* )
39008 flag="-D_REENTRANT"
39009 if test "x$GCC" != "xyes"; then
39010 flag="$flag -D_RWSTD_MULTI_THREAD"
39011 fi
39012 ;;
39013 *solaris* | alpha*-osf*)
39014 flag="-D_REENTRANT"
39015 ;;
39016 esac
39017 { echo "$as_me:$LINENO: result: ${flag}" >&5
39018 echo "${ECHO_T}${flag}" >&6; }
39019 if test "x$flag" != xno; then
39020 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39021 fi
39022
39023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39024 fi
39025 fi
39026
39027 if test "$wxUSE_THREADS" = "yes" ; then
39028
39029 for ac_func in thr_setconcurrency
39030 do
39031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39035 echo $ECHO_N "(cached) $ECHO_C" >&6
39036 else
39037 cat >conftest.$ac_ext <<_ACEOF
39038 /* confdefs.h. */
39039 _ACEOF
39040 cat confdefs.h >>conftest.$ac_ext
39041 cat >>conftest.$ac_ext <<_ACEOF
39042 /* end confdefs.h. */
39043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39045 #define $ac_func innocuous_$ac_func
39046
39047 /* System header to define __stub macros and hopefully few prototypes,
39048 which can conflict with char $ac_func (); below.
39049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39050 <limits.h> exists even on freestanding compilers. */
39051
39052 #ifdef __STDC__
39053 # include <limits.h>
39054 #else
39055 # include <assert.h>
39056 #endif
39057
39058 #undef $ac_func
39059
39060 /* Override any GCC internal prototype to avoid an error.
39061 Use char because int might match the return type of a GCC
39062 builtin and then its argument prototype would still apply. */
39063 #ifdef __cplusplus
39064 extern "C"
39065 #endif
39066 char $ac_func ();
39067 /* The GNU C library defines this for functions which it implements
39068 to always fail with ENOSYS. Some functions are actually named
39069 something starting with __ and the normal name is an alias. */
39070 #if defined __stub_$ac_func || defined __stub___$ac_func
39071 choke me
39072 #endif
39073
39074 int
39075 main ()
39076 {
39077 return $ac_func ();
39078 ;
39079 return 0;
39080 }
39081 _ACEOF
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (ac_try="$ac_link"
39084 case "(($ac_try" in
39085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39086 *) ac_try_echo=$ac_try;;
39087 esac
39088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39089 (eval "$ac_link") 2>conftest.er1
39090 ac_status=$?
39091 grep -v '^ *+' conftest.er1 >conftest.err
39092 rm -f conftest.er1
39093 cat conftest.err >&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } && {
39096 test -z "$ac_c_werror_flag" ||
39097 test ! -s conftest.err
39098 } && test -s conftest$ac_exeext &&
39099 $as_test_x conftest$ac_exeext; then
39100 eval "$as_ac_var=yes"
39101 else
39102 echo "$as_me: failed program was:" >&5
39103 sed 's/^/| /' conftest.$ac_ext >&5
39104
39105 eval "$as_ac_var=no"
39106 fi
39107
39108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39109 conftest$ac_exeext conftest.$ac_ext
39110 fi
39111 ac_res=`eval echo '${'$as_ac_var'}'`
39112 { echo "$as_me:$LINENO: result: $ac_res" >&5
39113 echo "${ECHO_T}$ac_res" >&6; }
39114 if test `eval echo '${'$as_ac_var'}'` = yes; then
39115 cat >>confdefs.h <<_ACEOF
39116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39117 _ACEOF
39118
39119 fi
39120 done
39121
39122
39123 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39124 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39125 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39126 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 else
39128
39129 ac_ext=cpp
39130 ac_cpp='$CXXCPP $CPPFLAGS'
39131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39134
39135 cat >conftest.$ac_ext <<_ACEOF
39136 /* confdefs.h. */
39137 _ACEOF
39138 cat confdefs.h >>conftest.$ac_ext
39139 cat >>conftest.$ac_ext <<_ACEOF
39140 /* end confdefs.h. */
39141 #include <pthread.h>
39142 void ThreadCleanupFunc(void *p);
39143
39144 int
39145 main ()
39146 {
39147
39148 void *p;
39149 pthread_cleanup_push(ThreadCleanupFunc, p);
39150 pthread_cleanup_pop(0);
39151
39152 ;
39153 return 0;
39154 }
39155 _ACEOF
39156 rm -f conftest.$ac_objext
39157 if { (ac_try="$ac_compile"
39158 case "(($ac_try" in
39159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39160 *) ac_try_echo=$ac_try;;
39161 esac
39162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39163 (eval "$ac_compile") 2>conftest.er1
39164 ac_status=$?
39165 grep -v '^ *+' conftest.er1 >conftest.err
39166 rm -f conftest.er1
39167 cat conftest.err >&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); } && {
39170 test -z "$ac_cxx_werror_flag" ||
39171 test ! -s conftest.err
39172 } && test -s conftest.$ac_objext; then
39173
39174 wx_cv_func_pthread_cleanup=yes
39175
39176 else
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39179
39180
39181 wx_cv_func_pthread_cleanup=no
39182
39183
39184 fi
39185
39186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39187 ac_ext=c
39188 ac_cpp='$CPP $CPPFLAGS'
39189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39192
39193
39194 fi
39195 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39196 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39197 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39198 cat >>confdefs.h <<\_ACEOF
39199 #define wxHAVE_PTHREAD_CLEANUP 1
39200 _ACEOF
39201
39202 fi
39203
39204
39205 for ac_header in sched.h
39206 do
39207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 else
39213 cat >conftest.$ac_ext <<_ACEOF
39214 /* confdefs.h. */
39215 _ACEOF
39216 cat confdefs.h >>conftest.$ac_ext
39217 cat >>conftest.$ac_ext <<_ACEOF
39218 /* end confdefs.h. */
39219 $ac_includes_default
39220
39221 #include <$ac_header>
39222 _ACEOF
39223 rm -f conftest.$ac_objext
39224 if { (ac_try="$ac_compile"
39225 case "(($ac_try" in
39226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39227 *) ac_try_echo=$ac_try;;
39228 esac
39229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39230 (eval "$ac_compile") 2>conftest.er1
39231 ac_status=$?
39232 grep -v '^ *+' conftest.er1 >conftest.err
39233 rm -f conftest.er1
39234 cat conftest.err >&5
39235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39236 (exit $ac_status); } && {
39237 test -z "$ac_c_werror_flag" ||
39238 test ! -s conftest.err
39239 } && test -s conftest.$ac_objext; then
39240 eval "$as_ac_Header=yes"
39241 else
39242 echo "$as_me: failed program was:" >&5
39243 sed 's/^/| /' conftest.$ac_ext >&5
39244
39245 eval "$as_ac_Header=no"
39246 fi
39247
39248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39249 fi
39250 ac_res=`eval echo '${'$as_ac_Header'}'`
39251 { echo "$as_me:$LINENO: result: $ac_res" >&5
39252 echo "${ECHO_T}$ac_res" >&6; }
39253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39254 cat >>confdefs.h <<_ACEOF
39255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39256 _ACEOF
39257
39258 fi
39259
39260 done
39261
39262 if test "$ac_cv_header_sched_h" = "yes"; then
39263 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39264 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39265 if test "${ac_cv_func_sched_yield+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 else
39268 cat >conftest.$ac_ext <<_ACEOF
39269 /* confdefs.h. */
39270 _ACEOF
39271 cat confdefs.h >>conftest.$ac_ext
39272 cat >>conftest.$ac_ext <<_ACEOF
39273 /* end confdefs.h. */
39274 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39276 #define sched_yield innocuous_sched_yield
39277
39278 /* System header to define __stub macros and hopefully few prototypes,
39279 which can conflict with char sched_yield (); below.
39280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39281 <limits.h> exists even on freestanding compilers. */
39282
39283 #ifdef __STDC__
39284 # include <limits.h>
39285 #else
39286 # include <assert.h>
39287 #endif
39288
39289 #undef sched_yield
39290
39291 /* Override any GCC internal prototype to avoid an error.
39292 Use char because int might match the return type of a GCC
39293 builtin and then its argument prototype would still apply. */
39294 #ifdef __cplusplus
39295 extern "C"
39296 #endif
39297 char sched_yield ();
39298 /* The GNU C library defines this for functions which it implements
39299 to always fail with ENOSYS. Some functions are actually named
39300 something starting with __ and the normal name is an alias. */
39301 #if defined __stub_sched_yield || defined __stub___sched_yield
39302 choke me
39303 #endif
39304
39305 int
39306 main ()
39307 {
39308 return sched_yield ();
39309 ;
39310 return 0;
39311 }
39312 _ACEOF
39313 rm -f conftest.$ac_objext conftest$ac_exeext
39314 if { (ac_try="$ac_link"
39315 case "(($ac_try" in
39316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39317 *) ac_try_echo=$ac_try;;
39318 esac
39319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39320 (eval "$ac_link") 2>conftest.er1
39321 ac_status=$?
39322 grep -v '^ *+' conftest.er1 >conftest.err
39323 rm -f conftest.er1
39324 cat conftest.err >&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); } && {
39327 test -z "$ac_c_werror_flag" ||
39328 test ! -s conftest.err
39329 } && test -s conftest$ac_exeext &&
39330 $as_test_x conftest$ac_exeext; then
39331 ac_cv_func_sched_yield=yes
39332 else
39333 echo "$as_me: failed program was:" >&5
39334 sed 's/^/| /' conftest.$ac_ext >&5
39335
39336 ac_cv_func_sched_yield=no
39337 fi
39338
39339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39340 conftest$ac_exeext conftest.$ac_ext
39341 fi
39342 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39343 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39344 if test $ac_cv_func_sched_yield = yes; then
39345 cat >>confdefs.h <<\_ACEOF
39346 #define HAVE_SCHED_YIELD 1
39347 _ACEOF
39348
39349 else
39350
39351 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39352 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39353 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39355 else
39356 ac_check_lib_save_LIBS=$LIBS
39357 LIBS="-lposix4 $LIBS"
39358 cat >conftest.$ac_ext <<_ACEOF
39359 /* confdefs.h. */
39360 _ACEOF
39361 cat confdefs.h >>conftest.$ac_ext
39362 cat >>conftest.$ac_ext <<_ACEOF
39363 /* end confdefs.h. */
39364
39365 /* Override any GCC internal prototype to avoid an error.
39366 Use char because int might match the return type of a GCC
39367 builtin and then its argument prototype would still apply. */
39368 #ifdef __cplusplus
39369 extern "C"
39370 #endif
39371 char sched_yield ();
39372 int
39373 main ()
39374 {
39375 return sched_yield ();
39376 ;
39377 return 0;
39378 }
39379 _ACEOF
39380 rm -f conftest.$ac_objext conftest$ac_exeext
39381 if { (ac_try="$ac_link"
39382 case "(($ac_try" in
39383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39384 *) ac_try_echo=$ac_try;;
39385 esac
39386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39387 (eval "$ac_link") 2>conftest.er1
39388 ac_status=$?
39389 grep -v '^ *+' conftest.er1 >conftest.err
39390 rm -f conftest.er1
39391 cat conftest.err >&5
39392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39393 (exit $ac_status); } && {
39394 test -z "$ac_c_werror_flag" ||
39395 test ! -s conftest.err
39396 } && test -s conftest$ac_exeext &&
39397 $as_test_x conftest$ac_exeext; then
39398 ac_cv_lib_posix4_sched_yield=yes
39399 else
39400 echo "$as_me: failed program was:" >&5
39401 sed 's/^/| /' conftest.$ac_ext >&5
39402
39403 ac_cv_lib_posix4_sched_yield=no
39404 fi
39405
39406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39407 conftest$ac_exeext conftest.$ac_ext
39408 LIBS=$ac_check_lib_save_LIBS
39409 fi
39410 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39411 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39412 if test $ac_cv_lib_posix4_sched_yield = yes; then
39413 cat >>confdefs.h <<\_ACEOF
39414 #define HAVE_SCHED_YIELD 1
39415 _ACEOF
39416 POSIX4_LINK=" -lposix4"
39417 else
39418 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39419 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39420
39421 fi
39422
39423
39424
39425 fi
39426
39427 fi
39428
39429 HAVE_PRIOR_FUNCS=0
39430 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39431 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39432 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39433 echo $ECHO_N "(cached) $ECHO_C" >&6
39434 else
39435 cat >conftest.$ac_ext <<_ACEOF
39436 /* confdefs.h. */
39437 _ACEOF
39438 cat confdefs.h >>conftest.$ac_ext
39439 cat >>conftest.$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39441 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39443 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39444
39445 /* System header to define __stub macros and hopefully few prototypes,
39446 which can conflict with char pthread_attr_getschedpolicy (); below.
39447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39448 <limits.h> exists even on freestanding compilers. */
39449
39450 #ifdef __STDC__
39451 # include <limits.h>
39452 #else
39453 # include <assert.h>
39454 #endif
39455
39456 #undef pthread_attr_getschedpolicy
39457
39458 /* Override any GCC internal prototype to avoid an error.
39459 Use char because int might match the return type of a GCC
39460 builtin and then its argument prototype would still apply. */
39461 #ifdef __cplusplus
39462 extern "C"
39463 #endif
39464 char pthread_attr_getschedpolicy ();
39465 /* The GNU C library defines this for functions which it implements
39466 to always fail with ENOSYS. Some functions are actually named
39467 something starting with __ and the normal name is an alias. */
39468 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39469 choke me
39470 #endif
39471
39472 int
39473 main ()
39474 {
39475 return pthread_attr_getschedpolicy ();
39476 ;
39477 return 0;
39478 }
39479 _ACEOF
39480 rm -f conftest.$ac_objext conftest$ac_exeext
39481 if { (ac_try="$ac_link"
39482 case "(($ac_try" in
39483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39484 *) ac_try_echo=$ac_try;;
39485 esac
39486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39487 (eval "$ac_link") 2>conftest.er1
39488 ac_status=$?
39489 grep -v '^ *+' conftest.er1 >conftest.err
39490 rm -f conftest.er1
39491 cat conftest.err >&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); } && {
39494 test -z "$ac_c_werror_flag" ||
39495 test ! -s conftest.err
39496 } && test -s conftest$ac_exeext &&
39497 $as_test_x conftest$ac_exeext; then
39498 ac_cv_func_pthread_attr_getschedpolicy=yes
39499 else
39500 echo "$as_me: failed program was:" >&5
39501 sed 's/^/| /' conftest.$ac_ext >&5
39502
39503 ac_cv_func_pthread_attr_getschedpolicy=no
39504 fi
39505
39506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39507 conftest$ac_exeext conftest.$ac_ext
39508 fi
39509 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39510 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39511 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39512 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39513 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39514 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39515 echo $ECHO_N "(cached) $ECHO_C" >&6
39516 else
39517 cat >conftest.$ac_ext <<_ACEOF
39518 /* confdefs.h. */
39519 _ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39525 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39526
39527 /* System header to define __stub macros and hopefully few prototypes,
39528 which can conflict with char pthread_attr_setschedparam (); below.
39529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39530 <limits.h> exists even on freestanding compilers. */
39531
39532 #ifdef __STDC__
39533 # include <limits.h>
39534 #else
39535 # include <assert.h>
39536 #endif
39537
39538 #undef pthread_attr_setschedparam
39539
39540 /* Override any GCC internal prototype to avoid an error.
39541 Use char because int might match the return type of a GCC
39542 builtin and then its argument prototype would still apply. */
39543 #ifdef __cplusplus
39544 extern "C"
39545 #endif
39546 char pthread_attr_setschedparam ();
39547 /* The GNU C library defines this for functions which it implements
39548 to always fail with ENOSYS. Some functions are actually named
39549 something starting with __ and the normal name is an alias. */
39550 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39551 choke me
39552 #endif
39553
39554 int
39555 main ()
39556 {
39557 return pthread_attr_setschedparam ();
39558 ;
39559 return 0;
39560 }
39561 _ACEOF
39562 rm -f conftest.$ac_objext conftest$ac_exeext
39563 if { (ac_try="$ac_link"
39564 case "(($ac_try" in
39565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39566 *) ac_try_echo=$ac_try;;
39567 esac
39568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39569 (eval "$ac_link") 2>conftest.er1
39570 ac_status=$?
39571 grep -v '^ *+' conftest.er1 >conftest.err
39572 rm -f conftest.er1
39573 cat conftest.err >&5
39574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39575 (exit $ac_status); } && {
39576 test -z "$ac_c_werror_flag" ||
39577 test ! -s conftest.err
39578 } && test -s conftest$ac_exeext &&
39579 $as_test_x conftest$ac_exeext; then
39580 ac_cv_func_pthread_attr_setschedparam=yes
39581 else
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.$ac_ext >&5
39584
39585 ac_cv_func_pthread_attr_setschedparam=no
39586 fi
39587
39588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39589 conftest$ac_exeext conftest.$ac_ext
39590 fi
39591 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39592 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39593 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39594 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39595 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39596 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39597 echo $ECHO_N "(cached) $ECHO_C" >&6
39598 else
39599 cat >conftest.$ac_ext <<_ACEOF
39600 /* confdefs.h. */
39601 _ACEOF
39602 cat confdefs.h >>conftest.$ac_ext
39603 cat >>conftest.$ac_ext <<_ACEOF
39604 /* end confdefs.h. */
39605 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39607 #define sched_get_priority_max innocuous_sched_get_priority_max
39608
39609 /* System header to define __stub macros and hopefully few prototypes,
39610 which can conflict with char sched_get_priority_max (); below.
39611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39612 <limits.h> exists even on freestanding compilers. */
39613
39614 #ifdef __STDC__
39615 # include <limits.h>
39616 #else
39617 # include <assert.h>
39618 #endif
39619
39620 #undef sched_get_priority_max
39621
39622 /* Override any GCC internal prototype to avoid an error.
39623 Use char because int might match the return type of a GCC
39624 builtin and then its argument prototype would still apply. */
39625 #ifdef __cplusplus
39626 extern "C"
39627 #endif
39628 char sched_get_priority_max ();
39629 /* The GNU C library defines this for functions which it implements
39630 to always fail with ENOSYS. Some functions are actually named
39631 something starting with __ and the normal name is an alias. */
39632 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39633 choke me
39634 #endif
39635
39636 int
39637 main ()
39638 {
39639 return sched_get_priority_max ();
39640 ;
39641 return 0;
39642 }
39643 _ACEOF
39644 rm -f conftest.$ac_objext conftest$ac_exeext
39645 if { (ac_try="$ac_link"
39646 case "(($ac_try" in
39647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39648 *) ac_try_echo=$ac_try;;
39649 esac
39650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39651 (eval "$ac_link") 2>conftest.er1
39652 ac_status=$?
39653 grep -v '^ *+' conftest.er1 >conftest.err
39654 rm -f conftest.er1
39655 cat conftest.err >&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); } && {
39658 test -z "$ac_c_werror_flag" ||
39659 test ! -s conftest.err
39660 } && test -s conftest$ac_exeext &&
39661 $as_test_x conftest$ac_exeext; then
39662 ac_cv_func_sched_get_priority_max=yes
39663 else
39664 echo "$as_me: failed program was:" >&5
39665 sed 's/^/| /' conftest.$ac_ext >&5
39666
39667 ac_cv_func_sched_get_priority_max=no
39668 fi
39669
39670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39671 conftest$ac_exeext conftest.$ac_ext
39672 fi
39673 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39674 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39675 if test $ac_cv_func_sched_get_priority_max = yes; then
39676 HAVE_PRIOR_FUNCS=1
39677 else
39678 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39679 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39680 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39681 echo $ECHO_N "(cached) $ECHO_C" >&6
39682 else
39683 ac_check_lib_save_LIBS=$LIBS
39684 LIBS="-lposix4 $LIBS"
39685 cat >conftest.$ac_ext <<_ACEOF
39686 /* confdefs.h. */
39687 _ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39691
39692 /* Override any GCC internal prototype to avoid an error.
39693 Use char because int might match the return type of a GCC
39694 builtin and then its argument prototype would still apply. */
39695 #ifdef __cplusplus
39696 extern "C"
39697 #endif
39698 char sched_get_priority_max ();
39699 int
39700 main ()
39701 {
39702 return sched_get_priority_max ();
39703 ;
39704 return 0;
39705 }
39706 _ACEOF
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39711 *) ac_try_echo=$ac_try;;
39712 esac
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39715 ac_status=$?
39716 grep -v '^ *+' conftest.er1 >conftest.err
39717 rm -f conftest.er1
39718 cat conftest.err >&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest$ac_exeext &&
39724 $as_test_x conftest$ac_exeext; then
39725 ac_cv_lib_posix4_sched_get_priority_max=yes
39726 else
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.$ac_ext >&5
39729
39730 ac_cv_lib_posix4_sched_get_priority_max=no
39731 fi
39732
39733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39734 conftest$ac_exeext conftest.$ac_ext
39735 LIBS=$ac_check_lib_save_LIBS
39736 fi
39737 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39738 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39739 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39740
39741 HAVE_PRIOR_FUNCS=1
39742 POSIX4_LINK=" -lposix4"
39743
39744 fi
39745
39746
39747 fi
39748
39749
39750 fi
39751
39752
39753 fi
39754
39755
39756 if test "$HAVE_PRIOR_FUNCS" = 1; then
39757 cat >>confdefs.h <<\_ACEOF
39758 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39759 _ACEOF
39760
39761 else
39762 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39763 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39764 fi
39765
39766 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39767 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39768 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 else
39771 cat >conftest.$ac_ext <<_ACEOF
39772 /* confdefs.h. */
39773 _ACEOF
39774 cat confdefs.h >>conftest.$ac_ext
39775 cat >>conftest.$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39777 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39779 #define pthread_cancel innocuous_pthread_cancel
39780
39781 /* System header to define __stub macros and hopefully few prototypes,
39782 which can conflict with char pthread_cancel (); below.
39783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39784 <limits.h> exists even on freestanding compilers. */
39785
39786 #ifdef __STDC__
39787 # include <limits.h>
39788 #else
39789 # include <assert.h>
39790 #endif
39791
39792 #undef pthread_cancel
39793
39794 /* Override any GCC internal prototype to avoid an error.
39795 Use char because int might match the return type of a GCC
39796 builtin and then its argument prototype would still apply. */
39797 #ifdef __cplusplus
39798 extern "C"
39799 #endif
39800 char pthread_cancel ();
39801 /* The GNU C library defines this for functions which it implements
39802 to always fail with ENOSYS. Some functions are actually named
39803 something starting with __ and the normal name is an alias. */
39804 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39805 choke me
39806 #endif
39807
39808 int
39809 main ()
39810 {
39811 return pthread_cancel ();
39812 ;
39813 return 0;
39814 }
39815 _ACEOF
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (ac_try="$ac_link"
39818 case "(($ac_try" in
39819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39820 *) ac_try_echo=$ac_try;;
39821 esac
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_link") 2>conftest.er1
39824 ac_status=$?
39825 grep -v '^ *+' conftest.er1 >conftest.err
39826 rm -f conftest.er1
39827 cat conftest.err >&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest$ac_exeext &&
39833 $as_test_x conftest$ac_exeext; then
39834 ac_cv_func_pthread_cancel=yes
39835 else
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39838
39839 ac_cv_func_pthread_cancel=no
39840 fi
39841
39842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39843 conftest$ac_exeext conftest.$ac_ext
39844 fi
39845 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39846 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39847 if test $ac_cv_func_pthread_cancel = yes; then
39848 cat >>confdefs.h <<\_ACEOF
39849 #define HAVE_PTHREAD_CANCEL 1
39850 _ACEOF
39851
39852 else
39853 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39854 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39855 fi
39856
39857
39858 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39859 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39860 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39862 else
39863 cat >conftest.$ac_ext <<_ACEOF
39864 /* confdefs.h. */
39865 _ACEOF
39866 cat confdefs.h >>conftest.$ac_ext
39867 cat >>conftest.$ac_ext <<_ACEOF
39868 /* end confdefs.h. */
39869 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39871 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39872
39873 /* System header to define __stub macros and hopefully few prototypes,
39874 which can conflict with char pthread_mutex_timedlock (); below.
39875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39876 <limits.h> exists even on freestanding compilers. */
39877
39878 #ifdef __STDC__
39879 # include <limits.h>
39880 #else
39881 # include <assert.h>
39882 #endif
39883
39884 #undef pthread_mutex_timedlock
39885
39886 /* Override any GCC internal prototype to avoid an error.
39887 Use char because int might match the return type of a GCC
39888 builtin and then its argument prototype would still apply. */
39889 #ifdef __cplusplus
39890 extern "C"
39891 #endif
39892 char pthread_mutex_timedlock ();
39893 /* The GNU C library defines this for functions which it implements
39894 to always fail with ENOSYS. Some functions are actually named
39895 something starting with __ and the normal name is an alias. */
39896 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39897 choke me
39898 #endif
39899
39900 int
39901 main ()
39902 {
39903 return pthread_mutex_timedlock ();
39904 ;
39905 return 0;
39906 }
39907 _ACEOF
39908 rm -f conftest.$ac_objext conftest$ac_exeext
39909 if { (ac_try="$ac_link"
39910 case "(($ac_try" in
39911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39912 *) ac_try_echo=$ac_try;;
39913 esac
39914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39915 (eval "$ac_link") 2>conftest.er1
39916 ac_status=$?
39917 grep -v '^ *+' conftest.er1 >conftest.err
39918 rm -f conftest.er1
39919 cat conftest.err >&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } && {
39922 test -z "$ac_c_werror_flag" ||
39923 test ! -s conftest.err
39924 } && test -s conftest$ac_exeext &&
39925 $as_test_x conftest$ac_exeext; then
39926 ac_cv_func_pthread_mutex_timedlock=yes
39927 else
39928 echo "$as_me: failed program was:" >&5
39929 sed 's/^/| /' conftest.$ac_ext >&5
39930
39931 ac_cv_func_pthread_mutex_timedlock=no
39932 fi
39933
39934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39935 conftest$ac_exeext conftest.$ac_ext
39936 fi
39937 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39938 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39939 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39940 cat >>confdefs.h <<\_ACEOF
39941 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39942 _ACEOF
39943
39944 else
39945 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39946 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39947 fi
39948
39949
39950 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39951 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39952 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39953 echo $ECHO_N "(cached) $ECHO_C" >&6
39954 else
39955 cat >conftest.$ac_ext <<_ACEOF
39956 /* confdefs.h. */
39957 _ACEOF
39958 cat confdefs.h >>conftest.$ac_ext
39959 cat >>conftest.$ac_ext <<_ACEOF
39960 /* end confdefs.h. */
39961 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39963 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39964
39965 /* System header to define __stub macros and hopefully few prototypes,
39966 which can conflict with char pthread_attr_setstacksize (); below.
39967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39968 <limits.h> exists even on freestanding compilers. */
39969
39970 #ifdef __STDC__
39971 # include <limits.h>
39972 #else
39973 # include <assert.h>
39974 #endif
39975
39976 #undef pthread_attr_setstacksize
39977
39978 /* Override any GCC internal prototype to avoid an error.
39979 Use char because int might match the return type of a GCC
39980 builtin and then its argument prototype would still apply. */
39981 #ifdef __cplusplus
39982 extern "C"
39983 #endif
39984 char pthread_attr_setstacksize ();
39985 /* The GNU C library defines this for functions which it implements
39986 to always fail with ENOSYS. Some functions are actually named
39987 something starting with __ and the normal name is an alias. */
39988 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39989 choke me
39990 #endif
39991
39992 int
39993 main ()
39994 {
39995 return pthread_attr_setstacksize ();
39996 ;
39997 return 0;
39998 }
39999 _ACEOF
40000 rm -f conftest.$ac_objext conftest$ac_exeext
40001 if { (ac_try="$ac_link"
40002 case "(($ac_try" in
40003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40005 esac
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_link") 2>conftest.er1
40008 ac_status=$?
40009 grep -v '^ *+' conftest.er1 >conftest.err
40010 rm -f conftest.er1
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } && {
40014 test -z "$ac_c_werror_flag" ||
40015 test ! -s conftest.err
40016 } && test -s conftest$ac_exeext &&
40017 $as_test_x conftest$ac_exeext; then
40018 ac_cv_func_pthread_attr_setstacksize=yes
40019 else
40020 echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.$ac_ext >&5
40022
40023 ac_cv_func_pthread_attr_setstacksize=no
40024 fi
40025
40026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40027 conftest$ac_exeext conftest.$ac_ext
40028 fi
40029 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40030 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40031 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40032 cat >>confdefs.h <<\_ACEOF
40033 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40034 _ACEOF
40035
40036 fi
40037
40038
40039
40040 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40041 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40042 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40043 echo $ECHO_N "(cached) $ECHO_C" >&6
40044 else
40045
40046 cat >conftest.$ac_ext <<_ACEOF
40047 /* confdefs.h. */
40048 _ACEOF
40049 cat confdefs.h >>conftest.$ac_ext
40050 cat >>conftest.$ac_ext <<_ACEOF
40051 /* end confdefs.h. */
40052 #include <pthread.h>
40053 int
40054 main ()
40055 {
40056
40057 pthread_mutexattr_t attr;
40058 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40059
40060 ;
40061 return 0;
40062 }
40063 _ACEOF
40064 rm -f conftest.$ac_objext
40065 if { (ac_try="$ac_compile"
40066 case "(($ac_try" in
40067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40068 *) ac_try_echo=$ac_try;;
40069 esac
40070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40071 (eval "$ac_compile") 2>conftest.er1
40072 ac_status=$?
40073 grep -v '^ *+' conftest.er1 >conftest.err
40074 rm -f conftest.er1
40075 cat conftest.err >&5
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); } && {
40078 test -z "$ac_c_werror_flag" ||
40079 test ! -s conftest.err
40080 } && test -s conftest.$ac_objext; then
40081 wx_cv_type_pthread_mutexattr_t=yes
40082 else
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.$ac_ext >&5
40085
40086 wx_cv_type_pthread_mutexattr_t=no
40087
40088 fi
40089
40090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40091
40092 fi
40093 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40094 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40095
40096 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40097 cat >>confdefs.h <<\_ACEOF
40098 #define HAVE_PTHREAD_MUTEXATTR_T 1
40099 _ACEOF
40100
40101
40102 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40103 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40104 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40105 echo $ECHO_N "(cached) $ECHO_C" >&6
40106 else
40107
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 #include <pthread.h>
40115 int
40116 main ()
40117 {
40118
40119 pthread_mutexattr_t attr;
40120 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40121
40122 ;
40123 return 0;
40124 }
40125 _ACEOF
40126 rm -f conftest.$ac_objext
40127 if { (ac_try="$ac_compile"
40128 case "(($ac_try" in
40129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40130 *) ac_try_echo=$ac_try;;
40131 esac
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_compile") 2>conftest.er1
40134 ac_status=$?
40135 grep -v '^ *+' conftest.er1 >conftest.err
40136 rm -f conftest.er1
40137 cat conftest.err >&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest.$ac_objext; then
40143 wx_cv_func_pthread_mutexattr_settype_decl=yes
40144 else
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40147
40148 wx_cv_func_pthread_mutexattr_settype_decl=no
40149
40150 fi
40151
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40153
40154 fi
40155 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40156 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40157 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40158 cat >>confdefs.h <<\_ACEOF
40159 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40160 _ACEOF
40161
40162 fi
40163 else
40164 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40165 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40166 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40167 echo $ECHO_N "(cached) $ECHO_C" >&6
40168 else
40169
40170 cat >conftest.$ac_ext <<_ACEOF
40171 /* confdefs.h. */
40172 _ACEOF
40173 cat confdefs.h >>conftest.$ac_ext
40174 cat >>conftest.$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40176 #include <pthread.h>
40177 int
40178 main ()
40179 {
40180
40181 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40182
40183 ;
40184 return 0;
40185 }
40186 _ACEOF
40187 rm -f conftest.$ac_objext
40188 if { (ac_try="$ac_compile"
40189 case "(($ac_try" in
40190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40191 *) ac_try_echo=$ac_try;;
40192 esac
40193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40194 (eval "$ac_compile") 2>conftest.er1
40195 ac_status=$?
40196 grep -v '^ *+' conftest.er1 >conftest.err
40197 rm -f conftest.er1
40198 cat conftest.err >&5
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); } && {
40201 test -z "$ac_c_werror_flag" ||
40202 test ! -s conftest.err
40203 } && test -s conftest.$ac_objext; then
40204
40205 wx_cv_type_pthread_rec_mutex_init=yes
40206
40207 else
40208 echo "$as_me: failed program was:" >&5
40209 sed 's/^/| /' conftest.$ac_ext >&5
40210
40211
40212 wx_cv_type_pthread_rec_mutex_init=no
40213
40214
40215 fi
40216
40217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40218
40219 fi
40220 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40221 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40222 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40223 cat >>confdefs.h <<\_ACEOF
40224 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40225 _ACEOF
40226
40227 else
40228 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40229 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40230 fi
40231 fi
40232
40233 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40234 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40235 if test "${wx_cv_cc___thread+set}" = set; then
40236 echo $ECHO_N "(cached) $ECHO_C" >&6
40237 else
40238
40239 cat >conftest.$ac_ext <<_ACEOF
40240 /* confdefs.h. */
40241 _ACEOF
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40245 #include <pthread.h>
40246 int
40247 main ()
40248 {
40249
40250 static __thread int n = 0;
40251 static __thread int *p = 0;
40252
40253 ;
40254 return 0;
40255 }
40256 _ACEOF
40257 rm -f conftest.$ac_objext
40258 if { (ac_try="$ac_compile"
40259 case "(($ac_try" in
40260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40261 *) ac_try_echo=$ac_try;;
40262 esac
40263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40264 (eval "$ac_compile") 2>conftest.er1
40265 ac_status=$?
40266 grep -v '^ *+' conftest.er1 >conftest.err
40267 rm -f conftest.er1
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } && {
40271 test -z "$ac_c_werror_flag" ||
40272 test ! -s conftest.err
40273 } && test -s conftest.$ac_objext; then
40274 wx_cv_cc___thread=yes
40275 else
40276 echo "$as_me: failed program was:" >&5
40277 sed 's/^/| /' conftest.$ac_ext >&5
40278
40279 wx_cv_cc___thread=no
40280
40281 fi
40282
40283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40284
40285
40286 fi
40287 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40288 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40289
40290 if test "$wx_cv_cc___thread" = "yes"; then
40291
40292 GXX_VERSION=""
40293
40294
40295
40296 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40297 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40298
40299 if test "x$GCC" = "xyes" ; then
40300
40301 if test -z "" ; then
40302
40303 ax_gcc_option_test="int main()
40304 {
40305 return 0;
40306 }"
40307
40308 else
40309
40310 ax_gcc_option_test=""
40311
40312 fi
40313
40314
40315 # Dump the test program to file
40316 cat <<EOF > conftest.c
40317 $ax_gcc_option_test
40318 EOF
40319
40320 # Dump back the file to the log, useful for debugging purposes
40321 { ac_try='cat conftest.c 1>&5'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; }
40327
40328 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40330 (eval $ac_try) 2>&5
40331 ac_status=$?
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); }; } ; then
40334
40335 { echo "$as_me:$LINENO: result: yes" >&5
40336 echo "${ECHO_T}yes" >&6; }
40337
40338 ax_gcc_version_option=yes
40339
40340
40341 else
40342
40343 { echo "$as_me:$LINENO: result: no" >&5
40344 echo "${ECHO_T}no" >&6; }
40345
40346 ax_gcc_version_option=no
40347
40348
40349 fi
40350
40351
40352 else
40353
40354 { echo "$as_me:$LINENO: result: no gcc available" >&5
40355 echo "${ECHO_T}no gcc available" >&6; }
40356
40357 fi
40358
40359
40360 if test "x$GXX" = "xyes"; then
40361
40362 if test "x$ax_gxx_version_option" != "no"; then
40363
40364 { echo "$as_me:$LINENO: checking gxx version" >&5
40365 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40366 if test "${ax_cv_gxx_version+set}" = set; then
40367 echo $ECHO_N "(cached) $ECHO_C" >&6
40368 else
40369
40370 ax_cv_gxx_version="`$CXX -dumpversion`"
40371 if test "x$ax_cv_gxx_version" = "x"; then
40372
40373 ax_cv_gxx_version=""
40374
40375 fi
40376
40377
40378 fi
40379 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40380 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40381 GXX_VERSION=$ax_cv_gxx_version
40382
40383 fi
40384
40385
40386 fi
40387
40388
40389
40390 if test -n "$ax_cv_gxx_version"; then
40391 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40392 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40393 case "$ax_cv_gxx_version" in
40394 1.* | 2.* | 3.* )
40395 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40396 echo "${ECHO_T}no, it's broken" >&6; }
40397 wx_cv_cc___thread=no
40398 ;;
40399 *)
40400 { echo "$as_me:$LINENO: result: yes, it works" >&5
40401 echo "${ECHO_T}yes, it works" >&6; }
40402 ;;
40403 esac
40404 fi
40405 fi
40406
40407 if test "$wx_cv_cc___thread" = "yes"; then
40408 cat >>confdefs.h <<\_ACEOF
40409 #define HAVE___THREAD_KEYWORD 1
40410 _ACEOF
40411
40412 fi
40413 fi
40414
40415 else
40416 if test "$wxUSE_THREADS" = "yes" ; then
40417 case "${host}" in
40418 x86_64-*-mingw32* )
40419 ;;
40420 *-*-mingw32* )
40421 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40422 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40423 if test "${wx_cv_cflags_mthread+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 else
40426
40427 CFLAGS_OLD="$CFLAGS"
40428 CFLAGS="-mthreads $CFLAGS"
40429 cat >conftest.$ac_ext <<_ACEOF
40430 /* confdefs.h. */
40431 _ACEOF
40432 cat confdefs.h >>conftest.$ac_ext
40433 cat >>conftest.$ac_ext <<_ACEOF
40434 /* end confdefs.h. */
40435
40436 int
40437 main ()
40438 {
40439
40440 ;
40441 return 0;
40442 }
40443 _ACEOF
40444 rm -f conftest.$ac_objext
40445 if { (ac_try="$ac_compile"
40446 case "(($ac_try" in
40447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40448 *) ac_try_echo=$ac_try;;
40449 esac
40450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40451 (eval "$ac_compile") 2>conftest.er1
40452 ac_status=$?
40453 grep -v '^ *+' conftest.er1 >conftest.err
40454 rm -f conftest.er1
40455 cat conftest.err >&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); } && {
40458 test -z "$ac_c_werror_flag" ||
40459 test ! -s conftest.err
40460 } && test -s conftest.$ac_objext; then
40461 wx_cv_cflags_mthread=yes
40462 else
40463 echo "$as_me: failed program was:" >&5
40464 sed 's/^/| /' conftest.$ac_ext >&5
40465
40466 wx_cv_cflags_mthread=no
40467
40468 fi
40469
40470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40471
40472
40473 fi
40474 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40475 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40476
40477 if test "$wx_cv_cflags_mthread" = "yes"; then
40478 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40479 LDFLAGS="$LDFLAGS -mthreads"
40480 else
40481 CFLAGS="$CFLAGS_OLD"
40482 fi
40483 ;;
40484 *-pc-os2*emx )
40485 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40486 LDFLAGS="$LDFLAGS -Zmt"
40487 ;;
40488 esac
40489 fi
40490 fi
40491
40492 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40493 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40494 if test "${ac_cv_func_localtime_r+set}" = set; then
40495 echo $ECHO_N "(cached) $ECHO_C" >&6
40496 else
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define localtime_r innocuous_localtime_r
40506
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char localtime_r (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40511
40512 #ifdef __STDC__
40513 # include <limits.h>
40514 #else
40515 # include <assert.h>
40516 #endif
40517
40518 #undef localtime_r
40519
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40523 #ifdef __cplusplus
40524 extern "C"
40525 #endif
40526 char localtime_r ();
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_localtime_r || defined __stub___localtime_r
40531 choke me
40532 #endif
40533
40534 int
40535 main ()
40536 {
40537 return localtime_r ();
40538 ;
40539 return 0;
40540 }
40541 _ACEOF
40542 rm -f conftest.$ac_objext conftest$ac_exeext
40543 if { (ac_try="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40547 esac
40548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40549 (eval "$ac_link") 2>conftest.er1
40550 ac_status=$?
40551 grep -v '^ *+' conftest.er1 >conftest.err
40552 rm -f conftest.er1
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } && {
40556 test -z "$ac_c_werror_flag" ||
40557 test ! -s conftest.err
40558 } && test -s conftest$ac_exeext &&
40559 $as_test_x conftest$ac_exeext; then
40560 ac_cv_func_localtime_r=yes
40561 else
40562 echo "$as_me: failed program was:" >&5
40563 sed 's/^/| /' conftest.$ac_ext >&5
40564
40565 ac_cv_func_localtime_r=no
40566 fi
40567
40568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40569 conftest$ac_exeext conftest.$ac_ext
40570 fi
40571 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40572 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40573 if test $ac_cv_func_localtime_r = yes; then
40574 cat >>confdefs.h <<\_ACEOF
40575 #define HAVE_LOCALTIME_R 1
40576 _ACEOF
40577
40578 fi
40579
40580 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40581 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40582 if test "${ac_cv_func_gmtime_r+set}" = set; then
40583 echo $ECHO_N "(cached) $ECHO_C" >&6
40584 else
40585 cat >conftest.$ac_ext <<_ACEOF
40586 /* confdefs.h. */
40587 _ACEOF
40588 cat confdefs.h >>conftest.$ac_ext
40589 cat >>conftest.$ac_ext <<_ACEOF
40590 /* end confdefs.h. */
40591 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40593 #define gmtime_r innocuous_gmtime_r
40594
40595 /* System header to define __stub macros and hopefully few prototypes,
40596 which can conflict with char gmtime_r (); below.
40597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40598 <limits.h> exists even on freestanding compilers. */
40599
40600 #ifdef __STDC__
40601 # include <limits.h>
40602 #else
40603 # include <assert.h>
40604 #endif
40605
40606 #undef gmtime_r
40607
40608 /* Override any GCC internal prototype to avoid an error.
40609 Use char because int might match the return type of a GCC
40610 builtin and then its argument prototype would still apply. */
40611 #ifdef __cplusplus
40612 extern "C"
40613 #endif
40614 char gmtime_r ();
40615 /* The GNU C library defines this for functions which it implements
40616 to always fail with ENOSYS. Some functions are actually named
40617 something starting with __ and the normal name is an alias. */
40618 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40619 choke me
40620 #endif
40621
40622 int
40623 main ()
40624 {
40625 return gmtime_r ();
40626 ;
40627 return 0;
40628 }
40629 _ACEOF
40630 rm -f conftest.$ac_objext conftest$ac_exeext
40631 if { (ac_try="$ac_link"
40632 case "(($ac_try" in
40633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40634 *) ac_try_echo=$ac_try;;
40635 esac
40636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40637 (eval "$ac_link") 2>conftest.er1
40638 ac_status=$?
40639 grep -v '^ *+' conftest.er1 >conftest.err
40640 rm -f conftest.er1
40641 cat conftest.err >&5
40642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643 (exit $ac_status); } && {
40644 test -z "$ac_c_werror_flag" ||
40645 test ! -s conftest.err
40646 } && test -s conftest$ac_exeext &&
40647 $as_test_x conftest$ac_exeext; then
40648 ac_cv_func_gmtime_r=yes
40649 else
40650 echo "$as_me: failed program was:" >&5
40651 sed 's/^/| /' conftest.$ac_ext >&5
40652
40653 ac_cv_func_gmtime_r=no
40654 fi
40655
40656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40657 conftest$ac_exeext conftest.$ac_ext
40658 fi
40659 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40660 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40661 if test $ac_cv_func_gmtime_r = yes; then
40662 cat >>confdefs.h <<\_ACEOF
40663 #define HAVE_GMTIME_R 1
40664 _ACEOF
40665
40666 fi
40667
40668
40669
40670
40671 ac_ext=c
40672 ac_cpp='$CPP $CPPFLAGS'
40673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40676
40677 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40678 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40679
40680 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40682 else
40683
40684
40685 ################################################################
40686
40687 ac_cv_func_which_gethostbyname_r=unknown
40688
40689 #
40690 # ONE ARGUMENT (sanity check)
40691 #
40692
40693 # This should fail, as there is no variant of gethostbyname_r() that takes
40694 # a single argument. If it actually compiles, then we can assume that
40695 # netdb.h is not declaring the function, and the compiler is thereby
40696 # assuming an implicit prototype. In which case, we're out of luck.
40697 #
40698 cat >conftest.$ac_ext <<_ACEOF
40699 /* confdefs.h. */
40700 _ACEOF
40701 cat confdefs.h >>conftest.$ac_ext
40702 cat >>conftest.$ac_ext <<_ACEOF
40703 /* end confdefs.h. */
40704 #include <netdb.h>
40705 int
40706 main ()
40707 {
40708
40709 char *name = "www.gnu.org";
40710 (void)gethostbyname_r(name) /* ; */
40711
40712 ;
40713 return 0;
40714 }
40715 _ACEOF
40716 rm -f conftest.$ac_objext
40717 if { (ac_try="$ac_compile"
40718 case "(($ac_try" in
40719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40720 *) ac_try_echo=$ac_try;;
40721 esac
40722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40723 (eval "$ac_compile") 2>conftest.er1
40724 ac_status=$?
40725 grep -v '^ *+' conftest.er1 >conftest.err
40726 rm -f conftest.er1
40727 cat conftest.err >&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } && {
40730 test -z "$ac_c_werror_flag" ||
40731 test ! -s conftest.err
40732 } && test -s conftest.$ac_objext; then
40733 ac_cv_func_which_gethostbyname_r=no
40734 else
40735 echo "$as_me: failed program was:" >&5
40736 sed 's/^/| /' conftest.$ac_ext >&5
40737
40738
40739 fi
40740
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40742
40743 #
40744 # SIX ARGUMENTS
40745 # (e.g. Linux)
40746 #
40747
40748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40749
40750 cat >conftest.$ac_ext <<_ACEOF
40751 /* confdefs.h. */
40752 _ACEOF
40753 cat confdefs.h >>conftest.$ac_ext
40754 cat >>conftest.$ac_ext <<_ACEOF
40755 /* end confdefs.h. */
40756 #include <netdb.h>
40757 int
40758 main ()
40759 {
40760
40761 char *name = "www.gnu.org";
40762 struct hostent ret, *retp;
40763 char buf[1024];
40764 int buflen = 1024;
40765 int my_h_errno;
40766 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40767
40768 ;
40769 return 0;
40770 }
40771 _ACEOF
40772 rm -f conftest.$ac_objext
40773 if { (ac_try="$ac_compile"
40774 case "(($ac_try" in
40775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40776 *) ac_try_echo=$ac_try;;
40777 esac
40778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40779 (eval "$ac_compile") 2>conftest.er1
40780 ac_status=$?
40781 grep -v '^ *+' conftest.er1 >conftest.err
40782 rm -f conftest.er1
40783 cat conftest.err >&5
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); } && {
40786 test -z "$ac_c_werror_flag" ||
40787 test ! -s conftest.err
40788 } && test -s conftest.$ac_objext; then
40789 ac_cv_func_which_gethostbyname_r=six
40790 else
40791 echo "$as_me: failed program was:" >&5
40792 sed 's/^/| /' conftest.$ac_ext >&5
40793
40794
40795 fi
40796
40797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40798
40799 fi
40800
40801 #
40802 # FIVE ARGUMENTS
40803 # (e.g. Solaris)
40804 #
40805
40806 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40807
40808 cat >conftest.$ac_ext <<_ACEOF
40809 /* confdefs.h. */
40810 _ACEOF
40811 cat confdefs.h >>conftest.$ac_ext
40812 cat >>conftest.$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40814 #include <netdb.h>
40815 int
40816 main ()
40817 {
40818
40819 char *name = "www.gnu.org";
40820 struct hostent ret;
40821 char buf[1024];
40822 int buflen = 1024;
40823 int my_h_errno;
40824 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40825
40826 ;
40827 return 0;
40828 }
40829 _ACEOF
40830 rm -f conftest.$ac_objext
40831 if { (ac_try="$ac_compile"
40832 case "(($ac_try" in
40833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40834 *) ac_try_echo=$ac_try;;
40835 esac
40836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40837 (eval "$ac_compile") 2>conftest.er1
40838 ac_status=$?
40839 grep -v '^ *+' conftest.er1 >conftest.err
40840 rm -f conftest.er1
40841 cat conftest.err >&5
40842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40843 (exit $ac_status); } && {
40844 test -z "$ac_c_werror_flag" ||
40845 test ! -s conftest.err
40846 } && test -s conftest.$ac_objext; then
40847 ac_cv_func_which_gethostbyname_r=five
40848 else
40849 echo "$as_me: failed program was:" >&5
40850 sed 's/^/| /' conftest.$ac_ext >&5
40851
40852
40853 fi
40854
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40856
40857 fi
40858
40859 #
40860 # THREE ARGUMENTS
40861 # (e.g. AIX, HP-UX, Tru64)
40862 #
40863
40864 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40865
40866 cat >conftest.$ac_ext <<_ACEOF
40867 /* confdefs.h. */
40868 _ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872 #include <netdb.h>
40873 int
40874 main ()
40875 {
40876
40877 char *name = "www.gnu.org";
40878 struct hostent ret;
40879 struct hostent_data data;
40880 (void)gethostbyname_r(name, &ret, &data) /* ; */
40881
40882 ;
40883 return 0;
40884 }
40885 _ACEOF
40886 rm -f conftest.$ac_objext
40887 if { (ac_try="$ac_compile"
40888 case "(($ac_try" in
40889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40890 *) ac_try_echo=$ac_try;;
40891 esac
40892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40893 (eval "$ac_compile") 2>conftest.er1
40894 ac_status=$?
40895 grep -v '^ *+' conftest.er1 >conftest.err
40896 rm -f conftest.er1
40897 cat conftest.err >&5
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); } && {
40900 test -z "$ac_c_werror_flag" ||
40901 test ! -s conftest.err
40902 } && test -s conftest.$ac_objext; then
40903 ac_cv_func_which_gethostbyname_r=three
40904 else
40905 echo "$as_me: failed program was:" >&5
40906 sed 's/^/| /' conftest.$ac_ext >&5
40907
40908
40909 fi
40910
40911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40912
40913 fi
40914
40915 ################################################################
40916
40917
40918 fi
40919
40920 case "$ac_cv_func_which_gethostbyname_r" in
40921 three)
40922 { echo "$as_me:$LINENO: result: three" >&5
40923 echo "${ECHO_T}three" >&6; }
40924 cat >>confdefs.h <<\_ACEOF
40925 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40926 _ACEOF
40927
40928 ;;
40929
40930 five)
40931 { echo "$as_me:$LINENO: result: five" >&5
40932 echo "${ECHO_T}five" >&6; }
40933 cat >>confdefs.h <<\_ACEOF
40934 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40935 _ACEOF
40936
40937 ;;
40938
40939 six)
40940 { echo "$as_me:$LINENO: result: six" >&5
40941 echo "${ECHO_T}six" >&6; }
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40944 _ACEOF
40945
40946 ;;
40947
40948 no)
40949 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40950 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40951 ;;
40952
40953 unknown)
40954 { echo "$as_me:$LINENO: result: can't tell" >&5
40955 echo "${ECHO_T}can't tell" >&6; }
40956 ;;
40957
40958 *)
40959 { { echo "$as_me:$LINENO: error: internal error" >&5
40960 echo "$as_me: error: internal error" >&2;}
40961 { (exit 1); exit 1; }; }
40962 ;;
40963 esac
40964
40965 ac_ext=c
40966 ac_cpp='$CPP $CPPFLAGS'
40967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40970
40971
40972
40973 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40974 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40975 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40976 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40977 if test "${ac_cv_func_gethostbyname+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 else
40980 cat >conftest.$ac_ext <<_ACEOF
40981 /* confdefs.h. */
40982 _ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h. */
40986 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40988 #define gethostbyname innocuous_gethostbyname
40989
40990 /* System header to define __stub macros and hopefully few prototypes,
40991 which can conflict with char gethostbyname (); below.
40992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40993 <limits.h> exists even on freestanding compilers. */
40994
40995 #ifdef __STDC__
40996 # include <limits.h>
40997 #else
40998 # include <assert.h>
40999 #endif
41000
41001 #undef gethostbyname
41002
41003 /* Override any GCC internal prototype to avoid an error.
41004 Use char because int might match the return type of a GCC
41005 builtin and then its argument prototype would still apply. */
41006 #ifdef __cplusplus
41007 extern "C"
41008 #endif
41009 char gethostbyname ();
41010 /* The GNU C library defines this for functions which it implements
41011 to always fail with ENOSYS. Some functions are actually named
41012 something starting with __ and the normal name is an alias. */
41013 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41014 choke me
41015 #endif
41016
41017 int
41018 main ()
41019 {
41020 return gethostbyname ();
41021 ;
41022 return 0;
41023 }
41024 _ACEOF
41025 rm -f conftest.$ac_objext conftest$ac_exeext
41026 if { (ac_try="$ac_link"
41027 case "(($ac_try" in
41028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41029 *) ac_try_echo=$ac_try;;
41030 esac
41031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41032 (eval "$ac_link") 2>conftest.er1
41033 ac_status=$?
41034 grep -v '^ *+' conftest.er1 >conftest.err
41035 rm -f conftest.er1
41036 cat conftest.err >&5
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); } && {
41039 test -z "$ac_c_werror_flag" ||
41040 test ! -s conftest.err
41041 } && test -s conftest$ac_exeext &&
41042 $as_test_x conftest$ac_exeext; then
41043 ac_cv_func_gethostbyname=yes
41044 else
41045 echo "$as_me: failed program was:" >&5
41046 sed 's/^/| /' conftest.$ac_ext >&5
41047
41048 ac_cv_func_gethostbyname=no
41049 fi
41050
41051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41052 conftest$ac_exeext conftest.$ac_ext
41053 fi
41054 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41055 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41056 if test $ac_cv_func_gethostbyname = yes; then
41057 cat >>confdefs.h <<\_ACEOF
41058 #define HAVE_GETHOSTBYNAME 1
41059 _ACEOF
41060
41061 fi
41062
41063 fi
41064
41065 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41066 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41067 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41068 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 else
41070
41071 ac_ext=cpp
41072 ac_cpp='$CXXCPP $CPPFLAGS'
41073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41076
41077
41078 cat >conftest.$ac_ext <<_ACEOF
41079 /* confdefs.h. */
41080 _ACEOF
41081 cat confdefs.h >>conftest.$ac_ext
41082 cat >>conftest.$ac_ext <<_ACEOF
41083 /* end confdefs.h. */
41084 #include <netdb.h>
41085 int
41086 main ()
41087 {
41088
41089 char *name;
41090 char *proto;
41091 struct servent *se, *res;
41092 char buffer[2048];
41093 int buflen = 2048;
41094 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41095
41096 ;
41097 return 0;
41098 }
41099 _ACEOF
41100 rm -f conftest.$ac_objext
41101 if { (ac_try="$ac_compile"
41102 case "(($ac_try" in
41103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41104 *) ac_try_echo=$ac_try;;
41105 esac
41106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41107 (eval "$ac_compile") 2>conftest.er1
41108 ac_status=$?
41109 grep -v '^ *+' conftest.er1 >conftest.err
41110 rm -f conftest.er1
41111 cat conftest.err >&5
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); } && {
41114 test -z "$ac_cxx_werror_flag" ||
41115 test ! -s conftest.err
41116 } && test -s conftest.$ac_objext; then
41117 ac_cv_func_which_getservbyname_r=six
41118 else
41119 echo "$as_me: failed program was:" >&5
41120 sed 's/^/| /' conftest.$ac_ext >&5
41121
41122
41123 cat >conftest.$ac_ext <<_ACEOF
41124 /* confdefs.h. */
41125 _ACEOF
41126 cat confdefs.h >>conftest.$ac_ext
41127 cat >>conftest.$ac_ext <<_ACEOF
41128 /* end confdefs.h. */
41129 #include <netdb.h>
41130 int
41131 main ()
41132 {
41133
41134 char *name;
41135 char *proto;
41136 struct servent *se;
41137 char buffer[2048];
41138 int buflen = 2048;
41139 (void) getservbyname_r(name, proto, se, buffer, buflen)
41140
41141 ;
41142 return 0;
41143 }
41144 _ACEOF
41145 rm -f conftest.$ac_objext
41146 if { (ac_try="$ac_compile"
41147 case "(($ac_try" in
41148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41149 *) ac_try_echo=$ac_try;;
41150 esac
41151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41152 (eval "$ac_compile") 2>conftest.er1
41153 ac_status=$?
41154 grep -v '^ *+' conftest.er1 >conftest.err
41155 rm -f conftest.er1
41156 cat conftest.err >&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); } && {
41159 test -z "$ac_cxx_werror_flag" ||
41160 test ! -s conftest.err
41161 } && test -s conftest.$ac_objext; then
41162 ac_cv_func_which_getservbyname_r=five
41163 else
41164 echo "$as_me: failed program was:" >&5
41165 sed 's/^/| /' conftest.$ac_ext >&5
41166
41167
41168 cat >conftest.$ac_ext <<_ACEOF
41169 /* confdefs.h. */
41170 _ACEOF
41171 cat confdefs.h >>conftest.$ac_ext
41172 cat >>conftest.$ac_ext <<_ACEOF
41173 /* end confdefs.h. */
41174 #include <netdb.h>
41175 int
41176 main ()
41177 {
41178
41179 char *name;
41180 char *proto;
41181 struct servent *se;
41182 struct servent_data data;
41183 (void) getservbyname_r(name, proto, se, &data);
41184
41185 ;
41186 return 0;
41187 }
41188 _ACEOF
41189 rm -f conftest.$ac_objext
41190 if { (ac_try="$ac_compile"
41191 case "(($ac_try" in
41192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41193 *) ac_try_echo=$ac_try;;
41194 esac
41195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41196 (eval "$ac_compile") 2>conftest.er1
41197 ac_status=$?
41198 grep -v '^ *+' conftest.er1 >conftest.err
41199 rm -f conftest.er1
41200 cat conftest.err >&5
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); } && {
41203 test -z "$ac_cxx_werror_flag" ||
41204 test ! -s conftest.err
41205 } && test -s conftest.$ac_objext; then
41206 ac_cv_func_which_getservbyname_r=four
41207 else
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.$ac_ext >&5
41210
41211 ac_cv_func_which_getservbyname_r=no
41212
41213 fi
41214
41215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41216
41217
41218 fi
41219
41220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41221
41222
41223 fi
41224
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226 ac_ext=c
41227 ac_cpp='$CPP $CPPFLAGS'
41228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41231
41232
41233
41234 fi
41235 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41236 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41237
41238 if test $ac_cv_func_which_getservbyname_r = six; then
41239 cat >>confdefs.h <<\_ACEOF
41240 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41241 _ACEOF
41242
41243 elif test $ac_cv_func_which_getservbyname_r = five; then
41244 cat >>confdefs.h <<\_ACEOF
41245 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41246 _ACEOF
41247
41248 elif test $ac_cv_func_which_getservbyname_r = four; then
41249 cat >>confdefs.h <<\_ACEOF
41250 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41251 _ACEOF
41252
41253 fi
41254
41255
41256 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41257 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41258
41259 for ac_func in getservbyname
41260 do
41261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41262 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41264 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41265 echo $ECHO_N "(cached) $ECHO_C" >&6
41266 else
41267 cat >conftest.$ac_ext <<_ACEOF
41268 /* confdefs.h. */
41269 _ACEOF
41270 cat confdefs.h >>conftest.$ac_ext
41271 cat >>conftest.$ac_ext <<_ACEOF
41272 /* end confdefs.h. */
41273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41275 #define $ac_func innocuous_$ac_func
41276
41277 /* System header to define __stub macros and hopefully few prototypes,
41278 which can conflict with char $ac_func (); below.
41279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41280 <limits.h> exists even on freestanding compilers. */
41281
41282 #ifdef __STDC__
41283 # include <limits.h>
41284 #else
41285 # include <assert.h>
41286 #endif
41287
41288 #undef $ac_func
41289
41290 /* Override any GCC internal prototype to avoid an error.
41291 Use char because int might match the return type of a GCC
41292 builtin and then its argument prototype would still apply. */
41293 #ifdef __cplusplus
41294 extern "C"
41295 #endif
41296 char $ac_func ();
41297 /* The GNU C library defines this for functions which it implements
41298 to always fail with ENOSYS. Some functions are actually named
41299 something starting with __ and the normal name is an alias. */
41300 #if defined __stub_$ac_func || defined __stub___$ac_func
41301 choke me
41302 #endif
41303
41304 int
41305 main ()
41306 {
41307 return $ac_func ();
41308 ;
41309 return 0;
41310 }
41311 _ACEOF
41312 rm -f conftest.$ac_objext conftest$ac_exeext
41313 if { (ac_try="$ac_link"
41314 case "(($ac_try" in
41315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41316 *) ac_try_echo=$ac_try;;
41317 esac
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_link") 2>conftest.er1
41320 ac_status=$?
41321 grep -v '^ *+' conftest.er1 >conftest.err
41322 rm -f conftest.er1
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest$ac_exeext &&
41329 $as_test_x conftest$ac_exeext; then
41330 eval "$as_ac_var=yes"
41331 else
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.$ac_ext >&5
41334
41335 eval "$as_ac_var=no"
41336 fi
41337
41338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41339 conftest$ac_exeext conftest.$ac_ext
41340 fi
41341 ac_res=`eval echo '${'$as_ac_var'}'`
41342 { echo "$as_me:$LINENO: result: $ac_res" >&5
41343 echo "${ECHO_T}$ac_res" >&6; }
41344 if test `eval echo '${'$as_ac_var'}'` = yes; then
41345 cat >>confdefs.h <<_ACEOF
41346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41347 _ACEOF
41348 cat >>confdefs.h <<\_ACEOF
41349 #define HAVE_GETSERVBYNAME 1
41350 _ACEOF
41351
41352 fi
41353 done
41354
41355 fi
41356
41357 if test "$wxUSE_THREADS" = "yes"; then
41358 cat >>confdefs.h <<\_ACEOF
41359 #define wxUSE_THREADS 1
41360 _ACEOF
41361
41362
41363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41364 else
41365 if test "$wx_cv_func_strtok_r" = "yes"; then
41366 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41367 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41368 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41369 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41370 { echo "$as_me:$LINENO: result: yes" >&5
41371 echo "${ECHO_T}yes" >&6; }
41372 else
41373 { echo "$as_me:$LINENO: result: no" >&5
41374 echo "${ECHO_T}no" >&6; }
41375 fi
41376 fi
41377 fi
41378
41379 if test "$WXGTK2" = 1 ; then
41380 cat >>confdefs.h <<_ACEOF
41381 #define __WXGTK20__ $WXGTK2
41382 _ACEOF
41383
41384 WXGTK12=1
41385 fi
41386
41387 if test "$WXGTK12" = 1 ; then
41388 cat >>confdefs.h <<_ACEOF
41389 #define __WXGTK12__ $WXGTK12
41390 _ACEOF
41391
41392 fi
41393
41394 if test "$WXGTK127" = 1 ; then
41395 cat >>confdefs.h <<_ACEOF
41396 #define __WXGTK127__ $WXGTK127
41397 _ACEOF
41398
41399 fi
41400
41401 if test "$WXGPE" = 1 ; then
41402 cat >>confdefs.h <<_ACEOF
41403 #define __WXGPE__ $WXGPE
41404 _ACEOF
41405
41406 fi
41407
41408 DEBUG_CFLAGS=
41409 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41410 DEBUG_CFLAGS="-g"
41411 fi
41412
41413 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41414 wxUSE_DEBUG_INFO=yes
41415 if test "$GCC" = yes; then
41416 DEBUG_CFLAGS="-ggdb"
41417 fi
41418 fi
41419
41420 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41421 cat >>confdefs.h <<\_ACEOF
41422 #define WXDEBUG 1
41423 _ACEOF
41424
41425 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41426 else
41427 if test "$wxUSE_GTK" = 1 ; then
41428 if test "x$wxGTK_VERSION" = "x1" ; then
41429 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41430 fi
41431 fi
41432 fi
41433
41434 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_MEMORY_TRACING 1
41437 _ACEOF
41438
41439 cat >>confdefs.h <<\_ACEOF
41440 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41441 _ACEOF
41442
41443 cat >>confdefs.h <<\_ACEOF
41444 #define wxUSE_DEBUG_NEW_ALWAYS 1
41445 _ACEOF
41446
41447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41448 fi
41449
41450 if test "$wxUSE_DMALLOC" = "yes" ; then
41451 DMALLOC_LIBS="-ldmallocthcxx"
41452 fi
41453
41454 PROFILE_FLAGS=
41455 if test "$wxUSE_PROFILE" = "yes" ; then
41456 PROFILE_FLAGS=" -pg"
41457 fi
41458
41459 if test "$GCC" = "yes" ; then
41460 if test "$wxUSE_NO_RTTI" = "yes" ; then
41461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41462 fi
41463 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41464 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41465 fi
41466 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41467 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41468 fi
41469
41470 case "${host}" in
41471 powerpc*-*-aix* )
41472 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41473 ;;
41474 *-hppa* )
41475 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41476 ;;
41477 esac
41478 fi
41479
41480 OPTIMISE_CFLAGS=
41481 if test "$wxUSE_OPTIMISE" = "no" ; then
41482 if test "$GCC" = yes ; then
41483 OPTIMISE_CFLAGS="-O0"
41484 fi
41485 else
41486 if test "$GCC" = yes ; then
41487 case "${host}" in
41488 *-pc-os2_emx | *-pc-os2-emx )
41489 OPTIMISE_CFLAGS="-O2"
41490 ;;
41491 *)
41492 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41493 ;;
41494 esac
41495 else
41496 OPTIMISE_CFLAGS="-O"
41497 fi
41498 fi
41499
41500
41501 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define WXWIN_COMPATIBILITY_2_6 1
41504 _ACEOF
41505
41506
41507 WXWIN_COMPATIBILITY_2_8="yes"
41508 fi
41509
41510 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define WXWIN_COMPATIBILITY_2_8 1
41513 _ACEOF
41514
41515 fi
41516
41517
41518 if test "$wxUSE_GUI" = "yes"; then
41519 cat >>confdefs.h <<\_ACEOF
41520 #define wxUSE_GUI 1
41521 _ACEOF
41522
41523
41524 fi
41525
41526
41527 if test "$wxUSE_UNIX" = "yes"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define wxUSE_UNIX 1
41530 _ACEOF
41531
41532 fi
41533
41534
41535 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41536
41537 HAVE_DL_FUNCS=0
41538 HAVE_SHL_FUNCS=0
41539 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41540 if test "$USE_DOS" = 1; then
41541 HAVE_DL_FUNCS=0
41542 else
41543
41544 for ac_func in dlopen
41545 do
41546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41550 echo $ECHO_N "(cached) $ECHO_C" >&6
41551 else
41552 cat >conftest.$ac_ext <<_ACEOF
41553 /* confdefs.h. */
41554 _ACEOF
41555 cat confdefs.h >>conftest.$ac_ext
41556 cat >>conftest.$ac_ext <<_ACEOF
41557 /* end confdefs.h. */
41558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41560 #define $ac_func innocuous_$ac_func
41561
41562 /* System header to define __stub macros and hopefully few prototypes,
41563 which can conflict with char $ac_func (); below.
41564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41565 <limits.h> exists even on freestanding compilers. */
41566
41567 #ifdef __STDC__
41568 # include <limits.h>
41569 #else
41570 # include <assert.h>
41571 #endif
41572
41573 #undef $ac_func
41574
41575 /* Override any GCC internal prototype to avoid an error.
41576 Use char because int might match the return type of a GCC
41577 builtin and then its argument prototype would still apply. */
41578 #ifdef __cplusplus
41579 extern "C"
41580 #endif
41581 char $ac_func ();
41582 /* The GNU C library defines this for functions which it implements
41583 to always fail with ENOSYS. Some functions are actually named
41584 something starting with __ and the normal name is an alias. */
41585 #if defined __stub_$ac_func || defined __stub___$ac_func
41586 choke me
41587 #endif
41588
41589 int
41590 main ()
41591 {
41592 return $ac_func ();
41593 ;
41594 return 0;
41595 }
41596 _ACEOF
41597 rm -f conftest.$ac_objext conftest$ac_exeext
41598 if { (ac_try="$ac_link"
41599 case "(($ac_try" in
41600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41601 *) ac_try_echo=$ac_try;;
41602 esac
41603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41604 (eval "$ac_link") 2>conftest.er1
41605 ac_status=$?
41606 grep -v '^ *+' conftest.er1 >conftest.err
41607 rm -f conftest.er1
41608 cat conftest.err >&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); } && {
41611 test -z "$ac_c_werror_flag" ||
41612 test ! -s conftest.err
41613 } && test -s conftest$ac_exeext &&
41614 $as_test_x conftest$ac_exeext; then
41615 eval "$as_ac_var=yes"
41616 else
41617 echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620 eval "$as_ac_var=no"
41621 fi
41622
41623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41624 conftest$ac_exeext conftest.$ac_ext
41625 fi
41626 ac_res=`eval echo '${'$as_ac_var'}'`
41627 { echo "$as_me:$LINENO: result: $ac_res" >&5
41628 echo "${ECHO_T}$ac_res" >&6; }
41629 if test `eval echo '${'$as_ac_var'}'` = yes; then
41630 cat >>confdefs.h <<_ACEOF
41631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41632 _ACEOF
41633
41634 cat >>confdefs.h <<\_ACEOF
41635 #define HAVE_DLOPEN 1
41636 _ACEOF
41637
41638 HAVE_DL_FUNCS=1
41639
41640 else
41641
41642 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41643 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41644 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41646 else
41647 ac_check_lib_save_LIBS=$LIBS
41648 LIBS="-ldl $LIBS"
41649 cat >conftest.$ac_ext <<_ACEOF
41650 /* confdefs.h. */
41651 _ACEOF
41652 cat confdefs.h >>conftest.$ac_ext
41653 cat >>conftest.$ac_ext <<_ACEOF
41654 /* end confdefs.h. */
41655
41656 /* Override any GCC internal prototype to avoid an error.
41657 Use char because int might match the return type of a GCC
41658 builtin and then its argument prototype would still apply. */
41659 #ifdef __cplusplus
41660 extern "C"
41661 #endif
41662 char dlopen ();
41663 int
41664 main ()
41665 {
41666 return dlopen ();
41667 ;
41668 return 0;
41669 }
41670 _ACEOF
41671 rm -f conftest.$ac_objext conftest$ac_exeext
41672 if { (ac_try="$ac_link"
41673 case "(($ac_try" in
41674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41675 *) ac_try_echo=$ac_try;;
41676 esac
41677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41678 (eval "$ac_link") 2>conftest.er1
41679 ac_status=$?
41680 grep -v '^ *+' conftest.er1 >conftest.err
41681 rm -f conftest.er1
41682 cat conftest.err >&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } && {
41685 test -z "$ac_c_werror_flag" ||
41686 test ! -s conftest.err
41687 } && test -s conftest$ac_exeext &&
41688 $as_test_x conftest$ac_exeext; then
41689 ac_cv_lib_dl_dlopen=yes
41690 else
41691 echo "$as_me: failed program was:" >&5
41692 sed 's/^/| /' conftest.$ac_ext >&5
41693
41694 ac_cv_lib_dl_dlopen=no
41695 fi
41696
41697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41698 conftest$ac_exeext conftest.$ac_ext
41699 LIBS=$ac_check_lib_save_LIBS
41700 fi
41701 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41702 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41703 if test $ac_cv_lib_dl_dlopen = yes; then
41704
41705 cat >>confdefs.h <<\_ACEOF
41706 #define HAVE_DLOPEN 1
41707 _ACEOF
41708
41709 HAVE_DL_FUNCS=1
41710 DL_LINK=" -ldl$DL_LINK"
41711
41712 else
41713
41714
41715 for ac_func in shl_load
41716 do
41717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41721 echo $ECHO_N "(cached) $ECHO_C" >&6
41722 else
41723 cat >conftest.$ac_ext <<_ACEOF
41724 /* confdefs.h. */
41725 _ACEOF
41726 cat confdefs.h >>conftest.$ac_ext
41727 cat >>conftest.$ac_ext <<_ACEOF
41728 /* end confdefs.h. */
41729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41731 #define $ac_func innocuous_$ac_func
41732
41733 /* System header to define __stub macros and hopefully few prototypes,
41734 which can conflict with char $ac_func (); below.
41735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41736 <limits.h> exists even on freestanding compilers. */
41737
41738 #ifdef __STDC__
41739 # include <limits.h>
41740 #else
41741 # include <assert.h>
41742 #endif
41743
41744 #undef $ac_func
41745
41746 /* Override any GCC internal prototype to avoid an error.
41747 Use char because int might match the return type of a GCC
41748 builtin and then its argument prototype would still apply. */
41749 #ifdef __cplusplus
41750 extern "C"
41751 #endif
41752 char $ac_func ();
41753 /* The GNU C library defines this for functions which it implements
41754 to always fail with ENOSYS. Some functions are actually named
41755 something starting with __ and the normal name is an alias. */
41756 #if defined __stub_$ac_func || defined __stub___$ac_func
41757 choke me
41758 #endif
41759
41760 int
41761 main ()
41762 {
41763 return $ac_func ();
41764 ;
41765 return 0;
41766 }
41767 _ACEOF
41768 rm -f conftest.$ac_objext conftest$ac_exeext
41769 if { (ac_try="$ac_link"
41770 case "(($ac_try" in
41771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41772 *) ac_try_echo=$ac_try;;
41773 esac
41774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41775 (eval "$ac_link") 2>conftest.er1
41776 ac_status=$?
41777 grep -v '^ *+' conftest.er1 >conftest.err
41778 rm -f conftest.er1
41779 cat conftest.err >&5
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); } && {
41782 test -z "$ac_c_werror_flag" ||
41783 test ! -s conftest.err
41784 } && test -s conftest$ac_exeext &&
41785 $as_test_x conftest$ac_exeext; then
41786 eval "$as_ac_var=yes"
41787 else
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.$ac_ext >&5
41790
41791 eval "$as_ac_var=no"
41792 fi
41793
41794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41795 conftest$ac_exeext conftest.$ac_ext
41796 fi
41797 ac_res=`eval echo '${'$as_ac_var'}'`
41798 { echo "$as_me:$LINENO: result: $ac_res" >&5
41799 echo "${ECHO_T}$ac_res" >&6; }
41800 if test `eval echo '${'$as_ac_var'}'` = yes; then
41801 cat >>confdefs.h <<_ACEOF
41802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41803 _ACEOF
41804
41805 cat >>confdefs.h <<\_ACEOF
41806 #define HAVE_SHL_LOAD 1
41807 _ACEOF
41808
41809 HAVE_SHL_FUNCS=1
41810
41811 else
41812
41813 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41814 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41815 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41816 echo $ECHO_N "(cached) $ECHO_C" >&6
41817 else
41818 ac_check_lib_save_LIBS=$LIBS
41819 LIBS="-lshl_load $LIBS"
41820 cat >conftest.$ac_ext <<_ACEOF
41821 /* confdefs.h. */
41822 _ACEOF
41823 cat confdefs.h >>conftest.$ac_ext
41824 cat >>conftest.$ac_ext <<_ACEOF
41825 /* end confdefs.h. */
41826
41827 /* Override any GCC internal prototype to avoid an error.
41828 Use char because int might match the return type of a GCC
41829 builtin and then its argument prototype would still apply. */
41830 #ifdef __cplusplus
41831 extern "C"
41832 #endif
41833 char dld ();
41834 int
41835 main ()
41836 {
41837 return dld ();
41838 ;
41839 return 0;
41840 }
41841 _ACEOF
41842 rm -f conftest.$ac_objext conftest$ac_exeext
41843 if { (ac_try="$ac_link"
41844 case "(($ac_try" in
41845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41846 *) ac_try_echo=$ac_try;;
41847 esac
41848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41849 (eval "$ac_link") 2>conftest.er1
41850 ac_status=$?
41851 grep -v '^ *+' conftest.er1 >conftest.err
41852 rm -f conftest.er1
41853 cat conftest.err >&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } && {
41856 test -z "$ac_c_werror_flag" ||
41857 test ! -s conftest.err
41858 } && test -s conftest$ac_exeext &&
41859 $as_test_x conftest$ac_exeext; then
41860 ac_cv_lib_shl_load_dld=yes
41861 else
41862 echo "$as_me: failed program was:" >&5
41863 sed 's/^/| /' conftest.$ac_ext >&5
41864
41865 ac_cv_lib_shl_load_dld=no
41866 fi
41867
41868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41869 conftest$ac_exeext conftest.$ac_ext
41870 LIBS=$ac_check_lib_save_LIBS
41871 fi
41872 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41873 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41874 if test $ac_cv_lib_shl_load_dld = yes; then
41875
41876 HAVE_SHL_FUNCS=1
41877 DL_LINK=" -ldld$DL_LINK"
41878
41879 fi
41880
41881
41882 fi
41883 done
41884
41885
41886 fi
41887
41888
41889 fi
41890 done
41891
41892
41893 if test "$HAVE_DL_FUNCS" = 1; then
41894
41895 for ac_func in dlerror
41896 do
41897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41901 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 else
41903 cat >conftest.$ac_ext <<_ACEOF
41904 /* confdefs.h. */
41905 _ACEOF
41906 cat confdefs.h >>conftest.$ac_ext
41907 cat >>conftest.$ac_ext <<_ACEOF
41908 /* end confdefs.h. */
41909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41911 #define $ac_func innocuous_$ac_func
41912
41913 /* System header to define __stub macros and hopefully few prototypes,
41914 which can conflict with char $ac_func (); below.
41915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41916 <limits.h> exists even on freestanding compilers. */
41917
41918 #ifdef __STDC__
41919 # include <limits.h>
41920 #else
41921 # include <assert.h>
41922 #endif
41923
41924 #undef $ac_func
41925
41926 /* Override any GCC internal prototype to avoid an error.
41927 Use char because int might match the return type of a GCC
41928 builtin and then its argument prototype would still apply. */
41929 #ifdef __cplusplus
41930 extern "C"
41931 #endif
41932 char $ac_func ();
41933 /* The GNU C library defines this for functions which it implements
41934 to always fail with ENOSYS. Some functions are actually named
41935 something starting with __ and the normal name is an alias. */
41936 #if defined __stub_$ac_func || defined __stub___$ac_func
41937 choke me
41938 #endif
41939
41940 int
41941 main ()
41942 {
41943 return $ac_func ();
41944 ;
41945 return 0;
41946 }
41947 _ACEOF
41948 rm -f conftest.$ac_objext conftest$ac_exeext
41949 if { (ac_try="$ac_link"
41950 case "(($ac_try" in
41951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41952 *) ac_try_echo=$ac_try;;
41953 esac
41954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41955 (eval "$ac_link") 2>conftest.er1
41956 ac_status=$?
41957 grep -v '^ *+' conftest.er1 >conftest.err
41958 rm -f conftest.er1
41959 cat conftest.err >&5
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); } && {
41962 test -z "$ac_c_werror_flag" ||
41963 test ! -s conftest.err
41964 } && test -s conftest$ac_exeext &&
41965 $as_test_x conftest$ac_exeext; then
41966 eval "$as_ac_var=yes"
41967 else
41968 echo "$as_me: failed program was:" >&5
41969 sed 's/^/| /' conftest.$ac_ext >&5
41970
41971 eval "$as_ac_var=no"
41972 fi
41973
41974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41975 conftest$ac_exeext conftest.$ac_ext
41976 fi
41977 ac_res=`eval echo '${'$as_ac_var'}'`
41978 { echo "$as_me:$LINENO: result: $ac_res" >&5
41979 echo "${ECHO_T}$ac_res" >&6; }
41980 if test `eval echo '${'$as_ac_var'}'` = yes; then
41981 cat >>confdefs.h <<_ACEOF
41982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41983 _ACEOF
41984 cat >>confdefs.h <<\_ACEOF
41985 #define HAVE_DLERROR 1
41986 _ACEOF
41987
41988 else
41989
41990 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41991 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41992 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41993 echo $ECHO_N "(cached) $ECHO_C" >&6
41994 else
41995 ac_check_lib_save_LIBS=$LIBS
41996 LIBS="-ldl $LIBS"
41997 cat >conftest.$ac_ext <<_ACEOF
41998 /* confdefs.h. */
41999 _ACEOF
42000 cat confdefs.h >>conftest.$ac_ext
42001 cat >>conftest.$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42003
42004 /* Override any GCC internal prototype to avoid an error.
42005 Use char because int might match the return type of a GCC
42006 builtin and then its argument prototype would still apply. */
42007 #ifdef __cplusplus
42008 extern "C"
42009 #endif
42010 char dlerror ();
42011 int
42012 main ()
42013 {
42014 return dlerror ();
42015 ;
42016 return 0;
42017 }
42018 _ACEOF
42019 rm -f conftest.$ac_objext conftest$ac_exeext
42020 if { (ac_try="$ac_link"
42021 case "(($ac_try" in
42022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42023 *) ac_try_echo=$ac_try;;
42024 esac
42025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42026 (eval "$ac_link") 2>conftest.er1
42027 ac_status=$?
42028 grep -v '^ *+' conftest.er1 >conftest.err
42029 rm -f conftest.er1
42030 cat conftest.err >&5
42031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42032 (exit $ac_status); } && {
42033 test -z "$ac_c_werror_flag" ||
42034 test ! -s conftest.err
42035 } && test -s conftest$ac_exeext &&
42036 $as_test_x conftest$ac_exeext; then
42037 ac_cv_lib_dl_dlerror=yes
42038 else
42039 echo "$as_me: failed program was:" >&5
42040 sed 's/^/| /' conftest.$ac_ext >&5
42041
42042 ac_cv_lib_dl_dlerror=no
42043 fi
42044
42045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42046 conftest$ac_exeext conftest.$ac_ext
42047 LIBS=$ac_check_lib_save_LIBS
42048 fi
42049 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42050 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42051 if test $ac_cv_lib_dl_dlerror = yes; then
42052 cat >>confdefs.h <<\_ACEOF
42053 #define HAVE_DLERROR 1
42054 _ACEOF
42055
42056 fi
42057
42058
42059
42060 fi
42061 done
42062
42063 fi
42064 fi
42065
42066 if test "$USE_DARWIN" = 1; then
42067 HAVE_DL_FUNCS=1
42068 fi
42069
42070 if test "$HAVE_DL_FUNCS" = 0; then
42071 if test "$HAVE_SHL_FUNCS" = 0; then
42072 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42073 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42074 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42075 wxUSE_DYNAMIC_LOADER=no
42076 wxUSE_DYNLIB_CLASS=no
42077 else
42078 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42079 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42080 fi
42081 fi
42082 fi
42083 fi
42084 fi
42085
42086 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42087 cat >>confdefs.h <<\_ACEOF
42088 #define wxUSE_DYNAMIC_LOADER 1
42089 _ACEOF
42090
42091 fi
42092 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42093 cat >>confdefs.h <<\_ACEOF
42094 #define wxUSE_DYNLIB_CLASS 1
42095 _ACEOF
42096
42097 fi
42098
42099
42100
42101 if test "$wxUSE_PLUGINS" = "yes" ; then
42102 if test "$wxUSE_SHARED" = "no" ; then
42103 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42104 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42105 wxUSE_PLUGINS=no
42106 fi
42107 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42108 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42109 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42110 wxUSE_PLUGINS=no
42111 fi
42112 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42113 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42114 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42115 wxUSE_PLUGINS=no
42116 fi
42117 if test "$wxUSE_PLUGINS" = "yes" ; then
42118 cat >>confdefs.h <<\_ACEOF
42119 #define wxUSE_PLUGINS 1
42120 _ACEOF
42121
42122 fi
42123 fi
42124
42125
42126 if test "$wxUSE_STL" = "yes"; then
42127 cat >>confdefs.h <<\_ACEOF
42128 #define wxUSE_STL 1
42129 _ACEOF
42130
42131 fi
42132
42133 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42134 cat >>confdefs.h <<\_ACEOF
42135 #define wxUSE_EXTENDED_RTTI 1
42136 _ACEOF
42137
42138 fi
42139
42140 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42141 cat >>confdefs.h <<\_ACEOF
42142 #define wxUSE_APPLE_IEEE 1
42143 _ACEOF
42144
42145 fi
42146
42147 if test "$wxUSE_TIMER" = "yes"; then
42148 cat >>confdefs.h <<\_ACEOF
42149 #define wxUSE_TIMER 1
42150 _ACEOF
42151
42152 fi
42153
42154 if test "$USE_UNIX" = 1 ; then
42155 if test "$wxUSE_MGL" != 1; then
42156 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42157 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42158 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42160 else
42161
42162 cat >conftest.$ac_ext <<_ACEOF
42163 /* confdefs.h. */
42164 _ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42168
42169 #include <sys/ioctl.h>
42170 #include <sys/soundcard.h>
42171
42172 int
42173 main ()
42174 {
42175
42176 ioctl(0, SNDCTL_DSP_SPEED, 0);
42177
42178 ;
42179 return 0;
42180 }
42181 _ACEOF
42182 rm -f conftest.$ac_objext conftest$ac_exeext
42183 if { (ac_try="$ac_link"
42184 case "(($ac_try" in
42185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42186 *) ac_try_echo=$ac_try;;
42187 esac
42188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42189 (eval "$ac_link") 2>conftest.er1
42190 ac_status=$?
42191 grep -v '^ *+' conftest.er1 >conftest.err
42192 rm -f conftest.er1
42193 cat conftest.err >&5
42194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42195 (exit $ac_status); } && {
42196 test -z "$ac_c_werror_flag" ||
42197 test ! -s conftest.err
42198 } && test -s conftest$ac_exeext &&
42199 $as_test_x conftest$ac_exeext; then
42200 ac_cv_header_sys_soundcard=yes
42201 else
42202 echo "$as_me: failed program was:" >&5
42203 sed 's/^/| /' conftest.$ac_ext >&5
42204
42205
42206 saveLibs="$LIBS"
42207 LIBS="$saveLibs -lossaudio"
42208 cat >conftest.$ac_ext <<_ACEOF
42209 /* confdefs.h. */
42210 _ACEOF
42211 cat confdefs.h >>conftest.$ac_ext
42212 cat >>conftest.$ac_ext <<_ACEOF
42213 /* end confdefs.h. */
42214
42215 #include <sys/ioctl.h>
42216 #include <sys/soundcard.h>
42217
42218 int
42219 main ()
42220 {
42221
42222 ioctl(0, SNDCTL_DSP_SPEED, 0);
42223
42224 ;
42225 return 0;
42226 }
42227 _ACEOF
42228 rm -f conftest.$ac_objext conftest$ac_exeext
42229 if { (ac_try="$ac_link"
42230 case "(($ac_try" in
42231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42232 *) ac_try_echo=$ac_try;;
42233 esac
42234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42235 (eval "$ac_link") 2>conftest.er1
42236 ac_status=$?
42237 grep -v '^ *+' conftest.er1 >conftest.err
42238 rm -f conftest.er1
42239 cat conftest.err >&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } && {
42242 test -z "$ac_c_werror_flag" ||
42243 test ! -s conftest.err
42244 } && test -s conftest$ac_exeext &&
42245 $as_test_x conftest$ac_exeext; then
42246 ac_cv_header_sys_soundcard=yes
42247 else
42248 echo "$as_me: failed program was:" >&5
42249 sed 's/^/| /' conftest.$ac_ext >&5
42250
42251
42252 LIBS="$saveLibs"
42253 ac_cv_header_sys_soundcard=no
42254
42255
42256 fi
42257
42258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42259 conftest$ac_exeext conftest.$ac_ext
42260
42261
42262 fi
42263
42264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42265 conftest$ac_exeext conftest.$ac_ext
42266
42267 fi
42268 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42269 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42270 fi
42271
42272 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42273 cat >>confdefs.h <<\_ACEOF
42274 #define HAVE_SYS_SOUNDCARD_H 1
42275 _ACEOF
42276
42277 fi
42278 fi
42279
42280 WITH_PLUGIN_SDL=0
42281 if test "$wxUSE_SOUND" = "yes"; then
42282 if test "$USE_UNIX" = 1 ; then
42283 if test "$wxUSE_LIBSDL" != "no"; then
42284
42285 # Check whether --with-sdl-prefix was given.
42286 if test "${with_sdl_prefix+set}" = set; then
42287 withval=$with_sdl_prefix; sdl_prefix="$withval"
42288 else
42289 sdl_prefix=""
42290 fi
42291
42292
42293 # Check whether --with-sdl-exec-prefix was given.
42294 if test "${with_sdl_exec_prefix+set}" = set; then
42295 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42296 else
42297 sdl_exec_prefix=""
42298 fi
42299
42300 # Check whether --enable-sdltest was given.
42301 if test "${enable_sdltest+set}" = set; then
42302 enableval=$enable_sdltest;
42303 else
42304 enable_sdltest=yes
42305 fi
42306
42307
42308 if test x$sdl_exec_prefix != x ; then
42309 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42310 if test x${SDL_CONFIG+set} != xset ; then
42311 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42312 fi
42313 fi
42314 if test x$sdl_prefix != x ; then
42315 sdl_args="$sdl_args --prefix=$sdl_prefix"
42316 if test x${SDL_CONFIG+set} != xset ; then
42317 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42318 fi
42319 fi
42320
42321 if test "x$prefix" != xNONE; then
42322 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42323 fi
42324 # Extract the first word of "sdl-config", so it can be a program name with args.
42325 set dummy sdl-config; ac_word=$2
42326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42328 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42329 echo $ECHO_N "(cached) $ECHO_C" >&6
42330 else
42331 case $SDL_CONFIG in
42332 [\\/]* | ?:[\\/]*)
42333 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42334 ;;
42335 *)
42336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42337 for as_dir in $PATH
42338 do
42339 IFS=$as_save_IFS
42340 test -z "$as_dir" && as_dir=.
42341 for ac_exec_ext in '' $ac_executable_extensions; do
42342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42343 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42345 break 2
42346 fi
42347 done
42348 done
42349 IFS=$as_save_IFS
42350
42351 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42352 ;;
42353 esac
42354 fi
42355 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42356 if test -n "$SDL_CONFIG"; then
42357 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42358 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42359 else
42360 { echo "$as_me:$LINENO: result: no" >&5
42361 echo "${ECHO_T}no" >&6; }
42362 fi
42363
42364
42365 min_sdl_version=1.2.0
42366 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42367 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42368 no_sdl=""
42369 if test "$SDL_CONFIG" = "no" ; then
42370 no_sdl=yes
42371 else
42372 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42373 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42374
42375 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42377 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42379 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42381 if test "x$enable_sdltest" = "xyes" ; then
42382 ac_save_CFLAGS="$CFLAGS"
42383 ac_save_CXXFLAGS="$CXXFLAGS"
42384 ac_save_LIBS="$LIBS"
42385 CFLAGS="$CFLAGS $SDL_CFLAGS"
42386 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42387 LIBS="$LIBS $SDL_LIBS"
42388 rm -f conf.sdltest
42389 if test "$cross_compiling" = yes; then
42390 echo $ac_n "cross compiling; assumed OK... $ac_c"
42391 else
42392 cat >conftest.$ac_ext <<_ACEOF
42393 /* confdefs.h. */
42394 _ACEOF
42395 cat confdefs.h >>conftest.$ac_ext
42396 cat >>conftest.$ac_ext <<_ACEOF
42397 /* end confdefs.h. */
42398
42399 #include <stdio.h>
42400 #include <stdlib.h>
42401 #include <string.h>
42402 #include "SDL.h"
42403
42404 char*
42405 my_strdup (char *str)
42406 {
42407 char *new_str;
42408
42409 if (str)
42410 {
42411 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42412 strcpy (new_str, str);
42413 }
42414 else
42415 new_str = NULL;
42416
42417 return new_str;
42418 }
42419
42420 int main (int argc, char *argv[])
42421 {
42422 int major, minor, micro;
42423 char *tmp_version;
42424
42425 /* This hangs on some systems (?)
42426 system ("touch conf.sdltest");
42427 */
42428 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42429
42430 /* HP/UX 9 (%@#!) writes to sscanf strings */
42431 tmp_version = my_strdup("$min_sdl_version");
42432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42433 printf("%s, bad version string\n", "$min_sdl_version");
42434 exit(1);
42435 }
42436
42437 if (($sdl_major_version > major) ||
42438 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42439 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42440 {
42441 return 0;
42442 }
42443 else
42444 {
42445 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42446 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42447 printf("*** best to upgrade to the required version.\n");
42448 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42449 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42450 printf("*** config.cache before re-running configure\n");
42451 return 1;
42452 }
42453 }
42454
42455
42456 _ACEOF
42457 rm -f conftest$ac_exeext
42458 if { (ac_try="$ac_link"
42459 case "(($ac_try" in
42460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42461 *) ac_try_echo=$ac_try;;
42462 esac
42463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42464 (eval "$ac_link") 2>&5
42465 ac_status=$?
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42468 { (case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42470 *) ac_try_echo=$ac_try;;
42471 esac
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_try") 2>&5
42474 ac_status=$?
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); }; }; then
42477 :
42478 else
42479 echo "$as_me: program exited with status $ac_status" >&5
42480 echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.$ac_ext >&5
42482
42483 ( exit $ac_status )
42484 no_sdl=yes
42485 fi
42486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42487 fi
42488
42489
42490 CFLAGS="$ac_save_CFLAGS"
42491 CXXFLAGS="$ac_save_CXXFLAGS"
42492 LIBS="$ac_save_LIBS"
42493 fi
42494 fi
42495 if test "x$no_sdl" = x ; then
42496 { echo "$as_me:$LINENO: result: yes" >&5
42497 echo "${ECHO_T}yes" >&6; }
42498
42499 EXTRALIBS_SDL="$SDL_LIBS"
42500 CFLAGS="$SDL_CFLAGS $CFLAGS"
42501 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42502 cat >>confdefs.h <<\_ACEOF
42503 #define wxUSE_LIBSDL 1
42504 _ACEOF
42505
42506
42507 else
42508 { echo "$as_me:$LINENO: result: no" >&5
42509 echo "${ECHO_T}no" >&6; }
42510 if test "$SDL_CONFIG" = "no" ; then
42511 echo "*** The sdl-config script installed by SDL could not be found"
42512 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42513 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42514 echo "*** full path to sdl-config."
42515 else
42516 if test -f conf.sdltest ; then
42517 :
42518 else
42519 echo "*** Could not run SDL test program, checking why..."
42520 CFLAGS="$CFLAGS $SDL_CFLAGS"
42521 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42522 LIBS="$LIBS $SDL_LIBS"
42523 cat >conftest.$ac_ext <<_ACEOF
42524 /* confdefs.h. */
42525 _ACEOF
42526 cat confdefs.h >>conftest.$ac_ext
42527 cat >>conftest.$ac_ext <<_ACEOF
42528 /* end confdefs.h. */
42529
42530 #include <stdio.h>
42531 #include "SDL.h"
42532
42533 int main(int argc, char *argv[])
42534 { return 0; }
42535 #undef main
42536 #define main K_and_R_C_main
42537
42538 int
42539 main ()
42540 {
42541 return 0;
42542 ;
42543 return 0;
42544 }
42545 _ACEOF
42546 rm -f conftest.$ac_objext conftest$ac_exeext
42547 if { (ac_try="$ac_link"
42548 case "(($ac_try" in
42549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42550 *) ac_try_echo=$ac_try;;
42551 esac
42552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42553 (eval "$ac_link") 2>conftest.er1
42554 ac_status=$?
42555 grep -v '^ *+' conftest.er1 >conftest.err
42556 rm -f conftest.er1
42557 cat conftest.err >&5
42558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42559 (exit $ac_status); } && {
42560 test -z "$ac_c_werror_flag" ||
42561 test ! -s conftest.err
42562 } && test -s conftest$ac_exeext &&
42563 $as_test_x conftest$ac_exeext; then
42564 echo "*** The test program compiled, but did not run. This usually means"
42565 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42566 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42567 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42568 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42569 echo "*** is required on your system"
42570 echo "***"
42571 echo "*** If you have an old version installed, it is best to remove it, although"
42572 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42573 else
42574 echo "$as_me: failed program was:" >&5
42575 sed 's/^/| /' conftest.$ac_ext >&5
42576
42577 echo "*** The test program failed to compile or link. See the file config.log for the"
42578 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42579 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42580 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42581 fi
42582
42583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42584 conftest$ac_exeext conftest.$ac_ext
42585 CFLAGS="$ac_save_CFLAGS"
42586 CXXFLAGS="$ac_save_CXXFLAGS"
42587 LIBS="$ac_save_LIBS"
42588 fi
42589 fi
42590 SDL_CFLAGS=""
42591 SDL_LIBS=""
42592 wxUSE_LIBSDL="no"
42593 fi
42594
42595
42596 rm -f conf.sdltest
42597
42598 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42599 WITH_PLUGIN_SDL=1
42600 fi
42601 fi
42602 else
42603 if test "$wxUSE_MGL" = 1; then
42604 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42605 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42606 wxUSE_SOUND="no"
42607 fi
42608 fi
42609 fi
42610
42611 if test "$wxUSE_SOUND" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_SOUND 1
42614 _ACEOF
42615
42616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42617 fi
42618
42619 if test "$WXGTK2" = 1; then
42620
42621
42622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42623 if test -n "$ac_tool_prefix"; then
42624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42628 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42629 echo $ECHO_N "(cached) $ECHO_C" >&6
42630 else
42631 case $PKG_CONFIG in
42632 [\\/]* | ?:[\\/]*)
42633 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42634 ;;
42635 *)
42636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42637 for as_dir in $PATH
42638 do
42639 IFS=$as_save_IFS
42640 test -z "$as_dir" && as_dir=.
42641 for ac_exec_ext in '' $ac_executable_extensions; do
42642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42643 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42645 break 2
42646 fi
42647 done
42648 done
42649 IFS=$as_save_IFS
42650
42651 ;;
42652 esac
42653 fi
42654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42655 if test -n "$PKG_CONFIG"; then
42656 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42657 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42658 else
42659 { echo "$as_me:$LINENO: result: no" >&5
42660 echo "${ECHO_T}no" >&6; }
42661 fi
42662
42663
42664 fi
42665 if test -z "$ac_cv_path_PKG_CONFIG"; then
42666 ac_pt_PKG_CONFIG=$PKG_CONFIG
42667 # Extract the first word of "pkg-config", so it can be a program name with args.
42668 set dummy pkg-config; ac_word=$2
42669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42671 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42672 echo $ECHO_N "(cached) $ECHO_C" >&6
42673 else
42674 case $ac_pt_PKG_CONFIG in
42675 [\\/]* | ?:[\\/]*)
42676 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42677 ;;
42678 *)
42679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42680 for as_dir in $PATH
42681 do
42682 IFS=$as_save_IFS
42683 test -z "$as_dir" && as_dir=.
42684 for ac_exec_ext in '' $ac_executable_extensions; do
42685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42686 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42688 break 2
42689 fi
42690 done
42691 done
42692 IFS=$as_save_IFS
42693
42694 ;;
42695 esac
42696 fi
42697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42698 if test -n "$ac_pt_PKG_CONFIG"; then
42699 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42700 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42701 else
42702 { echo "$as_me:$LINENO: result: no" >&5
42703 echo "${ECHO_T}no" >&6; }
42704 fi
42705
42706 if test "x$ac_pt_PKG_CONFIG" = x; then
42707 PKG_CONFIG=""
42708 else
42709 case $cross_compiling:$ac_tool_warned in
42710 yes:)
42711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42712 whose name does not start with the host triplet. If you think this
42713 configuration is useful to you, please write to autoconf@gnu.org." >&5
42714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42715 whose name does not start with the host triplet. If you think this
42716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42717 ac_tool_warned=yes ;;
42718 esac
42719 PKG_CONFIG=$ac_pt_PKG_CONFIG
42720 fi
42721 else
42722 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42723 fi
42724
42725 fi
42726 if test -n "$PKG_CONFIG"; then
42727 _pkg_min_version=0.9.0
42728 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42729 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42730 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42731 { echo "$as_me:$LINENO: result: yes" >&5
42732 echo "${ECHO_T}yes" >&6; }
42733 else
42734 { echo "$as_me:$LINENO: result: no" >&5
42735 echo "${ECHO_T}no" >&6; }
42736 PKG_CONFIG=""
42737 fi
42738
42739 fi
42740
42741 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42742
42743 if test "$wxUSE_GTKPRINT" = "yes" ; then
42744
42745
42746 pkg_failed=no
42747 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42748 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42749
42750 if test -n "$PKG_CONFIG"; then
42751 if test -n "$GTKPRINT_CFLAGS"; then
42752 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42753 else
42754 if test -n "$PKG_CONFIG" && \
42755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42756 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42757 ac_status=$?
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); }; then
42760 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42761 else
42762 pkg_failed=yes
42763 fi
42764 fi
42765 else
42766 pkg_failed=untried
42767 fi
42768 if test -n "$PKG_CONFIG"; then
42769 if test -n "$GTKPRINT_LIBS"; then
42770 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42771 else
42772 if test -n "$PKG_CONFIG" && \
42773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42774 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42775 ac_status=$?
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; then
42778 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42779 else
42780 pkg_failed=yes
42781 fi
42782 fi
42783 else
42784 pkg_failed=untried
42785 fi
42786
42787
42788
42789 if test $pkg_failed = yes; then
42790
42791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42792 _pkg_short_errors_supported=yes
42793 else
42794 _pkg_short_errors_supported=no
42795 fi
42796 if test $_pkg_short_errors_supported = yes; then
42797 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42798 else
42799 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42800 fi
42801 # Put the nasty error message in config.log where it belongs
42802 echo "$GTKPRINT_PKG_ERRORS" >&5
42803
42804
42805 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42806 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42807 wxUSE_GTKPRINT="no"
42808
42809
42810 elif test $pkg_failed = untried; then
42811
42812 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42813 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42814 wxUSE_GTKPRINT="no"
42815
42816
42817 else
42818 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42819 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42820 { echo "$as_me:$LINENO: result: yes" >&5
42821 echo "${ECHO_T}yes" >&6; }
42822
42823 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42824 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42825 cat >>confdefs.h <<\_ACEOF
42826 #define wxUSE_GTKPRINT 1
42827 _ACEOF
42828
42829
42830 fi
42831 fi
42832
42833 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42834
42835
42836 pkg_failed=no
42837 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42838 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42839
42840 if test -n "$PKG_CONFIG"; then
42841 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42842 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42843 else
42844 if test -n "$PKG_CONFIG" && \
42845 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42846 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42847 ac_status=$?
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); }; then
42850 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42851 else
42852 pkg_failed=yes
42853 fi
42854 fi
42855 else
42856 pkg_failed=untried
42857 fi
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42860 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42861 else
42862 if test -n "$PKG_CONFIG" && \
42863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42864 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42865 ac_status=$?
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; then
42868 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42869 else
42870 pkg_failed=yes
42871 fi
42872 fi
42873 else
42874 pkg_failed=untried
42875 fi
42876
42877
42878
42879 if test $pkg_failed = yes; then
42880
42881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42882 _pkg_short_errors_supported=yes
42883 else
42884 _pkg_short_errors_supported=no
42885 fi
42886 if test $_pkg_short_errors_supported = yes; then
42887 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42888 else
42889 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42890 fi
42891 # Put the nasty error message in config.log where it belongs
42892 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42893
42894
42895 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42896 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42897 wxUSE_LIBGNOMEPRINT="no"
42898
42899
42900 elif test $pkg_failed = untried; then
42901
42902 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42903 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42904 wxUSE_LIBGNOMEPRINT="no"
42905
42906
42907 else
42908 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42909 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42910 { echo "$as_me:$LINENO: result: yes" >&5
42911 echo "${ECHO_T}yes" >&6; }
42912
42913 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42914 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42915 cat >>confdefs.h <<\_ACEOF
42916 #define wxUSE_LIBGNOMEPRINT 1
42917 _ACEOF
42918
42919
42920 fi
42921 fi
42922 fi
42923
42924 if test "$wxUSE_MIMETYPE" = "yes" ; then
42925 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42926
42927
42928 pkg_failed=no
42929 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42930 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42931
42932 if test -n "$PKG_CONFIG"; then
42933 if test -n "$GNOMEVFS_CFLAGS"; then
42934 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42935 else
42936 if test -n "$PKG_CONFIG" && \
42937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42938 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42939 ac_status=$?
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); }; then
42942 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42943 else
42944 pkg_failed=yes
42945 fi
42946 fi
42947 else
42948 pkg_failed=untried
42949 fi
42950 if test -n "$PKG_CONFIG"; then
42951 if test -n "$GNOMEVFS_LIBS"; then
42952 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42953 else
42954 if test -n "$PKG_CONFIG" && \
42955 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42956 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42957 ac_status=$?
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); }; then
42960 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42961 else
42962 pkg_failed=yes
42963 fi
42964 fi
42965 else
42966 pkg_failed=untried
42967 fi
42968
42969
42970
42971 if test $pkg_failed = yes; then
42972
42973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42974 _pkg_short_errors_supported=yes
42975 else
42976 _pkg_short_errors_supported=no
42977 fi
42978 if test $_pkg_short_errors_supported = yes; then
42979 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42980 else
42981 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42982 fi
42983 # Put the nasty error message in config.log where it belongs
42984 echo "$GNOMEVFS_PKG_ERRORS" >&5
42985
42986
42987 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42988 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42989 wxUSE_LIBGNOMEVFS="no"
42990
42991
42992 elif test $pkg_failed = untried; then
42993
42994 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42995 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42996 wxUSE_LIBGNOMEVFS="no"
42997
42998
42999 else
43000 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43001 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43002 { echo "$as_me:$LINENO: result: yes" >&5
43003 echo "${ECHO_T}yes" >&6; }
43004
43005 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43006 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_LIBGNOMEVFS 1
43009 _ACEOF
43010
43011
43012 fi
43013 fi
43014 fi
43015
43016 if test "$wxUSE_LIBHILDON" = "yes" ; then
43017
43018 pkg_failed=no
43019 { echo "$as_me:$LINENO: checking for HILDON" >&5
43020 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43021
43022 if test -n "$PKG_CONFIG"; then
43023 if test -n "$HILDON_CFLAGS"; then
43024 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43025 else
43026 if test -n "$PKG_CONFIG" && \
43027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43028 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43029 ac_status=$?
43030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43031 (exit $ac_status); }; then
43032 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43033 else
43034 pkg_failed=yes
43035 fi
43036 fi
43037 else
43038 pkg_failed=untried
43039 fi
43040 if test -n "$PKG_CONFIG"; then
43041 if test -n "$HILDON_LIBS"; then
43042 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43043 else
43044 if test -n "$PKG_CONFIG" && \
43045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43046 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43047 ac_status=$?
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); }; then
43050 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43051 else
43052 pkg_failed=yes
43053 fi
43054 fi
43055 else
43056 pkg_failed=untried
43057 fi
43058
43059
43060
43061 if test $pkg_failed = yes; then
43062
43063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43064 _pkg_short_errors_supported=yes
43065 else
43066 _pkg_short_errors_supported=no
43067 fi
43068 if test $_pkg_short_errors_supported = yes; then
43069 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43070 else
43071 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43072 fi
43073 # Put the nasty error message in config.log where it belongs
43074 echo "$HILDON_PKG_ERRORS" >&5
43075
43076
43077 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43078 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43079 wxUSE_LIBHILDON="no"
43080
43081
43082 elif test $pkg_failed = untried; then
43083
43084 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43085 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43086 wxUSE_LIBHILDON="no"
43087
43088
43089 else
43090 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43091 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43092 { echo "$as_me:$LINENO: result: yes" >&5
43093 echo "${ECHO_T}yes" >&6; }
43094
43095 EXTRALIBS_HILDON="$HILDON_LIBS"
43096 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43097 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43098 cat >>confdefs.h <<\_ACEOF
43099 #define wxUSE_LIBHILDON 1
43100 _ACEOF
43101
43102
43103 fi
43104 fi
43105 fi
43106
43107 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43108 cat >>confdefs.h <<\_ACEOF
43109 #define wxUSE_CMDLINE_PARSER 1
43110 _ACEOF
43111
43112 fi
43113
43114 if test "$wxUSE_STOPWATCH" = "yes"; then
43115 cat >>confdefs.h <<\_ACEOF
43116 #define wxUSE_STOPWATCH 1
43117 _ACEOF
43118
43119 fi
43120
43121 if test "$wxUSE_DATETIME" = "yes"; then
43122 cat >>confdefs.h <<\_ACEOF
43123 #define wxUSE_DATETIME 1
43124 _ACEOF
43125
43126 fi
43127
43128 if test "$wxUSE_FILE" = "yes"; then
43129 cat >>confdefs.h <<\_ACEOF
43130 #define wxUSE_FILE 1
43131 _ACEOF
43132
43133 fi
43134
43135 if test "$wxUSE_FFILE" = "yes"; then
43136 cat >>confdefs.h <<\_ACEOF
43137 #define wxUSE_FFILE 1
43138 _ACEOF
43139
43140 fi
43141
43142 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43143 if test "$wxUSE_STREAMS" != yes; then
43144 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43145 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43146 wxUSE_ARCHIVE_STREAMS=no
43147 else
43148 cat >>confdefs.h <<\_ACEOF
43149 #define wxUSE_ARCHIVE_STREAMS 1
43150 _ACEOF
43151
43152 fi
43153 fi
43154
43155 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43156 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43157 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43158 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43159 elif test "$wxUSE_ZLIB" = "no"; then
43160 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43161 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43162 else
43163 cat >>confdefs.h <<\_ACEOF
43164 #define wxUSE_ZIPSTREAM 1
43165 _ACEOF
43166
43167 fi
43168 fi
43169
43170 if test "$wxUSE_TARSTREAM" = "yes"; then
43171 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43172 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43173 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43174 else
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_TARSTREAM 1
43177 _ACEOF
43178
43179 fi
43180 fi
43181
43182 if test "$wxUSE_FILESYSTEM" = "yes"; then
43183 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43184 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43185 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43186 wxUSE_FILESYSTEM=no
43187 else
43188 cat >>confdefs.h <<\_ACEOF
43189 #define wxUSE_FILESYSTEM 1
43190 _ACEOF
43191
43192 fi
43193 fi
43194
43195 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43196 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43197 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43198 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43199 else
43200 cat >>confdefs.h <<\_ACEOF
43201 #define wxUSE_FS_ARCHIVE 1
43202 _ACEOF
43203
43204 fi
43205 fi
43206
43207 if test "$wxUSE_FS_ZIP" = "yes"; then
43208 if test "$wxUSE_FS_ARCHIVE" != yes; then
43209 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43210 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43211 else
43212 cat >>confdefs.h <<\_ACEOF
43213 #define wxUSE_FS_ZIP 1
43214 _ACEOF
43215
43216 fi
43217 fi
43218
43219 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43220 if test "$USE_UNIX" != 1; then
43221 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43222 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43223 wxUSE_ON_FATAL_EXCEPTION=no
43224 else
43225 cat >>confdefs.h <<\_ACEOF
43226 #define wxUSE_ON_FATAL_EXCEPTION 1
43227 _ACEOF
43228
43229 fi
43230 fi
43231
43232 if test "$wxUSE_STACKWALKER" = "yes"; then
43233 cat >>confdefs.h <<\_ACEOF
43234 #define wxUSE_STACKWALKER 1
43235 _ACEOF
43236
43237 fi
43238
43239 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43240 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43241 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43242 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43243 wxUSE_DEBUGREPORT=no
43244 else
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_DEBUGREPORT 1
43247 _ACEOF
43248
43249 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43251 fi
43252 fi
43253 fi
43254
43255 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43256 cat >>confdefs.h <<\_ACEOF
43257 #define wxUSE_SNGLINST_CHECKER 1
43258 _ACEOF
43259
43260 fi
43261
43262 if test "$wxUSE_BUSYINFO" = "yes"; then
43263 cat >>confdefs.h <<\_ACEOF
43264 #define wxUSE_BUSYINFO 1
43265 _ACEOF
43266
43267 fi
43268
43269 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_STD_IOSTREAM 1
43272 _ACEOF
43273
43274 fi
43275
43276 if test "$wxUSE_STD_STRING" = "yes"; then
43277 cat >>confdefs.h <<\_ACEOF
43278 #define wxUSE_STD_STRING 1
43279 _ACEOF
43280
43281 fi
43282
43283 if test "$wxUSE_STDPATHS" = "yes"; then
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_STDPATHS 1
43286 _ACEOF
43287
43288 fi
43289
43290 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43291 cat >>confdefs.h <<\_ACEOF
43292 #define wxUSE_TEXTBUFFER 1
43293 _ACEOF
43294
43295 fi
43296
43297 if test "$wxUSE_TEXTFILE" = "yes"; then
43298 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43299 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43300 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43301 else
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_TEXTFILE 1
43304 _ACEOF
43305
43306 fi
43307 fi
43308
43309 if test "$wxUSE_CONFIG" = "yes" ; then
43310 if test "$wxUSE_TEXTFILE" != "yes"; then
43311 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43312 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43313 else
43314 cat >>confdefs.h <<\_ACEOF
43315 #define wxUSE_CONFIG 1
43316 _ACEOF
43317
43318 cat >>confdefs.h <<\_ACEOF
43319 #define wxUSE_CONFIG_NATIVE 1
43320 _ACEOF
43321
43322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43323 fi
43324 fi
43325
43326 if test "$wxUSE_INTL" = "yes" ; then
43327 if test "$wxUSE_FILE" != "yes"; then
43328 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43329 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43330 else
43331 cat >>confdefs.h <<\_ACEOF
43332 #define wxUSE_INTL 1
43333 _ACEOF
43334
43335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43336 GUIDIST="$GUIDIST INTL_DIST"
43337 fi
43338 fi
43339
43340 if test "$wxUSE_XLOCALE" = "yes" ; then
43341 cat >>confdefs.h <<\_ACEOF
43342 #define wxUSE_XLOCALE 1
43343 _ACEOF
43344
43345 { echo "$as_me:$LINENO: checking for locale_t" >&5
43346 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43347 if test "${ac_cv_type_locale_t+set}" = set; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43349 else
43350 cat >conftest.$ac_ext <<_ACEOF
43351 /* confdefs.h. */
43352 _ACEOF
43353 cat confdefs.h >>conftest.$ac_ext
43354 cat >>conftest.$ac_ext <<_ACEOF
43355 /* end confdefs.h. */
43356 #include <xlocale.h>
43357 #include <locale.h>
43358
43359 typedef locale_t ac__type_new_;
43360 int
43361 main ()
43362 {
43363 if ((ac__type_new_ *) 0)
43364 return 0;
43365 if (sizeof (ac__type_new_))
43366 return 0;
43367 ;
43368 return 0;
43369 }
43370 _ACEOF
43371 rm -f conftest.$ac_objext
43372 if { (ac_try="$ac_compile"
43373 case "(($ac_try" in
43374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43375 *) ac_try_echo=$ac_try;;
43376 esac
43377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43378 (eval "$ac_compile") 2>conftest.er1
43379 ac_status=$?
43380 grep -v '^ *+' conftest.er1 >conftest.err
43381 rm -f conftest.er1
43382 cat conftest.err >&5
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); } && {
43385 test -z "$ac_c_werror_flag" ||
43386 test ! -s conftest.err
43387 } && test -s conftest.$ac_objext; then
43388 ac_cv_type_locale_t=yes
43389 else
43390 echo "$as_me: failed program was:" >&5
43391 sed 's/^/| /' conftest.$ac_ext >&5
43392
43393 ac_cv_type_locale_t=no
43394 fi
43395
43396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43397 fi
43398 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43399 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43400 if test $ac_cv_type_locale_t = yes; then
43401
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE_LOCALE_T 1
43404 _ACEOF
43405
43406
43407 fi
43408
43409 fi
43410
43411 if test "$wxUSE_LOG" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_LOG 1
43414 _ACEOF
43415
43416
43417 if test "$wxUSE_LOGGUI" = "yes"; then
43418 cat >>confdefs.h <<\_ACEOF
43419 #define wxUSE_LOGGUI 1
43420 _ACEOF
43421
43422 fi
43423
43424 if test "$wxUSE_LOGWINDOW" = "yes"; then
43425 cat >>confdefs.h <<\_ACEOF
43426 #define wxUSE_LOGWINDOW 1
43427 _ACEOF
43428
43429 fi
43430
43431 if test "$wxUSE_LOGDIALOG" = "yes"; then
43432 cat >>confdefs.h <<\_ACEOF
43433 #define wxUSE_LOG_DIALOG 1
43434 _ACEOF
43435
43436 fi
43437
43438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43439 fi
43440
43441 if test "$wxUSE_LONGLONG" = "yes"; then
43442 cat >>confdefs.h <<\_ACEOF
43443 #define wxUSE_LONGLONG 1
43444 _ACEOF
43445
43446 fi
43447
43448 if test "$wxUSE_GEOMETRY" = "yes"; then
43449 cat >>confdefs.h <<\_ACEOF
43450 #define wxUSE_GEOMETRY 1
43451 _ACEOF
43452
43453 fi
43454
43455 if test "$wxUSE_BASE64" = "yes"; then
43456 cat >>confdefs.h <<\_ACEOF
43457 #define wxUSE_BASE64 1
43458 _ACEOF
43459
43460 fi
43461
43462 if test "$wxUSE_STREAMS" = "yes" ; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_STREAMS 1
43465 _ACEOF
43466
43467 fi
43468
43469 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_PRINTF_POS_PARAMS 1
43472 _ACEOF
43473
43474 fi
43475
43476 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_OBJC_UNIQUIFYING 1
43479 _ACEOF
43480
43481 fi
43482
43483
43484 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_CONSOLE_EVENTLOOP 1
43487 _ACEOF
43488
43489
43490 if test "$wxUSE_UNIX" = "yes"; then
43491 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43492 cat >>confdefs.h <<\_ACEOF
43493 #define wxUSE_SELECT_DISPATCHER 1
43494 _ACEOF
43495
43496 fi
43497
43498 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43499
43500 for ac_header in sys/epoll.h
43501 do
43502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43506 echo $ECHO_N "(cached) $ECHO_C" >&6
43507 else
43508 cat >conftest.$ac_ext <<_ACEOF
43509 /* confdefs.h. */
43510 _ACEOF
43511 cat confdefs.h >>conftest.$ac_ext
43512 cat >>conftest.$ac_ext <<_ACEOF
43513 /* end confdefs.h. */
43514 $ac_includes_default
43515
43516 #include <$ac_header>
43517 _ACEOF
43518 rm -f conftest.$ac_objext
43519 if { (ac_try="$ac_compile"
43520 case "(($ac_try" in
43521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43522 *) ac_try_echo=$ac_try;;
43523 esac
43524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43525 (eval "$ac_compile") 2>conftest.er1
43526 ac_status=$?
43527 grep -v '^ *+' conftest.er1 >conftest.err
43528 rm -f conftest.er1
43529 cat conftest.err >&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); } && {
43532 test -z "$ac_c_werror_flag" ||
43533 test ! -s conftest.err
43534 } && test -s conftest.$ac_objext; then
43535 eval "$as_ac_Header=yes"
43536 else
43537 echo "$as_me: failed program was:" >&5
43538 sed 's/^/| /' conftest.$ac_ext >&5
43539
43540 eval "$as_ac_Header=no"
43541 fi
43542
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43544 fi
43545 ac_res=`eval echo '${'$as_ac_Header'}'`
43546 { echo "$as_me:$LINENO: result: $ac_res" >&5
43547 echo "${ECHO_T}$ac_res" >&6; }
43548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43549 cat >>confdefs.h <<_ACEOF
43550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43551 _ACEOF
43552
43553 fi
43554
43555 done
43556
43557 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43558 cat >>confdefs.h <<\_ACEOF
43559 #define wxUSE_EPOLL_DISPATCHER 1
43560 _ACEOF
43561
43562 else
43563 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43564 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43565 fi
43566 fi
43567 fi
43568 fi
43569
43570
43571
43572
43573 for ac_func in gettimeofday ftime
43574 do
43575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43578 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 else
43581 cat >conftest.$ac_ext <<_ACEOF
43582 /* confdefs.h. */
43583 _ACEOF
43584 cat confdefs.h >>conftest.$ac_ext
43585 cat >>conftest.$ac_ext <<_ACEOF
43586 /* end confdefs.h. */
43587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43589 #define $ac_func innocuous_$ac_func
43590
43591 /* System header to define __stub macros and hopefully few prototypes,
43592 which can conflict with char $ac_func (); below.
43593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43594 <limits.h> exists even on freestanding compilers. */
43595
43596 #ifdef __STDC__
43597 # include <limits.h>
43598 #else
43599 # include <assert.h>
43600 #endif
43601
43602 #undef $ac_func
43603
43604 /* Override any GCC internal prototype to avoid an error.
43605 Use char because int might match the return type of a GCC
43606 builtin and then its argument prototype would still apply. */
43607 #ifdef __cplusplus
43608 extern "C"
43609 #endif
43610 char $ac_func ();
43611 /* The GNU C library defines this for functions which it implements
43612 to always fail with ENOSYS. Some functions are actually named
43613 something starting with __ and the normal name is an alias. */
43614 #if defined __stub_$ac_func || defined __stub___$ac_func
43615 choke me
43616 #endif
43617
43618 int
43619 main ()
43620 {
43621 return $ac_func ();
43622 ;
43623 return 0;
43624 }
43625 _ACEOF
43626 rm -f conftest.$ac_objext conftest$ac_exeext
43627 if { (ac_try="$ac_link"
43628 case "(($ac_try" in
43629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43631 esac
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_link") 2>conftest.er1
43634 ac_status=$?
43635 grep -v '^ *+' conftest.er1 >conftest.err
43636 rm -f conftest.er1
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest$ac_exeext &&
43643 $as_test_x conftest$ac_exeext; then
43644 eval "$as_ac_var=yes"
43645 else
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.$ac_ext >&5
43648
43649 eval "$as_ac_var=no"
43650 fi
43651
43652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43653 conftest$ac_exeext conftest.$ac_ext
43654 fi
43655 ac_res=`eval echo '${'$as_ac_var'}'`
43656 { echo "$as_me:$LINENO: result: $ac_res" >&5
43657 echo "${ECHO_T}$ac_res" >&6; }
43658 if test `eval echo '${'$as_ac_var'}'` = yes; then
43659 cat >>confdefs.h <<_ACEOF
43660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43661 _ACEOF
43662 break
43663 fi
43664 done
43665
43666
43667 if test "$ac_cv_func_gettimeofday" = "yes"; then
43668 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43669 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43670 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43671 echo $ECHO_N "(cached) $ECHO_C" >&6
43672 else
43673
43674 cat >conftest.$ac_ext <<_ACEOF
43675 /* confdefs.h. */
43676 _ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43680
43681 #include <sys/time.h>
43682 #include <unistd.h>
43683
43684 int
43685 main ()
43686 {
43687
43688 struct timeval tv;
43689 gettimeofday(&tv, NULL);
43690
43691 ;
43692 return 0;
43693 }
43694 _ACEOF
43695 rm -f conftest.$ac_objext
43696 if { (ac_try="$ac_compile"
43697 case "(($ac_try" in
43698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43699 *) ac_try_echo=$ac_try;;
43700 esac
43701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43702 (eval "$ac_compile") 2>conftest.er1
43703 ac_status=$?
43704 grep -v '^ *+' conftest.er1 >conftest.err
43705 rm -f conftest.er1
43706 cat conftest.err >&5
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); } && {
43709 test -z "$ac_c_werror_flag" ||
43710 test ! -s conftest.err
43711 } && test -s conftest.$ac_objext; then
43712 wx_cv_func_gettimeofday_has_2_args=yes
43713 else
43714 echo "$as_me: failed program was:" >&5
43715 sed 's/^/| /' conftest.$ac_ext >&5
43716
43717 cat >conftest.$ac_ext <<_ACEOF
43718 /* confdefs.h. */
43719 _ACEOF
43720 cat confdefs.h >>conftest.$ac_ext
43721 cat >>conftest.$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43723
43724 #include <sys/time.h>
43725 #include <unistd.h>
43726
43727 int
43728 main ()
43729 {
43730
43731 struct timeval tv;
43732 gettimeofday(&tv);
43733
43734 ;
43735 return 0;
43736 }
43737 _ACEOF
43738 rm -f conftest.$ac_objext
43739 if { (ac_try="$ac_compile"
43740 case "(($ac_try" in
43741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43742 *) ac_try_echo=$ac_try;;
43743 esac
43744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43745 (eval "$ac_compile") 2>conftest.er1
43746 ac_status=$?
43747 grep -v '^ *+' conftest.er1 >conftest.err
43748 rm -f conftest.er1
43749 cat conftest.err >&5
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); } && {
43752 test -z "$ac_c_werror_flag" ||
43753 test ! -s conftest.err
43754 } && test -s conftest.$ac_objext; then
43755 wx_cv_func_gettimeofday_has_2_args=no
43756 else
43757 echo "$as_me: failed program was:" >&5
43758 sed 's/^/| /' conftest.$ac_ext >&5
43759
43760
43761 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43762 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43763 wx_cv_func_gettimeofday_has_2_args=unknown
43764
43765
43766 fi
43767
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769
43770 fi
43771
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773
43774 fi
43775 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43776 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43777
43778 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43779 cat >>confdefs.h <<\_ACEOF
43780 #define WX_GETTIMEOFDAY_NO_TZ 1
43781 _ACEOF
43782
43783 fi
43784 fi
43785
43786 if test "$wxUSE_DATETIME" = "yes"; then
43787 { echo "$as_me:$LINENO: checking for strptime" >&5
43788 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43789 if test "${ac_cv_func_strptime+set}" = set; then
43790 echo $ECHO_N "(cached) $ECHO_C" >&6
43791 else
43792 cat >conftest.$ac_ext <<_ACEOF
43793 /* confdefs.h. */
43794 _ACEOF
43795 cat confdefs.h >>conftest.$ac_ext
43796 cat >>conftest.$ac_ext <<_ACEOF
43797 /* end confdefs.h. */
43798 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43800 #define strptime innocuous_strptime
43801
43802 /* System header to define __stub macros and hopefully few prototypes,
43803 which can conflict with char strptime (); below.
43804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43805 <limits.h> exists even on freestanding compilers. */
43806
43807 #ifdef __STDC__
43808 # include <limits.h>
43809 #else
43810 # include <assert.h>
43811 #endif
43812
43813 #undef strptime
43814
43815 /* Override any GCC internal prototype to avoid an error.
43816 Use char because int might match the return type of a GCC
43817 builtin and then its argument prototype would still apply. */
43818 #ifdef __cplusplus
43819 extern "C"
43820 #endif
43821 char strptime ();
43822 /* The GNU C library defines this for functions which it implements
43823 to always fail with ENOSYS. Some functions are actually named
43824 something starting with __ and the normal name is an alias. */
43825 #if defined __stub_strptime || defined __stub___strptime
43826 choke me
43827 #endif
43828
43829 int
43830 main ()
43831 {
43832 return strptime ();
43833 ;
43834 return 0;
43835 }
43836 _ACEOF
43837 rm -f conftest.$ac_objext conftest$ac_exeext
43838 if { (ac_try="$ac_link"
43839 case "(($ac_try" in
43840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43841 *) ac_try_echo=$ac_try;;
43842 esac
43843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43844 (eval "$ac_link") 2>conftest.er1
43845 ac_status=$?
43846 grep -v '^ *+' conftest.er1 >conftest.err
43847 rm -f conftest.er1
43848 cat conftest.err >&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); } && {
43851 test -z "$ac_c_werror_flag" ||
43852 test ! -s conftest.err
43853 } && test -s conftest$ac_exeext &&
43854 $as_test_x conftest$ac_exeext; then
43855 ac_cv_func_strptime=yes
43856 else
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.$ac_ext >&5
43859
43860 ac_cv_func_strptime=no
43861 fi
43862
43863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43864 conftest$ac_exeext conftest.$ac_ext
43865 fi
43866 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43867 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43868
43869 if test "$ac_cv_func_strptime" = "yes"; then
43870 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43871 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43872 if test "${wx_cv_func_strptime_decl+set}" = set; then
43873 echo $ECHO_N "(cached) $ECHO_C" >&6
43874 else
43875
43876 ac_ext=cpp
43877 ac_cpp='$CXXCPP $CPPFLAGS'
43878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43881
43882 cat >conftest.$ac_ext <<_ACEOF
43883 /* confdefs.h. */
43884 _ACEOF
43885 cat confdefs.h >>conftest.$ac_ext
43886 cat >>conftest.$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43888
43889 #include <time.h>
43890
43891 int
43892 main ()
43893 {
43894
43895 struct tm t;
43896 strptime("foo", "bar", &t);
43897
43898 ;
43899 return 0;
43900 }
43901 _ACEOF
43902 rm -f conftest.$ac_objext
43903 if { (ac_try="$ac_compile"
43904 case "(($ac_try" in
43905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43906 *) ac_try_echo=$ac_try;;
43907 esac
43908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43909 (eval "$ac_compile") 2>conftest.er1
43910 ac_status=$?
43911 grep -v '^ *+' conftest.er1 >conftest.err
43912 rm -f conftest.er1
43913 cat conftest.err >&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); } && {
43916 test -z "$ac_cxx_werror_flag" ||
43917 test ! -s conftest.err
43918 } && test -s conftest.$ac_objext; then
43919 wx_cv_func_strptime_decl=yes
43920 else
43921 echo "$as_me: failed program was:" >&5
43922 sed 's/^/| /' conftest.$ac_ext >&5
43923
43924 wx_cv_func_strptime_decl=no
43925
43926 fi
43927
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929 ac_ext=c
43930 ac_cpp='$CPP $CPPFLAGS'
43931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43934
43935
43936
43937 fi
43938 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43939 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43940 fi
43941 if test "$wx_cv_func_strptime_decl" = "yes"; then
43942 cat >>confdefs.h <<\_ACEOF
43943 #define HAVE_STRPTIME_DECL 1
43944 _ACEOF
43945
43946 else
43947 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43948 fi
43949 if test "$ac_cv_func_strptime" = "yes"; then
43950 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43951 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43952 if test "${wx_cv_func_strptime_ok+set}" = set; then
43953 echo $ECHO_N "(cached) $ECHO_C" >&6
43954 else
43955 if test "$cross_compiling" = yes; then
43956 wx_cv_func_strptime_ok=no
43957
43958 else
43959 cat >conftest.$ac_ext <<_ACEOF
43960
43961 #include <stdlib.h>
43962 #include <time.h>
43963 #include "confdefs.h"
43964
43965 $wx_strptime_decl
43966
43967 int main()
43968 {
43969 struct tm t;
43970 return !!strptime("", "%x", &t);
43971 }
43972
43973 _ACEOF
43974 rm -f conftest$ac_exeext
43975 if { (ac_try="$ac_link"
43976 case "(($ac_try" in
43977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43978 *) ac_try_echo=$ac_try;;
43979 esac
43980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43981 (eval "$ac_link") 2>&5
43982 ac_status=$?
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43985 { (case "(($ac_try" in
43986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43987 *) ac_try_echo=$ac_try;;
43988 esac
43989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43990 (eval "$ac_try") 2>&5
43991 ac_status=$?
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994 wx_cv_func_strptime_ok=yes
43995 else
43996 echo "$as_me: program exited with status $ac_status" >&5
43997 echo "$as_me: failed program was:" >&5
43998 sed 's/^/| /' conftest.$ac_ext >&5
43999
44000 ( exit $ac_status )
44001 wx_cv_func_strptime_ok=no
44002 fi
44003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44004 fi
44005
44006
44007
44008 fi
44009 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44010 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44011
44012 if test "$wx_cv_func_strptime_ok" = "yes"; then
44013 cat >>confdefs.h <<\_ACEOF
44014 #define HAVE_STRPTIME 1
44015 _ACEOF
44016
44017 fi
44018 fi
44019
44020 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44021 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44022 if test "${wx_cv_var_timezone+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44024 else
44025
44026 ac_ext=cpp
44027 ac_cpp='$CXXCPP $CPPFLAGS'
44028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44031
44032 cat >conftest.$ac_ext <<_ACEOF
44033 /* confdefs.h. */
44034 _ACEOF
44035 cat confdefs.h >>conftest.$ac_ext
44036 cat >>conftest.$ac_ext <<_ACEOF
44037 /* end confdefs.h. */
44038
44039 #include <time.h>
44040
44041 int
44042 main ()
44043 {
44044
44045 int tz;
44046 tz = timezone;
44047
44048 ;
44049 return 0;
44050 }
44051 _ACEOF
44052 rm -f conftest.$ac_objext
44053 if { (ac_try="$ac_compile"
44054 case "(($ac_try" in
44055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44056 *) ac_try_echo=$ac_try;;
44057 esac
44058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44059 (eval "$ac_compile") 2>conftest.er1
44060 ac_status=$?
44061 grep -v '^ *+' conftest.er1 >conftest.err
44062 rm -f conftest.er1
44063 cat conftest.err >&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); } && {
44066 test -z "$ac_cxx_werror_flag" ||
44067 test ! -s conftest.err
44068 } && test -s conftest.$ac_objext; then
44069
44070 wx_cv_var_timezone=timezone
44071
44072 else
44073 echo "$as_me: failed program was:" >&5
44074 sed 's/^/| /' conftest.$ac_ext >&5
44075
44076
44077 cat >conftest.$ac_ext <<_ACEOF
44078 /* confdefs.h. */
44079 _ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44083
44084 #include <time.h>
44085
44086 int
44087 main ()
44088 {
44089
44090 int tz;
44091 tz = _timezone;
44092
44093 ;
44094 return 0;
44095 }
44096 _ACEOF
44097 rm -f conftest.$ac_objext
44098 if { (ac_try="$ac_compile"
44099 case "(($ac_try" in
44100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44101 *) ac_try_echo=$ac_try;;
44102 esac
44103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44104 (eval "$ac_compile") 2>conftest.er1
44105 ac_status=$?
44106 grep -v '^ *+' conftest.er1 >conftest.err
44107 rm -f conftest.er1
44108 cat conftest.err >&5
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); } && {
44111 test -z "$ac_cxx_werror_flag" ||
44112 test ! -s conftest.err
44113 } && test -s conftest.$ac_objext; then
44114
44115 wx_cv_var_timezone=_timezone
44116
44117 else
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44120
44121
44122 cat >conftest.$ac_ext <<_ACEOF
44123 /* confdefs.h. */
44124 _ACEOF
44125 cat confdefs.h >>conftest.$ac_ext
44126 cat >>conftest.$ac_ext <<_ACEOF
44127 /* end confdefs.h. */
44128
44129 #include <time.h>
44130
44131 int
44132 main ()
44133 {
44134
44135 int tz;
44136 tz = __timezone;
44137
44138 ;
44139 return 0;
44140 }
44141 _ACEOF
44142 rm -f conftest.$ac_objext
44143 if { (ac_try="$ac_compile"
44144 case "(($ac_try" in
44145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44146 *) ac_try_echo=$ac_try;;
44147 esac
44148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44149 (eval "$ac_compile") 2>conftest.er1
44150 ac_status=$?
44151 grep -v '^ *+' conftest.er1 >conftest.err
44152 rm -f conftest.er1
44153 cat conftest.err >&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); } && {
44156 test -z "$ac_cxx_werror_flag" ||
44157 test ! -s conftest.err
44158 } && test -s conftest.$ac_objext; then
44159
44160 wx_cv_var_timezone=__timezone
44161
44162 else
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44165
44166
44167 if test "$USE_DOS" = 0 ; then
44168 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44169 echo "$as_me: WARNING: no timezone variable" >&2;}
44170 fi
44171
44172
44173 fi
44174
44175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44176
44177
44178 fi
44179
44180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44181
44182
44183 fi
44184
44185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44186 ac_ext=c
44187 ac_cpp='$CPP $CPPFLAGS'
44188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44191
44192
44193
44194 fi
44195 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44196 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44197
44198 if test "x$wx_cv_var_timezone" != x ; then
44199 cat >>confdefs.h <<_ACEOF
44200 #define WX_TIMEZONE $wx_cv_var_timezone
44201 _ACEOF
44202
44203 fi
44204
44205
44206 for ac_func in localtime
44207 do
44208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44211 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44212 echo $ECHO_N "(cached) $ECHO_C" >&6
44213 else
44214 cat >conftest.$ac_ext <<_ACEOF
44215 /* confdefs.h. */
44216 _ACEOF
44217 cat confdefs.h >>conftest.$ac_ext
44218 cat >>conftest.$ac_ext <<_ACEOF
44219 /* end confdefs.h. */
44220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44222 #define $ac_func innocuous_$ac_func
44223
44224 /* System header to define __stub macros and hopefully few prototypes,
44225 which can conflict with char $ac_func (); below.
44226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44227 <limits.h> exists even on freestanding compilers. */
44228
44229 #ifdef __STDC__
44230 # include <limits.h>
44231 #else
44232 # include <assert.h>
44233 #endif
44234
44235 #undef $ac_func
44236
44237 /* Override any GCC internal prototype to avoid an error.
44238 Use char because int might match the return type of a GCC
44239 builtin and then its argument prototype would still apply. */
44240 #ifdef __cplusplus
44241 extern "C"
44242 #endif
44243 char $ac_func ();
44244 /* The GNU C library defines this for functions which it implements
44245 to always fail with ENOSYS. Some functions are actually named
44246 something starting with __ and the normal name is an alias. */
44247 #if defined __stub_$ac_func || defined __stub___$ac_func
44248 choke me
44249 #endif
44250
44251 int
44252 main ()
44253 {
44254 return $ac_func ();
44255 ;
44256 return 0;
44257 }
44258 _ACEOF
44259 rm -f conftest.$ac_objext conftest$ac_exeext
44260 if { (ac_try="$ac_link"
44261 case "(($ac_try" in
44262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44263 *) ac_try_echo=$ac_try;;
44264 esac
44265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44266 (eval "$ac_link") 2>conftest.er1
44267 ac_status=$?
44268 grep -v '^ *+' conftest.er1 >conftest.err
44269 rm -f conftest.er1
44270 cat conftest.err >&5
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); } && {
44273 test -z "$ac_c_werror_flag" ||
44274 test ! -s conftest.err
44275 } && test -s conftest$ac_exeext &&
44276 $as_test_x conftest$ac_exeext; then
44277 eval "$as_ac_var=yes"
44278 else
44279 echo "$as_me: failed program was:" >&5
44280 sed 's/^/| /' conftest.$ac_ext >&5
44281
44282 eval "$as_ac_var=no"
44283 fi
44284
44285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44286 conftest$ac_exeext conftest.$ac_ext
44287 fi
44288 ac_res=`eval echo '${'$as_ac_var'}'`
44289 { echo "$as_me:$LINENO: result: $ac_res" >&5
44290 echo "${ECHO_T}$ac_res" >&6; }
44291 if test `eval echo '${'$as_ac_var'}'` = yes; then
44292 cat >>confdefs.h <<_ACEOF
44293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44294 _ACEOF
44295
44296 fi
44297 done
44298
44299
44300 if test "$ac_cv_func_localtime" = "yes"; then
44301 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44302 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44303 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44304 echo $ECHO_N "(cached) $ECHO_C" >&6
44305 else
44306
44307 cat >conftest.$ac_ext <<_ACEOF
44308 /* confdefs.h. */
44309 _ACEOF
44310 cat confdefs.h >>conftest.$ac_ext
44311 cat >>conftest.$ac_ext <<_ACEOF
44312 /* end confdefs.h. */
44313
44314 #include <time.h>
44315
44316 int
44317 main ()
44318 {
44319
44320 struct tm tm;
44321 tm.tm_gmtoff++;
44322
44323 ;
44324 return 0;
44325 }
44326 _ACEOF
44327 rm -f conftest.$ac_objext
44328 if { (ac_try="$ac_compile"
44329 case "(($ac_try" in
44330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44331 *) ac_try_echo=$ac_try;;
44332 esac
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_compile") 2>conftest.er1
44335 ac_status=$?
44336 grep -v '^ *+' conftest.er1 >conftest.err
44337 rm -f conftest.er1
44338 cat conftest.err >&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); } && {
44341 test -z "$ac_c_werror_flag" ||
44342 test ! -s conftest.err
44343 } && test -s conftest.$ac_objext; then
44344
44345 wx_cv_struct_tm_has_gmtoff=yes
44346
44347 else
44348 echo "$as_me: failed program was:" >&5
44349 sed 's/^/| /' conftest.$ac_ext >&5
44350
44351 wx_cv_struct_tm_has_gmtoff=no
44352
44353 fi
44354
44355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44356
44357 fi
44358 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44359 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44360 fi
44361
44362 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define WX_GMTOFF_IN_TM 1
44365 _ACEOF
44366
44367 fi
44368
44369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44370 fi
44371
44372
44373 if test "$wxUSE_SOCKETS" = "yes"; then
44374 if test "$wxUSE_MGL" = 1; then
44375 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44376 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44377 wxUSE_SOCKETS="no"
44378 fi
44379 fi
44380
44381 if test "$wxUSE_SOCKETS" = "yes"; then
44382 if test "$TOOLKIT" != "MSW"; then
44383 { echo "$as_me:$LINENO: checking for socket" >&5
44384 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44385 if test "${ac_cv_func_socket+set}" = set; then
44386 echo $ECHO_N "(cached) $ECHO_C" >&6
44387 else
44388 cat >conftest.$ac_ext <<_ACEOF
44389 /* confdefs.h. */
44390 _ACEOF
44391 cat confdefs.h >>conftest.$ac_ext
44392 cat >>conftest.$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44394 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44396 #define socket innocuous_socket
44397
44398 /* System header to define __stub macros and hopefully few prototypes,
44399 which can conflict with char socket (); below.
44400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44401 <limits.h> exists even on freestanding compilers. */
44402
44403 #ifdef __STDC__
44404 # include <limits.h>
44405 #else
44406 # include <assert.h>
44407 #endif
44408
44409 #undef socket
44410
44411 /* Override any GCC internal prototype to avoid an error.
44412 Use char because int might match the return type of a GCC
44413 builtin and then its argument prototype would still apply. */
44414 #ifdef __cplusplus
44415 extern "C"
44416 #endif
44417 char socket ();
44418 /* The GNU C library defines this for functions which it implements
44419 to always fail with ENOSYS. Some functions are actually named
44420 something starting with __ and the normal name is an alias. */
44421 #if defined __stub_socket || defined __stub___socket
44422 choke me
44423 #endif
44424
44425 int
44426 main ()
44427 {
44428 return socket ();
44429 ;
44430 return 0;
44431 }
44432 _ACEOF
44433 rm -f conftest.$ac_objext conftest$ac_exeext
44434 if { (ac_try="$ac_link"
44435 case "(($ac_try" in
44436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44437 *) ac_try_echo=$ac_try;;
44438 esac
44439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44440 (eval "$ac_link") 2>conftest.er1
44441 ac_status=$?
44442 grep -v '^ *+' conftest.er1 >conftest.err
44443 rm -f conftest.er1
44444 cat conftest.err >&5
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); } && {
44447 test -z "$ac_c_werror_flag" ||
44448 test ! -s conftest.err
44449 } && test -s conftest$ac_exeext &&
44450 $as_test_x conftest$ac_exeext; then
44451 ac_cv_func_socket=yes
44452 else
44453 echo "$as_me: failed program was:" >&5
44454 sed 's/^/| /' conftest.$ac_ext >&5
44455
44456 ac_cv_func_socket=no
44457 fi
44458
44459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44460 conftest$ac_exeext conftest.$ac_ext
44461 fi
44462 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44463 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44464 if test $ac_cv_func_socket = yes; then
44465 :
44466 else
44467
44468 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44469 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44470 if test "${ac_cv_lib_socket_socket+set}" = set; then
44471 echo $ECHO_N "(cached) $ECHO_C" >&6
44472 else
44473 ac_check_lib_save_LIBS=$LIBS
44474 LIBS="-lsocket $LIBS"
44475 cat >conftest.$ac_ext <<_ACEOF
44476 /* confdefs.h. */
44477 _ACEOF
44478 cat confdefs.h >>conftest.$ac_ext
44479 cat >>conftest.$ac_ext <<_ACEOF
44480 /* end confdefs.h. */
44481
44482 /* Override any GCC internal prototype to avoid an error.
44483 Use char because int might match the return type of a GCC
44484 builtin and then its argument prototype would still apply. */
44485 #ifdef __cplusplus
44486 extern "C"
44487 #endif
44488 char socket ();
44489 int
44490 main ()
44491 {
44492 return socket ();
44493 ;
44494 return 0;
44495 }
44496 _ACEOF
44497 rm -f conftest.$ac_objext conftest$ac_exeext
44498 if { (ac_try="$ac_link"
44499 case "(($ac_try" in
44500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44501 *) ac_try_echo=$ac_try;;
44502 esac
44503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44504 (eval "$ac_link") 2>conftest.er1
44505 ac_status=$?
44506 grep -v '^ *+' conftest.er1 >conftest.err
44507 rm -f conftest.er1
44508 cat conftest.err >&5
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); } && {
44511 test -z "$ac_c_werror_flag" ||
44512 test ! -s conftest.err
44513 } && test -s conftest$ac_exeext &&
44514 $as_test_x conftest$ac_exeext; then
44515 ac_cv_lib_socket_socket=yes
44516 else
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.$ac_ext >&5
44519
44520 ac_cv_lib_socket_socket=no
44521 fi
44522
44523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44524 conftest$ac_exeext conftest.$ac_ext
44525 LIBS=$ac_check_lib_save_LIBS
44526 fi
44527 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44528 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44529 if test $ac_cv_lib_socket_socket = yes; then
44530 if test "$INET_LINK" != " -lsocket"; then
44531 INET_LINK="$INET_LINK -lsocket"
44532 fi
44533 else
44534
44535 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44536 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44537 wxUSE_SOCKETS=no
44538
44539
44540 fi
44541
44542
44543
44544 fi
44545
44546 fi
44547 fi
44548
44549 if test "$wxUSE_SOCKETS" = "yes" ; then
44550 if test "$TOOLKIT" != "MSW"; then
44551 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44552 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44553 if test "${wx_cv_type_getsockname3+set}" = set; then
44554 echo $ECHO_N "(cached) $ECHO_C" >&6
44555 else
44556
44557 ac_ext=cpp
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562
44563 cat >conftest.$ac_ext <<_ACEOF
44564 /* confdefs.h. */
44565 _ACEOF
44566 cat confdefs.h >>conftest.$ac_ext
44567 cat >>conftest.$ac_ext <<_ACEOF
44568 /* end confdefs.h. */
44569
44570 #include <sys/types.h>
44571 #include <sys/socket.h>
44572
44573 int
44574 main ()
44575 {
44576
44577 socklen_t len;
44578 getsockname(0, 0, &len);
44579
44580 ;
44581 return 0;
44582 }
44583 _ACEOF
44584 rm -f conftest.$ac_objext
44585 if { (ac_try="$ac_compile"
44586 case "(($ac_try" in
44587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44588 *) ac_try_echo=$ac_try;;
44589 esac
44590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44591 (eval "$ac_compile") 2>conftest.er1
44592 ac_status=$?
44593 grep -v '^ *+' conftest.er1 >conftest.err
44594 rm -f conftest.er1
44595 cat conftest.err >&5
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); } && {
44598 test -z "$ac_cxx_werror_flag" ||
44599 test ! -s conftest.err
44600 } && test -s conftest.$ac_objext; then
44601 wx_cv_type_getsockname3=socklen_t
44602 else
44603 echo "$as_me: failed program was:" >&5
44604 sed 's/^/| /' conftest.$ac_ext >&5
44605
44606
44607 CFLAGS_OLD="$CFLAGS"
44608 if test "$GCC" = yes ; then
44609 CFLAGS="-Werror $CFLAGS"
44610 fi
44611
44612 cat >conftest.$ac_ext <<_ACEOF
44613 /* confdefs.h. */
44614 _ACEOF
44615 cat confdefs.h >>conftest.$ac_ext
44616 cat >>conftest.$ac_ext <<_ACEOF
44617 /* end confdefs.h. */
44618
44619 #include <sys/types.h>
44620 #include <sys/socket.h>
44621
44622 int
44623 main ()
44624 {
44625
44626 size_t len;
44627 getsockname(0, 0, &len);
44628
44629 ;
44630 return 0;
44631 }
44632 _ACEOF
44633 rm -f conftest.$ac_objext
44634 if { (ac_try="$ac_compile"
44635 case "(($ac_try" in
44636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44637 *) ac_try_echo=$ac_try;;
44638 esac
44639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44640 (eval "$ac_compile") 2>conftest.er1
44641 ac_status=$?
44642 grep -v '^ *+' conftest.er1 >conftest.err
44643 rm -f conftest.er1
44644 cat conftest.err >&5
44645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44646 (exit $ac_status); } && {
44647 test -z "$ac_cxx_werror_flag" ||
44648 test ! -s conftest.err
44649 } && test -s conftest.$ac_objext; then
44650 wx_cv_type_getsockname3=size_t
44651 else
44652 echo "$as_me: failed program was:" >&5
44653 sed 's/^/| /' conftest.$ac_ext >&5
44654
44655 cat >conftest.$ac_ext <<_ACEOF
44656 /* confdefs.h. */
44657 _ACEOF
44658 cat confdefs.h >>conftest.$ac_ext
44659 cat >>conftest.$ac_ext <<_ACEOF
44660 /* end confdefs.h. */
44661
44662 #include <sys/types.h>
44663 #include <sys/socket.h>
44664
44665 int
44666 main ()
44667 {
44668
44669 int len;
44670 getsockname(0, 0, &len);
44671
44672 ;
44673 return 0;
44674 }
44675 _ACEOF
44676 rm -f conftest.$ac_objext
44677 if { (ac_try="$ac_compile"
44678 case "(($ac_try" in
44679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44680 *) ac_try_echo=$ac_try;;
44681 esac
44682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44683 (eval "$ac_compile") 2>conftest.er1
44684 ac_status=$?
44685 grep -v '^ *+' conftest.er1 >conftest.err
44686 rm -f conftest.er1
44687 cat conftest.err >&5
44688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44689 (exit $ac_status); } && {
44690 test -z "$ac_cxx_werror_flag" ||
44691 test ! -s conftest.err
44692 } && test -s conftest.$ac_objext; then
44693 wx_cv_type_getsockname3=int
44694 else
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44697
44698 wx_cv_type_getsockname3=unknown
44699
44700 fi
44701
44702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44703
44704 fi
44705
44706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44707
44708 CFLAGS="$CFLAGS_OLD"
44709
44710
44711 fi
44712
44713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44714 ac_ext=c
44715 ac_cpp='$CPP $CPPFLAGS'
44716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719
44720
44721 fi
44722 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44723 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44724
44725 if test "$wx_cv_type_getsockname3" = "unknown"; then
44726 wxUSE_SOCKETS=no
44727 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44728 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44729 else
44730 cat >>confdefs.h <<_ACEOF
44731 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44732 _ACEOF
44733
44734 fi
44735 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44736 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44737 if test "${wx_cv_type_getsockopt5+set}" = set; then
44738 echo $ECHO_N "(cached) $ECHO_C" >&6
44739 else
44740
44741 ac_ext=cpp
44742 ac_cpp='$CXXCPP $CPPFLAGS'
44743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44746
44747 cat >conftest.$ac_ext <<_ACEOF
44748 /* confdefs.h. */
44749 _ACEOF
44750 cat confdefs.h >>conftest.$ac_ext
44751 cat >>conftest.$ac_ext <<_ACEOF
44752 /* end confdefs.h. */
44753
44754 #include <sys/types.h>
44755 #include <sys/socket.h>
44756
44757 int
44758 main ()
44759 {
44760
44761 socklen_t len;
44762 getsockopt(0, 0, 0, 0, &len);
44763
44764 ;
44765 return 0;
44766 }
44767 _ACEOF
44768 rm -f conftest.$ac_objext
44769 if { (ac_try="$ac_compile"
44770 case "(($ac_try" in
44771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44772 *) ac_try_echo=$ac_try;;
44773 esac
44774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44775 (eval "$ac_compile") 2>conftest.er1
44776 ac_status=$?
44777 grep -v '^ *+' conftest.er1 >conftest.err
44778 rm -f conftest.er1
44779 cat conftest.err >&5
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); } && {
44782 test -z "$ac_cxx_werror_flag" ||
44783 test ! -s conftest.err
44784 } && test -s conftest.$ac_objext; then
44785 wx_cv_type_getsockopt5=socklen_t
44786 else
44787 echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.$ac_ext >&5
44789
44790
44791 cat >conftest.$ac_ext <<_ACEOF
44792 /* confdefs.h. */
44793 _ACEOF
44794 cat confdefs.h >>conftest.$ac_ext
44795 cat >>conftest.$ac_ext <<_ACEOF
44796 /* end confdefs.h. */
44797
44798 #include <sys/types.h>
44799 #include <sys/socket.h>
44800
44801 int
44802 main ()
44803 {
44804
44805 size_t len;
44806 getsockopt(0, 0, 0, 0, &len);
44807
44808 ;
44809 return 0;
44810 }
44811 _ACEOF
44812 rm -f conftest.$ac_objext
44813 if { (ac_try="$ac_compile"
44814 case "(($ac_try" in
44815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44816 *) ac_try_echo=$ac_try;;
44817 esac
44818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44819 (eval "$ac_compile") 2>conftest.er1
44820 ac_status=$?
44821 grep -v '^ *+' conftest.er1 >conftest.err
44822 rm -f conftest.er1
44823 cat conftest.err >&5
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); } && {
44826 test -z "$ac_cxx_werror_flag" ||
44827 test ! -s conftest.err
44828 } && test -s conftest.$ac_objext; then
44829 wx_cv_type_getsockopt5=size_t
44830 else
44831 echo "$as_me: failed program was:" >&5
44832 sed 's/^/| /' conftest.$ac_ext >&5
44833
44834 cat >conftest.$ac_ext <<_ACEOF
44835 /* confdefs.h. */
44836 _ACEOF
44837 cat confdefs.h >>conftest.$ac_ext
44838 cat >>conftest.$ac_ext <<_ACEOF
44839 /* end confdefs.h. */
44840
44841 #include <sys/types.h>
44842 #include <sys/socket.h>
44843
44844 int
44845 main ()
44846 {
44847
44848 int len;
44849 getsockopt(0, 0, 0, 0, &len);
44850
44851 ;
44852 return 0;
44853 }
44854 _ACEOF
44855 rm -f conftest.$ac_objext
44856 if { (ac_try="$ac_compile"
44857 case "(($ac_try" in
44858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44859 *) ac_try_echo=$ac_try;;
44860 esac
44861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44862 (eval "$ac_compile") 2>conftest.er1
44863 ac_status=$?
44864 grep -v '^ *+' conftest.er1 >conftest.err
44865 rm -f conftest.er1
44866 cat conftest.err >&5
44867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44868 (exit $ac_status); } && {
44869 test -z "$ac_cxx_werror_flag" ||
44870 test ! -s conftest.err
44871 } && test -s conftest.$ac_objext; then
44872 wx_cv_type_getsockopt5=int
44873 else
44874 echo "$as_me: failed program was:" >&5
44875 sed 's/^/| /' conftest.$ac_ext >&5
44876
44877 wx_cv_type_getsockopt5=unknown
44878
44879 fi
44880
44881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44882
44883 fi
44884
44885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44886
44887
44888 fi
44889
44890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44891 ac_ext=c
44892 ac_cpp='$CPP $CPPFLAGS'
44893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44896
44897
44898 fi
44899 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44900 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44901
44902 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44903 wxUSE_SOCKETS=no
44904 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44905 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44906 else
44907 cat >>confdefs.h <<_ACEOF
44908 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44909 _ACEOF
44910
44911 fi
44912 fi
44913 fi
44914
44915 if test "$wxUSE_SOCKETS" = "yes" ; then
44916 if test "$wxUSE_IPV6" = "yes"; then
44917 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44918 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44919 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44920 echo $ECHO_N "(cached) $ECHO_C" >&6
44921 else
44922
44923 cat >conftest.$ac_ext <<_ACEOF
44924 /* confdefs.h. */
44925 _ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929
44930 #include <sys/types.h>
44931 #include <sys/socket.h>
44932 #include <netinet/in.h>
44933
44934 int
44935 main ()
44936 {
44937
44938 struct sockaddr_in6 sa6;
44939
44940 ;
44941 return 0;
44942 }
44943 _ACEOF
44944 rm -f conftest.$ac_objext
44945 if { (ac_try="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44949 esac
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_c_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 wx_cv_type_sockaddr_in6=yes
44962 else
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44965
44966 wx_cv_type_sockaddr_in6=no
44967
44968 fi
44969
44970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971
44972
44973 fi
44974 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44975 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44976
44977 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_IPV6 1
44980 _ACEOF
44981
44982 else
44983 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44984 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44985 fi
44986 fi
44987
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_SOCKETS 1
44990 _ACEOF
44991
44992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44993 fi
44994
44995 if test "$wxUSE_PROTOCOL" = "yes"; then
44996 if test "$wxUSE_SOCKETS" != "yes"; then
44997 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44998 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44999 wxUSE_PROTOCOL=no
45000 fi
45001 fi
45002
45003 if test "$wxUSE_PROTOCOL" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_PROTOCOL 1
45006 _ACEOF
45007
45008
45009 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_PROTOCOL_HTTP 1
45012 _ACEOF
45013
45014 fi
45015 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_PROTOCOL_FTP 1
45018 _ACEOF
45019
45020 fi
45021 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_PROTOCOL_FILE 1
45024 _ACEOF
45025
45026 fi
45027 else
45028 if test "$wxUSE_FS_INET" = "yes"; then
45029 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45030 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45031 wxUSE_FS_INET="no"
45032 fi
45033 fi
45034
45035 if test "$wxUSE_URL" = "yes"; then
45036 if test "$wxUSE_PROTOCOL" != "yes"; then
45037 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45038 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45039 wxUSE_URL=no
45040 fi
45041 if test "$wxUSE_URL" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_URL 1
45044 _ACEOF
45045
45046 fi
45047 fi
45048
45049 if test "$wxUSE_VARIANT" = "yes"; then
45050 cat >>confdefs.h <<\_ACEOF
45051 #define wxUSE_VARIANT 1
45052 _ACEOF
45053
45054 fi
45055
45056 if test "$wxUSE_FS_INET" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_FS_INET 1
45059 _ACEOF
45060
45061 fi
45062
45063
45064 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45065 wxUSE_JOYSTICK=no
45066
45067 if test "$TOOLKIT" = "MSW"; then
45068 wxUSE_JOYSTICK=yes
45069
45070 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45071 if test "$USE_DARWIN" = 1; then
45072 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45073 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45074 ac_ext=cpp
45075 ac_cpp='$CXXCPP $CPPFLAGS'
45076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45079
45080 cat >conftest.$ac_ext <<_ACEOF
45081 /* confdefs.h. */
45082 _ACEOF
45083 cat confdefs.h >>conftest.$ac_ext
45084 cat >>conftest.$ac_ext <<_ACEOF
45085 /* end confdefs.h. */
45086 #include <IOKit/hid/IOHIDLib.h>
45087 int
45088 main ()
45089 {
45090 IOHIDQueueInterface *qi = NULL;
45091 IOHIDCallbackFunction cb = NULL;
45092 qi->setEventCallout(NULL, cb, NULL, NULL);
45093 ;
45094 return 0;
45095 }
45096 _ACEOF
45097 rm -f conftest.$ac_objext
45098 if { (ac_try="$ac_compile"
45099 case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101 *) ac_try_echo=$ac_try;;
45102 esac
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_compile") 2>conftest.er1
45105 ac_status=$?
45106 grep -v '^ *+' conftest.er1 >conftest.err
45107 rm -f conftest.er1
45108 cat conftest.err >&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } && {
45111 test -z "$ac_cxx_werror_flag" ||
45112 test ! -s conftest.err
45113 } && test -s conftest.$ac_objext; then
45114 wxUSE_JOYSTICK=yes
45115
45116 else
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.$ac_ext >&5
45119
45120
45121 fi
45122
45123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45124 ac_ext=c
45125 ac_cpp='$CPP $CPPFLAGS'
45126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45129
45130 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45131 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45132 fi
45133
45134 else
45135 if test "$wxUSE_MGL" != 1; then
45136
45137 for ac_header in linux/joystick.h
45138 do
45139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45143 echo $ECHO_N "(cached) $ECHO_C" >&6
45144 else
45145 cat >conftest.$ac_ext <<_ACEOF
45146 /* confdefs.h. */
45147 _ACEOF
45148 cat confdefs.h >>conftest.$ac_ext
45149 cat >>conftest.$ac_ext <<_ACEOF
45150 /* end confdefs.h. */
45151 $ac_includes_default
45152
45153 #include <$ac_header>
45154 _ACEOF
45155 rm -f conftest.$ac_objext
45156 if { (ac_try="$ac_compile"
45157 case "(($ac_try" in
45158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45159 *) ac_try_echo=$ac_try;;
45160 esac
45161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45162 (eval "$ac_compile") 2>conftest.er1
45163 ac_status=$?
45164 grep -v '^ *+' conftest.er1 >conftest.err
45165 rm -f conftest.er1
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } && {
45169 test -z "$ac_c_werror_flag" ||
45170 test ! -s conftest.err
45171 } && test -s conftest.$ac_objext; then
45172 eval "$as_ac_Header=yes"
45173 else
45174 echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45176
45177 eval "$as_ac_Header=no"
45178 fi
45179
45180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45181 fi
45182 ac_res=`eval echo '${'$as_ac_Header'}'`
45183 { echo "$as_me:$LINENO: result: $ac_res" >&5
45184 echo "${ECHO_T}$ac_res" >&6; }
45185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45186 cat >>confdefs.h <<_ACEOF
45187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45188 _ACEOF
45189 wxUSE_JOYSTICK=yes
45190 fi
45191
45192 done
45193
45194 fi
45195 fi
45196
45197 if test "$wxUSE_JOYSTICK" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_JOYSTICK 1
45200 _ACEOF
45201
45202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45203 else
45204 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45205 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45206 fi
45207 fi
45208
45209
45210
45211 if test "$wxUSE_FONTENUM" = "yes" ; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_FONTENUM 1
45214 _ACEOF
45215
45216 fi
45217
45218 if test "$wxUSE_FONTMAP" = "yes" ; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_FONTMAP 1
45221 _ACEOF
45222
45223 fi
45224
45225 if test "$wxUSE_UNICODE" = "yes" ; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_UNICODE 1
45228 _ACEOF
45229
45230
45231 if test "$USE_WIN32" != 1; then
45232 wxUSE_UNICODE_MSLU=no
45233 fi
45234
45235 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45236 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45237 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45238 if test "${ac_cv_lib_unicows_main+set}" = set; then
45239 echo $ECHO_N "(cached) $ECHO_C" >&6
45240 else
45241 ac_check_lib_save_LIBS=$LIBS
45242 LIBS="-lunicows $LIBS"
45243 cat >conftest.$ac_ext <<_ACEOF
45244 /* confdefs.h. */
45245 _ACEOF
45246 cat confdefs.h >>conftest.$ac_ext
45247 cat >>conftest.$ac_ext <<_ACEOF
45248 /* end confdefs.h. */
45249
45250
45251 int
45252 main ()
45253 {
45254 return main ();
45255 ;
45256 return 0;
45257 }
45258 _ACEOF
45259 rm -f conftest.$ac_objext conftest$ac_exeext
45260 if { (ac_try="$ac_link"
45261 case "(($ac_try" in
45262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45263 *) ac_try_echo=$ac_try;;
45264 esac
45265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45266 (eval "$ac_link") 2>conftest.er1
45267 ac_status=$?
45268 grep -v '^ *+' conftest.er1 >conftest.err
45269 rm -f conftest.er1
45270 cat conftest.err >&5
45271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272 (exit $ac_status); } && {
45273 test -z "$ac_c_werror_flag" ||
45274 test ! -s conftest.err
45275 } && test -s conftest$ac_exeext &&
45276 $as_test_x conftest$ac_exeext; then
45277 ac_cv_lib_unicows_main=yes
45278 else
45279 echo "$as_me: failed program was:" >&5
45280 sed 's/^/| /' conftest.$ac_ext >&5
45281
45282 ac_cv_lib_unicows_main=no
45283 fi
45284
45285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45286 conftest$ac_exeext conftest.$ac_ext
45287 LIBS=$ac_check_lib_save_LIBS
45288 fi
45289 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45290 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45291 if test $ac_cv_lib_unicows_main = yes; then
45292
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_UNICODE_MSLU 1
45295 _ACEOF
45296
45297
45298 else
45299
45300 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45301 Applications will only run on Windows NT/2000/XP!" >&5
45302 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45303 Applications will only run on Windows NT/2000/XP!" >&2;}
45304 wxUSE_UNICODE_MSLU=no
45305
45306 fi
45307
45308 fi
45309 fi
45310
45311 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45312 cat >>confdefs.h <<\_ACEOF
45313 #define wxUSE_UNICODE_UTF8 1
45314 _ACEOF
45315
45316
45317 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_UTF8_LOCALE_ONLY 1
45320 _ACEOF
45321
45322 fi
45323 fi
45324
45325
45326 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_CONSTRAINTS 1
45329 _ACEOF
45330
45331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45332 fi
45333
45334 if test "$wxUSE_MDI" = "yes"; then
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_MDI 1
45337 _ACEOF
45338
45339
45340 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_MDI_ARCHITECTURE 1
45343 _ACEOF
45344
45345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45346 fi
45347 fi
45348
45349 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45352 _ACEOF
45353
45354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45355 fi
45356
45357 if test "$wxUSE_HELP" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_HELP 1
45360 _ACEOF
45361
45362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45363
45364 if test "$wxUSE_MSW" = 1; then
45365 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_MS_HTML_HELP 1
45368 _ACEOF
45369
45370 fi
45371 fi
45372
45373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45374 if test "$wxUSE_HTML" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_WXHTML_HELP 1
45377 _ACEOF
45378
45379 else
45380 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45381 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45382 wxUSE_WXHTML_HELP=no
45383 fi
45384 fi
45385 fi
45386
45387 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_PRINTING_ARCHITECTURE 1
45390 _ACEOF
45391
45392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45393 fi
45394
45395 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_POSTSCRIPT 1
45398 _ACEOF
45399
45400 fi
45401
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45404 _ACEOF
45405
45406
45407 if test "$wxUSE_SVG" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_SVG 1
45410 _ACEOF
45411
45412 fi
45413
45414
45415 if test "$wxUSE_METAFILE" = "yes"; then
45416 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45417 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45418 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45419 wxUSE_METAFILE=no
45420 fi
45421 fi
45422
45423
45424 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45425 -o "$wxUSE_CLIPBOARD" = "yes" \
45426 -o "$wxUSE_OLE" = "yes" \
45427 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45428 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45429 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45430 if test "${ac_cv_header_ole2_h+set}" = set; then
45431 echo $ECHO_N "(cached) $ECHO_C" >&6
45432 else
45433 cat >conftest.$ac_ext <<_ACEOF
45434 /* confdefs.h. */
45435 _ACEOF
45436 cat confdefs.h >>conftest.$ac_ext
45437 cat >>conftest.$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45439
45440
45441 #include <ole2.h>
45442 _ACEOF
45443 rm -f conftest.$ac_objext
45444 if { (ac_try="$ac_compile"
45445 case "(($ac_try" in
45446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45447 *) ac_try_echo=$ac_try;;
45448 esac
45449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45450 (eval "$ac_compile") 2>conftest.er1
45451 ac_status=$?
45452 grep -v '^ *+' conftest.er1 >conftest.err
45453 rm -f conftest.er1
45454 cat conftest.err >&5
45455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45456 (exit $ac_status); } && {
45457 test -z "$ac_c_werror_flag" ||
45458 test ! -s conftest.err
45459 } && test -s conftest.$ac_objext; then
45460 ac_cv_header_ole2_h=yes
45461 else
45462 echo "$as_me: failed program was:" >&5
45463 sed 's/^/| /' conftest.$ac_ext >&5
45464
45465 ac_cv_header_ole2_h=no
45466 fi
45467
45468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45469 fi
45470 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45471 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45472
45473
45474
45475 if test "$ac_cv_header_ole2_h" = "yes" ; then
45476 if test "$GCC" = yes ; then
45477 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45478 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45479 cat >conftest.$ac_ext <<_ACEOF
45480 /* confdefs.h. */
45481 _ACEOF
45482 cat confdefs.h >>conftest.$ac_ext
45483 cat >>conftest.$ac_ext <<_ACEOF
45484 /* end confdefs.h. */
45485 #include <windows.h>
45486 #include <ole2.h>
45487 int
45488 main ()
45489 {
45490
45491 ;
45492 return 0;
45493 }
45494 _ACEOF
45495 rm -f conftest.$ac_objext
45496 if { (ac_try="$ac_compile"
45497 case "(($ac_try" in
45498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45499 *) ac_try_echo=$ac_try;;
45500 esac
45501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45502 (eval "$ac_compile") 2>conftest.er1
45503 ac_status=$?
45504 grep -v '^ *+' conftest.er1 >conftest.err
45505 rm -f conftest.er1
45506 cat conftest.err >&5
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); } && {
45509 test -z "$ac_c_werror_flag" ||
45510 test ! -s conftest.err
45511 } && test -s conftest.$ac_objext; then
45512 { echo "$as_me:$LINENO: result: no" >&5
45513 echo "${ECHO_T}no" >&6; }
45514 else
45515 echo "$as_me: failed program was:" >&5
45516 sed 's/^/| /' conftest.$ac_ext >&5
45517
45518 { echo "$as_me:$LINENO: result: yes" >&5
45519 echo "${ECHO_T}yes" >&6; }
45520 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45521 fi
45522
45523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45524 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45525 if test "$wxUSE_OLE" = "yes" ; then
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_OLE 1
45528 _ACEOF
45529
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_OLE_AUTOMATION 1
45532 _ACEOF
45533
45534 cat >>confdefs.h <<\_ACEOF
45535 #define wxUSE_ACTIVEX 1
45536 _ACEOF
45537
45538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45539 fi
45540 fi
45541
45542 if test "$wxUSE_DATAOBJ" = "yes" ; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_DATAOBJ 1
45545 _ACEOF
45546
45547 fi
45548 else
45549 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45550 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45551
45552 wxUSE_CLIPBOARD=no
45553 wxUSE_DRAG_AND_DROP=no
45554 wxUSE_DATAOBJ=no
45555 wxUSE_OLE=no
45556 fi
45557
45558 if test "$wxUSE_METAFILE" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_METAFILE 1
45561 _ACEOF
45562
45563
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_ENH_METAFILE 1
45566 _ACEOF
45567
45568 fi
45569 fi
45570
45571 if test "$wxUSE_IPC" = "yes"; then
45572 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45573 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45574 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45575 wxUSE_IPC=no
45576 fi
45577
45578 if test "$wxUSE_IPC" = "yes"; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_IPC 1
45581 _ACEOF
45582
45583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45584 fi
45585 fi
45586
45587 if test "$wxUSE_DATAOBJ" = "yes"; then
45588 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45589 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45590 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45591 wxUSE_DATAOBJ=no
45592 else
45593 cat >>confdefs.h <<\_ACEOF
45594 #define wxUSE_DATAOBJ 1
45595 _ACEOF
45596
45597 fi
45598 else
45599 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45600 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45601 wxUSE_CLIPBOARD=no
45602 wxUSE_DRAG_AND_DROP=no
45603 fi
45604
45605 if test "$wxUSE_CLIPBOARD" = "yes"; then
45606 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45607 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45608 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45609 wxUSE_CLIPBOARD=no
45610 fi
45611
45612 if test "$wxUSE_CLIPBOARD" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_CLIPBOARD 1
45615 _ACEOF
45616
45617 fi
45618 fi
45619
45620 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45621 if test "$wxUSE_GTK" = 1; then
45622 if test "$WXGTK12" != 1; then
45623 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45624 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45625 wxUSE_DRAG_AND_DROP=no
45626 fi
45627 fi
45628
45629 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45630 "$wxUSE_DFB" = 1; then
45631 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45632 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45633 wxUSE_DRAG_AND_DROP=no
45634 fi
45635
45636 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_DRAG_AND_DROP 1
45639 _ACEOF
45640
45641 fi
45642
45643 fi
45644
45645 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45647 fi
45648
45649 if test "$wxUSE_CLIPBOARD" = "yes"; then
45650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45651 fi
45652
45653 if test "$wxUSE_SPLINES" = "yes" ; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_SPLINES 1
45656 _ACEOF
45657
45658 fi
45659
45660 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_MOUSEWHEEL 1
45663 _ACEOF
45664
45665 fi
45666
45667
45668 USES_CONTROLS=0
45669 if test "$wxUSE_CONTROLS" = "yes"; then
45670 USES_CONTROLS=1
45671 fi
45672
45673 if test "$wxUSE_ACCEL" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_ACCEL 1
45676 _ACEOF
45677
45678 USES_CONTROLS=1
45679 fi
45680
45681 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_ANIMATIONCTRL 1
45684 _ACEOF
45685
45686 USES_CONTROLS=1
45687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45688 fi
45689
45690 if test "$wxUSE_BUTTON" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_BUTTON 1
45693 _ACEOF
45694
45695 USES_CONTROLS=1
45696 fi
45697
45698 if test "$wxUSE_BMPBUTTON" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_BMPBUTTON 1
45701 _ACEOF
45702
45703 USES_CONTROLS=1
45704 fi
45705
45706 if test "$wxUSE_CALCTRL" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_CALENDARCTRL 1
45709 _ACEOF
45710
45711 USES_CONTROLS=1
45712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45713 fi
45714
45715 if test "$wxUSE_CARET" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_CARET 1
45718 _ACEOF
45719
45720 USES_CONTROLS=1
45721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45722 fi
45723
45724 if test "$wxUSE_COLLPANE" = "yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_COLLPANE 1
45727 _ACEOF
45728
45729 USES_CONTROLS=1
45730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45731 fi
45732
45733 if test "$wxUSE_COMBOBOX" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_COMBOBOX 1
45736 _ACEOF
45737
45738 USES_CONTROLS=1
45739 fi
45740
45741 if test "$wxUSE_COMBOCTRL" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_COMBOCTRL 1
45744 _ACEOF
45745
45746 USES_CONTROLS=1
45747 fi
45748
45749 if test "$wxUSE_CHOICE" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_CHOICE 1
45752 _ACEOF
45753
45754 USES_CONTROLS=1
45755 fi
45756
45757 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_CHOICEBOOK 1
45760 _ACEOF
45761
45762 USES_CONTROLS=1
45763 fi
45764
45765 if test "$wxUSE_CHECKBOX" = "yes"; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_CHECKBOX 1
45768 _ACEOF
45769
45770 USES_CONTROLS=1
45771 fi
45772
45773 if test "$wxUSE_CHECKLST" = "yes"; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_CHECKLISTBOX 1
45776 _ACEOF
45777
45778 USES_CONTROLS=1
45779 fi
45780
45781 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_COLOURPICKERCTRL 1
45784 _ACEOF
45785
45786 USES_CONTROLS=1
45787 fi
45788
45789 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_DATEPICKCTRL 1
45792 _ACEOF
45793
45794 USES_CONTROLS=1
45795 fi
45796
45797 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_DIRPICKERCTRL 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803 fi
45804
45805 if test "$wxUSE_FILECTRL" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_FILECTRL 1
45808 _ACEOF
45809
45810 USES_CONTROLS=1
45811 fi
45812
45813 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_FILEPICKERCTRL 1
45816 _ACEOF
45817
45818 USES_CONTROLS=1
45819 fi
45820
45821 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_FONTPICKERCTRL 1
45824 _ACEOF
45825
45826 USES_CONTROLS=1
45827 fi
45828
45829 if test "$wxUSE_DISPLAY" = "yes"; then
45830 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45831 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45832 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45833 wxUSE_DISPLAY=no
45834 else
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_DISPLAY 1
45837 _ACEOF
45838
45839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45840 fi
45841 fi
45842
45843 if test "$wxUSE_DETECT_SM" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_DETECT_SM 1
45846 _ACEOF
45847
45848 fi
45849
45850 if test "$wxUSE_GAUGE" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_GAUGE 1
45853 _ACEOF
45854
45855 USES_CONTROLS=1
45856 fi
45857
45858 if test "$wxUSE_GRID" = "yes"; then
45859 cat >>confdefs.h <<\_ACEOF
45860 #define wxUSE_GRID 1
45861 _ACEOF
45862
45863 USES_CONTROLS=1
45864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45865 fi
45866
45867 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_HYPERLINKCTRL 1
45870 _ACEOF
45871
45872 USES_CONTROLS=1
45873 fi
45874
45875 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_BITMAPCOMBOBOX 1
45878 _ACEOF
45879
45880 USES_CONTROLS=1
45881 fi
45882
45883 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_DATAVIEWCTRL 1
45886 _ACEOF
45887
45888 USES_CONTROLS=1
45889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45890 fi
45891
45892 if test "$wxUSE_IMAGLIST" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_IMAGLIST 1
45895 _ACEOF
45896
45897 fi
45898
45899 if test "$wxUSE_LISTBOOK" = "yes"; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_LISTBOOK 1
45902 _ACEOF
45903
45904 USES_CONTROLS=1
45905 fi
45906
45907 if test "$wxUSE_LISTBOX" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_LISTBOX 1
45910 _ACEOF
45911
45912 USES_CONTROLS=1
45913 fi
45914
45915 if test "$wxUSE_LISTCTRL" = "yes"; then
45916 if test "$wxUSE_IMAGLIST" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_LISTCTRL 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45923 else
45924 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45925 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45926 fi
45927 fi
45928
45929 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_EDITABLELISTBOX 1
45932 _ACEOF
45933
45934 USES_CONTROLS=1
45935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45936 fi
45937
45938 if test "$wxUSE_NOTEBOOK" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_NOTEBOOK 1
45941 _ACEOF
45942
45943 USES_CONTROLS=1
45944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45945 fi
45946
45947 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45948 cat >>confdefs.h <<\_ACEOF
45949 #define wxUSE_NOTIFICATION_MESSAGE 1
45950 _ACEOF
45951
45952 fi
45953
45954 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_ODCOMBOBOX 1
45957 _ACEOF
45958
45959 USES_CONTROLS=1
45960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45961 fi
45962
45963 if test "$wxUSE_RADIOBOX" = "yes"; then
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_RADIOBOX 1
45966 _ACEOF
45967
45968 USES_CONTROLS=1
45969 fi
45970
45971 if test "$wxUSE_RADIOBTN" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_RADIOBTN 1
45974 _ACEOF
45975
45976 USES_CONTROLS=1
45977 fi
45978
45979 if test "$wxUSE_SASH" = "yes"; then
45980 cat >>confdefs.h <<\_ACEOF
45981 #define wxUSE_SASH 1
45982 _ACEOF
45983
45984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45985 fi
45986
45987 if test "$wxUSE_SCROLLBAR" = "yes"; then
45988 cat >>confdefs.h <<\_ACEOF
45989 #define wxUSE_SCROLLBAR 1
45990 _ACEOF
45991
45992 USES_CONTROLS=1
45993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45994 fi
45995
45996 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_SEARCHCTRL 1
45999 _ACEOF
46000
46001 USES_CONTROLS=1
46002 fi
46003
46004 if test "$wxUSE_SLIDER" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define wxUSE_SLIDER 1
46007 _ACEOF
46008
46009 USES_CONTROLS=1
46010 fi
46011
46012 if test "$wxUSE_SPINBTN" = "yes"; then
46013 cat >>confdefs.h <<\_ACEOF
46014 #define wxUSE_SPINBTN 1
46015 _ACEOF
46016
46017 USES_CONTROLS=1
46018 fi
46019
46020 if test "$wxUSE_SPINCTRL" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_SPINCTRL 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026 fi
46027
46028 if test "$wxUSE_SPLITTER" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_SPLITTER 1
46031 _ACEOF
46032
46033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46034 fi
46035
46036 if test "$wxUSE_STATBMP" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_STATBMP 1
46039 _ACEOF
46040
46041 USES_CONTROLS=1
46042 fi
46043
46044 if test "$wxUSE_STATBOX" = "yes"; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_STATBOX 1
46047 _ACEOF
46048
46049 USES_CONTROLS=1
46050 fi
46051
46052 if test "$wxUSE_STATTEXT" = "yes"; then
46053 cat >>confdefs.h <<\_ACEOF
46054 #define wxUSE_STATTEXT 1
46055 _ACEOF
46056
46057 USES_CONTROLS=1
46058 fi
46059
46060 if test "$wxUSE_STATLINE" = "yes"; then
46061 cat >>confdefs.h <<\_ACEOF
46062 #define wxUSE_STATLINE 1
46063 _ACEOF
46064
46065 USES_CONTROLS=1
46066 fi
46067
46068 if test "$wxUSE_STATUSBAR" = "yes"; then
46069 cat >>confdefs.h <<\_ACEOF
46070 #define wxUSE_NATIVE_STATUSBAR 1
46071 _ACEOF
46072
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_STATUSBAR 1
46075 _ACEOF
46076
46077 USES_CONTROLS=1
46078
46079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46080 fi
46081
46082 if test "$wxUSE_TEXTCTRL" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_TEXTCTRL 1
46085 _ACEOF
46086
46087 USES_CONTROLS=1
46088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46089
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_RICHEDIT 1
46092 _ACEOF
46093
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_RICHEDIT2 1
46096 _ACEOF
46097
46098 fi
46099
46100 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46101 if test "$wxUSE_COCOA" = 1 ; then
46102 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46103 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46104 wxUSE_TOGGLEBTN=no
46105 fi
46106
46107 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46108 cat >>confdefs.h <<\_ACEOF
46109 #define wxUSE_TOGGLEBTN 1
46110 _ACEOF
46111
46112 USES_CONTROLS=1
46113 fi
46114 fi
46115
46116 if test "$wxUSE_TOOLBAR" = "yes"; then
46117 cat >>confdefs.h <<\_ACEOF
46118 #define wxUSE_TOOLBAR 1
46119 _ACEOF
46120
46121 USES_CONTROLS=1
46122
46123 if test "$wxUSE_UNIVERSAL" = "yes"; then
46124 wxUSE_TOOLBAR_NATIVE="no"
46125 else
46126 wxUSE_TOOLBAR_NATIVE="yes"
46127 cat >>confdefs.h <<\_ACEOF
46128 #define wxUSE_TOOLBAR_NATIVE 1
46129 _ACEOF
46130
46131 fi
46132
46133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46134 fi
46135
46136 if test "$wxUSE_TOOLTIPS" = "yes"; then
46137 if test "$wxUSE_MOTIF" = 1; then
46138 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46139 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46140 else
46141 if test "$wxUSE_UNIVERSAL" = "yes"; then
46142 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46143 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46144 else
46145 cat >>confdefs.h <<\_ACEOF
46146 #define wxUSE_TOOLTIPS 1
46147 _ACEOF
46148
46149 fi
46150 fi
46151 fi
46152
46153 if test "$wxUSE_TREEBOOK" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_TREEBOOK 1
46156 _ACEOF
46157
46158 USES_CONTROLS=1
46159 fi
46160
46161 if test "$wxUSE_TOOLBOOK" = "yes"; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_TOOLBOOK 1
46164 _ACEOF
46165
46166 USES_CONTROLS=1
46167 fi
46168
46169 if test "$wxUSE_TREECTRL" = "yes"; then
46170 if test "$wxUSE_IMAGLIST" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_TREECTRL 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46177 else
46178 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46179 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46180 fi
46181 fi
46182
46183 if test "$wxUSE_POPUPWIN" = "yes"; then
46184 if test "$wxUSE_COCOA" = 1 ; then
46185 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46186 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46187 else
46188 if test "$wxUSE_PM" = 1; then
46189 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46190 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46191 else
46192 cat >>confdefs.h <<\_ACEOF
46193 #define wxUSE_POPUPWIN 1
46194 _ACEOF
46195
46196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46197
46198 USES_CONTROLS=1
46199 fi
46200 fi
46201 fi
46202
46203 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46204 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46205 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46206 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46207 else
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_DIALUP_MANAGER 1
46210 _ACEOF
46211
46212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46213 fi
46214 fi
46215
46216 if test "$wxUSE_TIPWINDOW" = "yes"; then
46217 if test "$wxUSE_PM" = 1; then
46218 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46219 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46220 else
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_TIPWINDOW 1
46223 _ACEOF
46224
46225 fi
46226 fi
46227
46228 if test "$USES_CONTROLS" = 1; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_CONTROLS 1
46231 _ACEOF
46232
46233 fi
46234
46235
46236 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_ACCESSIBILITY 1
46239 _ACEOF
46240
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46242 fi
46243
46244 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_DRAGIMAGE 1
46247 _ACEOF
46248
46249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46250 fi
46251
46252 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46253 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46254 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46255 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46256 else
46257 cat >>confdefs.h <<\_ACEOF
46258 #define wxUSE_EXCEPTIONS 1
46259 _ACEOF
46260
46261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46262 fi
46263 fi
46264
46265 USE_HTML=0
46266 if test "$wxUSE_HTML" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_HTML 1
46269 _ACEOF
46270
46271 USE_HTML=1
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46273 fi
46274 if test "$wxUSE_WEBKIT" = "yes"; then
46275 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46276 old_CPPFLAGS="$CPPFLAGS"
46277 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46278 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46279 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46280 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46281 echo $ECHO_N "(cached) $ECHO_C" >&6
46282 else
46283 cat >conftest.$ac_ext <<_ACEOF
46284 /* confdefs.h. */
46285 _ACEOF
46286 cat confdefs.h >>conftest.$ac_ext
46287 cat >>conftest.$ac_ext <<_ACEOF
46288 /* end confdefs.h. */
46289
46290 #include <Carbon/Carbon.h>
46291 #include <WebKit/WebKit.h>
46292
46293
46294 #include <WebKit/HIWebView.h>
46295 _ACEOF
46296 rm -f conftest.$ac_objext
46297 if { (ac_try="$ac_compile"
46298 case "(($ac_try" in
46299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46300 *) ac_try_echo=$ac_try;;
46301 esac
46302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46303 (eval "$ac_compile") 2>conftest.er1
46304 ac_status=$?
46305 grep -v '^ *+' conftest.er1 >conftest.err
46306 rm -f conftest.er1
46307 cat conftest.err >&5
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); } && {
46310 test -z "$ac_c_werror_flag" ||
46311 test ! -s conftest.err
46312 } && test -s conftest.$ac_objext; then
46313 ac_cv_header_WebKit_HIWebView_h=yes
46314 else
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46317
46318 ac_cv_header_WebKit_HIWebView_h=no
46319 fi
46320
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46322 fi
46323 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46324 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46325 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46326
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_WEBKIT 1
46329 _ACEOF
46330
46331 WEBKIT_LINK="-framework WebKit"
46332
46333 else
46334
46335 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46336 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46337 wxUSE_WEBKIT=no
46338
46339 fi
46340
46341
46342 CPPFLAGS="$old_CPPFLAGS"
46343 elif test "$wxUSE_COCOA" = 1; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_WEBKIT 1
46346 _ACEOF
46347
46348 else
46349 wxUSE_WEBKIT=no
46350 fi
46351 if test "$wxUSE_WEBKIT" = "yes"; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46353 fi
46354 fi
46355
46356 USE_XRC=0
46357 if test "$wxUSE_XRC" = "yes"; then
46358 if test "$wxUSE_XML" != "yes"; then
46359 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46360 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46361 wxUSE_XRC=no
46362 else
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_XRC 1
46365 _ACEOF
46366
46367 USE_XRC=1
46368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46369 fi
46370 fi
46371
46372 USE_AUI=0
46373 if test "$wxUSE_AUI" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_AUI 1
46376 _ACEOF
46377
46378 USE_AUI=1
46379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46380 fi
46381
46382 USE_PROPGRID=0
46383 if test "$wxUSE_PROPGRID" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_PROPGRID 1
46386 _ACEOF
46387
46388 USE_PROPGRID=1
46389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46390 fi
46391
46392 USE_STC=0
46393 if test "$wxUSE_STC" = "yes"; then
46394 cat >>confdefs.h <<\_ACEOF
46395 #define wxUSE_STC 1
46396 _ACEOF
46397
46398 USE_STC=1
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46400 fi
46401
46402 if test "$wxUSE_MENUS" = "yes"; then
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_MENUS 1
46405 _ACEOF
46406
46407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46408 fi
46409
46410 if test "$wxUSE_METAFILE" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_METAFILE 1
46413 _ACEOF
46414
46415 fi
46416
46417 if test "$wxUSE_MIMETYPE" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_MIMETYPE 1
46420 _ACEOF
46421
46422 fi
46423
46424 if test "$wxUSE_MINIFRAME" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_MINIFRAME 1
46427 _ACEOF
46428
46429 fi
46430
46431 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_SYSTEM_OPTIONS 1
46434 _ACEOF
46435
46436 fi
46437
46438 if test "$wxUSE_TASKBARICON" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_TASKBARICON 1
46441 _ACEOF
46442
46443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46444 fi
46445
46446
46447 if test "$wxUSE_VALIDATORS" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_VALIDATORS 1
46450 _ACEOF
46451
46452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46453 fi
46454
46455 if test "$wxUSE_PALETTE" = "yes" ; then
46456 if test "$wxUSE_DFB" = 1; then
46457 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46458 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46459 wxUSE_PALETTE=no
46460 else
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_PALETTE 1
46463 _ACEOF
46464
46465 fi
46466 fi
46467
46468 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46469 LIBS=" -lunicows $LIBS"
46470 fi
46471
46472 USE_RICHTEXT=0
46473 if test "$wxUSE_RICHTEXT" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_RICHTEXT 1
46476 _ACEOF
46477
46478 USE_RICHTEXT=1
46479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46480 fi
46481
46482
46483 if test "$wxUSE_IMAGE" = "yes" ; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_IMAGE 1
46486 _ACEOF
46487
46488
46489 if test "$wxUSE_GIF" = "yes" ; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_GIF 1
46492 _ACEOF
46493
46494 fi
46495
46496 if test "$wxUSE_PCX" = "yes" ; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_PCX 1
46499 _ACEOF
46500
46501 fi
46502
46503 if test "$wxUSE_TGA" = "yes" ; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_TGA 1
46506 _ACEOF
46507
46508 fi
46509
46510 if test "$wxUSE_IFF" = "yes" ; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_IFF 1
46513 _ACEOF
46514
46515 fi
46516
46517 if test "$wxUSE_PNM" = "yes" ; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_PNM 1
46520 _ACEOF
46521
46522 fi
46523
46524 if test "$wxUSE_XPM" = "yes" ; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_XPM 1
46527 _ACEOF
46528
46529 fi
46530
46531 if test "$wxUSE_ICO_CUR" = "yes" ; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_ICO_CUR 1
46534 _ACEOF
46535
46536 fi
46537 fi
46538
46539
46540 if test "$wxUSE_ABOUTDLG" = "yes"; then
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_ABOUTDLG 1
46543 _ACEOF
46544
46545 fi
46546
46547 if test "$wxUSE_CHOICEDLG" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_CHOICEDLG 1
46550 _ACEOF
46551
46552 fi
46553
46554 if test "$wxUSE_COLOURDLG" = "yes"; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_COLOURDLG 1
46557 _ACEOF
46558
46559 fi
46560
46561 if test "$wxUSE_FILEDLG" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_FILEDLG 1
46564 _ACEOF
46565
46566 fi
46567
46568 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_FINDREPLDLG 1
46571 _ACEOF
46572
46573 fi
46574
46575 if test "$wxUSE_FONTDLG" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_FONTDLG 1
46578 _ACEOF
46579
46580 fi
46581
46582 if test "$wxUSE_DIRDLG" = "yes"; then
46583 if test "$wxUSE_TREECTRL" != "yes"; then
46584 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46585 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46586 else
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_DIRDLG 1
46589 _ACEOF
46590
46591 fi
46592 fi
46593
46594 if test "$wxUSE_MSGDLG" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_MSGDLG 1
46597 _ACEOF
46598
46599 fi
46600
46601 if test "$wxUSE_NUMBERDLG" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_NUMBERDLG 1
46604 _ACEOF
46605
46606 fi
46607
46608 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_PROGRESSDLG 1
46611 _ACEOF
46612
46613 fi
46614
46615 if test "$wxUSE_SPLASH" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_SPLASH 1
46618 _ACEOF
46619
46620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46621 fi
46622
46623 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_STARTUP_TIPS 1
46626 _ACEOF
46627
46628 fi
46629
46630 if test "$wxUSE_TEXTDLG" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_TEXTDLG 1
46633 _ACEOF
46634
46635 fi
46636
46637 if test "$wxUSE_WIZARDDLG" = "yes"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_WIZARDDLG 1
46640 _ACEOF
46641
46642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46643 fi
46644
46645
46646 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46647 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_OWNER_DRAWN 1
46650 _ACEOF
46651
46652 fi
46653 fi
46654
46655
46656 if test "$wxUSE_MSW" = 1 ; then
46657
46658 if test "$wxUSE_DC_CACHEING" = "yes"; then
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_DC_CACHEING 1
46661 _ACEOF
46662
46663 fi
46664
46665 if test "$wxUSE_DIB" = "yes"; then
46666 cat >>confdefs.h <<\_ACEOF
46667 #define wxUSE_WXDIB 1
46668 _ACEOF
46669
46670 fi
46671
46672 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46673 cat >>confdefs.h <<\_ACEOF
46674 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46675 _ACEOF
46676
46677 fi
46678
46679 if test "$wxUSE_UXTHEME" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_UXTHEME 1
46682 _ACEOF
46683
46684 fi
46685
46686 fi
46687
46688 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46689 cat >>confdefs.h <<\_ACEOF
46690 #define wxUSE_AUTOID_MANAGEMENT 1
46691 _ACEOF
46692
46693 fi
46694
46695 if test "$USE_WIN32" = 1 ; then
46696 if test "$wxUSE_INICONF" = "yes"; then
46697 cat >>confdefs.h <<\_ACEOF
46698 #define wxUSE_INICONF 1
46699 _ACEOF
46700
46701 fi
46702
46703 if test "$wxUSE_REGKEY" = "yes"; then
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_REGKEY 1
46706 _ACEOF
46707
46708 fi
46709 fi
46710
46711
46712 if test "$wxUSE_MAC" = 1; then
46713 wxUSE_GRAPHICS_CONTEXT="yes"
46714 fi
46715
46716 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46717 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46718 cat >>confdefs.h <<\_ACEOF
46719 #define wxUSE_GRAPHICS_CONTEXT 1
46720 _ACEOF
46721
46722 elif test "$wxUSE_GTK" != 1; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_GRAPHICS_CONTEXT 1
46725 _ACEOF
46726
46727 else
46728
46729 pkg_failed=no
46730 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46731 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46732
46733 if test -n "$PKG_CONFIG"; then
46734 if test -n "$CAIRO_CFLAGS"; then
46735 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46736 else
46737 if test -n "$PKG_CONFIG" && \
46738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46739 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46740 ac_status=$?
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); }; then
46743 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46744 else
46745 pkg_failed=yes
46746 fi
46747 fi
46748 else
46749 pkg_failed=untried
46750 fi
46751 if test -n "$PKG_CONFIG"; then
46752 if test -n "$CAIRO_LIBS"; then
46753 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46754 else
46755 if test -n "$PKG_CONFIG" && \
46756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46757 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46758 ac_status=$?
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); }; then
46761 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46762 else
46763 pkg_failed=yes
46764 fi
46765 fi
46766 else
46767 pkg_failed=untried
46768 fi
46769
46770
46771
46772 if test $pkg_failed = yes; then
46773
46774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46775 _pkg_short_errors_supported=yes
46776 else
46777 _pkg_short_errors_supported=no
46778 fi
46779 if test $_pkg_short_errors_supported = yes; then
46780 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46781 else
46782 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46783 fi
46784 # Put the nasty error message in config.log where it belongs
46785 echo "$CAIRO_PKG_ERRORS" >&5
46786
46787 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46788 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46789
46790 elif test $pkg_failed = untried; then
46791 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46792 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46793
46794 else
46795 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46796 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46797 { echo "$as_me:$LINENO: result: yes" >&5
46798 echo "${ECHO_T}yes" >&6; }
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_GRAPHICS_CONTEXT 1
46801 _ACEOF
46802
46803 fi
46804 fi
46805 fi
46806
46807
46808 USE_MEDIA=0
46809
46810 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46811 USE_MEDIA=1
46812
46813 if test "$wxUSE_GTK" = 1; then
46814 wxUSE_GSTREAMER="no"
46815
46816 GST_VERSION_MAJOR=0
46817 GST_VERSION_MINOR=10
46818 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46819
46820 if test "$wxUSE_GSTREAMER8" = "no"; then
46821
46822 pkg_failed=no
46823 { echo "$as_me:$LINENO: checking for GST" >&5
46824 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46825
46826 if test -n "$PKG_CONFIG"; then
46827 if test -n "$GST_CFLAGS"; then
46828 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46829 else
46830 if test -n "$PKG_CONFIG" && \
46831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46832 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46833 ac_status=$?
46834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835 (exit $ac_status); }; then
46836 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46837 else
46838 pkg_failed=yes
46839 fi
46840 fi
46841 else
46842 pkg_failed=untried
46843 fi
46844 if test -n "$PKG_CONFIG"; then
46845 if test -n "$GST_LIBS"; then
46846 pkg_cv_GST_LIBS="$GST_LIBS"
46847 else
46848 if test -n "$PKG_CONFIG" && \
46849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46850 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46851 ac_status=$?
46852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46853 (exit $ac_status); }; then
46854 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46855 else
46856 pkg_failed=yes
46857 fi
46858 fi
46859 else
46860 pkg_failed=untried
46861 fi
46862
46863
46864
46865 if test $pkg_failed = yes; then
46866
46867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46868 _pkg_short_errors_supported=yes
46869 else
46870 _pkg_short_errors_supported=no
46871 fi
46872 if test $_pkg_short_errors_supported = yes; then
46873 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46874 else
46875 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46876 fi
46877 # Put the nasty error message in config.log where it belongs
46878 echo "$GST_PKG_ERRORS" >&5
46879
46880
46881 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46882 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46883 GST_VERSION_MINOR=8
46884
46885
46886 elif test $pkg_failed = untried; then
46887
46888 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46889 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46890 GST_VERSION_MINOR=8
46891
46892
46893 else
46894 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46895 GST_LIBS=$pkg_cv_GST_LIBS
46896 { echo "$as_me:$LINENO: result: yes" >&5
46897 echo "${ECHO_T}yes" >&6; }
46898
46899 wxUSE_GSTREAMER="yes"
46900 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46901
46902 fi
46903 else
46904 GST_VERSION_MINOR=8
46905 fi
46906
46907 if test $GST_VERSION_MINOR = "8"; then
46908 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46909
46910 pkg_failed=no
46911 { echo "$as_me:$LINENO: checking for GST" >&5
46912 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46913
46914 if test -n "$PKG_CONFIG"; then
46915 if test -n "$GST_CFLAGS"; then
46916 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46917 else
46918 if test -n "$PKG_CONFIG" && \
46919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46920 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46921 ac_status=$?
46922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923 (exit $ac_status); }; then
46924 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46925 else
46926 pkg_failed=yes
46927 fi
46928 fi
46929 else
46930 pkg_failed=untried
46931 fi
46932 if test -n "$PKG_CONFIG"; then
46933 if test -n "$GST_LIBS"; then
46934 pkg_cv_GST_LIBS="$GST_LIBS"
46935 else
46936 if test -n "$PKG_CONFIG" && \
46937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46938 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46939 ac_status=$?
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); }; then
46942 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46943 else
46944 pkg_failed=yes
46945 fi
46946 fi
46947 else
46948 pkg_failed=untried
46949 fi
46950
46951
46952
46953 if test $pkg_failed = yes; then
46954
46955 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46956 _pkg_short_errors_supported=yes
46957 else
46958 _pkg_short_errors_supported=no
46959 fi
46960 if test $_pkg_short_errors_supported = yes; then
46961 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46962 else
46963 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46964 fi
46965 # Put the nasty error message in config.log where it belongs
46966 echo "$GST_PKG_ERRORS" >&5
46967
46968
46969 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46970 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46971
46972 elif test $pkg_failed = untried; then
46973
46974 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46975 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46976
46977 else
46978 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46979 GST_LIBS=$pkg_cv_GST_LIBS
46980 { echo "$as_me:$LINENO: result: yes" >&5
46981 echo "${ECHO_T}yes" >&6; }
46982 wxUSE_GSTREAMER="yes"
46983 fi
46984 fi
46985
46986
46987 if test "$wxUSE_GSTREAMER" = "yes"; then
46988 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46989 EXTRALIBS_MEDIA="$GST_LIBS"
46990
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_GSTREAMER 1
46993 _ACEOF
46994
46995 else
46996 USE_MEDIA=0
46997 fi
46998 fi
46999
47000 if test $USE_MEDIA = 1; then
47001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_MEDIACTRL 1
47004 _ACEOF
47005
47006 else
47007 if test "$wxUSE_MEDIACTRL" = "yes"; then
47008 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47009 echo "$as_me: error: GStreamer not available" >&2;}
47010 { (exit 1); exit 1; }; }
47011 else
47012 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47013 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47014 fi
47015 fi
47016 fi
47017
47018
47019 if test "$cross_compiling" = "yes"; then
47020 OSINFO="\"$host\""
47021 else
47022 OSINFO=`uname -s -r -m`
47023 OSINFO="\"$OSINFO\""
47024 fi
47025
47026 cat >>confdefs.h <<_ACEOF
47027 #define WXWIN_OS_DESCRIPTION $OSINFO
47028 _ACEOF
47029
47030
47031
47032 if test "x$prefix" != "xNONE"; then
47033 wxPREFIX=$prefix
47034 else
47035 wxPREFIX=$ac_default_prefix
47036 fi
47037
47038 cat >>confdefs.h <<_ACEOF
47039 #define wxINSTALL_PREFIX "$wxPREFIX"
47040 _ACEOF
47041
47042
47043
47044
47045 STD_BASE_LIBS="base"
47046 STD_GUI_LIBS=""
47047 BUILT_WX_LIBS="base"
47048 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47049
47050 if test "$wxUSE_SOCKETS" = "yes" ; then
47051 STD_BASE_LIBS="net $STD_BASE_LIBS"
47052 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47053 fi
47054 if test "$wxUSE_XML" = "yes" ; then
47055 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47056 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47057 fi
47058
47059 if test "$wxUSE_GUI" = "yes"; then
47060 STD_GUI_LIBS="adv core"
47061 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47062
47063 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47064 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47065 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47066 fi
47067 if test "$wxUSE_HTML" = "yes" ; then
47068 STD_GUI_LIBS="html $STD_GUI_LIBS"
47069 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47070 fi
47071 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47072 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47073 fi
47074 if test "$wxUSE_OPENGL" = "yes" ; then
47075 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47076 fi
47077 if test "$wxUSE_AUI" = "yes" ; then
47078 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47079 fi
47080 if test "$wxUSE_PROPGRID" = "yes" ; then
47081 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47082 fi
47083 if test "$wxUSE_RICHTEXT" = "yes" ; then
47084 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47085 fi
47086 if test "$wxUSE_STC" = "yes" ; then
47087 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47088 fi
47089 if test "$wxUSE_XRC" = "yes" ; then
47090 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47091 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47092 fi
47093 fi
47094
47095
47096
47097
47098
47099
47100
47101
47102 if test "$wxUSE_MAC" = 1 ; then
47103 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47104 if test "$USE_DARWIN" = 1; then
47105 LDFLAGS="$LDFLAGS -framework QuickTime"
47106 fi
47107 fi
47108 if test "$USE_DARWIN" = 1; then
47109 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47110 fi
47111 fi
47112 if test "$wxUSE_COCOA" = 1 ; then
47113 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47114 if test "$wxUSE_MEDIACTRL" = "yes"; then
47115 LDFLAGS="$LDFLAGS -framework QuickTime"
47116 fi
47117 fi
47118 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47119 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47120 fi
47121
47122 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47123
47124 if test "$wxUSE_GUI" = "yes"; then
47125
47126
47127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47128 erase event exec font image minimal mobile \
47129 mobile/wxedit mobile/styles render \
47130 shaped svg taborder vscroll widgets"
47131
47132 if test "$wxUSE_MONOLITHIC" != "yes"; then
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47134 fi
47135 if test "$TOOLKIT" = "MSW"; then
47136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47137 if test "$wxUSE_UNIVERSAL" != "yes"; then
47138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47139 fi
47140 fi
47141 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47143 fi
47144 else
47145 SAMPLES_SUBDIRS="console"
47146 if test "$wxUSE_SOCKETS" = "yes" ; then
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47148 fi
47149 if test "$wxUSE_IPC" = "yes" ; then
47150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47151 fi
47152 fi
47153
47154
47155 if test "x$INTELCC" = "xyes" ; then
47156 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47157 elif test "$GCC" = yes ; then
47158 CWARNINGS="-Wall -Wundef"
47159 fi
47160
47161 if test "x$INTELCXX" = "xyes" ; then
47162 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47163 elif test "$GXX" = yes ; then
47164 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47165 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47166 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47167 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47168 echo $ECHO_N "(cached) $ECHO_C" >&6
47169 else
47170 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47171
47172 ac_ext=cpp
47173 ac_cpp='$CXXCPP $CPPFLAGS'
47174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47177
47178 ac_save_CXXFLAGS="$CXXFLAGS"
47179 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47180 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47181 cat >conftest.$ac_ext <<_ACEOF
47182 /* confdefs.h. */
47183 _ACEOF
47184 cat confdefs.h >>conftest.$ac_ext
47185 cat >>conftest.$ac_ext <<_ACEOF
47186 /* end confdefs.h. */
47187
47188 int
47189 main ()
47190 {
47191 return 0;
47192 ;
47193 return 0;
47194 }
47195 _ACEOF
47196 rm -f conftest.$ac_objext
47197 if { (ac_try="$ac_compile"
47198 case "(($ac_try" in
47199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47200 *) ac_try_echo=$ac_try;;
47201 esac
47202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47203 (eval "$ac_compile") 2>conftest.er1
47204 ac_status=$?
47205 grep -v '^ *+' conftest.er1 >conftest.err
47206 rm -f conftest.er1
47207 cat conftest.err >&5
47208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209 (exit $ac_status); } && {
47210 test -z "$ac_cxx_werror_flag" ||
47211 test ! -s conftest.err
47212 } && test -s conftest.$ac_objext; then
47213 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47214 else
47215 echo "$as_me: failed program was:" >&5
47216 sed 's/^/| /' conftest.$ac_ext >&5
47217
47218
47219 fi
47220
47221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47222 done
47223 CXXFLAGS="$ac_save_CXXFLAGS"
47224 ac_ext=c
47225 ac_cpp='$CPP $CPPFLAGS'
47226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47229
47230
47231 fi
47232 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47233 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47234 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47235 .ok|.ok,*) ;;
47236 .|.no|.no,*) ;;
47237 *)
47238 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47239 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47240 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47241 ac_status=$?
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); }
47244 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47245 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47246 ac_status=$?
47247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47248 (exit $ac_status); }
47249 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47250 fi
47251 ;;
47252 esac
47253
47254 fi
47255
47256
47257 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47258 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47259
47260
47261 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47262 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47263 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47264 $CPPFLAGS `
47265
47266 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47267 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47268 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47269 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47270 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47271
47272 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47273
47274
47275 if test "x$MWCC" = "xyes"; then
47276
47277 CC="$CC -cwd source -I-"
47278 CXX="$CXX -cwd source -I-"
47279 fi
47280
47281
47282 LIBS=`echo $LIBS`
47283 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47284 EXTRALIBS_XML="$EXPAT_LINK"
47285 EXTRALIBS_HTML="$MSPACK_LINK"
47286 EXTRALIBS_MEDIA="$GST_LIBS"
47287 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47288 if test "$wxUSE_GUI" = "yes"; then
47289 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47290 fi
47291 if test "$wxUSE_OPENGL" = "yes"; then
47292 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47293 fi
47294
47295 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47296
47297 WXCONFIG_LIBS="$LIBS"
47298
47299 if test "$wxUSE_REGEX" = "builtin" ; then
47300 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47301 fi
47302 if test "$wxUSE_EXPAT" = "builtin" ; then
47303 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47304 fi
47305 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47306 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47307 fi
47308 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47309 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47310 fi
47311 if test "$wxUSE_LIBPNG" = "builtin" ; then
47312 wxconfig_3rdparty="png $wxconfig_3rdparty"
47313 fi
47314 if test "$wxUSE_ZLIB" = "builtin" ; then
47315 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47316 fi
47317
47318 for i in $wxconfig_3rdparty ; do
47319 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47320 done
47321
47322
47323 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47324 WXUNIV=1
47325
47326 case "$wxUNIV_THEMES" in
47327 ''|all)
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_ALL_THEMES 1
47330 _ACEOF
47331
47332 ;;
47333
47334 *)
47335 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47336 cat >>confdefs.h <<_ACEOF
47337 #define wxUSE_THEME_$t 1
47338 _ACEOF
47339
47340 done
47341 esac
47342 else
47343 WXUNIV=0
47344 fi
47345
47346
47347
47348
47349
47350
47351
47352
47353 if test $wxUSE_MONOLITHIC = "yes" ; then
47354 MONOLITHIC=1
47355 else
47356 MONOLITHIC=0
47357 fi
47358
47359 if test $wxUSE_PLUGINS = "yes" ; then
47360 USE_PLUGINS=1
47361 else
47362 USE_PLUGINS=0
47363 fi
47364
47365 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47366 USE_QA=1
47367 else
47368 USE_QA=0
47369 fi
47370
47371 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47372 OFFICIAL_BUILD=1
47373 else
47374 OFFICIAL_BUILD=0
47375 fi
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404 TOOLKIT_LOWERCASE=xxx
47405 if test "$TOOLKIT" = "MAC"; then
47406 TOOLKIT_LOWERCASE=osx_carbon
47407 fi
47408 if test "$TOOLKIT" = "OSX_CARBON"; then
47409 TOOLKIT_LOWERCASE=osx_carbon
47410 fi
47411 if test "$TOOLKIT" = "OSX_COCOA"; then
47412 TOOLKIT_LOWERCASE=osx_cocoa
47413 fi
47414 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47415 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47416 fi
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426 case "$TOOLKIT" in
47427 GTK)
47428 TOOLKIT_DESC="GTK+"
47429 if test "$WXGTK2" = 1; then
47430 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47431 if test "$wxUSE_GTKPRINT" = "yes" ; then
47432 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47433 fi
47434 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47435 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47436 fi
47437 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47438 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47439 fi
47440 if test "$wxUSE_LIBHILDON" = "yes"; then
47441 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47442 fi
47443
47444 if test "$TOOLKIT_EXTRA" != ""; then
47445 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47446 fi
47447 fi
47448 ;;
47449
47450 ?*)
47451 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47452 ;;
47453
47454 *)
47455 TOOLKIT_DESC="base only"
47456 ;;
47457 esac
47458
47459 if test "$wxUSE_WINE" = "yes"; then
47460 BAKEFILE_FORCE_PLATFORM=win32
47461 fi
47462
47463 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47464 then
47465 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47466 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47467 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47469 else
47470
47471 echo '#include <stdio.h>
47472 const wchar_t test_var[] = L"awidetest";' > conftest.h
47473
47474 echo '#include "conftest.h"
47475 int main()
47476 {
47477 printf("%ls", test_var);
47478 return 0;
47479 }' > conftest.cpp
47480
47481 wx_cv_gcc_pch_bug="pch not supported"
47482
47483 if $CXX conftest.h >/dev/null 2>&1
47484 then
47485 wx_cv_gcc_pch_bug=
47486
47487 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47488 then
47489 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47490 grep awidetest >/dev/null
47491 then
47492 wx_cv_gcc_pch_bug=no
47493 else
47494 wx_cv_gcc_pch_bug=yes
47495 fi
47496 fi
47497 fi
47498
47499 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47500
47501 fi
47502 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47503 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47504
47505 if test "$wx_cv_gcc_pch_bug" = yes; then
47506 bk_use_pch=no
47507 fi
47508 fi
47509
47510
47511
47512
47513
47514
47515
47516 if test "x$BAKEFILE_HOST" = "x"; then
47517 if test "x${host}" = "x" ; then
47518 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47519 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47520 { (exit 1); exit 1; }; }
47521 fi
47522
47523 BAKEFILE_HOST="${host}"
47524 fi
47525
47526 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47527
47528 if test -n "$ac_tool_prefix"; then
47529 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47530 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47533 if test "${ac_cv_prog_RANLIB+set}" = set; then
47534 echo $ECHO_N "(cached) $ECHO_C" >&6
47535 else
47536 if test -n "$RANLIB"; then
47537 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47538 else
47539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47540 for as_dir in $PATH
47541 do
47542 IFS=$as_save_IFS
47543 test -z "$as_dir" && as_dir=.
47544 for ac_exec_ext in '' $ac_executable_extensions; do
47545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47546 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47548 break 2
47549 fi
47550 done
47551 done
47552 IFS=$as_save_IFS
47553
47554 fi
47555 fi
47556 RANLIB=$ac_cv_prog_RANLIB
47557 if test -n "$RANLIB"; then
47558 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47559 echo "${ECHO_T}$RANLIB" >&6; }
47560 else
47561 { echo "$as_me:$LINENO: result: no" >&5
47562 echo "${ECHO_T}no" >&6; }
47563 fi
47564
47565
47566 fi
47567 if test -z "$ac_cv_prog_RANLIB"; then
47568 ac_ct_RANLIB=$RANLIB
47569 # Extract the first word of "ranlib", so it can be a program name with args.
47570 set dummy ranlib; ac_word=$2
47571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47573 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47575 else
47576 if test -n "$ac_ct_RANLIB"; then
47577 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47578 else
47579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47580 for as_dir in $PATH
47581 do
47582 IFS=$as_save_IFS
47583 test -z "$as_dir" && as_dir=.
47584 for ac_exec_ext in '' $ac_executable_extensions; do
47585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47586 ac_cv_prog_ac_ct_RANLIB="ranlib"
47587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47588 break 2
47589 fi
47590 done
47591 done
47592 IFS=$as_save_IFS
47593
47594 fi
47595 fi
47596 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47597 if test -n "$ac_ct_RANLIB"; then
47598 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47599 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47600 else
47601 { echo "$as_me:$LINENO: result: no" >&5
47602 echo "${ECHO_T}no" >&6; }
47603 fi
47604
47605 if test "x$ac_ct_RANLIB" = x; then
47606 RANLIB=":"
47607 else
47608 case $cross_compiling:$ac_tool_warned in
47609 yes:)
47610 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47611 whose name does not start with the host triplet. If you think this
47612 configuration is useful to you, please write to autoconf@gnu.org." >&5
47613 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47614 whose name does not start with the host triplet. If you think this
47615 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47616 ac_tool_warned=yes ;;
47617 esac
47618 RANLIB=$ac_ct_RANLIB
47619 fi
47620 else
47621 RANLIB="$ac_cv_prog_RANLIB"
47622 fi
47623
47624 # Find a good install program. We prefer a C program (faster),
47625 # so one script is as good as another. But avoid the broken or
47626 # incompatible versions:
47627 # SysV /etc/install, /usr/sbin/install
47628 # SunOS /usr/etc/install
47629 # IRIX /sbin/install
47630 # AIX /bin/install
47631 # AmigaOS /C/install, which installs bootblocks on floppy discs
47632 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47635 # OS/2's system install, which has a completely different semantic
47636 # ./install, which can be erroneously created by make from ./install.sh.
47637 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47638 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47639 if test -z "$INSTALL"; then
47640 if test "${ac_cv_path_install+set}" = set; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47642 else
47643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47644 for as_dir in $PATH
47645 do
47646 IFS=$as_save_IFS
47647 test -z "$as_dir" && as_dir=.
47648 # Account for people who put trailing slashes in PATH elements.
47649 case $as_dir/ in
47650 ./ | .// | /cC/* | \
47651 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47652 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47653 /usr/ucb/* ) ;;
47654 *)
47655 # OSF1 and SCO ODT 3.0 have their own names for install.
47656 # Don't use installbsd from OSF since it installs stuff as root
47657 # by default.
47658 for ac_prog in ginstall scoinst install; do
47659 for ac_exec_ext in '' $ac_executable_extensions; do
47660 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47661 if test $ac_prog = install &&
47662 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47663 # AIX install. It has an incompatible calling convention.
47664 :
47665 elif test $ac_prog = install &&
47666 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47667 # program-specific install script used by HP pwplus--don't use.
47668 :
47669 else
47670 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47671 break 3
47672 fi
47673 fi
47674 done
47675 done
47676 ;;
47677 esac
47678 done
47679 IFS=$as_save_IFS
47680
47681
47682 fi
47683 if test "${ac_cv_path_install+set}" = set; then
47684 INSTALL=$ac_cv_path_install
47685 else
47686 # As a last resort, use the slow shell script. Don't cache a
47687 # value for INSTALL within a source directory, because that will
47688 # break other packages using the cache if that directory is
47689 # removed, or if the value is a relative name.
47690 INSTALL=$ac_install_sh
47691 fi
47692 fi
47693 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47694 echo "${ECHO_T}$INSTALL" >&6; }
47695
47696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47697 # It thinks the first close brace ends the variable substitution.
47698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47699
47700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47701
47702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47703
47704 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47705 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47706 LN_S=$as_ln_s
47707 if test "$LN_S" = "ln -s"; then
47708 { echo "$as_me:$LINENO: result: yes" >&5
47709 echo "${ECHO_T}yes" >&6; }
47710 else
47711 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47712 echo "${ECHO_T}no, using $LN_S" >&6; }
47713 fi
47714
47715
47716 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47717 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47718 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47719 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47721 else
47722 cat >conftest.make <<\_ACEOF
47723 SHELL = /bin/sh
47724 all:
47725 @echo '@@@%%%=$(MAKE)=@@@%%%'
47726 _ACEOF
47727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47728 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47729 *@@@%%%=?*=@@@%%%*)
47730 eval ac_cv_prog_make_${ac_make}_set=yes;;
47731 *)
47732 eval ac_cv_prog_make_${ac_make}_set=no;;
47733 esac
47734 rm -f conftest.make
47735 fi
47736 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47737 { echo "$as_me:$LINENO: result: yes" >&5
47738 echo "${ECHO_T}yes" >&6; }
47739 SET_MAKE=
47740 else
47741 { echo "$as_me:$LINENO: result: no" >&5
47742 echo "${ECHO_T}no" >&6; }
47743 SET_MAKE="MAKE=${MAKE-make}"
47744 fi
47745
47746
47747
47748 if test "x$SUNCXX" = "xyes"; then
47749 AR=$CXX
47750 AROPTIONS="-xar -o"
47751
47752 elif test "x$SGICC" = "xyes"; then
47753 AR=$CXX
47754 AROPTIONS="-ar -o"
47755
47756 else
47757 if test -n "$ac_tool_prefix"; then
47758 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47759 set dummy ${ac_tool_prefix}ar; ac_word=$2
47760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47762 if test "${ac_cv_prog_AR+set}" = set; then
47763 echo $ECHO_N "(cached) $ECHO_C" >&6
47764 else
47765 if test -n "$AR"; then
47766 ac_cv_prog_AR="$AR" # Let the user override the test.
47767 else
47768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47769 for as_dir in $PATH
47770 do
47771 IFS=$as_save_IFS
47772 test -z "$as_dir" && as_dir=.
47773 for ac_exec_ext in '' $ac_executable_extensions; do
47774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47775 ac_cv_prog_AR="${ac_tool_prefix}ar"
47776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47777 break 2
47778 fi
47779 done
47780 done
47781 IFS=$as_save_IFS
47782
47783 fi
47784 fi
47785 AR=$ac_cv_prog_AR
47786 if test -n "$AR"; then
47787 { echo "$as_me:$LINENO: result: $AR" >&5
47788 echo "${ECHO_T}$AR" >&6; }
47789 else
47790 { echo "$as_me:$LINENO: result: no" >&5
47791 echo "${ECHO_T}no" >&6; }
47792 fi
47793
47794
47795 fi
47796 if test -z "$ac_cv_prog_AR"; then
47797 ac_ct_AR=$AR
47798 # Extract the first word of "ar", so it can be a program name with args.
47799 set dummy ar; ac_word=$2
47800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47802 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47804 else
47805 if test -n "$ac_ct_AR"; then
47806 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47807 else
47808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47809 for as_dir in $PATH
47810 do
47811 IFS=$as_save_IFS
47812 test -z "$as_dir" && as_dir=.
47813 for ac_exec_ext in '' $ac_executable_extensions; do
47814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47815 ac_cv_prog_ac_ct_AR="ar"
47816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47817 break 2
47818 fi
47819 done
47820 done
47821 IFS=$as_save_IFS
47822
47823 fi
47824 fi
47825 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47826 if test -n "$ac_ct_AR"; then
47827 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47828 echo "${ECHO_T}$ac_ct_AR" >&6; }
47829 else
47830 { echo "$as_me:$LINENO: result: no" >&5
47831 echo "${ECHO_T}no" >&6; }
47832 fi
47833
47834 if test "x$ac_ct_AR" = x; then
47835 AR="ar"
47836 else
47837 case $cross_compiling:$ac_tool_warned in
47838 yes:)
47839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47840 whose name does not start with the host triplet. If you think this
47841 configuration is useful to you, please write to autoconf@gnu.org." >&5
47842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47843 whose name does not start with the host triplet. If you think this
47844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47845 ac_tool_warned=yes ;;
47846 esac
47847 AR=$ac_ct_AR
47848 fi
47849 else
47850 AR="$ac_cv_prog_AR"
47851 fi
47852
47853 AROPTIONS=rcu
47854 fi
47855
47856
47857 if test -n "$ac_tool_prefix"; then
47858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47859 set dummy ${ac_tool_prefix}strip; ac_word=$2
47860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47862 if test "${ac_cv_prog_STRIP+set}" = set; then
47863 echo $ECHO_N "(cached) $ECHO_C" >&6
47864 else
47865 if test -n "$STRIP"; then
47866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47867 else
47868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47869 for as_dir in $PATH
47870 do
47871 IFS=$as_save_IFS
47872 test -z "$as_dir" && as_dir=.
47873 for ac_exec_ext in '' $ac_executable_extensions; do
47874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47875 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47877 break 2
47878 fi
47879 done
47880 done
47881 IFS=$as_save_IFS
47882
47883 fi
47884 fi
47885 STRIP=$ac_cv_prog_STRIP
47886 if test -n "$STRIP"; then
47887 { echo "$as_me:$LINENO: result: $STRIP" >&5
47888 echo "${ECHO_T}$STRIP" >&6; }
47889 else
47890 { echo "$as_me:$LINENO: result: no" >&5
47891 echo "${ECHO_T}no" >&6; }
47892 fi
47893
47894
47895 fi
47896 if test -z "$ac_cv_prog_STRIP"; then
47897 ac_ct_STRIP=$STRIP
47898 # Extract the first word of "strip", so it can be a program name with args.
47899 set dummy strip; ac_word=$2
47900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47902 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47903 echo $ECHO_N "(cached) $ECHO_C" >&6
47904 else
47905 if test -n "$ac_ct_STRIP"; then
47906 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47907 else
47908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47909 for as_dir in $PATH
47910 do
47911 IFS=$as_save_IFS
47912 test -z "$as_dir" && as_dir=.
47913 for ac_exec_ext in '' $ac_executable_extensions; do
47914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47915 ac_cv_prog_ac_ct_STRIP="strip"
47916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47917 break 2
47918 fi
47919 done
47920 done
47921 IFS=$as_save_IFS
47922
47923 fi
47924 fi
47925 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47926 if test -n "$ac_ct_STRIP"; then
47927 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47928 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47929 else
47930 { echo "$as_me:$LINENO: result: no" >&5
47931 echo "${ECHO_T}no" >&6; }
47932 fi
47933
47934 if test "x$ac_ct_STRIP" = x; then
47935 STRIP=":"
47936 else
47937 case $cross_compiling:$ac_tool_warned in
47938 yes:)
47939 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47940 whose name does not start with the host triplet. If you think this
47941 configuration is useful to you, please write to autoconf@gnu.org." >&5
47942 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47943 whose name does not start with the host triplet. If you think this
47944 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47945 ac_tool_warned=yes ;;
47946 esac
47947 STRIP=$ac_ct_STRIP
47948 fi
47949 else
47950 STRIP="$ac_cv_prog_STRIP"
47951 fi
47952
47953 if test -n "$ac_tool_prefix"; then
47954 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47955 set dummy ${ac_tool_prefix}nm; ac_word=$2
47956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47958 if test "${ac_cv_prog_NM+set}" = set; then
47959 echo $ECHO_N "(cached) $ECHO_C" >&6
47960 else
47961 if test -n "$NM"; then
47962 ac_cv_prog_NM="$NM" # Let the user override the test.
47963 else
47964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47965 for as_dir in $PATH
47966 do
47967 IFS=$as_save_IFS
47968 test -z "$as_dir" && as_dir=.
47969 for ac_exec_ext in '' $ac_executable_extensions; do
47970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47971 ac_cv_prog_NM="${ac_tool_prefix}nm"
47972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47973 break 2
47974 fi
47975 done
47976 done
47977 IFS=$as_save_IFS
47978
47979 fi
47980 fi
47981 NM=$ac_cv_prog_NM
47982 if test -n "$NM"; then
47983 { echo "$as_me:$LINENO: result: $NM" >&5
47984 echo "${ECHO_T}$NM" >&6; }
47985 else
47986 { echo "$as_me:$LINENO: result: no" >&5
47987 echo "${ECHO_T}no" >&6; }
47988 fi
47989
47990
47991 fi
47992 if test -z "$ac_cv_prog_NM"; then
47993 ac_ct_NM=$NM
47994 # Extract the first word of "nm", so it can be a program name with args.
47995 set dummy nm; ac_word=$2
47996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47998 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47999 echo $ECHO_N "(cached) $ECHO_C" >&6
48000 else
48001 if test -n "$ac_ct_NM"; then
48002 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48003 else
48004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48005 for as_dir in $PATH
48006 do
48007 IFS=$as_save_IFS
48008 test -z "$as_dir" && as_dir=.
48009 for ac_exec_ext in '' $ac_executable_extensions; do
48010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48011 ac_cv_prog_ac_ct_NM="nm"
48012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48013 break 2
48014 fi
48015 done
48016 done
48017 IFS=$as_save_IFS
48018
48019 fi
48020 fi
48021 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48022 if test -n "$ac_ct_NM"; then
48023 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48024 echo "${ECHO_T}$ac_ct_NM" >&6; }
48025 else
48026 { echo "$as_me:$LINENO: result: no" >&5
48027 echo "${ECHO_T}no" >&6; }
48028 fi
48029
48030 if test "x$ac_ct_NM" = x; then
48031 NM=":"
48032 else
48033 case $cross_compiling:$ac_tool_warned in
48034 yes:)
48035 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48036 whose name does not start with the host triplet. If you think this
48037 configuration is useful to you, please write to autoconf@gnu.org." >&5
48038 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48039 whose name does not start with the host triplet. If you think this
48040 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48041 ac_tool_warned=yes ;;
48042 esac
48043 NM=$ac_ct_NM
48044 fi
48045 else
48046 NM="$ac_cv_prog_NM"
48047 fi
48048
48049
48050 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48051 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48052 INSTALL_TEST_DIR=acbftest$$
48053 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48054 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48055 rmdir $INSTALL_TEST_DIR
48056 INSTALL_DIR='$(INSTALL) -d'
48057 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48058 echo "${ECHO_T}$INSTALL -d" >&6; }
48059 else
48060 INSTALL_DIR="mkdir -p"
48061 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48062 echo "${ECHO_T}mkdir -p" >&6; }
48063 fi
48064
48065
48066 LDFLAGS_GUI=
48067 case ${BAKEFILE_HOST} in
48068 *-*-cygwin* | *-*-mingw32* )
48069 LDFLAGS_GUI="-mwindows"
48070 esac
48071
48072
48073 fi
48074
48075 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48076 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48077 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48078 echo $ECHO_N "(cached) $ECHO_C" >&6
48079 else
48080
48081 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48082 egrep -s GNU > /dev/null); then
48083 bakefile_cv_prog_makeisgnu="yes"
48084 else
48085 bakefile_cv_prog_makeisgnu="no"
48086 fi
48087
48088 fi
48089 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48090 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48091
48092 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48093 IF_GNU_MAKE=""
48094 else
48095 IF_GNU_MAKE="#"
48096 fi
48097
48098
48099
48100 PLATFORM_UNIX=0
48101 PLATFORM_WIN32=0
48102 PLATFORM_MSDOS=0
48103 PLATFORM_MAC=0
48104 PLATFORM_MACOS=0
48105 PLATFORM_MACOSX=0
48106 PLATFORM_OS2=0
48107 PLATFORM_BEOS=0
48108
48109 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48110 case "${BAKEFILE_HOST}" in
48111 *-*-mingw32* )
48112 PLATFORM_WIN32=1
48113 ;;
48114 *-pc-msdosdjgpp )
48115 PLATFORM_MSDOS=1
48116 ;;
48117 *-pc-os2_emx | *-pc-os2-emx )
48118 PLATFORM_OS2=1
48119 ;;
48120 *-*-darwin* )
48121 PLATFORM_MAC=1
48122 PLATFORM_MACOSX=1
48123 ;;
48124 *-*-beos* )
48125 PLATFORM_BEOS=1
48126 ;;
48127 powerpc-apple-macos* )
48128 PLATFORM_MAC=1
48129 PLATFORM_MACOS=1
48130 ;;
48131 * )
48132 PLATFORM_UNIX=1
48133 ;;
48134 esac
48135 else
48136 case "$BAKEFILE_FORCE_PLATFORM" in
48137 win32 )
48138 PLATFORM_WIN32=1
48139 ;;
48140 msdos )
48141 PLATFORM_MSDOS=1
48142 ;;
48143 os2 )
48144 PLATFORM_OS2=1
48145 ;;
48146 darwin )
48147 PLATFORM_MAC=1
48148 PLATFORM_MACOSX=1
48149 ;;
48150 unix )
48151 PLATFORM_UNIX=1
48152 ;;
48153 beos )
48154 PLATFORM_BEOS=1
48155 ;;
48156 * )
48157 ;;
48158 esac
48159 fi
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171 # Check whether --enable-omf was given.
48172 if test "${enable_omf+set}" = set; then
48173 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48174 fi
48175
48176
48177 case "${BAKEFILE_HOST}" in
48178 *-*-darwin* )
48179 if test "x$GCC" = "xyes"; then
48180 CFLAGS="$CFLAGS -fno-common"
48181 CXXFLAGS="$CXXFLAGS -fno-common"
48182 fi
48183 if test "x$XLCC" = "xyes"; then
48184 CFLAGS="$CFLAGS -qnocommon"
48185 CXXFLAGS="$CXXFLAGS -qnocommon"
48186 fi
48187 ;;
48188
48189 *-pc-os2_emx | *-pc-os2-emx )
48190 if test "x$bk_os2_use_omf" = "xyes" ; then
48191 AR=emxomfar
48192 RANLIB=:
48193 LDFLAGS="-Zomf $LDFLAGS"
48194 CFLAGS="-Zomf $CFLAGS"
48195 CXXFLAGS="-Zomf $CXXFLAGS"
48196 OS2_LIBEXT="lib"
48197 else
48198 OS2_LIBEXT="a"
48199 fi
48200 ;;
48201
48202 i*86-*-beos* )
48203 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48204 ;;
48205 esac
48206
48207
48208 SO_SUFFIX="so"
48209 SO_SUFFIX_MODULE="so"
48210 EXEEXT=""
48211 LIBPREFIX="lib"
48212 LIBEXT=".a"
48213 DLLPREFIX="lib"
48214 DLLPREFIX_MODULE=""
48215 DLLIMP_SUFFIX=""
48216 dlldir="$libdir"
48217
48218 case "${BAKEFILE_HOST}" in
48219 ia64-hp-hpux* )
48220 ;;
48221 *-hp-hpux* )
48222 SO_SUFFIX="sl"
48223 SO_SUFFIX_MODULE="sl"
48224 ;;
48225 *-*-aix* )
48226 SO_SUFFIX="a"
48227 SO_SUFFIX_MODULE="a"
48228 ;;
48229 *-*-cygwin* )
48230 SO_SUFFIX="dll"
48231 SO_SUFFIX_MODULE="dll"
48232 DLLIMP_SUFFIX="dll.a"
48233 EXEEXT=".exe"
48234 DLLPREFIX="cyg"
48235 dlldir="$bindir"
48236 ;;
48237 *-*-mingw32* )
48238 SO_SUFFIX="dll"
48239 SO_SUFFIX_MODULE="dll"
48240 DLLIMP_SUFFIX="dll.a"
48241 EXEEXT=".exe"
48242 DLLPREFIX=""
48243 dlldir="$bindir"
48244 ;;
48245 *-pc-msdosdjgpp )
48246 EXEEXT=".exe"
48247 DLLPREFIX=""
48248 dlldir="$bindir"
48249 ;;
48250 *-pc-os2_emx | *-pc-os2-emx )
48251 SO_SUFFIX="dll"
48252 SO_SUFFIX_MODULE="dll"
48253 DLLIMP_SUFFIX=$OS2_LIBEXT
48254 EXEEXT=".exe"
48255 DLLPREFIX=""
48256 LIBPREFIX=""
48257 LIBEXT=".$OS2_LIBEXT"
48258 dlldir="$bindir"
48259 ;;
48260 *-*-darwin* )
48261 SO_SUFFIX="dylib"
48262 SO_SUFFIX_MODULE="bundle"
48263 ;;
48264 esac
48265
48266 if test "x$DLLIMP_SUFFIX" = "x" ; then
48267 DLLIMP_SUFFIX="$SO_SUFFIX"
48268 fi
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281 PIC_FLAG=""
48282 if test "x$GCC" = "xyes"; then
48283 PIC_FLAG="-fPIC"
48284 fi
48285
48286 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48287 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48288 WINDOWS_IMPLIB=0
48289
48290 case "${BAKEFILE_HOST}" in
48291 *-hp-hpux* )
48292 if test "x$GCC" != "xyes"; then
48293 LDFLAGS="$LDFLAGS -L/usr/lib"
48294
48295 SHARED_LD_CC="${CC} -b -o"
48296 SHARED_LD_CXX="${CXX} -b -o"
48297 PIC_FLAG="+Z"
48298 fi
48299 ;;
48300
48301 *-*-linux* )
48302 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48303 PIC_FLAG="-KPIC"
48304 elif test "x$SUNCXX" = "xyes"; then
48305 SHARED_LD_CC="${CC} -G -o"
48306 SHARED_LD_CXX="${CXX} -G -o"
48307 PIC_FLAG="-KPIC"
48308 fi
48309 ;;
48310
48311 *-*-solaris2* )
48312 if test "x$SUNCXX" = xyes ; then
48313 SHARED_LD_CC="${CC} -G -o"
48314 SHARED_LD_CXX="${CXX} -G -o"
48315 PIC_FLAG="-KPIC"
48316 fi
48317 ;;
48318
48319 *-*-darwin* )
48320
48321 D='$'
48322 cat <<EOF >shared-ld-sh
48323 #!/bin/sh
48324 #-----------------------------------------------------------------------------
48325 #-- Name: distrib/mac/shared-ld-sh
48326 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48327 #-- Author: Gilles Depeyrot
48328 #-- Copyright: (c) 2002 Gilles Depeyrot
48329 #-- Licence: any use permitted
48330 #-----------------------------------------------------------------------------
48331
48332 verbose=0
48333 args=""
48334 objects=""
48335 linking_flag="-dynamiclib"
48336 ldargs="-r -keep_private_externs -nostdlib"
48337
48338 if test "x${D}CXX" = "x"; then
48339 CXX="c++"
48340 fi
48341
48342 while test ${D}# -gt 0; do
48343 case ${D}1 in
48344
48345 -v)
48346 verbose=1
48347 ;;
48348
48349 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48350 # collect these options and values
48351 args="${D}{args} ${D}1 ${D}2"
48352 shift
48353 ;;
48354
48355 -arch|-isysroot)
48356 # collect these options and values
48357 ldargs="${D}{ldargs} ${D}1 ${D}2"
48358 shift
48359 ;;
48360
48361 -s|-Wl,*)
48362 # collect these load args
48363 ldargs="${D}{ldargs} ${D}1"
48364 ;;
48365
48366 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48367 # collect these options
48368 args="${D}{args} ${D}1"
48369 ;;
48370
48371 -dynamiclib|-bundle)
48372 linking_flag="${D}1"
48373 ;;
48374
48375 -*)
48376 echo "shared-ld: unhandled option '${D}1'"
48377 exit 1
48378 ;;
48379
48380 *.o | *.a | *.dylib)
48381 # collect object files
48382 objects="${D}{objects} ${D}1"
48383 ;;
48384
48385 *)
48386 echo "shared-ld: unhandled argument '${D}1'"
48387 exit 1
48388 ;;
48389
48390 esac
48391 shift
48392 done
48393
48394 status=0
48395
48396 #
48397 # Link one module containing all the others
48398 #
48399 if test ${D}{verbose} = 1; then
48400 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48401 fi
48402 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48403 status=${D}?
48404
48405 #
48406 # Link the shared library from the single module created, but only if the
48407 # previous command didn't fail:
48408 #
48409 if test ${D}{status} = 0; then
48410 if test ${D}{verbose} = 1; then
48411 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48412 fi
48413 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48414 status=${D}?
48415 fi
48416
48417 #
48418 # Remove intermediate module
48419 #
48420 rm -f master.${D}${D}.o
48421
48422 exit ${D}status
48423 EOF
48424
48425 chmod +x shared-ld-sh
48426
48427 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48428 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48429
48430
48431 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48432 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48433 if test "${bakefile_cv_gcc31+set}" = set; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48435 else
48436
48437 cat >conftest.$ac_ext <<_ACEOF
48438 /* confdefs.h. */
48439 _ACEOF
48440 cat confdefs.h >>conftest.$ac_ext
48441 cat >>conftest.$ac_ext <<_ACEOF
48442 /* end confdefs.h. */
48443
48444 int
48445 main ()
48446 {
48447
48448 #if (__GNUC__ < 3) || \
48449 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48450 This is old gcc
48451 #endif
48452
48453 ;
48454 return 0;
48455 }
48456 _ACEOF
48457 rm -f conftest.$ac_objext
48458 if { (ac_try="$ac_compile"
48459 case "(($ac_try" in
48460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48461 *) ac_try_echo=$ac_try;;
48462 esac
48463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48464 (eval "$ac_compile") 2>conftest.er1
48465 ac_status=$?
48466 grep -v '^ *+' conftest.er1 >conftest.err
48467 rm -f conftest.er1
48468 cat conftest.err >&5
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); } && {
48471 test -z "$ac_c_werror_flag" ||
48472 test ! -s conftest.err
48473 } && test -s conftest.$ac_objext; then
48474
48475 bakefile_cv_gcc31=yes
48476
48477 else
48478 echo "$as_me: failed program was:" >&5
48479 sed 's/^/| /' conftest.$ac_ext >&5
48480
48481
48482 bakefile_cv_gcc31=no
48483
48484
48485 fi
48486
48487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48488
48489 fi
48490 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48491 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48492 if test "$bakefile_cv_gcc31" = "no"; then
48493 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48494 SHARED_LD_CXX="$SHARED_LD_CC"
48495 else
48496 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48497 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48498 fi
48499
48500 if test "x$GCC" == "xyes"; then
48501 PIC_FLAG="-dynamic -fPIC"
48502 fi
48503 if test "x$XLCC" = "xyes"; then
48504 PIC_FLAG="-dynamic -DPIC"
48505 fi
48506 ;;
48507
48508 *-*-aix* )
48509 if test "x$GCC" = "xyes"; then
48510 PIC_FLAG=""
48511
48512 case "${BAKEFILE_HOST}" in
48513 *-*-aix5* )
48514 LD_EXPFULL="-Wl,-bexpfull"
48515 ;;
48516 esac
48517
48518 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48519 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48520 else
48521 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48522 set dummy makeC++SharedLib; ac_word=$2
48523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48525 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48526 echo $ECHO_N "(cached) $ECHO_C" >&6
48527 else
48528 if test -n "$AIX_CXX_LD"; then
48529 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48530 else
48531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48532 for as_dir in $PATH
48533 do
48534 IFS=$as_save_IFS
48535 test -z "$as_dir" && as_dir=.
48536 for ac_exec_ext in '' $ac_executable_extensions; do
48537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48538 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48540 break 2
48541 fi
48542 done
48543 done
48544 IFS=$as_save_IFS
48545
48546 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48547 fi
48548 fi
48549 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48550 if test -n "$AIX_CXX_LD"; then
48551 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48552 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48553 else
48554 { echo "$as_me:$LINENO: result: no" >&5
48555 echo "${ECHO_T}no" >&6; }
48556 fi
48557
48558
48559 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48560 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48561 fi
48562 ;;
48563
48564 *-*-beos* )
48565 SHARED_LD_CC="${LD} -nostart -o"
48566 SHARED_LD_CXX="${LD} -nostart -o"
48567 ;;
48568
48569 *-*-irix* )
48570 if test "x$GCC" != "xyes"; then
48571 PIC_FLAG="-KPIC"
48572 fi
48573 ;;
48574
48575 *-*-cygwin* | *-*-mingw32* )
48576 PIC_FLAG=""
48577 SHARED_LD_CC="\$(CC) -shared -o"
48578 SHARED_LD_CXX="\$(CXX) -shared -o"
48579 WINDOWS_IMPLIB=1
48580 ;;
48581
48582 *-pc-os2_emx | *-pc-os2-emx )
48583 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48584 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48585 PIC_FLAG=""
48586
48587 D='$'
48588 cat <<EOF >dllar.sh
48589 #!/bin/sh
48590 #
48591 # dllar - a tool to build both a .dll and an .a file
48592 # from a set of object (.o) files for EMX/OS2.
48593 #
48594 # Written by Andrew Zabolotny, bit@freya.etu.ru
48595 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48596 #
48597 # This script will accept a set of files on the command line.
48598 # All the public symbols from the .o files will be exported into
48599 # a .DEF file, then linker will be run (through gcc) against them to
48600 # build a shared library consisting of all given .o files. All libraries
48601 # (.a) will be first decompressed into component .o files then act as
48602 # described above. You can optionally give a description (-d "description")
48603 # which will be put into .DLL. To see the list of accepted options (as well
48604 # as command-line format) simply run this program without options. The .DLL
48605 # is built to be imported by name (there is no guarantee that new versions
48606 # of the library you build will have same ordinals for same symbols).
48607 #
48608 # dllar is free software; you can redistribute it and/or modify
48609 # it under the terms of the GNU General Public License as published by
48610 # the Free Software Foundation; either version 2, or (at your option)
48611 # any later version.
48612 #
48613 # dllar is distributed in the hope that it will be useful,
48614 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48615 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48616 # GNU General Public License for more details.
48617 #
48618 # You should have received a copy of the GNU General Public License
48619 # along with dllar; see the file COPYING. If not, write to the Free
48620 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48621 # 02111-1307, USA.
48622
48623 # To successfuly run this program you will need:
48624 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48625 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48626 # - gcc
48627 # (used to build the .dll)
48628 # - emxexp
48629 # (used to create .def file from .o files)
48630 # - emximp
48631 # (used to create .a file from .def file)
48632 # - GNU text utilites (cat, sort, uniq)
48633 # used to process emxexp output
48634 # - GNU file utilities (mv, rm)
48635 # - GNU sed
48636 # - lxlite (optional, see flag below)
48637 # (used for general .dll cleanup)
48638 #
48639
48640 flag_USE_LXLITE=1;
48641
48642 #
48643 # helper functions
48644 # basnam, variant of basename, which does _not_ remove the path, _iff_
48645 # second argument (suffix to remove) is given
48646 basnam(){
48647 case ${D}# in
48648 1)
48649 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48650 ;;
48651 2)
48652 echo ${D}1 | sed 's/'${D}2'${D}//'
48653 ;;
48654 *)
48655 echo "error in basnam ${D}*"
48656 exit 8
48657 ;;
48658 esac
48659 }
48660
48661 # Cleanup temporary files and output
48662 CleanUp() {
48663 cd ${D}curDir
48664 for i in ${D}inputFiles ; do
48665 case ${D}i in
48666 *!)
48667 rm -rf \`basnam ${D}i !\`
48668 ;;
48669 *)
48670 ;;
48671 esac
48672 done
48673
48674 # Kill result in case of failure as there is just to many stupid make/nmake
48675 # things out there which doesn't do this.
48676 if [ ${D}# -eq 0 ]; then
48677 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48678 fi
48679 }
48680
48681 # Print usage and exit script with rc=1.
48682 PrintHelp() {
48683 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48684 echo ' [-name-mangler-script script.sh]'
48685 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48686 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48687 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48688 echo ' [*.o] [*.a]'
48689 echo '*> "output_file" should have no extension.'
48690 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48691 echo ' The import library name is derived from this and is set to "name".a,'
48692 echo ' unless overridden by -import'
48693 echo '*> "importlib_name" should have no extension.'
48694 echo ' If it has the .o, or .a extension, it is automatically removed.'
48695 echo ' This name is used as the import library name and may be longer and'
48696 echo ' more descriptive than the DLL name which has to follow the old '
48697 echo ' 8.3 convention of FAT.'
48698 echo '*> "script.sh may be given to override the output_file name by a'
48699 echo ' different name. It is mainly useful if the regular make process'
48700 echo ' of some package does not take into account OS/2 restriction of'
48701 echo ' DLL name lengths. It takes the importlib name as input and is'
48702 echo ' supposed to procude a shorter name as output. The script should'
48703 echo ' expect to get importlib_name without extension and should produce'
48704 echo ' a (max.) 8 letter name without extension.'
48705 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48706 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48707 echo ' These flags will be put at the start of GCC command line.'
48708 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48709 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48710 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48711 echo ' If the last character of a symbol is "*", all symbols beginning'
48712 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48713 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48714 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48715 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48716 echo ' C runtime DLLs.'
48717 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48718 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48719 echo ' unchanged to GCC at the end of command line.'
48720 echo '*> If you create a DLL from a library and you do not specify -o,'
48721 echo ' the basename for DLL and import library will be set to library name,'
48722 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48723 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48724 echo ' library will be renamed into gcc_s.a.'
48725 echo '--------'
48726 echo 'Example:'
48727 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48728 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48729 CleanUp
48730 exit 1
48731 }
48732
48733 # Execute a command.
48734 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48735 # @Uses Whatever CleanUp() uses.
48736 doCommand() {
48737 echo "${D}*"
48738 eval ${D}*
48739 rcCmd=${D}?
48740
48741 if [ ${D}rcCmd -ne 0 ]; then
48742 echo "command failed, exit code="${D}rcCmd
48743 CleanUp
48744 exit ${D}rcCmd
48745 fi
48746 }
48747
48748 # main routine
48749 # setup globals
48750 cmdLine=${D}*
48751 outFile=""
48752 outimpFile=""
48753 inputFiles=""
48754 renameScript=""
48755 description=""
48756 CC=gcc.exe
48757 CFLAGS="-s -Zcrtdll"
48758 EXTRA_CFLAGS=""
48759 EXPORT_BY_ORDINALS=0
48760 exclude_symbols=""
48761 library_flags=""
48762 curDir=\`pwd\`
48763 curDirS=curDir
48764 case ${D}curDirS in
48765 */)
48766 ;;
48767 *)
48768 curDirS=${D}{curDirS}"/"
48769 ;;
48770 esac
48771 # Parse commandline
48772 libsToLink=0
48773 omfLinking=0
48774 while [ ${D}1 ]; do
48775 case ${D}1 in
48776 -ord*)
48777 EXPORT_BY_ORDINALS=1;
48778 ;;
48779 -o*)
48780 shift
48781 outFile=${D}1
48782 ;;
48783 -i*)
48784 shift
48785 outimpFile=${D}1
48786 ;;
48787 -name-mangler-script)
48788 shift
48789 renameScript=${D}1
48790 ;;
48791 -d*)
48792 shift
48793 description=${D}1
48794 ;;
48795 -f*)
48796 shift
48797 CFLAGS=${D}1
48798 ;;
48799 -c*)
48800 shift
48801 CC=${D}1
48802 ;;
48803 -h*)
48804 PrintHelp
48805 ;;
48806 -ex*)
48807 shift
48808 exclude_symbols=${D}{exclude_symbols}${D}1" "
48809 ;;
48810 -libf*)
48811 shift
48812 library_flags=${D}{library_flags}${D}1" "
48813 ;;
48814 -nocrt*)
48815 CFLAGS="-s"
48816 ;;
48817 -nolxl*)
48818 flag_USE_LXLITE=0
48819 ;;
48820 -* | /*)
48821 case ${D}1 in
48822 -L* | -l*)
48823 libsToLink=1
48824 ;;
48825 -Zomf)
48826 omfLinking=1
48827 ;;
48828 *)
48829 ;;
48830 esac
48831 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48832 ;;
48833 *.dll)
48834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48835 if [ ${D}omfLinking -eq 1 ]; then
48836 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48837 else
48838 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48839 fi
48840 ;;
48841 *)
48842 found=0;
48843 if [ ${D}libsToLink -ne 0 ]; then
48844 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48845 else
48846 for file in ${D}1 ; do
48847 if [ -f ${D}file ]; then
48848 inputFiles="${D}{inputFiles} ${D}file"
48849 found=1
48850 fi
48851 done
48852 if [ ${D}found -eq 0 ]; then
48853 echo "ERROR: No file(s) found: "${D}1
48854 exit 8
48855 fi
48856 fi
48857 ;;
48858 esac
48859 shift
48860 done # iterate cmdline words
48861
48862 #
48863 if [ -z "${D}inputFiles" ]; then
48864 echo "dllar: no input files"
48865 PrintHelp
48866 fi
48867
48868 # Now extract all .o files from .a files
48869 newInputFiles=""
48870 for file in ${D}inputFiles ; do
48871 case ${D}file in
48872 *.a | *.lib)
48873 case ${D}file in
48874 *.a)
48875 suffix=".a"
48876 AR="ar"
48877 ;;
48878 *.lib)
48879 suffix=".lib"
48880 AR="emxomfar"
48881 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48882 ;;
48883 *)
48884 ;;
48885 esac
48886 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48887 mkdir ${D}dirname
48888 if [ ${D}? -ne 0 ]; then
48889 echo "Failed to create subdirectory ./${D}dirname"
48890 CleanUp
48891 exit 8;
48892 fi
48893 # Append '!' to indicate archive
48894 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48895 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48896 cd ${D}curDir
48897 found=0;
48898 for subfile in ${D}dirname/*.o* ; do
48899 if [ -f ${D}subfile ]; then
48900 found=1
48901 if [ -s ${D}subfile ]; then
48902 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48903 newInputFiles="${D}newInputFiles ${D}subfile"
48904 fi
48905 fi
48906 done
48907 if [ ${D}found -eq 0 ]; then
48908 echo "WARNING: there are no files in archive \\'${D}file\\'"
48909 fi
48910 ;;
48911 *)
48912 newInputFiles="${D}{newInputFiles} ${D}file"
48913 ;;
48914 esac
48915 done
48916 inputFiles="${D}newInputFiles"
48917
48918 # Output filename(s).
48919 do_backup=0;
48920 if [ -z ${D}outFile ]; then
48921 do_backup=1;
48922 set outFile ${D}inputFiles; outFile=${D}2
48923 fi
48924
48925 # If it is an archive, remove the '!' and the '_%' suffixes
48926 case ${D}outFile in
48927 *_%!)
48928 outFile=\`basnam ${D}outFile _%!\`
48929 ;;
48930 *)
48931 ;;
48932 esac
48933 case ${D}outFile in
48934 *.dll)
48935 outFile=\`basnam ${D}outFile .dll\`
48936 ;;
48937 *.DLL)
48938 outFile=\`basnam ${D}outFile .DLL\`
48939 ;;
48940 *.o)
48941 outFile=\`basnam ${D}outFile .o\`
48942 ;;
48943 *.obj)
48944 outFile=\`basnam ${D}outFile .obj\`
48945 ;;
48946 *.a)
48947 outFile=\`basnam ${D}outFile .a\`
48948 ;;
48949 *.lib)
48950 outFile=\`basnam ${D}outFile .lib\`
48951 ;;
48952 *)
48953 ;;
48954 esac
48955 case ${D}outimpFile in
48956 *.a)
48957 outimpFile=\`basnam ${D}outimpFile .a\`
48958 ;;
48959 *.lib)
48960 outimpFile=\`basnam ${D}outimpFile .lib\`
48961 ;;
48962 *)
48963 ;;
48964 esac
48965 if [ -z ${D}outimpFile ]; then
48966 outimpFile=${D}outFile
48967 fi
48968 defFile="${D}{outFile}.def"
48969 arcFile="${D}{outimpFile}.a"
48970 arcFile2="${D}{outimpFile}.lib"
48971
48972 #create ${D}dllFile as something matching 8.3 restrictions,
48973 if [ -z ${D}renameScript ] ; then
48974 dllFile="${D}outFile"
48975 else
48976 dllFile=\`${D}renameScript ${D}outimpFile\`
48977 fi
48978
48979 if [ ${D}do_backup -ne 0 ] ; then
48980 if [ -f ${D}arcFile ] ; then
48981 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48982 fi
48983 if [ -f ${D}arcFile2 ] ; then
48984 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48985 fi
48986 fi
48987
48988 # Extract public symbols from all the object files.
48989 tmpdefFile=${D}{defFile}_%
48990 rm -f ${D}tmpdefFile
48991 for file in ${D}inputFiles ; do
48992 case ${D}file in
48993 *!)
48994 ;;
48995 *)
48996 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48997 ;;
48998 esac
48999 done
49000
49001 # Create the def file.
49002 rm -f ${D}defFile
49003 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49004 dllFile="${D}{dllFile}.dll"
49005 if [ ! -z ${D}description ]; then
49006 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49007 fi
49008 echo "EXPORTS" >> ${D}defFile
49009
49010 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49011 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49012
49013 # Checks if the export is ok or not.
49014 for word in ${D}exclude_symbols; do
49015 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49016 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49017 done
49018
49019
49020 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49021 sed "=" < ${D}tmpdefFile | \\
49022 sed '
49023 N
49024 : loop
49025 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49026 t loop
49027 ' > ${D}{tmpdefFile}%
49028 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49029 else
49030 rm -f ${D}{tmpdefFile}%
49031 fi
49032 cat ${D}tmpdefFile >> ${D}defFile
49033 rm -f ${D}tmpdefFile
49034
49035 # Do linking, create implib, and apply lxlite.
49036 gccCmdl="";
49037 for file in ${D}inputFiles ; do
49038 case ${D}file in
49039 *!)
49040 ;;
49041 *)
49042 gccCmdl="${D}gccCmdl ${D}file"
49043 ;;
49044 esac
49045 done
49046 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49047 touch "${D}{outFile}.dll"
49048
49049 doCommand "emximp -o ${D}arcFile ${D}defFile"
49050 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49051 add_flags="";
49052 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49053 add_flags="-ynd"
49054 fi
49055 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49056 fi
49057 doCommand "emxomf -s -l ${D}arcFile"
49058
49059 # Successful exit.
49060 CleanUp 1
49061 exit 0
49062 EOF
49063
49064 chmod +x dllar.sh
49065 ;;
49066
49067 powerpc-apple-macos* | \
49068 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49069 *-*-mirbsd* | \
49070 *-*-sunos4* | \
49071 *-*-osf* | \
49072 *-*-dgux5* | \
49073 *-*-sysv5* | \
49074 *-pc-msdosdjgpp )
49075 ;;
49076
49077 *)
49078 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49079 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49080 { (exit 1); exit 1; }; }
49081 esac
49082
49083 if test "x$PIC_FLAG" != "x" ; then
49084 PIC_FLAG="$PIC_FLAG -DPIC"
49085 fi
49086
49087 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49088 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49089 fi
49090 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49091 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49092 fi
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102 USE_SOVERSION=0
49103 USE_SOVERLINUX=0
49104 USE_SOVERSOLARIS=0
49105 USE_SOVERCYGWIN=0
49106 USE_SOSYMLINKS=0
49107 USE_MACVERSION=0
49108 SONAME_FLAG=
49109
49110 case "${BAKEFILE_HOST}" in
49111 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49112 *-*-k*bsd*-gnu | *-*-mirbsd* )
49113 if test "x$SUNCXX" = "xyes"; then
49114 SONAME_FLAG="-h "
49115 else
49116 SONAME_FLAG="-Wl,-soname,"
49117 fi
49118 USE_SOVERSION=1
49119 USE_SOVERLINUX=1
49120 USE_SOSYMLINKS=1
49121 ;;
49122
49123 *-*-solaris2* )
49124 SONAME_FLAG="-h "
49125 USE_SOVERSION=1
49126 USE_SOVERSOLARIS=1
49127 USE_SOSYMLINKS=1
49128 ;;
49129
49130 *-*-darwin* )
49131 USE_MACVERSION=1
49132 USE_SOVERSION=1
49133 USE_SOSYMLINKS=1
49134 ;;
49135
49136 *-*-cygwin* )
49137 USE_SOVERSION=1
49138 USE_SOVERCYGWIN=1
49139 ;;
49140 esac
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151 # Check whether --enable-dependency-tracking was given.
49152 if test "${enable_dependency_tracking+set}" = set; then
49153 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49154 fi
49155
49156
49157 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49158 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49159
49160 BK_DEPS=""
49161 if test "x$bk_use_trackdeps" = "xno" ; then
49162 DEPS_TRACKING=0
49163 { echo "$as_me:$LINENO: result: disabled" >&5
49164 echo "${ECHO_T}disabled" >&6; }
49165 else
49166 DEPS_TRACKING=1
49167
49168 if test "x$GCC" = "xyes"; then
49169 DEPSMODE=gcc
49170 case "${BAKEFILE_HOST}" in
49171 *-*-darwin* )
49172 DEPSFLAG="-no-cpp-precomp -MMD"
49173 ;;
49174 * )
49175 DEPSFLAG="-MMD"
49176 ;;
49177 esac
49178 { echo "$as_me:$LINENO: result: gcc" >&5
49179 echo "${ECHO_T}gcc" >&6; }
49180 elif test "x$MWCC" = "xyes"; then
49181 DEPSMODE=mwcc
49182 DEPSFLAG="-MM"
49183 { echo "$as_me:$LINENO: result: mwcc" >&5
49184 echo "${ECHO_T}mwcc" >&6; }
49185 elif test "x$SUNCC" = "xyes"; then
49186 DEPSMODE=unixcc
49187 DEPSFLAG="-xM1"
49188 { echo "$as_me:$LINENO: result: Sun cc" >&5
49189 echo "${ECHO_T}Sun cc" >&6; }
49190 elif test "x$SGICC" = "xyes"; then
49191 DEPSMODE=unixcc
49192 DEPSFLAG="-M"
49193 { echo "$as_me:$LINENO: result: SGI cc" >&5
49194 echo "${ECHO_T}SGI cc" >&6; }
49195 elif test "x$HPCC" = "xyes"; then
49196 DEPSMODE=unixcc
49197 DEPSFLAG="+make"
49198 { echo "$as_me:$LINENO: result: HP cc" >&5
49199 echo "${ECHO_T}HP cc" >&6; }
49200 elif test "x$COMPAQCC" = "xyes"; then
49201 DEPSMODE=gcc
49202 DEPSFLAG="-MD"
49203 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49204 echo "${ECHO_T}Compaq cc" >&6; }
49205 else
49206 DEPS_TRACKING=0
49207 { echo "$as_me:$LINENO: result: none" >&5
49208 echo "${ECHO_T}none" >&6; }
49209 fi
49210
49211 if test $DEPS_TRACKING = 1 ; then
49212
49213 D='$'
49214 cat <<EOF >bk-deps
49215 #!/bin/sh
49216
49217 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49218 # script. It is used to track C/C++ files dependencies in portable way.
49219 #
49220 # Permission is given to use this file in any way.
49221
49222 DEPSMODE=${DEPSMODE}
49223 DEPSFLAG="${DEPSFLAG}"
49224 DEPSDIRBASE=.deps
49225
49226 if test ${D}DEPSMODE = gcc ; then
49227 ${D}* ${D}{DEPSFLAG}
49228 status=${D}?
49229
49230 # determine location of created files:
49231 while test ${D}# -gt 0; do
49232 case "${D}1" in
49233 -o )
49234 shift
49235 objfile=${D}1
49236 ;;
49237 -* )
49238 ;;
49239 * )
49240 srcfile=${D}1
49241 ;;
49242 esac
49243 shift
49244 done
49245 objfilebase=\`basename ${D}objfile\`
49246 builddir=\`dirname ${D}objfile\`
49247 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49248 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49249 depsdir=${D}builddir/${D}DEPSDIRBASE
49250 mkdir -p ${D}depsdir
49251
49252 # if the compiler failed, we're done:
49253 if test ${D}{status} != 0 ; then
49254 rm -f ${D}depfile
49255 exit ${D}{status}
49256 fi
49257
49258 # move created file to the location we want it in:
49259 if test -f ${D}depfile ; then
49260 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49261 rm -f ${D}depfile
49262 else
49263 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49264 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49265 if test ! -f ${D}depfile ; then
49266 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49267 depfile="${D}objfile.d"
49268 fi
49269 if test -f ${D}depfile ; then
49270 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49271 rm -f ${D}depfile
49272 fi
49273 fi
49274 exit 0
49275
49276 elif test ${D}DEPSMODE = mwcc ; then
49277 ${D}* || exit ${D}?
49278 # Run mwcc again with -MM and redirect into the dep file we want
49279 # NOTE: We can't use shift here because we need ${D}* to be valid
49280 prevarg=
49281 for arg in ${D}* ; do
49282 if test "${D}prevarg" = "-o"; then
49283 objfile=${D}arg
49284 else
49285 case "${D}arg" in
49286 -* )
49287 ;;
49288 * )
49289 srcfile=${D}arg
49290 ;;
49291 esac
49292 fi
49293 prevarg="${D}arg"
49294 done
49295
49296 objfilebase=\`basename ${D}objfile\`
49297 builddir=\`dirname ${D}objfile\`
49298 depsdir=${D}builddir/${D}DEPSDIRBASE
49299 mkdir -p ${D}depsdir
49300
49301 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49302 exit 0
49303
49304 elif test ${D}DEPSMODE = unixcc; then
49305 ${D}* || exit ${D}?
49306 # Run compiler again with deps flag and redirect into the dep file.
49307 # It doesn't work if the '-o FILE' option is used, but without it the
49308 # dependency file will contain the wrong name for the object. So it is
49309 # removed from the command line, and the dep file is fixed with sed.
49310 cmd=""
49311 while test ${D}# -gt 0; do
49312 case "${D}1" in
49313 -o )
49314 shift
49315 objfile=${D}1
49316 ;;
49317 * )
49318 eval arg${D}#=\\${D}1
49319 cmd="${D}cmd \\${D}arg${D}#"
49320 ;;
49321 esac
49322 shift
49323 done
49324
49325 objfilebase=\`basename ${D}objfile\`
49326 builddir=\`dirname ${D}objfile\`
49327 depsdir=${D}builddir/${D}DEPSDIRBASE
49328 mkdir -p ${D}depsdir
49329
49330 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49331 exit 0
49332
49333 else
49334 ${D}*
49335 exit ${D}?
49336 fi
49337 EOF
49338
49339 chmod +x bk-deps
49340 BK_DEPS="`pwd`/bk-deps"
49341 fi
49342 fi
49343
49344
49345
49346
49347
49348 case ${BAKEFILE_HOST} in
49349 *-*-cygwin* | *-*-mingw32* )
49350 if test -n "$ac_tool_prefix"; then
49351 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49352 set dummy ${ac_tool_prefix}windres; ac_word=$2
49353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49355 if test "${ac_cv_prog_WINDRES+set}" = set; then
49356 echo $ECHO_N "(cached) $ECHO_C" >&6
49357 else
49358 if test -n "$WINDRES"; then
49359 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49360 else
49361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49362 for as_dir in $PATH
49363 do
49364 IFS=$as_save_IFS
49365 test -z "$as_dir" && as_dir=.
49366 for ac_exec_ext in '' $ac_executable_extensions; do
49367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49368 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49370 break 2
49371 fi
49372 done
49373 done
49374 IFS=$as_save_IFS
49375
49376 fi
49377 fi
49378 WINDRES=$ac_cv_prog_WINDRES
49379 if test -n "$WINDRES"; then
49380 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49381 echo "${ECHO_T}$WINDRES" >&6; }
49382 else
49383 { echo "$as_me:$LINENO: result: no" >&5
49384 echo "${ECHO_T}no" >&6; }
49385 fi
49386
49387
49388 fi
49389 if test -z "$ac_cv_prog_WINDRES"; then
49390 ac_ct_WINDRES=$WINDRES
49391 # Extract the first word of "windres", so it can be a program name with args.
49392 set dummy windres; ac_word=$2
49393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49395 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49397 else
49398 if test -n "$ac_ct_WINDRES"; then
49399 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49400 else
49401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49402 for as_dir in $PATH
49403 do
49404 IFS=$as_save_IFS
49405 test -z "$as_dir" && as_dir=.
49406 for ac_exec_ext in '' $ac_executable_extensions; do
49407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49408 ac_cv_prog_ac_ct_WINDRES="windres"
49409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49410 break 2
49411 fi
49412 done
49413 done
49414 IFS=$as_save_IFS
49415
49416 fi
49417 fi
49418 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49419 if test -n "$ac_ct_WINDRES"; then
49420 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49421 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49422 else
49423 { echo "$as_me:$LINENO: result: no" >&5
49424 echo "${ECHO_T}no" >&6; }
49425 fi
49426
49427 if test "x$ac_ct_WINDRES" = x; then
49428 WINDRES=""
49429 else
49430 case $cross_compiling:$ac_tool_warned in
49431 yes:)
49432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49433 whose name does not start with the host triplet. If you think this
49434 configuration is useful to you, please write to autoconf@gnu.org." >&5
49435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49436 whose name does not start with the host triplet. If you think this
49437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49438 ac_tool_warned=yes ;;
49439 esac
49440 WINDRES=$ac_ct_WINDRES
49441 fi
49442 else
49443 WINDRES="$ac_cv_prog_WINDRES"
49444 fi
49445
49446 ;;
49447
49448 *-*-darwin* | powerpc-apple-macos* )
49449 # Extract the first word of "Rez", so it can be a program name with args.
49450 set dummy Rez; ac_word=$2
49451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49453 if test "${ac_cv_prog_REZ+set}" = set; then
49454 echo $ECHO_N "(cached) $ECHO_C" >&6
49455 else
49456 if test -n "$REZ"; then
49457 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49458 else
49459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49460 for as_dir in $PATH
49461 do
49462 IFS=$as_save_IFS
49463 test -z "$as_dir" && as_dir=.
49464 for ac_exec_ext in '' $ac_executable_extensions; do
49465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49466 ac_cv_prog_REZ="Rez"
49467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49468 break 2
49469 fi
49470 done
49471 done
49472 IFS=$as_save_IFS
49473
49474 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49475 fi
49476 fi
49477 REZ=$ac_cv_prog_REZ
49478 if test -n "$REZ"; then
49479 { echo "$as_me:$LINENO: result: $REZ" >&5
49480 echo "${ECHO_T}$REZ" >&6; }
49481 else
49482 { echo "$as_me:$LINENO: result: no" >&5
49483 echo "${ECHO_T}no" >&6; }
49484 fi
49485
49486
49487 # Extract the first word of "SetFile", so it can be a program name with args.
49488 set dummy SetFile; ac_word=$2
49489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49491 if test "${ac_cv_prog_SETFILE+set}" = set; then
49492 echo $ECHO_N "(cached) $ECHO_C" >&6
49493 else
49494 if test -n "$SETFILE"; then
49495 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49496 else
49497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49498 for as_dir in $PATH
49499 do
49500 IFS=$as_save_IFS
49501 test -z "$as_dir" && as_dir=.
49502 for ac_exec_ext in '' $ac_executable_extensions; do
49503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49504 ac_cv_prog_SETFILE="SetFile"
49505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49506 break 2
49507 fi
49508 done
49509 done
49510 IFS=$as_save_IFS
49511
49512 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49513 fi
49514 fi
49515 SETFILE=$ac_cv_prog_SETFILE
49516 if test -n "$SETFILE"; then
49517 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49518 echo "${ECHO_T}$SETFILE" >&6; }
49519 else
49520 { echo "$as_me:$LINENO: result: no" >&5
49521 echo "${ECHO_T}no" >&6; }
49522 fi
49523
49524
49525 ;;
49526 esac
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49537
49538
49539 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49540
49541
49542
49543 # Check whether --enable-precomp-headers was given.
49544 if test "${enable_precomp_headers+set}" = set; then
49545 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49546 fi
49547
49548
49549 GCC_PCH=0
49550 ICC_PCH=0
49551 USE_PCH=0
49552 BK_MAKE_PCH=""
49553
49554 case ${BAKEFILE_HOST} in
49555 *-*-cygwin* )
49556 bk_use_pch="no"
49557 ;;
49558 esac
49559
49560 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49561 if test "x$GCC" = "xyes"; then
49562 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49563 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49564 cat >conftest.$ac_ext <<_ACEOF
49565 /* confdefs.h. */
49566 _ACEOF
49567 cat confdefs.h >>conftest.$ac_ext
49568 cat >>conftest.$ac_ext <<_ACEOF
49569 /* end confdefs.h. */
49570
49571 int
49572 main ()
49573 {
49574
49575 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49576 There is no PCH support
49577 #endif
49578 #if (__GNUC__ < 3)
49579 There is no PCH support
49580 #endif
49581 #if (__GNUC__ == 3) && \
49582 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49583 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49584 ( defined(__INTEL_COMPILER) )
49585 There is no PCH support
49586 #endif
49587
49588 ;
49589 return 0;
49590 }
49591 _ACEOF
49592 rm -f conftest.$ac_objext
49593 if { (ac_try="$ac_compile"
49594 case "(($ac_try" in
49595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49596 *) ac_try_echo=$ac_try;;
49597 esac
49598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49599 (eval "$ac_compile") 2>conftest.er1
49600 ac_status=$?
49601 grep -v '^ *+' conftest.er1 >conftest.err
49602 rm -f conftest.er1
49603 cat conftest.err >&5
49604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49605 (exit $ac_status); } && {
49606 test -z "$ac_c_werror_flag" ||
49607 test ! -s conftest.err
49608 } && test -s conftest.$ac_objext; then
49609
49610 { echo "$as_me:$LINENO: result: yes" >&5
49611 echo "${ECHO_T}yes" >&6; }
49612 GCC_PCH=1
49613
49614 else
49615 echo "$as_me: failed program was:" >&5
49616 sed 's/^/| /' conftest.$ac_ext >&5
49617
49618
49619 if test "$INTELCXX8" = "yes"; then
49620 { echo "$as_me:$LINENO: result: yes" >&5
49621 echo "${ECHO_T}yes" >&6; }
49622 ICC_PCH=1
49623 if test "$INTELCXX10" = "yes"; then
49624 ICC_PCH_CREATE_SWITCH="-pch-create"
49625 ICC_PCH_USE_SWITCH="-pch-use"
49626 else
49627 ICC_PCH_CREATE_SWITCH="-create-pch"
49628 ICC_PCH_USE_SWITCH="-use-pch"
49629 fi
49630 else
49631 { echo "$as_me:$LINENO: result: no" >&5
49632 echo "${ECHO_T}no" >&6; }
49633 fi
49634
49635 fi
49636
49637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49638 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49639 USE_PCH=1
49640
49641 D='$'
49642 cat <<EOF >bk-make-pch
49643 #!/bin/sh
49644
49645 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49646 # script. It is used to generated precompiled headers.
49647 #
49648 # Permission is given to use this file in any way.
49649
49650 outfile="${D}{1}"
49651 header="${D}{2}"
49652 shift
49653 shift
49654
49655 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49656
49657 compiler=""
49658 headerfile=""
49659
49660 while test ${D}{#} -gt 0; do
49661 add_to_cmdline=1
49662 case "${D}{1}" in
49663 -I* )
49664 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49665 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49666 headerfile="${D}{incdir}/${D}{header}"
49667 fi
49668 ;;
49669 -use-pch|-use_pch|-pch-use )
49670 shift
49671 add_to_cmdline=0
49672 ;;
49673 esac
49674 if test ${D}add_to_cmdline = 1 ; then
49675 compiler="${D}{compiler} ${D}{1}"
49676 fi
49677 shift
49678 done
49679
49680 if test "x${D}{headerfile}" = "x" ; then
49681 echo "error: can't find header ${D}{header} in include paths" >&2
49682 else
49683 if test -f ${D}{outfile} ; then
49684 rm -f ${D}{outfile}
49685 else
49686 mkdir -p \`dirname ${D}{outfile}\`
49687 fi
49688 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49689 mkdir -p ${D}{builddir}/.deps
49690 if test "x${GCC_PCH}" = "x1" ; then
49691 # can do this because gcc is >= 3.4:
49692 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49693 elif test "x${ICC_PCH}" = "x1" ; then
49694 filename=pch_gen-${D}${D}
49695 file=${D}{filename}.c
49696 dfile=${D}{filename}.d
49697 cat > ${D}file <<EOT
49698 #include "${D}header"
49699 EOT
49700 # using -MF icc complains about differing command lines in creation/use
49701 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49702 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49703 rm -f ${D}file ${D}dfile ${D}{filename}.o
49704 fi
49705 exit ${D}{?}
49706 fi
49707 EOF
49708
49709 chmod +x bk-make-pch
49710 BK_MAKE_PCH="`pwd`/bk-make-pch"
49711 fi
49712 fi
49713 fi
49714
49715
49716
49717
49718
49719
49720
49721 COND_BUILD_DEBUG="#"
49722 if test "x$BUILD" = "xdebug" ; then
49723 COND_BUILD_DEBUG=""
49724 fi
49725
49726 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49727 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49728 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49729 fi
49730
49731 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49732 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49733 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49734 fi
49735
49736 COND_BUILD_DEBUG_UNICODE_0="#"
49737 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49738 COND_BUILD_DEBUG_UNICODE_0=""
49739 fi
49740
49741 COND_BUILD_DEBUG_UNICODE_1="#"
49742 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49743 COND_BUILD_DEBUG_UNICODE_1=""
49744 fi
49745
49746 COND_BUILD_RELEASE="#"
49747 if test "x$BUILD" = "xrelease" ; then
49748 COND_BUILD_RELEASE=""
49749 fi
49750
49751 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49752 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49753 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49754 fi
49755
49756 COND_BUILD_RELEASE_UNICODE_0="#"
49757 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49758 COND_BUILD_RELEASE_UNICODE_0=""
49759 fi
49760
49761 COND_BUILD_RELEASE_UNICODE_1="#"
49762 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49763 COND_BUILD_RELEASE_UNICODE_1=""
49764 fi
49765
49766 COND_BUILD_debug="#"
49767 if test "x$BUILD" = "xdebug" ; then
49768 COND_BUILD_debug=""
49769 fi
49770
49771 COND_BUILD_debug_DEBUG_FLAG_default="#"
49772 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49773 COND_BUILD_debug_DEBUG_FLAG_default=""
49774 fi
49775
49776 COND_BUILD_debug_DEBUG_INFO_default="#"
49777 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49778 COND_BUILD_debug_DEBUG_INFO_default=""
49779 fi
49780
49781 COND_BUILD_debug_UNICODE_0="#"
49782 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49783 COND_BUILD_debug_UNICODE_0=""
49784 fi
49785
49786 COND_BUILD_debug_UNICODE_1="#"
49787 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49788 COND_BUILD_debug_UNICODE_1=""
49789 fi
49790
49791 COND_BUILD_release="#"
49792 if test "x$BUILD" = "xrelease" ; then
49793 COND_BUILD_release=""
49794 fi
49795
49796 COND_BUILD_release_DEBUG_INFO_default="#"
49797 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49798 COND_BUILD_release_DEBUG_INFO_default=""
49799 fi
49800
49801 COND_BUILD_release_UNICODE_0="#"
49802 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49803 COND_BUILD_release_UNICODE_0=""
49804 fi
49805
49806 COND_BUILD_release_UNICODE_1="#"
49807 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49808 COND_BUILD_release_UNICODE_1=""
49809 fi
49810
49811 COND_DEBUG_FLAG_1="#"
49812 if test "x$DEBUG_FLAG" = "x1" ; then
49813 COND_DEBUG_FLAG_1=""
49814 fi
49815
49816 COND_DEBUG_INFO_0="#"
49817 if test "x$DEBUG_INFO" = "x0" ; then
49818 COND_DEBUG_INFO_0=""
49819 fi
49820
49821 COND_DEBUG_INFO_1="#"
49822 if test "x$DEBUG_INFO" = "x1" ; then
49823 COND_DEBUG_INFO_1=""
49824 fi
49825
49826 COND_DEPS_TRACKING_0="#"
49827 if test "x$DEPS_TRACKING" = "x0" ; then
49828 COND_DEPS_TRACKING_0=""
49829 fi
49830
49831 COND_DEPS_TRACKING_1="#"
49832 if test "x$DEPS_TRACKING" = "x1" ; then
49833 COND_DEPS_TRACKING_1=""
49834 fi
49835
49836 COND_GCC_PCH_1="#"
49837 if test "x$GCC_PCH" = "x1" ; then
49838 COND_GCC_PCH_1=""
49839 fi
49840
49841 COND_ICC_PCH_1="#"
49842 if test "x$ICC_PCH" = "x1" ; then
49843 COND_ICC_PCH_1=""
49844 fi
49845
49846 COND_MONOLITHIC_0="#"
49847 if test "x$MONOLITHIC" = "x0" ; then
49848 COND_MONOLITHIC_0=""
49849 fi
49850
49851 COND_MONOLITHIC_0_SHARED_0="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49853 COND_MONOLITHIC_0_SHARED_0=""
49854 fi
49855
49856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49858 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49859 fi
49860
49861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49864 fi
49865
49866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49869 fi
49870
49871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49874 fi
49875
49876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49879 fi
49880
49881 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49884 fi
49885
49886 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49889 fi
49890
49891 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49894 fi
49895
49896 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49899 fi
49900
49901 COND_MONOLITHIC_0_SHARED_1="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_1=""
49904 fi
49905
49906 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49909 fi
49910
49911 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49914 fi
49915
49916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49919 fi
49920
49921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49924 fi
49925
49926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49929 fi
49930
49931 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49934 fi
49935
49936 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49939 fi
49940
49941 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49944 fi
49945
49946 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49949 fi
49950
49951 COND_MONOLITHIC_0_USE_AUI_1="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49953 COND_MONOLITHIC_0_USE_AUI_1=""
49954 fi
49955
49956 COND_MONOLITHIC_0_USE_GUI_1="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49958 COND_MONOLITHIC_0_USE_GUI_1=""
49959 fi
49960
49961 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49963 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49964 fi
49965
49966 COND_MONOLITHIC_0_USE_HTML_1="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49968 COND_MONOLITHIC_0_USE_HTML_1=""
49969 fi
49970
49971 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49973 COND_MONOLITHIC_0_USE_MEDIA_1=""
49974 fi
49975
49976 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49978 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49979 fi
49980
49981 COND_MONOLITHIC_0_USE_QA_1="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49983 COND_MONOLITHIC_0_USE_QA_1=""
49984 fi
49985
49986 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49988 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49989 fi
49990
49991 COND_MONOLITHIC_0_USE_STC_1="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49993 COND_MONOLITHIC_0_USE_STC_1=""
49994 fi
49995
49996 COND_MONOLITHIC_0_USE_XRC_1="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49998 COND_MONOLITHIC_0_USE_XRC_1=""
49999 fi
50000
50001 COND_MONOLITHIC_1="#"
50002 if test "x$MONOLITHIC" = "x1" ; then
50003 COND_MONOLITHIC_1=""
50004 fi
50005
50006 COND_MONOLITHIC_1_SHARED_0="#"
50007 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50008 COND_MONOLITHIC_1_SHARED_0=""
50009 fi
50010
50011 COND_MONOLITHIC_1_SHARED_1="#"
50012 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50013 COND_MONOLITHIC_1_SHARED_1=""
50014 fi
50015
50016 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50017 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50018 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50019 fi
50020
50021 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50022 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50023 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50024 fi
50025
50026 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50027 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50028 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50029 fi
50030
50031 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50032 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50033 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50034 fi
50035
50036 COND_PLATFORM_MACOSX_1="#"
50037 if test "x$PLATFORM_MACOSX" = "x1" ; then
50038 COND_PLATFORM_MACOSX_1=""
50039 fi
50040
50041 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50043 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50044 fi
50045
50046 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50048 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50049 fi
50050
50051 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50053 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50054 fi
50055
50056 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50059 fi
50060
50061 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50063 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50064 fi
50065
50066 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50068 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50069 fi
50070
50071 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50073 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50074 fi
50075
50076 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50078 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50079 fi
50080
50081 COND_PLATFORM_MACOS_1="#"
50082 if test "x$PLATFORM_MACOS" = "x1" ; then
50083 COND_PLATFORM_MACOS_1=""
50084 fi
50085
50086 COND_PLATFORM_MAC_0="#"
50087 if test "x$PLATFORM_MAC" = "x0" ; then
50088 COND_PLATFORM_MAC_0=""
50089 fi
50090
50091 COND_PLATFORM_MAC_1="#"
50092 if test "x$PLATFORM_MAC" = "x1" ; then
50093 COND_PLATFORM_MAC_1=""
50094 fi
50095
50096 COND_PLATFORM_MSDOS_0="#"
50097 if test "x$PLATFORM_MSDOS" = "x0" ; then
50098 COND_PLATFORM_MSDOS_0=""
50099 fi
50100
50101 COND_PLATFORM_MSDOS_1="#"
50102 if test "x$PLATFORM_MSDOS" = "x1" ; then
50103 COND_PLATFORM_MSDOS_1=""
50104 fi
50105
50106 COND_PLATFORM_OS2_1="#"
50107 if test "x$PLATFORM_OS2" = "x1" ; then
50108 COND_PLATFORM_OS2_1=""
50109 fi
50110
50111 COND_PLATFORM_UNIX_0="#"
50112 if test "x$PLATFORM_UNIX" = "x0" ; then
50113 COND_PLATFORM_UNIX_0=""
50114 fi
50115
50116 COND_PLATFORM_UNIX_1="#"
50117 if test "x$PLATFORM_UNIX" = "x1" ; then
50118 COND_PLATFORM_UNIX_1=""
50119 fi
50120
50121 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50122 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50123 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50124 fi
50125
50126 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50127 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50128 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50129 fi
50130
50131 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50132 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50133 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50134 fi
50135
50136 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50137 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50138 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50139 fi
50140
50141 COND_PLATFORM_WIN32_0="#"
50142 if test "x$PLATFORM_WIN32" = "x0" ; then
50143 COND_PLATFORM_WIN32_0=""
50144 fi
50145
50146 COND_PLATFORM_WIN32_1="#"
50147 if test "x$PLATFORM_WIN32" = "x1" ; then
50148 COND_PLATFORM_WIN32_1=""
50149 fi
50150
50151 COND_SHARED_0="#"
50152 if test "x$SHARED" = "x0" ; then
50153 COND_SHARED_0=""
50154 fi
50155
50156 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50157 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50158 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50159 fi
50160
50161 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50162 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50163 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50164 fi
50165
50166 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50167 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50168 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50169 fi
50170
50171 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50172 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50173 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50174 fi
50175
50176 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50177 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50178 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50179 fi
50180
50181 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50182 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50183 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50184 fi
50185
50186 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50188 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50189 fi
50190
50191 COND_SHARED_0_USE_STC_1="#"
50192 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50193 COND_SHARED_0_USE_STC_1=""
50194 fi
50195
50196 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50197 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50198 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50199 fi
50200
50201 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50202 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50203 COND_SHARED_0_wxUSE_REGEX_builtin=""
50204 fi
50205
50206 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50207 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50208 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50209 fi
50210
50211 COND_SHARED_1="#"
50212 if test "x$SHARED" = "x1" ; then
50213 COND_SHARED_1=""
50214 fi
50215
50216 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50217 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50218 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50219 fi
50220
50221 COND_TOOLKIT_="#"
50222 if test "x$TOOLKIT" = "x" ; then
50223 COND_TOOLKIT_=""
50224 fi
50225
50226 COND_TOOLKIT_COCOA="#"
50227 if test "x$TOOLKIT" = "xCOCOA" ; then
50228 COND_TOOLKIT_COCOA=""
50229 fi
50230
50231 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50232 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50233 COND_TOOLKIT_COCOA_USE_GUI_1=""
50234 fi
50235
50236 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50237 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50238 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50239 fi
50240
50241 COND_TOOLKIT_DFB="#"
50242 if test "x$TOOLKIT" = "xDFB" ; then
50243 COND_TOOLKIT_DFB=""
50244 fi
50245
50246 COND_TOOLKIT_DFB_USE_GUI_1="#"
50247 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50248 COND_TOOLKIT_DFB_USE_GUI_1=""
50249 fi
50250
50251 COND_TOOLKIT_GTK="#"
50252 if test "x$TOOLKIT" = "xGTK" ; then
50253 COND_TOOLKIT_GTK=""
50254 fi
50255
50256 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50257 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50258 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50259 fi
50260
50261 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50262 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50263 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50264 fi
50265
50266 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50267 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50268 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50269 fi
50270
50271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50272 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50274 fi
50275
50276 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50277 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50278 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50279 fi
50280
50281 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50282 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50283 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50284 fi
50285
50286 COND_TOOLKIT_GTK_USE_GUI_1="#"
50287 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_GTK_USE_GUI_1=""
50289 fi
50290
50291 COND_TOOLKIT_MAC="#"
50292 if test "x$TOOLKIT" = "xMAC" ; then
50293 COND_TOOLKIT_MAC=""
50294 fi
50295
50296 COND_TOOLKIT_MGL="#"
50297 if test "x$TOOLKIT" = "xMGL" ; then
50298 COND_TOOLKIT_MGL=""
50299 fi
50300
50301 COND_TOOLKIT_MGL_USE_GUI_1="#"
50302 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50303 COND_TOOLKIT_MGL_USE_GUI_1=""
50304 fi
50305
50306 COND_TOOLKIT_MOTIF="#"
50307 if test "x$TOOLKIT" = "xMOTIF" ; then
50308 COND_TOOLKIT_MOTIF=""
50309 fi
50310
50311 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50312 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50314 fi
50315
50316 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50317 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50318 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50319 fi
50320
50321 COND_TOOLKIT_MSW="#"
50322 if test "x$TOOLKIT" = "xMSW" ; then
50323 COND_TOOLKIT_MSW=""
50324 fi
50325
50326 COND_TOOLKIT_MSW_USE_GUI_1="#"
50327 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50328 COND_TOOLKIT_MSW_USE_GUI_1=""
50329 fi
50330
50331 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50332 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50333 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50334 fi
50335
50336 COND_TOOLKIT_MSW_WXUNIV_0="#"
50337 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50338 COND_TOOLKIT_MSW_WXUNIV_0=""
50339 fi
50340
50341 COND_TOOLKIT_OSX_CARBON="#"
50342 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50343 COND_TOOLKIT_OSX_CARBON=""
50344 fi
50345
50346 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50347 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50348 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50349 fi
50350
50351 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50352 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50353 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50354 fi
50355
50356 COND_TOOLKIT_OSX_COCOA="#"
50357 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50358 COND_TOOLKIT_OSX_COCOA=""
50359 fi
50360
50361 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50362 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50363 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50364 fi
50365
50366 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50367 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50368 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50369 fi
50370
50371 COND_TOOLKIT_OSX_IPHONE="#"
50372 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50373 COND_TOOLKIT_OSX_IPHONE=""
50374 fi
50375
50376 COND_TOOLKIT_PM="#"
50377 if test "x$TOOLKIT" = "xPM" ; then
50378 COND_TOOLKIT_PM=""
50379 fi
50380
50381 COND_TOOLKIT_PM_USE_GUI_1="#"
50382 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50383 COND_TOOLKIT_PM_USE_GUI_1=""
50384 fi
50385
50386 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50387 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50388 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50389 fi
50390
50391 COND_TOOLKIT_WINCE="#"
50392 if test "x$TOOLKIT" = "xWINCE" ; then
50393 COND_TOOLKIT_WINCE=""
50394 fi
50395
50396 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50397 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50398 COND_TOOLKIT_WINCE_USE_GUI_1=""
50399 fi
50400
50401 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50402 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50403 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50404 fi
50405
50406 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50407 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50408 COND_TOOLKIT_WINCE_WXUNIV_0=""
50409 fi
50410
50411 COND_TOOLKIT_X11="#"
50412 if test "x$TOOLKIT" = "xX11" ; then
50413 COND_TOOLKIT_X11=""
50414 fi
50415
50416 COND_TOOLKIT_X11_USE_GUI_1="#"
50417 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50418 COND_TOOLKIT_X11_USE_GUI_1=""
50419 fi
50420
50421 COND_UNICODE_1="#"
50422 if test "x$UNICODE" = "x1" ; then
50423 COND_UNICODE_1=""
50424 fi
50425
50426 COND_USE_EXCEPTIONS_0="#"
50427 if test "x$USE_EXCEPTIONS" = "x0" ; then
50428 COND_USE_EXCEPTIONS_0=""
50429 fi
50430
50431 COND_USE_EXCEPTIONS_1="#"
50432 if test "x$USE_EXCEPTIONS" = "x1" ; then
50433 COND_USE_EXCEPTIONS_1=""
50434 fi
50435
50436 COND_USE_GUI_0="#"
50437 if test "x$USE_GUI" = "x0" ; then
50438 COND_USE_GUI_0=""
50439 fi
50440
50441 COND_USE_GUI_1="#"
50442 if test "x$USE_GUI" = "x1" ; then
50443 COND_USE_GUI_1=""
50444 fi
50445
50446 COND_USE_GUI_1_USE_OPENGL_1="#"
50447 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50448 COND_USE_GUI_1_USE_OPENGL_1=""
50449 fi
50450
50451 COND_USE_GUI_1_WXUNIV_0="#"
50452 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50453 COND_USE_GUI_1_WXUNIV_0=""
50454 fi
50455
50456 COND_USE_GUI_1_WXUNIV_1="#"
50457 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50458 COND_USE_GUI_1_WXUNIV_1=""
50459 fi
50460
50461 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50462 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50463 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50464 fi
50465
50466 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50467 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50468 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50469 fi
50470
50471 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50472 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50473 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50474 fi
50475
50476 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50477 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50478 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50479 fi
50480
50481 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50482 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50483 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50484 fi
50485
50486 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50487 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50488 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50489 fi
50490
50491 COND_USE_OPENGL_1="#"
50492 if test "x$USE_OPENGL" = "x1" ; then
50493 COND_USE_OPENGL_1=""
50494 fi
50495
50496 COND_USE_PCH_1="#"
50497 if test "x$USE_PCH" = "x1" ; then
50498 COND_USE_PCH_1=""
50499 fi
50500
50501 COND_USE_PLUGINS_0="#"
50502 if test "x$USE_PLUGINS" = "x0" ; then
50503 COND_USE_PLUGINS_0=""
50504 fi
50505
50506 COND_USE_RTTI_0="#"
50507 if test "x$USE_RTTI" = "x0" ; then
50508 COND_USE_RTTI_0=""
50509 fi
50510
50511 COND_USE_RTTI_1="#"
50512 if test "x$USE_RTTI" = "x1" ; then
50513 COND_USE_RTTI_1=""
50514 fi
50515
50516 COND_USE_SOSYMLINKS_1="#"
50517 if test "x$USE_SOSYMLINKS" = "x1" ; then
50518 COND_USE_SOSYMLINKS_1=""
50519 fi
50520
50521 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50522 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50523 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50524 fi
50525
50526 COND_USE_SOVERLINUX_1="#"
50527 if test "x$USE_SOVERLINUX" = "x1" ; then
50528 COND_USE_SOVERLINUX_1=""
50529 fi
50530
50531 COND_USE_SOVERSION_0="#"
50532 if test "x$USE_SOVERSION" = "x0" ; then
50533 COND_USE_SOVERSION_0=""
50534 fi
50535
50536 COND_USE_SOVERSOLARIS_1="#"
50537 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50538 COND_USE_SOVERSOLARIS_1=""
50539 fi
50540
50541 COND_USE_STC_1="#"
50542 if test "x$USE_STC" = "x1" ; then
50543 COND_USE_STC_1=""
50544 fi
50545
50546 COND_USE_THREADS_0="#"
50547 if test "x$USE_THREADS" = "x0" ; then
50548 COND_USE_THREADS_0=""
50549 fi
50550
50551 COND_USE_THREADS_1="#"
50552 if test "x$USE_THREADS" = "x1" ; then
50553 COND_USE_THREADS_1=""
50554 fi
50555
50556 COND_USE_XRC_1="#"
50557 if test "x$USE_XRC" = "x1" ; then
50558 COND_USE_XRC_1=""
50559 fi
50560
50561 COND_WINDOWS_IMPLIB_1="#"
50562 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50563 COND_WINDOWS_IMPLIB_1=""
50564 fi
50565
50566 COND_WITH_PLUGIN_SDL_1="#"
50567 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50568 COND_WITH_PLUGIN_SDL_1=""
50569 fi
50570
50571 COND_WXUNIV_0="#"
50572 if test "x$WXUNIV" = "x0" ; then
50573 COND_WXUNIV_0=""
50574 fi
50575
50576 COND_WXUNIV_1="#"
50577 if test "x$WXUNIV" = "x1" ; then
50578 COND_WXUNIV_1=""
50579 fi
50580
50581 COND_WXUSE_EXPAT_BUILTIN="#"
50582 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50583 COND_WXUSE_EXPAT_BUILTIN=""
50584 fi
50585
50586 COND_WXUSE_LIBJPEG_BUILTIN="#"
50587 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50588 COND_WXUSE_LIBJPEG_BUILTIN=""
50589 fi
50590
50591 COND_WXUSE_LIBPNG_BUILTIN="#"
50592 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50593 COND_WXUSE_LIBPNG_BUILTIN=""
50594 fi
50595
50596 COND_WXUSE_LIBTIFF_BUILTIN="#"
50597 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50598 COND_WXUSE_LIBTIFF_BUILTIN=""
50599 fi
50600
50601 COND_WXUSE_REGEX_BUILTIN="#"
50602 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50603 COND_WXUSE_REGEX_BUILTIN=""
50604 fi
50605
50606 COND_WXUSE_ZLIB_BUILTIN="#"
50607 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50608 COND_WXUSE_ZLIB_BUILTIN=""
50609 fi
50610
50611 COND_wxUSE_EXPAT_builtin="#"
50612 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50613 COND_wxUSE_EXPAT_builtin=""
50614 fi
50615
50616 COND_wxUSE_LIBJPEG_builtin="#"
50617 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50618 COND_wxUSE_LIBJPEG_builtin=""
50619 fi
50620
50621 COND_wxUSE_LIBPNG_builtin="#"
50622 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50623 COND_wxUSE_LIBPNG_builtin=""
50624 fi
50625
50626 COND_wxUSE_LIBTIFF_builtin="#"
50627 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50628 COND_wxUSE_LIBTIFF_builtin=""
50629 fi
50630
50631 COND_wxUSE_REGEX_builtin="#"
50632 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50633 COND_wxUSE_REGEX_builtin=""
50634 fi
50635
50636 COND_wxUSE_ZLIB_builtin="#"
50637 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50638 COND_wxUSE_ZLIB_builtin=""
50639 fi
50640
50641
50642
50643 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50644 { { 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
50645 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;}
50646 { (exit 1); exit 1; }; }
50647 fi
50648
50649 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50650 { { 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
50651 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;}
50652 { (exit 1); exit 1; }; }
50653 fi
50654
50655
50656 case ${INSTALL} in
50657 /* ) # Absolute
50658 ;;
50659 ?:* ) # Drive letter, considered as absolute.
50660 ;;
50661 *)
50662 INSTALL=`pwd`/${INSTALL} ;;
50663 esac
50664
50665 if test "$wxUSE_GUI" = "yes"; then
50666
50667 if test "$wxUSE_MSW" = 1 ; then
50668 if test "x$WINDRES" = "x"; then
50669 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50670 echo "$as_me: error: Required windres program not found" >&2;}
50671 { (exit 1); exit 1; }; }
50672 fi
50673
50674 RESCOMP="$WINDRES"
50675 fi
50676
50677 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50678 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50679 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50680
50681 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50682
50683 # Extract the first word of "DeRez", so it can be a program name with args.
50684 set dummy DeRez; ac_word=$2
50685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50687 if test "${ac_cv_prog_DEREZ+set}" = set; then
50688 echo $ECHO_N "(cached) $ECHO_C" >&6
50689 else
50690 if test -n "$DEREZ"; then
50691 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50692 else
50693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50694 for as_dir in $PATH
50695 do
50696 IFS=$as_save_IFS
50697 test -z "$as_dir" && as_dir=.
50698 for ac_exec_ext in '' $ac_executable_extensions; do
50699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50700 ac_cv_prog_DEREZ="DeRez"
50701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50702 break 2
50703 fi
50704 done
50705 done
50706 IFS=$as_save_IFS
50707
50708 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50709 fi
50710 fi
50711 DEREZ=$ac_cv_prog_DEREZ
50712 if test -n "$DEREZ"; then
50713 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50714 echo "${ECHO_T}$DEREZ" >&6; }
50715 else
50716 { echo "$as_me:$LINENO: result: no" >&5
50717 echo "${ECHO_T}no" >&6; }
50718 fi
50719
50720
50721
50722 MACSETFILE="\$(SETFILE)"
50723
50724 if test "$wxUSE_OSX_CARBON" = 1; then
50725 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50726 RESCOMP="$REZ"
50727 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50728 else
50729 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50730 RESCOMP="cat /dev/null \| $REZ"
50731 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50732 fi
50733
50734 else
50735 MACSETFILE="@true"
50736
50737 if test "$wxUSE_PM" = 1; then
50738 RESCOMP="emxbind"
50739 WXCONFIG_RESFLAGS="-ep"
50740
50741 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50742 else
50743 POSTLINK_COMMAND="@true"
50744 fi
50745 fi
50746
50747 fi
50748
50749
50750 if test $GCC_PCH = 1
50751 then
50752 if test "$wx_cv_gcc_pch_bug" = yes; then
50753 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50754 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50755 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50756 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50757 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50758 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50759 fi
50760
50761 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50762 # the headers that benefit from precompilation are mostly C++ headers.
50763 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50764 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50765 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50766 fi
50767
50768
50769 if test "$wxUSE_MAC" = 1 ; then
50770 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50771 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50772 mv temp bk-deps
50773 chmod +x bk-deps
50774 fi
50775 fi
50776
50777 if test "$wxUSE_SHARED" = "yes"; then
50778 case "${host}" in
50779 *-pc-os2_emx | *-pc-os2-emx )
50780 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50781 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50782 cp -p ${srcdir}/src/os2/dllnames.sh .
50783 cp -p ${srcdir}/src/os2/dllar.sh .
50784 ;;
50785 esac
50786 fi
50787 if test "$wxUSE_OMF" = "yes"; then
50788 case "${host}" in
50789 *-pc-os2_emx | *-pc-os2-emx )
50790 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50791 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50792 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50793 ;;
50794 esac
50795 fi
50796
50797 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50798
50799
50800 case "${host}" in
50801 *-*-solaris2* )
50802 if test "$GCC" = yes; then
50803 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50804 LIBS=`echo $LIBS | sed 's/-mt//'`
50805 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50806 fi
50807 ;;
50808
50809 *-*-linux* )
50810 if test "x$SUNCXX" = xyes; then
50811 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50812 LIBS=`echo $LIBS | sed 's/-pthread//'`
50813 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50814 fi
50815 ;;
50816 esac
50817
50818 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50819 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50820 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50821 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50822
50823 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50885 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50886 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50887 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50888 echo $ECHO_N "(cached) $ECHO_C" >&6
50889 else
50890 cat >conftest.make <<\_ACEOF
50891 SHELL = /bin/sh
50892 all:
50893 @echo '@@@%%%=$(MAKE)=@@@%%%'
50894 _ACEOF
50895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50896 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50897 *@@@%%%=?*=@@@%%%*)
50898 eval ac_cv_prog_make_${ac_make}_set=yes;;
50899 *)
50900 eval ac_cv_prog_make_${ac_make}_set=no;;
50901 esac
50902 rm -f conftest.make
50903 fi
50904 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50905 { echo "$as_me:$LINENO: result: yes" >&5
50906 echo "${ECHO_T}yes" >&6; }
50907 SET_MAKE=
50908 else
50909 { echo "$as_me:$LINENO: result: no" >&5
50910 echo "${ECHO_T}no" >&6; }
50911 SET_MAKE="MAKE=${MAKE-make}"
50912 fi
50913
50914
50915
50916 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50917
50918
50919 if test "$USE_WIN32" = 1; then
50920 ac_config_commands="$ac_config_commands
50921 rcdefs.h
50922 "
50923
50924 fi
50925
50926 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50927
50928
50929 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50930
50931
50932 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50933
50934
50935 if test "$wx_cv_version_script" = "yes"; then
50936 ac_config_files="$ac_config_files version-script"
50937
50938 fi
50939 ac_config_files="$ac_config_files Makefile"
50940
50941
50942 ac_config_commands="$ac_config_commands wx-config"
50943
50944
50945
50946 if test "$wxWITH_SUBDIRS" != "no"; then
50947 if test "$wxUSE_GUI" = "yes"; then
50948 SUBDIRS="samples demos utils"
50949 else
50950 SUBDIRS="samples utils"
50951 fi
50952
50953
50954
50955 # Check whether --with-cppunit-prefix was given.
50956 if test "${with_cppunit_prefix+set}" = set; then
50957 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50958 else
50959 cppunit_config_prefix=""
50960 fi
50961
50962
50963 # Check whether --with-cppunit-exec-prefix was given.
50964 if test "${with_cppunit_exec_prefix+set}" = set; then
50965 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50966 else
50967 cppunit_config_exec_prefix=""
50968 fi
50969
50970
50971 if test x$cppunit_config_exec_prefix != x ; then
50972 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50973 if test x${CPPUNIT_CONFIG+set} != xset ; then
50974 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50975 fi
50976 fi
50977 if test x$cppunit_config_prefix != x ; then
50978 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50979 if test x${CPPUNIT_CONFIG+set} != xset ; then
50980 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50981 fi
50982 fi
50983
50984 # Extract the first word of "cppunit-config", so it can be a program name with args.
50985 set dummy cppunit-config; ac_word=$2
50986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50988 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50989 echo $ECHO_N "(cached) $ECHO_C" >&6
50990 else
50991 case $CPPUNIT_CONFIG in
50992 [\\/]* | ?:[\\/]*)
50993 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50994 ;;
50995 *)
50996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50997 for as_dir in $PATH
50998 do
50999 IFS=$as_save_IFS
51000 test -z "$as_dir" && as_dir=.
51001 for ac_exec_ext in '' $ac_executable_extensions; do
51002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51003 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51005 break 2
51006 fi
51007 done
51008 done
51009 IFS=$as_save_IFS
51010
51011 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51012 ;;
51013 esac
51014 fi
51015 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51016 if test -n "$CPPUNIT_CONFIG"; then
51017 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51018 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51019 else
51020 { echo "$as_me:$LINENO: result: no" >&5
51021 echo "${ECHO_T}no" >&6; }
51022 fi
51023
51024
51025 cppunit_version_min=1.8.0
51026
51027 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51028 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51029 no_cppunit=""
51030 if test "$CPPUNIT_CONFIG" = "no" ; then
51031 { echo "$as_me:$LINENO: result: no" >&5
51032 echo "${ECHO_T}no" >&6; }
51033 no_cppunit=yes
51034 else
51035 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51036 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51037 cppunit_version=`$CPPUNIT_CONFIG --version`
51038
51039 cppunit_major_version=`echo $cppunit_version | \
51040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51041 cppunit_minor_version=`echo $cppunit_version | \
51042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51043 cppunit_micro_version=`echo $cppunit_version | \
51044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51045
51046 cppunit_major_min=`echo $cppunit_version_min | \
51047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51048 cppunit_minor_min=`echo $cppunit_version_min | \
51049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51050 cppunit_micro_min=`echo $cppunit_version_min | \
51051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51052
51053 cppunit_version_proper=`expr \
51054 $cppunit_major_version \> $cppunit_major_min \| \
51055 $cppunit_major_version \= $cppunit_major_min \& \
51056 $cppunit_minor_version \> $cppunit_minor_min \| \
51057 $cppunit_major_version \= $cppunit_major_min \& \
51058 $cppunit_minor_version \= $cppunit_minor_min \& \
51059 $cppunit_micro_version \>= $cppunit_micro_min `
51060
51061 if test "$cppunit_version_proper" = "1" ; then
51062 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51063 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51064 else
51065 { echo "$as_me:$LINENO: result: no" >&5
51066 echo "${ECHO_T}no" >&6; }
51067 no_cppunit=yes
51068 fi
51069 fi
51070
51071 if test "x$no_cppunit" = x ; then
51072 SUBDIRS="$SUBDIRS tests"
51073 else
51074 CPPUNIT_CFLAGS=""
51075 CPPUNIT_LIBS=""
51076 :
51077 fi
51078
51079
51080
51081
51082
51083 for subdir in $SUBDIRS; do
51084 if test -d ${srcdir}/${subdir} ; then
51085 if test "$wxUSE_GUI" = "yes"; then
51086 if test ${subdir} = "samples"; then
51087 makefiles="samples/Makefile.in $makefiles"
51088 for sample in $SAMPLES_SUBDIRS; do
51089 if test -d $srcdir/samples/$sample; then
51090 makefiles="samples/$sample/Makefile.in $makefiles"
51091 fi
51092 done
51093 else
51094 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51095 eval "disabled=\$$disabled_var"
51096 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51097 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51098 fi
51099 else
51100 if test ${subdir} = "samples"; then
51101 makefiles="samples/Makefile.in $makefiles"
51102 for sample in `echo $SAMPLES_SUBDIRS`; do
51103 if test -d $srcdir/samples/$sample; then
51104 makefiles="samples/$sample/Makefile.in $makefiles"
51105 fi
51106 done
51107 elif test ${subdir} = "utils"; then
51108 makefiles=""
51109 for util in ifacecheck ; do
51110 if test -d $srcdir/utils/$util ; then
51111 makefiles="utils/$util/src/Makefile.in \
51112 $makefiles"
51113 fi
51114 done
51115 else
51116 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51117 fi
51118 fi
51119
51120 for mkin in $makefiles ; do
51121 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51122 ac_config_files="$ac_config_files $mk"
51123
51124 done
51125 fi
51126 done
51127 fi
51128 cat >confcache <<\_ACEOF
51129 # This file is a shell script that caches the results of configure
51130 # tests run on this system so they can be shared between configure
51131 # scripts and configure runs, see configure's option --config-cache.
51132 # It is not useful on other systems. If it contains results you don't
51133 # want to keep, you may remove or edit it.
51134 #
51135 # config.status only pays attention to the cache file if you give it
51136 # the --recheck option to rerun configure.
51137 #
51138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51140 # following values.
51141
51142 _ACEOF
51143
51144 # The following way of writing the cache mishandles newlines in values,
51145 # but we know of no workaround that is simple, portable, and efficient.
51146 # So, we kill variables containing newlines.
51147 # Ultrix sh set writes to stderr and can't be redirected directly,
51148 # and sets the high bit in the cache file unless we assign to the vars.
51149 (
51150 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51151 eval ac_val=\$$ac_var
51152 case $ac_val in #(
51153 *${as_nl}*)
51154 case $ac_var in #(
51155 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51157 esac
51158 case $ac_var in #(
51159 _ | IFS | as_nl) ;; #(
51160 *) $as_unset $ac_var ;;
51161 esac ;;
51162 esac
51163 done
51164
51165 (set) 2>&1 |
51166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51167 *${as_nl}ac_space=\ *)
51168 # `set' does not quote correctly, so add quotes (double-quote
51169 # substitution turns \\\\ into \\, and sed turns \\ into \).
51170 sed -n \
51171 "s/'/'\\\\''/g;
51172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51173 ;; #(
51174 *)
51175 # `set' quotes correctly as required by POSIX, so do not add quotes.
51176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51177 ;;
51178 esac |
51179 sort
51180 ) |
51181 sed '
51182 /^ac_cv_env_/b end
51183 t clear
51184 :clear
51185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51186 t end
51187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51188 :end' >>confcache
51189 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51190 if test -w "$cache_file"; then
51191 test "x$cache_file" != "x/dev/null" &&
51192 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51193 echo "$as_me: updating cache $cache_file" >&6;}
51194 cat confcache >$cache_file
51195 else
51196 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51197 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51198 fi
51199 fi
51200 rm -f confcache
51201
51202 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51203 # Let make expand exec_prefix.
51204 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51205
51206 DEFS=-DHAVE_CONFIG_H
51207
51208 ac_libobjs=
51209 ac_ltlibobjs=
51210 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51211 # 1. Remove the extension, and $U if already installed.
51212 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51213 ac_i=`echo "$ac_i" | sed "$ac_script"`
51214 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51215 # will be set to the directory where LIBOBJS objects are built.
51216 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51217 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51218 done
51219 LIBOBJS=$ac_libobjs
51220
51221 LTLIBOBJS=$ac_ltlibobjs
51222
51223
51224
51225 : ${CONFIG_STATUS=./config.status}
51226 ac_clean_files_save=$ac_clean_files
51227 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51228 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51229 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51230 cat >$CONFIG_STATUS <<_ACEOF
51231 #! $SHELL
51232 # Generated by $as_me.
51233 # Run this file to recreate the current configuration.
51234 # Compiler output produced by configure, useful for debugging
51235 # configure, is in config.log if it exists.
51236
51237 debug=false
51238 ac_cs_recheck=false
51239 ac_cs_silent=false
51240 SHELL=\${CONFIG_SHELL-$SHELL}
51241 _ACEOF
51242
51243 cat >>$CONFIG_STATUS <<\_ACEOF
51244 ## --------------------- ##
51245 ## M4sh Initialization. ##
51246 ## --------------------- ##
51247
51248 # Be more Bourne compatible
51249 DUALCASE=1; export DUALCASE # for MKS sh
51250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51251 emulate sh
51252 NULLCMD=:
51253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51254 # is contrary to our usage. Disable this feature.
51255 alias -g '${1+"$@"}'='"$@"'
51256 setopt NO_GLOB_SUBST
51257 else
51258 case `(set -o) 2>/dev/null` in
51259 *posix*) set -o posix ;;
51260 esac
51261
51262 fi
51263
51264
51265
51266
51267 # PATH needs CR
51268 # Avoid depending upon Character Ranges.
51269 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51270 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51271 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51272 as_cr_digits='0123456789'
51273 as_cr_alnum=$as_cr_Letters$as_cr_digits
51274
51275 # The user is always right.
51276 if test "${PATH_SEPARATOR+set}" != set; then
51277 echo "#! /bin/sh" >conf$$.sh
51278 echo "exit 0" >>conf$$.sh
51279 chmod +x conf$$.sh
51280 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51281 PATH_SEPARATOR=';'
51282 else
51283 PATH_SEPARATOR=:
51284 fi
51285 rm -f conf$$.sh
51286 fi
51287
51288 # Support unset when possible.
51289 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51290 as_unset=unset
51291 else
51292 as_unset=false
51293 fi
51294
51295
51296 # IFS
51297 # We need space, tab and new line, in precisely that order. Quoting is
51298 # there to prevent editors from complaining about space-tab.
51299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51300 # splitting by setting IFS to empty value.)
51301 as_nl='
51302 '
51303 IFS=" "" $as_nl"
51304
51305 # Find who we are. Look in the path if we contain no directory separator.
51306 case $0 in
51307 *[\\/]* ) as_myself=$0 ;;
51308 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51309 for as_dir in $PATH
51310 do
51311 IFS=$as_save_IFS
51312 test -z "$as_dir" && as_dir=.
51313 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51314 done
51315 IFS=$as_save_IFS
51316
51317 ;;
51318 esac
51319 # We did not find ourselves, most probably we were run as `sh COMMAND'
51320 # in which case we are not to be found in the path.
51321 if test "x$as_myself" = x; then
51322 as_myself=$0
51323 fi
51324 if test ! -f "$as_myself"; then
51325 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51326 { (exit 1); exit 1; }
51327 fi
51328
51329 # Work around bugs in pre-3.0 UWIN ksh.
51330 for as_var in ENV MAIL MAILPATH
51331 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51332 done
51333 PS1='$ '
51334 PS2='> '
51335 PS4='+ '
51336
51337 # NLS nuisances.
51338 for as_var in \
51339 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51340 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51341 LC_TELEPHONE LC_TIME
51342 do
51343 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51344 eval $as_var=C; export $as_var
51345 else
51346 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51347 fi
51348 done
51349
51350 # Required to use basename.
51351 if expr a : '\(a\)' >/dev/null 2>&1 &&
51352 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51353 as_expr=expr
51354 else
51355 as_expr=false
51356 fi
51357
51358 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51359 as_basename=basename
51360 else
51361 as_basename=false
51362 fi
51363
51364
51365 # Name of the executable.
51366 as_me=`$as_basename -- "$0" ||
51367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51368 X"$0" : 'X\(//\)$' \| \
51369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51370 echo X/"$0" |
51371 sed '/^.*\/\([^/][^/]*\)\/*$/{
51372 s//\1/
51373 q
51374 }
51375 /^X\/\(\/\/\)$/{
51376 s//\1/
51377 q
51378 }
51379 /^X\/\(\/\).*/{
51380 s//\1/
51381 q
51382 }
51383 s/.*/./; q'`
51384
51385 # CDPATH.
51386 $as_unset CDPATH
51387
51388
51389
51390 as_lineno_1=$LINENO
51391 as_lineno_2=$LINENO
51392 test "x$as_lineno_1" != "x$as_lineno_2" &&
51393 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51394
51395 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51396 # uniformly replaced by the line number. The first 'sed' inserts a
51397 # line-number line after each line using $LINENO; the second 'sed'
51398 # does the real work. The second script uses 'N' to pair each
51399 # line-number line with the line containing $LINENO, and appends
51400 # trailing '-' during substitution so that $LINENO is not a special
51401 # case at line end.
51402 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51403 # scripts with optimization help from Paolo Bonzini. Blame Lee
51404 # E. McMahon (1931-1989) for sed's syntax. :-)
51405 sed -n '
51406 p
51407 /[$]LINENO/=
51408 ' <$as_myself |
51409 sed '
51410 s/[$]LINENO.*/&-/
51411 t lineno
51412 b
51413 :lineno
51414 N
51415 :loop
51416 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51417 t loop
51418 s/-\n.*//
51419 ' >$as_me.lineno &&
51420 chmod +x "$as_me.lineno" ||
51421 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51422 { (exit 1); exit 1; }; }
51423
51424 # Don't try to exec as it changes $[0], causing all sort of problems
51425 # (the dirname of $[0] is not the place where we might find the
51426 # original and so on. Autoconf is especially sensitive to this).
51427 . "./$as_me.lineno"
51428 # Exit status is that of the last command.
51429 exit
51430 }
51431
51432
51433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51434 as_dirname=dirname
51435 else
51436 as_dirname=false
51437 fi
51438
51439 ECHO_C= ECHO_N= ECHO_T=
51440 case `echo -n x` in
51441 -n*)
51442 case `echo 'x\c'` in
51443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51444 *) ECHO_C='\c';;
51445 esac;;
51446 *)
51447 ECHO_N='-n';;
51448 esac
51449
51450 if expr a : '\(a\)' >/dev/null 2>&1 &&
51451 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51452 as_expr=expr
51453 else
51454 as_expr=false
51455 fi
51456
51457 rm -f conf$$ conf$$.exe conf$$.file
51458 if test -d conf$$.dir; then
51459 rm -f conf$$.dir/conf$$.file
51460 else
51461 rm -f conf$$.dir
51462 mkdir conf$$.dir
51463 fi
51464 echo >conf$$.file
51465 if ln -s conf$$.file conf$$ 2>/dev/null; then
51466 as_ln_s='ln -s'
51467 # ... but there are two gotchas:
51468 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51469 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51470 # In both cases, we have to default to `cp -p'.
51471 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51472 as_ln_s='cp -p'
51473 elif ln conf$$.file conf$$ 2>/dev/null; then
51474 as_ln_s=ln
51475 else
51476 as_ln_s='cp -p'
51477 fi
51478 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51479 rmdir conf$$.dir 2>/dev/null
51480
51481 if mkdir -p . 2>/dev/null; then
51482 as_mkdir_p=:
51483 else
51484 test -d ./-p && rmdir ./-p
51485 as_mkdir_p=false
51486 fi
51487
51488 if test -x / >/dev/null 2>&1; then
51489 as_test_x='test -x'
51490 else
51491 if ls -dL / >/dev/null 2>&1; then
51492 as_ls_L_option=L
51493 else
51494 as_ls_L_option=
51495 fi
51496 as_test_x='
51497 eval sh -c '\''
51498 if test -d "$1"; then
51499 test -d "$1/.";
51500 else
51501 case $1 in
51502 -*)set "./$1";;
51503 esac;
51504 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51505 ???[sx]*):;;*)false;;esac;fi
51506 '\'' sh
51507 '
51508 fi
51509 as_executable_p=$as_test_x
51510
51511 # Sed expression to map a string onto a valid CPP name.
51512 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51513
51514 # Sed expression to map a string onto a valid variable name.
51515 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51516
51517
51518 exec 6>&1
51519
51520 # Save the log message, to keep $[0] and so on meaningful, and to
51521 # report actual input values of CONFIG_FILES etc. instead of their
51522 # values after options handling.
51523 ac_log="
51524 This file was extended by wxWidgets $as_me 2.9.0, which was
51525 generated by GNU Autoconf 2.61. Invocation command line was
51526
51527 CONFIG_FILES = $CONFIG_FILES
51528 CONFIG_HEADERS = $CONFIG_HEADERS
51529 CONFIG_LINKS = $CONFIG_LINKS
51530 CONFIG_COMMANDS = $CONFIG_COMMANDS
51531 $ $0 $@
51532
51533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51534 "
51535
51536 _ACEOF
51537
51538 cat >>$CONFIG_STATUS <<_ACEOF
51539 # Files that config.status was made for.
51540 config_files="$ac_config_files"
51541 config_headers="$ac_config_headers"
51542 config_commands="$ac_config_commands"
51543
51544 _ACEOF
51545
51546 cat >>$CONFIG_STATUS <<\_ACEOF
51547 ac_cs_usage="\
51548 \`$as_me' instantiates files from templates according to the
51549 current configuration.
51550
51551 Usage: $0 [OPTIONS] [FILE]...
51552
51553 -h, --help print this help, then exit
51554 -V, --version print version number and configuration settings, then exit
51555 -q, --quiet do not print progress messages
51556 -d, --debug don't remove temporary files
51557 --recheck update $as_me by reconfiguring in the same conditions
51558 --file=FILE[:TEMPLATE]
51559 instantiate the configuration file FILE
51560 --header=FILE[:TEMPLATE]
51561 instantiate the configuration header FILE
51562
51563 Configuration files:
51564 $config_files
51565
51566 Configuration headers:
51567 $config_headers
51568
51569 Configuration commands:
51570 $config_commands
51571
51572 Report bugs to <bug-autoconf@gnu.org>."
51573
51574 _ACEOF
51575 cat >>$CONFIG_STATUS <<_ACEOF
51576 ac_cs_version="\\
51577 wxWidgets config.status 2.9.0
51578 configured by $0, generated by GNU Autoconf 2.61,
51579 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51580
51581 Copyright (C) 2006 Free Software Foundation, Inc.
51582 This config.status script is free software; the Free Software Foundation
51583 gives unlimited permission to copy, distribute and modify it."
51584
51585 ac_pwd='$ac_pwd'
51586 srcdir='$srcdir'
51587 INSTALL='$INSTALL'
51588 _ACEOF
51589
51590 cat >>$CONFIG_STATUS <<\_ACEOF
51591 # If no file are specified by the user, then we need to provide default
51592 # value. By we need to know if files were specified by the user.
51593 ac_need_defaults=:
51594 while test $# != 0
51595 do
51596 case $1 in
51597 --*=*)
51598 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51599 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51600 ac_shift=:
51601 ;;
51602 *)
51603 ac_option=$1
51604 ac_optarg=$2
51605 ac_shift=shift
51606 ;;
51607 esac
51608
51609 case $ac_option in
51610 # Handling of the options.
51611 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51612 ac_cs_recheck=: ;;
51613 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51614 echo "$ac_cs_version"; exit ;;
51615 --debug | --debu | --deb | --de | --d | -d )
51616 debug=: ;;
51617 --file | --fil | --fi | --f )
51618 $ac_shift
51619 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51620 ac_need_defaults=false;;
51621 --header | --heade | --head | --hea )
51622 $ac_shift
51623 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51624 ac_need_defaults=false;;
51625 --he | --h)
51626 # Conflict between --help and --header
51627 { echo "$as_me: error: ambiguous option: $1
51628 Try \`$0 --help' for more information." >&2
51629 { (exit 1); exit 1; }; };;
51630 --help | --hel | -h )
51631 echo "$ac_cs_usage"; exit ;;
51632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51633 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51634 ac_cs_silent=: ;;
51635
51636 # This is an error.
51637 -*) { echo "$as_me: error: unrecognized option: $1
51638 Try \`$0 --help' for more information." >&2
51639 { (exit 1); exit 1; }; } ;;
51640
51641 *) ac_config_targets="$ac_config_targets $1"
51642 ac_need_defaults=false ;;
51643
51644 esac
51645 shift
51646 done
51647
51648 ac_configure_extra_args=
51649
51650 if $ac_cs_silent; then
51651 exec 6>/dev/null
51652 ac_configure_extra_args="$ac_configure_extra_args --silent"
51653 fi
51654
51655 _ACEOF
51656 cat >>$CONFIG_STATUS <<_ACEOF
51657 if \$ac_cs_recheck; then
51658 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51659 CONFIG_SHELL=$SHELL
51660 export CONFIG_SHELL
51661 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51662 fi
51663
51664 _ACEOF
51665 cat >>$CONFIG_STATUS <<\_ACEOF
51666 exec 5>>config.log
51667 {
51668 echo
51669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51670 ## Running $as_me. ##
51671 _ASBOX
51672 echo "$ac_log"
51673 } >&5
51674
51675 _ACEOF
51676 cat >>$CONFIG_STATUS <<_ACEOF
51677 #
51678 # INIT-COMMANDS
51679 #
51680
51681 CPP="$CPP"
51682 infile="$srcdir/include/wx/msw/genrcdefs.h"
51683 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51684
51685
51686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51687 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51688 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51689 LN_S="${LN_S}"
51690
51691
51692 _ACEOF
51693
51694 cat >>$CONFIG_STATUS <<\_ACEOF
51695
51696 # Handling of arguments.
51697 for ac_config_target in $ac_config_targets
51698 do
51699 case $ac_config_target in
51700 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51701 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51702 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51703 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51704 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51705 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51706 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51707 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51708 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51709
51710 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51711 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51712 { (exit 1); exit 1; }; };;
51713 esac
51714 done
51715
51716
51717 # If the user did not use the arguments to specify the items to instantiate,
51718 # then the envvar interface is used. Set only those that are not.
51719 # We use the long form for the default assignment because of an extremely
51720 # bizarre bug on SunOS 4.1.3.
51721 if $ac_need_defaults; then
51722 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51723 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51725 fi
51726
51727 # Have a temporary directory for convenience. Make it in the build tree
51728 # simply because there is no reason against having it here, and in addition,
51729 # creating and moving files from /tmp can sometimes cause problems.
51730 # Hook for its removal unless debugging.
51731 # Note that there is a small window in which the directory will not be cleaned:
51732 # after its creation but before its name has been assigned to `$tmp'.
51733 $debug ||
51734 {
51735 tmp=
51736 trap 'exit_status=$?
51737 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51738 ' 0
51739 trap '{ (exit 1); exit 1; }' 1 2 13 15
51740 }
51741 # Create a (secure) tmp directory for tmp files.
51742
51743 {
51744 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51745 test -n "$tmp" && test -d "$tmp"
51746 } ||
51747 {
51748 tmp=./conf$$-$RANDOM
51749 (umask 077 && mkdir "$tmp")
51750 } ||
51751 {
51752 echo "$me: cannot create a temporary directory in ." >&2
51753 { (exit 1); exit 1; }
51754 }
51755
51756 #
51757 # Set up the sed scripts for CONFIG_FILES section.
51758 #
51759
51760 # No need to generate the scripts if there are no CONFIG_FILES.
51761 # This happens for instance when ./config.status config.h
51762 if test -n "$CONFIG_FILES"; then
51763
51764 _ACEOF
51765
51766
51767
51768 ac_delim='%!_!# '
51769 for ac_last_try in false false false false false :; do
51770 cat >conf$$subs.sed <<_ACEOF
51771 SHELL!$SHELL$ac_delim
51772 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51773 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51774 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51775 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51776 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51777 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51778 exec_prefix!$exec_prefix$ac_delim
51779 prefix!$prefix$ac_delim
51780 program_transform_name!$program_transform_name$ac_delim
51781 bindir!$bindir$ac_delim
51782 sbindir!$sbindir$ac_delim
51783 libexecdir!$libexecdir$ac_delim
51784 datarootdir!$datarootdir$ac_delim
51785 datadir!$datadir$ac_delim
51786 sysconfdir!$sysconfdir$ac_delim
51787 sharedstatedir!$sharedstatedir$ac_delim
51788 localstatedir!$localstatedir$ac_delim
51789 includedir!$includedir$ac_delim
51790 oldincludedir!$oldincludedir$ac_delim
51791 docdir!$docdir$ac_delim
51792 infodir!$infodir$ac_delim
51793 htmldir!$htmldir$ac_delim
51794 dvidir!$dvidir$ac_delim
51795 pdfdir!$pdfdir$ac_delim
51796 psdir!$psdir$ac_delim
51797 libdir!$libdir$ac_delim
51798 localedir!$localedir$ac_delim
51799 mandir!$mandir$ac_delim
51800 DEFS!$DEFS$ac_delim
51801 ECHO_C!$ECHO_C$ac_delim
51802 ECHO_N!$ECHO_N$ac_delim
51803 ECHO_T!$ECHO_T$ac_delim
51804 LIBS!$LIBS$ac_delim
51805 build_alias!$build_alias$ac_delim
51806 host_alias!$host_alias$ac_delim
51807 target_alias!$target_alias$ac_delim
51808 build!$build$ac_delim
51809 build_cpu!$build_cpu$ac_delim
51810 build_vendor!$build_vendor$ac_delim
51811 build_os!$build_os$ac_delim
51812 host!$host$ac_delim
51813 host_cpu!$host_cpu$ac_delim
51814 host_vendor!$host_vendor$ac_delim
51815 host_os!$host_os$ac_delim
51816 target!$target$ac_delim
51817 target_cpu!$target_cpu$ac_delim
51818 target_vendor!$target_vendor$ac_delim
51819 target_os!$target_os$ac_delim
51820 wx_top_builddir!$wx_top_builddir$ac_delim
51821 CC!$CC$ac_delim
51822 CFLAGS!$CFLAGS$ac_delim
51823 LDFLAGS!$LDFLAGS$ac_delim
51824 CPPFLAGS!$CPPFLAGS$ac_delim
51825 ac_ct_CC!$ac_ct_CC$ac_delim
51826 EXEEXT!$EXEEXT$ac_delim
51827 OBJEXT!$OBJEXT$ac_delim
51828 CPP!$CPP$ac_delim
51829 GREP!$GREP$ac_delim
51830 EGREP!$EGREP$ac_delim
51831 CXX!$CXX$ac_delim
51832 CXXFLAGS!$CXXFLAGS$ac_delim
51833 ac_ct_CXX!$ac_ct_CXX$ac_delim
51834 AR!$AR$ac_delim
51835 subdirs!$subdirs$ac_delim
51836 PKG_CONFIG!$PKG_CONFIG$ac_delim
51837 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51838 GTK_LIBS!$GTK_LIBS$ac_delim
51839 GTK_CONFIG!$GTK_CONFIG$ac_delim
51840 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51841 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51842 XMKMF!$XMKMF$ac_delim
51843 X_CFLAGS!$X_CFLAGS$ac_delim
51844 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51845 X_LIBS!$X_LIBS$ac_delim
51846 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51847 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51848 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51849 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51850 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51851 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51852 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51853 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51854 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51855 LIBICONV!$LIBICONV$ac_delim
51856 GXX_VERSION!$GXX_VERSION$ac_delim
51857 SDL_CONFIG!$SDL_CONFIG$ac_delim
51858 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51859 SDL_LIBS!$SDL_LIBS$ac_delim
51860 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51861 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51862 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51863 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51864 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51865 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51866 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51867 HILDON_LIBS!$HILDON_LIBS$ac_delim
51868 _ACEOF
51869
51870 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51871 break
51872 elif $ac_last_try; then
51873 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51874 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51875 { (exit 1); exit 1; }; }
51876 else
51877 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51878 fi
51879 done
51880
51881 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51882 if test -n "$ac_eof"; then
51883 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51884 ac_eof=`expr $ac_eof + 1`
51885 fi
51886
51887 cat >>$CONFIG_STATUS <<_ACEOF
51888 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51889 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51890 _ACEOF
51891 sed '
51892 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51893 s/^/s,@/; s/!/@,|#_!!_#|/
51894 :n
51895 t n
51896 s/'"$ac_delim"'$/,g/; t
51897 s/$/\\/; p
51898 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51899 ' >>$CONFIG_STATUS <conf$$subs.sed
51900 rm -f conf$$subs.sed
51901 cat >>$CONFIG_STATUS <<_ACEOF
51902 CEOF$ac_eof
51903 _ACEOF
51904
51905
51906 ac_delim='%!_!# '
51907 for ac_last_try in false false false false false :; do
51908 cat >conf$$subs.sed <<_ACEOF
51909 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51910 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51911 GST_CFLAGS!$GST_CFLAGS$ac_delim
51912 GST_LIBS!$GST_LIBS$ac_delim
51913 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51914 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51915 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51916 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51917 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51918 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51919 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51920 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51921 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51922 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51923 VENDOR!$VENDOR$ac_delim
51924 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51925 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51926 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51927 WXUNIV!$WXUNIV$ac_delim
51928 MONOLITHIC!$MONOLITHIC$ac_delim
51929 USE_PLUGINS!$USE_PLUGINS$ac_delim
51930 CXXWARNINGS!$CXXWARNINGS$ac_delim
51931 EXTRALIBS!$EXTRALIBS$ac_delim
51932 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51933 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51934 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51935 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51936 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51937 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51938 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51939 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51940 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51941 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51942 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51943 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51944 UNICODE!$UNICODE$ac_delim
51945 BUILD!$BUILD$ac_delim
51946 DEBUG_INFO!$DEBUG_INFO$ac_delim
51947 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51948 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51949 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51950 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51951 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51952 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51953 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51954 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51955 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51956 RANLIB!$RANLIB$ac_delim
51957 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51958 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51959 INSTALL_DATA!$INSTALL_DATA$ac_delim
51960 LN_S!$LN_S$ac_delim
51961 SET_MAKE!$SET_MAKE$ac_delim
51962 MAKE_SET!$MAKE_SET$ac_delim
51963 AROPTIONS!$AROPTIONS$ac_delim
51964 STRIP!$STRIP$ac_delim
51965 NM!$NM$ac_delim
51966 INSTALL_DIR!$INSTALL_DIR$ac_delim
51967 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51968 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51969 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51970 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51971 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51972 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51973 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51974 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51975 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51976 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51977 SO_SUFFIX!$SO_SUFFIX$ac_delim
51978 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51979 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51980 LIBPREFIX!$LIBPREFIX$ac_delim
51981 LIBEXT!$LIBEXT$ac_delim
51982 DLLPREFIX!$DLLPREFIX$ac_delim
51983 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51984 dlldir!$dlldir$ac_delim
51985 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51986 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51987 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51988 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51989 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51990 PIC_FLAG!$PIC_FLAG$ac_delim
51991 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51992 USE_SOVERSION!$USE_SOVERSION$ac_delim
51993 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51994 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51995 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51996 USE_MACVERSION!$USE_MACVERSION$ac_delim
51997 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51998 SONAME_FLAG!$SONAME_FLAG$ac_delim
51999 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52000 BK_DEPS!$BK_DEPS$ac_delim
52001 WINDRES!$WINDRES$ac_delim
52002 REZ!$REZ$ac_delim
52003 SETFILE!$SETFILE$ac_delim
52004 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52005 GCC_PCH!$GCC_PCH$ac_delim
52006 _ACEOF
52007
52008 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52009 break
52010 elif $ac_last_try; then
52011 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52012 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52013 { (exit 1); exit 1; }; }
52014 else
52015 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52016 fi
52017 done
52018
52019 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52020 if test -n "$ac_eof"; then
52021 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52022 ac_eof=`expr $ac_eof + 1`
52023 fi
52024
52025 cat >>$CONFIG_STATUS <<_ACEOF
52026 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52028 _ACEOF
52029 sed '
52030 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52031 s/^/s,@/; s/!/@,|#_!!_#|/
52032 :n
52033 t n
52034 s/'"$ac_delim"'$/,g/; t
52035 s/$/\\/; p
52036 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52037 ' >>$CONFIG_STATUS <conf$$subs.sed
52038 rm -f conf$$subs.sed
52039 cat >>$CONFIG_STATUS <<_ACEOF
52040 CEOF$ac_eof
52041 _ACEOF
52042
52043
52044 ac_delim='%!_!# '
52045 for ac_last_try in false false false false false :; do
52046 cat >conf$$subs.sed <<_ACEOF
52047 ICC_PCH!$ICC_PCH$ac_delim
52048 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52049 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52050 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52051 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52052 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52053 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52054 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52055 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52056 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52057 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52058 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52059 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52060 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52061 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52062 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52063 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52064 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52065 COND_BUILD_release!$COND_BUILD_release$ac_delim
52066 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52067 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52068 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52069 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52070 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52071 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52072 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52073 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52074 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52075 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52076 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52077 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52078 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52079 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52080 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52081 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52082 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52083 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52084 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52085 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52086 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52087 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52088 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52091 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52093 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52094 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52095 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52096 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52097 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52098 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52099 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52100 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52101 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52102 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52103 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52104 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52105 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52106 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52107 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52108 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52109 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52110 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52111 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52112 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52113 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52114 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52115 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52116 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52117 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
52118 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52119 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
52120 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52121 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52122 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52123 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52124 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52125 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52126 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52127 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52128 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52129 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52130 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52131 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52133 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52135 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52136 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52137 COND_SHARED_0!$COND_SHARED_0$ac_delim
52138 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52139 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52140 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52141 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52142 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52143 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52144 _ACEOF
52145
52146 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52147 break
52148 elif $ac_last_try; then
52149 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52150 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52151 { (exit 1); exit 1; }; }
52152 else
52153 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52154 fi
52155 done
52156
52157 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52158 if test -n "$ac_eof"; then
52159 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52160 ac_eof=`expr $ac_eof + 1`
52161 fi
52162
52163 cat >>$CONFIG_STATUS <<_ACEOF
52164 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52166 _ACEOF
52167 sed '
52168 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52169 s/^/s,@/; s/!/@,|#_!!_#|/
52170 :n
52171 t n
52172 s/'"$ac_delim"'$/,g/; t
52173 s/$/\\/; p
52174 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52175 ' >>$CONFIG_STATUS <conf$$subs.sed
52176 rm -f conf$$subs.sed
52177 cat >>$CONFIG_STATUS <<_ACEOF
52178 CEOF$ac_eof
52179 _ACEOF
52180
52181
52182 ac_delim='%!_!# '
52183 for ac_last_try in false false false false false :; do
52184 cat >conf$$subs.sed <<_ACEOF
52185 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52186 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52187 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52188 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52189 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52190 COND_SHARED_1!$COND_SHARED_1$ac_delim
52191 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52192 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52193 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52194 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52195 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52196 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52197 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52198 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52203 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52204 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52205 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52206 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52207 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52208 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52209 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52210 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52211 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52212 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52213 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52214 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52215 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52216 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52217 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52219 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52220 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52221 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52222 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52223 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52224 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52226 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52227 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52228 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52229 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52230 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52231 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52232 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52233 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52234 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52235 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52236 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52237 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52238 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52239 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52240 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52241 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52242 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52243 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52244 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52245 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52246 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52247 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52248 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52249 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52250 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52251 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52252 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52253 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52254 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52255 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52256 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52257 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52258 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52259 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52260 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52261 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52262 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52263 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52264 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52265 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52266 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52267 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52268 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52269 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52270 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52271 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52272 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52273 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52274 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52275 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52276 DEREZ!$DEREZ$ac_delim
52277 SHARED!$SHARED$ac_delim
52278 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52279 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52280 USE_GUI!$USE_GUI$ac_delim
52281 AFMINSTALL!$AFMINSTALL$ac_delim
52282 _ACEOF
52283
52284 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52285 break
52286 elif $ac_last_try; then
52287 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52288 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52289 { (exit 1); exit 1; }; }
52290 else
52291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52292 fi
52293 done
52294
52295 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52296 if test -n "$ac_eof"; then
52297 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52298 ac_eof=`expr $ac_eof + 1`
52299 fi
52300
52301 cat >>$CONFIG_STATUS <<_ACEOF
52302 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52303 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52304 _ACEOF
52305 sed '
52306 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52307 s/^/s,@/; s/!/@,|#_!!_#|/
52308 :n
52309 t n
52310 s/'"$ac_delim"'$/,g/; t
52311 s/$/\\/; p
52312 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52313 ' >>$CONFIG_STATUS <conf$$subs.sed
52314 rm -f conf$$subs.sed
52315 cat >>$CONFIG_STATUS <<_ACEOF
52316 CEOF$ac_eof
52317 _ACEOF
52318
52319
52320 ac_delim='%!_!# '
52321 for ac_last_try in false false false false false :; do
52322 cat >conf$$subs.sed <<_ACEOF
52323 WIN32INSTALL!$WIN32INSTALL$ac_delim
52324 TOOLKIT!$TOOLKIT$ac_delim
52325 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52326 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52327 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52328 cross_compiling!$cross_compiling$ac_delim
52329 WIDGET_SET!$WIDGET_SET$ac_delim
52330 WX_RELEASE!$WX_RELEASE$ac_delim
52331 WX_VERSION!$WX_VERSION$ac_delim
52332 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52333 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52334 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52335 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52336 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52337 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52338 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52339 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52340 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52341 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52342 GUIDIST!$GUIDIST$ac_delim
52343 DISTDIR!$DISTDIR$ac_delim
52344 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52345 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52346 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52347 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52348 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52349 RESCOMP!$RESCOMP$ac_delim
52350 RESFLAGS!$RESFLAGS$ac_delim
52351 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52352 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52353 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52354 LIBWXMACRES!$LIBWXMACRES$ac_delim
52355 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52356 MACSETFILE!$MACSETFILE$ac_delim
52357 GCC!$GCC$ac_delim
52358 DLLTOOL!$DLLTOOL$ac_delim
52359 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52360 LIBOBJS!$LIBOBJS$ac_delim
52361 LTLIBOBJS!$LTLIBOBJS$ac_delim
52362 _ACEOF
52363
52364 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then
52365 break
52366 elif $ac_last_try; then
52367 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52368 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52369 { (exit 1); exit 1; }; }
52370 else
52371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52372 fi
52373 done
52374
52375 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52376 if test -n "$ac_eof"; then
52377 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52378 ac_eof=`expr $ac_eof + 1`
52379 fi
52380
52381 cat >>$CONFIG_STATUS <<_ACEOF
52382 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52383 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52384 _ACEOF
52385 sed '
52386 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52387 s/^/s,@/; s/!/@,|#_!!_#|/
52388 :n
52389 t n
52390 s/'"$ac_delim"'$/,g/; t
52391 s/$/\\/; p
52392 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52393 ' >>$CONFIG_STATUS <conf$$subs.sed
52394 rm -f conf$$subs.sed
52395 cat >>$CONFIG_STATUS <<_ACEOF
52396 :end
52397 s/|#_!!_#|//g
52398 CEOF$ac_eof
52399 _ACEOF
52400
52401
52402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52404 # trailing colons and then remove the whole line if VPATH becomes empty
52405 # (actually we leave an empty line to preserve line numbers).
52406 if test "x$srcdir" = x.; then
52407 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52408 s/:*\$(srcdir):*/:/
52409 s/:*\${srcdir}:*/:/
52410 s/:*@srcdir@:*/:/
52411 s/^\([^=]*=[ ]*\):*/\1/
52412 s/:*$//
52413 s/^[^=]*=[ ]*$//
52414 }'
52415 fi
52416
52417 cat >>$CONFIG_STATUS <<\_ACEOF
52418 fi # test -n "$CONFIG_FILES"
52419
52420
52421 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52422 do
52423 case $ac_tag in
52424 :[FHLC]) ac_mode=$ac_tag; continue;;
52425 esac
52426 case $ac_mode$ac_tag in
52427 :[FHL]*:*);;
52428 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52429 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52430 { (exit 1); exit 1; }; };;
52431 :[FH]-) ac_tag=-:-;;
52432 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52433 esac
52434 ac_save_IFS=$IFS
52435 IFS=:
52436 set x $ac_tag
52437 IFS=$ac_save_IFS
52438 shift
52439 ac_file=$1
52440 shift
52441
52442 case $ac_mode in
52443 :L) ac_source=$1;;
52444 :[FH])
52445 ac_file_inputs=
52446 for ac_f
52447 do
52448 case $ac_f in
52449 -) ac_f="$tmp/stdin";;
52450 *) # Look for the file first in the build tree, then in the source tree
52451 # (if the path is not absolute). The absolute path cannot be DOS-style,
52452 # because $ac_f cannot contain `:'.
52453 test -f "$ac_f" ||
52454 case $ac_f in
52455 [\\/$]*) false;;
52456 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52457 esac ||
52458 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52459 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52460 { (exit 1); exit 1; }; };;
52461 esac
52462 ac_file_inputs="$ac_file_inputs $ac_f"
52463 done
52464
52465 # Let's still pretend it is `configure' which instantiates (i.e., don't
52466 # use $as_me), people would be surprised to read:
52467 # /* config.h. Generated by config.status. */
52468 configure_input="Generated from "`IFS=:
52469 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52470 if test x"$ac_file" != x-; then
52471 configure_input="$ac_file. $configure_input"
52472 { echo "$as_me:$LINENO: creating $ac_file" >&5
52473 echo "$as_me: creating $ac_file" >&6;}
52474 fi
52475
52476 case $ac_tag in
52477 *:-:* | *:-) cat >"$tmp/stdin";;
52478 esac
52479 ;;
52480 esac
52481
52482 ac_dir=`$as_dirname -- "$ac_file" ||
52483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52484 X"$ac_file" : 'X\(//\)[^/]' \| \
52485 X"$ac_file" : 'X\(//\)$' \| \
52486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52487 echo X"$ac_file" |
52488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52489 s//\1/
52490 q
52491 }
52492 /^X\(\/\/\)[^/].*/{
52493 s//\1/
52494 q
52495 }
52496 /^X\(\/\/\)$/{
52497 s//\1/
52498 q
52499 }
52500 /^X\(\/\).*/{
52501 s//\1/
52502 q
52503 }
52504 s/.*/./; q'`
52505 { as_dir="$ac_dir"
52506 case $as_dir in #(
52507 -*) as_dir=./$as_dir;;
52508 esac
52509 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52510 as_dirs=
52511 while :; do
52512 case $as_dir in #(
52513 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52514 *) as_qdir=$as_dir;;
52515 esac
52516 as_dirs="'$as_qdir' $as_dirs"
52517 as_dir=`$as_dirname -- "$as_dir" ||
52518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52519 X"$as_dir" : 'X\(//\)[^/]' \| \
52520 X"$as_dir" : 'X\(//\)$' \| \
52521 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52522 echo X"$as_dir" |
52523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52524 s//\1/
52525 q
52526 }
52527 /^X\(\/\/\)[^/].*/{
52528 s//\1/
52529 q
52530 }
52531 /^X\(\/\/\)$/{
52532 s//\1/
52533 q
52534 }
52535 /^X\(\/\).*/{
52536 s//\1/
52537 q
52538 }
52539 s/.*/./; q'`
52540 test -d "$as_dir" && break
52541 done
52542 test -z "$as_dirs" || eval "mkdir $as_dirs"
52543 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52544 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52545 { (exit 1); exit 1; }; }; }
52546 ac_builddir=.
52547
52548 case "$ac_dir" in
52549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52550 *)
52551 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52552 # A ".." for each directory in $ac_dir_suffix.
52553 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52554 case $ac_top_builddir_sub in
52555 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52556 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52557 esac ;;
52558 esac
52559 ac_abs_top_builddir=$ac_pwd
52560 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52561 # for backward compatibility:
52562 ac_top_builddir=$ac_top_build_prefix
52563
52564 case $srcdir in
52565 .) # We are building in place.
52566 ac_srcdir=.
52567 ac_top_srcdir=$ac_top_builddir_sub
52568 ac_abs_top_srcdir=$ac_pwd ;;
52569 [\\/]* | ?:[\\/]* ) # Absolute name.
52570 ac_srcdir=$srcdir$ac_dir_suffix;
52571 ac_top_srcdir=$srcdir
52572 ac_abs_top_srcdir=$srcdir ;;
52573 *) # Relative name.
52574 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52575 ac_top_srcdir=$ac_top_build_prefix$srcdir
52576 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52577 esac
52578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52579
52580
52581 case $ac_mode in
52582 :F)
52583 #
52584 # CONFIG_FILE
52585 #
52586
52587 case $INSTALL in
52588 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52589 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52590 esac
52591 _ACEOF
52592
52593 cat >>$CONFIG_STATUS <<\_ACEOF
52594 # If the template does not know about datarootdir, expand it.
52595 # FIXME: This hack should be removed a few years after 2.60.
52596 ac_datarootdir_hack=; ac_datarootdir_seen=
52597
52598 case `sed -n '/datarootdir/ {
52599 p
52600 q
52601 }
52602 /@datadir@/p
52603 /@docdir@/p
52604 /@infodir@/p
52605 /@localedir@/p
52606 /@mandir@/p
52607 ' $ac_file_inputs` in
52608 *datarootdir*) ac_datarootdir_seen=yes;;
52609 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52610 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52611 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52612 _ACEOF
52613 cat >>$CONFIG_STATUS <<_ACEOF
52614 ac_datarootdir_hack='
52615 s&@datadir@&$datadir&g
52616 s&@docdir@&$docdir&g
52617 s&@infodir@&$infodir&g
52618 s&@localedir@&$localedir&g
52619 s&@mandir@&$mandir&g
52620 s&\\\${datarootdir}&$datarootdir&g' ;;
52621 esac
52622 _ACEOF
52623
52624 # Neutralize VPATH when `$srcdir' = `.'.
52625 # Shell code in configure.ac might set extrasub.
52626 # FIXME: do we really want to maintain this feature?
52627 cat >>$CONFIG_STATUS <<_ACEOF
52628 sed "$ac_vpsub
52629 $extrasub
52630 _ACEOF
52631 cat >>$CONFIG_STATUS <<\_ACEOF
52632 :t
52633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52634 s&@configure_input@&$configure_input&;t t
52635 s&@top_builddir@&$ac_top_builddir_sub&;t t
52636 s&@srcdir@&$ac_srcdir&;t t
52637 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52638 s&@top_srcdir@&$ac_top_srcdir&;t t
52639 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52640 s&@builddir@&$ac_builddir&;t t
52641 s&@abs_builddir@&$ac_abs_builddir&;t t
52642 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52643 s&@INSTALL@&$ac_INSTALL&;t t
52644 $ac_datarootdir_hack
52645 " $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
52646
52647 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52648 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52649 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52650 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52651 which seems to be undefined. Please make sure it is defined." >&5
52652 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52653 which seems to be undefined. Please make sure it is defined." >&2;}
52654
52655 rm -f "$tmp/stdin"
52656 case $ac_file in
52657 -) cat "$tmp/out"; rm -f "$tmp/out";;
52658 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52659 esac
52660 ;;
52661 :H)
52662 #
52663 # CONFIG_HEADER
52664 #
52665 _ACEOF
52666
52667 # Transform confdefs.h into a sed script `conftest.defines', that
52668 # substitutes the proper values into config.h.in to produce config.h.
52669 rm -f conftest.defines conftest.tail
52670 # First, append a space to every undef/define line, to ease matching.
52671 echo 's/$/ /' >conftest.defines
52672 # Then, protect against being on the right side of a sed subst, or in
52673 # an unquoted here document, in config.status. If some macros were
52674 # called several times there might be several #defines for the same
52675 # symbol, which is useless. But do not sort them, since the last
52676 # AC_DEFINE must be honored.
52677 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52678 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52679 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52680 # PARAMS is the parameter list in the macro definition--in most cases, it's
52681 # just an empty string.
52682 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52683 ac_dB='\\)[ (].*,\\1define\\2'
52684 ac_dC=' '
52685 ac_dD=' ,'
52686
52687 uniq confdefs.h |
52688 sed -n '
52689 t rset
52690 :rset
52691 s/^[ ]*#[ ]*define[ ][ ]*//
52692 t ok
52693 d
52694 :ok
52695 s/[\\&,]/\\&/g
52696 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52697 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52698 ' >>conftest.defines
52699
52700 # Remove the space that was appended to ease matching.
52701 # Then replace #undef with comments. This is necessary, for
52702 # example, in the case of _POSIX_SOURCE, which is predefined and required
52703 # on some systems where configure will not decide to define it.
52704 # (The regexp can be short, since the line contains either #define or #undef.)
52705 echo 's/ $//
52706 s,^[ #]*u.*,/* & */,' >>conftest.defines
52707
52708 # Break up conftest.defines:
52709 ac_max_sed_lines=50
52710
52711 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52712 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52713 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52714 # et cetera.
52715 ac_in='$ac_file_inputs'
52716 ac_out='"$tmp/out1"'
52717 ac_nxt='"$tmp/out2"'
52718
52719 while :
52720 do
52721 # Write a here document:
52722 cat >>$CONFIG_STATUS <<_ACEOF
52723 # First, check the format of the line:
52724 cat >"\$tmp/defines.sed" <<\\CEOF
52725 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52726 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52727 b
52728 :def
52729 _ACEOF
52730 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52731 echo 'CEOF
52732 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52733 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52734 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52735 grep . conftest.tail >/dev/null || break
52736 rm -f conftest.defines
52737 mv conftest.tail conftest.defines
52738 done
52739 rm -f conftest.defines conftest.tail
52740
52741 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52742 cat >>$CONFIG_STATUS <<\_ACEOF
52743 if test x"$ac_file" != x-; then
52744 echo "/* $configure_input */" >"$tmp/config.h"
52745 cat "$ac_result" >>"$tmp/config.h"
52746 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52747 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52748 echo "$as_me: $ac_file is unchanged" >&6;}
52749 else
52750 rm -f $ac_file
52751 mv "$tmp/config.h" $ac_file
52752 fi
52753 else
52754 echo "/* $configure_input */"
52755 cat "$ac_result"
52756 fi
52757 rm -f "$tmp/out12"
52758 ;;
52759
52760 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52761 echo "$as_me: executing $ac_file commands" >&6;}
52762 ;;
52763 esac
52764
52765
52766 case $ac_file$ac_mode in
52767 "rcdefs.h":C)
52768 mkdir -p $outdir &&
52769 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52770 ;;
52771 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52772 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52773 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52774 "wx-config":C) rm -f wx-config
52775 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52776 ;;
52777
52778 esac
52779 done # for ac_tag
52780
52781
52782 { (exit 0); exit 0; }
52783 _ACEOF
52784 chmod +x $CONFIG_STATUS
52785 ac_clean_files=$ac_clean_files_save
52786
52787
52788 # configure is writing to config.log, and then calls config.status.
52789 # config.status does its own redirection, appending to config.log.
52790 # Unfortunately, on DOS this fails, as config.log is still kept open
52791 # by configure, so config.status won't be able to write to it; its
52792 # output is simply discarded. So we exec the FD to /dev/null,
52793 # effectively closing config.log, so it can be properly (re)opened and
52794 # appended to by config.status. When coming back to configure, we
52795 # need to make the FD available again.
52796 if test "$no_create" != yes; then
52797 ac_cs_success=:
52798 ac_config_status_args=
52799 test "$silent" = yes &&
52800 ac_config_status_args="$ac_config_status_args --quiet"
52801 exec 5>/dev/null
52802 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52803 exec 5>>config.log
52804 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52805 # would make configure fail if this is the last instruction.
52806 $ac_cs_success || { (exit 1); exit 1; }
52807 fi
52808
52809 #
52810 # CONFIG_SUBDIRS section.
52811 #
52812 if test "$no_recursion" != yes; then
52813
52814 # Remove --cache-file and --srcdir arguments so they do not pile up.
52815 ac_sub_configure_args=
52816 ac_prev=
52817 eval "set x $ac_configure_args"
52818 shift
52819 for ac_arg
52820 do
52821 if test -n "$ac_prev"; then
52822 ac_prev=
52823 continue
52824 fi
52825 case $ac_arg in
52826 -cache-file | --cache-file | --cache-fil | --cache-fi \
52827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52828 ac_prev=cache_file ;;
52829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52831 | --c=*)
52832 ;;
52833 --config-cache | -C)
52834 ;;
52835 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52836 ac_prev=srcdir ;;
52837 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52838 ;;
52839 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52840 ac_prev=prefix ;;
52841 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52842 ;;
52843 *)
52844 case $ac_arg in
52845 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52846 esac
52847 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52848 esac
52849 done
52850
52851 # Always prepend --prefix to ensure using the same prefix
52852 # in subdir configurations.
52853 ac_arg="--prefix=$prefix"
52854 case $ac_arg in
52855 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52856 esac
52857 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52858
52859 # Pass --silent
52860 if test "$silent" = yes; then
52861 ac_sub_configure_args="--silent $ac_sub_configure_args"
52862 fi
52863
52864 ac_popdir=`pwd`
52865 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52866
52867 # Do not complain, so a configure script can configure whichever
52868 # parts of a large source tree are present.
52869 test -d "$srcdir/$ac_dir" || continue
52870
52871 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52872 echo "$as_me:$LINENO: $ac_msg" >&5
52873 echo "$ac_msg" >&6
52874 { as_dir="$ac_dir"
52875 case $as_dir in #(
52876 -*) as_dir=./$as_dir;;
52877 esac
52878 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52879 as_dirs=
52880 while :; do
52881 case $as_dir in #(
52882 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52883 *) as_qdir=$as_dir;;
52884 esac
52885 as_dirs="'$as_qdir' $as_dirs"
52886 as_dir=`$as_dirname -- "$as_dir" ||
52887 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52888 X"$as_dir" : 'X\(//\)[^/]' \| \
52889 X"$as_dir" : 'X\(//\)$' \| \
52890 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52891 echo X"$as_dir" |
52892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52893 s//\1/
52894 q
52895 }
52896 /^X\(\/\/\)[^/].*/{
52897 s//\1/
52898 q
52899 }
52900 /^X\(\/\/\)$/{
52901 s//\1/
52902 q
52903 }
52904 /^X\(\/\).*/{
52905 s//\1/
52906 q
52907 }
52908 s/.*/./; q'`
52909 test -d "$as_dir" && break
52910 done
52911 test -z "$as_dirs" || eval "mkdir $as_dirs"
52912 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52913 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52914 { (exit 1); exit 1; }; }; }
52915 ac_builddir=.
52916
52917 case "$ac_dir" in
52918 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52919 *)
52920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52921 # A ".." for each directory in $ac_dir_suffix.
52922 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52923 case $ac_top_builddir_sub in
52924 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52925 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52926 esac ;;
52927 esac
52928 ac_abs_top_builddir=$ac_pwd
52929 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52930 # for backward compatibility:
52931 ac_top_builddir=$ac_top_build_prefix
52932
52933 case $srcdir in
52934 .) # We are building in place.
52935 ac_srcdir=.
52936 ac_top_srcdir=$ac_top_builddir_sub
52937 ac_abs_top_srcdir=$ac_pwd ;;
52938 [\\/]* | ?:[\\/]* ) # Absolute name.
52939 ac_srcdir=$srcdir$ac_dir_suffix;
52940 ac_top_srcdir=$srcdir
52941 ac_abs_top_srcdir=$srcdir ;;
52942 *) # Relative name.
52943 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52944 ac_top_srcdir=$ac_top_build_prefix$srcdir
52945 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52946 esac
52947 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52948
52949
52950 cd "$ac_dir"
52951
52952 # Check for guested configure; otherwise get Cygnus style configure.
52953 if test -f "$ac_srcdir/configure.gnu"; then
52954 ac_sub_configure=$ac_srcdir/configure.gnu
52955 elif test -f "$ac_srcdir/configure"; then
52956 ac_sub_configure=$ac_srcdir/configure
52957 elif test -f "$ac_srcdir/configure.in"; then
52958 # This should be Cygnus configure.
52959 ac_sub_configure=$ac_aux_dir/configure
52960 else
52961 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52963 ac_sub_configure=
52964 fi
52965
52966 # The recursion is here.
52967 if test -n "$ac_sub_configure"; then
52968 # Make the cache file name correct relative to the subdirectory.
52969 case $cache_file in
52970 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52971 *) # Relative name.
52972 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52973 esac
52974
52975 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52976 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52977 # The eval makes quoting arguments work.
52978 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52979 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52980 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52981 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52982 { (exit 1); exit 1; }; }
52983 fi
52984
52985 cd "$ac_popdir"
52986 done
52987 fi
52988
52989
52990 echo
52991 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52992 echo ""
52993 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52994 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52995
52996 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52997 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52998 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52999 if test "$wxUSE_UNICODE" = "yes"; then
53000 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53001 echo " (using UTF-8)"
53002 else
53003 echo " (using wchar_t)"
53004 fi
53005 else
53006 echo
53007 fi
53008
53009 echo " What level of wxWidgets compatibility should be enabled?"
53010 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53011 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53012
53013 echo " Which libraries should wxWidgets use?"
53014 echo " STL ${wxUSE_STL}"
53015 echo " jpeg ${wxUSE_LIBJPEG-none}"
53016 echo " png ${wxUSE_LIBPNG-none}"
53017 echo " regex ${wxUSE_REGEX}"
53018 echo " tiff ${wxUSE_LIBTIFF-none}"
53019 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53020 echo " xpm ${wxUSE_LIBXPM-none}"
53021 fi
53022 echo " zlib ${wxUSE_ZLIB}"
53023 echo " expat ${wxUSE_EXPAT}"
53024 echo " libmspack ${wxUSE_LIBMSPACK}"
53025 echo " sdl ${wxUSE_LIBSDL}"
53026
53027 echo ""
53028