]> git.saurik.com Git - wxWidgets.git/blob - configure
adding new toolkits for osx
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 55464 2008-09-05 08:03:35Z RR .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
865 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
866 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_0
874 COND_PLATFORM_MAC_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_OS2_1
878 COND_PLATFORM_UNIX_0
879 COND_PLATFORM_UNIX_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
886 COND_SHARED_0
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
896 COND_SHARED_0_WXUSE_REGEX_BUILTIN
897 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
898 COND_SHARED_1
899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
900 COND_TOOLKIT_
901 COND_TOOLKIT_COCOA
902 COND_TOOLKIT_COCOA_USE_GUI_1
903 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_DFB
905 COND_TOOLKIT_DFB_USE_GUI_1
906 COND_TOOLKIT_GTK
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_USE_GUI_1
915 COND_TOOLKIT_MAC
916 COND_TOOLKIT_MGL
917 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_OSX_CARBON
926 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
927 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_OSX_COCOA
929 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
930 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_OSX_IPHONE
932 COND_TOOLKIT_PM
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
939 COND_TOOLKIT_X11
940 COND_TOOLKIT_X11_USE_GUI_1
941 COND_UNICODE_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_0
945 COND_USE_GUI_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
952 COND_USE_OPENGL_1
953 COND_USE_PCH_1
954 COND_USE_PLUGINS_0
955 COND_USE_RTTI_0
956 COND_USE_RTTI_1
957 COND_USE_SOSYMLINKS_1
958 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
959 COND_USE_SOVERLINUX_1
960 COND_USE_SOVERSION_0
961 COND_USE_SOVERSOLARIS_1
962 COND_USE_STC_1
963 COND_USE_THREADS_0
964 COND_USE_THREADS_1
965 COND_USE_XRC_1
966 COND_WINDOWS_IMPLIB_1
967 COND_WITH_PLUGIN_SDL_1
968 COND_WXUNIV_0
969 COND_WXUNIV_1
970 COND_WXUSE_EXPAT_BUILTIN
971 COND_WXUSE_LIBJPEG_BUILTIN
972 COND_WXUSE_LIBPNG_BUILTIN
973 COND_WXUSE_LIBTIFF_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 DEREZ
977 SHARED
978 WX_LIBRARY_BASENAME_NOGUI
979 WX_LIBRARY_BASENAME_GUI
980 USE_GUI
981 AFMINSTALL
982 WIN32INSTALL
983 TOOLKIT
984 TOOLKIT_DIR
985 TOOLCHAIN_NAME
986 TOOLCHAIN_FULLNAME
987 cross_compiling
988 WIDGET_SET
989 WX_RELEASE
990 WX_VERSION
991 WX_SUBVERSION
992 WX_CHARTYPE
993 WX_DEBUGTYPE
994 WXCONFIG_CPPFLAGS
995 WXCONFIG_CFLAGS
996 WXCONFIG_CXXFLAGS
997 WXCONFIG_LIBS
998 WXCONFIG_RPATH
999 WXCONFIG_LDFLAGS_GUI
1000 WXCONFIG_RESFLAGS
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 DLLTOOL
1018 CPPUNIT_CONFIG
1019 LIBOBJS
1020 LTLIBOBJS'
1021 ac_subst_files=''
1022 ac_precious_vars='build_alias
1023 host_alias
1024 target_alias
1025 CC
1026 CFLAGS
1027 LDFLAGS
1028 LIBS
1029 CPPFLAGS
1030 CPP
1031 CXX
1032 CXXFLAGS
1033 CCC
1034 PKG_CONFIG
1035 DIRECTFB_CFLAGS
1036 DIRECTFB_LIBS
1037 XMKMF
1038 PANGOX_CFLAGS
1039 PANGOX_LIBS
1040 PANGOFT2_CFLAGS
1041 PANGOFT2_LIBS
1042 PANGOXFT_CFLAGS
1043 PANGOXFT_LIBS
1044 GTKPRINT_CFLAGS
1045 GTKPRINT_LIBS
1046 LIBGNOMEPRINTUI_CFLAGS
1047 LIBGNOMEPRINTUI_LIBS
1048 GNOMEVFS_CFLAGS
1049 GNOMEVFS_LIBS
1050 HILDON_CFLAGS
1051 HILDON_LIBS
1052 CAIRO_CFLAGS
1053 CAIRO_LIBS
1054 GST_CFLAGS
1055 GST_LIBS'
1056 ac_subdirs_all='src/tiff
1057 src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --enable-debug same as debug_flag and debug_info
1648 --enable-stl use STL for containers
1649 --enable-std_iostreams use standard C++ stream classes
1650 --enable-std_string use standard C++ string classes
1651 --disable-unicode compile without Unicode support
1652 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1653 --enable-utf8 use UTF-8 representation for strings (Unix only)
1654 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1655 --enable-extended_rtti use extended RTTI (XTI)
1656 --enable-omf use OMF object format
1657 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1658 --enable-debug_info create code with debugging information
1659 --disable-optimise compile without optimisations
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-xlocale use x-locale support (requires wxLocale)
1677 --enable-config use wxConfig (and derived) classes
1678 --enable-protocols use wxProtocol and derived classes
1679 --enable-ftp use wxFTP (requires wxProtocol
1680 --enable-http use wxHTTP (requires wxProtocol
1681 --enable-fileproto use wxFileProto class (requires wxProtocol
1682 --enable-sockets use socket/network classes
1683 --enable-ipv6 enable IPv6 support in wxSocket
1684 --enable-ole use OLE classes (Win32 only)
1685 --enable-dataobj use data object classes
1686 --enable-ipc use interprocess communication (wxSocket etc.)
1687 --enable-baseevtloop use event loop in console programs too
1688 --enable-epollloop use wxEpollDispatcher class (Linux only)
1689 --enable-selectloop use wxSelectDispatcher class
1690 --enable-apple_ieee use the Apple IEEE codec
1691 --enable-arcstream use wxArchive streams
1692 --enable-base64 use base64 encoding/decoding functions
1693 --enable-backtrace use wxStackWalker class for getting backtraces
1694 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1695 --enable-cmdline use wxCmdLineParser class
1696 --enable-datetime use wxDateTime class
1697 --enable-debugreport use wxDebugReport class
1698 --enable-dialupman use dialup network classes
1699 --enable-dynlib use wxLibrary class for DLL loading
1700 --enable-dynamicloader use (new) wxDynamicLibrary class
1701 --enable-exceptions build exception-safe library
1702 --enable-ffile use wxFFile class
1703 --enable-file use wxFile class
1704 --enable-filesystem use virtual file systems classes
1705 --enable-fontenum use wxFontEnumerator class
1706 --enable-fontmap use font encodings conversion classes
1707 --enable-fs_archive use virtual archive filesystems
1708 --enable-fs_inet use virtual HTTP/FTP filesystems
1709 --enable-fs_zip now replaced by fs_archive
1710 --enable-geometry use geometry class
1711 --enable-log use logging system
1712 --enable-longlong use wxLongLong class
1713 --enable-mimetype use wxMimeTypesManager
1714 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1715 --enable-snglinst use wxSingleInstanceChecker class
1716 --enable-sound use wxSound class
1717 --enable-stdpaths use wxStandardPaths class
1718 --enable-stopwatch use wxStopWatch class
1719 --enable-streams use wxStream etc classes
1720 --enable-sysoptions use wxSystemOptions
1721 --enable-tarstream use wxTar streams
1722 --enable-textbuf use wxTextBuffer class
1723 --enable-textfile use wxTextFile class
1724 --enable-timer use wxTimer class
1725 --enable-variant use wxVariant class
1726 --enable-zipstream use wxZip streams
1727 --enable-url use wxURL class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-iniconf use wxIniConfig (Win32 only)
1734 --enable-regkey use wxRegKey class (Win32 only)
1735 --enable-docview use document view architecture
1736 --enable-help use help subsystem
1737 --enable-mshtmlhelp use MS HTML Help (win32)
1738 --enable-html use wxHTML sub-library
1739 --enable-htmlhelp use wxHTML-based help
1740 --enable-xrc use XRC resources sub-library
1741 --enable-aui use AUI docking library
1742 --enable-stc use wxStyledTextCtrl library
1743 --enable-constraints use layout-constraints system
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-mdi use multiple document interface architecture
1748 --enable-mdidoc use docview architecture with MDI
1749 --enable-mediactrl use wxMediaCtrl class
1750 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1751 --enable-webkit use wxWebKitCtrl (Mac)
1752 --enable-richtext use wxRichTextCtrl
1753 --enable-graphics_ctx use graphics context 2D drawing API
1754 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1755 --enable-printarch use printing architecture
1756 --enable-svg use wxSVGFileDC device context
1757 --enable-clipboard use wxClipboard class
1758 --enable-dnd use Drag'n'Drop classes
1759 --enable-metafile use win32 metafiles
1760 --disable-controls disable compilation of all standard controls
1761 --enable-accel use accelerators
1762 --enable-animatectrl use wxAnimationCtrl class
1763 --enable-button use wxButton class
1764 --enable-bmpbutton use wxBitmapButton class
1765 --enable-bmpcombobox use wxBitmapComboBox class
1766 --enable-calendar use wxCalendarCtrl class
1767 --enable-caret use wxCaret class
1768 --enable-checkbox use wxCheckBox class
1769 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1770 --enable-choice use wxChoice class
1771 --enable-choicebook use wxChoicebook class
1772 --enable-collpane use wxCollapsiblePane class
1773 --enable-colourpicker use wxColourPickerCtrl class
1774 --enable-combobox use wxComboBox class
1775 --enable-comboctrl use wxComboCtrl class
1776 --enable-datepick use wxDatePickerCtrl class
1777 --enable-dirpicker use wxDirPickerCtrl class
1778 --enable-display use wxDisplay class
1779 --enable-detect_sm use code to detect X11 session manager
1780 --enable-editablebox use wxEditableListBox class
1781 --enable-filepicker use wxFilePickerCtrl class
1782 --enable-filectrl use wxFileCtrl class
1783 --enable-fontpicker use wxFontPickerCtrl class
1784 --enable-gauge use wxGauge class
1785 --enable-grid use wxGrid class
1786 --enable-dataviewctrl use wxDataViewCtrl class
1787 --enable-hyperlink use wxHyperlinkCtrl class
1788 --enable-imaglist use wxImageList class
1789 --enable-listbook use wxListbook class
1790 --enable-listbox use wxListBox class
1791 --enable-listctrl use wxListCtrl class
1792 --enable-notebook use wxNotebook class
1793 --enable-notifmsg use wxNotificationMessage class
1794 --enable-odcombobox use wxOwnerDrawnComboBox class
1795 --enable-radiobox use wxRadioBox class
1796 --enable-radiobtn use wxRadioButton class
1797 --enable-sash use wxSashWindow class
1798 --enable-scrollbar use wxScrollBar class and scrollable windows
1799 --enable-searchctrl use wxSearchCtrl class
1800 --enable-slider use wxSlider class
1801 --enable-spinbtn use wxSpinButton class
1802 --enable-spinctrl use wxSpinCtrl class
1803 --enable-splitter use wxSplitterWindow class
1804 --enable-statbmp use wxStaticBitmap class
1805 --enable-statbox use wxStaticBox class
1806 --enable-statline use wxStaticLine class
1807 --enable-stattext use wxStaticText class
1808 --enable-statusbar use wxStatusBar class
1809 --enable-tabdialog use wxTabControl class
1810 --enable-taskbaricon use wxTaskBarIcon class
1811 --enable-textctrl use wxTextCtrl class
1812 --enable-togglebtn use wxToggleButton class
1813 --enable-toolbar use wxToolBar class
1814 --enable-tbarnative use native wxToolBar class
1815 --enable-treebook use wxTreebook class
1816 --enable-toolbook use wxToolbook class
1817 --enable-treectrl use wxTreeCtrl class
1818 --enable-tipwindow use wxTipWindow class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-commondlg use all common dialogs
1821 --enable-aboutdlg use wxAboutBox
1822 --enable-choicedlg use wxChoiceDialog
1823 --enable-coldlg use wxColourDialog
1824 --enable-filedlg use wxFileDialog
1825 --enable-finddlg use wxFindReplaceDialog
1826 --enable-fontdlg use wxFontDialog
1827 --enable-dirdlg use wxDirDialog
1828 --enable-msgdlg use wxMessageDialog
1829 --enable-numberdlg use wxNumberEntryDialog
1830 --enable-splash use wxSplashScreen
1831 --enable-textdlg use wxTextDialog
1832 --enable-tipdlg use startup tips
1833 --enable-progressdlg use wxProgressDialog
1834 --enable-wizarddlg use wxWizard
1835 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1836 --enable-miniframe use wxMiniFrame class
1837 --enable-tooltips use wxToolTip class
1838 --enable-splines use spline drawing code
1839 --enable-mousewheel use mousewheel
1840 --enable-validators use wxValidator and derived classes
1841 --enable-busyinfo use wxBusyInfo
1842 --enable-joystick use wxJoystick
1843 --enable-metafiles use wxMetaFile (Win32 only)
1844 --enable-dragimage use wxDragImage
1845 --enable-accessibility enable accessibility support
1846 --enable-palette use wxPalette class
1847 --enable-image use wxImage class
1848 --enable-gif use gif images (GIF file format)
1849 --enable-pcx use pcx images (PCX file format)
1850 --enable-tga use tga images (TGA file format)
1851 --enable-iff use iff images (IFF file format)
1852 --enable-pnm use pnm images (PNM file format)
1853 --enable-xpm use xpm images (XPM file format)
1854 --enable-ico_cur use Windows ICO and CUR formats
1855 --enable-dccache cache temporary wxDC objects (Win32 only)
1856 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1857 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1858 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1859 --enable-wxdib use wxDIB class (Win32 only)
1860 --enable-autoidman use automatic ids management
1861 --disable-largefile omit support for large files
1862 --disable-gtktest do not try to compile and run a test GTK+ program
1863 --disable-gtktest Do not try to compile and run a test GTK program
1864 --disable-sdltest Do not try to compile and run a test SDL program
1865 --enable-omf use OMF object format (OS/2)
1866 --disable-dependency-tracking
1867 don't use dependency tracking even if the compiler
1868 can
1869 --disable-precomp-headers
1870 don't use precompiled headers even if compiler can
1871
1872 Optional Packages:
1873 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1874 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1875 --without-subdirs don't generate makefiles for samples/demos/...
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1878 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1879 --with-motif use Motif/Lesstif
1880 --with-osx_carbon use Mac OS X (Carbon)
1881 --with-osx_cocoa use Mac OS X (Cocoa)
1882 --with-mac use Mac OS X (Default)
1883 --with-cocoa use Cocoa
1884 --with-wine use Wine
1885 --with-msw use MS-Windows
1886 --with-pm use OS/2 Presentation Manager
1887 --with-mgl use SciTech MGL
1888 --with-directfb use DirectFB
1889 --with-microwin use MicroWindows
1890 --with-x11 use X11
1891 --with-libpng use libpng (PNG image format)
1892 --with-libjpeg use libjpeg (JPEG file format)
1893 --with-libtiff use libtiff (TIFF file format)
1894 --with-libxpm use libxpm (XPM file format)
1895 --with-libiconv use libiconv (character conversion)
1896 --with-libmspack use libmspack (CHM help files loading)
1897 --without-gtkprint don't use GTK printing support
1898 --without-gnomeprint don't use GNOME printing libraries
1899 --with-gnomevfs use GNOME VFS for associating MIME types
1900 --with-hildon use Hildon framework for Nokia 770
1901 --with-opengl use OpenGL (or Mesa)
1902 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1903 --with-sdl use SDL for audio on Unix
1904 --with-regex enable support for wxRegEx class
1905 --with-zlib use zlib for LZW compression
1906 --with-expat enable XML support using expat parser
1907 --with-macosx-sdk=PATH use an OS X SDK at PATH
1908 --with-macosx-version-min=VER build binaries which require at least this OS X version
1909 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1910 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1911 --with-x use the X Window System
1912 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1913 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1914 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1915 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1916 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1917
1918 Some influential environment variables:
1919 CC C compiler command
1920 CFLAGS C compiler flags
1921 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1922 nonstandard directory <lib dir>
1923 LIBS libraries to pass to the linker, e.g. -l<library>
1924 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1925 you have headers in a nonstandard directory <include dir>
1926 CPP C preprocessor
1927 CXX C++ compiler command
1928 CXXFLAGS C++ compiler flags
1929 PKG_CONFIG path to pkg-config utility
1930 DIRECTFB_CFLAGS
1931 C compiler flags for DIRECTFB, overriding pkg-config
1932 DIRECTFB_LIBS
1933 linker flags for DIRECTFB, overriding pkg-config
1934 XMKMF Path to xmkmf, Makefile generator for X Window System
1935 PANGOX_CFLAGS
1936 C compiler flags for PANGOX, overriding pkg-config
1937 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1938 PANGOFT2_CFLAGS
1939 C compiler flags for PANGOFT2, overriding pkg-config
1940 PANGOFT2_LIBS
1941 linker flags for PANGOFT2, overriding pkg-config
1942 PANGOXFT_CFLAGS
1943 C compiler flags for PANGOXFT, overriding pkg-config
1944 PANGOXFT_LIBS
1945 linker flags for PANGOXFT, overriding pkg-config
1946 GTKPRINT_CFLAGS
1947 C compiler flags for GTKPRINT, overriding pkg-config
1948 GTKPRINT_LIBS
1949 linker flags for GTKPRINT, overriding pkg-config
1950 LIBGNOMEPRINTUI_CFLAGS
1951 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1952 LIBGNOMEPRINTUI_LIBS
1953 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1954 GNOMEVFS_CFLAGS
1955 C compiler flags for GNOMEVFS, overriding pkg-config
1956 GNOMEVFS_LIBS
1957 linker flags for GNOMEVFS, overriding pkg-config
1958 HILDON_CFLAGS
1959 C compiler flags for HILDON, overriding pkg-config
1960 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1961 CAIRO_CFLAGS
1962 C compiler flags for CAIRO, overriding pkg-config
1963 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1964 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1965 GST_LIBS linker flags for GST, overriding pkg-config
1966
1967 Use these variables to override the choices made by `configure' or to help
1968 it to find libraries and programs with nonstandard names/locations.
1969
1970 Report bugs to <wx-dev@lists.wxwidgets.org>.
1971 _ACEOF
1972 ac_status=$?
1973 fi
1974
1975 if test "$ac_init_help" = "recursive"; then
1976 # If there are subdirs, report their specific --help.
1977 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1978 test -d "$ac_dir" || continue
1979 ac_builddir=.
1980
1981 case "$ac_dir" in
1982 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1983 *)
1984 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1985 # A ".." for each directory in $ac_dir_suffix.
1986 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1987 case $ac_top_builddir_sub in
1988 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1989 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1990 esac ;;
1991 esac
1992 ac_abs_top_builddir=$ac_pwd
1993 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1994 # for backward compatibility:
1995 ac_top_builddir=$ac_top_build_prefix
1996
1997 case $srcdir in
1998 .) # We are building in place.
1999 ac_srcdir=.
2000 ac_top_srcdir=$ac_top_builddir_sub
2001 ac_abs_top_srcdir=$ac_pwd ;;
2002 [\\/]* | ?:[\\/]* ) # Absolute name.
2003 ac_srcdir=$srcdir$ac_dir_suffix;
2004 ac_top_srcdir=$srcdir
2005 ac_abs_top_srcdir=$srcdir ;;
2006 *) # Relative name.
2007 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2008 ac_top_srcdir=$ac_top_build_prefix$srcdir
2009 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2010 esac
2011 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2012
2013 cd "$ac_dir" || { ac_status=$?; continue; }
2014 # Check for guested configure.
2015 if test -f "$ac_srcdir/configure.gnu"; then
2016 echo &&
2017 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2018 elif test -f "$ac_srcdir/configure"; then
2019 echo &&
2020 $SHELL "$ac_srcdir/configure" --help=recursive
2021 else
2022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2023 fi || ac_status=$?
2024 cd "$ac_pwd" || { ac_status=$?; break; }
2025 done
2026 fi
2027
2028 test -n "$ac_init_help" && exit $ac_status
2029 if $ac_init_version; then
2030 cat <<\_ACEOF
2031 wxWidgets configure 2.9.0
2032 generated by GNU Autoconf 2.61
2033
2034 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2035 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2036 This configure script is free software; the Free Software Foundation
2037 gives unlimited permission to copy, distribute and modify it.
2038 _ACEOF
2039 exit
2040 fi
2041 cat >config.log <<_ACEOF
2042 This file contains any messages produced by compilers while
2043 running configure, to aid debugging if configure makes a mistake.
2044
2045 It was created by wxWidgets $as_me 2.9.0, which was
2046 generated by GNU Autoconf 2.61. Invocation command line was
2047
2048 $ $0 $@
2049
2050 _ACEOF
2051 exec 5>>config.log
2052 {
2053 cat <<_ASUNAME
2054 ## --------- ##
2055 ## Platform. ##
2056 ## --------- ##
2057
2058 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2059 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2060 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2061 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2062 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2063
2064 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2065 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2066
2067 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2068 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2069 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2070 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2071 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2072 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2073 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2074
2075 _ASUNAME
2076
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 echo "PATH: $as_dir"
2083 done
2084 IFS=$as_save_IFS
2085
2086 } >&5
2087
2088 cat >&5 <<_ACEOF
2089
2090
2091 ## ----------- ##
2092 ## Core tests. ##
2093 ## ----------- ##
2094
2095 _ACEOF
2096
2097
2098 # Keep a trace of the command line.
2099 # Strip out --no-create and --no-recursion so they do not pile up.
2100 # Strip out --silent because we don't want to record it for future runs.
2101 # Also quote any args containing shell meta-characters.
2102 # Make two passes to allow for proper duplicate-argument suppression.
2103 ac_configure_args=
2104 ac_configure_args0=
2105 ac_configure_args1=
2106 ac_must_keep_next=false
2107 for ac_pass in 1 2
2108 do
2109 for ac_arg
2110 do
2111 case $ac_arg in
2112 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2114 | -silent | --silent | --silen | --sile | --sil)
2115 continue ;;
2116 *\'*)
2117 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2118 esac
2119 case $ac_pass in
2120 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2121 2)
2122 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2123 if test $ac_must_keep_next = true; then
2124 ac_must_keep_next=false # Got value, back to normal.
2125 else
2126 case $ac_arg in
2127 *=* | --config-cache | -C | -disable-* | --disable-* \
2128 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2129 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2130 | -with-* | --with-* | -without-* | --without-* | --x)
2131 case "$ac_configure_args0 " in
2132 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2133 esac
2134 ;;
2135 -* ) ac_must_keep_next=true ;;
2136 esac
2137 fi
2138 ac_configure_args="$ac_configure_args '$ac_arg'"
2139 ;;
2140 esac
2141 done
2142 done
2143 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2144 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2145
2146 # When interrupted or exit'd, cleanup temporary files, and complete
2147 # config.log. We remove comments because anyway the quotes in there
2148 # would cause problems or look ugly.
2149 # WARNING: Use '\'' to represent an apostrophe within the trap.
2150 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2151 trap 'exit_status=$?
2152 # Save into config.log some information that might help in debugging.
2153 {
2154 echo
2155
2156 cat <<\_ASBOX
2157 ## ---------------- ##
2158 ## Cache variables. ##
2159 ## ---------------- ##
2160 _ASBOX
2161 echo
2162 # The following way of writing the cache mishandles newlines in values,
2163 (
2164 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2165 eval ac_val=\$$ac_var
2166 case $ac_val in #(
2167 *${as_nl}*)
2168 case $ac_var in #(
2169 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2170 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2171 esac
2172 case $ac_var in #(
2173 _ | IFS | as_nl) ;; #(
2174 *) $as_unset $ac_var ;;
2175 esac ;;
2176 esac
2177 done
2178 (set) 2>&1 |
2179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180 *${as_nl}ac_space=\ *)
2181 sed -n \
2182 "s/'\''/'\''\\\\'\'''\''/g;
2183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184 ;; #(
2185 *)
2186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2187 ;;
2188 esac |
2189 sort
2190 )
2191 echo
2192
2193 cat <<\_ASBOX
2194 ## ----------------- ##
2195 ## Output variables. ##
2196 ## ----------------- ##
2197 _ASBOX
2198 echo
2199 for ac_var in $ac_subst_vars
2200 do
2201 eval ac_val=\$$ac_var
2202 case $ac_val in
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 esac
2205 echo "$ac_var='\''$ac_val'\''"
2206 done | sort
2207 echo
2208
2209 if test -n "$ac_subst_files"; then
2210 cat <<\_ASBOX
2211 ## ------------------- ##
2212 ## File substitutions. ##
2213 ## ------------------- ##
2214 _ASBOX
2215 echo
2216 for ac_var in $ac_subst_files
2217 do
2218 eval ac_val=\$$ac_var
2219 case $ac_val in
2220 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 esac
2222 echo "$ac_var='\''$ac_val'\''"
2223 done | sort
2224 echo
2225 fi
2226
2227 if test -s confdefs.h; then
2228 cat <<\_ASBOX
2229 ## ----------- ##
2230 ## confdefs.h. ##
2231 ## ----------- ##
2232 _ASBOX
2233 echo
2234 cat confdefs.h
2235 echo
2236 fi
2237 test "$ac_signal" != 0 &&
2238 echo "$as_me: caught signal $ac_signal"
2239 echo "$as_me: exit $exit_status"
2240 } >&5
2241 rm -f core *.core core.conftest.* &&
2242 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2243 exit $exit_status
2244 ' 0
2245 for ac_signal in 1 2 13 15; do
2246 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2247 done
2248 ac_signal=0
2249
2250 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2251 rm -f -r conftest* confdefs.h
2252
2253 # Predefined preprocessor variables.
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_NAME "$PACKAGE_NAME"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2262 _ACEOF
2263
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2267 _ACEOF
2268
2269
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_STRING "$PACKAGE_STRING"
2272 _ACEOF
2273
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2277 _ACEOF
2278
2279
2280 # Let the site file select an alternate cache file if it wants to.
2281 # Prefer explicitly selected file to automatically selected ones.
2282 if test -n "$CONFIG_SITE"; then
2283 set x "$CONFIG_SITE"
2284 elif test "x$prefix" != xNONE; then
2285 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2286 else
2287 set x "$ac_default_prefix/share/config.site" \
2288 "$ac_default_prefix/etc/config.site"
2289 fi
2290 shift
2291 for ac_site_file
2292 do
2293 if test -r "$ac_site_file"; then
2294 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2295 echo "$as_me: loading site script $ac_site_file" >&6;}
2296 sed 's/^/| /' "$ac_site_file" >&5
2297 . "$ac_site_file"
2298 fi
2299 done
2300
2301 if test -r "$cache_file"; then
2302 # Some versions of bash will fail to source /dev/null (special
2303 # files actually), so we avoid doing that.
2304 if test -f "$cache_file"; then
2305 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2306 echo "$as_me: loading cache $cache_file" >&6;}
2307 case $cache_file in
2308 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2309 *) . "./$cache_file";;
2310 esac
2311 fi
2312 else
2313 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2314 echo "$as_me: creating cache $cache_file" >&6;}
2315 >$cache_file
2316 fi
2317
2318 # Check that the precious variables saved in the cache have kept the same
2319 # value.
2320 ac_cache_corrupted=false
2321 for ac_var in $ac_precious_vars; do
2322 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2323 eval ac_new_set=\$ac_env_${ac_var}_set
2324 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2325 eval ac_new_val=\$ac_env_${ac_var}_value
2326 case $ac_old_set,$ac_new_set in
2327 set,)
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2331 ,set)
2332 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2333 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2334 ac_cache_corrupted=: ;;
2335 ,);;
2336 *)
2337 if test "x$ac_old_val" != "x$ac_new_val"; then
2338 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2339 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2340 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2341 echo "$as_me: former value: $ac_old_val" >&2;}
2342 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2343 echo "$as_me: current value: $ac_new_val" >&2;}
2344 ac_cache_corrupted=:
2345 fi;;
2346 esac
2347 # Pass precious variables to config.status.
2348 if test "$ac_new_set" = set; then
2349 case $ac_new_val in
2350 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2351 *) ac_arg=$ac_var=$ac_new_val ;;
2352 esac
2353 case " $ac_configure_args " in
2354 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2355 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2356 esac
2357 fi
2358 done
2359 if $ac_cache_corrupted; then
2360 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2361 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2362 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2363 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2364 { (exit 1); exit 1; }; }
2365 fi
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391 ac_ext=c
2392 ac_cpp='$CPP $CPPFLAGS'
2393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396
2397
2398
2399
2400
2401 ac_aux_dir=
2402 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2403 if test -f "$ac_dir/install-sh"; then
2404 ac_aux_dir=$ac_dir
2405 ac_install_sh="$ac_aux_dir/install-sh -c"
2406 break
2407 elif test -f "$ac_dir/install.sh"; then
2408 ac_aux_dir=$ac_dir
2409 ac_install_sh="$ac_aux_dir/install.sh -c"
2410 break
2411 elif test -f "$ac_dir/shtool"; then
2412 ac_aux_dir=$ac_dir
2413 ac_install_sh="$ac_aux_dir/shtool install -c"
2414 break
2415 fi
2416 done
2417 if test -z "$ac_aux_dir"; then
2418 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2419 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2420 { (exit 1); exit 1; }; }
2421 fi
2422
2423 # These three variables are undocumented and unsupported,
2424 # and are intended to be withdrawn in a future Autoconf release.
2425 # They can cause serious problems if a builder's source tree is in a directory
2426 # whose full name contains unusual characters.
2427 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2428 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2429 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2430
2431
2432 # Make sure we can run config.sub.
2433 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2434 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2435 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2436 { (exit 1); exit 1; }; }
2437
2438 { echo "$as_me:$LINENO: checking build system type" >&5
2439 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2440 if test "${ac_cv_build+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 else
2443 ac_build_alias=$build_alias
2444 test "x$ac_build_alias" = x &&
2445 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2446 test "x$ac_build_alias" = x &&
2447 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2448 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2449 { (exit 1); exit 1; }; }
2450 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2453 { (exit 1); exit 1; }; }
2454
2455 fi
2456 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2457 echo "${ECHO_T}$ac_cv_build" >&6; }
2458 case $ac_cv_build in
2459 *-*-*) ;;
2460 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2461 echo "$as_me: error: invalid value of canonical build" >&2;}
2462 { (exit 1); exit 1; }; };;
2463 esac
2464 build=$ac_cv_build
2465 ac_save_IFS=$IFS; IFS='-'
2466 set x $ac_cv_build
2467 shift
2468 build_cpu=$1
2469 build_vendor=$2
2470 shift; shift
2471 # Remember, the first character of IFS is used to create $*,
2472 # except with old shells:
2473 build_os=$*
2474 IFS=$ac_save_IFS
2475 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2476
2477
2478 { echo "$as_me:$LINENO: checking host system type" >&5
2479 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2480 if test "${ac_cv_host+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 else
2483 if test "x$host_alias" = x; then
2484 ac_cv_host=$ac_cv_build
2485 else
2486 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2487 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2488 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2489 { (exit 1); exit 1; }; }
2490 fi
2491
2492 fi
2493 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2494 echo "${ECHO_T}$ac_cv_host" >&6; }
2495 case $ac_cv_host in
2496 *-*-*) ;;
2497 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2498 echo "$as_me: error: invalid value of canonical host" >&2;}
2499 { (exit 1); exit 1; }; };;
2500 esac
2501 host=$ac_cv_host
2502 ac_save_IFS=$IFS; IFS='-'
2503 set x $ac_cv_host
2504 shift
2505 host_cpu=$1
2506 host_vendor=$2
2507 shift; shift
2508 # Remember, the first character of IFS is used to create $*,
2509 # except with old shells:
2510 host_os=$*
2511 IFS=$ac_save_IFS
2512 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2513
2514
2515 { echo "$as_me:$LINENO: checking target system type" >&5
2516 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2517 if test "${ac_cv_target+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520 if test "x$target_alias" = x; then
2521 ac_cv_target=$ac_cv_host
2522 else
2523 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2524 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2525 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2526 { (exit 1); exit 1; }; }
2527 fi
2528
2529 fi
2530 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2531 echo "${ECHO_T}$ac_cv_target" >&6; }
2532 case $ac_cv_target in
2533 *-*-*) ;;
2534 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2535 echo "$as_me: error: invalid value of canonical target" >&2;}
2536 { (exit 1); exit 1; }; };;
2537 esac
2538 target=$ac_cv_target
2539 ac_save_IFS=$IFS; IFS='-'
2540 set x $ac_cv_target
2541 shift
2542 target_cpu=$1
2543 target_vendor=$2
2544 shift; shift
2545 # Remember, the first character of IFS is used to create $*,
2546 # except with old shells:
2547 target_os=$*
2548 IFS=$ac_save_IFS
2549 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2550
2551
2552 # The aliases save the names the user supplied, while $host etc.
2553 # will get canonicalized.
2554 test -n "$target_alias" &&
2555 test "$program_prefix$program_suffix$program_transform_name" = \
2556 NONENONEs,x,x, &&
2557 program_prefix=${target_alias}-
2558
2559
2560
2561 wx_major_version_number=2
2562 wx_minor_version_number=9
2563 wx_release_number=0
2564 wx_subrelease_number=0
2565
2566 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2567 WX_VERSION=$WX_RELEASE.$wx_release_number
2568 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2569
2570 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2571
2572
2573 wx_top_builddir="`pwd`"
2574
2575
2576
2577
2578 USE_UNIX=1
2579 USE_OS2=0
2580 USE_WIN32=0
2581 USE_DOS=0
2582 USE_BEOS=0
2583 USE_MAC=0
2584
2585 USE_AIX=
2586 USE_BSD= USE_DARWIN= USE_FREEBSD=
2587 USE_GNU= USE_HPUX=
2588 USE_LINUX=
2589 USE_NETBSD=
2590 USE_OPENBSD=
2591 USE_OSF= USE_SGI=
2592 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2593 USE_ULTRIX=
2594 USE_UNIXWARE=
2595
2596 USE_ALPHA=
2597
2598 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2599
2600 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2601
2602 DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_wxUSE_GTK=0
2604 DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_wxUSE_OSX_COCOA=0
2606 DEFAULT_wxUSE_MGL=0
2607 DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_wxUSE_MSW=0
2610 DEFAULT_wxUSE_PM=0
2611 DEFAULT_wxUSE_X11=0
2612 DEFAULT_wxUSE_DFB=0
2613
2614 DEFAULT_DEFAULT_wxUSE_COCOA=0
2615 DEFAULT_DEFAULT_wxUSE_GTK=0
2616 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2617 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2618 DEFAULT_DEFAULT_wxUSE_MGL=0
2619 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2620 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2621 DEFAULT_DEFAULT_wxUSE_MSW=0
2622 DEFAULT_DEFAULT_wxUSE_PM=0
2623 DEFAULT_DEFAULT_wxUSE_X11=0
2624 DEFAULT_DEFAULT_wxUSE_DFB=0
2625
2626 PROGRAM_EXT=
2627 SO_SUFFIX=so
2628 SAMPLES_RPATH_FLAG=
2629 SAMPLES_RPATH_POSTLINK=
2630
2631 DEFAULT_STD_FLAG=yes
2632
2633 case "${host}" in
2634 *-hp-hpux* )
2635 USE_HPUX=1
2636 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2638 SO_SUFFIX=sl
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __HPUX__ 1
2641 _ACEOF
2642
2643
2644 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2645 ;;
2646 *-*-linux* )
2647 USE_LINUX=1
2648 cat >>confdefs.h <<\_ACEOF
2649 #define __LINUX__ 1
2650 _ACEOF
2651
2652 TMP=`uname -m`
2653 if test "x$TMP" = "xalpha"; then
2654 USE_ALPHA=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __ALPHA__ 1
2657 _ACEOF
2658
2659 fi
2660 DEFAULT_DEFAULT_wxUSE_GTK=1
2661 ;;
2662 *-*-gnu* | *-*-k*bsd*-gnu )
2663 USE_GNU=1
2664 TMP=`uname -m`
2665 if test "x$TMP" = "xalpha"; then
2666 USE_ALPHA=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __ALPHA__ 1
2669 _ACEOF
2670
2671 fi
2672 DEFAULT_DEFAULT_wxUSE_GTK=1
2673 ;;
2674 *-*-irix5* | *-*-irix6* )
2675 USE_SGI=1
2676 USE_SVR4=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SGI__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SVR4__ 1
2683 _ACEOF
2684
2685 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2686 ;;
2687 *-*-solaris2* )
2688 USE_SUN=1
2689 USE_SOLARIS=1
2690 USE_SVR4=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUN__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SOLARIS__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SVR4__ 1
2701 _ACEOF
2702
2703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2705 ;;
2706 *-*-sunos4* )
2707 USE_SUN=1
2708 USE_SUNOS=1
2709 USE_BSD=1
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __SUN__ 1
2712 _ACEOF
2713
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SUNOS__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2723 ;;
2724 *-*-freebsd*)
2725 USE_BSD=1
2726 USE_FREEBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __FREEBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-openbsd*|*-*-mirbsd*)
2738 USE_BSD=1
2739 USE_OPENBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __OPENBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 ;;
2750 *-*-netbsd*)
2751 USE_BSD=1
2752 USE_NETBSD=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __NETBSD__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __BSD__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_GTK=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763
2764 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2765 ;;
2766 *-*-osf* )
2767 USE_ALPHA=1
2768 USE_OSF=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __ALPHA__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __OSF__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2779 ;;
2780 *-*-dgux5* )
2781 USE_ALPHA=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __ALPHA__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-sysv5* )
2794 USE_SYSV=1
2795 USE_SVR4=1
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SYSV__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SVR4__ 1
2802 _ACEOF
2803
2804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2805 ;;
2806 *-*-aix* )
2807 USE_AIX=1
2808 USE_SYSV=1
2809 USE_SVR4=1
2810 SO_SUFFIX=a
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __AIX__ 1
2813 _ACEOF
2814
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __SYSV__ 1
2817 _ACEOF
2818
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __SVR4__ 1
2821 _ACEOF
2822
2823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2824 ;;
2825
2826 *-*-*UnixWare*)
2827 USE_SYSV=1
2828 USE_SVR4=1
2829 USE_UNIXWARE=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __UNIXWARE__ 1
2832 _ACEOF
2833
2834 ;;
2835
2836 *-*-cygwin* | *-*-mingw32* )
2837 SO_SUFFIX=dll
2838 PROGRAM_EXT=".exe"
2839 DEFAULT_DEFAULT_wxUSE_MSW=1
2840 ;;
2841
2842 *-pc-msdosdjgpp )
2843 USE_UNIX=0
2844 USE_DOS=1
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __DOS__ 1
2847 _ACEOF
2848
2849 PROGRAM_EXT=".exe"
2850 DEFAULT_DEFAULT_wxUSE_MGL=1
2851 ;;
2852
2853 *-pc-os2_emx | *-pc-os2-emx )
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __EMX__ 1
2856 _ACEOF
2857
2858 USE_OS2=1
2859 cat >>confdefs.h <<\_ACEOF
2860 #define __OS2__ 1
2861 _ACEOF
2862
2863 PROGRAM_EXT=".exe"
2864 DEFAULT_DEFAULT_wxUSE_PM=1
2865 CXX=gcc
2866 LDFLAGS="$LDFLAGS -Zcrtdll"
2867 ac_executable_extensions=".exe"
2868 export ac_executable_extensions
2869 ac_save_IFS="$IFS"
2870 IFS='\\'
2871 ac_TEMP_PATH=
2872 for ac_dir in $PATH; do
2873 IFS=$ac_save_IFS
2874 if test -z "$ac_TEMP_PATH"; then
2875 ac_TEMP_PATH="$ac_dir"
2876 else
2877 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2878 fi
2879 done
2880 export PATH="$ac_TEMP_PATH"
2881 unset ac_TEMP_PATH
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-darwin* )
2886 USE_BSD=1
2887 USE_DARWIN=1
2888 SO_SUFFIX=dylib
2889 cat >>confdefs.h <<\_ACEOF
2890 #define __BSD__ 1
2891 _ACEOF
2892
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __DARWIN__ 1
2895 _ACEOF
2896
2897 cat >>confdefs.h <<\_ACEOF
2898 #define TARGET_CARBON 1
2899 _ACEOF
2900
2901 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2902 DEFAULT_STD_FLAG=no
2903 ;;
2904 powerpc-apple-macos* )
2905 USE_UNIX=0
2906 ac_cv_c_bigendian=yes
2907 SO_SUFFIX=shlib
2908 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2909 DEFAULT_STD_FLAG=no
2910 ;;
2911
2912 *-*-beos* )
2913 USE_BEOS=1
2914 cat >>confdefs.h <<\_ACEOF
2915 #define __BEOS__ 1
2916 _ACEOF
2917
2918 ;;
2919
2920 *)
2921 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2922 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2923 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2924 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2925
2926 DEFAULT_DEFAULT_wxUSE_X11=1
2927 DEFAULT_wxUSE_SHARED=no
2928 esac
2929
2930
2931
2932 DEFAULT_wxUSE_ALL_FEATURES=yes
2933
2934 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2935 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2936
2937 DEFAULT_wxUSE_DMALLOC=no
2938 DEFAULT_wxUSE_LIBGNOMEVFS=no
2939 DEFAULT_wxUSE_LIBHILDON=no
2940 DEFAULT_wxUSE_LIBMSPACK=no
2941 DEFAULT_wxUSE_LIBSDL=no
2942 DEFAULT_wxUSE_OPENGL=no
2943
2944 DEFAULT_wxUSE_ACCESSIBILITY=no
2945 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2946 DEFAULT_wxUSE_IPV6=no
2947 DEFAULT_wxUSE_MEDIACTRL=no
2948 DEFAULT_wxUSE_TAB_DIALOG=no
2949 DEFAULT_wxUSE_GSTREAMER8=no
2950
2951 DEFAULT_wxUSE_UNICODE_UTF8=auto
2952 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2953
2954 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2955
2956 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2957
2958 DEFAULT_wxUSE_GTK2=yes
2959
2960 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2961
2962
2963
2964
2965
2966 enablestring=disable
2967 defaultval=
2968 if test -z "$defaultval"; then
2969 if test x"$enablestring" = xdisable; then
2970 defaultval=yes
2971 else
2972 defaultval=no
2973 fi
2974 fi
2975
2976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2977 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2978 # Check whether --enable-gui was given.
2979 if test "${enable_gui+set}" = set; then
2980 enableval=$enable_gui;
2981 if test "$enableval" = yes; then
2982 wx_cv_use_gui='wxUSE_GUI=yes'
2983 else
2984 wx_cv_use_gui='wxUSE_GUI=no'
2985 fi
2986
2987 else
2988
2989 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2990
2991 fi
2992
2993
2994 eval "$wx_cv_use_gui"
2995
2996 if test x"$enablestring" = xdisable; then
2997 if test $wxUSE_GUI = yes; then
2998 result=no
2999 else
3000 result=yes
3001 fi
3002 else
3003 result=$wxUSE_GUI
3004 fi
3005
3006 { echo "$as_me:$LINENO: result: $result" >&5
3007 echo "${ECHO_T}$result" >&6; }
3008
3009
3010 enablestring=
3011 defaultval=
3012 if test -z "$defaultval"; then
3013 if test x"$enablestring" = xdisable; then
3014 defaultval=yes
3015 else
3016 defaultval=no
3017 fi
3018 fi
3019
3020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3021 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3022 # Check whether --enable-monolithic was given.
3023 if test "${enable_monolithic+set}" = set; then
3024 enableval=$enable_monolithic;
3025 if test "$enableval" = yes; then
3026 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3027 else
3028 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3029 fi
3030
3031 else
3032
3033 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3034
3035 fi
3036
3037
3038 eval "$wx_cv_use_monolithic"
3039
3040 if test x"$enablestring" = xdisable; then
3041 if test $wxUSE_MONOLITHIC = yes; then
3042 result=no
3043 else
3044 result=yes
3045 fi
3046 else
3047 result=$wxUSE_MONOLITHIC
3048 fi
3049
3050 { echo "$as_me:$LINENO: result: $result" >&5
3051 echo "${ECHO_T}$result" >&6; }
3052
3053
3054 enablestring=
3055 defaultval=
3056 if test -z "$defaultval"; then
3057 if test x"$enablestring" = xdisable; then
3058 defaultval=yes
3059 else
3060 defaultval=no
3061 fi
3062 fi
3063
3064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3065 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3066 # Check whether --enable-plugins was given.
3067 if test "${enable_plugins+set}" = set; then
3068 enableval=$enable_plugins;
3069 if test "$enableval" = yes; then
3070 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3071 else
3072 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3073 fi
3074
3075 else
3076
3077 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3078
3079 fi
3080
3081
3082 eval "$wx_cv_use_plugins"
3083
3084 if test x"$enablestring" = xdisable; then
3085 if test $wxUSE_PLUGINS = yes; then
3086 result=no
3087 else
3088 result=yes
3089 fi
3090 else
3091 result=$wxUSE_PLUGINS
3092 fi
3093
3094 { echo "$as_me:$LINENO: result: $result" >&5
3095 echo "${ECHO_T}$result" >&6; }
3096
3097
3098 withstring=without
3099 defaultval=$wxUSE_ALL_FEATURES
3100 if test -z "$defaultval"; then
3101 if test x"$withstring" = xwithout; then
3102 defaultval=yes
3103 else
3104 defaultval=no
3105 fi
3106 fi
3107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3108 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3109
3110 # Check whether --with-subdirs was given.
3111 if test "${with_subdirs+set}" = set; then
3112 withval=$with_subdirs;
3113 if test "$withval" = yes; then
3114 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3115 else
3116 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3117 fi
3118
3119 else
3120
3121 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3122
3123 fi
3124
3125
3126 eval "$wx_cv_use_subdirs"
3127
3128 if test x"$withstring" = xwithout; then
3129 if test $wxWITH_SUBDIRS = yes; then
3130 result=no
3131 else
3132 result=yes
3133 fi
3134 else
3135 result=$wxWITH_SUBDIRS
3136 fi
3137
3138 { echo "$as_me:$LINENO: result: $result" >&5
3139 echo "${ECHO_T}$result" >&6; }
3140
3141
3142 # Check whether --with-flavour was given.
3143 if test "${with_flavour+set}" = set; then
3144 withval=$with_flavour; WX_FLAVOUR="$withval"
3145 fi
3146
3147
3148 enablestring=
3149 defaultval=
3150 if test -z "$defaultval"; then
3151 if test x"$enablestring" = xdisable; then
3152 defaultval=yes
3153 else
3154 defaultval=no
3155 fi
3156 fi
3157
3158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3159 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3160 # Check whether --enable-official_build was given.
3161 if test "${enable_official_build+set}" = set; then
3162 enableval=$enable_official_build;
3163 if test "$enableval" = yes; then
3164 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3165 else
3166 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3167 fi
3168
3169 else
3170
3171 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3172
3173 fi
3174
3175
3176 eval "$wx_cv_use_official_build"
3177
3178 if test x"$enablestring" = xdisable; then
3179 if test $wxUSE_OFFICIAL_BUILD = yes; then
3180 result=no
3181 else
3182 result=yes
3183 fi
3184 else
3185 result=$wxUSE_OFFICIAL_BUILD
3186 fi
3187
3188 { echo "$as_me:$LINENO: result: $result" >&5
3189 echo "${ECHO_T}$result" >&6; }
3190
3191 # Check whether --enable-vendor was given.
3192 if test "${enable_vendor+set}" = set; then
3193 enableval=$enable_vendor; VENDOR="$enableval"
3194 fi
3195
3196 if test "x$VENDOR" = "x"; then
3197 VENDOR="custom"
3198 fi
3199
3200
3201 enablestring=disable
3202 defaultval=
3203 if test -z "$defaultval"; then
3204 if test x"$enablestring" = xdisable; then
3205 defaultval=yes
3206 else
3207 defaultval=no
3208 fi
3209 fi
3210
3211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3212 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3213 # Check whether --enable-all-features was given.
3214 if test "${enable_all_features+set}" = set; then
3215 enableval=$enable_all_features;
3216 if test "$enableval" = yes; then
3217 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3218 else
3219 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3220 fi
3221
3222 else
3223
3224 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3225
3226 fi
3227
3228
3229 eval "$wx_cv_use_all_features"
3230
3231 if test x"$enablestring" = xdisable; then
3232 if test $wxUSE_ALL_FEATURES = yes; then
3233 result=no
3234 else
3235 result=yes
3236 fi
3237 else
3238 result=$wxUSE_ALL_FEATURES
3239 fi
3240
3241 { echo "$as_me:$LINENO: result: $result" >&5
3242 echo "${ECHO_T}$result" >&6; }
3243
3244
3245
3246 if test "$wxUSE_GUI" = "yes"; then
3247
3248
3249 enablestring=
3250 defaultval=
3251 if test -z "$defaultval"; then
3252 if test x"$enablestring" = xdisable; then
3253 defaultval=yes
3254 else
3255 defaultval=no
3256 fi
3257 fi
3258
3259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3261 # Check whether --enable-universal was given.
3262 if test "${enable_universal+set}" = set; then
3263 enableval=$enable_universal;
3264 if test "$enableval" = yes; then
3265 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3266 else
3267 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3268 fi
3269
3270 else
3271
3272 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3273
3274 fi
3275
3276
3277 eval "$wx_cv_use_universal"
3278
3279 if test x"$enablestring" = xdisable; then
3280 if test $wxUSE_UNIVERSAL = yes; then
3281 result=no
3282 else
3283 result=yes
3284 fi
3285 else
3286 result=$wxUSE_UNIVERSAL
3287 fi
3288
3289 { echo "$as_me:$LINENO: result: $result" >&5
3290 echo "${ECHO_T}$result" >&6; }
3291
3292 if test "$wxUSE_UNIVERSAL" = "yes"; then
3293
3294 # Check whether --with-themes was given.
3295 if test "${with_themes+set}" = set; then
3296 withval=$with_themes; wxUNIV_THEMES="$withval"
3297 fi
3298
3299 fi
3300
3301
3302 # Check whether --with-gtk was given.
3303 if test "${with_gtk+set}" = set; then
3304 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-motif was given.
3309 if test "${with_motif+set}" = set; then
3310 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-osx_carbon was given.
3315 if test "${with_osx_carbon+set}" = set; then
3316 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3317 fi
3318
3319
3320 # Check whether --with-osx_cocoa was given.
3321 if test "${with_osx_cocoa+set}" = set; then
3322 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-mac was given.
3327 if test "${with_mac+set}" = set; then
3328 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-cocoa was given.
3333 if test "${with_cocoa+set}" = set; then
3334 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-wine was given.
3339 if test "${with_wine+set}" = set; then
3340 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3341 fi
3342
3343
3344 # Check whether --with-msw was given.
3345 if test "${with_msw+set}" = set; then
3346 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-pm was given.
3351 if test "${with_pm+set}" = set; then
3352 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-mgl was given.
3357 if test "${with_mgl+set}" = set; then
3358 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 # Check whether --with-directfb was given.
3363 if test "${with_directfb+set}" = set; then
3364 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-microwin was given.
3369 if test "${with_microwin+set}" = set; then
3370 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-x11 was given.
3375 if test "${with_x11+set}" = set; then
3376 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 enablestring=
3381 defaultval=
3382 if test -z "$defaultval"; then
3383 if test x"$enablestring" = xdisable; then
3384 defaultval=yes
3385 else
3386 defaultval=no
3387 fi
3388 fi
3389
3390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3392 # Check whether --enable-nanox was given.
3393 if test "${enable_nanox+set}" = set; then
3394 enableval=$enable_nanox;
3395 if test "$enableval" = yes; then
3396 wx_cv_use_nanox='wxUSE_NANOX=yes'
3397 else
3398 wx_cv_use_nanox='wxUSE_NANOX=no'
3399 fi
3400
3401 else
3402
3403 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3404
3405 fi
3406
3407
3408 eval "$wx_cv_use_nanox"
3409
3410 if test x"$enablestring" = xdisable; then
3411 if test $wxUSE_NANOX = yes; then
3412 result=no
3413 else
3414 result=yes
3415 fi
3416 else
3417 result=$wxUSE_NANOX
3418 fi
3419
3420 { echo "$as_me:$LINENO: result: $result" >&5
3421 echo "${ECHO_T}$result" >&6; }
3422
3423
3424 # Check whether --enable-gtk2 was given.
3425 if test "${enable_gtk2+set}" = set; then
3426 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3427 fi
3428
3429
3430 enablestring=
3431 defaultval=
3432 if test -z "$defaultval"; then
3433 if test x"$enablestring" = xdisable; then
3434 defaultval=yes
3435 else
3436 defaultval=no
3437 fi
3438 fi
3439
3440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3441 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3442 # Check whether --enable-gpe was given.
3443 if test "${enable_gpe+set}" = set; then
3444 enableval=$enable_gpe;
3445 if test "$enableval" = yes; then
3446 wx_cv_use_gpe='wxUSE_GPE=yes'
3447 else
3448 wx_cv_use_gpe='wxUSE_GPE=no'
3449 fi
3450
3451 else
3452
3453 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3454
3455 fi
3456
3457
3458 eval "$wx_cv_use_gpe"
3459
3460 if test x"$enablestring" = xdisable; then
3461 if test $wxUSE_GPE = yes; then
3462 result=no
3463 else
3464 result=yes
3465 fi
3466 else
3467 result=$wxUSE_GPE
3468 fi
3469
3470 { echo "$as_me:$LINENO: result: $result" >&5
3471 echo "${ECHO_T}$result" >&6; }
3472
3473
3474
3475 { echo "$as_me:$LINENO: checking for toolkit" >&5
3476 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3477
3478
3479
3480 # In Wine, we need to default to MSW, not GTK or MOTIF
3481 if test "$wxUSE_WINE" = "yes"; then
3482 DEFAULT_DEFAULT_wxUSE_GTK=0
3483 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3484 DEFAULT_DEFAULT_wxUSE_MSW=1
3485 wxUSE_SHARED=no
3486 CC=${CC:-winegcc}
3487 CXX=${CXX:-wineg++}
3488 fi
3489
3490
3491 if test "$wxUSE_GUI" = "yes"; then
3492
3493 if test "$USE_BEOS" = 1; then
3494 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3495 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3496 { (exit 1); exit 1; }; }
3497 fi
3498
3499 if test "$TOOLKIT_GIVEN" = 1; then
3500 for toolkit in $ALL_TOOLKITS; do
3501 var=wxUSE_$toolkit
3502 eval "value=\$${var}"
3503 if test "x$value" = "xno"; then
3504 eval "$var=0"
3505 elif test "x$value" != "x"; then
3506 eval "$var=1"
3507 fi
3508
3509 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3510 eval "wx${toolkit}_VERSION=$value"
3511 fi
3512 done
3513 else
3514 for toolkit in $ALL_TOOLKITS; do
3515 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3516 eval "wxUSE_$toolkit=\$${var}"
3517 done
3518 fi
3519
3520 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3521 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3522 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3523
3524 case "${host}" in
3525 *-pc-os2_emx | *-pc-os2-emx )
3526 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3527 esac
3528
3529 case "$NUM_TOOLKITS" in
3530 1)
3531 ;;
3532 0)
3533 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3534 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3535 { (exit 1); exit 1; }; }
3536 ;;
3537 *)
3538 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3539 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3540 { (exit 1); exit 1; }; }
3541 esac
3542
3543 # to be removed when --disable-gtk2 isn't needed
3544 if test "x$wxUSE_GTK2" = "xyes"; then
3545 wxGTK_VERSION=2
3546 elif test "x$wxUSE_GTK2" = "xno"; then
3547 wxGTK_VERSION=1
3548 fi
3549
3550 for toolkit in $ALL_TOOLKITS; do
3551 var=wxUSE_$toolkit
3552 eval "value=\$${var}"
3553 if test "$value" = 1; then
3554 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3555 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3556 echo "${ECHO_T}$toolkit_echo" >&6; }
3557 fi
3558 done
3559 else
3560 if test "x$host_alias" != "x"; then
3561 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3562 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3563 else
3564 { echo "$as_me:$LINENO: result: base only" >&5
3565 echo "${ECHO_T}base only" >&6; }
3566 fi
3567 fi
3568
3569 wxUSE_MAC=0
3570 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3571 wxUSE_MAC=1
3572 fi
3573
3574
3575
3576 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3577 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3578
3579 # Check whether --with-libpng was given.
3580 if test "${with_libpng+set}" = set; then
3581 withval=$with_libpng;
3582 if test "$withval" = yes; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3584 elif test "$withval" = no; then
3585 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3586 elif test "$withval" = sys; then
3587 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3588 elif test "$withval" = builtin; then
3589 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3590 else
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3594 fi
3595
3596 else
3597
3598 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3599
3600 fi
3601
3602
3603 eval "$wx_cv_use_libpng"
3604
3605 if test "$wxUSE_LIBPNG" = yes; then
3606 { echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6; }
3608 elif test "$wxUSE_LIBPNG" = no; then
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3611 elif test "$wxUSE_LIBPNG" = sys; then
3612 { echo "$as_me:$LINENO: result: system version" >&5
3613 echo "${ECHO_T}system version" >&6; }
3614 elif test "$wxUSE_LIBPNG" = builtin; then
3615 { echo "$as_me:$LINENO: result: builtin version" >&5
3616 echo "${ECHO_T}builtin version" >&6; }
3617 else
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3621 fi
3622
3623
3624 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3625 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3626
3627 # Check whether --with-libjpeg was given.
3628 if test "${with_libjpeg+set}" = set; then
3629 withval=$with_libjpeg;
3630 if test "$withval" = yes; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3632 elif test "$withval" = no; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3634 elif test "$withval" = sys; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3636 elif test "$withval" = builtin; then
3637 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644 else
3645
3646 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3647
3648 fi
3649
3650
3651 eval "$wx_cv_use_libjpeg"
3652
3653 if test "$wxUSE_LIBJPEG" = yes; then
3654 { echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3656 elif test "$wxUSE_LIBJPEG" = no; then
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3659 elif test "$wxUSE_LIBJPEG" = sys; then
3660 { echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6; }
3662 elif test "$wxUSE_LIBJPEG" = builtin; then
3663 { echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6; }
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3673 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3674
3675 # Check whether --with-libtiff was given.
3676 if test "${with_libtiff+set}" = set; then
3677 withval=$with_libtiff;
3678 if test "$withval" = yes; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3680 elif test "$withval" = no; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3682 elif test "$withval" = sys; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3684 elif test "$withval" = builtin; then
3685 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3686 else
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3690 fi
3691
3692 else
3693
3694 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3695
3696 fi
3697
3698
3699 eval "$wx_cv_use_libtiff"
3700
3701 if test "$wxUSE_LIBTIFF" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBTIFF" = no; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBTIFF" = sys; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719
3720 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3721 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3722
3723 # Check whether --with-libxpm was given.
3724 if test "${with_libxpm+set}" = set; then
3725 withval=$with_libxpm;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3728 elif test "$withval" = no; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3730 elif test "$withval" = sys; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740 else
3741
3742 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3743
3744 fi
3745
3746
3747 eval "$wx_cv_use_libxpm"
3748
3749 if test "$wxUSE_LIBXPM" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBXPM" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBXPM" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBXPM" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767
3768 withstring=
3769 defaultval=$wxUSE_ALL_FEATURES
3770 if test -z "$defaultval"; then
3771 if test x"$withstring" = xwithout; then
3772 defaultval=yes
3773 else
3774 defaultval=no
3775 fi
3776 fi
3777 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3778 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3779
3780 # Check whether --with-libiconv was given.
3781 if test "${with_libiconv+set}" = set; then
3782 withval=$with_libiconv;
3783 if test "$withval" = yes; then
3784 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3785 else
3786 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3787 fi
3788
3789 else
3790
3791 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3792
3793 fi
3794
3795
3796 eval "$wx_cv_use_libiconv"
3797
3798 if test x"$withstring" = xwithout; then
3799 if test $wxUSE_LIBICONV = yes; then
3800 result=no
3801 else
3802 result=yes
3803 fi
3804 else
3805 result=$wxUSE_LIBICONV
3806 fi
3807
3808 { echo "$as_me:$LINENO: result: $result" >&5
3809 echo "${ECHO_T}$result" >&6; }
3810
3811
3812 withstring=
3813 defaultval=$wxUSE_ALL_FEATURES
3814 if test -z "$defaultval"; then
3815 if test x"$withstring" = xwithout; then
3816 defaultval=yes
3817 else
3818 defaultval=no
3819 fi
3820 fi
3821 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3822 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3823
3824 # Check whether --with-libmspack was given.
3825 if test "${with_libmspack+set}" = set; then
3826 withval=$with_libmspack;
3827 if test "$withval" = yes; then
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3829 else
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3831 fi
3832
3833 else
3834
3835 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3836
3837 fi
3838
3839
3840 eval "$wx_cv_use_libmspack"
3841
3842 if test x"$withstring" = xwithout; then
3843 if test $wxUSE_LIBMSPACK = yes; then
3844 result=no
3845 else
3846 result=yes
3847 fi
3848 else
3849 result=$wxUSE_LIBMSPACK
3850 fi
3851
3852 { echo "$as_me:$LINENO: result: $result" >&5
3853 echo "${ECHO_T}$result" >&6; }
3854
3855
3856 withstring=without
3857 defaultval=$wxUSE_ALL_FEATURES
3858 if test -z "$defaultval"; then
3859 if test x"$withstring" = xwithout; then
3860 defaultval=yes
3861 else
3862 defaultval=no
3863 fi
3864 fi
3865 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3866 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3867
3868 # Check whether --with-gtkprint was given.
3869 if test "${with_gtkprint+set}" = set; then
3870 withval=$with_gtkprint;
3871 if test "$withval" = yes; then
3872 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3873 else
3874 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3875 fi
3876
3877 else
3878
3879 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3880
3881 fi
3882
3883
3884 eval "$wx_cv_use_gtkprint"
3885
3886 if test x"$withstring" = xwithout; then
3887 if test $wxUSE_GTKPRINT = yes; then
3888 result=no
3889 else
3890 result=yes
3891 fi
3892 else
3893 result=$wxUSE_GTKPRINT
3894 fi
3895
3896 { echo "$as_me:$LINENO: result: $result" >&5
3897 echo "${ECHO_T}$result" >&6; }
3898
3899
3900 withstring=without
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3904 defaultval=yes
3905 else
3906 defaultval=no
3907 fi
3908 fi
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3911
3912 # Check whether --with-gnomeprint was given.
3913 if test "${with_gnomeprint+set}" = set; then
3914 withval=$with_gnomeprint;
3915 if test "$withval" = yes; then
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3917 else
3918 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3919 fi
3920
3921 else
3922
3923 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3924
3925 fi
3926
3927
3928 eval "$wx_cv_use_gnomeprint"
3929
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBGNOMEPRINT = yes; then
3932 result=no
3933 else
3934 result=yes
3935 fi
3936 else
3937 result=$wxUSE_LIBGNOMEPRINT
3938 fi
3939
3940 { echo "$as_me:$LINENO: result: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3942
3943
3944 withstring=
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3948 defaultval=yes
3949 else
3950 defaultval=no
3951 fi
3952 fi
3953 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3954 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3955
3956 # Check whether --with-gnomevfs was given.
3957 if test "${with_gnomevfs+set}" = set; then
3958 withval=$with_gnomevfs;
3959 if test "$withval" = yes; then
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3961 else
3962 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3963 fi
3964
3965 else
3966
3967 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3968
3969 fi
3970
3971
3972 eval "$wx_cv_use_gnomevfs"
3973
3974 if test x"$withstring" = xwithout; then
3975 if test $wxUSE_LIBGNOMEVFS = yes; then
3976 result=no
3977 else
3978 result=yes
3979 fi
3980 else
3981 result=$wxUSE_LIBGNOMEVFS
3982 fi
3983
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3986
3987
3988 withstring=
3989 defaultval=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x"$withstring" = xwithout; then
3992 defaultval=yes
3993 else
3994 defaultval=no
3995 fi
3996 fi
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3999
4000 # Check whether --with-hildon was given.
4001 if test "${with_hildon+set}" = set; then
4002 withval=$with_hildon;
4003 if test "$withval" = yes; then
4004 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4005 else
4006 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4007 fi
4008
4009 else
4010
4011 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4012
4013 fi
4014
4015
4016 eval "$wx_cv_use_hildon"
4017
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_LIBHILDON = yes; then
4020 result=no
4021 else
4022 result=yes
4023 fi
4024 else
4025 result=$wxUSE_LIBHILDON
4026 fi
4027
4028 { echo "$as_me:$LINENO: result: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4030
4031
4032 withstring=
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4036 defaultval=yes
4037 else
4038 defaultval=no
4039 fi
4040 fi
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4043
4044 # Check whether --with-opengl was given.
4045 if test "${with_opengl+set}" = set; then
4046 withval=$with_opengl;
4047 if test "$withval" = yes; then
4048 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4049 else
4050 wx_cv_use_opengl='wxUSE_OPENGL=no'
4051 fi
4052
4053 else
4054
4055 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4056
4057 fi
4058
4059
4060 eval "$wx_cv_use_opengl"
4061
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_OPENGL = yes; then
4064 result=no
4065 else
4066 result=yes
4067 fi
4068 else
4069 result=$wxUSE_OPENGL
4070 fi
4071
4072 { echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4074
4075
4076 fi
4077
4078
4079 withstring=
4080 defaultval=$wxUSE_ALL_FEATURES
4081 if test -z "$defaultval"; then
4082 if test x"$withstring" = xwithout; then
4083 defaultval=yes
4084 else
4085 defaultval=no
4086 fi
4087 fi
4088 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4089 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4090
4091 # Check whether --with-dmalloc was given.
4092 if test "${with_dmalloc+set}" = set; then
4093 withval=$with_dmalloc;
4094 if test "$withval" = yes; then
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4096 else
4097 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4098 fi
4099
4100 else
4101
4102 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4103
4104 fi
4105
4106
4107 eval "$wx_cv_use_dmalloc"
4108
4109 if test x"$withstring" = xwithout; then
4110 if test $wxUSE_DMALLOC = yes; then
4111 result=no
4112 else
4113 result=yes
4114 fi
4115 else
4116 result=$wxUSE_DMALLOC
4117 fi
4118
4119 { echo "$as_me:$LINENO: result: $result" >&5
4120 echo "${ECHO_T}$result" >&6; }
4121
4122
4123 withstring=
4124 defaultval=$wxUSE_ALL_FEATURES
4125 if test -z "$defaultval"; then
4126 if test x"$withstring" = xwithout; then
4127 defaultval=yes
4128 else
4129 defaultval=no
4130 fi
4131 fi
4132 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4133 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4134
4135 # Check whether --with-sdl was given.
4136 if test "${with_sdl+set}" = set; then
4137 withval=$with_sdl;
4138 if test "$withval" = yes; then
4139 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4140 else
4141 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4142 fi
4143
4144 else
4145
4146 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4147
4148 fi
4149
4150
4151 eval "$wx_cv_use_sdl"
4152
4153 if test x"$withstring" = xwithout; then
4154 if test $wxUSE_LIBSDL = yes; then
4155 result=no
4156 else
4157 result=yes
4158 fi
4159 else
4160 result=$wxUSE_LIBSDL
4161 fi
4162
4163 { echo "$as_me:$LINENO: result: $result" >&5
4164 echo "${ECHO_T}$result" >&6; }
4165
4166
4167 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4168 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4169
4170 # Check whether --with-regex was given.
4171 if test "${with_regex+set}" = set; then
4172 withval=$with_regex;
4173 if test "$withval" = yes; then
4174 wx_cv_use_regex='wxUSE_REGEX=yes'
4175 elif test "$withval" = no; then
4176 wx_cv_use_regex='wxUSE_REGEX=no'
4177 elif test "$withval" = sys; then
4178 wx_cv_use_regex='wxUSE_REGEX=sys'
4179 elif test "$withval" = builtin; then
4180 wx_cv_use_regex='wxUSE_REGEX=builtin'
4181 else
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4185 fi
4186
4187 else
4188
4189 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4190
4191 fi
4192
4193
4194 eval "$wx_cv_use_regex"
4195
4196 if test "$wxUSE_REGEX" = yes; then
4197 { echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6; }
4199 elif test "$wxUSE_REGEX" = no; then
4200 { echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6; }
4202 elif test "$wxUSE_REGEX" = sys; then
4203 { echo "$as_me:$LINENO: result: system version" >&5
4204 echo "${ECHO_T}system version" >&6; }
4205 elif test "$wxUSE_REGEX" = builtin; then
4206 { echo "$as_me:$LINENO: result: builtin version" >&5
4207 echo "${ECHO_T}builtin version" >&6; }
4208 else
4209 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4210 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4211 { (exit 1); exit 1; }; }
4212 fi
4213
4214
4215 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4216 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4217
4218 # Check whether --with-zlib was given.
4219 if test "${with_zlib+set}" = set; then
4220 withval=$with_zlib;
4221 if test "$withval" = yes; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4223 elif test "$withval" = no; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=no'
4225 elif test "$withval" = sys; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4227 elif test "$withval" = builtin; then
4228 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235 else
4236
4237 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4238
4239 fi
4240
4241
4242 eval "$wx_cv_use_zlib"
4243
4244 if test "$wxUSE_ZLIB" = yes; then
4245 { echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6; }
4247 elif test "$wxUSE_ZLIB" = no; then
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4250 elif test "$wxUSE_ZLIB" = sys; then
4251 { echo "$as_me:$LINENO: result: system version" >&5
4252 echo "${ECHO_T}system version" >&6; }
4253 elif test "$wxUSE_ZLIB" = builtin; then
4254 { echo "$as_me:$LINENO: result: builtin version" >&5
4255 echo "${ECHO_T}builtin version" >&6; }
4256 else
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4260 fi
4261
4262
4263 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4264 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4265
4266 # Check whether --with-expat was given.
4267 if test "${with_expat+set}" = set; then
4268 withval=$with_expat;
4269 if test "$withval" = yes; then
4270 wx_cv_use_expat='wxUSE_EXPAT=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_expat='wxUSE_EXPAT=no'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_expat='wxUSE_EXPAT=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283 else
4284
4285 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4286
4287 fi
4288
4289
4290 eval "$wx_cv_use_expat"
4291
4292 if test "$wxUSE_EXPAT" = yes; then
4293 { echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6; }
4295 elif test "$wxUSE_EXPAT" = no; then
4296 { echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6; }
4298 elif test "$wxUSE_EXPAT" = sys; then
4299 { echo "$as_me:$LINENO: result: system version" >&5
4300 echo "${ECHO_T}system version" >&6; }
4301 elif test "$wxUSE_EXPAT" = builtin; then
4302 { echo "$as_me:$LINENO: result: builtin version" >&5
4303 echo "${ECHO_T}builtin version" >&6; }
4304 else
4305 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4306 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4308 fi
4309
4310
4311 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4312 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4313
4314 # Check whether --with-macosx-sdk was given.
4315 if test "${with_macosx_sdk+set}" = set; then
4316 withval=$with_macosx_sdk;
4317 wxUSE_MACOSX_SDK=$withval
4318 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4319
4320 fi
4321
4322 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4323 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4324
4325 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4326 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4327
4328 # Check whether --with-macosx-version-min was given.
4329 if test "${with_macosx_version_min+set}" = set; then
4330 withval=$with_macosx_version_min;
4331 wxUSE_MACOSX_VERSION_MIN=$withval
4332 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4333
4334 fi
4335
4336 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4337 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4338
4339
4340
4341 enablestring=disable
4342 defaultval=
4343 if test -z "$defaultval"; then
4344 if test x"$enablestring" = xdisable; then
4345 defaultval=yes
4346 else
4347 defaultval=no
4348 fi
4349 fi
4350
4351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4353 # Check whether --enable-shared was given.
4354 if test "${enable_shared+set}" = set; then
4355 enableval=$enable_shared;
4356 if test "$enableval" = yes; then
4357 wx_cv_use_shared='wxUSE_SHARED=yes'
4358 else
4359 wx_cv_use_shared='wxUSE_SHARED=no'
4360 fi
4361
4362 else
4363
4364 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4365
4366 fi
4367
4368
4369 eval "$wx_cv_use_shared"
4370
4371 if test x"$enablestring" = xdisable; then
4372 if test $wxUSE_SHARED = yes; then
4373 result=no
4374 else
4375 result=yes
4376 fi
4377 else
4378 result=$wxUSE_SHARED
4379 fi
4380
4381 { echo "$as_me:$LINENO: result: $result" >&5
4382 echo "${ECHO_T}$result" >&6; }
4383
4384
4385 enablestring=
4386 defaultval=
4387 if test -z "$defaultval"; then
4388 if test x"$enablestring" = xdisable; then
4389 defaultval=yes
4390 else
4391 defaultval=no
4392 fi
4393 fi
4394
4395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4397 # Check whether --enable-debug was given.
4398 if test "${enable_debug+set}" = set; then
4399 enableval=$enable_debug;
4400 if test "$enableval" = yes; then
4401 wx_cv_use_debug='wxUSE_DEBUG=yes'
4402 else
4403 wx_cv_use_debug='wxUSE_DEBUG=no'
4404 fi
4405
4406 else
4407
4408 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4409
4410 fi
4411
4412
4413 eval "$wx_cv_use_debug"
4414
4415 if test x"$enablestring" = xdisable; then
4416 if test $wxUSE_DEBUG = yes; then
4417 result=no
4418 else
4419 result=yes
4420 fi
4421 else
4422 result=$wxUSE_DEBUG
4423 fi
4424
4425 { echo "$as_me:$LINENO: result: $result" >&5
4426 echo "${ECHO_T}$result" >&6; }
4427
4428
4429 enablestring=
4430 defaultval=
4431 if test -z "$defaultval"; then
4432 if test x"$enablestring" = xdisable; then
4433 defaultval=yes
4434 else
4435 defaultval=no
4436 fi
4437 fi
4438
4439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4440 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4441 # Check whether --enable-stl was given.
4442 if test "${enable_stl+set}" = set; then
4443 enableval=$enable_stl;
4444 if test "$enableval" = yes; then
4445 wx_cv_use_stl='wxUSE_STL=yes'
4446 else
4447 wx_cv_use_stl='wxUSE_STL=no'
4448 fi
4449
4450 else
4451
4452 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4453
4454 fi
4455
4456
4457 eval "$wx_cv_use_stl"
4458
4459 if test x"$enablestring" = xdisable; then
4460 if test $wxUSE_STL = yes; then
4461 result=no
4462 else
4463 result=yes
4464 fi
4465 else
4466 result=$wxUSE_STL
4467 fi
4468
4469 { echo "$as_me:$LINENO: result: $result" >&5
4470 echo "${ECHO_T}$result" >&6; }
4471
4472
4473 enablestring=
4474 defaultval=
4475 if test -z "$defaultval"; then
4476 if test x"$enablestring" = xdisable; then
4477 defaultval=yes
4478 else
4479 defaultval=no
4480 fi
4481 fi
4482
4483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4485 # Check whether --enable-std_iostreams was given.
4486 if test "${enable_std_iostreams+set}" = set; then
4487 enableval=$enable_std_iostreams;
4488 if test "$enableval" = yes; then
4489 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4490 else
4491 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4492 fi
4493
4494 else
4495
4496 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4497
4498 fi
4499
4500
4501 eval "$wx_cv_use_std_iostreams"
4502
4503 if test x"$enablestring" = xdisable; then
4504 if test $wxUSE_STD_IOSTREAM = yes; then
4505 result=no
4506 else
4507 result=yes
4508 fi
4509 else
4510 result=$wxUSE_STD_IOSTREAM
4511 fi
4512
4513 { echo "$as_me:$LINENO: result: $result" >&5
4514 echo "${ECHO_T}$result" >&6; }
4515
4516
4517 enablestring=
4518 defaultval=
4519 if test -z "$defaultval"; then
4520 if test x"$enablestring" = xdisable; then
4521 defaultval=yes
4522 else
4523 defaultval=no
4524 fi
4525 fi
4526
4527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4529 # Check whether --enable-std_string was given.
4530 if test "${enable_std_string+set}" = set; then
4531 enableval=$enable_std_string;
4532 if test "$enableval" = yes; then
4533 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4534 else
4535 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4536 fi
4537
4538 else
4539
4540 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4541
4542 fi
4543
4544
4545 eval "$wx_cv_use_std_string"
4546
4547 if test x"$enablestring" = xdisable; then
4548 if test $wxUSE_STD_STRING = yes; then
4549 result=no
4550 else
4551 result=yes
4552 fi
4553 else
4554 result=$wxUSE_STD_STRING
4555 fi
4556
4557 { echo "$as_me:$LINENO: result: $result" >&5
4558 echo "${ECHO_T}$result" >&6; }
4559
4560
4561 enablestring=disable
4562 defaultval=
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4565 defaultval=yes
4566 else
4567 defaultval=no
4568 fi
4569 fi
4570
4571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4573 # Check whether --enable-unicode was given.
4574 if test "${enable_unicode+set}" = set; then
4575 enableval=$enable_unicode;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4578 else
4579 wx_cv_use_unicode='wxUSE_UNICODE=no'
4580 fi
4581
4582 else
4583
4584 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4585
4586 fi
4587
4588
4589 eval "$wx_cv_use_unicode"
4590
4591 if test x"$enablestring" = xdisable; then
4592 if test $wxUSE_UNICODE = yes; then
4593 result=no
4594 else
4595 result=yes
4596 fi
4597 else
4598 result=$wxUSE_UNICODE
4599 fi
4600
4601 { echo "$as_me:$LINENO: result: $result" >&5
4602 echo "${ECHO_T}$result" >&6; }
4603
4604
4605 enablestring=
4606 defaultval=
4607 if test -z "$defaultval"; then
4608 if test x"$enablestring" = xdisable; then
4609 defaultval=yes
4610 else
4611 defaultval=no
4612 fi
4613 fi
4614
4615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4617 # Check whether --enable-mslu was given.
4618 if test "${enable_mslu+set}" = set; then
4619 enableval=$enable_mslu;
4620 if test "$enableval" = yes; then
4621 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4622 else
4623 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4624 fi
4625
4626 else
4627
4628 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4629
4630 fi
4631
4632
4633 eval "$wx_cv_use_mslu"
4634
4635 if test x"$enablestring" = xdisable; then
4636 if test $wxUSE_UNICODE_MSLU = yes; then
4637 result=no
4638 else
4639 result=yes
4640 fi
4641 else
4642 result=$wxUSE_UNICODE_MSLU
4643 fi
4644
4645 { echo "$as_me:$LINENO: result: $result" >&5
4646 echo "${ECHO_T}$result" >&6; }
4647
4648
4649 enablestring=
4650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4652 # Check whether --enable-utf8 was given.
4653 if test "${enable_utf8+set}" = set; then
4654 enableval=$enable_utf8;
4655 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4656
4657 else
4658
4659 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4660
4661 fi
4662
4663
4664 eval "$wx_cv_use_utf8"
4665
4666 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4667 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4668
4669
4670 enablestring=
4671 defaultval=
4672 if test -z "$defaultval"; then
4673 if test x"$enablestring" = xdisable; then
4674 defaultval=yes
4675 else
4676 defaultval=no
4677 fi
4678 fi
4679
4680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4682 # Check whether --enable-utf8only was given.
4683 if test "${enable_utf8only+set}" = set; then
4684 enableval=$enable_utf8only;
4685 if test "$enableval" = yes; then
4686 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4687 else
4688 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4689 fi
4690
4691 else
4692
4693 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4694
4695 fi
4696
4697
4698 eval "$wx_cv_use_utf8only"
4699
4700 if test x"$enablestring" = xdisable; then
4701 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4702 result=no
4703 else
4704 result=yes
4705 fi
4706 else
4707 result=$wxUSE_UNICODE_UTF8_LOCALE
4708 fi
4709
4710 { echo "$as_me:$LINENO: result: $result" >&5
4711 echo "${ECHO_T}$result" >&6; }
4712
4713
4714 enablestring=
4715 defaultval=
4716 if test -z "$defaultval"; then
4717 if test x"$enablestring" = xdisable; then
4718 defaultval=yes
4719 else
4720 defaultval=no
4721 fi
4722 fi
4723
4724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4726 # Check whether --enable-extended_rtti was given.
4727 if test "${enable_extended_rtti+set}" = set; then
4728 enableval=$enable_extended_rtti;
4729 if test "$enableval" = yes; then
4730 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4731 else
4732 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4733 fi
4734
4735 else
4736
4737 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4738
4739 fi
4740
4741
4742 eval "$wx_cv_use_extended_rtti"
4743
4744 if test x"$enablestring" = xdisable; then
4745 if test $wxUSE_EXTENDED_RTTI = yes; then
4746 result=no
4747 else
4748 result=yes
4749 fi
4750 else
4751 result=$wxUSE_EXTENDED_RTTI
4752 fi
4753
4754 { echo "$as_me:$LINENO: result: $result" >&5
4755 echo "${ECHO_T}$result" >&6; }
4756
4757 if test "$USE_OS2" = 1; then
4758 DEFAULT_wxUSE_OMF=no
4759
4760 enablestring=
4761 defaultval=
4762 if test -z "$defaultval"; then
4763 if test x"$enablestring" = xdisable; then
4764 defaultval=yes
4765 else
4766 defaultval=no
4767 fi
4768 fi
4769
4770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4771 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4772 # Check whether --enable-omf was given.
4773 if test "${enable_omf+set}" = set; then
4774 enableval=$enable_omf;
4775 if test "$enableval" = yes; then
4776 wx_cv_use_omf='wxUSE_OMF=yes'
4777 else
4778 wx_cv_use_omf='wxUSE_OMF=no'
4779 fi
4780
4781 else
4782
4783 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4784
4785 fi
4786
4787
4788 eval "$wx_cv_use_omf"
4789
4790 if test x"$enablestring" = xdisable; then
4791 if test $wxUSE_OMF = yes; then
4792 result=no
4793 else
4794 result=yes
4795 fi
4796 else
4797 result=$wxUSE_OMF
4798 fi
4799
4800 { echo "$as_me:$LINENO: result: $result" >&5
4801 echo "${ECHO_T}$result" >&6; }
4802
4803 fi
4804
4805 if test "$wxUSE_DEBUG" = "yes"; then
4806 DEFAULT_wxUSE_DEBUG_FLAG=yes
4807 DEFAULT_wxUSE_DEBUG_INFO=yes
4808 BUILD=debug
4809 elif test "$wxUSE_DEBUG" = "no"; then
4810 DEFAULT_wxUSE_DEBUG_FLAG=no
4811 DEFAULT_wxUSE_DEBUG_INFO=no
4812 BUILD=release
4813 fi
4814
4815
4816 enablestring=
4817 defaultval=
4818 if test -z "$defaultval"; then
4819 if test x"$enablestring" = xdisable; then
4820 defaultval=yes
4821 else
4822 defaultval=no
4823 fi
4824 fi
4825
4826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4828 # Check whether --enable-debug_flag was given.
4829 if test "${enable_debug_flag+set}" = set; then
4830 enableval=$enable_debug_flag;
4831 if test "$enableval" = yes; then
4832 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4833 else
4834 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4835 fi
4836
4837 else
4838
4839 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4840
4841 fi
4842
4843
4844 eval "$wx_cv_use_debug_flag"
4845
4846 if test x"$enablestring" = xdisable; then
4847 if test $wxUSE_DEBUG_FLAG = yes; then
4848 result=no
4849 else
4850 result=yes
4851 fi
4852 else
4853 result=$wxUSE_DEBUG_FLAG
4854 fi
4855
4856 { echo "$as_me:$LINENO: result: $result" >&5
4857 echo "${ECHO_T}$result" >&6; }
4858
4859
4860 enablestring=
4861 defaultval=
4862 if test -z "$defaultval"; then
4863 if test x"$enablestring" = xdisable; then
4864 defaultval=yes
4865 else
4866 defaultval=no
4867 fi
4868 fi
4869
4870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4872 # Check whether --enable-debug_info was given.
4873 if test "${enable_debug_info+set}" = set; then
4874 enableval=$enable_debug_info;
4875 if test "$enableval" = yes; then
4876 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4877 else
4878 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4879 fi
4880
4881 else
4882
4883 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4884
4885 fi
4886
4887
4888 eval "$wx_cv_use_debug_info"
4889
4890 if test x"$enablestring" = xdisable; then
4891 if test $wxUSE_DEBUG_INFO = yes; then
4892 result=no
4893 else
4894 result=yes
4895 fi
4896 else
4897 result=$wxUSE_DEBUG_INFO
4898 fi
4899
4900 { echo "$as_me:$LINENO: result: $result" >&5
4901 echo "${ECHO_T}$result" >&6; }
4902
4903
4904 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4905 wxUSE_DEBUG=yes
4906 BUILD=debug
4907 fi
4908
4909 if test "$wxUSE_DEBUG" = "yes"; then
4910 DEFAULT_wxUSE_OPTIMISE=no
4911 fi
4912
4913
4914 enablestring=disable
4915 defaultval=
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4918 defaultval=yes
4919 else
4920 defaultval=no
4921 fi
4922 fi
4923
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4926 # Check whether --enable-optimise was given.
4927 if test "${enable_optimise+set}" = set; then
4928 enableval=$enable_optimise;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4931 else
4932 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4933 fi
4934
4935 else
4936
4937 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4938
4939 fi
4940
4941
4942 eval "$wx_cv_use_optimise"
4943
4944 if test x"$enablestring" = xdisable; then
4945 if test $wxUSE_OPTIMISE = yes; then
4946 result=no
4947 else
4948 result=yes
4949 fi
4950 else
4951 result=$wxUSE_OPTIMISE
4952 fi
4953
4954 { echo "$as_me:$LINENO: result: $result" >&5
4955 echo "${ECHO_T}$result" >&6; }
4956
4957
4958
4959 enablestring=
4960 defaultval=
4961 if test -z "$defaultval"; then
4962 if test x"$enablestring" = xdisable; then
4963 defaultval=yes
4964 else
4965 defaultval=no
4966 fi
4967 fi
4968
4969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4971 # Check whether --enable-debug_gdb was given.
4972 if test "${enable_debug_gdb+set}" = set; then
4973 enableval=$enable_debug_gdb;
4974 if test "$enableval" = yes; then
4975 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4976 else
4977 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4978 fi
4979
4980 else
4981
4982 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4983
4984 fi
4985
4986
4987 eval "$wx_cv_use_debug_gdb"
4988
4989 if test x"$enablestring" = xdisable; then
4990 if test $wxUSE_DEBUG_GDB = yes; then
4991 result=no
4992 else
4993 result=yes
4994 fi
4995 else
4996 result=$wxUSE_DEBUG_GDB
4997 fi
4998
4999 { echo "$as_me:$LINENO: result: $result" >&5
5000 echo "${ECHO_T}$result" >&6; }
5001
5002
5003 enablestring=
5004 defaultval=
5005 if test -z "$defaultval"; then
5006 if test x"$enablestring" = xdisable; then
5007 defaultval=yes
5008 else
5009 defaultval=no
5010 fi
5011 fi
5012
5013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5015 # Check whether --enable-debug_cntxt was given.
5016 if test "${enable_debug_cntxt+set}" = set; then
5017 enableval=$enable_debug_cntxt;
5018 if test "$enableval" = yes; then
5019 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5020 else
5021 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5022 fi
5023
5024 else
5025
5026 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5027
5028 fi
5029
5030
5031 eval "$wx_cv_use_debug_cntxt"
5032
5033 if test x"$enablestring" = xdisable; then
5034 if test $wxUSE_DEBUG_CONTEXT = yes; then
5035 result=no
5036 else
5037 result=yes
5038 fi
5039 else
5040 result=$wxUSE_DEBUG_CONTEXT
5041 fi
5042
5043 { echo "$as_me:$LINENO: result: $result" >&5
5044 echo "${ECHO_T}$result" >&6; }
5045
5046
5047 enablestring=
5048 defaultval=
5049 if test -z "$defaultval"; then
5050 if test x"$enablestring" = xdisable; then
5051 defaultval=yes
5052 else
5053 defaultval=no
5054 fi
5055 fi
5056
5057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5058 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5059 # Check whether --enable-mem_tracing was given.
5060 if test "${enable_mem_tracing+set}" = set; then
5061 enableval=$enable_mem_tracing;
5062 if test "$enableval" = yes; then
5063 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5064 else
5065 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5066 fi
5067
5068 else
5069
5070 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5071
5072 fi
5073
5074
5075 eval "$wx_cv_use_mem_tracing"
5076
5077 if test x"$enablestring" = xdisable; then
5078 if test $wxUSE_MEM_TRACING = yes; then
5079 result=no
5080 else
5081 result=yes
5082 fi
5083 else
5084 result=$wxUSE_MEM_TRACING
5085 fi
5086
5087 { echo "$as_me:$LINENO: result: $result" >&5
5088 echo "${ECHO_T}$result" >&6; }
5089
5090
5091 enablestring=
5092 defaultval=
5093 if test -z "$defaultval"; then
5094 if test x"$enablestring" = xdisable; then
5095 defaultval=yes
5096 else
5097 defaultval=no
5098 fi
5099 fi
5100
5101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5103 # Check whether --enable-profile was given.
5104 if test "${enable_profile+set}" = set; then
5105 enableval=$enable_profile;
5106 if test "$enableval" = yes; then
5107 wx_cv_use_profile='wxUSE_PROFILE=yes'
5108 else
5109 wx_cv_use_profile='wxUSE_PROFILE=no'
5110 fi
5111
5112 else
5113
5114 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5115
5116 fi
5117
5118
5119 eval "$wx_cv_use_profile"
5120
5121 if test x"$enablestring" = xdisable; then
5122 if test $wxUSE_PROFILE = yes; then
5123 result=no
5124 else
5125 result=yes
5126 fi
5127 else
5128 result=$wxUSE_PROFILE
5129 fi
5130
5131 { echo "$as_me:$LINENO: result: $result" >&5
5132 echo "${ECHO_T}$result" >&6; }
5133
5134
5135 enablestring=
5136 defaultval=
5137 if test -z "$defaultval"; then
5138 if test x"$enablestring" = xdisable; then
5139 defaultval=yes
5140 else
5141 defaultval=no
5142 fi
5143 fi
5144
5145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5147 # Check whether --enable-no_rtti was given.
5148 if test "${enable_no_rtti+set}" = set; then
5149 enableval=$enable_no_rtti;
5150 if test "$enableval" = yes; then
5151 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5152 else
5153 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5154 fi
5155
5156 else
5157
5158 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5159
5160 fi
5161
5162
5163 eval "$wx_cv_use_no_rtti"
5164
5165 if test x"$enablestring" = xdisable; then
5166 if test $wxUSE_NO_RTTI = yes; then
5167 result=no
5168 else
5169 result=yes
5170 fi
5171 else
5172 result=$wxUSE_NO_RTTI
5173 fi
5174
5175 { echo "$as_me:$LINENO: result: $result" >&5
5176 echo "${ECHO_T}$result" >&6; }
5177
5178
5179 enablestring=
5180 defaultval=
5181 if test -z "$defaultval"; then
5182 if test x"$enablestring" = xdisable; then
5183 defaultval=yes
5184 else
5185 defaultval=no
5186 fi
5187 fi
5188
5189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5191 # Check whether --enable-no_exceptions was given.
5192 if test "${enable_no_exceptions+set}" = set; then
5193 enableval=$enable_no_exceptions;
5194 if test "$enableval" = yes; then
5195 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5196 else
5197 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5198 fi
5199
5200 else
5201
5202 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5203
5204 fi
5205
5206
5207 eval "$wx_cv_use_no_exceptions"
5208
5209 if test x"$enablestring" = xdisable; then
5210 if test $wxUSE_NO_EXCEPTIONS = yes; then
5211 result=no
5212 else
5213 result=yes
5214 fi
5215 else
5216 result=$wxUSE_NO_EXCEPTIONS
5217 fi
5218
5219 { echo "$as_me:$LINENO: result: $result" >&5
5220 echo "${ECHO_T}$result" >&6; }
5221
5222
5223 enablestring=
5224 defaultval=
5225 if test -z "$defaultval"; then
5226 if test x"$enablestring" = xdisable; then
5227 defaultval=yes
5228 else
5229 defaultval=no
5230 fi
5231 fi
5232
5233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5235 # Check whether --enable-permissive was given.
5236 if test "${enable_permissive+set}" = set; then
5237 enableval=$enable_permissive;
5238 if test "$enableval" = yes; then
5239 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5240 else
5241 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5242 fi
5243
5244 else
5245
5246 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5247
5248 fi
5249
5250
5251 eval "$wx_cv_use_permissive"
5252
5253 if test x"$enablestring" = xdisable; then
5254 if test $wxUSE_PERMISSIVE = yes; then
5255 result=no
5256 else
5257 result=yes
5258 fi
5259 else
5260 result=$wxUSE_PERMISSIVE
5261 fi
5262
5263 { echo "$as_me:$LINENO: result: $result" >&5
5264 echo "${ECHO_T}$result" >&6; }
5265
5266
5267 enablestring=
5268 defaultval=
5269 if test -z "$defaultval"; then
5270 if test x"$enablestring" = xdisable; then
5271 defaultval=yes
5272 else
5273 defaultval=no
5274 fi
5275 fi
5276
5277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5279 # Check whether --enable-no_deps was given.
5280 if test "${enable_no_deps+set}" = set; then
5281 enableval=$enable_no_deps;
5282 if test "$enableval" = yes; then
5283 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5284 else
5285 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5286 fi
5287
5288 else
5289
5290 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5291
5292 fi
5293
5294
5295 eval "$wx_cv_use_no_deps"
5296
5297 if test x"$enablestring" = xdisable; then
5298 if test $wxUSE_NO_DEPS = yes; then
5299 result=no
5300 else
5301 result=yes
5302 fi
5303 else
5304 result=$wxUSE_NO_DEPS
5305 fi
5306
5307 { echo "$as_me:$LINENO: result: $result" >&5
5308 echo "${ECHO_T}$result" >&6; }
5309
5310
5311 enablestring=disable
5312 defaultval=
5313 if test -z "$defaultval"; then
5314 if test x"$enablestring" = xdisable; then
5315 defaultval=yes
5316 else
5317 defaultval=no
5318 fi
5319 fi
5320
5321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5322 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5323 # Check whether --enable-vararg_macros was given.
5324 if test "${enable_vararg_macros+set}" = set; then
5325 enableval=$enable_vararg_macros;
5326 if test "$enableval" = yes; then
5327 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5328 else
5329 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5330 fi
5331
5332 else
5333
5334 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5335
5336 fi
5337
5338
5339 eval "$wx_cv_use_vararg_macros"
5340
5341 if test x"$enablestring" = xdisable; then
5342 if test $wxUSE_VARARG_MACROS = yes; then
5343 result=no
5344 else
5345 result=yes
5346 fi
5347 else
5348 result=$wxUSE_VARARG_MACROS
5349 fi
5350
5351 { echo "$as_me:$LINENO: result: $result" >&5
5352 echo "${ECHO_T}$result" >&6; }
5353
5354
5355 enablestring=
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5358 # Check whether --enable-universal_binary was given.
5359 if test "${enable_universal_binary+set}" = set; then
5360 enableval=$enable_universal_binary;
5361 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5362
5363 else
5364
5365 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5366
5367 fi
5368
5369
5370 eval "$wx_cv_use_universal_binary"
5371
5372 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5373 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5374
5375
5376
5377 enablestring=
5378 defaultval=
5379 if test -z "$defaultval"; then
5380 if test x"$enablestring" = xdisable; then
5381 defaultval=yes
5382 else
5383 defaultval=no
5384 fi
5385 fi
5386
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5389 # Check whether --enable-compat26 was given.
5390 if test "${enable_compat26+set}" = set; then
5391 enableval=$enable_compat26;
5392 if test "$enableval" = yes; then
5393 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5394 else
5395 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5396 fi
5397
5398 else
5399
5400 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5401
5402 fi
5403
5404
5405 eval "$wx_cv_use_compat26"
5406
5407 if test x"$enablestring" = xdisable; then
5408 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5409 result=no
5410 else
5411 result=yes
5412 fi
5413 else
5414 result=$WXWIN_COMPATIBILITY_2_6
5415 fi
5416
5417 { echo "$as_me:$LINENO: result: $result" >&5
5418 echo "${ECHO_T}$result" >&6; }
5419
5420
5421 enablestring=disable
5422 defaultval=
5423 if test -z "$defaultval"; then
5424 if test x"$enablestring" = xdisable; then
5425 defaultval=yes
5426 else
5427 defaultval=no
5428 fi
5429 fi
5430
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5433 # Check whether --enable-compat28 was given.
5434 if test "${enable_compat28+set}" = set; then
5435 enableval=$enable_compat28;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5438 else
5439 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5440 fi
5441
5442 else
5443
5444 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5445
5446 fi
5447
5448
5449 eval "$wx_cv_use_compat28"
5450
5451 if test x"$enablestring" = xdisable; then
5452 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5453 result=no
5454 else
5455 result=yes
5456 fi
5457 else
5458 result=$WXWIN_COMPATIBILITY_2_8
5459 fi
5460
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5463
5464
5465
5466 enablestring=disable
5467 defaultval=
5468 if test -z "$defaultval"; then
5469 if test x"$enablestring" = xdisable; then
5470 defaultval=yes
5471 else
5472 defaultval=no
5473 fi
5474 fi
5475
5476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5478 # Check whether --enable-rpath was given.
5479 if test "${enable_rpath+set}" = set; then
5480 enableval=$enable_rpath;
5481 if test "$enableval" = yes; then
5482 wx_cv_use_rpath='wxUSE_RPATH=yes'
5483 else
5484 wx_cv_use_rpath='wxUSE_RPATH=no'
5485 fi
5486
5487 else
5488
5489 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5490
5491 fi
5492
5493
5494 eval "$wx_cv_use_rpath"
5495
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_RPATH = yes; then
5498 result=no
5499 else
5500 result=yes
5501 fi
5502 else
5503 result=$wxUSE_RPATH
5504 fi
5505
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5508
5509
5510
5511 enablestring=
5512 defaultval=
5513 if test -z "$defaultval"; then
5514 if test x"$enablestring" = xdisable; then
5515 defaultval=yes
5516 else
5517 defaultval=no
5518 fi
5519 fi
5520
5521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5523 # Check whether --enable-objc_uniquifying was given.
5524 if test "${enable_objc_uniquifying+set}" = set; then
5525 enableval=$enable_objc_uniquifying;
5526 if test "$enableval" = yes; then
5527 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5528 else
5529 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5530 fi
5531
5532 else
5533
5534 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5535
5536 fi
5537
5538
5539 eval "$wx_cv_use_objc_uniquifying"
5540
5541 if test x"$enablestring" = xdisable; then
5542 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5543 result=no
5544 else
5545 result=yes
5546 fi
5547 else
5548 result=$wxUSE_OBJC_UNIQUIFYING
5549 fi
5550
5551 { echo "$as_me:$LINENO: result: $result" >&5
5552 echo "${ECHO_T}$result" >&6; }
5553
5554
5555
5556 enablestring=disable
5557 defaultval=
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5560 defaultval=yes
5561 else
5562 defaultval=no
5563 fi
5564 fi
5565
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5568 # Check whether --enable-visibility was given.
5569 if test "${enable_visibility+set}" = set; then
5570 enableval=$enable_visibility;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5573 else
5574 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5575 fi
5576
5577 else
5578
5579 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5580
5581 fi
5582
5583
5584 eval "$wx_cv_use_visibility"
5585
5586 if test x"$enablestring" = xdisable; then
5587 if test $wxUSE_VISIBILITY = yes; then
5588 result=no
5589 else
5590 result=yes
5591 fi
5592 else
5593 result=$wxUSE_VISIBILITY
5594 fi
5595
5596 { echo "$as_me:$LINENO: result: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5598
5599
5600
5601
5602 enablestring=
5603 defaultval=$wxUSE_ALL_FEATURES
5604 if test -z "$defaultval"; then
5605 if test x"$enablestring" = xdisable; then
5606 defaultval=yes
5607 else
5608 defaultval=no
5609 fi
5610 fi
5611
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5614 # Check whether --enable-intl was given.
5615 if test "${enable_intl+set}" = set; then
5616 enableval=$enable_intl;
5617 if test "$enableval" = yes; then
5618 wx_cv_use_intl='wxUSE_INTL=yes'
5619 else
5620 wx_cv_use_intl='wxUSE_INTL=no'
5621 fi
5622
5623 else
5624
5625 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5626
5627 fi
5628
5629
5630 eval "$wx_cv_use_intl"
5631
5632 if test x"$enablestring" = xdisable; then
5633 if test $wxUSE_INTL = yes; then
5634 result=no
5635 else
5636 result=yes
5637 fi
5638 else
5639 result=$wxUSE_INTL
5640 fi
5641
5642 { echo "$as_me:$LINENO: result: $result" >&5
5643 echo "${ECHO_T}$result" >&6; }
5644
5645
5646 enablestring=
5647 defaultval=$wxUSE_ALL_FEATURES
5648 if test -z "$defaultval"; then
5649 if test x"$enablestring" = xdisable; then
5650 defaultval=yes
5651 else
5652 defaultval=no
5653 fi
5654 fi
5655
5656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5658 # Check whether --enable-xlocale was given.
5659 if test "${enable_xlocale+set}" = set; then
5660 enableval=$enable_xlocale;
5661 if test "$enableval" = yes; then
5662 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5663 else
5664 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5665 fi
5666
5667 else
5668
5669 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5670
5671 fi
5672
5673
5674 eval "$wx_cv_use_xlocale"
5675
5676 if test x"$enablestring" = xdisable; then
5677 if test $wxUSE_XLOCALE = yes; then
5678 result=no
5679 else
5680 result=yes
5681 fi
5682 else
5683 result=$wxUSE_XLOCALE
5684 fi
5685
5686 { echo "$as_me:$LINENO: result: $result" >&5
5687 echo "${ECHO_T}$result" >&6; }
5688
5689
5690 enablestring=
5691 defaultval=$wxUSE_ALL_FEATURES
5692 if test -z "$defaultval"; then
5693 if test x"$enablestring" = xdisable; then
5694 defaultval=yes
5695 else
5696 defaultval=no
5697 fi
5698 fi
5699
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5702 # Check whether --enable-config was given.
5703 if test "${enable_config+set}" = set; then
5704 enableval=$enable_config;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_config='wxUSE_CONFIG=yes'
5707 else
5708 wx_cv_use_config='wxUSE_CONFIG=no'
5709 fi
5710
5711 else
5712
5713 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5714
5715 fi
5716
5717
5718 eval "$wx_cv_use_config"
5719
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_CONFIG = yes; then
5722 result=no
5723 else
5724 result=yes
5725 fi
5726 else
5727 result=$wxUSE_CONFIG
5728 fi
5729
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5732
5733
5734
5735 enablestring=
5736 defaultval=$wxUSE_ALL_FEATURES
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5739 defaultval=yes
5740 else
5741 defaultval=no
5742 fi
5743 fi
5744
5745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5747 # Check whether --enable-protocols was given.
5748 if test "${enable_protocols+set}" = set; then
5749 enableval=$enable_protocols;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5752 else
5753 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5754 fi
5755
5756 else
5757
5758 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5759
5760 fi
5761
5762
5763 eval "$wx_cv_use_protocols"
5764
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_PROTOCOL = yes; then
5767 result=no
5768 else
5769 result=yes
5770 fi
5771 else
5772 result=$wxUSE_PROTOCOL
5773 fi
5774
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5777
5778
5779 enablestring=
5780 defaultval=$wxUSE_ALL_FEATURES
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5783 defaultval=yes
5784 else
5785 defaultval=no
5786 fi
5787 fi
5788
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5791 # Check whether --enable-ftp was given.
5792 if test "${enable_ftp+set}" = set; then
5793 enableval=$enable_ftp;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5796 else
5797 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5798 fi
5799
5800 else
5801
5802 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5803
5804 fi
5805
5806
5807 eval "$wx_cv_use_ftp"
5808
5809 if test x"$enablestring" = xdisable; then
5810 if test $wxUSE_PROTOCOL_FTP = yes; then
5811 result=no
5812 else
5813 result=yes
5814 fi
5815 else
5816 result=$wxUSE_PROTOCOL_FTP
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5821
5822
5823 enablestring=
5824 defaultval=$wxUSE_ALL_FEATURES
5825 if test -z "$defaultval"; then
5826 if test x"$enablestring" = xdisable; then
5827 defaultval=yes
5828 else
5829 defaultval=no
5830 fi
5831 fi
5832
5833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5835 # Check whether --enable-http was given.
5836 if test "${enable_http+set}" = set; then
5837 enableval=$enable_http;
5838 if test "$enableval" = yes; then
5839 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5840 else
5841 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5842 fi
5843
5844 else
5845
5846 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5847
5848 fi
5849
5850
5851 eval "$wx_cv_use_http"
5852
5853 if test x"$enablestring" = xdisable; then
5854 if test $wxUSE_PROTOCOL_HTTP = yes; then
5855 result=no
5856 else
5857 result=yes
5858 fi
5859 else
5860 result=$wxUSE_PROTOCOL_HTTP
5861 fi
5862
5863 { echo "$as_me:$LINENO: result: $result" >&5
5864 echo "${ECHO_T}$result" >&6; }
5865
5866
5867 enablestring=
5868 defaultval=$wxUSE_ALL_FEATURES
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5871 defaultval=yes
5872 else
5873 defaultval=no
5874 fi
5875 fi
5876
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5879 # Check whether --enable-fileproto was given.
5880 if test "${enable_fileproto+set}" = set; then
5881 enableval=$enable_fileproto;
5882 if test "$enableval" = yes; then
5883 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5884 else
5885 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5886 fi
5887
5888 else
5889
5890 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5891
5892 fi
5893
5894
5895 eval "$wx_cv_use_fileproto"
5896
5897 if test x"$enablestring" = xdisable; then
5898 if test $wxUSE_PROTOCOL_FILE = yes; then
5899 result=no
5900 else
5901 result=yes
5902 fi
5903 else
5904 result=$wxUSE_PROTOCOL_FILE
5905 fi
5906
5907 { echo "$as_me:$LINENO: result: $result" >&5
5908 echo "${ECHO_T}$result" >&6; }
5909
5910
5911 enablestring=
5912 defaultval=$wxUSE_ALL_FEATURES
5913 if test -z "$defaultval"; then
5914 if test x"$enablestring" = xdisable; then
5915 defaultval=yes
5916 else
5917 defaultval=no
5918 fi
5919 fi
5920
5921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5922 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5923 # Check whether --enable-sockets was given.
5924 if test "${enable_sockets+set}" = set; then
5925 enableval=$enable_sockets;
5926 if test "$enableval" = yes; then
5927 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5928 else
5929 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5930 fi
5931
5932 else
5933
5934 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5935
5936 fi
5937
5938
5939 eval "$wx_cv_use_sockets"
5940
5941 if test x"$enablestring" = xdisable; then
5942 if test $wxUSE_SOCKETS = yes; then
5943 result=no
5944 else
5945 result=yes
5946 fi
5947 else
5948 result=$wxUSE_SOCKETS
5949 fi
5950
5951 { echo "$as_me:$LINENO: result: $result" >&5
5952 echo "${ECHO_T}$result" >&6; }
5953
5954
5955 enablestring=
5956 defaultval=$wxUSE_ALL_FEATURES
5957 if test -z "$defaultval"; then
5958 if test x"$enablestring" = xdisable; then
5959 defaultval=yes
5960 else
5961 defaultval=no
5962 fi
5963 fi
5964
5965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5966 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5967 # Check whether --enable-ipv6 was given.
5968 if test "${enable_ipv6+set}" = set; then
5969 enableval=$enable_ipv6;
5970 if test "$enableval" = yes; then
5971 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5972 else
5973 wx_cv_use_ipv6='wxUSE_IPV6=no'
5974 fi
5975
5976 else
5977
5978 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5979
5980 fi
5981
5982
5983 eval "$wx_cv_use_ipv6"
5984
5985 if test x"$enablestring" = xdisable; then
5986 if test $wxUSE_IPV6 = yes; then
5987 result=no
5988 else
5989 result=yes
5990 fi
5991 else
5992 result=$wxUSE_IPV6
5993 fi
5994
5995 { echo "$as_me:$LINENO: result: $result" >&5
5996 echo "${ECHO_T}$result" >&6; }
5997
5998
5999 enablestring=
6000 defaultval=$wxUSE_ALL_FEATURES
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6003 defaultval=yes
6004 else
6005 defaultval=no
6006 fi
6007 fi
6008
6009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6011 # Check whether --enable-ole was given.
6012 if test "${enable_ole+set}" = set; then
6013 enableval=$enable_ole;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_ole='wxUSE_OLE=yes'
6016 else
6017 wx_cv_use_ole='wxUSE_OLE=no'
6018 fi
6019
6020 else
6021
6022 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6023
6024 fi
6025
6026
6027 eval "$wx_cv_use_ole"
6028
6029 if test x"$enablestring" = xdisable; then
6030 if test $wxUSE_OLE = yes; then
6031 result=no
6032 else
6033 result=yes
6034 fi
6035 else
6036 result=$wxUSE_OLE
6037 fi
6038
6039 { echo "$as_me:$LINENO: result: $result" >&5
6040 echo "${ECHO_T}$result" >&6; }
6041
6042
6043 enablestring=
6044 defaultval=$wxUSE_ALL_FEATURES
6045 if test -z "$defaultval"; then
6046 if test x"$enablestring" = xdisable; then
6047 defaultval=yes
6048 else
6049 defaultval=no
6050 fi
6051 fi
6052
6053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6055 # Check whether --enable-dataobj was given.
6056 if test "${enable_dataobj+set}" = set; then
6057 enableval=$enable_dataobj;
6058 if test "$enableval" = yes; then
6059 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6060 else
6061 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6062 fi
6063
6064 else
6065
6066 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6067
6068 fi
6069
6070
6071 eval "$wx_cv_use_dataobj"
6072
6073 if test x"$enablestring" = xdisable; then
6074 if test $wxUSE_DATAOBJ = yes; then
6075 result=no
6076 else
6077 result=yes
6078 fi
6079 else
6080 result=$wxUSE_DATAOBJ
6081 fi
6082
6083 { echo "$as_me:$LINENO: result: $result" >&5
6084 echo "${ECHO_T}$result" >&6; }
6085
6086
6087
6088 enablestring=
6089 defaultval=$wxUSE_ALL_FEATURES
6090 if test -z "$defaultval"; then
6091 if test x"$enablestring" = xdisable; then
6092 defaultval=yes
6093 else
6094 defaultval=no
6095 fi
6096 fi
6097
6098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6099 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6100 # Check whether --enable-ipc was given.
6101 if test "${enable_ipc+set}" = set; then
6102 enableval=$enable_ipc;
6103 if test "$enableval" = yes; then
6104 wx_cv_use_ipc='wxUSE_IPC=yes'
6105 else
6106 wx_cv_use_ipc='wxUSE_IPC=no'
6107 fi
6108
6109 else
6110
6111 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6112
6113 fi
6114
6115
6116 eval "$wx_cv_use_ipc"
6117
6118 if test x"$enablestring" = xdisable; then
6119 if test $wxUSE_IPC = yes; then
6120 result=no
6121 else
6122 result=yes
6123 fi
6124 else
6125 result=$wxUSE_IPC
6126 fi
6127
6128 { echo "$as_me:$LINENO: result: $result" >&5
6129 echo "${ECHO_T}$result" >&6; }
6130
6131
6132
6133 enablestring=
6134 defaultval=$wxUSE_ALL_FEATURES
6135 if test -z "$defaultval"; then
6136 if test x"$enablestring" = xdisable; then
6137 defaultval=yes
6138 else
6139 defaultval=no
6140 fi
6141 fi
6142
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6145 # Check whether --enable-baseevtloop was given.
6146 if test "${enable_baseevtloop+set}" = set; then
6147 enableval=$enable_baseevtloop;
6148 if test "$enableval" = yes; then
6149 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6150 else
6151 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6152 fi
6153
6154 else
6155
6156 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6157
6158 fi
6159
6160
6161 eval "$wx_cv_use_baseevtloop"
6162
6163 if test x"$enablestring" = xdisable; then
6164 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6165 result=no
6166 else
6167 result=yes
6168 fi
6169 else
6170 result=$wxUSE_CONSOLE_EVENTLOOP
6171 fi
6172
6173 { echo "$as_me:$LINENO: result: $result" >&5
6174 echo "${ECHO_T}$result" >&6; }
6175
6176
6177 enablestring=
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6181 defaultval=yes
6182 else
6183 defaultval=no
6184 fi
6185 fi
6186
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6189 # Check whether --enable-epollloop was given.
6190 if test "${enable_epollloop+set}" = set; then
6191 enableval=$enable_epollloop;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6194 else
6195 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6196 fi
6197
6198 else
6199
6200 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6201
6202 fi
6203
6204
6205 eval "$wx_cv_use_epollloop"
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6209 result=no
6210 else
6211 result=yes
6212 fi
6213 else
6214 result=$wxUSE_EPOLL_DISPATCHER
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221 enablestring=
6222 defaultval=$wxUSE_ALL_FEATURES
6223 if test -z "$defaultval"; then
6224 if test x"$enablestring" = xdisable; then
6225 defaultval=yes
6226 else
6227 defaultval=no
6228 fi
6229 fi
6230
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6233 # Check whether --enable-selectloop was given.
6234 if test "${enable_selectloop+set}" = set; then
6235 enableval=$enable_selectloop;
6236 if test "$enableval" = yes; then
6237 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6238 else
6239 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6240 fi
6241
6242 else
6243
6244 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6245
6246 fi
6247
6248
6249 eval "$wx_cv_use_selectloop"
6250
6251 if test x"$enablestring" = xdisable; then
6252 if test $wxUSE_SELECT_DISPATCHER = yes; then
6253 result=no
6254 else
6255 result=yes
6256 fi
6257 else
6258 result=$wxUSE_SELECT_DISPATCHER
6259 fi
6260
6261 { echo "$as_me:$LINENO: result: $result" >&5
6262 echo "${ECHO_T}$result" >&6; }
6263
6264
6265
6266 enablestring=
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6270 defaultval=yes
6271 else
6272 defaultval=no
6273 fi
6274 fi
6275
6276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6277 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6278 # Check whether --enable-apple_ieee was given.
6279 if test "${enable_apple_ieee+set}" = set; then
6280 enableval=$enable_apple_ieee;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6283 else
6284 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6285 fi
6286
6287 else
6288
6289 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_apple_ieee"
6295
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_APPLE_IEEE = yes; then
6298 result=no
6299 else
6300 result=yes
6301 fi
6302 else
6303 result=$wxUSE_APPLE_IEEE
6304 fi
6305
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6308
6309
6310 enablestring=
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6322 # Check whether --enable-arcstream was given.
6323 if test "${enable_arcstream+set}" = set; then
6324 enableval=$enable_arcstream;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6327 else
6328 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6329 fi
6330
6331 else
6332
6333 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6334
6335 fi
6336
6337
6338 eval "$wx_cv_use_arcstream"
6339
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6342 result=no
6343 else
6344 result=yes
6345 fi
6346 else
6347 result=$wxUSE_ARCHIVE_STREAMS
6348 fi
6349
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6352
6353
6354 enablestring=
6355 defaultval=$wxUSE_ALL_FEATURES
6356 if test -z "$defaultval"; then
6357 if test x"$enablestring" = xdisable; then
6358 defaultval=yes
6359 else
6360 defaultval=no
6361 fi
6362 fi
6363
6364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6365 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6366 # Check whether --enable-base64 was given.
6367 if test "${enable_base64+set}" = set; then
6368 enableval=$enable_base64;
6369 if test "$enableval" = yes; then
6370 wx_cv_use_base64='wxUSE_BASE64=yes'
6371 else
6372 wx_cv_use_base64='wxUSE_BASE64=no'
6373 fi
6374
6375 else
6376
6377 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6378
6379 fi
6380
6381
6382 eval "$wx_cv_use_base64"
6383
6384 if test x"$enablestring" = xdisable; then
6385 if test $wxUSE_BASE64 = yes; then
6386 result=no
6387 else
6388 result=yes
6389 fi
6390 else
6391 result=$wxUSE_BASE64
6392 fi
6393
6394 { echo "$as_me:$LINENO: result: $result" >&5
6395 echo "${ECHO_T}$result" >&6; }
6396
6397
6398 enablestring=
6399 defaultval=$wxUSE_ALL_FEATURES
6400 if test -z "$defaultval"; then
6401 if test x"$enablestring" = xdisable; then
6402 defaultval=yes
6403 else
6404 defaultval=no
6405 fi
6406 fi
6407
6408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6409 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6410 # Check whether --enable-backtrace was given.
6411 if test "${enable_backtrace+set}" = set; then
6412 enableval=$enable_backtrace;
6413 if test "$enableval" = yes; then
6414 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6415 else
6416 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6417 fi
6418
6419 else
6420
6421 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6422
6423 fi
6424
6425
6426 eval "$wx_cv_use_backtrace"
6427
6428 if test x"$enablestring" = xdisable; then
6429 if test $wxUSE_STACKWALKER = yes; then
6430 result=no
6431 else
6432 result=yes
6433 fi
6434 else
6435 result=$wxUSE_STACKWALKER
6436 fi
6437
6438 { echo "$as_me:$LINENO: result: $result" >&5
6439 echo "${ECHO_T}$result" >&6; }
6440
6441
6442 enablestring=
6443 defaultval=$wxUSE_ALL_FEATURES
6444 if test -z "$defaultval"; then
6445 if test x"$enablestring" = xdisable; then
6446 defaultval=yes
6447 else
6448 defaultval=no
6449 fi
6450 fi
6451
6452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6453 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6454 # Check whether --enable-catch_segvs was given.
6455 if test "${enable_catch_segvs+set}" = set; then
6456 enableval=$enable_catch_segvs;
6457 if test "$enableval" = yes; then
6458 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6459 else
6460 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6461 fi
6462
6463 else
6464
6465 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6466
6467 fi
6468
6469
6470 eval "$wx_cv_use_catch_segvs"
6471
6472 if test x"$enablestring" = xdisable; then
6473 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6474 result=no
6475 else
6476 result=yes
6477 fi
6478 else
6479 result=$wxUSE_ON_FATAL_EXCEPTION
6480 fi
6481
6482 { echo "$as_me:$LINENO: result: $result" >&5
6483 echo "${ECHO_T}$result" >&6; }
6484
6485
6486 enablestring=
6487 defaultval=$wxUSE_ALL_FEATURES
6488 if test -z "$defaultval"; then
6489 if test x"$enablestring" = xdisable; then
6490 defaultval=yes
6491 else
6492 defaultval=no
6493 fi
6494 fi
6495
6496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6498 # Check whether --enable-cmdline was given.
6499 if test "${enable_cmdline+set}" = set; then
6500 enableval=$enable_cmdline;
6501 if test "$enableval" = yes; then
6502 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6503 else
6504 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6505 fi
6506
6507 else
6508
6509 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6510
6511 fi
6512
6513
6514 eval "$wx_cv_use_cmdline"
6515
6516 if test x"$enablestring" = xdisable; then
6517 if test $wxUSE_CMDLINE_PARSER = yes; then
6518 result=no
6519 else
6520 result=yes
6521 fi
6522 else
6523 result=$wxUSE_CMDLINE_PARSER
6524 fi
6525
6526 { echo "$as_me:$LINENO: result: $result" >&5
6527 echo "${ECHO_T}$result" >&6; }
6528
6529
6530 enablestring=
6531 defaultval=$wxUSE_ALL_FEATURES
6532 if test -z "$defaultval"; then
6533 if test x"$enablestring" = xdisable; then
6534 defaultval=yes
6535 else
6536 defaultval=no
6537 fi
6538 fi
6539
6540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6542 # Check whether --enable-datetime was given.
6543 if test "${enable_datetime+set}" = set; then
6544 enableval=$enable_datetime;
6545 if test "$enableval" = yes; then
6546 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6547 else
6548 wx_cv_use_datetime='wxUSE_DATETIME=no'
6549 fi
6550
6551 else
6552
6553 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6554
6555 fi
6556
6557
6558 eval "$wx_cv_use_datetime"
6559
6560 if test x"$enablestring" = xdisable; then
6561 if test $wxUSE_DATETIME = yes; then
6562 result=no
6563 else
6564 result=yes
6565 fi
6566 else
6567 result=$wxUSE_DATETIME
6568 fi
6569
6570 { echo "$as_me:$LINENO: result: $result" >&5
6571 echo "${ECHO_T}$result" >&6; }
6572
6573
6574 enablestring=
6575 defaultval=$wxUSE_ALL_FEATURES
6576 if test -z "$defaultval"; then
6577 if test x"$enablestring" = xdisable; then
6578 defaultval=yes
6579 else
6580 defaultval=no
6581 fi
6582 fi
6583
6584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6586 # Check whether --enable-debugreport was given.
6587 if test "${enable_debugreport+set}" = set; then
6588 enableval=$enable_debugreport;
6589 if test "$enableval" = yes; then
6590 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6591 else
6592 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6593 fi
6594
6595 else
6596
6597 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6598
6599 fi
6600
6601
6602 eval "$wx_cv_use_debugreport"
6603
6604 if test x"$enablestring" = xdisable; then
6605 if test $wxUSE_DEBUGREPORT = yes; then
6606 result=no
6607 else
6608 result=yes
6609 fi
6610 else
6611 result=$wxUSE_DEBUGREPORT
6612 fi
6613
6614 { echo "$as_me:$LINENO: result: $result" >&5
6615 echo "${ECHO_T}$result" >&6; }
6616
6617
6618 enablestring=
6619 defaultval=$wxUSE_ALL_FEATURES
6620 if test -z "$defaultval"; then
6621 if test x"$enablestring" = xdisable; then
6622 defaultval=yes
6623 else
6624 defaultval=no
6625 fi
6626 fi
6627
6628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6630 # Check whether --enable-dialupman was given.
6631 if test "${enable_dialupman+set}" = set; then
6632 enableval=$enable_dialupman;
6633 if test "$enableval" = yes; then
6634 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6635 else
6636 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6637 fi
6638
6639 else
6640
6641 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6642
6643 fi
6644
6645
6646 eval "$wx_cv_use_dialupman"
6647
6648 if test x"$enablestring" = xdisable; then
6649 if test $wxUSE_DIALUP_MANAGER = yes; then
6650 result=no
6651 else
6652 result=yes
6653 fi
6654 else
6655 result=$wxUSE_DIALUP_MANAGER
6656 fi
6657
6658 { echo "$as_me:$LINENO: result: $result" >&5
6659 echo "${ECHO_T}$result" >&6; }
6660
6661
6662 enablestring=
6663 defaultval=$wxUSE_ALL_FEATURES
6664 if test -z "$defaultval"; then
6665 if test x"$enablestring" = xdisable; then
6666 defaultval=yes
6667 else
6668 defaultval=no
6669 fi
6670 fi
6671
6672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6674 # Check whether --enable-dynlib was given.
6675 if test "${enable_dynlib+set}" = set; then
6676 enableval=$enable_dynlib;
6677 if test "$enableval" = yes; then
6678 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6679 else
6680 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6681 fi
6682
6683 else
6684
6685 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6686
6687 fi
6688
6689
6690 eval "$wx_cv_use_dynlib"
6691
6692 if test x"$enablestring" = xdisable; then
6693 if test $wxUSE_DYNLIB_CLASS = yes; then
6694 result=no
6695 else
6696 result=yes
6697 fi
6698 else
6699 result=$wxUSE_DYNLIB_CLASS
6700 fi
6701
6702 { echo "$as_me:$LINENO: result: $result" >&5
6703 echo "${ECHO_T}$result" >&6; }
6704
6705
6706 enablestring=
6707 defaultval=$wxUSE_ALL_FEATURES
6708 if test -z "$defaultval"; then
6709 if test x"$enablestring" = xdisable; then
6710 defaultval=yes
6711 else
6712 defaultval=no
6713 fi
6714 fi
6715
6716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6718 # Check whether --enable-dynamicloader was given.
6719 if test "${enable_dynamicloader+set}" = set; then
6720 enableval=$enable_dynamicloader;
6721 if test "$enableval" = yes; then
6722 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6723 else
6724 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6725 fi
6726
6727 else
6728
6729 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6730
6731 fi
6732
6733
6734 eval "$wx_cv_use_dynamicloader"
6735
6736 if test x"$enablestring" = xdisable; then
6737 if test $wxUSE_DYNAMIC_LOADER = yes; then
6738 result=no
6739 else
6740 result=yes
6741 fi
6742 else
6743 result=$wxUSE_DYNAMIC_LOADER
6744 fi
6745
6746 { echo "$as_me:$LINENO: result: $result" >&5
6747 echo "${ECHO_T}$result" >&6; }
6748
6749
6750 enablestring=
6751 defaultval=$wxUSE_ALL_FEATURES
6752 if test -z "$defaultval"; then
6753 if test x"$enablestring" = xdisable; then
6754 defaultval=yes
6755 else
6756 defaultval=no
6757 fi
6758 fi
6759
6760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6761 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6762 # Check whether --enable-exceptions was given.
6763 if test "${enable_exceptions+set}" = set; then
6764 enableval=$enable_exceptions;
6765 if test "$enableval" = yes; then
6766 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6767 else
6768 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6769 fi
6770
6771 else
6772
6773 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6774
6775 fi
6776
6777
6778 eval "$wx_cv_use_exceptions"
6779
6780 if test x"$enablestring" = xdisable; then
6781 if test $wxUSE_EXCEPTIONS = yes; then
6782 result=no
6783 else
6784 result=yes
6785 fi
6786 else
6787 result=$wxUSE_EXCEPTIONS
6788 fi
6789
6790 { echo "$as_me:$LINENO: result: $result" >&5
6791 echo "${ECHO_T}$result" >&6; }
6792
6793
6794 enablestring=
6795 defaultval=$wxUSE_ALL_FEATURES
6796 if test -z "$defaultval"; then
6797 if test x"$enablestring" = xdisable; then
6798 defaultval=yes
6799 else
6800 defaultval=no
6801 fi
6802 fi
6803
6804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6805 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6806 # Check whether --enable-ffile was given.
6807 if test "${enable_ffile+set}" = set; then
6808 enableval=$enable_ffile;
6809 if test "$enableval" = yes; then
6810 wx_cv_use_ffile='wxUSE_FFILE=yes'
6811 else
6812 wx_cv_use_ffile='wxUSE_FFILE=no'
6813 fi
6814
6815 else
6816
6817 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6818
6819 fi
6820
6821
6822 eval "$wx_cv_use_ffile"
6823
6824 if test x"$enablestring" = xdisable; then
6825 if test $wxUSE_FFILE = yes; then
6826 result=no
6827 else
6828 result=yes
6829 fi
6830 else
6831 result=$wxUSE_FFILE
6832 fi
6833
6834 { echo "$as_me:$LINENO: result: $result" >&5
6835 echo "${ECHO_T}$result" >&6; }
6836
6837
6838 enablestring=
6839 defaultval=$wxUSE_ALL_FEATURES
6840 if test -z "$defaultval"; then
6841 if test x"$enablestring" = xdisable; then
6842 defaultval=yes
6843 else
6844 defaultval=no
6845 fi
6846 fi
6847
6848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6850 # Check whether --enable-file was given.
6851 if test "${enable_file+set}" = set; then
6852 enableval=$enable_file;
6853 if test "$enableval" = yes; then
6854 wx_cv_use_file='wxUSE_FILE=yes'
6855 else
6856 wx_cv_use_file='wxUSE_FILE=no'
6857 fi
6858
6859 else
6860
6861 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6862
6863 fi
6864
6865
6866 eval "$wx_cv_use_file"
6867
6868 if test x"$enablestring" = xdisable; then
6869 if test $wxUSE_FILE = yes; then
6870 result=no
6871 else
6872 result=yes
6873 fi
6874 else
6875 result=$wxUSE_FILE
6876 fi
6877
6878 { echo "$as_me:$LINENO: result: $result" >&5
6879 echo "${ECHO_T}$result" >&6; }
6880
6881
6882 enablestring=
6883 defaultval=$wxUSE_ALL_FEATURES
6884 if test -z "$defaultval"; then
6885 if test x"$enablestring" = xdisable; then
6886 defaultval=yes
6887 else
6888 defaultval=no
6889 fi
6890 fi
6891
6892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6894 # Check whether --enable-filesystem was given.
6895 if test "${enable_filesystem+set}" = set; then
6896 enableval=$enable_filesystem;
6897 if test "$enableval" = yes; then
6898 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6899 else
6900 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6901 fi
6902
6903 else
6904
6905 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6906
6907 fi
6908
6909
6910 eval "$wx_cv_use_filesystem"
6911
6912 if test x"$enablestring" = xdisable; then
6913 if test $wxUSE_FILESYSTEM = yes; then
6914 result=no
6915 else
6916 result=yes
6917 fi
6918 else
6919 result=$wxUSE_FILESYSTEM
6920 fi
6921
6922 { echo "$as_me:$LINENO: result: $result" >&5
6923 echo "${ECHO_T}$result" >&6; }
6924
6925
6926 enablestring=
6927 defaultval=$wxUSE_ALL_FEATURES
6928 if test -z "$defaultval"; then
6929 if test x"$enablestring" = xdisable; then
6930 defaultval=yes
6931 else
6932 defaultval=no
6933 fi
6934 fi
6935
6936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6938 # Check whether --enable-fontenum was given.
6939 if test "${enable_fontenum+set}" = set; then
6940 enableval=$enable_fontenum;
6941 if test "$enableval" = yes; then
6942 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6943 else
6944 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6945 fi
6946
6947 else
6948
6949 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6950
6951 fi
6952
6953
6954 eval "$wx_cv_use_fontenum"
6955
6956 if test x"$enablestring" = xdisable; then
6957 if test $wxUSE_FONTENUM = yes; then
6958 result=no
6959 else
6960 result=yes
6961 fi
6962 else
6963 result=$wxUSE_FONTENUM
6964 fi
6965
6966 { echo "$as_me:$LINENO: result: $result" >&5
6967 echo "${ECHO_T}$result" >&6; }
6968
6969
6970 enablestring=
6971 defaultval=$wxUSE_ALL_FEATURES
6972 if test -z "$defaultval"; then
6973 if test x"$enablestring" = xdisable; then
6974 defaultval=yes
6975 else
6976 defaultval=no
6977 fi
6978 fi
6979
6980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6982 # Check whether --enable-fontmap was given.
6983 if test "${enable_fontmap+set}" = set; then
6984 enableval=$enable_fontmap;
6985 if test "$enableval" = yes; then
6986 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6987 else
6988 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6989 fi
6990
6991 else
6992
6993 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6994
6995 fi
6996
6997
6998 eval "$wx_cv_use_fontmap"
6999
7000 if test x"$enablestring" = xdisable; then
7001 if test $wxUSE_FONTMAP = yes; then
7002 result=no
7003 else
7004 result=yes
7005 fi
7006 else
7007 result=$wxUSE_FONTMAP
7008 fi
7009
7010 { echo "$as_me:$LINENO: result: $result" >&5
7011 echo "${ECHO_T}$result" >&6; }
7012
7013
7014 enablestring=
7015 defaultval=$wxUSE_ALL_FEATURES
7016 if test -z "$defaultval"; then
7017 if test x"$enablestring" = xdisable; then
7018 defaultval=yes
7019 else
7020 defaultval=no
7021 fi
7022 fi
7023
7024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7026 # Check whether --enable-fs_archive was given.
7027 if test "${enable_fs_archive+set}" = set; then
7028 enableval=$enable_fs_archive;
7029 if test "$enableval" = yes; then
7030 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7031 else
7032 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7033 fi
7034
7035 else
7036
7037 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7038
7039 fi
7040
7041
7042 eval "$wx_cv_use_fs_archive"
7043
7044 if test x"$enablestring" = xdisable; then
7045 if test $wxUSE_FS_ARCHIVE = yes; then
7046 result=no
7047 else
7048 result=yes
7049 fi
7050 else
7051 result=$wxUSE_FS_ARCHIVE
7052 fi
7053
7054 { echo "$as_me:$LINENO: result: $result" >&5
7055 echo "${ECHO_T}$result" >&6; }
7056
7057
7058 enablestring=
7059 defaultval=$wxUSE_ALL_FEATURES
7060 if test -z "$defaultval"; then
7061 if test x"$enablestring" = xdisable; then
7062 defaultval=yes
7063 else
7064 defaultval=no
7065 fi
7066 fi
7067
7068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7070 # Check whether --enable-fs_inet was given.
7071 if test "${enable_fs_inet+set}" = set; then
7072 enableval=$enable_fs_inet;
7073 if test "$enableval" = yes; then
7074 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7075 else
7076 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7077 fi
7078
7079 else
7080
7081 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7082
7083 fi
7084
7085
7086 eval "$wx_cv_use_fs_inet"
7087
7088 if test x"$enablestring" = xdisable; then
7089 if test $wxUSE_FS_INET = yes; then
7090 result=no
7091 else
7092 result=yes
7093 fi
7094 else
7095 result=$wxUSE_FS_INET
7096 fi
7097
7098 { echo "$as_me:$LINENO: result: $result" >&5
7099 echo "${ECHO_T}$result" >&6; }
7100
7101
7102 enablestring=
7103 defaultval=$wxUSE_ALL_FEATURES
7104 if test -z "$defaultval"; then
7105 if test x"$enablestring" = xdisable; then
7106 defaultval=yes
7107 else
7108 defaultval=no
7109 fi
7110 fi
7111
7112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7114 # Check whether --enable-fs_zip was given.
7115 if test "${enable_fs_zip+set}" = set; then
7116 enableval=$enable_fs_zip;
7117 if test "$enableval" = yes; then
7118 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7119 else
7120 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7121 fi
7122
7123 else
7124
7125 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7126
7127 fi
7128
7129
7130 eval "$wx_cv_use_fs_zip"
7131
7132 if test x"$enablestring" = xdisable; then
7133 if test $wxUSE_FS_ZIP = yes; then
7134 result=no
7135 else
7136 result=yes
7137 fi
7138 else
7139 result=$wxUSE_FS_ZIP
7140 fi
7141
7142 { echo "$as_me:$LINENO: result: $result" >&5
7143 echo "${ECHO_T}$result" >&6; }
7144
7145
7146 enablestring=
7147 defaultval=$wxUSE_ALL_FEATURES
7148 if test -z "$defaultval"; then
7149 if test x"$enablestring" = xdisable; then
7150 defaultval=yes
7151 else
7152 defaultval=no
7153 fi
7154 fi
7155
7156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7157 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7158 # Check whether --enable-geometry was given.
7159 if test "${enable_geometry+set}" = set; then
7160 enableval=$enable_geometry;
7161 if test "$enableval" = yes; then
7162 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7163 else
7164 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7165 fi
7166
7167 else
7168
7169 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7170
7171 fi
7172
7173
7174 eval "$wx_cv_use_geometry"
7175
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_GEOMETRY = yes; then
7178 result=no
7179 else
7180 result=yes
7181 fi
7182 else
7183 result=$wxUSE_GEOMETRY
7184 fi
7185
7186 { echo "$as_me:$LINENO: result: $result" >&5
7187 echo "${ECHO_T}$result" >&6; }
7188
7189
7190 enablestring=
7191 defaultval=$wxUSE_ALL_FEATURES
7192 if test -z "$defaultval"; then
7193 if test x"$enablestring" = xdisable; then
7194 defaultval=yes
7195 else
7196 defaultval=no
7197 fi
7198 fi
7199
7200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7202 # Check whether --enable-log was given.
7203 if test "${enable_log+set}" = set; then
7204 enableval=$enable_log;
7205 if test "$enableval" = yes; then
7206 wx_cv_use_log='wxUSE_LOG=yes'
7207 else
7208 wx_cv_use_log='wxUSE_LOG=no'
7209 fi
7210
7211 else
7212
7213 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7214
7215 fi
7216
7217
7218 eval "$wx_cv_use_log"
7219
7220 if test x"$enablestring" = xdisable; then
7221 if test $wxUSE_LOG = yes; then
7222 result=no
7223 else
7224 result=yes
7225 fi
7226 else
7227 result=$wxUSE_LOG
7228 fi
7229
7230 { echo "$as_me:$LINENO: result: $result" >&5
7231 echo "${ECHO_T}$result" >&6; }
7232
7233
7234 enablestring=
7235 defaultval=$wxUSE_ALL_FEATURES
7236 if test -z "$defaultval"; then
7237 if test x"$enablestring" = xdisable; then
7238 defaultval=yes
7239 else
7240 defaultval=no
7241 fi
7242 fi
7243
7244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7245 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7246 # Check whether --enable-longlong was given.
7247 if test "${enable_longlong+set}" = set; then
7248 enableval=$enable_longlong;
7249 if test "$enableval" = yes; then
7250 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7251 else
7252 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7253 fi
7254
7255 else
7256
7257 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7258
7259 fi
7260
7261
7262 eval "$wx_cv_use_longlong"
7263
7264 if test x"$enablestring" = xdisable; then
7265 if test $wxUSE_LONGLONG = yes; then
7266 result=no
7267 else
7268 result=yes
7269 fi
7270 else
7271 result=$wxUSE_LONGLONG
7272 fi
7273
7274 { echo "$as_me:$LINENO: result: $result" >&5
7275 echo "${ECHO_T}$result" >&6; }
7276
7277
7278 enablestring=
7279 defaultval=$wxUSE_ALL_FEATURES
7280 if test -z "$defaultval"; then
7281 if test x"$enablestring" = xdisable; then
7282 defaultval=yes
7283 else
7284 defaultval=no
7285 fi
7286 fi
7287
7288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7290 # Check whether --enable-mimetype was given.
7291 if test "${enable_mimetype+set}" = set; then
7292 enableval=$enable_mimetype;
7293 if test "$enableval" = yes; then
7294 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7295 else
7296 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7297 fi
7298
7299 else
7300
7301 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7302
7303 fi
7304
7305
7306 eval "$wx_cv_use_mimetype"
7307
7308 if test x"$enablestring" = xdisable; then
7309 if test $wxUSE_MIMETYPE = yes; then
7310 result=no
7311 else
7312 result=yes
7313 fi
7314 else
7315 result=$wxUSE_MIMETYPE
7316 fi
7317
7318 { echo "$as_me:$LINENO: result: $result" >&5
7319 echo "${ECHO_T}$result" >&6; }
7320
7321
7322 enablestring=
7323 defaultval=$wxUSE_ALL_FEATURES
7324 if test -z "$defaultval"; then
7325 if test x"$enablestring" = xdisable; then
7326 defaultval=yes
7327 else
7328 defaultval=no
7329 fi
7330 fi
7331
7332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7334 # Check whether --enable-printfposparam was given.
7335 if test "${enable_printfposparam+set}" = set; then
7336 enableval=$enable_printfposparam;
7337 if test "$enableval" = yes; then
7338 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7339 else
7340 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7341 fi
7342
7343 else
7344
7345 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7346
7347 fi
7348
7349
7350 eval "$wx_cv_use_printfposparam"
7351
7352 if test x"$enablestring" = xdisable; then
7353 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7354 result=no
7355 else
7356 result=yes
7357 fi
7358 else
7359 result=$wxUSE_PRINTF_POS_PARAMS
7360 fi
7361
7362 { echo "$as_me:$LINENO: result: $result" >&5
7363 echo "${ECHO_T}$result" >&6; }
7364
7365
7366 enablestring=
7367 defaultval=$wxUSE_ALL_FEATURES
7368 if test -z "$defaultval"; then
7369 if test x"$enablestring" = xdisable; then
7370 defaultval=yes
7371 else
7372 defaultval=no
7373 fi
7374 fi
7375
7376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7378 # Check whether --enable-snglinst was given.
7379 if test "${enable_snglinst+set}" = set; then
7380 enableval=$enable_snglinst;
7381 if test "$enableval" = yes; then
7382 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7383 else
7384 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7385 fi
7386
7387 else
7388
7389 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7390
7391 fi
7392
7393
7394 eval "$wx_cv_use_snglinst"
7395
7396 if test x"$enablestring" = xdisable; then
7397 if test $wxUSE_SNGLINST_CHECKER = yes; then
7398 result=no
7399 else
7400 result=yes
7401 fi
7402 else
7403 result=$wxUSE_SNGLINST_CHECKER
7404 fi
7405
7406 { echo "$as_me:$LINENO: result: $result" >&5
7407 echo "${ECHO_T}$result" >&6; }
7408
7409
7410 enablestring=
7411 defaultval=$wxUSE_ALL_FEATURES
7412 if test -z "$defaultval"; then
7413 if test x"$enablestring" = xdisable; then
7414 defaultval=yes
7415 else
7416 defaultval=no
7417 fi
7418 fi
7419
7420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7422 # Check whether --enable-sound was given.
7423 if test "${enable_sound+set}" = set; then
7424 enableval=$enable_sound;
7425 if test "$enableval" = yes; then
7426 wx_cv_use_sound='wxUSE_SOUND=yes'
7427 else
7428 wx_cv_use_sound='wxUSE_SOUND=no'
7429 fi
7430
7431 else
7432
7433 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7434
7435 fi
7436
7437
7438 eval "$wx_cv_use_sound"
7439
7440 if test x"$enablestring" = xdisable; then
7441 if test $wxUSE_SOUND = yes; then
7442 result=no
7443 else
7444 result=yes
7445 fi
7446 else
7447 result=$wxUSE_SOUND
7448 fi
7449
7450 { echo "$as_me:$LINENO: result: $result" >&5
7451 echo "${ECHO_T}$result" >&6; }
7452
7453
7454 enablestring=
7455 defaultval=$wxUSE_ALL_FEATURES
7456 if test -z "$defaultval"; then
7457 if test x"$enablestring" = xdisable; then
7458 defaultval=yes
7459 else
7460 defaultval=no
7461 fi
7462 fi
7463
7464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7466 # Check whether --enable-stdpaths was given.
7467 if test "${enable_stdpaths+set}" = set; then
7468 enableval=$enable_stdpaths;
7469 if test "$enableval" = yes; then
7470 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7471 else
7472 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7473 fi
7474
7475 else
7476
7477 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7478
7479 fi
7480
7481
7482 eval "$wx_cv_use_stdpaths"
7483
7484 if test x"$enablestring" = xdisable; then
7485 if test $wxUSE_STDPATHS = yes; then
7486 result=no
7487 else
7488 result=yes
7489 fi
7490 else
7491 result=$wxUSE_STDPATHS
7492 fi
7493
7494 { echo "$as_me:$LINENO: result: $result" >&5
7495 echo "${ECHO_T}$result" >&6; }
7496
7497
7498 enablestring=
7499 defaultval=$wxUSE_ALL_FEATURES
7500 if test -z "$defaultval"; then
7501 if test x"$enablestring" = xdisable; then
7502 defaultval=yes
7503 else
7504 defaultval=no
7505 fi
7506 fi
7507
7508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7509 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7510 # Check whether --enable-stopwatch was given.
7511 if test "${enable_stopwatch+set}" = set; then
7512 enableval=$enable_stopwatch;
7513 if test "$enableval" = yes; then
7514 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7515 else
7516 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7517 fi
7518
7519 else
7520
7521 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7522
7523 fi
7524
7525
7526 eval "$wx_cv_use_stopwatch"
7527
7528 if test x"$enablestring" = xdisable; then
7529 if test $wxUSE_STOPWATCH = yes; then
7530 result=no
7531 else
7532 result=yes
7533 fi
7534 else
7535 result=$wxUSE_STOPWATCH
7536 fi
7537
7538 { echo "$as_me:$LINENO: result: $result" >&5
7539 echo "${ECHO_T}$result" >&6; }
7540
7541
7542 enablestring=
7543 defaultval=$wxUSE_ALL_FEATURES
7544 if test -z "$defaultval"; then
7545 if test x"$enablestring" = xdisable; then
7546 defaultval=yes
7547 else
7548 defaultval=no
7549 fi
7550 fi
7551
7552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7554 # Check whether --enable-streams was given.
7555 if test "${enable_streams+set}" = set; then
7556 enableval=$enable_streams;
7557 if test "$enableval" = yes; then
7558 wx_cv_use_streams='wxUSE_STREAMS=yes'
7559 else
7560 wx_cv_use_streams='wxUSE_STREAMS=no'
7561 fi
7562
7563 else
7564
7565 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7566
7567 fi
7568
7569
7570 eval "$wx_cv_use_streams"
7571
7572 if test x"$enablestring" = xdisable; then
7573 if test $wxUSE_STREAMS = yes; then
7574 result=no
7575 else
7576 result=yes
7577 fi
7578 else
7579 result=$wxUSE_STREAMS
7580 fi
7581
7582 { echo "$as_me:$LINENO: result: $result" >&5
7583 echo "${ECHO_T}$result" >&6; }
7584
7585
7586 enablestring=
7587 defaultval=$wxUSE_ALL_FEATURES
7588 if test -z "$defaultval"; then
7589 if test x"$enablestring" = xdisable; then
7590 defaultval=yes
7591 else
7592 defaultval=no
7593 fi
7594 fi
7595
7596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7597 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7598 # Check whether --enable-system_options was given.
7599 if test "${enable_system_options+set}" = set; then
7600 enableval=$enable_system_options;
7601 if test "$enableval" = yes; then
7602 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7603 else
7604 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7605 fi
7606
7607 else
7608
7609 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7610
7611 fi
7612
7613
7614 eval "$wx_cv_use_system_options"
7615
7616 if test x"$enablestring" = xdisable; then
7617 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7618 result=no
7619 else
7620 result=yes
7621 fi
7622 else
7623 result=$wxUSE_SYSTEM_OPTIONS
7624 fi
7625
7626 { echo "$as_me:$LINENO: result: $result" >&5
7627 echo "${ECHO_T}$result" >&6; }
7628
7629
7630 enablestring=
7631 defaultval=$wxUSE_ALL_FEATURES
7632 if test -z "$defaultval"; then
7633 if test x"$enablestring" = xdisable; then
7634 defaultval=yes
7635 else
7636 defaultval=no
7637 fi
7638 fi
7639
7640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7641 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7642 # Check whether --enable-tarstream was given.
7643 if test "${enable_tarstream+set}" = set; then
7644 enableval=$enable_tarstream;
7645 if test "$enableval" = yes; then
7646 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7647 else
7648 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7649 fi
7650
7651 else
7652
7653 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7654
7655 fi
7656
7657
7658 eval "$wx_cv_use_tarstream"
7659
7660 if test x"$enablestring" = xdisable; then
7661 if test $wxUSE_TARSTREAM = yes; then
7662 result=no
7663 else
7664 result=yes
7665 fi
7666 else
7667 result=$wxUSE_TARSTREAM
7668 fi
7669
7670 { echo "$as_me:$LINENO: result: $result" >&5
7671 echo "${ECHO_T}$result" >&6; }
7672
7673
7674 enablestring=
7675 defaultval=$wxUSE_ALL_FEATURES
7676 if test -z "$defaultval"; then
7677 if test x"$enablestring" = xdisable; then
7678 defaultval=yes
7679 else
7680 defaultval=no
7681 fi
7682 fi
7683
7684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7685 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7686 # Check whether --enable-textbuf was given.
7687 if test "${enable_textbuf+set}" = set; then
7688 enableval=$enable_textbuf;
7689 if test "$enableval" = yes; then
7690 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7691 else
7692 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7693 fi
7694
7695 else
7696
7697 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7698
7699 fi
7700
7701
7702 eval "$wx_cv_use_textbuf"
7703
7704 if test x"$enablestring" = xdisable; then
7705 if test $wxUSE_TEXTBUFFER = yes; then
7706 result=no
7707 else
7708 result=yes
7709 fi
7710 else
7711 result=$wxUSE_TEXTBUFFER
7712 fi
7713
7714 { echo "$as_me:$LINENO: result: $result" >&5
7715 echo "${ECHO_T}$result" >&6; }
7716
7717
7718 enablestring=
7719 defaultval=$wxUSE_ALL_FEATURES
7720 if test -z "$defaultval"; then
7721 if test x"$enablestring" = xdisable; then
7722 defaultval=yes
7723 else
7724 defaultval=no
7725 fi
7726 fi
7727
7728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7729 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7730 # Check whether --enable-textfile was given.
7731 if test "${enable_textfile+set}" = set; then
7732 enableval=$enable_textfile;
7733 if test "$enableval" = yes; then
7734 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7735 else
7736 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7737 fi
7738
7739 else
7740
7741 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7742
7743 fi
7744
7745
7746 eval "$wx_cv_use_textfile"
7747
7748 if test x"$enablestring" = xdisable; then
7749 if test $wxUSE_TEXTFILE = yes; then
7750 result=no
7751 else
7752 result=yes
7753 fi
7754 else
7755 result=$wxUSE_TEXTFILE
7756 fi
7757
7758 { echo "$as_me:$LINENO: result: $result" >&5
7759 echo "${ECHO_T}$result" >&6; }
7760
7761
7762 enablestring=
7763 defaultval=$wxUSE_ALL_FEATURES
7764 if test -z "$defaultval"; then
7765 if test x"$enablestring" = xdisable; then
7766 defaultval=yes
7767 else
7768 defaultval=no
7769 fi
7770 fi
7771
7772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7774 # Check whether --enable-timer was given.
7775 if test "${enable_timer+set}" = set; then
7776 enableval=$enable_timer;
7777 if test "$enableval" = yes; then
7778 wx_cv_use_timer='wxUSE_TIMER=yes'
7779 else
7780 wx_cv_use_timer='wxUSE_TIMER=no'
7781 fi
7782
7783 else
7784
7785 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7786
7787 fi
7788
7789
7790 eval "$wx_cv_use_timer"
7791
7792 if test x"$enablestring" = xdisable; then
7793 if test $wxUSE_TIMER = yes; then
7794 result=no
7795 else
7796 result=yes
7797 fi
7798 else
7799 result=$wxUSE_TIMER
7800 fi
7801
7802 { echo "$as_me:$LINENO: result: $result" >&5
7803 echo "${ECHO_T}$result" >&6; }
7804
7805
7806 enablestring=
7807 defaultval=$wxUSE_ALL_FEATURES
7808 if test -z "$defaultval"; then
7809 if test x"$enablestring" = xdisable; then
7810 defaultval=yes
7811 else
7812 defaultval=no
7813 fi
7814 fi
7815
7816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7818 # Check whether --enable-variant was given.
7819 if test "${enable_variant+set}" = set; then
7820 enableval=$enable_variant;
7821 if test "$enableval" = yes; then
7822 wx_cv_use_variant='wxUSE_VARIANT=yes'
7823 else
7824 wx_cv_use_variant='wxUSE_VARIANT=no'
7825 fi
7826
7827 else
7828
7829 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7830
7831 fi
7832
7833
7834 eval "$wx_cv_use_variant"
7835
7836 if test x"$enablestring" = xdisable; then
7837 if test $wxUSE_VARIANT = yes; then
7838 result=no
7839 else
7840 result=yes
7841 fi
7842 else
7843 result=$wxUSE_VARIANT
7844 fi
7845
7846 { echo "$as_me:$LINENO: result: $result" >&5
7847 echo "${ECHO_T}$result" >&6; }
7848
7849
7850 enablestring=
7851 defaultval=$wxUSE_ALL_FEATURES
7852 if test -z "$defaultval"; then
7853 if test x"$enablestring" = xdisable; then
7854 defaultval=yes
7855 else
7856 defaultval=no
7857 fi
7858 fi
7859
7860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7861 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7862 # Check whether --enable-zipstream was given.
7863 if test "${enable_zipstream+set}" = set; then
7864 enableval=$enable_zipstream;
7865 if test "$enableval" = yes; then
7866 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7867 else
7868 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7869 fi
7870
7871 else
7872
7873 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7874
7875 fi
7876
7877
7878 eval "$wx_cv_use_zipstream"
7879
7880 if test x"$enablestring" = xdisable; then
7881 if test $wxUSE_ZIPSTREAM = yes; then
7882 result=no
7883 else
7884 result=yes
7885 fi
7886 else
7887 result=$wxUSE_ZIPSTREAM
7888 fi
7889
7890 { echo "$as_me:$LINENO: result: $result" >&5
7891 echo "${ECHO_T}$result" >&6; }
7892
7893
7894
7895 enablestring=
7896 defaultval=$wxUSE_ALL_FEATURES
7897 if test -z "$defaultval"; then
7898 if test x"$enablestring" = xdisable; then
7899 defaultval=yes
7900 else
7901 defaultval=no
7902 fi
7903 fi
7904
7905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7907 # Check whether --enable-url was given.
7908 if test "${enable_url+set}" = set; then
7909 enableval=$enable_url;
7910 if test "$enableval" = yes; then
7911 wx_cv_use_url='wxUSE_URL=yes'
7912 else
7913 wx_cv_use_url='wxUSE_URL=no'
7914 fi
7915
7916 else
7917
7918 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7919
7920 fi
7921
7922
7923 eval "$wx_cv_use_url"
7924
7925 if test x"$enablestring" = xdisable; then
7926 if test $wxUSE_URL = yes; then
7927 result=no
7928 else
7929 result=yes
7930 fi
7931 else
7932 result=$wxUSE_URL
7933 fi
7934
7935 { echo "$as_me:$LINENO: result: $result" >&5
7936 echo "${ECHO_T}$result" >&6; }
7937
7938
7939 enablestring=
7940 defaultval=$wxUSE_ALL_FEATURES
7941 if test -z "$defaultval"; then
7942 if test x"$enablestring" = xdisable; then
7943 defaultval=yes
7944 else
7945 defaultval=no
7946 fi
7947 fi
7948
7949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7951 # Check whether --enable-protocol was given.
7952 if test "${enable_protocol+set}" = set; then
7953 enableval=$enable_protocol;
7954 if test "$enableval" = yes; then
7955 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7956 else
7957 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7958 fi
7959
7960 else
7961
7962 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7963
7964 fi
7965
7966
7967 eval "$wx_cv_use_protocol"
7968
7969 if test x"$enablestring" = xdisable; then
7970 if test $wxUSE_PROTOCOL = yes; then
7971 result=no
7972 else
7973 result=yes
7974 fi
7975 else
7976 result=$wxUSE_PROTOCOL
7977 fi
7978
7979 { echo "$as_me:$LINENO: result: $result" >&5
7980 echo "${ECHO_T}$result" >&6; }
7981
7982
7983 enablestring=
7984 defaultval=$wxUSE_ALL_FEATURES
7985 if test -z "$defaultval"; then
7986 if test x"$enablestring" = xdisable; then
7987 defaultval=yes
7988 else
7989 defaultval=no
7990 fi
7991 fi
7992
7993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7995 # Check whether --enable-protocol_http was given.
7996 if test "${enable_protocol_http+set}" = set; then
7997 enableval=$enable_protocol_http;
7998 if test "$enableval" = yes; then
7999 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8000 else
8001 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8002 fi
8003
8004 else
8005
8006 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8007
8008 fi
8009
8010
8011 eval "$wx_cv_use_protocol_http"
8012
8013 if test x"$enablestring" = xdisable; then
8014 if test $wxUSE_PROTOCOL_HTTP = yes; then
8015 result=no
8016 else
8017 result=yes
8018 fi
8019 else
8020 result=$wxUSE_PROTOCOL_HTTP
8021 fi
8022
8023 { echo "$as_me:$LINENO: result: $result" >&5
8024 echo "${ECHO_T}$result" >&6; }
8025
8026
8027 enablestring=
8028 defaultval=$wxUSE_ALL_FEATURES
8029 if test -z "$defaultval"; then
8030 if test x"$enablestring" = xdisable; then
8031 defaultval=yes
8032 else
8033 defaultval=no
8034 fi
8035 fi
8036
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8039 # Check whether --enable-protocol_ftp was given.
8040 if test "${enable_protocol_ftp+set}" = set; then
8041 enableval=$enable_protocol_ftp;
8042 if test "$enableval" = yes; then
8043 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8044 else
8045 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8046 fi
8047
8048 else
8049
8050 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8051
8052 fi
8053
8054
8055 eval "$wx_cv_use_protocol_ftp"
8056
8057 if test x"$enablestring" = xdisable; then
8058 if test $wxUSE_PROTOCOL_FTP = yes; then
8059 result=no
8060 else
8061 result=yes
8062 fi
8063 else
8064 result=$wxUSE_PROTOCOL_FTP
8065 fi
8066
8067 { echo "$as_me:$LINENO: result: $result" >&5
8068 echo "${ECHO_T}$result" >&6; }
8069
8070
8071 enablestring=
8072 defaultval=$wxUSE_ALL_FEATURES
8073 if test -z "$defaultval"; then
8074 if test x"$enablestring" = xdisable; then
8075 defaultval=yes
8076 else
8077 defaultval=no
8078 fi
8079 fi
8080
8081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8083 # Check whether --enable-protocol_file was given.
8084 if test "${enable_protocol_file+set}" = set; then
8085 enableval=$enable_protocol_file;
8086 if test "$enableval" = yes; then
8087 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8088 else
8089 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8090 fi
8091
8092 else
8093
8094 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8095
8096 fi
8097
8098
8099 eval "$wx_cv_use_protocol_file"
8100
8101 if test x"$enablestring" = xdisable; then
8102 if test $wxUSE_PROTOCOL_FILE = yes; then
8103 result=no
8104 else
8105 result=yes
8106 fi
8107 else
8108 result=$wxUSE_PROTOCOL_FILE
8109 fi
8110
8111 { echo "$as_me:$LINENO: result: $result" >&5
8112 echo "${ECHO_T}$result" >&6; }
8113
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8128 # Check whether --enable-threads was given.
8129 if test "${enable_threads+set}" = set; then
8130 enableval=$enable_threads;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_threads='wxUSE_THREADS=yes'
8133 else
8134 wx_cv_use_threads='wxUSE_THREADS=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_threads"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_THREADS = yes; then
8148 result=no
8149 else
8150 result=yes
8151 fi
8152 else
8153 result=$wxUSE_THREADS
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160
8161 enablestring=
8162 defaultval=
8163 if test -z "$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8165 defaultval=yes
8166 else
8167 defaultval=no
8168 fi
8169 fi
8170
8171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8173 # Check whether --enable-iniconf was given.
8174 if test "${enable_iniconf+set}" = set; then
8175 enableval=$enable_iniconf;
8176 if test "$enableval" = yes; then
8177 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8178 else
8179 wx_cv_use_iniconf='wxUSE_INICONF=no'
8180 fi
8181
8182 else
8183
8184 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8185
8186 fi
8187
8188
8189 eval "$wx_cv_use_iniconf"
8190
8191 if test x"$enablestring" = xdisable; then
8192 if test $wxUSE_INICONF = yes; then
8193 result=no
8194 else
8195 result=yes
8196 fi
8197 else
8198 result=$wxUSE_INICONF
8199 fi
8200
8201 { echo "$as_me:$LINENO: result: $result" >&5
8202 echo "${ECHO_T}$result" >&6; }
8203
8204
8205 enablestring=
8206 defaultval=$wxUSE_ALL_FEATURES
8207 if test -z "$defaultval"; then
8208 if test x"$enablestring" = xdisable; then
8209 defaultval=yes
8210 else
8211 defaultval=no
8212 fi
8213 fi
8214
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8217 # Check whether --enable-regkey was given.
8218 if test "${enable_regkey+set}" = set; then
8219 enableval=$enable_regkey;
8220 if test "$enableval" = yes; then
8221 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8222 else
8223 wx_cv_use_regkey='wxUSE_REGKEY=no'
8224 fi
8225
8226 else
8227
8228 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8229
8230 fi
8231
8232
8233 eval "$wx_cv_use_regkey"
8234
8235 if test x"$enablestring" = xdisable; then
8236 if test $wxUSE_REGKEY = yes; then
8237 result=no
8238 else
8239 result=yes
8240 fi
8241 else
8242 result=$wxUSE_REGKEY
8243 fi
8244
8245 { echo "$as_me:$LINENO: result: $result" >&5
8246 echo "${ECHO_T}$result" >&6; }
8247
8248
8249 if test "$wxUSE_GUI" = "yes"; then
8250
8251
8252
8253 enablestring=
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8257 defaultval=yes
8258 else
8259 defaultval=no
8260 fi
8261 fi
8262
8263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8265 # Check whether --enable-docview was given.
8266 if test "${enable_docview+set}" = set; then
8267 enableval=$enable_docview;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8270 else
8271 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8272 fi
8273
8274 else
8275
8276 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8277
8278 fi
8279
8280
8281 eval "$wx_cv_use_docview"
8282
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8285 result=no
8286 else
8287 result=yes
8288 fi
8289 else
8290 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8291 fi
8292
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8295
8296
8297 enablestring=
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8301 defaultval=yes
8302 else
8303 defaultval=no
8304 fi
8305 fi
8306
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8309 # Check whether --enable-help was given.
8310 if test "${enable_help+set}" = set; then
8311 enableval=$enable_help;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_help='wxUSE_HELP=yes'
8314 else
8315 wx_cv_use_help='wxUSE_HELP=no'
8316 fi
8317
8318 else
8319
8320 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8321
8322 fi
8323
8324
8325 eval "$wx_cv_use_help"
8326
8327 if test x"$enablestring" = xdisable; then
8328 if test $wxUSE_HELP = yes; then
8329 result=no
8330 else
8331 result=yes
8332 fi
8333 else
8334 result=$wxUSE_HELP
8335 fi
8336
8337 { echo "$as_me:$LINENO: result: $result" >&5
8338 echo "${ECHO_T}$result" >&6; }
8339
8340
8341 enablestring=
8342 defaultval=$wxUSE_ALL_FEATURES
8343 if test -z "$defaultval"; then
8344 if test x"$enablestring" = xdisable; then
8345 defaultval=yes
8346 else
8347 defaultval=no
8348 fi
8349 fi
8350
8351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8352 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8353 # Check whether --enable-mshtmlhelp was given.
8354 if test "${enable_mshtmlhelp+set}" = set; then
8355 enableval=$enable_mshtmlhelp;
8356 if test "$enableval" = yes; then
8357 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8358 else
8359 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8360 fi
8361
8362 else
8363
8364 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8365
8366 fi
8367
8368
8369 eval "$wx_cv_use_mshtmlhelp"
8370
8371 if test x"$enablestring" = xdisable; then
8372 if test $wxUSE_MS_HTML_HELP = yes; then
8373 result=no
8374 else
8375 result=yes
8376 fi
8377 else
8378 result=$wxUSE_MS_HTML_HELP
8379 fi
8380
8381 { echo "$as_me:$LINENO: result: $result" >&5
8382 echo "${ECHO_T}$result" >&6; }
8383
8384
8385 enablestring=
8386 defaultval=$wxUSE_ALL_FEATURES
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8389 defaultval=yes
8390 else
8391 defaultval=no
8392 fi
8393 fi
8394
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8397 # Check whether --enable-html was given.
8398 if test "${enable_html+set}" = set; then
8399 enableval=$enable_html;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_html='wxUSE_HTML=yes'
8402 else
8403 wx_cv_use_html='wxUSE_HTML=no'
8404 fi
8405
8406 else
8407
8408 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8409
8410 fi
8411
8412
8413 eval "$wx_cv_use_html"
8414
8415 if test x"$enablestring" = xdisable; then
8416 if test $wxUSE_HTML = yes; then
8417 result=no
8418 else
8419 result=yes
8420 fi
8421 else
8422 result=$wxUSE_HTML
8423 fi
8424
8425 { echo "$as_me:$LINENO: result: $result" >&5
8426 echo "${ECHO_T}$result" >&6; }
8427
8428
8429 enablestring=
8430 defaultval=$wxUSE_ALL_FEATURES
8431 if test -z "$defaultval"; then
8432 if test x"$enablestring" = xdisable; then
8433 defaultval=yes
8434 else
8435 defaultval=no
8436 fi
8437 fi
8438
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8441 # Check whether --enable-htmlhelp was given.
8442 if test "${enable_htmlhelp+set}" = set; then
8443 enableval=$enable_htmlhelp;
8444 if test "$enableval" = yes; then
8445 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8446 else
8447 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8448 fi
8449
8450 else
8451
8452 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8453
8454 fi
8455
8456
8457 eval "$wx_cv_use_htmlhelp"
8458
8459 if test x"$enablestring" = xdisable; then
8460 if test $wxUSE_WXHTML_HELP = yes; then
8461 result=no
8462 else
8463 result=yes
8464 fi
8465 else
8466 result=$wxUSE_WXHTML_HELP
8467 fi
8468
8469 { echo "$as_me:$LINENO: result: $result" >&5
8470 echo "${ECHO_T}$result" >&6; }
8471
8472
8473 enablestring=
8474 defaultval=$wxUSE_ALL_FEATURES
8475 if test -z "$defaultval"; then
8476 if test x"$enablestring" = xdisable; then
8477 defaultval=yes
8478 else
8479 defaultval=no
8480 fi
8481 fi
8482
8483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8485 # Check whether --enable-xrc was given.
8486 if test "${enable_xrc+set}" = set; then
8487 enableval=$enable_xrc;
8488 if test "$enableval" = yes; then
8489 wx_cv_use_xrc='wxUSE_XRC=yes'
8490 else
8491 wx_cv_use_xrc='wxUSE_XRC=no'
8492 fi
8493
8494 else
8495
8496 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8497
8498 fi
8499
8500
8501 eval "$wx_cv_use_xrc"
8502
8503 if test x"$enablestring" = xdisable; then
8504 if test $wxUSE_XRC = yes; then
8505 result=no
8506 else
8507 result=yes
8508 fi
8509 else
8510 result=$wxUSE_XRC
8511 fi
8512
8513 { echo "$as_me:$LINENO: result: $result" >&5
8514 echo "${ECHO_T}$result" >&6; }
8515
8516
8517 enablestring=
8518 defaultval=$wxUSE_ALL_FEATURES
8519 if test -z "$defaultval"; then
8520 if test x"$enablestring" = xdisable; then
8521 defaultval=yes
8522 else
8523 defaultval=no
8524 fi
8525 fi
8526
8527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8529 # Check whether --enable-aui was given.
8530 if test "${enable_aui+set}" = set; then
8531 enableval=$enable_aui;
8532 if test "$enableval" = yes; then
8533 wx_cv_use_aui='wxUSE_AUI=yes'
8534 else
8535 wx_cv_use_aui='wxUSE_AUI=no'
8536 fi
8537
8538 else
8539
8540 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8541
8542 fi
8543
8544
8545 eval "$wx_cv_use_aui"
8546
8547 if test x"$enablestring" = xdisable; then
8548 if test $wxUSE_AUI = yes; then
8549 result=no
8550 else
8551 result=yes
8552 fi
8553 else
8554 result=$wxUSE_AUI
8555 fi
8556
8557 { echo "$as_me:$LINENO: result: $result" >&5
8558 echo "${ECHO_T}$result" >&6; }
8559
8560
8561 enablestring=
8562 defaultval=$wxUSE_ALL_FEATURES
8563 if test -z "$defaultval"; then
8564 if test x"$enablestring" = xdisable; then
8565 defaultval=yes
8566 else
8567 defaultval=no
8568 fi
8569 fi
8570
8571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8573 # Check whether --enable-stc was given.
8574 if test "${enable_stc+set}" = set; then
8575 enableval=$enable_stc;
8576 if test "$enableval" = yes; then
8577 wx_cv_use_stc='wxUSE_STC=yes'
8578 else
8579 wx_cv_use_stc='wxUSE_STC=no'
8580 fi
8581
8582 else
8583
8584 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8585
8586 fi
8587
8588
8589 eval "$wx_cv_use_stc"
8590
8591 if test x"$enablestring" = xdisable; then
8592 if test $wxUSE_STC = yes; then
8593 result=no
8594 else
8595 result=yes
8596 fi
8597 else
8598 result=$wxUSE_STC
8599 fi
8600
8601 { echo "$as_me:$LINENO: result: $result" >&5
8602 echo "${ECHO_T}$result" >&6; }
8603
8604
8605 enablestring=
8606 defaultval=$wxUSE_ALL_FEATURES
8607 if test -z "$defaultval"; then
8608 if test x"$enablestring" = xdisable; then
8609 defaultval=yes
8610 else
8611 defaultval=no
8612 fi
8613 fi
8614
8615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8617 # Check whether --enable-constraints was given.
8618 if test "${enable_constraints+set}" = set; then
8619 enableval=$enable_constraints;
8620 if test "$enableval" = yes; then
8621 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8622 else
8623 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8624 fi
8625
8626 else
8627
8628 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8629
8630 fi
8631
8632
8633 eval "$wx_cv_use_constraints"
8634
8635 if test x"$enablestring" = xdisable; then
8636 if test $wxUSE_CONSTRAINTS = yes; then
8637 result=no
8638 else
8639 result=yes
8640 fi
8641 else
8642 result=$wxUSE_CONSTRAINTS
8643 fi
8644
8645 { echo "$as_me:$LINENO: result: $result" >&5
8646 echo "${ECHO_T}$result" >&6; }
8647
8648
8649 enablestring=
8650 defaultval=$wxUSE_ALL_FEATURES
8651 if test -z "$defaultval"; then
8652 if test x"$enablestring" = xdisable; then
8653 defaultval=yes
8654 else
8655 defaultval=no
8656 fi
8657 fi
8658
8659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8660 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8661 # Check whether --enable-loggui was given.
8662 if test "${enable_loggui+set}" = set; then
8663 enableval=$enable_loggui;
8664 if test "$enableval" = yes; then
8665 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8666 else
8667 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8668 fi
8669
8670 else
8671
8672 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8673
8674 fi
8675
8676
8677 eval "$wx_cv_use_loggui"
8678
8679 if test x"$enablestring" = xdisable; then
8680 if test $wxUSE_LOGGUI = yes; then
8681 result=no
8682 else
8683 result=yes
8684 fi
8685 else
8686 result=$wxUSE_LOGGUI
8687 fi
8688
8689 { echo "$as_me:$LINENO: result: $result" >&5
8690 echo "${ECHO_T}$result" >&6; }
8691
8692
8693 enablestring=
8694 defaultval=$wxUSE_ALL_FEATURES
8695 if test -z "$defaultval"; then
8696 if test x"$enablestring" = xdisable; then
8697 defaultval=yes
8698 else
8699 defaultval=no
8700 fi
8701 fi
8702
8703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8705 # Check whether --enable-logwin was given.
8706 if test "${enable_logwin+set}" = set; then
8707 enableval=$enable_logwin;
8708 if test "$enableval" = yes; then
8709 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8710 else
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8712 fi
8713
8714 else
8715
8716 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8717
8718 fi
8719
8720
8721 eval "$wx_cv_use_logwin"
8722
8723 if test x"$enablestring" = xdisable; then
8724 if test $wxUSE_LOGWINDOW = yes; then
8725 result=no
8726 else
8727 result=yes
8728 fi
8729 else
8730 result=$wxUSE_LOGWINDOW
8731 fi
8732
8733 { echo "$as_me:$LINENO: result: $result" >&5
8734 echo "${ECHO_T}$result" >&6; }
8735
8736
8737 enablestring=
8738 defaultval=$wxUSE_ALL_FEATURES
8739 if test -z "$defaultval"; then
8740 if test x"$enablestring" = xdisable; then
8741 defaultval=yes
8742 else
8743 defaultval=no
8744 fi
8745 fi
8746
8747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8749 # Check whether --enable-logdialog was given.
8750 if test "${enable_logdialog+set}" = set; then
8751 enableval=$enable_logdialog;
8752 if test "$enableval" = yes; then
8753 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8754 else
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8756 fi
8757
8758 else
8759
8760 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8761
8762 fi
8763
8764
8765 eval "$wx_cv_use_logdialog"
8766
8767 if test x"$enablestring" = xdisable; then
8768 if test $wxUSE_LOGDIALOG = yes; then
8769 result=no
8770 else
8771 result=yes
8772 fi
8773 else
8774 result=$wxUSE_LOGDIALOG
8775 fi
8776
8777 { echo "$as_me:$LINENO: result: $result" >&5
8778 echo "${ECHO_T}$result" >&6; }
8779
8780
8781 enablestring=
8782 defaultval=$wxUSE_ALL_FEATURES
8783 if test -z "$defaultval"; then
8784 if test x"$enablestring" = xdisable; then
8785 defaultval=yes
8786 else
8787 defaultval=no
8788 fi
8789 fi
8790
8791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8793 # Check whether --enable-mdi was given.
8794 if test "${enable_mdi+set}" = set; then
8795 enableval=$enable_mdi;
8796 if test "$enableval" = yes; then
8797 wx_cv_use_mdi='wxUSE_MDI=yes'
8798 else
8799 wx_cv_use_mdi='wxUSE_MDI=no'
8800 fi
8801
8802 else
8803
8804 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8805
8806 fi
8807
8808
8809 eval "$wx_cv_use_mdi"
8810
8811 if test x"$enablestring" = xdisable; then
8812 if test $wxUSE_MDI = yes; then
8813 result=no
8814 else
8815 result=yes
8816 fi
8817 else
8818 result=$wxUSE_MDI
8819 fi
8820
8821 { echo "$as_me:$LINENO: result: $result" >&5
8822 echo "${ECHO_T}$result" >&6; }
8823
8824
8825 enablestring=
8826 defaultval=$wxUSE_ALL_FEATURES
8827 if test -z "$defaultval"; then
8828 if test x"$enablestring" = xdisable; then
8829 defaultval=yes
8830 else
8831 defaultval=no
8832 fi
8833 fi
8834
8835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8837 # Check whether --enable-mdidoc was given.
8838 if test "${enable_mdidoc+set}" = set; then
8839 enableval=$enable_mdidoc;
8840 if test "$enableval" = yes; then
8841 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8842 else
8843 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8844 fi
8845
8846 else
8847
8848 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8849
8850 fi
8851
8852
8853 eval "$wx_cv_use_mdidoc"
8854
8855 if test x"$enablestring" = xdisable; then
8856 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8857 result=no
8858 else
8859 result=yes
8860 fi
8861 else
8862 result=$wxUSE_MDI_ARCHITECTURE
8863 fi
8864
8865 { echo "$as_me:$LINENO: result: $result" >&5
8866 echo "${ECHO_T}$result" >&6; }
8867
8868
8869 enablestring=
8870 defaultval=$wxUSE_ALL_FEATURES
8871 if test -z "$defaultval"; then
8872 if test x"$enablestring" = xdisable; then
8873 defaultval=yes
8874 else
8875 defaultval=no
8876 fi
8877 fi
8878
8879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8881 # Check whether --enable-mediactrl was given.
8882 if test "${enable_mediactrl+set}" = set; then
8883 enableval=$enable_mediactrl;
8884 if test "$enableval" = yes; then
8885 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8886 else
8887 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8888 fi
8889
8890 else
8891
8892 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8893
8894 fi
8895
8896
8897 eval "$wx_cv_use_mediactrl"
8898
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_MEDIACTRL = yes; then
8901 result=no
8902 else
8903 result=yes
8904 fi
8905 else
8906 result=$wxUSE_MEDIACTRL
8907 fi
8908
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8911
8912
8913 enablestring=
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8917 defaultval=yes
8918 else
8919 defaultval=no
8920 fi
8921 fi
8922
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8925 # Check whether --enable-gstreamer8 was given.
8926 if test "${enable_gstreamer8+set}" = set; then
8927 enableval=$enable_gstreamer8;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8930 else
8931 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8932 fi
8933
8934 else
8935
8936 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8937
8938 fi
8939
8940
8941 eval "$wx_cv_use_gstreamer8"
8942
8943 if test x"$enablestring" = xdisable; then
8944 if test $wxUSE_GSTREAMER8 = yes; then
8945 result=no
8946 else
8947 result=yes
8948 fi
8949 else
8950 result=$wxUSE_GSTREAMER8
8951 fi
8952
8953 { echo "$as_me:$LINENO: result: $result" >&5
8954 echo "${ECHO_T}$result" >&6; }
8955
8956
8957 enablestring=
8958 defaultval=$wxUSE_ALL_FEATURES
8959 if test -z "$defaultval"; then
8960 if test x"$enablestring" = xdisable; then
8961 defaultval=yes
8962 else
8963 defaultval=no
8964 fi
8965 fi
8966
8967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8968 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8969 # Check whether --enable-webkit was given.
8970 if test "${enable_webkit+set}" = set; then
8971 enableval=$enable_webkit;
8972 if test "$enableval" = yes; then
8973 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8974 else
8975 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8976 fi
8977
8978 else
8979
8980 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8981
8982 fi
8983
8984
8985 eval "$wx_cv_use_webkit"
8986
8987 if test x"$enablestring" = xdisable; then
8988 if test $wxUSE_WEBKIT = yes; then
8989 result=no
8990 else
8991 result=yes
8992 fi
8993 else
8994 result=$wxUSE_WEBKIT
8995 fi
8996
8997 { echo "$as_me:$LINENO: result: $result" >&5
8998 echo "${ECHO_T}$result" >&6; }
8999
9000
9001 enablestring=
9002 defaultval=$wxUSE_ALL_FEATURES
9003 if test -z "$defaultval"; then
9004 if test x"$enablestring" = xdisable; then
9005 defaultval=yes
9006 else
9007 defaultval=no
9008 fi
9009 fi
9010
9011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9012 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9013 # Check whether --enable-richtext was given.
9014 if test "${enable_richtext+set}" = set; then
9015 enableval=$enable_richtext;
9016 if test "$enableval" = yes; then
9017 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9018 else
9019 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9020 fi
9021
9022 else
9023
9024 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9025
9026 fi
9027
9028
9029 eval "$wx_cv_use_richtext"
9030
9031 if test x"$enablestring" = xdisable; then
9032 if test $wxUSE_RICHTEXT = yes; then
9033 result=no
9034 else
9035 result=yes
9036 fi
9037 else
9038 result=$wxUSE_RICHTEXT
9039 fi
9040
9041 { echo "$as_me:$LINENO: result: $result" >&5
9042 echo "${ECHO_T}$result" >&6; }
9043
9044
9045 enablestring=
9046 defaultval=$wxUSE_ALL_FEATURES
9047 if test -z "$defaultval"; then
9048 if test x"$enablestring" = xdisable; then
9049 defaultval=yes
9050 else
9051 defaultval=no
9052 fi
9053 fi
9054
9055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9057 # Check whether --enable-graphics_ctx was given.
9058 if test "${enable_graphics_ctx+set}" = set; then
9059 enableval=$enable_graphics_ctx;
9060 if test "$enableval" = yes; then
9061 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9062 else
9063 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9064 fi
9065
9066 else
9067
9068 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9069
9070 fi
9071
9072
9073 eval "$wx_cv_use_graphics_ctx"
9074
9075 if test x"$enablestring" = xdisable; then
9076 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9077 result=no
9078 else
9079 result=yes
9080 fi
9081 else
9082 result=$wxUSE_GRAPHICS_CONTEXT
9083 fi
9084
9085 { echo "$as_me:$LINENO: result: $result" >&5
9086 echo "${ECHO_T}$result" >&6; }
9087
9088
9089 enablestring=
9090 defaultval=$wxUSE_ALL_FEATURES
9091 if test -z "$defaultval"; then
9092 if test x"$enablestring" = xdisable; then
9093 defaultval=yes
9094 else
9095 defaultval=no
9096 fi
9097 fi
9098
9099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9101 # Check whether --enable-postscript was given.
9102 if test "${enable_postscript+set}" = set; then
9103 enableval=$enable_postscript;
9104 if test "$enableval" = yes; then
9105 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9106 else
9107 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9108 fi
9109
9110 else
9111
9112 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9113
9114 fi
9115
9116
9117 eval "$wx_cv_use_postscript"
9118
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_POSTSCRIPT = yes; then
9121 result=no
9122 else
9123 result=yes
9124 fi
9125 else
9126 result=$wxUSE_POSTSCRIPT
9127 fi
9128
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9131
9132
9133 enablestring=
9134 defaultval=$wxUSE_ALL_FEATURES
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9137 defaultval=yes
9138 else
9139 defaultval=no
9140 fi
9141 fi
9142
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9145 # Check whether --enable-printarch was given.
9146 if test "${enable_printarch+set}" = set; then
9147 enableval=$enable_printarch;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9150 else
9151 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9152 fi
9153
9154 else
9155
9156 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9157
9158 fi
9159
9160
9161 eval "$wx_cv_use_printarch"
9162
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9165 result=no
9166 else
9167 result=yes
9168 fi
9169 else
9170 result=$wxUSE_PRINTING_ARCHITECTURE
9171 fi
9172
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9175
9176
9177 enablestring=
9178 defaultval=$wxUSE_ALL_FEATURES
9179 if test -z "$defaultval"; then
9180 if test x"$enablestring" = xdisable; then
9181 defaultval=yes
9182 else
9183 defaultval=no
9184 fi
9185 fi
9186
9187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9189 # Check whether --enable-svg was given.
9190 if test "${enable_svg+set}" = set; then
9191 enableval=$enable_svg;
9192 if test "$enableval" = yes; then
9193 wx_cv_use_svg='wxUSE_SVG=yes'
9194 else
9195 wx_cv_use_svg='wxUSE_SVG=no'
9196 fi
9197
9198 else
9199
9200 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9201
9202 fi
9203
9204
9205 eval "$wx_cv_use_svg"
9206
9207 if test x"$enablestring" = xdisable; then
9208 if test $wxUSE_SVG = yes; then
9209 result=no
9210 else
9211 result=yes
9212 fi
9213 else
9214 result=$wxUSE_SVG
9215 fi
9216
9217 { echo "$as_me:$LINENO: result: $result" >&5
9218 echo "${ECHO_T}$result" >&6; }
9219
9220
9221
9222
9223 enablestring=
9224 defaultval=$wxUSE_ALL_FEATURES
9225 if test -z "$defaultval"; then
9226 if test x"$enablestring" = xdisable; then
9227 defaultval=yes
9228 else
9229 defaultval=no
9230 fi
9231 fi
9232
9233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9235 # Check whether --enable-clipboard was given.
9236 if test "${enable_clipboard+set}" = set; then
9237 enableval=$enable_clipboard;
9238 if test "$enableval" = yes; then
9239 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9240 else
9241 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9242 fi
9243
9244 else
9245
9246 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9247
9248 fi
9249
9250
9251 eval "$wx_cv_use_clipboard"
9252
9253 if test x"$enablestring" = xdisable; then
9254 if test $wxUSE_CLIPBOARD = yes; then
9255 result=no
9256 else
9257 result=yes
9258 fi
9259 else
9260 result=$wxUSE_CLIPBOARD
9261 fi
9262
9263 { echo "$as_me:$LINENO: result: $result" >&5
9264 echo "${ECHO_T}$result" >&6; }
9265
9266
9267 enablestring=
9268 defaultval=$wxUSE_ALL_FEATURES
9269 if test -z "$defaultval"; then
9270 if test x"$enablestring" = xdisable; then
9271 defaultval=yes
9272 else
9273 defaultval=no
9274 fi
9275 fi
9276
9277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9279 # Check whether --enable-dnd was given.
9280 if test "${enable_dnd+set}" = set; then
9281 enableval=$enable_dnd;
9282 if test "$enableval" = yes; then
9283 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9284 else
9285 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9286 fi
9287
9288 else
9289
9290 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9291
9292 fi
9293
9294
9295 eval "$wx_cv_use_dnd"
9296
9297 if test x"$enablestring" = xdisable; then
9298 if test $wxUSE_DRAG_AND_DROP = yes; then
9299 result=no
9300 else
9301 result=yes
9302 fi
9303 else
9304 result=$wxUSE_DRAG_AND_DROP
9305 fi
9306
9307 { echo "$as_me:$LINENO: result: $result" >&5
9308 echo "${ECHO_T}$result" >&6; }
9309
9310
9311 enablestring=
9312 defaultval=$wxUSE_ALL_FEATURES
9313 if test -z "$defaultval"; then
9314 if test x"$enablestring" = xdisable; then
9315 defaultval=yes
9316 else
9317 defaultval=no
9318 fi
9319 fi
9320
9321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9323 # Check whether --enable-metafile was given.
9324 if test "${enable_metafile+set}" = set; then
9325 enableval=$enable_metafile;
9326 if test "$enableval" = yes; then
9327 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9328 else
9329 wx_cv_use_metafile='wxUSE_METAFILE=no'
9330 fi
9331
9332 else
9333
9334 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9335
9336 fi
9337
9338
9339 eval "$wx_cv_use_metafile"
9340
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_METAFILE = yes; then
9343 result=no
9344 else
9345 result=yes
9346 fi
9347 else
9348 result=$wxUSE_METAFILE
9349 fi
9350
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9353
9354
9355
9356 DEFAULT_wxUSE_CONTROLS=none
9357
9358 enablestring=disable
9359 defaultval=
9360 if test -z "$defaultval"; then
9361 if test x"$enablestring" = xdisable; then
9362 defaultval=yes
9363 else
9364 defaultval=no
9365 fi
9366 fi
9367
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9370 # Check whether --enable-controls was given.
9371 if test "${enable_controls+set}" = set; then
9372 enableval=$enable_controls;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9375 else
9376 wx_cv_use_controls='wxUSE_CONTROLS=no'
9377 fi
9378
9379 else
9380
9381 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9382
9383 fi
9384
9385
9386 eval "$wx_cv_use_controls"
9387
9388 if test x"$enablestring" = xdisable; then
9389 if test $wxUSE_CONTROLS = yes; then
9390 result=no
9391 else
9392 result=yes
9393 fi
9394 else
9395 result=$wxUSE_CONTROLS
9396 fi
9397
9398 { echo "$as_me:$LINENO: result: $result" >&5
9399 echo "${ECHO_T}$result" >&6; }
9400
9401
9402 if test "$wxUSE_CONTROLS" = "yes"; then
9403 DEFAULT_wxUSE_ACCEL=yes
9404 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9405 DEFAULT_wxUSE_BMPBUTTON=yes
9406 DEFAULT_wxUSE_BUTTON=yes
9407 DEFAULT_wxUSE_CALCTRL=yes
9408 DEFAULT_wxUSE_CARET=yes
9409 DEFAULT_wxUSE_COMBOBOX=yes
9410 DEFAULT_wxUSE_CHECKBOX=yes
9411 DEFAULT_wxUSE_CHECKLISTBOX=yes
9412 DEFAULT_wxUSE_CHOICE=yes
9413 DEFAULT_wxUSE_CHOICEBOOK=yes
9414 DEFAULT_wxUSE_COLLPANE=yes
9415 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9416 DEFAULT_wxUSE_COMBOBOX=yes
9417 DEFAULT_wxUSE_DATEPICKCTRL=yes
9418 DEFAULT_wxUSE_DISPLAY=yes
9419 DEFAULT_wxUSE_DETECT_SM=yes
9420 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9421 DEFAULT_wxUSE_FILECTRL=yes
9422 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9423 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9424 DEFAULT_wxUSE_GAUGE=yes
9425 DEFAULT_wxUSE_GRID=yes
9426 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9427 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9428 DEFAULT_wxUSE_IMAGLIST=yes
9429 DEFAULT_wxUSE_LISTBOOK=yes
9430 DEFAULT_wxUSE_LISTBOX=yes
9431 DEFAULT_wxUSE_LISTCTRL=yes
9432 DEFAULT_wxUSE_NOTEBOOK=yes
9433 DEFAULT_wxUSE_RADIOBOX=yes
9434 DEFAULT_wxUSE_RADIOBTN=yes
9435 DEFAULT_wxUSE_SASH=yes
9436 DEFAULT_wxUSE_SCROLLBAR=yes
9437 DEFAULT_wxUSE_SEARCHCTRL=yes
9438 DEFAULT_wxUSE_SLIDER=yes
9439 DEFAULT_wxUSE_SPINBTN=yes
9440 DEFAULT_wxUSE_SPINCTRL=yes
9441 DEFAULT_wxUSE_SPLITTER=yes
9442 DEFAULT_wxUSE_STATBMP=yes
9443 DEFAULT_wxUSE_STATBOX=yes
9444 DEFAULT_wxUSE_STATLINE=yes
9445 DEFAULT_wxUSE_STATUSBAR=yes
9446 DEFAULT_wxUSE_TAB_DIALOG=yes
9447 DEFAULT_wxUSE_TOGGLEBTN=yes
9448 DEFAULT_wxUSE_TOOLBAR=yes
9449 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9450 DEFAULT_wxUSE_TOOLTIPS=yes
9451 DEFAULT_wxUSE_TREEBOOK=yes
9452 DEFAULT_wxUSE_TOOLBOOK=yes
9453 DEFAULT_wxUSE_TREECTRL=yes
9454 DEFAULT_wxUSE_POPUPWIN=yes
9455 DEFAULT_wxUSE_TIPWINDOW=yes
9456 elif test "$wxUSE_CONTROLS" = "no"; then
9457 DEFAULT_wxUSE_ACCEL=no
9458 DEFAULT_wxUSE_ANIMATIONCTRL=no
9459 DEFAULT_wxUSE_BMPBUTTON=no
9460 DEFAULT_wxUSE_BUTTON=no
9461 DEFAULT_wxUSE_CALCTRL=no
9462 DEFAULT_wxUSE_CARET=no
9463 DEFAULT_wxUSE_COLLPANE=no
9464 DEFAULT_wxUSE_COMBOBOX=no
9465 DEFAULT_wxUSE_CHECKBOX=no
9466 DEFAULT_wxUSE_CHECKLISTBOX=no
9467 DEFAULT_wxUSE_CHOICE=no
9468 DEFAULT_wxUSE_CHOICEBOOK=no
9469 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9470 DEFAULT_wxUSE_COMBOBOX=no
9471 DEFAULT_wxUSE_DATEPICKCTRL=no
9472 DEFAULT_wxUSE_DISPLAY=no
9473 DEFAULT_wxUSE_DETECT_SM=no
9474 DEFAULT_wxUSE_DIRPICKERCTRL=no
9475 DEFAULT_wxUSE_FILECTRL=no
9476 DEFAULT_wxUSE_FILEPICKERCTRL=no
9477 DEFAULT_wxUSE_FONTPICKERCTRL=no
9478 DEFAULT_wxUSE_GAUGE=no
9479 DEFAULT_wxUSE_GRID=no
9480 DEFAULT_wxUSE_HYPERLINKCTRL=no
9481 DEFAULT_wxUSE_DATAVIEWCTRL=no
9482 DEFAULT_wxUSE_IMAGLIST=no
9483 DEFAULT_wxUSE_LISTBOOK=no
9484 DEFAULT_wxUSE_LISTBOX=no
9485 DEFAULT_wxUSE_LISTCTRL=no
9486 DEFAULT_wxUSE_NOTEBOOK=no
9487 DEFAULT_wxUSE_RADIOBOX=no
9488 DEFAULT_wxUSE_RADIOBTN=no
9489 DEFAULT_wxUSE_SASH=no
9490 DEFAULT_wxUSE_SCROLLBAR=no
9491 DEFAULT_wxUSE_SEARCHCTRL=no
9492 DEFAULT_wxUSE_SLIDER=no
9493 DEFAULT_wxUSE_SPINBTN=no
9494 DEFAULT_wxUSE_SPINCTRL=no
9495 DEFAULT_wxUSE_SPLITTER=no
9496 DEFAULT_wxUSE_STATBMP=no
9497 DEFAULT_wxUSE_STATBOX=no
9498 DEFAULT_wxUSE_STATLINE=no
9499 DEFAULT_wxUSE_STATUSBAR=no
9500 DEFAULT_wxUSE_TAB_DIALOG=no
9501 DEFAULT_wxUSE_TOGGLEBTN=no
9502 DEFAULT_wxUSE_TOOLBAR=no
9503 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9504 DEFAULT_wxUSE_TOOLTIPS=no
9505 DEFAULT_wxUSE_TREEBOOK=no
9506 DEFAULT_wxUSE_TOOLBOOK=no
9507 DEFAULT_wxUSE_TREECTRL=no
9508 DEFAULT_wxUSE_POPUPWIN=no
9509 DEFAULT_wxUSE_TIPWINDOW=no
9510 fi
9511
9512
9513 enablestring=
9514 defaultval=$wxUSE_ALL_FEATURES
9515 if test -z "$defaultval"; then
9516 if test x"$enablestring" = xdisable; then
9517 defaultval=yes
9518 else
9519 defaultval=no
9520 fi
9521 fi
9522
9523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9524 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9525 # Check whether --enable-accel was given.
9526 if test "${enable_accel+set}" = set; then
9527 enableval=$enable_accel;
9528 if test "$enableval" = yes; then
9529 wx_cv_use_accel='wxUSE_ACCEL=yes'
9530 else
9531 wx_cv_use_accel='wxUSE_ACCEL=no'
9532 fi
9533
9534 else
9535
9536 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9537
9538 fi
9539
9540
9541 eval "$wx_cv_use_accel"
9542
9543 if test x"$enablestring" = xdisable; then
9544 if test $wxUSE_ACCEL = yes; then
9545 result=no
9546 else
9547 result=yes
9548 fi
9549 else
9550 result=$wxUSE_ACCEL
9551 fi
9552
9553 { echo "$as_me:$LINENO: result: $result" >&5
9554 echo "${ECHO_T}$result" >&6; }
9555
9556
9557 enablestring=
9558 defaultval=$wxUSE_ALL_FEATURES
9559 if test -z "$defaultval"; then
9560 if test x"$enablestring" = xdisable; then
9561 defaultval=yes
9562 else
9563 defaultval=no
9564 fi
9565 fi
9566
9567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9568 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9569 # Check whether --enable-animatectrl was given.
9570 if test "${enable_animatectrl+set}" = set; then
9571 enableval=$enable_animatectrl;
9572 if test "$enableval" = yes; then
9573 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9574 else
9575 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9576 fi
9577
9578 else
9579
9580 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9581
9582 fi
9583
9584
9585 eval "$wx_cv_use_animatectrl"
9586
9587 if test x"$enablestring" = xdisable; then
9588 if test $wxUSE_ANIMATIONCTRL = yes; then
9589 result=no
9590 else
9591 result=yes
9592 fi
9593 else
9594 result=$wxUSE_ANIMATIONCTRL
9595 fi
9596
9597 { echo "$as_me:$LINENO: result: $result" >&5
9598 echo "${ECHO_T}$result" >&6; }
9599
9600
9601 enablestring=
9602 defaultval=$wxUSE_ALL_FEATURES
9603 if test -z "$defaultval"; then
9604 if test x"$enablestring" = xdisable; then
9605 defaultval=yes
9606 else
9607 defaultval=no
9608 fi
9609 fi
9610
9611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9612 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9613 # Check whether --enable-button was given.
9614 if test "${enable_button+set}" = set; then
9615 enableval=$enable_button;
9616 if test "$enableval" = yes; then
9617 wx_cv_use_button='wxUSE_BUTTON=yes'
9618 else
9619 wx_cv_use_button='wxUSE_BUTTON=no'
9620 fi
9621
9622 else
9623
9624 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9625
9626 fi
9627
9628
9629 eval "$wx_cv_use_button"
9630
9631 if test x"$enablestring" = xdisable; then
9632 if test $wxUSE_BUTTON = yes; then
9633 result=no
9634 else
9635 result=yes
9636 fi
9637 else
9638 result=$wxUSE_BUTTON
9639 fi
9640
9641 { echo "$as_me:$LINENO: result: $result" >&5
9642 echo "${ECHO_T}$result" >&6; }
9643
9644
9645 enablestring=
9646 defaultval=$wxUSE_ALL_FEATURES
9647 if test -z "$defaultval"; then
9648 if test x"$enablestring" = xdisable; then
9649 defaultval=yes
9650 else
9651 defaultval=no
9652 fi
9653 fi
9654
9655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9657 # Check whether --enable-bmpbutton was given.
9658 if test "${enable_bmpbutton+set}" = set; then
9659 enableval=$enable_bmpbutton;
9660 if test "$enableval" = yes; then
9661 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9662 else
9663 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9664 fi
9665
9666 else
9667
9668 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9669
9670 fi
9671
9672
9673 eval "$wx_cv_use_bmpbutton"
9674
9675 if test x"$enablestring" = xdisable; then
9676 if test $wxUSE_BMPBUTTON = yes; then
9677 result=no
9678 else
9679 result=yes
9680 fi
9681 else
9682 result=$wxUSE_BMPBUTTON
9683 fi
9684
9685 { echo "$as_me:$LINENO: result: $result" >&5
9686 echo "${ECHO_T}$result" >&6; }
9687
9688
9689 enablestring=
9690 defaultval=$wxUSE_ALL_FEATURES
9691 if test -z "$defaultval"; then
9692 if test x"$enablestring" = xdisable; then
9693 defaultval=yes
9694 else
9695 defaultval=no
9696 fi
9697 fi
9698
9699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9700 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9701 # Check whether --enable-bmpcombobox was given.
9702 if test "${enable_bmpcombobox+set}" = set; then
9703 enableval=$enable_bmpcombobox;
9704 if test "$enableval" = yes; then
9705 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9706 else
9707 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9708 fi
9709
9710 else
9711
9712 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9713
9714 fi
9715
9716
9717 eval "$wx_cv_use_bmpcombobox"
9718
9719 if test x"$enablestring" = xdisable; then
9720 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9721 result=no
9722 else
9723 result=yes
9724 fi
9725 else
9726 result=$wxUSE_BITMAPCOMBOBOX
9727 fi
9728
9729 { echo "$as_me:$LINENO: result: $result" >&5
9730 echo "${ECHO_T}$result" >&6; }
9731
9732
9733 enablestring=
9734 defaultval=$wxUSE_ALL_FEATURES
9735 if test -z "$defaultval"; then
9736 if test x"$enablestring" = xdisable; then
9737 defaultval=yes
9738 else
9739 defaultval=no
9740 fi
9741 fi
9742
9743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9744 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9745 # Check whether --enable-calendar was given.
9746 if test "${enable_calendar+set}" = set; then
9747 enableval=$enable_calendar;
9748 if test "$enableval" = yes; then
9749 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9750 else
9751 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9752 fi
9753
9754 else
9755
9756 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9757
9758 fi
9759
9760
9761 eval "$wx_cv_use_calendar"
9762
9763 if test x"$enablestring" = xdisable; then
9764 if test $wxUSE_CALCTRL = yes; then
9765 result=no
9766 else
9767 result=yes
9768 fi
9769 else
9770 result=$wxUSE_CALCTRL
9771 fi
9772
9773 { echo "$as_me:$LINENO: result: $result" >&5
9774 echo "${ECHO_T}$result" >&6; }
9775
9776
9777 enablestring=
9778 defaultval=$wxUSE_ALL_FEATURES
9779 if test -z "$defaultval"; then
9780 if test x"$enablestring" = xdisable; then
9781 defaultval=yes
9782 else
9783 defaultval=no
9784 fi
9785 fi
9786
9787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9788 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9789 # Check whether --enable-caret was given.
9790 if test "${enable_caret+set}" = set; then
9791 enableval=$enable_caret;
9792 if test "$enableval" = yes; then
9793 wx_cv_use_caret='wxUSE_CARET=yes'
9794 else
9795 wx_cv_use_caret='wxUSE_CARET=no'
9796 fi
9797
9798 else
9799
9800 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9801
9802 fi
9803
9804
9805 eval "$wx_cv_use_caret"
9806
9807 if test x"$enablestring" = xdisable; then
9808 if test $wxUSE_CARET = yes; then
9809 result=no
9810 else
9811 result=yes
9812 fi
9813 else
9814 result=$wxUSE_CARET
9815 fi
9816
9817 { echo "$as_me:$LINENO: result: $result" >&5
9818 echo "${ECHO_T}$result" >&6; }
9819
9820
9821 enablestring=
9822 defaultval=$wxUSE_ALL_FEATURES
9823 if test -z "$defaultval"; then
9824 if test x"$enablestring" = xdisable; then
9825 defaultval=yes
9826 else
9827 defaultval=no
9828 fi
9829 fi
9830
9831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9833 # Check whether --enable-checkbox was given.
9834 if test "${enable_checkbox+set}" = set; then
9835 enableval=$enable_checkbox;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9838 else
9839 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9840 fi
9841
9842 else
9843
9844 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9845
9846 fi
9847
9848
9849 eval "$wx_cv_use_checkbox"
9850
9851 if test x"$enablestring" = xdisable; then
9852 if test $wxUSE_CHECKBOX = yes; then
9853 result=no
9854 else
9855 result=yes
9856 fi
9857 else
9858 result=$wxUSE_CHECKBOX
9859 fi
9860
9861 { echo "$as_me:$LINENO: result: $result" >&5
9862 echo "${ECHO_T}$result" >&6; }
9863
9864
9865 enablestring=
9866 defaultval=$wxUSE_ALL_FEATURES
9867 if test -z "$defaultval"; then
9868 if test x"$enablestring" = xdisable; then
9869 defaultval=yes
9870 else
9871 defaultval=no
9872 fi
9873 fi
9874
9875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9877 # Check whether --enable-checklst was given.
9878 if test "${enable_checklst+set}" = set; then
9879 enableval=$enable_checklst;
9880 if test "$enableval" = yes; then
9881 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9882 else
9883 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9884 fi
9885
9886 else
9887
9888 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9889
9890 fi
9891
9892
9893 eval "$wx_cv_use_checklst"
9894
9895 if test x"$enablestring" = xdisable; then
9896 if test $wxUSE_CHECKLST = yes; then
9897 result=no
9898 else
9899 result=yes
9900 fi
9901 else
9902 result=$wxUSE_CHECKLST
9903 fi
9904
9905 { echo "$as_me:$LINENO: result: $result" >&5
9906 echo "${ECHO_T}$result" >&6; }
9907
9908
9909 enablestring=
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9913 defaultval=yes
9914 else
9915 defaultval=no
9916 fi
9917 fi
9918
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9921 # Check whether --enable-choice was given.
9922 if test "${enable_choice+set}" = set; then
9923 enableval=$enable_choice;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_choice='wxUSE_CHOICE=yes'
9926 else
9927 wx_cv_use_choice='wxUSE_CHOICE=no'
9928 fi
9929
9930 else
9931
9932 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9933
9934 fi
9935
9936
9937 eval "$wx_cv_use_choice"
9938
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_CHOICE = yes; then
9941 result=no
9942 else
9943 result=yes
9944 fi
9945 else
9946 result=$wxUSE_CHOICE
9947 fi
9948
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9951
9952
9953 enablestring=
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9957 defaultval=yes
9958 else
9959 defaultval=no
9960 fi
9961 fi
9962
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9965 # Check whether --enable-choicebook was given.
9966 if test "${enable_choicebook+set}" = set; then
9967 enableval=$enable_choicebook;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9970 else
9971 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9972 fi
9973
9974 else
9975
9976 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9977
9978 fi
9979
9980
9981 eval "$wx_cv_use_choicebook"
9982
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_CHOICEBOOK = yes; then
9985 result=no
9986 else
9987 result=yes
9988 fi
9989 else
9990 result=$wxUSE_CHOICEBOOK
9991 fi
9992
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9995
9996
9997 enablestring=
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10001 defaultval=yes
10002 else
10003 defaultval=no
10004 fi
10005 fi
10006
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10009 # Check whether --enable-collpane was given.
10010 if test "${enable_collpane+set}" = set; then
10011 enableval=$enable_collpane;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10014 else
10015 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10016 fi
10017
10018 else
10019
10020 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10021
10022 fi
10023
10024
10025 eval "$wx_cv_use_collpane"
10026
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_COLLPANE = yes; then
10029 result=no
10030 else
10031 result=yes
10032 fi
10033 else
10034 result=$wxUSE_COLLPANE
10035 fi
10036
10037 { echo "$as_me:$LINENO: result: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10039
10040
10041 enablestring=
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10045 defaultval=yes
10046 else
10047 defaultval=no
10048 fi
10049 fi
10050
10051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10053 # Check whether --enable-colourpicker was given.
10054 if test "${enable_colourpicker+set}" = set; then
10055 enableval=$enable_colourpicker;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10058 else
10059 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10060 fi
10061
10062 else
10063
10064 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10065
10066 fi
10067
10068
10069 eval "$wx_cv_use_colourpicker"
10070
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_COLOURPICKERCTRL = yes; then
10073 result=no
10074 else
10075 result=yes
10076 fi
10077 else
10078 result=$wxUSE_COLOURPICKERCTRL
10079 fi
10080
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10083
10084
10085 enablestring=
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10089 defaultval=yes
10090 else
10091 defaultval=no
10092 fi
10093 fi
10094
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10097 # Check whether --enable-combobox was given.
10098 if test "${enable_combobox+set}" = set; then
10099 enableval=$enable_combobox;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10102 else
10103 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10104 fi
10105
10106 else
10107
10108 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10109
10110 fi
10111
10112
10113 eval "$wx_cv_use_combobox"
10114
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_COMBOBOX = yes; then
10117 result=no
10118 else
10119 result=yes
10120 fi
10121 else
10122 result=$wxUSE_COMBOBOX
10123 fi
10124
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10127
10128
10129 enablestring=
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10133 defaultval=yes
10134 else
10135 defaultval=no
10136 fi
10137 fi
10138
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10141 # Check whether --enable-comboctrl was given.
10142 if test "${enable_comboctrl+set}" = set; then
10143 enableval=$enable_comboctrl;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10146 else
10147 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10148 fi
10149
10150 else
10151
10152 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10153
10154 fi
10155
10156
10157 eval "$wx_cv_use_comboctrl"
10158
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_COMBOCTRL = yes; then
10161 result=no
10162 else
10163 result=yes
10164 fi
10165 else
10166 result=$wxUSE_COMBOCTRL
10167 fi
10168
10169 { echo "$as_me:$LINENO: result: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10171
10172
10173 enablestring=
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10177 defaultval=yes
10178 else
10179 defaultval=no
10180 fi
10181 fi
10182
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10185 # Check whether --enable-datepick was given.
10186 if test "${enable_datepick+set}" = set; then
10187 enableval=$enable_datepick;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10190 else
10191 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10192 fi
10193
10194 else
10195
10196 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10197
10198 fi
10199
10200
10201 eval "$wx_cv_use_datepick"
10202
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_DATEPICKCTRL = yes; then
10205 result=no
10206 else
10207 result=yes
10208 fi
10209 else
10210 result=$wxUSE_DATEPICKCTRL
10211 fi
10212
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10215
10216
10217 enablestring=
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10221 defaultval=yes
10222 else
10223 defaultval=no
10224 fi
10225 fi
10226
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10229 # Check whether --enable-dirpicker was given.
10230 if test "${enable_dirpicker+set}" = set; then
10231 enableval=$enable_dirpicker;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10234 else
10235 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10236 fi
10237
10238 else
10239
10240 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_dirpicker"
10246
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_DIRPICKERCTRL = yes; then
10249 result=no
10250 else
10251 result=yes
10252 fi
10253 else
10254 result=$wxUSE_DIRPICKERCTRL
10255 fi
10256
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10259
10260
10261 enablestring=
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10265 defaultval=yes
10266 else
10267 defaultval=no
10268 fi
10269 fi
10270
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10273 # Check whether --enable-display was given.
10274 if test "${enable_display+set}" = set; then
10275 enableval=$enable_display;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_display='wxUSE_DISPLAY=yes'
10278 else
10279 wx_cv_use_display='wxUSE_DISPLAY=no'
10280 fi
10281
10282 else
10283
10284 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10285
10286 fi
10287
10288
10289 eval "$wx_cv_use_display"
10290
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_DISPLAY = yes; then
10293 result=no
10294 else
10295 result=yes
10296 fi
10297 else
10298 result=$wxUSE_DISPLAY
10299 fi
10300
10301 { echo "$as_me:$LINENO: result: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10303
10304
10305 enablestring=
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10309 defaultval=yes
10310 else
10311 defaultval=no
10312 fi
10313 fi
10314
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10317 # Check whether --enable-detect_sm was given.
10318 if test "${enable_detect_sm+set}" = set; then
10319 enableval=$enable_detect_sm;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10322 else
10323 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10324 fi
10325
10326 else
10327
10328 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10329
10330 fi
10331
10332
10333 eval "$wx_cv_use_detect_sm"
10334
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_DETECT_SM = yes; then
10337 result=no
10338 else
10339 result=yes
10340 fi
10341 else
10342 result=$wxUSE_DETECT_SM
10343 fi
10344
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10347
10348
10349 enablestring=
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10353 defaultval=yes
10354 else
10355 defaultval=no
10356 fi
10357 fi
10358
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10361 # Check whether --enable-editablebox was given.
10362 if test "${enable_editablebox+set}" = set; then
10363 enableval=$enable_editablebox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10366 else
10367 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10368 fi
10369
10370 else
10371
10372 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10373
10374 fi
10375
10376
10377 eval "$wx_cv_use_editablebox"
10378
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_EDITABLELISTBOX = yes; then
10381 result=no
10382 else
10383 result=yes
10384 fi
10385 else
10386 result=$wxUSE_EDITABLELISTBOX
10387 fi
10388
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10391
10392
10393 enablestring=
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10397 defaultval=yes
10398 else
10399 defaultval=no
10400 fi
10401 fi
10402
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10405 # Check whether --enable-filepicker was given.
10406 if test "${enable_filepicker+set}" = set; then
10407 enableval=$enable_filepicker;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10410 else
10411 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10412 fi
10413
10414 else
10415
10416 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10417
10418 fi
10419
10420
10421 eval "$wx_cv_use_filepicker"
10422
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_FILEPICKERCTRL = yes; then
10425 result=no
10426 else
10427 result=yes
10428 fi
10429 else
10430 result=$wxUSE_FILEPICKERCTRL
10431 fi
10432
10433 { echo "$as_me:$LINENO: result: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10435
10436
10437 enablestring=
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10441 defaultval=yes
10442 else
10443 defaultval=no
10444 fi
10445 fi
10446
10447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10448 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10449 # Check whether --enable-filectrl was given.
10450 if test "${enable_filectrl+set}" = set; then
10451 enableval=$enable_filectrl;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10454 else
10455 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10456 fi
10457
10458 else
10459
10460 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10461
10462 fi
10463
10464
10465 eval "$wx_cv_use_filectrl"
10466
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_FILECTRL = yes; then
10469 result=no
10470 else
10471 result=yes
10472 fi
10473 else
10474 result=$wxUSE_FILECTRL
10475 fi
10476
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10479
10480
10481 enablestring=
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10485 defaultval=yes
10486 else
10487 defaultval=no
10488 fi
10489 fi
10490
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10493 # Check whether --enable-fontpicker was given.
10494 if test "${enable_fontpicker+set}" = set; then
10495 enableval=$enable_fontpicker;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10498 else
10499 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10500 fi
10501
10502 else
10503
10504 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10505
10506 fi
10507
10508
10509 eval "$wx_cv_use_fontpicker"
10510
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_FONTPICKERCTRL = yes; then
10513 result=no
10514 else
10515 result=yes
10516 fi
10517 else
10518 result=$wxUSE_FONTPICKERCTRL
10519 fi
10520
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10523
10524
10525 enablestring=
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10529 defaultval=yes
10530 else
10531 defaultval=no
10532 fi
10533 fi
10534
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10537 # Check whether --enable-gauge was given.
10538 if test "${enable_gauge+set}" = set; then
10539 enableval=$enable_gauge;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10542 else
10543 wx_cv_use_gauge='wxUSE_GAUGE=no'
10544 fi
10545
10546 else
10547
10548 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10549
10550 fi
10551
10552
10553 eval "$wx_cv_use_gauge"
10554
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_GAUGE = yes; then
10557 result=no
10558 else
10559 result=yes
10560 fi
10561 else
10562 result=$wxUSE_GAUGE
10563 fi
10564
10565 { echo "$as_me:$LINENO: result: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10567
10568
10569 enablestring=
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10573 defaultval=yes
10574 else
10575 defaultval=no
10576 fi
10577 fi
10578
10579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10581 # Check whether --enable-grid was given.
10582 if test "${enable_grid+set}" = set; then
10583 enableval=$enable_grid;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_grid='wxUSE_GRID=yes'
10586 else
10587 wx_cv_use_grid='wxUSE_GRID=no'
10588 fi
10589
10590 else
10591
10592 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10593
10594 fi
10595
10596
10597 eval "$wx_cv_use_grid"
10598
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_GRID = yes; then
10601 result=no
10602 else
10603 result=yes
10604 fi
10605 else
10606 result=$wxUSE_GRID
10607 fi
10608
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10611
10612
10613 enablestring=
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10617 defaultval=yes
10618 else
10619 defaultval=no
10620 fi
10621 fi
10622
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10625 # Check whether --enable-dataviewctrl was given.
10626 if test "${enable_dataviewctrl+set}" = set; then
10627 enableval=$enable_dataviewctrl;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10630 else
10631 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10632 fi
10633
10634 else
10635
10636 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10637
10638 fi
10639
10640
10641 eval "$wx_cv_use_dataviewctrl"
10642
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_DATAVIEWCTRL = yes; then
10645 result=no
10646 else
10647 result=yes
10648 fi
10649 else
10650 result=$wxUSE_DATAVIEWCTRL
10651 fi
10652
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10655
10656
10657 enablestring=
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10661 defaultval=yes
10662 else
10663 defaultval=no
10664 fi
10665 fi
10666
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10669 # Check whether --enable-hyperlink was given.
10670 if test "${enable_hyperlink+set}" = set; then
10671 enableval=$enable_hyperlink;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10674 else
10675 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10676 fi
10677
10678 else
10679
10680 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10681
10682 fi
10683
10684
10685 eval "$wx_cv_use_hyperlink"
10686
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_HYPERLINKCTRL = yes; then
10689 result=no
10690 else
10691 result=yes
10692 fi
10693 else
10694 result=$wxUSE_HYPERLINKCTRL
10695 fi
10696
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10699
10700
10701 enablestring=
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10705 defaultval=yes
10706 else
10707 defaultval=no
10708 fi
10709 fi
10710
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10713 # Check whether --enable-imaglist was given.
10714 if test "${enable_imaglist+set}" = set; then
10715 enableval=$enable_imaglist;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10718 else
10719 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10720 fi
10721
10722 else
10723
10724 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10725
10726 fi
10727
10728
10729 eval "$wx_cv_use_imaglist"
10730
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_IMAGLIST = yes; then
10733 result=no
10734 else
10735 result=yes
10736 fi
10737 else
10738 result=$wxUSE_IMAGLIST
10739 fi
10740
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10743
10744
10745 enablestring=
10746 defaultval=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x"$enablestring" = xdisable; then
10749 defaultval=yes
10750 else
10751 defaultval=no
10752 fi
10753 fi
10754
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10757 # Check whether --enable-listbook was given.
10758 if test "${enable_listbook+set}" = set; then
10759 enableval=$enable_listbook;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10762 else
10763 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10764 fi
10765
10766 else
10767
10768 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10769
10770 fi
10771
10772
10773 eval "$wx_cv_use_listbook"
10774
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_LISTBOOK = yes; then
10777 result=no
10778 else
10779 result=yes
10780 fi
10781 else
10782 result=$wxUSE_LISTBOOK
10783 fi
10784
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10787
10788
10789 enablestring=
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10793 defaultval=yes
10794 else
10795 defaultval=no
10796 fi
10797 fi
10798
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10801 # Check whether --enable-listbox was given.
10802 if test "${enable_listbox+set}" = set; then
10803 enableval=$enable_listbox;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10806 else
10807 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10808 fi
10809
10810 else
10811
10812 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_listbox"
10818
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_LISTBOX = yes; then
10821 result=no
10822 else
10823 result=yes
10824 fi
10825 else
10826 result=$wxUSE_LISTBOX
10827 fi
10828
10829 { echo "$as_me:$LINENO: result: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10831
10832
10833 enablestring=
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10837 defaultval=yes
10838 else
10839 defaultval=no
10840 fi
10841 fi
10842
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10845 # Check whether --enable-listctrl was given.
10846 if test "${enable_listctrl+set}" = set; then
10847 enableval=$enable_listctrl;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10850 else
10851 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10852 fi
10853
10854 else
10855
10856 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10857
10858 fi
10859
10860
10861 eval "$wx_cv_use_listctrl"
10862
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_LISTCTRL = yes; then
10865 result=no
10866 else
10867 result=yes
10868 fi
10869 else
10870 result=$wxUSE_LISTCTRL
10871 fi
10872
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10875
10876
10877 enablestring=
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10889 # Check whether --enable-notebook was given.
10890 if test "${enable_notebook+set}" = set; then
10891 enableval=$enable_notebook;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10894 else
10895 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10896 fi
10897
10898 else
10899
10900 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10901
10902 fi
10903
10904
10905 eval "$wx_cv_use_notebook"
10906
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_NOTEBOOK = yes; then
10909 result=no
10910 else
10911 result=yes
10912 fi
10913 else
10914 result=$wxUSE_NOTEBOOK
10915 fi
10916
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10919
10920
10921 enablestring=
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10925 defaultval=yes
10926 else
10927 defaultval=no
10928 fi
10929 fi
10930
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10933 # Check whether --enable-notifmsg was given.
10934 if test "${enable_notifmsg+set}" = set; then
10935 enableval=$enable_notifmsg;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10938 else
10939 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10940 fi
10941
10942 else
10943
10944 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10945
10946 fi
10947
10948
10949 eval "$wx_cv_use_notifmsg"
10950
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10953 result=no
10954 else
10955 result=yes
10956 fi
10957 else
10958 result=$wxUSE_NOTIFICATION_MESSAGE
10959 fi
10960
10961 { echo "$as_me:$LINENO: result: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10963
10964
10965 enablestring=
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10969 defaultval=yes
10970 else
10971 defaultval=no
10972 fi
10973 fi
10974
10975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10976 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10977 # Check whether --enable-odcombobox was given.
10978 if test "${enable_odcombobox+set}" = set; then
10979 enableval=$enable_odcombobox;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10982 else
10983 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10984 fi
10985
10986 else
10987
10988 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10989
10990 fi
10991
10992
10993 eval "$wx_cv_use_odcombobox"
10994
10995 if test x"$enablestring" = xdisable; then
10996 if test $wxUSE_ODCOMBOBOX = yes; then
10997 result=no
10998 else
10999 result=yes
11000 fi
11001 else
11002 result=$wxUSE_ODCOMBOBOX
11003 fi
11004
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11007
11008
11009 enablestring=
11010 defaultval=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x"$enablestring" = xdisable; then
11013 defaultval=yes
11014 else
11015 defaultval=no
11016 fi
11017 fi
11018
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11021 # Check whether --enable-radiobox was given.
11022 if test "${enable_radiobox+set}" = set; then
11023 enableval=$enable_radiobox;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11026 else
11027 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11028 fi
11029
11030 else
11031
11032 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11033
11034 fi
11035
11036
11037 eval "$wx_cv_use_radiobox"
11038
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_RADIOBOX = yes; then
11041 result=no
11042 else
11043 result=yes
11044 fi
11045 else
11046 result=$wxUSE_RADIOBOX
11047 fi
11048
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11051
11052
11053 enablestring=
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11057 defaultval=yes
11058 else
11059 defaultval=no
11060 fi
11061 fi
11062
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11065 # Check whether --enable-radiobtn was given.
11066 if test "${enable_radiobtn+set}" = set; then
11067 enableval=$enable_radiobtn;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11070 else
11071 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11072 fi
11073
11074 else
11075
11076 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11077
11078 fi
11079
11080
11081 eval "$wx_cv_use_radiobtn"
11082
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_RADIOBTN = yes; then
11085 result=no
11086 else
11087 result=yes
11088 fi
11089 else
11090 result=$wxUSE_RADIOBTN
11091 fi
11092
11093 { echo "$as_me:$LINENO: result: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11095
11096
11097 enablestring=
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11101 defaultval=yes
11102 else
11103 defaultval=no
11104 fi
11105 fi
11106
11107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11108 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11109 # Check whether --enable-sash was given.
11110 if test "${enable_sash+set}" = set; then
11111 enableval=$enable_sash;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_sash='wxUSE_SASH=yes'
11114 else
11115 wx_cv_use_sash='wxUSE_SASH=no'
11116 fi
11117
11118 else
11119
11120 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11121
11122 fi
11123
11124
11125 eval "$wx_cv_use_sash"
11126
11127 if test x"$enablestring" = xdisable; then
11128 if test $wxUSE_SASH = yes; then
11129 result=no
11130 else
11131 result=yes
11132 fi
11133 else
11134 result=$wxUSE_SASH
11135 fi
11136
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11139
11140
11141 enablestring=
11142 defaultval=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x"$enablestring" = xdisable; then
11145 defaultval=yes
11146 else
11147 defaultval=no
11148 fi
11149 fi
11150
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11153 # Check whether --enable-scrollbar was given.
11154 if test "${enable_scrollbar+set}" = set; then
11155 enableval=$enable_scrollbar;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11158 else
11159 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11160 fi
11161
11162 else
11163
11164 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11165
11166 fi
11167
11168
11169 eval "$wx_cv_use_scrollbar"
11170
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_SCROLLBAR = yes; then
11173 result=no
11174 else
11175 result=yes
11176 fi
11177 else
11178 result=$wxUSE_SCROLLBAR
11179 fi
11180
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11183
11184
11185 enablestring=
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11189 defaultval=yes
11190 else
11191 defaultval=no
11192 fi
11193 fi
11194
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11197 # Check whether --enable-searchctrl was given.
11198 if test "${enable_searchctrl+set}" = set; then
11199 enableval=$enable_searchctrl;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11202 else
11203 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11204 fi
11205
11206 else
11207
11208 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_searchctrl"
11214
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_SEARCHCTRL = yes; then
11217 result=no
11218 else
11219 result=yes
11220 fi
11221 else
11222 result=$wxUSE_SEARCHCTRL
11223 fi
11224
11225 { echo "$as_me:$LINENO: result: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11227
11228
11229 enablestring=
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11233 defaultval=yes
11234 else
11235 defaultval=no
11236 fi
11237 fi
11238
11239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11241 # Check whether --enable-slider was given.
11242 if test "${enable_slider+set}" = set; then
11243 enableval=$enable_slider;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_slider='wxUSE_SLIDER=yes'
11246 else
11247 wx_cv_use_slider='wxUSE_SLIDER=no'
11248 fi
11249
11250 else
11251
11252 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11253
11254 fi
11255
11256
11257 eval "$wx_cv_use_slider"
11258
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_SLIDER = yes; then
11261 result=no
11262 else
11263 result=yes
11264 fi
11265 else
11266 result=$wxUSE_SLIDER
11267 fi
11268
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11271
11272
11273 enablestring=
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11277 defaultval=yes
11278 else
11279 defaultval=no
11280 fi
11281 fi
11282
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11285 # Check whether --enable-spinbtn was given.
11286 if test "${enable_spinbtn+set}" = set; then
11287 enableval=$enable_spinbtn;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11290 else
11291 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11292 fi
11293
11294 else
11295
11296 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11297
11298 fi
11299
11300
11301 eval "$wx_cv_use_spinbtn"
11302
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_SPINBTN = yes; then
11305 result=no
11306 else
11307 result=yes
11308 fi
11309 else
11310 result=$wxUSE_SPINBTN
11311 fi
11312
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11315
11316
11317 enablestring=
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11321 defaultval=yes
11322 else
11323 defaultval=no
11324 fi
11325 fi
11326
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11329 # Check whether --enable-spinctrl was given.
11330 if test "${enable_spinctrl+set}" = set; then
11331 enableval=$enable_spinctrl;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11334 else
11335 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11336 fi
11337
11338 else
11339
11340 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11341
11342 fi
11343
11344
11345 eval "$wx_cv_use_spinctrl"
11346
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_SPINCTRL = yes; then
11349 result=no
11350 else
11351 result=yes
11352 fi
11353 else
11354 result=$wxUSE_SPINCTRL
11355 fi
11356
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11359
11360
11361 enablestring=
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11365 defaultval=yes
11366 else
11367 defaultval=no
11368 fi
11369 fi
11370
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11373 # Check whether --enable-splitter was given.
11374 if test "${enable_splitter+set}" = set; then
11375 enableval=$enable_splitter;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11378 else
11379 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11380 fi
11381
11382 else
11383
11384 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11385
11386 fi
11387
11388
11389 eval "$wx_cv_use_splitter"
11390
11391 if test x"$enablestring" = xdisable; then
11392 if test $wxUSE_SPLITTER = yes; then
11393 result=no
11394 else
11395 result=yes
11396 fi
11397 else
11398 result=$wxUSE_SPLITTER
11399 fi
11400
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11403
11404
11405 enablestring=
11406 defaultval=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x"$enablestring" = xdisable; then
11409 defaultval=yes
11410 else
11411 defaultval=no
11412 fi
11413 fi
11414
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11417 # Check whether --enable-statbmp was given.
11418 if test "${enable_statbmp+set}" = set; then
11419 enableval=$enable_statbmp;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11422 else
11423 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11424 fi
11425
11426 else
11427
11428 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_statbmp"
11434
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_STATBMP = yes; then
11437 result=no
11438 else
11439 result=yes
11440 fi
11441 else
11442 result=$wxUSE_STATBMP
11443 fi
11444
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11447
11448
11449 enablestring=
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11453 defaultval=yes
11454 else
11455 defaultval=no
11456 fi
11457 fi
11458
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11461 # Check whether --enable-statbox was given.
11462 if test "${enable_statbox+set}" = set; then
11463 enableval=$enable_statbox;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11466 else
11467 wx_cv_use_statbox='wxUSE_STATBOX=no'
11468 fi
11469
11470 else
11471
11472 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11473
11474 fi
11475
11476
11477 eval "$wx_cv_use_statbox"
11478
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_STATBOX = yes; then
11481 result=no
11482 else
11483 result=yes
11484 fi
11485 else
11486 result=$wxUSE_STATBOX
11487 fi
11488
11489 { echo "$as_me:$LINENO: result: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11491
11492
11493 enablestring=
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11497 defaultval=yes
11498 else
11499 defaultval=no
11500 fi
11501 fi
11502
11503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11504 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11505 # Check whether --enable-statline was given.
11506 if test "${enable_statline+set}" = set; then
11507 enableval=$enable_statline;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_statline='wxUSE_STATLINE=yes'
11510 else
11511 wx_cv_use_statline='wxUSE_STATLINE=no'
11512 fi
11513
11514 else
11515
11516 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11517
11518 fi
11519
11520
11521 eval "$wx_cv_use_statline"
11522
11523 if test x"$enablestring" = xdisable; then
11524 if test $wxUSE_STATLINE = yes; then
11525 result=no
11526 else
11527 result=yes
11528 fi
11529 else
11530 result=$wxUSE_STATLINE
11531 fi
11532
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11535
11536
11537 enablestring=
11538 defaultval=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x"$enablestring" = xdisable; then
11541 defaultval=yes
11542 else
11543 defaultval=no
11544 fi
11545 fi
11546
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11549 # Check whether --enable-stattext was given.
11550 if test "${enable_stattext+set}" = set; then
11551 enableval=$enable_stattext;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11554 else
11555 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11556 fi
11557
11558 else
11559
11560 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11561
11562 fi
11563
11564
11565 eval "$wx_cv_use_stattext"
11566
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_STATTEXT = yes; then
11569 result=no
11570 else
11571 result=yes
11572 fi
11573 else
11574 result=$wxUSE_STATTEXT
11575 fi
11576
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11579
11580
11581 enablestring=
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11585 defaultval=yes
11586 else
11587 defaultval=no
11588 fi
11589 fi
11590
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11593 # Check whether --enable-statusbar was given.
11594 if test "${enable_statusbar+set}" = set; then
11595 enableval=$enable_statusbar;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11598 else
11599 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11600 fi
11601
11602 else
11603
11604 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11605
11606 fi
11607
11608
11609 eval "$wx_cv_use_statusbar"
11610
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_STATUSBAR = yes; then
11613 result=no
11614 else
11615 result=yes
11616 fi
11617 else
11618 result=$wxUSE_STATUSBAR
11619 fi
11620
11621 { echo "$as_me:$LINENO: result: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11623
11624
11625 enablestring=
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11629 defaultval=yes
11630 else
11631 defaultval=no
11632 fi
11633 fi
11634
11635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11636 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11637 # Check whether --enable-tabdialog was given.
11638 if test "${enable_tabdialog+set}" = set; then
11639 enableval=$enable_tabdialog;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11642 else
11643 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11644 fi
11645
11646 else
11647
11648 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11649
11650 fi
11651
11652
11653 eval "$wx_cv_use_tabdialog"
11654
11655 if test x"$enablestring" = xdisable; then
11656 if test $wxUSE_TAB_DIALOG = yes; then
11657 result=no
11658 else
11659 result=yes
11660 fi
11661 else
11662 result=$wxUSE_TAB_DIALOG
11663 fi
11664
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11667
11668
11669 enablestring=
11670 defaultval=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x"$enablestring" = xdisable; then
11673 defaultval=yes
11674 else
11675 defaultval=no
11676 fi
11677 fi
11678
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11681 # Check whether --enable-taskbaricon was given.
11682 if test "${enable_taskbaricon+set}" = set; then
11683 enableval=$enable_taskbaricon;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11686 else
11687 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11688 fi
11689
11690 else
11691
11692 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11693
11694 fi
11695
11696
11697 eval "$wx_cv_use_taskbaricon"
11698
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_TASKBARICON = yes; then
11701 result=no
11702 else
11703 result=yes
11704 fi
11705 else
11706 result=$wxUSE_TASKBARICON
11707 fi
11708
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11711
11712
11713 enablestring=
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11717 defaultval=yes
11718 else
11719 defaultval=no
11720 fi
11721 fi
11722
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11725 # Check whether --enable-textctrl was given.
11726 if test "${enable_textctrl+set}" = set; then
11727 enableval=$enable_textctrl;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11730 else
11731 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11732 fi
11733
11734 else
11735
11736 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11737
11738 fi
11739
11740
11741 eval "$wx_cv_use_textctrl"
11742
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_TEXTCTRL = yes; then
11745 result=no
11746 else
11747 result=yes
11748 fi
11749 else
11750 result=$wxUSE_TEXTCTRL
11751 fi
11752
11753 { echo "$as_me:$LINENO: result: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11755
11756
11757 enablestring=
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11761 defaultval=yes
11762 else
11763 defaultval=no
11764 fi
11765 fi
11766
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11769 # Check whether --enable-togglebtn was given.
11770 if test "${enable_togglebtn+set}" = set; then
11771 enableval=$enable_togglebtn;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11774 else
11775 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11776 fi
11777
11778 else
11779
11780 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11781
11782 fi
11783
11784
11785 eval "$wx_cv_use_togglebtn"
11786
11787 if test x"$enablestring" = xdisable; then
11788 if test $wxUSE_TOGGLEBTN = yes; then
11789 result=no
11790 else
11791 result=yes
11792 fi
11793 else
11794 result=$wxUSE_TOGGLEBTN
11795 fi
11796
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11799
11800
11801 enablestring=
11802 defaultval=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x"$enablestring" = xdisable; then
11805 defaultval=yes
11806 else
11807 defaultval=no
11808 fi
11809 fi
11810
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11813 # Check whether --enable-toolbar was given.
11814 if test "${enable_toolbar+set}" = set; then
11815 enableval=$enable_toolbar;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11818 else
11819 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11820 fi
11821
11822 else
11823
11824 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11825
11826 fi
11827
11828
11829 eval "$wx_cv_use_toolbar"
11830
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_TOOLBAR = yes; then
11833 result=no
11834 else
11835 result=yes
11836 fi
11837 else
11838 result=$wxUSE_TOOLBAR
11839 fi
11840
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11843
11844
11845 enablestring=
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11849 defaultval=yes
11850 else
11851 defaultval=no
11852 fi
11853 fi
11854
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11857 # Check whether --enable-tbarnative was given.
11858 if test "${enable_tbarnative+set}" = set; then
11859 enableval=$enable_tbarnative;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11862 else
11863 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11864 fi
11865
11866 else
11867
11868 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11869
11870 fi
11871
11872
11873 eval "$wx_cv_use_tbarnative"
11874
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11877 result=no
11878 else
11879 result=yes
11880 fi
11881 else
11882 result=$wxUSE_TOOLBAR_NATIVE
11883 fi
11884
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11887
11888
11889 enablestring=
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11893 defaultval=yes
11894 else
11895 defaultval=no
11896 fi
11897 fi
11898
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11901 # Check whether --enable-treebook was given.
11902 if test "${enable_treebook+set}" = set; then
11903 enableval=$enable_treebook;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11906 else
11907 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11908 fi
11909
11910 else
11911
11912 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11913
11914 fi
11915
11916
11917 eval "$wx_cv_use_treebook"
11918
11919 if test x"$enablestring" = xdisable; then
11920 if test $wxUSE_TREEBOOK = yes; then
11921 result=no
11922 else
11923 result=yes
11924 fi
11925 else
11926 result=$wxUSE_TREEBOOK
11927 fi
11928
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11931
11932
11933 enablestring=
11934 defaultval=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x"$enablestring" = xdisable; then
11937 defaultval=yes
11938 else
11939 defaultval=no
11940 fi
11941 fi
11942
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11945 # Check whether --enable-toolbook was given.
11946 if test "${enable_toolbook+set}" = set; then
11947 enableval=$enable_toolbook;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11950 else
11951 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11952 fi
11953
11954 else
11955
11956 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11957
11958 fi
11959
11960
11961 eval "$wx_cv_use_toolbook"
11962
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_TOOLBOOK = yes; then
11965 result=no
11966 else
11967 result=yes
11968 fi
11969 else
11970 result=$wxUSE_TOOLBOOK
11971 fi
11972
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11975
11976
11977 enablestring=
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11981 defaultval=yes
11982 else
11983 defaultval=no
11984 fi
11985 fi
11986
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11989 # Check whether --enable-treectrl was given.
11990 if test "${enable_treectrl+set}" = set; then
11991 enableval=$enable_treectrl;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11994 else
11995 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11996 fi
11997
11998 else
11999
12000 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12001
12002 fi
12003
12004
12005 eval "$wx_cv_use_treectrl"
12006
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_TREECTRL = yes; then
12009 result=no
12010 else
12011 result=yes
12012 fi
12013 else
12014 result=$wxUSE_TREECTRL
12015 fi
12016
12017 { echo "$as_me:$LINENO: result: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12019
12020
12021 enablestring=
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12025 defaultval=yes
12026 else
12027 defaultval=no
12028 fi
12029 fi
12030
12031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12032 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12033 # Check whether --enable-tipwindow was given.
12034 if test "${enable_tipwindow+set}" = set; then
12035 enableval=$enable_tipwindow;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12038 else
12039 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12040 fi
12041
12042 else
12043
12044 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12045
12046 fi
12047
12048
12049 eval "$wx_cv_use_tipwindow"
12050
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_TIPWINDOW = yes; then
12053 result=no
12054 else
12055 result=yes
12056 fi
12057 else
12058 result=$wxUSE_TIPWINDOW
12059 fi
12060
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12063
12064
12065 enablestring=
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12069 defaultval=yes
12070 else
12071 defaultval=no
12072 fi
12073 fi
12074
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12077 # Check whether --enable-popupwin was given.
12078 if test "${enable_popupwin+set}" = set; then
12079 enableval=$enable_popupwin;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12082 else
12083 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12084 fi
12085
12086 else
12087
12088 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12089
12090 fi
12091
12092
12093 eval "$wx_cv_use_popupwin"
12094
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_POPUPWIN = yes; then
12097 result=no
12098 else
12099 result=yes
12100 fi
12101 else
12102 result=$wxUSE_POPUPWIN
12103 fi
12104
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12107
12108
12109
12110
12111 enablestring=
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12115 defaultval=yes
12116 else
12117 defaultval=no
12118 fi
12119 fi
12120
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12123 # Check whether --enable-commondlg was given.
12124 if test "${enable_commondlg+set}" = set; then
12125 enableval=$enable_commondlg;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12128 else
12129 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12130 fi
12131
12132 else
12133
12134 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12135
12136 fi
12137
12138
12139 eval "$wx_cv_use_commondlg"
12140
12141 if test x"$enablestring" = xdisable; then
12142 if test $wxUSE_COMMONDLGS = yes; then
12143 result=no
12144 else
12145 result=yes
12146 fi
12147 else
12148 result=$wxUSE_COMMONDLGS
12149 fi
12150
12151 { echo "$as_me:$LINENO: result: $result" >&5
12152 echo "${ECHO_T}$result" >&6; }
12153
12154
12155 enablestring=
12156 defaultval=$wxUSE_ALL_FEATURES
12157 if test -z "$defaultval"; then
12158 if test x"$enablestring" = xdisable; then
12159 defaultval=yes
12160 else
12161 defaultval=no
12162 fi
12163 fi
12164
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12167 # Check whether --enable-aboutdlg was given.
12168 if test "${enable_aboutdlg+set}" = set; then
12169 enableval=$enable_aboutdlg;
12170 if test "$enableval" = yes; then
12171 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12172 else
12173 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12174 fi
12175
12176 else
12177
12178 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12179
12180 fi
12181
12182
12183 eval "$wx_cv_use_aboutdlg"
12184
12185 if test x"$enablestring" = xdisable; then
12186 if test $wxUSE_ABOUTDLG = yes; then
12187 result=no
12188 else
12189 result=yes
12190 fi
12191 else
12192 result=$wxUSE_ABOUTDLG
12193 fi
12194
12195 { echo "$as_me:$LINENO: result: $result" >&5
12196 echo "${ECHO_T}$result" >&6; }
12197
12198
12199 enablestring=
12200 defaultval=$wxUSE_ALL_FEATURES
12201 if test -z "$defaultval"; then
12202 if test x"$enablestring" = xdisable; then
12203 defaultval=yes
12204 else
12205 defaultval=no
12206 fi
12207 fi
12208
12209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12210 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12211 # Check whether --enable-choicedlg was given.
12212 if test "${enable_choicedlg+set}" = set; then
12213 enableval=$enable_choicedlg;
12214 if test "$enableval" = yes; then
12215 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12216 else
12217 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12218 fi
12219
12220 else
12221
12222 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12223
12224 fi
12225
12226
12227 eval "$wx_cv_use_choicedlg"
12228
12229 if test x"$enablestring" = xdisable; then
12230 if test $wxUSE_CHOICEDLG = yes; then
12231 result=no
12232 else
12233 result=yes
12234 fi
12235 else
12236 result=$wxUSE_CHOICEDLG
12237 fi
12238
12239 { echo "$as_me:$LINENO: result: $result" >&5
12240 echo "${ECHO_T}$result" >&6; }
12241
12242
12243 enablestring=
12244 defaultval=$wxUSE_ALL_FEATURES
12245 if test -z "$defaultval"; then
12246 if test x"$enablestring" = xdisable; then
12247 defaultval=yes
12248 else
12249 defaultval=no
12250 fi
12251 fi
12252
12253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12254 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12255 # Check whether --enable-coldlg was given.
12256 if test "${enable_coldlg+set}" = set; then
12257 enableval=$enable_coldlg;
12258 if test "$enableval" = yes; then
12259 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12260 else
12261 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12262 fi
12263
12264 else
12265
12266 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12267
12268 fi
12269
12270
12271 eval "$wx_cv_use_coldlg"
12272
12273 if test x"$enablestring" = xdisable; then
12274 if test $wxUSE_COLOURDLG = yes; then
12275 result=no
12276 else
12277 result=yes
12278 fi
12279 else
12280 result=$wxUSE_COLOURDLG
12281 fi
12282
12283 { echo "$as_me:$LINENO: result: $result" >&5
12284 echo "${ECHO_T}$result" >&6; }
12285
12286
12287 enablestring=
12288 defaultval=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x"$enablestring" = xdisable; then
12291 defaultval=yes
12292 else
12293 defaultval=no
12294 fi
12295 fi
12296
12297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12298 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12299 # Check whether --enable-filedlg was given.
12300 if test "${enable_filedlg+set}" = set; then
12301 enableval=$enable_filedlg;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12304 else
12305 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12306 fi
12307
12308 else
12309
12310 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12311
12312 fi
12313
12314
12315 eval "$wx_cv_use_filedlg"
12316
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_FILEDLG = yes; then
12319 result=no
12320 else
12321 result=yes
12322 fi
12323 else
12324 result=$wxUSE_FILEDLG
12325 fi
12326
12327 { echo "$as_me:$LINENO: result: $result" >&5
12328 echo "${ECHO_T}$result" >&6; }
12329
12330
12331 enablestring=
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12335 defaultval=yes
12336 else
12337 defaultval=no
12338 fi
12339 fi
12340
12341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12342 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12343 # Check whether --enable-finddlg was given.
12344 if test "${enable_finddlg+set}" = set; then
12345 enableval=$enable_finddlg;
12346 if test "$enableval" = yes; then
12347 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12348 else
12349 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12350 fi
12351
12352 else
12353
12354 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12355
12356 fi
12357
12358
12359 eval "$wx_cv_use_finddlg"
12360
12361 if test x"$enablestring" = xdisable; then
12362 if test $wxUSE_FINDREPLDLG = yes; then
12363 result=no
12364 else
12365 result=yes
12366 fi
12367 else
12368 result=$wxUSE_FINDREPLDLG
12369 fi
12370
12371 { echo "$as_me:$LINENO: result: $result" >&5
12372 echo "${ECHO_T}$result" >&6; }
12373
12374
12375 enablestring=
12376 defaultval=$wxUSE_ALL_FEATURES
12377 if test -z "$defaultval"; then
12378 if test x"$enablestring" = xdisable; then
12379 defaultval=yes
12380 else
12381 defaultval=no
12382 fi
12383 fi
12384
12385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12386 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12387 # Check whether --enable-fontdlg was given.
12388 if test "${enable_fontdlg+set}" = set; then
12389 enableval=$enable_fontdlg;
12390 if test "$enableval" = yes; then
12391 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12392 else
12393 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12394 fi
12395
12396 else
12397
12398 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12399
12400 fi
12401
12402
12403 eval "$wx_cv_use_fontdlg"
12404
12405 if test x"$enablestring" = xdisable; then
12406 if test $wxUSE_FONTDLG = yes; then
12407 result=no
12408 else
12409 result=yes
12410 fi
12411 else
12412 result=$wxUSE_FONTDLG
12413 fi
12414
12415 { echo "$as_me:$LINENO: result: $result" >&5
12416 echo "${ECHO_T}$result" >&6; }
12417
12418
12419 enablestring=
12420 defaultval=$wxUSE_ALL_FEATURES
12421 if test -z "$defaultval"; then
12422 if test x"$enablestring" = xdisable; then
12423 defaultval=yes
12424 else
12425 defaultval=no
12426 fi
12427 fi
12428
12429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12430 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12431 # Check whether --enable-dirdlg was given.
12432 if test "${enable_dirdlg+set}" = set; then
12433 enableval=$enable_dirdlg;
12434 if test "$enableval" = yes; then
12435 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12436 else
12437 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12438 fi
12439
12440 else
12441
12442 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12443
12444 fi
12445
12446
12447 eval "$wx_cv_use_dirdlg"
12448
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_DIRDLG = yes; then
12451 result=no
12452 else
12453 result=yes
12454 fi
12455 else
12456 result=$wxUSE_DIRDLG
12457 fi
12458
12459 { echo "$as_me:$LINENO: result: $result" >&5
12460 echo "${ECHO_T}$result" >&6; }
12461
12462
12463 enablestring=
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12467 defaultval=yes
12468 else
12469 defaultval=no
12470 fi
12471 fi
12472
12473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12475 # Check whether --enable-msgdlg was given.
12476 if test "${enable_msgdlg+set}" = set; then
12477 enableval=$enable_msgdlg;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12480 else
12481 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12482 fi
12483
12484 else
12485
12486 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12487
12488 fi
12489
12490
12491 eval "$wx_cv_use_msgdlg"
12492
12493 if test x"$enablestring" = xdisable; then
12494 if test $wxUSE_MSGDLG = yes; then
12495 result=no
12496 else
12497 result=yes
12498 fi
12499 else
12500 result=$wxUSE_MSGDLG
12501 fi
12502
12503 { echo "$as_me:$LINENO: result: $result" >&5
12504 echo "${ECHO_T}$result" >&6; }
12505
12506
12507 enablestring=
12508 defaultval=$wxUSE_ALL_FEATURES
12509 if test -z "$defaultval"; then
12510 if test x"$enablestring" = xdisable; then
12511 defaultval=yes
12512 else
12513 defaultval=no
12514 fi
12515 fi
12516
12517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12518 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12519 # Check whether --enable-numberdlg was given.
12520 if test "${enable_numberdlg+set}" = set; then
12521 enableval=$enable_numberdlg;
12522 if test "$enableval" = yes; then
12523 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12524 else
12525 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12526 fi
12527
12528 else
12529
12530 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12531
12532 fi
12533
12534
12535 eval "$wx_cv_use_numberdlg"
12536
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_NUMBERDLG = yes; then
12539 result=no
12540 else
12541 result=yes
12542 fi
12543 else
12544 result=$wxUSE_NUMBERDLG
12545 fi
12546
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12549
12550
12551 enablestring=
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12555 defaultval=yes
12556 else
12557 defaultval=no
12558 fi
12559 fi
12560
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12563 # Check whether --enable-splash was given.
12564 if test "${enable_splash+set}" = set; then
12565 enableval=$enable_splash;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_splash='wxUSE_SPLASH=yes'
12568 else
12569 wx_cv_use_splash='wxUSE_SPLASH=no'
12570 fi
12571
12572 else
12573
12574 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12575
12576 fi
12577
12578
12579 eval "$wx_cv_use_splash"
12580
12581 if test x"$enablestring" = xdisable; then
12582 if test $wxUSE_SPLASH = yes; then
12583 result=no
12584 else
12585 result=yes
12586 fi
12587 else
12588 result=$wxUSE_SPLASH
12589 fi
12590
12591 { echo "$as_me:$LINENO: result: $result" >&5
12592 echo "${ECHO_T}$result" >&6; }
12593
12594
12595 enablestring=
12596 defaultval=$wxUSE_ALL_FEATURES
12597 if test -z "$defaultval"; then
12598 if test x"$enablestring" = xdisable; then
12599 defaultval=yes
12600 else
12601 defaultval=no
12602 fi
12603 fi
12604
12605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12606 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12607 # Check whether --enable-textdlg was given.
12608 if test "${enable_textdlg+set}" = set; then
12609 enableval=$enable_textdlg;
12610 if test "$enableval" = yes; then
12611 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12612 else
12613 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12614 fi
12615
12616 else
12617
12618 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12619
12620 fi
12621
12622
12623 eval "$wx_cv_use_textdlg"
12624
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_TEXTDLG = yes; then
12627 result=no
12628 else
12629 result=yes
12630 fi
12631 else
12632 result=$wxUSE_TEXTDLG
12633 fi
12634
12635 { echo "$as_me:$LINENO: result: $result" >&5
12636 echo "${ECHO_T}$result" >&6; }
12637
12638
12639 enablestring=
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12643 defaultval=yes
12644 else
12645 defaultval=no
12646 fi
12647 fi
12648
12649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12650 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12651 # Check whether --enable-tipdlg was given.
12652 if test "${enable_tipdlg+set}" = set; then
12653 enableval=$enable_tipdlg;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12656 else
12657 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12658 fi
12659
12660 else
12661
12662 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12663
12664 fi
12665
12666
12667 eval "$wx_cv_use_tipdlg"
12668
12669 if test x"$enablestring" = xdisable; then
12670 if test $wxUSE_STARTUP_TIPS = yes; then
12671 result=no
12672 else
12673 result=yes
12674 fi
12675 else
12676 result=$wxUSE_STARTUP_TIPS
12677 fi
12678
12679 { echo "$as_me:$LINENO: result: $result" >&5
12680 echo "${ECHO_T}$result" >&6; }
12681
12682
12683 enablestring=
12684 defaultval=$wxUSE_ALL_FEATURES
12685 if test -z "$defaultval"; then
12686 if test x"$enablestring" = xdisable; then
12687 defaultval=yes
12688 else
12689 defaultval=no
12690 fi
12691 fi
12692
12693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12694 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12695 # Check whether --enable-progressdlg was given.
12696 if test "${enable_progressdlg+set}" = set; then
12697 enableval=$enable_progressdlg;
12698 if test "$enableval" = yes; then
12699 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12700 else
12701 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12702 fi
12703
12704 else
12705
12706 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12707
12708 fi
12709
12710
12711 eval "$wx_cv_use_progressdlg"
12712
12713 if test x"$enablestring" = xdisable; then
12714 if test $wxUSE_PROGRESSDLG = yes; then
12715 result=no
12716 else
12717 result=yes
12718 fi
12719 else
12720 result=$wxUSE_PROGRESSDLG
12721 fi
12722
12723 { echo "$as_me:$LINENO: result: $result" >&5
12724 echo "${ECHO_T}$result" >&6; }
12725
12726
12727 enablestring=
12728 defaultval=$wxUSE_ALL_FEATURES
12729 if test -z "$defaultval"; then
12730 if test x"$enablestring" = xdisable; then
12731 defaultval=yes
12732 else
12733 defaultval=no
12734 fi
12735 fi
12736
12737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12738 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12739 # Check whether --enable-wizarddlg was given.
12740 if test "${enable_wizarddlg+set}" = set; then
12741 enableval=$enable_wizarddlg;
12742 if test "$enableval" = yes; then
12743 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12744 else
12745 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12746 fi
12747
12748 else
12749
12750 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12751
12752 fi
12753
12754
12755 eval "$wx_cv_use_wizarddlg"
12756
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_WIZARDDLG = yes; then
12759 result=no
12760 else
12761 result=yes
12762 fi
12763 else
12764 result=$wxUSE_WIZARDDLG
12765 fi
12766
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12769
12770
12771
12772
12773 enablestring=
12774 defaultval=$wxUSE_ALL_FEATURES
12775 if test -z "$defaultval"; then
12776 if test x"$enablestring" = xdisable; then
12777 defaultval=yes
12778 else
12779 defaultval=no
12780 fi
12781 fi
12782
12783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12784 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12785 # Check whether --enable-menus was given.
12786 if test "${enable_menus+set}" = set; then
12787 enableval=$enable_menus;
12788 if test "$enableval" = yes; then
12789 wx_cv_use_menus='wxUSE_MENUS=yes'
12790 else
12791 wx_cv_use_menus='wxUSE_MENUS=no'
12792 fi
12793
12794 else
12795
12796 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12797
12798 fi
12799
12800
12801 eval "$wx_cv_use_menus"
12802
12803 if test x"$enablestring" = xdisable; then
12804 if test $wxUSE_MENUS = yes; then
12805 result=no
12806 else
12807 result=yes
12808 fi
12809 else
12810 result=$wxUSE_MENUS
12811 fi
12812
12813 { echo "$as_me:$LINENO: result: $result" >&5
12814 echo "${ECHO_T}$result" >&6; }
12815
12816
12817 enablestring=
12818 defaultval=$wxUSE_ALL_FEATURES
12819 if test -z "$defaultval"; then
12820 if test x"$enablestring" = xdisable; then
12821 defaultval=yes
12822 else
12823 defaultval=no
12824 fi
12825 fi
12826
12827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12828 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12829 # Check whether --enable-miniframe was given.
12830 if test "${enable_miniframe+set}" = set; then
12831 enableval=$enable_miniframe;
12832 if test "$enableval" = yes; then
12833 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12834 else
12835 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12836 fi
12837
12838 else
12839
12840 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12841
12842 fi
12843
12844
12845 eval "$wx_cv_use_miniframe"
12846
12847 if test x"$enablestring" = xdisable; then
12848 if test $wxUSE_MINIFRAME = yes; then
12849 result=no
12850 else
12851 result=yes
12852 fi
12853 else
12854 result=$wxUSE_MINIFRAME
12855 fi
12856
12857 { echo "$as_me:$LINENO: result: $result" >&5
12858 echo "${ECHO_T}$result" >&6; }
12859
12860
12861 enablestring=
12862 defaultval=$wxUSE_ALL_FEATURES
12863 if test -z "$defaultval"; then
12864 if test x"$enablestring" = xdisable; then
12865 defaultval=yes
12866 else
12867 defaultval=no
12868 fi
12869 fi
12870
12871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12872 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12873 # Check whether --enable-tooltips was given.
12874 if test "${enable_tooltips+set}" = set; then
12875 enableval=$enable_tooltips;
12876 if test "$enableval" = yes; then
12877 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12878 else
12879 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12880 fi
12881
12882 else
12883
12884 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12885
12886 fi
12887
12888
12889 eval "$wx_cv_use_tooltips"
12890
12891 if test x"$enablestring" = xdisable; then
12892 if test $wxUSE_TOOLTIPS = yes; then
12893 result=no
12894 else
12895 result=yes
12896 fi
12897 else
12898 result=$wxUSE_TOOLTIPS
12899 fi
12900
12901 { echo "$as_me:$LINENO: result: $result" >&5
12902 echo "${ECHO_T}$result" >&6; }
12903
12904
12905 enablestring=
12906 defaultval=$wxUSE_ALL_FEATURES
12907 if test -z "$defaultval"; then
12908 if test x"$enablestring" = xdisable; then
12909 defaultval=yes
12910 else
12911 defaultval=no
12912 fi
12913 fi
12914
12915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12916 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12917 # Check whether --enable-splines was given.
12918 if test "${enable_splines+set}" = set; then
12919 enableval=$enable_splines;
12920 if test "$enableval" = yes; then
12921 wx_cv_use_splines='wxUSE_SPLINES=yes'
12922 else
12923 wx_cv_use_splines='wxUSE_SPLINES=no'
12924 fi
12925
12926 else
12927
12928 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12929
12930 fi
12931
12932
12933 eval "$wx_cv_use_splines"
12934
12935 if test x"$enablestring" = xdisable; then
12936 if test $wxUSE_SPLINES = yes; then
12937 result=no
12938 else
12939 result=yes
12940 fi
12941 else
12942 result=$wxUSE_SPLINES
12943 fi
12944
12945 { echo "$as_me:$LINENO: result: $result" >&5
12946 echo "${ECHO_T}$result" >&6; }
12947
12948
12949 enablestring=
12950 defaultval=$wxUSE_ALL_FEATURES
12951 if test -z "$defaultval"; then
12952 if test x"$enablestring" = xdisable; then
12953 defaultval=yes
12954 else
12955 defaultval=no
12956 fi
12957 fi
12958
12959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12961 # Check whether --enable-mousewheel was given.
12962 if test "${enable_mousewheel+set}" = set; then
12963 enableval=$enable_mousewheel;
12964 if test "$enableval" = yes; then
12965 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12966 else
12967 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12968 fi
12969
12970 else
12971
12972 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12973
12974 fi
12975
12976
12977 eval "$wx_cv_use_mousewheel"
12978
12979 if test x"$enablestring" = xdisable; then
12980 if test $wxUSE_MOUSEWHEEL = yes; then
12981 result=no
12982 else
12983 result=yes
12984 fi
12985 else
12986 result=$wxUSE_MOUSEWHEEL
12987 fi
12988
12989 { echo "$as_me:$LINENO: result: $result" >&5
12990 echo "${ECHO_T}$result" >&6; }
12991
12992
12993 enablestring=
12994 defaultval=$wxUSE_ALL_FEATURES
12995 if test -z "$defaultval"; then
12996 if test x"$enablestring" = xdisable; then
12997 defaultval=yes
12998 else
12999 defaultval=no
13000 fi
13001 fi
13002
13003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13004 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13005 # Check whether --enable-validators was given.
13006 if test "${enable_validators+set}" = set; then
13007 enableval=$enable_validators;
13008 if test "$enableval" = yes; then
13009 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13010 else
13011 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13012 fi
13013
13014 else
13015
13016 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13017
13018 fi
13019
13020
13021 eval "$wx_cv_use_validators"
13022
13023 if test x"$enablestring" = xdisable; then
13024 if test $wxUSE_VALIDATORS = yes; then
13025 result=no
13026 else
13027 result=yes
13028 fi
13029 else
13030 result=$wxUSE_VALIDATORS
13031 fi
13032
13033 { echo "$as_me:$LINENO: result: $result" >&5
13034 echo "${ECHO_T}$result" >&6; }
13035
13036
13037 enablestring=
13038 defaultval=$wxUSE_ALL_FEATURES
13039 if test -z "$defaultval"; then
13040 if test x"$enablestring" = xdisable; then
13041 defaultval=yes
13042 else
13043 defaultval=no
13044 fi
13045 fi
13046
13047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13048 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13049 # Check whether --enable-busyinfo was given.
13050 if test "${enable_busyinfo+set}" = set; then
13051 enableval=$enable_busyinfo;
13052 if test "$enableval" = yes; then
13053 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13054 else
13055 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13056 fi
13057
13058 else
13059
13060 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13061
13062 fi
13063
13064
13065 eval "$wx_cv_use_busyinfo"
13066
13067 if test x"$enablestring" = xdisable; then
13068 if test $wxUSE_BUSYINFO = yes; then
13069 result=no
13070 else
13071 result=yes
13072 fi
13073 else
13074 result=$wxUSE_BUSYINFO
13075 fi
13076
13077 { echo "$as_me:$LINENO: result: $result" >&5
13078 echo "${ECHO_T}$result" >&6; }
13079
13080
13081 enablestring=
13082 defaultval=$wxUSE_ALL_FEATURES
13083 if test -z "$defaultval"; then
13084 if test x"$enablestring" = xdisable; then
13085 defaultval=yes
13086 else
13087 defaultval=no
13088 fi
13089 fi
13090
13091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13092 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13093 # Check whether --enable-joystick was given.
13094 if test "${enable_joystick+set}" = set; then
13095 enableval=$enable_joystick;
13096 if test "$enableval" = yes; then
13097 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13098 else
13099 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13100 fi
13101
13102 else
13103
13104 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13105
13106 fi
13107
13108
13109 eval "$wx_cv_use_joystick"
13110
13111 if test x"$enablestring" = xdisable; then
13112 if test $wxUSE_JOYSTICK = yes; then
13113 result=no
13114 else
13115 result=yes
13116 fi
13117 else
13118 result=$wxUSE_JOYSTICK
13119 fi
13120
13121 { echo "$as_me:$LINENO: result: $result" >&5
13122 echo "${ECHO_T}$result" >&6; }
13123
13124
13125 enablestring=
13126 defaultval=$wxUSE_ALL_FEATURES
13127 if test -z "$defaultval"; then
13128 if test x"$enablestring" = xdisable; then
13129 defaultval=yes
13130 else
13131 defaultval=no
13132 fi
13133 fi
13134
13135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13136 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13137 # Check whether --enable-metafile was given.
13138 if test "${enable_metafile+set}" = set; then
13139 enableval=$enable_metafile;
13140 if test "$enableval" = yes; then
13141 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13142 else
13143 wx_cv_use_metafile='wxUSE_METAFILE=no'
13144 fi
13145
13146 else
13147
13148 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13149
13150 fi
13151
13152
13153 eval "$wx_cv_use_metafile"
13154
13155 if test x"$enablestring" = xdisable; then
13156 if test $wxUSE_METAFILE = yes; then
13157 result=no
13158 else
13159 result=yes
13160 fi
13161 else
13162 result=$wxUSE_METAFILE
13163 fi
13164
13165 { echo "$as_me:$LINENO: result: $result" >&5
13166 echo "${ECHO_T}$result" >&6; }
13167
13168
13169 enablestring=
13170 defaultval=$wxUSE_ALL_FEATURES
13171 if test -z "$defaultval"; then
13172 if test x"$enablestring" = xdisable; then
13173 defaultval=yes
13174 else
13175 defaultval=no
13176 fi
13177 fi
13178
13179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13180 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13181 # Check whether --enable-dragimage was given.
13182 if test "${enable_dragimage+set}" = set; then
13183 enableval=$enable_dragimage;
13184 if test "$enableval" = yes; then
13185 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13186 else
13187 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13188 fi
13189
13190 else
13191
13192 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13193
13194 fi
13195
13196
13197 eval "$wx_cv_use_dragimage"
13198
13199 if test x"$enablestring" = xdisable; then
13200 if test $wxUSE_DRAGIMAGE = yes; then
13201 result=no
13202 else
13203 result=yes
13204 fi
13205 else
13206 result=$wxUSE_DRAGIMAGE
13207 fi
13208
13209 { echo "$as_me:$LINENO: result: $result" >&5
13210 echo "${ECHO_T}$result" >&6; }
13211
13212
13213 enablestring=
13214 defaultval=$wxUSE_ALL_FEATURES
13215 if test -z "$defaultval"; then
13216 if test x"$enablestring" = xdisable; then
13217 defaultval=yes
13218 else
13219 defaultval=no
13220 fi
13221 fi
13222
13223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13224 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13225 # Check whether --enable-accessibility was given.
13226 if test "${enable_accessibility+set}" = set; then
13227 enableval=$enable_accessibility;
13228 if test "$enableval" = yes; then
13229 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13230 else
13231 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13232 fi
13233
13234 else
13235
13236 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13237
13238 fi
13239
13240
13241 eval "$wx_cv_use_accessibility"
13242
13243 if test x"$enablestring" = xdisable; then
13244 if test $wxUSE_ACCESSIBILITY = yes; then
13245 result=no
13246 else
13247 result=yes
13248 fi
13249 else
13250 result=$wxUSE_ACCESSIBILITY
13251 fi
13252
13253 { echo "$as_me:$LINENO: result: $result" >&5
13254 echo "${ECHO_T}$result" >&6; }
13255
13256
13257
13258
13259 enablestring=
13260 defaultval=$wxUSE_ALL_FEATURES
13261 if test -z "$defaultval"; then
13262 if test x"$enablestring" = xdisable; then
13263 defaultval=yes
13264 else
13265 defaultval=no
13266 fi
13267 fi
13268
13269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13270 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13271 # Check whether --enable-palette was given.
13272 if test "${enable_palette+set}" = set; then
13273 enableval=$enable_palette;
13274 if test "$enableval" = yes; then
13275 wx_cv_use_palette='wxUSE_PALETTE=yes'
13276 else
13277 wx_cv_use_palette='wxUSE_PALETTE=no'
13278 fi
13279
13280 else
13281
13282 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13283
13284 fi
13285
13286
13287 eval "$wx_cv_use_palette"
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_PALETTE = yes; then
13291 result=no
13292 else
13293 result=yes
13294 fi
13295 else
13296 result=$wxUSE_PALETTE
13297 fi
13298
13299 { echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13315 # Check whether --enable-image was given.
13316 if test "${enable_image+set}" = set; then
13317 enableval=$enable_image;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_image='wxUSE_IMAGE=yes'
13320 else
13321 wx_cv_use_image='wxUSE_IMAGE=no'
13322 fi
13323
13324 else
13325
13326 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13327
13328 fi
13329
13330
13331 eval "$wx_cv_use_image"
13332
13333 if test x"$enablestring" = xdisable; then
13334 if test $wxUSE_IMAGE = yes; then
13335 result=no
13336 else
13337 result=yes
13338 fi
13339 else
13340 result=$wxUSE_IMAGE
13341 fi
13342
13343 { echo "$as_me:$LINENO: result: $result" >&5
13344 echo "${ECHO_T}$result" >&6; }
13345
13346
13347 enablestring=
13348 defaultval=$wxUSE_ALL_FEATURES
13349 if test -z "$defaultval"; then
13350 if test x"$enablestring" = xdisable; then
13351 defaultval=yes
13352 else
13353 defaultval=no
13354 fi
13355 fi
13356
13357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13358 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13359 # Check whether --enable-gif was given.
13360 if test "${enable_gif+set}" = set; then
13361 enableval=$enable_gif;
13362 if test "$enableval" = yes; then
13363 wx_cv_use_gif='wxUSE_GIF=yes'
13364 else
13365 wx_cv_use_gif='wxUSE_GIF=no'
13366 fi
13367
13368 else
13369
13370 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13371
13372 fi
13373
13374
13375 eval "$wx_cv_use_gif"
13376
13377 if test x"$enablestring" = xdisable; then
13378 if test $wxUSE_GIF = yes; then
13379 result=no
13380 else
13381 result=yes
13382 fi
13383 else
13384 result=$wxUSE_GIF
13385 fi
13386
13387 { echo "$as_me:$LINENO: result: $result" >&5
13388 echo "${ECHO_T}$result" >&6; }
13389
13390
13391 enablestring=
13392 defaultval=$wxUSE_ALL_FEATURES
13393 if test -z "$defaultval"; then
13394 if test x"$enablestring" = xdisable; then
13395 defaultval=yes
13396 else
13397 defaultval=no
13398 fi
13399 fi
13400
13401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13402 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13403 # Check whether --enable-pcx was given.
13404 if test "${enable_pcx+set}" = set; then
13405 enableval=$enable_pcx;
13406 if test "$enableval" = yes; then
13407 wx_cv_use_pcx='wxUSE_PCX=yes'
13408 else
13409 wx_cv_use_pcx='wxUSE_PCX=no'
13410 fi
13411
13412 else
13413
13414 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13415
13416 fi
13417
13418
13419 eval "$wx_cv_use_pcx"
13420
13421 if test x"$enablestring" = xdisable; then
13422 if test $wxUSE_PCX = yes; then
13423 result=no
13424 else
13425 result=yes
13426 fi
13427 else
13428 result=$wxUSE_PCX
13429 fi
13430
13431 { echo "$as_me:$LINENO: result: $result" >&5
13432 echo "${ECHO_T}$result" >&6; }
13433
13434
13435 enablestring=
13436 defaultval=$wxUSE_ALL_FEATURES
13437 if test -z "$defaultval"; then
13438 if test x"$enablestring" = xdisable; then
13439 defaultval=yes
13440 else
13441 defaultval=no
13442 fi
13443 fi
13444
13445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13446 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13447 # Check whether --enable-tga was given.
13448 if test "${enable_tga+set}" = set; then
13449 enableval=$enable_tga;
13450 if test "$enableval" = yes; then
13451 wx_cv_use_tga='wxUSE_TGA=yes'
13452 else
13453 wx_cv_use_tga='wxUSE_TGA=no'
13454 fi
13455
13456 else
13457
13458 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13459
13460 fi
13461
13462
13463 eval "$wx_cv_use_tga"
13464
13465 if test x"$enablestring" = xdisable; then
13466 if test $wxUSE_TGA = yes; then
13467 result=no
13468 else
13469 result=yes
13470 fi
13471 else
13472 result=$wxUSE_TGA
13473 fi
13474
13475 { echo "$as_me:$LINENO: result: $result" >&5
13476 echo "${ECHO_T}$result" >&6; }
13477
13478
13479 enablestring=
13480 defaultval=$wxUSE_ALL_FEATURES
13481 if test -z "$defaultval"; then
13482 if test x"$enablestring" = xdisable; then
13483 defaultval=yes
13484 else
13485 defaultval=no
13486 fi
13487 fi
13488
13489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13490 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13491 # Check whether --enable-iff was given.
13492 if test "${enable_iff+set}" = set; then
13493 enableval=$enable_iff;
13494 if test "$enableval" = yes; then
13495 wx_cv_use_iff='wxUSE_IFF=yes'
13496 else
13497 wx_cv_use_iff='wxUSE_IFF=no'
13498 fi
13499
13500 else
13501
13502 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13503
13504 fi
13505
13506
13507 eval "$wx_cv_use_iff"
13508
13509 if test x"$enablestring" = xdisable; then
13510 if test $wxUSE_IFF = yes; then
13511 result=no
13512 else
13513 result=yes
13514 fi
13515 else
13516 result=$wxUSE_IFF
13517 fi
13518
13519 { echo "$as_me:$LINENO: result: $result" >&5
13520 echo "${ECHO_T}$result" >&6; }
13521
13522
13523 enablestring=
13524 defaultval=$wxUSE_ALL_FEATURES
13525 if test -z "$defaultval"; then
13526 if test x"$enablestring" = xdisable; then
13527 defaultval=yes
13528 else
13529 defaultval=no
13530 fi
13531 fi
13532
13533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13534 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13535 # Check whether --enable-pnm was given.
13536 if test "${enable_pnm+set}" = set; then
13537 enableval=$enable_pnm;
13538 if test "$enableval" = yes; then
13539 wx_cv_use_pnm='wxUSE_PNM=yes'
13540 else
13541 wx_cv_use_pnm='wxUSE_PNM=no'
13542 fi
13543
13544 else
13545
13546 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13547
13548 fi
13549
13550
13551 eval "$wx_cv_use_pnm"
13552
13553 if test x"$enablestring" = xdisable; then
13554 if test $wxUSE_PNM = yes; then
13555 result=no
13556 else
13557 result=yes
13558 fi
13559 else
13560 result=$wxUSE_PNM
13561 fi
13562
13563 { echo "$as_me:$LINENO: result: $result" >&5
13564 echo "${ECHO_T}$result" >&6; }
13565
13566
13567 enablestring=
13568 defaultval=$wxUSE_ALL_FEATURES
13569 if test -z "$defaultval"; then
13570 if test x"$enablestring" = xdisable; then
13571 defaultval=yes
13572 else
13573 defaultval=no
13574 fi
13575 fi
13576
13577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13578 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13579 # Check whether --enable-xpm was given.
13580 if test "${enable_xpm+set}" = set; then
13581 enableval=$enable_xpm;
13582 if test "$enableval" = yes; then
13583 wx_cv_use_xpm='wxUSE_XPM=yes'
13584 else
13585 wx_cv_use_xpm='wxUSE_XPM=no'
13586 fi
13587
13588 else
13589
13590 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13591
13592 fi
13593
13594
13595 eval "$wx_cv_use_xpm"
13596
13597 if test x"$enablestring" = xdisable; then
13598 if test $wxUSE_XPM = yes; then
13599 result=no
13600 else
13601 result=yes
13602 fi
13603 else
13604 result=$wxUSE_XPM
13605 fi
13606
13607 { echo "$as_me:$LINENO: result: $result" >&5
13608 echo "${ECHO_T}$result" >&6; }
13609
13610
13611 enablestring=
13612 defaultval=$wxUSE_ALL_FEATURES
13613 if test -z "$defaultval"; then
13614 if test x"$enablestring" = xdisable; then
13615 defaultval=yes
13616 else
13617 defaultval=no
13618 fi
13619 fi
13620
13621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13622 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13623 # Check whether --enable-ico_cur was given.
13624 if test "${enable_ico_cur+set}" = set; then
13625 enableval=$enable_ico_cur;
13626 if test "$enableval" = yes; then
13627 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13628 else
13629 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13630 fi
13631
13632 else
13633
13634 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13635
13636 fi
13637
13638
13639 eval "$wx_cv_use_ico_cur"
13640
13641 if test x"$enablestring" = xdisable; then
13642 if test $wxUSE_ICO_CUR = yes; then
13643 result=no
13644 else
13645 result=yes
13646 fi
13647 else
13648 result=$wxUSE_ICO_CUR
13649 fi
13650
13651 { echo "$as_me:$LINENO: result: $result" >&5
13652 echo "${ECHO_T}$result" >&6; }
13653
13654
13655
13656
13657 enablestring=
13658 defaultval=$wxUSE_ALL_FEATURES
13659 if test -z "$defaultval"; then
13660 if test x"$enablestring" = xdisable; then
13661 defaultval=yes
13662 else
13663 defaultval=no
13664 fi
13665 fi
13666
13667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13668 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13669 # Check whether --enable-dccache was given.
13670 if test "${enable_dccache+set}" = set; then
13671 enableval=$enable_dccache;
13672 if test "$enableval" = yes; then
13673 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13674 else
13675 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13676 fi
13677
13678 else
13679
13680 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13681
13682 fi
13683
13684
13685 eval "$wx_cv_use_dccache"
13686
13687 if test x"$enablestring" = xdisable; then
13688 if test $wxUSE_DC_CACHEING = yes; then
13689 result=no
13690 else
13691 result=yes
13692 fi
13693 else
13694 result=$wxUSE_DC_CACHEING
13695 fi
13696
13697 { echo "$as_me:$LINENO: result: $result" >&5
13698 echo "${ECHO_T}$result" >&6; }
13699
13700
13701 enablestring=
13702 defaultval=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x"$enablestring" = xdisable; then
13705 defaultval=yes
13706 else
13707 defaultval=no
13708 fi
13709 fi
13710
13711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13712 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13713 # Check whether --enable-ps-in-msw was given.
13714 if test "${enable_ps_in_msw+set}" = set; then
13715 enableval=$enable_ps_in_msw;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13718 else
13719 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13720 fi
13721
13722 else
13723
13724 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13725
13726 fi
13727
13728
13729 eval "$wx_cv_use_ps_in_msw"
13730
13731 if test x"$enablestring" = xdisable; then
13732 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13733 result=no
13734 else
13735 result=yes
13736 fi
13737 else
13738 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13739 fi
13740
13741 { echo "$as_me:$LINENO: result: $result" >&5
13742 echo "${ECHO_T}$result" >&6; }
13743
13744
13745 enablestring=
13746 defaultval=$wxUSE_ALL_FEATURES
13747 if test -z "$defaultval"; then
13748 if test x"$enablestring" = xdisable; then
13749 defaultval=yes
13750 else
13751 defaultval=no
13752 fi
13753 fi
13754
13755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13756 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13757 # Check whether --enable-ownerdrawn was given.
13758 if test "${enable_ownerdrawn+set}" = set; then
13759 enableval=$enable_ownerdrawn;
13760 if test "$enableval" = yes; then
13761 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13762 else
13763 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13764 fi
13765
13766 else
13767
13768 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13769
13770 fi
13771
13772
13773 eval "$wx_cv_use_ownerdrawn"
13774
13775 if test x"$enablestring" = xdisable; then
13776 if test $wxUSE_OWNER_DRAWN = yes; then
13777 result=no
13778 else
13779 result=yes
13780 fi
13781 else
13782 result=$wxUSE_OWNER_DRAWN
13783 fi
13784
13785 { echo "$as_me:$LINENO: result: $result" >&5
13786 echo "${ECHO_T}$result" >&6; }
13787
13788
13789 enablestring=
13790 defaultval=$wxUSE_ALL_FEATURES
13791 if test -z "$defaultval"; then
13792 if test x"$enablestring" = xdisable; then
13793 defaultval=yes
13794 else
13795 defaultval=no
13796 fi
13797 fi
13798
13799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13800 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13801 # Check whether --enable-uxtheme was given.
13802 if test "${enable_uxtheme+set}" = set; then
13803 enableval=$enable_uxtheme;
13804 if test "$enableval" = yes; then
13805 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13806 else
13807 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13808 fi
13809
13810 else
13811
13812 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13813
13814 fi
13815
13816
13817 eval "$wx_cv_use_uxtheme"
13818
13819 if test x"$enablestring" = xdisable; then
13820 if test $wxUSE_UXTHEME = yes; then
13821 result=no
13822 else
13823 result=yes
13824 fi
13825 else
13826 result=$wxUSE_UXTHEME
13827 fi
13828
13829 { echo "$as_me:$LINENO: result: $result" >&5
13830 echo "${ECHO_T}$result" >&6; }
13831
13832
13833 enablestring=
13834 defaultval=$wxUSE_ALL_FEATURES
13835 if test -z "$defaultval"; then
13836 if test x"$enablestring" = xdisable; then
13837 defaultval=yes
13838 else
13839 defaultval=no
13840 fi
13841 fi
13842
13843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13844 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13845 # Check whether --enable-wxdib was given.
13846 if test "${enable_wxdib+set}" = set; then
13847 enableval=$enable_wxdib;
13848 if test "$enableval" = yes; then
13849 wx_cv_use_wxdib='wxUSE_DIB=yes'
13850 else
13851 wx_cv_use_wxdib='wxUSE_DIB=no'
13852 fi
13853
13854 else
13855
13856 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13857
13858 fi
13859
13860
13861 eval "$wx_cv_use_wxdib"
13862
13863 if test x"$enablestring" = xdisable; then
13864 if test $wxUSE_DIB = yes; then
13865 result=no
13866 else
13867 result=yes
13868 fi
13869 else
13870 result=$wxUSE_DIB
13871 fi
13872
13873 { echo "$as_me:$LINENO: result: $result" >&5
13874 echo "${ECHO_T}$result" >&6; }
13875
13876
13877 if test "$wxUSE_MSW" != 1; then
13878 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13879 fi
13880
13881
13882 enablestring=
13883 defaultval=$wxUSE_ALL_FEATURES
13884 if test -z "$defaultval"; then
13885 if test x"$enablestring" = xdisable; then
13886 defaultval=yes
13887 else
13888 defaultval=no
13889 fi
13890 fi
13891
13892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13893 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13894 # Check whether --enable-autoidman was given.
13895 if test "${enable_autoidman+set}" = set; then
13896 enableval=$enable_autoidman;
13897 if test "$enableval" = yes; then
13898 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13899 else
13900 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13901 fi
13902
13903 else
13904
13905 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13906
13907 fi
13908
13909
13910 eval "$wx_cv_use_autoidman"
13911
13912 if test x"$enablestring" = xdisable; then
13913 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13914 result=no
13915 else
13916 result=yes
13917 fi
13918 else
13919 result=$wxUSE_AUTOID_MANAGEMENT
13920 fi
13921
13922 { echo "$as_me:$LINENO: result: $result" >&5
13923 echo "${ECHO_T}$result" >&6; }
13924
13925
13926 fi
13927
13928
13929 cat >confcache <<\_ACEOF
13930 # This file is a shell script that caches the results of configure
13931 # tests run on this system so they can be shared between configure
13932 # scripts and configure runs, see configure's option --config-cache.
13933 # It is not useful on other systems. If it contains results you don't
13934 # want to keep, you may remove or edit it.
13935 #
13936 # config.status only pays attention to the cache file if you give it
13937 # the --recheck option to rerun configure.
13938 #
13939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13941 # following values.
13942
13943 _ACEOF
13944
13945 # The following way of writing the cache mishandles newlines in values,
13946 # but we know of no workaround that is simple, portable, and efficient.
13947 # So, we kill variables containing newlines.
13948 # Ultrix sh set writes to stderr and can't be redirected directly,
13949 # and sets the high bit in the cache file unless we assign to the vars.
13950 (
13951 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13952 eval ac_val=\$$ac_var
13953 case $ac_val in #(
13954 *${as_nl}*)
13955 case $ac_var in #(
13956 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13957 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13958 esac
13959 case $ac_var in #(
13960 _ | IFS | as_nl) ;; #(
13961 *) $as_unset $ac_var ;;
13962 esac ;;
13963 esac
13964 done
13965
13966 (set) 2>&1 |
13967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13968 *${as_nl}ac_space=\ *)
13969 # `set' does not quote correctly, so add quotes (double-quote
13970 # substitution turns \\\\ into \\, and sed turns \\ into \).
13971 sed -n \
13972 "s/'/'\\\\''/g;
13973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13974 ;; #(
13975 *)
13976 # `set' quotes correctly as required by POSIX, so do not add quotes.
13977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13978 ;;
13979 esac |
13980 sort
13981 ) |
13982 sed '
13983 /^ac_cv_env_/b end
13984 t clear
13985 :clear
13986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13987 t end
13988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13989 :end' >>confcache
13990 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13991 if test -w "$cache_file"; then
13992 test "x$cache_file" != "x/dev/null" &&
13993 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13994 echo "$as_me: updating cache $cache_file" >&6;}
13995 cat confcache >$cache_file
13996 else
13997 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13998 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13999 fi
14000 fi
14001 rm -f confcache
14002
14003 CFLAGS=${CFLAGS:=}
14004
14005
14006
14007 ac_ext=c
14008 ac_cpp='$CPP $CPPFLAGS'
14009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14012 if test -n "$ac_tool_prefix"; then
14013 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14014 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14017 if test "${ac_cv_prog_CC+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020 if test -n "$CC"; then
14021 ac_cv_prog_CC="$CC" # Let the user override the test.
14022 else
14023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14024 for as_dir in $PATH
14025 do
14026 IFS=$as_save_IFS
14027 test -z "$as_dir" && as_dir=.
14028 for ac_exec_ext in '' $ac_executable_extensions; do
14029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14030 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14032 break 2
14033 fi
14034 done
14035 done
14036 IFS=$as_save_IFS
14037
14038 fi
14039 fi
14040 CC=$ac_cv_prog_CC
14041 if test -n "$CC"; then
14042 { echo "$as_me:$LINENO: result: $CC" >&5
14043 echo "${ECHO_T}$CC" >&6; }
14044 else
14045 { echo "$as_me:$LINENO: result: no" >&5
14046 echo "${ECHO_T}no" >&6; }
14047 fi
14048
14049
14050 fi
14051 if test -z "$ac_cv_prog_CC"; then
14052 ac_ct_CC=$CC
14053 # Extract the first word of "gcc", so it can be a program name with args.
14054 set dummy gcc; ac_word=$2
14055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14057 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 else
14060 if test -n "$ac_ct_CC"; then
14061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14062 else
14063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14064 for as_dir in $PATH
14065 do
14066 IFS=$as_save_IFS
14067 test -z "$as_dir" && as_dir=.
14068 for ac_exec_ext in '' $ac_executable_extensions; do
14069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog_ac_ct_CC="gcc"
14071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14072 break 2
14073 fi
14074 done
14075 done
14076 IFS=$as_save_IFS
14077
14078 fi
14079 fi
14080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14081 if test -n "$ac_ct_CC"; then
14082 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14083 echo "${ECHO_T}$ac_ct_CC" >&6; }
14084 else
14085 { echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6; }
14087 fi
14088
14089 if test "x$ac_ct_CC" = x; then
14090 CC=""
14091 else
14092 case $cross_compiling:$ac_tool_warned in
14093 yes:)
14094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14095 whose name does not start with the host triplet. If you think this
14096 configuration is useful to you, please write to autoconf@gnu.org." >&5
14097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14098 whose name does not start with the host triplet. If you think this
14099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14100 ac_tool_warned=yes ;;
14101 esac
14102 CC=$ac_ct_CC
14103 fi
14104 else
14105 CC="$ac_cv_prog_CC"
14106 fi
14107
14108 if test -z "$CC"; then
14109 if test -n "$ac_tool_prefix"; then
14110 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14111 set dummy ${ac_tool_prefix}cc; ac_word=$2
14112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14114 if test "${ac_cv_prog_CC+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 else
14117 if test -n "$CC"; then
14118 ac_cv_prog_CC="$CC" # Let the user override the test.
14119 else
14120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14121 for as_dir in $PATH
14122 do
14123 IFS=$as_save_IFS
14124 test -z "$as_dir" && as_dir=.
14125 for ac_exec_ext in '' $ac_executable_extensions; do
14126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14127 ac_cv_prog_CC="${ac_tool_prefix}cc"
14128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14129 break 2
14130 fi
14131 done
14132 done
14133 IFS=$as_save_IFS
14134
14135 fi
14136 fi
14137 CC=$ac_cv_prog_CC
14138 if test -n "$CC"; then
14139 { echo "$as_me:$LINENO: result: $CC" >&5
14140 echo "${ECHO_T}$CC" >&6; }
14141 else
14142 { echo "$as_me:$LINENO: result: no" >&5
14143 echo "${ECHO_T}no" >&6; }
14144 fi
14145
14146
14147 fi
14148 fi
14149 if test -z "$CC"; then
14150 # Extract the first word of "cc", so it can be a program name with args.
14151 set dummy cc; ac_word=$2
14152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14154 if test "${ac_cv_prog_CC+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 else
14157 if test -n "$CC"; then
14158 ac_cv_prog_CC="$CC" # Let the user override the test.
14159 else
14160 ac_prog_rejected=no
14161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14162 for as_dir in $PATH
14163 do
14164 IFS=$as_save_IFS
14165 test -z "$as_dir" && as_dir=.
14166 for ac_exec_ext in '' $ac_executable_extensions; do
14167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14168 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14169 ac_prog_rejected=yes
14170 continue
14171 fi
14172 ac_cv_prog_CC="cc"
14173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14174 break 2
14175 fi
14176 done
14177 done
14178 IFS=$as_save_IFS
14179
14180 if test $ac_prog_rejected = yes; then
14181 # We found a bogon in the path, so make sure we never use it.
14182 set dummy $ac_cv_prog_CC
14183 shift
14184 if test $# != 0; then
14185 # We chose a different compiler from the bogus one.
14186 # However, it has the same basename, so the bogon will be chosen
14187 # first if we set CC to just the basename; use the full file name.
14188 shift
14189 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14190 fi
14191 fi
14192 fi
14193 fi
14194 CC=$ac_cv_prog_CC
14195 if test -n "$CC"; then
14196 { echo "$as_me:$LINENO: result: $CC" >&5
14197 echo "${ECHO_T}$CC" >&6; }
14198 else
14199 { echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6; }
14201 fi
14202
14203
14204 fi
14205 if test -z "$CC"; then
14206 if test -n "$ac_tool_prefix"; then
14207 for ac_prog in cl.exe
14208 do
14209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14213 if test "${ac_cv_prog_CC+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 else
14216 if test -n "$CC"; then
14217 ac_cv_prog_CC="$CC" # Let the user override the test.
14218 else
14219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14220 for as_dir in $PATH
14221 do
14222 IFS=$as_save_IFS
14223 test -z "$as_dir" && as_dir=.
14224 for ac_exec_ext in '' $ac_executable_extensions; do
14225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14226 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14228 break 2
14229 fi
14230 done
14231 done
14232 IFS=$as_save_IFS
14233
14234 fi
14235 fi
14236 CC=$ac_cv_prog_CC
14237 if test -n "$CC"; then
14238 { echo "$as_me:$LINENO: result: $CC" >&5
14239 echo "${ECHO_T}$CC" >&6; }
14240 else
14241 { echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6; }
14243 fi
14244
14245
14246 test -n "$CC" && break
14247 done
14248 fi
14249 if test -z "$CC"; then
14250 ac_ct_CC=$CC
14251 for ac_prog in cl.exe
14252 do
14253 # Extract the first word of "$ac_prog", so it can be a program name with args.
14254 set dummy $ac_prog; ac_word=$2
14255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14259 else
14260 if test -n "$ac_ct_CC"; then
14261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14262 else
14263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14264 for as_dir in $PATH
14265 do
14266 IFS=$as_save_IFS
14267 test -z "$as_dir" && as_dir=.
14268 for ac_exec_ext in '' $ac_executable_extensions; do
14269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14270 ac_cv_prog_ac_ct_CC="$ac_prog"
14271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14272 break 2
14273 fi
14274 done
14275 done
14276 IFS=$as_save_IFS
14277
14278 fi
14279 fi
14280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14281 if test -n "$ac_ct_CC"; then
14282 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14283 echo "${ECHO_T}$ac_ct_CC" >&6; }
14284 else
14285 { echo "$as_me:$LINENO: result: no" >&5
14286 echo "${ECHO_T}no" >&6; }
14287 fi
14288
14289
14290 test -n "$ac_ct_CC" && break
14291 done
14292
14293 if test "x$ac_ct_CC" = x; then
14294 CC=""
14295 else
14296 case $cross_compiling:$ac_tool_warned in
14297 yes:)
14298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14299 whose name does not start with the host triplet. If you think this
14300 configuration is useful to you, please write to autoconf@gnu.org." >&5
14301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14302 whose name does not start with the host triplet. If you think this
14303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14304 ac_tool_warned=yes ;;
14305 esac
14306 CC=$ac_ct_CC
14307 fi
14308 fi
14309
14310 fi
14311
14312
14313 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14314 See \`config.log' for more details." >&5
14315 echo "$as_me: error: no acceptable C compiler found in \$PATH
14316 See \`config.log' for more details." >&2;}
14317 { (exit 1); exit 1; }; }
14318
14319 # Provide some information about the compiler.
14320 echo "$as_me:$LINENO: checking for C compiler version" >&5
14321 ac_compiler=`set X $ac_compile; echo $2`
14322 { (ac_try="$ac_compiler --version >&5"
14323 case "(($ac_try" in
14324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14325 *) ac_try_echo=$ac_try;;
14326 esac
14327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14328 (eval "$ac_compiler --version >&5") 2>&5
14329 ac_status=$?
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }
14332 { (ac_try="$ac_compiler -v >&5"
14333 case "(($ac_try" in
14334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14335 *) ac_try_echo=$ac_try;;
14336 esac
14337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14338 (eval "$ac_compiler -v >&5") 2>&5
14339 ac_status=$?
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }
14342 { (ac_try="$ac_compiler -V >&5"
14343 case "(($ac_try" in
14344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14345 *) ac_try_echo=$ac_try;;
14346 esac
14347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14348 (eval "$ac_compiler -V >&5") 2>&5
14349 ac_status=$?
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }
14352
14353 cat >conftest.$ac_ext <<_ACEOF
14354 /* confdefs.h. */
14355 _ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14359
14360 int
14361 main ()
14362 {
14363
14364 ;
14365 return 0;
14366 }
14367 _ACEOF
14368 ac_clean_files_save=$ac_clean_files
14369 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14370 # Try to create an executable without -o first, disregard a.out.
14371 # It will help us diagnose broken compilers, and finding out an intuition
14372 # of exeext.
14373 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14374 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14375 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14376 #
14377 # List of possible output files, starting from the most likely.
14378 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14379 # only as a last resort. b.out is created by i960 compilers.
14380 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14381 #
14382 # The IRIX 6 linker writes into existing files which may not be
14383 # executable, retaining their permissions. Remove them first so a
14384 # subsequent execution test works.
14385 ac_rmfiles=
14386 for ac_file in $ac_files
14387 do
14388 case $ac_file in
14389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14390 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14391 esac
14392 done
14393 rm -f $ac_rmfiles
14394
14395 if { (ac_try="$ac_link_default"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14399 esac
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_link_default") 2>&5
14402 ac_status=$?
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }; then
14405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14408 # so that the user can short-circuit this test for compilers unknown to
14409 # Autoconf.
14410 for ac_file in $ac_files ''
14411 do
14412 test -f "$ac_file" || continue
14413 case $ac_file in
14414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14415 ;;
14416 [ab].out )
14417 # We found the default executable, but exeext='' is most
14418 # certainly right.
14419 break;;
14420 *.* )
14421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14422 then :; else
14423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14424 fi
14425 # We set ac_cv_exeext here because the later test for it is not
14426 # safe: cross compilers may not add the suffix if given an `-o'
14427 # argument, so we may need to know it at that point already.
14428 # Even if this section looks crufty: it has the advantage of
14429 # actually working.
14430 break;;
14431 * )
14432 break;;
14433 esac
14434 done
14435 test "$ac_cv_exeext" = no && ac_cv_exeext=
14436
14437 else
14438 ac_file=''
14439 fi
14440
14441 { echo "$as_me:$LINENO: result: $ac_file" >&5
14442 echo "${ECHO_T}$ac_file" >&6; }
14443 if test -z "$ac_file"; then
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14446
14447 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14448 See \`config.log' for more details." >&5
14449 echo "$as_me: error: C compiler cannot create executables
14450 See \`config.log' for more details." >&2;}
14451 { (exit 77); exit 77; }; }
14452 fi
14453
14454 ac_exeext=$ac_cv_exeext
14455
14456 # Check that the compiler produces executables we can run. If not, either
14457 # the compiler is broken, or we cross compile.
14458 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14459 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14460 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14461 # If not cross compiling, check that we can run a simple program.
14462 if test "$cross_compiling" != yes; then
14463 if { ac_try='./$ac_file'
14464 { (case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_try") 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14473 cross_compiling=no
14474 else
14475 if test "$cross_compiling" = maybe; then
14476 cross_compiling=yes
14477 else
14478 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14479 If you meant to cross compile, use \`--host'.
14480 See \`config.log' for more details." >&5
14481 echo "$as_me: error: cannot run C compiled programs.
14482 If you meant to cross compile, use \`--host'.
14483 See \`config.log' for more details." >&2;}
14484 { (exit 1); exit 1; }; }
14485 fi
14486 fi
14487 fi
14488 { echo "$as_me:$LINENO: result: yes" >&5
14489 echo "${ECHO_T}yes" >&6; }
14490
14491 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14492 ac_clean_files=$ac_clean_files_save
14493 # Check that the compiler produces executables we can run. If not, either
14494 # the compiler is broken, or we cross compile.
14495 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14496 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14497 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14498 echo "${ECHO_T}$cross_compiling" >&6; }
14499
14500 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14501 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14502 if { (ac_try="$ac_link"
14503 case "(($ac_try" in
14504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14505 *) ac_try_echo=$ac_try;;
14506 esac
14507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14508 (eval "$ac_link") 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; then
14512 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14513 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14514 # work properly (i.e., refer to `conftest.exe'), while it won't with
14515 # `rm'.
14516 for ac_file in conftest.exe conftest conftest.*; do
14517 test -f "$ac_file" || continue
14518 case $ac_file in
14519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14520 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14521 break;;
14522 * ) break;;
14523 esac
14524 done
14525 else
14526 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14527 See \`config.log' for more details." >&5
14528 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14529 See \`config.log' for more details." >&2;}
14530 { (exit 1); exit 1; }; }
14531 fi
14532
14533 rm -f conftest$ac_cv_exeext
14534 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14535 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14536
14537 rm -f conftest.$ac_ext
14538 EXEEXT=$ac_cv_exeext
14539 ac_exeext=$EXEEXT
14540 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14541 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14542 if test "${ac_cv_objext+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 else
14545 cat >conftest.$ac_ext <<_ACEOF
14546 /* confdefs.h. */
14547 _ACEOF
14548 cat confdefs.h >>conftest.$ac_ext
14549 cat >>conftest.$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14551
14552 int
14553 main ()
14554 {
14555
14556 ;
14557 return 0;
14558 }
14559 _ACEOF
14560 rm -f conftest.o conftest.obj
14561 if { (ac_try="$ac_compile"
14562 case "(($ac_try" in
14563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14565 esac
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_compile") 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; then
14571 for ac_file in conftest.o conftest.obj conftest.*; do
14572 test -f "$ac_file" || continue;
14573 case $ac_file in
14574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14575 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14576 break;;
14577 esac
14578 done
14579 else
14580 echo "$as_me: failed program was:" >&5
14581 sed 's/^/| /' conftest.$ac_ext >&5
14582
14583 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14584 See \`config.log' for more details." >&5
14585 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14586 See \`config.log' for more details." >&2;}
14587 { (exit 1); exit 1; }; }
14588 fi
14589
14590 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14591 fi
14592 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14593 echo "${ECHO_T}$ac_cv_objext" >&6; }
14594 OBJEXT=$ac_cv_objext
14595 ac_objext=$OBJEXT
14596 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14597 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14598 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14600 else
14601 cat >conftest.$ac_ext <<_ACEOF
14602 /* confdefs.h. */
14603 _ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14607
14608 int
14609 main ()
14610 {
14611 #ifndef __GNUC__
14612 choke me
14613 #endif
14614
14615 ;
14616 return 0;
14617 }
14618 _ACEOF
14619 rm -f conftest.$ac_objext
14620 if { (ac_try="$ac_compile"
14621 case "(($ac_try" in
14622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 *) ac_try_echo=$ac_try;;
14624 esac
14625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14626 (eval "$ac_compile") 2>conftest.er1
14627 ac_status=$?
14628 grep -v '^ *+' conftest.er1 >conftest.err
14629 rm -f conftest.er1
14630 cat conftest.err >&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } && {
14633 test -z "$ac_c_werror_flag" ||
14634 test ! -s conftest.err
14635 } && test -s conftest.$ac_objext; then
14636 ac_compiler_gnu=yes
14637 else
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14640
14641 ac_compiler_gnu=no
14642 fi
14643
14644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14645 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14646
14647 fi
14648 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14649 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14650 GCC=`test $ac_compiler_gnu = yes && echo yes`
14651 ac_test_CFLAGS=${CFLAGS+set}
14652 ac_save_CFLAGS=$CFLAGS
14653 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14654 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14655 if test "${ac_cv_prog_cc_g+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 else
14658 ac_save_c_werror_flag=$ac_c_werror_flag
14659 ac_c_werror_flag=yes
14660 ac_cv_prog_cc_g=no
14661 CFLAGS="-g"
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668
14669 int
14670 main ()
14671 {
14672
14673 ;
14674 return 0;
14675 }
14676 _ACEOF
14677 rm -f conftest.$ac_objext
14678 if { (ac_try="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14682 esac
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14685 ac_status=$?
14686 grep -v '^ *+' conftest.er1 >conftest.err
14687 rm -f conftest.er1
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_prog_cc_g=yes
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14698
14699 CFLAGS=""
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706
14707 int
14708 main ()
14709 {
14710
14711 ;
14712 return 0;
14713 }
14714 _ACEOF
14715 rm -f conftest.$ac_objext
14716 if { (ac_try="$ac_compile"
14717 case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14720 esac
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_compile") 2>conftest.er1
14723 ac_status=$?
14724 grep -v '^ *+' conftest.er1 >conftest.err
14725 rm -f conftest.er1
14726 cat conftest.err >&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } && {
14729 test -z "$ac_c_werror_flag" ||
14730 test ! -s conftest.err
14731 } && test -s conftest.$ac_objext; then
14732 :
14733 else
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14736
14737 ac_c_werror_flag=$ac_save_c_werror_flag
14738 CFLAGS="-g"
14739 cat >conftest.$ac_ext <<_ACEOF
14740 /* confdefs.h. */
14741 _ACEOF
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14745
14746 int
14747 main ()
14748 {
14749
14750 ;
14751 return 0;
14752 }
14753 _ACEOF
14754 rm -f conftest.$ac_objext
14755 if { (ac_try="$ac_compile"
14756 case "(($ac_try" in
14757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14758 *) ac_try_echo=$ac_try;;
14759 esac
14760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14761 (eval "$ac_compile") 2>conftest.er1
14762 ac_status=$?
14763 grep -v '^ *+' conftest.er1 >conftest.err
14764 rm -f conftest.er1
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } && {
14768 test -z "$ac_c_werror_flag" ||
14769 test ! -s conftest.err
14770 } && test -s conftest.$ac_objext; then
14771 ac_cv_prog_cc_g=yes
14772 else
14773 echo "$as_me: failed program was:" >&5
14774 sed 's/^/| /' conftest.$ac_ext >&5
14775
14776
14777 fi
14778
14779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 fi
14781
14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14783 fi
14784
14785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14786 ac_c_werror_flag=$ac_save_c_werror_flag
14787 fi
14788 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14789 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14790 if test "$ac_test_CFLAGS" = set; then
14791 CFLAGS=$ac_save_CFLAGS
14792 elif test $ac_cv_prog_cc_g = yes; then
14793 if test "$GCC" = yes; then
14794 CFLAGS="-g -O2"
14795 else
14796 CFLAGS="-g"
14797 fi
14798 else
14799 if test "$GCC" = yes; then
14800 CFLAGS="-O2"
14801 else
14802 CFLAGS=
14803 fi
14804 fi
14805 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14806 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14807 if test "${ac_cv_prog_cc_c89+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 else
14810 ac_cv_prog_cc_c89=no
14811 ac_save_CC=$CC
14812 cat >conftest.$ac_ext <<_ACEOF
14813 /* confdefs.h. */
14814 _ACEOF
14815 cat confdefs.h >>conftest.$ac_ext
14816 cat >>conftest.$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14818 #include <stdarg.h>
14819 #include <stdio.h>
14820 #include <sys/types.h>
14821 #include <sys/stat.h>
14822 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14823 struct buf { int x; };
14824 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14825 static char *e (p, i)
14826 char **p;
14827 int i;
14828 {
14829 return p[i];
14830 }
14831 static char *f (char * (*g) (char **, int), char **p, ...)
14832 {
14833 char *s;
14834 va_list v;
14835 va_start (v,p);
14836 s = g (p, va_arg (v,int));
14837 va_end (v);
14838 return s;
14839 }
14840
14841 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14842 function prototypes and stuff, but not '\xHH' hex character constants.
14843 These don't provoke an error unfortunately, instead are silently treated
14844 as 'x'. The following induces an error, until -std is added to get
14845 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14846 array size at least. It's necessary to write '\x00'==0 to get something
14847 that's true only with -std. */
14848 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14849
14850 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14851 inside strings and character constants. */
14852 #define FOO(x) 'x'
14853 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14854
14855 int test (int i, double x);
14856 struct s1 {int (*f) (int a);};
14857 struct s2 {int (*f) (double a);};
14858 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14859 int argc;
14860 char **argv;
14861 int
14862 main ()
14863 {
14864 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14865 ;
14866 return 0;
14867 }
14868 _ACEOF
14869 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14870 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14871 do
14872 CC="$ac_save_CC $ac_arg"
14873 rm -f conftest.$ac_objext
14874 if { (ac_try="$ac_compile"
14875 case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14877 *) ac_try_echo=$ac_try;;
14878 esac
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_compile") 2>conftest.er1
14881 ac_status=$?
14882 grep -v '^ *+' conftest.er1 >conftest.err
14883 rm -f conftest.er1
14884 cat conftest.err >&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } && {
14887 test -z "$ac_c_werror_flag" ||
14888 test ! -s conftest.err
14889 } && test -s conftest.$ac_objext; then
14890 ac_cv_prog_cc_c89=$ac_arg
14891 else
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14894
14895
14896 fi
14897
14898 rm -f core conftest.err conftest.$ac_objext
14899 test "x$ac_cv_prog_cc_c89" != "xno" && break
14900 done
14901 rm -f conftest.$ac_ext
14902 CC=$ac_save_CC
14903
14904 fi
14905 # AC_CACHE_VAL
14906 case "x$ac_cv_prog_cc_c89" in
14907 x)
14908 { echo "$as_me:$LINENO: result: none needed" >&5
14909 echo "${ECHO_T}none needed" >&6; } ;;
14910 xno)
14911 { echo "$as_me:$LINENO: result: unsupported" >&5
14912 echo "${ECHO_T}unsupported" >&6; } ;;
14913 *)
14914 CC="$CC $ac_cv_prog_cc_c89"
14915 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14916 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14917 esac
14918
14919
14920 ac_ext=c
14921 ac_cpp='$CPP $CPPFLAGS'
14922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14925
14926
14927
14928
14929 ac_ext=c
14930 ac_cpp='$CPP $CPPFLAGS'
14931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14934
14935 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14936 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14937 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else
14940 cat >conftest.$ac_ext <<_ACEOF
14941 /* confdefs.h. */
14942 _ACEOF
14943 cat confdefs.h >>conftest.$ac_ext
14944 cat >>conftest.$ac_ext <<_ACEOF
14945 /* end confdefs.h. */
14946
14947 int
14948 main ()
14949 {
14950
14951 #ifndef __INTEL_COMPILER
14952 choke me
14953 #endif
14954
14955 ;
14956 return 0;
14957 }
14958 _ACEOF
14959 rm -f conftest.$ac_objext
14960 if { (ac_try="$ac_compile"
14961 case "(($ac_try" in
14962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14964 esac
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_compile") 2>conftest.er1
14967 ac_status=$?
14968 grep -v '^ *+' conftest.er1 >conftest.err
14969 rm -f conftest.er1
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } && {
14973 test -z "$ac_c_werror_flag" ||
14974 test ! -s conftest.err
14975 } && test -s conftest.$ac_objext; then
14976 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14977 else
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.$ac_ext >&5
14980
14981 bakefile_cv_c_compiler___INTEL_COMPILER=no
14982
14983 fi
14984
14985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14986
14987
14988 fi
14989 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14990 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14991 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14992 :; INTELCC=yes
14993 else
14994 :;
14995 fi
14996 ac_ext=c
14997 ac_cpp='$CPP $CPPFLAGS'
14998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15001
15002
15003
15004
15005 if test "x$GCC" != "xyes"; then
15006 if test "xCC" = "xC"; then
15007 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15008 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15009 if test "${bakefile_cv_c_exto+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15011 else
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018
15019 int
15020 main ()
15021 {
15022
15023 ;
15024 return 0;
15025 }
15026 _ACEOF
15027 rm -f conftest.$ac_objext conftest.$ac_ext.o
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029 (eval $ac_compile) 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; then
15033 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15034 case $ac_file in
15035 conftest.$ac_ext.o)
15036 bakefile_cv_c_exto="-ext o"
15037 ;;
15038 *)
15039 ;;
15040 esac
15041 done
15042 else
15043 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15044 See \`config.log' for more details." >&5
15045 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15046 See \`config.log' for more details." >&2;}
15047 { (exit 1); exit 1; }; }
15048
15049 fi
15050
15051 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15052
15053 fi
15054 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15055 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15056 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15057 if test "c" = "c"; then
15058 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15059 fi
15060 if test "c" = "cxx"; then
15061 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15062 fi
15063 fi
15064
15065 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15066 unset ac_cv_prog_cc_g
15067 ac_test_CFLAGS=${CFLAGS+set}
15068 ac_save_CFLAGS=$CFLAGS
15069 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15070 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15071 if test "${ac_cv_prog_cc_g+set}" = set; then
15072 echo $ECHO_N "(cached) $ECHO_C" >&6
15073 else
15074 ac_save_c_werror_flag=$ac_c_werror_flag
15075 ac_c_werror_flag=yes
15076 ac_cv_prog_cc_g=no
15077 CFLAGS="-g"
15078 cat >conftest.$ac_ext <<_ACEOF
15079 /* confdefs.h. */
15080 _ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084
15085 int
15086 main ()
15087 {
15088
15089 ;
15090 return 0;
15091 }
15092 _ACEOF
15093 rm -f conftest.$ac_objext
15094 if { (ac_try="$ac_compile"
15095 case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15098 esac
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_compile") 2>conftest.er1
15101 ac_status=$?
15102 grep -v '^ *+' conftest.er1 >conftest.err
15103 rm -f conftest.er1
15104 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && {
15107 test -z "$ac_c_werror_flag" ||
15108 test ! -s conftest.err
15109 } && test -s conftest.$ac_objext; then
15110 ac_cv_prog_cc_g=yes
15111 else
15112 echo "$as_me: failed program was:" >&5
15113 sed 's/^/| /' conftest.$ac_ext >&5
15114
15115 CFLAGS=""
15116 cat >conftest.$ac_ext <<_ACEOF
15117 /* confdefs.h. */
15118 _ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15122
15123 int
15124 main ()
15125 {
15126
15127 ;
15128 return 0;
15129 }
15130 _ACEOF
15131 rm -f conftest.$ac_objext
15132 if { (ac_try="$ac_compile"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15136 esac
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compile") 2>conftest.er1
15139 ac_status=$?
15140 grep -v '^ *+' conftest.er1 >conftest.err
15141 rm -f conftest.er1
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } && {
15145 test -z "$ac_c_werror_flag" ||
15146 test ! -s conftest.err
15147 } && test -s conftest.$ac_objext; then
15148 :
15149 else
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15152
15153 ac_c_werror_flag=$ac_save_c_werror_flag
15154 CFLAGS="-g"
15155 cat >conftest.$ac_ext <<_ACEOF
15156 /* confdefs.h. */
15157 _ACEOF
15158 cat confdefs.h >>conftest.$ac_ext
15159 cat >>conftest.$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161
15162 int
15163 main ()
15164 {
15165
15166 ;
15167 return 0;
15168 }
15169 _ACEOF
15170 rm -f conftest.$ac_objext
15171 if { (ac_try="$ac_compile"
15172 case "(($ac_try" in
15173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15174 *) ac_try_echo=$ac_try;;
15175 esac
15176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15177 (eval "$ac_compile") 2>conftest.er1
15178 ac_status=$?
15179 grep -v '^ *+' conftest.er1 >conftest.err
15180 rm -f conftest.er1
15181 cat conftest.err >&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } && {
15184 test -z "$ac_c_werror_flag" ||
15185 test ! -s conftest.err
15186 } && test -s conftest.$ac_objext; then
15187 ac_cv_prog_cc_g=yes
15188 else
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15191
15192
15193 fi
15194
15195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15196 fi
15197
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199 fi
15200
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15202 ac_c_werror_flag=$ac_save_c_werror_flag
15203 fi
15204 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15205 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15206 if test "$ac_test_CFLAGS" = set; then
15207 CFLAGS=$ac_save_CFLAGS
15208 elif test $ac_cv_prog_cc_g = yes; then
15209 if test "$GCC" = yes; then
15210 CFLAGS="-g -O2"
15211 else
15212 CFLAGS="-g"
15213 fi
15214 else
15215 if test "$GCC" = yes; then
15216 CFLAGS="-O2"
15217 else
15218 CFLAGS=
15219 fi
15220 fi
15221 fi
15222 fi
15223
15224 case `uname -s` in
15225 AIX*)
15226
15227
15228 ac_ext=c
15229 ac_cpp='$CPP $CPPFLAGS'
15230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15233
15234 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15235 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15236 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15238 else
15239 cat >conftest.$ac_ext <<_ACEOF
15240 /* confdefs.h. */
15241 _ACEOF
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245
15246 int
15247 main ()
15248 {
15249
15250 #ifndef __xlC__
15251 choke me
15252 #endif
15253
15254 ;
15255 return 0;
15256 }
15257 _ACEOF
15258 rm -f conftest.$ac_objext
15259 if { (ac_try="$ac_compile"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15263 esac
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compile") 2>conftest.er1
15266 ac_status=$?
15267 grep -v '^ *+' conftest.er1 >conftest.err
15268 rm -f conftest.er1
15269 cat conftest.err >&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } && {
15272 test -z "$ac_c_werror_flag" ||
15273 test ! -s conftest.err
15274 } && test -s conftest.$ac_objext; then
15275 bakefile_cv_c_compiler___xlC__=yes
15276 else
15277 echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.$ac_ext >&5
15279
15280 bakefile_cv_c_compiler___xlC__=no
15281
15282 fi
15283
15284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15285
15286
15287 fi
15288 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15289 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15290 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15291 :; XLCC=yes
15292 else
15293 :;
15294 fi
15295 ac_ext=c
15296 ac_cpp='$CPP $CPPFLAGS'
15297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15300
15301
15302
15303 ;;
15304
15305 Darwin)
15306
15307
15308 ac_ext=c
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15313
15314 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15315 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15316 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15317 echo $ECHO_N "(cached) $ECHO_C" >&6
15318 else
15319 cat >conftest.$ac_ext <<_ACEOF
15320 /* confdefs.h. */
15321 _ACEOF
15322 cat confdefs.h >>conftest.$ac_ext
15323 cat >>conftest.$ac_ext <<_ACEOF
15324 /* end confdefs.h. */
15325
15326 int
15327 main ()
15328 {
15329
15330 #ifndef __MWERKS__
15331 choke me
15332 #endif
15333
15334 ;
15335 return 0;
15336 }
15337 _ACEOF
15338 rm -f conftest.$ac_objext
15339 if { (ac_try="$ac_compile"
15340 case "(($ac_try" in
15341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15342 *) ac_try_echo=$ac_try;;
15343 esac
15344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15345 (eval "$ac_compile") 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } && {
15352 test -z "$ac_c_werror_flag" ||
15353 test ! -s conftest.err
15354 } && test -s conftest.$ac_objext; then
15355 bakefile_cv_c_compiler___MWERKS__=yes
15356 else
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15359
15360 bakefile_cv_c_compiler___MWERKS__=no
15361
15362 fi
15363
15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15365
15366
15367 fi
15368 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15369 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15370 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15371 :; MWCC=yes
15372 else
15373 :;
15374 fi
15375 ac_ext=c
15376 ac_cpp='$CPP $CPPFLAGS'
15377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15380
15381
15382
15383
15384
15385 ac_ext=c
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15390
15391 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15392 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15393 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 else
15396 cat >conftest.$ac_ext <<_ACEOF
15397 /* confdefs.h. */
15398 _ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15402
15403 int
15404 main ()
15405 {
15406
15407 #ifndef __xlC__
15408 choke me
15409 #endif
15410
15411 ;
15412 return 0;
15413 }
15414 _ACEOF
15415 rm -f conftest.$ac_objext
15416 if { (ac_try="$ac_compile"
15417 case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420 esac
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_compile") 2>conftest.er1
15423 ac_status=$?
15424 grep -v '^ *+' conftest.er1 >conftest.err
15425 rm -f conftest.er1
15426 cat conftest.err >&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } && {
15429 test -z "$ac_c_werror_flag" ||
15430 test ! -s conftest.err
15431 } && test -s conftest.$ac_objext; then
15432 bakefile_cv_c_compiler___xlC__=yes
15433 else
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15436
15437 bakefile_cv_c_compiler___xlC__=no
15438
15439 fi
15440
15441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15442
15443
15444 fi
15445 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15446 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15447 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15448 :; XLCC=yes
15449 else
15450 :;
15451 fi
15452 ac_ext=c
15453 ac_cpp='$CPP $CPPFLAGS'
15454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15457
15458
15459
15460 ;;
15461
15462 IRIX*)
15463
15464
15465 ac_ext=c
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15470
15471 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15472 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15473 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15475 else
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482
15483 int
15484 main ()
15485 {
15486
15487 #ifndef _SGI_COMPILER_VERSION
15488 choke me
15489 #endif
15490
15491 ;
15492 return 0;
15493 }
15494 _ACEOF
15495 rm -f conftest.$ac_objext
15496 if { (ac_try="$ac_compile"
15497 case "(($ac_try" in
15498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15499 *) ac_try_echo=$ac_try;;
15500 esac
15501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15502 (eval "$ac_compile") 2>conftest.er1
15503 ac_status=$?
15504 grep -v '^ *+' conftest.er1 >conftest.err
15505 rm -f conftest.er1
15506 cat conftest.err >&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } && {
15509 test -z "$ac_c_werror_flag" ||
15510 test ! -s conftest.err
15511 } && test -s conftest.$ac_objext; then
15512 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15513 else
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.$ac_ext >&5
15516
15517 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15518
15519 fi
15520
15521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15522
15523
15524 fi
15525 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15526 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15527 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15528 :; SGICC=yes
15529 else
15530 :;
15531 fi
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537
15538
15539
15540 ;;
15541
15542 Linux*)
15543
15544
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550
15551 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15552 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15553 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 else
15556 cat >conftest.$ac_ext <<_ACEOF
15557 /* confdefs.h. */
15558 _ACEOF
15559 cat confdefs.h >>conftest.$ac_ext
15560 cat >>conftest.$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15562
15563 int
15564 main ()
15565 {
15566
15567 #ifndef __SUNPRO_C
15568 choke me
15569 #endif
15570
15571 ;
15572 return 0;
15573 }
15574 _ACEOF
15575 rm -f conftest.$ac_objext
15576 if { (ac_try="$ac_compile"
15577 case "(($ac_try" in
15578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15579 *) ac_try_echo=$ac_try;;
15580 esac
15581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15582 (eval "$ac_compile") 2>conftest.er1
15583 ac_status=$?
15584 grep -v '^ *+' conftest.er1 >conftest.err
15585 rm -f conftest.er1
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } && {
15589 test -z "$ac_c_werror_flag" ||
15590 test ! -s conftest.err
15591 } && test -s conftest.$ac_objext; then
15592 bakefile_cv_c_compiler___SUNPRO_C=yes
15593 else
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15596
15597 bakefile_cv_c_compiler___SUNPRO_C=no
15598
15599 fi
15600
15601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15602
15603
15604 fi
15605 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15606 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15607 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15608 :; SUNCC=yes
15609 else
15610 :;
15611 fi
15612 ac_ext=c
15613 ac_cpp='$CPP $CPPFLAGS'
15614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15617
15618
15619
15620 ;;
15621
15622 HP-UX*)
15623
15624
15625 ac_ext=c
15626 ac_cpp='$CPP $CPPFLAGS'
15627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15630
15631 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15632 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15633 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15636 cat >conftest.$ac_ext <<_ACEOF
15637 /* confdefs.h. */
15638 _ACEOF
15639 cat confdefs.h >>conftest.$ac_ext
15640 cat >>conftest.$ac_ext <<_ACEOF
15641 /* end confdefs.h. */
15642
15643 int
15644 main ()
15645 {
15646
15647 #ifndef __HP_cc
15648 choke me
15649 #endif
15650
15651 ;
15652 return 0;
15653 }
15654 _ACEOF
15655 rm -f conftest.$ac_objext
15656 if { (ac_try="$ac_compile"
15657 case "(($ac_try" in
15658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15660 esac
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_compile") 2>conftest.er1
15663 ac_status=$?
15664 grep -v '^ *+' conftest.er1 >conftest.err
15665 rm -f conftest.er1
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } && {
15669 test -z "$ac_c_werror_flag" ||
15670 test ! -s conftest.err
15671 } && test -s conftest.$ac_objext; then
15672 bakefile_cv_c_compiler___HP_cc=yes
15673 else
15674 echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.$ac_ext >&5
15676
15677 bakefile_cv_c_compiler___HP_cc=no
15678
15679 fi
15680
15681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15682
15683
15684 fi
15685 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15686 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15687 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15688 :; HPCC=yes
15689 else
15690 :;
15691 fi
15692 ac_ext=c
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697
15698
15699
15700 ;;
15701
15702 OSF1)
15703
15704
15705 ac_ext=c
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15710
15711 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15712 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15713 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 else
15716 cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h. */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722
15723 int
15724 main ()
15725 {
15726
15727 #ifndef __DECC
15728 choke me
15729 #endif
15730
15731 ;
15732 return 0;
15733 }
15734 _ACEOF
15735 rm -f conftest.$ac_objext
15736 if { (ac_try="$ac_compile"
15737 case "(($ac_try" in
15738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15739 *) ac_try_echo=$ac_try;;
15740 esac
15741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15742 (eval "$ac_compile") 2>conftest.er1
15743 ac_status=$?
15744 grep -v '^ *+' conftest.er1 >conftest.err
15745 rm -f conftest.er1
15746 cat conftest.err >&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); } && {
15749 test -z "$ac_c_werror_flag" ||
15750 test ! -s conftest.err
15751 } && test -s conftest.$ac_objext; then
15752 bakefile_cv_c_compiler___DECC=yes
15753 else
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15756
15757 bakefile_cv_c_compiler___DECC=no
15758
15759 fi
15760
15761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15762
15763
15764 fi
15765 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15766 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15767 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15768 :; COMPAQCC=yes
15769 else
15770 :;
15771 fi
15772 ac_ext=c
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15777
15778
15779
15780 ;;
15781
15782 SunOS)
15783
15784
15785 ac_ext=c
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790
15791 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15792 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15793 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15794 echo $ECHO_N "(cached) $ECHO_C" >&6
15795 else
15796 cat >conftest.$ac_ext <<_ACEOF
15797 /* confdefs.h. */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802
15803 int
15804 main ()
15805 {
15806
15807 #ifndef __SUNPRO_C
15808 choke me
15809 #endif
15810
15811 ;
15812 return 0;
15813 }
15814 _ACEOF
15815 rm -f conftest.$ac_objext
15816 if { (ac_try="$ac_compile"
15817 case "(($ac_try" in
15818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 *) ac_try_echo=$ac_try;;
15820 esac
15821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15822 (eval "$ac_compile") 2>conftest.er1
15823 ac_status=$?
15824 grep -v '^ *+' conftest.er1 >conftest.err
15825 rm -f conftest.er1
15826 cat conftest.err >&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); } && {
15829 test -z "$ac_c_werror_flag" ||
15830 test ! -s conftest.err
15831 } && test -s conftest.$ac_objext; then
15832 bakefile_cv_c_compiler___SUNPRO_C=yes
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15836
15837 bakefile_cv_c_compiler___SUNPRO_C=no
15838
15839 fi
15840
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842
15843
15844 fi
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15846 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15847 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15848 :; SUNCC=yes
15849 else
15850 :;
15851 fi
15852 ac_ext=c
15853 ac_cpp='$CPP $CPPFLAGS'
15854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15857
15858
15859
15860 ;;
15861 esac
15862 fi
15863
15864
15865
15866 ac_ext=c
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15871 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15872 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15873 # On Suns, sometimes $CPP names a directory.
15874 if test -n "$CPP" && test -d "$CPP"; then
15875 CPP=
15876 fi
15877 if test -z "$CPP"; then
15878 if test "${ac_cv_prog_CPP+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 else
15881 # Double quotes because CPP needs to be expanded
15882 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15883 do
15884 ac_preproc_ok=false
15885 for ac_c_preproc_warn_flag in '' yes
15886 do
15887 # Use a header file that comes with gcc, so configuring glibc
15888 # with a fresh cross-compiler works.
15889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15890 # <limits.h> exists even on freestanding compilers.
15891 # On the NeXT, cc -E runs the code through the compiler's parser,
15892 # not just through cpp. "Syntax error" is here to catch this case.
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899 #ifdef __STDC__
15900 # include <limits.h>
15901 #else
15902 # include <assert.h>
15903 #endif
15904 Syntax error
15905 _ACEOF
15906 if { (ac_try="$ac_cpp conftest.$ac_ext"
15907 case "(($ac_try" in
15908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15909 *) ac_try_echo=$ac_try;;
15910 esac
15911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15913 ac_status=$?
15914 grep -v '^ *+' conftest.er1 >conftest.err
15915 rm -f conftest.er1
15916 cat conftest.err >&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); } >/dev/null && {
15919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15920 test ! -s conftest.err
15921 }; then
15922 :
15923 else
15924 echo "$as_me: failed program was:" >&5
15925 sed 's/^/| /' conftest.$ac_ext >&5
15926
15927 # Broken: fails on valid input.
15928 continue
15929 fi
15930
15931 rm -f conftest.err conftest.$ac_ext
15932
15933 # OK, works on sane cases. Now check whether nonexistent headers
15934 # can be detected and how.
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941 #include <ac_nonexistent.h>
15942 _ACEOF
15943 if { (ac_try="$ac_cpp conftest.$ac_ext"
15944 case "(($ac_try" in
15945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15946 *) ac_try_echo=$ac_try;;
15947 esac
15948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15950 ac_status=$?
15951 grep -v '^ *+' conftest.er1 >conftest.err
15952 rm -f conftest.er1
15953 cat conftest.err >&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } >/dev/null && {
15956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15957 test ! -s conftest.err
15958 }; then
15959 # Broken: success on invalid input.
15960 continue
15961 else
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15964
15965 # Passes both tests.
15966 ac_preproc_ok=:
15967 break
15968 fi
15969
15970 rm -f conftest.err conftest.$ac_ext
15971
15972 done
15973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15974 rm -f conftest.err conftest.$ac_ext
15975 if $ac_preproc_ok; then
15976 break
15977 fi
15978
15979 done
15980 ac_cv_prog_CPP=$CPP
15981
15982 fi
15983 CPP=$ac_cv_prog_CPP
15984 else
15985 ac_cv_prog_CPP=$CPP
15986 fi
15987 { echo "$as_me:$LINENO: result: $CPP" >&5
15988 echo "${ECHO_T}$CPP" >&6; }
15989 ac_preproc_ok=false
15990 for ac_c_preproc_warn_flag in '' yes
15991 do
15992 # Use a header file that comes with gcc, so configuring glibc
15993 # with a fresh cross-compiler works.
15994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15995 # <limits.h> exists even on freestanding compilers.
15996 # On the NeXT, cc -E runs the code through the compiler's parser,
15997 # not just through cpp. "Syntax error" is here to catch this case.
15998 cat >conftest.$ac_ext <<_ACEOF
15999 /* confdefs.h. */
16000 _ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 #ifdef __STDC__
16005 # include <limits.h>
16006 #else
16007 # include <assert.h>
16008 #endif
16009 Syntax error
16010 _ACEOF
16011 if { (ac_try="$ac_cpp conftest.$ac_ext"
16012 case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;;
16015 esac
16016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16017 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16018 ac_status=$?
16019 grep -v '^ *+' conftest.er1 >conftest.err
16020 rm -f conftest.er1
16021 cat conftest.err >&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } >/dev/null && {
16024 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16025 test ! -s conftest.err
16026 }; then
16027 :
16028 else
16029 echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.$ac_ext >&5
16031
16032 # Broken: fails on valid input.
16033 continue
16034 fi
16035
16036 rm -f conftest.err conftest.$ac_ext
16037
16038 # OK, works on sane cases. Now check whether nonexistent headers
16039 # can be detected and how.
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 #include <ac_nonexistent.h>
16047 _ACEOF
16048 if { (ac_try="$ac_cpp conftest.$ac_ext"
16049 case "(($ac_try" in
16050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;;
16052 esac
16053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16055 ac_status=$?
16056 grep -v '^ *+' conftest.er1 >conftest.err
16057 rm -f conftest.er1
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } >/dev/null && {
16061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16062 test ! -s conftest.err
16063 }; then
16064 # Broken: success on invalid input.
16065 continue
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16069
16070 # Passes both tests.
16071 ac_preproc_ok=:
16072 break
16073 fi
16074
16075 rm -f conftest.err conftest.$ac_ext
16076
16077 done
16078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16079 rm -f conftest.err conftest.$ac_ext
16080 if $ac_preproc_ok; then
16081 :
16082 else
16083 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16084 See \`config.log' for more details." >&5
16085 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16086 See \`config.log' for more details." >&2;}
16087 { (exit 1); exit 1; }; }
16088 fi
16089
16090 ac_ext=c
16091 ac_cpp='$CPP $CPPFLAGS'
16092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16095
16096
16097 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16098 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16099 if test "${ac_cv_path_GREP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 else
16102 # Extract the first word of "grep ggrep" to use in msg output
16103 if test -z "$GREP"; then
16104 set dummy grep ggrep; ac_prog_name=$2
16105 if test "${ac_cv_path_GREP+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108 ac_path_GREP_found=false
16109 # Loop through the user's path and test for each of PROGNAME-LIST
16110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16111 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16112 do
16113 IFS=$as_save_IFS
16114 test -z "$as_dir" && as_dir=.
16115 for ac_prog in grep ggrep; do
16116 for ac_exec_ext in '' $ac_executable_extensions; do
16117 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16118 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16119 # Check for GNU ac_path_GREP and select it if it is found.
16120 # Check for GNU $ac_path_GREP
16121 case `"$ac_path_GREP" --version 2>&1` in
16122 *GNU*)
16123 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16124 *)
16125 ac_count=0
16126 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16127 while :
16128 do
16129 cat "conftest.in" "conftest.in" >"conftest.tmp"
16130 mv "conftest.tmp" "conftest.in"
16131 cp "conftest.in" "conftest.nl"
16132 echo 'GREP' >> "conftest.nl"
16133 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16134 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16135 ac_count=`expr $ac_count + 1`
16136 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16137 # Best one so far, save it but keep looking for a better one
16138 ac_cv_path_GREP="$ac_path_GREP"
16139 ac_path_GREP_max=$ac_count
16140 fi
16141 # 10*(2^10) chars as input seems more than enough
16142 test $ac_count -gt 10 && break
16143 done
16144 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16145 esac
16146
16147
16148 $ac_path_GREP_found && break 3
16149 done
16150 done
16151
16152 done
16153 IFS=$as_save_IFS
16154
16155
16156 fi
16157
16158 GREP="$ac_cv_path_GREP"
16159 if test -z "$GREP"; then
16160 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16161 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16162 { (exit 1); exit 1; }; }
16163 fi
16164
16165 else
16166 ac_cv_path_GREP=$GREP
16167 fi
16168
16169
16170 fi
16171 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16172 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16173 GREP="$ac_cv_path_GREP"
16174
16175
16176 { echo "$as_me:$LINENO: checking for egrep" >&5
16177 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16178 if test "${ac_cv_path_EGREP+set}" = set; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16180 else
16181 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16182 then ac_cv_path_EGREP="$GREP -E"
16183 else
16184 # Extract the first word of "egrep" to use in msg output
16185 if test -z "$EGREP"; then
16186 set dummy egrep; ac_prog_name=$2
16187 if test "${ac_cv_path_EGREP+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 ac_path_EGREP_found=false
16191 # Loop through the user's path and test for each of PROGNAME-LIST
16192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16194 do
16195 IFS=$as_save_IFS
16196 test -z "$as_dir" && as_dir=.
16197 for ac_prog in egrep; do
16198 for ac_exec_ext in '' $ac_executable_extensions; do
16199 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16200 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16201 # Check for GNU ac_path_EGREP and select it if it is found.
16202 # Check for GNU $ac_path_EGREP
16203 case `"$ac_path_EGREP" --version 2>&1` in
16204 *GNU*)
16205 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16206 *)
16207 ac_count=0
16208 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16209 while :
16210 do
16211 cat "conftest.in" "conftest.in" >"conftest.tmp"
16212 mv "conftest.tmp" "conftest.in"
16213 cp "conftest.in" "conftest.nl"
16214 echo 'EGREP' >> "conftest.nl"
16215 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16216 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16217 ac_count=`expr $ac_count + 1`
16218 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16219 # Best one so far, save it but keep looking for a better one
16220 ac_cv_path_EGREP="$ac_path_EGREP"
16221 ac_path_EGREP_max=$ac_count
16222 fi
16223 # 10*(2^10) chars as input seems more than enough
16224 test $ac_count -gt 10 && break
16225 done
16226 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16227 esac
16228
16229
16230 $ac_path_EGREP_found && break 3
16231 done
16232 done
16233
16234 done
16235 IFS=$as_save_IFS
16236
16237
16238 fi
16239
16240 EGREP="$ac_cv_path_EGREP"
16241 if test -z "$EGREP"; then
16242 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16243 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16244 { (exit 1); exit 1; }; }
16245 fi
16246
16247 else
16248 ac_cv_path_EGREP=$EGREP
16249 fi
16250
16251
16252 fi
16253 fi
16254 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16255 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16256 EGREP="$ac_cv_path_EGREP"
16257
16258
16259 if test $ac_cv_c_compiler_gnu = yes; then
16260 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16261 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16262 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265 ac_pattern="Autoconf.*'x'"
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 #include <sgtty.h>
16273 Autoconf TIOCGETP
16274 _ACEOF
16275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16276 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16277 ac_cv_prog_gcc_traditional=yes
16278 else
16279 ac_cv_prog_gcc_traditional=no
16280 fi
16281 rm -f conftest*
16282
16283
16284 if test $ac_cv_prog_gcc_traditional = no; then
16285 cat >conftest.$ac_ext <<_ACEOF
16286 /* confdefs.h. */
16287 _ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16291 #include <termio.h>
16292 Autoconf TCGETA
16293 _ACEOF
16294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16295 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16296 ac_cv_prog_gcc_traditional=yes
16297 fi
16298 rm -f conftest*
16299
16300 fi
16301 fi
16302 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16303 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16304 if test $ac_cv_prog_gcc_traditional = yes; then
16305 CC="$CC -traditional"
16306 fi
16307 fi
16308
16309
16310 CXXFLAGS=${CXXFLAGS:=}
16311
16312
16313
16314 ac_ext=cpp
16315 ac_cpp='$CXXCPP $CPPFLAGS'
16316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16319 if test -z "$CXX"; then
16320 if test -n "$CCC"; then
16321 CXX=$CCC
16322 else
16323 if test -n "$ac_tool_prefix"; then
16324 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16325 do
16326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_CXX+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 if test -n "$CXX"; then
16334 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16335 else
16336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16338 do
16339 IFS=$as_save_IFS
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16345 break 2
16346 fi
16347 done
16348 done
16349 IFS=$as_save_IFS
16350
16351 fi
16352 fi
16353 CXX=$ac_cv_prog_CXX
16354 if test -n "$CXX"; then
16355 { echo "$as_me:$LINENO: result: $CXX" >&5
16356 echo "${ECHO_T}$CXX" >&6; }
16357 else
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16360 fi
16361
16362
16363 test -n "$CXX" && break
16364 done
16365 fi
16366 if test -z "$CXX"; then
16367 ac_ct_CXX=$CXX
16368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16369 do
16370 # Extract the first word of "$ac_prog", so it can be a program name with args.
16371 set dummy $ac_prog; ac_word=$2
16372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16374 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16376 else
16377 if test -n "$ac_ct_CXX"; then
16378 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16379 else
16380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16381 for as_dir in $PATH
16382 do
16383 IFS=$as_save_IFS
16384 test -z "$as_dir" && as_dir=.
16385 for ac_exec_ext in '' $ac_executable_extensions; do
16386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16387 ac_cv_prog_ac_ct_CXX="$ac_prog"
16388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16389 break 2
16390 fi
16391 done
16392 done
16393 IFS=$as_save_IFS
16394
16395 fi
16396 fi
16397 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16398 if test -n "$ac_ct_CXX"; then
16399 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16400 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16401 else
16402 { echo "$as_me:$LINENO: result: no" >&5
16403 echo "${ECHO_T}no" >&6; }
16404 fi
16405
16406
16407 test -n "$ac_ct_CXX" && break
16408 done
16409
16410 if test "x$ac_ct_CXX" = x; then
16411 CXX="g++"
16412 else
16413 case $cross_compiling:$ac_tool_warned in
16414 yes:)
16415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16416 whose name does not start with the host triplet. If you think this
16417 configuration is useful to you, please write to autoconf@gnu.org." >&5
16418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16419 whose name does not start with the host triplet. If you think this
16420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16421 ac_tool_warned=yes ;;
16422 esac
16423 CXX=$ac_ct_CXX
16424 fi
16425 fi
16426
16427 fi
16428 fi
16429 # Provide some information about the compiler.
16430 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16431 ac_compiler=`set X $ac_compile; echo $2`
16432 { (ac_try="$ac_compiler --version >&5"
16433 case "(($ac_try" in
16434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16435 *) ac_try_echo=$ac_try;;
16436 esac
16437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16438 (eval "$ac_compiler --version >&5") 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }
16442 { (ac_try="$ac_compiler -v >&5"
16443 case "(($ac_try" in
16444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16446 esac
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_compiler -v >&5") 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }
16452 { (ac_try="$ac_compiler -V >&5"
16453 case "(($ac_try" in
16454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16456 esac
16457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16458 (eval "$ac_compiler -V >&5") 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }
16462
16463 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16464 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16465 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 else
16468 cat >conftest.$ac_ext <<_ACEOF
16469 /* confdefs.h. */
16470 _ACEOF
16471 cat confdefs.h >>conftest.$ac_ext
16472 cat >>conftest.$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16474
16475 int
16476 main ()
16477 {
16478 #ifndef __GNUC__
16479 choke me
16480 #endif
16481
16482 ;
16483 return 0;
16484 }
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (ac_try="$ac_compile"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16491 esac
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_compile") 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && {
16500 test -z "$ac_cxx_werror_flag" ||
16501 test ! -s conftest.err
16502 } && test -s conftest.$ac_objext; then
16503 ac_compiler_gnu=yes
16504 else
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16507
16508 ac_compiler_gnu=no
16509 fi
16510
16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16512 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16513
16514 fi
16515 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16516 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16517 GXX=`test $ac_compiler_gnu = yes && echo yes`
16518 ac_test_CXXFLAGS=${CXXFLAGS+set}
16519 ac_save_CXXFLAGS=$CXXFLAGS
16520 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16521 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16522 if test "${ac_cv_prog_cxx_g+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 else
16525 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16526 ac_cxx_werror_flag=yes
16527 ac_cv_prog_cxx_g=no
16528 CXXFLAGS="-g"
16529 cat >conftest.$ac_ext <<_ACEOF
16530 /* confdefs.h. */
16531 _ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16535
16536 int
16537 main ()
16538 {
16539
16540 ;
16541 return 0;
16542 }
16543 _ACEOF
16544 rm -f conftest.$ac_objext
16545 if { (ac_try="$ac_compile"
16546 case "(($ac_try" in
16547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;;
16549 esac
16550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16551 (eval "$ac_compile") 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_cxx_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest.$ac_objext; then
16561 ac_cv_prog_cxx_g=yes
16562 else
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16565
16566 CXXFLAGS=""
16567 cat >conftest.$ac_ext <<_ACEOF
16568 /* confdefs.h. */
16569 _ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573
16574 int
16575 main ()
16576 {
16577
16578 ;
16579 return 0;
16580 }
16581 _ACEOF
16582 rm -f conftest.$ac_objext
16583 if { (ac_try="$ac_compile"
16584 case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16587 esac
16588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16589 (eval "$ac_compile") 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } && {
16596 test -z "$ac_cxx_werror_flag" ||
16597 test ! -s conftest.err
16598 } && test -s conftest.$ac_objext; then
16599 :
16600 else
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.$ac_ext >&5
16603
16604 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16605 CXXFLAGS="-g"
16606 cat >conftest.$ac_ext <<_ACEOF
16607 /* confdefs.h. */
16608 _ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16612
16613 int
16614 main ()
16615 {
16616
16617 ;
16618 return 0;
16619 }
16620 _ACEOF
16621 rm -f conftest.$ac_objext
16622 if { (ac_try="$ac_compile"
16623 case "(($ac_try" in
16624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16625 *) ac_try_echo=$ac_try;;
16626 esac
16627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16628 (eval "$ac_compile") 2>conftest.er1
16629 ac_status=$?
16630 grep -v '^ *+' conftest.er1 >conftest.err
16631 rm -f conftest.er1
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } && {
16635 test -z "$ac_cxx_werror_flag" ||
16636 test ! -s conftest.err
16637 } && test -s conftest.$ac_objext; then
16638 ac_cv_prog_cxx_g=yes
16639 else
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16642
16643
16644 fi
16645
16646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16647 fi
16648
16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16650 fi
16651
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16654 fi
16655 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16656 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16657 if test "$ac_test_CXXFLAGS" = set; then
16658 CXXFLAGS=$ac_save_CXXFLAGS
16659 elif test $ac_cv_prog_cxx_g = yes; then
16660 if test "$GXX" = yes; then
16661 CXXFLAGS="-g -O2"
16662 else
16663 CXXFLAGS="-g"
16664 fi
16665 else
16666 if test "$GXX" = yes; then
16667 CXXFLAGS="-O2"
16668 else
16669 CXXFLAGS=
16670 fi
16671 fi
16672 ac_ext=c
16673 ac_cpp='$CPP $CPPFLAGS'
16674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16677
16678
16679
16680
16681 ac_ext=cpp
16682 ac_cpp='$CXXCPP $CPPFLAGS'
16683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16686
16687 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16688 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16689 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 else
16692 cat >conftest.$ac_ext <<_ACEOF
16693 /* confdefs.h. */
16694 _ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698
16699 int
16700 main ()
16701 {
16702
16703 #ifndef __INTEL_COMPILER
16704 choke me
16705 #endif
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (ac_try="$ac_compile"
16713 case "(($ac_try" in
16714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16715 *) ac_try_echo=$ac_try;;
16716 esac
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718 (eval "$ac_compile") 2>conftest.er1
16719 ac_status=$?
16720 grep -v '^ *+' conftest.er1 >conftest.err
16721 rm -f conftest.er1
16722 cat conftest.err >&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && {
16725 test -z "$ac_cxx_werror_flag" ||
16726 test ! -s conftest.err
16727 } && test -s conftest.$ac_objext; then
16728 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16732
16733 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16734
16735 fi
16736
16737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16738
16739
16740 fi
16741 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16742 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16743 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16744 :; INTELCXX=yes
16745 else
16746 :;
16747 fi
16748 ac_ext=c
16749 ac_cpp='$CPP $CPPFLAGS'
16750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16753
16754
16755
16756
16757 if test "x$GCXX" != "xyes"; then
16758 if test "xCXX" = "xC"; then
16759 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16760 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16761 if test "${bakefile_cv_c_exto+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764 cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h. */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770
16771 int
16772 main ()
16773 {
16774
16775 ;
16776 return 0;
16777 }
16778 _ACEOF
16779 rm -f conftest.$ac_objext conftest.$ac_ext.o
16780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16781 (eval $ac_compile) 2>&5
16782 ac_status=$?
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; then
16785 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16786 case $ac_file in
16787 conftest.$ac_ext.o)
16788 bakefile_cv_c_exto="-ext o"
16789 ;;
16790 *)
16791 ;;
16792 esac
16793 done
16794 else
16795 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16796 See \`config.log' for more details." >&5
16797 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16798 See \`config.log' for more details." >&2;}
16799 { (exit 1); exit 1; }; }
16800
16801 fi
16802
16803 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16804
16805 fi
16806 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16807 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16809 if test "c" = "c"; then
16810 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16811 fi
16812 if test "c" = "cxx"; then
16813 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16814 fi
16815 fi
16816
16817 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16818 unset ac_cv_prog_cc_g
16819 ac_test_CFLAGS=${CFLAGS+set}
16820 ac_save_CFLAGS=$CFLAGS
16821 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16822 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16823 if test "${ac_cv_prog_cc_g+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 else
16826 ac_save_c_werror_flag=$ac_c_werror_flag
16827 ac_c_werror_flag=yes
16828 ac_cv_prog_cc_g=no
16829 CFLAGS="-g"
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h. */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836
16837 int
16838 main ()
16839 {
16840
16841 ;
16842 return 0;
16843 }
16844 _ACEOF
16845 rm -f conftest.$ac_objext
16846 if { (ac_try="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16850 esac
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16853 ac_status=$?
16854 grep -v '^ *+' conftest.er1 >conftest.err
16855 rm -f conftest.er1
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_c_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_prog_cc_g=yes
16863 else
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867 CFLAGS=""
16868 cat >conftest.$ac_ext <<_ACEOF
16869 /* confdefs.h. */
16870 _ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16874
16875 int
16876 main ()
16877 {
16878
16879 ;
16880 return 0;
16881 }
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16888 esac
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_c_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.$ac_objext; then
16900 :
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 ac_c_werror_flag=$ac_save_c_werror_flag
16906 CFLAGS="-g"
16907 cat >conftest.$ac_ext <<_ACEOF
16908 /* confdefs.h. */
16909 _ACEOF
16910 cat confdefs.h >>conftest.$ac_ext
16911 cat >>conftest.$ac_ext <<_ACEOF
16912 /* end confdefs.h. */
16913
16914 int
16915 main ()
16916 {
16917
16918 ;
16919 return 0;
16920 }
16921 _ACEOF
16922 rm -f conftest.$ac_objext
16923 if { (ac_try="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16927 esac
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16930 ac_status=$?
16931 grep -v '^ *+' conftest.er1 >conftest.err
16932 rm -f conftest.er1
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16939 ac_cv_prog_cc_g=yes
16940 else
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16943
16944
16945 fi
16946
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16948 fi
16949
16950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16951 fi
16952
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 ac_c_werror_flag=$ac_save_c_werror_flag
16955 fi
16956 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16958 if test "$ac_test_CFLAGS" = set; then
16959 CFLAGS=$ac_save_CFLAGS
16960 elif test $ac_cv_prog_cc_g = yes; then
16961 if test "$GCC" = yes; then
16962 CFLAGS="-g -O2"
16963 else
16964 CFLAGS="-g"
16965 fi
16966 else
16967 if test "$GCC" = yes; then
16968 CFLAGS="-O2"
16969 else
16970 CFLAGS=
16971 fi
16972 fi
16973 fi
16974 fi
16975
16976 case `uname -s` in
16977 AIX*)
16978
16979
16980 ac_ext=cpp
16981 ac_cpp='$CXXCPP $CPPFLAGS'
16982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16985
16986 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16987 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16988 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 else
16991 cat >conftest.$ac_ext <<_ACEOF
16992 /* confdefs.h. */
16993 _ACEOF
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16997
16998 int
16999 main ()
17000 {
17001
17002 #ifndef __xlC__
17003 choke me
17004 #endif
17005
17006 ;
17007 return 0;
17008 }
17009 _ACEOF
17010 rm -f conftest.$ac_objext
17011 if { (ac_try="$ac_compile"
17012 case "(($ac_try" in
17013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17014 *) ac_try_echo=$ac_try;;
17015 esac
17016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17017 (eval "$ac_compile") 2>conftest.er1
17018 ac_status=$?
17019 grep -v '^ *+' conftest.er1 >conftest.err
17020 rm -f conftest.er1
17021 cat conftest.err >&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } && {
17024 test -z "$ac_cxx_werror_flag" ||
17025 test ! -s conftest.err
17026 } && test -s conftest.$ac_objext; then
17027 bakefile_cv_cxx_compiler___xlC__=yes
17028 else
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.$ac_ext >&5
17031
17032 bakefile_cv_cxx_compiler___xlC__=no
17033
17034 fi
17035
17036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17037
17038
17039 fi
17040 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17041 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17042 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17043 :; XLCXX=yes
17044 else
17045 :;
17046 fi
17047 ac_ext=c
17048 ac_cpp='$CPP $CPPFLAGS'
17049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17052
17053
17054
17055 ;;
17056
17057 Darwin)
17058
17059
17060 ac_ext=cpp
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17065
17066 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17067 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17068 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 else
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077
17078 int
17079 main ()
17080 {
17081
17082 #ifndef __MWERKS__
17083 choke me
17084 #endif
17085
17086 ;
17087 return 0;
17088 }
17089 _ACEOF
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17095 esac
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_cxx_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 bakefile_cv_cxx_compiler___MWERKS__=yes
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17111
17112 bakefile_cv_cxx_compiler___MWERKS__=no
17113
17114 fi
17115
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117
17118
17119 fi
17120 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17122 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17123 :; MWCXX=yes
17124 else
17125 :;
17126 fi
17127 ac_ext=c
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17132
17133
17134
17135
17136
17137 ac_ext=cpp
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17142
17143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17144 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17145 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 else
17148 cat >conftest.$ac_ext <<_ACEOF
17149 /* confdefs.h. */
17150 _ACEOF
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17154
17155 int
17156 main ()
17157 {
17158
17159 #ifndef __xlC__
17160 choke me
17161 #endif
17162
17163 ;
17164 return 0;
17165 }
17166 _ACEOF
17167 rm -f conftest.$ac_objext
17168 if { (ac_try="$ac_compile"
17169 case "(($ac_try" in
17170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17171 *) ac_try_echo=$ac_try;;
17172 esac
17173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17174 (eval "$ac_compile") 2>conftest.er1
17175 ac_status=$?
17176 grep -v '^ *+' conftest.er1 >conftest.err
17177 rm -f conftest.er1
17178 cat conftest.err >&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && {
17181 test -z "$ac_cxx_werror_flag" ||
17182 test ! -s conftest.err
17183 } && test -s conftest.$ac_objext; then
17184 bakefile_cv_cxx_compiler___xlC__=yes
17185 else
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17188
17189 bakefile_cv_cxx_compiler___xlC__=no
17190
17191 fi
17192
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194
17195
17196 fi
17197 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17198 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17199 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17200 :; XLCXX=yes
17201 else
17202 :;
17203 fi
17204 ac_ext=c
17205 ac_cpp='$CPP $CPPFLAGS'
17206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17209
17210
17211
17212 ;;
17213
17214 IRIX*)
17215
17216
17217 ac_ext=cpp
17218 ac_cpp='$CXXCPP $CPPFLAGS'
17219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17222
17223 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17224 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17225 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234
17235 int
17236 main ()
17237 {
17238
17239 #ifndef _SGI_COMPILER_VERSION
17240 choke me
17241 #endif
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_cxx_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17270
17271 fi
17272
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17274
17275
17276 fi
17277 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17278 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17279 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17280 :; SGICXX=yes
17281 else
17282 :;
17283 fi
17284 ac_ext=c
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17289
17290
17291
17292 ;;
17293
17294 Linux*)
17295
17296
17297 ac_ext=cpp
17298 ac_cpp='$CXXCPP $CPPFLAGS'
17299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17302
17303 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17304 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17305 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308 cat >conftest.$ac_ext <<_ACEOF
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314
17315 int
17316 main ()
17317 {
17318
17319 #ifndef __SUNPRO_CC
17320 choke me
17321 #endif
17322
17323 ;
17324 return 0;
17325 }
17326 _ACEOF
17327 rm -f conftest.$ac_objext
17328 if { (ac_try="$ac_compile"
17329 case "(($ac_try" in
17330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17332 esac
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_compile") 2>conftest.er1
17335 ac_status=$?
17336 grep -v '^ *+' conftest.er1 >conftest.err
17337 rm -f conftest.er1
17338 cat conftest.err >&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } && {
17341 test -z "$ac_cxx_werror_flag" ||
17342 test ! -s conftest.err
17343 } && test -s conftest.$ac_objext; then
17344 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17345 else
17346 echo "$as_me: failed program was:" >&5
17347 sed 's/^/| /' conftest.$ac_ext >&5
17348
17349 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17350
17351 fi
17352
17353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17354
17355
17356 fi
17357 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17358 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17359 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17360 :; SUNCXX=yes
17361 else
17362 :;
17363 fi
17364 ac_ext=c
17365 ac_cpp='$CPP $CPPFLAGS'
17366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17369
17370
17371
17372 ;;
17373
17374 HP-UX*)
17375
17376
17377 ac_ext=cpp
17378 ac_cpp='$CXXCPP $CPPFLAGS'
17379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17382
17383 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17384 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17385 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17386 echo $ECHO_N "(cached) $ECHO_C" >&6
17387 else
17388 cat >conftest.$ac_ext <<_ACEOF
17389 /* confdefs.h. */
17390 _ACEOF
17391 cat confdefs.h >>conftest.$ac_ext
17392 cat >>conftest.$ac_ext <<_ACEOF
17393 /* end confdefs.h. */
17394
17395 int
17396 main ()
17397 {
17398
17399 #ifndef __HP_aCC
17400 choke me
17401 #endif
17402
17403 ;
17404 return 0;
17405 }
17406 _ACEOF
17407 rm -f conftest.$ac_objext
17408 if { (ac_try="$ac_compile"
17409 case "(($ac_try" in
17410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17411 *) ac_try_echo=$ac_try;;
17412 esac
17413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17414 (eval "$ac_compile") 2>conftest.er1
17415 ac_status=$?
17416 grep -v '^ *+' conftest.er1 >conftest.err
17417 rm -f conftest.er1
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } && {
17421 test -z "$ac_cxx_werror_flag" ||
17422 test ! -s conftest.err
17423 } && test -s conftest.$ac_objext; then
17424 bakefile_cv_cxx_compiler___HP_aCC=yes
17425 else
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.$ac_ext >&5
17428
17429 bakefile_cv_cxx_compiler___HP_aCC=no
17430
17431 fi
17432
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434
17435
17436 fi
17437 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17438 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17439 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17440 :; HPCXX=yes
17441 else
17442 :;
17443 fi
17444 ac_ext=c
17445 ac_cpp='$CPP $CPPFLAGS'
17446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17449
17450
17451
17452 ;;
17453
17454 OSF1)
17455
17456
17457 ac_ext=cpp
17458 ac_cpp='$CXXCPP $CPPFLAGS'
17459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17462
17463 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17464 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17465 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 else
17468 cat >conftest.$ac_ext <<_ACEOF
17469 /* confdefs.h. */
17470 _ACEOF
17471 cat confdefs.h >>conftest.$ac_ext
17472 cat >>conftest.$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17474
17475 int
17476 main ()
17477 {
17478
17479 #ifndef __DECCXX
17480 choke me
17481 #endif
17482
17483 ;
17484 return 0;
17485 }
17486 _ACEOF
17487 rm -f conftest.$ac_objext
17488 if { (ac_try="$ac_compile"
17489 case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17492 esac
17493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_compile") 2>conftest.er1
17495 ac_status=$?
17496 grep -v '^ *+' conftest.er1 >conftest.err
17497 rm -f conftest.er1
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } && {
17501 test -z "$ac_cxx_werror_flag" ||
17502 test ! -s conftest.err
17503 } && test -s conftest.$ac_objext; then
17504 bakefile_cv_cxx_compiler___DECCXX=yes
17505 else
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17508
17509 bakefile_cv_cxx_compiler___DECCXX=no
17510
17511 fi
17512
17513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17514
17515
17516 fi
17517 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17518 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17519 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17520 :; COMPAQCXX=yes
17521 else
17522 :;
17523 fi
17524 ac_ext=c
17525 ac_cpp='$CPP $CPPFLAGS'
17526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17529
17530
17531
17532 ;;
17533
17534 SunOS)
17535
17536
17537 ac_ext=cpp
17538 ac_cpp='$CXXCPP $CPPFLAGS'
17539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17542
17543 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17544 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17545 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17547 else
17548 cat >conftest.$ac_ext <<_ACEOF
17549 /* confdefs.h. */
17550 _ACEOF
17551 cat confdefs.h >>conftest.$ac_ext
17552 cat >>conftest.$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554
17555 int
17556 main ()
17557 {
17558
17559 #ifndef __SUNPRO_CC
17560 choke me
17561 #endif
17562
17563 ;
17564 return 0;
17565 }
17566 _ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17572 esac
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17575 ac_status=$?
17576 grep -v '^ *+' conftest.er1 >conftest.err
17577 rm -f conftest.er1
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_cxx_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17585 else
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17588
17589 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17590
17591 fi
17592
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17594
17595
17596 fi
17597 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17598 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17599 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17600 :; SUNCXX=yes
17601 else
17602 :;
17603 fi
17604 ac_ext=c
17605 ac_cpp='$CPP $CPPFLAGS'
17606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17609
17610
17611
17612 ;;
17613 esac
17614 fi
17615
17616
17617
17618 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17619 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17620 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17621 { (exit 1); exit 1; }; }
17622 fi
17623
17624 if test "x$SUNCXX" != xyes; then
17625 if test -n "$ac_tool_prefix"; then
17626 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17627 set dummy ${ac_tool_prefix}ar; ac_word=$2
17628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17630 if test "${ac_cv_prog_AR+set}" = set; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17632 else
17633 if test -n "$AR"; then
17634 ac_cv_prog_AR="$AR" # Let the user override the test.
17635 else
17636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17637 for as_dir in $PATH
17638 do
17639 IFS=$as_save_IFS
17640 test -z "$as_dir" && as_dir=.
17641 for ac_exec_ext in '' $ac_executable_extensions; do
17642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17643 ac_cv_prog_AR="${ac_tool_prefix}ar"
17644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17645 break 2
17646 fi
17647 done
17648 done
17649 IFS=$as_save_IFS
17650
17651 fi
17652 fi
17653 AR=$ac_cv_prog_AR
17654 if test -n "$AR"; then
17655 { echo "$as_me:$LINENO: result: $AR" >&5
17656 echo "${ECHO_T}$AR" >&6; }
17657 else
17658 { echo "$as_me:$LINENO: result: no" >&5
17659 echo "${ECHO_T}no" >&6; }
17660 fi
17661
17662
17663 fi
17664 if test -z "$ac_cv_prog_AR"; then
17665 ac_ct_AR=$AR
17666 # Extract the first word of "ar", so it can be a program name with args.
17667 set dummy ar; ac_word=$2
17668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17670 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673 if test -n "$ac_ct_AR"; then
17674 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17675 else
17676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17677 for as_dir in $PATH
17678 do
17679 IFS=$as_save_IFS
17680 test -z "$as_dir" && as_dir=.
17681 for ac_exec_ext in '' $ac_executable_extensions; do
17682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17683 ac_cv_prog_ac_ct_AR="ar"
17684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17685 break 2
17686 fi
17687 done
17688 done
17689 IFS=$as_save_IFS
17690
17691 fi
17692 fi
17693 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17694 if test -n "$ac_ct_AR"; then
17695 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17696 echo "${ECHO_T}$ac_ct_AR" >&6; }
17697 else
17698 { echo "$as_me:$LINENO: result: no" >&5
17699 echo "${ECHO_T}no" >&6; }
17700 fi
17701
17702 if test "x$ac_ct_AR" = x; then
17703 AR=""
17704 else
17705 case $cross_compiling:$ac_tool_warned in
17706 yes:)
17707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17708 whose name does not start with the host triplet. If you think this
17709 configuration is useful to you, please write to autoconf@gnu.org." >&5
17710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17711 whose name does not start with the host triplet. If you think this
17712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17713 ac_tool_warned=yes ;;
17714 esac
17715 AR=$ac_ct_AR
17716 fi
17717 else
17718 AR="$ac_cv_prog_AR"
17719 fi
17720
17721 if test "x$AR" = "x" ; then
17722 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17723 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17724 { (exit 1); exit 1; }; }
17725 fi
17726 fi
17727
17728 retest_macosx_linking=no
17729
17730 #if test "$wxUSE_MAC" = 1; then
17731 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17732 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17733 # Implicitly turn on the new --with-macosx-sdk using the default
17734 # SDK which provides the behavior this option has always had.
17735 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17736 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17737 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17738 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17739 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17740 wxUSE_MACOSX_SDK=yes
17741 fi
17742 else
17743 # Complain to user if he specified an argument to --enable-universal_binary
17744 # and also 1) specified --with-macosx-sdk using the default (yes) or
17745 # 2) specified --with-macosx-sdk using a path or 3) specified
17746 # --without-macosx-sdk (no).
17747 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17748 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17749 See \`config.log' for more details." >&5
17750 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17751 See \`config.log' for more details." >&2;}
17752 { (exit 1); exit 1; }; }
17753 else
17754 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17755 # special-case the empty string because the below test simply
17756 # converts "no" to the empty string anyway.
17757 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17758 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17759 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17760 fi
17761 fi
17762 OSX_UNIV_OPTS="-arch ppc -arch i386"
17763 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17764 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17765 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17766 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17767 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17768 retest_macosx_linking=yes
17769
17770 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17771 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17772 bk_use_pch=no
17773 fi
17774 #fi
17775
17776 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17777 wxUSE_MACOSX_SDK=
17778 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17779 # TODO: Search for most recent SDK and use it.
17780 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17781 fi
17782
17783
17784 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17785 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17786 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17787 if ! test -d "$wxUSE_MACOSX_SDK"; then
17788 { { echo "$as_me:$LINENO: error: not found
17789 See \`config.log' for more details." >&5
17790 echo "$as_me: error: not found
17791 See \`config.log' for more details." >&2;}
17792 { (exit 1); exit 1; }; }
17793 else
17794 { echo "$as_me:$LINENO: result: exists" >&5
17795 echo "${ECHO_T}exists" >&6; }
17796 fi
17797 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17798 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17799 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17800 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17801 retest_macosx_linking=yes
17802 fi
17803
17804 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17805 wxUSE_MACOSX_VERSION_MIN=
17806 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17807 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17808 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17809 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17810
17811 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/'`
17812
17813 # If that failed, try again with the new key
17814 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17815
17816 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/'`
17817
17818 fi
17819
17820 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17821 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17822 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17823 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17824 else
17825 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17826 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17827 wxUSE_MACOSX_VERSION_MIN=
17828 fi
17829 else
17830 wxUSE_MACOSX_VERSION_MIN=
17831 fi
17832 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17833 if test "$wxUSE_MAC" = 1; then
17834 # otherwise configure stops on leopard for universal_binary
17835 wxUSE_MACOSX_VERSION_MIN=10.4
17836 fi
17837 fi
17838
17839 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17840 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17841 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17842 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17843 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17844 retest_macosx_linking=yes
17845 fi
17846
17847 if test "x$retest_macosx_linking" = "xyes"; then
17848 ac_ext=c
17849 ac_cpp='$CPP $CPPFLAGS'
17850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17853
17854 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17855 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17856 cat >conftest.$ac_ext <<_ACEOF
17857 /* confdefs.h. */
17858 _ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862
17863 int
17864 main ()
17865 {
17866
17867 ;
17868 return 0;
17869 }
17870 _ACEOF
17871 rm -f conftest.$ac_objext conftest$ac_exeext
17872 if { (ac_try="$ac_link"
17873 case "(($ac_try" in
17874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17875 *) ac_try_echo=$ac_try;;
17876 esac
17877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17878 (eval "$ac_link") 2>conftest.er1
17879 ac_status=$?
17880 grep -v '^ *+' conftest.er1 >conftest.err
17881 rm -f conftest.er1
17882 cat conftest.err >&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } && {
17885 test -z "$ac_c_werror_flag" ||
17886 test ! -s conftest.err
17887 } && test -s conftest$ac_exeext &&
17888 $as_test_x conftest$ac_exeext; then
17889 { echo "$as_me:$LINENO: result: yes" >&5
17890 echo "${ECHO_T}yes" >&6; }
17891 else
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17894
17895 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17896 See \`config.log' for more details." >&5
17897 echo "$as_me: error: no. Try a different SDK
17898 See \`config.log' for more details." >&2;}
17899 { (exit 1); exit 1; }; }; exit 1
17900 fi
17901
17902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17903 conftest$ac_exeext conftest.$ac_ext
17904 ac_ext=c
17905 ac_cpp='$CPP $CPPFLAGS'
17906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17909
17910
17911 ac_ext=cpp
17912 ac_cpp='$CXXCPP $CPPFLAGS'
17913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17916
17917 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17918 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17919 cat >conftest.$ac_ext <<_ACEOF
17920 /* confdefs.h. */
17921 _ACEOF
17922 cat confdefs.h >>conftest.$ac_ext
17923 cat >>conftest.$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925
17926 int
17927 main ()
17928 {
17929
17930 ;
17931 return 0;
17932 }
17933 _ACEOF
17934 rm -f conftest.$ac_objext conftest$ac_exeext
17935 if { (ac_try="$ac_link"
17936 case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17939 esac
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_link") 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && {
17948 test -z "$ac_cxx_werror_flag" ||
17949 test ! -s conftest.err
17950 } && test -s conftest$ac_exeext &&
17951 $as_test_x conftest$ac_exeext; then
17952 { echo "$as_me:$LINENO: result: yes" >&5
17953 echo "${ECHO_T}yes" >&6; }
17954 else
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17957
17958 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17959 See \`config.log' for more details." >&5
17960 echo "$as_me: error: no. Try a different SDK
17961 See \`config.log' for more details." >&2;}
17962 { (exit 1); exit 1; }; }; exit 1
17963 fi
17964
17965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17966 conftest$ac_exeext conftest.$ac_ext
17967 ac_ext=c
17968 ac_cpp='$CPP $CPPFLAGS'
17969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17972
17973 fi
17974
17975
17976 case "${host}" in
17977
17978 *-*-darwin* )
17979 INSTALL_PROGRAM="cp -fp"
17980 INSTALL_DATA="cp -fp"
17981 ;;
17982 *)
17983 ;;
17984 esac
17985
17986
17987 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17988 CXXFLAGS="-qunique $CXXFLAGS"
17989 fi
17990
17991 case "${host}" in
17992 powerpc-*-darwin* )
17993 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17994 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17995 cat >conftest.$ac_ext <<_ACEOF
17996 /* confdefs.h. */
17997 _ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001
18002 int
18003 main ()
18004 {
18005 #ifndef __POWERPC__
18006 choke me for lack of PowerPC
18007 #endif
18008
18009 ;
18010 return 0;
18011 }
18012 _ACEOF
18013 rm -f conftest.$ac_objext
18014 if { (ac_try="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18018 esac
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.$ac_objext; then
18030 { echo "$as_me:$LINENO: result: yes" >&5
18031 echo "${ECHO_T}yes" >&6; }
18032 else
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18035
18036 { echo "$as_me:$LINENO: result: no" >&5
18037 echo "${ECHO_T}no" >&6; }
18038 cat >>confdefs.h <<\_ACEOF
18039 #define __POWERPC__ 1
18040 _ACEOF
18041
18042
18043 fi
18044
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 ;;
18047 esac
18048
18049 case "${host}" in
18050 *-*-darwin* )
18051 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18052 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 #include <CoreFoundation/CFBase.h>
18060
18061 int
18062 main ()
18063 {
18064
18065 ;
18066 return 0;
18067 }
18068 _ACEOF
18069 rm -f conftest.$ac_objext
18070 if { (ac_try="$ac_compile"
18071 case "(($ac_try" in
18072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18073 *) ac_try_echo=$ac_try;;
18074 esac
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076 (eval "$ac_compile") 2>conftest.er1
18077 ac_status=$?
18078 grep -v '^ *+' conftest.er1 >conftest.err
18079 rm -f conftest.er1
18080 cat conftest.err >&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } && {
18083 test -z "$ac_c_werror_flag" ||
18084 test ! -s conftest.err
18085 } && test -s conftest.$ac_objext; then
18086 { echo "$as_me:$LINENO: result: yes" >&5
18087 echo "${ECHO_T}yes" >&6; }
18088 else
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18091
18092 { echo "$as_me:$LINENO: result: no" >&5
18093 echo "${ECHO_T}no" >&6; }
18094 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18095 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18096 cat >conftest.$ac_ext <<_ACEOF
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 #define __CF_USE_FRAMEWORK_INCLUDES__
18103 #include <CoreFoundation/CFBase.h>
18104
18105 int
18106 main ()
18107 {
18108
18109 ;
18110 return 0;
18111 }
18112 _ACEOF
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18118 esac
18119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18130 { echo "$as_me:$LINENO: result: yes" >&5
18131 echo "${ECHO_T}yes" >&6; }
18132 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18136
18137 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18138 See \`config.log' for more details." >&5
18139 echo "$as_me: error: no. CoreFoundation not available.
18140 See \`config.log' for more details." >&2;}
18141 { (exit 1); exit 1; }; }
18142
18143 fi
18144
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146
18147
18148 fi
18149
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18151 ;;
18152 esac
18153
18154 wants_win32=0
18155 doesnt_want_win32=0
18156 case "${host}" in
18157 *-*-cygwin*)
18158 if test "$wxUSE_MSW" = 1 ; then
18159 wants_win32=1
18160 else
18161 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18162 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18163 if test "${wx_cv_nocygwin+set}" = set; then
18164 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 else
18166
18167 cat >conftest.$ac_ext <<_ACEOF
18168 /* confdefs.h. */
18169 _ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173
18174 int
18175 main ()
18176 {
18177
18178 #ifdef __MINGW32__
18179 choke me
18180 #endif
18181
18182 ;
18183 return 0;
18184 }
18185 _ACEOF
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18191 esac
18192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18194 ac_status=$?
18195 grep -v '^ *+' conftest.er1 >conftest.err
18196 rm -f conftest.er1
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18203 wx_cv_nocygwin=no
18204 else
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18207
18208 wx_cv_nocygwin=yes
18209
18210 fi
18211
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213
18214
18215 fi
18216 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18217 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18218
18219 if test "$wx_cv_nocygwin" = "yes"; then
18220 wants_win32=1
18221 else
18222 doesnt_want_win32=1
18223 fi
18224 fi
18225 if test "$wants_win32" = 1 ; then
18226 BAKEFILE_FORCE_PLATFORM=win32
18227 fi
18228 ;;
18229 *-*-mingw*)
18230 wants_win32=1
18231 ;;
18232 esac
18233
18234 if test "$wxUSE_WINE" = "yes"; then
18235 wants_win32=1
18236 LDFLAGS_GUI="-mwindows"
18237 fi
18238
18239 if test "$wants_win32" = 1 ; then
18240 USE_UNIX=0
18241 USE_WIN32=1
18242 cat >>confdefs.h <<\_ACEOF
18243 #define __WIN32__ 1
18244 _ACEOF
18245
18246 cat >>confdefs.h <<\_ACEOF
18247 #define __WIN95__ 1
18248 _ACEOF
18249
18250 cat >>confdefs.h <<\_ACEOF
18251 #define __WINDOWS__ 1
18252 _ACEOF
18253
18254 cat >>confdefs.h <<\_ACEOF
18255 #define __GNUWIN32__ 1
18256 _ACEOF
18257
18258 cat >>confdefs.h <<\_ACEOF
18259 #define STRICT 1
18260 _ACEOF
18261
18262 fi
18263 if test "$doesnt_want_win32" = 1 ; then
18264 USE_UNIX=1
18265 USE_WIN32=0
18266 fi
18267
18268 if test "$USE_UNIX" = 1 ; then
18269 wxUSE_UNIX=yes
18270 cat >>confdefs.h <<\_ACEOF
18271 #define __UNIX__ 1
18272 _ACEOF
18273
18274 fi
18275
18276 case "${host}" in
18277 *-pc-os2_emx | *-pc-os2-emx )
18278 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18279 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18280 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18281 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 else
18284 ac_check_lib_save_LIBS=$LIBS
18285 LIBS="-lcExt $LIBS"
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292
18293 /* Override any GCC internal prototype to avoid an error.
18294 Use char because int might match the return type of a GCC
18295 builtin and then its argument prototype would still apply. */
18296 #ifdef __cplusplus
18297 extern "C"
18298 #endif
18299 char drand48 ();
18300 int
18301 main ()
18302 {
18303 return drand48 ();
18304 ;
18305 return 0;
18306 }
18307 _ACEOF
18308 rm -f conftest.$ac_objext conftest$ac_exeext
18309 if { (ac_try="$ac_link"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18313 esac
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_link") 2>conftest.er1
18316 ac_status=$?
18317 grep -v '^ *+' conftest.er1 >conftest.err
18318 rm -f conftest.er1
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_c_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest$ac_exeext &&
18325 $as_test_x conftest$ac_exeext; then
18326 ac_cv_lib_cExt_drand48=yes
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ac_cv_lib_cExt_drand48=no
18332 fi
18333
18334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18335 conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_check_lib_save_LIBS
18337 fi
18338 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18339 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18340 if test $ac_cv_lib_cExt_drand48 = yes; then
18341 LIBS="$LIBS -lcExt"
18342 fi
18343
18344 else
18345 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18346 fi
18347 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18348 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18349 if test "${wx_cv_gccversion+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 else
18352
18353 if test "$cross_compiling" = yes; then
18354 wx_cv_gccversion="EMX2"
18355
18356 else
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363
18364 #include <stdio.h>
18365
18366 int main()
18367 {
18368 FILE *f=fopen("conftestval", "w");
18369 if (!f) exit(1);
18370 fprintf(f,
18371 #if (__GNUC__ < 3)
18372 "EMX2"
18373 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18374 "EMX3"
18375 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18376 "Innotek5"
18377 #else
18378 "Innotek6"
18379 #endif
18380 );
18381 exit(0);
18382 }
18383
18384 _ACEOF
18385 rm -f conftest$ac_exeext
18386 if { (ac_try="$ac_link"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18390 esac
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_link") 2>&5
18393 ac_status=$?
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18396 { (case "(($ac_try" in
18397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18398 *) ac_try_echo=$ac_try;;
18399 esac
18400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_try") 2>&5
18402 ac_status=$?
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; }; then
18405 wx_cv_gccversion=`cat conftestval`
18406 else
18407 echo "$as_me: program exited with status $ac_status" >&5
18408 echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.$ac_ext >&5
18410
18411 ( exit $ac_status )
18412 wx_cv_gccversion="EMX2"
18413 fi
18414 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18415 fi
18416
18417
18418
18419 fi
18420 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18421 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18422 if test "$wx_cv_gccversion" = "EMX2"; then
18423 LIBS="$LIBS -lstdcpp"
18424 LDFLAGS="$LDFLAGS -Zsysv-signals"
18425 else
18426 if test "$wx_cv_gccversion" = "EMX3"; then
18427 LIBS="$LIBS -lstdcxx -lgcc"
18428 LDFLAGS="$LDFLAGS -Zsysv-signals"
18429 else
18430 LIBS="$LIBS -lstdc++"
18431 fi
18432 fi
18433 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18434 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18435 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18436 wxUSE_OMF=yes
18437 enable_omf=yes
18438 fi
18439 ;;
18440 *)
18441
18442 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18443 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18444 if test "${ac_cv_string_strcasecmp+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447
18448 cat >conftest.$ac_ext <<_ACEOF
18449 /* confdefs.h. */
18450 _ACEOF
18451 cat confdefs.h >>conftest.$ac_ext
18452 cat >>conftest.$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454
18455 #include <string.h>
18456
18457 int
18458 main ()
18459 {
18460
18461 strcasecmp("foo", "bar");
18462
18463 ;
18464 return 0;
18465 }
18466 _ACEOF
18467 rm -f conftest.$ac_objext conftest$ac_exeext
18468 if { (ac_try="$ac_link"
18469 case "(($ac_try" in
18470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18471 *) ac_try_echo=$ac_try;;
18472 esac
18473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18474 (eval "$ac_link") 2>conftest.er1
18475 ac_status=$?
18476 grep -v '^ *+' conftest.er1 >conftest.err
18477 rm -f conftest.er1
18478 cat conftest.err >&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } && {
18481 test -z "$ac_c_werror_flag" ||
18482 test ! -s conftest.err
18483 } && test -s conftest$ac_exeext &&
18484 $as_test_x conftest$ac_exeext; then
18485 ac_cv_string_strcasecmp=yes
18486 else
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.$ac_ext >&5
18489
18490 ac_cv_string_strcasecmp=no
18491
18492 fi
18493
18494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18495 conftest$ac_exeext conftest.$ac_ext
18496
18497 fi
18498 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18499 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18500
18501 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18502 cat >>confdefs.h <<\_ACEOF
18503 #define HAVE_STRCASECMP_IN_STRING_H 1
18504 _ACEOF
18505
18506 else
18507 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18508 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18509 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519
18520 #include <strings.h>
18521
18522 int
18523 main ()
18524 {
18525
18526 strcasecmp("foo", "bar");
18527
18528 ;
18529 return 0;
18530 }
18531 _ACEOF
18532 rm -f conftest.$ac_objext conftest$ac_exeext
18533 if { (ac_try="$ac_link"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18537 esac
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_link") 2>conftest.er1
18540 ac_status=$?
18541 grep -v '^ *+' conftest.er1 >conftest.err
18542 rm -f conftest.er1
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } && {
18546 test -z "$ac_c_werror_flag" ||
18547 test ! -s conftest.err
18548 } && test -s conftest$ac_exeext &&
18549 $as_test_x conftest$ac_exeext; then
18550 ac_cv_strings_strcasecmp=yes
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 ac_cv_strings_strcasecmp=no
18556
18557 fi
18558
18559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18560 conftest$ac_exeext conftest.$ac_ext
18561
18562 fi
18563 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18564 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18565
18566 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18567 cat >>confdefs.h <<\_ACEOF
18568 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18569 _ACEOF
18570
18571 else
18572 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18573 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18574 { (exit 1); exit 1; }; }
18575 fi
18576 fi
18577
18578 ;;
18579 esac
18580
18581
18582 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18583 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18584 if test "${ac_cv_header_stdc+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 #include <stdlib.h>
18594 #include <stdarg.h>
18595 #include <string.h>
18596 #include <float.h>
18597
18598 int
18599 main ()
18600 {
18601
18602 ;
18603 return 0;
18604 }
18605 _ACEOF
18606 rm -f conftest.$ac_objext
18607 if { (ac_try="$ac_compile"
18608 case "(($ac_try" in
18609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18610 *) ac_try_echo=$ac_try;;
18611 esac
18612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18613 (eval "$ac_compile") 2>conftest.er1
18614 ac_status=$?
18615 grep -v '^ *+' conftest.er1 >conftest.err
18616 rm -f conftest.er1
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } && {
18620 test -z "$ac_c_werror_flag" ||
18621 test ! -s conftest.err
18622 } && test -s conftest.$ac_objext; then
18623 ac_cv_header_stdc=yes
18624 else
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 ac_cv_header_stdc=no
18629 fi
18630
18631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632
18633 if test $ac_cv_header_stdc = yes; then
18634 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <string.h>
18642
18643 _ACEOF
18644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18645 $EGREP "memchr" >/dev/null 2>&1; then
18646 :
18647 else
18648 ac_cv_header_stdc=no
18649 fi
18650 rm -f conftest*
18651
18652 fi
18653
18654 if test $ac_cv_header_stdc = yes; then
18655 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18656 cat >conftest.$ac_ext <<_ACEOF
18657 /* confdefs.h. */
18658 _ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <stdlib.h>
18663
18664 _ACEOF
18665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18666 $EGREP "free" >/dev/null 2>&1; then
18667 :
18668 else
18669 ac_cv_header_stdc=no
18670 fi
18671 rm -f conftest*
18672
18673 fi
18674
18675 if test $ac_cv_header_stdc = yes; then
18676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18677 if test "$cross_compiling" = yes; then
18678 :
18679 else
18680 cat >conftest.$ac_ext <<_ACEOF
18681 /* confdefs.h. */
18682 _ACEOF
18683 cat confdefs.h >>conftest.$ac_ext
18684 cat >>conftest.$ac_ext <<_ACEOF
18685 /* end confdefs.h. */
18686 #include <ctype.h>
18687 #include <stdlib.h>
18688 #if ((' ' & 0x0FF) == 0x020)
18689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18691 #else
18692 # define ISLOWER(c) \
18693 (('a' <= (c) && (c) <= 'i') \
18694 || ('j' <= (c) && (c) <= 'r') \
18695 || ('s' <= (c) && (c) <= 'z'))
18696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18697 #endif
18698
18699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18700 int
18701 main ()
18702 {
18703 int i;
18704 for (i = 0; i < 256; i++)
18705 if (XOR (islower (i), ISLOWER (i))
18706 || toupper (i) != TOUPPER (i))
18707 return 2;
18708 return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest$ac_exeext
18712 if { (ac_try="$ac_link"
18713 case "(($ac_try" in
18714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18715 *) ac_try_echo=$ac_try;;
18716 esac
18717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18718 (eval "$ac_link") 2>&5
18719 ac_status=$?
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18722 { (case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18725 esac
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_try") 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 :
18732 else
18733 echo "$as_me: program exited with status $ac_status" >&5
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18736
18737 ( exit $ac_status )
18738 ac_cv_header_stdc=no
18739 fi
18740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18741 fi
18742
18743
18744 fi
18745 fi
18746 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18747 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18748 if test $ac_cv_header_stdc = yes; then
18749
18750 cat >>confdefs.h <<\_ACEOF
18751 #define STDC_HEADERS 1
18752 _ACEOF
18753
18754 fi
18755
18756 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18767 inttypes.h stdint.h unistd.h
18768 do
18769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18770 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 else
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782
18783 #include <$ac_header>
18784 _ACEOF
18785 rm -f conftest.$ac_objext
18786 if { (ac_try="$ac_compile"
18787 case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18790 esac
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_compile") 2>conftest.er1
18793 ac_status=$?
18794 grep -v '^ *+' conftest.er1 >conftest.err
18795 rm -f conftest.er1
18796 cat conftest.err >&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } && {
18799 test -z "$ac_c_werror_flag" ||
18800 test ! -s conftest.err
18801 } && test -s conftest.$ac_objext; then
18802 eval "$as_ac_Header=yes"
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18806
18807 eval "$as_ac_Header=no"
18808 fi
18809
18810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18811 fi
18812 ac_res=`eval echo '${'$as_ac_Header'}'`
18813 { echo "$as_me:$LINENO: result: $ac_res" >&5
18814 echo "${ECHO_T}$ac_res" >&6; }
18815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18816 cat >>confdefs.h <<_ACEOF
18817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18818 _ACEOF
18819
18820 fi
18821
18822 done
18823
18824
18825
18826
18827 for ac_header in langinfo.h wchar.h
18828 do
18829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835 cat >conftest.$ac_ext <<_ACEOF
18836 /* confdefs.h. */
18837 _ACEOF
18838 cat confdefs.h >>conftest.$ac_ext
18839 cat >>conftest.$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18842
18843 #include <$ac_header>
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18850 esac
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_c_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.$ac_objext; then
18862 eval "$as_ac_Header=yes"
18863 else
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18866
18867 eval "$as_ac_Header=no"
18868 fi
18869
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 fi
18872 ac_res=`eval echo '${'$as_ac_Header'}'`
18873 { echo "$as_me:$LINENO: result: $ac_res" >&5
18874 echo "${ECHO_T}$ac_res" >&6; }
18875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18876 cat >>confdefs.h <<_ACEOF
18877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18878 _ACEOF
18879
18880 fi
18881
18882 done
18883
18884
18885 if test "$ac_cv_header_wchar_h" != "yes"; then
18886
18887 for ac_header in wcstr.h
18888 do
18889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 else
18895 cat >conftest.$ac_ext <<_ACEOF
18896 /* confdefs.h. */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 $ac_includes_default
18902
18903 #include <$ac_header>
18904 _ACEOF
18905 rm -f conftest.$ac_objext
18906 if { (ac_try="$ac_compile"
18907 case "(($ac_try" in
18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18910 esac
18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_compile") 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest.$ac_objext; then
18922 eval "$as_ac_Header=yes"
18923 else
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18926
18927 eval "$as_ac_Header=no"
18928 fi
18929
18930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 fi
18932 ac_res=`eval echo '${'$as_ac_Header'}'`
18933 { echo "$as_me:$LINENO: result: $ac_res" >&5
18934 echo "${ECHO_T}$ac_res" >&6; }
18935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18936 cat >>confdefs.h <<_ACEOF
18937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18938 _ACEOF
18939
18940 fi
18941
18942 done
18943
18944 fi
18945
18946 case "${host}" in
18947 *-pc-os2_emx | *-pc-os2-emx )
18948 if test $ac_cv_header_langinfo_h = "yes" \
18949 -a \( "$wx_cv_gccversion" = "EMX2" \
18950 -o "$wx_cv_gccversion" = "EMX3" \
18951 -o "$wx_cv_gccversion" = "Innotek5" \); then
18952 LIBS="$LIBS -lintl"
18953 fi
18954 ;;
18955 esac
18956
18957 if test "$USE_UNIX" = 1 ; then
18958
18959 for ac_header in sys/select.h
18960 do
18961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18965 echo $ECHO_N "(cached) $ECHO_C" >&6
18966 else
18967 cat >conftest.$ac_ext <<_ACEOF
18968 /* confdefs.h. */
18969 _ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18974
18975 #include <$ac_header>
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (ac_try="$ac_compile"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982 esac
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_compile") 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_c_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest.$ac_objext; then
18994 eval "$as_ac_Header=yes"
18995 else
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18998
18999 eval "$as_ac_Header=no"
19000 fi
19001
19002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003 fi
19004 ac_res=`eval echo '${'$as_ac_Header'}'`
19005 { echo "$as_me:$LINENO: result: $ac_res" >&5
19006 echo "${ECHO_T}$ac_res" >&6; }
19007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19008 cat >>confdefs.h <<_ACEOF
19009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19010 _ACEOF
19011
19012 fi
19013
19014 done
19015
19016 fi
19017
19018
19019 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19020 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19021 if test "${ac_cv_c_const+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 else
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030
19031 int
19032 main ()
19033 {
19034 /* FIXME: Include the comments suggested by Paul. */
19035 #ifndef __cplusplus
19036 /* Ultrix mips cc rejects this. */
19037 typedef int charset[2];
19038 const charset cs;
19039 /* SunOS 4.1.1 cc rejects this. */
19040 char const *const *pcpcc;
19041 char **ppc;
19042 /* NEC SVR4.0.2 mips cc rejects this. */
19043 struct point {int x, y;};
19044 static struct point const zero = {0,0};
19045 /* AIX XL C 1.02.0.0 rejects this.
19046 It does not let you subtract one const X* pointer from another in
19047 an arm of an if-expression whose if-part is not a constant
19048 expression */
19049 const char *g = "string";
19050 pcpcc = &g + (g ? g-g : 0);
19051 /* HPUX 7.0 cc rejects these. */
19052 ++pcpcc;
19053 ppc = (char**) pcpcc;
19054 pcpcc = (char const *const *) ppc;
19055 { /* SCO 3.2v4 cc rejects this. */
19056 char *t;
19057 char const *s = 0 ? (char *) 0 : (char const *) 0;
19058
19059 *t++ = 0;
19060 if (s) return 0;
19061 }
19062 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19063 int x[] = {25, 17};
19064 const int *foo = &x[0];
19065 ++foo;
19066 }
19067 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19068 typedef const int *iptr;
19069 iptr p = 0;
19070 ++p;
19071 }
19072 { /* AIX XL C 1.02.0.0 rejects this saying
19073 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19074 struct s { int j; const int *ap[3]; };
19075 struct s *b; b->j = 5;
19076 }
19077 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19078 const int foo = 10;
19079 if (!foo) return 0;
19080 }
19081 return !cs[0] && !zero.x;
19082 #endif
19083
19084 ;
19085 return 0;
19086 }
19087 _ACEOF
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19105 ac_cv_c_const=yes
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19109
19110 ac_cv_c_const=no
19111 fi
19112
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 fi
19115 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19116 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19117 if test $ac_cv_c_const = no; then
19118
19119 cat >>confdefs.h <<\_ACEOF
19120 #define const
19121 _ACEOF
19122
19123 fi
19124
19125 { echo "$as_me:$LINENO: checking for inline" >&5
19126 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19127 if test "${ac_cv_c_inline+set}" = set; then
19128 echo $ECHO_N "(cached) $ECHO_C" >&6
19129 else
19130 ac_cv_c_inline=no
19131 for ac_kw in inline __inline__ __inline; do
19132 cat >conftest.$ac_ext <<_ACEOF
19133 /* confdefs.h. */
19134 _ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #ifndef __cplusplus
19139 typedef int foo_t;
19140 static $ac_kw foo_t static_foo () {return 0; }
19141 $ac_kw foo_t foo () {return 0; }
19142 #endif
19143
19144 _ACEOF
19145 rm -f conftest.$ac_objext
19146 if { (ac_try="$ac_compile"
19147 case "(($ac_try" in
19148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19149 *) ac_try_echo=$ac_try;;
19150 esac
19151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19152 (eval "$ac_compile") 2>conftest.er1
19153 ac_status=$?
19154 grep -v '^ *+' conftest.er1 >conftest.err
19155 rm -f conftest.er1
19156 cat conftest.err >&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } && {
19159 test -z "$ac_c_werror_flag" ||
19160 test ! -s conftest.err
19161 } && test -s conftest.$ac_objext; then
19162 ac_cv_c_inline=$ac_kw
19163 else
19164 echo "$as_me: failed program was:" >&5
19165 sed 's/^/| /' conftest.$ac_ext >&5
19166
19167
19168 fi
19169
19170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19171 test "$ac_cv_c_inline" != no && break
19172 done
19173
19174 fi
19175 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19176 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19177
19178
19179 case $ac_cv_c_inline in
19180 inline | yes) ;;
19181 *)
19182 case $ac_cv_c_inline in
19183 no) ac_val=;;
19184 *) ac_val=$ac_cv_c_inline;;
19185 esac
19186 cat >>confdefs.h <<_ACEOF
19187 #ifndef __cplusplus
19188 #define inline $ac_val
19189 #endif
19190 _ACEOF
19191 ;;
19192 esac
19193
19194
19195 { echo "$as_me:$LINENO: checking for short" >&5
19196 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19197 if test "${ac_cv_type_short+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_new_;
19208 int
19209 main ()
19210 {
19211 if ((ac__type_new_ *) 0)
19212 return 0;
19213 if (sizeof (ac__type_new_))
19214 return 0;
19215 ;
19216 return 0;
19217 }
19218 _ACEOF
19219 rm -f conftest.$ac_objext
19220 if { (ac_try="$ac_compile"
19221 case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19224 esac
19225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_compile") 2>conftest.er1
19227 ac_status=$?
19228 grep -v '^ *+' conftest.er1 >conftest.err
19229 rm -f conftest.er1
19230 cat conftest.err >&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } && {
19233 test -z "$ac_c_werror_flag" ||
19234 test ! -s conftest.err
19235 } && test -s conftest.$ac_objext; then
19236 ac_cv_type_short=yes
19237 else
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.$ac_ext >&5
19240
19241 ac_cv_type_short=no
19242 fi
19243
19244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245 fi
19246 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19247 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19248
19249 # The cast to long int works around a bug in the HP C Compiler
19250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19252 # This bug is HP SR number 8606223364.
19253 { echo "$as_me:$LINENO: checking size of short" >&5
19254 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19255 if test "${ac_cv_sizeof_short+set}" = set; then
19256 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 else
19258 if test "$cross_compiling" = yes; then
19259 # Depending upon the size, compute the lo and hi bounds.
19260 cat >conftest.$ac_ext <<_ACEOF
19261 /* confdefs.h. */
19262 _ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 $ac_includes_default
19267 typedef short ac__type_sizeof_;
19268 int
19269 main ()
19270 {
19271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19272 test_array [0] = 0
19273
19274 ;
19275 return 0;
19276 }
19277 _ACEOF
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19283 esac
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19286 ac_status=$?
19287 grep -v '^ *+' conftest.er1 >conftest.err
19288 rm -f conftest.er1
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19295 ac_lo=0 ac_mid=0
19296 while :; do
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 $ac_includes_default
19304 typedef short ac__type_sizeof_;
19305 int
19306 main ()
19307 {
19308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19309 test_array [0] = 0
19310
19311 ;
19312 return 0;
19313 }
19314 _ACEOF
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19323 ac_status=$?
19324 grep -v '^ *+' conftest.er1 >conftest.err
19325 rm -f conftest.er1
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_hi=$ac_mid; break
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 ac_lo=`expr $ac_mid + 1`
19338 if test $ac_lo -le $ac_mid; then
19339 ac_lo= ac_hi=
19340 break
19341 fi
19342 ac_mid=`expr 2 '*' $ac_mid + 1`
19343 fi
19344
19345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19346 done
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 typedef short ac__type_sizeof_;
19359 int
19360 main ()
19361 {
19362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19363 test_array [0] = 0
19364
19365 ;
19366 return 0;
19367 }
19368 _ACEOF
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19374 esac
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_hi=-1 ac_mid=-1
19387 while :; do
19388 cat >conftest.$ac_ext <<_ACEOF
19389 /* confdefs.h. */
19390 _ACEOF
19391 cat confdefs.h >>conftest.$ac_ext
19392 cat >>conftest.$ac_ext <<_ACEOF
19393 /* end confdefs.h. */
19394 $ac_includes_default
19395 typedef short ac__type_sizeof_;
19396 int
19397 main ()
19398 {
19399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19400 test_array [0] = 0
19401
19402 ;
19403 return 0;
19404 }
19405 _ACEOF
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19411 esac
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19414 ac_status=$?
19415 grep -v '^ *+' conftest.er1 >conftest.err
19416 rm -f conftest.er1
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 ac_lo=$ac_mid; break
19424 else
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19427
19428 ac_hi=`expr '(' $ac_mid ')' - 1`
19429 if test $ac_mid -le $ac_hi; then
19430 ac_lo= ac_hi=
19431 break
19432 fi
19433 ac_mid=`expr 2 '*' $ac_mid`
19434 fi
19435
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19437 done
19438 else
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19441
19442 ac_lo= ac_hi=
19443 fi
19444
19445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 fi
19447
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 # Binary search between lo and hi bounds.
19450 while test "x$ac_lo" != "x$ac_hi"; do
19451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19452 cat >conftest.$ac_ext <<_ACEOF
19453 /* confdefs.h. */
19454 _ACEOF
19455 cat confdefs.h >>conftest.$ac_ext
19456 cat >>conftest.$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19458 $ac_includes_default
19459 typedef short ac__type_sizeof_;
19460 int
19461 main ()
19462 {
19463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19464 test_array [0] = 0
19465
19466 ;
19467 return 0;
19468 }
19469 _ACEOF
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19475 esac
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19478 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19487 ac_hi=$ac_mid
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 ac_lo=`expr '(' $ac_mid ')' + 1`
19493 fi
19494
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 done
19497 case $ac_lo in
19498 ?*) ac_cv_sizeof_short=$ac_lo;;
19499 '') if test "$ac_cv_type_short" = yes; then
19500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19501 See \`config.log' for more details." >&5
19502 echo "$as_me: error: cannot compute sizeof (short)
19503 See \`config.log' for more details." >&2;}
19504 { (exit 77); exit 77; }; }
19505 else
19506 ac_cv_sizeof_short=0
19507 fi ;;
19508 esac
19509 else
19510 cat >conftest.$ac_ext <<_ACEOF
19511 /* confdefs.h. */
19512 _ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 $ac_includes_default
19517 typedef short ac__type_sizeof_;
19518 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19519 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19520 #include <stdio.h>
19521 #include <stdlib.h>
19522 int
19523 main ()
19524 {
19525
19526 FILE *f = fopen ("conftest.val", "w");
19527 if (! f)
19528 return 1;
19529 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19530 {
19531 long int i = longval ();
19532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19533 return 1;
19534 fprintf (f, "%ld\n", i);
19535 }
19536 else
19537 {
19538 unsigned long int i = ulongval ();
19539 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19540 return 1;
19541 fprintf (f, "%lu\n", i);
19542 }
19543 return ferror (f) || fclose (f) != 0;
19544
19545 ;
19546 return 0;
19547 }
19548 _ACEOF
19549 rm -f conftest$ac_exeext
19550 if { (ac_try="$ac_link"
19551 case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19554 esac
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_link") 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19566 ac_status=$?
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 ac_cv_sizeof_short=`cat conftest.val`
19570 else
19571 echo "$as_me: program exited with status $ac_status" >&5
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19574
19575 ( exit $ac_status )
19576 if test "$ac_cv_type_short" = yes; then
19577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19578 See \`config.log' for more details." >&5
19579 echo "$as_me: error: cannot compute sizeof (short)
19580 See \`config.log' for more details." >&2;}
19581 { (exit 77); exit 77; }; }
19582 else
19583 ac_cv_sizeof_short=0
19584 fi
19585 fi
19586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19587 fi
19588 rm -f conftest.val
19589 fi
19590 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19591 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19592
19593
19594
19595 cat >>confdefs.h <<_ACEOF
19596 #define SIZEOF_SHORT $ac_cv_sizeof_short
19597 _ACEOF
19598
19599
19600 { echo "$as_me:$LINENO: checking for void *" >&5
19601 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19602 if test "${ac_cv_type_void_p+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 else
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_new_;
19613 int
19614 main ()
19615 {
19616 if ((ac__type_new_ *) 0)
19617 return 0;
19618 if (sizeof (ac__type_new_))
19619 return 0;
19620 ;
19621 return 0;
19622 }
19623 _ACEOF
19624 rm -f conftest.$ac_objext
19625 if { (ac_try="$ac_compile"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_compile") 2>conftest.er1
19632 ac_status=$?
19633 grep -v '^ *+' conftest.er1 >conftest.err
19634 rm -f conftest.er1
19635 cat conftest.err >&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); } && {
19638 test -z "$ac_c_werror_flag" ||
19639 test ! -s conftest.err
19640 } && test -s conftest.$ac_objext; then
19641 ac_cv_type_void_p=yes
19642 else
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19645
19646 ac_cv_type_void_p=no
19647 fi
19648
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19650 fi
19651 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19652 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19653
19654 # The cast to long int works around a bug in the HP C Compiler
19655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19657 # This bug is HP SR number 8606223364.
19658 { echo "$as_me:$LINENO: checking size of void *" >&5
19659 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19660 if test "${ac_cv_sizeof_void_p+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 else
19663 if test "$cross_compiling" = yes; then
19664 # Depending upon the size, compute the lo and hi bounds.
19665 cat >conftest.$ac_ext <<_ACEOF
19666 /* confdefs.h. */
19667 _ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 typedef void * ac__type_sizeof_;
19673 int
19674 main ()
19675 {
19676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19677 test_array [0] = 0
19678
19679 ;
19680 return 0;
19681 }
19682 _ACEOF
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19688 esac
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19691 ac_status=$?
19692 grep -v '^ *+' conftest.er1 >conftest.err
19693 rm -f conftest.er1
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19700 ac_lo=0 ac_mid=0
19701 while :; do
19702 cat >conftest.$ac_ext <<_ACEOF
19703 /* confdefs.h. */
19704 _ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 $ac_includes_default
19709 typedef void * ac__type_sizeof_;
19710 int
19711 main ()
19712 {
19713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19714 test_array [0] = 0
19715
19716 ;
19717 return 0;
19718 }
19719 _ACEOF
19720 rm -f conftest.$ac_objext
19721 if { (ac_try="$ac_compile"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19725 esac
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_compile") 2>conftest.er1
19728 ac_status=$?
19729 grep -v '^ *+' conftest.er1 >conftest.err
19730 rm -f conftest.er1
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } && {
19734 test -z "$ac_c_werror_flag" ||
19735 test ! -s conftest.err
19736 } && test -s conftest.$ac_objext; then
19737 ac_hi=$ac_mid; break
19738 else
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19741
19742 ac_lo=`expr $ac_mid + 1`
19743 if test $ac_lo -le $ac_mid; then
19744 ac_lo= ac_hi=
19745 break
19746 fi
19747 ac_mid=`expr 2 '*' $ac_mid + 1`
19748 fi
19749
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19751 done
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 typedef void * ac__type_sizeof_;
19764 int
19765 main ()
19766 {
19767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19768 test_array [0] = 0
19769
19770 ;
19771 return 0;
19772 }
19773 _ACEOF
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19779 esac
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19782 ac_status=$?
19783 grep -v '^ *+' conftest.er1 >conftest.err
19784 rm -f conftest.er1
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19791 ac_hi=-1 ac_mid=-1
19792 while :; do
19793 cat >conftest.$ac_ext <<_ACEOF
19794 /* confdefs.h. */
19795 _ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19800 typedef void * ac__type_sizeof_;
19801 int
19802 main ()
19803 {
19804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19805 test_array [0] = 0
19806
19807 ;
19808 return 0;
19809 }
19810 _ACEOF
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815 *) ac_try_echo=$ac_try;;
19816 esac
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818 (eval "$ac_compile") 2>conftest.er1
19819 ac_status=$?
19820 grep -v '^ *+' conftest.er1 >conftest.err
19821 rm -f conftest.er1
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && {
19825 test -z "$ac_c_werror_flag" ||
19826 test ! -s conftest.err
19827 } && test -s conftest.$ac_objext; then
19828 ac_lo=$ac_mid; break
19829 else
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833 ac_hi=`expr '(' $ac_mid ')' - 1`
19834 if test $ac_mid -le $ac_hi; then
19835 ac_lo= ac_hi=
19836 break
19837 fi
19838 ac_mid=`expr 2 '*' $ac_mid`
19839 fi
19840
19841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842 done
19843 else
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19846
19847 ac_lo= ac_hi=
19848 fi
19849
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19851 fi
19852
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19854 # Binary search between lo and hi bounds.
19855 while test "x$ac_lo" != "x$ac_hi"; do
19856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19857 cat >conftest.$ac_ext <<_ACEOF
19858 /* confdefs.h. */
19859 _ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19864 typedef void * ac__type_sizeof_;
19865 int
19866 main ()
19867 {
19868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19869 test_array [0] = 0
19870
19871 ;
19872 return 0;
19873 }
19874 _ACEOF
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880 esac
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 ac_hi=$ac_mid
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 ac_lo=`expr '(' $ac_mid ')' + 1`
19898 fi
19899
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 done
19902 case $ac_lo in
19903 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19904 '') if test "$ac_cv_type_void_p" = yes; then
19905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19906 See \`config.log' for more details." >&5
19907 echo "$as_me: error: cannot compute sizeof (void *)
19908 See \`config.log' for more details." >&2;}
19909 { (exit 77); exit 77; }; }
19910 else
19911 ac_cv_sizeof_void_p=0
19912 fi ;;
19913 esac
19914 else
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 typedef void * ac__type_sizeof_;
19923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19925 #include <stdio.h>
19926 #include <stdlib.h>
19927 int
19928 main ()
19929 {
19930
19931 FILE *f = fopen ("conftest.val", "w");
19932 if (! f)
19933 return 1;
19934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19935 {
19936 long int i = longval ();
19937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19938 return 1;
19939 fprintf (f, "%ld\n", i);
19940 }
19941 else
19942 {
19943 unsigned long int i = ulongval ();
19944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19945 return 1;
19946 fprintf (f, "%lu\n", i);
19947 }
19948 return ferror (f) || fclose (f) != 0;
19949
19950 ;
19951 return 0;
19952 }
19953 _ACEOF
19954 rm -f conftest$ac_exeext
19955 if { (ac_try="$ac_link"
19956 case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19959 esac
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_link") 2>&5
19962 ac_status=$?
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; }; then
19974 ac_cv_sizeof_void_p=`cat conftest.val`
19975 else
19976 echo "$as_me: program exited with status $ac_status" >&5
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980 ( exit $ac_status )
19981 if test "$ac_cv_type_void_p" = yes; then
19982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19983 See \`config.log' for more details." >&5
19984 echo "$as_me: error: cannot compute sizeof (void *)
19985 See \`config.log' for more details." >&2;}
19986 { (exit 77); exit 77; }; }
19987 else
19988 ac_cv_sizeof_void_p=0
19989 fi
19990 fi
19991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19992 fi
19993 rm -f conftest.val
19994 fi
19995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19997
19998
19999
20000 cat >>confdefs.h <<_ACEOF
20001 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20002 _ACEOF
20003
20004
20005 { echo "$as_me:$LINENO: checking for int" >&5
20006 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20007 if test "${ac_cv_type_int+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010 cat >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_new_;
20018 int
20019 main ()
20020 {
20021 if ((ac__type_new_ *) 0)
20022 return 0;
20023 if (sizeof (ac__type_new_))
20024 return 0;
20025 ;
20026 return 0;
20027 }
20028 _ACEOF
20029 rm -f conftest.$ac_objext
20030 if { (ac_try="$ac_compile"
20031 case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_compile") 2>conftest.er1
20037 ac_status=$?
20038 grep -v '^ *+' conftest.er1 >conftest.err
20039 rm -f conftest.er1
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && {
20043 test -z "$ac_c_werror_flag" ||
20044 test ! -s conftest.err
20045 } && test -s conftest.$ac_objext; then
20046 ac_cv_type_int=yes
20047 else
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20050
20051 ac_cv_type_int=no
20052 fi
20053
20054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20055 fi
20056 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20057 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20058
20059 # The cast to long int works around a bug in the HP C Compiler
20060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20062 # This bug is HP SR number 8606223364.
20063 { echo "$as_me:$LINENO: checking size of int" >&5
20064 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20065 if test "${ac_cv_sizeof_int+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 else
20068 if test "$cross_compiling" = yes; then
20069 # Depending upon the size, compute the lo and hi bounds.
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 $ac_includes_default
20077 typedef int ac__type_sizeof_;
20078 int
20079 main ()
20080 {
20081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20082 test_array [0] = 0
20083
20084 ;
20085 return 0;
20086 }
20087 _ACEOF
20088 rm -f conftest.$ac_objext
20089 if { (ac_try="$ac_compile"
20090 case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20093 esac
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_compile") 2>conftest.er1
20096 ac_status=$?
20097 grep -v '^ *+' conftest.er1 >conftest.err
20098 rm -f conftest.er1
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } && {
20102 test -z "$ac_c_werror_flag" ||
20103 test ! -s conftest.err
20104 } && test -s conftest.$ac_objext; then
20105 ac_lo=0 ac_mid=0
20106 while :; do
20107 cat >conftest.$ac_ext <<_ACEOF
20108 /* confdefs.h. */
20109 _ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 typedef int ac__type_sizeof_;
20115 int
20116 main ()
20117 {
20118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20119 test_array [0] = 0
20120
20121 ;
20122 return 0;
20123 }
20124 _ACEOF
20125 rm -f conftest.$ac_objext
20126 if { (ac_try="$ac_compile"
20127 case "(($ac_try" in
20128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20129 *) ac_try_echo=$ac_try;;
20130 esac
20131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20132 (eval "$ac_compile") 2>conftest.er1
20133 ac_status=$?
20134 grep -v '^ *+' conftest.er1 >conftest.err
20135 rm -f conftest.er1
20136 cat conftest.err >&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } && {
20139 test -z "$ac_c_werror_flag" ||
20140 test ! -s conftest.err
20141 } && test -s conftest.$ac_objext; then
20142 ac_hi=$ac_mid; break
20143 else
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.$ac_ext >&5
20146
20147 ac_lo=`expr $ac_mid + 1`
20148 if test $ac_lo -le $ac_mid; then
20149 ac_lo= ac_hi=
20150 break
20151 fi
20152 ac_mid=`expr 2 '*' $ac_mid + 1`
20153 fi
20154
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 done
20157 else
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161 cat >conftest.$ac_ext <<_ACEOF
20162 /* confdefs.h. */
20163 _ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 $ac_includes_default
20168 typedef int ac__type_sizeof_;
20169 int
20170 main ()
20171 {
20172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20173 test_array [0] = 0
20174
20175 ;
20176 return 0;
20177 }
20178 _ACEOF
20179 rm -f conftest.$ac_objext
20180 if { (ac_try="$ac_compile"
20181 case "(($ac_try" in
20182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20183 *) ac_try_echo=$ac_try;;
20184 esac
20185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20186 (eval "$ac_compile") 2>conftest.er1
20187 ac_status=$?
20188 grep -v '^ *+' conftest.er1 >conftest.err
20189 rm -f conftest.er1
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } && {
20193 test -z "$ac_c_werror_flag" ||
20194 test ! -s conftest.err
20195 } && test -s conftest.$ac_objext; then
20196 ac_hi=-1 ac_mid=-1
20197 while :; do
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h. */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 $ac_includes_default
20205 typedef int ac__type_sizeof_;
20206 int
20207 main ()
20208 {
20209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20210 test_array [0] = 0
20211
20212 ;
20213 return 0;
20214 }
20215 _ACEOF
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20221 esac
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_lo=$ac_mid; break
20234 else
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20237
20238 ac_hi=`expr '(' $ac_mid ')' - 1`
20239 if test $ac_mid -le $ac_hi; then
20240 ac_lo= ac_hi=
20241 break
20242 fi
20243 ac_mid=`expr 2 '*' $ac_mid`
20244 fi
20245
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 done
20248 else
20249 echo "$as_me: failed program was:" >&5
20250 sed 's/^/| /' conftest.$ac_ext >&5
20251
20252 ac_lo= ac_hi=
20253 fi
20254
20255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 # Binary search between lo and hi bounds.
20260 while test "x$ac_lo" != "x$ac_hi"; do
20261 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20269 typedef int ac__type_sizeof_;
20270 int
20271 main ()
20272 {
20273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20274 test_array [0] = 0
20275
20276 ;
20277 return 0;
20278 }
20279 _ACEOF
20280 rm -f conftest.$ac_objext
20281 if { (ac_try="$ac_compile"
20282 case "(($ac_try" in
20283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20285 esac
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_compile") 2>conftest.er1
20288 ac_status=$?
20289 grep -v '^ *+' conftest.er1 >conftest.err
20290 rm -f conftest.er1
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && {
20294 test -z "$ac_c_werror_flag" ||
20295 test ! -s conftest.err
20296 } && test -s conftest.$ac_objext; then
20297 ac_hi=$ac_mid
20298 else
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20301
20302 ac_lo=`expr '(' $ac_mid ')' + 1`
20303 fi
20304
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20306 done
20307 case $ac_lo in
20308 ?*) ac_cv_sizeof_int=$ac_lo;;
20309 '') if test "$ac_cv_type_int" = yes; then
20310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20311 See \`config.log' for more details." >&5
20312 echo "$as_me: error: cannot compute sizeof (int)
20313 See \`config.log' for more details." >&2;}
20314 { (exit 77); exit 77; }; }
20315 else
20316 ac_cv_sizeof_int=0
20317 fi ;;
20318 esac
20319 else
20320 cat >conftest.$ac_ext <<_ACEOF
20321 /* confdefs.h. */
20322 _ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 $ac_includes_default
20327 typedef int ac__type_sizeof_;
20328 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20329 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20330 #include <stdio.h>
20331 #include <stdlib.h>
20332 int
20333 main ()
20334 {
20335
20336 FILE *f = fopen ("conftest.val", "w");
20337 if (! f)
20338 return 1;
20339 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20340 {
20341 long int i = longval ();
20342 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20343 return 1;
20344 fprintf (f, "%ld\n", i);
20345 }
20346 else
20347 {
20348 unsigned long int i = ulongval ();
20349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20350 return 1;
20351 fprintf (f, "%lu\n", i);
20352 }
20353 return ferror (f) || fclose (f) != 0;
20354
20355 ;
20356 return 0;
20357 }
20358 _ACEOF
20359 rm -f conftest$ac_exeext
20360 if { (ac_try="$ac_link"
20361 case "(($ac_try" in
20362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363 *) ac_try_echo=$ac_try;;
20364 esac
20365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20366 (eval "$ac_link") 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20376 ac_status=$?
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; }; then
20379 ac_cv_sizeof_int=`cat conftest.val`
20380 else
20381 echo "$as_me: program exited with status $ac_status" >&5
20382 echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.$ac_ext >&5
20384
20385 ( exit $ac_status )
20386 if test "$ac_cv_type_int" = yes; then
20387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20388 See \`config.log' for more details." >&5
20389 echo "$as_me: error: cannot compute sizeof (int)
20390 See \`config.log' for more details." >&2;}
20391 { (exit 77); exit 77; }; }
20392 else
20393 ac_cv_sizeof_int=0
20394 fi
20395 fi
20396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20397 fi
20398 rm -f conftest.val
20399 fi
20400 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20401 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20402
20403
20404
20405 cat >>confdefs.h <<_ACEOF
20406 #define SIZEOF_INT $ac_cv_sizeof_int
20407 _ACEOF
20408
20409
20410 { echo "$as_me:$LINENO: checking for long" >&5
20411 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20412 if test "${ac_cv_type_long+set}" = set; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 else
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_new_;
20423 int
20424 main ()
20425 {
20426 if ((ac__type_new_ *) 0)
20427 return 0;
20428 if (sizeof (ac__type_new_))
20429 return 0;
20430 ;
20431 return 0;
20432 }
20433 _ACEOF
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
20436 case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_compile") 2>conftest.er1
20442 ac_status=$?
20443 grep -v '^ *+' conftest.er1 >conftest.err
20444 rm -f conftest.er1
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20451 ac_cv_type_long=yes
20452 else
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20455
20456 ac_cv_type_long=no
20457 fi
20458
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20460 fi
20461 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20462 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20463
20464 # The cast to long int works around a bug in the HP C Compiler
20465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20467 # This bug is HP SR number 8606223364.
20468 { echo "$as_me:$LINENO: checking size of long" >&5
20469 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20470 if test "${ac_cv_sizeof_long+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 else
20473 if test "$cross_compiling" = yes; then
20474 # Depending upon the size, compute the lo and hi bounds.
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 $ac_includes_default
20482 typedef long ac__type_sizeof_;
20483 int
20484 main ()
20485 {
20486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20487 test_array [0] = 0
20488
20489 ;
20490 return 0;
20491 }
20492 _ACEOF
20493 rm -f conftest.$ac_objext
20494 if { (ac_try="$ac_compile"
20495 case "(($ac_try" in
20496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20497 *) ac_try_echo=$ac_try;;
20498 esac
20499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20500 (eval "$ac_compile") 2>conftest.er1
20501 ac_status=$?
20502 grep -v '^ *+' conftest.er1 >conftest.err
20503 rm -f conftest.er1
20504 cat conftest.err >&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); } && {
20507 test -z "$ac_c_werror_flag" ||
20508 test ! -s conftest.err
20509 } && test -s conftest.$ac_objext; then
20510 ac_lo=0 ac_mid=0
20511 while :; do
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 typedef long ac__type_sizeof_;
20520 int
20521 main ()
20522 {
20523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20524 test_array [0] = 0
20525
20526 ;
20527 return 0;
20528 }
20529 _ACEOF
20530 rm -f conftest.$ac_objext
20531 if { (ac_try="$ac_compile"
20532 case "(($ac_try" in
20533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20534 *) ac_try_echo=$ac_try;;
20535 esac
20536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20537 (eval "$ac_compile") 2>conftest.er1
20538 ac_status=$?
20539 grep -v '^ *+' conftest.er1 >conftest.err
20540 rm -f conftest.er1
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } && {
20544 test -z "$ac_c_werror_flag" ||
20545 test ! -s conftest.err
20546 } && test -s conftest.$ac_objext; then
20547 ac_hi=$ac_mid; break
20548 else
20549 echo "$as_me: failed program was:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5
20551
20552 ac_lo=`expr $ac_mid + 1`
20553 if test $ac_lo -le $ac_mid; then
20554 ac_lo= ac_hi=
20555 break
20556 fi
20557 ac_mid=`expr 2 '*' $ac_mid + 1`
20558 fi
20559
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 done
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 cat >conftest.$ac_ext <<_ACEOF
20567 /* confdefs.h. */
20568 _ACEOF
20569 cat confdefs.h >>conftest.$ac_ext
20570 cat >>conftest.$ac_ext <<_ACEOF
20571 /* end confdefs.h. */
20572 $ac_includes_default
20573 typedef long ac__type_sizeof_;
20574 int
20575 main ()
20576 {
20577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20578 test_array [0] = 0
20579
20580 ;
20581 return 0;
20582 }
20583 _ACEOF
20584 rm -f conftest.$ac_objext
20585 if { (ac_try="$ac_compile"
20586 case "(($ac_try" in
20587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20588 *) ac_try_echo=$ac_try;;
20589 esac
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_compile") 2>conftest.er1
20592 ac_status=$?
20593 grep -v '^ *+' conftest.er1 >conftest.err
20594 rm -f conftest.er1
20595 cat conftest.err >&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } && {
20598 test -z "$ac_c_werror_flag" ||
20599 test ! -s conftest.err
20600 } && test -s conftest.$ac_objext; then
20601 ac_hi=-1 ac_mid=-1
20602 while :; do
20603 cat >conftest.$ac_ext <<_ACEOF
20604 /* confdefs.h. */
20605 _ACEOF
20606 cat confdefs.h >>conftest.$ac_ext
20607 cat >>conftest.$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609 $ac_includes_default
20610 typedef long ac__type_sizeof_;
20611 int
20612 main ()
20613 {
20614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20615 test_array [0] = 0
20616
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20626 esac
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 ac_lo=$ac_mid; break
20639 else
20640 echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20642
20643 ac_hi=`expr '(' $ac_mid ')' - 1`
20644 if test $ac_mid -le $ac_hi; then
20645 ac_lo= ac_hi=
20646 break
20647 fi
20648 ac_mid=`expr 2 '*' $ac_mid`
20649 fi
20650
20651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20652 done
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20656
20657 ac_lo= ac_hi=
20658 fi
20659
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20661 fi
20662
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 # Binary search between lo and hi bounds.
20665 while test "x$ac_lo" != "x$ac_hi"; do
20666 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h. */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20674 typedef long ac__type_sizeof_;
20675 int
20676 main ()
20677 {
20678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20679 test_array [0] = 0
20680
20681 ;
20682 return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20690 esac
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20693 ac_status=$?
20694 grep -v '^ *+' conftest.er1 >conftest.err
20695 rm -f conftest.er1
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.$ac_objext; then
20702 ac_hi=$ac_mid
20703 else
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707 ac_lo=`expr '(' $ac_mid ')' + 1`
20708 fi
20709
20710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20711 done
20712 case $ac_lo in
20713 ?*) ac_cv_sizeof_long=$ac_lo;;
20714 '') if test "$ac_cv_type_long" = yes; then
20715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20716 See \`config.log' for more details." >&5
20717 echo "$as_me: error: cannot compute sizeof (long)
20718 See \`config.log' for more details." >&2;}
20719 { (exit 77); exit 77; }; }
20720 else
20721 ac_cv_sizeof_long=0
20722 fi ;;
20723 esac
20724 else
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20732 typedef long ac__type_sizeof_;
20733 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20734 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20735 #include <stdio.h>
20736 #include <stdlib.h>
20737 int
20738 main ()
20739 {
20740
20741 FILE *f = fopen ("conftest.val", "w");
20742 if (! f)
20743 return 1;
20744 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20745 {
20746 long int i = longval ();
20747 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20748 return 1;
20749 fprintf (f, "%ld\n", i);
20750 }
20751 else
20752 {
20753 unsigned long int i = ulongval ();
20754 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20755 return 1;
20756 fprintf (f, "%lu\n", i);
20757 }
20758 return ferror (f) || fclose (f) != 0;
20759
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest$ac_exeext
20765 if { (ac_try="$ac_link"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20769 esac
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_link") 2>&5
20772 ac_status=$?
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_sizeof_long=`cat conftest.val`
20785 else
20786 echo "$as_me: program exited with status $ac_status" >&5
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20789
20790 ( exit $ac_status )
20791 if test "$ac_cv_type_long" = yes; then
20792 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20793 See \`config.log' for more details." >&5
20794 echo "$as_me: error: cannot compute sizeof (long)
20795 See \`config.log' for more details." >&2;}
20796 { (exit 77); exit 77; }; }
20797 else
20798 ac_cv_sizeof_long=0
20799 fi
20800 fi
20801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20802 fi
20803 rm -f conftest.val
20804 fi
20805 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20806 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20807
20808
20809
20810 cat >>confdefs.h <<_ACEOF
20811 #define SIZEOF_LONG $ac_cv_sizeof_long
20812 _ACEOF
20813
20814
20815 { echo "$as_me:$LINENO: checking for size_t" >&5
20816 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20817 if test "${ac_cv_type_size_t+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 else
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_new_;
20828 int
20829 main ()
20830 {
20831 if ((ac__type_new_ *) 0)
20832 return 0;
20833 if (sizeof (ac__type_new_))
20834 return 0;
20835 ;
20836 return 0;
20837 }
20838 _ACEOF
20839 rm -f conftest.$ac_objext
20840 if { (ac_try="$ac_compile"
20841 case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20844 esac
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_compile") 2>conftest.er1
20847 ac_status=$?
20848 grep -v '^ *+' conftest.er1 >conftest.err
20849 rm -f conftest.er1
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && {
20853 test -z "$ac_c_werror_flag" ||
20854 test ! -s conftest.err
20855 } && test -s conftest.$ac_objext; then
20856 ac_cv_type_size_t=yes
20857 else
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20860
20861 ac_cv_type_size_t=no
20862 fi
20863
20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20865 fi
20866 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20867 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20868
20869 # The cast to long int works around a bug in the HP C Compiler
20870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20872 # This bug is HP SR number 8606223364.
20873 { echo "$as_me:$LINENO: checking size of size_t" >&5
20874 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20875 if test "${ac_cv_sizeof_size_t+set}" = set; then
20876 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 else
20878 if test "$cross_compiling" = yes; then
20879 # Depending upon the size, compute the lo and hi bounds.
20880 cat >conftest.$ac_ext <<_ACEOF
20881 /* confdefs.h. */
20882 _ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20887 typedef size_t ac__type_sizeof_;
20888 int
20889 main ()
20890 {
20891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20892 test_array [0] = 0
20893
20894 ;
20895 return 0;
20896 }
20897 _ACEOF
20898 rm -f conftest.$ac_objext
20899 if { (ac_try="$ac_compile"
20900 case "(($ac_try" in
20901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20902 *) ac_try_echo=$ac_try;;
20903 esac
20904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20905 (eval "$ac_compile") 2>conftest.er1
20906 ac_status=$?
20907 grep -v '^ *+' conftest.er1 >conftest.err
20908 rm -f conftest.er1
20909 cat conftest.err >&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); } && {
20912 test -z "$ac_c_werror_flag" ||
20913 test ! -s conftest.err
20914 } && test -s conftest.$ac_objext; then
20915 ac_lo=0 ac_mid=0
20916 while :; do
20917 cat >conftest.$ac_ext <<_ACEOF
20918 /* confdefs.h. */
20919 _ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 $ac_includes_default
20924 typedef size_t ac__type_sizeof_;
20925 int
20926 main ()
20927 {
20928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20929 test_array [0] = 0
20930
20931 ;
20932 return 0;
20933 }
20934 _ACEOF
20935 rm -f conftest.$ac_objext
20936 if { (ac_try="$ac_compile"
20937 case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20940 esac
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_compile") 2>conftest.er1
20943 ac_status=$?
20944 grep -v '^ *+' conftest.er1 >conftest.err
20945 rm -f conftest.er1
20946 cat conftest.err >&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } && {
20949 test -z "$ac_c_werror_flag" ||
20950 test ! -s conftest.err
20951 } && test -s conftest.$ac_objext; then
20952 ac_hi=$ac_mid; break
20953 else
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.$ac_ext >&5
20956
20957 ac_lo=`expr $ac_mid + 1`
20958 if test $ac_lo -le $ac_mid; then
20959 ac_lo= ac_hi=
20960 break
20961 fi
20962 ac_mid=`expr 2 '*' $ac_mid + 1`
20963 fi
20964
20965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20966 done
20967 else
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20970
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20978 typedef size_t ac__type_sizeof_;
20979 int
20980 main ()
20981 {
20982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20983 test_array [0] = 0
20984
20985 ;
20986 return 0;
20987 }
20988 _ACEOF
20989 rm -f conftest.$ac_objext
20990 if { (ac_try="$ac_compile"
20991 case "(($ac_try" in
20992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20994 esac
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_compile") 2>conftest.er1
20997 ac_status=$?
20998 grep -v '^ *+' conftest.er1 >conftest.err
20999 rm -f conftest.er1
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } && {
21003 test -z "$ac_c_werror_flag" ||
21004 test ! -s conftest.err
21005 } && test -s conftest.$ac_objext; then
21006 ac_hi=-1 ac_mid=-1
21007 while :; do
21008 cat >conftest.$ac_ext <<_ACEOF
21009 /* confdefs.h. */
21010 _ACEOF
21011 cat confdefs.h >>conftest.$ac_ext
21012 cat >>conftest.$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21014 $ac_includes_default
21015 typedef size_t ac__type_sizeof_;
21016 int
21017 main ()
21018 {
21019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21020 test_array [0] = 0
21021
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21031 esac
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_lo=$ac_mid; break
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_hi=`expr '(' $ac_mid ')' - 1`
21049 if test $ac_mid -le $ac_hi; then
21050 ac_lo= ac_hi=
21051 break
21052 fi
21053 ac_mid=`expr 2 '*' $ac_mid`
21054 fi
21055
21056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21057 done
21058 else
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21061
21062 ac_lo= ac_hi=
21063 fi
21064
21065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21066 fi
21067
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069 # Binary search between lo and hi bounds.
21070 while test "x$ac_lo" != "x$ac_hi"; do
21071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21072 cat >conftest.$ac_ext <<_ACEOF
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 $ac_includes_default
21079 typedef size_t ac__type_sizeof_;
21080 int
21081 main ()
21082 {
21083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21084 test_array [0] = 0
21085
21086 ;
21087 return 0;
21088 }
21089 _ACEOF
21090 rm -f conftest.$ac_objext
21091 if { (ac_try="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21095 esac
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21098 ac_status=$?
21099 grep -v '^ *+' conftest.er1 >conftest.err
21100 rm -f conftest.er1
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.$ac_objext; then
21107 ac_hi=$ac_mid
21108 else
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21111
21112 ac_lo=`expr '(' $ac_mid ')' + 1`
21113 fi
21114
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21116 done
21117 case $ac_lo in
21118 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21119 '') if test "$ac_cv_type_size_t" = yes; then
21120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21121 See \`config.log' for more details." >&5
21122 echo "$as_me: error: cannot compute sizeof (size_t)
21123 See \`config.log' for more details." >&2;}
21124 { (exit 77); exit 77; }; }
21125 else
21126 ac_cv_sizeof_size_t=0
21127 fi ;;
21128 esac
21129 else
21130 cat >conftest.$ac_ext <<_ACEOF
21131 /* confdefs.h. */
21132 _ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 $ac_includes_default
21137 typedef size_t ac__type_sizeof_;
21138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21140 #include <stdio.h>
21141 #include <stdlib.h>
21142 int
21143 main ()
21144 {
21145
21146 FILE *f = fopen ("conftest.val", "w");
21147 if (! f)
21148 return 1;
21149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21150 {
21151 long int i = longval ();
21152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21153 return 1;
21154 fprintf (f, "%ld\n", i);
21155 }
21156 else
21157 {
21158 unsigned long int i = ulongval ();
21159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21160 return 1;
21161 fprintf (f, "%lu\n", i);
21162 }
21163 return ferror (f) || fclose (f) != 0;
21164
21165 ;
21166 return 0;
21167 }
21168 _ACEOF
21169 rm -f conftest$ac_exeext
21170 if { (ac_try="$ac_link"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_link") 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21186 ac_status=$?
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; }; then
21189 ac_cv_sizeof_size_t=`cat conftest.val`
21190 else
21191 echo "$as_me: program exited with status $ac_status" >&5
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21194
21195 ( exit $ac_status )
21196 if test "$ac_cv_type_size_t" = yes; then
21197 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21198 See \`config.log' for more details." >&5
21199 echo "$as_me: error: cannot compute sizeof (size_t)
21200 See \`config.log' for more details." >&2;}
21201 { (exit 77); exit 77; }; }
21202 else
21203 ac_cv_sizeof_size_t=0
21204 fi
21205 fi
21206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21207 fi
21208 rm -f conftest.val
21209 fi
21210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21211 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21212
21213
21214
21215 cat >>confdefs.h <<_ACEOF
21216 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21217 _ACEOF
21218
21219
21220
21221 case "${host}" in
21222 arm-*-linux* )
21223 { echo "$as_me:$LINENO: checking for long long" >&5
21224 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21225 if test "${ac_cv_type_long_long+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 else
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_new_;
21236 int
21237 main ()
21238 {
21239 if ((ac__type_new_ *) 0)
21240 return 0;
21241 if (sizeof (ac__type_new_))
21242 return 0;
21243 ;
21244 return 0;
21245 }
21246 _ACEOF
21247 rm -f conftest.$ac_objext
21248 if { (ac_try="$ac_compile"
21249 case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21252 esac
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_compile") 2>conftest.er1
21255 ac_status=$?
21256 grep -v '^ *+' conftest.er1 >conftest.err
21257 rm -f conftest.er1
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } && {
21261 test -z "$ac_c_werror_flag" ||
21262 test ! -s conftest.err
21263 } && test -s conftest.$ac_objext; then
21264 ac_cv_type_long_long=yes
21265 else
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21268
21269 ac_cv_type_long_long=no
21270 fi
21271
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273 fi
21274 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21275 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21276
21277 # The cast to long int works around a bug in the HP C Compiler
21278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21280 # This bug is HP SR number 8606223364.
21281 { echo "$as_me:$LINENO: checking size of long long" >&5
21282 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21283 if test "${ac_cv_sizeof_long_long+set}" = set; then
21284 echo $ECHO_N "(cached) $ECHO_C" >&6
21285 else
21286 if test "$cross_compiling" = yes; then
21287 # Depending upon the size, compute the lo and hi bounds.
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef long long ac__type_sizeof_;
21296 int
21297 main ()
21298 {
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21300 test_array [0] = 0
21301
21302 ;
21303 return 0;
21304 }
21305 _ACEOF
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21311 esac
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21314 ac_status=$?
21315 grep -v '^ *+' conftest.er1 >conftest.err
21316 rm -f conftest.er1
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21323 ac_lo=0 ac_mid=0
21324 while :; do
21325 cat >conftest.$ac_ext <<_ACEOF
21326 /* confdefs.h. */
21327 _ACEOF
21328 cat confdefs.h >>conftest.$ac_ext
21329 cat >>conftest.$ac_ext <<_ACEOF
21330 /* end confdefs.h. */
21331 $ac_includes_default
21332 typedef long long ac__type_sizeof_;
21333 int
21334 main ()
21335 {
21336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21337 test_array [0] = 0
21338
21339 ;
21340 return 0;
21341 }
21342 _ACEOF
21343 rm -f conftest.$ac_objext
21344 if { (ac_try="$ac_compile"
21345 case "(($ac_try" in
21346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21347 *) ac_try_echo=$ac_try;;
21348 esac
21349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21350 (eval "$ac_compile") 2>conftest.er1
21351 ac_status=$?
21352 grep -v '^ *+' conftest.er1 >conftest.err
21353 rm -f conftest.er1
21354 cat conftest.err >&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } && {
21357 test -z "$ac_c_werror_flag" ||
21358 test ! -s conftest.err
21359 } && test -s conftest.$ac_objext; then
21360 ac_hi=$ac_mid; break
21361 else
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5
21364
21365 ac_lo=`expr $ac_mid + 1`
21366 if test $ac_lo -le $ac_mid; then
21367 ac_lo= ac_hi=
21368 break
21369 fi
21370 ac_mid=`expr 2 '*' $ac_mid + 1`
21371 fi
21372
21373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21374 done
21375 else
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21378
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef long long ac__type_sizeof_;
21387 int
21388 main ()
21389 {
21390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21391 test_array [0] = 0
21392
21393 ;
21394 return 0;
21395 }
21396 _ACEOF
21397 rm -f conftest.$ac_objext
21398 if { (ac_try="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21402 esac
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_compile") 2>conftest.er1
21405 ac_status=$?
21406 grep -v '^ *+' conftest.er1 >conftest.err
21407 rm -f conftest.er1
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && {
21411 test -z "$ac_c_werror_flag" ||
21412 test ! -s conftest.err
21413 } && test -s conftest.$ac_objext; then
21414 ac_hi=-1 ac_mid=-1
21415 while :; do
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21423 typedef long long ac__type_sizeof_;
21424 int
21425 main ()
21426 {
21427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21428 test_array [0] = 0
21429
21430 ;
21431 return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext
21435 if { (ac_try="$ac_compile"
21436 case "(($ac_try" in
21437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21438 *) ac_try_echo=$ac_try;;
21439 esac
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21442 ac_status=$?
21443 grep -v '^ *+' conftest.er1 >conftest.err
21444 rm -f conftest.er1
21445 cat conftest.err >&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.$ac_objext; then
21451 ac_lo=$ac_mid; break
21452 else
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21455
21456 ac_hi=`expr '(' $ac_mid ')' - 1`
21457 if test $ac_mid -le $ac_hi; then
21458 ac_lo= ac_hi=
21459 break
21460 fi
21461 ac_mid=`expr 2 '*' $ac_mid`
21462 fi
21463
21464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465 done
21466 else
21467 echo "$as_me: failed program was:" >&5
21468 sed 's/^/| /' conftest.$ac_ext >&5
21469
21470 ac_lo= ac_hi=
21471 fi
21472
21473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21474 fi
21475
21476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477 # Binary search between lo and hi bounds.
21478 while test "x$ac_lo" != "x$ac_hi"; do
21479 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h. */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 $ac_includes_default
21487 typedef long long ac__type_sizeof_;
21488 int
21489 main ()
21490 {
21491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21492 test_array [0] = 0
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest.$ac_objext
21499 if { (ac_try="$ac_compile"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21503 esac
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_compile") 2>conftest.er1
21506 ac_status=$?
21507 grep -v '^ *+' conftest.er1 >conftest.err
21508 rm -f conftest.er1
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } && {
21512 test -z "$ac_c_werror_flag" ||
21513 test ! -s conftest.err
21514 } && test -s conftest.$ac_objext; then
21515 ac_hi=$ac_mid
21516 else
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21519
21520 ac_lo=`expr '(' $ac_mid ')' + 1`
21521 fi
21522
21523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21524 done
21525 case $ac_lo in
21526 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21527 '') if test "$ac_cv_type_long_long" = yes; then
21528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&5
21530 echo "$as_me: error: cannot compute sizeof (long long)
21531 See \`config.log' for more details." >&2;}
21532 { (exit 77); exit 77; }; }
21533 else
21534 ac_cv_sizeof_long_long=0
21535 fi ;;
21536 esac
21537 else
21538 cat >conftest.$ac_ext <<_ACEOF
21539 /* confdefs.h. */
21540 _ACEOF
21541 cat confdefs.h >>conftest.$ac_ext
21542 cat >>conftest.$ac_ext <<_ACEOF
21543 /* end confdefs.h. */
21544 $ac_includes_default
21545 typedef long long ac__type_sizeof_;
21546 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21547 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21548 #include <stdio.h>
21549 #include <stdlib.h>
21550 int
21551 main ()
21552 {
21553
21554 FILE *f = fopen ("conftest.val", "w");
21555 if (! f)
21556 return 1;
21557 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21558 {
21559 long int i = longval ();
21560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21561 return 1;
21562 fprintf (f, "%ld\n", i);
21563 }
21564 else
21565 {
21566 unsigned long int i = ulongval ();
21567 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21568 return 1;
21569 fprintf (f, "%lu\n", i);
21570 }
21571 return ferror (f) || fclose (f) != 0;
21572
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest$ac_exeext
21578 if { (ac_try="$ac_link"
21579 case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21582 esac
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_link") 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; }; then
21597 ac_cv_sizeof_long_long=`cat conftest.val`
21598 else
21599 echo "$as_me: program exited with status $ac_status" >&5
21600 echo "$as_me: failed program was:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21602
21603 ( exit $ac_status )
21604 if test "$ac_cv_type_long_long" = yes; then
21605 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21606 See \`config.log' for more details." >&5
21607 echo "$as_me: error: cannot compute sizeof (long long)
21608 See \`config.log' for more details." >&2;}
21609 { (exit 77); exit 77; }; }
21610 else
21611 ac_cv_sizeof_long_long=0
21612 fi
21613 fi
21614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21615 fi
21616 rm -f conftest.val
21617 fi
21618 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21619 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21620
21621
21622
21623 cat >>confdefs.h <<_ACEOF
21624 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21625 _ACEOF
21626
21627
21628 ;;
21629 *-hp-hpux* )
21630 { echo "$as_me:$LINENO: checking for long long" >&5
21631 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21632 if test "${ac_cv_type_long_long+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 else
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_new_;
21643 int
21644 main ()
21645 {
21646 if ((ac__type_new_ *) 0)
21647 return 0;
21648 if (sizeof (ac__type_new_))
21649 return 0;
21650 ;
21651 return 0;
21652 }
21653 _ACEOF
21654 rm -f conftest.$ac_objext
21655 if { (ac_try="$ac_compile"
21656 case "(($ac_try" in
21657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21658 *) ac_try_echo=$ac_try;;
21659 esac
21660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21661 (eval "$ac_compile") 2>conftest.er1
21662 ac_status=$?
21663 grep -v '^ *+' conftest.er1 >conftest.err
21664 rm -f conftest.er1
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } && {
21668 test -z "$ac_c_werror_flag" ||
21669 test ! -s conftest.err
21670 } && test -s conftest.$ac_objext; then
21671 ac_cv_type_long_long=yes
21672 else
21673 echo "$as_me: failed program was:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21675
21676 ac_cv_type_long_long=no
21677 fi
21678
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 fi
21681 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21682 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21683
21684 # The cast to long int works around a bug in the HP C Compiler
21685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21687 # This bug is HP SR number 8606223364.
21688 { echo "$as_me:$LINENO: checking size of long long" >&5
21689 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21690 if test "${ac_cv_sizeof_long_long+set}" = set; then
21691 echo $ECHO_N "(cached) $ECHO_C" >&6
21692 else
21693 if test "$cross_compiling" = yes; then
21694 # Depending upon the size, compute the lo and hi bounds.
21695 cat >conftest.$ac_ext <<_ACEOF
21696 /* confdefs.h. */
21697 _ACEOF
21698 cat confdefs.h >>conftest.$ac_ext
21699 cat >>conftest.$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 $ac_includes_default
21702 typedef long long ac__type_sizeof_;
21703 int
21704 main ()
21705 {
21706 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21707 test_array [0] = 0
21708
21709 ;
21710 return 0;
21711 }
21712 _ACEOF
21713 rm -f conftest.$ac_objext
21714 if { (ac_try="$ac_compile"
21715 case "(($ac_try" in
21716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21717 *) ac_try_echo=$ac_try;;
21718 esac
21719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21720 (eval "$ac_compile") 2>conftest.er1
21721 ac_status=$?
21722 grep -v '^ *+' conftest.er1 >conftest.err
21723 rm -f conftest.er1
21724 cat conftest.err >&5
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); } && {
21727 test -z "$ac_c_werror_flag" ||
21728 test ! -s conftest.err
21729 } && test -s conftest.$ac_objext; then
21730 ac_lo=0 ac_mid=0
21731 while :; do
21732 cat >conftest.$ac_ext <<_ACEOF
21733 /* confdefs.h. */
21734 _ACEOF
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21738 $ac_includes_default
21739 typedef long long ac__type_sizeof_;
21740 int
21741 main ()
21742 {
21743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21744 test_array [0] = 0
21745
21746 ;
21747 return 0;
21748 }
21749 _ACEOF
21750 rm -f conftest.$ac_objext
21751 if { (ac_try="$ac_compile"
21752 case "(($ac_try" in
21753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21754 *) ac_try_echo=$ac_try;;
21755 esac
21756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21757 (eval "$ac_compile") 2>conftest.er1
21758 ac_status=$?
21759 grep -v '^ *+' conftest.er1 >conftest.err
21760 rm -f conftest.er1
21761 cat conftest.err >&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } && {
21764 test -z "$ac_c_werror_flag" ||
21765 test ! -s conftest.err
21766 } && test -s conftest.$ac_objext; then
21767 ac_hi=$ac_mid; break
21768 else
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21771
21772 ac_lo=`expr $ac_mid + 1`
21773 if test $ac_lo -le $ac_mid; then
21774 ac_lo= ac_hi=
21775 break
21776 fi
21777 ac_mid=`expr 2 '*' $ac_mid + 1`
21778 fi
21779
21780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21781 done
21782 else
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21785
21786 cat >conftest.$ac_ext <<_ACEOF
21787 /* confdefs.h. */
21788 _ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21792 $ac_includes_default
21793 typedef long long ac__type_sizeof_;
21794 int
21795 main ()
21796 {
21797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21798 test_array [0] = 0
21799
21800 ;
21801 return 0;
21802 }
21803 _ACEOF
21804 rm -f conftest.$ac_objext
21805 if { (ac_try="$ac_compile"
21806 case "(($ac_try" in
21807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21808 *) ac_try_echo=$ac_try;;
21809 esac
21810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21811 (eval "$ac_compile") 2>conftest.er1
21812 ac_status=$?
21813 grep -v '^ *+' conftest.er1 >conftest.err
21814 rm -f conftest.er1
21815 cat conftest.err >&5
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); } && {
21818 test -z "$ac_c_werror_flag" ||
21819 test ! -s conftest.err
21820 } && test -s conftest.$ac_objext; then
21821 ac_hi=-1 ac_mid=-1
21822 while :; do
21823 cat >conftest.$ac_ext <<_ACEOF
21824 /* confdefs.h. */
21825 _ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef long long ac__type_sizeof_;
21831 int
21832 main ()
21833 {
21834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21835 test_array [0] = 0
21836
21837 ;
21838 return 0;
21839 }
21840 _ACEOF
21841 rm -f conftest.$ac_objext
21842 if { (ac_try="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21846 esac
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21849 ac_status=$?
21850 grep -v '^ *+' conftest.er1 >conftest.err
21851 rm -f conftest.er1
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } && {
21855 test -z "$ac_c_werror_flag" ||
21856 test ! -s conftest.err
21857 } && test -s conftest.$ac_objext; then
21858 ac_lo=$ac_mid; break
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21862
21863 ac_hi=`expr '(' $ac_mid ')' - 1`
21864 if test $ac_mid -le $ac_hi; then
21865 ac_lo= ac_hi=
21866 break
21867 fi
21868 ac_mid=`expr 2 '*' $ac_mid`
21869 fi
21870
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 done
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 ac_lo= ac_hi=
21878 fi
21879
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 fi
21882
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884 # Binary search between lo and hi bounds.
21885 while test "x$ac_lo" != "x$ac_hi"; do
21886 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21887 cat >conftest.$ac_ext <<_ACEOF
21888 /* confdefs.h. */
21889 _ACEOF
21890 cat confdefs.h >>conftest.$ac_ext
21891 cat >>conftest.$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21893 $ac_includes_default
21894 typedef long long ac__type_sizeof_;
21895 int
21896 main ()
21897 {
21898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21899 test_array [0] = 0
21900
21901 ;
21902 return 0;
21903 }
21904 _ACEOF
21905 rm -f conftest.$ac_objext
21906 if { (ac_try="$ac_compile"
21907 case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21910 esac
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_compile") 2>conftest.er1
21913 ac_status=$?
21914 grep -v '^ *+' conftest.er1 >conftest.err
21915 rm -f conftest.er1
21916 cat conftest.err >&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } && {
21919 test -z "$ac_c_werror_flag" ||
21920 test ! -s conftest.err
21921 } && test -s conftest.$ac_objext; then
21922 ac_hi=$ac_mid
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21926
21927 ac_lo=`expr '(' $ac_mid ')' + 1`
21928 fi
21929
21930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21931 done
21932 case $ac_lo in
21933 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21934 '') if test "$ac_cv_type_long_long" = yes; then
21935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21936 See \`config.log' for more details." >&5
21937 echo "$as_me: error: cannot compute sizeof (long long)
21938 See \`config.log' for more details." >&2;}
21939 { (exit 77); exit 77; }; }
21940 else
21941 ac_cv_sizeof_long_long=0
21942 fi ;;
21943 esac
21944 else
21945 cat >conftest.$ac_ext <<_ACEOF
21946 /* confdefs.h. */
21947 _ACEOF
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 $ac_includes_default
21952 typedef long long ac__type_sizeof_;
21953 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21954 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21955 #include <stdio.h>
21956 #include <stdlib.h>
21957 int
21958 main ()
21959 {
21960
21961 FILE *f = fopen ("conftest.val", "w");
21962 if (! f)
21963 return 1;
21964 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21965 {
21966 long int i = longval ();
21967 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21968 return 1;
21969 fprintf (f, "%ld\n", i);
21970 }
21971 else
21972 {
21973 unsigned long int i = ulongval ();
21974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21975 return 1;
21976 fprintf (f, "%lu\n", i);
21977 }
21978 return ferror (f) || fclose (f) != 0;
21979
21980 ;
21981 return 0;
21982 }
21983 _ACEOF
21984 rm -f conftest$ac_exeext
21985 if { (ac_try="$ac_link"
21986 case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21989 esac
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_link") 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22001 ac_status=$?
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; }; then
22004 ac_cv_sizeof_long_long=`cat conftest.val`
22005 else
22006 echo "$as_me: program exited with status $ac_status" >&5
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22009
22010 ( exit $ac_status )
22011 if test "$ac_cv_type_long_long" = yes; then
22012 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22013 See \`config.log' for more details." >&5
22014 echo "$as_me: error: cannot compute sizeof (long long)
22015 See \`config.log' for more details." >&2;}
22016 { (exit 77); exit 77; }; }
22017 else
22018 ac_cv_sizeof_long_long=0
22019 fi
22020 fi
22021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22022 fi
22023 rm -f conftest.val
22024 fi
22025 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22026 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22027
22028
22029
22030 cat >>confdefs.h <<_ACEOF
22031 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22032 _ACEOF
22033
22034
22035 if test "$ac_cv_sizeof_long_long" != 0; then
22036 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22037 fi
22038 ;;
22039 * )
22040 { echo "$as_me:$LINENO: checking for long long" >&5
22041 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22042 if test "${ac_cv_type_long_long+set}" = set; then
22043 echo $ECHO_N "(cached) $ECHO_C" >&6
22044 else
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_new_;
22053 int
22054 main ()
22055 {
22056 if ((ac__type_new_ *) 0)
22057 return 0;
22058 if (sizeof (ac__type_new_))
22059 return 0;
22060 ;
22061 return 0;
22062 }
22063 _ACEOF
22064 rm -f conftest.$ac_objext
22065 if { (ac_try="$ac_compile"
22066 case "(($ac_try" in
22067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22068 *) ac_try_echo=$ac_try;;
22069 esac
22070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22071 (eval "$ac_compile") 2>conftest.er1
22072 ac_status=$?
22073 grep -v '^ *+' conftest.er1 >conftest.err
22074 rm -f conftest.er1
22075 cat conftest.err >&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } && {
22078 test -z "$ac_c_werror_flag" ||
22079 test ! -s conftest.err
22080 } && test -s conftest.$ac_objext; then
22081 ac_cv_type_long_long=yes
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 ac_cv_type_long_long=no
22087 fi
22088
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 fi
22091 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22092 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22093
22094 # The cast to long int works around a bug in the HP C Compiler
22095 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22096 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22097 # This bug is HP SR number 8606223364.
22098 { echo "$as_me:$LINENO: checking size of long long" >&5
22099 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22100 if test "${ac_cv_sizeof_long_long+set}" = set; then
22101 echo $ECHO_N "(cached) $ECHO_C" >&6
22102 else
22103 if test "$cross_compiling" = yes; then
22104 # Depending upon the size, compute the lo and hi bounds.
22105 cat >conftest.$ac_ext <<_ACEOF
22106 /* confdefs.h. */
22107 _ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 typedef long long ac__type_sizeof_;
22113 int
22114 main ()
22115 {
22116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22117 test_array [0] = 0
22118
22119 ;
22120 return 0;
22121 }
22122 _ACEOF
22123 rm -f conftest.$ac_objext
22124 if { (ac_try="$ac_compile"
22125 case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22128 esac
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_compile") 2>conftest.er1
22131 ac_status=$?
22132 grep -v '^ *+' conftest.er1 >conftest.err
22133 rm -f conftest.er1
22134 cat conftest.err >&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } && {
22137 test -z "$ac_c_werror_flag" ||
22138 test ! -s conftest.err
22139 } && test -s conftest.$ac_objext; then
22140 ac_lo=0 ac_mid=0
22141 while :; do
22142 cat >conftest.$ac_ext <<_ACEOF
22143 /* confdefs.h. */
22144 _ACEOF
22145 cat confdefs.h >>conftest.$ac_ext
22146 cat >>conftest.$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 $ac_includes_default
22149 typedef long long ac__type_sizeof_;
22150 int
22151 main ()
22152 {
22153 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22154 test_array [0] = 0
22155
22156 ;
22157 return 0;
22158 }
22159 _ACEOF
22160 rm -f conftest.$ac_objext
22161 if { (ac_try="$ac_compile"
22162 case "(($ac_try" in
22163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22164 *) ac_try_echo=$ac_try;;
22165 esac
22166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22167 (eval "$ac_compile") 2>conftest.er1
22168 ac_status=$?
22169 grep -v '^ *+' conftest.er1 >conftest.err
22170 rm -f conftest.er1
22171 cat conftest.err >&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && {
22174 test -z "$ac_c_werror_flag" ||
22175 test ! -s conftest.err
22176 } && test -s conftest.$ac_objext; then
22177 ac_hi=$ac_mid; break
22178 else
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22181
22182 ac_lo=`expr $ac_mid + 1`
22183 if test $ac_lo -le $ac_mid; then
22184 ac_lo= ac_hi=
22185 break
22186 fi
22187 ac_mid=`expr 2 '*' $ac_mid + 1`
22188 fi
22189
22190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22191 done
22192 else
22193 echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22195
22196 cat >conftest.$ac_ext <<_ACEOF
22197 /* confdefs.h. */
22198 _ACEOF
22199 cat confdefs.h >>conftest.$ac_ext
22200 cat >>conftest.$ac_ext <<_ACEOF
22201 /* end confdefs.h. */
22202 $ac_includes_default
22203 typedef long long ac__type_sizeof_;
22204 int
22205 main ()
22206 {
22207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22208 test_array [0] = 0
22209
22210 ;
22211 return 0;
22212 }
22213 _ACEOF
22214 rm -f conftest.$ac_objext
22215 if { (ac_try="$ac_compile"
22216 case "(($ac_try" in
22217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22218 *) ac_try_echo=$ac_try;;
22219 esac
22220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22221 (eval "$ac_compile") 2>conftest.er1
22222 ac_status=$?
22223 grep -v '^ *+' conftest.er1 >conftest.err
22224 rm -f conftest.er1
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } && {
22228 test -z "$ac_c_werror_flag" ||
22229 test ! -s conftest.err
22230 } && test -s conftest.$ac_objext; then
22231 ac_hi=-1 ac_mid=-1
22232 while :; do
22233 cat >conftest.$ac_ext <<_ACEOF
22234 /* confdefs.h. */
22235 _ACEOF
22236 cat confdefs.h >>conftest.$ac_ext
22237 cat >>conftest.$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 $ac_includes_default
22240 typedef long long ac__type_sizeof_;
22241 int
22242 main ()
22243 {
22244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22245 test_array [0] = 0
22246
22247 ;
22248 return 0;
22249 }
22250 _ACEOF
22251 rm -f conftest.$ac_objext
22252 if { (ac_try="$ac_compile"
22253 case "(($ac_try" in
22254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22255 *) ac_try_echo=$ac_try;;
22256 esac
22257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22258 (eval "$ac_compile") 2>conftest.er1
22259 ac_status=$?
22260 grep -v '^ *+' conftest.er1 >conftest.err
22261 rm -f conftest.er1
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && {
22265 test -z "$ac_c_werror_flag" ||
22266 test ! -s conftest.err
22267 } && test -s conftest.$ac_objext; then
22268 ac_lo=$ac_mid; break
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22272
22273 ac_hi=`expr '(' $ac_mid ')' - 1`
22274 if test $ac_mid -le $ac_hi; then
22275 ac_lo= ac_hi=
22276 break
22277 fi
22278 ac_mid=`expr 2 '*' $ac_mid`
22279 fi
22280
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 done
22283 else
22284 echo "$as_me: failed program was:" >&5
22285 sed 's/^/| /' conftest.$ac_ext >&5
22286
22287 ac_lo= ac_hi=
22288 fi
22289
22290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22291 fi
22292
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 # Binary search between lo and hi bounds.
22295 while test "x$ac_lo" != "x$ac_hi"; do
22296 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22297 cat >conftest.$ac_ext <<_ACEOF
22298 /* confdefs.h. */
22299 _ACEOF
22300 cat confdefs.h >>conftest.$ac_ext
22301 cat >>conftest.$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303 $ac_includes_default
22304 typedef long long ac__type_sizeof_;
22305 int
22306 main ()
22307 {
22308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22309 test_array [0] = 0
22310
22311 ;
22312 return 0;
22313 }
22314 _ACEOF
22315 rm -f conftest.$ac_objext
22316 if { (ac_try="$ac_compile"
22317 case "(($ac_try" in
22318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22320 esac
22321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_compile") 2>conftest.er1
22323 ac_status=$?
22324 grep -v '^ *+' conftest.er1 >conftest.err
22325 rm -f conftest.er1
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } && {
22329 test -z "$ac_c_werror_flag" ||
22330 test ! -s conftest.err
22331 } && test -s conftest.$ac_objext; then
22332 ac_hi=$ac_mid
22333 else
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22336
22337 ac_lo=`expr '(' $ac_mid ')' + 1`
22338 fi
22339
22340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22341 done
22342 case $ac_lo in
22343 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22344 '') if test "$ac_cv_type_long_long" = yes; then
22345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22346 See \`config.log' for more details." >&5
22347 echo "$as_me: error: cannot compute sizeof (long long)
22348 See \`config.log' for more details." >&2;}
22349 { (exit 77); exit 77; }; }
22350 else
22351 ac_cv_sizeof_long_long=0
22352 fi ;;
22353 esac
22354 else
22355 cat >conftest.$ac_ext <<_ACEOF
22356 /* confdefs.h. */
22357 _ACEOF
22358 cat confdefs.h >>conftest.$ac_ext
22359 cat >>conftest.$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22361 $ac_includes_default
22362 typedef long long ac__type_sizeof_;
22363 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22364 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22365 #include <stdio.h>
22366 #include <stdlib.h>
22367 int
22368 main ()
22369 {
22370
22371 FILE *f = fopen ("conftest.val", "w");
22372 if (! f)
22373 return 1;
22374 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22375 {
22376 long int i = longval ();
22377 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22378 return 1;
22379 fprintf (f, "%ld\n", i);
22380 }
22381 else
22382 {
22383 unsigned long int i = ulongval ();
22384 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22385 return 1;
22386 fprintf (f, "%lu\n", i);
22387 }
22388 return ferror (f) || fclose (f) != 0;
22389
22390 ;
22391 return 0;
22392 }
22393 _ACEOF
22394 rm -f conftest$ac_exeext
22395 if { (ac_try="$ac_link"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22399 esac
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_link") 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22411 ac_status=$?
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); }; }; then
22414 ac_cv_sizeof_long_long=`cat conftest.val`
22415 else
22416 echo "$as_me: program exited with status $ac_status" >&5
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22419
22420 ( exit $ac_status )
22421 if test "$ac_cv_type_long_long" = yes; then
22422 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22423 See \`config.log' for more details." >&5
22424 echo "$as_me: error: cannot compute sizeof (long long)
22425 See \`config.log' for more details." >&2;}
22426 { (exit 77); exit 77; }; }
22427 else
22428 ac_cv_sizeof_long_long=0
22429 fi
22430 fi
22431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22432 fi
22433 rm -f conftest.val
22434 fi
22435 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22436 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22437
22438
22439
22440 cat >>confdefs.h <<_ACEOF
22441 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22442 _ACEOF
22443
22444
22445 esac
22446
22447 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22448 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22449 if test "${ac_cv_type_wchar_t+set}" = set; then
22450 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 else
22452 cat >conftest.$ac_ext <<_ACEOF
22453 /* confdefs.h. */
22454 _ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458
22459 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22460 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22461 # error "fake wchar_t"
22462 #endif
22463 #ifdef HAVE_WCHAR_H
22464 # ifdef __CYGWIN__
22465 # include <stddef.h>
22466 # endif
22467 # include <wchar.h>
22468 #endif
22469 #ifdef HAVE_STDLIB_H
22470 # include <stdlib.h>
22471 #endif
22472 #include <stdio.h>
22473
22474
22475
22476 typedef wchar_t ac__type_new_;
22477 int
22478 main ()
22479 {
22480 if ((ac__type_new_ *) 0)
22481 return 0;
22482 if (sizeof (ac__type_new_))
22483 return 0;
22484 ;
22485 return 0;
22486 }
22487 _ACEOF
22488 rm -f conftest.$ac_objext
22489 if { (ac_try="$ac_compile"
22490 case "(($ac_try" in
22491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22492 *) ac_try_echo=$ac_try;;
22493 esac
22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495 (eval "$ac_compile") 2>conftest.er1
22496 ac_status=$?
22497 grep -v '^ *+' conftest.er1 >conftest.err
22498 rm -f conftest.er1
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && {
22502 test -z "$ac_c_werror_flag" ||
22503 test ! -s conftest.err
22504 } && test -s conftest.$ac_objext; then
22505 ac_cv_type_wchar_t=yes
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 ac_cv_type_wchar_t=no
22511 fi
22512
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514 fi
22515 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22516 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22517
22518 # The cast to long int works around a bug in the HP C Compiler
22519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22521 # This bug is HP SR number 8606223364.
22522 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22523 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22524 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 else
22527 if test "$cross_compiling" = yes; then
22528 # Depending upon the size, compute the lo and hi bounds.
22529 cat >conftest.$ac_ext <<_ACEOF
22530 /* confdefs.h. */
22531 _ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22535
22536 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22537 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22538 # error "fake wchar_t"
22539 #endif
22540 #ifdef HAVE_WCHAR_H
22541 # ifdef __CYGWIN__
22542 # include <stddef.h>
22543 # endif
22544 # include <wchar.h>
22545 #endif
22546 #ifdef HAVE_STDLIB_H
22547 # include <stdlib.h>
22548 #endif
22549 #include <stdio.h>
22550
22551
22552
22553 typedef wchar_t ac__type_sizeof_;
22554 int
22555 main ()
22556 {
22557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22558 test_array [0] = 0
22559
22560 ;
22561 return 0;
22562 }
22563 _ACEOF
22564 rm -f conftest.$ac_objext
22565 if { (ac_try="$ac_compile"
22566 case "(($ac_try" in
22567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22568 *) ac_try_echo=$ac_try;;
22569 esac
22570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22571 (eval "$ac_compile") 2>conftest.er1
22572 ac_status=$?
22573 grep -v '^ *+' conftest.er1 >conftest.err
22574 rm -f conftest.er1
22575 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && {
22578 test -z "$ac_c_werror_flag" ||
22579 test ! -s conftest.err
22580 } && test -s conftest.$ac_objext; then
22581 ac_lo=0 ac_mid=0
22582 while :; do
22583 cat >conftest.$ac_ext <<_ACEOF
22584 /* confdefs.h. */
22585 _ACEOF
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589
22590 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22591 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22592 # error "fake wchar_t"
22593 #endif
22594 #ifdef HAVE_WCHAR_H
22595 # ifdef __CYGWIN__
22596 # include <stddef.h>
22597 # endif
22598 # include <wchar.h>
22599 #endif
22600 #ifdef HAVE_STDLIB_H
22601 # include <stdlib.h>
22602 #endif
22603 #include <stdio.h>
22604
22605
22606
22607 typedef wchar_t ac__type_sizeof_;
22608 int
22609 main ()
22610 {
22611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22612 test_array [0] = 0
22613
22614 ;
22615 return 0;
22616 }
22617 _ACEOF
22618 rm -f conftest.$ac_objext
22619 if { (ac_try="$ac_compile"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22623 esac
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_compile") 2>conftest.er1
22626 ac_status=$?
22627 grep -v '^ *+' conftest.er1 >conftest.err
22628 rm -f conftest.er1
22629 cat conftest.err >&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } && {
22632 test -z "$ac_c_werror_flag" ||
22633 test ! -s conftest.err
22634 } && test -s conftest.$ac_objext; then
22635 ac_hi=$ac_mid; break
22636 else
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22639
22640 ac_lo=`expr $ac_mid + 1`
22641 if test $ac_lo -le $ac_mid; then
22642 ac_lo= ac_hi=
22643 break
22644 fi
22645 ac_mid=`expr 2 '*' $ac_mid + 1`
22646 fi
22647
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 done
22650 else
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22653
22654 cat >conftest.$ac_ext <<_ACEOF
22655 /* confdefs.h. */
22656 _ACEOF
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22660
22661 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22662 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22663 # error "fake wchar_t"
22664 #endif
22665 #ifdef HAVE_WCHAR_H
22666 # ifdef __CYGWIN__
22667 # include <stddef.h>
22668 # endif
22669 # include <wchar.h>
22670 #endif
22671 #ifdef HAVE_STDLIB_H
22672 # include <stdlib.h>
22673 #endif
22674 #include <stdio.h>
22675
22676
22677
22678 typedef wchar_t ac__type_sizeof_;
22679 int
22680 main ()
22681 {
22682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22683 test_array [0] = 0
22684
22685 ;
22686 return 0;
22687 }
22688 _ACEOF
22689 rm -f conftest.$ac_objext
22690 if { (ac_try="$ac_compile"
22691 case "(($ac_try" in
22692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22693 *) ac_try_echo=$ac_try;;
22694 esac
22695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22696 (eval "$ac_compile") 2>conftest.er1
22697 ac_status=$?
22698 grep -v '^ *+' conftest.er1 >conftest.err
22699 rm -f conftest.er1
22700 cat conftest.err >&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } && {
22703 test -z "$ac_c_werror_flag" ||
22704 test ! -s conftest.err
22705 } && test -s conftest.$ac_objext; then
22706 ac_hi=-1 ac_mid=-1
22707 while :; do
22708 cat >conftest.$ac_ext <<_ACEOF
22709 /* confdefs.h. */
22710 _ACEOF
22711 cat confdefs.h >>conftest.$ac_ext
22712 cat >>conftest.$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22714
22715 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22717 # error "fake wchar_t"
22718 #endif
22719 #ifdef HAVE_WCHAR_H
22720 # ifdef __CYGWIN__
22721 # include <stddef.h>
22722 # endif
22723 # include <wchar.h>
22724 #endif
22725 #ifdef HAVE_STDLIB_H
22726 # include <stdlib.h>
22727 #endif
22728 #include <stdio.h>
22729
22730
22731
22732 typedef wchar_t ac__type_sizeof_;
22733 int
22734 main ()
22735 {
22736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22737 test_array [0] = 0
22738
22739 ;
22740 return 0;
22741 }
22742 _ACEOF
22743 rm -f conftest.$ac_objext
22744 if { (ac_try="$ac_compile"
22745 case "(($ac_try" in
22746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22747 *) ac_try_echo=$ac_try;;
22748 esac
22749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22750 (eval "$ac_compile") 2>conftest.er1
22751 ac_status=$?
22752 grep -v '^ *+' conftest.er1 >conftest.err
22753 rm -f conftest.er1
22754 cat conftest.err >&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); } && {
22757 test -z "$ac_c_werror_flag" ||
22758 test ! -s conftest.err
22759 } && test -s conftest.$ac_objext; then
22760 ac_lo=$ac_mid; break
22761 else
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22764
22765 ac_hi=`expr '(' $ac_mid ')' - 1`
22766 if test $ac_mid -le $ac_hi; then
22767 ac_lo= ac_hi=
22768 break
22769 fi
22770 ac_mid=`expr 2 '*' $ac_mid`
22771 fi
22772
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774 done
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22778
22779 ac_lo= ac_hi=
22780 fi
22781
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22783 fi
22784
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22786 # Binary search between lo and hi bounds.
22787 while test "x$ac_lo" != "x$ac_hi"; do
22788 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22789 cat >conftest.$ac_ext <<_ACEOF
22790 /* confdefs.h. */
22791 _ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22795
22796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22798 # error "fake wchar_t"
22799 #endif
22800 #ifdef HAVE_WCHAR_H
22801 # ifdef __CYGWIN__
22802 # include <stddef.h>
22803 # endif
22804 # include <wchar.h>
22805 #endif
22806 #ifdef HAVE_STDLIB_H
22807 # include <stdlib.h>
22808 #endif
22809 #include <stdio.h>
22810
22811
22812
22813 typedef wchar_t ac__type_sizeof_;
22814 int
22815 main ()
22816 {
22817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22818 test_array [0] = 0
22819
22820 ;
22821 return 0;
22822 }
22823 _ACEOF
22824 rm -f conftest.$ac_objext
22825 if { (ac_try="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22829 esac
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_c_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest.$ac_objext; then
22841 ac_hi=$ac_mid
22842 else
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22845
22846 ac_lo=`expr '(' $ac_mid ')' + 1`
22847 fi
22848
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22850 done
22851 case $ac_lo in
22852 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22853 '') if test "$ac_cv_type_wchar_t" = yes; then
22854 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22855 See \`config.log' for more details." >&5
22856 echo "$as_me: error: cannot compute sizeof (wchar_t)
22857 See \`config.log' for more details." >&2;}
22858 { (exit 77); exit 77; }; }
22859 else
22860 ac_cv_sizeof_wchar_t=0
22861 fi ;;
22862 esac
22863 else
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h. */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870
22871 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22872 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22873 # error "fake wchar_t"
22874 #endif
22875 #ifdef HAVE_WCHAR_H
22876 # ifdef __CYGWIN__
22877 # include <stddef.h>
22878 # endif
22879 # include <wchar.h>
22880 #endif
22881 #ifdef HAVE_STDLIB_H
22882 # include <stdlib.h>
22883 #endif
22884 #include <stdio.h>
22885
22886
22887
22888 typedef wchar_t ac__type_sizeof_;
22889 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22890 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22891 #include <stdio.h>
22892 #include <stdlib.h>
22893 int
22894 main ()
22895 {
22896
22897 FILE *f = fopen ("conftest.val", "w");
22898 if (! f)
22899 return 1;
22900 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22901 {
22902 long int i = longval ();
22903 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22904 return 1;
22905 fprintf (f, "%ld\n", i);
22906 }
22907 else
22908 {
22909 unsigned long int i = ulongval ();
22910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22911 return 1;
22912 fprintf (f, "%lu\n", i);
22913 }
22914 return ferror (f) || fclose (f) != 0;
22915
22916 ;
22917 return 0;
22918 }
22919 _ACEOF
22920 rm -f conftest$ac_exeext
22921 if { (ac_try="$ac_link"
22922 case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22925 esac
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_link") 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22931 { (case "(($ac_try" in
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 *) ac_try_echo=$ac_try;;
22934 esac
22935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22936 (eval "$ac_try") 2>&5
22937 ac_status=$?
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; }; then
22940 ac_cv_sizeof_wchar_t=`cat conftest.val`
22941 else
22942 echo "$as_me: program exited with status $ac_status" >&5
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.$ac_ext >&5
22945
22946 ( exit $ac_status )
22947 if test "$ac_cv_type_wchar_t" = yes; then
22948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22949 See \`config.log' for more details." >&5
22950 echo "$as_me: error: cannot compute sizeof (wchar_t)
22951 See \`config.log' for more details." >&2;}
22952 { (exit 77); exit 77; }; }
22953 else
22954 ac_cv_sizeof_wchar_t=0
22955 fi
22956 fi
22957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22958 fi
22959 rm -f conftest.val
22960 fi
22961 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22962 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22963
22964
22965
22966 cat >>confdefs.h <<_ACEOF
22967 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22968 _ACEOF
22969
22970
22971 if test "$ac_cv_sizeof_wchar_t" != 0; then
22972 wxUSE_WCHAR_T=yes
22973 else
22974 wxUSE_WCHAR_T=no
22975 fi
22976
22977 { echo "$as_me:$LINENO: checking for va_copy" >&5
22978 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22979 if test "${wx_cv_func_va_copy+set}" = set; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22981 else
22982
22983 ac_ext=cpp
22984 ac_cpp='$CXXCPP $CPPFLAGS'
22985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22988
22989 cat >conftest.$ac_ext <<_ACEOF
22990
22991 #include <stdarg.h>
22992 void foo(char *f, ...)
22993 {
22994 va_list ap1, ap2;
22995 va_start(ap1, f);
22996 va_copy(ap2, ap1);
22997 va_end(ap2);
22998 va_end(ap1);
22999 }
23000 int main()
23001 {
23002 foo("hi", 17);
23003 return 0;
23004 }
23005 _ACEOF
23006 rm -f conftest.$ac_objext conftest$ac_exeext
23007 if { (ac_try="$ac_link"
23008 case "(($ac_try" in
23009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23010 *) ac_try_echo=$ac_try;;
23011 esac
23012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23013 (eval "$ac_link") 2>conftest.er1
23014 ac_status=$?
23015 grep -v '^ *+' conftest.er1 >conftest.err
23016 rm -f conftest.er1
23017 cat conftest.err >&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } && {
23020 test -z "$ac_cxx_werror_flag" ||
23021 test ! -s conftest.err
23022 } && test -s conftest$ac_exeext &&
23023 $as_test_x conftest$ac_exeext; then
23024 wx_cv_func_va_copy=yes
23025 else
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.$ac_ext >&5
23028
23029 wx_cv_func_va_copy=no
23030
23031 fi
23032
23033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23034 conftest$ac_exeext conftest.$ac_ext
23035 ac_ext=c
23036 ac_cpp='$CPP $CPPFLAGS'
23037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23040
23041
23042
23043 fi
23044 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23045 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23046
23047 if test $wx_cv_func_va_copy = "yes"; then
23048 cat >>confdefs.h <<\_ACEOF
23049 #define HAVE_VA_COPY 1
23050 _ACEOF
23051
23052 else
23053 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23054 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23055 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23057 else
23058
23059 if test "$cross_compiling" = yes; then
23060 wx_cv_type_va_list_lvalue=yes
23061
23062 else
23063 cat >conftest.$ac_ext <<_ACEOF
23064
23065 #include <stdarg.h>
23066 int foo(char *f, ...)
23067 {
23068 va_list ap1, ap2;
23069 va_start(ap1, f);
23070 ap2 = ap1;
23071 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23072 return 1;
23073 va_end(ap2);
23074 va_end(ap1);
23075 return 0;
23076 }
23077 int main()
23078 {
23079 return foo("hi", 17);
23080 }
23081 _ACEOF
23082 rm -f conftest$ac_exeext
23083 if { (ac_try="$ac_link"
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_link") 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23093 { (case "(($ac_try" in
23094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23095 *) ac_try_echo=$ac_try;;
23096 esac
23097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23098 (eval "$ac_try") 2>&5
23099 ac_status=$?
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23102 wx_cv_type_va_list_lvalue=yes
23103 else
23104 echo "$as_me: program exited with status $ac_status" >&5
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ( exit $ac_status )
23109 wx_cv_type_va_list_lvalue=no
23110 fi
23111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23112 fi
23113
23114
23115
23116
23117 fi
23118 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23119 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23120
23121 if test $wx_cv_type_va_list_lvalue != "yes"; then
23122 cat >>confdefs.h <<\_ACEOF
23123 #define VA_LIST_IS_ARRAY 1
23124 _ACEOF
23125
23126 fi
23127 fi
23128
23129 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23130
23131 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23132 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23133 if test "${wx_cv_have_variadic_macros+set}" = set; then
23134 echo $ECHO_N "(cached) $ECHO_C" >&6
23135 else
23136
23137 ac_ext=cpp
23138 ac_cpp='$CXXCPP $CPPFLAGS'
23139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142
23143 cat >conftest.$ac_ext <<_ACEOF
23144 /* confdefs.h. */
23145 _ACEOF
23146 cat confdefs.h >>conftest.$ac_ext
23147 cat >>conftest.$ac_ext <<_ACEOF
23148 /* end confdefs.h. */
23149
23150 #include <stdio.h>
23151 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23152
23153 int
23154 main ()
23155 {
23156
23157 test("%s %d %p", "test", 1, 0);
23158
23159
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_cxx_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 wx_cv_have_variadic_macros=yes
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186 wx_cv_have_variadic_macros=no
23187
23188 fi
23189
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196
23197
23198
23199 fi
23200 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23201 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23202
23203 if test $wx_cv_have_variadic_macros = "yes"; then
23204 cat >>confdefs.h <<\_ACEOF
23205 #define HAVE_VARIADIC_MACROS 1
23206 _ACEOF
23207
23208 fi
23209
23210 fi
23211 # Check whether --enable-largefile was given.
23212 if test "${enable_largefile+set}" = set; then
23213 enableval=$enable_largefile;
23214 fi
23215
23216 if test "$enable_largefile" != no; then
23217 wx_largefile=no
23218
23219 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23220 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23221 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23222 echo $ECHO_N "(cached) $ECHO_C" >&6
23223 else
23224
23225 cat >conftest.$ac_ext <<_ACEOF
23226 /* confdefs.h. */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 #define _FILE_OFFSET_BITS 64
23232 #include <sys/types.h>
23233 int
23234 main ()
23235 {
23236 typedef struct {
23237 unsigned int field: sizeof(off_t) == 8;
23238 } wxlf;
23239
23240 ;
23241 return 0;
23242 }
23243 _ACEOF
23244 rm -f conftest.$ac_objext
23245 if { (ac_try="$ac_compile"
23246 case "(($ac_try" in
23247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23248 *) ac_try_echo=$ac_try;;
23249 esac
23250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23251 (eval "$ac_compile") 2>conftest.er1
23252 ac_status=$?
23253 grep -v '^ *+' conftest.er1 >conftest.err
23254 rm -f conftest.er1
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } && {
23258 test -z "$ac_c_werror_flag" ||
23259 test ! -s conftest.err
23260 } && test -s conftest.$ac_objext; then
23261 ac_cv_sys_file_offset_bits=64
23262 else
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23265
23266 ac_cv_sys_file_offset_bits=no
23267 fi
23268
23269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23270
23271
23272 fi
23273 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23274 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23275
23276 if test "$ac_cv_sys_file_offset_bits" != no; then
23277 wx_largefile=yes
23278 cat >>confdefs.h <<_ACEOF
23279 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23280 _ACEOF
23281
23282 fi
23283
23284 if test "x$wx_largefile" != "xyes"; then
23285
23286 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23287 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23288 if test "${ac_cv_sys_large_files+set}" = set; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23290 else
23291
23292 cat >conftest.$ac_ext <<_ACEOF
23293 /* confdefs.h. */
23294 _ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 #define _LARGE_FILES 1
23299 #include <sys/types.h>
23300 int
23301 main ()
23302 {
23303 typedef struct {
23304 unsigned int field: sizeof(off_t) == 8;
23305 } wxlf;
23306
23307 ;
23308 return 0;
23309 }
23310 _ACEOF
23311 rm -f conftest.$ac_objext
23312 if { (ac_try="$ac_compile"
23313 case "(($ac_try" in
23314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23316 esac
23317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_compile") 2>conftest.er1
23319 ac_status=$?
23320 grep -v '^ *+' conftest.er1 >conftest.err
23321 rm -f conftest.er1
23322 cat conftest.err >&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); } && {
23325 test -z "$ac_c_werror_flag" ||
23326 test ! -s conftest.err
23327 } && test -s conftest.$ac_objext; then
23328 ac_cv_sys_large_files=1
23329 else
23330 echo "$as_me: failed program was:" >&5
23331 sed 's/^/| /' conftest.$ac_ext >&5
23332
23333 ac_cv_sys_large_files=no
23334 fi
23335
23336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23337
23338
23339 fi
23340 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23341 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23342
23343 if test "$ac_cv_sys_large_files" != no; then
23344 wx_largefile=yes
23345 cat >>confdefs.h <<_ACEOF
23346 #define _LARGE_FILES $ac_cv_sys_large_files
23347 _ACEOF
23348
23349 fi
23350
23351 fi
23352
23353 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23354 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23355 if test "x$wx_largefile" = "xyes"; then
23356 cat >>confdefs.h <<\_ACEOF
23357 #define HAVE_LARGEFILE_SUPPORT 1
23358 _ACEOF
23359
23360 fi
23361 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23362 echo "${ECHO_T}$wx_largefile" >&6; }
23363 fi
23364
23365
23366 if test "x$wx_largefile" = "xyes"; then
23367 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23369
23370 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23371 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23372 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23373 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23374 echo $ECHO_N "(cached) $ECHO_C" >&6
23375 else
23376
23377 ac_ext=cpp
23378 ac_cpp='$CXXCPP $CPPFLAGS'
23379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23382
23383 cat >conftest.$ac_ext <<_ACEOF
23384 /* confdefs.h. */
23385 _ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389
23390 int
23391 main ()
23392 {
23393
23394 #ifndef __STDC_EXT__
23395 choke me
23396 #endif
23397
23398 ;
23399 return 0;
23400 }
23401 _ACEOF
23402 rm -f conftest.$ac_objext
23403 if { (ac_try="$ac_compile"
23404 case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23407 esac
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23410 ac_status=$?
23411 grep -v '^ *+' conftest.er1 >conftest.err
23412 rm -f conftest.er1
23413 cat conftest.err >&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_cxx_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 wx_cv_STDC_EXT_required=no
23420 else
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23423
23424 wx_cv_STDC_EXT_required=yes
23425
23426 fi
23427
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23429 ac_ext=c
23430 ac_cpp='$CPP $CPPFLAGS'
23431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23434
23435
23436
23437 fi
23438 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23439 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23440 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23441 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23442 fi
23443 fi
23444 else
23445 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23446 fi
23447 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23448 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23449 if test "${ac_cv_sys_largefile_source+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 else
23452 while :; do
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 #include <sys/types.h> /* for off_t */
23460 #include <stdio.h>
23461 int
23462 main ()
23463 {
23464 int (*fp) (FILE *, off_t, int) = fseeko;
23465 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23466 ;
23467 return 0;
23468 }
23469 _ACEOF
23470 rm -f conftest.$ac_objext conftest$ac_exeext
23471 if { (ac_try="$ac_link"
23472 case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23474 *) ac_try_echo=$ac_try;;
23475 esac
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_link") 2>conftest.er1
23478 ac_status=$?
23479 grep -v '^ *+' conftest.er1 >conftest.err
23480 rm -f conftest.er1
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } && {
23484 test -z "$ac_c_werror_flag" ||
23485 test ! -s conftest.err
23486 } && test -s conftest$ac_exeext &&
23487 $as_test_x conftest$ac_exeext; then
23488 ac_cv_sys_largefile_source=no; break
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493
23494 fi
23495
23496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23497 conftest$ac_exeext conftest.$ac_ext
23498 cat >conftest.$ac_ext <<_ACEOF
23499 /* confdefs.h. */
23500 _ACEOF
23501 cat confdefs.h >>conftest.$ac_ext
23502 cat >>conftest.$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23504 #define _LARGEFILE_SOURCE 1
23505 #include <sys/types.h> /* for off_t */
23506 #include <stdio.h>
23507 int
23508 main ()
23509 {
23510 int (*fp) (FILE *, off_t, int) = fseeko;
23511 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23512 ;
23513 return 0;
23514 }
23515 _ACEOF
23516 rm -f conftest.$ac_objext conftest$ac_exeext
23517 if { (ac_try="$ac_link"
23518 case "(($ac_try" in
23519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23520 *) ac_try_echo=$ac_try;;
23521 esac
23522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23523 (eval "$ac_link") 2>conftest.er1
23524 ac_status=$?
23525 grep -v '^ *+' conftest.er1 >conftest.err
23526 rm -f conftest.er1
23527 cat conftest.err >&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } && {
23530 test -z "$ac_c_werror_flag" ||
23531 test ! -s conftest.err
23532 } && test -s conftest$ac_exeext &&
23533 $as_test_x conftest$ac_exeext; then
23534 ac_cv_sys_largefile_source=1; break
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23538
23539
23540 fi
23541
23542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23543 conftest$ac_exeext conftest.$ac_ext
23544 ac_cv_sys_largefile_source=unknown
23545 break
23546 done
23547 fi
23548 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23549 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23550 case $ac_cv_sys_largefile_source in #(
23551 no | unknown) ;;
23552 *)
23553 cat >>confdefs.h <<_ACEOF
23554 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23555 _ACEOF
23556 ;;
23557 esac
23558 rm -f conftest*
23559
23560 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23561 # in glibc 2.1.3, but that breaks too many other things.
23562 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23563 if test $ac_cv_sys_largefile_source != unknown; then
23564
23565 cat >>confdefs.h <<\_ACEOF
23566 #define HAVE_FSEEKO 1
23567 _ACEOF
23568
23569 fi
23570
23571 if test "$ac_cv_sys_largefile_source" != no; then
23572 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23573 fi
23574 fi
23575
23576 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23577 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23578 if test "${ac_cv_c_bigendian+set}" = set; then
23579 echo $ECHO_N "(cached) $ECHO_C" >&6
23580 else
23581 ac_cv_c_bigendian=unknown
23582 # See if sys/param.h defines the BYTE_ORDER macro.
23583 cat >conftest.$ac_ext <<_ACEOF
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 #include <sys/types.h>
23590 #include <sys/param.h>
23591 int
23592 main ()
23593 {
23594
23595 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23596 bogus endian macros
23597 #endif
23598 ;
23599 return 0;
23600 }
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (ac_try="$ac_compile"
23604 case "(($ac_try" in
23605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23606 *) ac_try_echo=$ac_try;;
23607 esac
23608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23610 ac_status=$?
23611 grep -v '^ *+' conftest.er1 >conftest.err
23612 rm -f conftest.er1
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23619 # It does; now see whether it defined to BIG_ENDIAN or not.
23620 cat >conftest.$ac_ext <<_ACEOF
23621 /* confdefs.h. */
23622 _ACEOF
23623 cat confdefs.h >>conftest.$ac_ext
23624 cat >>conftest.$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23626 #include <sys/types.h>
23627 #include <sys/param.h>
23628 int
23629 main ()
23630 {
23631
23632 #if BYTE_ORDER != BIG_ENDIAN
23633 not big endian
23634 #endif
23635 ;
23636 return 0;
23637 }
23638 _ACEOF
23639 rm -f conftest.$ac_objext
23640 if { (ac_try="$ac_compile"
23641 case "(($ac_try" in
23642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23643 *) ac_try_echo=$ac_try;;
23644 esac
23645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23646 (eval "$ac_compile") 2>conftest.er1
23647 ac_status=$?
23648 grep -v '^ *+' conftest.er1 >conftest.err
23649 rm -f conftest.er1
23650 cat conftest.err >&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } && {
23653 test -z "$ac_c_werror_flag" ||
23654 test ! -s conftest.err
23655 } && test -s conftest.$ac_objext; then
23656 ac_cv_c_bigendian=yes
23657 else
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23660
23661 ac_cv_c_bigendian=no
23662 fi
23663
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669
23670 fi
23671
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 if test $ac_cv_c_bigendian = unknown; then
23674 if test "$cross_compiling" = yes; then
23675 ac_cv_c_bigendian=unknown
23676 else
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 main () {
23684 /* Are we little or big endian? From Harbison&Steele. */
23685 union
23686 {
23687 long l;
23688 char c[sizeof (long)];
23689 } u;
23690 u.l = 1;
23691 exit (u.c[sizeof (long) - 1] == 1);
23692 }
23693 _ACEOF
23694 rm -f conftest$ac_exeext
23695 if { (ac_try="$ac_link"
23696 case "(($ac_try" in
23697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23698 *) ac_try_echo=$ac_try;;
23699 esac
23700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23701 (eval "$ac_link") 2>&5
23702 ac_status=$?
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23705 { (case "(($ac_try" in
23706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23708 esac
23709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_try") 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23714 ac_cv_c_bigendian=no
23715 else
23716 echo "$as_me: program exited with status $ac_status" >&5
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23719
23720 ( exit $ac_status )
23721 ac_cv_c_bigendian=yes
23722 fi
23723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23724 fi
23725
23726
23727 fi
23728 fi
23729 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23730 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23731 if test $ac_cv_c_bigendian = unknown; then
23732 { 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
23733 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;}
23734 fi
23735 if test $ac_cv_c_bigendian = yes; then
23736 cat >>confdefs.h <<\_ACEOF
23737 #define WORDS_BIGENDIAN 1
23738 _ACEOF
23739
23740 fi
23741
23742
23743
23744
23745 ac_ext=cpp
23746 ac_cpp='$CXXCPP $CPPFLAGS'
23747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23750
23751
23752
23753 for ac_header in iostream
23754 do
23755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767
23768
23769 #include <$ac_header>
23770 _ACEOF
23771 rm -f conftest.$ac_objext
23772 if { (ac_try="$ac_compile"
23773 case "(($ac_try" in
23774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23775 *) ac_try_echo=$ac_try;;
23776 esac
23777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23778 (eval "$ac_compile") 2>conftest.er1
23779 ac_status=$?
23780 grep -v '^ *+' conftest.er1 >conftest.err
23781 rm -f conftest.er1
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } && {
23785 test -z "$ac_cxx_werror_flag" ||
23786 test ! -s conftest.err
23787 } && test -s conftest.$ac_objext; then
23788 eval "$as_ac_Header=yes"
23789 else
23790 echo "$as_me: failed program was:" >&5
23791 sed 's/^/| /' conftest.$ac_ext >&5
23792
23793 eval "$as_ac_Header=no"
23794 fi
23795
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797 fi
23798 ac_res=`eval echo '${'$as_ac_Header'}'`
23799 { echo "$as_me:$LINENO: result: $ac_res" >&5
23800 echo "${ECHO_T}$ac_res" >&6; }
23801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23802 cat >>confdefs.h <<_ACEOF
23803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23804 _ACEOF
23805
23806 fi
23807
23808 done
23809
23810
23811 if test "$ac_cv_header_iostream" = "yes" ; then
23812 :
23813 else
23814 cat >>confdefs.h <<\_ACEOF
23815 #define wxUSE_IOSTREAMH 1
23816 _ACEOF
23817
23818 fi
23819
23820 ac_ext=c
23821 ac_cpp='$CPP $CPPFLAGS'
23822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23825
23826
23827
23828
23829 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23830 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23831 if test "${wx_cv_cpp_bool+set}" = set; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23833 else
23834
23835
23836 ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841
23842
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h. */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849
23850
23851 int
23852 main ()
23853 {
23854
23855 bool b = true;
23856
23857 return 0;
23858
23859 ;
23860 return 0;
23861 }
23862 _ACEOF
23863 rm -f conftest.$ac_objext
23864 if { (ac_try="$ac_compile"
23865 case "(($ac_try" in
23866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23867 *) ac_try_echo=$ac_try;;
23868 esac
23869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23870 (eval "$ac_compile") 2>conftest.er1
23871 ac_status=$?
23872 grep -v '^ *+' conftest.er1 >conftest.err
23873 rm -f conftest.er1
23874 cat conftest.err >&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); } && {
23877 test -z "$ac_cxx_werror_flag" ||
23878 test ! -s conftest.err
23879 } && test -s conftest.$ac_objext; then
23880
23881 wx_cv_cpp_bool=yes
23882
23883 else
23884 echo "$as_me: failed program was:" >&5
23885 sed 's/^/| /' conftest.$ac_ext >&5
23886
23887
23888 wx_cv_cpp_bool=no
23889
23890
23891 fi
23892
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894
23895 ac_ext=c
23896 ac_cpp='$CPP $CPPFLAGS'
23897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23900
23901
23902 fi
23903 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23904 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23905
23906 if test "$wx_cv_cpp_bool" = "yes"; then
23907 cat >>confdefs.h <<\_ACEOF
23908 #define HAVE_BOOL 1
23909 _ACEOF
23910
23911 fi
23912
23913
23914
23915 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23916 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23917 if test "${wx_cv_explicit+set}" = set; then
23918 echo $ECHO_N "(cached) $ECHO_C" >&6
23919 else
23920
23921
23922 ac_ext=cpp
23923 ac_cpp='$CXXCPP $CPPFLAGS'
23924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23927
23928
23929 cat >conftest.$ac_ext <<_ACEOF
23930 /* confdefs.h. */
23931 _ACEOF
23932 cat confdefs.h >>conftest.$ac_ext
23933 cat >>conftest.$ac_ext <<_ACEOF
23934 /* end confdefs.h. */
23935
23936 class Foo { public: explicit Foo(int) {} };
23937
23938 int
23939 main ()
23940 {
23941
23942 return 0;
23943
23944 ;
23945 return 0;
23946 }
23947 _ACEOF
23948 rm -f conftest.$ac_objext
23949 if { (ac_try="$ac_compile"
23950 case "(($ac_try" in
23951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23952 *) ac_try_echo=$ac_try;;
23953 esac
23954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23955 (eval "$ac_compile") 2>conftest.er1
23956 ac_status=$?
23957 grep -v '^ *+' conftest.er1 >conftest.err
23958 rm -f conftest.er1
23959 cat conftest.err >&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } && {
23962 test -z "$ac_cxx_werror_flag" ||
23963 test ! -s conftest.err
23964 } && test -s conftest.$ac_objext; then
23965
23966 cat >conftest.$ac_ext <<_ACEOF
23967 /* confdefs.h. */
23968 _ACEOF
23969 cat confdefs.h >>conftest.$ac_ext
23970 cat >>conftest.$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23972
23973 class Foo { public: explicit Foo(int) {} };
23974 static void TakeFoo(const Foo& foo) { }
23975
23976 int
23977 main ()
23978 {
23979
23980 TakeFoo(17);
23981 return 0;
23982
23983 ;
23984 return 0;
23985 }
23986 _ACEOF
23987 rm -f conftest.$ac_objext
23988 if { (ac_try="$ac_compile"
23989 case "(($ac_try" in
23990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23991 *) ac_try_echo=$ac_try;;
23992 esac
23993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23994 (eval "$ac_compile") 2>conftest.er1
23995 ac_status=$?
23996 grep -v '^ *+' conftest.er1 >conftest.err
23997 rm -f conftest.er1
23998 cat conftest.err >&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } && {
24001 test -z "$ac_cxx_werror_flag" ||
24002 test ! -s conftest.err
24003 } && test -s conftest.$ac_objext; then
24004 wx_cv_explicit=no
24005 else
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.$ac_ext >&5
24008
24009 wx_cv_explicit=yes
24010
24011 fi
24012
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 wx_cv_explicit=no
24020
24021 fi
24022
24023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24024
24025 ac_ext=c
24026 ac_cpp='$CPP $CPPFLAGS'
24027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24030
24031
24032 fi
24033 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24034 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24035
24036 if test "$wx_cv_explicit" = "yes"; then
24037 cat >>confdefs.h <<\_ACEOF
24038 #define HAVE_EXPLICIT 1
24039 _ACEOF
24040
24041 fi
24042
24043
24044 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24045 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24046 if test "${ac_cv_cxx_const_cast+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 else
24049
24050 ac_ext=cpp
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24055
24056 cat >conftest.$ac_ext <<_ACEOF
24057 /* confdefs.h. */
24058 _ACEOF
24059 cat confdefs.h >>conftest.$ac_ext
24060 cat >>conftest.$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24062
24063 int
24064 main ()
24065 {
24066 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24067 ;
24068 return 0;
24069 }
24070 _ACEOF
24071 rm -f conftest.$ac_objext
24072 if { (ac_try="$ac_compile"
24073 case "(($ac_try" in
24074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24075 *) ac_try_echo=$ac_try;;
24076 esac
24077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24078 (eval "$ac_compile") 2>conftest.er1
24079 ac_status=$?
24080 grep -v '^ *+' conftest.er1 >conftest.err
24081 rm -f conftest.er1
24082 cat conftest.err >&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } && {
24085 test -z "$ac_cxx_werror_flag" ||
24086 test ! -s conftest.err
24087 } && test -s conftest.$ac_objext; then
24088 ac_cv_cxx_const_cast=yes
24089 else
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.$ac_ext >&5
24092
24093 ac_cv_cxx_const_cast=no
24094 fi
24095
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24102
24103
24104 fi
24105 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24106 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24107 if test "$ac_cv_cxx_const_cast" = yes; then
24108
24109 cat >>confdefs.h <<\_ACEOF
24110 #define HAVE_CONST_CAST
24111 _ACEOF
24112
24113 fi
24114
24115 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24116 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24117 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24118 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 else
24120
24121 ac_ext=cpp
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24126
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 #include <typeinfo>
24134 class Base { public : Base () {} virtual void f () = 0;};
24135 class Derived : public Base { public : Derived () {} virtual void f () {} };
24136 class Unrelated { public : Unrelated () {} };
24137 int g (Unrelated&) { return 0; }
24138 int
24139 main ()
24140 {
24141
24142 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24143 ;
24144 return 0;
24145 }
24146 _ACEOF
24147 rm -f conftest.$ac_objext
24148 if { (ac_try="$ac_compile"
24149 case "(($ac_try" in
24150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24151 *) ac_try_echo=$ac_try;;
24152 esac
24153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24154 (eval "$ac_compile") 2>conftest.er1
24155 ac_status=$?
24156 grep -v '^ *+' conftest.er1 >conftest.err
24157 rm -f conftest.er1
24158 cat conftest.err >&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); } && {
24161 test -z "$ac_cxx_werror_flag" ||
24162 test ! -s conftest.err
24163 } && test -s conftest.$ac_objext; then
24164 ac_cv_cxx_reinterpret_cast=yes
24165 else
24166 echo "$as_me: failed program was:" >&5
24167 sed 's/^/| /' conftest.$ac_ext >&5
24168
24169 ac_cv_cxx_reinterpret_cast=no
24170 fi
24171
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173 ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24178
24179
24180 fi
24181 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24182 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24183 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24184
24185 cat >>confdefs.h <<\_ACEOF
24186 #define HAVE_REINTERPRET_CAST
24187 _ACEOF
24188
24189 fi
24190
24191 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24192 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24193 if test "${ac_cv_cxx_static_cast+set}" = set; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 else
24196
24197 ac_ext=cpp
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24202
24203 cat >conftest.$ac_ext <<_ACEOF
24204 /* confdefs.h. */
24205 _ACEOF
24206 cat confdefs.h >>conftest.$ac_ext
24207 cat >>conftest.$ac_ext <<_ACEOF
24208 /* end confdefs.h. */
24209 #include <typeinfo>
24210 class Base { public : Base () {} virtual void f () = 0; };
24211 class Derived : public Base { public : Derived () {} virtual void f () {} };
24212 int g (Derived&) { return 0; }
24213 int
24214 main ()
24215 {
24216
24217 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24218 ;
24219 return 0;
24220 }
24221 _ACEOF
24222 rm -f conftest.$ac_objext
24223 if { (ac_try="$ac_compile"
24224 case "(($ac_try" in
24225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24226 *) ac_try_echo=$ac_try;;
24227 esac
24228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24229 (eval "$ac_compile") 2>conftest.er1
24230 ac_status=$?
24231 grep -v '^ *+' conftest.er1 >conftest.err
24232 rm -f conftest.er1
24233 cat conftest.err >&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } && {
24236 test -z "$ac_cxx_werror_flag" ||
24237 test ! -s conftest.err
24238 } && test -s conftest.$ac_objext; then
24239 ac_cv_cxx_static_cast=yes
24240 else
24241 echo "$as_me: failed program was:" >&5
24242 sed 's/^/| /' conftest.$ac_ext >&5
24243
24244 ac_cv_cxx_static_cast=no
24245 fi
24246
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 ac_ext=c
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24253
24254
24255 fi
24256 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24257 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24258 if test "$ac_cv_cxx_static_cast" = yes; then
24259
24260 cat >>confdefs.h <<\_ACEOF
24261 #define HAVE_STATIC_CAST
24262 _ACEOF
24263
24264 fi
24265
24266
24267 if test "x$SUNCXX" = xyes; then
24268 CXXFLAGS="-features=tmplife $CXXFLAGS"
24269 fi
24270
24271 if test "x$SUNCC" = xyes; then
24272 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24273 fi
24274
24275 if test "x$SGICC" = "xyes"; then
24276 CFLAGS="-woff 3970 $CFLAGS"
24277 fi
24278 if test "x$SGICXX" = "xyes"; then
24279 CXXFLAGS="-woff 3970 $CXXFLAGS"
24280 fi
24281
24282 if test "x$HPCC" = "xyes"; then
24283 CFLAGS="+W 2011,2450 $CFLAGS"
24284 fi
24285 if test "x$HPCXX" = "xyes"; then
24286 CXXFLAGS="+W 2340 $CXXFLAGS"
24287 fi
24288
24289 if test "x$COMPAQCXX" = "xyes"; then
24290 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24291 fi
24292
24293 ac_ext=cpp
24294 ac_cpp='$CXXCPP $CPPFLAGS'
24295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24298
24299
24300 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24301 if test "$wxUSE_UNICODE" = "yes"; then
24302 std_string="std::wstring"
24303 char_type="wchar_t"
24304 else
24305 std_string="std::string"
24306 char_type="char"
24307 fi
24308
24309 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24310 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24311 if test "${wx_cv_class_stdstring+set}" = set; then
24312 echo $ECHO_N "(cached) $ECHO_C" >&6
24313 else
24314
24315 cat >conftest.$ac_ext <<_ACEOF
24316 /* confdefs.h. */
24317 _ACEOF
24318 cat confdefs.h >>conftest.$ac_ext
24319 cat >>conftest.$ac_ext <<_ACEOF
24320 /* end confdefs.h. */
24321 #include <string>
24322 int
24323 main ()
24324 {
24325 $std_string foo;
24326 ;
24327 return 0;
24328 }
24329 _ACEOF
24330 rm -f conftest.$ac_objext
24331 if { (ac_try="$ac_compile"
24332 case "(($ac_try" in
24333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24334 *) ac_try_echo=$ac_try;;
24335 esac
24336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24337 (eval "$ac_compile") 2>conftest.er1
24338 ac_status=$?
24339 grep -v '^ *+' conftest.er1 >conftest.err
24340 rm -f conftest.er1
24341 cat conftest.err >&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); } && {
24344 test -z "$ac_cxx_werror_flag" ||
24345 test ! -s conftest.err
24346 } && test -s conftest.$ac_objext; then
24347 wx_cv_class_stdstring=yes
24348 else
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24351
24352 wx_cv_class_stdstring=no
24353
24354 fi
24355
24356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24357
24358
24359 fi
24360 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24361 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24362
24363 if test "$wx_cv_class_stdstring" = yes; then
24364 if test "$wxUSE_UNICODE" = "yes"; then
24365 cat >>confdefs.h <<\_ACEOF
24366 #define HAVE_STD_WSTRING 1
24367 _ACEOF
24368
24369 fi
24370 else
24371 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24372 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24373 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24375 else
24376
24377 cat >conftest.$ac_ext <<_ACEOF
24378 /* confdefs.h. */
24379 _ACEOF
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24383
24384 #ifdef HAVE_WCHAR_H
24385 # ifdef __CYGWIN__
24386 # include <stddef.h>
24387 # endif
24388 # include <wchar.h>
24389 #endif
24390 #ifdef HAVE_STDLIB_H
24391 # include <stdlib.h>
24392 #endif
24393 #include <stdio.h>
24394 #include <string>
24395
24396 int
24397 main ()
24398 {
24399 std::basic_string<$char_type> foo;
24400 const $char_type* dummy = foo.c_str();
24401 ;
24402 return 0;
24403 }
24404 _ACEOF
24405 rm -f conftest.$ac_objext
24406 if { (ac_try="$ac_compile"
24407 case "(($ac_try" in
24408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24409 *) ac_try_echo=$ac_try;;
24410 esac
24411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24412 (eval "$ac_compile") 2>conftest.er1
24413 ac_status=$?
24414 grep -v '^ *+' conftest.er1 >conftest.err
24415 rm -f conftest.er1
24416 cat conftest.err >&5
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); } && {
24419 test -z "$ac_cxx_werror_flag" ||
24420 test ! -s conftest.err
24421 } && test -s conftest.$ac_objext; then
24422 wx_cv_class_stdbasicstring=yes
24423 else
24424 echo "$as_me: failed program was:" >&5
24425 sed 's/^/| /' conftest.$ac_ext >&5
24426
24427 wx_cv_class_stdbasicstring=no
24428
24429 fi
24430
24431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24432
24433
24434 fi
24435 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24436 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24437
24438 if test "$wx_cv_class_stdbasicstring" != yes; then
24439 if test "$wxUSE_STL" = "yes"; then
24440 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24441 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24442 { (exit 1); exit 1; }; }
24443 elif test "$wxUSE_STD_STRING" = "yes"; then
24444 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24445 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24446 { (exit 1); exit 1; }; }
24447 else
24448 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24449 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24450 wxUSE_STD_STRING=no
24451 fi
24452 fi
24453 fi
24454 fi
24455
24456 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24457 { echo "$as_me:$LINENO: checking for std::istream" >&5
24458 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24459 if test "${ac_cv_type_std__istream+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24461 else
24462 cat >conftest.$ac_ext <<_ACEOF
24463 /* confdefs.h. */
24464 _ACEOF
24465 cat confdefs.h >>conftest.$ac_ext
24466 cat >>conftest.$ac_ext <<_ACEOF
24467 /* end confdefs.h. */
24468 #include <iostream>
24469
24470 typedef std::istream ac__type_new_;
24471 int
24472 main ()
24473 {
24474 if ((ac__type_new_ *) 0)
24475 return 0;
24476 if (sizeof (ac__type_new_))
24477 return 0;
24478 ;
24479 return 0;
24480 }
24481 _ACEOF
24482 rm -f conftest.$ac_objext
24483 if { (ac_try="$ac_compile"
24484 case "(($ac_try" in
24485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24486 *) ac_try_echo=$ac_try;;
24487 esac
24488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24489 (eval "$ac_compile") 2>conftest.er1
24490 ac_status=$?
24491 grep -v '^ *+' conftest.er1 >conftest.err
24492 rm -f conftest.er1
24493 cat conftest.err >&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } && {
24496 test -z "$ac_cxx_werror_flag" ||
24497 test ! -s conftest.err
24498 } && test -s conftest.$ac_objext; then
24499 ac_cv_type_std__istream=yes
24500 else
24501 echo "$as_me: failed program was:" >&5
24502 sed 's/^/| /' conftest.$ac_ext >&5
24503
24504 ac_cv_type_std__istream=no
24505 fi
24506
24507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24508 fi
24509 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24510 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24511 if test $ac_cv_type_std__istream = yes; then
24512
24513 cat >>confdefs.h <<_ACEOF
24514 #define HAVE_STD__ISTREAM 1
24515 _ACEOF
24516
24517
24518 else
24519 wxUSE_STD_IOSTREAM=no
24520 fi
24521 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24522 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24523 if test "${ac_cv_type_std__ostream+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24526 cat >conftest.$ac_ext <<_ACEOF
24527 /* confdefs.h. */
24528 _ACEOF
24529 cat confdefs.h >>conftest.$ac_ext
24530 cat >>conftest.$ac_ext <<_ACEOF
24531 /* end confdefs.h. */
24532 #include <iostream>
24533
24534 typedef std::ostream ac__type_new_;
24535 int
24536 main ()
24537 {
24538 if ((ac__type_new_ *) 0)
24539 return 0;
24540 if (sizeof (ac__type_new_))
24541 return 0;
24542 ;
24543 return 0;
24544 }
24545 _ACEOF
24546 rm -f conftest.$ac_objext
24547 if { (ac_try="$ac_compile"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24551 esac
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_compile") 2>conftest.er1
24554 ac_status=$?
24555 grep -v '^ *+' conftest.er1 >conftest.err
24556 rm -f conftest.er1
24557 cat conftest.err >&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_cxx_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest.$ac_objext; then
24563 ac_cv_type_std__ostream=yes
24564 else
24565 echo "$as_me: failed program was:" >&5
24566 sed 's/^/| /' conftest.$ac_ext >&5
24567
24568 ac_cv_type_std__ostream=no
24569 fi
24570
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572 fi
24573 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24574 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24575 if test $ac_cv_type_std__ostream = yes; then
24576
24577 cat >>confdefs.h <<_ACEOF
24578 #define HAVE_STD__OSTREAM 1
24579 _ACEOF
24580
24581
24582 else
24583 wxUSE_STD_IOSTREAM=no
24584 fi
24585
24586
24587 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24588 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24589 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24590 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24591 { (exit 1); exit 1; }; }
24592 else
24593 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24594 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24595 fi
24596 fi
24597 fi
24598
24599 if test "$wxUSE_STL" = "yes"; then
24600 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24601 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24602 if test "${wx_cv_lib_stl+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 else
24605 cat >conftest.$ac_ext <<_ACEOF
24606 /* confdefs.h. */
24607 _ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611 #include <string>
24612 #include <functional>
24613 #include <algorithm>
24614 #include <vector>
24615 #include <list>
24616 int
24617 main ()
24618 {
24619 std::vector<int> moo;
24620 std::list<int> foo;
24621 std::vector<int>::iterator it =
24622 std::find_if(moo.begin(), moo.end(),
24623 std::bind2nd(std::less<int>(), 3));
24624 ;
24625 return 0;
24626 }
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24633 esac
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24636 ac_status=$?
24637 grep -v '^ *+' conftest.er1 >conftest.err
24638 rm -f conftest.er1
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24645 wx_cv_lib_stl=yes
24646 else
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24649
24650 wx_cv_lib_stl=no
24651
24652 fi
24653
24654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655
24656 fi
24657 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24658 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24659
24660 if test "$wx_cv_lib_stl" != yes; then
24661 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24662 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24663 { (exit 1); exit 1; }; }
24664 fi
24665
24666 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24667 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24668 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24670 else
24671 cat >conftest.$ac_ext <<_ACEOF
24672 /* confdefs.h. */
24673 _ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24677 #include <string>
24678 int
24679 main ()
24680 {
24681 std::string foo, bar;
24682 foo.compare(bar);
24683 foo.compare(1, 1, bar);
24684 foo.compare(1, 1, bar, 1, 1);
24685 foo.compare("");
24686 foo.compare(1, 1, "");
24687 foo.compare(1, 1, "", 2);
24688 ;
24689 return 0;
24690 }
24691 _ACEOF
24692 rm -f conftest.$ac_objext
24693 if { (ac_try="$ac_compile"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24697 esac
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_compile") 2>conftest.er1
24700 ac_status=$?
24701 grep -v '^ *+' conftest.er1 >conftest.err
24702 rm -f conftest.er1
24703 cat conftest.err >&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); } && {
24706 test -z "$ac_cxx_werror_flag" ||
24707 test ! -s conftest.err
24708 } && test -s conftest.$ac_objext; then
24709 wx_cv_func_stdstring_compare=yes
24710 else
24711 echo "$as_me: failed program was:" >&5
24712 sed 's/^/| /' conftest.$ac_ext >&5
24713
24714 wx_cv_func_stdstring_compare=no
24715
24716 fi
24717
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24719
24720 fi
24721 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24722 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24723
24724 if test "$wx_cv_func_stdstring_compare" = yes; then
24725 cat >>confdefs.h <<\_ACEOF
24726 #define HAVE_STD_STRING_COMPARE 1
24727 _ACEOF
24728
24729 fi
24730
24731 if test "$wx_cv_class_gnuhashmapset" = yes; then
24732 cat >>confdefs.h <<\_ACEOF
24733 #define HAVE_EXT_HASH_MAP 1
24734 _ACEOF
24735
24736 cat >>confdefs.h <<\_ACEOF
24737 #define HAVE_GNU_CXX_HASH_MAP 1
24738 _ACEOF
24739
24740 fi
24741
24742 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24743 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24744 if test "${ac_cv_header_unordered_map+set}" = set; then
24745 echo $ECHO_N "(cached) $ECHO_C" >&6
24746 else
24747 cat >conftest.$ac_ext <<_ACEOF
24748 /* confdefs.h. */
24749 _ACEOF
24750 cat confdefs.h >>conftest.$ac_ext
24751 cat >>conftest.$ac_ext <<_ACEOF
24752 /* end confdefs.h. */
24753
24754
24755
24756 #include <unordered_map>
24757 _ACEOF
24758 rm -f conftest.$ac_objext
24759 if { (ac_try="$ac_compile"
24760 case "(($ac_try" in
24761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24762 *) ac_try_echo=$ac_try;;
24763 esac
24764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24765 (eval "$ac_compile") 2>conftest.er1
24766 ac_status=$?
24767 grep -v '^ *+' conftest.er1 >conftest.err
24768 rm -f conftest.er1
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } && {
24772 test -z "$ac_cxx_werror_flag" ||
24773 test ! -s conftest.err
24774 } && test -s conftest.$ac_objext; then
24775 ac_cv_header_unordered_map=yes
24776 else
24777 echo "$as_me: failed program was:" >&5
24778 sed 's/^/| /' conftest.$ac_ext >&5
24779
24780 ac_cv_header_unordered_map=no
24781 fi
24782
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784 fi
24785 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24786 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24787 if test $ac_cv_header_unordered_map = yes; then
24788 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24789 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24790 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24791 echo $ECHO_N "(cached) $ECHO_C" >&6
24792 else
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 #include <unordered_map>
24800 #include <unordered_set>
24801 int
24802 main ()
24803 {
24804 std::unordered_map<double*, char*> test1;
24805 std::unordered_set<char*> test2;
24806 ;
24807 return 0;
24808 }
24809 _ACEOF
24810 rm -f conftest.$ac_objext
24811 if { (ac_try="$ac_compile"
24812 case "(($ac_try" in
24813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24814 *) ac_try_echo=$ac_try;;
24815 esac
24816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24817 (eval "$ac_compile") 2>conftest.er1
24818 ac_status=$?
24819 grep -v '^ *+' conftest.er1 >conftest.err
24820 rm -f conftest.er1
24821 cat conftest.err >&5
24822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24823 (exit $ac_status); } && {
24824 test -z "$ac_cxx_werror_flag" ||
24825 test ! -s conftest.err
24826 } && test -s conftest.$ac_objext; then
24827 wx_cv_class_stdunorderedmapset=yes
24828 else
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24831
24832 wx_cv_class_stdunorderedmapset=no
24833 fi
24834
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836
24837
24838 fi
24839 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24840 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24841 fi
24842
24843
24844
24845 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24846 cat >>confdefs.h <<\_ACEOF
24847 #define HAVE_STD_UNORDERED_MAP 1
24848 _ACEOF
24849
24850 cat >>confdefs.h <<\_ACEOF
24851 #define HAVE_STD_UNORDERED_SET 1
24852 _ACEOF
24853
24854 else
24855 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24856 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24857 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860 cat >conftest.$ac_ext <<_ACEOF
24861 /* confdefs.h. */
24862 _ACEOF
24863 cat confdefs.h >>conftest.$ac_ext
24864 cat >>conftest.$ac_ext <<_ACEOF
24865 /* end confdefs.h. */
24866
24867
24868
24869 #include <tr1/unordered_map>
24870 _ACEOF
24871 rm -f conftest.$ac_objext
24872 if { (ac_try="$ac_compile"
24873 case "(($ac_try" in
24874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24875 *) ac_try_echo=$ac_try;;
24876 esac
24877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24878 (eval "$ac_compile") 2>conftest.er1
24879 ac_status=$?
24880 grep -v '^ *+' conftest.er1 >conftest.err
24881 rm -f conftest.er1
24882 cat conftest.err >&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } && {
24885 test -z "$ac_cxx_werror_flag" ||
24886 test ! -s conftest.err
24887 } && test -s conftest.$ac_objext; then
24888 ac_cv_header_tr1_unordered_map=yes
24889 else
24890 echo "$as_me: failed program was:" >&5
24891 sed 's/^/| /' conftest.$ac_ext >&5
24892
24893 ac_cv_header_tr1_unordered_map=no
24894 fi
24895
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 fi
24898 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24899 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24900 if test $ac_cv_header_tr1_unordered_map = yes; then
24901 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24902 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24903 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24904 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 else
24906 cat >conftest.$ac_ext <<_ACEOF
24907 /* confdefs.h. */
24908 _ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24912 #include <tr1/unordered_map>
24913 #include <tr1/unordered_set>
24914 int
24915 main ()
24916 {
24917 std::tr1::unordered_map<double*, char*> test1;
24918 std::tr1::unordered_set<char*> test2;
24919 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24920 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24921 #endif
24922 ;
24923 return 0;
24924 }
24925 _ACEOF
24926 rm -f conftest.$ac_objext
24927 if { (ac_try="$ac_compile"
24928 case "(($ac_try" in
24929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24930 *) ac_try_echo=$ac_try;;
24931 esac
24932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24933 (eval "$ac_compile") 2>conftest.er1
24934 ac_status=$?
24935 grep -v '^ *+' conftest.er1 >conftest.err
24936 rm -f conftest.er1
24937 cat conftest.err >&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } && {
24940 test -z "$ac_cxx_werror_flag" ||
24941 test ! -s conftest.err
24942 } && test -s conftest.$ac_objext; then
24943 wx_cv_class_tr1unorderedmapset=yes
24944 else
24945 echo "$as_me: failed program was:" >&5
24946 sed 's/^/| /' conftest.$ac_ext >&5
24947
24948 wx_cv_class_tr1unorderedmapset=no
24949 fi
24950
24951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952
24953
24954 fi
24955 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24956 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24957 fi
24958
24959
24960
24961 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24962 cat >>confdefs.h <<\_ACEOF
24963 #define HAVE_TR1_UNORDERED_MAP 1
24964 _ACEOF
24965
24966 cat >>confdefs.h <<\_ACEOF
24967 #define HAVE_TR1_UNORDERED_SET 1
24968 _ACEOF
24969
24970 else
24971 { echo "$as_me:$LINENO: checking for hash_map" >&5
24972 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24973 if test "${ac_cv_header_hash_map+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 else
24976 cat >conftest.$ac_ext <<_ACEOF
24977 /* confdefs.h. */
24978 _ACEOF
24979 cat confdefs.h >>conftest.$ac_ext
24980 cat >>conftest.$ac_ext <<_ACEOF
24981 /* end confdefs.h. */
24982
24983
24984
24985 #include <hash_map>
24986 _ACEOF
24987 rm -f conftest.$ac_objext
24988 if { (ac_try="$ac_compile"
24989 case "(($ac_try" in
24990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24991 *) ac_try_echo=$ac_try;;
24992 esac
24993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24994 (eval "$ac_compile") 2>conftest.er1
24995 ac_status=$?
24996 grep -v '^ *+' conftest.er1 >conftest.err
24997 rm -f conftest.er1
24998 cat conftest.err >&5
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); } && {
25001 test -z "$ac_cxx_werror_flag" ||
25002 test ! -s conftest.err
25003 } && test -s conftest.$ac_objext; then
25004 ac_cv_header_hash_map=yes
25005 else
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25008
25009 ac_cv_header_hash_map=no
25010 fi
25011
25012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25013 fi
25014 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25015 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25016 if test $ac_cv_header_hash_map = yes; then
25017 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25018 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25019 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25020 echo $ECHO_N "(cached) $ECHO_C" >&6
25021 else
25022 cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h. */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25028 #include <hash_map>
25029 #include <hash_set>
25030 int
25031 main ()
25032 {
25033 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25034 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25035 ;
25036 return 0;
25037 }
25038 _ACEOF
25039 rm -f conftest.$ac_objext
25040 if { (ac_try="$ac_compile"
25041 case "(($ac_try" in
25042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25043 *) ac_try_echo=$ac_try;;
25044 esac
25045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25046 (eval "$ac_compile") 2>conftest.er1
25047 ac_status=$?
25048 grep -v '^ *+' conftest.er1 >conftest.err
25049 rm -f conftest.er1
25050 cat conftest.err >&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } && {
25053 test -z "$ac_cxx_werror_flag" ||
25054 test ! -s conftest.err
25055 } && test -s conftest.$ac_objext; then
25056 wx_cv_class_stdhashmapset=yes
25057 else
25058 echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.$ac_ext >&5
25060
25061 wx_cv_class_stdhashmapset=no
25062 fi
25063
25064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25065
25066
25067 fi
25068 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25069 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25070 fi
25071
25072
25073
25074 if test "$wx_cv_class_stdhashmapset" = yes; then
25075 cat >>confdefs.h <<\_ACEOF
25076 #define HAVE_HASH_MAP 1
25077 _ACEOF
25078
25079 cat >>confdefs.h <<\_ACEOF
25080 #define HAVE_STD_HASH_MAP 1
25081 _ACEOF
25082
25083 fi
25084
25085 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25086 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25087 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 cat >conftest.$ac_ext <<_ACEOF
25091 /* confdefs.h. */
25092 _ACEOF
25093 cat confdefs.h >>conftest.$ac_ext
25094 cat >>conftest.$ac_ext <<_ACEOF
25095 /* end confdefs.h. */
25096
25097
25098
25099 #include <ext/hash_map>
25100 _ACEOF
25101 rm -f conftest.$ac_objext
25102 if { (ac_try="$ac_compile"
25103 case "(($ac_try" in
25104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25105 *) ac_try_echo=$ac_try;;
25106 esac
25107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25108 (eval "$ac_compile") 2>conftest.er1
25109 ac_status=$?
25110 grep -v '^ *+' conftest.er1 >conftest.err
25111 rm -f conftest.er1
25112 cat conftest.err >&5
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } && {
25115 test -z "$ac_cxx_werror_flag" ||
25116 test ! -s conftest.err
25117 } && test -s conftest.$ac_objext; then
25118 ac_cv_header_ext_hash_map=yes
25119 else
25120 echo "$as_me: failed program was:" >&5
25121 sed 's/^/| /' conftest.$ac_ext >&5
25122
25123 ac_cv_header_ext_hash_map=no
25124 fi
25125
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25127 fi
25128 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25129 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25130 if test $ac_cv_header_ext_hash_map = yes; then
25131 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25132 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25133 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25134 echo $ECHO_N "(cached) $ECHO_C" >&6
25135 else
25136 cat >conftest.$ac_ext <<_ACEOF
25137 /* confdefs.h. */
25138 _ACEOF
25139 cat confdefs.h >>conftest.$ac_ext
25140 cat >>conftest.$ac_ext <<_ACEOF
25141 /* end confdefs.h. */
25142 #include <ext/hash_map>
25143 #include <ext/hash_set>
25144 int
25145 main ()
25146 {
25147 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25148 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25149 ;
25150 return 0;
25151 }
25152 _ACEOF
25153 rm -f conftest.$ac_objext
25154 if { (ac_try="$ac_compile"
25155 case "(($ac_try" in
25156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25157 *) ac_try_echo=$ac_try;;
25158 esac
25159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25160 (eval "$ac_compile") 2>conftest.er1
25161 ac_status=$?
25162 grep -v '^ *+' conftest.er1 >conftest.err
25163 rm -f conftest.er1
25164 cat conftest.err >&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } && {
25167 test -z "$ac_cxx_werror_flag" ||
25168 test ! -s conftest.err
25169 } && test -s conftest.$ac_objext; then
25170 wx_cv_class_gnuhashmapset=yes
25171 else
25172 echo "$as_me: failed program was:" >&5
25173 sed 's/^/| /' conftest.$ac_ext >&5
25174
25175 wx_cv_class_gnuhashmapset=no
25176 fi
25177
25178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25179
25180
25181 fi
25182 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25183 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25184 fi
25185
25186
25187
25188 fi
25189 fi
25190 fi
25191
25192
25193
25194 if test -n "$GCC"; then
25195 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25196 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25197 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25198 echo $ECHO_N "(cached) $ECHO_C" >&6
25199 else
25200
25201 cat >conftest.$ac_ext <<_ACEOF
25202 /* confdefs.h. */
25203 _ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207
25208 int
25209 main ()
25210 {
25211
25212 unsigned int value=0;
25213 /* wxAtomicInc doesn't use return value here */
25214 __sync_fetch_and_add(&value, 2);
25215 __sync_sub_and_fetch(&value, 1);
25216 /* but wxAtomicDec does, so mimic that: */
25217 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25218
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext conftest$ac_exeext
25224 if { (ac_try="$ac_link"
25225 case "(($ac_try" in
25226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25227 *) ac_try_echo=$ac_try;;
25228 esac
25229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25230 (eval "$ac_link") 2>conftest.er1
25231 ac_status=$?
25232 grep -v '^ *+' conftest.er1 >conftest.err
25233 rm -f conftest.er1
25234 cat conftest.err >&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } && {
25237 test -z "$ac_cxx_werror_flag" ||
25238 test ! -s conftest.err
25239 } && test -s conftest$ac_exeext &&
25240 $as_test_x conftest$ac_exeext; then
25241 wx_cv_cc_gcc_atomic_builtins=yes
25242 else
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.$ac_ext >&5
25245
25246 wx_cv_cc_gcc_atomic_builtins=no
25247 fi
25248
25249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25250 conftest$ac_exeext conftest.$ac_ext
25251
25252 fi
25253
25254 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25255 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25256 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25257 cat >>confdefs.h <<\_ACEOF
25258 #define HAVE_GCC_ATOMIC_BUILTINS 1
25259 _ACEOF
25260
25261 fi
25262 fi
25263
25264
25265 ac_ext=c
25266 ac_cpp='$CPP $CPPFLAGS'
25267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25270
25271
25272
25273 SEARCH_INCLUDE="\
25274 /usr/local/include \
25275 /usr/local/X11/include \
25276 /usr/local/include/X11 \
25277 /usr/local/X11R6/include \
25278 /usr/local/include/X11R6 \
25279 \
25280 /usr/Motif-2.1/include \
25281 /usr/Motif-1.2/include \
25282 /usr/include/Motif1.2 \
25283 \
25284 /usr/dt/include \
25285 /usr/openwin/include \
25286 \
25287 /usr/include/Xm \
25288 \
25289 /usr/X11R6/include \
25290 /usr/X11R6.4/include \
25291 \
25292 /usr/include/X11R6 \
25293 \
25294 /usr/X11/include \
25295 /usr/include/X11 \
25296 \
25297 /usr/XFree86/include/X11 \
25298 /usr/pkg/include \
25299 \
25300 /usr/local/X1R5/include \
25301 /usr/local/include/X11R5 \
25302 /usr/X11R5/include \
25303 /usr/include/X11R5 \
25304 \
25305 /usr/local/X11R4/include \
25306 /usr/local/include/X11R4 \
25307 /usr/X11R4/include \
25308 /usr/include/X11R4 \
25309 \
25310 /usr/openwin/share/include"
25311
25312 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25313 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25314
25315 case "${host}" in
25316 *-*-irix6* )
25317 if test "${wx_cv_std_libpath+set}" = set; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 else
25320
25321 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25322 for e in a so sl dylib dll.a; do
25323 libc="$d/libc.$e"
25324 if test -f $libc; then
25325 save_LIBS="$LIBS"
25326 LIBS="$libc"
25327 cat >conftest.$ac_ext <<_ACEOF
25328 int main() { return 0; }
25329 _ACEOF
25330 rm -f conftest.$ac_objext conftest$ac_exeext
25331 if { (ac_try="$ac_link"
25332 case "(($ac_try" in
25333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25334 *) ac_try_echo=$ac_try;;
25335 esac
25336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25337 (eval "$ac_link") 2>conftest.er1
25338 ac_status=$?
25339 grep -v '^ *+' conftest.er1 >conftest.err
25340 rm -f conftest.er1
25341 cat conftest.err >&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } && {
25344 test -z "$ac_c_werror_flag" ||
25345 test ! -s conftest.err
25346 } && test -s conftest$ac_exeext &&
25347 $as_test_x conftest$ac_exeext; then
25348 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25349 else
25350 echo "$as_me: failed program was:" >&5
25351 sed 's/^/| /' conftest.$ac_ext >&5
25352
25353
25354 fi
25355
25356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25357 conftest$ac_exeext conftest.$ac_ext
25358 LIBS="$save_LIBS"
25359 if test "x$wx_cv_std_libpath" != "x"; then
25360 break 2
25361 fi
25362 fi
25363 done
25364 done
25365 if test "x$wx_cv_std_libpath" = "x"; then
25366 wx_cv_std_libpath="lib"
25367 fi
25368
25369
25370 fi
25371
25372 ;;
25373
25374 *-*-solaris2* )
25375 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25376 wx_cv_std_libpath="lib/64"
25377 else
25378 wx_cv_std_libpath="lib"
25379 fi
25380 ;;
25381
25382 *-*-linux* )
25383 if test "$ac_cv_sizeof_void_p" = 8 -a \
25384 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25385 wx_cv_std_libpath="lib64"
25386 else
25387 wx_cv_std_libpath="lib"
25388 fi
25389 ;;
25390
25391 *)
25392 wx_cv_std_libpath="lib";
25393 ;;
25394 esac
25395
25396 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25397 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25398
25399 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25400
25401 if test "$build" != "$host" -a "$GCC" = yes; then
25402 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25403 cross_root=`dirname $cross_root`
25404 cross_root=`dirname $cross_root`
25405
25406 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25407 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25408 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25409
25410 if test -z "$PKG_CONFIG_PATH"; then
25411 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25412 export PKG_CONFIG_PATH
25413 fi
25414
25415 if test -z "$x_includes" -o "$x_includes" = NONE; then
25416
25417 ac_find_includes=
25418 for ac_dir in $SEARCH_INCLUDE /usr/include;
25419 do
25420 if test -f "$ac_dir/X11/Intrinsic.h"; then
25421 ac_find_includes=$ac_dir
25422 break
25423 fi
25424 done
25425
25426 x_includes=$ac_find_includes
25427 fi
25428 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25429
25430 ac_find_libraries=
25431 for ac_dir in $SEARCH_LIB;
25432 do
25433 for ac_extension in a so sl dylib dll.a; do
25434 if test -f "$ac_dir/libXt.$ac_extension"; then
25435 ac_find_libraries=$ac_dir
25436 break 2
25437 fi
25438 done
25439 done
25440
25441 x_libraries=$ac_find_libraries
25442 fi
25443 fi
25444 fi
25445
25446
25447 cat >confcache <<\_ACEOF
25448 # This file is a shell script that caches the results of configure
25449 # tests run on this system so they can be shared between configure
25450 # scripts and configure runs, see configure's option --config-cache.
25451 # It is not useful on other systems. If it contains results you don't
25452 # want to keep, you may remove or edit it.
25453 #
25454 # config.status only pays attention to the cache file if you give it
25455 # the --recheck option to rerun configure.
25456 #
25457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25459 # following values.
25460
25461 _ACEOF
25462
25463 # The following way of writing the cache mishandles newlines in values,
25464 # but we know of no workaround that is simple, portable, and efficient.
25465 # So, we kill variables containing newlines.
25466 # Ultrix sh set writes to stderr and can't be redirected directly,
25467 # and sets the high bit in the cache file unless we assign to the vars.
25468 (
25469 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25470 eval ac_val=\$$ac_var
25471 case $ac_val in #(
25472 *${as_nl}*)
25473 case $ac_var in #(
25474 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25475 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25476 esac
25477 case $ac_var in #(
25478 _ | IFS | as_nl) ;; #(
25479 *) $as_unset $ac_var ;;
25480 esac ;;
25481 esac
25482 done
25483
25484 (set) 2>&1 |
25485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25486 *${as_nl}ac_space=\ *)
25487 # `set' does not quote correctly, so add quotes (double-quote
25488 # substitution turns \\\\ into \\, and sed turns \\ into \).
25489 sed -n \
25490 "s/'/'\\\\''/g;
25491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25492 ;; #(
25493 *)
25494 # `set' quotes correctly as required by POSIX, so do not add quotes.
25495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25496 ;;
25497 esac |
25498 sort
25499 ) |
25500 sed '
25501 /^ac_cv_env_/b end
25502 t clear
25503 :clear
25504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25505 t end
25506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25507 :end' >>confcache
25508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25509 if test -w "$cache_file"; then
25510 test "x$cache_file" != "x/dev/null" &&
25511 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25512 echo "$as_me: updating cache $cache_file" >&6;}
25513 cat confcache >$cache_file
25514 else
25515 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25516 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25517 fi
25518 fi
25519 rm -f confcache
25520
25521 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25522 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25523 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25524 if test "${wx_cv_lib_glibc21+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 else
25527
25528 cat >conftest.$ac_ext <<_ACEOF
25529 /* confdefs.h. */
25530 _ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 #include <features.h>
25535 int
25536 main ()
25537 {
25538
25539 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25540 not glibc 2.1
25541 #endif
25542
25543 ;
25544 return 0;
25545 }
25546 _ACEOF
25547 rm -f conftest.$ac_objext
25548 if { (ac_try="$ac_compile"
25549 case "(($ac_try" in
25550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25551 *) ac_try_echo=$ac_try;;
25552 esac
25553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25554 (eval "$ac_compile") 2>conftest.er1
25555 ac_status=$?
25556 grep -v '^ *+' conftest.er1 >conftest.err
25557 rm -f conftest.er1
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } && {
25561 test -z "$ac_c_werror_flag" ||
25562 test ! -s conftest.err
25563 } && test -s conftest.$ac_objext; then
25564
25565 wx_cv_lib_glibc21=yes
25566
25567 else
25568 echo "$as_me: failed program was:" >&5
25569 sed 's/^/| /' conftest.$ac_ext >&5
25570
25571
25572 wx_cv_lib_glibc21=no
25573
25574
25575 fi
25576
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578
25579 fi
25580 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25581 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25582 if test "$wx_cv_lib_glibc21" = "yes"; then
25583 cat >>confdefs.h <<\_ACEOF
25584 #define wxHAVE_GLIBC2 1
25585 _ACEOF
25586
25587 fi
25588 fi
25589
25590 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25591 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25592 cat >>confdefs.h <<\_ACEOF
25593 #define _GNU_SOURCE 1
25594 _ACEOF
25595
25596 fi
25597 fi
25598
25599 have_cos=0
25600 have_floor=0
25601
25602 for ac_func in cos
25603 do
25604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 else
25610 cat >conftest.$ac_ext <<_ACEOF
25611 /* confdefs.h. */
25612 _ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25618 #define $ac_func innocuous_$ac_func
25619
25620 /* System header to define __stub macros and hopefully few prototypes,
25621 which can conflict with char $ac_func (); below.
25622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25623 <limits.h> exists even on freestanding compilers. */
25624
25625 #ifdef __STDC__
25626 # include <limits.h>
25627 #else
25628 # include <assert.h>
25629 #endif
25630
25631 #undef $ac_func
25632
25633 /* Override any GCC internal prototype to avoid an error.
25634 Use char because int might match the return type of a GCC
25635 builtin and then its argument prototype would still apply. */
25636 #ifdef __cplusplus
25637 extern "C"
25638 #endif
25639 char $ac_func ();
25640 /* The GNU C library defines this for functions which it implements
25641 to always fail with ENOSYS. Some functions are actually named
25642 something starting with __ and the normal name is an alias. */
25643 #if defined __stub_$ac_func || defined __stub___$ac_func
25644 choke me
25645 #endif
25646
25647 int
25648 main ()
25649 {
25650 return $ac_func ();
25651 ;
25652 return 0;
25653 }
25654 _ACEOF
25655 rm -f conftest.$ac_objext conftest$ac_exeext
25656 if { (ac_try="$ac_link"
25657 case "(($ac_try" in
25658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659 *) ac_try_echo=$ac_try;;
25660 esac
25661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662 (eval "$ac_link") 2>conftest.er1
25663 ac_status=$?
25664 grep -v '^ *+' conftest.er1 >conftest.err
25665 rm -f conftest.er1
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_c_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest$ac_exeext &&
25672 $as_test_x conftest$ac_exeext; then
25673 eval "$as_ac_var=yes"
25674 else
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.$ac_ext >&5
25677
25678 eval "$as_ac_var=no"
25679 fi
25680
25681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25682 conftest$ac_exeext conftest.$ac_ext
25683 fi
25684 ac_res=`eval echo '${'$as_ac_var'}'`
25685 { echo "$as_me:$LINENO: result: $ac_res" >&5
25686 echo "${ECHO_T}$ac_res" >&6; }
25687 if test `eval echo '${'$as_ac_var'}'` = yes; then
25688 cat >>confdefs.h <<_ACEOF
25689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25690 _ACEOF
25691 have_cos=1
25692 fi
25693 done
25694
25695
25696 for ac_func in floor
25697 do
25698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 else
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25712 #define $ac_func innocuous_$ac_func
25713
25714 /* System header to define __stub macros and hopefully few prototypes,
25715 which can conflict with char $ac_func (); below.
25716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25717 <limits.h> exists even on freestanding compilers. */
25718
25719 #ifdef __STDC__
25720 # include <limits.h>
25721 #else
25722 # include <assert.h>
25723 #endif
25724
25725 #undef $ac_func
25726
25727 /* Override any GCC internal prototype to avoid an error.
25728 Use char because int might match the return type of a GCC
25729 builtin and then its argument prototype would still apply. */
25730 #ifdef __cplusplus
25731 extern "C"
25732 #endif
25733 char $ac_func ();
25734 /* The GNU C library defines this for functions which it implements
25735 to always fail with ENOSYS. Some functions are actually named
25736 something starting with __ and the normal name is an alias. */
25737 #if defined __stub_$ac_func || defined __stub___$ac_func
25738 choke me
25739 #endif
25740
25741 int
25742 main ()
25743 {
25744 return $ac_func ();
25745 ;
25746 return 0;
25747 }
25748 _ACEOF
25749 rm -f conftest.$ac_objext conftest$ac_exeext
25750 if { (ac_try="$ac_link"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25754 esac
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_link") 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_c_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest$ac_exeext &&
25766 $as_test_x conftest$ac_exeext; then
25767 eval "$as_ac_var=yes"
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 eval "$as_ac_var=no"
25773 fi
25774
25775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25776 conftest$ac_exeext conftest.$ac_ext
25777 fi
25778 ac_res=`eval echo '${'$as_ac_var'}'`
25779 { echo "$as_me:$LINENO: result: $ac_res" >&5
25780 echo "${ECHO_T}$ac_res" >&6; }
25781 if test `eval echo '${'$as_ac_var'}'` = yes; then
25782 cat >>confdefs.h <<_ACEOF
25783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25784 _ACEOF
25785 have_floor=1
25786 fi
25787 done
25788
25789 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25790 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25791 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25792 { echo "$as_me:$LINENO: result: yes" >&5
25793 echo "${ECHO_T}yes" >&6; }
25794 else
25795 { echo "$as_me:$LINENO: result: no" >&5
25796 echo "${ECHO_T}no" >&6; }
25797 LIBS="$LIBS -lm"
25798 # use different functions to avoid configure caching
25799 have_sin=0
25800 have_ceil=0
25801
25802 for ac_func in sin
25803 do
25804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25808 echo $ECHO_N "(cached) $ECHO_C" >&6
25809 else
25810 cat >conftest.$ac_ext <<_ACEOF
25811 /* confdefs.h. */
25812 _ACEOF
25813 cat confdefs.h >>conftest.$ac_ext
25814 cat >>conftest.$ac_ext <<_ACEOF
25815 /* end confdefs.h. */
25816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25818 #define $ac_func innocuous_$ac_func
25819
25820 /* System header to define __stub macros and hopefully few prototypes,
25821 which can conflict with char $ac_func (); below.
25822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25823 <limits.h> exists even on freestanding compilers. */
25824
25825 #ifdef __STDC__
25826 # include <limits.h>
25827 #else
25828 # include <assert.h>
25829 #endif
25830
25831 #undef $ac_func
25832
25833 /* Override any GCC internal prototype to avoid an error.
25834 Use char because int might match the return type of a GCC
25835 builtin and then its argument prototype would still apply. */
25836 #ifdef __cplusplus
25837 extern "C"
25838 #endif
25839 char $ac_func ();
25840 /* The GNU C library defines this for functions which it implements
25841 to always fail with ENOSYS. Some functions are actually named
25842 something starting with __ and the normal name is an alias. */
25843 #if defined __stub_$ac_func || defined __stub___$ac_func
25844 choke me
25845 #endif
25846
25847 int
25848 main ()
25849 {
25850 return $ac_func ();
25851 ;
25852 return 0;
25853 }
25854 _ACEOF
25855 rm -f conftest.$ac_objext conftest$ac_exeext
25856 if { (ac_try="$ac_link"
25857 case "(($ac_try" in
25858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25859 *) ac_try_echo=$ac_try;;
25860 esac
25861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25862 (eval "$ac_link") 2>conftest.er1
25863 ac_status=$?
25864 grep -v '^ *+' conftest.er1 >conftest.err
25865 rm -f conftest.er1
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } && {
25869 test -z "$ac_c_werror_flag" ||
25870 test ! -s conftest.err
25871 } && test -s conftest$ac_exeext &&
25872 $as_test_x conftest$ac_exeext; then
25873 eval "$as_ac_var=yes"
25874 else
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25877
25878 eval "$as_ac_var=no"
25879 fi
25880
25881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25882 conftest$ac_exeext conftest.$ac_ext
25883 fi
25884 ac_res=`eval echo '${'$as_ac_var'}'`
25885 { echo "$as_me:$LINENO: result: $ac_res" >&5
25886 echo "${ECHO_T}$ac_res" >&6; }
25887 if test `eval echo '${'$as_ac_var'}'` = yes; then
25888 cat >>confdefs.h <<_ACEOF
25889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25890 _ACEOF
25891 have_sin=1
25892 fi
25893 done
25894
25895
25896 for ac_func in ceil
25897 do
25898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904 cat >conftest.$ac_ext <<_ACEOF
25905 /* confdefs.h. */
25906 _ACEOF
25907 cat confdefs.h >>conftest.$ac_ext
25908 cat >>conftest.$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25912 #define $ac_func innocuous_$ac_func
25913
25914 /* System header to define __stub macros and hopefully few prototypes,
25915 which can conflict with char $ac_func (); below.
25916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25917 <limits.h> exists even on freestanding compilers. */
25918
25919 #ifdef __STDC__
25920 # include <limits.h>
25921 #else
25922 # include <assert.h>
25923 #endif
25924
25925 #undef $ac_func
25926
25927 /* Override any GCC internal prototype to avoid an error.
25928 Use char because int might match the return type of a GCC
25929 builtin and then its argument prototype would still apply. */
25930 #ifdef __cplusplus
25931 extern "C"
25932 #endif
25933 char $ac_func ();
25934 /* The GNU C library defines this for functions which it implements
25935 to always fail with ENOSYS. Some functions are actually named
25936 something starting with __ and the normal name is an alias. */
25937 #if defined __stub_$ac_func || defined __stub___$ac_func
25938 choke me
25939 #endif
25940
25941 int
25942 main ()
25943 {
25944 return $ac_func ();
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 rm -f conftest.$ac_objext conftest$ac_exeext
25950 if { (ac_try="$ac_link"
25951 case "(($ac_try" in
25952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25953 *) ac_try_echo=$ac_try;;
25954 esac
25955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25956 (eval "$ac_link") 2>conftest.er1
25957 ac_status=$?
25958 grep -v '^ *+' conftest.er1 >conftest.err
25959 rm -f conftest.er1
25960 cat conftest.err >&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } && {
25963 test -z "$ac_c_werror_flag" ||
25964 test ! -s conftest.err
25965 } && test -s conftest$ac_exeext &&
25966 $as_test_x conftest$ac_exeext; then
25967 eval "$as_ac_var=yes"
25968 else
25969 echo "$as_me: failed program was:" >&5
25970 sed 's/^/| /' conftest.$ac_ext >&5
25971
25972 eval "$as_ac_var=no"
25973 fi
25974
25975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25976 conftest$ac_exeext conftest.$ac_ext
25977 fi
25978 ac_res=`eval echo '${'$as_ac_var'}'`
25979 { echo "$as_me:$LINENO: result: $ac_res" >&5
25980 echo "${ECHO_T}$ac_res" >&6; }
25981 if test `eval echo '${'$as_ac_var'}'` = yes; then
25982 cat >>confdefs.h <<_ACEOF
25983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25984 _ACEOF
25985 have_ceil=1
25986 fi
25987 done
25988
25989 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25990 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25991 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25992 { echo "$as_me:$LINENO: result: yes" >&5
25993 echo "${ECHO_T}yes" >&6; }
25994 else
25995 { echo "$as_me:$LINENO: result: no" >&5
25996 echo "${ECHO_T}no" >&6; }
25997 # not sure we should warn the user, crash, etc.
25998 fi
25999 fi
26000
26001 ac_ext=cpp
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006
26007 if test "wxUSE_UNICODE" = "yes"; then
26008
26009 for wx_func in wcstoull
26010 do
26011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26013 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26014 echo $ECHO_N "(cached) $ECHO_C" >&6
26015 else
26016
26017 cat >conftest.$ac_ext <<_ACEOF
26018
26019 /* confdefs.h. */
26020 _ACEOF
26021 cat confdefs.h >>conftest.$ac_ext
26022 cat >>conftest.$ac_ext <<_ACEOF
26023 /* end confdefs.h. */
26024
26025
26026 $ac_includes_default
26027
26028 int
26029 main ()
26030 {
26031
26032 #ifndef $wx_func
26033 &$wx_func;
26034 #endif
26035
26036
26037 ;
26038 return 0;
26039 }
26040
26041 _ACEOF
26042 rm -f conftest.$ac_objext conftest$ac_exeext
26043 if { (ac_try="$ac_link"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26047 esac
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_link") 2>conftest.er1
26050 ac_status=$?
26051 grep -v '^ *+' conftest.er1 >conftest.err
26052 rm -f conftest.er1
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } && {
26056 test -z "$ac_cxx_werror_flag" ||
26057 test ! -s conftest.err
26058 } && test -s conftest$ac_exeext &&
26059 $as_test_x conftest$ac_exeext; then
26060 eval wx_cv_func_$wx_func=yes
26061 else
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 eval wx_cv_func_$wx_func=no
26066 fi
26067
26068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26069 conftest$ac_exeext conftest.$ac_ext
26070
26071 fi
26072 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26073 { echo "$as_me:$LINENO: result: $ac_res" >&5
26074 echo "${ECHO_T}$ac_res" >&6; }
26075
26076 if eval test \$wx_cv_func_$wx_func = yes
26077 then
26078 cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26080 _ACEOF
26081
26082
26083 else
26084 :
26085
26086 fi
26087 done
26088
26089 else
26090
26091 for wx_func in strtoull
26092 do
26093 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26094 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26095 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26096 echo $ECHO_N "(cached) $ECHO_C" >&6
26097 else
26098
26099 cat >conftest.$ac_ext <<_ACEOF
26100
26101 /* confdefs.h. */
26102 _ACEOF
26103 cat confdefs.h >>conftest.$ac_ext
26104 cat >>conftest.$ac_ext <<_ACEOF
26105 /* end confdefs.h. */
26106
26107
26108 $ac_includes_default
26109
26110 int
26111 main ()
26112 {
26113
26114 #ifndef $wx_func
26115 &$wx_func;
26116 #endif
26117
26118
26119 ;
26120 return 0;
26121 }
26122
26123 _ACEOF
26124 rm -f conftest.$ac_objext conftest$ac_exeext
26125 if { (ac_try="$ac_link"
26126 case "(($ac_try" in
26127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26128 *) ac_try_echo=$ac_try;;
26129 esac
26130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26131 (eval "$ac_link") 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } && {
26138 test -z "$ac_cxx_werror_flag" ||
26139 test ! -s conftest.err
26140 } && test -s conftest$ac_exeext &&
26141 $as_test_x conftest$ac_exeext; then
26142 eval wx_cv_func_$wx_func=yes
26143 else
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26146
26147 eval wx_cv_func_$wx_func=no
26148 fi
26149
26150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26151 conftest$ac_exeext conftest.$ac_ext
26152
26153 fi
26154 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26155 { echo "$as_me:$LINENO: result: $ac_res" >&5
26156 echo "${ECHO_T}$ac_res" >&6; }
26157
26158 if eval test \$wx_cv_func_$wx_func = yes
26159 then
26160 cat >>confdefs.h <<_ACEOF
26161 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26162 _ACEOF
26163
26164
26165 else
26166 :
26167
26168 fi
26169 done
26170
26171 fi
26172 ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26177
26178
26179
26180
26181 if test "$wxUSE_REGEX" != "no"; then
26182 cat >>confdefs.h <<\_ACEOF
26183 #define wxUSE_REGEX 1
26184 _ACEOF
26185
26186
26187 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26188 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26189 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26190 wxUSE_REGEX=builtin
26191 fi
26192
26193 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26194 { echo "$as_me:$LINENO: checking for regex.h" >&5
26195 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26196 if test "${ac_cv_header_regex_h+set}" = set; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26199 cat >conftest.$ac_ext <<_ACEOF
26200 /* confdefs.h. */
26201 _ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26205
26206
26207 #include <regex.h>
26208 _ACEOF
26209 rm -f conftest.$ac_objext
26210 if { (ac_try="$ac_compile"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26214 esac
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_compile") 2>conftest.er1
26217 ac_status=$?
26218 grep -v '^ *+' conftest.er1 >conftest.err
26219 rm -f conftest.er1
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest.$ac_objext; then
26226 ac_cv_header_regex_h=yes
26227 else
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26230
26231 ac_cv_header_regex_h=no
26232 fi
26233
26234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26235 fi
26236 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26237 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26238 if test $ac_cv_header_regex_h = yes; then
26239
26240
26241 for ac_func in regcomp re_search
26242 do
26243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26244 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26246 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26247 echo $ECHO_N "(cached) $ECHO_C" >&6
26248 else
26249 cat >conftest.$ac_ext <<_ACEOF
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26257 #define $ac_func innocuous_$ac_func
26258
26259 /* System header to define __stub macros and hopefully few prototypes,
26260 which can conflict with char $ac_func (); below.
26261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26262 <limits.h> exists even on freestanding compilers. */
26263
26264 #ifdef __STDC__
26265 # include <limits.h>
26266 #else
26267 # include <assert.h>
26268 #endif
26269
26270 #undef $ac_func
26271
26272 /* Override any GCC internal prototype to avoid an error.
26273 Use char because int might match the return type of a GCC
26274 builtin and then its argument prototype would still apply. */
26275 #ifdef __cplusplus
26276 extern "C"
26277 #endif
26278 char $ac_func ();
26279 /* The GNU C library defines this for functions which it implements
26280 to always fail with ENOSYS. Some functions are actually named
26281 something starting with __ and the normal name is an alias. */
26282 #if defined __stub_$ac_func || defined __stub___$ac_func
26283 choke me
26284 #endif
26285
26286 int
26287 main ()
26288 {
26289 return $ac_func ();
26290 ;
26291 return 0;
26292 }
26293 _ACEOF
26294 rm -f conftest.$ac_objext conftest$ac_exeext
26295 if { (ac_try="$ac_link"
26296 case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26298 *) ac_try_echo=$ac_try;;
26299 esac
26300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26301 (eval "$ac_link") 2>conftest.er1
26302 ac_status=$?
26303 grep -v '^ *+' conftest.er1 >conftest.err
26304 rm -f conftest.er1
26305 cat conftest.err >&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); } && {
26308 test -z "$ac_c_werror_flag" ||
26309 test ! -s conftest.err
26310 } && test -s conftest$ac_exeext &&
26311 $as_test_x conftest$ac_exeext; then
26312 eval "$as_ac_var=yes"
26313 else
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26316
26317 eval "$as_ac_var=no"
26318 fi
26319
26320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26321 conftest$ac_exeext conftest.$ac_ext
26322 fi
26323 ac_res=`eval echo '${'$as_ac_var'}'`
26324 { echo "$as_me:$LINENO: result: $ac_res" >&5
26325 echo "${ECHO_T}$ac_res" >&6; }
26326 if test `eval echo '${'$as_ac_var'}'` = yes; then
26327 cat >>confdefs.h <<_ACEOF
26328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26329 _ACEOF
26330
26331 fi
26332 done
26333
26334 fi
26335
26336
26337
26338 if test "x$ac_cv_func_regcomp" != "xyes"; then
26339 if test "$wxUSE_REGEX" = "sys" ; then
26340 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26341 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26342 { (exit 1); exit 1; }; }
26343 else
26344 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26345 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26346 wxUSE_REGEX=builtin
26347 fi
26348 else
26349 wxUSE_REGEX=sys
26350 cat >>confdefs.h <<\_ACEOF
26351 #define WX_NO_REGEX_ADVANCED 1
26352 _ACEOF
26353
26354 fi
26355 fi
26356 fi
26357
26358
26359 ZLIB_LINK=
26360 if test "$wxUSE_ZLIB" != "no" ; then
26361 cat >>confdefs.h <<\_ACEOF
26362 #define wxUSE_ZLIB 1
26363 _ACEOF
26364
26365
26366 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26367 if test "$USE_DARWIN" = 1; then
26368 system_zlib_h_ok="yes"
26369 else
26370 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26371 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26372 if test "${ac_cv_header_zlib_h+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26374 else
26375 if test "$cross_compiling" = yes; then
26376 unset ac_cv_header_zlib_h
26377
26378 else
26379 cat >conftest.$ac_ext <<_ACEOF
26380 /* confdefs.h. */
26381 _ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385
26386 #include <zlib.h>
26387 #include <stdio.h>
26388
26389 int main()
26390 {
26391 FILE *f=fopen("conftestval", "w");
26392 if (!f) exit(1);
26393 fprintf(f, "%s",
26394 ZLIB_VERSION[0] == '1' &&
26395 (ZLIB_VERSION[2] > '1' ||
26396 (ZLIB_VERSION[2] == '1' &&
26397 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26398 exit(0);
26399 }
26400
26401 _ACEOF
26402 rm -f conftest$ac_exeext
26403 if { (ac_try="$ac_link"
26404 case "(($ac_try" in
26405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26406 *) ac_try_echo=$ac_try;;
26407 esac
26408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26409 (eval "$ac_link") 2>&5
26410 ac_status=$?
26411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26413 { (case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26416 esac
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_try") 2>&5
26419 ac_status=$?
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; }; then
26422 ac_cv_header_zlib_h=`cat conftestval`
26423 else
26424 echo "$as_me: program exited with status $ac_status" >&5
26425 echo "$as_me: failed program was:" >&5
26426 sed 's/^/| /' conftest.$ac_ext >&5
26427
26428 ( exit $ac_status )
26429 ac_cv_header_zlib_h=no
26430 fi
26431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26432 fi
26433
26434
26435
26436 fi
26437 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26438 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26439 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26440 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26441 if test "${ac_cv_header_zlib_h+set}" = set; then
26442 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 else
26444 cat >conftest.$ac_ext <<_ACEOF
26445 /* confdefs.h. */
26446 _ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26450
26451
26452 #include <zlib.h>
26453 _ACEOF
26454 rm -f conftest.$ac_objext
26455 if { (ac_try="$ac_compile"
26456 case "(($ac_try" in
26457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26458 *) ac_try_echo=$ac_try;;
26459 esac
26460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26461 (eval "$ac_compile") 2>conftest.er1
26462 ac_status=$?
26463 grep -v '^ *+' conftest.er1 >conftest.err
26464 rm -f conftest.er1
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } && {
26468 test -z "$ac_c_werror_flag" ||
26469 test ! -s conftest.err
26470 } && test -s conftest.$ac_objext; then
26471 ac_cv_header_zlib_h=yes
26472 else
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26475
26476 ac_cv_header_zlib_h=no
26477 fi
26478
26479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26480 fi
26481 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26482 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26483
26484
26485
26486 system_zlib_h_ok=$ac_cv_header_zlib_h
26487 fi
26488
26489 if test "$system_zlib_h_ok" = "yes"; then
26490 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26491 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26492 if test "${ac_cv_lib_z_deflate+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 else
26495 ac_check_lib_save_LIBS=$LIBS
26496 LIBS="-lz $LIBS"
26497 cat >conftest.$ac_ext <<_ACEOF
26498 /* confdefs.h. */
26499 _ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26503
26504 /* Override any GCC internal prototype to avoid an error.
26505 Use char because int might match the return type of a GCC
26506 builtin and then its argument prototype would still apply. */
26507 #ifdef __cplusplus
26508 extern "C"
26509 #endif
26510 char deflate ();
26511 int
26512 main ()
26513 {
26514 return deflate ();
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (ac_try="$ac_link"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26524 esac
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_link") 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest$ac_exeext &&
26536 $as_test_x conftest$ac_exeext; then
26537 ac_cv_lib_z_deflate=yes
26538 else
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.$ac_ext >&5
26541
26542 ac_cv_lib_z_deflate=no
26543 fi
26544
26545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26546 conftest$ac_exeext conftest.$ac_ext
26547 LIBS=$ac_check_lib_save_LIBS
26548 fi
26549 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26550 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26551 if test $ac_cv_lib_z_deflate = yes; then
26552 ZLIB_LINK=" -lz"
26553 fi
26554
26555 fi
26556
26557 if test "x$ZLIB_LINK" = "x" ; then
26558 if test "$wxUSE_ZLIB" = "sys" ; then
26559 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26560 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26561 { (exit 1); exit 1; }; }
26562 else
26563 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26564 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26565 wxUSE_ZLIB=builtin
26566 fi
26567 else
26568 wxUSE_ZLIB=sys
26569 fi
26570 fi
26571 fi
26572
26573
26574 PNG_LINK=
26575 if test "$wxUSE_LIBPNG" != "no" ; then
26576 cat >>confdefs.h <<\_ACEOF
26577 #define wxUSE_LIBPNG 1
26578 _ACEOF
26579
26580
26581 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26582 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26583 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26584 wxUSE_LIBPNG=sys
26585 fi
26586
26587 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26588 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26589 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26590 wxUSE_LIBPNG=builtin
26591 fi
26592
26593 if test "$wxUSE_MGL" != 1 ; then
26594 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26595 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26596 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26597 if test "${ac_cv_header_png_h+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 else
26600 if test "$cross_compiling" = yes; then
26601 unset ac_cv_header_png_h
26602
26603 else
26604 cat >conftest.$ac_ext <<_ACEOF
26605 /* confdefs.h. */
26606 _ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610
26611 #include <png.h>
26612 #include <stdio.h>
26613
26614 int main()
26615 {
26616 FILE *f=fopen("conftestval", "w");
26617 if (!f) exit(1);
26618 fprintf(f, "%s",
26619 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26620 exit(0);
26621 }
26622
26623 _ACEOF
26624 rm -f conftest$ac_exeext
26625 if { (ac_try="$ac_link"
26626 case "(($ac_try" in
26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26629 esac
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_link") 2>&5
26632 ac_status=$?
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26635 { (case "(($ac_try" in
26636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26637 *) ac_try_echo=$ac_try;;
26638 esac
26639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26640 (eval "$ac_try") 2>&5
26641 ac_status=$?
26642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643 (exit $ac_status); }; }; then
26644 ac_cv_header_png_h=`cat conftestval`
26645 else
26646 echo "$as_me: program exited with status $ac_status" >&5
26647 echo "$as_me: failed program was:" >&5
26648 sed 's/^/| /' conftest.$ac_ext >&5
26649
26650 ( exit $ac_status )
26651 ac_cv_header_png_h=no
26652 fi
26653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26654 fi
26655
26656
26657
26658 fi
26659 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26660 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26661 { echo "$as_me:$LINENO: checking for png.h" >&5
26662 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26663 if test "${ac_cv_header_png_h+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26665 else
26666 cat >conftest.$ac_ext <<_ACEOF
26667 /* confdefs.h. */
26668 _ACEOF
26669 cat confdefs.h >>conftest.$ac_ext
26670 cat >>conftest.$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26672
26673
26674 #include <png.h>
26675 _ACEOF
26676 rm -f conftest.$ac_objext
26677 if { (ac_try="$ac_compile"
26678 case "(($ac_try" in
26679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26681 esac
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_compile") 2>conftest.er1
26684 ac_status=$?
26685 grep -v '^ *+' conftest.er1 >conftest.err
26686 rm -f conftest.er1
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } && {
26690 test -z "$ac_c_werror_flag" ||
26691 test ! -s conftest.err
26692 } && test -s conftest.$ac_objext; then
26693 ac_cv_header_png_h=yes
26694 else
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 ac_cv_header_png_h=no
26699 fi
26700
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26702 fi
26703 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26704 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26705
26706
26707
26708 if test "$ac_cv_header_png_h" = "yes"; then
26709 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26710 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26711 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 else
26714 ac_check_lib_save_LIBS=$LIBS
26715 LIBS="-lpng -lz -lm $LIBS"
26716 cat >conftest.$ac_ext <<_ACEOF
26717 /* confdefs.h. */
26718 _ACEOF
26719 cat confdefs.h >>conftest.$ac_ext
26720 cat >>conftest.$ac_ext <<_ACEOF
26721 /* end confdefs.h. */
26722
26723 /* Override any GCC internal prototype to avoid an error.
26724 Use char because int might match the return type of a GCC
26725 builtin and then its argument prototype would still apply. */
26726 #ifdef __cplusplus
26727 extern "C"
26728 #endif
26729 char png_check_sig ();
26730 int
26731 main ()
26732 {
26733 return png_check_sig ();
26734 ;
26735 return 0;
26736 }
26737 _ACEOF
26738 rm -f conftest.$ac_objext conftest$ac_exeext
26739 if { (ac_try="$ac_link"
26740 case "(($ac_try" in
26741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26742 *) ac_try_echo=$ac_try;;
26743 esac
26744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26745 (eval "$ac_link") 2>conftest.er1
26746 ac_status=$?
26747 grep -v '^ *+' conftest.er1 >conftest.err
26748 rm -f conftest.er1
26749 cat conftest.err >&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } && {
26752 test -z "$ac_c_werror_flag" ||
26753 test ! -s conftest.err
26754 } && test -s conftest$ac_exeext &&
26755 $as_test_x conftest$ac_exeext; then
26756 ac_cv_lib_png_png_check_sig=yes
26757 else
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26760
26761 ac_cv_lib_png_png_check_sig=no
26762 fi
26763
26764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26765 conftest$ac_exeext conftest.$ac_ext
26766 LIBS=$ac_check_lib_save_LIBS
26767 fi
26768 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26769 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26770 if test $ac_cv_lib_png_png_check_sig = yes; then
26771 PNG_LINK=" -lpng -lz"
26772 fi
26773
26774 fi
26775
26776 if test "x$PNG_LINK" = "x" ; then
26777 if test "$wxUSE_LIBPNG" = "sys" ; then
26778 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26779 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26780 { (exit 1); exit 1; }; }
26781 else
26782 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26783 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26784 wxUSE_LIBPNG=builtin
26785 fi
26786 else
26787 wxUSE_LIBPNG=sys
26788 fi
26789 fi
26790 fi
26791 fi
26792
26793
26794 JPEG_LINK=
26795 if test "$wxUSE_LIBJPEG" != "no" ; then
26796 cat >>confdefs.h <<\_ACEOF
26797 #define wxUSE_LIBJPEG 1
26798 _ACEOF
26799
26800
26801 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26802 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26803 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26804 wxUSE_LIBJPEG=sys
26805 fi
26806
26807 if test "$wxUSE_MGL" != 1 ; then
26808 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26809 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26810 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26811 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26812 echo $ECHO_N "(cached) $ECHO_C" >&6
26813 else
26814 cat >conftest.$ac_ext <<_ACEOF
26815 /* confdefs.h. */
26816 _ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820
26821 #undef HAVE_STDLIB_H
26822 #include <stdio.h>
26823 #include <jpeglib.h>
26824
26825 int
26826 main ()
26827 {
26828
26829
26830 ;
26831 return 0;
26832 }
26833 _ACEOF
26834 rm -f conftest.$ac_objext
26835 if { (ac_try="$ac_compile"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26839 esac
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_compile") 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest.$ac_objext; then
26851 ac_cv_header_jpeglib_h=yes
26852 else
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26855
26856 ac_cv_header_jpeglib_h=no
26857
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861
26862 fi
26863
26864 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26865 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26866
26867 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26868 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26869 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26870 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26871 echo $ECHO_N "(cached) $ECHO_C" >&6
26872 else
26873 ac_check_lib_save_LIBS=$LIBS
26874 LIBS="-ljpeg $LIBS"
26875 cat >conftest.$ac_ext <<_ACEOF
26876 /* confdefs.h. */
26877 _ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26881
26882 /* Override any GCC internal prototype to avoid an error.
26883 Use char because int might match the return type of a GCC
26884 builtin and then its argument prototype would still apply. */
26885 #ifdef __cplusplus
26886 extern "C"
26887 #endif
26888 char jpeg_read_header ();
26889 int
26890 main ()
26891 {
26892 return jpeg_read_header ();
26893 ;
26894 return 0;
26895 }
26896 _ACEOF
26897 rm -f conftest.$ac_objext conftest$ac_exeext
26898 if { (ac_try="$ac_link"
26899 case "(($ac_try" in
26900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26901 *) ac_try_echo=$ac_try;;
26902 esac
26903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26904 (eval "$ac_link") 2>conftest.er1
26905 ac_status=$?
26906 grep -v '^ *+' conftest.er1 >conftest.err
26907 rm -f conftest.er1
26908 cat conftest.err >&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); } && {
26911 test -z "$ac_c_werror_flag" ||
26912 test ! -s conftest.err
26913 } && test -s conftest$ac_exeext &&
26914 $as_test_x conftest$ac_exeext; then
26915 ac_cv_lib_jpeg_jpeg_read_header=yes
26916 else
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26919
26920 ac_cv_lib_jpeg_jpeg_read_header=no
26921 fi
26922
26923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26924 conftest$ac_exeext conftest.$ac_ext
26925 LIBS=$ac_check_lib_save_LIBS
26926 fi
26927 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26928 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26929 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26930 JPEG_LINK=" -ljpeg"
26931 fi
26932
26933 fi
26934
26935 if test "x$JPEG_LINK" = "x" ; then
26936 if test "$wxUSE_LIBJPEG" = "sys" ; then
26937 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26938 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26939 { (exit 1); exit 1; }; }
26940 else
26941 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26942 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26943 wxUSE_LIBJPEG=builtin
26944 fi
26945 else
26946 wxUSE_LIBJPEG=sys
26947
26948 if test "$wxUSE_MSW" = 1; then
26949 { echo "$as_me:$LINENO: checking for boolean" >&5
26950 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26951 if test "${ac_cv_type_boolean+set}" = set; then
26952 echo $ECHO_N "(cached) $ECHO_C" >&6
26953 else
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960 #include <windows.h>
26961
26962 typedef boolean ac__type_new_;
26963 int
26964 main ()
26965 {
26966 if ((ac__type_new_ *) 0)
26967 return 0;
26968 if (sizeof (ac__type_new_))
26969 return 0;
26970 ;
26971 return 0;
26972 }
26973 _ACEOF
26974 rm -f conftest.$ac_objext
26975 if { (ac_try="$ac_compile"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26978 *) ac_try_echo=$ac_try;;
26979 esac
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_compile") 2>conftest.er1
26982 ac_status=$?
26983 grep -v '^ *+' conftest.er1 >conftest.err
26984 rm -f conftest.er1
26985 cat conftest.err >&5
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); } && {
26988 test -z "$ac_c_werror_flag" ||
26989 test ! -s conftest.err
26990 } && test -s conftest.$ac_objext; then
26991 ac_cv_type_boolean=yes
26992 else
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26995
26996 ac_cv_type_boolean=no
26997 fi
26998
26999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27000 fi
27001 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27002 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27003 if test $ac_cv_type_boolean = yes; then
27004
27005 cat >>confdefs.h <<_ACEOF
27006 #define HAVE_BOOLEAN 1
27007 _ACEOF
27008
27009
27010 { echo "$as_me:$LINENO: checking for boolean" >&5
27011 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27012 if test "${ac_cv_type_boolean+set}" = set; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27014 else
27015 cat >conftest.$ac_ext <<_ACEOF
27016 /* confdefs.h. */
27017 _ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021
27022 #undef HAVE_BOOLEAN
27023 #include <stdio.h>
27024 #include <jpeglib.h>
27025
27026
27027 typedef boolean ac__type_new_;
27028 int
27029 main ()
27030 {
27031 if ((ac__type_new_ *) 0)
27032 return 0;
27033 if (sizeof (ac__type_new_))
27034 return 0;
27035 ;
27036 return 0;
27037 }
27038 _ACEOF
27039 rm -f conftest.$ac_objext
27040 if { (ac_try="$ac_compile"
27041 case "(($ac_try" in
27042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043 *) ac_try_echo=$ac_try;;
27044 esac
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046 (eval "$ac_compile") 2>conftest.er1
27047 ac_status=$?
27048 grep -v '^ *+' conftest.er1 >conftest.err
27049 rm -f conftest.er1
27050 cat conftest.err >&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); } && {
27053 test -z "$ac_c_werror_flag" ||
27054 test ! -s conftest.err
27055 } && test -s conftest.$ac_objext; then
27056 ac_cv_type_boolean=yes
27057 else
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27060
27061 ac_cv_type_boolean=no
27062 fi
27063
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 fi
27066 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27067 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27068
27069 # The cast to long int works around a bug in the HP C Compiler
27070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27072 # This bug is HP SR number 8606223364.
27073 { echo "$as_me:$LINENO: checking size of boolean" >&5
27074 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27075 if test "${ac_cv_sizeof_boolean+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27078 if test "$cross_compiling" = yes; then
27079 # Depending upon the size, compute the lo and hi bounds.
27080 cat >conftest.$ac_ext <<_ACEOF
27081 /* confdefs.h. */
27082 _ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h. */
27086
27087 #undef HAVE_BOOLEAN
27088 #include <stdio.h>
27089 #include <jpeglib.h>
27090
27091
27092 typedef boolean ac__type_sizeof_;
27093 int
27094 main ()
27095 {
27096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27097 test_array [0] = 0
27098
27099 ;
27100 return 0;
27101 }
27102 _ACEOF
27103 rm -f conftest.$ac_objext
27104 if { (ac_try="$ac_compile"
27105 case "(($ac_try" in
27106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27107 *) ac_try_echo=$ac_try;;
27108 esac
27109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27110 (eval "$ac_compile") 2>conftest.er1
27111 ac_status=$?
27112 grep -v '^ *+' conftest.er1 >conftest.err
27113 rm -f conftest.er1
27114 cat conftest.err >&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } && {
27117 test -z "$ac_c_werror_flag" ||
27118 test ! -s conftest.err
27119 } && test -s conftest.$ac_objext; then
27120 ac_lo=0 ac_mid=0
27121 while :; do
27122 cat >conftest.$ac_ext <<_ACEOF
27123 /* confdefs.h. */
27124 _ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27128
27129 #undef HAVE_BOOLEAN
27130 #include <stdio.h>
27131 #include <jpeglib.h>
27132
27133
27134 typedef boolean ac__type_sizeof_;
27135 int
27136 main ()
27137 {
27138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27139 test_array [0] = 0
27140
27141 ;
27142 return 0;
27143 }
27144 _ACEOF
27145 rm -f conftest.$ac_objext
27146 if { (ac_try="$ac_compile"
27147 case "(($ac_try" in
27148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27149 *) ac_try_echo=$ac_try;;
27150 esac
27151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27152 (eval "$ac_compile") 2>conftest.er1
27153 ac_status=$?
27154 grep -v '^ *+' conftest.er1 >conftest.err
27155 rm -f conftest.er1
27156 cat conftest.err >&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } && {
27159 test -z "$ac_c_werror_flag" ||
27160 test ! -s conftest.err
27161 } && test -s conftest.$ac_objext; then
27162 ac_hi=$ac_mid; break
27163 else
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27166
27167 ac_lo=`expr $ac_mid + 1`
27168 if test $ac_lo -le $ac_mid; then
27169 ac_lo= ac_hi=
27170 break
27171 fi
27172 ac_mid=`expr 2 '*' $ac_mid + 1`
27173 fi
27174
27175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27176 done
27177 else
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27180
27181 cat >conftest.$ac_ext <<_ACEOF
27182 /* confdefs.h. */
27183 _ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187
27188 #undef HAVE_BOOLEAN
27189 #include <stdio.h>
27190 #include <jpeglib.h>
27191
27192
27193 typedef boolean ac__type_sizeof_;
27194 int
27195 main ()
27196 {
27197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27198 test_array [0] = 0
27199
27200 ;
27201 return 0;
27202 }
27203 _ACEOF
27204 rm -f conftest.$ac_objext
27205 if { (ac_try="$ac_compile"
27206 case "(($ac_try" in
27207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27208 *) ac_try_echo=$ac_try;;
27209 esac
27210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27211 (eval "$ac_compile") 2>conftest.er1
27212 ac_status=$?
27213 grep -v '^ *+' conftest.er1 >conftest.err
27214 rm -f conftest.er1
27215 cat conftest.err >&5
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } && {
27218 test -z "$ac_c_werror_flag" ||
27219 test ! -s conftest.err
27220 } && test -s conftest.$ac_objext; then
27221 ac_hi=-1 ac_mid=-1
27222 while :; do
27223 cat >conftest.$ac_ext <<_ACEOF
27224 /* confdefs.h. */
27225 _ACEOF
27226 cat confdefs.h >>conftest.$ac_ext
27227 cat >>conftest.$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229
27230 #undef HAVE_BOOLEAN
27231 #include <stdio.h>
27232 #include <jpeglib.h>
27233
27234
27235 typedef boolean ac__type_sizeof_;
27236 int
27237 main ()
27238 {
27239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27240 test_array [0] = 0
27241
27242 ;
27243 return 0;
27244 }
27245 _ACEOF
27246 rm -f conftest.$ac_objext
27247 if { (ac_try="$ac_compile"
27248 case "(($ac_try" in
27249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27250 *) ac_try_echo=$ac_try;;
27251 esac
27252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_compile") 2>conftest.er1
27254 ac_status=$?
27255 grep -v '^ *+' conftest.er1 >conftest.err
27256 rm -f conftest.er1
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } && {
27260 test -z "$ac_c_werror_flag" ||
27261 test ! -s conftest.err
27262 } && test -s conftest.$ac_objext; then
27263 ac_lo=$ac_mid; break
27264 else
27265 echo "$as_me: failed program was:" >&5
27266 sed 's/^/| /' conftest.$ac_ext >&5
27267
27268 ac_hi=`expr '(' $ac_mid ')' - 1`
27269 if test $ac_mid -le $ac_hi; then
27270 ac_lo= ac_hi=
27271 break
27272 fi
27273 ac_mid=`expr 2 '*' $ac_mid`
27274 fi
27275
27276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27277 done
27278 else
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27281
27282 ac_lo= ac_hi=
27283 fi
27284
27285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27286 fi
27287
27288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27289 # Binary search between lo and hi bounds.
27290 while test "x$ac_lo" != "x$ac_hi"; do
27291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27292 cat >conftest.$ac_ext <<_ACEOF
27293 /* confdefs.h. */
27294 _ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27298
27299 #undef HAVE_BOOLEAN
27300 #include <stdio.h>
27301 #include <jpeglib.h>
27302
27303
27304 typedef boolean ac__type_sizeof_;
27305 int
27306 main ()
27307 {
27308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27309 test_array [0] = 0
27310
27311 ;
27312 return 0;
27313 }
27314 _ACEOF
27315 rm -f conftest.$ac_objext
27316 if { (ac_try="$ac_compile"
27317 case "(($ac_try" in
27318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27319 *) ac_try_echo=$ac_try;;
27320 esac
27321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27322 (eval "$ac_compile") 2>conftest.er1
27323 ac_status=$?
27324 grep -v '^ *+' conftest.er1 >conftest.err
27325 rm -f conftest.er1
27326 cat conftest.err >&5
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } && {
27329 test -z "$ac_c_werror_flag" ||
27330 test ! -s conftest.err
27331 } && test -s conftest.$ac_objext; then
27332 ac_hi=$ac_mid
27333 else
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.$ac_ext >&5
27336
27337 ac_lo=`expr '(' $ac_mid ')' + 1`
27338 fi
27339
27340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27341 done
27342 case $ac_lo in
27343 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27344 '') if test "$ac_cv_type_boolean" = yes; then
27345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27346 See \`config.log' for more details." >&5
27347 echo "$as_me: error: cannot compute sizeof (boolean)
27348 See \`config.log' for more details." >&2;}
27349 { (exit 77); exit 77; }; }
27350 else
27351 ac_cv_sizeof_boolean=0
27352 fi ;;
27353 esac
27354 else
27355 cat >conftest.$ac_ext <<_ACEOF
27356 /* confdefs.h. */
27357 _ACEOF
27358 cat confdefs.h >>conftest.$ac_ext
27359 cat >>conftest.$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27361
27362 #undef HAVE_BOOLEAN
27363 #include <stdio.h>
27364 #include <jpeglib.h>
27365
27366
27367 typedef boolean ac__type_sizeof_;
27368 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27369 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27370 #include <stdio.h>
27371 #include <stdlib.h>
27372 int
27373 main ()
27374 {
27375
27376 FILE *f = fopen ("conftest.val", "w");
27377 if (! f)
27378 return 1;
27379 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27380 {
27381 long int i = longval ();
27382 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27383 return 1;
27384 fprintf (f, "%ld\n", i);
27385 }
27386 else
27387 {
27388 unsigned long int i = ulongval ();
27389 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27390 return 1;
27391 fprintf (f, "%lu\n", i);
27392 }
27393 return ferror (f) || fclose (f) != 0;
27394
27395 ;
27396 return 0;
27397 }
27398 _ACEOF
27399 rm -f conftest$ac_exeext
27400 if { (ac_try="$ac_link"
27401 case "(($ac_try" in
27402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27403 *) ac_try_echo=$ac_try;;
27404 esac
27405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27406 (eval "$ac_link") 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27410 { (case "(($ac_try" in
27411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412 *) ac_try_echo=$ac_try;;
27413 esac
27414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415 (eval "$ac_try") 2>&5
27416 ac_status=$?
27417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418 (exit $ac_status); }; }; then
27419 ac_cv_sizeof_boolean=`cat conftest.val`
27420 else
27421 echo "$as_me: program exited with status $ac_status" >&5
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.$ac_ext >&5
27424
27425 ( exit $ac_status )
27426 if test "$ac_cv_type_boolean" = yes; then
27427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27428 See \`config.log' for more details." >&5
27429 echo "$as_me: error: cannot compute sizeof (boolean)
27430 See \`config.log' for more details." >&2;}
27431 { (exit 77); exit 77; }; }
27432 else
27433 ac_cv_sizeof_boolean=0
27434 fi
27435 fi
27436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27437 fi
27438 rm -f conftest.val
27439 fi
27440 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27441 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27442
27443
27444
27445 cat >>confdefs.h <<_ACEOF
27446 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27447 _ACEOF
27448
27449
27450 cat >>confdefs.h <<_ACEOF
27451 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27452 _ACEOF
27453
27454
27455 fi
27456
27457 fi
27458 fi
27459 fi
27460 fi
27461 fi
27462
27463
27464 TIFF_LINK=
27465 TIFF_PREREQ_LINKS=-lm
27466 if test "$wxUSE_LIBTIFF" != "no" ; then
27467 cat >>confdefs.h <<\_ACEOF
27468 #define wxUSE_LIBTIFF 1
27469 _ACEOF
27470
27471
27472 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27473 if test "$wxUSE_LIBJPEG" = "sys"; then
27474 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27475 fi
27476 if test "$wxUSE_ZLIB" = "sys"; then
27477 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27478 fi
27479 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27480 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27481 if test "${ac_cv_header_tiffio_h+set}" = set; then
27482 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 else
27484 cat >conftest.$ac_ext <<_ACEOF
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490
27491
27492
27493 #include <tiffio.h>
27494 _ACEOF
27495 rm -f conftest.$ac_objext
27496 if { (ac_try="$ac_compile"
27497 case "(($ac_try" in
27498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27499 *) ac_try_echo=$ac_try;;
27500 esac
27501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27502 (eval "$ac_compile") 2>conftest.er1
27503 ac_status=$?
27504 grep -v '^ *+' conftest.er1 >conftest.err
27505 rm -f conftest.er1
27506 cat conftest.err >&5
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); } && {
27509 test -z "$ac_c_werror_flag" ||
27510 test ! -s conftest.err
27511 } && test -s conftest.$ac_objext; then
27512 ac_cv_header_tiffio_h=yes
27513 else
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27516
27517 ac_cv_header_tiffio_h=no
27518 fi
27519
27520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27521 fi
27522 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27523 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27524 if test $ac_cv_header_tiffio_h = yes; then
27525
27526 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27527 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27528 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27529 echo $ECHO_N "(cached) $ECHO_C" >&6
27530 else
27531 ac_check_lib_save_LIBS=$LIBS
27532 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
27541 Use char because int might match the return type of a GCC
27542 builtin and then its argument prototype would still apply. */
27543 #ifdef __cplusplus
27544 extern "C"
27545 #endif
27546 char TIFFError ();
27547 int
27548 main ()
27549 {
27550 return TIFFError ();
27551 ;
27552 return 0;
27553 }
27554 _ACEOF
27555 rm -f conftest.$ac_objext conftest$ac_exeext
27556 if { (ac_try="$ac_link"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27560 esac
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_link") 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest$ac_exeext &&
27572 $as_test_x conftest$ac_exeext; then
27573 ac_cv_lib_tiff_TIFFError=yes
27574 else
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.$ac_ext >&5
27577
27578 ac_cv_lib_tiff_TIFFError=no
27579 fi
27580
27581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27582 conftest$ac_exeext conftest.$ac_ext
27583 LIBS=$ac_check_lib_save_LIBS
27584 fi
27585 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27586 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27587 if test $ac_cv_lib_tiff_TIFFError = yes; then
27588 TIFF_LINK=" -ltiff"
27589 fi
27590
27591
27592 fi
27593
27594
27595
27596 if test "x$TIFF_LINK" = "x" ; then
27597 if test "$wxUSE_LIBTIFF" = "sys" ; then
27598 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27599 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27600 { (exit 1); exit 1; }; }
27601 else
27602 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27603 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27604 wxUSE_LIBTIFF=builtin
27605 fi
27606 else
27607 wxUSE_LIBTIFF=sys
27608 fi
27609 fi
27610 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27611 if test "$wxUSE_LIBJPEG" = "no"; then
27612 ac_configure_args="$ac_configure_args --disable-jpeg"
27613 fi
27614 subdirs="$subdirs src/tiff"
27615
27616 fi
27617 fi
27618
27619
27620 if test "$wxUSE_WCHAR_T" != "yes"; then
27621 if test "$wxUSE_EXPAT" != "no"; then
27622 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27623 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27624 wxUSE_EXPAT=no
27625 fi
27626 if test "$wxUSE_XML" != "no"; then
27627 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27628 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27629 wxUSE_XML=no
27630 fi
27631 fi
27632
27633 if test "$wxUSE_EXPAT" != "no"; then
27634 wxUSE_XML=yes
27635 cat >>confdefs.h <<\_ACEOF
27636 #define wxUSE_EXPAT 1
27637 _ACEOF
27638
27639 cat >>confdefs.h <<\_ACEOF
27640 #define wxUSE_XML 1
27641 _ACEOF
27642
27643
27644 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27645 { echo "$as_me:$LINENO: checking for expat.h" >&5
27646 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27647 if test "${ac_cv_header_expat_h+set}" = set; then
27648 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 else
27650 cat >conftest.$ac_ext <<_ACEOF
27651 /* confdefs.h. */
27652 _ACEOF
27653 cat confdefs.h >>conftest.$ac_ext
27654 cat >>conftest.$ac_ext <<_ACEOF
27655 /* end confdefs.h. */
27656
27657
27658 #include <expat.h>
27659 _ACEOF
27660 rm -f conftest.$ac_objext
27661 if { (ac_try="$ac_compile"
27662 case "(($ac_try" in
27663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27664 *) ac_try_echo=$ac_try;;
27665 esac
27666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27667 (eval "$ac_compile") 2>conftest.er1
27668 ac_status=$?
27669 grep -v '^ *+' conftest.er1 >conftest.err
27670 rm -f conftest.er1
27671 cat conftest.err >&5
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); } && {
27674 test -z "$ac_c_werror_flag" ||
27675 test ! -s conftest.err
27676 } && test -s conftest.$ac_objext; then
27677 ac_cv_header_expat_h=yes
27678 else
27679 echo "$as_me: failed program was:" >&5
27680 sed 's/^/| /' conftest.$ac_ext >&5
27681
27682 ac_cv_header_expat_h=no
27683 fi
27684
27685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27686 fi
27687 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27688 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27689 if test $ac_cv_header_expat_h = yes; then
27690 found_expat_h=1
27691 fi
27692
27693
27694 if test "x$found_expat_h" = "x1"; then
27695 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27696 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27697 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27698 echo $ECHO_N "(cached) $ECHO_C" >&6
27699 else
27700
27701 ac_ext=cpp
27702 ac_cpp='$CXXCPP $CPPFLAGS'
27703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27706
27707 cat >conftest.$ac_ext <<_ACEOF
27708 /* confdefs.h. */
27709 _ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713 #include <expat.h>
27714 int
27715 main ()
27716 {
27717
27718 ;
27719 return 0;
27720 }
27721 _ACEOF
27722 rm -f conftest.$ac_objext
27723 if { (ac_try="$ac_compile"
27724 case "(($ac_try" in
27725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27726 *) ac_try_echo=$ac_try;;
27727 esac
27728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27729 (eval "$ac_compile") 2>conftest.er1
27730 ac_status=$?
27731 grep -v '^ *+' conftest.er1 >conftest.err
27732 rm -f conftest.er1
27733 cat conftest.err >&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); } && {
27736 test -z "$ac_cxx_werror_flag" ||
27737 test ! -s conftest.err
27738 } && test -s conftest.$ac_objext; then
27739 wx_cv_expat_is_not_broken=yes
27740 else
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27743
27744 wx_cv_expat_is_not_broken=no
27745
27746 fi
27747
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27749 ac_ext=c
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27754
27755
27756
27757 fi
27758 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27759 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27760 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27761 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27762 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27763 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27766 ac_check_lib_save_LIBS=$LIBS
27767 LIBS="-lexpat $LIBS"
27768 cat >conftest.$ac_ext <<_ACEOF
27769 /* confdefs.h. */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774
27775 /* Override any GCC internal prototype to avoid an error.
27776 Use char because int might match the return type of a GCC
27777 builtin and then its argument prototype would still apply. */
27778 #ifdef __cplusplus
27779 extern "C"
27780 #endif
27781 char XML_ParserCreate ();
27782 int
27783 main ()
27784 {
27785 return XML_ParserCreate ();
27786 ;
27787 return 0;
27788 }
27789 _ACEOF
27790 rm -f conftest.$ac_objext conftest$ac_exeext
27791 if { (ac_try="$ac_link"
27792 case "(($ac_try" in
27793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27794 *) ac_try_echo=$ac_try;;
27795 esac
27796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27797 (eval "$ac_link") 2>conftest.er1
27798 ac_status=$?
27799 grep -v '^ *+' conftest.er1 >conftest.err
27800 rm -f conftest.er1
27801 cat conftest.err >&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } && {
27804 test -z "$ac_c_werror_flag" ||
27805 test ! -s conftest.err
27806 } && test -s conftest$ac_exeext &&
27807 $as_test_x conftest$ac_exeext; then
27808 ac_cv_lib_expat_XML_ParserCreate=yes
27809 else
27810 echo "$as_me: failed program was:" >&5
27811 sed 's/^/| /' conftest.$ac_ext >&5
27812
27813 ac_cv_lib_expat_XML_ParserCreate=no
27814 fi
27815
27816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27817 conftest$ac_exeext conftest.$ac_ext
27818 LIBS=$ac_check_lib_save_LIBS
27819 fi
27820 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27821 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27822 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27823 EXPAT_LINK=" -lexpat"
27824 fi
27825
27826 fi
27827 fi
27828 if test "x$EXPAT_LINK" = "x" ; then
27829 if test "$wxUSE_EXPAT" = "sys" ; then
27830 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27831 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27832 { (exit 1); exit 1; }; }
27833 else
27834 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27835 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27836 wxUSE_EXPAT=builtin
27837 fi
27838 else
27839 wxUSE_EXPAT=sys
27840 fi
27841 fi
27842 if test "$wxUSE_EXPAT" = "builtin" ; then
27843 subdirs="$subdirs src/expat"
27844
27845 fi
27846 fi
27847
27848
27849
27850 if test "$wxUSE_LIBMSPACK" != "no"; then
27851 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27852 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27853 if test "${ac_cv_header_mspack_h+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 else
27856 cat >conftest.$ac_ext <<_ACEOF
27857 /* confdefs.h. */
27858 _ACEOF
27859 cat confdefs.h >>conftest.$ac_ext
27860 cat >>conftest.$ac_ext <<_ACEOF
27861 /* end confdefs.h. */
27862
27863
27864 #include <mspack.h>
27865 _ACEOF
27866 rm -f conftest.$ac_objext
27867 if { (ac_try="$ac_compile"
27868 case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27871 esac
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_compile") 2>conftest.er1
27874 ac_status=$?
27875 grep -v '^ *+' conftest.er1 >conftest.err
27876 rm -f conftest.er1
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } && {
27880 test -z "$ac_c_werror_flag" ||
27881 test ! -s conftest.err
27882 } && test -s conftest.$ac_objext; then
27883 ac_cv_header_mspack_h=yes
27884 else
27885 echo "$as_me: failed program was:" >&5
27886 sed 's/^/| /' conftest.$ac_ext >&5
27887
27888 ac_cv_header_mspack_h=no
27889 fi
27890
27891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27892 fi
27893 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27894 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27895 if test $ac_cv_header_mspack_h = yes; then
27896 found_mspack_h=1
27897 fi
27898
27899
27900 if test "x$found_mspack_h" = "x1"; then
27901 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27902 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27903 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 else
27906 ac_check_lib_save_LIBS=$LIBS
27907 LIBS="-lmspack $LIBS"
27908 cat >conftest.$ac_ext <<_ACEOF
27909 /* confdefs.h. */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914
27915 /* Override any GCC internal prototype to avoid an error.
27916 Use char because int might match the return type of a GCC
27917 builtin and then its argument prototype would still apply. */
27918 #ifdef __cplusplus
27919 extern "C"
27920 #endif
27921 char mspack_create_chm_decompressor ();
27922 int
27923 main ()
27924 {
27925 return mspack_create_chm_decompressor ();
27926 ;
27927 return 0;
27928 }
27929 _ACEOF
27930 rm -f conftest.$ac_objext conftest$ac_exeext
27931 if { (ac_try="$ac_link"
27932 case "(($ac_try" in
27933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27934 *) ac_try_echo=$ac_try;;
27935 esac
27936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27937 (eval "$ac_link") 2>conftest.er1
27938 ac_status=$?
27939 grep -v '^ *+' conftest.er1 >conftest.err
27940 rm -f conftest.er1
27941 cat conftest.err >&5
27942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943 (exit $ac_status); } && {
27944 test -z "$ac_c_werror_flag" ||
27945 test ! -s conftest.err
27946 } && test -s conftest$ac_exeext &&
27947 $as_test_x conftest$ac_exeext; then
27948 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27949 else
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.$ac_ext >&5
27952
27953 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27954 fi
27955
27956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27957 conftest$ac_exeext conftest.$ac_ext
27958 LIBS=$ac_check_lib_save_LIBS
27959 fi
27960 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27961 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27962 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27963 MSPACK_LINK=" -lmspack"
27964 fi
27965
27966 fi
27967 if test "x$MSPACK_LINK" = "x" ; then
27968 wxUSE_LIBMSPACK=no
27969 fi
27970 fi
27971
27972 if test "$wxUSE_LIBMSPACK" != "no"; then
27973 cat >>confdefs.h <<\_ACEOF
27974 #define wxUSE_LIBMSPACK 1
27975 _ACEOF
27976
27977 fi
27978
27979
27980
27981 AFMINSTALL=
27982 WIN32INSTALL=
27983
27984 TOOLKIT=
27985 TOOLKIT_INCLUDE=
27986 WIDGET_SET=
27987
27988 if test "$USE_WIN32" = 1 ; then
27989
27990 for ac_header in w32api.h
27991 do
27992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27996 echo $ECHO_N "(cached) $ECHO_C" >&6
27997 else
27998 cat >conftest.$ac_ext <<_ACEOF
27999 /* confdefs.h. */
28000 _ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28004
28005
28006 #include <$ac_header>
28007 _ACEOF
28008 rm -f conftest.$ac_objext
28009 if { (ac_try="$ac_compile"
28010 case "(($ac_try" in
28011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28012 *) ac_try_echo=$ac_try;;
28013 esac
28014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28015 (eval "$ac_compile") 2>conftest.er1
28016 ac_status=$?
28017 grep -v '^ *+' conftest.er1 >conftest.err
28018 rm -f conftest.er1
28019 cat conftest.err >&5
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } && {
28022 test -z "$ac_c_werror_flag" ||
28023 test ! -s conftest.err
28024 } && test -s conftest.$ac_objext; then
28025 eval "$as_ac_Header=yes"
28026 else
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28029
28030 eval "$as_ac_Header=no"
28031 fi
28032
28033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28034 fi
28035 ac_res=`eval echo '${'$as_ac_Header'}'`
28036 { echo "$as_me:$LINENO: result: $ac_res" >&5
28037 echo "${ECHO_T}$ac_res" >&6; }
28038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28039 cat >>confdefs.h <<_ACEOF
28040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28041 _ACEOF
28042
28043 fi
28044
28045 done
28046
28047 { echo "$as_me:$LINENO: checking for windows.h" >&5
28048 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28049 if test "${ac_cv_header_windows_h+set}" = set; then
28050 echo $ECHO_N "(cached) $ECHO_C" >&6
28051 else
28052 cat >conftest.$ac_ext <<_ACEOF
28053 /* confdefs.h. */
28054 _ACEOF
28055 cat confdefs.h >>conftest.$ac_ext
28056 cat >>conftest.$ac_ext <<_ACEOF
28057 /* end confdefs.h. */
28058
28059
28060 #include <windows.h>
28061 _ACEOF
28062 rm -f conftest.$ac_objext
28063 if { (ac_try="$ac_compile"
28064 case "(($ac_try" in
28065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28066 *) ac_try_echo=$ac_try;;
28067 esac
28068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28069 (eval "$ac_compile") 2>conftest.er1
28070 ac_status=$?
28071 grep -v '^ *+' conftest.er1 >conftest.err
28072 rm -f conftest.er1
28073 cat conftest.err >&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } && {
28076 test -z "$ac_c_werror_flag" ||
28077 test ! -s conftest.err
28078 } && test -s conftest.$ac_objext; then
28079 ac_cv_header_windows_h=yes
28080 else
28081 echo "$as_me: failed program was:" >&5
28082 sed 's/^/| /' conftest.$ac_ext >&5
28083
28084 ac_cv_header_windows_h=no
28085 fi
28086
28087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28088 fi
28089 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28090 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28091 if test $ac_cv_header_windows_h = yes; then
28092 :
28093 else
28094
28095 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28096 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28097 { (exit 1); exit 1; }; }
28098
28099 fi
28100
28101
28102
28103 case "${host}" in
28104 x86_64-*-mingw32* )
28105 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28106 ;;
28107 * )
28108 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28109 ;;
28110 esac
28111 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28112 LIBS="$LIBS -loleacc"
28113 fi
28114
28115 case "${host}" in
28116 *-*-cygwin* )
28117 LIBS="$LIBS -lkernel32 -luser32"
28118 esac
28119
28120 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28121 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28122
28123 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28124
28125 WIN32INSTALL=win32install
28126
28127 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28128 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28129 if test "${ac_cv_header_pbt_h+set}" = set; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28131 else
28132 cat >conftest.$ac_ext <<_ACEOF
28133 /* confdefs.h. */
28134 _ACEOF
28135 cat confdefs.h >>conftest.$ac_ext
28136 cat >>conftest.$ac_ext <<_ACEOF
28137 /* end confdefs.h. */
28138
28139
28140 #include <pbt.h>
28141 _ACEOF
28142 rm -f conftest.$ac_objext
28143 if { (ac_try="$ac_compile"
28144 case "(($ac_try" in
28145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28146 *) ac_try_echo=$ac_try;;
28147 esac
28148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28149 (eval "$ac_compile") 2>conftest.er1
28150 ac_status=$?
28151 grep -v '^ *+' conftest.er1 >conftest.err
28152 rm -f conftest.er1
28153 cat conftest.err >&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } && {
28156 test -z "$ac_c_werror_flag" ||
28157 test ! -s conftest.err
28158 } && test -s conftest.$ac_objext; then
28159 ac_cv_header_pbt_h=yes
28160 else
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 ac_cv_header_pbt_h=no
28165 fi
28166
28167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28168 fi
28169 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28170 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28171 if test $ac_cv_header_pbt_h = yes; then
28172 :
28173 else
28174 cat >>confdefs.h <<\_ACEOF
28175 #define NEED_PBT_H 1
28176 _ACEOF
28177
28178 fi
28179
28180
28181 fi
28182
28183 if test "$wxUSE_GUI" = "yes"; then
28184 USE_GUI=1
28185
28186 GUI_TK_LIBRARY=
28187
28188 WXGTK12=
28189 WXGTK127=
28190 WXGTK2=
28191 WXGPE=
28192
28193 if test "$wxUSE_COCOA" = 1 ; then
28194 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28195 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28196 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28197 wxUSE_PRINTING_ARCHITECTURE=no
28198 fi
28199 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28200 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28201 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28202 wxUSE_DRAG_AND_DROP=no
28203 fi
28204 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28205 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28206 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28207 wxUSE_DRAGIMAGE=no
28208 fi
28209 fi
28210
28211 if test "$wxUSE_MSW" = 1 ; then
28212 TOOLKIT=MSW
28213 GUIDIST=MSW_DIST
28214
28215 case "${host}" in
28216 *-*-mingw32* )
28217 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28218 esac
28219 fi
28220
28221 if test "$wxUSE_GTK" = 1; then
28222 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28223 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28224
28225 gtk_version_cached=1
28226 if test "${wx_cv_lib_gtk+set}" = set; then
28227 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 else
28229
28230 gtk_version_cached=0
28231 { echo "$as_me:$LINENO: result: " >&5
28232 echo "${ECHO_T}" >&6; }
28233
28234 GTK_MODULES=
28235 if test "$wxUSE_THREADS" = "yes"; then
28236 GTK_MODULES=gthread
28237 fi
28238
28239 wx_cv_lib_gtk=
28240 if test "x$wxGTK_VERSION" != "x1"
28241 then
28242 case "${host}" in
28243 *-*-solaris2* )
28244 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28245 enable_gtktest=no
28246 fi
28247 esac
28248
28249 # Check whether --enable-gtktest was given.
28250 if test "${enable_gtktest+set}" = set; then
28251 enableval=$enable_gtktest;
28252 else
28253 enable_gtktest=yes
28254 fi
28255
28256
28257 pkg_config_args=gtk+-2.0
28258 for module in . $GTK_MODULES
28259 do
28260 case "$module" in
28261 gthread)
28262 pkg_config_args="$pkg_config_args gthread-2.0"
28263 ;;
28264 esac
28265 done
28266
28267 no_gtk=""
28268
28269 # Extract the first word of "pkg-config", so it can be a program name with args.
28270 set dummy pkg-config; ac_word=$2
28271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28273 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276 case $PKG_CONFIG in
28277 [\\/]* | ?:[\\/]*)
28278 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28279 ;;
28280 *)
28281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28282 for as_dir in $PATH
28283 do
28284 IFS=$as_save_IFS
28285 test -z "$as_dir" && as_dir=.
28286 for ac_exec_ext in '' $ac_executable_extensions; do
28287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28288 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28290 break 2
28291 fi
28292 done
28293 done
28294 IFS=$as_save_IFS
28295
28296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28297 ;;
28298 esac
28299 fi
28300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28301 if test -n "$PKG_CONFIG"; then
28302 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28303 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28304 else
28305 { echo "$as_me:$LINENO: result: no" >&5
28306 echo "${ECHO_T}no" >&6; }
28307 fi
28308
28309
28310
28311 if test x$PKG_CONFIG != xno ; then
28312 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28313 :
28314 else
28315 echo "*** pkg-config too old; version 0.7 or better required."
28316 no_gtk=yes
28317 PKG_CONFIG=no
28318 fi
28319 else
28320 no_gtk=yes
28321 fi
28322
28323 min_gtk_version=2.4.0
28324 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28325 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28326
28327 if test x$PKG_CONFIG != xno ; then
28328 ## don't try to run the test against uninstalled libtool libs
28329 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28330 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28331 enable_gtktest=no
28332 fi
28333
28334 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28335 :
28336 else
28337 no_gtk=yes
28338 fi
28339 fi
28340
28341 if test x"$no_gtk" = x ; then
28342 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28343 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28344 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28346 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28348 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28350 if test "x$enable_gtktest" = "xyes" ; then
28351 ac_save_CFLAGS="$CFLAGS"
28352 ac_save_LIBS="$LIBS"
28353 CFLAGS="$CFLAGS $GTK_CFLAGS"
28354 LIBS="$GTK_LIBS $LIBS"
28355 rm -f conf.gtktest
28356 if test "$cross_compiling" = yes; then
28357 echo $ac_n "cross compiling; assumed OK... $ac_c"
28358 else
28359 cat >conftest.$ac_ext <<_ACEOF
28360 /* confdefs.h. */
28361 _ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365
28366 #include <gtk/gtk.h>
28367 #include <stdio.h>
28368 #include <stdlib.h>
28369
28370 int
28371 main ()
28372 {
28373 int major, minor, micro;
28374 char *tmp_version;
28375
28376 system ("touch conf.gtktest");
28377
28378 /* HP/UX 9 (%@#!) writes to sscanf strings */
28379 tmp_version = g_strdup("$min_gtk_version");
28380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28381 printf("%s, bad version string\n", "$min_gtk_version");
28382 exit(1);
28383 }
28384
28385 if ((gtk_major_version != $gtk_config_major_version) ||
28386 (gtk_minor_version != $gtk_config_minor_version) ||
28387 (gtk_micro_version != $gtk_config_micro_version))
28388 {
28389 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28391 gtk_major_version, gtk_minor_version, gtk_micro_version);
28392 printf ("*** was found! If pkg-config was correct, then it is best\n");
28393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28396 printf("*** required on your system.\n");
28397 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28398 printf("*** to point to the correct configuration files\n");
28399 }
28400 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28401 (gtk_minor_version != GTK_MINOR_VERSION) ||
28402 (gtk_micro_version != GTK_MICRO_VERSION))
28403 {
28404 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28405 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28406 printf("*** library (version %d.%d.%d)\n",
28407 gtk_major_version, gtk_minor_version, gtk_micro_version);
28408 }
28409 else
28410 {
28411 if ((gtk_major_version > major) ||
28412 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28413 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28414 {
28415 return 0;
28416 }
28417 else
28418 {
28419 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28420 gtk_major_version, gtk_minor_version, gtk_micro_version);
28421 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28422 major, minor, micro);
28423 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28424 printf("***\n");
28425 printf("*** If you have already installed a sufficiently new version, this error\n");
28426 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28427 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28428 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28429 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28430 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28431 printf("*** so that the correct libraries are found at run-time))\n");
28432 }
28433 }
28434 return 1;
28435 }
28436
28437 _ACEOF
28438 rm -f conftest$ac_exeext
28439 if { (ac_try="$ac_link"
28440 case "(($ac_try" in
28441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28442 *) ac_try_echo=$ac_try;;
28443 esac
28444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28445 (eval "$ac_link") 2>&5
28446 ac_status=$?
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28449 { (case "(($ac_try" in
28450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28451 *) ac_try_echo=$ac_try;;
28452 esac
28453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28454 (eval "$ac_try") 2>&5
28455 ac_status=$?
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; }; then
28458 :
28459 else
28460 echo "$as_me: program exited with status $ac_status" >&5
28461 echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.$ac_ext >&5
28463
28464 ( exit $ac_status )
28465 no_gtk=yes
28466 fi
28467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28468 fi
28469
28470
28471 CFLAGS="$ac_save_CFLAGS"
28472 LIBS="$ac_save_LIBS"
28473 fi
28474 fi
28475 if test "x$no_gtk" = x ; then
28476 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28477 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28478 wx_cv_lib_gtk=2.0
28479 else
28480 { echo "$as_me:$LINENO: result: no" >&5
28481 echo "${ECHO_T}no" >&6; }
28482 if test "$PKG_CONFIG" = "no" ; then
28483 echo "*** A new enough version of pkg-config was not found."
28484 echo "*** See http://pkgconfig.sourceforge.net"
28485 else
28486 if test -f conf.gtktest ; then
28487 :
28488 else
28489 echo "*** Could not run GTK+ test program, checking why..."
28490 ac_save_CFLAGS="$CFLAGS"
28491 ac_save_LIBS="$LIBS"
28492 CFLAGS="$CFLAGS $GTK_CFLAGS"
28493 LIBS="$LIBS $GTK_LIBS"
28494 cat >conftest.$ac_ext <<_ACEOF
28495 /* confdefs.h. */
28496 _ACEOF
28497 cat confdefs.h >>conftest.$ac_ext
28498 cat >>conftest.$ac_ext <<_ACEOF
28499 /* end confdefs.h. */
28500
28501 #include <gtk/gtk.h>
28502 #include <stdio.h>
28503
28504 int
28505 main ()
28506 {
28507 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28508 ;
28509 return 0;
28510 }
28511 _ACEOF
28512 rm -f conftest.$ac_objext conftest$ac_exeext
28513 if { (ac_try="$ac_link"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28516 *) ac_try_echo=$ac_try;;
28517 esac
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_link") 2>conftest.er1
28520 ac_status=$?
28521 grep -v '^ *+' conftest.er1 >conftest.err
28522 rm -f conftest.er1
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest$ac_exeext &&
28529 $as_test_x conftest$ac_exeext; then
28530 echo "*** The test program compiled, but did not run. This usually means"
28531 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28532 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28533 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28534 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28535 echo "*** is required on your system"
28536 echo "***"
28537 echo "*** If you have an old version installed, it is best to remove it, although"
28538 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28539 else
28540 echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28542
28543 echo "*** The test program failed to compile or link. See the file config.log for the"
28544 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28545 fi
28546
28547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28548 conftest$ac_exeext conftest.$ac_ext
28549 CFLAGS="$ac_save_CFLAGS"
28550 LIBS="$ac_save_LIBS"
28551 fi
28552 fi
28553 GTK_CFLAGS=""
28554 GTK_LIBS=""
28555 :
28556 fi
28557
28558
28559 rm -f conf.gtktest
28560
28561
28562 case "${host}" in
28563 *-*-solaris2* )
28564 if test "$wxUSE_SHARED" != "yes"; then
28565 GTK_LIBS="$GTK_LIBS -lX11"
28566 fi
28567 esac
28568 fi
28569
28570 if test -z "$wx_cv_lib_gtk"; then
28571 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28572
28573 # Check whether --with-gtk-prefix was given.
28574 if test "${with_gtk_prefix+set}" = set; then
28575 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28576 else
28577 gtk_config_prefix=""
28578 fi
28579
28580
28581 # Check whether --with-gtk-exec-prefix was given.
28582 if test "${with_gtk_exec_prefix+set}" = set; then
28583 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28584 else
28585 gtk_config_exec_prefix=""
28586 fi
28587
28588 # Check whether --enable-gtktest was given.
28589 if test "${enable_gtktest+set}" = set; then
28590 enableval=$enable_gtktest;
28591 else
28592 enable_gtktest=yes
28593 fi
28594
28595
28596 for module in . $GTK_MODULES
28597 do
28598 case "$module" in
28599 gthread)
28600 gtk_config_args="$gtk_config_args gthread"
28601 ;;
28602 esac
28603 done
28604
28605 if test x$gtk_config_exec_prefix != x ; then
28606 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28607 if test x${GTK_CONFIG+set} != xset ; then
28608 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28609 fi
28610 fi
28611 if test x$gtk_config_prefix != x ; then
28612 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28613 if test x${GTK_CONFIG+set} != xset ; then
28614 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28615 fi
28616 fi
28617
28618 # Extract the first word of "gtk-config", so it can be a program name with args.
28619 set dummy gtk-config; ac_word=$2
28620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28622 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28623 echo $ECHO_N "(cached) $ECHO_C" >&6
28624 else
28625 case $GTK_CONFIG in
28626 [\\/]* | ?:[\\/]*)
28627 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28628 ;;
28629 *)
28630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28631 for as_dir in $PATH
28632 do
28633 IFS=$as_save_IFS
28634 test -z "$as_dir" && as_dir=.
28635 for ac_exec_ext in '' $ac_executable_extensions; do
28636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28637 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28639 break 2
28640 fi
28641 done
28642 done
28643 IFS=$as_save_IFS
28644
28645 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28646 ;;
28647 esac
28648 fi
28649 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28650 if test -n "$GTK_CONFIG"; then
28651 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28652 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28653 else
28654 { echo "$as_me:$LINENO: result: no" >&5
28655 echo "${ECHO_T}no" >&6; }
28656 fi
28657
28658
28659 min_gtk_version=1.2.7
28660 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28661 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28662 no_gtk=""
28663 if test "$GTK_CONFIG" = "no" ; then
28664 no_gtk=yes
28665 else
28666 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28667 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28668 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28670 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28672 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28674 if test "x$enable_gtktest" = "xyes" ; then
28675 ac_save_CFLAGS="$CFLAGS"
28676 ac_save_LIBS="$LIBS"
28677 CFLAGS="$CFLAGS $GTK_CFLAGS"
28678 LIBS="$GTK_LIBS $LIBS"
28679 rm -f conf.gtktest
28680 if test "$cross_compiling" = yes; then
28681 echo $ac_n "cross compiling; assumed OK... $ac_c"
28682 else
28683 cat >conftest.$ac_ext <<_ACEOF
28684 /* confdefs.h. */
28685 _ACEOF
28686 cat confdefs.h >>conftest.$ac_ext
28687 cat >>conftest.$ac_ext <<_ACEOF
28688 /* end confdefs.h. */
28689
28690 #include <gtk/gtk.h>
28691 #include <stdio.h>
28692 #include <stdlib.h>
28693
28694 int
28695 main ()
28696 {
28697 int major, minor, micro;
28698 char *tmp_version;
28699
28700 system ("touch conf.gtktest");
28701
28702 /* HP/UX 9 (%@#!) writes to sscanf strings */
28703 tmp_version = g_strdup("$min_gtk_version");
28704 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28705 printf("%s, bad version string\n", "$min_gtk_version");
28706 exit(1);
28707 }
28708
28709 if ((gtk_major_version != $gtk_config_major_version) ||
28710 (gtk_minor_version != $gtk_config_minor_version) ||
28711 (gtk_micro_version != $gtk_config_micro_version))
28712 {
28713 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28714 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28715 gtk_major_version, gtk_minor_version, gtk_micro_version);
28716 printf ("*** was found! If gtk-config was correct, then it is best\n");
28717 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28718 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28719 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28720 printf("*** required on your system.\n");
28721 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28722 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28723 printf("*** before re-running configure\n");
28724 }
28725 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28726 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28727 (gtk_minor_version != GTK_MINOR_VERSION) ||
28728 (gtk_micro_version != GTK_MICRO_VERSION))
28729 {
28730 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28731 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28732 printf("*** library (version %d.%d.%d)\n",
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 }
28735 #endif /* defined (GTK_MAJOR_VERSION) ... */
28736 else
28737 {
28738 if ((gtk_major_version > major) ||
28739 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28740 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28741 {
28742 return 0;
28743 }
28744 else
28745 {
28746 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28747 gtk_major_version, gtk_minor_version, gtk_micro_version);
28748 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28749 major, minor, micro);
28750 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28751 printf("***\n");
28752 printf("*** If you have already installed a sufficiently new version, this error\n");
28753 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28754 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28755 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28756 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28757 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28758 printf("*** so that the correct libraries are found at run-time))\n");
28759 }
28760 }
28761 return 1;
28762 }
28763
28764 _ACEOF
28765 rm -f conftest$ac_exeext
28766 if { (ac_try="$ac_link"
28767 case "(($ac_try" in
28768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28769 *) ac_try_echo=$ac_try;;
28770 esac
28771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28772 (eval "$ac_link") 2>&5
28773 ac_status=$?
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28776 { (case "(($ac_try" in
28777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28779 esac
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_try") 2>&5
28782 ac_status=$?
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 :
28786 else
28787 echo "$as_me: program exited with status $ac_status" >&5
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 ( exit $ac_status )
28792 no_gtk=yes
28793 fi
28794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28795 fi
28796
28797
28798 CFLAGS="$ac_save_CFLAGS"
28799 LIBS="$ac_save_LIBS"
28800 fi
28801 fi
28802 if test "x$no_gtk" = x ; then
28803 { echo "$as_me:$LINENO: result: yes" >&5
28804 echo "${ECHO_T}yes" >&6; }
28805 wx_cv_lib_gtk=1.2.7
28806 else
28807 { echo "$as_me:$LINENO: result: no" >&5
28808 echo "${ECHO_T}no" >&6; }
28809 if test "$GTK_CONFIG" = "no" ; then
28810 echo "*** The gtk-config script installed by GTK could not be found"
28811 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28812 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28813 echo "*** full path to gtk-config."
28814 else
28815 if test -f conf.gtktest ; then
28816 :
28817 else
28818 echo "*** Could not run GTK test program, checking why..."
28819 CFLAGS="$CFLAGS $GTK_CFLAGS"
28820 LIBS="$LIBS $GTK_LIBS"
28821 cat >conftest.$ac_ext <<_ACEOF
28822 /* confdefs.h. */
28823 _ACEOF
28824 cat confdefs.h >>conftest.$ac_ext
28825 cat >>conftest.$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28827
28828 #include <gtk/gtk.h>
28829 #include <stdio.h>
28830
28831 int
28832 main ()
28833 {
28834 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28835 ;
28836 return 0;
28837 }
28838 _ACEOF
28839 rm -f conftest.$ac_objext conftest$ac_exeext
28840 if { (ac_try="$ac_link"
28841 case "(($ac_try" in
28842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28843 *) ac_try_echo=$ac_try;;
28844 esac
28845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28846 (eval "$ac_link") 2>conftest.er1
28847 ac_status=$?
28848 grep -v '^ *+' conftest.er1 >conftest.err
28849 rm -f conftest.er1
28850 cat conftest.err >&5
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); } && {
28853 test -z "$ac_c_werror_flag" ||
28854 test ! -s conftest.err
28855 } && test -s conftest$ac_exeext &&
28856 $as_test_x conftest$ac_exeext; then
28857 echo "*** The test program compiled, but did not run. This usually means"
28858 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28859 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28860 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28861 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28862 echo "*** is required on your system"
28863 echo "***"
28864 echo "*** If you have an old version installed, it is best to remove it, although"
28865 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28866 echo "***"
28867 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28868 echo "*** came with the system with the command"
28869 echo "***"
28870 echo "*** rpm --erase --nodeps gtk gtk-devel"
28871 else
28872 echo "$as_me: failed program was:" >&5
28873 sed 's/^/| /' conftest.$ac_ext >&5
28874
28875 echo "*** The test program failed to compile or link. See the file config.log for the"
28876 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28877 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28878 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28879 fi
28880
28881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28882 conftest$ac_exeext conftest.$ac_ext
28883 CFLAGS="$ac_save_CFLAGS"
28884 LIBS="$ac_save_LIBS"
28885 fi
28886 fi
28887 GTK_CFLAGS=""
28888 GTK_LIBS=""
28889 :
28890 fi
28891
28892
28893 rm -f conf.gtktest
28894
28895
28896 if test -z "$wx_cv_lib_gtk"; then
28897
28898 # Check whether --with-gtk-prefix was given.
28899 if test "${with_gtk_prefix+set}" = set; then
28900 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28901 else
28902 gtk_config_prefix=""
28903 fi
28904
28905
28906 # Check whether --with-gtk-exec-prefix was given.
28907 if test "${with_gtk_exec_prefix+set}" = set; then
28908 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28909 else
28910 gtk_config_exec_prefix=""
28911 fi
28912
28913 # Check whether --enable-gtktest was given.
28914 if test "${enable_gtktest+set}" = set; then
28915 enableval=$enable_gtktest;
28916 else
28917 enable_gtktest=yes
28918 fi
28919
28920
28921 for module in . $GTK_MODULES
28922 do
28923 case "$module" in
28924 gthread)
28925 gtk_config_args="$gtk_config_args gthread"
28926 ;;
28927 esac
28928 done
28929
28930 if test x$gtk_config_exec_prefix != x ; then
28931 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28932 if test x${GTK_CONFIG+set} != xset ; then
28933 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28934 fi
28935 fi
28936 if test x$gtk_config_prefix != x ; then
28937 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28938 if test x${GTK_CONFIG+set} != xset ; then
28939 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28940 fi
28941 fi
28942
28943 # Extract the first word of "gtk-config", so it can be a program name with args.
28944 set dummy gtk-config; ac_word=$2
28945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28947 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 else
28950 case $GTK_CONFIG in
28951 [\\/]* | ?:[\\/]*)
28952 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28953 ;;
28954 *)
28955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28956 for as_dir in $PATH
28957 do
28958 IFS=$as_save_IFS
28959 test -z "$as_dir" && as_dir=.
28960 for ac_exec_ext in '' $ac_executable_extensions; do
28961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28962 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28964 break 2
28965 fi
28966 done
28967 done
28968 IFS=$as_save_IFS
28969
28970 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28971 ;;
28972 esac
28973 fi
28974 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28975 if test -n "$GTK_CONFIG"; then
28976 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28977 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28978 else
28979 { echo "$as_me:$LINENO: result: no" >&5
28980 echo "${ECHO_T}no" >&6; }
28981 fi
28982
28983
28984 min_gtk_version=1.2.3
28985 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28986 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28987 no_gtk=""
28988 if test "$GTK_CONFIG" = "no" ; then
28989 no_gtk=yes
28990 else
28991 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28992 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28993 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28995 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28997 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28999 if test "x$enable_gtktest" = "xyes" ; then
29000 ac_save_CFLAGS="$CFLAGS"
29001 ac_save_LIBS="$LIBS"
29002 CFLAGS="$CFLAGS $GTK_CFLAGS"
29003 LIBS="$GTK_LIBS $LIBS"
29004 rm -f conf.gtktest
29005 if test "$cross_compiling" = yes; then
29006 echo $ac_n "cross compiling; assumed OK... $ac_c"
29007 else
29008 cat >conftest.$ac_ext <<_ACEOF
29009 /* confdefs.h. */
29010 _ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014
29015 #include <gtk/gtk.h>
29016 #include <stdio.h>
29017 #include <stdlib.h>
29018
29019 int
29020 main ()
29021 {
29022 int major, minor, micro;
29023 char *tmp_version;
29024
29025 system ("touch conf.gtktest");
29026
29027 /* HP/UX 9 (%@#!) writes to sscanf strings */
29028 tmp_version = g_strdup("$min_gtk_version");
29029 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29030 printf("%s, bad version string\n", "$min_gtk_version");
29031 exit(1);
29032 }
29033
29034 if ((gtk_major_version != $gtk_config_major_version) ||
29035 (gtk_minor_version != $gtk_config_minor_version) ||
29036 (gtk_micro_version != $gtk_config_micro_version))
29037 {
29038 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29039 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29040 gtk_major_version, gtk_minor_version, gtk_micro_version);
29041 printf ("*** was found! If gtk-config was correct, then it is best\n");
29042 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29043 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29044 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29045 printf("*** required on your system.\n");
29046 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29047 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29048 printf("*** before re-running configure\n");
29049 }
29050 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29051 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29052 (gtk_minor_version != GTK_MINOR_VERSION) ||
29053 (gtk_micro_version != GTK_MICRO_VERSION))
29054 {
29055 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29056 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29057 printf("*** library (version %d.%d.%d)\n",
29058 gtk_major_version, gtk_minor_version, gtk_micro_version);
29059 }
29060 #endif /* defined (GTK_MAJOR_VERSION) ... */
29061 else
29062 {
29063 if ((gtk_major_version > major) ||
29064 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29065 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29066 {
29067 return 0;
29068 }
29069 else
29070 {
29071 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29072 gtk_major_version, gtk_minor_version, gtk_micro_version);
29073 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29074 major, minor, micro);
29075 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29076 printf("***\n");
29077 printf("*** If you have already installed a sufficiently new version, this error\n");
29078 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29079 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29080 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29081 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29082 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29083 printf("*** so that the correct libraries are found at run-time))\n");
29084 }
29085 }
29086 return 1;
29087 }
29088
29089 _ACEOF
29090 rm -f conftest$ac_exeext
29091 if { (ac_try="$ac_link"
29092 case "(($ac_try" in
29093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29094 *) ac_try_echo=$ac_try;;
29095 esac
29096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29097 (eval "$ac_link") 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29101 { (case "(($ac_try" in
29102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29103 *) ac_try_echo=$ac_try;;
29104 esac
29105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29106 (eval "$ac_try") 2>&5
29107 ac_status=$?
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); }; }; then
29110 :
29111 else
29112 echo "$as_me: program exited with status $ac_status" >&5
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.$ac_ext >&5
29115
29116 ( exit $ac_status )
29117 no_gtk=yes
29118 fi
29119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29120 fi
29121
29122
29123 CFLAGS="$ac_save_CFLAGS"
29124 LIBS="$ac_save_LIBS"
29125 fi
29126 fi
29127 if test "x$no_gtk" = x ; then
29128 { echo "$as_me:$LINENO: result: yes" >&5
29129 echo "${ECHO_T}yes" >&6; }
29130 wx_cv_lib_gtk=1.2.3
29131 else
29132 { echo "$as_me:$LINENO: result: no" >&5
29133 echo "${ECHO_T}no" >&6; }
29134 if test "$GTK_CONFIG" = "no" ; then
29135 echo "*** The gtk-config script installed by GTK could not be found"
29136 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29137 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29138 echo "*** full path to gtk-config."
29139 else
29140 if test -f conf.gtktest ; then
29141 :
29142 else
29143 echo "*** Could not run GTK test program, checking why..."
29144 CFLAGS="$CFLAGS $GTK_CFLAGS"
29145 LIBS="$LIBS $GTK_LIBS"
29146 cat >conftest.$ac_ext <<_ACEOF
29147 /* confdefs.h. */
29148 _ACEOF
29149 cat confdefs.h >>conftest.$ac_ext
29150 cat >>conftest.$ac_ext <<_ACEOF
29151 /* end confdefs.h. */
29152
29153 #include <gtk/gtk.h>
29154 #include <stdio.h>
29155
29156 int
29157 main ()
29158 {
29159 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29160 ;
29161 return 0;
29162 }
29163 _ACEOF
29164 rm -f conftest.$ac_objext conftest$ac_exeext
29165 if { (ac_try="$ac_link"
29166 case "(($ac_try" in
29167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29168 *) ac_try_echo=$ac_try;;
29169 esac
29170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29171 (eval "$ac_link") 2>conftest.er1
29172 ac_status=$?
29173 grep -v '^ *+' conftest.er1 >conftest.err
29174 rm -f conftest.er1
29175 cat conftest.err >&5
29176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29177 (exit $ac_status); } && {
29178 test -z "$ac_c_werror_flag" ||
29179 test ! -s conftest.err
29180 } && test -s conftest$ac_exeext &&
29181 $as_test_x conftest$ac_exeext; then
29182 echo "*** The test program compiled, but did not run. This usually means"
29183 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29184 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29185 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29186 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29187 echo "*** is required on your system"
29188 echo "***"
29189 echo "*** If you have an old version installed, it is best to remove it, although"
29190 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29191 echo "***"
29192 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29193 echo "*** came with the system with the command"
29194 echo "***"
29195 echo "*** rpm --erase --nodeps gtk gtk-devel"
29196 else
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29199
29200 echo "*** The test program failed to compile or link. See the file config.log for the"
29201 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29202 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29203 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29204 fi
29205
29206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29207 conftest$ac_exeext conftest.$ac_ext
29208 CFLAGS="$ac_save_CFLAGS"
29209 LIBS="$ac_save_LIBS"
29210 fi
29211 fi
29212 GTK_CFLAGS=""
29213 GTK_LIBS=""
29214 :
29215 fi
29216
29217
29218 rm -f conf.gtktest
29219
29220 fi
29221 fi
29222 fi
29223
29224 if test -z "$wx_cv_lib_gtk"; then
29225 wx_cv_lib_gtk=none
29226 else
29227 wx_cv_cflags_gtk=$GTK_CFLAGS
29228 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29229 fi
29230
29231
29232 fi
29233
29234
29235 if test "$gtk_version_cached" = 1; then
29236 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29237 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29238 fi
29239
29240 case "$wx_cv_lib_gtk" in
29241 2.0) WXGTK2=1
29242 TOOLKIT_VERSION=2
29243 ;;
29244 1.2.7) WXGTK127=1
29245 WXGTK12=1
29246 ;;
29247 1.2.3) WXGTK12=1
29248 ;;
29249 *) { { echo "$as_me:$LINENO: error:
29250 The development files for GTK+ were not found. For GTK+ 2, please
29251 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29252 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29253 and that the version is 1.2.3 or above. Also check that the
29254 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29255 --libs' are in the LD_LIBRARY_PATH or equivalent.
29256 " >&5
29257 echo "$as_me: error:
29258 The development files for GTK+ were not found. For GTK+ 2, please
29259 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29260 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29261 and that the version is 1.2.3 or above. Also check that the
29262 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29263 --libs' are in the LD_LIBRARY_PATH or equivalent.
29264 " >&2;}
29265 { (exit 1); exit 1; }; }
29266 ;;
29267 esac
29268
29269 if test "$WXGTK2" = 1; then
29270 save_CFLAGS="$CFLAGS"
29271 save_LIBS="$LIBS"
29272 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29273 LIBS="$LIBS $wx_cv_libs_gtk"
29274
29275 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29276 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29277 cat >conftest.$ac_ext <<_ACEOF
29278 /* confdefs.h. */
29279 _ACEOF
29280 cat confdefs.h >>conftest.$ac_ext
29281 cat >>conftest.$ac_ext <<_ACEOF
29282 /* end confdefs.h. */
29283
29284 #include <gtk/gtk.h>
29285
29286 int
29287 main ()
29288 {
29289
29290 #if !GTK_CHECK_VERSION(2,10,0)
29291 Not GTK+ 2.10
29292 #endif
29293
29294 ;
29295 return 0;
29296 }
29297 _ACEOF
29298 rm -f conftest.$ac_objext
29299 if { (ac_try="$ac_compile"
29300 case "(($ac_try" in
29301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29302 *) ac_try_echo=$ac_try;;
29303 esac
29304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29305 (eval "$ac_compile") 2>conftest.er1
29306 ac_status=$?
29307 grep -v '^ *+' conftest.er1 >conftest.err
29308 rm -f conftest.er1
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } && {
29312 test -z "$ac_c_werror_flag" ||
29313 test ! -s conftest.err
29314 } && test -s conftest.$ac_objext; then
29315
29316 cat >>confdefs.h <<\_ACEOF
29317 #define __WXGTK210__ 1
29318 _ACEOF
29319
29320 cat >>confdefs.h <<\_ACEOF
29321 #define __WXGTK26__ 1
29322 _ACEOF
29323
29324 { echo "$as_me:$LINENO: result: yes" >&5
29325 echo "${ECHO_T}yes" >&6; }
29326 ac_wxgtk210=1
29327
29328 else
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.$ac_ext >&5
29331
29332
29333 { echo "$as_me:$LINENO: result: no" >&5
29334 echo "${ECHO_T}no" >&6; }
29335 ac_wxgtk210=0
29336
29337 fi
29338
29339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29340
29341 if test "$ac_wxgtk210" = 0; then
29342 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29343 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29344 cat >conftest.$ac_ext <<_ACEOF
29345 /* confdefs.h. */
29346 _ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29350
29351 #include <gtk/gtk.h>
29352
29353 int
29354 main ()
29355 {
29356
29357 #if !GTK_CHECK_VERSION(2,6,0)
29358 Not GTK+ 2.6
29359 #endif
29360
29361 ;
29362 return 0;
29363 }
29364 _ACEOF
29365 rm -f conftest.$ac_objext
29366 if { (ac_try="$ac_compile"
29367 case "(($ac_try" in
29368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29369 *) ac_try_echo=$ac_try;;
29370 esac
29371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29372 (eval "$ac_compile") 2>conftest.er1
29373 ac_status=$?
29374 grep -v '^ *+' conftest.er1 >conftest.err
29375 rm -f conftest.er1
29376 cat conftest.err >&5
29377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29378 (exit $ac_status); } && {
29379 test -z "$ac_c_werror_flag" ||
29380 test ! -s conftest.err
29381 } && test -s conftest.$ac_objext; then
29382
29383 cat >>confdefs.h <<\_ACEOF
29384 #define __WXGTK26__ 1
29385 _ACEOF
29386
29387 { echo "$as_me:$LINENO: result: yes" >&5
29388 echo "${ECHO_T}yes" >&6; }
29389 ac_wxgtk26=1
29390
29391 else
29392 echo "$as_me: failed program was:" >&5
29393 sed 's/^/| /' conftest.$ac_ext >&5
29394
29395
29396 { echo "$as_me:$LINENO: result: no" >&5
29397 echo "${ECHO_T}no" >&6; }
29398 ac_wxgtk26=0
29399
29400 fi
29401
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29403 fi
29404
29405 CFLAGS="$save_CFLAGS"
29406 LIBS="$save_LIBS"
29407 else
29408 if test "$wxUSE_UNICODE" = "yes"; then
29409 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29410 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29411 wxUSE_UNICODE=no
29412 fi
29413
29414 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29415 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29416 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29417 echo $ECHO_N "(cached) $ECHO_C" >&6
29418 else
29419 ac_check_lib_save_LIBS=$LIBS
29420 LIBS="-lgdk $LIBS"
29421 cat >conftest.$ac_ext <<_ACEOF
29422 /* confdefs.h. */
29423 _ACEOF
29424 cat confdefs.h >>conftest.$ac_ext
29425 cat >>conftest.$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29427
29428 /* Override any GCC internal prototype to avoid an error.
29429 Use char because int might match the return type of a GCC
29430 builtin and then its argument prototype would still apply. */
29431 #ifdef __cplusplus
29432 extern "C"
29433 #endif
29434 char gdk_im_open ();
29435 int
29436 main ()
29437 {
29438 return gdk_im_open ();
29439 ;
29440 return 0;
29441 }
29442 _ACEOF
29443 rm -f conftest.$ac_objext conftest$ac_exeext
29444 if { (ac_try="$ac_link"
29445 case "(($ac_try" in
29446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29447 *) ac_try_echo=$ac_try;;
29448 esac
29449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29450 (eval "$ac_link") 2>conftest.er1
29451 ac_status=$?
29452 grep -v '^ *+' conftest.er1 >conftest.err
29453 rm -f conftest.er1
29454 cat conftest.err >&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } && {
29457 test -z "$ac_c_werror_flag" ||
29458 test ! -s conftest.err
29459 } && test -s conftest$ac_exeext &&
29460 $as_test_x conftest$ac_exeext; then
29461 ac_cv_lib_gdk_gdk_im_open=yes
29462 else
29463 echo "$as_me: failed program was:" >&5
29464 sed 's/^/| /' conftest.$ac_ext >&5
29465
29466 ac_cv_lib_gdk_gdk_im_open=no
29467 fi
29468
29469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29470 conftest$ac_exeext conftest.$ac_ext
29471 LIBS=$ac_check_lib_save_LIBS
29472 fi
29473 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29474 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29475 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29476 cat >>confdefs.h <<\_ACEOF
29477 #define HAVE_XIM 1
29478 _ACEOF
29479
29480 fi
29481
29482
29483 if test "$USE_DARWIN" != 1; then
29484
29485 for ac_func in poll
29486 do
29487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29491 echo $ECHO_N "(cached) $ECHO_C" >&6
29492 else
29493 cat >conftest.$ac_ext <<_ACEOF
29494 /* confdefs.h. */
29495 _ACEOF
29496 cat confdefs.h >>conftest.$ac_ext
29497 cat >>conftest.$ac_ext <<_ACEOF
29498 /* end confdefs.h. */
29499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29501 #define $ac_func innocuous_$ac_func
29502
29503 /* System header to define __stub macros and hopefully few prototypes,
29504 which can conflict with char $ac_func (); below.
29505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29506 <limits.h> exists even on freestanding compilers. */
29507
29508 #ifdef __STDC__
29509 # include <limits.h>
29510 #else
29511 # include <assert.h>
29512 #endif
29513
29514 #undef $ac_func
29515
29516 /* Override any GCC internal prototype to avoid an error.
29517 Use char because int might match the return type of a GCC
29518 builtin and then its argument prototype would still apply. */
29519 #ifdef __cplusplus
29520 extern "C"
29521 #endif
29522 char $ac_func ();
29523 /* The GNU C library defines this for functions which it implements
29524 to always fail with ENOSYS. Some functions are actually named
29525 something starting with __ and the normal name is an alias. */
29526 #if defined __stub_$ac_func || defined __stub___$ac_func
29527 choke me
29528 #endif
29529
29530 int
29531 main ()
29532 {
29533 return $ac_func ();
29534 ;
29535 return 0;
29536 }
29537 _ACEOF
29538 rm -f conftest.$ac_objext conftest$ac_exeext
29539 if { (ac_try="$ac_link"
29540 case "(($ac_try" in
29541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29542 *) ac_try_echo=$ac_try;;
29543 esac
29544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29545 (eval "$ac_link") 2>conftest.er1
29546 ac_status=$?
29547 grep -v '^ *+' conftest.er1 >conftest.err
29548 rm -f conftest.er1
29549 cat conftest.err >&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } && {
29552 test -z "$ac_c_werror_flag" ||
29553 test ! -s conftest.err
29554 } && test -s conftest$ac_exeext &&
29555 $as_test_x conftest$ac_exeext; then
29556 eval "$as_ac_var=yes"
29557 else
29558 echo "$as_me: failed program was:" >&5
29559 sed 's/^/| /' conftest.$ac_ext >&5
29560
29561 eval "$as_ac_var=no"
29562 fi
29563
29564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29565 conftest$ac_exeext conftest.$ac_ext
29566 fi
29567 ac_res=`eval echo '${'$as_ac_var'}'`
29568 { echo "$as_me:$LINENO: result: $ac_res" >&5
29569 echo "${ECHO_T}$ac_res" >&6; }
29570 if test `eval echo '${'$as_ac_var'}'` = yes; then
29571 cat >>confdefs.h <<_ACEOF
29572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29573 _ACEOF
29574
29575 fi
29576 done
29577
29578 fi
29579 fi
29580
29581 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29582 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29583
29584 AFMINSTALL=afminstall
29585 TOOLKIT=GTK
29586 GUIDIST=GTK_DIST
29587
29588 if test "$wxUSE_GPE" = "yes"; then
29589 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29590 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29591
29592 ac_find_libraries=
29593 for ac_dir in $SEARCH_LIB;
29594 do
29595 for ac_extension in a so sl dylib dll.a; do
29596 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29597 ac_find_libraries=$ac_dir
29598 break 2
29599 fi
29600 done
29601 done
29602
29603 if test "$ac_find_libraries" != "" ; then
29604
29605 if test "$ac_find_libraries" = "default location"; then
29606 ac_path_to_link=""
29607 else
29608 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29609 result=$?
29610 if test $result = 0; then
29611 ac_path_to_link=""
29612 else
29613 ac_path_to_link=" -L$ac_find_libraries"
29614 fi
29615 fi
29616
29617 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29618 WXGPE=1
29619 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29620 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29621 else
29622 { echo "$as_me:$LINENO: result: not found" >&5
29623 echo "${ECHO_T}not found" >&6; }
29624 fi
29625
29626 fi
29627 fi
29628
29629 if test "$wxUSE_MGL" = 1; then
29630 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29631 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29632 if test "x$MGL_ROOT" = x ; then
29633 { echo "$as_me:$LINENO: result: not found" >&5
29634 echo "${ECHO_T}not found" >&6; }
29635 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29636 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29637 { (exit 1); exit 1; }; }
29638 else
29639 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29640 echo "${ECHO_T}$MGL_ROOT" >&6; }
29641 fi
29642
29643 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29644 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29645 case "${host}" in
29646 *-*-linux* )
29647 if test "x$wxUSE_SHARED" = xyes ; then
29648 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29649 else
29650 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29651 fi
29652 ;;
29653 *-pc-msdosdjgpp )
29654 mgl_os_candidates="dos32/dj2"
29655 ;;
29656 *)
29657 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29658 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29659 { (exit 1); exit 1; }; }
29660 esac
29661
29662 mgl_lib_type=""
29663 mgl_os=""
29664
29665 for mgl_os_i in $mgl_os_candidates ; do
29666 if test "x$mgl_os" = x ; then
29667 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29668 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29669 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29670 mgl_lib_type=debug
29671 mgl_os=$mgl_os_i
29672 fi
29673 fi
29674 if test "x$mgl_lib_type" = x ; then
29675 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29676 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29677 mgl_lib_type=release
29678 mgl_os=$mgl_os_i
29679 fi
29680 fi
29681 fi
29682 done
29683
29684 if test "x$mgl_os" = x ; then
29685 { echo "$as_me:$LINENO: result: not found" >&5
29686 echo "${ECHO_T}not found" >&6; }
29687 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29688 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29689 { (exit 1); exit 1; }; }
29690 fi
29691 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29692 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29693
29694 wxUSE_UNIVERSAL="yes"
29695
29696 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29697 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29698
29699 AFMINSTALL=afminstall
29700 TOOLKIT=MGL
29701 GUIDIST=MGL_DIST
29702 fi
29703
29704 if test "$wxUSE_DFB" = 1; then
29705
29706
29707 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29708 if test -n "$ac_tool_prefix"; then
29709 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29710 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29713 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29714 echo $ECHO_N "(cached) $ECHO_C" >&6
29715 else
29716 case $PKG_CONFIG in
29717 [\\/]* | ?:[\\/]*)
29718 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29719 ;;
29720 *)
29721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29722 for as_dir in $PATH
29723 do
29724 IFS=$as_save_IFS
29725 test -z "$as_dir" && as_dir=.
29726 for ac_exec_ext in '' $ac_executable_extensions; do
29727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29728 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29730 break 2
29731 fi
29732 done
29733 done
29734 IFS=$as_save_IFS
29735
29736 ;;
29737 esac
29738 fi
29739 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29740 if test -n "$PKG_CONFIG"; then
29741 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29742 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29743 else
29744 { echo "$as_me:$LINENO: result: no" >&5
29745 echo "${ECHO_T}no" >&6; }
29746 fi
29747
29748
29749 fi
29750 if test -z "$ac_cv_path_PKG_CONFIG"; then
29751 ac_pt_PKG_CONFIG=$PKG_CONFIG
29752 # Extract the first word of "pkg-config", so it can be a program name with args.
29753 set dummy pkg-config; ac_word=$2
29754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29756 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29758 else
29759 case $ac_pt_PKG_CONFIG in
29760 [\\/]* | ?:[\\/]*)
29761 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29762 ;;
29763 *)
29764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29765 for as_dir in $PATH
29766 do
29767 IFS=$as_save_IFS
29768 test -z "$as_dir" && as_dir=.
29769 for ac_exec_ext in '' $ac_executable_extensions; do
29770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29771 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29773 break 2
29774 fi
29775 done
29776 done
29777 IFS=$as_save_IFS
29778
29779 ;;
29780 esac
29781 fi
29782 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29783 if test -n "$ac_pt_PKG_CONFIG"; then
29784 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29785 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29786 else
29787 { echo "$as_me:$LINENO: result: no" >&5
29788 echo "${ECHO_T}no" >&6; }
29789 fi
29790
29791 if test "x$ac_pt_PKG_CONFIG" = x; then
29792 PKG_CONFIG=""
29793 else
29794 case $cross_compiling:$ac_tool_warned in
29795 yes:)
29796 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29797 whose name does not start with the host triplet. If you think this
29798 configuration is useful to you, please write to autoconf@gnu.org." >&5
29799 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29800 whose name does not start with the host triplet. If you think this
29801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29802 ac_tool_warned=yes ;;
29803 esac
29804 PKG_CONFIG=$ac_pt_PKG_CONFIG
29805 fi
29806 else
29807 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29808 fi
29809
29810 fi
29811 if test -n "$PKG_CONFIG"; then
29812 _pkg_min_version=0.9.0
29813 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29814 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29815 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29816 { echo "$as_me:$LINENO: result: yes" >&5
29817 echo "${ECHO_T}yes" >&6; }
29818 else
29819 { echo "$as_me:$LINENO: result: no" >&5
29820 echo "${ECHO_T}no" >&6; }
29821 PKG_CONFIG=""
29822 fi
29823
29824 fi
29825
29826
29827 pkg_failed=no
29828 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29829 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29830
29831 if test -n "$PKG_CONFIG"; then
29832 if test -n "$DIRECTFB_CFLAGS"; then
29833 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29834 else
29835 if test -n "$PKG_CONFIG" && \
29836 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29837 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29838 ac_status=$?
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); }; then
29841 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29842 else
29843 pkg_failed=yes
29844 fi
29845 fi
29846 else
29847 pkg_failed=untried
29848 fi
29849 if test -n "$PKG_CONFIG"; then
29850 if test -n "$DIRECTFB_LIBS"; then
29851 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29852 else
29853 if test -n "$PKG_CONFIG" && \
29854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29855 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29856 ac_status=$?
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); }; then
29859 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29860 else
29861 pkg_failed=yes
29862 fi
29863 fi
29864 else
29865 pkg_failed=untried
29866 fi
29867
29868
29869
29870 if test $pkg_failed = yes; then
29871
29872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29873 _pkg_short_errors_supported=yes
29874 else
29875 _pkg_short_errors_supported=no
29876 fi
29877 if test $_pkg_short_errors_supported = yes; then
29878 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29879 else
29880 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29881 fi
29882 # Put the nasty error message in config.log where it belongs
29883 echo "$DIRECTFB_PKG_ERRORS" >&5
29884
29885
29886 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29887 echo "$as_me: error: DirectFB not found." >&2;}
29888 { (exit 1); exit 1; }; }
29889
29890
29891 elif test $pkg_failed = untried; then
29892
29893 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29894 echo "$as_me: error: DirectFB not found." >&2;}
29895 { (exit 1); exit 1; }; }
29896
29897
29898 else
29899 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29900 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29901 { echo "$as_me:$LINENO: result: yes" >&5
29902 echo "${ECHO_T}yes" >&6; }
29903
29904 wxUSE_UNIVERSAL="yes"
29905 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29906 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29907 TOOLKIT=DFB
29908 GUIDIST=DFB_DIST
29909
29910 fi
29911 fi
29912
29913 if test "$wxUSE_MICROWIN" = 1; then
29914 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29915 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29916 if test "x$MICROWINDOWS" = x ; then
29917 { echo "$as_me:$LINENO: result: not found" >&5
29918 echo "${ECHO_T}not found" >&6; }
29919 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29920 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29921 { (exit 1); exit 1; }; }
29922 else
29923 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29924 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29925 fi
29926
29927 if test -f $MICROWINDOWS/lib/libmwin.a; then
29928 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29929 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29930 else
29931 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29932 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29933 { (exit 1); exit 1; }; }
29934 fi
29935
29936 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29937 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29938
29939 wxUSE_UNIVERSAL="yes"
29940
29941 AFMINSTALL=afminstall
29942 TOOLKIT=MICROWIN
29943 GUIDIST=MICROWIN_DIST
29944
29945 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29946 fi
29947
29948 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29949 { echo "$as_me:$LINENO: checking for X" >&5
29950 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29951
29952
29953 # Check whether --with-x was given.
29954 if test "${with_x+set}" = set; then
29955 withval=$with_x;
29956 fi
29957
29958 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29959 if test "x$with_x" = xno; then
29960 # The user explicitly disabled X.
29961 have_x=disabled
29962 else
29963 case $x_includes,$x_libraries in #(
29964 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29965 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29966 { (exit 1); exit 1; }; };; #(
29967 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29969 else
29970 # One or both of the vars are not set, and there is no cached value.
29971 ac_x_includes=no ac_x_libraries=no
29972 rm -f -r conftest.dir
29973 if mkdir conftest.dir; then
29974 cd conftest.dir
29975 cat >Imakefile <<'_ACEOF'
29976 incroot:
29977 @echo incroot='${INCROOT}'
29978 usrlibdir:
29979 @echo usrlibdir='${USRLIBDIR}'
29980 libdir:
29981 @echo libdir='${LIBDIR}'
29982 _ACEOF
29983 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29984 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29985 for ac_var in incroot usrlibdir libdir; do
29986 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29987 done
29988 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29989 for ac_extension in a so sl; do
29990 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29991 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29992 ac_im_usrlibdir=$ac_im_libdir; break
29993 fi
29994 done
29995 # Screen out bogus values from the imake configuration. They are
29996 # bogus both because they are the default anyway, and because
29997 # using them would break gcc on systems where it needs fixed includes.
29998 case $ac_im_incroot in
29999 /usr/include) ac_x_includes= ;;
30000 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30001 esac
30002 case $ac_im_usrlibdir in
30003 /usr/lib | /lib) ;;
30004 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30005 esac
30006 fi
30007 cd ..
30008 rm -f -r conftest.dir
30009 fi
30010
30011 # Standard set of common directories for X headers.
30012 # Check X11 before X11Rn because it is often a symlink to the current release.
30013 ac_x_header_dirs='
30014 /usr/X11/include
30015 /usr/X11R6/include
30016 /usr/X11R5/include
30017 /usr/X11R4/include
30018
30019 /usr/include/X11
30020 /usr/include/X11R6
30021 /usr/include/X11R5
30022 /usr/include/X11R4
30023
30024 /usr/local/X11/include
30025 /usr/local/X11R6/include
30026 /usr/local/X11R5/include
30027 /usr/local/X11R4/include
30028
30029 /usr/local/include/X11
30030 /usr/local/include/X11R6
30031 /usr/local/include/X11R5
30032 /usr/local/include/X11R4
30033
30034 /usr/X386/include
30035 /usr/x386/include
30036 /usr/XFree86/include/X11
30037
30038 /usr/include
30039 /usr/local/include
30040 /usr/unsupported/include
30041 /usr/athena/include
30042 /usr/local/x11r5/include
30043 /usr/lpp/Xamples/include
30044
30045 /usr/openwin/include
30046 /usr/openwin/share/include'
30047
30048 if test "$ac_x_includes" = no; then
30049 # Guess where to find include files, by looking for Xlib.h.
30050 # First, try using that file with no special directory specified.
30051 cat >conftest.$ac_ext <<_ACEOF
30052 /* confdefs.h. */
30053 _ACEOF
30054 cat confdefs.h >>conftest.$ac_ext
30055 cat >>conftest.$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057 #include <X11/Xlib.h>
30058 _ACEOF
30059 if { (ac_try="$ac_cpp conftest.$ac_ext"
30060 case "(($ac_try" in
30061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30062 *) ac_try_echo=$ac_try;;
30063 esac
30064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30065 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30066 ac_status=$?
30067 grep -v '^ *+' conftest.er1 >conftest.err
30068 rm -f conftest.er1
30069 cat conftest.err >&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); } >/dev/null && {
30072 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30073 test ! -s conftest.err
30074 }; then
30075 # We can compile using X headers with no special include directory.
30076 ac_x_includes=
30077 else
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30080
30081 for ac_dir in $ac_x_header_dirs; do
30082 if test -r "$ac_dir/X11/Xlib.h"; then
30083 ac_x_includes=$ac_dir
30084 break
30085 fi
30086 done
30087 fi
30088
30089 rm -f conftest.err conftest.$ac_ext
30090 fi # $ac_x_includes = no
30091
30092 if test "$ac_x_libraries" = no; then
30093 # Check for the libraries.
30094 # See if we find them without any special options.
30095 # Don't add to $LIBS permanently.
30096 ac_save_LIBS=$LIBS
30097 LIBS="-lX11 $LIBS"
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104 #include <X11/Xlib.h>
30105 int
30106 main ()
30107 {
30108 XrmInitialize ()
30109 ;
30110 return 0;
30111 }
30112 _ACEOF
30113 rm -f conftest.$ac_objext conftest$ac_exeext
30114 if { (ac_try="$ac_link"
30115 case "(($ac_try" in
30116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30117 *) ac_try_echo=$ac_try;;
30118 esac
30119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30120 (eval "$ac_link") 2>conftest.er1
30121 ac_status=$?
30122 grep -v '^ *+' conftest.er1 >conftest.err
30123 rm -f conftest.er1
30124 cat conftest.err >&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); } && {
30127 test -z "$ac_c_werror_flag" ||
30128 test ! -s conftest.err
30129 } && test -s conftest$ac_exeext &&
30130 $as_test_x conftest$ac_exeext; then
30131 LIBS=$ac_save_LIBS
30132 # We can link X programs with no special library path.
30133 ac_x_libraries=
30134 else
30135 echo "$as_me: failed program was:" >&5
30136 sed 's/^/| /' conftest.$ac_ext >&5
30137
30138 LIBS=$ac_save_LIBS
30139 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30140 do
30141 # Don't even attempt the hair of trying to link an X program!
30142 for ac_extension in a so sl; do
30143 if test -r "$ac_dir/libX11.$ac_extension"; then
30144 ac_x_libraries=$ac_dir
30145 break 2
30146 fi
30147 done
30148 done
30149 fi
30150
30151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30152 conftest$ac_exeext conftest.$ac_ext
30153 fi # $ac_x_libraries = no
30154
30155 case $ac_x_includes,$ac_x_libraries in #(
30156 no,* | *,no | *\'*)
30157 # Didn't find X, or a directory has "'" in its name.
30158 ac_cv_have_x="have_x=no";; #(
30159 *)
30160 # Record where we found X for the cache.
30161 ac_cv_have_x="have_x=yes\
30162 ac_x_includes='$ac_x_includes'\
30163 ac_x_libraries='$ac_x_libraries'"
30164 esac
30165 fi
30166 ;; #(
30167 *) have_x=yes;;
30168 esac
30169 eval "$ac_cv_have_x"
30170 fi # $with_x != no
30171
30172 if test "$have_x" != yes; then
30173 { echo "$as_me:$LINENO: result: $have_x" >&5
30174 echo "${ECHO_T}$have_x" >&6; }
30175 no_x=yes
30176 else
30177 # If each of the values was on the command line, it overrides each guess.
30178 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30179 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30180 # Update the cache value to reflect the command line values.
30181 ac_cv_have_x="have_x=yes\
30182 ac_x_includes='$x_includes'\
30183 ac_x_libraries='$x_libraries'"
30184 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30185 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30186 fi
30187
30188 if test "$no_x" = yes; then
30189 # Not all programs may use this symbol, but it does not hurt to define it.
30190
30191 cat >>confdefs.h <<\_ACEOF
30192 #define X_DISPLAY_MISSING 1
30193 _ACEOF
30194
30195 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30196 else
30197 if test -n "$x_includes"; then
30198 X_CFLAGS="$X_CFLAGS -I$x_includes"
30199 fi
30200
30201 # It would also be nice to do this for all -L options, not just this one.
30202 if test -n "$x_libraries"; then
30203 X_LIBS="$X_LIBS -L$x_libraries"
30204 # For Solaris; some versions of Sun CC require a space after -R and
30205 # others require no space. Words are not sufficient . . . .
30206 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30207 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30208 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30209 ac_xsave_c_werror_flag=$ac_c_werror_flag
30210 ac_c_werror_flag=yes
30211 cat >conftest.$ac_ext <<_ACEOF
30212 /* confdefs.h. */
30213 _ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217
30218 int
30219 main ()
30220 {
30221
30222 ;
30223 return 0;
30224 }
30225 _ACEOF
30226 rm -f conftest.$ac_objext conftest$ac_exeext
30227 if { (ac_try="$ac_link"
30228 case "(($ac_try" in
30229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30231 esac
30232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_link") 2>conftest.er1
30234 ac_status=$?
30235 grep -v '^ *+' conftest.er1 >conftest.err
30236 rm -f conftest.er1
30237 cat conftest.err >&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); } && {
30240 test -z "$ac_c_werror_flag" ||
30241 test ! -s conftest.err
30242 } && test -s conftest$ac_exeext &&
30243 $as_test_x conftest$ac_exeext; then
30244 { echo "$as_me:$LINENO: result: no" >&5
30245 echo "${ECHO_T}no" >&6; }
30246 X_LIBS="$X_LIBS -R$x_libraries"
30247 else
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30250
30251 LIBS="$ac_xsave_LIBS -R $x_libraries"
30252 cat >conftest.$ac_ext <<_ACEOF
30253 /* confdefs.h. */
30254 _ACEOF
30255 cat confdefs.h >>conftest.$ac_ext
30256 cat >>conftest.$ac_ext <<_ACEOF
30257 /* end confdefs.h. */
30258
30259 int
30260 main ()
30261 {
30262
30263 ;
30264 return 0;
30265 }
30266 _ACEOF
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (ac_try="$ac_link"
30269 case "(($ac_try" in
30270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30272 esac
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_link") 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest$ac_exeext &&
30284 $as_test_x conftest$ac_exeext; then
30285 { echo "$as_me:$LINENO: result: yes" >&5
30286 echo "${ECHO_T}yes" >&6; }
30287 X_LIBS="$X_LIBS -R $x_libraries"
30288 else
30289 echo "$as_me: failed program was:" >&5
30290 sed 's/^/| /' conftest.$ac_ext >&5
30291
30292 { echo "$as_me:$LINENO: result: neither works" >&5
30293 echo "${ECHO_T}neither works" >&6; }
30294 fi
30295
30296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30297 conftest$ac_exeext conftest.$ac_ext
30298 fi
30299
30300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30301 conftest$ac_exeext conftest.$ac_ext
30302 ac_c_werror_flag=$ac_xsave_c_werror_flag
30303 LIBS=$ac_xsave_LIBS
30304 fi
30305
30306 # Check for system-dependent libraries X programs must link with.
30307 # Do this before checking for the system-independent R6 libraries
30308 # (-lICE), since we may need -lsocket or whatever for X linking.
30309
30310 if test "$ISC" = yes; then
30311 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30312 else
30313 # Martyn Johnson says this is needed for Ultrix, if the X
30314 # libraries were built with DECnet support. And Karl Berry says
30315 # the Alpha needs dnet_stub (dnet does not exist).
30316 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30317 cat >conftest.$ac_ext <<_ACEOF
30318 /* confdefs.h. */
30319 _ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323
30324 /* Override any GCC internal prototype to avoid an error.
30325 Use char because int might match the return type of a GCC
30326 builtin and then its argument prototype would still apply. */
30327 #ifdef __cplusplus
30328 extern "C"
30329 #endif
30330 char XOpenDisplay ();
30331 int
30332 main ()
30333 {
30334 return XOpenDisplay ();
30335 ;
30336 return 0;
30337 }
30338 _ACEOF
30339 rm -f conftest.$ac_objext conftest$ac_exeext
30340 if { (ac_try="$ac_link"
30341 case "(($ac_try" in
30342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30343 *) ac_try_echo=$ac_try;;
30344 esac
30345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30346 (eval "$ac_link") 2>conftest.er1
30347 ac_status=$?
30348 grep -v '^ *+' conftest.er1 >conftest.err
30349 rm -f conftest.er1
30350 cat conftest.err >&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } && {
30353 test -z "$ac_c_werror_flag" ||
30354 test ! -s conftest.err
30355 } && test -s conftest$ac_exeext &&
30356 $as_test_x conftest$ac_exeext; then
30357 :
30358 else
30359 echo "$as_me: failed program was:" >&5
30360 sed 's/^/| /' conftest.$ac_ext >&5
30361
30362 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30363 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30364 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30365 echo $ECHO_N "(cached) $ECHO_C" >&6
30366 else
30367 ac_check_lib_save_LIBS=$LIBS
30368 LIBS="-ldnet $LIBS"
30369 cat >conftest.$ac_ext <<_ACEOF
30370 /* confdefs.h. */
30371 _ACEOF
30372 cat confdefs.h >>conftest.$ac_ext
30373 cat >>conftest.$ac_ext <<_ACEOF
30374 /* end confdefs.h. */
30375
30376 /* Override any GCC internal prototype to avoid an error.
30377 Use char because int might match the return type of a GCC
30378 builtin and then its argument prototype would still apply. */
30379 #ifdef __cplusplus
30380 extern "C"
30381 #endif
30382 char dnet_ntoa ();
30383 int
30384 main ()
30385 {
30386 return dnet_ntoa ();
30387 ;
30388 return 0;
30389 }
30390 _ACEOF
30391 rm -f conftest.$ac_objext conftest$ac_exeext
30392 if { (ac_try="$ac_link"
30393 case "(($ac_try" in
30394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30395 *) ac_try_echo=$ac_try;;
30396 esac
30397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30398 (eval "$ac_link") 2>conftest.er1
30399 ac_status=$?
30400 grep -v '^ *+' conftest.er1 >conftest.err
30401 rm -f conftest.er1
30402 cat conftest.err >&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); } && {
30405 test -z "$ac_c_werror_flag" ||
30406 test ! -s conftest.err
30407 } && test -s conftest$ac_exeext &&
30408 $as_test_x conftest$ac_exeext; then
30409 ac_cv_lib_dnet_dnet_ntoa=yes
30410 else
30411 echo "$as_me: failed program was:" >&5
30412 sed 's/^/| /' conftest.$ac_ext >&5
30413
30414 ac_cv_lib_dnet_dnet_ntoa=no
30415 fi
30416
30417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30418 conftest$ac_exeext conftest.$ac_ext
30419 LIBS=$ac_check_lib_save_LIBS
30420 fi
30421 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30422 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30423 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30424 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30425 fi
30426
30427 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30428 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30429 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30430 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30431 echo $ECHO_N "(cached) $ECHO_C" >&6
30432 else
30433 ac_check_lib_save_LIBS=$LIBS
30434 LIBS="-ldnet_stub $LIBS"
30435 cat >conftest.$ac_ext <<_ACEOF
30436 /* confdefs.h. */
30437 _ACEOF
30438 cat confdefs.h >>conftest.$ac_ext
30439 cat >>conftest.$ac_ext <<_ACEOF
30440 /* end confdefs.h. */
30441
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30445 #ifdef __cplusplus
30446 extern "C"
30447 #endif
30448 char dnet_ntoa ();
30449 int
30450 main ()
30451 {
30452 return dnet_ntoa ();
30453 ;
30454 return 0;
30455 }
30456 _ACEOF
30457 rm -f conftest.$ac_objext conftest$ac_exeext
30458 if { (ac_try="$ac_link"
30459 case "(($ac_try" in
30460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30461 *) ac_try_echo=$ac_try;;
30462 esac
30463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30464 (eval "$ac_link") 2>conftest.er1
30465 ac_status=$?
30466 grep -v '^ *+' conftest.er1 >conftest.err
30467 rm -f conftest.er1
30468 cat conftest.err >&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } && {
30471 test -z "$ac_c_werror_flag" ||
30472 test ! -s conftest.err
30473 } && test -s conftest$ac_exeext &&
30474 $as_test_x conftest$ac_exeext; then
30475 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30476 else
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30479
30480 ac_cv_lib_dnet_stub_dnet_ntoa=no
30481 fi
30482
30483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30484 conftest$ac_exeext conftest.$ac_ext
30485 LIBS=$ac_check_lib_save_LIBS
30486 fi
30487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30490 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30491 fi
30492
30493 fi
30494 fi
30495
30496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30497 conftest$ac_exeext conftest.$ac_ext
30498 LIBS="$ac_xsave_LIBS"
30499
30500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30501 # to get the SysV transport functions.
30502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30503 # needs -lnsl.
30504 # The nsl library prevents programs from opening the X display
30505 # on Irix 5.2, according to T.E. Dickey.
30506 # The functions gethostbyname, getservbyname, and inet_addr are
30507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30510 if test "${ac_cv_func_gethostbyname+set}" = set; then
30511 echo $ECHO_N "(cached) $ECHO_C" >&6
30512 else
30513 cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h. */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30521 #define gethostbyname innocuous_gethostbyname
30522
30523 /* System header to define __stub macros and hopefully few prototypes,
30524 which can conflict with char gethostbyname (); below.
30525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30526 <limits.h> exists even on freestanding compilers. */
30527
30528 #ifdef __STDC__
30529 # include <limits.h>
30530 #else
30531 # include <assert.h>
30532 #endif
30533
30534 #undef gethostbyname
30535
30536 /* Override any GCC internal prototype to avoid an error.
30537 Use char because int might match the return type of a GCC
30538 builtin and then its argument prototype would still apply. */
30539 #ifdef __cplusplus
30540 extern "C"
30541 #endif
30542 char gethostbyname ();
30543 /* The GNU C library defines this for functions which it implements
30544 to always fail with ENOSYS. Some functions are actually named
30545 something starting with __ and the normal name is an alias. */
30546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30547 choke me
30548 #endif
30549
30550 int
30551 main ()
30552 {
30553 return gethostbyname ();
30554 ;
30555 return 0;
30556 }
30557 _ACEOF
30558 rm -f conftest.$ac_objext conftest$ac_exeext
30559 if { (ac_try="$ac_link"
30560 case "(($ac_try" in
30561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30562 *) ac_try_echo=$ac_try;;
30563 esac
30564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30565 (eval "$ac_link") 2>conftest.er1
30566 ac_status=$?
30567 grep -v '^ *+' conftest.er1 >conftest.err
30568 rm -f conftest.er1
30569 cat conftest.err >&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } && {
30572 test -z "$ac_c_werror_flag" ||
30573 test ! -s conftest.err
30574 } && test -s conftest$ac_exeext &&
30575 $as_test_x conftest$ac_exeext; then
30576 ac_cv_func_gethostbyname=yes
30577 else
30578 echo "$as_me: failed program was:" >&5
30579 sed 's/^/| /' conftest.$ac_ext >&5
30580
30581 ac_cv_func_gethostbyname=no
30582 fi
30583
30584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30585 conftest$ac_exeext conftest.$ac_ext
30586 fi
30587 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30588 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30589
30590 if test $ac_cv_func_gethostbyname = no; then
30591 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30592 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30593 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596 ac_check_lib_save_LIBS=$LIBS
30597 LIBS="-lnsl $LIBS"
30598 cat >conftest.$ac_ext <<_ACEOF
30599 /* confdefs.h. */
30600 _ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30604
30605 /* Override any GCC internal prototype to avoid an error.
30606 Use char because int might match the return type of a GCC
30607 builtin and then its argument prototype would still apply. */
30608 #ifdef __cplusplus
30609 extern "C"
30610 #endif
30611 char gethostbyname ();
30612 int
30613 main ()
30614 {
30615 return gethostbyname ();
30616 ;
30617 return 0;
30618 }
30619 _ACEOF
30620 rm -f conftest.$ac_objext conftest$ac_exeext
30621 if { (ac_try="$ac_link"
30622 case "(($ac_try" in
30623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30624 *) ac_try_echo=$ac_try;;
30625 esac
30626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30627 (eval "$ac_link") 2>conftest.er1
30628 ac_status=$?
30629 grep -v '^ *+' conftest.er1 >conftest.err
30630 rm -f conftest.er1
30631 cat conftest.err >&5
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); } && {
30634 test -z "$ac_c_werror_flag" ||
30635 test ! -s conftest.err
30636 } && test -s conftest$ac_exeext &&
30637 $as_test_x conftest$ac_exeext; then
30638 ac_cv_lib_nsl_gethostbyname=yes
30639 else
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.$ac_ext >&5
30642
30643 ac_cv_lib_nsl_gethostbyname=no
30644 fi
30645
30646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30647 conftest$ac_exeext conftest.$ac_ext
30648 LIBS=$ac_check_lib_save_LIBS
30649 fi
30650 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30651 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30652 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30654 fi
30655
30656 if test $ac_cv_lib_nsl_gethostbyname = no; then
30657 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30658 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30659 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30660 echo $ECHO_N "(cached) $ECHO_C" >&6
30661 else
30662 ac_check_lib_save_LIBS=$LIBS
30663 LIBS="-lbsd $LIBS"
30664 cat >conftest.$ac_ext <<_ACEOF
30665 /* confdefs.h. */
30666 _ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30670
30671 /* Override any GCC internal prototype to avoid an error.
30672 Use char because int might match the return type of a GCC
30673 builtin and then its argument prototype would still apply. */
30674 #ifdef __cplusplus
30675 extern "C"
30676 #endif
30677 char gethostbyname ();
30678 int
30679 main ()
30680 {
30681 return gethostbyname ();
30682 ;
30683 return 0;
30684 }
30685 _ACEOF
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (ac_try="$ac_link"
30688 case "(($ac_try" in
30689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30690 *) ac_try_echo=$ac_try;;
30691 esac
30692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30693 (eval "$ac_link") 2>conftest.er1
30694 ac_status=$?
30695 grep -v '^ *+' conftest.er1 >conftest.err
30696 rm -f conftest.er1
30697 cat conftest.err >&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } && {
30700 test -z "$ac_c_werror_flag" ||
30701 test ! -s conftest.err
30702 } && test -s conftest$ac_exeext &&
30703 $as_test_x conftest$ac_exeext; then
30704 ac_cv_lib_bsd_gethostbyname=yes
30705 else
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.$ac_ext >&5
30708
30709 ac_cv_lib_bsd_gethostbyname=no
30710 fi
30711
30712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30713 conftest$ac_exeext conftest.$ac_ext
30714 LIBS=$ac_check_lib_save_LIBS
30715 fi
30716 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30717 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30718 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30719 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30720 fi
30721
30722 fi
30723 fi
30724
30725 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30726 # socket/setsockopt and other routines are undefined under SCO ODT
30727 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30728 # on later versions), says Simon Leinen: it contains gethostby*
30729 # variants that don't use the name server (or something). -lsocket
30730 # must be given before -lnsl if both are needed. We assume that
30731 # if connect needs -lnsl, so does gethostbyname.
30732 { echo "$as_me:$LINENO: checking for connect" >&5
30733 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30734 if test "${ac_cv_func_connect+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 else
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30745 #define connect innocuous_connect
30746
30747 /* System header to define __stub macros and hopefully few prototypes,
30748 which can conflict with char connect (); below.
30749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30750 <limits.h> exists even on freestanding compilers. */
30751
30752 #ifdef __STDC__
30753 # include <limits.h>
30754 #else
30755 # include <assert.h>
30756 #endif
30757
30758 #undef connect
30759
30760 /* Override any GCC internal prototype to avoid an error.
30761 Use char because int might match the return type of a GCC
30762 builtin and then its argument prototype would still apply. */
30763 #ifdef __cplusplus
30764 extern "C"
30765 #endif
30766 char connect ();
30767 /* The GNU C library defines this for functions which it implements
30768 to always fail with ENOSYS. Some functions are actually named
30769 something starting with __ and the normal name is an alias. */
30770 #if defined __stub_connect || defined __stub___connect
30771 choke me
30772 #endif
30773
30774 int
30775 main ()
30776 {
30777 return connect ();
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (ac_try="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30787 esac
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30790 ac_status=$?
30791 grep -v '^ *+' conftest.er1 >conftest.err
30792 rm -f conftest.er1
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_func_connect=yes
30801 else
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30804
30805 ac_cv_func_connect=no
30806 fi
30807
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 fi
30811 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30812 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30813
30814 if test $ac_cv_func_connect = no; then
30815 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30816 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30817 if test "${ac_cv_lib_socket_connect+set}" = set; then
30818 echo $ECHO_N "(cached) $ECHO_C" >&6
30819 else
30820 ac_check_lib_save_LIBS=$LIBS
30821 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30822 cat >conftest.$ac_ext <<_ACEOF
30823 /* confdefs.h. */
30824 _ACEOF
30825 cat confdefs.h >>conftest.$ac_ext
30826 cat >>conftest.$ac_ext <<_ACEOF
30827 /* end confdefs.h. */
30828
30829 /* Override any GCC internal prototype to avoid an error.
30830 Use char because int might match the return type of a GCC
30831 builtin and then its argument prototype would still apply. */
30832 #ifdef __cplusplus
30833 extern "C"
30834 #endif
30835 char connect ();
30836 int
30837 main ()
30838 {
30839 return connect ();
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30849 esac
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30852 ac_status=$?
30853 grep -v '^ *+' conftest.er1 >conftest.err
30854 rm -f conftest.er1
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30862 ac_cv_lib_socket_connect=yes
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867 ac_cv_lib_socket_connect=no
30868 fi
30869
30870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30871 conftest$ac_exeext conftest.$ac_ext
30872 LIBS=$ac_check_lib_save_LIBS
30873 fi
30874 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30875 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30876 if test $ac_cv_lib_socket_connect = yes; then
30877 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30878 fi
30879
30880 fi
30881
30882 # Guillermo Gomez says -lposix is necessary on A/UX.
30883 { echo "$as_me:$LINENO: checking for remove" >&5
30884 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30885 if test "${ac_cv_func_remove+set}" = set; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30887 else
30888 cat >conftest.$ac_ext <<_ACEOF
30889 /* confdefs.h. */
30890 _ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30896 #define remove innocuous_remove
30897
30898 /* System header to define __stub macros and hopefully few prototypes,
30899 which can conflict with char remove (); below.
30900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30901 <limits.h> exists even on freestanding compilers. */
30902
30903 #ifdef __STDC__
30904 # include <limits.h>
30905 #else
30906 # include <assert.h>
30907 #endif
30908
30909 #undef remove
30910
30911 /* Override any GCC internal prototype to avoid an error.
30912 Use char because int might match the return type of a GCC
30913 builtin and then its argument prototype would still apply. */
30914 #ifdef __cplusplus
30915 extern "C"
30916 #endif
30917 char remove ();
30918 /* The GNU C library defines this for functions which it implements
30919 to always fail with ENOSYS. Some functions are actually named
30920 something starting with __ and the normal name is an alias. */
30921 #if defined __stub_remove || defined __stub___remove
30922 choke me
30923 #endif
30924
30925 int
30926 main ()
30927 {
30928 return remove ();
30929 ;
30930 return 0;
30931 }
30932 _ACEOF
30933 rm -f conftest.$ac_objext conftest$ac_exeext
30934 if { (ac_try="$ac_link"
30935 case "(($ac_try" in
30936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30937 *) ac_try_echo=$ac_try;;
30938 esac
30939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30940 (eval "$ac_link") 2>conftest.er1
30941 ac_status=$?
30942 grep -v '^ *+' conftest.er1 >conftest.err
30943 rm -f conftest.er1
30944 cat conftest.err >&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); } && {
30947 test -z "$ac_c_werror_flag" ||
30948 test ! -s conftest.err
30949 } && test -s conftest$ac_exeext &&
30950 $as_test_x conftest$ac_exeext; then
30951 ac_cv_func_remove=yes
30952 else
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.$ac_ext >&5
30955
30956 ac_cv_func_remove=no
30957 fi
30958
30959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30960 conftest$ac_exeext conftest.$ac_ext
30961 fi
30962 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30963 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30964
30965 if test $ac_cv_func_remove = no; then
30966 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30967 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30968 if test "${ac_cv_lib_posix_remove+set}" = set; then
30969 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 else
30971 ac_check_lib_save_LIBS=$LIBS
30972 LIBS="-lposix $LIBS"
30973 cat >conftest.$ac_ext <<_ACEOF
30974 /* confdefs.h. */
30975 _ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30979
30980 /* Override any GCC internal prototype to avoid an error.
30981 Use char because int might match the return type of a GCC
30982 builtin and then its argument prototype would still apply. */
30983 #ifdef __cplusplus
30984 extern "C"
30985 #endif
30986 char remove ();
30987 int
30988 main ()
30989 {
30990 return remove ();
30991 ;
30992 return 0;
30993 }
30994 _ACEOF
30995 rm -f conftest.$ac_objext conftest$ac_exeext
30996 if { (ac_try="$ac_link"
30997 case "(($ac_try" in
30998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30999 *) ac_try_echo=$ac_try;;
31000 esac
31001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31002 (eval "$ac_link") 2>conftest.er1
31003 ac_status=$?
31004 grep -v '^ *+' conftest.er1 >conftest.err
31005 rm -f conftest.er1
31006 cat conftest.err >&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } && {
31009 test -z "$ac_c_werror_flag" ||
31010 test ! -s conftest.err
31011 } && test -s conftest$ac_exeext &&
31012 $as_test_x conftest$ac_exeext; then
31013 ac_cv_lib_posix_remove=yes
31014 else
31015 echo "$as_me: failed program was:" >&5
31016 sed 's/^/| /' conftest.$ac_ext >&5
31017
31018 ac_cv_lib_posix_remove=no
31019 fi
31020
31021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31022 conftest$ac_exeext conftest.$ac_ext
31023 LIBS=$ac_check_lib_save_LIBS
31024 fi
31025 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31026 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31027 if test $ac_cv_lib_posix_remove = yes; then
31028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31029 fi
31030
31031 fi
31032
31033 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31034 { echo "$as_me:$LINENO: checking for shmat" >&5
31035 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31036 if test "${ac_cv_func_shmat+set}" = set; then
31037 echo $ECHO_N "(cached) $ECHO_C" >&6
31038 else
31039 cat >conftest.$ac_ext <<_ACEOF
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31047 #define shmat innocuous_shmat
31048
31049 /* System header to define __stub macros and hopefully few prototypes,
31050 which can conflict with char shmat (); below.
31051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31052 <limits.h> exists even on freestanding compilers. */
31053
31054 #ifdef __STDC__
31055 # include <limits.h>
31056 #else
31057 # include <assert.h>
31058 #endif
31059
31060 #undef shmat
31061
31062 /* Override any GCC internal prototype to avoid an error.
31063 Use char because int might match the return type of a GCC
31064 builtin and then its argument prototype would still apply. */
31065 #ifdef __cplusplus
31066 extern "C"
31067 #endif
31068 char shmat ();
31069 /* The GNU C library defines this for functions which it implements
31070 to always fail with ENOSYS. Some functions are actually named
31071 something starting with __ and the normal name is an alias. */
31072 #if defined __stub_shmat || defined __stub___shmat
31073 choke me
31074 #endif
31075
31076 int
31077 main ()
31078 {
31079 return shmat ();
31080 ;
31081 return 0;
31082 }
31083 _ACEOF
31084 rm -f conftest.$ac_objext conftest$ac_exeext
31085 if { (ac_try="$ac_link"
31086 case "(($ac_try" in
31087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31088 *) ac_try_echo=$ac_try;;
31089 esac
31090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31091 (eval "$ac_link") 2>conftest.er1
31092 ac_status=$?
31093 grep -v '^ *+' conftest.er1 >conftest.err
31094 rm -f conftest.er1
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } && {
31098 test -z "$ac_c_werror_flag" ||
31099 test ! -s conftest.err
31100 } && test -s conftest$ac_exeext &&
31101 $as_test_x conftest$ac_exeext; then
31102 ac_cv_func_shmat=yes
31103 else
31104 echo "$as_me: failed program was:" >&5
31105 sed 's/^/| /' conftest.$ac_ext >&5
31106
31107 ac_cv_func_shmat=no
31108 fi
31109
31110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31111 conftest$ac_exeext conftest.$ac_ext
31112 fi
31113 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31114 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31115
31116 if test $ac_cv_func_shmat = no; then
31117 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31118 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31119 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 else
31122 ac_check_lib_save_LIBS=$LIBS
31123 LIBS="-lipc $LIBS"
31124 cat >conftest.$ac_ext <<_ACEOF
31125 /* confdefs.h. */
31126 _ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31130
31131 /* Override any GCC internal prototype to avoid an error.
31132 Use char because int might match the return type of a GCC
31133 builtin and then its argument prototype would still apply. */
31134 #ifdef __cplusplus
31135 extern "C"
31136 #endif
31137 char shmat ();
31138 int
31139 main ()
31140 {
31141 return shmat ();
31142 ;
31143 return 0;
31144 }
31145 _ACEOF
31146 rm -f conftest.$ac_objext conftest$ac_exeext
31147 if { (ac_try="$ac_link"
31148 case "(($ac_try" in
31149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31150 *) ac_try_echo=$ac_try;;
31151 esac
31152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31153 (eval "$ac_link") 2>conftest.er1
31154 ac_status=$?
31155 grep -v '^ *+' conftest.er1 >conftest.err
31156 rm -f conftest.er1
31157 cat conftest.err >&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } && {
31160 test -z "$ac_c_werror_flag" ||
31161 test ! -s conftest.err
31162 } && test -s conftest$ac_exeext &&
31163 $as_test_x conftest$ac_exeext; then
31164 ac_cv_lib_ipc_shmat=yes
31165 else
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31168
31169 ac_cv_lib_ipc_shmat=no
31170 fi
31171
31172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31173 conftest$ac_exeext conftest.$ac_ext
31174 LIBS=$ac_check_lib_save_LIBS
31175 fi
31176 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31177 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31178 if test $ac_cv_lib_ipc_shmat = yes; then
31179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31180 fi
31181
31182 fi
31183 fi
31184
31185 # Check for libraries that X11R6 Xt/Xaw programs need.
31186 ac_save_LDFLAGS=$LDFLAGS
31187 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31188 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31189 # check for ICE first), but we must link in the order -lSM -lICE or
31190 # we get undefined symbols. So assume we have SM if we have ICE.
31191 # These have to be linked with before -lX11, unlike the other
31192 # libraries we check for below, so use a different variable.
31193 # John Interrante, Karl Berry
31194 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31195 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31196 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31197 echo $ECHO_N "(cached) $ECHO_C" >&6
31198 else
31199 ac_check_lib_save_LIBS=$LIBS
31200 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31201 cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h. */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31207
31208 /* Override any GCC internal prototype to avoid an error.
31209 Use char because int might match the return type of a GCC
31210 builtin and then its argument prototype would still apply. */
31211 #ifdef __cplusplus
31212 extern "C"
31213 #endif
31214 char IceConnectionNumber ();
31215 int
31216 main ()
31217 {
31218 return IceConnectionNumber ();
31219 ;
31220 return 0;
31221 }
31222 _ACEOF
31223 rm -f conftest.$ac_objext conftest$ac_exeext
31224 if { (ac_try="$ac_link"
31225 case "(($ac_try" in
31226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31227 *) ac_try_echo=$ac_try;;
31228 esac
31229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31230 (eval "$ac_link") 2>conftest.er1
31231 ac_status=$?
31232 grep -v '^ *+' conftest.er1 >conftest.err
31233 rm -f conftest.er1
31234 cat conftest.err >&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } && {
31237 test -z "$ac_c_werror_flag" ||
31238 test ! -s conftest.err
31239 } && test -s conftest$ac_exeext &&
31240 $as_test_x conftest$ac_exeext; then
31241 ac_cv_lib_ICE_IceConnectionNumber=yes
31242 else
31243 echo "$as_me: failed program was:" >&5
31244 sed 's/^/| /' conftest.$ac_ext >&5
31245
31246 ac_cv_lib_ICE_IceConnectionNumber=no
31247 fi
31248
31249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31250 conftest$ac_exeext conftest.$ac_ext
31251 LIBS=$ac_check_lib_save_LIBS
31252 fi
31253 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31254 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31255 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31257 fi
31258
31259 LDFLAGS=$ac_save_LDFLAGS
31260
31261 fi
31262
31263
31264 if test "$no_x" = "yes"; then
31265 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31266 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31267 { (exit 1); exit 1; }; }
31268 fi
31269
31270 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31271 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31272 AFMINSTALL=afminstall
31273 COMPILED_X_PROGRAM=0
31274
31275 fi
31276
31277 if test "$wxUSE_X11" = 1; then
31278 if test "$wxUSE_NANOX" = "yes"; then
31279 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31280 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31281 if test "x$MICROWIN" = x ; then
31282 { echo "$as_me:$LINENO: result: not found" >&5
31283 echo "${ECHO_T}not found" >&6; }
31284 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31285 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31286 { (exit 1); exit 1; }; }
31287 else
31288 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31289 echo "${ECHO_T}$MICROWIN" >&6; }
31290 cat >>confdefs.h <<\_ACEOF
31291 #define wxUSE_NANOX 1
31292 _ACEOF
31293
31294 fi
31295 fi
31296
31297 if test "$wxUSE_UNICODE" = "yes"; then
31298
31299
31300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31301 if test -n "$ac_tool_prefix"; then
31302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31307 echo $ECHO_N "(cached) $ECHO_C" >&6
31308 else
31309 case $PKG_CONFIG in
31310 [\\/]* | ?:[\\/]*)
31311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31312 ;;
31313 *)
31314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31315 for as_dir in $PATH
31316 do
31317 IFS=$as_save_IFS
31318 test -z "$as_dir" && as_dir=.
31319 for ac_exec_ext in '' $ac_executable_extensions; do
31320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31323 break 2
31324 fi
31325 done
31326 done
31327 IFS=$as_save_IFS
31328
31329 ;;
31330 esac
31331 fi
31332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31333 if test -n "$PKG_CONFIG"; then
31334 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31335 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31336 else
31337 { echo "$as_me:$LINENO: result: no" >&5
31338 echo "${ECHO_T}no" >&6; }
31339 fi
31340
31341
31342 fi
31343 if test -z "$ac_cv_path_PKG_CONFIG"; then
31344 ac_pt_PKG_CONFIG=$PKG_CONFIG
31345 # Extract the first word of "pkg-config", so it can be a program name with args.
31346 set dummy pkg-config; ac_word=$2
31347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31349 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31350 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 else
31352 case $ac_pt_PKG_CONFIG in
31353 [\\/]* | ?:[\\/]*)
31354 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31355 ;;
31356 *)
31357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31358 for as_dir in $PATH
31359 do
31360 IFS=$as_save_IFS
31361 test -z "$as_dir" && as_dir=.
31362 for ac_exec_ext in '' $ac_executable_extensions; do
31363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31364 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31366 break 2
31367 fi
31368 done
31369 done
31370 IFS=$as_save_IFS
31371
31372 ;;
31373 esac
31374 fi
31375 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31376 if test -n "$ac_pt_PKG_CONFIG"; then
31377 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31378 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31379 else
31380 { echo "$as_me:$LINENO: result: no" >&5
31381 echo "${ECHO_T}no" >&6; }
31382 fi
31383
31384 if test "x$ac_pt_PKG_CONFIG" = x; then
31385 PKG_CONFIG=""
31386 else
31387 case $cross_compiling:$ac_tool_warned in
31388 yes:)
31389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31390 whose name does not start with the host triplet. If you think this
31391 configuration is useful to you, please write to autoconf@gnu.org." >&5
31392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31393 whose name does not start with the host triplet. If you think this
31394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31395 ac_tool_warned=yes ;;
31396 esac
31397 PKG_CONFIG=$ac_pt_PKG_CONFIG
31398 fi
31399 else
31400 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31401 fi
31402
31403 fi
31404 if test -n "$PKG_CONFIG"; then
31405 _pkg_min_version=0.9.0
31406 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31407 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31408 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31409 { echo "$as_me:$LINENO: result: yes" >&5
31410 echo "${ECHO_T}yes" >&6; }
31411 else
31412 { echo "$as_me:$LINENO: result: no" >&5
31413 echo "${ECHO_T}no" >&6; }
31414 PKG_CONFIG=""
31415 fi
31416
31417 fi
31418
31419
31420 pkg_failed=no
31421 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31422 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31423
31424 if test -n "$PKG_CONFIG"; then
31425 if test -n "$PANGOX_CFLAGS"; then
31426 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31427 else
31428 if test -n "$PKG_CONFIG" && \
31429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31430 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; then
31434 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31435 else
31436 pkg_failed=yes
31437 fi
31438 fi
31439 else
31440 pkg_failed=untried
31441 fi
31442 if test -n "$PKG_CONFIG"; then
31443 if test -n "$PANGOX_LIBS"; then
31444 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31445 else
31446 if test -n "$PKG_CONFIG" && \
31447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31448 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31449 ac_status=$?
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; then
31452 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31453 else
31454 pkg_failed=yes
31455 fi
31456 fi
31457 else
31458 pkg_failed=untried
31459 fi
31460
31461
31462
31463 if test $pkg_failed = yes; then
31464
31465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31466 _pkg_short_errors_supported=yes
31467 else
31468 _pkg_short_errors_supported=no
31469 fi
31470 if test $_pkg_short_errors_supported = yes; then
31471 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31472 else
31473 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31474 fi
31475 # Put the nasty error message in config.log where it belongs
31476 echo "$PANGOX_PKG_ERRORS" >&5
31477
31478
31479 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31480 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31481 { (exit 1); exit 1; }; }
31482
31483
31484 elif test $pkg_failed = untried; then
31485
31486 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31487 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31488 { (exit 1); exit 1; }; }
31489
31490
31491 else
31492 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31493 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31494 { echo "$as_me:$LINENO: result: yes" >&5
31495 echo "${ECHO_T}yes" >&6; }
31496
31497 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31498 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31499 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31500
31501 fi
31502
31503 pkg_failed=no
31504 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31505 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31506
31507 if test -n "$PKG_CONFIG"; then
31508 if test -n "$PANGOFT2_CFLAGS"; then
31509 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31510 else
31511 if test -n "$PKG_CONFIG" && \
31512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31513 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31514 ac_status=$?
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; then
31517 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31518 else
31519 pkg_failed=yes
31520 fi
31521 fi
31522 else
31523 pkg_failed=untried
31524 fi
31525 if test -n "$PKG_CONFIG"; then
31526 if test -n "$PANGOFT2_LIBS"; then
31527 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31528 else
31529 if test -n "$PKG_CONFIG" && \
31530 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31531 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; then
31535 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31536 else
31537 pkg_failed=yes
31538 fi
31539 fi
31540 else
31541 pkg_failed=untried
31542 fi
31543
31544
31545
31546 if test $pkg_failed = yes; then
31547
31548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31549 _pkg_short_errors_supported=yes
31550 else
31551 _pkg_short_errors_supported=no
31552 fi
31553 if test $_pkg_short_errors_supported = yes; then
31554 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31555 else
31556 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31557 fi
31558 # Put the nasty error message in config.log where it belongs
31559 echo "$PANGOFT2_PKG_ERRORS" >&5
31560
31561
31562 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31563 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31564 wxUSE_PRINTING_ARCHITECTURE="no"
31565
31566
31567 elif test $pkg_failed = untried; then
31568
31569 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31570 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31571 wxUSE_PRINTING_ARCHITECTURE="no"
31572
31573
31574 else
31575 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31576 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31577 { echo "$as_me:$LINENO: result: yes" >&5
31578 echo "${ECHO_T}yes" >&6; }
31579
31580 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31581 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31582 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31583
31584 fi
31585
31586 pkg_failed=no
31587 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31588 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31589
31590 if test -n "$PKG_CONFIG"; then
31591 if test -n "$PANGOXFT_CFLAGS"; then
31592 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31593 else
31594 if test -n "$PKG_CONFIG" && \
31595 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31596 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31597 ac_status=$?
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; then
31600 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31601 else
31602 pkg_failed=yes
31603 fi
31604 fi
31605 else
31606 pkg_failed=untried
31607 fi
31608 if test -n "$PKG_CONFIG"; then
31609 if test -n "$PANGOXFT_LIBS"; then
31610 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31611 else
31612 if test -n "$PKG_CONFIG" && \
31613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31614 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31615 ac_status=$?
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; then
31618 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31619 else
31620 pkg_failed=yes
31621 fi
31622 fi
31623 else
31624 pkg_failed=untried
31625 fi
31626
31627
31628
31629 if test $pkg_failed = yes; then
31630
31631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31632 _pkg_short_errors_supported=yes
31633 else
31634 _pkg_short_errors_supported=no
31635 fi
31636 if test $_pkg_short_errors_supported = yes; then
31637 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31638 else
31639 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31640 fi
31641 # Put the nasty error message in config.log where it belongs
31642 echo "$PANGOXFT_PKG_ERRORS" >&5
31643
31644
31645 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31646 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31647
31648
31649 elif test $pkg_failed = untried; then
31650
31651 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31652 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31653
31654
31655 else
31656 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31657 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31658 { echo "$as_me:$LINENO: result: yes" >&5
31659 echo "${ECHO_T}yes" >&6; }
31660
31661 cat >>confdefs.h <<\_ACEOF
31662 #define HAVE_PANGO_XFT 1
31663 _ACEOF
31664
31665 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31666 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31667 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31668
31669 fi
31670 save_LIBS="$LIBS"
31671 LIBS="$LIBS $PANGOX_LIBS"
31672
31673 for ac_func in pango_font_family_is_monospace
31674 do
31675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31676 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31678 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31679 echo $ECHO_N "(cached) $ECHO_C" >&6
31680 else
31681 cat >conftest.$ac_ext <<_ACEOF
31682 /* confdefs.h. */
31683 _ACEOF
31684 cat confdefs.h >>conftest.$ac_ext
31685 cat >>conftest.$ac_ext <<_ACEOF
31686 /* end confdefs.h. */
31687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31689 #define $ac_func innocuous_$ac_func
31690
31691 /* System header to define __stub macros and hopefully few prototypes,
31692 which can conflict with char $ac_func (); below.
31693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31694 <limits.h> exists even on freestanding compilers. */
31695
31696 #ifdef __STDC__
31697 # include <limits.h>
31698 #else
31699 # include <assert.h>
31700 #endif
31701
31702 #undef $ac_func
31703
31704 /* Override any GCC internal prototype to avoid an error.
31705 Use char because int might match the return type of a GCC
31706 builtin and then its argument prototype would still apply. */
31707 #ifdef __cplusplus
31708 extern "C"
31709 #endif
31710 char $ac_func ();
31711 /* The GNU C library defines this for functions which it implements
31712 to always fail with ENOSYS. Some functions are actually named
31713 something starting with __ and the normal name is an alias. */
31714 #if defined __stub_$ac_func || defined __stub___$ac_func
31715 choke me
31716 #endif
31717
31718 int
31719 main ()
31720 {
31721 return $ac_func ();
31722 ;
31723 return 0;
31724 }
31725 _ACEOF
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (ac_try="$ac_link"
31728 case "(($ac_try" in
31729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31731 esac
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_link") 2>conftest.er1
31734 ac_status=$?
31735 grep -v '^ *+' conftest.er1 >conftest.err
31736 rm -f conftest.er1
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } && {
31740 test -z "$ac_c_werror_flag" ||
31741 test ! -s conftest.err
31742 } && test -s conftest$ac_exeext &&
31743 $as_test_x conftest$ac_exeext; then
31744 eval "$as_ac_var=yes"
31745 else
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.$ac_ext >&5
31748
31749 eval "$as_ac_var=no"
31750 fi
31751
31752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31753 conftest$ac_exeext conftest.$ac_ext
31754 fi
31755 ac_res=`eval echo '${'$as_ac_var'}'`
31756 { echo "$as_me:$LINENO: result: $ac_res" >&5
31757 echo "${ECHO_T}$ac_res" >&6; }
31758 if test `eval echo '${'$as_ac_var'}'` = yes; then
31759 cat >>confdefs.h <<_ACEOF
31760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31761 _ACEOF
31762
31763 fi
31764 done
31765
31766 LIBS="$save_LIBS"
31767 fi
31768
31769 wxUSE_UNIVERSAL="yes"
31770
31771 if test "$wxUSE_NANOX" = "yes"; then
31772 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31773 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"
31774 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31775 else
31776 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31777 fi
31778
31779 TOOLKIT=X11
31780 GUIDIST=X11_DIST
31781 fi
31782
31783 if test "$wxUSE_MOTIF" = 1; then
31784 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31785 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31786
31787 ac_find_includes=
31788 for ac_dir in $SEARCH_INCLUDE /usr/include;
31789 do
31790 if test -f "$ac_dir/Xm/Xm.h"; then
31791 ac_find_includes=$ac_dir
31792 break
31793 fi
31794 done
31795
31796 if test "$ac_find_includes" != "" ; then
31797 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31798 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31799
31800 if test "x$ac_find_includes" = "x/usr/include"; then
31801 ac_path_to_include=""
31802 else
31803 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31804 result=$?
31805 if test $result = 0; then
31806 ac_path_to_include=""
31807 else
31808 ac_path_to_include=" -I$ac_find_includes"
31809 fi
31810 fi
31811
31812 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31813 else
31814 save_CFLAGS=$CFLAGS
31815 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31816
31817 cat >conftest.$ac_ext <<_ACEOF
31818 /* confdefs.h. */
31819 _ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823
31824 #include <Xm/Xm.h>
31825
31826 int
31827 main ()
31828 {
31829
31830 int version;
31831 version = xmUseVersion;
31832
31833 ;
31834 return 0;
31835 }
31836 _ACEOF
31837 rm -f conftest.$ac_objext
31838 if { (ac_try="$ac_compile"
31839 case "(($ac_try" in
31840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31841 *) ac_try_echo=$ac_try;;
31842 esac
31843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31844 (eval "$ac_compile") 2>conftest.er1
31845 ac_status=$?
31846 grep -v '^ *+' conftest.er1 >conftest.err
31847 rm -f conftest.er1
31848 cat conftest.err >&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); } && {
31851 test -z "$ac_c_werror_flag" ||
31852 test ! -s conftest.err
31853 } && test -s conftest.$ac_objext; then
31854
31855 { echo "$as_me:$LINENO: result: found in default search path" >&5
31856 echo "${ECHO_T}found in default search path" >&6; }
31857 COMPILED_X_PROGRAM=1
31858
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31862
31863
31864 { echo "$as_me:$LINENO: result: no" >&5
31865 echo "${ECHO_T}no" >&6; }
31866 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31867 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31868 { (exit 1); exit 1; }; }
31869
31870
31871 fi
31872
31873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31874
31875 CFLAGS=$save_CFLAGS
31876 fi
31877
31878
31879 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31880 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31881
31882 ac_find_libraries=
31883 for ac_dir in $SEARCH_LIB;
31884 do
31885 for ac_extension in a so sl dylib dll.a; do
31886 if test -f "$ac_dir/libXm.$ac_extension"; then
31887 ac_find_libraries=$ac_dir
31888 break 2
31889 fi
31890 done
31891 done
31892
31893
31894 if test "x$ac_find_libraries" != "x" ; then
31895 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31896 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31897
31898
31899 if test "$ac_find_libraries" = "default location"; then
31900 ac_path_to_link=""
31901 else
31902 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31903 result=$?
31904 if test $result = 0; then
31905 ac_path_to_link=""
31906 else
31907 ac_path_to_link=" -L$ac_find_libraries"
31908 fi
31909 fi
31910
31911 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31912 else
31913 save_CFLAGS=$CFLAGS
31914 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31915 save_LIBS="$LIBS"
31916 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31917
31918 cat >conftest.$ac_ext <<_ACEOF
31919 /* confdefs.h. */
31920 _ACEOF
31921 cat confdefs.h >>conftest.$ac_ext
31922 cat >>conftest.$ac_ext <<_ACEOF
31923 /* end confdefs.h. */
31924
31925 #include <Xm/Xm.h>
31926
31927 int
31928 main ()
31929 {
31930
31931 int version;
31932 version = xmUseVersion;
31933
31934 ;
31935 return 0;
31936 }
31937 _ACEOF
31938 rm -f conftest.$ac_objext conftest$ac_exeext
31939 if { (ac_try="$ac_link"
31940 case "(($ac_try" in
31941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31942 *) ac_try_echo=$ac_try;;
31943 esac
31944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31945 (eval "$ac_link") 2>conftest.er1
31946 ac_status=$?
31947 grep -v '^ *+' conftest.er1 >conftest.err
31948 rm -f conftest.er1
31949 cat conftest.err >&5
31950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31951 (exit $ac_status); } && {
31952 test -z "$ac_c_werror_flag" ||
31953 test ! -s conftest.err
31954 } && test -s conftest$ac_exeext &&
31955 $as_test_x conftest$ac_exeext; then
31956
31957 { echo "$as_me:$LINENO: result: found in default search path" >&5
31958 echo "${ECHO_T}found in default search path" >&6; }
31959 COMPILED_X_PROGRAM=1
31960
31961 else
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.$ac_ext >&5
31964
31965
31966 { echo "$as_me:$LINENO: result: no" >&5
31967 echo "${ECHO_T}no" >&6; }
31968 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31969 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31970 { (exit 1); exit 1; }; }
31971
31972
31973 fi
31974
31975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31976 conftest$ac_exeext conftest.$ac_ext
31977
31978 CFLAGS=$save_CFLAGS
31979 LIBS="$save_LIBS"
31980 fi
31981
31982 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31983 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31984 libp_link=""
31985 libsm_ice_link=""
31986 libs_found=0
31987 for libp in "" " -lXp"; do
31988 if test "$libs_found" = 0; then
31989 for libsm_ice in "" " -lSM -lICE"; do
31990 if test "$libs_found" = 0; then
31991 save_LIBS="$LIBS"
31992 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31993 save_CFLAGS=$CFLAGS
31994 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31995
31996 cat >conftest.$ac_ext <<_ACEOF
31997 /* confdefs.h. */
31998 _ACEOF
31999 cat confdefs.h >>conftest.$ac_ext
32000 cat >>conftest.$ac_ext <<_ACEOF
32001 /* end confdefs.h. */
32002
32003 #include <Xm/Xm.h>
32004 #include <Xm/List.h>
32005
32006 int
32007 main ()
32008 {
32009
32010 XmString string = NULL;
32011 Widget w = NULL;
32012 int position = 0;
32013 XmListAddItem(w, string, position);
32014
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (ac_try="$ac_link"
32021 case "(($ac_try" in
32022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32023 *) ac_try_echo=$ac_try;;
32024 esac
32025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32026 (eval "$ac_link") 2>conftest.er1
32027 ac_status=$?
32028 grep -v '^ *+' conftest.er1 >conftest.err
32029 rm -f conftest.er1
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } && {
32033 test -z "$ac_c_werror_flag" ||
32034 test ! -s conftest.err
32035 } && test -s conftest$ac_exeext &&
32036 $as_test_x conftest$ac_exeext; then
32037
32038 libp_link="$libp"
32039 libsm_ice_link="$libsm_ice"
32040 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32041 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32042 libs_found=1
32043
32044 else
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32047
32048
32049
32050 fi
32051
32052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32053 conftest$ac_exeext conftest.$ac_ext
32054
32055 LIBS="$save_LIBS"
32056 CFLAGS=$save_CFLAGS
32057 fi
32058 done
32059 fi
32060 done
32061
32062 if test "$libs_found" = 0; then
32063 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32064 echo "${ECHO_T}can't find the right libraries" >&6; }
32065 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32066 echo "$as_me: error: can't link a simple motif program" >&2;}
32067 { (exit 1); exit 1; }; }
32068 fi
32069
32070 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32071 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32072 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32074 else
32075 ac_check_lib_save_LIBS=$LIBS
32076 LIBS="-lSgm $LIBS"
32077 cat >conftest.$ac_ext <<_ACEOF
32078 /* confdefs.h. */
32079 _ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083
32084 /* Override any GCC internal prototype to avoid an error.
32085 Use char because int might match the return type of a GCC
32086 builtin and then its argument prototype would still apply. */
32087 #ifdef __cplusplus
32088 extern "C"
32089 #endif
32090 char SgCreateList ();
32091 int
32092 main ()
32093 {
32094 return SgCreateList ();
32095 ;
32096 return 0;
32097 }
32098 _ACEOF
32099 rm -f conftest.$ac_objext conftest$ac_exeext
32100 if { (ac_try="$ac_link"
32101 case "(($ac_try" in
32102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32103 *) ac_try_echo=$ac_try;;
32104 esac
32105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32106 (eval "$ac_link") 2>conftest.er1
32107 ac_status=$?
32108 grep -v '^ *+' conftest.er1 >conftest.err
32109 rm -f conftest.er1
32110 cat conftest.err >&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } && {
32113 test -z "$ac_c_werror_flag" ||
32114 test ! -s conftest.err
32115 } && test -s conftest$ac_exeext &&
32116 $as_test_x conftest$ac_exeext; then
32117 ac_cv_lib_Sgm_SgCreateList=yes
32118 else
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32121
32122 ac_cv_lib_Sgm_SgCreateList=no
32123 fi
32124
32125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32126 conftest$ac_exeext conftest.$ac_ext
32127 LIBS=$ac_check_lib_save_LIBS
32128 fi
32129 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32130 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32131 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32132 libsgm_link=" -lSgm"
32133 fi
32134
32135
32136 save_CFLAGS=$CFLAGS
32137 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32138
32139 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32140 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32141 if test "${wx_cv_lib_motif2+set}" = set; then
32142 echo $ECHO_N "(cached) $ECHO_C" >&6
32143 else
32144 cat >conftest.$ac_ext <<_ACEOF
32145 /* confdefs.h. */
32146 _ACEOF
32147 cat confdefs.h >>conftest.$ac_ext
32148 cat >>conftest.$ac_ext <<_ACEOF
32149 /* end confdefs.h. */
32150
32151 #include <Xm/Xm.h>
32152
32153 int
32154 main ()
32155 {
32156
32157 #if XmVersion < 2000
32158 Not Motif 2
32159 #endif
32160
32161 ;
32162 return 0;
32163 }
32164 _ACEOF
32165 rm -f conftest.$ac_objext
32166 if { (ac_try="$ac_compile"
32167 case "(($ac_try" in
32168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32169 *) ac_try_echo=$ac_try;;
32170 esac
32171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32172 (eval "$ac_compile") 2>conftest.er1
32173 ac_status=$?
32174 grep -v '^ *+' conftest.er1 >conftest.err
32175 rm -f conftest.er1
32176 cat conftest.err >&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } && {
32179 test -z "$ac_c_werror_flag" ||
32180 test ! -s conftest.err
32181 } && test -s conftest.$ac_objext; then
32182 wx_cv_lib_motif2="yes"
32183 else
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32186
32187 wx_cv_lib_motif2="no"
32188 fi
32189
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191 fi
32192 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32193 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32194 if test "$wx_cv_lib_motif2" = "yes"; then
32195 cat >>confdefs.h <<\_ACEOF
32196 #define __WXMOTIF20__ 1
32197 _ACEOF
32198
32199 else
32200 cat >>confdefs.h <<\_ACEOF
32201 #define __WXMOTIF20__ 0
32202 _ACEOF
32203
32204 fi
32205
32206 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32207 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32208 if test "${wx_cv_lib_lesstif+set}" = set; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32210 else
32211 cat >conftest.$ac_ext <<_ACEOF
32212 /* confdefs.h. */
32213 _ACEOF
32214 cat confdefs.h >>conftest.$ac_ext
32215 cat >>conftest.$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32217
32218 #include <Xm/Xm.h>
32219
32220 int
32221 main ()
32222 {
32223
32224 #if !defined(LesstifVersion) || LesstifVersion <= 0
32225 Not Lesstif
32226 #endif
32227
32228 ;
32229 return 0;
32230 }
32231 _ACEOF
32232 rm -f conftest.$ac_objext
32233 if { (ac_try="$ac_compile"
32234 case "(($ac_try" in
32235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32236 *) ac_try_echo=$ac_try;;
32237 esac
32238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32239 (eval "$ac_compile") 2>conftest.er1
32240 ac_status=$?
32241 grep -v '^ *+' conftest.er1 >conftest.err
32242 rm -f conftest.er1
32243 cat conftest.err >&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } && {
32246 test -z "$ac_c_werror_flag" ||
32247 test ! -s conftest.err
32248 } && test -s conftest.$ac_objext; then
32249 wx_cv_lib_lesstif="yes"
32250 else
32251 echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.$ac_ext >&5
32253
32254 wx_cv_lib_lesstif="no"
32255 fi
32256
32257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32258
32259 fi
32260 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32261 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32262 if test "$wx_cv_lib_lesstif" = "yes"; then
32263 cat >>confdefs.h <<\_ACEOF
32264 #define __WXLESSTIF__ 1
32265 _ACEOF
32266
32267 else
32268 cat >>confdefs.h <<\_ACEOF
32269 #define __WXLESSTIF__ 0
32270 _ACEOF
32271
32272 fi
32273
32274 CFLAGS=$save_CFLAGS
32275
32276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32277 TOOLKIT=MOTIF
32278 GUIDIST=MOTIF_DIST
32279 fi
32280
32281 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32282 if test "$wxUSE_LIBXPM" = "sys"; then
32283 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32284 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32285
32286 ac_find_libraries=
32287 for ac_dir in $SEARCH_LIB;
32288 do
32289 for ac_extension in a so sl dylib dll.a; do
32290 if test -f "$ac_dir/libXpm.$ac_extension"; then
32291 ac_find_libraries=$ac_dir
32292 break 2
32293 fi
32294 done
32295 done
32296
32297 if test "$ac_find_libraries" != "" ; then
32298
32299 if test "$ac_find_libraries" = "default location"; then
32300 ac_path_to_link=""
32301 else
32302 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32303 result=$?
32304 if test $result = 0; then
32305 ac_path_to_link=""
32306 else
32307 ac_path_to_link=" -L$ac_find_libraries"
32308 fi
32309 fi
32310
32311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32312 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32313 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32314
32315 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32316 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32317 if test "${wx_cv_x11_xpm_h+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 else
32320
32321 save_CFLAGS=$CFLAGS
32322 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32323
32324 cat >conftest.$ac_ext <<_ACEOF
32325 /* confdefs.h. */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330
32331 #include <X11/xpm.h>
32332
32333 int
32334 main ()
32335 {
32336
32337 int version;
32338 version = XpmLibraryVersion();
32339
32340 ;
32341 return 0;
32342 }
32343 _ACEOF
32344 rm -f conftest.$ac_objext
32345 if { (ac_try="$ac_compile"
32346 case "(($ac_try" in
32347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32348 *) ac_try_echo=$ac_try;;
32349 esac
32350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32351 (eval "$ac_compile") 2>conftest.er1
32352 ac_status=$?
32353 grep -v '^ *+' conftest.er1 >conftest.err
32354 rm -f conftest.er1
32355 cat conftest.err >&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); } && {
32358 test -z "$ac_c_werror_flag" ||
32359 test ! -s conftest.err
32360 } && test -s conftest.$ac_objext; then
32361 wx_cv_x11_xpm_h=yes
32362 else
32363 echo "$as_me: failed program was:" >&5
32364 sed 's/^/| /' conftest.$ac_ext >&5
32365
32366 wx_cv_x11_xpm_h=no
32367
32368 fi
32369
32370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32371
32372 CFLAGS=$save_CFLAGS
32373
32374
32375 fi
32376 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32377 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32378
32379 if test $wx_cv_x11_xpm_h = "yes"; then
32380 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32381 cat >>confdefs.h <<\_ACEOF
32382 #define wxHAVE_LIB_XPM 1
32383 _ACEOF
32384
32385 else
32386 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32387 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32388 fi
32389 fi
32390
32391 fi
32392
32393 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32394 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32395 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32396 echo $ECHO_N "(cached) $ECHO_C" >&6
32397 else
32398 ac_check_lib_save_LIBS=$LIBS
32399 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32400 cat >conftest.$ac_ext <<_ACEOF
32401 /* confdefs.h. */
32402 _ACEOF
32403 cat confdefs.h >>conftest.$ac_ext
32404 cat >>conftest.$ac_ext <<_ACEOF
32405 /* end confdefs.h. */
32406
32407 /* Override any GCC internal prototype to avoid an error.
32408 Use char because int might match the return type of a GCC
32409 builtin and then its argument prototype would still apply. */
32410 #ifdef __cplusplus
32411 extern "C"
32412 #endif
32413 char XShapeQueryExtension ();
32414 int
32415 main ()
32416 {
32417 return XShapeQueryExtension ();
32418 ;
32419 return 0;
32420 }
32421 _ACEOF
32422 rm -f conftest.$ac_objext conftest$ac_exeext
32423 if { (ac_try="$ac_link"
32424 case "(($ac_try" in
32425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32426 *) ac_try_echo=$ac_try;;
32427 esac
32428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32429 (eval "$ac_link") 2>conftest.er1
32430 ac_status=$?
32431 grep -v '^ *+' conftest.er1 >conftest.err
32432 rm -f conftest.er1
32433 cat conftest.err >&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); } && {
32436 test -z "$ac_c_werror_flag" ||
32437 test ! -s conftest.err
32438 } && test -s conftest$ac_exeext &&
32439 $as_test_x conftest$ac_exeext; then
32440 ac_cv_lib_Xext_XShapeQueryExtension=yes
32441 else
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32444
32445 ac_cv_lib_Xext_XShapeQueryExtension=no
32446 fi
32447
32448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32449 conftest$ac_exeext conftest.$ac_ext
32450 LIBS=$ac_check_lib_save_LIBS
32451 fi
32452 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32453 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32454 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32455
32456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32457 wxHAVE_XEXT_LIB=1
32458
32459 fi
32460
32461
32462 if test "$wxHAVE_XEXT_LIB" = 1; then
32463 save_CFLAGS="$CFLAGS"
32464 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32465
32466 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32467 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32468 cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474
32475 #include <X11/Xlib.h>
32476 #include <X11/extensions/shape.h>
32477
32478 int
32479 main ()
32480 {
32481
32482 int dummy1, dummy2;
32483 XShapeQueryExtension((Display*)NULL,
32484 (int*)NULL, (int*)NULL);
32485
32486 ;
32487 return 0;
32488 }
32489 _ACEOF
32490 rm -f conftest.$ac_objext
32491 if { (ac_try="$ac_compile"
32492 case "(($ac_try" in
32493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32494 *) ac_try_echo=$ac_try;;
32495 esac
32496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32497 (eval "$ac_compile") 2>conftest.er1
32498 ac_status=$?
32499 grep -v '^ *+' conftest.er1 >conftest.err
32500 rm -f conftest.er1
32501 cat conftest.err >&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } && {
32504 test -z "$ac_c_werror_flag" ||
32505 test ! -s conftest.err
32506 } && test -s conftest.$ac_objext; then
32507
32508 cat >>confdefs.h <<\_ACEOF
32509 #define HAVE_XSHAPE 1
32510 _ACEOF
32511
32512 { echo "$as_me:$LINENO: result: found" >&5
32513 echo "${ECHO_T}found" >&6; }
32514
32515 else
32516 echo "$as_me: failed program was:" >&5
32517 sed 's/^/| /' conftest.$ac_ext >&5
32518
32519
32520 { echo "$as_me:$LINENO: result: not found" >&5
32521 echo "${ECHO_T}not found" >&6; }
32522
32523 fi
32524
32525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32526 CFLAGS="$save_CFLAGS"
32527
32528 fi
32529 fi
32530
32531 if test "$wxUSE_OSX_CARBON" = 1; then
32532 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32533 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32534 if test "$GCC" = yes; then
32535 { echo "$as_me:$LINENO: result: gcc" >&5
32536 echo "${ECHO_T}gcc" >&6; }
32537 CPPFLAGS_PASCAL="-fpascal-strings"
32538 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32539 { echo "$as_me:$LINENO: result: xlc" >&5
32540 echo "${ECHO_T}xlc" >&6; }
32541 CPPFLAGS_PASCAL="-qmacpstr"
32542 else
32543 { echo "$as_me:$LINENO: result: none" >&5
32544 echo "${ECHO_T}none" >&6; }
32545 fi
32546
32547 if test "x$wxUSE_UNIX" = "xyes"; then
32548 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32549 else
32550 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32551 fi
32552
32553 TOOLKIT=OSX_CARBON
32554 GUIDIST=OSX_CARBON_DIST
32555 WXBASEPORT="_carbon"
32556 fi
32557
32558 if test "$wxUSE_OSX_COCOA" = 1; then
32559 TOOLKIT=OSX_COCOA
32560 GUIDIST=OSX_COCOA_DIST
32561 fi
32562
32563 if test "$wxUSE_COCOA" = 1; then
32564 TOOLKIT=COCOA
32565 GUIDIST=COCOA_DIST
32566 fi
32567
32568 if test "$wxUSE_PM" = 1; then
32569 TOOLKIT=PM
32570 GUIDIST=PM_DIST
32571 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32572 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32573 if test "${wx_cv_spbcdata+set}" = set; then
32574 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 else
32576
32577 cat >conftest.$ac_ext <<_ACEOF
32578 /* confdefs.h. */
32579 _ACEOF
32580 cat confdefs.h >>conftest.$ac_ext
32581 cat >>conftest.$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583
32584 #define INCL_PM
32585 #include <os2.h>
32586
32587 int
32588 main ()
32589 {
32590
32591 SPBCDATA test;
32592
32593 ;
32594 return 0;
32595 }
32596 _ACEOF
32597 rm -f conftest.$ac_objext
32598 if { (ac_try="$ac_compile"
32599 case "(($ac_try" in
32600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32601 *) ac_try_echo=$ac_try;;
32602 esac
32603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 (eval "$ac_compile") 2>conftest.er1
32605 ac_status=$?
32606 grep -v '^ *+' conftest.er1 >conftest.err
32607 rm -f conftest.er1
32608 cat conftest.err >&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); } && {
32611 test -z "$ac_c_werror_flag" ||
32612 test ! -s conftest.err
32613 } && test -s conftest.$ac_objext; then
32614 wx_cv_spbcdata=yes
32615 else
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32618
32619 wx_cv_spbcdata=no
32620
32621 fi
32622
32623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32624
32625
32626 fi
32627 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32628 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32629
32630 if test $wx_cv_spbcdata = "yes"; then
32631 cat >>confdefs.h <<\_ACEOF
32632 #define HAVE_SPBCDATA 1
32633 _ACEOF
32634
32635 fi
32636 fi
32637
32638 if test "$TOOLKIT" = "PM" ; then
32639 TOOLKIT_DIR="os2"
32640 else
32641 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32642 fi
32643
32644 if test "$wxUSE_UNIVERSAL" = "yes"; then
32645 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32646 WIDGET_SET=univ
32647 fi
32648
32649 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32650 DISTDIR="wx\$(TOOLKIT)"
32651 else
32652 USE_GUI=0
32653
32654 TOOLKIT_DIR="base"
32655
32656 if test "$USE_WIN32" = 1 ; then
32657 TOOLKIT="MSW"
32658 fi
32659
32660 GUIDIST="BASE_DIST"
32661 DISTDIR="wxBase"
32662 fi
32663
32664
32665
32666 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32667 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32668 wxUSE_UNICODE_UTF8=yes
32669 elif test "$USE_OS2" = 1 ; then
32670 wxUSE_UNICODE_UTF8=yes
32671 else
32672 wxUSE_UNICODE_UTF8=no
32673 fi
32674 fi
32675
32676
32677 if test "$wxUSE_GUI" = "yes"; then
32678 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32679
32680 for ac_header in X11/Xlib.h
32681 do
32682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32686 echo $ECHO_N "(cached) $ECHO_C" >&6
32687 else
32688 cat >conftest.$ac_ext <<_ACEOF
32689 /* confdefs.h. */
32690 _ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694
32695
32696 #include <$ac_header>
32697 _ACEOF
32698 rm -f conftest.$ac_objext
32699 if { (ac_try="$ac_compile"
32700 case "(($ac_try" in
32701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32702 *) ac_try_echo=$ac_try;;
32703 esac
32704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32705 (eval "$ac_compile") 2>conftest.er1
32706 ac_status=$?
32707 grep -v '^ *+' conftest.er1 >conftest.err
32708 rm -f conftest.er1
32709 cat conftest.err >&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } && {
32712 test -z "$ac_c_werror_flag" ||
32713 test ! -s conftest.err
32714 } && test -s conftest.$ac_objext; then
32715 eval "$as_ac_Header=yes"
32716 else
32717 echo "$as_me: failed program was:" >&5
32718 sed 's/^/| /' conftest.$ac_ext >&5
32719
32720 eval "$as_ac_Header=no"
32721 fi
32722
32723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32724 fi
32725 ac_res=`eval echo '${'$as_ac_Header'}'`
32726 { echo "$as_me:$LINENO: result: $ac_res" >&5
32727 echo "${ECHO_T}$ac_res" >&6; }
32728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32729 cat >>confdefs.h <<_ACEOF
32730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32731 _ACEOF
32732
32733 fi
32734
32735 done
32736
32737
32738 for ac_header in X11/XKBlib.h
32739 do
32740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32744 echo $ECHO_N "(cached) $ECHO_C" >&6
32745 else
32746 cat >conftest.$ac_ext <<_ACEOF
32747 /* confdefs.h. */
32748 _ACEOF
32749 cat confdefs.h >>conftest.$ac_ext
32750 cat >>conftest.$ac_ext <<_ACEOF
32751 /* end confdefs.h. */
32752
32753 #if HAVE_X11_XLIB_H
32754 #include <X11/Xlib.h>
32755 #endif
32756
32757
32758 #include <$ac_header>
32759 _ACEOF
32760 rm -f conftest.$ac_objext
32761 if { (ac_try="$ac_compile"
32762 case "(($ac_try" in
32763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32764 *) ac_try_echo=$ac_try;;
32765 esac
32766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32767 (eval "$ac_compile") 2>conftest.er1
32768 ac_status=$?
32769 grep -v '^ *+' conftest.er1 >conftest.err
32770 rm -f conftest.er1
32771 cat conftest.err >&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } && {
32774 test -z "$ac_c_werror_flag" ||
32775 test ! -s conftest.err
32776 } && test -s conftest.$ac_objext; then
32777 eval "$as_ac_Header=yes"
32778 else
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.$ac_ext >&5
32781
32782 eval "$as_ac_Header=no"
32783 fi
32784
32785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786 fi
32787 ac_res=`eval echo '${'$as_ac_Header'}'`
32788 { echo "$as_me:$LINENO: result: $ac_res" >&5
32789 echo "${ECHO_T}$ac_res" >&6; }
32790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32791 cat >>confdefs.h <<_ACEOF
32792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32793 _ACEOF
32794
32795 fi
32796
32797 done
32798
32799 fi
32800 fi
32801
32802
32803
32804 if test "$wxUSE_DISPLAY" = "yes"; then
32805 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32806 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32807 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32808
32809 ac_find_libraries=
32810 for ac_dir in $SEARCH_LIB;
32811 do
32812 for ac_extension in a so sl dylib dll.a; do
32813 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32814 ac_find_libraries=$ac_dir
32815 break 2
32816 fi
32817 done
32818 done
32819
32820 if test "$ac_find_libraries" != "" ; then
32821
32822 if test "$ac_find_libraries" = "default location"; then
32823 ac_path_to_link=""
32824 else
32825 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32826 result=$?
32827 if test $result = 0; then
32828 ac_path_to_link=""
32829 else
32830 ac_path_to_link=" -L$ac_find_libraries"
32831 fi
32832 fi
32833
32834 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32835 LDFLAGS="$LDFLAGS $ac_path_to_link"
32836 fi
32837 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32838 { echo "$as_me:$LINENO: result: yes" >&5
32839 echo "${ECHO_T}yes" >&6; }
32840
32841 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32842 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32843
32844 ac_find_libraries=
32845 for ac_dir in $SEARCH_LIB;
32846 do
32847 for ac_extension in a so sl dylib dll.a; do
32848 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32849 ac_find_libraries=$ac_dir
32850 break 2
32851 fi
32852 done
32853 done
32854
32855 if test "$ac_find_libraries" != "" ; then
32856 { echo "$as_me:$LINENO: result: yes" >&5
32857 echo "${ECHO_T}yes" >&6; }
32858
32859 for ac_header in X11/extensions/xf86vmode.h
32860 do
32861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32865 echo $ECHO_N "(cached) $ECHO_C" >&6
32866 else
32867 cat >conftest.$ac_ext <<_ACEOF
32868 /* confdefs.h. */
32869 _ACEOF
32870 cat confdefs.h >>conftest.$ac_ext
32871 cat >>conftest.$ac_ext <<_ACEOF
32872 /* end confdefs.h. */
32873
32874 #if HAVE_X11_XLIB_H
32875 #include <X11/Xlib.h>
32876 #endif
32877
32878
32879 #include <$ac_header>
32880 _ACEOF
32881 rm -f conftest.$ac_objext
32882 if { (ac_try="$ac_compile"
32883 case "(($ac_try" in
32884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32885 *) ac_try_echo=$ac_try;;
32886 esac
32887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32888 (eval "$ac_compile") 2>conftest.er1
32889 ac_status=$?
32890 grep -v '^ *+' conftest.er1 >conftest.err
32891 rm -f conftest.er1
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } && {
32895 test -z "$ac_c_werror_flag" ||
32896 test ! -s conftest.err
32897 } && test -s conftest.$ac_objext; then
32898 eval "$as_ac_Header=yes"
32899 else
32900 echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.$ac_ext >&5
32902
32903 eval "$as_ac_Header=no"
32904 fi
32905
32906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32907 fi
32908 ac_res=`eval echo '${'$as_ac_Header'}'`
32909 { echo "$as_me:$LINENO: result: $ac_res" >&5
32910 echo "${ECHO_T}$ac_res" >&6; }
32911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32912 cat >>confdefs.h <<_ACEOF
32913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32914 _ACEOF
32915
32916 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32917
32918 fi
32919
32920 done
32921
32922 else
32923 { echo "$as_me:$LINENO: result: no" >&5
32924 echo "${ECHO_T}no" >&6; }
32925 fi
32926
32927 else
32928 { echo "$as_me:$LINENO: result: no" >&5
32929 echo "${ECHO_T}no" >&6; }
32930 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32931 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32932 wxUSE_DISPLAY="no"
32933 fi
32934 elif test "$wxUSE_MSW" = 1; then
32935 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32936 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32937 if test "${ac_cv_header_ddraw_h+set}" = set; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 else
32940 cat >conftest.$ac_ext <<_ACEOF
32941 /* confdefs.h. */
32942 _ACEOF
32943 cat confdefs.h >>conftest.$ac_ext
32944 cat >>conftest.$ac_ext <<_ACEOF
32945 /* end confdefs.h. */
32946 #include <windows.h>
32947
32948 #include <ddraw.h>
32949 _ACEOF
32950 rm -f conftest.$ac_objext
32951 if { (ac_try="$ac_compile"
32952 case "(($ac_try" in
32953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32954 *) ac_try_echo=$ac_try;;
32955 esac
32956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32957 (eval "$ac_compile") 2>conftest.er1
32958 ac_status=$?
32959 grep -v '^ *+' conftest.er1 >conftest.err
32960 rm -f conftest.er1
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } && {
32964 test -z "$ac_c_werror_flag" ||
32965 test ! -s conftest.err
32966 } && test -s conftest.$ac_objext; then
32967 ac_cv_header_ddraw_h=yes
32968 else
32969 echo "$as_me: failed program was:" >&5
32970 sed 's/^/| /' conftest.$ac_ext >&5
32971
32972 ac_cv_header_ddraw_h=no
32973 fi
32974
32975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32976 fi
32977 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32978 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32979
32980
32981 fi
32982 fi
32983
32984 if test "$wxUSE_DETECT_SM" = "yes"; then
32985 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32986 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32987 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32988
32989 ac_find_libraries=
32990 for ac_dir in $SEARCH_LIB;
32991 do
32992 for ac_extension in a so sl dylib dll.a; do
32993 if test -f "$ac_dir/libSM.$ac_extension"; then
32994 ac_find_libraries=$ac_dir
32995 break 2
32996 fi
32997 done
32998 done
32999
33000 if test "$ac_find_libraries" != "" ; then
33001
33002 if test "$ac_find_libraries" = "default location"; then
33003 ac_path_to_link=""
33004 else
33005 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33006 result=$?
33007 if test $result = 0; then
33008 ac_path_to_link=""
33009 else
33010 ac_path_to_link=" -L$ac_find_libraries"
33011 fi
33012 fi
33013
33014 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33015 LDFLAGS="$LDFLAGS $ac_path_to_link"
33016 fi
33017 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33018 { echo "$as_me:$LINENO: result: yes" >&5
33019 echo "${ECHO_T}yes" >&6; }
33020 else
33021 { echo "$as_me:$LINENO: result: no" >&5
33022 echo "${ECHO_T}no" >&6; }
33023 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33024 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33025 wxUSE_DETECT_SM="no"
33026 fi
33027 else
33028 wxUSE_DETECT_SM="no"
33029 fi
33030 fi
33031
33032
33033
33034 USE_OPENGL=0
33035 if test "$wxUSE_OPENGL" = "yes"; then
33036 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33037 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33038 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33039 wxUSE_OPENGL="no"
33040 elif test "$wxUSE_OSX_CARBON" = 1 -o test "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33041 OPENGL_LIBS="-framework OpenGL -framework AGL"
33042 elif test "$wxUSE_MSW" = 1; then
33043 OPENGL_LIBS="-lopengl32 -lglu32"
33044 else
33045 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33046 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33047
33048 ac_find_includes=
33049 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33050 do
33051 if test -f "$ac_dir/GL/gl.h"; then
33052 ac_find_includes=$ac_dir
33053 break
33054 fi
33055 done
33056
33057 if test "$ac_find_includes" != "" ; then
33058 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33059 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33060
33061 if test "x$ac_find_includes" = "x/usr/include"; then
33062 ac_path_to_include=""
33063 else
33064 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33065 result=$?
33066 if test $result = 0; then
33067 ac_path_to_include=""
33068 else
33069 ac_path_to_include=" -I$ac_find_includes"
33070 fi
33071 fi
33072
33073 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33074 else
33075 { echo "$as_me:$LINENO: result: not found" >&5
33076 echo "${ECHO_T}not found" >&6; }
33077 fi
33078
33079 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33080 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33081 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33082 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 else
33084 cat >conftest.$ac_ext <<_ACEOF
33085 /* confdefs.h. */
33086 _ACEOF
33087 cat confdefs.h >>conftest.$ac_ext
33088 cat >>conftest.$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33090
33091
33092 #include <GL/gl.h>
33093 _ACEOF
33094 rm -f conftest.$ac_objext
33095 if { (ac_try="$ac_compile"
33096 case "(($ac_try" in
33097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33098 *) ac_try_echo=$ac_try;;
33099 esac
33100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33101 (eval "$ac_compile") 2>conftest.er1
33102 ac_status=$?
33103 grep -v '^ *+' conftest.er1 >conftest.err
33104 rm -f conftest.er1
33105 cat conftest.err >&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } && {
33108 test -z "$ac_c_werror_flag" ||
33109 test ! -s conftest.err
33110 } && test -s conftest.$ac_objext; then
33111 ac_cv_header_GL_gl_h=yes
33112 else
33113 echo "$as_me: failed program was:" >&5
33114 sed 's/^/| /' conftest.$ac_ext >&5
33115
33116 ac_cv_header_GL_gl_h=no
33117 fi
33118
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33120 fi
33121 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33122 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33123 if test $ac_cv_header_GL_gl_h = yes; then
33124
33125 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33126 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33127 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130 cat >conftest.$ac_ext <<_ACEOF
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136
33137
33138 #include <GL/glu.h>
33139 _ACEOF
33140 rm -f conftest.$ac_objext
33141 if { (ac_try="$ac_compile"
33142 case "(($ac_try" in
33143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33144 *) ac_try_echo=$ac_try;;
33145 esac
33146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33147 (eval "$ac_compile") 2>conftest.er1
33148 ac_status=$?
33149 grep -v '^ *+' conftest.er1 >conftest.err
33150 rm -f conftest.er1
33151 cat conftest.err >&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } && {
33154 test -z "$ac_c_werror_flag" ||
33155 test ! -s conftest.err
33156 } && test -s conftest.$ac_objext; then
33157 ac_cv_header_GL_glu_h=yes
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 ac_cv_header_GL_glu_h=no
33163 fi
33164
33165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33166 fi
33167 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33168 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33169 if test $ac_cv_header_GL_glu_h = yes; then
33170
33171 found_gl=0
33172
33173 { echo "$as_me:$LINENO: checking for -lGL" >&5
33174 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33175
33176 ac_find_libraries=
33177 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33178 do
33179 for ac_extension in a so sl dylib dll.a; do
33180 if test -f "$ac_dir/libGL.$ac_extension"; then
33181 ac_find_libraries=$ac_dir
33182 break 2
33183 fi
33184 done
33185 done
33186
33187 if test "$ac_find_libraries" != "" ; then
33188 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33189 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33190
33191
33192 if test "$ac_find_libraries" = "default location"; then
33193 ac_path_to_link=""
33194 else
33195 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33196 result=$?
33197 if test $result = 0; then
33198 ac_path_to_link=""
33199 else
33200 ac_path_to_link=" -L$ac_find_libraries"
33201 fi
33202 fi
33203
33204 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33205 LDFLAGS_GL="$ac_path_to_link"
33206 fi
33207
33208 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33209 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33210
33211 ac_find_libraries=
33212 for ac_dir in $SEARCH_LIB;
33213 do
33214 for ac_extension in a so sl dylib dll.a; do
33215 if test -f "$ac_dir/libGLU.$ac_extension"; then
33216 ac_find_libraries=$ac_dir
33217 break 2
33218 fi
33219 done
33220 done
33221
33222 if test "$ac_find_libraries" != "" ; then
33223
33224 if test "$ac_find_libraries" = "default location"; then
33225 ac_path_to_link=""
33226 else
33227 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33228 result=$?
33229 if test $result = 0; then
33230 ac_path_to_link=""
33231 else
33232 ac_path_to_link=" -L$ac_find_libraries"
33233 fi
33234 fi
33235
33236 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33237 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33238 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33239 fi
33240
33241 found_gl=1
33242 OPENGL_LIBS="-lGL -lGLU"
33243 { echo "$as_me:$LINENO: result: yes" >&5
33244 echo "${ECHO_T}yes" >&6; }
33245 else
33246 { echo "$as_me:$LINENO: result: no" >&5
33247 echo "${ECHO_T}no" >&6; }
33248 fi
33249 else
33250 { echo "$as_me:$LINENO: result: no" >&5
33251 echo "${ECHO_T}no" >&6; }
33252 fi
33253
33254 if test "$found_gl" != 1; then
33255 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33256 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33257
33258 ac_find_libraries=
33259 for ac_dir in $SEARCH_LIB;
33260 do
33261 for ac_extension in a so sl dylib dll.a; do
33262 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33263 ac_find_libraries=$ac_dir
33264 break 2
33265 fi
33266 done
33267 done
33268
33269 if test "$ac_find_libraries" != "" ; then
33270
33271 if test "$ac_find_libraries" = "default location"; then
33272 ac_path_to_link=""
33273 else
33274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33275 result=$?
33276 if test $result = 0; then
33277 ac_path_to_link=""
33278 else
33279 ac_path_to_link=" -L$ac_find_libraries"
33280 fi
33281 fi
33282
33283 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33284 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33285 { echo "$as_me:$LINENO: result: yes" >&5
33286 echo "${ECHO_T}yes" >&6; }
33287 else
33288 { echo "$as_me:$LINENO: result: no" >&5
33289 echo "${ECHO_T}no" >&6; }
33290 fi
33291 fi
33292
33293 fi
33294
33295
33296
33297 fi
33298
33299
33300
33301 if test "x$OPENGL_LIBS" = "x"; then
33302 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33303 echo "$as_me: error: OpenGL libraries not available" >&2;}
33304 { (exit 1); exit 1; }; }
33305 fi
33306 fi
33307
33308 if test "$wxUSE_OPENGL" = "yes"; then
33309 USE_OPENGL=1
33310 cat >>confdefs.h <<\_ACEOF
33311 #define wxUSE_OPENGL 1
33312 _ACEOF
33313
33314 cat >>confdefs.h <<\_ACEOF
33315 #define wxUSE_GLCANVAS 1
33316 _ACEOF
33317
33318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33319 fi
33320 fi
33321
33322
33323 if test -n "$TOOLKIT" ; then
33324 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33325 fi
33326
33327
33328
33329 if test "$wxUSE_SHARED" = "yes"; then
33330 case "${host}" in
33331 *-pc-msdosdjgpp )
33332 wxUSE_SHARED=no
33333 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33334 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33335 ;;
33336 esac
33337 fi
33338
33339 if test "$wxUSE_SHARED" = "yes"; then
33340
33341
33342 case "${host}" in
33343 *-*-cygwin* | *-*-mingw* )
33344 wx_cv_version_script=no
33345 ;;
33346
33347 *)
33348 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33349 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33350 if test "${wx_cv_version_script+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33352 else
33353
33354 echo "VER_1 { *; };" >conftest.sym
33355 echo "int main() { return 0; }" >conftest.cpp
33356
33357 if { ac_try='
33358 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33359 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33362 ac_status=$?
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; } ; then
33365 if test -s conftest.stderr ; then
33366 wx_cv_version_script=no
33367 else
33368 wx_cv_version_script=yes
33369 fi
33370 else
33371 wx_cv_version_script=no
33372 fi
33373
33374 if test $wx_cv_version_script = yes
33375 then
33376 echo "struct B { virtual ~B() { } }; \
33377 struct D : public B { }; \
33378 void F() { D d; }" > conftest.cpp
33379
33380 if { ac_try='
33381 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33382 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33385 ac_status=$?
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; } &&
33388 { ac_try='
33389 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33390 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33392 (eval $ac_try) 2>&5
33393 ac_status=$?
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); }; }
33396 then
33397 if { ac_try='
33398 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33399 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; }
33405 then
33406 wx_cv_version_script=yes
33407 else
33408 wx_cv_version_script=no
33409 fi
33410 fi
33411 fi
33412
33413 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33414 rm -f conftest1.output conftest2.output conftest3.output
33415
33416 fi
33417 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33418 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33419
33420 if test $wx_cv_version_script = yes ; then
33421 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33422 fi
33423 ;;
33424 esac
33425
33426
33427 if test "$wxUSE_VISIBILITY" != "no"; then
33428
33429
33430 if test -n "$GCC"; then
33431 CFLAGS_VISIBILITY="-fvisibility=hidden"
33432 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33433 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33434 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33435 if test "${wx_cv_cc_visibility+set}" = set; then
33436 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 else
33438
33439 wx_save_CXXFLAGS="$CXXFLAGS"
33440 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33441 ac_ext=cpp
33442 ac_cpp='$CXXCPP $CPPFLAGS'
33443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33446
33447 cat >conftest.$ac_ext <<_ACEOF
33448 /* confdefs.h. */
33449 _ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453
33454 /* we need gcc >= 4.0, older versions with visibility support
33455 didn't have class visibility: */
33456 #if defined(__GNUC__) && __GNUC__ < 4
33457 error this gcc is too old;
33458 #endif
33459
33460 /* visibility only makes sense for ELF shared libs: */
33461 #if !defined(__ELF__) && !defined(__APPLE__)
33462 error this platform has no visibility;
33463 #endif
33464
33465 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33466 extern __attribute__((__visibility__("default"))) int exportedvar;
33467 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33468 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33469 class __attribute__((__visibility__("default"))) Foo {
33470 Foo() {}
33471 };
33472
33473 int
33474 main ()
33475 {
33476
33477 ;
33478 return 0;
33479 }
33480 _ACEOF
33481 rm -f conftest.$ac_objext
33482 if { (ac_try="$ac_compile"
33483 case "(($ac_try" in
33484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33485 *) ac_try_echo=$ac_try;;
33486 esac
33487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33488 (eval "$ac_compile") 2>conftest.er1
33489 ac_status=$?
33490 grep -v '^ *+' conftest.er1 >conftest.err
33491 rm -f conftest.er1
33492 cat conftest.err >&5
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); } && {
33495 test -z "$ac_cxx_werror_flag" ||
33496 test ! -s conftest.err
33497 } && test -s conftest.$ac_objext; then
33498 wx_cv_cc_visibility=yes
33499 else
33500 echo "$as_me: failed program was:" >&5
33501 sed 's/^/| /' conftest.$ac_ext >&5
33502
33503 wx_cv_cc_visibility=no
33504 fi
33505
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33507 ac_ext=c
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33512
33513 CXXFLAGS="$wx_save_CXXFLAGS"
33514 fi
33515
33516 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33517 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33518 if test $wx_cv_cc_visibility = yes; then
33519 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33520 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33521 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33522 echo $ECHO_N "(cached) $ECHO_C" >&6
33523 else
33524
33525 wx_save_CXXFLAGS="$CXXFLAGS"
33526 wx_save_LDFLAGS="$LDFLAGS"
33527 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33528 LDFLAGS="$LDFLAGS -shared -fPIC"
33529 ac_ext=cpp
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33534
33535 cat >conftest.$ac_ext <<_ACEOF
33536 /* confdefs.h. */
33537 _ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33541
33542 #include <string>
33543
33544 int
33545 main ()
33546 {
33547
33548 std::string s("hello");
33549 return s.length();
33550
33551 ;
33552 return 0;
33553 }
33554 _ACEOF
33555 rm -f conftest.$ac_objext conftest$ac_exeext
33556 if { (ac_try="$ac_link"
33557 case "(($ac_try" in
33558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33559 *) ac_try_echo=$ac_try;;
33560 esac
33561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33562 (eval "$ac_link") 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } && {
33569 test -z "$ac_cxx_werror_flag" ||
33570 test ! -s conftest.err
33571 } && test -s conftest$ac_exeext &&
33572 $as_test_x conftest$ac_exeext; then
33573 wx_cv_cc_broken_libstdcxx_visibility=no
33574 else
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.$ac_ext >&5
33577
33578 wx_cv_cc_broken_libstdcxx_visibility=yes
33579 fi
33580
33581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33582 conftest$ac_exeext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33588
33589 CXXFLAGS="$wx_save_CXXFLAGS"
33590 LDFLAGS="$wx_save_LDFLAGS"
33591 fi
33592
33593 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33594 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33595
33596 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33597 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33598 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33599 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33600 echo $ECHO_N "(cached) $ECHO_C" >&6
33601 else
33602
33603 ac_ext=cpp
33604 ac_cpp='$CXXCPP $CPPFLAGS'
33605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33608
33609 cat >conftest.$ac_ext <<_ACEOF
33610 /* confdefs.h. */
33611 _ACEOF
33612 cat confdefs.h >>conftest.$ac_ext
33613 cat >>conftest.$ac_ext <<_ACEOF
33614 /* end confdefs.h. */
33615
33616 #pragma GCC visibility push(default)
33617 #include <string>
33618 #pragma GCC visibility pop
33619
33620 int
33621 main ()
33622 {
33623
33624 std::string s("hello");
33625 return s.length();
33626
33627 ;
33628 return 0;
33629 }
33630 _ACEOF
33631 rm -f conftest.$ac_objext conftest$ac_exeext
33632 if { (ac_try="$ac_link"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33636 esac
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_link") 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_cxx_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest$ac_exeext &&
33648 $as_test_x conftest$ac_exeext; then
33649 wx_cv_cc_visibility_workaround=no
33650 else
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33653
33654 wx_cv_cc_visibility_workaround=yes
33655 fi
33656
33657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33658 conftest$ac_exeext conftest.$ac_ext
33659 ac_ext=c
33660 ac_cpp='$CPP $CPPFLAGS'
33661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33664
33665
33666 fi
33667
33668 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33669 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33670
33671 if test $wx_cv_cc_visibility_workaround = no; then
33672 wx_cv_cc_visibility=no
33673 fi
33674 fi
33675 fi
33676
33677 if test $wx_cv_cc_visibility = yes; then
33678 cat >>confdefs.h <<\_ACEOF
33679 #define HAVE_VISIBILITY 1
33680 _ACEOF
33681
33682 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33683 cat >>confdefs.h <<\_ACEOF
33684 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33685 _ACEOF
33686
33687 fi
33688 else
33689 CFLAGS_VISIBILITY=""
33690 CXXFLAGS_VISIBILITY=""
33691 fi
33692
33693
33694 fi
33695
33696 fi
33697
33698 if test "x$SUNCXX" = xyes; then
33699 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33700 WXCONFIG_RPATH="-R\$libdir"
33701 else
33702 case "${host}" in
33703 *-*-linux* | *-*-gnu* )
33704 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33705 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33706 ;;
33707
33708 *-*-solaris2* )
33709
33710 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33711
33712 saveLdflags="$LDFLAGS"
33713 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33714 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33715 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33716 cat >conftest.$ac_ext <<_ACEOF
33717 /* confdefs.h. */
33718 _ACEOF
33719 cat confdefs.h >>conftest.$ac_ext
33720 cat >>conftest.$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33722
33723 int
33724 main ()
33725 {
33726
33727 ;
33728 return 0;
33729 }
33730 _ACEOF
33731 rm -f conftest.$ac_objext conftest$ac_exeext
33732 if { (ac_try="$ac_link"
33733 case "(($ac_try" in
33734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33735 *) ac_try_echo=$ac_try;;
33736 esac
33737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33738 (eval "$ac_link") 2>conftest.er1
33739 ac_status=$?
33740 grep -v '^ *+' conftest.er1 >conftest.err
33741 rm -f conftest.er1
33742 cat conftest.err >&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); } && {
33745 test -z "$ac_c_werror_flag" ||
33746 test ! -s conftest.err
33747 } && test -s conftest$ac_exeext &&
33748 $as_test_x conftest$ac_exeext; then
33749
33750 { echo "$as_me:$LINENO: result: yes" >&5
33751 echo "${ECHO_T}yes" >&6; }
33752 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33753 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33754
33755 else
33756 echo "$as_me: failed program was:" >&5
33757 sed 's/^/| /' conftest.$ac_ext >&5
33758
33759
33760 { echo "$as_me:$LINENO: result: no" >&5
33761 echo "${ECHO_T}no" >&6; }
33762 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33763 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33764 LDFLAGS="$saveLdflags -Wl,-R,/"
33765 cat >conftest.$ac_ext <<_ACEOF
33766 /* confdefs.h. */
33767 _ACEOF
33768 cat confdefs.h >>conftest.$ac_ext
33769 cat >>conftest.$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33771
33772 int
33773 main ()
33774 {
33775
33776 ;
33777 return 0;
33778 }
33779 _ACEOF
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (ac_try="$ac_link"
33782 case "(($ac_try" in
33783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33784 *) ac_try_echo=$ac_try;;
33785 esac
33786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33787 (eval "$ac_link") 2>conftest.er1
33788 ac_status=$?
33789 grep -v '^ *+' conftest.er1 >conftest.err
33790 rm -f conftest.er1
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } && {
33794 test -z "$ac_c_werror_flag" ||
33795 test ! -s conftest.err
33796 } && test -s conftest$ac_exeext &&
33797 $as_test_x conftest$ac_exeext; then
33798
33799 { echo "$as_me:$LINENO: result: yes" >&5
33800 echo "${ECHO_T}yes" >&6; }
33801 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33802 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33803
33804 else
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33807
33808
33809 { echo "$as_me:$LINENO: result: no" >&5
33810 echo "${ECHO_T}no" >&6; }
33811
33812 fi
33813
33814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33815 conftest$ac_exeext conftest.$ac_ext
33816
33817 fi
33818
33819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33820 conftest$ac_exeext conftest.$ac_ext
33821 LDFLAGS="$saveLdflags"
33822 ;;
33823
33824 *-*-darwin* )
33825 install_name_tool=`which install_name_tool`
33826 if test "$install_name_tool" -a -x "$install_name_tool"; then
33827 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33828 cat <<EOF >change-install-names
33829 #!/bin/sh
33830 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33831 inst_cmd="install_name_tool "
33832 for i in \${libnames} ; do
33833 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33834 done
33835 \${inst_cmd} \${3}
33836 EOF
33837 chmod +x change-install-names
33838 fi
33839 ;;
33840
33841 *-*-cygwin* | *-*-mingw32* )
33842 ;;
33843
33844 *-*-hpux* )
33845 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33846 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33847 ;;
33848
33849 esac
33850 fi
33851
33852 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33853
33854 if test $wxUSE_RPATH = "no"; then
33855 SAMPLES_RPATH_FLAG=''
33856 SAMPLES_RPATH_POSTLINK=''
33857 WXCONFIG_RPATH=''
33858 fi
33859
33860 SHARED=1
33861
33862 else
33863
33864 config_linkage_component="-static"
33865 SHARED=0
33866
33867 fi
33868
33869
33870 UNICODE=0
33871 lib_unicode_suffix=
33872 WX_CHARTYPE="ansi"
33873 if test "$wxUSE_UNICODE" = "yes"; then
33874 lib_unicode_suffix=u
33875 WX_CHARTYPE="unicode"
33876 UNICODE=1
33877 fi
33878
33879 lib_debug_suffix=
33880 WX_DEBUGTYPE="release"
33881 DEBUG_FLAG=0
33882 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33883 lib_debug_suffix=d
33884 WX_DEBUGTYPE="debug"
33885 DEBUG_FLAG=1
33886 fi
33887
33888 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33889 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33890
33891 DEBUG_INFO=0
33892 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33893 DEBUG_INFO=1
33894 fi
33895
33896 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33897
33898 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33899
33900 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33901
33902 if test "$cross_compiling" = "yes"; then
33903 HOST_SUFFIX="-$host_alias"
33904 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33905 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33906 fi
33907
33908 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33909 if test "${TOOLKIT_DIR}" = "os2"; then
33910 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33911 else
33912 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33913 fi
33914
33915
33916
33917 if test "$wxUSE_COCOA" = 1; then
33918
33919 ac_ext=c
33920 ac_cpp='$CPP $CPPFLAGS'
33921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33924
33925 ac_ext=m
33926
33927 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33928 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33929 cat >conftest.$ac_ext <<_ACEOF
33930 /* confdefs.h. */
33931 _ACEOF
33932 cat confdefs.h >>conftest.$ac_ext
33933 cat >>conftest.$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 #include <AppKit/NSEvent.h>
33936 #include <CoreFoundation/CoreFoundation.h>
33937
33938 int
33939 main ()
33940 {
33941
33942 ;
33943 return 0;
33944 }
33945 _ACEOF
33946 rm -f conftest.$ac_objext
33947 if { (ac_try="$ac_compile"
33948 case "(($ac_try" in
33949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33950 *) ac_try_echo=$ac_try;;
33951 esac
33952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33953 (eval "$ac_compile") 2>conftest.er1
33954 ac_status=$?
33955 grep -v '^ *+' conftest.er1 >conftest.err
33956 rm -f conftest.er1
33957 cat conftest.err >&5
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); } && {
33960 test -z "$ac_c_werror_flag" ||
33961 test ! -s conftest.err
33962 } && test -s conftest.$ac_objext; then
33963 { echo "$as_me:$LINENO: result: no" >&5
33964 echo "${ECHO_T}no" >&6; }
33965 else
33966 echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.$ac_ext >&5
33968
33969 { echo "$as_me:$LINENO: result: yes" >&5
33970 echo "${ECHO_T}yes" >&6; }
33971 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33972 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33973 cat >conftest.$ac_ext <<_ACEOF
33974 /* confdefs.h. */
33975 _ACEOF
33976 cat confdefs.h >>conftest.$ac_ext
33977 cat >>conftest.$ac_ext <<_ACEOF
33978 /* end confdefs.h. */
33979 #define __Point__ 1
33980 #include <AppKit/NSEvent.h>
33981 #include <CoreFoundation/CoreFoundation.h>
33982
33983 int
33984 main ()
33985 {
33986
33987 ;
33988 return 0;
33989 }
33990 _ACEOF
33991 rm -f conftest.$ac_objext
33992 if { (ac_try="$ac_compile"
33993 case "(($ac_try" in
33994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33995 *) ac_try_echo=$ac_try;;
33996 esac
33997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33998 (eval "$ac_compile") 2>conftest.er1
33999 ac_status=$?
34000 grep -v '^ *+' conftest.er1 >conftest.err
34001 rm -f conftest.er1
34002 cat conftest.err >&5
34003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34004 (exit $ac_status); } && {
34005 test -z "$ac_c_werror_flag" ||
34006 test ! -s conftest.err
34007 } && test -s conftest.$ac_objext; then
34008 { echo "$as_me:$LINENO: result: yes" >&5
34009 echo "${ECHO_T}yes" >&6; }
34010 cat >>confdefs.h <<\_ACEOF
34011 #define __Point__ 1
34012 _ACEOF
34013
34014
34015 else
34016 echo "$as_me: failed program was:" >&5
34017 sed 's/^/| /' conftest.$ac_ext >&5
34018
34019 { { echo "$as_me:$LINENO: error: no
34020 See \`config.log' for more details." >&5
34021 echo "$as_me: error: no
34022 See \`config.log' for more details." >&2;}
34023 { (exit 1); exit 1; }; }
34024
34025 fi
34026
34027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34028
34029 fi
34030
34031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34032 ac_ext=c
34033 ac_cpp='$CPP $CPPFLAGS'
34034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037
34038 fi
34039
34040
34041 { echo "$as_me:$LINENO: checking for mode_t" >&5
34042 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34043 if test "${ac_cv_type_mode_t+set}" = set; then
34044 echo $ECHO_N "(cached) $ECHO_C" >&6
34045 else
34046 cat >conftest.$ac_ext <<_ACEOF
34047 /* confdefs.h. */
34048 _ACEOF
34049 cat confdefs.h >>conftest.$ac_ext
34050 cat >>conftest.$ac_ext <<_ACEOF
34051 /* end confdefs.h. */
34052 $ac_includes_default
34053 typedef mode_t ac__type_new_;
34054 int
34055 main ()
34056 {
34057 if ((ac__type_new_ *) 0)
34058 return 0;
34059 if (sizeof (ac__type_new_))
34060 return 0;
34061 ;
34062 return 0;
34063 }
34064 _ACEOF
34065 rm -f conftest.$ac_objext
34066 if { (ac_try="$ac_compile"
34067 case "(($ac_try" in
34068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34069 *) ac_try_echo=$ac_try;;
34070 esac
34071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34072 (eval "$ac_compile") 2>conftest.er1
34073 ac_status=$?
34074 grep -v '^ *+' conftest.er1 >conftest.err
34075 rm -f conftest.er1
34076 cat conftest.err >&5
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); } && {
34079 test -z "$ac_c_werror_flag" ||
34080 test ! -s conftest.err
34081 } && test -s conftest.$ac_objext; then
34082 ac_cv_type_mode_t=yes
34083 else
34084 echo "$as_me: failed program was:" >&5
34085 sed 's/^/| /' conftest.$ac_ext >&5
34086
34087 ac_cv_type_mode_t=no
34088 fi
34089
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091 fi
34092 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34093 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34094 if test $ac_cv_type_mode_t = yes; then
34095 :
34096 else
34097
34098 cat >>confdefs.h <<_ACEOF
34099 #define mode_t int
34100 _ACEOF
34101
34102 fi
34103
34104 { echo "$as_me:$LINENO: checking for off_t" >&5
34105 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34106 if test "${ac_cv_type_off_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 off_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_off_t=yes
34146 else
34147 echo "$as_me: failed program was:" >&5
34148 sed 's/^/| /' conftest.$ac_ext >&5
34149
34150 ac_cv_type_off_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_off_t" >&5
34156 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34157 if test $ac_cv_type_off_t = yes; then
34158 :
34159 else
34160
34161 cat >>confdefs.h <<_ACEOF
34162 #define off_t long int
34163 _ACEOF
34164
34165 fi
34166
34167 { echo "$as_me:$LINENO: checking for pid_t" >&5
34168 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34169 if test "${ac_cv_type_pid_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 pid_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_pid_t=yes
34209 else
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.$ac_ext >&5
34212
34213 ac_cv_type_pid_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_pid_t" >&5
34219 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34220 if test $ac_cv_type_pid_t = yes; then
34221 :
34222 else
34223
34224 cat >>confdefs.h <<_ACEOF
34225 #define pid_t int
34226 _ACEOF
34227
34228 fi
34229
34230 { echo "$as_me:$LINENO: checking for size_t" >&5
34231 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34232 if test "${ac_cv_type_size_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 size_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_size_t=yes
34272 else
34273 echo "$as_me: failed program was:" >&5
34274 sed 's/^/| /' conftest.$ac_ext >&5
34275
34276 ac_cv_type_size_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_size_t" >&5
34282 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34283 if test $ac_cv_type_size_t = yes; then
34284 :
34285 else
34286
34287 cat >>confdefs.h <<_ACEOF
34288 #define size_t unsigned int
34289 _ACEOF
34290
34291 fi
34292
34293
34294 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34295 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34296 if test "${ac_cv_type_ssize_t+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 else
34299 cat >conftest.$ac_ext <<_ACEOF
34300 /* confdefs.h. */
34301 _ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 $ac_includes_default
34306 typedef ssize_t ac__type_new_;
34307 int
34308 main ()
34309 {
34310 if ((ac__type_new_ *) 0)
34311 return 0;
34312 if (sizeof (ac__type_new_))
34313 return 0;
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34323 esac
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34326 ac_status=$?
34327 grep -v '^ *+' conftest.er1 >conftest.err
34328 rm -f conftest.er1
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 ac_cv_type_ssize_t=yes
34336 else
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34339
34340 ac_cv_type_ssize_t=no
34341 fi
34342
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34344 fi
34345 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34346 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34347 if test $ac_cv_type_ssize_t = yes; then
34348
34349 cat >>confdefs.h <<_ACEOF
34350 #define HAVE_SSIZE_T 1
34351 _ACEOF
34352
34353
34354 fi
34355
34356
34357 ac_ext=cpp
34358 ac_cpp='$CXXCPP $CPPFLAGS'
34359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34362 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34363 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34364 if test "${wx_cv_size_t_is_uint+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 else
34367
34368 cat >conftest.$ac_ext <<_ACEOF
34369 /* confdefs.h. */
34370 _ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34374 #include <stddef.h>
34375 int
34376 main ()
34377 {
34378
34379 return 0; }
34380
34381 struct Foo { void foo(size_t); void foo(unsigned int); };
34382
34383 int bar() {
34384
34385 ;
34386 return 0;
34387 }
34388 _ACEOF
34389 rm -f conftest.$ac_objext
34390 if { (ac_try="$ac_compile"
34391 case "(($ac_try" in
34392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34393 *) ac_try_echo=$ac_try;;
34394 esac
34395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34396 (eval "$ac_compile") 2>conftest.er1
34397 ac_status=$?
34398 grep -v '^ *+' conftest.er1 >conftest.err
34399 rm -f conftest.er1
34400 cat conftest.err >&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } && {
34403 test -z "$ac_cxx_werror_flag" ||
34404 test ! -s conftest.err
34405 } && test -s conftest.$ac_objext; then
34406 wx_cv_size_t_is_uint=no
34407 else
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34410
34411 wx_cv_size_t_is_uint=yes
34412
34413 fi
34414
34415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34416
34417
34418 fi
34419 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34420 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34421
34422 if test "$wx_cv_size_t_is_uint" = "yes"; then
34423 cat >>confdefs.h <<\_ACEOF
34424 #define wxSIZE_T_IS_UINT 1
34425 _ACEOF
34426
34427 else
34428 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34429 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34430 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 else
34433 cat >conftest.$ac_ext <<_ACEOF
34434 /* confdefs.h. */
34435 _ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <stddef.h>
34440 int
34441 main ()
34442 {
34443
34444 return 0; }
34445
34446 struct Foo { void foo(size_t); void foo(unsigned long); };
34447
34448 int bar() {
34449
34450 ;
34451 return 0;
34452 }
34453 _ACEOF
34454 rm -f conftest.$ac_objext
34455 if { (ac_try="$ac_compile"
34456 case "(($ac_try" in
34457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34458 *) ac_try_echo=$ac_try;;
34459 esac
34460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34461 (eval "$ac_compile") 2>conftest.er1
34462 ac_status=$?
34463 grep -v '^ *+' conftest.er1 >conftest.err
34464 rm -f conftest.er1
34465 cat conftest.err >&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); } && {
34468 test -z "$ac_cxx_werror_flag" ||
34469 test ! -s conftest.err
34470 } && test -s conftest.$ac_objext; then
34471 wx_cv_size_t_is_ulong=no
34472 else
34473 echo "$as_me: failed program was:" >&5
34474 sed 's/^/| /' conftest.$ac_ext >&5
34475
34476 wx_cv_size_t_is_ulong=yes
34477
34478 fi
34479
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481
34482 fi
34483 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34484 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34485
34486 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34487 cat >>confdefs.h <<\_ACEOF
34488 #define wxSIZE_T_IS_ULONG 1
34489 _ACEOF
34490
34491 fi
34492 fi
34493
34494 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34495 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34496 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 else
34499 cat >conftest.$ac_ext <<_ACEOF
34500 /* confdefs.h. */
34501 _ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34505 #include <wchar.h>
34506 int
34507 main ()
34508 {
34509
34510 return 0; }
34511
34512 struct Foo { void foo(wchar_t);
34513 void foo(unsigned short);
34514 void foo(unsigned int);
34515 void foo(unsigned long); };
34516
34517 int bar() {
34518
34519 ;
34520 return 0;
34521 }
34522 _ACEOF
34523 rm -f conftest.$ac_objext
34524 if { (ac_try="$ac_compile"
34525 case "(($ac_try" in
34526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34527 *) ac_try_echo=$ac_try;;
34528 esac
34529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34530 (eval "$ac_compile") 2>conftest.er1
34531 ac_status=$?
34532 grep -v '^ *+' conftest.er1 >conftest.err
34533 rm -f conftest.er1
34534 cat conftest.err >&5
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); } && {
34537 test -z "$ac_cxx_werror_flag" ||
34538 test ! -s conftest.err
34539 } && test -s conftest.$ac_objext; then
34540 wx_cv_wchar_t_is_separate_type=yes
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34544
34545 wx_cv_wchar_t_is_separate_type=no
34546
34547 fi
34548
34549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34550
34551 fi
34552 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34553 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34554
34555 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34556 cat >>confdefs.h <<\_ACEOF
34557 #define wxWCHAR_T_IS_REAL_TYPE 1
34558 _ACEOF
34559
34560 else
34561 cat >>confdefs.h <<\_ACEOF
34562 #define wxWCHAR_T_IS_REAL_TYPE 0
34563 _ACEOF
34564
34565 fi
34566
34567 ac_ext=c
34568 ac_cpp='$CPP $CPPFLAGS'
34569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34572
34573
34574 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34575 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34576 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 else
34579
34580 cat >conftest.$ac_ext <<_ACEOF
34581 /* confdefs.h. */
34582 _ACEOF
34583 cat confdefs.h >>conftest.$ac_ext
34584 cat >>conftest.$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586 #include <pwd.h>
34587 int
34588 main ()
34589 {
34590
34591 char *p;
34592 struct passwd *pw;
34593 p = pw->pw_gecos;
34594
34595 ;
34596 return 0;
34597 }
34598 _ACEOF
34599 rm -f conftest.$ac_objext
34600 if { (ac_try="$ac_compile"
34601 case "(($ac_try" in
34602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34603 *) ac_try_echo=$ac_try;;
34604 esac
34605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34606 (eval "$ac_compile") 2>conftest.er1
34607 ac_status=$?
34608 grep -v '^ *+' conftest.er1 >conftest.err
34609 rm -f conftest.er1
34610 cat conftest.err >&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } && {
34613 test -z "$ac_c_werror_flag" ||
34614 test ! -s conftest.err
34615 } && test -s conftest.$ac_objext; then
34616
34617 wx_cv_struct_pw_gecos=yes
34618
34619 else
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34622
34623
34624 wx_cv_struct_pw_gecos=no
34625
34626
34627 fi
34628
34629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34630
34631
34632 fi
34633 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34634 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34635
34636 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34637 cat >>confdefs.h <<\_ACEOF
34638 #define HAVE_PW_GECOS 1
34639 _ACEOF
34640
34641 fi
34642
34643
34644 if test "$wxUSE_WCHAR_T" = "yes"; then
34645 cat >>confdefs.h <<\_ACEOF
34646 #define wxUSE_WCHAR_T 1
34647 _ACEOF
34648
34649
34650 WCSLEN_FOUND=0
34651 WCHAR_LINK=
34652
34653 for ac_func in wcslen
34654 do
34655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661 cat >conftest.$ac_ext <<_ACEOF
34662 /* confdefs.h. */
34663 _ACEOF
34664 cat confdefs.h >>conftest.$ac_ext
34665 cat >>conftest.$ac_ext <<_ACEOF
34666 /* end confdefs.h. */
34667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34669 #define $ac_func innocuous_$ac_func
34670
34671 /* System header to define __stub macros and hopefully few prototypes,
34672 which can conflict with char $ac_func (); below.
34673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34674 <limits.h> exists even on freestanding compilers. */
34675
34676 #ifdef __STDC__
34677 # include <limits.h>
34678 #else
34679 # include <assert.h>
34680 #endif
34681
34682 #undef $ac_func
34683
34684 /* Override any GCC internal prototype to avoid an error.
34685 Use char because int might match the return type of a GCC
34686 builtin and then its argument prototype would still apply. */
34687 #ifdef __cplusplus
34688 extern "C"
34689 #endif
34690 char $ac_func ();
34691 /* The GNU C library defines this for functions which it implements
34692 to always fail with ENOSYS. Some functions are actually named
34693 something starting with __ and the normal name is an alias. */
34694 #if defined __stub_$ac_func || defined __stub___$ac_func
34695 choke me
34696 #endif
34697
34698 int
34699 main ()
34700 {
34701 return $ac_func ();
34702 ;
34703 return 0;
34704 }
34705 _ACEOF
34706 rm -f conftest.$ac_objext conftest$ac_exeext
34707 if { (ac_try="$ac_link"
34708 case "(($ac_try" in
34709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34710 *) ac_try_echo=$ac_try;;
34711 esac
34712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34713 (eval "$ac_link") 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } && {
34720 test -z "$ac_c_werror_flag" ||
34721 test ! -s conftest.err
34722 } && test -s conftest$ac_exeext &&
34723 $as_test_x conftest$ac_exeext; then
34724 eval "$as_ac_var=yes"
34725 else
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.$ac_ext >&5
34728
34729 eval "$as_ac_var=no"
34730 fi
34731
34732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34733 conftest$ac_exeext conftest.$ac_ext
34734 fi
34735 ac_res=`eval echo '${'$as_ac_var'}'`
34736 { echo "$as_me:$LINENO: result: $ac_res" >&5
34737 echo "${ECHO_T}$ac_res" >&6; }
34738 if test `eval echo '${'$as_ac_var'}'` = yes; then
34739 cat >>confdefs.h <<_ACEOF
34740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34741 _ACEOF
34742 WCSLEN_FOUND=1
34743 fi
34744 done
34745
34746
34747 if test "$WCSLEN_FOUND" = 0; then
34748 if test "$TOOLKIT" = "MSW"; then
34749 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34750 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34751 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34753 else
34754 ac_check_lib_save_LIBS=$LIBS
34755 LIBS="-lmsvcrt $LIBS"
34756 cat >conftest.$ac_ext <<_ACEOF
34757 /* confdefs.h. */
34758 _ACEOF
34759 cat confdefs.h >>conftest.$ac_ext
34760 cat >>conftest.$ac_ext <<_ACEOF
34761 /* end confdefs.h. */
34762
34763 /* Override any GCC internal prototype to avoid an error.
34764 Use char because int might match the return type of a GCC
34765 builtin and then its argument prototype would still apply. */
34766 #ifdef __cplusplus
34767 extern "C"
34768 #endif
34769 char wcslen ();
34770 int
34771 main ()
34772 {
34773 return wcslen ();
34774 ;
34775 return 0;
34776 }
34777 _ACEOF
34778 rm -f conftest.$ac_objext conftest$ac_exeext
34779 if { (ac_try="$ac_link"
34780 case "(($ac_try" in
34781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34782 *) ac_try_echo=$ac_try;;
34783 esac
34784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34785 (eval "$ac_link") 2>conftest.er1
34786 ac_status=$?
34787 grep -v '^ *+' conftest.er1 >conftest.err
34788 rm -f conftest.er1
34789 cat conftest.err >&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); } && {
34792 test -z "$ac_c_werror_flag" ||
34793 test ! -s conftest.err
34794 } && test -s conftest$ac_exeext &&
34795 $as_test_x conftest$ac_exeext; then
34796 ac_cv_lib_msvcrt_wcslen=yes
34797 else
34798 echo "$as_me: failed program was:" >&5
34799 sed 's/^/| /' conftest.$ac_ext >&5
34800
34801 ac_cv_lib_msvcrt_wcslen=no
34802 fi
34803
34804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34805 conftest$ac_exeext conftest.$ac_ext
34806 LIBS=$ac_check_lib_save_LIBS
34807 fi
34808 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34809 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34810 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34811 WCHAR_OK=1
34812 fi
34813
34814 else
34815 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34816 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34817 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 else
34820 ac_check_lib_save_LIBS=$LIBS
34821 LIBS="-lw $LIBS"
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828
34829 /* Override any GCC internal prototype to avoid an error.
34830 Use char because int might match the return type of a GCC
34831 builtin and then its argument prototype would still apply. */
34832 #ifdef __cplusplus
34833 extern "C"
34834 #endif
34835 char wcslen ();
34836 int
34837 main ()
34838 {
34839 return wcslen ();
34840 ;
34841 return 0;
34842 }
34843 _ACEOF
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34849 esac
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34852 ac_status=$?
34853 grep -v '^ *+' conftest.er1 >conftest.err
34854 rm -f conftest.er1
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 ac_cv_lib_w_wcslen=yes
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 ac_cv_lib_w_wcslen=no
34868 fi
34869
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872 LIBS=$ac_check_lib_save_LIBS
34873 fi
34874 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34875 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34876 if test $ac_cv_lib_w_wcslen = yes; then
34877
34878 WCHAR_LINK=" -lw"
34879 WCSLEN_FOUND=1
34880
34881 fi
34882
34883 fi
34884 fi
34885
34886 if test "$WCSLEN_FOUND" = 1; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define HAVE_WCSLEN 1
34889 _ACEOF
34890
34891 fi
34892
34893
34894 for ac_func in wcsdup
34895 do
34896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34900 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 else
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34910 #define $ac_func innocuous_$ac_func
34911
34912 /* System header to define __stub macros and hopefully few prototypes,
34913 which can conflict with char $ac_func (); below.
34914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34915 <limits.h> exists even on freestanding compilers. */
34916
34917 #ifdef __STDC__
34918 # include <limits.h>
34919 #else
34920 # include <assert.h>
34921 #endif
34922
34923 #undef $ac_func
34924
34925 /* Override any GCC internal prototype to avoid an error.
34926 Use char because int might match the return type of a GCC
34927 builtin and then its argument prototype would still apply. */
34928 #ifdef __cplusplus
34929 extern "C"
34930 #endif
34931 char $ac_func ();
34932 /* The GNU C library defines this for functions which it implements
34933 to always fail with ENOSYS. Some functions are actually named
34934 something starting with __ and the normal name is an alias. */
34935 #if defined __stub_$ac_func || defined __stub___$ac_func
34936 choke me
34937 #endif
34938
34939 int
34940 main ()
34941 {
34942 return $ac_func ();
34943 ;
34944 return 0;
34945 }
34946 _ACEOF
34947 rm -f conftest.$ac_objext conftest$ac_exeext
34948 if { (ac_try="$ac_link"
34949 case "(($ac_try" in
34950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34951 *) ac_try_echo=$ac_try;;
34952 esac
34953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34954 (eval "$ac_link") 2>conftest.er1
34955 ac_status=$?
34956 grep -v '^ *+' conftest.er1 >conftest.err
34957 rm -f conftest.er1
34958 cat conftest.err >&5
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); } && {
34961 test -z "$ac_c_werror_flag" ||
34962 test ! -s conftest.err
34963 } && test -s conftest$ac_exeext &&
34964 $as_test_x conftest$ac_exeext; then
34965 eval "$as_ac_var=yes"
34966 else
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34969
34970 eval "$as_ac_var=no"
34971 fi
34972
34973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34974 conftest$ac_exeext conftest.$ac_ext
34975 fi
34976 ac_res=`eval echo '${'$as_ac_var'}'`
34977 { echo "$as_me:$LINENO: result: $ac_res" >&5
34978 echo "${ECHO_T}$ac_res" >&6; }
34979 if test `eval echo '${'$as_ac_var'}'` = yes; then
34980 cat >>confdefs.h <<_ACEOF
34981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34982 _ACEOF
34983
34984 fi
34985 done
34986
34987
34988 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34989 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34990 fi
34991
34992 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34993 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34994 if test "${ac_cv_type_mbstate_t+set}" = set; then
34995 echo $ECHO_N "(cached) $ECHO_C" >&6
34996 else
34997 cat >conftest.$ac_ext <<_ACEOF
34998 /* confdefs.h. */
34999 _ACEOF
35000 cat confdefs.h >>conftest.$ac_ext
35001 cat >>conftest.$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003 #include <wchar.h>
35004
35005 typedef mbstate_t ac__type_new_;
35006 int
35007 main ()
35008 {
35009 if ((ac__type_new_ *) 0)
35010 return 0;
35011 if (sizeof (ac__type_new_))
35012 return 0;
35013 ;
35014 return 0;
35015 }
35016 _ACEOF
35017 rm -f conftest.$ac_objext
35018 if { (ac_try="$ac_compile"
35019 case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35021 *) ac_try_echo=$ac_try;;
35022 esac
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_compile") 2>conftest.er1
35025 ac_status=$?
35026 grep -v '^ *+' conftest.er1 >conftest.err
35027 rm -f conftest.er1
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } && {
35031 test -z "$ac_c_werror_flag" ||
35032 test ! -s conftest.err
35033 } && test -s conftest.$ac_objext; then
35034 ac_cv_type_mbstate_t=yes
35035 else
35036 echo "$as_me: failed program was:" >&5
35037 sed 's/^/| /' conftest.$ac_ext >&5
35038
35039 ac_cv_type_mbstate_t=no
35040 fi
35041
35042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35043 fi
35044 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35045 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35046 if test $ac_cv_type_mbstate_t = yes; then
35047
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE_MBSTATE_T 1
35050 _ACEOF
35051
35052
35053 for ac_func in wcsrtombs
35054 do
35055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35056 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35058 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35059 echo $ECHO_N "(cached) $ECHO_C" >&6
35060 else
35061 cat >conftest.$ac_ext <<_ACEOF
35062 /* confdefs.h. */
35063 _ACEOF
35064 cat confdefs.h >>conftest.$ac_ext
35065 cat >>conftest.$ac_ext <<_ACEOF
35066 /* end confdefs.h. */
35067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35069 #define $ac_func innocuous_$ac_func
35070
35071 /* System header to define __stub macros and hopefully few prototypes,
35072 which can conflict with char $ac_func (); below.
35073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35074 <limits.h> exists even on freestanding compilers. */
35075
35076 #ifdef __STDC__
35077 # include <limits.h>
35078 #else
35079 # include <assert.h>
35080 #endif
35081
35082 #undef $ac_func
35083
35084 /* Override any GCC internal prototype to avoid an error.
35085 Use char because int might match the return type of a GCC
35086 builtin and then its argument prototype would still apply. */
35087 #ifdef __cplusplus
35088 extern "C"
35089 #endif
35090 char $ac_func ();
35091 /* The GNU C library defines this for functions which it implements
35092 to always fail with ENOSYS. Some functions are actually named
35093 something starting with __ and the normal name is an alias. */
35094 #if defined __stub_$ac_func || defined __stub___$ac_func
35095 choke me
35096 #endif
35097
35098 int
35099 main ()
35100 {
35101 return $ac_func ();
35102 ;
35103 return 0;
35104 }
35105 _ACEOF
35106 rm -f conftest.$ac_objext conftest$ac_exeext
35107 if { (ac_try="$ac_link"
35108 case "(($ac_try" in
35109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35110 *) ac_try_echo=$ac_try;;
35111 esac
35112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35113 (eval "$ac_link") 2>conftest.er1
35114 ac_status=$?
35115 grep -v '^ *+' conftest.er1 >conftest.err
35116 rm -f conftest.er1
35117 cat conftest.err >&5
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); } && {
35120 test -z "$ac_c_werror_flag" ||
35121 test ! -s conftest.err
35122 } && test -s conftest$ac_exeext &&
35123 $as_test_x conftest$ac_exeext; then
35124 eval "$as_ac_var=yes"
35125 else
35126 echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35128
35129 eval "$as_ac_var=no"
35130 fi
35131
35132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35133 conftest$ac_exeext conftest.$ac_ext
35134 fi
35135 ac_res=`eval echo '${'$as_ac_var'}'`
35136 { echo "$as_me:$LINENO: result: $ac_res" >&5
35137 echo "${ECHO_T}$ac_res" >&6; }
35138 if test `eval echo '${'$as_ac_var'}'` = yes; then
35139 cat >>confdefs.h <<_ACEOF
35140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35141 _ACEOF
35142
35143 fi
35144 done
35145
35146 fi
35147
35148 else
35149 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35150 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35151 fi
35152
35153
35154
35155
35156 for ac_func in snprintf vsnprintf vsscanf
35157 do
35158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35162 echo $ECHO_N "(cached) $ECHO_C" >&6
35163 else
35164 cat >conftest.$ac_ext <<_ACEOF
35165 /* confdefs.h. */
35166 _ACEOF
35167 cat confdefs.h >>conftest.$ac_ext
35168 cat >>conftest.$ac_ext <<_ACEOF
35169 /* end confdefs.h. */
35170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35172 #define $ac_func innocuous_$ac_func
35173
35174 /* System header to define __stub macros and hopefully few prototypes,
35175 which can conflict with char $ac_func (); below.
35176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35177 <limits.h> exists even on freestanding compilers. */
35178
35179 #ifdef __STDC__
35180 # include <limits.h>
35181 #else
35182 # include <assert.h>
35183 #endif
35184
35185 #undef $ac_func
35186
35187 /* Override any GCC internal prototype to avoid an error.
35188 Use char because int might match the return type of a GCC
35189 builtin and then its argument prototype would still apply. */
35190 #ifdef __cplusplus
35191 extern "C"
35192 #endif
35193 char $ac_func ();
35194 /* The GNU C library defines this for functions which it implements
35195 to always fail with ENOSYS. Some functions are actually named
35196 something starting with __ and the normal name is an alias. */
35197 #if defined __stub_$ac_func || defined __stub___$ac_func
35198 choke me
35199 #endif
35200
35201 int
35202 main ()
35203 {
35204 return $ac_func ();
35205 ;
35206 return 0;
35207 }
35208 _ACEOF
35209 rm -f conftest.$ac_objext conftest$ac_exeext
35210 if { (ac_try="$ac_link"
35211 case "(($ac_try" in
35212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35213 *) ac_try_echo=$ac_try;;
35214 esac
35215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35216 (eval "$ac_link") 2>conftest.er1
35217 ac_status=$?
35218 grep -v '^ *+' conftest.er1 >conftest.err
35219 rm -f conftest.er1
35220 cat conftest.err >&5
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); } && {
35223 test -z "$ac_c_werror_flag" ||
35224 test ! -s conftest.err
35225 } && test -s conftest$ac_exeext &&
35226 $as_test_x conftest$ac_exeext; then
35227 eval "$as_ac_var=yes"
35228 else
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35231
35232 eval "$as_ac_var=no"
35233 fi
35234
35235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35236 conftest$ac_exeext conftest.$ac_ext
35237 fi
35238 ac_res=`eval echo '${'$as_ac_var'}'`
35239 { echo "$as_me:$LINENO: result: $ac_res" >&5
35240 echo "${ECHO_T}$ac_res" >&6; }
35241 if test `eval echo '${'$as_ac_var'}'` = yes; then
35242 cat >>confdefs.h <<_ACEOF
35243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 _ACEOF
35245
35246 fi
35247 done
35248
35249
35250 ac_ext=cpp
35251 ac_cpp='$CXXCPP $CPPFLAGS'
35252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35255
35256 if test "$ac_cv_func_vsnprintf" = "yes"; then
35257 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35258 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35259 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35260 echo $ECHO_N "(cached) $ECHO_C" >&6
35261 else
35262
35263 cat >conftest.$ac_ext <<_ACEOF
35264 /* confdefs.h. */
35265 _ACEOF
35266 cat confdefs.h >>conftest.$ac_ext
35267 cat >>conftest.$ac_ext <<_ACEOF
35268 /* end confdefs.h. */
35269
35270 #include <stdio.h>
35271 #include <stdarg.h>
35272 #ifdef __MSL__
35273 #if __MSL__ >= 0x6000
35274 namespace std {}
35275 using namespace std;
35276 #endif
35277 #endif
35278
35279 int
35280 main ()
35281 {
35282
35283 char *buf;
35284 va_list ap;
35285 vsnprintf(buf, 10u, "%s", ap);
35286
35287 ;
35288 return 0;
35289 }
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (ac_try="$ac_compile"
35293 case "(($ac_try" in
35294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35295 *) ac_try_echo=$ac_try;;
35296 esac
35297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35298 (eval "$ac_compile") 2>conftest.er1
35299 ac_status=$?
35300 grep -v '^ *+' conftest.er1 >conftest.err
35301 rm -f conftest.er1
35302 cat conftest.err >&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } && {
35305 test -z "$ac_cxx_werror_flag" ||
35306 test ! -s conftest.err
35307 } && test -s conftest.$ac_objext; then
35308 wx_cv_func_vsnprintf_decl=yes
35309 else
35310 echo "$as_me: failed program was:" >&5
35311 sed 's/^/| /' conftest.$ac_ext >&5
35312
35313 wx_cv_func_vsnprintf_decl=no
35314
35315 fi
35316
35317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35318
35319
35320 fi
35321 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35322 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35323
35324 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35325 cat >>confdefs.h <<\_ACEOF
35326 #define HAVE_VSNPRINTF_DECL 1
35327 _ACEOF
35328
35329
35330 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35331 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35332 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 else
35335
35336 cat >conftest.$ac_ext <<_ACEOF
35337 /* confdefs.h. */
35338 _ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342
35343 #include <stdio.h>
35344 #include <stdarg.h>
35345 #ifdef __MSL__
35346 #if __MSL__ >= 0x6000
35347 namespace std {}
35348 using namespace std;
35349 #endif
35350 #endif
35351
35352 int
35353 main ()
35354 {
35355
35356 char *buf;
35357 va_list ap;
35358 const char *fmt = "%s";
35359 vsnprintf(buf, 10u, fmt, ap);
35360
35361 ;
35362 return 0;
35363 }
35364 _ACEOF
35365 rm -f conftest.$ac_objext
35366 if { (ac_try="$ac_compile"
35367 case "(($ac_try" in
35368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35369 *) ac_try_echo=$ac_try;;
35370 esac
35371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35372 (eval "$ac_compile") 2>conftest.er1
35373 ac_status=$?
35374 grep -v '^ *+' conftest.er1 >conftest.err
35375 rm -f conftest.er1
35376 cat conftest.err >&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } && {
35379 test -z "$ac_cxx_werror_flag" ||
35380 test ! -s conftest.err
35381 } && test -s conftest.$ac_objext; then
35382 wx_cv_func_broken_vsnprintf_decl=no
35383 else
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35386
35387 wx_cv_func_broken_vsnprintf_decl=yes
35388
35389 fi
35390
35391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35392
35393
35394 fi
35395 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35396 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35397
35398 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35399 cat >>confdefs.h <<\_ACEOF
35400 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35401 _ACEOF
35402
35403 fi
35404 fi
35405 fi
35406
35407 if test "$ac_cv_func_snprintf" = "yes"; then
35408 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35409 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35410 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35412 else
35413
35414 cat >conftest.$ac_ext <<_ACEOF
35415 /* confdefs.h. */
35416 _ACEOF
35417 cat confdefs.h >>conftest.$ac_ext
35418 cat >>conftest.$ac_ext <<_ACEOF
35419 /* end confdefs.h. */
35420
35421 #include <stdio.h>
35422 #include <stdarg.h>
35423 #ifdef __MSL__
35424 #if __MSL__ >= 0x6000
35425 namespace std {}
35426 using namespace std;
35427 #endif
35428 #endif
35429
35430 int
35431 main ()
35432 {
35433
35434 char *buf;
35435 snprintf(buf, 10u, "%s", "wx");
35436
35437 ;
35438 return 0;
35439 }
35440 _ACEOF
35441 rm -f conftest.$ac_objext
35442 if { (ac_try="$ac_compile"
35443 case "(($ac_try" in
35444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35445 *) ac_try_echo=$ac_try;;
35446 esac
35447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35448 (eval "$ac_compile") 2>conftest.er1
35449 ac_status=$?
35450 grep -v '^ *+' conftest.er1 >conftest.err
35451 rm -f conftest.er1
35452 cat conftest.err >&5
35453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454 (exit $ac_status); } && {
35455 test -z "$ac_cxx_werror_flag" ||
35456 test ! -s conftest.err
35457 } && test -s conftest.$ac_objext; then
35458 wx_cv_func_snprintf_decl=yes
35459 else
35460 echo "$as_me: failed program was:" >&5
35461 sed 's/^/| /' conftest.$ac_ext >&5
35462
35463 wx_cv_func_snprintf_decl=no
35464
35465 fi
35466
35467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35468
35469
35470 fi
35471 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35472 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35473
35474 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35475 cat >>confdefs.h <<\_ACEOF
35476 #define HAVE_SNPRINTF_DECL 1
35477 _ACEOF
35478
35479 fi
35480
35481 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35482
35483 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35484 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35485 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35486 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 else
35488
35489 if test "$cross_compiling" = yes; then
35490
35491 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35492 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35493 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35494 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35495 wx_cv_func_snprintf_pos_params=no
35496
35497
35498 else
35499 cat >conftest.$ac_ext <<_ACEOF
35500 /* confdefs.h. */
35501 _ACEOF
35502 cat confdefs.h >>conftest.$ac_ext
35503 cat >>conftest.$ac_ext <<_ACEOF
35504 /* end confdefs.h. */
35505
35506 #include <stdio.h>
35507
35508 int main (void)
35509 {
35510 char buffer[128];
35511 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35512 if (strcmp ("2 3 1", buffer) == 0)
35513 exit (0);
35514 exit (1);
35515 }
35516
35517 _ACEOF
35518 rm -f conftest$ac_exeext
35519 if { (ac_try="$ac_link"
35520 case "(($ac_try" in
35521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35522 *) ac_try_echo=$ac_try;;
35523 esac
35524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35525 (eval "$ac_link") 2>&5
35526 ac_status=$?
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35529 { (case "(($ac_try" in
35530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35531 *) ac_try_echo=$ac_try;;
35532 esac
35533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35534 (eval "$ac_try") 2>&5
35535 ac_status=$?
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; }; then
35538 wx_cv_func_snprintf_pos_params=no
35539 else
35540 echo "$as_me: program exited with status $ac_status" >&5
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35543
35544 ( exit $ac_status )
35545 wx_cv_func_snprintf_pos_params=yes
35546 fi
35547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35548 fi
35549
35550
35551
35552
35553 fi
35554 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35555 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35556
35557 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35558 cat >>confdefs.h <<\_ACEOF
35559 #define HAVE_UNIX98_PRINTF 1
35560 _ACEOF
35561
35562 fi
35563 fi
35564 fi
35565
35566 if test "$ac_cv_func_vsscanf" = "yes"; then
35567 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35568 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35569 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35570 echo $ECHO_N "(cached) $ECHO_C" >&6
35571 else
35572
35573 cat >conftest.$ac_ext <<_ACEOF
35574 /* confdefs.h. */
35575 _ACEOF
35576 cat confdefs.h >>conftest.$ac_ext
35577 cat >>conftest.$ac_ext <<_ACEOF
35578 /* end confdefs.h. */
35579
35580 #include <stdio.h>
35581 #include <stdarg.h>
35582 #ifdef __MSL__
35583 #if __MSL__ >= 0x6000
35584 namespace std {}
35585 using namespace std;
35586 #endif
35587 #endif
35588
35589 int
35590 main ()
35591 {
35592
35593 char *buf;
35594 va_list args;
35595 vsscanf(buf, "%s", args);
35596
35597 ;
35598 return 0;
35599 }
35600 _ACEOF
35601 rm -f conftest.$ac_objext
35602 if { (ac_try="$ac_compile"
35603 case "(($ac_try" in
35604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35605 *) ac_try_echo=$ac_try;;
35606 esac
35607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35608 (eval "$ac_compile") 2>conftest.er1
35609 ac_status=$?
35610 grep -v '^ *+' conftest.er1 >conftest.err
35611 rm -f conftest.er1
35612 cat conftest.err >&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } && {
35615 test -z "$ac_cxx_werror_flag" ||
35616 test ! -s conftest.err
35617 } && test -s conftest.$ac_objext; then
35618 wx_cv_func_vsscanf_decl=yes
35619 else
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.$ac_ext >&5
35622
35623 wx_cv_func_vsscanf_decl=no
35624
35625 fi
35626
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628
35629
35630 fi
35631 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35632 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35633
35634 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35635 cat >>confdefs.h <<\_ACEOF
35636 #define HAVE_VSSCANF_DECL 1
35637 _ACEOF
35638
35639 fi
35640 fi
35641 ac_ext=c
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35646
35647
35648 if test "$wxUSE_UNICODE" = yes; then
35649
35650 wchar_headers="#include <stdio.h>
35651 #include <wchar.h>"
35652 case "${host}" in
35653 *-*-solaris2* )
35654
35655 for ac_header in widec.h
35656 do
35657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35662 else
35663 cat >conftest.$ac_ext <<_ACEOF
35664 /* confdefs.h. */
35665 _ACEOF
35666 cat confdefs.h >>conftest.$ac_ext
35667 cat >>conftest.$ac_ext <<_ACEOF
35668 /* end confdefs.h. */
35669 $ac_includes_default
35670
35671 #include <$ac_header>
35672 _ACEOF
35673 rm -f conftest.$ac_objext
35674 if { (ac_try="$ac_compile"
35675 case "(($ac_try" in
35676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35677 *) ac_try_echo=$ac_try;;
35678 esac
35679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35680 (eval "$ac_compile") 2>conftest.er1
35681 ac_status=$?
35682 grep -v '^ *+' conftest.er1 >conftest.err
35683 rm -f conftest.er1
35684 cat conftest.err >&5
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } && {
35687 test -z "$ac_c_werror_flag" ||
35688 test ! -s conftest.err
35689 } && test -s conftest.$ac_objext; then
35690 eval "$as_ac_Header=yes"
35691 else
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695 eval "$as_ac_Header=no"
35696 fi
35697
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35699 fi
35700 ac_res=`eval echo '${'$as_ac_Header'}'`
35701 { echo "$as_me:$LINENO: result: $ac_res" >&5
35702 echo "${ECHO_T}$ac_res" >&6; }
35703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35704 cat >>confdefs.h <<_ACEOF
35705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35706 _ACEOF
35707
35708 fi
35709
35710 done
35711
35712 if test "$ac_cv_header_widec_h" = "yes"; then
35713 wchar_headers="$wchar_headers
35714 #include <widec.h>"
35715 fi
35716 esac
35717
35718
35719 for wx_func in putws fputws wprintf vswprintf vswscanf
35720 do
35721 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35722 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35723 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35725 else
35726
35727 cat >conftest.$ac_ext <<_ACEOF
35728
35729 /* confdefs.h. */
35730 _ACEOF
35731 cat confdefs.h >>conftest.$ac_ext
35732 cat >>conftest.$ac_ext <<_ACEOF
35733 /* end confdefs.h. */
35734
35735 $wchar_headers
35736 $ac_includes_default
35737
35738 int
35739 main ()
35740 {
35741
35742 #ifndef $wx_func
35743 &$wx_func;
35744 #endif
35745
35746
35747 ;
35748 return 0;
35749 }
35750
35751 _ACEOF
35752 rm -f conftest.$ac_objext conftest$ac_exeext
35753 if { (ac_try="$ac_link"
35754 case "(($ac_try" in
35755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35756 *) ac_try_echo=$ac_try;;
35757 esac
35758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35759 (eval "$ac_link") 2>conftest.er1
35760 ac_status=$?
35761 grep -v '^ *+' conftest.er1 >conftest.err
35762 rm -f conftest.er1
35763 cat conftest.err >&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); } && {
35766 test -z "$ac_c_werror_flag" ||
35767 test ! -s conftest.err
35768 } && test -s conftest$ac_exeext &&
35769 $as_test_x conftest$ac_exeext; then
35770 eval wx_cv_func_$wx_func=yes
35771 else
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35774
35775 eval wx_cv_func_$wx_func=no
35776 fi
35777
35778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35779 conftest$ac_exeext conftest.$ac_ext
35780
35781 fi
35782 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35783 { echo "$as_me:$LINENO: result: $ac_res" >&5
35784 echo "${ECHO_T}$ac_res" >&6; }
35785
35786 if eval test \$wx_cv_func_$wx_func = yes
35787 then
35788 cat >>confdefs.h <<_ACEOF
35789 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35790 _ACEOF
35791
35792
35793 else
35794 :
35795
35796 fi
35797 done
35798
35799
35800 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35801 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h. */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808 #include <wchar.h>
35809 int
35810 main ()
35811 {
35812 &_vsnwprintf;
35813 ;
35814 return 0;
35815 }
35816 _ACEOF
35817 rm -f conftest.$ac_objext
35818 if { (ac_try="$ac_compile"
35819 case "(($ac_try" in
35820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35821 *) ac_try_echo=$ac_try;;
35822 esac
35823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35824 (eval "$ac_compile") 2>conftest.er1
35825 ac_status=$?
35826 grep -v '^ *+' conftest.er1 >conftest.err
35827 rm -f conftest.er1
35828 cat conftest.err >&5
35829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 (exit $ac_status); } && {
35831 test -z "$ac_c_werror_flag" ||
35832 test ! -s conftest.err
35833 } && test -s conftest.$ac_objext; then
35834 { echo "$as_me:$LINENO: result: yes" >&5
35835 echo "${ECHO_T}yes" >&6; }
35836 cat >>confdefs.h <<\_ACEOF
35837 #define HAVE__VSNWPRINTF 1
35838 _ACEOF
35839
35840 else
35841 echo "$as_me: failed program was:" >&5
35842 sed 's/^/| /' conftest.$ac_ext >&5
35843
35844 { echo "$as_me:$LINENO: result: no" >&5
35845 echo "${ECHO_T}no" >&6; }
35846 fi
35847
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35849 fi
35850
35851 if test "$wxUSE_FILE" = "yes"; then
35852
35853 for wx_func in fsync
35854 do
35855 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35856 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35857 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35858 echo $ECHO_N "(cached) $ECHO_C" >&6
35859 else
35860
35861 cat >conftest.$ac_ext <<_ACEOF
35862
35863 /* confdefs.h. */
35864 _ACEOF
35865 cat confdefs.h >>conftest.$ac_ext
35866 cat >>conftest.$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35868
35869
35870 $ac_includes_default
35871
35872 int
35873 main ()
35874 {
35875
35876 #ifndef $wx_func
35877 &$wx_func;
35878 #endif
35879
35880
35881 ;
35882 return 0;
35883 }
35884
35885 _ACEOF
35886 rm -f conftest.$ac_objext conftest$ac_exeext
35887 if { (ac_try="$ac_link"
35888 case "(($ac_try" in
35889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35890 *) ac_try_echo=$ac_try;;
35891 esac
35892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35893 (eval "$ac_link") 2>conftest.er1
35894 ac_status=$?
35895 grep -v '^ *+' conftest.er1 >conftest.err
35896 rm -f conftest.er1
35897 cat conftest.err >&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); } && {
35900 test -z "$ac_c_werror_flag" ||
35901 test ! -s conftest.err
35902 } && test -s conftest$ac_exeext &&
35903 $as_test_x conftest$ac_exeext; then
35904 eval wx_cv_func_$wx_func=yes
35905 else
35906 echo "$as_me: failed program was:" >&5
35907 sed 's/^/| /' conftest.$ac_ext >&5
35908
35909 eval wx_cv_func_$wx_func=no
35910 fi
35911
35912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35913 conftest$ac_exeext conftest.$ac_ext
35914
35915 fi
35916 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35917 { echo "$as_me:$LINENO: result: $ac_res" >&5
35918 echo "${ECHO_T}$ac_res" >&6; }
35919
35920 if eval test \$wx_cv_func_$wx_func = yes
35921 then
35922 cat >>confdefs.h <<_ACEOF
35923 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35924 _ACEOF
35925
35926
35927 else
35928 :
35929
35930 fi
35931 done
35932
35933 fi
35934
35935 ac_ext=cpp
35936 ac_cpp='$CXXCPP $CPPFLAGS'
35937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35940
35941
35942 for wx_func in round
35943 do
35944 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35945 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35946 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35947 echo $ECHO_N "(cached) $ECHO_C" >&6
35948 else
35949
35950 cat >conftest.$ac_ext <<_ACEOF
35951
35952 /* confdefs.h. */
35953 _ACEOF
35954 cat confdefs.h >>conftest.$ac_ext
35955 cat >>conftest.$ac_ext <<_ACEOF
35956 /* end confdefs.h. */
35957
35958 #include <math.h>
35959 $ac_includes_default
35960
35961 int
35962 main ()
35963 {
35964
35965 #ifndef $wx_func
35966 &$wx_func;
35967 #endif
35968
35969
35970 ;
35971 return 0;
35972 }
35973
35974 _ACEOF
35975 rm -f conftest.$ac_objext conftest$ac_exeext
35976 if { (ac_try="$ac_link"
35977 case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35980 esac
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_link") 2>conftest.er1
35983 ac_status=$?
35984 grep -v '^ *+' conftest.er1 >conftest.err
35985 rm -f conftest.er1
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } && {
35989 test -z "$ac_cxx_werror_flag" ||
35990 test ! -s conftest.err
35991 } && test -s conftest$ac_exeext &&
35992 $as_test_x conftest$ac_exeext; then
35993 eval wx_cv_func_$wx_func=yes
35994 else
35995 echo "$as_me: failed program was:" >&5
35996 sed 's/^/| /' conftest.$ac_ext >&5
35997
35998 eval wx_cv_func_$wx_func=no
35999 fi
36000
36001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36002 conftest$ac_exeext conftest.$ac_ext
36003
36004 fi
36005 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36006 { echo "$as_me:$LINENO: result: $ac_res" >&5
36007 echo "${ECHO_T}$ac_res" >&6; }
36008
36009 if eval test \$wx_cv_func_$wx_func = yes
36010 then
36011 cat >>confdefs.h <<_ACEOF
36012 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36013 _ACEOF
36014
36015
36016 else
36017 :
36018
36019 fi
36020 done
36021
36022 ac_ext=c
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027
36028
36029 if test "$TOOLKIT" != "MSW"; then
36030
36031 if test "$wxUSE_LIBICONV" != "no" ; then
36032
36033
36034
36035 # Check whether --with-libiconv-prefix was given.
36036 if test "${with_libiconv_prefix+set}" = set; then
36037 withval=$with_libiconv_prefix;
36038 for dir in `echo "$withval" | tr : ' '`; do
36039 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36040 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36041 done
36042
36043 fi
36044
36045
36046 { echo "$as_me:$LINENO: checking for iconv" >&5
36047 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36048 if test "${am_cv_func_iconv+set}" = set; then
36049 echo $ECHO_N "(cached) $ECHO_C" >&6
36050 else
36051
36052 am_cv_func_iconv="no, consider installing GNU libiconv"
36053 am_cv_lib_iconv=no
36054 cat >conftest.$ac_ext <<_ACEOF
36055 /* confdefs.h. */
36056 _ACEOF
36057 cat confdefs.h >>conftest.$ac_ext
36058 cat >>conftest.$ac_ext <<_ACEOF
36059 /* end confdefs.h. */
36060 #include <stdlib.h>
36061 #include <iconv.h>
36062 int
36063 main ()
36064 {
36065 iconv_t cd = iconv_open("","");
36066 iconv(cd,NULL,NULL,NULL,NULL);
36067 iconv_close(cd);
36068 ;
36069 return 0;
36070 }
36071 _ACEOF
36072 rm -f conftest.$ac_objext conftest$ac_exeext
36073 if { (ac_try="$ac_link"
36074 case "(($ac_try" in
36075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36076 *) ac_try_echo=$ac_try;;
36077 esac
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_link") 2>conftest.er1
36080 ac_status=$?
36081 grep -v '^ *+' conftest.er1 >conftest.err
36082 rm -f conftest.er1
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } && {
36086 test -z "$ac_c_werror_flag" ||
36087 test ! -s conftest.err
36088 } && test -s conftest$ac_exeext &&
36089 $as_test_x conftest$ac_exeext; then
36090 am_cv_func_iconv=yes
36091 else
36092 echo "$as_me: failed program was:" >&5
36093 sed 's/^/| /' conftest.$ac_ext >&5
36094
36095
36096 fi
36097
36098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36099 conftest$ac_exeext conftest.$ac_ext
36100 if test "$am_cv_func_iconv" != yes; then
36101 am_save_LIBS="$LIBS"
36102 LIBS="$LIBS -liconv"
36103 cat >conftest.$ac_ext <<_ACEOF
36104 /* confdefs.h. */
36105 _ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 #include <stdlib.h>
36110 #include <iconv.h>
36111 int
36112 main ()
36113 {
36114 iconv_t cd = iconv_open("","");
36115 iconv(cd,NULL,NULL,NULL,NULL);
36116 iconv_close(cd);
36117 ;
36118 return 0;
36119 }
36120 _ACEOF
36121 rm -f conftest.$ac_objext conftest$ac_exeext
36122 if { (ac_try="$ac_link"
36123 case "(($ac_try" in
36124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36125 *) ac_try_echo=$ac_try;;
36126 esac
36127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36128 (eval "$ac_link") 2>conftest.er1
36129 ac_status=$?
36130 grep -v '^ *+' conftest.er1 >conftest.err
36131 rm -f conftest.er1
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } && {
36135 test -z "$ac_c_werror_flag" ||
36136 test ! -s conftest.err
36137 } && test -s conftest$ac_exeext &&
36138 $as_test_x conftest$ac_exeext; then
36139 am_cv_lib_iconv=yes
36140 am_cv_func_iconv=yes
36141 else
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.$ac_ext >&5
36144
36145
36146 fi
36147
36148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36149 conftest$ac_exeext conftest.$ac_ext
36150 LIBS="$am_save_LIBS"
36151 fi
36152
36153 fi
36154 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36155 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36156 if test "$am_cv_func_iconv" = yes; then
36157
36158 cat >>confdefs.h <<\_ACEOF
36159 #define HAVE_ICONV 1
36160 _ACEOF
36161
36162 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36163 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36164 if test "${wx_cv_func_iconv_const+set}" = set; then
36165 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 else
36167 cat >conftest.$ac_ext <<_ACEOF
36168 /* confdefs.h. */
36169 _ACEOF
36170 cat confdefs.h >>conftest.$ac_ext
36171 cat >>conftest.$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36173
36174 #include <stdlib.h>
36175 #include <iconv.h>
36176 extern
36177 #ifdef __cplusplus
36178 "C"
36179 #endif
36180 #if defined(__STDC__) || defined(__cplusplus)
36181 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36182 #else
36183 size_t iconv();
36184 #endif
36185
36186 int
36187 main ()
36188 {
36189
36190 ;
36191 return 0;
36192 }
36193 _ACEOF
36194 rm -f conftest.$ac_objext
36195 if { (ac_try="$ac_compile"
36196 case "(($ac_try" in
36197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36198 *) ac_try_echo=$ac_try;;
36199 esac
36200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36201 (eval "$ac_compile") 2>conftest.er1
36202 ac_status=$?
36203 grep -v '^ *+' conftest.er1 >conftest.err
36204 rm -f conftest.er1
36205 cat conftest.err >&5
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); } && {
36208 test -z "$ac_c_werror_flag" ||
36209 test ! -s conftest.err
36210 } && test -s conftest.$ac_objext; then
36211 wx_cv_func_iconv_const="no"
36212 else
36213 echo "$as_me: failed program was:" >&5
36214 sed 's/^/| /' conftest.$ac_ext >&5
36215
36216 wx_cv_func_iconv_const="yes"
36217
36218 fi
36219
36220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36221
36222 fi
36223 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36224 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36225
36226 iconv_const=
36227 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36228 iconv_const="const"
36229 fi
36230
36231
36232 cat >>confdefs.h <<_ACEOF
36233 #define ICONV_CONST $iconv_const
36234 _ACEOF
36235
36236 fi
36237 LIBICONV=
36238 if test "$am_cv_lib_iconv" = yes; then
36239 LIBICONV="-liconv"
36240 fi
36241
36242
36243 LIBS="$LIBICONV $LIBS"
36244 fi
36245
36246 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36247
36248 for ac_func in sigaction
36249 do
36250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 else
36256 cat >conftest.$ac_ext <<_ACEOF
36257 /* confdefs.h. */
36258 _ACEOF
36259 cat confdefs.h >>conftest.$ac_ext
36260 cat >>conftest.$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36264 #define $ac_func innocuous_$ac_func
36265
36266 /* System header to define __stub macros and hopefully few prototypes,
36267 which can conflict with char $ac_func (); below.
36268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36269 <limits.h> exists even on freestanding compilers. */
36270
36271 #ifdef __STDC__
36272 # include <limits.h>
36273 #else
36274 # include <assert.h>
36275 #endif
36276
36277 #undef $ac_func
36278
36279 /* Override any GCC internal prototype to avoid an error.
36280 Use char because int might match the return type of a GCC
36281 builtin and then its argument prototype would still apply. */
36282 #ifdef __cplusplus
36283 extern "C"
36284 #endif
36285 char $ac_func ();
36286 /* The GNU C library defines this for functions which it implements
36287 to always fail with ENOSYS. Some functions are actually named
36288 something starting with __ and the normal name is an alias. */
36289 #if defined __stub_$ac_func || defined __stub___$ac_func
36290 choke me
36291 #endif
36292
36293 int
36294 main ()
36295 {
36296 return $ac_func ();
36297 ;
36298 return 0;
36299 }
36300 _ACEOF
36301 rm -f conftest.$ac_objext conftest$ac_exeext
36302 if { (ac_try="$ac_link"
36303 case "(($ac_try" in
36304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36305 *) ac_try_echo=$ac_try;;
36306 esac
36307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36308 (eval "$ac_link") 2>conftest.er1
36309 ac_status=$?
36310 grep -v '^ *+' conftest.er1 >conftest.err
36311 rm -f conftest.er1
36312 cat conftest.err >&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } && {
36315 test -z "$ac_c_werror_flag" ||
36316 test ! -s conftest.err
36317 } && test -s conftest$ac_exeext &&
36318 $as_test_x conftest$ac_exeext; then
36319 eval "$as_ac_var=yes"
36320 else
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36323
36324 eval "$as_ac_var=no"
36325 fi
36326
36327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36328 conftest$ac_exeext conftest.$ac_ext
36329 fi
36330 ac_res=`eval echo '${'$as_ac_var'}'`
36331 { echo "$as_me:$LINENO: result: $ac_res" >&5
36332 echo "${ECHO_T}$ac_res" >&6; }
36333 if test `eval echo '${'$as_ac_var'}'` = yes; then
36334 cat >>confdefs.h <<_ACEOF
36335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36336 _ACEOF
36337
36338 fi
36339 done
36340
36341
36342 if test "$ac_cv_func_sigaction" = "no"; then
36343 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36344 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36345 wxUSE_ON_FATAL_EXCEPTION=no
36346 fi
36347
36348 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36349 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36350 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36351 if test "${wx_cv_type_sa_handler+set}" = set; then
36352 echo $ECHO_N "(cached) $ECHO_C" >&6
36353 else
36354
36355 ac_ext=cpp
36356 ac_cpp='$CXXCPP $CPPFLAGS'
36357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36360
36361 cat >conftest.$ac_ext <<_ACEOF
36362 /* confdefs.h. */
36363 _ACEOF
36364 cat confdefs.h >>conftest.$ac_ext
36365 cat >>conftest.$ac_ext <<_ACEOF
36366 /* end confdefs.h. */
36367 #include <signal.h>
36368 int
36369 main ()
36370 {
36371
36372 extern void testSigHandler(int);
36373
36374 struct sigaction sa;
36375 sa.sa_handler = testSigHandler;
36376
36377 ;
36378 return 0;
36379 }
36380 _ACEOF
36381 rm -f conftest.$ac_objext
36382 if { (ac_try="$ac_compile"
36383 case "(($ac_try" in
36384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36385 *) ac_try_echo=$ac_try;;
36386 esac
36387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36388 (eval "$ac_compile") 2>conftest.er1
36389 ac_status=$?
36390 grep -v '^ *+' conftest.er1 >conftest.err
36391 rm -f conftest.er1
36392 cat conftest.err >&5
36393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394 (exit $ac_status); } && {
36395 test -z "$ac_cxx_werror_flag" ||
36396 test ! -s conftest.err
36397 } && test -s conftest.$ac_objext; then
36398
36399 wx_cv_type_sa_handler=int
36400
36401 else
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.$ac_ext >&5
36404
36405
36406 wx_cv_type_sa_handler=void
36407
36408 fi
36409
36410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36411 ac_ext=c
36412 ac_cpp='$CPP $CPPFLAGS'
36413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36416
36417
36418 fi
36419 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36420 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36421
36422 cat >>confdefs.h <<_ACEOF
36423 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36424 _ACEOF
36425
36426 fi
36427 fi
36428
36429 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36430 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36431 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36432 if test "${wx_cv_func_backtrace+set}" = set; then
36433 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 else
36435
36436 ac_ext=cpp
36437 ac_cpp='$CXXCPP $CPPFLAGS'
36438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36441
36442 cat >conftest.$ac_ext <<_ACEOF
36443 /* confdefs.h. */
36444 _ACEOF
36445 cat confdefs.h >>conftest.$ac_ext
36446 cat >>conftest.$ac_ext <<_ACEOF
36447 /* end confdefs.h. */
36448 #include <execinfo.h>
36449 int
36450 main ()
36451 {
36452
36453 void *trace[1];
36454 char **messages;
36455
36456 backtrace(trace, 1);
36457 messages = backtrace_symbols(trace, 1);
36458
36459 ;
36460 return 0;
36461 }
36462 _ACEOF
36463 rm -f conftest.$ac_objext
36464 if { (ac_try="$ac_compile"
36465 case "(($ac_try" in
36466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36467 *) ac_try_echo=$ac_try;;
36468 esac
36469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36470 (eval "$ac_compile") 2>conftest.er1
36471 ac_status=$?
36472 grep -v '^ *+' conftest.er1 >conftest.err
36473 rm -f conftest.er1
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } && {
36477 test -z "$ac_cxx_werror_flag" ||
36478 test ! -s conftest.err
36479 } && test -s conftest.$ac_objext; then
36480 wx_cv_func_backtrace=yes
36481 else
36482 echo "$as_me: failed program was:" >&5
36483 sed 's/^/| /' conftest.$ac_ext >&5
36484
36485 wx_cv_func_backtrace=no
36486
36487 fi
36488
36489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36490 ac_ext=c
36491 ac_cpp='$CPP $CPPFLAGS'
36492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36495
36496
36497
36498 fi
36499 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36500 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36501
36502
36503 if test "$wx_cv_func_backtrace" = "no"; then
36504 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36505 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36506 wxUSE_STACKWALKER=no
36507 else
36508 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36509 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36510 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36512 else
36513
36514 ac_ext=cpp
36515 ac_cpp='$CXXCPP $CPPFLAGS'
36516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36519
36520 cat >conftest.$ac_ext <<_ACEOF
36521 /* confdefs.h. */
36522 _ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36526 #include <cxxabi.h>
36527 int
36528 main ()
36529 {
36530
36531 int rc;
36532 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36533
36534 ;
36535 return 0;
36536 }
36537 _ACEOF
36538 rm -f conftest.$ac_objext conftest$ac_exeext
36539 if { (ac_try="$ac_link"
36540 case "(($ac_try" in
36541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36542 *) ac_try_echo=$ac_try;;
36543 esac
36544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36545 (eval "$ac_link") 2>conftest.er1
36546 ac_status=$?
36547 grep -v '^ *+' conftest.er1 >conftest.err
36548 rm -f conftest.er1
36549 cat conftest.err >&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); } && {
36552 test -z "$ac_cxx_werror_flag" ||
36553 test ! -s conftest.err
36554 } && test -s conftest$ac_exeext &&
36555 $as_test_x conftest$ac_exeext; then
36556 wx_cv_func_cxa_demangle=yes
36557 else
36558 echo "$as_me: failed program was:" >&5
36559 sed 's/^/| /' conftest.$ac_ext >&5
36560
36561 wx_cv_func_cxa_demangle=no
36562
36563 fi
36564
36565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36566 conftest$ac_exeext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572
36573
36574
36575 fi
36576 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36577 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36578
36579 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36580 cat >>confdefs.h <<\_ACEOF
36581 #define HAVE_CXA_DEMANGLE 1
36582 _ACEOF
36583
36584 fi
36585 fi
36586 fi
36587
36588 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36589 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36590 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36591 wxUSE_STACKWALKER=no
36592 fi
36593
36594
36595
36596
36597 for ac_func in mkstemp mktemp
36598 do
36599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 else
36605 cat >conftest.$ac_ext <<_ACEOF
36606 /* confdefs.h. */
36607 _ACEOF
36608 cat confdefs.h >>conftest.$ac_ext
36609 cat >>conftest.$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36613 #define $ac_func innocuous_$ac_func
36614
36615 /* System header to define __stub macros and hopefully few prototypes,
36616 which can conflict with char $ac_func (); below.
36617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36618 <limits.h> exists even on freestanding compilers. */
36619
36620 #ifdef __STDC__
36621 # include <limits.h>
36622 #else
36623 # include <assert.h>
36624 #endif
36625
36626 #undef $ac_func
36627
36628 /* Override any GCC internal prototype to avoid an error.
36629 Use char because int might match the return type of a GCC
36630 builtin and then its argument prototype would still apply. */
36631 #ifdef __cplusplus
36632 extern "C"
36633 #endif
36634 char $ac_func ();
36635 /* The GNU C library defines this for functions which it implements
36636 to always fail with ENOSYS. Some functions are actually named
36637 something starting with __ and the normal name is an alias. */
36638 #if defined __stub_$ac_func || defined __stub___$ac_func
36639 choke me
36640 #endif
36641
36642 int
36643 main ()
36644 {
36645 return $ac_func ();
36646 ;
36647 return 0;
36648 }
36649 _ACEOF
36650 rm -f conftest.$ac_objext conftest$ac_exeext
36651 if { (ac_try="$ac_link"
36652 case "(($ac_try" in
36653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36654 *) ac_try_echo=$ac_try;;
36655 esac
36656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36657 (eval "$ac_link") 2>conftest.er1
36658 ac_status=$?
36659 grep -v '^ *+' conftest.er1 >conftest.err
36660 rm -f conftest.er1
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } && {
36664 test -z "$ac_c_werror_flag" ||
36665 test ! -s conftest.err
36666 } && test -s conftest$ac_exeext &&
36667 $as_test_x conftest$ac_exeext; then
36668 eval "$as_ac_var=yes"
36669 else
36670 echo "$as_me: failed program was:" >&5
36671 sed 's/^/| /' conftest.$ac_ext >&5
36672
36673 eval "$as_ac_var=no"
36674 fi
36675
36676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36677 conftest$ac_exeext conftest.$ac_ext
36678 fi
36679 ac_res=`eval echo '${'$as_ac_var'}'`
36680 { echo "$as_me:$LINENO: result: $ac_res" >&5
36681 echo "${ECHO_T}$ac_res" >&6; }
36682 if test `eval echo '${'$as_ac_var'}'` = yes; then
36683 cat >>confdefs.h <<_ACEOF
36684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36685 _ACEOF
36686 break
36687 fi
36688 done
36689
36690
36691 { echo "$as_me:$LINENO: checking for statfs" >&5
36692 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36693 if test "${wx_cv_func_statfs+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 else
36696 cat >conftest.$ac_ext <<_ACEOF
36697 /* confdefs.h. */
36698 _ACEOF
36699 cat confdefs.h >>conftest.$ac_ext
36700 cat >>conftest.$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36702
36703 #if defined(__BSD__)
36704 #include <sys/param.h>
36705 #include <sys/mount.h>
36706 #else
36707 #include <sys/vfs.h>
36708 #endif
36709
36710 int
36711 main ()
36712 {
36713
36714 long l;
36715 struct statfs fs;
36716 statfs("/", &fs);
36717 l = fs.f_bsize;
36718 l += fs.f_blocks;
36719 l += fs.f_bavail;
36720
36721 ;
36722 return 0;
36723 }
36724 _ACEOF
36725 rm -f conftest.$ac_objext
36726 if { (ac_try="$ac_compile"
36727 case "(($ac_try" in
36728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36729 *) ac_try_echo=$ac_try;;
36730 esac
36731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36732 (eval "$ac_compile") 2>conftest.er1
36733 ac_status=$?
36734 grep -v '^ *+' conftest.er1 >conftest.err
36735 rm -f conftest.er1
36736 cat conftest.err >&5
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); } && {
36739 test -z "$ac_c_werror_flag" ||
36740 test ! -s conftest.err
36741 } && test -s conftest.$ac_objext; then
36742 wx_cv_func_statfs=yes
36743 else
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36746
36747 wx_cv_func_statfs=no
36748
36749 fi
36750
36751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36752
36753 fi
36754 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36755 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36756
36757 if test "$wx_cv_func_statfs" = "yes"; then
36758 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36759 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36760 if test "${wx_cv_func_statfs_decl+set}" = set; then
36761 echo $ECHO_N "(cached) $ECHO_C" >&6
36762 else
36763 ac_ext=cpp
36764 ac_cpp='$CXXCPP $CPPFLAGS'
36765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36768
36769 cat >conftest.$ac_ext <<_ACEOF
36770 /* confdefs.h. */
36771 _ACEOF
36772 cat confdefs.h >>conftest.$ac_ext
36773 cat >>conftest.$ac_ext <<_ACEOF
36774 /* end confdefs.h. */
36775
36776 #if defined(__BSD__)
36777 #include <sys/param.h>
36778 #include <sys/mount.h>
36779 #else
36780 #include <sys/vfs.h>
36781 #endif
36782
36783 int
36784 main ()
36785 {
36786
36787 struct statfs fs;
36788 statfs("", &fs);
36789
36790 ;
36791 return 0;
36792 }
36793 _ACEOF
36794 rm -f conftest.$ac_objext
36795 if { (ac_try="$ac_compile"
36796 case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36799 esac
36800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_compile") 2>conftest.er1
36802 ac_status=$?
36803 grep -v '^ *+' conftest.er1 >conftest.err
36804 rm -f conftest.er1
36805 cat conftest.err >&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); } && {
36808 test -z "$ac_cxx_werror_flag" ||
36809 test ! -s conftest.err
36810 } && test -s conftest.$ac_objext; then
36811 wx_cv_func_statfs_decl=yes
36812 else
36813 echo "$as_me: failed program was:" >&5
36814 sed 's/^/| /' conftest.$ac_ext >&5
36815
36816 wx_cv_func_statfs_decl=no
36817
36818 fi
36819
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36826
36827
36828 fi
36829 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36830 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36831
36832 if test "$wx_cv_func_statfs_decl" = "yes"; then
36833 cat >>confdefs.h <<\_ACEOF
36834 #define HAVE_STATFS_DECL 1
36835 _ACEOF
36836
36837 fi
36838
36839 wx_cv_type_statvfs_t="struct statfs"
36840 cat >>confdefs.h <<\_ACEOF
36841 #define HAVE_STATFS 1
36842 _ACEOF
36843
36844 else
36845 { echo "$as_me:$LINENO: checking for statvfs" >&5
36846 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36847 if test "${wx_cv_func_statvfs+set}" = set; then
36848 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 else
36850 cat >conftest.$ac_ext <<_ACEOF
36851 /* confdefs.h. */
36852 _ACEOF
36853 cat confdefs.h >>conftest.$ac_ext
36854 cat >>conftest.$ac_ext <<_ACEOF
36855 /* end confdefs.h. */
36856
36857 #include <stddef.h>
36858 #include <sys/statvfs.h>
36859
36860 int
36861 main ()
36862 {
36863
36864 statvfs("/", NULL);
36865
36866 ;
36867 return 0;
36868 }
36869 _ACEOF
36870 rm -f conftest.$ac_objext
36871 if { (ac_try="$ac_compile"
36872 case "(($ac_try" in
36873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874 *) ac_try_echo=$ac_try;;
36875 esac
36876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36877 (eval "$ac_compile") 2>conftest.er1
36878 ac_status=$?
36879 grep -v '^ *+' conftest.er1 >conftest.err
36880 rm -f conftest.er1
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } && {
36884 test -z "$ac_c_werror_flag" ||
36885 test ! -s conftest.err
36886 } && test -s conftest.$ac_objext; then
36887 wx_cv_func_statvfs=yes
36888 else
36889 echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36891
36892 wx_cv_func_statvfs=no
36893
36894 fi
36895
36896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36897
36898 fi
36899 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36900 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36901
36902 if test "$wx_cv_func_statvfs" = "yes"; then
36903 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36904 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36905 if test "${wx_cv_type_statvfs_t+set}" = set; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36907 else
36908 ac_ext=cpp
36909 ac_cpp='$CXXCPP $CPPFLAGS'
36910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36913
36914 cat >conftest.$ac_ext <<_ACEOF
36915 /* confdefs.h. */
36916 _ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920
36921 #include <sys/statvfs.h>
36922
36923 int
36924 main ()
36925 {
36926
36927 long l;
36928 statvfs_t fs;
36929 statvfs("/", &fs);
36930 l = fs.f_bsize;
36931 l += fs.f_blocks;
36932 l += fs.f_bavail;
36933
36934 ;
36935 return 0;
36936 }
36937 _ACEOF
36938 rm -f conftest.$ac_objext
36939 if { (ac_try="$ac_compile"
36940 case "(($ac_try" in
36941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36942 *) ac_try_echo=$ac_try;;
36943 esac
36944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36945 (eval "$ac_compile") 2>conftest.er1
36946 ac_status=$?
36947 grep -v '^ *+' conftest.er1 >conftest.err
36948 rm -f conftest.er1
36949 cat conftest.err >&5
36950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36951 (exit $ac_status); } && {
36952 test -z "$ac_cxx_werror_flag" ||
36953 test ! -s conftest.err
36954 } && test -s conftest.$ac_objext; then
36955 wx_cv_type_statvfs_t=statvfs_t
36956 else
36957 echo "$as_me: failed program was:" >&5
36958 sed 's/^/| /' conftest.$ac_ext >&5
36959
36960
36961 cat >conftest.$ac_ext <<_ACEOF
36962 /* confdefs.h. */
36963 _ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967
36968 #include <sys/statvfs.h>
36969
36970 int
36971 main ()
36972 {
36973
36974 long l;
36975 struct statvfs fs;
36976 statvfs("/", &fs);
36977 l = fs.f_bsize;
36978 l += fs.f_blocks;
36979 l += fs.f_bavail;
36980
36981 ;
36982 return 0;
36983 }
36984 _ACEOF
36985 rm -f conftest.$ac_objext
36986 if { (ac_try="$ac_compile"
36987 case "(($ac_try" in
36988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36989 *) ac_try_echo=$ac_try;;
36990 esac
36991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36992 (eval "$ac_compile") 2>conftest.er1
36993 ac_status=$?
36994 grep -v '^ *+' conftest.er1 >conftest.err
36995 rm -f conftest.er1
36996 cat conftest.err >&5
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); } && {
36999 test -z "$ac_cxx_werror_flag" ||
37000 test ! -s conftest.err
37001 } && test -s conftest.$ac_objext; then
37002 wx_cv_type_statvfs_t="struct statvfs"
37003 else
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37006
37007 wx_cv_type_statvfs_t="unknown"
37008
37009 fi
37010
37011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37012
37013
37014 fi
37015
37016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37017 ac_ext=c
37018 ac_cpp='$CPP $CPPFLAGS'
37019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37022
37023
37024 fi
37025 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37026 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37027
37028 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37029 cat >>confdefs.h <<\_ACEOF
37030 #define HAVE_STATVFS 1
37031 _ACEOF
37032
37033 fi
37034 else
37035 wx_cv_type_statvfs_t="unknown"
37036 fi
37037 fi
37038
37039 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37040 cat >>confdefs.h <<_ACEOF
37041 #define WX_STATFS_T $wx_cv_type_statvfs_t
37042 _ACEOF
37043
37044 else
37045 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37046 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37047 fi
37048
37049 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37050
37051
37052 for ac_func in fcntl flock
37053 do
37054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37058 echo $ECHO_N "(cached) $ECHO_C" >&6
37059 else
37060 cat >conftest.$ac_ext <<_ACEOF
37061 /* confdefs.h. */
37062 _ACEOF
37063 cat confdefs.h >>conftest.$ac_ext
37064 cat >>conftest.$ac_ext <<_ACEOF
37065 /* end confdefs.h. */
37066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37068 #define $ac_func innocuous_$ac_func
37069
37070 /* System header to define __stub macros and hopefully few prototypes,
37071 which can conflict with char $ac_func (); below.
37072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37073 <limits.h> exists even on freestanding compilers. */
37074
37075 #ifdef __STDC__
37076 # include <limits.h>
37077 #else
37078 # include <assert.h>
37079 #endif
37080
37081 #undef $ac_func
37082
37083 /* Override any GCC internal prototype to avoid an error.
37084 Use char because int might match the return type of a GCC
37085 builtin and then its argument prototype would still apply. */
37086 #ifdef __cplusplus
37087 extern "C"
37088 #endif
37089 char $ac_func ();
37090 /* The GNU C library defines this for functions which it implements
37091 to always fail with ENOSYS. Some functions are actually named
37092 something starting with __ and the normal name is an alias. */
37093 #if defined __stub_$ac_func || defined __stub___$ac_func
37094 choke me
37095 #endif
37096
37097 int
37098 main ()
37099 {
37100 return $ac_func ();
37101 ;
37102 return 0;
37103 }
37104 _ACEOF
37105 rm -f conftest.$ac_objext conftest$ac_exeext
37106 if { (ac_try="$ac_link"
37107 case "(($ac_try" in
37108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37109 *) ac_try_echo=$ac_try;;
37110 esac
37111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37112 (eval "$ac_link") 2>conftest.er1
37113 ac_status=$?
37114 grep -v '^ *+' conftest.er1 >conftest.err
37115 rm -f conftest.er1
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } && {
37119 test -z "$ac_c_werror_flag" ||
37120 test ! -s conftest.err
37121 } && test -s conftest$ac_exeext &&
37122 $as_test_x conftest$ac_exeext; then
37123 eval "$as_ac_var=yes"
37124 else
37125 echo "$as_me: failed program was:" >&5
37126 sed 's/^/| /' conftest.$ac_ext >&5
37127
37128 eval "$as_ac_var=no"
37129 fi
37130
37131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37132 conftest$ac_exeext conftest.$ac_ext
37133 fi
37134 ac_res=`eval echo '${'$as_ac_var'}'`
37135 { echo "$as_me:$LINENO: result: $ac_res" >&5
37136 echo "${ECHO_T}$ac_res" >&6; }
37137 if test `eval echo '${'$as_ac_var'}'` = yes; then
37138 cat >>confdefs.h <<_ACEOF
37139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37140 _ACEOF
37141 break
37142 fi
37143 done
37144
37145
37146 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37147 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37148 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37149 wxUSE_SNGLINST_CHECKER=no
37150 fi
37151 fi
37152
37153
37154
37155 for ac_func in setenv putenv
37156 do
37157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37161 echo $ECHO_N "(cached) $ECHO_C" >&6
37162 else
37163 cat >conftest.$ac_ext <<_ACEOF
37164 /* confdefs.h. */
37165 _ACEOF
37166 cat confdefs.h >>conftest.$ac_ext
37167 cat >>conftest.$ac_ext <<_ACEOF
37168 /* end confdefs.h. */
37169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37171 #define $ac_func innocuous_$ac_func
37172
37173 /* System header to define __stub macros and hopefully few prototypes,
37174 which can conflict with char $ac_func (); below.
37175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37176 <limits.h> exists even on freestanding compilers. */
37177
37178 #ifdef __STDC__
37179 # include <limits.h>
37180 #else
37181 # include <assert.h>
37182 #endif
37183
37184 #undef $ac_func
37185
37186 /* Override any GCC internal prototype to avoid an error.
37187 Use char because int might match the return type of a GCC
37188 builtin and then its argument prototype would still apply. */
37189 #ifdef __cplusplus
37190 extern "C"
37191 #endif
37192 char $ac_func ();
37193 /* The GNU C library defines this for functions which it implements
37194 to always fail with ENOSYS. Some functions are actually named
37195 something starting with __ and the normal name is an alias. */
37196 #if defined __stub_$ac_func || defined __stub___$ac_func
37197 choke me
37198 #endif
37199
37200 int
37201 main ()
37202 {
37203 return $ac_func ();
37204 ;
37205 return 0;
37206 }
37207 _ACEOF
37208 rm -f conftest.$ac_objext conftest$ac_exeext
37209 if { (ac_try="$ac_link"
37210 case "(($ac_try" in
37211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37212 *) ac_try_echo=$ac_try;;
37213 esac
37214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37215 (eval "$ac_link") 2>conftest.er1
37216 ac_status=$?
37217 grep -v '^ *+' conftest.er1 >conftest.err
37218 rm -f conftest.er1
37219 cat conftest.err >&5
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); } && {
37222 test -z "$ac_c_werror_flag" ||
37223 test ! -s conftest.err
37224 } && test -s conftest$ac_exeext &&
37225 $as_test_x conftest$ac_exeext; then
37226 eval "$as_ac_var=yes"
37227 else
37228 echo "$as_me: failed program was:" >&5
37229 sed 's/^/| /' conftest.$ac_ext >&5
37230
37231 eval "$as_ac_var=no"
37232 fi
37233
37234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37235 conftest$ac_exeext conftest.$ac_ext
37236 fi
37237 ac_res=`eval echo '${'$as_ac_var'}'`
37238 { echo "$as_me:$LINENO: result: $ac_res" >&5
37239 echo "${ECHO_T}$ac_res" >&6; }
37240 if test `eval echo '${'$as_ac_var'}'` = yes; then
37241 cat >>confdefs.h <<_ACEOF
37242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37243 _ACEOF
37244 break
37245 fi
37246 done
37247
37248 if test "$ac_cv_func_setenv" = "yes"; then
37249
37250 for ac_func in unsetenv
37251 do
37252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37256 echo $ECHO_N "(cached) $ECHO_C" >&6
37257 else
37258 cat >conftest.$ac_ext <<_ACEOF
37259 /* confdefs.h. */
37260 _ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37266 #define $ac_func innocuous_$ac_func
37267
37268 /* System header to define __stub macros and hopefully few prototypes,
37269 which can conflict with char $ac_func (); below.
37270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37271 <limits.h> exists even on freestanding compilers. */
37272
37273 #ifdef __STDC__
37274 # include <limits.h>
37275 #else
37276 # include <assert.h>
37277 #endif
37278
37279 #undef $ac_func
37280
37281 /* Override any GCC internal prototype to avoid an error.
37282 Use char because int might match the return type of a GCC
37283 builtin and then its argument prototype would still apply. */
37284 #ifdef __cplusplus
37285 extern "C"
37286 #endif
37287 char $ac_func ();
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined __stub_$ac_func || defined __stub___$ac_func
37292 choke me
37293 #endif
37294
37295 int
37296 main ()
37297 {
37298 return $ac_func ();
37299 ;
37300 return 0;
37301 }
37302 _ACEOF
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (ac_try="$ac_link"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37307 *) ac_try_echo=$ac_try;;
37308 esac
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_link") 2>conftest.er1
37311 ac_status=$?
37312 grep -v '^ *+' conftest.er1 >conftest.err
37313 rm -f conftest.er1
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_c_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest$ac_exeext &&
37320 $as_test_x conftest$ac_exeext; then
37321 eval "$as_ac_var=yes"
37322 else
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.$ac_ext >&5
37325
37326 eval "$as_ac_var=no"
37327 fi
37328
37329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37330 conftest$ac_exeext conftest.$ac_ext
37331 fi
37332 ac_res=`eval echo '${'$as_ac_var'}'`
37333 { echo "$as_me:$LINENO: result: $ac_res" >&5
37334 echo "${ECHO_T}$ac_res" >&6; }
37335 if test `eval echo '${'$as_ac_var'}'` = yes; then
37336 cat >>confdefs.h <<_ACEOF
37337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37338 _ACEOF
37339
37340 fi
37341 done
37342
37343 fi
37344
37345 HAVE_SOME_SLEEP_FUNC=0
37346 if test "$USE_BEOS" = 1; then
37347 cat >>confdefs.h <<\_ACEOF
37348 #define HAVE_SLEEP 1
37349 _ACEOF
37350
37351 HAVE_SOME_SLEEP_FUNC=1
37352 fi
37353
37354 if test "$USE_DARWIN" = 1; then
37355 cat >>confdefs.h <<\_ACEOF
37356 #define HAVE_USLEEP 1
37357 _ACEOF
37358
37359 HAVE_SOME_SLEEP_FUNC=1
37360 fi
37361
37362 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37363 POSIX4_LINK=
37364
37365 for ac_func in nanosleep
37366 do
37367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37368 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37370 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37371 echo $ECHO_N "(cached) $ECHO_C" >&6
37372 else
37373 cat >conftest.$ac_ext <<_ACEOF
37374 /* confdefs.h. */
37375 _ACEOF
37376 cat confdefs.h >>conftest.$ac_ext
37377 cat >>conftest.$ac_ext <<_ACEOF
37378 /* end confdefs.h. */
37379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37381 #define $ac_func innocuous_$ac_func
37382
37383 /* System header to define __stub macros and hopefully few prototypes,
37384 which can conflict with char $ac_func (); below.
37385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37386 <limits.h> exists even on freestanding compilers. */
37387
37388 #ifdef __STDC__
37389 # include <limits.h>
37390 #else
37391 # include <assert.h>
37392 #endif
37393
37394 #undef $ac_func
37395
37396 /* Override any GCC internal prototype to avoid an error.
37397 Use char because int might match the return type of a GCC
37398 builtin and then its argument prototype would still apply. */
37399 #ifdef __cplusplus
37400 extern "C"
37401 #endif
37402 char $ac_func ();
37403 /* The GNU C library defines this for functions which it implements
37404 to always fail with ENOSYS. Some functions are actually named
37405 something starting with __ and the normal name is an alias. */
37406 #if defined __stub_$ac_func || defined __stub___$ac_func
37407 choke me
37408 #endif
37409
37410 int
37411 main ()
37412 {
37413 return $ac_func ();
37414 ;
37415 return 0;
37416 }
37417 _ACEOF
37418 rm -f conftest.$ac_objext conftest$ac_exeext
37419 if { (ac_try="$ac_link"
37420 case "(($ac_try" in
37421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37422 *) ac_try_echo=$ac_try;;
37423 esac
37424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37425 (eval "$ac_link") 2>conftest.er1
37426 ac_status=$?
37427 grep -v '^ *+' conftest.er1 >conftest.err
37428 rm -f conftest.er1
37429 cat conftest.err >&5
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); } && {
37432 test -z "$ac_c_werror_flag" ||
37433 test ! -s conftest.err
37434 } && test -s conftest$ac_exeext &&
37435 $as_test_x conftest$ac_exeext; then
37436 eval "$as_ac_var=yes"
37437 else
37438 echo "$as_me: failed program was:" >&5
37439 sed 's/^/| /' conftest.$ac_ext >&5
37440
37441 eval "$as_ac_var=no"
37442 fi
37443
37444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37445 conftest$ac_exeext conftest.$ac_ext
37446 fi
37447 ac_res=`eval echo '${'$as_ac_var'}'`
37448 { echo "$as_me:$LINENO: result: $ac_res" >&5
37449 echo "${ECHO_T}$ac_res" >&6; }
37450 if test `eval echo '${'$as_ac_var'}'` = yes; then
37451 cat >>confdefs.h <<_ACEOF
37452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37453 _ACEOF
37454 cat >>confdefs.h <<\_ACEOF
37455 #define HAVE_NANOSLEEP 1
37456 _ACEOF
37457
37458 else
37459
37460 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37461 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37462 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37463 echo $ECHO_N "(cached) $ECHO_C" >&6
37464 else
37465 ac_check_lib_save_LIBS=$LIBS
37466 LIBS="-lposix4 $LIBS"
37467 cat >conftest.$ac_ext <<_ACEOF
37468 /* confdefs.h. */
37469 _ACEOF
37470 cat confdefs.h >>conftest.$ac_ext
37471 cat >>conftest.$ac_ext <<_ACEOF
37472 /* end confdefs.h. */
37473
37474 /* Override any GCC internal prototype to avoid an error.
37475 Use char because int might match the return type of a GCC
37476 builtin and then its argument prototype would still apply. */
37477 #ifdef __cplusplus
37478 extern "C"
37479 #endif
37480 char nanosleep ();
37481 int
37482 main ()
37483 {
37484 return nanosleep ();
37485 ;
37486 return 0;
37487 }
37488 _ACEOF
37489 rm -f conftest.$ac_objext conftest$ac_exeext
37490 if { (ac_try="$ac_link"
37491 case "(($ac_try" in
37492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37493 *) ac_try_echo=$ac_try;;
37494 esac
37495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37496 (eval "$ac_link") 2>conftest.er1
37497 ac_status=$?
37498 grep -v '^ *+' conftest.er1 >conftest.err
37499 rm -f conftest.er1
37500 cat conftest.err >&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } && {
37503 test -z "$ac_c_werror_flag" ||
37504 test ! -s conftest.err
37505 } && test -s conftest$ac_exeext &&
37506 $as_test_x conftest$ac_exeext; then
37507 ac_cv_lib_posix4_nanosleep=yes
37508 else
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.$ac_ext >&5
37511
37512 ac_cv_lib_posix4_nanosleep=no
37513 fi
37514
37515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37516 conftest$ac_exeext conftest.$ac_ext
37517 LIBS=$ac_check_lib_save_LIBS
37518 fi
37519 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37520 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37521 if test $ac_cv_lib_posix4_nanosleep = yes; then
37522
37523 cat >>confdefs.h <<\_ACEOF
37524 #define HAVE_NANOSLEEP 1
37525 _ACEOF
37526
37527 POSIX4_LINK=" -lposix4"
37528
37529 else
37530
37531
37532 for wx_func in usleep
37533 do
37534 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37535 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37536 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37537 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 else
37539
37540 cat >conftest.$ac_ext <<_ACEOF
37541
37542 /* confdefs.h. */
37543 _ACEOF
37544 cat confdefs.h >>conftest.$ac_ext
37545 cat >>conftest.$ac_ext <<_ACEOF
37546 /* end confdefs.h. */
37547
37548
37549 $ac_includes_default
37550
37551 int
37552 main ()
37553 {
37554
37555 #ifndef $wx_func
37556 &$wx_func;
37557 #endif
37558
37559
37560 ;
37561 return 0;
37562 }
37563
37564 _ACEOF
37565 rm -f conftest.$ac_objext conftest$ac_exeext
37566 if { (ac_try="$ac_link"
37567 case "(($ac_try" in
37568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37569 *) ac_try_echo=$ac_try;;
37570 esac
37571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37572 (eval "$ac_link") 2>conftest.er1
37573 ac_status=$?
37574 grep -v '^ *+' conftest.er1 >conftest.err
37575 rm -f conftest.er1
37576 cat conftest.err >&5
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); } && {
37579 test -z "$ac_c_werror_flag" ||
37580 test ! -s conftest.err
37581 } && test -s conftest$ac_exeext &&
37582 $as_test_x conftest$ac_exeext; then
37583 eval wx_cv_func_$wx_func=yes
37584 else
37585 echo "$as_me: failed program was:" >&5
37586 sed 's/^/| /' conftest.$ac_ext >&5
37587
37588 eval wx_cv_func_$wx_func=no
37589 fi
37590
37591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37592 conftest$ac_exeext conftest.$ac_ext
37593
37594 fi
37595 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37596 { echo "$as_me:$LINENO: result: $ac_res" >&5
37597 echo "${ECHO_T}$ac_res" >&6; }
37598
37599 if eval test \$wx_cv_func_$wx_func = yes
37600 then
37601 cat >>confdefs.h <<_ACEOF
37602 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37603 _ACEOF
37604
37605
37606 else
37607 :
37608 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37609 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37610
37611 fi
37612 done
37613
37614
37615
37616 fi
37617
37618
37619
37620 fi
37621 done
37622
37623 fi
37624
37625
37626 for wx_func in uname
37627 do
37628 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37629 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37630 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37632 else
37633
37634 cat >conftest.$ac_ext <<_ACEOF
37635
37636 /* confdefs.h. */
37637 _ACEOF
37638 cat confdefs.h >>conftest.$ac_ext
37639 cat >>conftest.$ac_ext <<_ACEOF
37640 /* end confdefs.h. */
37641
37642 #include <sys/utsname.h>
37643 $ac_includes_default
37644
37645 int
37646 main ()
37647 {
37648
37649 #ifndef $wx_func
37650 &$wx_func;
37651 #endif
37652
37653
37654 ;
37655 return 0;
37656 }
37657
37658 _ACEOF
37659 rm -f conftest.$ac_objext conftest$ac_exeext
37660 if { (ac_try="$ac_link"
37661 case "(($ac_try" in
37662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37663 *) ac_try_echo=$ac_try;;
37664 esac
37665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37666 (eval "$ac_link") 2>conftest.er1
37667 ac_status=$?
37668 grep -v '^ *+' conftest.er1 >conftest.err
37669 rm -f conftest.er1
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } && {
37673 test -z "$ac_c_werror_flag" ||
37674 test ! -s conftest.err
37675 } && test -s conftest$ac_exeext &&
37676 $as_test_x conftest$ac_exeext; then
37677 eval wx_cv_func_$wx_func=yes
37678 else
37679 echo "$as_me: failed program was:" >&5
37680 sed 's/^/| /' conftest.$ac_ext >&5
37681
37682 eval wx_cv_func_$wx_func=no
37683 fi
37684
37685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37686 conftest$ac_exeext conftest.$ac_ext
37687
37688 fi
37689 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37690 { echo "$as_me:$LINENO: result: $ac_res" >&5
37691 echo "${ECHO_T}$ac_res" >&6; }
37692
37693 if eval test \$wx_cv_func_$wx_func = yes
37694 then
37695 cat >>confdefs.h <<_ACEOF
37696 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37697 _ACEOF
37698
37699
37700 else
37701 :
37702
37703 fi
37704 done
37705
37706 if test "$wx_cv_func_uname" != yes; then
37707
37708 for wx_func in gethostname
37709 do
37710 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37711 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37712 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 else
37715
37716 cat >conftest.$ac_ext <<_ACEOF
37717
37718 /* confdefs.h. */
37719 _ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723
37724
37725 $ac_includes_default
37726
37727 int
37728 main ()
37729 {
37730
37731 #ifndef $wx_func
37732 &$wx_func;
37733 #endif
37734
37735
37736 ;
37737 return 0;
37738 }
37739
37740 _ACEOF
37741 rm -f conftest.$ac_objext conftest$ac_exeext
37742 if { (ac_try="$ac_link"
37743 case "(($ac_try" in
37744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37745 *) ac_try_echo=$ac_try;;
37746 esac
37747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37748 (eval "$ac_link") 2>conftest.er1
37749 ac_status=$?
37750 grep -v '^ *+' conftest.er1 >conftest.err
37751 rm -f conftest.er1
37752 cat conftest.err >&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); } && {
37755 test -z "$ac_c_werror_flag" ||
37756 test ! -s conftest.err
37757 } && test -s conftest$ac_exeext &&
37758 $as_test_x conftest$ac_exeext; then
37759 eval wx_cv_func_$wx_func=yes
37760 else
37761 echo "$as_me: failed program was:" >&5
37762 sed 's/^/| /' conftest.$ac_ext >&5
37763
37764 eval wx_cv_func_$wx_func=no
37765 fi
37766
37767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37768 conftest$ac_exeext conftest.$ac_ext
37769
37770 fi
37771 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37772 { echo "$as_me:$LINENO: result: $ac_res" >&5
37773 echo "${ECHO_T}$ac_res" >&6; }
37774
37775 if eval test \$wx_cv_func_$wx_func = yes
37776 then
37777 cat >>confdefs.h <<_ACEOF
37778 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37779 _ACEOF
37780
37781
37782 else
37783 :
37784
37785 fi
37786 done
37787
37788 fi
37789
37790
37791 for wx_func in strtok_r
37792 do
37793 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37794 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37795 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37797 else
37798
37799 cat >conftest.$ac_ext <<_ACEOF
37800
37801 /* confdefs.h. */
37802 _ACEOF
37803 cat confdefs.h >>conftest.$ac_ext
37804 cat >>conftest.$ac_ext <<_ACEOF
37805 /* end confdefs.h. */
37806
37807 #define _REENTRANT
37808 $ac_includes_default
37809
37810 int
37811 main ()
37812 {
37813
37814 #ifndef $wx_func
37815 &$wx_func;
37816 #endif
37817
37818
37819 ;
37820 return 0;
37821 }
37822
37823 _ACEOF
37824 rm -f conftest.$ac_objext conftest$ac_exeext
37825 if { (ac_try="$ac_link"
37826 case "(($ac_try" in
37827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37828 *) ac_try_echo=$ac_try;;
37829 esac
37830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37831 (eval "$ac_link") 2>conftest.er1
37832 ac_status=$?
37833 grep -v '^ *+' conftest.er1 >conftest.err
37834 rm -f conftest.er1
37835 cat conftest.err >&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); } && {
37838 test -z "$ac_c_werror_flag" ||
37839 test ! -s conftest.err
37840 } && test -s conftest$ac_exeext &&
37841 $as_test_x conftest$ac_exeext; then
37842 eval wx_cv_func_$wx_func=yes
37843 else
37844 echo "$as_me: failed program was:" >&5
37845 sed 's/^/| /' conftest.$ac_ext >&5
37846
37847 eval wx_cv_func_$wx_func=no
37848 fi
37849
37850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37851 conftest$ac_exeext conftest.$ac_ext
37852
37853 fi
37854 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37855 { echo "$as_me:$LINENO: result: $ac_res" >&5
37856 echo "${ECHO_T}$ac_res" >&6; }
37857
37858 if eval test \$wx_cv_func_$wx_func = yes
37859 then
37860 cat >>confdefs.h <<_ACEOF
37861 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37862 _ACEOF
37863
37864
37865 else
37866 :
37867
37868 fi
37869 done
37870
37871
37872 INET_LINK=
37873
37874 for ac_func in inet_addr
37875 do
37876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37877 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37879 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882 cat >conftest.$ac_ext <<_ACEOF
37883 /* confdefs.h. */
37884 _ACEOF
37885 cat confdefs.h >>conftest.$ac_ext
37886 cat >>conftest.$ac_ext <<_ACEOF
37887 /* end confdefs.h. */
37888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37890 #define $ac_func innocuous_$ac_func
37891
37892 /* System header to define __stub macros and hopefully few prototypes,
37893 which can conflict with char $ac_func (); below.
37894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37895 <limits.h> exists even on freestanding compilers. */
37896
37897 #ifdef __STDC__
37898 # include <limits.h>
37899 #else
37900 # include <assert.h>
37901 #endif
37902
37903 #undef $ac_func
37904
37905 /* Override any GCC internal prototype to avoid an error.
37906 Use char because int might match the return type of a GCC
37907 builtin and then its argument prototype would still apply. */
37908 #ifdef __cplusplus
37909 extern "C"
37910 #endif
37911 char $ac_func ();
37912 /* The GNU C library defines this for functions which it implements
37913 to always fail with ENOSYS. Some functions are actually named
37914 something starting with __ and the normal name is an alias. */
37915 #if defined __stub_$ac_func || defined __stub___$ac_func
37916 choke me
37917 #endif
37918
37919 int
37920 main ()
37921 {
37922 return $ac_func ();
37923 ;
37924 return 0;
37925 }
37926 _ACEOF
37927 rm -f conftest.$ac_objext conftest$ac_exeext
37928 if { (ac_try="$ac_link"
37929 case "(($ac_try" in
37930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37931 *) ac_try_echo=$ac_try;;
37932 esac
37933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37934 (eval "$ac_link") 2>conftest.er1
37935 ac_status=$?
37936 grep -v '^ *+' conftest.er1 >conftest.err
37937 rm -f conftest.er1
37938 cat conftest.err >&5
37939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37940 (exit $ac_status); } && {
37941 test -z "$ac_c_werror_flag" ||
37942 test ! -s conftest.err
37943 } && test -s conftest$ac_exeext &&
37944 $as_test_x conftest$ac_exeext; then
37945 eval "$as_ac_var=yes"
37946 else
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37949
37950 eval "$as_ac_var=no"
37951 fi
37952
37953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37954 conftest$ac_exeext conftest.$ac_ext
37955 fi
37956 ac_res=`eval echo '${'$as_ac_var'}'`
37957 { echo "$as_me:$LINENO: result: $ac_res" >&5
37958 echo "${ECHO_T}$ac_res" >&6; }
37959 if test `eval echo '${'$as_ac_var'}'` = yes; then
37960 cat >>confdefs.h <<_ACEOF
37961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37962 _ACEOF
37963 cat >>confdefs.h <<\_ACEOF
37964 #define HAVE_INET_ADDR 1
37965 _ACEOF
37966
37967 else
37968
37969 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37970 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37971 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37972 echo $ECHO_N "(cached) $ECHO_C" >&6
37973 else
37974 ac_check_lib_save_LIBS=$LIBS
37975 LIBS="-lnsl $LIBS"
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h. */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982
37983 /* Override any GCC internal prototype to avoid an error.
37984 Use char because int might match the return type of a GCC
37985 builtin and then its argument prototype would still apply. */
37986 #ifdef __cplusplus
37987 extern "C"
37988 #endif
37989 char inet_addr ();
37990 int
37991 main ()
37992 {
37993 return inet_addr ();
37994 ;
37995 return 0;
37996 }
37997 _ACEOF
37998 rm -f conftest.$ac_objext conftest$ac_exeext
37999 if { (ac_try="$ac_link"
38000 case "(($ac_try" in
38001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38002 *) ac_try_echo=$ac_try;;
38003 esac
38004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38005 (eval "$ac_link") 2>conftest.er1
38006 ac_status=$?
38007 grep -v '^ *+' conftest.er1 >conftest.err
38008 rm -f conftest.er1
38009 cat conftest.err >&5
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); } && {
38012 test -z "$ac_c_werror_flag" ||
38013 test ! -s conftest.err
38014 } && test -s conftest$ac_exeext &&
38015 $as_test_x conftest$ac_exeext; then
38016 ac_cv_lib_nsl_inet_addr=yes
38017 else
38018 echo "$as_me: failed program was:" >&5
38019 sed 's/^/| /' conftest.$ac_ext >&5
38020
38021 ac_cv_lib_nsl_inet_addr=no
38022 fi
38023
38024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38025 conftest$ac_exeext conftest.$ac_ext
38026 LIBS=$ac_check_lib_save_LIBS
38027 fi
38028 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38029 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38030 if test $ac_cv_lib_nsl_inet_addr = yes; then
38031 INET_LINK="nsl"
38032 else
38033
38034 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38035 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38036 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38037 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 else
38039 ac_check_lib_save_LIBS=$LIBS
38040 LIBS="-lresolv $LIBS"
38041 cat >conftest.$ac_ext <<_ACEOF
38042 /* confdefs.h. */
38043 _ACEOF
38044 cat confdefs.h >>conftest.$ac_ext
38045 cat >>conftest.$ac_ext <<_ACEOF
38046 /* end confdefs.h. */
38047
38048 /* Override any GCC internal prototype to avoid an error.
38049 Use char because int might match the return type of a GCC
38050 builtin and then its argument prototype would still apply. */
38051 #ifdef __cplusplus
38052 extern "C"
38053 #endif
38054 char inet_addr ();
38055 int
38056 main ()
38057 {
38058 return inet_addr ();
38059 ;
38060 return 0;
38061 }
38062 _ACEOF
38063 rm -f conftest.$ac_objext conftest$ac_exeext
38064 if { (ac_try="$ac_link"
38065 case "(($ac_try" in
38066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38067 *) ac_try_echo=$ac_try;;
38068 esac
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_link") 2>conftest.er1
38071 ac_status=$?
38072 grep -v '^ *+' conftest.er1 >conftest.err
38073 rm -f conftest.er1
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest$ac_exeext &&
38080 $as_test_x conftest$ac_exeext; then
38081 ac_cv_lib_resolv_inet_addr=yes
38082 else
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38085
38086 ac_cv_lib_resolv_inet_addr=no
38087 fi
38088
38089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38090 conftest$ac_exeext conftest.$ac_ext
38091 LIBS=$ac_check_lib_save_LIBS
38092 fi
38093 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38094 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38095 if test $ac_cv_lib_resolv_inet_addr = yes; then
38096 INET_LINK="resolv"
38097 else
38098
38099 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38100 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38101 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38102 echo $ECHO_N "(cached) $ECHO_C" >&6
38103 else
38104 ac_check_lib_save_LIBS=$LIBS
38105 LIBS="-lsocket $LIBS"
38106 cat >conftest.$ac_ext <<_ACEOF
38107 /* confdefs.h. */
38108 _ACEOF
38109 cat confdefs.h >>conftest.$ac_ext
38110 cat >>conftest.$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38112
38113 /* Override any GCC internal prototype to avoid an error.
38114 Use char because int might match the return type of a GCC
38115 builtin and then its argument prototype would still apply. */
38116 #ifdef __cplusplus
38117 extern "C"
38118 #endif
38119 char inet_addr ();
38120 int
38121 main ()
38122 {
38123 return inet_addr ();
38124 ;
38125 return 0;
38126 }
38127 _ACEOF
38128 rm -f conftest.$ac_objext conftest$ac_exeext
38129 if { (ac_try="$ac_link"
38130 case "(($ac_try" in
38131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38132 *) ac_try_echo=$ac_try;;
38133 esac
38134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38135 (eval "$ac_link") 2>conftest.er1
38136 ac_status=$?
38137 grep -v '^ *+' conftest.er1 >conftest.err
38138 rm -f conftest.er1
38139 cat conftest.err >&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); } && {
38142 test -z "$ac_c_werror_flag" ||
38143 test ! -s conftest.err
38144 } && test -s conftest$ac_exeext &&
38145 $as_test_x conftest$ac_exeext; then
38146 ac_cv_lib_socket_inet_addr=yes
38147 else
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38150
38151 ac_cv_lib_socket_inet_addr=no
38152 fi
38153
38154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38155 conftest$ac_exeext conftest.$ac_ext
38156 LIBS=$ac_check_lib_save_LIBS
38157 fi
38158 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38159 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38160 if test $ac_cv_lib_socket_inet_addr = yes; then
38161 INET_LINK="socket"
38162
38163 fi
38164
38165
38166
38167 fi
38168
38169
38170
38171 fi
38172
38173
38174
38175 fi
38176 done
38177
38178
38179
38180 for ac_func in inet_aton
38181 do
38182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38186 echo $ECHO_N "(cached) $ECHO_C" >&6
38187 else
38188 cat >conftest.$ac_ext <<_ACEOF
38189 /* confdefs.h. */
38190 _ACEOF
38191 cat confdefs.h >>conftest.$ac_ext
38192 cat >>conftest.$ac_ext <<_ACEOF
38193 /* end confdefs.h. */
38194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38196 #define $ac_func innocuous_$ac_func
38197
38198 /* System header to define __stub macros and hopefully few prototypes,
38199 which can conflict with char $ac_func (); below.
38200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38201 <limits.h> exists even on freestanding compilers. */
38202
38203 #ifdef __STDC__
38204 # include <limits.h>
38205 #else
38206 # include <assert.h>
38207 #endif
38208
38209 #undef $ac_func
38210
38211 /* Override any GCC internal prototype to avoid an error.
38212 Use char because int might match the return type of a GCC
38213 builtin and then its argument prototype would still apply. */
38214 #ifdef __cplusplus
38215 extern "C"
38216 #endif
38217 char $ac_func ();
38218 /* The GNU C library defines this for functions which it implements
38219 to always fail with ENOSYS. Some functions are actually named
38220 something starting with __ and the normal name is an alias. */
38221 #if defined __stub_$ac_func || defined __stub___$ac_func
38222 choke me
38223 #endif
38224
38225 int
38226 main ()
38227 {
38228 return $ac_func ();
38229 ;
38230 return 0;
38231 }
38232 _ACEOF
38233 rm -f conftest.$ac_objext conftest$ac_exeext
38234 if { (ac_try="$ac_link"
38235 case "(($ac_try" in
38236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38237 *) ac_try_echo=$ac_try;;
38238 esac
38239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38240 (eval "$ac_link") 2>conftest.er1
38241 ac_status=$?
38242 grep -v '^ *+' conftest.er1 >conftest.err
38243 rm -f conftest.er1
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } && {
38247 test -z "$ac_c_werror_flag" ||
38248 test ! -s conftest.err
38249 } && test -s conftest$ac_exeext &&
38250 $as_test_x conftest$ac_exeext; then
38251 eval "$as_ac_var=yes"
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 eval "$as_ac_var=no"
38257 fi
38258
38259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38260 conftest$ac_exeext conftest.$ac_ext
38261 fi
38262 ac_res=`eval echo '${'$as_ac_var'}'`
38263 { echo "$as_me:$LINENO: result: $ac_res" >&5
38264 echo "${ECHO_T}$ac_res" >&6; }
38265 if test `eval echo '${'$as_ac_var'}'` = yes; then
38266 cat >>confdefs.h <<_ACEOF
38267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38268 _ACEOF
38269 cat >>confdefs.h <<\_ACEOF
38270 #define HAVE_INET_ATON 1
38271 _ACEOF
38272
38273 else
38274
38275 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38276 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38277 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38278 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38279 echo $ECHO_N "(cached) $ECHO_C" >&6
38280 else
38281 ac_check_lib_save_LIBS=$LIBS
38282 LIBS="-l$INET_LINK $LIBS"
38283 cat >conftest.$ac_ext <<_ACEOF
38284 /* confdefs.h. */
38285 _ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289
38290 /* Override any GCC internal prototype to avoid an error.
38291 Use char because int might match the return type of a GCC
38292 builtin and then its argument prototype would still apply. */
38293 #ifdef __cplusplus
38294 extern "C"
38295 #endif
38296 char inet_aton ();
38297 int
38298 main ()
38299 {
38300 return inet_aton ();
38301 ;
38302 return 0;
38303 }
38304 _ACEOF
38305 rm -f conftest.$ac_objext conftest$ac_exeext
38306 if { (ac_try="$ac_link"
38307 case "(($ac_try" in
38308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38309 *) ac_try_echo=$ac_try;;
38310 esac
38311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38312 (eval "$ac_link") 2>conftest.er1
38313 ac_status=$?
38314 grep -v '^ *+' conftest.er1 >conftest.err
38315 rm -f conftest.er1
38316 cat conftest.err >&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } && {
38319 test -z "$ac_c_werror_flag" ||
38320 test ! -s conftest.err
38321 } && test -s conftest$ac_exeext &&
38322 $as_test_x conftest$ac_exeext; then
38323 eval "$as_ac_Lib=yes"
38324 else
38325 echo "$as_me: failed program was:" >&5
38326 sed 's/^/| /' conftest.$ac_ext >&5
38327
38328 eval "$as_ac_Lib=no"
38329 fi
38330
38331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38332 conftest$ac_exeext conftest.$ac_ext
38333 LIBS=$ac_check_lib_save_LIBS
38334 fi
38335 ac_res=`eval echo '${'$as_ac_Lib'}'`
38336 { echo "$as_me:$LINENO: result: $ac_res" >&5
38337 echo "${ECHO_T}$ac_res" >&6; }
38338 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38339 cat >>confdefs.h <<\_ACEOF
38340 #define HAVE_INET_ATON 1
38341 _ACEOF
38342
38343 fi
38344
38345
38346 fi
38347 done
38348
38349
38350 if test "x$INET_LINK" != "x"; then
38351 cat >>confdefs.h <<\_ACEOF
38352 #define HAVE_INET_ADDR 1
38353 _ACEOF
38354
38355 INET_LINK=" -l$INET_LINK"
38356 fi
38357
38358
38359 for wx_func in fdopen
38360 do
38361 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38362 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38363 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38364 echo $ECHO_N "(cached) $ECHO_C" >&6
38365 else
38366
38367 cat >conftest.$ac_ext <<_ACEOF
38368
38369 /* confdefs.h. */
38370 _ACEOF
38371 cat confdefs.h >>conftest.$ac_ext
38372 cat >>conftest.$ac_ext <<_ACEOF
38373 /* end confdefs.h. */
38374
38375
38376 $ac_includes_default
38377
38378 int
38379 main ()
38380 {
38381
38382 #ifndef $wx_func
38383 &$wx_func;
38384 #endif
38385
38386
38387 ;
38388 return 0;
38389 }
38390
38391 _ACEOF
38392 rm -f conftest.$ac_objext conftest$ac_exeext
38393 if { (ac_try="$ac_link"
38394 case "(($ac_try" in
38395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38396 *) ac_try_echo=$ac_try;;
38397 esac
38398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38399 (eval "$ac_link") 2>conftest.er1
38400 ac_status=$?
38401 grep -v '^ *+' conftest.er1 >conftest.err
38402 rm -f conftest.er1
38403 cat conftest.err >&5
38404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38405 (exit $ac_status); } && {
38406 test -z "$ac_c_werror_flag" ||
38407 test ! -s conftest.err
38408 } && test -s conftest$ac_exeext &&
38409 $as_test_x conftest$ac_exeext; then
38410 eval wx_cv_func_$wx_func=yes
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38414
38415 eval wx_cv_func_$wx_func=no
38416 fi
38417
38418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38419 conftest$ac_exeext conftest.$ac_ext
38420
38421 fi
38422 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38423 { echo "$as_me:$LINENO: result: $ac_res" >&5
38424 echo "${ECHO_T}$ac_res" >&6; }
38425
38426 if eval test \$wx_cv_func_$wx_func = yes
38427 then
38428 cat >>confdefs.h <<_ACEOF
38429 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38430 _ACEOF
38431
38432
38433 else
38434 :
38435
38436 fi
38437 done
38438
38439
38440 if test "$wxUSE_TARSTREAM" = "yes"; then
38441
38442 for wx_func in sysconf
38443 do
38444 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38445 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38446 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449
38450 cat >conftest.$ac_ext <<_ACEOF
38451
38452 /* confdefs.h. */
38453 _ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38457
38458
38459 $ac_includes_default
38460
38461 int
38462 main ()
38463 {
38464
38465 #ifndef $wx_func
38466 &$wx_func;
38467 #endif
38468
38469
38470 ;
38471 return 0;
38472 }
38473
38474 _ACEOF
38475 rm -f conftest.$ac_objext conftest$ac_exeext
38476 if { (ac_try="$ac_link"
38477 case "(($ac_try" in
38478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38479 *) ac_try_echo=$ac_try;;
38480 esac
38481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38482 (eval "$ac_link") 2>conftest.er1
38483 ac_status=$?
38484 grep -v '^ *+' conftest.er1 >conftest.err
38485 rm -f conftest.er1
38486 cat conftest.err >&5
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); } && {
38489 test -z "$ac_c_werror_flag" ||
38490 test ! -s conftest.err
38491 } && test -s conftest$ac_exeext &&
38492 $as_test_x conftest$ac_exeext; then
38493 eval wx_cv_func_$wx_func=yes
38494 else
38495 echo "$as_me: failed program was:" >&5
38496 sed 's/^/| /' conftest.$ac_ext >&5
38497
38498 eval wx_cv_func_$wx_func=no
38499 fi
38500
38501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38502 conftest$ac_exeext conftest.$ac_ext
38503
38504 fi
38505 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38506 { echo "$as_me:$LINENO: result: $ac_res" >&5
38507 echo "${ECHO_T}$ac_res" >&6; }
38508
38509 if eval test \$wx_cv_func_$wx_func = yes
38510 then
38511 cat >>confdefs.h <<_ACEOF
38512 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38513 _ACEOF
38514
38515
38516 else
38517 :
38518
38519 fi
38520 done
38521
38522
38523
38524 for wx_func in getpwuid_r
38525 do
38526 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38527 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38528 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 else
38531
38532 cat >conftest.$ac_ext <<_ACEOF
38533
38534 /* confdefs.h. */
38535 _ACEOF
38536 cat confdefs.h >>conftest.$ac_ext
38537 cat >>conftest.$ac_ext <<_ACEOF
38538 /* end confdefs.h. */
38539
38540
38541 #define _REENTRANT
38542 #include <pwd.h>
38543
38544 $ac_includes_default
38545
38546 int
38547 main ()
38548 {
38549
38550 #ifndef $wx_func
38551 &$wx_func;
38552 #endif
38553
38554 struct passwd pw, *ppw;
38555 char buf[1024];
38556 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38557
38558
38559 ;
38560 return 0;
38561 }
38562
38563 _ACEOF
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (ac_try="$ac_link"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38568 *) ac_try_echo=$ac_try;;
38569 esac
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_link") 2>conftest.er1
38572 ac_status=$?
38573 grep -v '^ *+' conftest.er1 >conftest.err
38574 rm -f conftest.er1
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_c_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest$ac_exeext &&
38581 $as_test_x conftest$ac_exeext; then
38582 eval wx_cv_func_$wx_func=yes
38583 else
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38586
38587 eval wx_cv_func_$wx_func=no
38588 fi
38589
38590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38591 conftest$ac_exeext conftest.$ac_ext
38592
38593 fi
38594 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38595 { echo "$as_me:$LINENO: result: $ac_res" >&5
38596 echo "${ECHO_T}$ac_res" >&6; }
38597
38598 if eval test \$wx_cv_func_$wx_func = yes
38599 then
38600 cat >>confdefs.h <<_ACEOF
38601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38602 _ACEOF
38603
38604
38605 else
38606 :
38607
38608 fi
38609 done
38610
38611
38612
38613 for wx_func in getgrgid_r
38614 do
38615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 else
38620
38621 cat >conftest.$ac_ext <<_ACEOF
38622
38623 /* confdefs.h. */
38624 _ACEOF
38625 cat confdefs.h >>conftest.$ac_ext
38626 cat >>conftest.$ac_ext <<_ACEOF
38627 /* end confdefs.h. */
38628
38629
38630 #define _REENTRANT
38631 #include <grp.h>
38632
38633 $ac_includes_default
38634
38635 int
38636 main ()
38637 {
38638
38639 #ifndef $wx_func
38640 &$wx_func;
38641 #endif
38642
38643 struct group grp, *pgrp;
38644 char buf[1024];
38645 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38646
38647
38648 ;
38649 return 0;
38650 }
38651
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (ac_try="$ac_link"
38655 case "(($ac_try" in
38656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38657 *) ac_try_echo=$ac_try;;
38658 esac
38659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38660 (eval "$ac_link") 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } && {
38667 test -z "$ac_c_werror_flag" ||
38668 test ! -s conftest.err
38669 } && test -s conftest$ac_exeext &&
38670 $as_test_x conftest$ac_exeext; then
38671 eval wx_cv_func_$wx_func=yes
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676 eval wx_cv_func_$wx_func=no
38677 fi
38678
38679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38680 conftest$ac_exeext conftest.$ac_ext
38681
38682 fi
38683 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38684 { echo "$as_me:$LINENO: result: $ac_res" >&5
38685 echo "${ECHO_T}$ac_res" >&6; }
38686
38687 if eval test \$wx_cv_func_$wx_func = yes
38688 then
38689 cat >>confdefs.h <<_ACEOF
38690 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38691 _ACEOF
38692
38693
38694 else
38695 :
38696
38697 fi
38698 done
38699
38700 fi
38701
38702 fi
38703
38704
38705
38706 cat >confcache <<\_ACEOF
38707 # This file is a shell script that caches the results of configure
38708 # tests run on this system so they can be shared between configure
38709 # scripts and configure runs, see configure's option --config-cache.
38710 # It is not useful on other systems. If it contains results you don't
38711 # want to keep, you may remove or edit it.
38712 #
38713 # config.status only pays attention to the cache file if you give it
38714 # the --recheck option to rerun configure.
38715 #
38716 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38717 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38718 # following values.
38719
38720 _ACEOF
38721
38722 # The following way of writing the cache mishandles newlines in values,
38723 # but we know of no workaround that is simple, portable, and efficient.
38724 # So, we kill variables containing newlines.
38725 # Ultrix sh set writes to stderr and can't be redirected directly,
38726 # and sets the high bit in the cache file unless we assign to the vars.
38727 (
38728 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38729 eval ac_val=\$$ac_var
38730 case $ac_val in #(
38731 *${as_nl}*)
38732 case $ac_var in #(
38733 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38734 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38735 esac
38736 case $ac_var in #(
38737 _ | IFS | as_nl) ;; #(
38738 *) $as_unset $ac_var ;;
38739 esac ;;
38740 esac
38741 done
38742
38743 (set) 2>&1 |
38744 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38745 *${as_nl}ac_space=\ *)
38746 # `set' does not quote correctly, so add quotes (double-quote
38747 # substitution turns \\\\ into \\, and sed turns \\ into \).
38748 sed -n \
38749 "s/'/'\\\\''/g;
38750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38751 ;; #(
38752 *)
38753 # `set' quotes correctly as required by POSIX, so do not add quotes.
38754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38755 ;;
38756 esac |
38757 sort
38758 ) |
38759 sed '
38760 /^ac_cv_env_/b end
38761 t clear
38762 :clear
38763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38764 t end
38765 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38766 :end' >>confcache
38767 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38768 if test -w "$cache_file"; then
38769 test "x$cache_file" != "x/dev/null" &&
38770 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38771 echo "$as_me: updating cache $cache_file" >&6;}
38772 cat confcache >$cache_file
38773 else
38774 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38775 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38776 fi
38777 fi
38778 rm -f confcache
38779
38780
38781 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38782
38783
38784 THREADS_LINK=
38785 THREADS_CFLAGS=
38786
38787 if test "$wxUSE_THREADS" = "yes" ; then
38788 if test "$USE_BEOS" = 1; then
38789 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38790 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38791 wxUSE_THREADS="no"
38792 fi
38793 fi
38794
38795 if test "$wxUSE_THREADS" = "yes" ; then
38796
38797
38798 THREAD_OPTS="-pthread"
38799 if test "x$SUNCXX" = xyes; then
38800 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38801 fi
38802
38803 case "${host}" in
38804 *-*-solaris2* | *-*-sunos4* )
38805 if test "x$GCC" = "xyes"; then
38806 THREAD_OPTS="-pthreads $THREAD_OPTS"
38807 fi
38808 ;;
38809 *-*-freebsd*)
38810 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38811 ;;
38812 *-*-darwin* | *-*-cygwin* )
38813 THREAD_OPTS=""
38814 ;;
38815 *-*-aix*)
38816 THREAD_OPTS="pthreads"
38817 ;;
38818 *-hp-hpux* )
38819 if test "x$GCC" = "xyes"; then
38820 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38821 THREAD_OPTS=""
38822 else
38823 THREAD_OPTS="-mt"
38824 fi
38825 ;;
38826
38827 *-*-irix* )
38828 if test "x$GCC" = "xyes"; then
38829 THREAD_OPTS=""
38830 fi
38831 ;;
38832
38833 *-*-*UnixWare*)
38834 if test "x$GCC" != "xyes"; then
38835 THREAD_OPTS="-Ethread"
38836 fi
38837 ;;
38838 esac
38839
38840 THREAD_OPTS="$THREAD_OPTS pthread none"
38841
38842 THREADS_OK=no
38843 for flag in $THREAD_OPTS; do
38844 case $flag in
38845 none)
38846 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38847 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38848 ;;
38849
38850 -*)
38851 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38852 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38853 THREADS_CFLAGS="$flag"
38854 ;;
38855
38856 *)
38857 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38858 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38859 THREADS_LINK="-l$flag"
38860 ;;
38861 esac
38862
38863 save_LIBS="$LIBS"
38864 save_CFLAGS="$CFLAGS"
38865 LIBS="$THREADS_LINK $LIBS"
38866 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38867
38868 cat >conftest.$ac_ext <<_ACEOF
38869 /* confdefs.h. */
38870 _ACEOF
38871 cat confdefs.h >>conftest.$ac_ext
38872 cat >>conftest.$ac_ext <<_ACEOF
38873 /* end confdefs.h. */
38874 #include <pthread.h>
38875 int
38876 main ()
38877 {
38878 pthread_create(0,0,0,0);
38879 ;
38880 return 0;
38881 }
38882 _ACEOF
38883 rm -f conftest.$ac_objext conftest$ac_exeext
38884 if { (ac_try="$ac_link"
38885 case "(($ac_try" in
38886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38887 *) ac_try_echo=$ac_try;;
38888 esac
38889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38890 (eval "$ac_link") 2>conftest.er1
38891 ac_status=$?
38892 grep -v '^ *+' conftest.er1 >conftest.err
38893 rm -f conftest.er1
38894 cat conftest.err >&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } && {
38897 test -z "$ac_c_werror_flag" ||
38898 test ! -s conftest.err
38899 } && test -s conftest$ac_exeext &&
38900 $as_test_x conftest$ac_exeext; then
38901 THREADS_OK=yes
38902 else
38903 echo "$as_me: failed program was:" >&5
38904 sed 's/^/| /' conftest.$ac_ext >&5
38905
38906
38907 fi
38908
38909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38910 conftest$ac_exeext conftest.$ac_ext
38911
38912 LIBS="$save_LIBS"
38913 CFLAGS="$save_CFLAGS"
38914
38915 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38916 echo "${ECHO_T}$THREADS_OK" >&6; }
38917 if test "x$THREADS_OK" = "xyes"; then
38918 break;
38919 fi
38920
38921 THREADS_LINK=""
38922 THREADS_CFLAGS=""
38923 done
38924
38925 if test "x$THREADS_OK" != "xyes"; then
38926 wxUSE_THREADS=no
38927 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38928 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38929 else
38930 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38931 LIBS="$THREADS_LINK $LIBS"
38932
38933 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38934 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38935 flag=no
38936 case "${host}" in
38937 *-aix*)
38938 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38939 flag="-D_THREAD_SAFE"
38940 ;;
38941 *-freebsd*)
38942 flag="-D_THREAD_SAFE"
38943 ;;
38944 *-hp-hpux* )
38945 flag="-D_REENTRANT"
38946 if test "x$GCC" != "xyes"; then
38947 flag="$flag -D_RWSTD_MULTI_THREAD"
38948 fi
38949 ;;
38950 *solaris* | alpha*-osf*)
38951 flag="-D_REENTRANT"
38952 ;;
38953 esac
38954 { echo "$as_me:$LINENO: result: ${flag}" >&5
38955 echo "${ECHO_T}${flag}" >&6; }
38956 if test "x$flag" != xno; then
38957 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38958 fi
38959
38960 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38961 fi
38962 fi
38963
38964 if test "$wxUSE_THREADS" = "yes" ; then
38965
38966 for ac_func in thr_setconcurrency
38967 do
38968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38972 echo $ECHO_N "(cached) $ECHO_C" >&6
38973 else
38974 cat >conftest.$ac_ext <<_ACEOF
38975 /* confdefs.h. */
38976 _ACEOF
38977 cat confdefs.h >>conftest.$ac_ext
38978 cat >>conftest.$ac_ext <<_ACEOF
38979 /* end confdefs.h. */
38980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38982 #define $ac_func innocuous_$ac_func
38983
38984 /* System header to define __stub macros and hopefully few prototypes,
38985 which can conflict with char $ac_func (); below.
38986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38987 <limits.h> exists even on freestanding compilers. */
38988
38989 #ifdef __STDC__
38990 # include <limits.h>
38991 #else
38992 # include <assert.h>
38993 #endif
38994
38995 #undef $ac_func
38996
38997 /* Override any GCC internal prototype to avoid an error.
38998 Use char because int might match the return type of a GCC
38999 builtin and then its argument prototype would still apply. */
39000 #ifdef __cplusplus
39001 extern "C"
39002 #endif
39003 char $ac_func ();
39004 /* The GNU C library defines this for functions which it implements
39005 to always fail with ENOSYS. Some functions are actually named
39006 something starting with __ and the normal name is an alias. */
39007 #if defined __stub_$ac_func || defined __stub___$ac_func
39008 choke me
39009 #endif
39010
39011 int
39012 main ()
39013 {
39014 return $ac_func ();
39015 ;
39016 return 0;
39017 }
39018 _ACEOF
39019 rm -f conftest.$ac_objext conftest$ac_exeext
39020 if { (ac_try="$ac_link"
39021 case "(($ac_try" in
39022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39023 *) ac_try_echo=$ac_try;;
39024 esac
39025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39026 (eval "$ac_link") 2>conftest.er1
39027 ac_status=$?
39028 grep -v '^ *+' conftest.er1 >conftest.err
39029 rm -f conftest.er1
39030 cat conftest.err >&5
39031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39032 (exit $ac_status); } && {
39033 test -z "$ac_c_werror_flag" ||
39034 test ! -s conftest.err
39035 } && test -s conftest$ac_exeext &&
39036 $as_test_x conftest$ac_exeext; then
39037 eval "$as_ac_var=yes"
39038 else
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39041
39042 eval "$as_ac_var=no"
39043 fi
39044
39045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39046 conftest$ac_exeext conftest.$ac_ext
39047 fi
39048 ac_res=`eval echo '${'$as_ac_var'}'`
39049 { echo "$as_me:$LINENO: result: $ac_res" >&5
39050 echo "${ECHO_T}$ac_res" >&6; }
39051 if test `eval echo '${'$as_ac_var'}'` = yes; then
39052 cat >>confdefs.h <<_ACEOF
39053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39054 _ACEOF
39055
39056 fi
39057 done
39058
39059
39060 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39061 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39062 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39063 echo $ECHO_N "(cached) $ECHO_C" >&6
39064 else
39065
39066 ac_ext=cpp
39067 ac_cpp='$CXXCPP $CPPFLAGS'
39068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39071
39072 cat >conftest.$ac_ext <<_ACEOF
39073 /* confdefs.h. */
39074 _ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 #include <pthread.h>
39079 void ThreadCleanupFunc(void *p);
39080
39081 int
39082 main ()
39083 {
39084
39085 void *p;
39086 pthread_cleanup_push(ThreadCleanupFunc, p);
39087 pthread_cleanup_pop(0);
39088
39089 ;
39090 return 0;
39091 }
39092 _ACEOF
39093 rm -f conftest.$ac_objext
39094 if { (ac_try="$ac_compile"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39098 esac
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_compile") 2>conftest.er1
39101 ac_status=$?
39102 grep -v '^ *+' conftest.er1 >conftest.err
39103 rm -f conftest.er1
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_cxx_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest.$ac_objext; then
39110
39111 wx_cv_func_pthread_cleanup=yes
39112
39113 else
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.$ac_ext >&5
39116
39117
39118 wx_cv_func_pthread_cleanup=no
39119
39120
39121 fi
39122
39123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39124 ac_ext=c
39125 ac_cpp='$CPP $CPPFLAGS'
39126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39129
39130
39131 fi
39132 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39133 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39134 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39135 cat >>confdefs.h <<\_ACEOF
39136 #define wxHAVE_PTHREAD_CLEANUP 1
39137 _ACEOF
39138
39139 fi
39140
39141
39142 for ac_header in sched.h
39143 do
39144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39149 else
39150 cat >conftest.$ac_ext <<_ACEOF
39151 /* confdefs.h. */
39152 _ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 $ac_includes_default
39157
39158 #include <$ac_header>
39159 _ACEOF
39160 rm -f conftest.$ac_objext
39161 if { (ac_try="$ac_compile"
39162 case "(($ac_try" in
39163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39164 *) ac_try_echo=$ac_try;;
39165 esac
39166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39167 (eval "$ac_compile") 2>conftest.er1
39168 ac_status=$?
39169 grep -v '^ *+' conftest.er1 >conftest.err
39170 rm -f conftest.er1
39171 cat conftest.err >&5
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); } && {
39174 test -z "$ac_c_werror_flag" ||
39175 test ! -s conftest.err
39176 } && test -s conftest.$ac_objext; then
39177 eval "$as_ac_Header=yes"
39178 else
39179 echo "$as_me: failed program was:" >&5
39180 sed 's/^/| /' conftest.$ac_ext >&5
39181
39182 eval "$as_ac_Header=no"
39183 fi
39184
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186 fi
39187 ac_res=`eval echo '${'$as_ac_Header'}'`
39188 { echo "$as_me:$LINENO: result: $ac_res" >&5
39189 echo "${ECHO_T}$ac_res" >&6; }
39190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39191 cat >>confdefs.h <<_ACEOF
39192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39193 _ACEOF
39194
39195 fi
39196
39197 done
39198
39199 if test "$ac_cv_header_sched_h" = "yes"; then
39200 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39201 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39202 if test "${ac_cv_func_sched_yield+set}" = set; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 else
39205 cat >conftest.$ac_ext <<_ACEOF
39206 /* confdefs.h. */
39207 _ACEOF
39208 cat confdefs.h >>conftest.$ac_ext
39209 cat >>conftest.$ac_ext <<_ACEOF
39210 /* end confdefs.h. */
39211 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39213 #define sched_yield innocuous_sched_yield
39214
39215 /* System header to define __stub macros and hopefully few prototypes,
39216 which can conflict with char sched_yield (); below.
39217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39218 <limits.h> exists even on freestanding compilers. */
39219
39220 #ifdef __STDC__
39221 # include <limits.h>
39222 #else
39223 # include <assert.h>
39224 #endif
39225
39226 #undef sched_yield
39227
39228 /* Override any GCC internal prototype to avoid an error.
39229 Use char because int might match the return type of a GCC
39230 builtin and then its argument prototype would still apply. */
39231 #ifdef __cplusplus
39232 extern "C"
39233 #endif
39234 char sched_yield ();
39235 /* The GNU C library defines this for functions which it implements
39236 to always fail with ENOSYS. Some functions are actually named
39237 something starting with __ and the normal name is an alias. */
39238 #if defined __stub_sched_yield || defined __stub___sched_yield
39239 choke me
39240 #endif
39241
39242 int
39243 main ()
39244 {
39245 return sched_yield ();
39246 ;
39247 return 0;
39248 }
39249 _ACEOF
39250 rm -f conftest.$ac_objext conftest$ac_exeext
39251 if { (ac_try="$ac_link"
39252 case "(($ac_try" in
39253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39254 *) ac_try_echo=$ac_try;;
39255 esac
39256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39257 (eval "$ac_link") 2>conftest.er1
39258 ac_status=$?
39259 grep -v '^ *+' conftest.er1 >conftest.err
39260 rm -f conftest.er1
39261 cat conftest.err >&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); } && {
39264 test -z "$ac_c_werror_flag" ||
39265 test ! -s conftest.err
39266 } && test -s conftest$ac_exeext &&
39267 $as_test_x conftest$ac_exeext; then
39268 ac_cv_func_sched_yield=yes
39269 else
39270 echo "$as_me: failed program was:" >&5
39271 sed 's/^/| /' conftest.$ac_ext >&5
39272
39273 ac_cv_func_sched_yield=no
39274 fi
39275
39276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39277 conftest$ac_exeext conftest.$ac_ext
39278 fi
39279 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39280 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39281 if test $ac_cv_func_sched_yield = yes; then
39282 cat >>confdefs.h <<\_ACEOF
39283 #define HAVE_SCHED_YIELD 1
39284 _ACEOF
39285
39286 else
39287
39288 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39289 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39290 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39291 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 else
39293 ac_check_lib_save_LIBS=$LIBS
39294 LIBS="-lposix4 $LIBS"
39295 cat >conftest.$ac_ext <<_ACEOF
39296 /* confdefs.h. */
39297 _ACEOF
39298 cat confdefs.h >>conftest.$ac_ext
39299 cat >>conftest.$ac_ext <<_ACEOF
39300 /* end confdefs.h. */
39301
39302 /* Override any GCC internal prototype to avoid an error.
39303 Use char because int might match the return type of a GCC
39304 builtin and then its argument prototype would still apply. */
39305 #ifdef __cplusplus
39306 extern "C"
39307 #endif
39308 char sched_yield ();
39309 int
39310 main ()
39311 {
39312 return sched_yield ();
39313 ;
39314 return 0;
39315 }
39316 _ACEOF
39317 rm -f conftest.$ac_objext conftest$ac_exeext
39318 if { (ac_try="$ac_link"
39319 case "(($ac_try" in
39320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39321 *) ac_try_echo=$ac_try;;
39322 esac
39323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39324 (eval "$ac_link") 2>conftest.er1
39325 ac_status=$?
39326 grep -v '^ *+' conftest.er1 >conftest.err
39327 rm -f conftest.er1
39328 cat conftest.err >&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } && {
39331 test -z "$ac_c_werror_flag" ||
39332 test ! -s conftest.err
39333 } && test -s conftest$ac_exeext &&
39334 $as_test_x conftest$ac_exeext; then
39335 ac_cv_lib_posix4_sched_yield=yes
39336 else
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39339
39340 ac_cv_lib_posix4_sched_yield=no
39341 fi
39342
39343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39344 conftest$ac_exeext conftest.$ac_ext
39345 LIBS=$ac_check_lib_save_LIBS
39346 fi
39347 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39348 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39349 if test $ac_cv_lib_posix4_sched_yield = yes; then
39350 cat >>confdefs.h <<\_ACEOF
39351 #define HAVE_SCHED_YIELD 1
39352 _ACEOF
39353 POSIX4_LINK=" -lposix4"
39354 else
39355 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39356 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39357
39358 fi
39359
39360
39361
39362 fi
39363
39364 fi
39365
39366 HAVE_PRIOR_FUNCS=0
39367 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39368 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39369 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39370 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 else
39372 cat >conftest.$ac_ext <<_ACEOF
39373 /* confdefs.h. */
39374 _ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h. */
39378 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39380 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39381
39382 /* System header to define __stub macros and hopefully few prototypes,
39383 which can conflict with char pthread_attr_getschedpolicy (); below.
39384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39385 <limits.h> exists even on freestanding compilers. */
39386
39387 #ifdef __STDC__
39388 # include <limits.h>
39389 #else
39390 # include <assert.h>
39391 #endif
39392
39393 #undef pthread_attr_getschedpolicy
39394
39395 /* Override any GCC internal prototype to avoid an error.
39396 Use char because int might match the return type of a GCC
39397 builtin and then its argument prototype would still apply. */
39398 #ifdef __cplusplus
39399 extern "C"
39400 #endif
39401 char pthread_attr_getschedpolicy ();
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39406 choke me
39407 #endif
39408
39409 int
39410 main ()
39411 {
39412 return pthread_attr_getschedpolicy ();
39413 ;
39414 return 0;
39415 }
39416 _ACEOF
39417 rm -f conftest.$ac_objext conftest$ac_exeext
39418 if { (ac_try="$ac_link"
39419 case "(($ac_try" in
39420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39421 *) ac_try_echo=$ac_try;;
39422 esac
39423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39424 (eval "$ac_link") 2>conftest.er1
39425 ac_status=$?
39426 grep -v '^ *+' conftest.er1 >conftest.err
39427 rm -f conftest.er1
39428 cat conftest.err >&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } && {
39431 test -z "$ac_c_werror_flag" ||
39432 test ! -s conftest.err
39433 } && test -s conftest$ac_exeext &&
39434 $as_test_x conftest$ac_exeext; then
39435 ac_cv_func_pthread_attr_getschedpolicy=yes
39436 else
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.$ac_ext >&5
39439
39440 ac_cv_func_pthread_attr_getschedpolicy=no
39441 fi
39442
39443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39444 conftest$ac_exeext conftest.$ac_ext
39445 fi
39446 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39447 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39448 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39449 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39450 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39451 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39452 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 else
39454 cat >conftest.$ac_ext <<_ACEOF
39455 /* confdefs.h. */
39456 _ACEOF
39457 cat confdefs.h >>conftest.$ac_ext
39458 cat >>conftest.$ac_ext <<_ACEOF
39459 /* end confdefs.h. */
39460 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39462 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39463
39464 /* System header to define __stub macros and hopefully few prototypes,
39465 which can conflict with char pthread_attr_setschedparam (); below.
39466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39467 <limits.h> exists even on freestanding compilers. */
39468
39469 #ifdef __STDC__
39470 # include <limits.h>
39471 #else
39472 # include <assert.h>
39473 #endif
39474
39475 #undef pthread_attr_setschedparam
39476
39477 /* Override any GCC internal prototype to avoid an error.
39478 Use char because int might match the return type of a GCC
39479 builtin and then its argument prototype would still apply. */
39480 #ifdef __cplusplus
39481 extern "C"
39482 #endif
39483 char pthread_attr_setschedparam ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39488 choke me
39489 #endif
39490
39491 int
39492 main ()
39493 {
39494 return pthread_attr_setschedparam ();
39495 ;
39496 return 0;
39497 }
39498 _ACEOF
39499 rm -f conftest.$ac_objext conftest$ac_exeext
39500 if { (ac_try="$ac_link"
39501 case "(($ac_try" in
39502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39503 *) ac_try_echo=$ac_try;;
39504 esac
39505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39506 (eval "$ac_link") 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } && {
39513 test -z "$ac_c_werror_flag" ||
39514 test ! -s conftest.err
39515 } && test -s conftest$ac_exeext &&
39516 $as_test_x conftest$ac_exeext; then
39517 ac_cv_func_pthread_attr_setschedparam=yes
39518 else
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39521
39522 ac_cv_func_pthread_attr_setschedparam=no
39523 fi
39524
39525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39526 conftest$ac_exeext conftest.$ac_ext
39527 fi
39528 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39529 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39530 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39531 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39532 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39533 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39534 echo $ECHO_N "(cached) $ECHO_C" >&6
39535 else
39536 cat >conftest.$ac_ext <<_ACEOF
39537 /* confdefs.h. */
39538 _ACEOF
39539 cat confdefs.h >>conftest.$ac_ext
39540 cat >>conftest.$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39544 #define sched_get_priority_max innocuous_sched_get_priority_max
39545
39546 /* System header to define __stub macros and hopefully few prototypes,
39547 which can conflict with char sched_get_priority_max (); below.
39548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39549 <limits.h> exists even on freestanding compilers. */
39550
39551 #ifdef __STDC__
39552 # include <limits.h>
39553 #else
39554 # include <assert.h>
39555 #endif
39556
39557 #undef sched_get_priority_max
39558
39559 /* Override any GCC internal prototype to avoid an error.
39560 Use char because int might match the return type of a GCC
39561 builtin and then its argument prototype would still apply. */
39562 #ifdef __cplusplus
39563 extern "C"
39564 #endif
39565 char sched_get_priority_max ();
39566 /* The GNU C library defines this for functions which it implements
39567 to always fail with ENOSYS. Some functions are actually named
39568 something starting with __ and the normal name is an alias. */
39569 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39570 choke me
39571 #endif
39572
39573 int
39574 main ()
39575 {
39576 return sched_get_priority_max ();
39577 ;
39578 return 0;
39579 }
39580 _ACEOF
39581 rm -f conftest.$ac_objext conftest$ac_exeext
39582 if { (ac_try="$ac_link"
39583 case "(($ac_try" in
39584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39585 *) ac_try_echo=$ac_try;;
39586 esac
39587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39588 (eval "$ac_link") 2>conftest.er1
39589 ac_status=$?
39590 grep -v '^ *+' conftest.er1 >conftest.err
39591 rm -f conftest.er1
39592 cat conftest.err >&5
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); } && {
39595 test -z "$ac_c_werror_flag" ||
39596 test ! -s conftest.err
39597 } && test -s conftest$ac_exeext &&
39598 $as_test_x conftest$ac_exeext; then
39599 ac_cv_func_sched_get_priority_max=yes
39600 else
39601 echo "$as_me: failed program was:" >&5
39602 sed 's/^/| /' conftest.$ac_ext >&5
39603
39604 ac_cv_func_sched_get_priority_max=no
39605 fi
39606
39607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39608 conftest$ac_exeext conftest.$ac_ext
39609 fi
39610 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39611 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39612 if test $ac_cv_func_sched_get_priority_max = yes; then
39613 HAVE_PRIOR_FUNCS=1
39614 else
39615 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39616 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39617 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39618 echo $ECHO_N "(cached) $ECHO_C" >&6
39619 else
39620 ac_check_lib_save_LIBS=$LIBS
39621 LIBS="-lposix4 $LIBS"
39622 cat >conftest.$ac_ext <<_ACEOF
39623 /* confdefs.h. */
39624 _ACEOF
39625 cat confdefs.h >>conftest.$ac_ext
39626 cat >>conftest.$ac_ext <<_ACEOF
39627 /* end confdefs.h. */
39628
39629 /* Override any GCC internal prototype to avoid an error.
39630 Use char because int might match the return type of a GCC
39631 builtin and then its argument prototype would still apply. */
39632 #ifdef __cplusplus
39633 extern "C"
39634 #endif
39635 char sched_get_priority_max ();
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_lib_posix4_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_lib_posix4_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 LIBS=$ac_check_lib_save_LIBS
39673 fi
39674 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39675 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39676 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39677
39678 HAVE_PRIOR_FUNCS=1
39679 POSIX4_LINK=" -lposix4"
39680
39681 fi
39682
39683
39684 fi
39685
39686
39687 fi
39688
39689
39690 fi
39691
39692
39693 if test "$HAVE_PRIOR_FUNCS" = 1; then
39694 cat >>confdefs.h <<\_ACEOF
39695 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39696 _ACEOF
39697
39698 else
39699 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39700 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39701 fi
39702
39703 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39704 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39705 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39707 else
39708 cat >conftest.$ac_ext <<_ACEOF
39709 /* confdefs.h. */
39710 _ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39716 #define pthread_cancel innocuous_pthread_cancel
39717
39718 /* System header to define __stub macros and hopefully few prototypes,
39719 which can conflict with char pthread_cancel (); below.
39720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39721 <limits.h> exists even on freestanding compilers. */
39722
39723 #ifdef __STDC__
39724 # include <limits.h>
39725 #else
39726 # include <assert.h>
39727 #endif
39728
39729 #undef pthread_cancel
39730
39731 /* Override any GCC internal prototype to avoid an error.
39732 Use char because int might match the return type of a GCC
39733 builtin and then its argument prototype would still apply. */
39734 #ifdef __cplusplus
39735 extern "C"
39736 #endif
39737 char pthread_cancel ();
39738 /* The GNU C library defines this for functions which it implements
39739 to always fail with ENOSYS. Some functions are actually named
39740 something starting with __ and the normal name is an alias. */
39741 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39742 choke me
39743 #endif
39744
39745 int
39746 main ()
39747 {
39748 return pthread_cancel ();
39749 ;
39750 return 0;
39751 }
39752 _ACEOF
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (ac_try="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39758 esac
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39761 ac_status=$?
39762 grep -v '^ *+' conftest.er1 >conftest.err
39763 rm -f conftest.er1
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 ac_cv_func_pthread_cancel=yes
39772 else
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776 ac_cv_func_pthread_cancel=no
39777 fi
39778
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39781 fi
39782 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39783 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39784 if test $ac_cv_func_pthread_cancel = yes; then
39785 cat >>confdefs.h <<\_ACEOF
39786 #define HAVE_PTHREAD_CANCEL 1
39787 _ACEOF
39788
39789 else
39790 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39791 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39792 fi
39793
39794
39795 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39796 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39797 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 else
39800 cat >conftest.$ac_ext <<_ACEOF
39801 /* confdefs.h. */
39802 _ACEOF
39803 cat confdefs.h >>conftest.$ac_ext
39804 cat >>conftest.$ac_ext <<_ACEOF
39805 /* end confdefs.h. */
39806 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39808 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39809
39810 /* System header to define __stub macros and hopefully few prototypes,
39811 which can conflict with char pthread_mutex_timedlock (); below.
39812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39813 <limits.h> exists even on freestanding compilers. */
39814
39815 #ifdef __STDC__
39816 # include <limits.h>
39817 #else
39818 # include <assert.h>
39819 #endif
39820
39821 #undef pthread_mutex_timedlock
39822
39823 /* Override any GCC internal prototype to avoid an error.
39824 Use char because int might match the return type of a GCC
39825 builtin and then its argument prototype would still apply. */
39826 #ifdef __cplusplus
39827 extern "C"
39828 #endif
39829 char pthread_mutex_timedlock ();
39830 /* The GNU C library defines this for functions which it implements
39831 to always fail with ENOSYS. Some functions are actually named
39832 something starting with __ and the normal name is an alias. */
39833 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39834 choke me
39835 #endif
39836
39837 int
39838 main ()
39839 {
39840 return pthread_mutex_timedlock ();
39841 ;
39842 return 0;
39843 }
39844 _ACEOF
39845 rm -f conftest.$ac_objext conftest$ac_exeext
39846 if { (ac_try="$ac_link"
39847 case "(($ac_try" in
39848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39849 *) ac_try_echo=$ac_try;;
39850 esac
39851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39852 (eval "$ac_link") 2>conftest.er1
39853 ac_status=$?
39854 grep -v '^ *+' conftest.er1 >conftest.err
39855 rm -f conftest.er1
39856 cat conftest.err >&5
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); } && {
39859 test -z "$ac_c_werror_flag" ||
39860 test ! -s conftest.err
39861 } && test -s conftest$ac_exeext &&
39862 $as_test_x conftest$ac_exeext; then
39863 ac_cv_func_pthread_mutex_timedlock=yes
39864 else
39865 echo "$as_me: failed program was:" >&5
39866 sed 's/^/| /' conftest.$ac_ext >&5
39867
39868 ac_cv_func_pthread_mutex_timedlock=no
39869 fi
39870
39871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39872 conftest$ac_exeext conftest.$ac_ext
39873 fi
39874 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39875 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39876 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39877 cat >>confdefs.h <<\_ACEOF
39878 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39879 _ACEOF
39880
39881 else
39882 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39883 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39884 fi
39885
39886
39887 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39888 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39889 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39890 echo $ECHO_N "(cached) $ECHO_C" >&6
39891 else
39892 cat >conftest.$ac_ext <<_ACEOF
39893 /* confdefs.h. */
39894 _ACEOF
39895 cat confdefs.h >>conftest.$ac_ext
39896 cat >>conftest.$ac_ext <<_ACEOF
39897 /* end confdefs.h. */
39898 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39900 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39901
39902 /* System header to define __stub macros and hopefully few prototypes,
39903 which can conflict with char pthread_attr_setstacksize (); below.
39904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39905 <limits.h> exists even on freestanding compilers. */
39906
39907 #ifdef __STDC__
39908 # include <limits.h>
39909 #else
39910 # include <assert.h>
39911 #endif
39912
39913 #undef pthread_attr_setstacksize
39914
39915 /* Override any GCC internal prototype to avoid an error.
39916 Use char because int might match the return type of a GCC
39917 builtin and then its argument prototype would still apply. */
39918 #ifdef __cplusplus
39919 extern "C"
39920 #endif
39921 char pthread_attr_setstacksize ();
39922 /* The GNU C library defines this for functions which it implements
39923 to always fail with ENOSYS. Some functions are actually named
39924 something starting with __ and the normal name is an alias. */
39925 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39926 choke me
39927 #endif
39928
39929 int
39930 main ()
39931 {
39932 return pthread_attr_setstacksize ();
39933 ;
39934 return 0;
39935 }
39936 _ACEOF
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (ac_try="$ac_link"
39939 case "(($ac_try" in
39940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39941 *) ac_try_echo=$ac_try;;
39942 esac
39943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39944 (eval "$ac_link") 2>conftest.er1
39945 ac_status=$?
39946 grep -v '^ *+' conftest.er1 >conftest.err
39947 rm -f conftest.er1
39948 cat conftest.err >&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); } && {
39951 test -z "$ac_c_werror_flag" ||
39952 test ! -s conftest.err
39953 } && test -s conftest$ac_exeext &&
39954 $as_test_x conftest$ac_exeext; then
39955 ac_cv_func_pthread_attr_setstacksize=yes
39956 else
39957 echo "$as_me: failed program was:" >&5
39958 sed 's/^/| /' conftest.$ac_ext >&5
39959
39960 ac_cv_func_pthread_attr_setstacksize=no
39961 fi
39962
39963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39964 conftest$ac_exeext conftest.$ac_ext
39965 fi
39966 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39967 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39968 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39969 cat >>confdefs.h <<\_ACEOF
39970 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39971 _ACEOF
39972
39973 fi
39974
39975
39976
39977 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39978 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39979 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39980 echo $ECHO_N "(cached) $ECHO_C" >&6
39981 else
39982
39983 cat >conftest.$ac_ext <<_ACEOF
39984 /* confdefs.h. */
39985 _ACEOF
39986 cat confdefs.h >>conftest.$ac_ext
39987 cat >>conftest.$ac_ext <<_ACEOF
39988 /* end confdefs.h. */
39989 #include <pthread.h>
39990 int
39991 main ()
39992 {
39993
39994 pthread_mutexattr_t attr;
39995 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39996
39997 ;
39998 return 0;
39999 }
40000 _ACEOF
40001 rm -f conftest.$ac_objext
40002 if { (ac_try="$ac_compile"
40003 case "(($ac_try" in
40004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40005 *) ac_try_echo=$ac_try;;
40006 esac
40007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40008 (eval "$ac_compile") 2>conftest.er1
40009 ac_status=$?
40010 grep -v '^ *+' conftest.er1 >conftest.err
40011 rm -f conftest.er1
40012 cat conftest.err >&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); } && {
40015 test -z "$ac_c_werror_flag" ||
40016 test ! -s conftest.err
40017 } && test -s conftest.$ac_objext; then
40018 wx_cv_type_pthread_mutexattr_t=yes
40019 else
40020 echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.$ac_ext >&5
40022
40023 wx_cv_type_pthread_mutexattr_t=no
40024
40025 fi
40026
40027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40028
40029 fi
40030 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40031 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40032
40033 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40034 cat >>confdefs.h <<\_ACEOF
40035 #define HAVE_PTHREAD_MUTEXATTR_T 1
40036 _ACEOF
40037
40038
40039 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40040 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40041 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40042 echo $ECHO_N "(cached) $ECHO_C" >&6
40043 else
40044
40045 cat >conftest.$ac_ext <<_ACEOF
40046 /* confdefs.h. */
40047 _ACEOF
40048 cat confdefs.h >>conftest.$ac_ext
40049 cat >>conftest.$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40051 #include <pthread.h>
40052 int
40053 main ()
40054 {
40055
40056 pthread_mutexattr_t attr;
40057 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40058
40059 ;
40060 return 0;
40061 }
40062 _ACEOF
40063 rm -f conftest.$ac_objext
40064 if { (ac_try="$ac_compile"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40068 esac
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_compile") 2>conftest.er1
40071 ac_status=$?
40072 grep -v '^ *+' conftest.er1 >conftest.err
40073 rm -f conftest.er1
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest.$ac_objext; then
40080 wx_cv_func_pthread_mutexattr_settype_decl=yes
40081 else
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40084
40085 wx_cv_func_pthread_mutexattr_settype_decl=no
40086
40087 fi
40088
40089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40090
40091 fi
40092 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40093 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40094 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40095 cat >>confdefs.h <<\_ACEOF
40096 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40097 _ACEOF
40098
40099 fi
40100 else
40101 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40102 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40103 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40105 else
40106
40107 cat >conftest.$ac_ext <<_ACEOF
40108 /* confdefs.h. */
40109 _ACEOF
40110 cat confdefs.h >>conftest.$ac_ext
40111 cat >>conftest.$ac_ext <<_ACEOF
40112 /* end confdefs.h. */
40113 #include <pthread.h>
40114 int
40115 main ()
40116 {
40117
40118 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40119
40120 ;
40121 return 0;
40122 }
40123 _ACEOF
40124 rm -f conftest.$ac_objext
40125 if { (ac_try="$ac_compile"
40126 case "(($ac_try" in
40127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40128 *) ac_try_echo=$ac_try;;
40129 esac
40130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40131 (eval "$ac_compile") 2>conftest.er1
40132 ac_status=$?
40133 grep -v '^ *+' conftest.er1 >conftest.err
40134 rm -f conftest.er1
40135 cat conftest.err >&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } && {
40138 test -z "$ac_c_werror_flag" ||
40139 test ! -s conftest.err
40140 } && test -s conftest.$ac_objext; then
40141
40142 wx_cv_type_pthread_rec_mutex_init=yes
40143
40144 else
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40147
40148
40149 wx_cv_type_pthread_rec_mutex_init=no
40150
40151
40152 fi
40153
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155
40156 fi
40157 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40158 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40159 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40160 cat >>confdefs.h <<\_ACEOF
40161 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40162 _ACEOF
40163
40164 else
40165 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40166 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40167 fi
40168 fi
40169
40170 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40171 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40172 if test "${wx_cv_cc___thread+set}" = set; then
40173 echo $ECHO_N "(cached) $ECHO_C" >&6
40174 else
40175
40176 cat >conftest.$ac_ext <<_ACEOF
40177 /* confdefs.h. */
40178 _ACEOF
40179 cat confdefs.h >>conftest.$ac_ext
40180 cat >>conftest.$ac_ext <<_ACEOF
40181 /* end confdefs.h. */
40182 #include <pthread.h>
40183 int
40184 main ()
40185 {
40186
40187 static __thread int n = 0;
40188 static __thread int *p = 0;
40189
40190 ;
40191 return 0;
40192 }
40193 _ACEOF
40194 rm -f conftest.$ac_objext
40195 if { (ac_try="$ac_compile"
40196 case "(($ac_try" in
40197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40198 *) ac_try_echo=$ac_try;;
40199 esac
40200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40201 (eval "$ac_compile") 2>conftest.er1
40202 ac_status=$?
40203 grep -v '^ *+' conftest.er1 >conftest.err
40204 rm -f conftest.er1
40205 cat conftest.err >&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); } && {
40208 test -z "$ac_c_werror_flag" ||
40209 test ! -s conftest.err
40210 } && test -s conftest.$ac_objext; then
40211 wx_cv_cc___thread=yes
40212 else
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.$ac_ext >&5
40215
40216 wx_cv_cc___thread=no
40217
40218 fi
40219
40220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40221
40222 fi
40223 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40224 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40225
40226 if test "$wx_cv_cc___thread" = "yes"; then
40227 cat >>confdefs.h <<\_ACEOF
40228 #define HAVE___THREAD_KEYWORD 1
40229 _ACEOF
40230
40231 fi
40232 fi
40233
40234 else
40235 if test "$wxUSE_THREADS" = "yes" ; then
40236 case "${host}" in
40237 x86_64-*-mingw32* )
40238 ;;
40239 *-*-mingw32* )
40240 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40241 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40242 if test "${wx_cv_cflags_mthread+set}" = set; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40244 else
40245
40246 CFLAGS_OLD="$CFLAGS"
40247 CFLAGS="-mthreads $CFLAGS"
40248 cat >conftest.$ac_ext <<_ACEOF
40249 /* confdefs.h. */
40250 _ACEOF
40251 cat confdefs.h >>conftest.$ac_ext
40252 cat >>conftest.$ac_ext <<_ACEOF
40253 /* end confdefs.h. */
40254
40255 int
40256 main ()
40257 {
40258
40259 ;
40260 return 0;
40261 }
40262 _ACEOF
40263 rm -f conftest.$ac_objext
40264 if { (ac_try="$ac_compile"
40265 case "(($ac_try" in
40266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40267 *) ac_try_echo=$ac_try;;
40268 esac
40269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40270 (eval "$ac_compile") 2>conftest.er1
40271 ac_status=$?
40272 grep -v '^ *+' conftest.er1 >conftest.err
40273 rm -f conftest.er1
40274 cat conftest.err >&5
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); } && {
40277 test -z "$ac_c_werror_flag" ||
40278 test ! -s conftest.err
40279 } && test -s conftest.$ac_objext; then
40280 wx_cv_cflags_mthread=yes
40281 else
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40284
40285 wx_cv_cflags_mthread=no
40286
40287 fi
40288
40289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40290
40291
40292 fi
40293 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40294 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40295
40296 if test "$wx_cv_cflags_mthread" = "yes"; then
40297 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40298 LDFLAGS="$LDFLAGS -mthreads"
40299 else
40300 CFLAGS="$CFLAGS_OLD"
40301 fi
40302 ;;
40303 *-pc-os2*emx )
40304 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40305 LDFLAGS="$LDFLAGS -Zmt"
40306 ;;
40307 esac
40308 fi
40309 fi
40310
40311 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40312 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40313 if test "${ac_cv_func_localtime_r+set}" = set; then
40314 echo $ECHO_N "(cached) $ECHO_C" >&6
40315 else
40316 cat >conftest.$ac_ext <<_ACEOF
40317 /* confdefs.h. */
40318 _ACEOF
40319 cat confdefs.h >>conftest.$ac_ext
40320 cat >>conftest.$ac_ext <<_ACEOF
40321 /* end confdefs.h. */
40322 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40324 #define localtime_r innocuous_localtime_r
40325
40326 /* System header to define __stub macros and hopefully few prototypes,
40327 which can conflict with char localtime_r (); below.
40328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40329 <limits.h> exists even on freestanding compilers. */
40330
40331 #ifdef __STDC__
40332 # include <limits.h>
40333 #else
40334 # include <assert.h>
40335 #endif
40336
40337 #undef localtime_r
40338
40339 /* Override any GCC internal prototype to avoid an error.
40340 Use char because int might match the return type of a GCC
40341 builtin and then its argument prototype would still apply. */
40342 #ifdef __cplusplus
40343 extern "C"
40344 #endif
40345 char localtime_r ();
40346 /* The GNU C library defines this for functions which it implements
40347 to always fail with ENOSYS. Some functions are actually named
40348 something starting with __ and the normal name is an alias. */
40349 #if defined __stub_localtime_r || defined __stub___localtime_r
40350 choke me
40351 #endif
40352
40353 int
40354 main ()
40355 {
40356 return localtime_r ();
40357 ;
40358 return 0;
40359 }
40360 _ACEOF
40361 rm -f conftest.$ac_objext conftest$ac_exeext
40362 if { (ac_try="$ac_link"
40363 case "(($ac_try" in
40364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40365 *) ac_try_echo=$ac_try;;
40366 esac
40367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40368 (eval "$ac_link") 2>conftest.er1
40369 ac_status=$?
40370 grep -v '^ *+' conftest.er1 >conftest.err
40371 rm -f conftest.er1
40372 cat conftest.err >&5
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); } && {
40375 test -z "$ac_c_werror_flag" ||
40376 test ! -s conftest.err
40377 } && test -s conftest$ac_exeext &&
40378 $as_test_x conftest$ac_exeext; then
40379 ac_cv_func_localtime_r=yes
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40383
40384 ac_cv_func_localtime_r=no
40385 fi
40386
40387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40388 conftest$ac_exeext conftest.$ac_ext
40389 fi
40390 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40391 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40392 if test $ac_cv_func_localtime_r = yes; then
40393 cat >>confdefs.h <<\_ACEOF
40394 #define HAVE_LOCALTIME_R 1
40395 _ACEOF
40396
40397 fi
40398
40399 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40400 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40401 if test "${ac_cv_func_gmtime_r+set}" = set; then
40402 echo $ECHO_N "(cached) $ECHO_C" >&6
40403 else
40404 cat >conftest.$ac_ext <<_ACEOF
40405 /* confdefs.h. */
40406 _ACEOF
40407 cat confdefs.h >>conftest.$ac_ext
40408 cat >>conftest.$ac_ext <<_ACEOF
40409 /* end confdefs.h. */
40410 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40412 #define gmtime_r innocuous_gmtime_r
40413
40414 /* System header to define __stub macros and hopefully few prototypes,
40415 which can conflict with char gmtime_r (); below.
40416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40417 <limits.h> exists even on freestanding compilers. */
40418
40419 #ifdef __STDC__
40420 # include <limits.h>
40421 #else
40422 # include <assert.h>
40423 #endif
40424
40425 #undef gmtime_r
40426
40427 /* Override any GCC internal prototype to avoid an error.
40428 Use char because int might match the return type of a GCC
40429 builtin and then its argument prototype would still apply. */
40430 #ifdef __cplusplus
40431 extern "C"
40432 #endif
40433 char gmtime_r ();
40434 /* The GNU C library defines this for functions which it implements
40435 to always fail with ENOSYS. Some functions are actually named
40436 something starting with __ and the normal name is an alias. */
40437 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40438 choke me
40439 #endif
40440
40441 int
40442 main ()
40443 {
40444 return gmtime_r ();
40445 ;
40446 return 0;
40447 }
40448 _ACEOF
40449 rm -f conftest.$ac_objext conftest$ac_exeext
40450 if { (ac_try="$ac_link"
40451 case "(($ac_try" in
40452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40453 *) ac_try_echo=$ac_try;;
40454 esac
40455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40456 (eval "$ac_link") 2>conftest.er1
40457 ac_status=$?
40458 grep -v '^ *+' conftest.er1 >conftest.err
40459 rm -f conftest.er1
40460 cat conftest.err >&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } && {
40463 test -z "$ac_c_werror_flag" ||
40464 test ! -s conftest.err
40465 } && test -s conftest$ac_exeext &&
40466 $as_test_x conftest$ac_exeext; then
40467 ac_cv_func_gmtime_r=yes
40468 else
40469 echo "$as_me: failed program was:" >&5
40470 sed 's/^/| /' conftest.$ac_ext >&5
40471
40472 ac_cv_func_gmtime_r=no
40473 fi
40474
40475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40476 conftest$ac_exeext conftest.$ac_ext
40477 fi
40478 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40479 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40480 if test $ac_cv_func_gmtime_r = yes; then
40481 cat >>confdefs.h <<\_ACEOF
40482 #define HAVE_GMTIME_R 1
40483 _ACEOF
40484
40485 fi
40486
40487
40488
40489
40490 ac_ext=c
40491 ac_cpp='$CPP $CPPFLAGS'
40492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495
40496 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40497 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40498
40499 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40500 echo $ECHO_N "(cached) $ECHO_C" >&6
40501 else
40502
40503
40504 ################################################################
40505
40506 ac_cv_func_which_gethostbyname_r=unknown
40507
40508 #
40509 # ONE ARGUMENT (sanity check)
40510 #
40511
40512 # This should fail, as there is no variant of gethostbyname_r() that takes
40513 # a single argument. If it actually compiles, then we can assume that
40514 # netdb.h is not declaring the function, and the compiler is thereby
40515 # assuming an implicit prototype. In which case, we're out of luck.
40516 #
40517 cat >conftest.$ac_ext <<_ACEOF
40518 /* confdefs.h. */
40519 _ACEOF
40520 cat confdefs.h >>conftest.$ac_ext
40521 cat >>conftest.$ac_ext <<_ACEOF
40522 /* end confdefs.h. */
40523 #include <netdb.h>
40524 int
40525 main ()
40526 {
40527
40528 char *name = "www.gnu.org";
40529 (void)gethostbyname_r(name) /* ; */
40530
40531 ;
40532 return 0;
40533 }
40534 _ACEOF
40535 rm -f conftest.$ac_objext
40536 if { (ac_try="$ac_compile"
40537 case "(($ac_try" in
40538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40539 *) ac_try_echo=$ac_try;;
40540 esac
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_compile") 2>conftest.er1
40543 ac_status=$?
40544 grep -v '^ *+' conftest.er1 >conftest.err
40545 rm -f conftest.er1
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_c_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest.$ac_objext; then
40552 ac_cv_func_which_gethostbyname_r=no
40553 else
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40556
40557
40558 fi
40559
40560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40561
40562 #
40563 # SIX ARGUMENTS
40564 # (e.g. Linux)
40565 #
40566
40567 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40568
40569 cat >conftest.$ac_ext <<_ACEOF
40570 /* confdefs.h. */
40571 _ACEOF
40572 cat confdefs.h >>conftest.$ac_ext
40573 cat >>conftest.$ac_ext <<_ACEOF
40574 /* end confdefs.h. */
40575 #include <netdb.h>
40576 int
40577 main ()
40578 {
40579
40580 char *name = "www.gnu.org";
40581 struct hostent ret, *retp;
40582 char buf[1024];
40583 int buflen = 1024;
40584 int my_h_errno;
40585 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40586
40587 ;
40588 return 0;
40589 }
40590 _ACEOF
40591 rm -f conftest.$ac_objext
40592 if { (ac_try="$ac_compile"
40593 case "(($ac_try" in
40594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40595 *) ac_try_echo=$ac_try;;
40596 esac
40597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40598 (eval "$ac_compile") 2>conftest.er1
40599 ac_status=$?
40600 grep -v '^ *+' conftest.er1 >conftest.err
40601 rm -f conftest.er1
40602 cat conftest.err >&5
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); } && {
40605 test -z "$ac_c_werror_flag" ||
40606 test ! -s conftest.err
40607 } && test -s conftest.$ac_objext; then
40608 ac_cv_func_which_gethostbyname_r=six
40609 else
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40612
40613
40614 fi
40615
40616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40617
40618 fi
40619
40620 #
40621 # FIVE ARGUMENTS
40622 # (e.g. Solaris)
40623 #
40624
40625 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40626
40627 cat >conftest.$ac_ext <<_ACEOF
40628 /* confdefs.h. */
40629 _ACEOF
40630 cat confdefs.h >>conftest.$ac_ext
40631 cat >>conftest.$ac_ext <<_ACEOF
40632 /* end confdefs.h. */
40633 #include <netdb.h>
40634 int
40635 main ()
40636 {
40637
40638 char *name = "www.gnu.org";
40639 struct hostent ret;
40640 char buf[1024];
40641 int buflen = 1024;
40642 int my_h_errno;
40643 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40644
40645 ;
40646 return 0;
40647 }
40648 _ACEOF
40649 rm -f conftest.$ac_objext
40650 if { (ac_try="$ac_compile"
40651 case "(($ac_try" in
40652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40653 *) ac_try_echo=$ac_try;;
40654 esac
40655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40656 (eval "$ac_compile") 2>conftest.er1
40657 ac_status=$?
40658 grep -v '^ *+' conftest.er1 >conftest.err
40659 rm -f conftest.er1
40660 cat conftest.err >&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } && {
40663 test -z "$ac_c_werror_flag" ||
40664 test ! -s conftest.err
40665 } && test -s conftest.$ac_objext; then
40666 ac_cv_func_which_gethostbyname_r=five
40667 else
40668 echo "$as_me: failed program was:" >&5
40669 sed 's/^/| /' conftest.$ac_ext >&5
40670
40671
40672 fi
40673
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675
40676 fi
40677
40678 #
40679 # THREE ARGUMENTS
40680 # (e.g. AIX, HP-UX, Tru64)
40681 #
40682
40683 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40684
40685 cat >conftest.$ac_ext <<_ACEOF
40686 /* confdefs.h. */
40687 _ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 #include <netdb.h>
40692 int
40693 main ()
40694 {
40695
40696 char *name = "www.gnu.org";
40697 struct hostent ret;
40698 struct hostent_data data;
40699 (void)gethostbyname_r(name, &ret, &data) /* ; */
40700
40701 ;
40702 return 0;
40703 }
40704 _ACEOF
40705 rm -f conftest.$ac_objext
40706 if { (ac_try="$ac_compile"
40707 case "(($ac_try" in
40708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40709 *) ac_try_echo=$ac_try;;
40710 esac
40711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40712 (eval "$ac_compile") 2>conftest.er1
40713 ac_status=$?
40714 grep -v '^ *+' conftest.er1 >conftest.err
40715 rm -f conftest.er1
40716 cat conftest.err >&5
40717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40718 (exit $ac_status); } && {
40719 test -z "$ac_c_werror_flag" ||
40720 test ! -s conftest.err
40721 } && test -s conftest.$ac_objext; then
40722 ac_cv_func_which_gethostbyname_r=three
40723 else
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40726
40727
40728 fi
40729
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731
40732 fi
40733
40734 ################################################################
40735
40736
40737 fi
40738
40739 case "$ac_cv_func_which_gethostbyname_r" in
40740 three)
40741 { echo "$as_me:$LINENO: result: three" >&5
40742 echo "${ECHO_T}three" >&6; }
40743 cat >>confdefs.h <<\_ACEOF
40744 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40745 _ACEOF
40746
40747 ;;
40748
40749 five)
40750 { echo "$as_me:$LINENO: result: five" >&5
40751 echo "${ECHO_T}five" >&6; }
40752 cat >>confdefs.h <<\_ACEOF
40753 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40754 _ACEOF
40755
40756 ;;
40757
40758 six)
40759 { echo "$as_me:$LINENO: result: six" >&5
40760 echo "${ECHO_T}six" >&6; }
40761 cat >>confdefs.h <<\_ACEOF
40762 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40763 _ACEOF
40764
40765 ;;
40766
40767 no)
40768 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40769 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40770 ;;
40771
40772 unknown)
40773 { echo "$as_me:$LINENO: result: can't tell" >&5
40774 echo "${ECHO_T}can't tell" >&6; }
40775 ;;
40776
40777 *)
40778 { { echo "$as_me:$LINENO: error: internal error" >&5
40779 echo "$as_me: error: internal error" >&2;}
40780 { (exit 1); exit 1; }; }
40781 ;;
40782 esac
40783
40784 ac_ext=c
40785 ac_cpp='$CPP $CPPFLAGS'
40786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40789
40790
40791
40792 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40793 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40794 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40795 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40796 if test "${ac_cv_func_gethostbyname+set}" = set; then
40797 echo $ECHO_N "(cached) $ECHO_C" >&6
40798 else
40799 cat >conftest.$ac_ext <<_ACEOF
40800 /* confdefs.h. */
40801 _ACEOF
40802 cat confdefs.h >>conftest.$ac_ext
40803 cat >>conftest.$ac_ext <<_ACEOF
40804 /* end confdefs.h. */
40805 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40807 #define gethostbyname innocuous_gethostbyname
40808
40809 /* System header to define __stub macros and hopefully few prototypes,
40810 which can conflict with char gethostbyname (); below.
40811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40812 <limits.h> exists even on freestanding compilers. */
40813
40814 #ifdef __STDC__
40815 # include <limits.h>
40816 #else
40817 # include <assert.h>
40818 #endif
40819
40820 #undef gethostbyname
40821
40822 /* Override any GCC internal prototype to avoid an error.
40823 Use char because int might match the return type of a GCC
40824 builtin and then its argument prototype would still apply. */
40825 #ifdef __cplusplus
40826 extern "C"
40827 #endif
40828 char gethostbyname ();
40829 /* The GNU C library defines this for functions which it implements
40830 to always fail with ENOSYS. Some functions are actually named
40831 something starting with __ and the normal name is an alias. */
40832 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40833 choke me
40834 #endif
40835
40836 int
40837 main ()
40838 {
40839 return gethostbyname ();
40840 ;
40841 return 0;
40842 }
40843 _ACEOF
40844 rm -f conftest.$ac_objext conftest$ac_exeext
40845 if { (ac_try="$ac_link"
40846 case "(($ac_try" in
40847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40849 esac
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_link") 2>conftest.er1
40852 ac_status=$?
40853 grep -v '^ *+' conftest.er1 >conftest.err
40854 rm -f conftest.er1
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } && {
40858 test -z "$ac_c_werror_flag" ||
40859 test ! -s conftest.err
40860 } && test -s conftest$ac_exeext &&
40861 $as_test_x conftest$ac_exeext; then
40862 ac_cv_func_gethostbyname=yes
40863 else
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40866
40867 ac_cv_func_gethostbyname=no
40868 fi
40869
40870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40871 conftest$ac_exeext conftest.$ac_ext
40872 fi
40873 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40874 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40875 if test $ac_cv_func_gethostbyname = yes; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define HAVE_GETHOSTBYNAME 1
40878 _ACEOF
40879
40880 fi
40881
40882 fi
40883
40884 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40885 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40886 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 else
40889
40890 ac_ext=cpp
40891 ac_cpp='$CXXCPP $CPPFLAGS'
40892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895
40896
40897 cat >conftest.$ac_ext <<_ACEOF
40898 /* confdefs.h. */
40899 _ACEOF
40900 cat confdefs.h >>conftest.$ac_ext
40901 cat >>conftest.$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40903 #include <netdb.h>
40904 int
40905 main ()
40906 {
40907
40908 char *name;
40909 char *proto;
40910 struct servent *se, *res;
40911 char buffer[2048];
40912 int buflen = 2048;
40913 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40914
40915 ;
40916 return 0;
40917 }
40918 _ACEOF
40919 rm -f conftest.$ac_objext
40920 if { (ac_try="$ac_compile"
40921 case "(($ac_try" in
40922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40923 *) ac_try_echo=$ac_try;;
40924 esac
40925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40926 (eval "$ac_compile") 2>conftest.er1
40927 ac_status=$?
40928 grep -v '^ *+' conftest.er1 >conftest.err
40929 rm -f conftest.er1
40930 cat conftest.err >&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); } && {
40933 test -z "$ac_cxx_werror_flag" ||
40934 test ! -s conftest.err
40935 } && test -s conftest.$ac_objext; then
40936 ac_cv_func_which_getservbyname_r=six
40937 else
40938 echo "$as_me: failed program was:" >&5
40939 sed 's/^/| /' conftest.$ac_ext >&5
40940
40941
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 #include <netdb.h>
40949 int
40950 main ()
40951 {
40952
40953 char *name;
40954 char *proto;
40955 struct servent *se;
40956 char buffer[2048];
40957 int buflen = 2048;
40958 (void) getservbyname_r(name, proto, se, buffer, buflen)
40959
40960 ;
40961 return 0;
40962 }
40963 _ACEOF
40964 rm -f conftest.$ac_objext
40965 if { (ac_try="$ac_compile"
40966 case "(($ac_try" in
40967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40968 *) ac_try_echo=$ac_try;;
40969 esac
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_compile") 2>conftest.er1
40972 ac_status=$?
40973 grep -v '^ *+' conftest.er1 >conftest.err
40974 rm -f conftest.er1
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_cxx_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest.$ac_objext; then
40981 ac_cv_func_which_getservbyname_r=five
40982 else
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40985
40986
40987 cat >conftest.$ac_ext <<_ACEOF
40988 /* confdefs.h. */
40989 _ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40993 #include <netdb.h>
40994 int
40995 main ()
40996 {
40997
40998 char *name;
40999 char *proto;
41000 struct servent *se;
41001 struct servent_data data;
41002 (void) getservbyname_r(name, proto, se, &data);
41003
41004 ;
41005 return 0;
41006 }
41007 _ACEOF
41008 rm -f conftest.$ac_objext
41009 if { (ac_try="$ac_compile"
41010 case "(($ac_try" in
41011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41012 *) ac_try_echo=$ac_try;;
41013 esac
41014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41015 (eval "$ac_compile") 2>conftest.er1
41016 ac_status=$?
41017 grep -v '^ *+' conftest.er1 >conftest.err
41018 rm -f conftest.er1
41019 cat conftest.err >&5
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); } && {
41022 test -z "$ac_cxx_werror_flag" ||
41023 test ! -s conftest.err
41024 } && test -s conftest.$ac_objext; then
41025 ac_cv_func_which_getservbyname_r=four
41026 else
41027 echo "$as_me: failed program was:" >&5
41028 sed 's/^/| /' conftest.$ac_ext >&5
41029
41030 ac_cv_func_which_getservbyname_r=no
41031
41032 fi
41033
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035
41036
41037 fi
41038
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41040
41041
41042 fi
41043
41044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41045 ac_ext=c
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41050
41051
41052
41053 fi
41054 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41055 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41056
41057 if test $ac_cv_func_which_getservbyname_r = six; then
41058 cat >>confdefs.h <<\_ACEOF
41059 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41060 _ACEOF
41061
41062 elif test $ac_cv_func_which_getservbyname_r = five; then
41063 cat >>confdefs.h <<\_ACEOF
41064 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41065 _ACEOF
41066
41067 elif test $ac_cv_func_which_getservbyname_r = four; then
41068 cat >>confdefs.h <<\_ACEOF
41069 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41070 _ACEOF
41071
41072 fi
41073
41074
41075 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41076 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41077
41078 for ac_func in getservbyname
41079 do
41080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41084 echo $ECHO_N "(cached) $ECHO_C" >&6
41085 else
41086 cat >conftest.$ac_ext <<_ACEOF
41087 /* confdefs.h. */
41088 _ACEOF
41089 cat confdefs.h >>conftest.$ac_ext
41090 cat >>conftest.$ac_ext <<_ACEOF
41091 /* end confdefs.h. */
41092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41094 #define $ac_func innocuous_$ac_func
41095
41096 /* System header to define __stub macros and hopefully few prototypes,
41097 which can conflict with char $ac_func (); below.
41098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41099 <limits.h> exists even on freestanding compilers. */
41100
41101 #ifdef __STDC__
41102 # include <limits.h>
41103 #else
41104 # include <assert.h>
41105 #endif
41106
41107 #undef $ac_func
41108
41109 /* Override any GCC internal prototype to avoid an error.
41110 Use char because int might match the return type of a GCC
41111 builtin and then its argument prototype would still apply. */
41112 #ifdef __cplusplus
41113 extern "C"
41114 #endif
41115 char $ac_func ();
41116 /* The GNU C library defines this for functions which it implements
41117 to always fail with ENOSYS. Some functions are actually named
41118 something starting with __ and the normal name is an alias. */
41119 #if defined __stub_$ac_func || defined __stub___$ac_func
41120 choke me
41121 #endif
41122
41123 int
41124 main ()
41125 {
41126 return $ac_func ();
41127 ;
41128 return 0;
41129 }
41130 _ACEOF
41131 rm -f conftest.$ac_objext conftest$ac_exeext
41132 if { (ac_try="$ac_link"
41133 case "(($ac_try" in
41134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41135 *) ac_try_echo=$ac_try;;
41136 esac
41137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41138 (eval "$ac_link") 2>conftest.er1
41139 ac_status=$?
41140 grep -v '^ *+' conftest.er1 >conftest.err
41141 rm -f conftest.er1
41142 cat conftest.err >&5
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); } && {
41145 test -z "$ac_c_werror_flag" ||
41146 test ! -s conftest.err
41147 } && test -s conftest$ac_exeext &&
41148 $as_test_x conftest$ac_exeext; then
41149 eval "$as_ac_var=yes"
41150 else
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.$ac_ext >&5
41153
41154 eval "$as_ac_var=no"
41155 fi
41156
41157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41158 conftest$ac_exeext conftest.$ac_ext
41159 fi
41160 ac_res=`eval echo '${'$as_ac_var'}'`
41161 { echo "$as_me:$LINENO: result: $ac_res" >&5
41162 echo "${ECHO_T}$ac_res" >&6; }
41163 if test `eval echo '${'$as_ac_var'}'` = yes; then
41164 cat >>confdefs.h <<_ACEOF
41165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41166 _ACEOF
41167 cat >>confdefs.h <<\_ACEOF
41168 #define HAVE_GETSERVBYNAME 1
41169 _ACEOF
41170
41171 fi
41172 done
41173
41174 fi
41175
41176 if test "$wxUSE_THREADS" = "yes"; then
41177 cat >>confdefs.h <<\_ACEOF
41178 #define wxUSE_THREADS 1
41179 _ACEOF
41180
41181
41182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41183 else
41184 if test "$wx_cv_func_strtok_r" = "yes"; then
41185 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41186 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41187 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41188 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41189 { echo "$as_me:$LINENO: result: yes" >&5
41190 echo "${ECHO_T}yes" >&6; }
41191 else
41192 { echo "$as_me:$LINENO: result: no" >&5
41193 echo "${ECHO_T}no" >&6; }
41194 fi
41195 fi
41196 fi
41197
41198 if test "$WXGTK2" = 1 ; then
41199 cat >>confdefs.h <<_ACEOF
41200 #define __WXGTK20__ $WXGTK2
41201 _ACEOF
41202
41203 WXGTK12=1
41204 fi
41205
41206 if test "$WXGTK12" = 1 ; then
41207 cat >>confdefs.h <<_ACEOF
41208 #define __WXGTK12__ $WXGTK12
41209 _ACEOF
41210
41211 fi
41212
41213 if test "$WXGTK127" = 1 ; then
41214 cat >>confdefs.h <<_ACEOF
41215 #define __WXGTK127__ $WXGTK127
41216 _ACEOF
41217
41218 fi
41219
41220 if test "$WXGPE" = 1 ; then
41221 cat >>confdefs.h <<_ACEOF
41222 #define __WXGPE__ $WXGPE
41223 _ACEOF
41224
41225 fi
41226
41227 DEBUG_CFLAGS=
41228 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41229 DEBUG_CFLAGS="-g"
41230 fi
41231
41232 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41233 wxUSE_DEBUG_INFO=yes
41234 if test "$GCC" = yes; then
41235 DEBUG_CFLAGS="-ggdb"
41236 fi
41237 fi
41238
41239 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41240 cat >>confdefs.h <<\_ACEOF
41241 #define WXDEBUG 1
41242 _ACEOF
41243
41244 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41245 else
41246 if test "$wxUSE_GTK" = 1 ; then
41247 if test "x$wxGTK_VERSION" = "x1" ; then
41248 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41249 fi
41250 fi
41251 fi
41252
41253 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41254 cat >>confdefs.h <<\_ACEOF
41255 #define wxUSE_MEMORY_TRACING 1
41256 _ACEOF
41257
41258 cat >>confdefs.h <<\_ACEOF
41259 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41260 _ACEOF
41261
41262 cat >>confdefs.h <<\_ACEOF
41263 #define wxUSE_DEBUG_NEW_ALWAYS 1
41264 _ACEOF
41265
41266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41267 fi
41268
41269 if test "$wxUSE_DMALLOC" = "yes" ; then
41270 DMALLOC_LIBS="-ldmallocthcxx"
41271 fi
41272
41273 PROFILE_FLAGS=
41274 if test "$wxUSE_PROFILE" = "yes" ; then
41275 PROFILE_FLAGS=" -pg"
41276 fi
41277
41278 if test "$GCC" = "yes" ; then
41279 if test "$wxUSE_NO_RTTI" = "yes" ; then
41280 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41281 fi
41282 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41283 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41284 fi
41285 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41286 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41287 fi
41288
41289 case "${host}" in
41290 powerpc*-*-aix* )
41291 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41292 ;;
41293 *-hppa* )
41294 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41295 ;;
41296 esac
41297 fi
41298
41299 OPTIMISE_CFLAGS=
41300 if test "$wxUSE_OPTIMISE" = "no" ; then
41301 if test "$GCC" = yes ; then
41302 OPTIMISE_CFLAGS="-O0"
41303 fi
41304 else
41305 if test "$GCC" = yes ; then
41306 case "${host}" in
41307 *-pc-os2_emx | *-pc-os2-emx )
41308 OPTIMISE_CFLAGS="-O2"
41309 ;;
41310 *)
41311 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41312 ;;
41313 esac
41314 else
41315 OPTIMISE_CFLAGS="-O"
41316 fi
41317 fi
41318
41319
41320 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41321 cat >>confdefs.h <<\_ACEOF
41322 #define WXWIN_COMPATIBILITY_2_6 1
41323 _ACEOF
41324
41325
41326 WXWIN_COMPATIBILITY_2_8="yes"
41327 fi
41328
41329 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41330 cat >>confdefs.h <<\_ACEOF
41331 #define WXWIN_COMPATIBILITY_2_8 1
41332 _ACEOF
41333
41334 fi
41335
41336
41337 if test "$wxUSE_GUI" = "yes"; then
41338 cat >>confdefs.h <<\_ACEOF
41339 #define wxUSE_GUI 1
41340 _ACEOF
41341
41342
41343 fi
41344
41345
41346 if test "$wxUSE_UNIX" = "yes"; then
41347 cat >>confdefs.h <<\_ACEOF
41348 #define wxUSE_UNIX 1
41349 _ACEOF
41350
41351 fi
41352
41353
41354 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41355
41356 HAVE_DL_FUNCS=0
41357 HAVE_SHL_FUNCS=0
41358 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41359 if test "$USE_DOS" = 1; then
41360 HAVE_DL_FUNCS=0
41361 else
41362
41363 for ac_func in dlopen
41364 do
41365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41369 echo $ECHO_N "(cached) $ECHO_C" >&6
41370 else
41371 cat >conftest.$ac_ext <<_ACEOF
41372 /* confdefs.h. */
41373 _ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41379 #define $ac_func innocuous_$ac_func
41380
41381 /* System header to define __stub macros and hopefully few prototypes,
41382 which can conflict with char $ac_func (); below.
41383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41384 <limits.h> exists even on freestanding compilers. */
41385
41386 #ifdef __STDC__
41387 # include <limits.h>
41388 #else
41389 # include <assert.h>
41390 #endif
41391
41392 #undef $ac_func
41393
41394 /* Override any GCC internal prototype to avoid an error.
41395 Use char because int might match the return type of a GCC
41396 builtin and then its argument prototype would still apply. */
41397 #ifdef __cplusplus
41398 extern "C"
41399 #endif
41400 char $ac_func ();
41401 /* The GNU C library defines this for functions which it implements
41402 to always fail with ENOSYS. Some functions are actually named
41403 something starting with __ and the normal name is an alias. */
41404 #if defined __stub_$ac_func || defined __stub___$ac_func
41405 choke me
41406 #endif
41407
41408 int
41409 main ()
41410 {
41411 return $ac_func ();
41412 ;
41413 return 0;
41414 }
41415 _ACEOF
41416 rm -f conftest.$ac_objext conftest$ac_exeext
41417 if { (ac_try="$ac_link"
41418 case "(($ac_try" in
41419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41420 *) ac_try_echo=$ac_try;;
41421 esac
41422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41423 (eval "$ac_link") 2>conftest.er1
41424 ac_status=$?
41425 grep -v '^ *+' conftest.er1 >conftest.err
41426 rm -f conftest.er1
41427 cat conftest.err >&5
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); } && {
41430 test -z "$ac_c_werror_flag" ||
41431 test ! -s conftest.err
41432 } && test -s conftest$ac_exeext &&
41433 $as_test_x conftest$ac_exeext; then
41434 eval "$as_ac_var=yes"
41435 else
41436 echo "$as_me: failed program was:" >&5
41437 sed 's/^/| /' conftest.$ac_ext >&5
41438
41439 eval "$as_ac_var=no"
41440 fi
41441
41442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41443 conftest$ac_exeext conftest.$ac_ext
41444 fi
41445 ac_res=`eval echo '${'$as_ac_var'}'`
41446 { echo "$as_me:$LINENO: result: $ac_res" >&5
41447 echo "${ECHO_T}$ac_res" >&6; }
41448 if test `eval echo '${'$as_ac_var'}'` = yes; then
41449 cat >>confdefs.h <<_ACEOF
41450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41451 _ACEOF
41452
41453 cat >>confdefs.h <<\_ACEOF
41454 #define HAVE_DLOPEN 1
41455 _ACEOF
41456
41457 HAVE_DL_FUNCS=1
41458
41459 else
41460
41461 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41462 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41464 echo $ECHO_N "(cached) $ECHO_C" >&6
41465 else
41466 ac_check_lib_save_LIBS=$LIBS
41467 LIBS="-ldl $LIBS"
41468 cat >conftest.$ac_ext <<_ACEOF
41469 /* confdefs.h. */
41470 _ACEOF
41471 cat confdefs.h >>conftest.$ac_ext
41472 cat >>conftest.$ac_ext <<_ACEOF
41473 /* end confdefs.h. */
41474
41475 /* Override any GCC internal prototype to avoid an error.
41476 Use char because int might match the return type of a GCC
41477 builtin and then its argument prototype would still apply. */
41478 #ifdef __cplusplus
41479 extern "C"
41480 #endif
41481 char dlopen ();
41482 int
41483 main ()
41484 {
41485 return dlopen ();
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (ac_try="$ac_link"
41492 case "(($ac_try" in
41493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41494 *) ac_try_echo=$ac_try;;
41495 esac
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_link") 2>conftest.er1
41498 ac_status=$?
41499 grep -v '^ *+' conftest.er1 >conftest.err
41500 rm -f conftest.er1
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest$ac_exeext &&
41507 $as_test_x conftest$ac_exeext; then
41508 ac_cv_lib_dl_dlopen=yes
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513 ac_cv_lib_dl_dlopen=no
41514 fi
41515
41516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41517 conftest$ac_exeext conftest.$ac_ext
41518 LIBS=$ac_check_lib_save_LIBS
41519 fi
41520 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41521 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41522 if test $ac_cv_lib_dl_dlopen = yes; then
41523
41524 cat >>confdefs.h <<\_ACEOF
41525 #define HAVE_DLOPEN 1
41526 _ACEOF
41527
41528 HAVE_DL_FUNCS=1
41529 DL_LINK=" -ldl$DL_LINK"
41530
41531 else
41532
41533
41534 for ac_func in shl_load
41535 do
41536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41541 else
41542 cat >conftest.$ac_ext <<_ACEOF
41543 /* confdefs.h. */
41544 _ACEOF
41545 cat confdefs.h >>conftest.$ac_ext
41546 cat >>conftest.$ac_ext <<_ACEOF
41547 /* end confdefs.h. */
41548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41550 #define $ac_func innocuous_$ac_func
41551
41552 /* System header to define __stub macros and hopefully few prototypes,
41553 which can conflict with char $ac_func (); below.
41554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41555 <limits.h> exists even on freestanding compilers. */
41556
41557 #ifdef __STDC__
41558 # include <limits.h>
41559 #else
41560 # include <assert.h>
41561 #endif
41562
41563 #undef $ac_func
41564
41565 /* Override any GCC internal prototype to avoid an error.
41566 Use char because int might match the return type of a GCC
41567 builtin and then its argument prototype would still apply. */
41568 #ifdef __cplusplus
41569 extern "C"
41570 #endif
41571 char $ac_func ();
41572 /* The GNU C library defines this for functions which it implements
41573 to always fail with ENOSYS. Some functions are actually named
41574 something starting with __ and the normal name is an alias. */
41575 #if defined __stub_$ac_func || defined __stub___$ac_func
41576 choke me
41577 #endif
41578
41579 int
41580 main ()
41581 {
41582 return $ac_func ();
41583 ;
41584 return 0;
41585 }
41586 _ACEOF
41587 rm -f conftest.$ac_objext conftest$ac_exeext
41588 if { (ac_try="$ac_link"
41589 case "(($ac_try" in
41590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41591 *) ac_try_echo=$ac_try;;
41592 esac
41593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41594 (eval "$ac_link") 2>conftest.er1
41595 ac_status=$?
41596 grep -v '^ *+' conftest.er1 >conftest.err
41597 rm -f conftest.er1
41598 cat conftest.err >&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); } && {
41601 test -z "$ac_c_werror_flag" ||
41602 test ! -s conftest.err
41603 } && test -s conftest$ac_exeext &&
41604 $as_test_x conftest$ac_exeext; then
41605 eval "$as_ac_var=yes"
41606 else
41607 echo "$as_me: failed program was:" >&5
41608 sed 's/^/| /' conftest.$ac_ext >&5
41609
41610 eval "$as_ac_var=no"
41611 fi
41612
41613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41614 conftest$ac_exeext conftest.$ac_ext
41615 fi
41616 ac_res=`eval echo '${'$as_ac_var'}'`
41617 { echo "$as_me:$LINENO: result: $ac_res" >&5
41618 echo "${ECHO_T}$ac_res" >&6; }
41619 if test `eval echo '${'$as_ac_var'}'` = yes; then
41620 cat >>confdefs.h <<_ACEOF
41621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41622 _ACEOF
41623
41624 cat >>confdefs.h <<\_ACEOF
41625 #define HAVE_SHL_LOAD 1
41626 _ACEOF
41627
41628 HAVE_SHL_FUNCS=1
41629
41630 else
41631
41632 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41633 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41634 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41635 echo $ECHO_N "(cached) $ECHO_C" >&6
41636 else
41637 ac_check_lib_save_LIBS=$LIBS
41638 LIBS="-lshl_load $LIBS"
41639 cat >conftest.$ac_ext <<_ACEOF
41640 /* confdefs.h. */
41641 _ACEOF
41642 cat confdefs.h >>conftest.$ac_ext
41643 cat >>conftest.$ac_ext <<_ACEOF
41644 /* end confdefs.h. */
41645
41646 /* Override any GCC internal prototype to avoid an error.
41647 Use char because int might match the return type of a GCC
41648 builtin and then its argument prototype would still apply. */
41649 #ifdef __cplusplus
41650 extern "C"
41651 #endif
41652 char dld ();
41653 int
41654 main ()
41655 {
41656 return dld ();
41657 ;
41658 return 0;
41659 }
41660 _ACEOF
41661 rm -f conftest.$ac_objext conftest$ac_exeext
41662 if { (ac_try="$ac_link"
41663 case "(($ac_try" in
41664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41665 *) ac_try_echo=$ac_try;;
41666 esac
41667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41668 (eval "$ac_link") 2>conftest.er1
41669 ac_status=$?
41670 grep -v '^ *+' conftest.er1 >conftest.err
41671 rm -f conftest.er1
41672 cat conftest.err >&5
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); } && {
41675 test -z "$ac_c_werror_flag" ||
41676 test ! -s conftest.err
41677 } && test -s conftest$ac_exeext &&
41678 $as_test_x conftest$ac_exeext; then
41679 ac_cv_lib_shl_load_dld=yes
41680 else
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41683
41684 ac_cv_lib_shl_load_dld=no
41685 fi
41686
41687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41688 conftest$ac_exeext conftest.$ac_ext
41689 LIBS=$ac_check_lib_save_LIBS
41690 fi
41691 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41692 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41693 if test $ac_cv_lib_shl_load_dld = yes; then
41694
41695 HAVE_SHL_FUNCS=1
41696 DL_LINK=" -ldld$DL_LINK"
41697
41698 fi
41699
41700
41701 fi
41702 done
41703
41704
41705 fi
41706
41707
41708 fi
41709 done
41710
41711
41712 if test "$HAVE_DL_FUNCS" = 1; then
41713
41714 for ac_func in dlerror
41715 do
41716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41719 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41720 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 else
41722 cat >conftest.$ac_ext <<_ACEOF
41723 /* confdefs.h. */
41724 _ACEOF
41725 cat confdefs.h >>conftest.$ac_ext
41726 cat >>conftest.$ac_ext <<_ACEOF
41727 /* end confdefs.h. */
41728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41730 #define $ac_func innocuous_$ac_func
41731
41732 /* System header to define __stub macros and hopefully few prototypes,
41733 which can conflict with char $ac_func (); below.
41734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41735 <limits.h> exists even on freestanding compilers. */
41736
41737 #ifdef __STDC__
41738 # include <limits.h>
41739 #else
41740 # include <assert.h>
41741 #endif
41742
41743 #undef $ac_func
41744
41745 /* Override any GCC internal prototype to avoid an error.
41746 Use char because int might match the return type of a GCC
41747 builtin and then its argument prototype would still apply. */
41748 #ifdef __cplusplus
41749 extern "C"
41750 #endif
41751 char $ac_func ();
41752 /* The GNU C library defines this for functions which it implements
41753 to always fail with ENOSYS. Some functions are actually named
41754 something starting with __ and the normal name is an alias. */
41755 #if defined __stub_$ac_func || defined __stub___$ac_func
41756 choke me
41757 #endif
41758
41759 int
41760 main ()
41761 {
41762 return $ac_func ();
41763 ;
41764 return 0;
41765 }
41766 _ACEOF
41767 rm -f conftest.$ac_objext conftest$ac_exeext
41768 if { (ac_try="$ac_link"
41769 case "(($ac_try" in
41770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41771 *) ac_try_echo=$ac_try;;
41772 esac
41773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41774 (eval "$ac_link") 2>conftest.er1
41775 ac_status=$?
41776 grep -v '^ *+' conftest.er1 >conftest.err
41777 rm -f conftest.er1
41778 cat conftest.err >&5
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); } && {
41781 test -z "$ac_c_werror_flag" ||
41782 test ! -s conftest.err
41783 } && test -s conftest$ac_exeext &&
41784 $as_test_x conftest$ac_exeext; then
41785 eval "$as_ac_var=yes"
41786 else
41787 echo "$as_me: failed program was:" >&5
41788 sed 's/^/| /' conftest.$ac_ext >&5
41789
41790 eval "$as_ac_var=no"
41791 fi
41792
41793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41794 conftest$ac_exeext conftest.$ac_ext
41795 fi
41796 ac_res=`eval echo '${'$as_ac_var'}'`
41797 { echo "$as_me:$LINENO: result: $ac_res" >&5
41798 echo "${ECHO_T}$ac_res" >&6; }
41799 if test `eval echo '${'$as_ac_var'}'` = yes; then
41800 cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41802 _ACEOF
41803 cat >>confdefs.h <<\_ACEOF
41804 #define HAVE_DLERROR 1
41805 _ACEOF
41806
41807 else
41808
41809 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41810 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41811 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41812 echo $ECHO_N "(cached) $ECHO_C" >&6
41813 else
41814 ac_check_lib_save_LIBS=$LIBS
41815 LIBS="-ldl $LIBS"
41816 cat >conftest.$ac_ext <<_ACEOF
41817 /* confdefs.h. */
41818 _ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41822
41823 /* Override any GCC internal prototype to avoid an error.
41824 Use char because int might match the return type of a GCC
41825 builtin and then its argument prototype would still apply. */
41826 #ifdef __cplusplus
41827 extern "C"
41828 #endif
41829 char dlerror ();
41830 int
41831 main ()
41832 {
41833 return dlerror ();
41834 ;
41835 return 0;
41836 }
41837 _ACEOF
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (ac_try="$ac_link"
41840 case "(($ac_try" in
41841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842 *) ac_try_echo=$ac_try;;
41843 esac
41844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41845 (eval "$ac_link") 2>conftest.er1
41846 ac_status=$?
41847 grep -v '^ *+' conftest.er1 >conftest.err
41848 rm -f conftest.er1
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } && {
41852 test -z "$ac_c_werror_flag" ||
41853 test ! -s conftest.err
41854 } && test -s conftest$ac_exeext &&
41855 $as_test_x conftest$ac_exeext; then
41856 ac_cv_lib_dl_dlerror=yes
41857 else
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41860
41861 ac_cv_lib_dl_dlerror=no
41862 fi
41863
41864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41865 conftest$ac_exeext conftest.$ac_ext
41866 LIBS=$ac_check_lib_save_LIBS
41867 fi
41868 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41869 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41870 if test $ac_cv_lib_dl_dlerror = yes; then
41871 cat >>confdefs.h <<\_ACEOF
41872 #define HAVE_DLERROR 1
41873 _ACEOF
41874
41875 fi
41876
41877
41878
41879 fi
41880 done
41881
41882 fi
41883 fi
41884
41885 if test "$USE_DARWIN" = 1; then
41886 HAVE_DL_FUNCS=1
41887 fi
41888
41889 if test "$HAVE_DL_FUNCS" = 0; then
41890 if test "$HAVE_SHL_FUNCS" = 0; then
41891 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41892 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41893 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41894 wxUSE_DYNAMIC_LOADER=no
41895 wxUSE_DYNLIB_CLASS=no
41896 else
41897 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41898 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41899 fi
41900 fi
41901 fi
41902 fi
41903 fi
41904
41905 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_DYNAMIC_LOADER 1
41908 _ACEOF
41909
41910 fi
41911 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41912 cat >>confdefs.h <<\_ACEOF
41913 #define wxUSE_DYNLIB_CLASS 1
41914 _ACEOF
41915
41916 fi
41917
41918
41919
41920 if test "$wxUSE_PLUGINS" = "yes" ; then
41921 if test "$wxUSE_SHARED" = "no" ; then
41922 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41923 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41924 wxUSE_PLUGINS=no
41925 fi
41926 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41927 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41928 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41929 wxUSE_PLUGINS=no
41930 fi
41931 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41932 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41933 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41934 wxUSE_PLUGINS=no
41935 fi
41936 if test "$wxUSE_PLUGINS" = "yes" ; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_PLUGINS 1
41939 _ACEOF
41940
41941 fi
41942 fi
41943
41944
41945 if test "$wxUSE_STL" = "yes"; then
41946 cat >>confdefs.h <<\_ACEOF
41947 #define wxUSE_STL 1
41948 _ACEOF
41949
41950 fi
41951
41952 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41953 cat >>confdefs.h <<\_ACEOF
41954 #define wxUSE_EXTENDED_RTTI 1
41955 _ACEOF
41956
41957 fi
41958
41959 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_APPLE_IEEE 1
41962 _ACEOF
41963
41964 fi
41965
41966 if test "$wxUSE_TIMER" = "yes"; then
41967 cat >>confdefs.h <<\_ACEOF
41968 #define wxUSE_TIMER 1
41969 _ACEOF
41970
41971 fi
41972
41973 if test "$USE_UNIX" = 1 ; then
41974 if test "$wxUSE_MGL" != 1; then
41975 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41976 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41977 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41978 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 else
41980
41981 cat >conftest.$ac_ext <<_ACEOF
41982 /* confdefs.h. */
41983 _ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987
41988 #include <sys/ioctl.h>
41989 #include <sys/soundcard.h>
41990
41991 int
41992 main ()
41993 {
41994
41995 ioctl(0, SNDCTL_DSP_SPEED, 0);
41996
41997 ;
41998 return 0;
41999 }
42000 _ACEOF
42001 rm -f conftest.$ac_objext conftest$ac_exeext
42002 if { (ac_try="$ac_link"
42003 case "(($ac_try" in
42004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42005 *) ac_try_echo=$ac_try;;
42006 esac
42007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42008 (eval "$ac_link") 2>conftest.er1
42009 ac_status=$?
42010 grep -v '^ *+' conftest.er1 >conftest.err
42011 rm -f conftest.er1
42012 cat conftest.err >&5
42013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42014 (exit $ac_status); } && {
42015 test -z "$ac_c_werror_flag" ||
42016 test ! -s conftest.err
42017 } && test -s conftest$ac_exeext &&
42018 $as_test_x conftest$ac_exeext; then
42019 ac_cv_header_sys_soundcard=yes
42020 else
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.$ac_ext >&5
42023
42024
42025 saveLibs="$LIBS"
42026 LIBS="$saveLibs -lossaudio"
42027 cat >conftest.$ac_ext <<_ACEOF
42028 /* confdefs.h. */
42029 _ACEOF
42030 cat confdefs.h >>conftest.$ac_ext
42031 cat >>conftest.$ac_ext <<_ACEOF
42032 /* end confdefs.h. */
42033
42034 #include <sys/ioctl.h>
42035 #include <sys/soundcard.h>
42036
42037 int
42038 main ()
42039 {
42040
42041 ioctl(0, SNDCTL_DSP_SPEED, 0);
42042
42043 ;
42044 return 0;
42045 }
42046 _ACEOF
42047 rm -f conftest.$ac_objext conftest$ac_exeext
42048 if { (ac_try="$ac_link"
42049 case "(($ac_try" in
42050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42051 *) ac_try_echo=$ac_try;;
42052 esac
42053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42054 (eval "$ac_link") 2>conftest.er1
42055 ac_status=$?
42056 grep -v '^ *+' conftest.er1 >conftest.err
42057 rm -f conftest.er1
42058 cat conftest.err >&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); } && {
42061 test -z "$ac_c_werror_flag" ||
42062 test ! -s conftest.err
42063 } && test -s conftest$ac_exeext &&
42064 $as_test_x conftest$ac_exeext; then
42065 ac_cv_header_sys_soundcard=yes
42066 else
42067 echo "$as_me: failed program was:" >&5
42068 sed 's/^/| /' conftest.$ac_ext >&5
42069
42070
42071 LIBS="$saveLibs"
42072 ac_cv_header_sys_soundcard=no
42073
42074
42075 fi
42076
42077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42078 conftest$ac_exeext conftest.$ac_ext
42079
42080
42081 fi
42082
42083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42084 conftest$ac_exeext conftest.$ac_ext
42085
42086 fi
42087 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42088 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42089 fi
42090
42091 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42092 cat >>confdefs.h <<\_ACEOF
42093 #define HAVE_SYS_SOUNDCARD_H 1
42094 _ACEOF
42095
42096 fi
42097 fi
42098
42099 WITH_PLUGIN_SDL=0
42100 if test "$wxUSE_SOUND" = "yes"; then
42101 if test "$USE_UNIX" = 1 ; then
42102 if test "$wxUSE_LIBSDL" != "no"; then
42103
42104 # Check whether --with-sdl-prefix was given.
42105 if test "${with_sdl_prefix+set}" = set; then
42106 withval=$with_sdl_prefix; sdl_prefix="$withval"
42107 else
42108 sdl_prefix=""
42109 fi
42110
42111
42112 # Check whether --with-sdl-exec-prefix was given.
42113 if test "${with_sdl_exec_prefix+set}" = set; then
42114 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42115 else
42116 sdl_exec_prefix=""
42117 fi
42118
42119 # Check whether --enable-sdltest was given.
42120 if test "${enable_sdltest+set}" = set; then
42121 enableval=$enable_sdltest;
42122 else
42123 enable_sdltest=yes
42124 fi
42125
42126
42127 if test x$sdl_exec_prefix != x ; then
42128 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42129 if test x${SDL_CONFIG+set} != xset ; then
42130 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42131 fi
42132 fi
42133 if test x$sdl_prefix != x ; then
42134 sdl_args="$sdl_args --prefix=$sdl_prefix"
42135 if test x${SDL_CONFIG+set} != xset ; then
42136 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42137 fi
42138 fi
42139
42140 if test "x$prefix" != xNONE; then
42141 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42142 fi
42143 # Extract the first word of "sdl-config", so it can be a program name with args.
42144 set dummy sdl-config; ac_word=$2
42145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42147 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42148 echo $ECHO_N "(cached) $ECHO_C" >&6
42149 else
42150 case $SDL_CONFIG in
42151 [\\/]* | ?:[\\/]*)
42152 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42153 ;;
42154 *)
42155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42156 for as_dir in $PATH
42157 do
42158 IFS=$as_save_IFS
42159 test -z "$as_dir" && as_dir=.
42160 for ac_exec_ext in '' $ac_executable_extensions; do
42161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42162 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42164 break 2
42165 fi
42166 done
42167 done
42168 IFS=$as_save_IFS
42169
42170 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42171 ;;
42172 esac
42173 fi
42174 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42175 if test -n "$SDL_CONFIG"; then
42176 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42177 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42178 else
42179 { echo "$as_me:$LINENO: result: no" >&5
42180 echo "${ECHO_T}no" >&6; }
42181 fi
42182
42183
42184 min_sdl_version=1.2.0
42185 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42186 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42187 no_sdl=""
42188 if test "$SDL_CONFIG" = "no" ; then
42189 no_sdl=yes
42190 else
42191 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42192 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42193
42194 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42196 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42198 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42199 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42200 if test "x$enable_sdltest" = "xyes" ; then
42201 ac_save_CFLAGS="$CFLAGS"
42202 ac_save_CXXFLAGS="$CXXFLAGS"
42203 ac_save_LIBS="$LIBS"
42204 CFLAGS="$CFLAGS $SDL_CFLAGS"
42205 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42206 LIBS="$LIBS $SDL_LIBS"
42207 rm -f conf.sdltest
42208 if test "$cross_compiling" = yes; then
42209 echo $ac_n "cross compiling; assumed OK... $ac_c"
42210 else
42211 cat >conftest.$ac_ext <<_ACEOF
42212 /* confdefs.h. */
42213 _ACEOF
42214 cat confdefs.h >>conftest.$ac_ext
42215 cat >>conftest.$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42217
42218 #include <stdio.h>
42219 #include <stdlib.h>
42220 #include <string.h>
42221 #include "SDL.h"
42222
42223 char*
42224 my_strdup (char *str)
42225 {
42226 char *new_str;
42227
42228 if (str)
42229 {
42230 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42231 strcpy (new_str, str);
42232 }
42233 else
42234 new_str = NULL;
42235
42236 return new_str;
42237 }
42238
42239 int main (int argc, char *argv[])
42240 {
42241 int major, minor, micro;
42242 char *tmp_version;
42243
42244 /* This hangs on some systems (?)
42245 system ("touch conf.sdltest");
42246 */
42247 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42248
42249 /* HP/UX 9 (%@#!) writes to sscanf strings */
42250 tmp_version = my_strdup("$min_sdl_version");
42251 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42252 printf("%s, bad version string\n", "$min_sdl_version");
42253 exit(1);
42254 }
42255
42256 if (($sdl_major_version > major) ||
42257 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42258 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42259 {
42260 return 0;
42261 }
42262 else
42263 {
42264 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42265 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42266 printf("*** best to upgrade to the required version.\n");
42267 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42268 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42269 printf("*** config.cache before re-running configure\n");
42270 return 1;
42271 }
42272 }
42273
42274
42275 _ACEOF
42276 rm -f conftest$ac_exeext
42277 if { (ac_try="$ac_link"
42278 case "(($ac_try" in
42279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42280 *) ac_try_echo=$ac_try;;
42281 esac
42282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42283 (eval "$ac_link") 2>&5
42284 ac_status=$?
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42287 { (case "(($ac_try" in
42288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42289 *) ac_try_echo=$ac_try;;
42290 esac
42291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42292 (eval "$ac_try") 2>&5
42293 ac_status=$?
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); }; }; then
42296 :
42297 else
42298 echo "$as_me: program exited with status $ac_status" >&5
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.$ac_ext >&5
42301
42302 ( exit $ac_status )
42303 no_sdl=yes
42304 fi
42305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42306 fi
42307
42308
42309 CFLAGS="$ac_save_CFLAGS"
42310 CXXFLAGS="$ac_save_CXXFLAGS"
42311 LIBS="$ac_save_LIBS"
42312 fi
42313 fi
42314 if test "x$no_sdl" = x ; then
42315 { echo "$as_me:$LINENO: result: yes" >&5
42316 echo "${ECHO_T}yes" >&6; }
42317
42318 EXTRALIBS_SDL="$SDL_LIBS"
42319 CFLAGS="$SDL_CFLAGS $CFLAGS"
42320 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42321 cat >>confdefs.h <<\_ACEOF
42322 #define wxUSE_LIBSDL 1
42323 _ACEOF
42324
42325
42326 else
42327 { echo "$as_me:$LINENO: result: no" >&5
42328 echo "${ECHO_T}no" >&6; }
42329 if test "$SDL_CONFIG" = "no" ; then
42330 echo "*** The sdl-config script installed by SDL could not be found"
42331 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42332 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42333 echo "*** full path to sdl-config."
42334 else
42335 if test -f conf.sdltest ; then
42336 :
42337 else
42338 echo "*** Could not run SDL test program, checking why..."
42339 CFLAGS="$CFLAGS $SDL_CFLAGS"
42340 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42341 LIBS="$LIBS $SDL_LIBS"
42342 cat >conftest.$ac_ext <<_ACEOF
42343 /* confdefs.h. */
42344 _ACEOF
42345 cat confdefs.h >>conftest.$ac_ext
42346 cat >>conftest.$ac_ext <<_ACEOF
42347 /* end confdefs.h. */
42348
42349 #include <stdio.h>
42350 #include "SDL.h"
42351
42352 int main(int argc, char *argv[])
42353 { return 0; }
42354 #undef main
42355 #define main K_and_R_C_main
42356
42357 int
42358 main ()
42359 {
42360 return 0;
42361 ;
42362 return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext conftest$ac_exeext
42366 if { (ac_try="$ac_link"
42367 case "(($ac_try" in
42368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42369 *) ac_try_echo=$ac_try;;
42370 esac
42371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42372 (eval "$ac_link") 2>conftest.er1
42373 ac_status=$?
42374 grep -v '^ *+' conftest.er1 >conftest.err
42375 rm -f conftest.er1
42376 cat conftest.err >&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); } && {
42379 test -z "$ac_c_werror_flag" ||
42380 test ! -s conftest.err
42381 } && test -s conftest$ac_exeext &&
42382 $as_test_x conftest$ac_exeext; then
42383 echo "*** The test program compiled, but did not run. This usually means"
42384 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42385 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42386 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42387 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42388 echo "*** is required on your system"
42389 echo "***"
42390 echo "*** If you have an old version installed, it is best to remove it, although"
42391 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42392 else
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42395
42396 echo "*** The test program failed to compile or link. See the file config.log for the"
42397 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42398 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42399 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42400 fi
42401
42402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42403 conftest$ac_exeext conftest.$ac_ext
42404 CFLAGS="$ac_save_CFLAGS"
42405 CXXFLAGS="$ac_save_CXXFLAGS"
42406 LIBS="$ac_save_LIBS"
42407 fi
42408 fi
42409 SDL_CFLAGS=""
42410 SDL_LIBS=""
42411 wxUSE_LIBSDL="no"
42412 fi
42413
42414
42415 rm -f conf.sdltest
42416
42417 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42418 WITH_PLUGIN_SDL=1
42419 fi
42420 fi
42421 else
42422 if test "$wxUSE_MGL" = 1; then
42423 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42424 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42425 wxUSE_SOUND="no"
42426 fi
42427 fi
42428 fi
42429
42430 if test "$wxUSE_SOUND" = "yes"; then
42431 cat >>confdefs.h <<\_ACEOF
42432 #define wxUSE_SOUND 1
42433 _ACEOF
42434
42435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42436 fi
42437
42438 if test "$WXGTK2" = 1; then
42439
42440
42441 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42442 if test -n "$ac_tool_prefix"; then
42443 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42444 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42447 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42448 echo $ECHO_N "(cached) $ECHO_C" >&6
42449 else
42450 case $PKG_CONFIG in
42451 [\\/]* | ?:[\\/]*)
42452 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42453 ;;
42454 *)
42455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42456 for as_dir in $PATH
42457 do
42458 IFS=$as_save_IFS
42459 test -z "$as_dir" && as_dir=.
42460 for ac_exec_ext in '' $ac_executable_extensions; do
42461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42462 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42464 break 2
42465 fi
42466 done
42467 done
42468 IFS=$as_save_IFS
42469
42470 ;;
42471 esac
42472 fi
42473 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42474 if test -n "$PKG_CONFIG"; then
42475 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42476 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42477 else
42478 { echo "$as_me:$LINENO: result: no" >&5
42479 echo "${ECHO_T}no" >&6; }
42480 fi
42481
42482
42483 fi
42484 if test -z "$ac_cv_path_PKG_CONFIG"; then
42485 ac_pt_PKG_CONFIG=$PKG_CONFIG
42486 # Extract the first word of "pkg-config", so it can be a program name with args.
42487 set dummy pkg-config; ac_word=$2
42488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42490 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 else
42493 case $ac_pt_PKG_CONFIG in
42494 [\\/]* | ?:[\\/]*)
42495 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42496 ;;
42497 *)
42498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42499 for as_dir in $PATH
42500 do
42501 IFS=$as_save_IFS
42502 test -z "$as_dir" && as_dir=.
42503 for ac_exec_ext in '' $ac_executable_extensions; do
42504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42505 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42507 break 2
42508 fi
42509 done
42510 done
42511 IFS=$as_save_IFS
42512
42513 ;;
42514 esac
42515 fi
42516 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42517 if test -n "$ac_pt_PKG_CONFIG"; then
42518 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42519 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42520 else
42521 { echo "$as_me:$LINENO: result: no" >&5
42522 echo "${ECHO_T}no" >&6; }
42523 fi
42524
42525 if test "x$ac_pt_PKG_CONFIG" = x; then
42526 PKG_CONFIG=""
42527 else
42528 case $cross_compiling:$ac_tool_warned in
42529 yes:)
42530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42531 whose name does not start with the host triplet. If you think this
42532 configuration is useful to you, please write to autoconf@gnu.org." >&5
42533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42534 whose name does not start with the host triplet. If you think this
42535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42536 ac_tool_warned=yes ;;
42537 esac
42538 PKG_CONFIG=$ac_pt_PKG_CONFIG
42539 fi
42540 else
42541 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42542 fi
42543
42544 fi
42545 if test -n "$PKG_CONFIG"; then
42546 _pkg_min_version=0.9.0
42547 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42548 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42549 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42550 { echo "$as_me:$LINENO: result: yes" >&5
42551 echo "${ECHO_T}yes" >&6; }
42552 else
42553 { echo "$as_me:$LINENO: result: no" >&5
42554 echo "${ECHO_T}no" >&6; }
42555 PKG_CONFIG=""
42556 fi
42557
42558 fi
42559
42560 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42561
42562 if test "$wxUSE_GTKPRINT" = "yes" ; then
42563
42564
42565 pkg_failed=no
42566 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42567 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42568
42569 if test -n "$PKG_CONFIG"; then
42570 if test -n "$GTKPRINT_CFLAGS"; then
42571 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42572 else
42573 if test -n "$PKG_CONFIG" && \
42574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42575 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42576 ac_status=$?
42577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42578 (exit $ac_status); }; then
42579 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42580 else
42581 pkg_failed=yes
42582 fi
42583 fi
42584 else
42585 pkg_failed=untried
42586 fi
42587 if test -n "$PKG_CONFIG"; then
42588 if test -n "$GTKPRINT_LIBS"; then
42589 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42590 else
42591 if test -n "$PKG_CONFIG" && \
42592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42593 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42594 ac_status=$?
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); }; then
42597 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42598 else
42599 pkg_failed=yes
42600 fi
42601 fi
42602 else
42603 pkg_failed=untried
42604 fi
42605
42606
42607
42608 if test $pkg_failed = yes; then
42609
42610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42611 _pkg_short_errors_supported=yes
42612 else
42613 _pkg_short_errors_supported=no
42614 fi
42615 if test $_pkg_short_errors_supported = yes; then
42616 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42617 else
42618 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42619 fi
42620 # Put the nasty error message in config.log where it belongs
42621 echo "$GTKPRINT_PKG_ERRORS" >&5
42622
42623
42624 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42625 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42626 wxUSE_GTKPRINT="no"
42627
42628
42629 elif test $pkg_failed = untried; then
42630
42631 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42632 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42633 wxUSE_GTKPRINT="no"
42634
42635
42636 else
42637 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42638 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42639 { echo "$as_me:$LINENO: result: yes" >&5
42640 echo "${ECHO_T}yes" >&6; }
42641
42642 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42643 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42644 cat >>confdefs.h <<\_ACEOF
42645 #define wxUSE_GTKPRINT 1
42646 _ACEOF
42647
42648
42649 fi
42650 fi
42651
42652 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42653
42654
42655 pkg_failed=no
42656 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42657 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42658
42659 if test -n "$PKG_CONFIG"; then
42660 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42661 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42662 else
42663 if test -n "$PKG_CONFIG" && \
42664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42665 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42666 ac_status=$?
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); }; then
42669 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42670 else
42671 pkg_failed=yes
42672 fi
42673 fi
42674 else
42675 pkg_failed=untried
42676 fi
42677 if test -n "$PKG_CONFIG"; then
42678 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42679 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42680 else
42681 if test -n "$PKG_CONFIG" && \
42682 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42683 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42684 ac_status=$?
42685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42686 (exit $ac_status); }; then
42687 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42688 else
42689 pkg_failed=yes
42690 fi
42691 fi
42692 else
42693 pkg_failed=untried
42694 fi
42695
42696
42697
42698 if test $pkg_failed = yes; then
42699
42700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42701 _pkg_short_errors_supported=yes
42702 else
42703 _pkg_short_errors_supported=no
42704 fi
42705 if test $_pkg_short_errors_supported = yes; then
42706 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42707 else
42708 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42709 fi
42710 # Put the nasty error message in config.log where it belongs
42711 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42712
42713
42714 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42715 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42716 wxUSE_LIBGNOMEPRINT="no"
42717
42718
42719 elif test $pkg_failed = untried; then
42720
42721 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42722 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42723 wxUSE_LIBGNOMEPRINT="no"
42724
42725
42726 else
42727 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42728 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42729 { echo "$as_me:$LINENO: result: yes" >&5
42730 echo "${ECHO_T}yes" >&6; }
42731
42732 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42733 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42734 cat >>confdefs.h <<\_ACEOF
42735 #define wxUSE_LIBGNOMEPRINT 1
42736 _ACEOF
42737
42738
42739 fi
42740 fi
42741 fi
42742
42743 if test "$wxUSE_MIMETYPE" = "yes" ; then
42744 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42745
42746
42747 pkg_failed=no
42748 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42749 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42750
42751 if test -n "$PKG_CONFIG"; then
42752 if test -n "$GNOMEVFS_CFLAGS"; then
42753 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42754 else
42755 if test -n "$PKG_CONFIG" && \
42756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42757 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42758 ac_status=$?
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; then
42761 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42762 else
42763 pkg_failed=yes
42764 fi
42765 fi
42766 else
42767 pkg_failed=untried
42768 fi
42769 if test -n "$PKG_CONFIG"; then
42770 if test -n "$GNOMEVFS_LIBS"; then
42771 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42772 else
42773 if test -n "$PKG_CONFIG" && \
42774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42775 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42776 ac_status=$?
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); }; then
42779 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42780 else
42781 pkg_failed=yes
42782 fi
42783 fi
42784 else
42785 pkg_failed=untried
42786 fi
42787
42788
42789
42790 if test $pkg_failed = yes; then
42791
42792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42793 _pkg_short_errors_supported=yes
42794 else
42795 _pkg_short_errors_supported=no
42796 fi
42797 if test $_pkg_short_errors_supported = yes; then
42798 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42799 else
42800 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42801 fi
42802 # Put the nasty error message in config.log where it belongs
42803 echo "$GNOMEVFS_PKG_ERRORS" >&5
42804
42805
42806 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42807 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42808 wxUSE_LIBGNOMEVFS="no"
42809
42810
42811 elif test $pkg_failed = untried; then
42812
42813 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42814 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42815 wxUSE_LIBGNOMEVFS="no"
42816
42817
42818 else
42819 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42820 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42821 { echo "$as_me:$LINENO: result: yes" >&5
42822 echo "${ECHO_T}yes" >&6; }
42823
42824 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42825 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42826 cat >>confdefs.h <<\_ACEOF
42827 #define wxUSE_LIBGNOMEVFS 1
42828 _ACEOF
42829
42830
42831 fi
42832 fi
42833 fi
42834
42835 if test "$wxUSE_LIBHILDON" = "yes" ; then
42836
42837 pkg_failed=no
42838 { echo "$as_me:$LINENO: checking for HILDON" >&5
42839 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42840
42841 if test -n "$PKG_CONFIG"; then
42842 if test -n "$HILDON_CFLAGS"; then
42843 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42844 else
42845 if test -n "$PKG_CONFIG" && \
42846 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42847 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42848 ac_status=$?
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); }; then
42851 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42852 else
42853 pkg_failed=yes
42854 fi
42855 fi
42856 else
42857 pkg_failed=untried
42858 fi
42859 if test -n "$PKG_CONFIG"; then
42860 if test -n "$HILDON_LIBS"; then
42861 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42862 else
42863 if test -n "$PKG_CONFIG" && \
42864 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42865 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42866 ac_status=$?
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); }; then
42869 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42870 else
42871 pkg_failed=yes
42872 fi
42873 fi
42874 else
42875 pkg_failed=untried
42876 fi
42877
42878
42879
42880 if test $pkg_failed = yes; then
42881
42882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42883 _pkg_short_errors_supported=yes
42884 else
42885 _pkg_short_errors_supported=no
42886 fi
42887 if test $_pkg_short_errors_supported = yes; then
42888 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42889 else
42890 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42891 fi
42892 # Put the nasty error message in config.log where it belongs
42893 echo "$HILDON_PKG_ERRORS" >&5
42894
42895
42896 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42897 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42898 wxUSE_LIBHILDON="no"
42899
42900
42901 elif test $pkg_failed = untried; then
42902
42903 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42904 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42905 wxUSE_LIBHILDON="no"
42906
42907
42908 else
42909 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42910 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42911 { echo "$as_me:$LINENO: result: yes" >&5
42912 echo "${ECHO_T}yes" >&6; }
42913
42914 EXTRALIBS_HILDON="$HILDON_LIBS"
42915 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42916 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42917 cat >>confdefs.h <<\_ACEOF
42918 #define wxUSE_LIBHILDON 1
42919 _ACEOF
42920
42921
42922 fi
42923 fi
42924 fi
42925
42926 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42927 cat >>confdefs.h <<\_ACEOF
42928 #define wxUSE_CMDLINE_PARSER 1
42929 _ACEOF
42930
42931 fi
42932
42933 if test "$wxUSE_STOPWATCH" = "yes"; then
42934 cat >>confdefs.h <<\_ACEOF
42935 #define wxUSE_STOPWATCH 1
42936 _ACEOF
42937
42938 fi
42939
42940 if test "$wxUSE_DATETIME" = "yes"; then
42941 cat >>confdefs.h <<\_ACEOF
42942 #define wxUSE_DATETIME 1
42943 _ACEOF
42944
42945 fi
42946
42947 if test "$wxUSE_FILE" = "yes"; then
42948 cat >>confdefs.h <<\_ACEOF
42949 #define wxUSE_FILE 1
42950 _ACEOF
42951
42952 fi
42953
42954 if test "$wxUSE_FFILE" = "yes"; then
42955 cat >>confdefs.h <<\_ACEOF
42956 #define wxUSE_FFILE 1
42957 _ACEOF
42958
42959 fi
42960
42961 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42962 if test "$wxUSE_STREAMS" != yes; then
42963 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42964 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42965 wxUSE_ARCHIVE_STREAMS=no
42966 else
42967 cat >>confdefs.h <<\_ACEOF
42968 #define wxUSE_ARCHIVE_STREAMS 1
42969 _ACEOF
42970
42971 fi
42972 fi
42973
42974 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42975 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42976 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42977 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42978 elif test "$wxUSE_ZLIB" = "no"; then
42979 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42980 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42981 else
42982 cat >>confdefs.h <<\_ACEOF
42983 #define wxUSE_ZIPSTREAM 1
42984 _ACEOF
42985
42986 fi
42987 fi
42988
42989 if test "$wxUSE_TARSTREAM" = "yes"; then
42990 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42991 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42992 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42993 else
42994 cat >>confdefs.h <<\_ACEOF
42995 #define wxUSE_TARSTREAM 1
42996 _ACEOF
42997
42998 fi
42999 fi
43000
43001 if test "$wxUSE_FILESYSTEM" = "yes"; then
43002 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43003 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43004 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43005 wxUSE_FILESYSTEM=no
43006 else
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_FILESYSTEM 1
43009 _ACEOF
43010
43011 fi
43012 fi
43013
43014 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43015 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43016 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43017 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43018 else
43019 cat >>confdefs.h <<\_ACEOF
43020 #define wxUSE_FS_ARCHIVE 1
43021 _ACEOF
43022
43023 fi
43024 fi
43025
43026 if test "$wxUSE_FS_ZIP" = "yes"; then
43027 if test "$wxUSE_FS_ARCHIVE" != yes; then
43028 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43029 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43030 else
43031 cat >>confdefs.h <<\_ACEOF
43032 #define wxUSE_FS_ZIP 1
43033 _ACEOF
43034
43035 fi
43036 fi
43037
43038 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43039 if test "$USE_UNIX" != 1; then
43040 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43041 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43042 wxUSE_ON_FATAL_EXCEPTION=no
43043 else
43044 cat >>confdefs.h <<\_ACEOF
43045 #define wxUSE_ON_FATAL_EXCEPTION 1
43046 _ACEOF
43047
43048 fi
43049 fi
43050
43051 if test "$wxUSE_STACKWALKER" = "yes"; then
43052 cat >>confdefs.h <<\_ACEOF
43053 #define wxUSE_STACKWALKER 1
43054 _ACEOF
43055
43056 fi
43057
43058 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43059 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43060 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43061 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43062 wxUSE_DEBUGREPORT=no
43063 else
43064 cat >>confdefs.h <<\_ACEOF
43065 #define wxUSE_DEBUGREPORT 1
43066 _ACEOF
43067
43068 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43070 fi
43071 fi
43072 fi
43073
43074 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43075 cat >>confdefs.h <<\_ACEOF
43076 #define wxUSE_SNGLINST_CHECKER 1
43077 _ACEOF
43078
43079 fi
43080
43081 if test "$wxUSE_BUSYINFO" = "yes"; then
43082 cat >>confdefs.h <<\_ACEOF
43083 #define wxUSE_BUSYINFO 1
43084 _ACEOF
43085
43086 fi
43087
43088 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43089 cat >>confdefs.h <<\_ACEOF
43090 #define wxUSE_STD_IOSTREAM 1
43091 _ACEOF
43092
43093 fi
43094
43095 if test "$wxUSE_STD_STRING" = "yes"; then
43096 cat >>confdefs.h <<\_ACEOF
43097 #define wxUSE_STD_STRING 1
43098 _ACEOF
43099
43100 fi
43101
43102 if test "$wxUSE_STDPATHS" = "yes"; then
43103 cat >>confdefs.h <<\_ACEOF
43104 #define wxUSE_STDPATHS 1
43105 _ACEOF
43106
43107 fi
43108
43109 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43110 cat >>confdefs.h <<\_ACEOF
43111 #define wxUSE_TEXTBUFFER 1
43112 _ACEOF
43113
43114 fi
43115
43116 if test "$wxUSE_TEXTFILE" = "yes"; then
43117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43118 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43119 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43120 else
43121 cat >>confdefs.h <<\_ACEOF
43122 #define wxUSE_TEXTFILE 1
43123 _ACEOF
43124
43125 fi
43126 fi
43127
43128 if test "$wxUSE_CONFIG" = "yes" ; then
43129 if test "$wxUSE_TEXTFILE" != "yes"; then
43130 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43131 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43132 else
43133 cat >>confdefs.h <<\_ACEOF
43134 #define wxUSE_CONFIG 1
43135 _ACEOF
43136
43137 cat >>confdefs.h <<\_ACEOF
43138 #define wxUSE_CONFIG_NATIVE 1
43139 _ACEOF
43140
43141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43142 fi
43143 fi
43144
43145 if test "$wxUSE_INTL" = "yes" ; then
43146 if test "$wxUSE_FILE" != "yes"; then
43147 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43148 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43149 else
43150 cat >>confdefs.h <<\_ACEOF
43151 #define wxUSE_INTL 1
43152 _ACEOF
43153
43154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43155 GUIDIST="$GUIDIST INTL_DIST"
43156 fi
43157 fi
43158
43159 if test "$wxUSE_XLOCALE" == "yes" ; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_XLOCALE 1
43162 _ACEOF
43163
43164 { echo "$as_me:$LINENO: checking for locale_t" >&5
43165 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43166 if test "${ac_cv_type_locale_t+set}" = set; then
43167 echo $ECHO_N "(cached) $ECHO_C" >&6
43168 else
43169 cat >conftest.$ac_ext <<_ACEOF
43170 /* confdefs.h. */
43171 _ACEOF
43172 cat confdefs.h >>conftest.$ac_ext
43173 cat >>conftest.$ac_ext <<_ACEOF
43174 /* end confdefs.h. */
43175 #include <xlocale.h>
43176 #include <locale.h>
43177
43178 typedef locale_t ac__type_new_;
43179 int
43180 main ()
43181 {
43182 if ((ac__type_new_ *) 0)
43183 return 0;
43184 if (sizeof (ac__type_new_))
43185 return 0;
43186 ;
43187 return 0;
43188 }
43189 _ACEOF
43190 rm -f conftest.$ac_objext
43191 if { (ac_try="$ac_compile"
43192 case "(($ac_try" in
43193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43194 *) ac_try_echo=$ac_try;;
43195 esac
43196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43197 (eval "$ac_compile") 2>conftest.er1
43198 ac_status=$?
43199 grep -v '^ *+' conftest.er1 >conftest.err
43200 rm -f conftest.er1
43201 cat conftest.err >&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); } && {
43204 test -z "$ac_c_werror_flag" ||
43205 test ! -s conftest.err
43206 } && test -s conftest.$ac_objext; then
43207 ac_cv_type_locale_t=yes
43208 else
43209 echo "$as_me: failed program was:" >&5
43210 sed 's/^/| /' conftest.$ac_ext >&5
43211
43212 ac_cv_type_locale_t=no
43213 fi
43214
43215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43216 fi
43217 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43218 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43219 if test $ac_cv_type_locale_t = yes; then
43220
43221 cat >>confdefs.h <<_ACEOF
43222 #define HAVE_LOCALE_T 1
43223 _ACEOF
43224
43225
43226 fi
43227
43228 fi
43229
43230 if test "$wxUSE_LOG" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_LOG 1
43233 _ACEOF
43234
43235
43236 if test "$wxUSE_LOGGUI" = "yes"; then
43237 cat >>confdefs.h <<\_ACEOF
43238 #define wxUSE_LOGGUI 1
43239 _ACEOF
43240
43241 fi
43242
43243 if test "$wxUSE_LOGWINDOW" = "yes"; then
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_LOGWINDOW 1
43246 _ACEOF
43247
43248 fi
43249
43250 if test "$wxUSE_LOGDIALOG" = "yes"; then
43251 cat >>confdefs.h <<\_ACEOF
43252 #define wxUSE_LOG_DIALOG 1
43253 _ACEOF
43254
43255 fi
43256
43257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43258 fi
43259
43260 if test "$wxUSE_LONGLONG" = "yes"; then
43261 cat >>confdefs.h <<\_ACEOF
43262 #define wxUSE_LONGLONG 1
43263 _ACEOF
43264
43265 fi
43266
43267 if test "$wxUSE_GEOMETRY" = "yes"; then
43268 cat >>confdefs.h <<\_ACEOF
43269 #define wxUSE_GEOMETRY 1
43270 _ACEOF
43271
43272 fi
43273
43274 if test "$wxUSE_BASE64" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_BASE64 1
43277 _ACEOF
43278
43279 fi
43280
43281 if test "$wxUSE_STREAMS" = "yes" ; then
43282 cat >>confdefs.h <<\_ACEOF
43283 #define wxUSE_STREAMS 1
43284 _ACEOF
43285
43286 fi
43287
43288 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define wxUSE_PRINTF_POS_PARAMS 1
43291 _ACEOF
43292
43293 fi
43294
43295 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43296 cat >>confdefs.h <<\_ACEOF
43297 #define wxUSE_OBJC_UNIQUIFYING 1
43298 _ACEOF
43299
43300 fi
43301
43302
43303 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43304 cat >>confdefs.h <<\_ACEOF
43305 #define wxUSE_CONSOLE_EVENTLOOP 1
43306 _ACEOF
43307
43308
43309 if test "$wxUSE_UNIX" = "yes"; then
43310 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_SELECT_DISPATCHER 1
43313 _ACEOF
43314
43315 fi
43316
43317 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43318
43319 for ac_header in sys/epoll.h
43320 do
43321 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43325 echo $ECHO_N "(cached) $ECHO_C" >&6
43326 else
43327 cat >conftest.$ac_ext <<_ACEOF
43328 /* confdefs.h. */
43329 _ACEOF
43330 cat confdefs.h >>conftest.$ac_ext
43331 cat >>conftest.$ac_ext <<_ACEOF
43332 /* end confdefs.h. */
43333 $ac_includes_default
43334
43335 #include <$ac_header>
43336 _ACEOF
43337 rm -f conftest.$ac_objext
43338 if { (ac_try="$ac_compile"
43339 case "(($ac_try" in
43340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43341 *) ac_try_echo=$ac_try;;
43342 esac
43343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43344 (eval "$ac_compile") 2>conftest.er1
43345 ac_status=$?
43346 grep -v '^ *+' conftest.er1 >conftest.err
43347 rm -f conftest.er1
43348 cat conftest.err >&5
43349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350 (exit $ac_status); } && {
43351 test -z "$ac_c_werror_flag" ||
43352 test ! -s conftest.err
43353 } && test -s conftest.$ac_objext; then
43354 eval "$as_ac_Header=yes"
43355 else
43356 echo "$as_me: failed program was:" >&5
43357 sed 's/^/| /' conftest.$ac_ext >&5
43358
43359 eval "$as_ac_Header=no"
43360 fi
43361
43362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43363 fi
43364 ac_res=`eval echo '${'$as_ac_Header'}'`
43365 { echo "$as_me:$LINENO: result: $ac_res" >&5
43366 echo "${ECHO_T}$ac_res" >&6; }
43367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43368 cat >>confdefs.h <<_ACEOF
43369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43370 _ACEOF
43371
43372 fi
43373
43374 done
43375
43376 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_EPOLL_DISPATCHER 1
43379 _ACEOF
43380
43381 else
43382 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43383 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43384 fi
43385 fi
43386 fi
43387 fi
43388
43389
43390
43391
43392 for ac_func in gettimeofday ftime
43393 do
43394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43398 echo $ECHO_N "(cached) $ECHO_C" >&6
43399 else
43400 cat >conftest.$ac_ext <<_ACEOF
43401 /* confdefs.h. */
43402 _ACEOF
43403 cat confdefs.h >>conftest.$ac_ext
43404 cat >>conftest.$ac_ext <<_ACEOF
43405 /* end confdefs.h. */
43406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43408 #define $ac_func innocuous_$ac_func
43409
43410 /* System header to define __stub macros and hopefully few prototypes,
43411 which can conflict with char $ac_func (); below.
43412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43413 <limits.h> exists even on freestanding compilers. */
43414
43415 #ifdef __STDC__
43416 # include <limits.h>
43417 #else
43418 # include <assert.h>
43419 #endif
43420
43421 #undef $ac_func
43422
43423 /* Override any GCC internal prototype to avoid an error.
43424 Use char because int might match the return type of a GCC
43425 builtin and then its argument prototype would still apply. */
43426 #ifdef __cplusplus
43427 extern "C"
43428 #endif
43429 char $ac_func ();
43430 /* The GNU C library defines this for functions which it implements
43431 to always fail with ENOSYS. Some functions are actually named
43432 something starting with __ and the normal name is an alias. */
43433 #if defined __stub_$ac_func || defined __stub___$ac_func
43434 choke me
43435 #endif
43436
43437 int
43438 main ()
43439 {
43440 return $ac_func ();
43441 ;
43442 return 0;
43443 }
43444 _ACEOF
43445 rm -f conftest.$ac_objext conftest$ac_exeext
43446 if { (ac_try="$ac_link"
43447 case "(($ac_try" in
43448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43449 *) ac_try_echo=$ac_try;;
43450 esac
43451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43452 (eval "$ac_link") 2>conftest.er1
43453 ac_status=$?
43454 grep -v '^ *+' conftest.er1 >conftest.err
43455 rm -f conftest.er1
43456 cat conftest.err >&5
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); } && {
43459 test -z "$ac_c_werror_flag" ||
43460 test ! -s conftest.err
43461 } && test -s conftest$ac_exeext &&
43462 $as_test_x conftest$ac_exeext; then
43463 eval "$as_ac_var=yes"
43464 else
43465 echo "$as_me: failed program was:" >&5
43466 sed 's/^/| /' conftest.$ac_ext >&5
43467
43468 eval "$as_ac_var=no"
43469 fi
43470
43471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43472 conftest$ac_exeext conftest.$ac_ext
43473 fi
43474 ac_res=`eval echo '${'$as_ac_var'}'`
43475 { echo "$as_me:$LINENO: result: $ac_res" >&5
43476 echo "${ECHO_T}$ac_res" >&6; }
43477 if test `eval echo '${'$as_ac_var'}'` = yes; then
43478 cat >>confdefs.h <<_ACEOF
43479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43480 _ACEOF
43481 break
43482 fi
43483 done
43484
43485
43486 if test "$ac_cv_func_gettimeofday" = "yes"; then
43487 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43488 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43489 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43490 echo $ECHO_N "(cached) $ECHO_C" >&6
43491 else
43492
43493 cat >conftest.$ac_ext <<_ACEOF
43494 /* confdefs.h. */
43495 _ACEOF
43496 cat confdefs.h >>conftest.$ac_ext
43497 cat >>conftest.$ac_ext <<_ACEOF
43498 /* end confdefs.h. */
43499
43500 #include <sys/time.h>
43501 #include <unistd.h>
43502
43503 int
43504 main ()
43505 {
43506
43507 struct timeval tv;
43508 gettimeofday(&tv, NULL);
43509
43510 ;
43511 return 0;
43512 }
43513 _ACEOF
43514 rm -f conftest.$ac_objext
43515 if { (ac_try="$ac_compile"
43516 case "(($ac_try" in
43517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43518 *) ac_try_echo=$ac_try;;
43519 esac
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_compile") 2>conftest.er1
43522 ac_status=$?
43523 grep -v '^ *+' conftest.er1 >conftest.err
43524 rm -f conftest.er1
43525 cat conftest.err >&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_c_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest.$ac_objext; then
43531 wx_cv_func_gettimeofday_has_2_args=yes
43532 else
43533 echo "$as_me: failed program was:" >&5
43534 sed 's/^/| /' conftest.$ac_ext >&5
43535
43536 cat >conftest.$ac_ext <<_ACEOF
43537 /* confdefs.h. */
43538 _ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542
43543 #include <sys/time.h>
43544 #include <unistd.h>
43545
43546 int
43547 main ()
43548 {
43549
43550 struct timeval tv;
43551 gettimeofday(&tv);
43552
43553 ;
43554 return 0;
43555 }
43556 _ACEOF
43557 rm -f conftest.$ac_objext
43558 if { (ac_try="$ac_compile"
43559 case "(($ac_try" in
43560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43561 *) ac_try_echo=$ac_try;;
43562 esac
43563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43564 (eval "$ac_compile") 2>conftest.er1
43565 ac_status=$?
43566 grep -v '^ *+' conftest.er1 >conftest.err
43567 rm -f conftest.er1
43568 cat conftest.err >&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); } && {
43571 test -z "$ac_c_werror_flag" ||
43572 test ! -s conftest.err
43573 } && test -s conftest.$ac_objext; then
43574 wx_cv_func_gettimeofday_has_2_args=no
43575 else
43576 echo "$as_me: failed program was:" >&5
43577 sed 's/^/| /' conftest.$ac_ext >&5
43578
43579
43580 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43581 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43582 wx_cv_func_gettimeofday_has_2_args=unknown
43583
43584
43585 fi
43586
43587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43588
43589 fi
43590
43591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592
43593 fi
43594 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43595 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43596
43597 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define WX_GETTIMEOFDAY_NO_TZ 1
43600 _ACEOF
43601
43602 fi
43603 fi
43604
43605 if test "$wxUSE_DATETIME" = "yes"; then
43606 { echo "$as_me:$LINENO: checking for strptime" >&5
43607 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43608 if test "${ac_cv_func_strptime+set}" = set; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43610 else
43611 cat >conftest.$ac_ext <<_ACEOF
43612 /* confdefs.h. */
43613 _ACEOF
43614 cat confdefs.h >>conftest.$ac_ext
43615 cat >>conftest.$ac_ext <<_ACEOF
43616 /* end confdefs.h. */
43617 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43619 #define strptime innocuous_strptime
43620
43621 /* System header to define __stub macros and hopefully few prototypes,
43622 which can conflict with char strptime (); below.
43623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43624 <limits.h> exists even on freestanding compilers. */
43625
43626 #ifdef __STDC__
43627 # include <limits.h>
43628 #else
43629 # include <assert.h>
43630 #endif
43631
43632 #undef strptime
43633
43634 /* Override any GCC internal prototype to avoid an error.
43635 Use char because int might match the return type of a GCC
43636 builtin and then its argument prototype would still apply. */
43637 #ifdef __cplusplus
43638 extern "C"
43639 #endif
43640 char strptime ();
43641 /* The GNU C library defines this for functions which it implements
43642 to always fail with ENOSYS. Some functions are actually named
43643 something starting with __ and the normal name is an alias. */
43644 #if defined __stub_strptime || defined __stub___strptime
43645 choke me
43646 #endif
43647
43648 int
43649 main ()
43650 {
43651 return strptime ();
43652 ;
43653 return 0;
43654 }
43655 _ACEOF
43656 rm -f conftest.$ac_objext conftest$ac_exeext
43657 if { (ac_try="$ac_link"
43658 case "(($ac_try" in
43659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43660 *) ac_try_echo=$ac_try;;
43661 esac
43662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43663 (eval "$ac_link") 2>conftest.er1
43664 ac_status=$?
43665 grep -v '^ *+' conftest.er1 >conftest.err
43666 rm -f conftest.er1
43667 cat conftest.err >&5
43668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669 (exit $ac_status); } && {
43670 test -z "$ac_c_werror_flag" ||
43671 test ! -s conftest.err
43672 } && test -s conftest$ac_exeext &&
43673 $as_test_x conftest$ac_exeext; then
43674 ac_cv_func_strptime=yes
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43678
43679 ac_cv_func_strptime=no
43680 fi
43681
43682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43683 conftest$ac_exeext conftest.$ac_ext
43684 fi
43685 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43686 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43687
43688 if test "$ac_cv_func_strptime" = "yes"; then
43689 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43690 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43691 if test "${wx_cv_func_strptime_decl+set}" = set; then
43692 echo $ECHO_N "(cached) $ECHO_C" >&6
43693 else
43694
43695 ac_ext=cpp
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43700
43701 cat >conftest.$ac_ext <<_ACEOF
43702 /* confdefs.h. */
43703 _ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43707
43708 #include <time.h>
43709
43710 int
43711 main ()
43712 {
43713
43714 struct tm t;
43715 strptime("foo", "bar", &t);
43716
43717 ;
43718 return 0;
43719 }
43720 _ACEOF
43721 rm -f conftest.$ac_objext
43722 if { (ac_try="$ac_compile"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43725 *) ac_try_echo=$ac_try;;
43726 esac
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_compile") 2>conftest.er1
43729 ac_status=$?
43730 grep -v '^ *+' conftest.er1 >conftest.err
43731 rm -f conftest.er1
43732 cat conftest.err >&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_cxx_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest.$ac_objext; then
43738 wx_cv_func_strptime_decl=yes
43739 else
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43742
43743 wx_cv_func_strptime_decl=no
43744
43745 fi
43746
43747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43748 ac_ext=c
43749 ac_cpp='$CPP $CPPFLAGS'
43750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43753
43754
43755
43756 fi
43757 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43758 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43759 fi
43760 if test "$wx_cv_func_strptime_decl" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define HAVE_STRPTIME_DECL 1
43763 _ACEOF
43764
43765 else
43766 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43767 fi
43768 if test "$ac_cv_func_strptime" = "yes"; then
43769 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43770 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43771 if test "${wx_cv_func_strptime_ok+set}" = set; then
43772 echo $ECHO_N "(cached) $ECHO_C" >&6
43773 else
43774 if test "$cross_compiling" = yes; then
43775 wx_cv_func_strptime_ok=no
43776
43777 else
43778 cat >conftest.$ac_ext <<_ACEOF
43779
43780 #include <stdlib.h>
43781 #include <time.h>
43782 #include "confdefs.h"
43783
43784 $wx_strptime_decl
43785
43786 int main()
43787 {
43788 struct tm t;
43789 return !!strptime("", "%x", &t);
43790 }
43791
43792 _ACEOF
43793 rm -f conftest$ac_exeext
43794 if { (ac_try="$ac_link"
43795 case "(($ac_try" in
43796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43797 *) ac_try_echo=$ac_try;;
43798 esac
43799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43800 (eval "$ac_link") 2>&5
43801 ac_status=$?
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43804 { (case "(($ac_try" in
43805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43806 *) ac_try_echo=$ac_try;;
43807 esac
43808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43809 (eval "$ac_try") 2>&5
43810 ac_status=$?
43811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43812 (exit $ac_status); }; }; then
43813 wx_cv_func_strptime_ok=yes
43814 else
43815 echo "$as_me: program exited with status $ac_status" >&5
43816 echo "$as_me: failed program was:" >&5
43817 sed 's/^/| /' conftest.$ac_ext >&5
43818
43819 ( exit $ac_status )
43820 wx_cv_func_strptime_ok=no
43821 fi
43822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43823 fi
43824
43825
43826
43827 fi
43828 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43829 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43830
43831 if test "$wx_cv_func_strptime_ok" = "yes"; then
43832 cat >>confdefs.h <<\_ACEOF
43833 #define HAVE_STRPTIME 1
43834 _ACEOF
43835
43836 fi
43837 fi
43838
43839 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43840 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43841 if test "${wx_cv_var_timezone+set}" = set; then
43842 echo $ECHO_N "(cached) $ECHO_C" >&6
43843 else
43844
43845 ac_ext=cpp
43846 ac_cpp='$CXXCPP $CPPFLAGS'
43847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43850
43851 cat >conftest.$ac_ext <<_ACEOF
43852 /* confdefs.h. */
43853 _ACEOF
43854 cat confdefs.h >>conftest.$ac_ext
43855 cat >>conftest.$ac_ext <<_ACEOF
43856 /* end confdefs.h. */
43857
43858 #include <time.h>
43859
43860 int
43861 main ()
43862 {
43863
43864 int tz;
43865 tz = timezone;
43866
43867 ;
43868 return 0;
43869 }
43870 _ACEOF
43871 rm -f conftest.$ac_objext
43872 if { (ac_try="$ac_compile"
43873 case "(($ac_try" in
43874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43875 *) ac_try_echo=$ac_try;;
43876 esac
43877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43878 (eval "$ac_compile") 2>conftest.er1
43879 ac_status=$?
43880 grep -v '^ *+' conftest.er1 >conftest.err
43881 rm -f conftest.er1
43882 cat conftest.err >&5
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); } && {
43885 test -z "$ac_cxx_werror_flag" ||
43886 test ! -s conftest.err
43887 } && test -s conftest.$ac_objext; then
43888
43889 wx_cv_var_timezone=timezone
43890
43891 else
43892 echo "$as_me: failed program was:" >&5
43893 sed 's/^/| /' conftest.$ac_ext >&5
43894
43895
43896 cat >conftest.$ac_ext <<_ACEOF
43897 /* confdefs.h. */
43898 _ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43902
43903 #include <time.h>
43904
43905 int
43906 main ()
43907 {
43908
43909 int tz;
43910 tz = _timezone;
43911
43912 ;
43913 return 0;
43914 }
43915 _ACEOF
43916 rm -f conftest.$ac_objext
43917 if { (ac_try="$ac_compile"
43918 case "(($ac_try" in
43919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43920 *) ac_try_echo=$ac_try;;
43921 esac
43922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43923 (eval "$ac_compile") 2>conftest.er1
43924 ac_status=$?
43925 grep -v '^ *+' conftest.er1 >conftest.err
43926 rm -f conftest.er1
43927 cat conftest.err >&5
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); } && {
43930 test -z "$ac_cxx_werror_flag" ||
43931 test ! -s conftest.err
43932 } && test -s conftest.$ac_objext; then
43933
43934 wx_cv_var_timezone=_timezone
43935
43936 else
43937 echo "$as_me: failed program was:" >&5
43938 sed 's/^/| /' conftest.$ac_ext >&5
43939
43940
43941 cat >conftest.$ac_ext <<_ACEOF
43942 /* confdefs.h. */
43943 _ACEOF
43944 cat confdefs.h >>conftest.$ac_ext
43945 cat >>conftest.$ac_ext <<_ACEOF
43946 /* end confdefs.h. */
43947
43948 #include <time.h>
43949
43950 int
43951 main ()
43952 {
43953
43954 int tz;
43955 tz = __timezone;
43956
43957 ;
43958 return 0;
43959 }
43960 _ACEOF
43961 rm -f conftest.$ac_objext
43962 if { (ac_try="$ac_compile"
43963 case "(($ac_try" in
43964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43965 *) ac_try_echo=$ac_try;;
43966 esac
43967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43968 (eval "$ac_compile") 2>conftest.er1
43969 ac_status=$?
43970 grep -v '^ *+' conftest.er1 >conftest.err
43971 rm -f conftest.er1
43972 cat conftest.err >&5
43973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43974 (exit $ac_status); } && {
43975 test -z "$ac_cxx_werror_flag" ||
43976 test ! -s conftest.err
43977 } && test -s conftest.$ac_objext; then
43978
43979 wx_cv_var_timezone=__timezone
43980
43981 else
43982 echo "$as_me: failed program was:" >&5
43983 sed 's/^/| /' conftest.$ac_ext >&5
43984
43985
43986 if test "$USE_DOS" = 0 ; then
43987 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43988 echo "$as_me: WARNING: no timezone variable" >&2;}
43989 fi
43990
43991
43992 fi
43993
43994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43995
43996
43997 fi
43998
43999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44000
44001
44002 fi
44003
44004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44005 ac_ext=c
44006 ac_cpp='$CPP $CPPFLAGS'
44007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44010
44011
44012
44013 fi
44014 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44015 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44016
44017 if test "x$wx_cv_var_timezone" != x ; then
44018 cat >>confdefs.h <<_ACEOF
44019 #define WX_TIMEZONE $wx_cv_var_timezone
44020 _ACEOF
44021
44022 fi
44023
44024
44025 for ac_func in localtime
44026 do
44027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44031 echo $ECHO_N "(cached) $ECHO_C" >&6
44032 else
44033 cat >conftest.$ac_ext <<_ACEOF
44034 /* confdefs.h. */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44041 #define $ac_func innocuous_$ac_func
44042
44043 /* System header to define __stub macros and hopefully few prototypes,
44044 which can conflict with char $ac_func (); below.
44045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44046 <limits.h> exists even on freestanding compilers. */
44047
44048 #ifdef __STDC__
44049 # include <limits.h>
44050 #else
44051 # include <assert.h>
44052 #endif
44053
44054 #undef $ac_func
44055
44056 /* Override any GCC internal prototype to avoid an error.
44057 Use char because int might match the return type of a GCC
44058 builtin and then its argument prototype would still apply. */
44059 #ifdef __cplusplus
44060 extern "C"
44061 #endif
44062 char $ac_func ();
44063 /* The GNU C library defines this for functions which it implements
44064 to always fail with ENOSYS. Some functions are actually named
44065 something starting with __ and the normal name is an alias. */
44066 #if defined __stub_$ac_func || defined __stub___$ac_func
44067 choke me
44068 #endif
44069
44070 int
44071 main ()
44072 {
44073 return $ac_func ();
44074 ;
44075 return 0;
44076 }
44077 _ACEOF
44078 rm -f conftest.$ac_objext conftest$ac_exeext
44079 if { (ac_try="$ac_link"
44080 case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44083 esac
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_link") 2>conftest.er1
44086 ac_status=$?
44087 grep -v '^ *+' conftest.er1 >conftest.err
44088 rm -f conftest.er1
44089 cat conftest.err >&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); } && {
44092 test -z "$ac_c_werror_flag" ||
44093 test ! -s conftest.err
44094 } && test -s conftest$ac_exeext &&
44095 $as_test_x conftest$ac_exeext; then
44096 eval "$as_ac_var=yes"
44097 else
44098 echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.$ac_ext >&5
44100
44101 eval "$as_ac_var=no"
44102 fi
44103
44104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44105 conftest$ac_exeext conftest.$ac_ext
44106 fi
44107 ac_res=`eval echo '${'$as_ac_var'}'`
44108 { echo "$as_me:$LINENO: result: $ac_res" >&5
44109 echo "${ECHO_T}$ac_res" >&6; }
44110 if test `eval echo '${'$as_ac_var'}'` = yes; then
44111 cat >>confdefs.h <<_ACEOF
44112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44113 _ACEOF
44114
44115 fi
44116 done
44117
44118
44119 if test "$ac_cv_func_localtime" = "yes"; then
44120 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44121 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44122 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44123 echo $ECHO_N "(cached) $ECHO_C" >&6
44124 else
44125
44126 cat >conftest.$ac_ext <<_ACEOF
44127 /* confdefs.h. */
44128 _ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44132
44133 #include <time.h>
44134
44135 int
44136 main ()
44137 {
44138
44139 struct tm tm;
44140 tm.tm_gmtoff++;
44141
44142 ;
44143 return 0;
44144 }
44145 _ACEOF
44146 rm -f conftest.$ac_objext
44147 if { (ac_try="$ac_compile"
44148 case "(($ac_try" in
44149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44150 *) ac_try_echo=$ac_try;;
44151 esac
44152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44153 (eval "$ac_compile") 2>conftest.er1
44154 ac_status=$?
44155 grep -v '^ *+' conftest.er1 >conftest.err
44156 rm -f conftest.er1
44157 cat conftest.err >&5
44158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159 (exit $ac_status); } && {
44160 test -z "$ac_c_werror_flag" ||
44161 test ! -s conftest.err
44162 } && test -s conftest.$ac_objext; then
44163
44164 wx_cv_struct_tm_has_gmtoff=yes
44165
44166 else
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.$ac_ext >&5
44169
44170 wx_cv_struct_tm_has_gmtoff=no
44171
44172 fi
44173
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175
44176 fi
44177 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44178 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44179 fi
44180
44181 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44182 cat >>confdefs.h <<\_ACEOF
44183 #define WX_GMTOFF_IN_TM 1
44184 _ACEOF
44185
44186 fi
44187
44188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44189 fi
44190
44191
44192 if test "$wxUSE_SOCKETS" = "yes"; then
44193 if test "$wxUSE_MGL" = 1; then
44194 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44195 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44196 wxUSE_SOCKETS="no"
44197 fi
44198 fi
44199
44200 if test "$wxUSE_SOCKETS" = "yes"; then
44201 if test "$TOOLKIT" != "MSW"; then
44202 { echo "$as_me:$LINENO: checking for socket" >&5
44203 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44204 if test "${ac_cv_func_socket+set}" = set; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44206 else
44207 cat >conftest.$ac_ext <<_ACEOF
44208 /* confdefs.h. */
44209 _ACEOF
44210 cat confdefs.h >>conftest.$ac_ext
44211 cat >>conftest.$ac_ext <<_ACEOF
44212 /* end confdefs.h. */
44213 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44215 #define socket innocuous_socket
44216
44217 /* System header to define __stub macros and hopefully few prototypes,
44218 which can conflict with char socket (); below.
44219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44220 <limits.h> exists even on freestanding compilers. */
44221
44222 #ifdef __STDC__
44223 # include <limits.h>
44224 #else
44225 # include <assert.h>
44226 #endif
44227
44228 #undef socket
44229
44230 /* Override any GCC internal prototype to avoid an error.
44231 Use char because int might match the return type of a GCC
44232 builtin and then its argument prototype would still apply. */
44233 #ifdef __cplusplus
44234 extern "C"
44235 #endif
44236 char socket ();
44237 /* The GNU C library defines this for functions which it implements
44238 to always fail with ENOSYS. Some functions are actually named
44239 something starting with __ and the normal name is an alias. */
44240 #if defined __stub_socket || defined __stub___socket
44241 choke me
44242 #endif
44243
44244 int
44245 main ()
44246 {
44247 return socket ();
44248 ;
44249 return 0;
44250 }
44251 _ACEOF
44252 rm -f conftest.$ac_objext conftest$ac_exeext
44253 if { (ac_try="$ac_link"
44254 case "(($ac_try" in
44255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44256 *) ac_try_echo=$ac_try;;
44257 esac
44258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44259 (eval "$ac_link") 2>conftest.er1
44260 ac_status=$?
44261 grep -v '^ *+' conftest.er1 >conftest.err
44262 rm -f conftest.er1
44263 cat conftest.err >&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } && {
44266 test -z "$ac_c_werror_flag" ||
44267 test ! -s conftest.err
44268 } && test -s conftest$ac_exeext &&
44269 $as_test_x conftest$ac_exeext; then
44270 ac_cv_func_socket=yes
44271 else
44272 echo "$as_me: failed program was:" >&5
44273 sed 's/^/| /' conftest.$ac_ext >&5
44274
44275 ac_cv_func_socket=no
44276 fi
44277
44278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44279 conftest$ac_exeext conftest.$ac_ext
44280 fi
44281 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44282 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44283 if test $ac_cv_func_socket = yes; then
44284 :
44285 else
44286
44287 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44288 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44289 if test "${ac_cv_lib_socket_socket+set}" = set; then
44290 echo $ECHO_N "(cached) $ECHO_C" >&6
44291 else
44292 ac_check_lib_save_LIBS=$LIBS
44293 LIBS="-lsocket $LIBS"
44294 cat >conftest.$ac_ext <<_ACEOF
44295 /* confdefs.h. */
44296 _ACEOF
44297 cat confdefs.h >>conftest.$ac_ext
44298 cat >>conftest.$ac_ext <<_ACEOF
44299 /* end confdefs.h. */
44300
44301 /* Override any GCC internal prototype to avoid an error.
44302 Use char because int might match the return type of a GCC
44303 builtin and then its argument prototype would still apply. */
44304 #ifdef __cplusplus
44305 extern "C"
44306 #endif
44307 char socket ();
44308 int
44309 main ()
44310 {
44311 return socket ();
44312 ;
44313 return 0;
44314 }
44315 _ACEOF
44316 rm -f conftest.$ac_objext conftest$ac_exeext
44317 if { (ac_try="$ac_link"
44318 case "(($ac_try" in
44319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44320 *) ac_try_echo=$ac_try;;
44321 esac
44322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44323 (eval "$ac_link") 2>conftest.er1
44324 ac_status=$?
44325 grep -v '^ *+' conftest.er1 >conftest.err
44326 rm -f conftest.er1
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } && {
44330 test -z "$ac_c_werror_flag" ||
44331 test ! -s conftest.err
44332 } && test -s conftest$ac_exeext &&
44333 $as_test_x conftest$ac_exeext; then
44334 ac_cv_lib_socket_socket=yes
44335 else
44336 echo "$as_me: failed program was:" >&5
44337 sed 's/^/| /' conftest.$ac_ext >&5
44338
44339 ac_cv_lib_socket_socket=no
44340 fi
44341
44342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44343 conftest$ac_exeext conftest.$ac_ext
44344 LIBS=$ac_check_lib_save_LIBS
44345 fi
44346 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44347 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44348 if test $ac_cv_lib_socket_socket = yes; then
44349 if test "$INET_LINK" != " -lsocket"; then
44350 INET_LINK="$INET_LINK -lsocket"
44351 fi
44352 else
44353
44354 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44355 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44356 wxUSE_SOCKETS=no
44357
44358
44359 fi
44360
44361
44362
44363 fi
44364
44365 fi
44366 fi
44367
44368 if test "$wxUSE_SOCKETS" = "yes" ; then
44369 if test "$TOOLKIT" != "MSW"; then
44370 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44371 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44372 if test "${wx_cv_type_getsockname3+set}" = set; then
44373 echo $ECHO_N "(cached) $ECHO_C" >&6
44374 else
44375
44376 ac_ext=cpp
44377 ac_cpp='$CXXCPP $CPPFLAGS'
44378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44381
44382 cat >conftest.$ac_ext <<_ACEOF
44383 /* confdefs.h. */
44384 _ACEOF
44385 cat confdefs.h >>conftest.$ac_ext
44386 cat >>conftest.$ac_ext <<_ACEOF
44387 /* end confdefs.h. */
44388
44389 #include <sys/types.h>
44390 #include <sys/socket.h>
44391
44392 int
44393 main ()
44394 {
44395
44396 socklen_t len;
44397 getsockname(0, 0, &len);
44398
44399 ;
44400 return 0;
44401 }
44402 _ACEOF
44403 rm -f conftest.$ac_objext
44404 if { (ac_try="$ac_compile"
44405 case "(($ac_try" in
44406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44407 *) ac_try_echo=$ac_try;;
44408 esac
44409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44410 (eval "$ac_compile") 2>conftest.er1
44411 ac_status=$?
44412 grep -v '^ *+' conftest.er1 >conftest.err
44413 rm -f conftest.er1
44414 cat conftest.err >&5
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); } && {
44417 test -z "$ac_cxx_werror_flag" ||
44418 test ! -s conftest.err
44419 } && test -s conftest.$ac_objext; then
44420 wx_cv_type_getsockname3=socklen_t
44421 else
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44424
44425
44426 CFLAGS_OLD="$CFLAGS"
44427 if test "$GCC" = yes ; then
44428 CFLAGS="-Werror $CFLAGS"
44429 fi
44430
44431 cat >conftest.$ac_ext <<_ACEOF
44432 /* confdefs.h. */
44433 _ACEOF
44434 cat confdefs.h >>conftest.$ac_ext
44435 cat >>conftest.$ac_ext <<_ACEOF
44436 /* end confdefs.h. */
44437
44438 #include <sys/types.h>
44439 #include <sys/socket.h>
44440
44441 int
44442 main ()
44443 {
44444
44445 size_t len;
44446 getsockname(0, 0, &len);
44447
44448 ;
44449 return 0;
44450 }
44451 _ACEOF
44452 rm -f conftest.$ac_objext
44453 if { (ac_try="$ac_compile"
44454 case "(($ac_try" in
44455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44456 *) ac_try_echo=$ac_try;;
44457 esac
44458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44459 (eval "$ac_compile") 2>conftest.er1
44460 ac_status=$?
44461 grep -v '^ *+' conftest.er1 >conftest.err
44462 rm -f conftest.er1
44463 cat conftest.err >&5
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); } && {
44466 test -z "$ac_cxx_werror_flag" ||
44467 test ! -s conftest.err
44468 } && test -s conftest.$ac_objext; then
44469 wx_cv_type_getsockname3=size_t
44470 else
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44473
44474 cat >conftest.$ac_ext <<_ACEOF
44475 /* confdefs.h. */
44476 _ACEOF
44477 cat confdefs.h >>conftest.$ac_ext
44478 cat >>conftest.$ac_ext <<_ACEOF
44479 /* end confdefs.h. */
44480
44481 #include <sys/types.h>
44482 #include <sys/socket.h>
44483
44484 int
44485 main ()
44486 {
44487
44488 int len;
44489 getsockname(0, 0, &len);
44490
44491 ;
44492 return 0;
44493 }
44494 _ACEOF
44495 rm -f conftest.$ac_objext
44496 if { (ac_try="$ac_compile"
44497 case "(($ac_try" in
44498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44499 *) ac_try_echo=$ac_try;;
44500 esac
44501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44502 (eval "$ac_compile") 2>conftest.er1
44503 ac_status=$?
44504 grep -v '^ *+' conftest.er1 >conftest.err
44505 rm -f conftest.er1
44506 cat conftest.err >&5
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); } && {
44509 test -z "$ac_cxx_werror_flag" ||
44510 test ! -s conftest.err
44511 } && test -s conftest.$ac_objext; then
44512 wx_cv_type_getsockname3=int
44513 else
44514 echo "$as_me: failed program was:" >&5
44515 sed 's/^/| /' conftest.$ac_ext >&5
44516
44517 wx_cv_type_getsockname3=unknown
44518
44519 fi
44520
44521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44522
44523 fi
44524
44525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44526
44527 CFLAGS="$CFLAGS_OLD"
44528
44529
44530 fi
44531
44532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44533 ac_ext=c
44534 ac_cpp='$CPP $CPPFLAGS'
44535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44538
44539
44540 fi
44541 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44542 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44543
44544 if test "$wx_cv_type_getsockname3" = "unknown"; then
44545 wxUSE_SOCKETS=no
44546 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44547 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44548 else
44549 cat >>confdefs.h <<_ACEOF
44550 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44551 _ACEOF
44552
44553 fi
44554 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44555 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44556 if test "${wx_cv_type_getsockopt5+set}" = set; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559
44560 ac_ext=cpp
44561 ac_cpp='$CXXCPP $CPPFLAGS'
44562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44565
44566 cat >conftest.$ac_ext <<_ACEOF
44567 /* confdefs.h. */
44568 _ACEOF
44569 cat confdefs.h >>conftest.$ac_ext
44570 cat >>conftest.$ac_ext <<_ACEOF
44571 /* end confdefs.h. */
44572
44573 #include <sys/types.h>
44574 #include <sys/socket.h>
44575
44576 int
44577 main ()
44578 {
44579
44580 socklen_t len;
44581 getsockopt(0, 0, 0, 0, &len);
44582
44583 ;
44584 return 0;
44585 }
44586 _ACEOF
44587 rm -f conftest.$ac_objext
44588 if { (ac_try="$ac_compile"
44589 case "(($ac_try" in
44590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44591 *) ac_try_echo=$ac_try;;
44592 esac
44593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44594 (eval "$ac_compile") 2>conftest.er1
44595 ac_status=$?
44596 grep -v '^ *+' conftest.er1 >conftest.err
44597 rm -f conftest.er1
44598 cat conftest.err >&5
44599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600 (exit $ac_status); } && {
44601 test -z "$ac_cxx_werror_flag" ||
44602 test ! -s conftest.err
44603 } && test -s conftest.$ac_objext; then
44604 wx_cv_type_getsockopt5=socklen_t
44605 else
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44608
44609
44610 cat >conftest.$ac_ext <<_ACEOF
44611 /* confdefs.h. */
44612 _ACEOF
44613 cat confdefs.h >>conftest.$ac_ext
44614 cat >>conftest.$ac_ext <<_ACEOF
44615 /* end confdefs.h. */
44616
44617 #include <sys/types.h>
44618 #include <sys/socket.h>
44619
44620 int
44621 main ()
44622 {
44623
44624 size_t len;
44625 getsockopt(0, 0, 0, 0, &len);
44626
44627 ;
44628 return 0;
44629 }
44630 _ACEOF
44631 rm -f conftest.$ac_objext
44632 if { (ac_try="$ac_compile"
44633 case "(($ac_try" in
44634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44635 *) ac_try_echo=$ac_try;;
44636 esac
44637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44638 (eval "$ac_compile") 2>conftest.er1
44639 ac_status=$?
44640 grep -v '^ *+' conftest.er1 >conftest.err
44641 rm -f conftest.er1
44642 cat conftest.err >&5
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); } && {
44645 test -z "$ac_cxx_werror_flag" ||
44646 test ! -s conftest.err
44647 } && test -s conftest.$ac_objext; then
44648 wx_cv_type_getsockopt5=size_t
44649 else
44650 echo "$as_me: failed program was:" >&5
44651 sed 's/^/| /' conftest.$ac_ext >&5
44652
44653 cat >conftest.$ac_ext <<_ACEOF
44654 /* confdefs.h. */
44655 _ACEOF
44656 cat confdefs.h >>conftest.$ac_ext
44657 cat >>conftest.$ac_ext <<_ACEOF
44658 /* end confdefs.h. */
44659
44660 #include <sys/types.h>
44661 #include <sys/socket.h>
44662
44663 int
44664 main ()
44665 {
44666
44667 int len;
44668 getsockopt(0, 0, 0, 0, &len);
44669
44670 ;
44671 return 0;
44672 }
44673 _ACEOF
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44679 esac
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44682 ac_status=$?
44683 grep -v '^ *+' conftest.er1 >conftest.err
44684 rm -f conftest.er1
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_cxx_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691 wx_cv_type_getsockopt5=int
44692 else
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696 wx_cv_type_getsockopt5=unknown
44697
44698 fi
44699
44700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44701
44702 fi
44703
44704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44705
44706
44707 fi
44708
44709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44710 ac_ext=c
44711 ac_cpp='$CPP $CPPFLAGS'
44712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44715
44716
44717 fi
44718 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44719 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44720
44721 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44722 wxUSE_SOCKETS=no
44723 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44724 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44725 else
44726 cat >>confdefs.h <<_ACEOF
44727 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44728 _ACEOF
44729
44730 fi
44731 fi
44732 fi
44733
44734 if test "$wxUSE_SOCKETS" = "yes" ; then
44735 if test "$wxUSE_IPV6" = "yes"; then
44736 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44737 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44738 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44739 echo $ECHO_N "(cached) $ECHO_C" >&6
44740 else
44741
44742 cat >conftest.$ac_ext <<_ACEOF
44743 /* confdefs.h. */
44744 _ACEOF
44745 cat confdefs.h >>conftest.$ac_ext
44746 cat >>conftest.$ac_ext <<_ACEOF
44747 /* end confdefs.h. */
44748
44749 #include <sys/types.h>
44750 #include <sys/socket.h>
44751 #include <netinet/in.h>
44752
44753 int
44754 main ()
44755 {
44756
44757 struct sockaddr_in6 sa6;
44758
44759 ;
44760 return 0;
44761 }
44762 _ACEOF
44763 rm -f conftest.$ac_objext
44764 if { (ac_try="$ac_compile"
44765 case "(($ac_try" in
44766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44767 *) ac_try_echo=$ac_try;;
44768 esac
44769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44770 (eval "$ac_compile") 2>conftest.er1
44771 ac_status=$?
44772 grep -v '^ *+' conftest.er1 >conftest.err
44773 rm -f conftest.er1
44774 cat conftest.err >&5
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); } && {
44777 test -z "$ac_c_werror_flag" ||
44778 test ! -s conftest.err
44779 } && test -s conftest.$ac_objext; then
44780 wx_cv_type_sockaddr_in6=yes
44781 else
44782 echo "$as_me: failed program was:" >&5
44783 sed 's/^/| /' conftest.$ac_ext >&5
44784
44785 wx_cv_type_sockaddr_in6=no
44786
44787 fi
44788
44789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44790
44791
44792 fi
44793 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44794 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44795
44796 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44797 cat >>confdefs.h <<\_ACEOF
44798 #define wxUSE_IPV6 1
44799 _ACEOF
44800
44801 else
44802 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44803 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44804 fi
44805 fi
44806
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_SOCKETS 1
44809 _ACEOF
44810
44811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44812 fi
44813
44814 if test "$wxUSE_PROTOCOL" = "yes"; then
44815 if test "$wxUSE_SOCKETS" != "yes"; then
44816 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44817 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44818 wxUSE_PROTOCOL=no
44819 fi
44820 fi
44821
44822 if test "$wxUSE_PROTOCOL" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_PROTOCOL 1
44825 _ACEOF
44826
44827
44828 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_PROTOCOL_HTTP 1
44831 _ACEOF
44832
44833 fi
44834 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44835 cat >>confdefs.h <<\_ACEOF
44836 #define wxUSE_PROTOCOL_FTP 1
44837 _ACEOF
44838
44839 fi
44840 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44841 cat >>confdefs.h <<\_ACEOF
44842 #define wxUSE_PROTOCOL_FILE 1
44843 _ACEOF
44844
44845 fi
44846 else
44847 if test "$wxUSE_FS_INET" = "yes"; then
44848 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44849 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44850 wxUSE_FS_INET="no"
44851 fi
44852 fi
44853
44854 if test "$wxUSE_URL" = "yes"; then
44855 if test "$wxUSE_PROTOCOL" != "yes"; then
44856 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44857 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44858 wxUSE_URL=no
44859 fi
44860 if test "$wxUSE_URL" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_URL 1
44863 _ACEOF
44864
44865 fi
44866 fi
44867
44868 if test "$wxUSE_VARIANT" = "yes"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_VARIANT 1
44871 _ACEOF
44872
44873 fi
44874
44875 if test "$wxUSE_FS_INET" = "yes"; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_FS_INET 1
44878 _ACEOF
44879
44880 fi
44881
44882
44883 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44884 wxUSE_JOYSTICK=no
44885
44886 if test "$TOOLKIT" = "MSW"; then
44887 wxUSE_JOYSTICK=yes
44888
44889 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44890 if test "$USE_DARWIN" = 1; then
44891 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44892 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44893 ac_ext=cpp
44894 ac_cpp='$CXXCPP $CPPFLAGS'
44895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44898
44899 cat >conftest.$ac_ext <<_ACEOF
44900 /* confdefs.h. */
44901 _ACEOF
44902 cat confdefs.h >>conftest.$ac_ext
44903 cat >>conftest.$ac_ext <<_ACEOF
44904 /* end confdefs.h. */
44905 #include <IOKit/hid/IOHIDLib.h>
44906 int
44907 main ()
44908 {
44909 IOHIDQueueInterface *qi = NULL;
44910 IOHIDCallbackFunction cb = NULL;
44911 qi->setEventCallout(NULL, cb, NULL, NULL);
44912 ;
44913 return 0;
44914 }
44915 _ACEOF
44916 rm -f conftest.$ac_objext
44917 if { (ac_try="$ac_compile"
44918 case "(($ac_try" in
44919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44920 *) ac_try_echo=$ac_try;;
44921 esac
44922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44923 (eval "$ac_compile") 2>conftest.er1
44924 ac_status=$?
44925 grep -v '^ *+' conftest.er1 >conftest.err
44926 rm -f conftest.er1
44927 cat conftest.err >&5
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); } && {
44930 test -z "$ac_cxx_werror_flag" ||
44931 test ! -s conftest.err
44932 } && test -s conftest.$ac_objext; then
44933 wxUSE_JOYSTICK=yes
44934
44935 else
44936 echo "$as_me: failed program was:" >&5
44937 sed 's/^/| /' conftest.$ac_ext >&5
44938
44939
44940 fi
44941
44942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44943 ac_ext=c
44944 ac_cpp='$CPP $CPPFLAGS'
44945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948
44949 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44950 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44951 fi
44952
44953 else
44954 if test "$wxUSE_MGL" != 1; then
44955
44956 for ac_header in linux/joystick.h
44957 do
44958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44959 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44962 echo $ECHO_N "(cached) $ECHO_C" >&6
44963 else
44964 cat >conftest.$ac_ext <<_ACEOF
44965 /* confdefs.h. */
44966 _ACEOF
44967 cat confdefs.h >>conftest.$ac_ext
44968 cat >>conftest.$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44970 $ac_includes_default
44971
44972 #include <$ac_header>
44973 _ACEOF
44974 rm -f conftest.$ac_objext
44975 if { (ac_try="$ac_compile"
44976 case "(($ac_try" in
44977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44978 *) ac_try_echo=$ac_try;;
44979 esac
44980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44981 (eval "$ac_compile") 2>conftest.er1
44982 ac_status=$?
44983 grep -v '^ *+' conftest.er1 >conftest.err
44984 rm -f conftest.er1
44985 cat conftest.err >&5
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); } && {
44988 test -z "$ac_c_werror_flag" ||
44989 test ! -s conftest.err
44990 } && test -s conftest.$ac_objext; then
44991 eval "$as_ac_Header=yes"
44992 else
44993 echo "$as_me: failed program was:" >&5
44994 sed 's/^/| /' conftest.$ac_ext >&5
44995
44996 eval "$as_ac_Header=no"
44997 fi
44998
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000 fi
45001 ac_res=`eval echo '${'$as_ac_Header'}'`
45002 { echo "$as_me:$LINENO: result: $ac_res" >&5
45003 echo "${ECHO_T}$ac_res" >&6; }
45004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45005 cat >>confdefs.h <<_ACEOF
45006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45007 _ACEOF
45008 wxUSE_JOYSTICK=yes
45009 fi
45010
45011 done
45012
45013 fi
45014 fi
45015
45016 if test "$wxUSE_JOYSTICK" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_JOYSTICK 1
45019 _ACEOF
45020
45021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45022 else
45023 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45024 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45025 fi
45026 fi
45027
45028
45029
45030 if test "$wxUSE_FONTENUM" = "yes" ; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_FONTENUM 1
45033 _ACEOF
45034
45035 fi
45036
45037 if test "$wxUSE_FONTMAP" = "yes" ; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_FONTMAP 1
45040 _ACEOF
45041
45042 fi
45043
45044 if test "$wxUSE_UNICODE" = "yes" ; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_UNICODE 1
45047 _ACEOF
45048
45049
45050 if test "$USE_WIN32" != 1; then
45051 wxUSE_UNICODE_MSLU=no
45052 fi
45053
45054 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45055 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45056 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45057 if test "${ac_cv_lib_unicows_main+set}" = set; then
45058 echo $ECHO_N "(cached) $ECHO_C" >&6
45059 else
45060 ac_check_lib_save_LIBS=$LIBS
45061 LIBS="-lunicows $LIBS"
45062 cat >conftest.$ac_ext <<_ACEOF
45063 /* confdefs.h. */
45064 _ACEOF
45065 cat confdefs.h >>conftest.$ac_ext
45066 cat >>conftest.$ac_ext <<_ACEOF
45067 /* end confdefs.h. */
45068
45069
45070 int
45071 main ()
45072 {
45073 return main ();
45074 ;
45075 return 0;
45076 }
45077 _ACEOF
45078 rm -f conftest.$ac_objext conftest$ac_exeext
45079 if { (ac_try="$ac_link"
45080 case "(($ac_try" in
45081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45082 *) ac_try_echo=$ac_try;;
45083 esac
45084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45085 (eval "$ac_link") 2>conftest.er1
45086 ac_status=$?
45087 grep -v '^ *+' conftest.er1 >conftest.err
45088 rm -f conftest.er1
45089 cat conftest.err >&5
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); } && {
45092 test -z "$ac_c_werror_flag" ||
45093 test ! -s conftest.err
45094 } && test -s conftest$ac_exeext &&
45095 $as_test_x conftest$ac_exeext; then
45096 ac_cv_lib_unicows_main=yes
45097 else
45098 echo "$as_me: failed program was:" >&5
45099 sed 's/^/| /' conftest.$ac_ext >&5
45100
45101 ac_cv_lib_unicows_main=no
45102 fi
45103
45104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45105 conftest$ac_exeext conftest.$ac_ext
45106 LIBS=$ac_check_lib_save_LIBS
45107 fi
45108 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45109 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45110 if test $ac_cv_lib_unicows_main = yes; then
45111
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_UNICODE_MSLU 1
45114 _ACEOF
45115
45116
45117 else
45118
45119 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45120 Applications will only run on Windows NT/2000/XP!" >&5
45121 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45122 Applications will only run on Windows NT/2000/XP!" >&2;}
45123 wxUSE_UNICODE_MSLU=no
45124
45125 fi
45126
45127 fi
45128 fi
45129
45130 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_UNICODE_UTF8 1
45133 _ACEOF
45134
45135
45136 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_UTF8_LOCALE_ONLY 1
45139 _ACEOF
45140
45141 fi
45142 fi
45143
45144
45145 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_CONSTRAINTS 1
45148 _ACEOF
45149
45150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45151 fi
45152
45153 if test "$wxUSE_MDI" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_MDI 1
45156 _ACEOF
45157
45158
45159 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_MDI_ARCHITECTURE 1
45162 _ACEOF
45163
45164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45165 fi
45166 fi
45167
45168 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45171 _ACEOF
45172
45173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45174 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45176 fi
45177 fi
45178
45179 if test "$wxUSE_HELP" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_HELP 1
45182 _ACEOF
45183
45184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45185
45186 if test "$wxUSE_MSW" = 1; then
45187 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45188 cat >>confdefs.h <<\_ACEOF
45189 #define wxUSE_MS_HTML_HELP 1
45190 _ACEOF
45191
45192 fi
45193 fi
45194
45195 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45196 if test "$wxUSE_HTML" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_WXHTML_HELP 1
45199 _ACEOF
45200
45201 else
45202 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45203 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45204 wxUSE_WXHTML_HELP=no
45205 fi
45206 fi
45207 fi
45208
45209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45210 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45211 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45212 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45213 else
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_PRINTING_ARCHITECTURE 1
45216 _ACEOF
45217
45218 fi
45219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45220 fi
45221
45222 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_POSTSCRIPT 1
45225 _ACEOF
45226
45227 fi
45228
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45231 _ACEOF
45232
45233
45234 if test "$wxUSE_SVG" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_SVG 1
45237 _ACEOF
45238
45239 fi
45240
45241
45242 if test "$wxUSE_METAFILE" = "yes"; then
45243 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45244 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45245 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45246 wxUSE_METAFILE=no
45247 fi
45248 fi
45249
45250
45251 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45252 -o "$wxUSE_CLIPBOARD" = "yes" \
45253 -o "$wxUSE_OLE" = "yes" \
45254 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45255 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45256 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45257 if test "${ac_cv_header_ole2_h+set}" = set; then
45258 echo $ECHO_N "(cached) $ECHO_C" >&6
45259 else
45260 cat >conftest.$ac_ext <<_ACEOF
45261 /* confdefs.h. */
45262 _ACEOF
45263 cat confdefs.h >>conftest.$ac_ext
45264 cat >>conftest.$ac_ext <<_ACEOF
45265 /* end confdefs.h. */
45266
45267
45268 #include <ole2.h>
45269 _ACEOF
45270 rm -f conftest.$ac_objext
45271 if { (ac_try="$ac_compile"
45272 case "(($ac_try" in
45273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45274 *) ac_try_echo=$ac_try;;
45275 esac
45276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45277 (eval "$ac_compile") 2>conftest.er1
45278 ac_status=$?
45279 grep -v '^ *+' conftest.er1 >conftest.err
45280 rm -f conftest.er1
45281 cat conftest.err >&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); } && {
45284 test -z "$ac_c_werror_flag" ||
45285 test ! -s conftest.err
45286 } && test -s conftest.$ac_objext; then
45287 ac_cv_header_ole2_h=yes
45288 else
45289 echo "$as_me: failed program was:" >&5
45290 sed 's/^/| /' conftest.$ac_ext >&5
45291
45292 ac_cv_header_ole2_h=no
45293 fi
45294
45295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45296 fi
45297 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45298 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45299
45300
45301
45302 if test "$ac_cv_header_ole2_h" = "yes" ; then
45303 if test "$GCC" = yes ; then
45304 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45305 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45306 cat >conftest.$ac_ext <<_ACEOF
45307 /* confdefs.h. */
45308 _ACEOF
45309 cat confdefs.h >>conftest.$ac_ext
45310 cat >>conftest.$ac_ext <<_ACEOF
45311 /* end confdefs.h. */
45312 #include <windows.h>
45313 #include <ole2.h>
45314 int
45315 main ()
45316 {
45317
45318 ;
45319 return 0;
45320 }
45321 _ACEOF
45322 rm -f conftest.$ac_objext
45323 if { (ac_try="$ac_compile"
45324 case "(($ac_try" in
45325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45326 *) ac_try_echo=$ac_try;;
45327 esac
45328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45329 (eval "$ac_compile") 2>conftest.er1
45330 ac_status=$?
45331 grep -v '^ *+' conftest.er1 >conftest.err
45332 rm -f conftest.er1
45333 cat conftest.err >&5
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); } && {
45336 test -z "$ac_c_werror_flag" ||
45337 test ! -s conftest.err
45338 } && test -s conftest.$ac_objext; then
45339 { echo "$as_me:$LINENO: result: no" >&5
45340 echo "${ECHO_T}no" >&6; }
45341 else
45342 echo "$as_me: failed program was:" >&5
45343 sed 's/^/| /' conftest.$ac_ext >&5
45344
45345 { echo "$as_me:$LINENO: result: yes" >&5
45346 echo "${ECHO_T}yes" >&6; }
45347 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45348 fi
45349
45350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45351 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45352 if test "$wxUSE_OLE" = "yes" ; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_OLE 1
45355 _ACEOF
45356
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_OLE_AUTOMATION 1
45359 _ACEOF
45360
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_ACTIVEX 1
45363 _ACEOF
45364
45365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45366 fi
45367 fi
45368
45369 if test "$wxUSE_DATAOBJ" = "yes" ; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_DATAOBJ 1
45372 _ACEOF
45373
45374 fi
45375 else
45376 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45377 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45378
45379 wxUSE_CLIPBOARD=no
45380 wxUSE_DRAG_AND_DROP=no
45381 wxUSE_DATAOBJ=no
45382 wxUSE_OLE=no
45383 fi
45384
45385 if test "$wxUSE_METAFILE" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_METAFILE 1
45388 _ACEOF
45389
45390
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_ENH_METAFILE 1
45393 _ACEOF
45394
45395 fi
45396 fi
45397
45398 if test "$wxUSE_IPC" = "yes"; then
45399 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45400 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45401 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45402 wxUSE_IPC=no
45403 fi
45404
45405 if test "$wxUSE_IPC" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_IPC 1
45408 _ACEOF
45409
45410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45411 fi
45412 fi
45413
45414 if test "$wxUSE_DATAOBJ" = "yes"; then
45415 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45416 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45417 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45418 wxUSE_DATAOBJ=no
45419 else
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_DATAOBJ 1
45422 _ACEOF
45423
45424 fi
45425 else
45426 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45427 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45428 wxUSE_CLIPBOARD=no
45429 wxUSE_DRAG_AND_DROP=no
45430 fi
45431
45432 if test "$wxUSE_CLIPBOARD" = "yes"; then
45433 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45434 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45435 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45436 wxUSE_CLIPBOARD=no
45437 fi
45438
45439 if test "$wxUSE_CLIPBOARD" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_CLIPBOARD 1
45442 _ACEOF
45443
45444 fi
45445 fi
45446
45447 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45448 if test "$wxUSE_GTK" = 1; then
45449 if test "$WXGTK12" != 1; then
45450 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45451 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45452 wxUSE_DRAG_AND_DROP=no
45453 fi
45454 fi
45455
45456 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45457 "$wxUSE_DFB" = 1; then
45458 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45459 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45460 wxUSE_DRAG_AND_DROP=no
45461 fi
45462
45463 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_DRAG_AND_DROP 1
45466 _ACEOF
45467
45468 fi
45469
45470 fi
45471
45472 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45474 fi
45475
45476 if test "$wxUSE_SPLINES" = "yes" ; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_SPLINES 1
45479 _ACEOF
45480
45481 fi
45482
45483 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_MOUSEWHEEL 1
45486 _ACEOF
45487
45488 fi
45489
45490
45491 USES_CONTROLS=0
45492 if test "$wxUSE_CONTROLS" = "yes"; then
45493 USES_CONTROLS=1
45494 fi
45495
45496 if test "$wxUSE_ACCEL" = "yes"; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_ACCEL 1
45499 _ACEOF
45500
45501 USES_CONTROLS=1
45502 fi
45503
45504 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45505 cat >>confdefs.h <<\_ACEOF
45506 #define wxUSE_ANIMATIONCTRL 1
45507 _ACEOF
45508
45509 USES_CONTROLS=1
45510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45511 fi
45512
45513 if test "$wxUSE_BUTTON" = "yes"; then
45514 cat >>confdefs.h <<\_ACEOF
45515 #define wxUSE_BUTTON 1
45516 _ACEOF
45517
45518 USES_CONTROLS=1
45519 fi
45520
45521 if test "$wxUSE_BMPBUTTON" = "yes"; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_BMPBUTTON 1
45524 _ACEOF
45525
45526 USES_CONTROLS=1
45527 fi
45528
45529 if test "$wxUSE_CALCTRL" = "yes"; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_CALENDARCTRL 1
45532 _ACEOF
45533
45534 USES_CONTROLS=1
45535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45536 fi
45537
45538 if test "$wxUSE_CARET" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_CARET 1
45541 _ACEOF
45542
45543 USES_CONTROLS=1
45544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45545 fi
45546
45547 if test "$wxUSE_COLLPANE" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_COLLPANE 1
45550 _ACEOF
45551
45552 USES_CONTROLS=1
45553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45554 fi
45555
45556 if test "$wxUSE_COMBOBOX" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_COMBOBOX 1
45559 _ACEOF
45560
45561 USES_CONTROLS=1
45562 fi
45563
45564 if test "$wxUSE_COMBOCTRL" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_COMBOCTRL 1
45567 _ACEOF
45568
45569 USES_CONTROLS=1
45570 fi
45571
45572 if test "$wxUSE_CHOICE" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_CHOICE 1
45575 _ACEOF
45576
45577 USES_CONTROLS=1
45578 fi
45579
45580 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_CHOICEBOOK 1
45583 _ACEOF
45584
45585 USES_CONTROLS=1
45586 fi
45587
45588 if test "$wxUSE_CHECKBOX" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_CHECKBOX 1
45591 _ACEOF
45592
45593 USES_CONTROLS=1
45594 fi
45595
45596 if test "$wxUSE_CHECKLST" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_CHECKLISTBOX 1
45599 _ACEOF
45600
45601 USES_CONTROLS=1
45602 fi
45603
45604 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_COLOURPICKERCTRL 1
45607 _ACEOF
45608
45609 USES_CONTROLS=1
45610 fi
45611
45612 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_DATEPICKCTRL 1
45615 _ACEOF
45616
45617 USES_CONTROLS=1
45618 fi
45619
45620 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_DIRPICKERCTRL 1
45623 _ACEOF
45624
45625 USES_CONTROLS=1
45626 fi
45627
45628 if test "$wxUSE_FILECTRL" = "yes"; then
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_FILECTRL 1
45631 _ACEOF
45632
45633 USES_CONTROLS=1
45634 fi
45635
45636 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_FILEPICKERCTRL 1
45639 _ACEOF
45640
45641 USES_CONTROLS=1
45642 fi
45643
45644 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_FONTPICKERCTRL 1
45647 _ACEOF
45648
45649 USES_CONTROLS=1
45650 fi
45651
45652 if test "$wxUSE_DISPLAY" = "yes"; then
45653 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45654 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45655 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45656 wxUSE_DISPLAY=no
45657 else
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_DISPLAY 1
45660 _ACEOF
45661
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45663 fi
45664 fi
45665
45666 if test "$wxUSE_DETECT_SM" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_DETECT_SM 1
45669 _ACEOF
45670
45671 fi
45672
45673 if test "$wxUSE_GAUGE" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_GAUGE 1
45676 _ACEOF
45677
45678 USES_CONTROLS=1
45679 fi
45680
45681 if test "$wxUSE_GRID" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_GRID 1
45684 _ACEOF
45685
45686 USES_CONTROLS=1
45687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45688 fi
45689
45690 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_HYPERLINKCTRL 1
45693 _ACEOF
45694
45695 USES_CONTROLS=1
45696 fi
45697
45698 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_BITMAPCOMBOBOX 1
45701 _ACEOF
45702
45703 USES_CONTROLS=1
45704 fi
45705
45706 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_DATAVIEWCTRL 1
45709 _ACEOF
45710
45711 USES_CONTROLS=1
45712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45713 fi
45714
45715 if test "$wxUSE_IMAGLIST" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_IMAGLIST 1
45718 _ACEOF
45719
45720 fi
45721
45722 if test "$wxUSE_LISTBOOK" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_LISTBOOK 1
45725 _ACEOF
45726
45727 USES_CONTROLS=1
45728 fi
45729
45730 if test "$wxUSE_LISTBOX" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_LISTBOX 1
45733 _ACEOF
45734
45735 USES_CONTROLS=1
45736 fi
45737
45738 if test "$wxUSE_LISTCTRL" = "yes"; then
45739 if test "$wxUSE_IMAGLIST" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_LISTCTRL 1
45742 _ACEOF
45743
45744 USES_CONTROLS=1
45745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45746 else
45747 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45748 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45749 fi
45750 fi
45751
45752 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_EDITABLELISTBOX 1
45755 _ACEOF
45756
45757 USES_CONTROLS=1
45758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45759 fi
45760
45761 if test "$wxUSE_NOTEBOOK" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_NOTEBOOK 1
45764 _ACEOF
45765
45766 USES_CONTROLS=1
45767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45768 fi
45769
45770 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_NOTIFICATION_MESSAGE 1
45773 _ACEOF
45774
45775 fi
45776
45777 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_ODCOMBOBOX 1
45780 _ACEOF
45781
45782 USES_CONTROLS=1
45783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45784 fi
45785
45786 if test "$wxUSE_RADIOBOX" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_RADIOBOX 1
45789 _ACEOF
45790
45791 USES_CONTROLS=1
45792 fi
45793
45794 if test "$wxUSE_RADIOBTN" = "yes"; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_RADIOBTN 1
45797 _ACEOF
45798
45799 USES_CONTROLS=1
45800 fi
45801
45802 if test "$wxUSE_SASH" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_SASH 1
45805 _ACEOF
45806
45807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45808 fi
45809
45810 if test "$wxUSE_SCROLLBAR" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_SCROLLBAR 1
45813 _ACEOF
45814
45815 USES_CONTROLS=1
45816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45817 fi
45818
45819 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_SEARCHCTRL 1
45822 _ACEOF
45823
45824 USES_CONTROLS=1
45825 fi
45826
45827 if test "$wxUSE_SLIDER" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_SLIDER 1
45830 _ACEOF
45831
45832 USES_CONTROLS=1
45833 fi
45834
45835 if test "$wxUSE_SPINBTN" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_SPINBTN 1
45838 _ACEOF
45839
45840 USES_CONTROLS=1
45841 fi
45842
45843 if test "$wxUSE_SPINCTRL" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_SPINCTRL 1
45846 _ACEOF
45847
45848 USES_CONTROLS=1
45849 fi
45850
45851 if test "$wxUSE_SPLITTER" = "yes"; then
45852 cat >>confdefs.h <<\_ACEOF
45853 #define wxUSE_SPLITTER 1
45854 _ACEOF
45855
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45857 fi
45858
45859 if test "$wxUSE_STATBMP" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_STATBMP 1
45862 _ACEOF
45863
45864 USES_CONTROLS=1
45865 fi
45866
45867 if test "$wxUSE_STATBOX" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_STATBOX 1
45870 _ACEOF
45871
45872 USES_CONTROLS=1
45873 fi
45874
45875 if test "$wxUSE_STATTEXT" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_STATTEXT 1
45878 _ACEOF
45879
45880 USES_CONTROLS=1
45881 fi
45882
45883 if test "$wxUSE_STATLINE" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_STATLINE 1
45886 _ACEOF
45887
45888 USES_CONTROLS=1
45889 fi
45890
45891 if test "$wxUSE_STATUSBAR" = "yes"; then
45892 cat >>confdefs.h <<\_ACEOF
45893 #define wxUSE_NATIVE_STATUSBAR 1
45894 _ACEOF
45895
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_STATUSBAR 1
45898 _ACEOF
45899
45900 USES_CONTROLS=1
45901
45902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45903 fi
45904
45905 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_TAB_DIALOG 1
45908 _ACEOF
45909
45910 fi
45911
45912 if test "$wxUSE_TEXTCTRL" = "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define wxUSE_TEXTCTRL 1
45915 _ACEOF
45916
45917 USES_CONTROLS=1
45918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45919
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_RICHEDIT 1
45922 _ACEOF
45923
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_RICHEDIT2 1
45926 _ACEOF
45927
45928 fi
45929
45930 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45931 if test "$wxUSE_COCOA" = 1 ; then
45932 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45933 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45934 wxUSE_TOGGLEBTN=no
45935 fi
45936
45937 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_TOGGLEBTN 1
45940 _ACEOF
45941
45942 USES_CONTROLS=1
45943 fi
45944 fi
45945
45946 if test "$wxUSE_TOOLBAR" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_TOOLBAR 1
45949 _ACEOF
45950
45951 USES_CONTROLS=1
45952
45953 if test "$wxUSE_UNIVERSAL" = "yes"; then
45954 wxUSE_TOOLBAR_NATIVE="no"
45955 else
45956 wxUSE_TOOLBAR_NATIVE="yes"
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_TOOLBAR_NATIVE 1
45959 _ACEOF
45960
45961 fi
45962
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45964 fi
45965
45966 if test "$wxUSE_TOOLTIPS" = "yes"; then
45967 if test "$wxUSE_MOTIF" = 1; then
45968 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45969 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45970 else
45971 if test "$wxUSE_UNIVERSAL" = "yes"; then
45972 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45973 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45974 else
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_TOOLTIPS 1
45977 _ACEOF
45978
45979 fi
45980 fi
45981 fi
45982
45983 if test "$wxUSE_TREEBOOK" = "yes"; then
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_TREEBOOK 1
45986 _ACEOF
45987
45988 USES_CONTROLS=1
45989 fi
45990
45991 if test "$wxUSE_TOOLBOOK" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_TOOLBOOK 1
45994 _ACEOF
45995
45996 USES_CONTROLS=1
45997 fi
45998
45999 if test "$wxUSE_TREECTRL" = "yes"; then
46000 if test "$wxUSE_IMAGLIST" = "yes"; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_TREECTRL 1
46003 _ACEOF
46004
46005 USES_CONTROLS=1
46006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46007 else
46008 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46009 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46010 fi
46011 fi
46012
46013 if test "$wxUSE_POPUPWIN" = "yes"; then
46014 if test "$wxUSE_COCOA" = 1 ; then
46015 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46016 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46017 else
46018 if test "$wxUSE_PM" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46020 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46021 else
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_POPUPWIN 1
46024 _ACEOF
46025
46026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46027
46028 USES_CONTROLS=1
46029 fi
46030 fi
46031 fi
46032
46033 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46034 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46035 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46036 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46037 else
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_DIALUP_MANAGER 1
46040 _ACEOF
46041
46042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46043 fi
46044 fi
46045
46046 if test "$wxUSE_TIPWINDOW" = "yes"; then
46047 if test "$wxUSE_PM" = 1; then
46048 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46049 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46050 else
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_TIPWINDOW 1
46053 _ACEOF
46054
46055 fi
46056 fi
46057
46058 if test "$USES_CONTROLS" = 1; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_CONTROLS 1
46061 _ACEOF
46062
46063 fi
46064
46065
46066 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_ACCESSIBILITY 1
46069 _ACEOF
46070
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46072 fi
46073
46074 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_DRAGIMAGE 1
46077 _ACEOF
46078
46079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46080 fi
46081
46082 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46083 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46084 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46085 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46086 else
46087 cat >>confdefs.h <<\_ACEOF
46088 #define wxUSE_EXCEPTIONS 1
46089 _ACEOF
46090
46091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46092 fi
46093 fi
46094
46095 USE_HTML=0
46096 if test "$wxUSE_HTML" = "yes"; then
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_HTML 1
46099 _ACEOF
46100
46101 USE_HTML=1
46102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46103 fi
46104 if test "$wxUSE_WEBKIT" = "yes"; then
46105 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46106 old_CPPFLAGS="$CPPFLAGS"
46107 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46108 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46109 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46110 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46111 echo $ECHO_N "(cached) $ECHO_C" >&6
46112 else
46113 cat >conftest.$ac_ext <<_ACEOF
46114 /* confdefs.h. */
46115 _ACEOF
46116 cat confdefs.h >>conftest.$ac_ext
46117 cat >>conftest.$ac_ext <<_ACEOF
46118 /* end confdefs.h. */
46119
46120 #include <Carbon/Carbon.h>
46121 #include <WebKit/WebKit.h>
46122
46123
46124 #include <WebKit/HIWebView.h>
46125 _ACEOF
46126 rm -f conftest.$ac_objext
46127 if { (ac_try="$ac_compile"
46128 case "(($ac_try" in
46129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46130 *) ac_try_echo=$ac_try;;
46131 esac
46132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46133 (eval "$ac_compile") 2>conftest.er1
46134 ac_status=$?
46135 grep -v '^ *+' conftest.er1 >conftest.err
46136 rm -f conftest.er1
46137 cat conftest.err >&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); } && {
46140 test -z "$ac_c_werror_flag" ||
46141 test ! -s conftest.err
46142 } && test -s conftest.$ac_objext; then
46143 ac_cv_header_WebKit_HIWebView_h=yes
46144 else
46145 echo "$as_me: failed program was:" >&5
46146 sed 's/^/| /' conftest.$ac_ext >&5
46147
46148 ac_cv_header_WebKit_HIWebView_h=no
46149 fi
46150
46151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46152 fi
46153 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46154 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46155 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46156
46157 cat >>confdefs.h <<\_ACEOF
46158 #define wxUSE_WEBKIT 1
46159 _ACEOF
46160
46161 WEBKIT_LINK="-framework WebKit"
46162
46163 else
46164
46165 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46166 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46167 wxUSE_WEBKIT=no
46168
46169 fi
46170
46171
46172 CPPFLAGS="$old_CPPFLAGS"
46173 elif test "$wxUSE_COCOA" = 1; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_WEBKIT 1
46176 _ACEOF
46177
46178 else
46179 wxUSE_WEBKIT=no
46180 fi
46181 if test "$wxUSE_WEBKIT" = "yes"; then
46182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46183 fi
46184 fi
46185
46186 USE_XRC=0
46187 if test "$wxUSE_XRC" = "yes"; then
46188 if test "$wxUSE_XML" != "yes"; then
46189 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46190 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46191 wxUSE_XRC=no
46192 else
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_XRC 1
46195 _ACEOF
46196
46197 USE_XRC=1
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46199 fi
46200 fi
46201
46202 USE_AUI=0
46203 if test "$wxUSE_AUI" = "yes"; then
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_AUI 1
46206 _ACEOF
46207
46208 USE_AUI=1
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46210 fi
46211
46212 USE_STC=0
46213 if test "$wxUSE_STC" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_STC 1
46216 _ACEOF
46217
46218 USE_STC=1
46219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46220 fi
46221
46222 if test "$wxUSE_MENUS" = "yes"; then
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_MENUS 1
46225 _ACEOF
46226
46227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46228 fi
46229
46230 if test "$wxUSE_METAFILE" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_METAFILE 1
46233 _ACEOF
46234
46235 fi
46236
46237 if test "$wxUSE_MIMETYPE" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_MIMETYPE 1
46240 _ACEOF
46241
46242 fi
46243
46244 if test "$wxUSE_MINIFRAME" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_MINIFRAME 1
46247 _ACEOF
46248
46249 fi
46250
46251 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_SYSTEM_OPTIONS 1
46254 _ACEOF
46255
46256 fi
46257
46258 if test "$wxUSE_TASKBARICON" = "yes"; then
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_TASKBARICON 1
46261 _ACEOF
46262
46263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46264 fi
46265
46266
46267 if test "$wxUSE_VALIDATORS" = "yes"; then
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_VALIDATORS 1
46270 _ACEOF
46271
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46273 fi
46274
46275 if test "$wxUSE_PALETTE" = "yes" ; then
46276 if test "$wxUSE_DFB" = 1; then
46277 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46278 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46279 wxUSE_PALETTE=no
46280 else
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_PALETTE 1
46283 _ACEOF
46284
46285 fi
46286 fi
46287
46288 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46289 LIBS=" -lunicows $LIBS"
46290 fi
46291
46292 USE_RICHTEXT=0
46293 if test "$wxUSE_RICHTEXT" = "yes"; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_RICHTEXT 1
46296 _ACEOF
46297
46298 USE_RICHTEXT=1
46299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46300 fi
46301
46302
46303 if test "$wxUSE_IMAGE" = "yes" ; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_IMAGE 1
46306 _ACEOF
46307
46308
46309 if test "$wxUSE_GIF" = "yes" ; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_GIF 1
46312 _ACEOF
46313
46314 fi
46315
46316 if test "$wxUSE_PCX" = "yes" ; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_PCX 1
46319 _ACEOF
46320
46321 fi
46322
46323 if test "$wxUSE_TGA" = "yes" ; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_TGA 1
46326 _ACEOF
46327
46328 fi
46329
46330 if test "$wxUSE_IFF" = "yes" ; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_IFF 1
46333 _ACEOF
46334
46335 fi
46336
46337 if test "$wxUSE_PNM" = "yes" ; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_PNM 1
46340 _ACEOF
46341
46342 fi
46343
46344 if test "$wxUSE_XPM" = "yes" ; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_XPM 1
46347 _ACEOF
46348
46349 fi
46350
46351 if test "$wxUSE_ICO_CUR" = "yes" ; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_ICO_CUR 1
46354 _ACEOF
46355
46356 fi
46357 fi
46358
46359
46360 if test "$wxUSE_ABOUTDLG" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_ABOUTDLG 1
46363 _ACEOF
46364
46365 fi
46366
46367 if test "$wxUSE_CHOICEDLG" = "yes"; then
46368 cat >>confdefs.h <<\_ACEOF
46369 #define wxUSE_CHOICEDLG 1
46370 _ACEOF
46371
46372 fi
46373
46374 if test "$wxUSE_COLOURDLG" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_COLOURDLG 1
46377 _ACEOF
46378
46379 fi
46380
46381 if test "$wxUSE_FILEDLG" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_FILEDLG 1
46384 _ACEOF
46385
46386 fi
46387
46388 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_FINDREPLDLG 1
46391 _ACEOF
46392
46393 fi
46394
46395 if test "$wxUSE_FONTDLG" = "yes"; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_FONTDLG 1
46398 _ACEOF
46399
46400 fi
46401
46402 if test "$wxUSE_DIRDLG" = "yes"; then
46403 if test "$wxUSE_TREECTRL" != "yes"; then
46404 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46405 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46406 else
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_DIRDLG 1
46409 _ACEOF
46410
46411 fi
46412 fi
46413
46414 if test "$wxUSE_MSGDLG" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_MSGDLG 1
46417 _ACEOF
46418
46419 fi
46420
46421 if test "$wxUSE_NUMBERDLG" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_NUMBERDLG 1
46424 _ACEOF
46425
46426 fi
46427
46428 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46429 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46430 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46431 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46432 else
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_PROGRESSDLG 1
46435 _ACEOF
46436
46437 fi
46438 fi
46439
46440 if test "$wxUSE_SPLASH" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_SPLASH 1
46443 _ACEOF
46444
46445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46446 fi
46447
46448 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46449 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46450 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46451 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46452 else
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_STARTUP_TIPS 1
46455 _ACEOF
46456
46457 fi
46458 fi
46459
46460 if test "$wxUSE_TEXTDLG" = "yes"; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_TEXTDLG 1
46463 _ACEOF
46464
46465 fi
46466
46467 if test "$wxUSE_WIZARDDLG" = "yes"; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_WIZARDDLG 1
46470 _ACEOF
46471
46472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46473 fi
46474
46475
46476 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46477 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46478 cat >>confdefs.h <<\_ACEOF
46479 #define wxUSE_OWNER_DRAWN 1
46480 _ACEOF
46481
46482 fi
46483 fi
46484
46485
46486 if test "$wxUSE_MSW" = 1 ; then
46487
46488 if test "$wxUSE_DC_CACHEING" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_DC_CACHEING 1
46491 _ACEOF
46492
46493 fi
46494
46495 if test "$wxUSE_DIB" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_WXDIB 1
46498 _ACEOF
46499
46500 fi
46501
46502 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46505 _ACEOF
46506
46507 fi
46508
46509 if test "$wxUSE_UXTHEME" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_UXTHEME 1
46512 _ACEOF
46513
46514 fi
46515
46516 fi
46517
46518 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_AUTOID_MANAGEMENT 1
46521 _ACEOF
46522
46523 fi
46524
46525 if test "$USE_WIN32" = 1 ; then
46526 if test "$wxUSE_INICONF" = "yes"; then
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_INICONF 1
46529 _ACEOF
46530
46531 fi
46532
46533 if test "$wxUSE_REGKEY" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_REGKEY 1
46536 _ACEOF
46537
46538 fi
46539 fi
46540
46541
46542 if test "$wxUSE_MAC" = 1; then
46543 wxUSE_GRAPHICS_CONTEXT="yes"
46544 fi
46545
46546 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46547 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_GRAPHICS_CONTEXT 1
46550 _ACEOF
46551
46552 elif test "$wxUSE_GTK" != 1; then
46553 cat >>confdefs.h <<\_ACEOF
46554 #define wxUSE_GRAPHICS_CONTEXT 1
46555 _ACEOF
46556
46557 else
46558
46559 pkg_failed=no
46560 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46561 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46562
46563 if test -n "$PKG_CONFIG"; then
46564 if test -n "$CAIRO_CFLAGS"; then
46565 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46566 else
46567 if test -n "$PKG_CONFIG" && \
46568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46569 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46570 ac_status=$?
46571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572 (exit $ac_status); }; then
46573 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46574 else
46575 pkg_failed=yes
46576 fi
46577 fi
46578 else
46579 pkg_failed=untried
46580 fi
46581 if test -n "$PKG_CONFIG"; then
46582 if test -n "$CAIRO_LIBS"; then
46583 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46584 else
46585 if test -n "$PKG_CONFIG" && \
46586 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46587 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46588 ac_status=$?
46589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46590 (exit $ac_status); }; then
46591 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46592 else
46593 pkg_failed=yes
46594 fi
46595 fi
46596 else
46597 pkg_failed=untried
46598 fi
46599
46600
46601
46602 if test $pkg_failed = yes; then
46603
46604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46605 _pkg_short_errors_supported=yes
46606 else
46607 _pkg_short_errors_supported=no
46608 fi
46609 if test $_pkg_short_errors_supported = yes; then
46610 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46611 else
46612 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46613 fi
46614 # Put the nasty error message in config.log where it belongs
46615 echo "$CAIRO_PKG_ERRORS" >&5
46616
46617 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46618 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46619
46620 elif test $pkg_failed = untried; then
46621 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46622 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46623
46624 else
46625 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46626 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46627 { echo "$as_me:$LINENO: result: yes" >&5
46628 echo "${ECHO_T}yes" >&6; }
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_GRAPHICS_CONTEXT 1
46631 _ACEOF
46632
46633 fi
46634 fi
46635 fi
46636
46637
46638 USE_MEDIA=0
46639
46640 if test "$wxUSE_MEDIACTRL" = "yes"; then
46641 USE_MEDIA=1
46642
46643 if test "$wxUSE_GTK" = 1; then
46644 wxUSE_GSTREAMER="no"
46645
46646 GST_VERSION_MAJOR=0
46647 GST_VERSION_MINOR=10
46648 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46649
46650 if test "$wxUSE_GSTREAMER8" = "no"; then
46651
46652 pkg_failed=no
46653 { echo "$as_me:$LINENO: checking for GST" >&5
46654 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46655
46656 if test -n "$PKG_CONFIG"; then
46657 if test -n "$GST_CFLAGS"; then
46658 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46659 else
46660 if test -n "$PKG_CONFIG" && \
46661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46662 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46663 ac_status=$?
46664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46665 (exit $ac_status); }; then
46666 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46667 else
46668 pkg_failed=yes
46669 fi
46670 fi
46671 else
46672 pkg_failed=untried
46673 fi
46674 if test -n "$PKG_CONFIG"; then
46675 if test -n "$GST_LIBS"; then
46676 pkg_cv_GST_LIBS="$GST_LIBS"
46677 else
46678 if test -n "$PKG_CONFIG" && \
46679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46680 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46681 ac_status=$?
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); }; then
46684 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46685 else
46686 pkg_failed=yes
46687 fi
46688 fi
46689 else
46690 pkg_failed=untried
46691 fi
46692
46693
46694
46695 if test $pkg_failed = yes; then
46696
46697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46698 _pkg_short_errors_supported=yes
46699 else
46700 _pkg_short_errors_supported=no
46701 fi
46702 if test $_pkg_short_errors_supported = yes; then
46703 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46704 else
46705 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46706 fi
46707 # Put the nasty error message in config.log where it belongs
46708 echo "$GST_PKG_ERRORS" >&5
46709
46710
46711 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46712 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46713 GST_VERSION_MINOR=8
46714
46715
46716 elif test $pkg_failed = untried; then
46717
46718 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46719 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46720 GST_VERSION_MINOR=8
46721
46722
46723 else
46724 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46725 GST_LIBS=$pkg_cv_GST_LIBS
46726 { echo "$as_me:$LINENO: result: yes" >&5
46727 echo "${ECHO_T}yes" >&6; }
46728
46729 wxUSE_GSTREAMER="yes"
46730 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46731
46732 fi
46733 else
46734 GST_VERSION_MINOR=8
46735 fi
46736
46737 if test $GST_VERSION_MINOR = "8"; then
46738 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46739
46740 pkg_failed=no
46741 { echo "$as_me:$LINENO: checking for GST" >&5
46742 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46743
46744 if test -n "$PKG_CONFIG"; then
46745 if test -n "$GST_CFLAGS"; then
46746 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46747 else
46748 if test -n "$PKG_CONFIG" && \
46749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46750 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46751 ac_status=$?
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; then
46754 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46755 else
46756 pkg_failed=yes
46757 fi
46758 fi
46759 else
46760 pkg_failed=untried
46761 fi
46762 if test -n "$PKG_CONFIG"; then
46763 if test -n "$GST_LIBS"; then
46764 pkg_cv_GST_LIBS="$GST_LIBS"
46765 else
46766 if test -n "$PKG_CONFIG" && \
46767 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46768 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46769 ac_status=$?
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; then
46772 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46773 else
46774 pkg_failed=yes
46775 fi
46776 fi
46777 else
46778 pkg_failed=untried
46779 fi
46780
46781
46782
46783 if test $pkg_failed = yes; then
46784
46785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46786 _pkg_short_errors_supported=yes
46787 else
46788 _pkg_short_errors_supported=no
46789 fi
46790 if test $_pkg_short_errors_supported = yes; then
46791 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46792 else
46793 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46794 fi
46795 # Put the nasty error message in config.log where it belongs
46796 echo "$GST_PKG_ERRORS" >&5
46797
46798
46799 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46800 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46801
46802 elif test $pkg_failed = untried; then
46803
46804 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46805 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46806
46807 else
46808 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46809 GST_LIBS=$pkg_cv_GST_LIBS
46810 { echo "$as_me:$LINENO: result: yes" >&5
46811 echo "${ECHO_T}yes" >&6; }
46812 wxUSE_GSTREAMER="yes"
46813 fi
46814 fi
46815
46816
46817 if test "$wxUSE_GSTREAMER" = "yes"; then
46818 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46819 EXTRALIBS_MEDIA="$GST_LIBS"
46820
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_GSTREAMER 1
46823 _ACEOF
46824
46825 else
46826 USE_MEDIA=0
46827 fi
46828 fi
46829
46830 if test $USE_MEDIA = 1; then
46831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_MEDIACTRL 1
46834 _ACEOF
46835
46836 fi
46837 fi
46838
46839
46840 if test "$cross_compiling" = "yes"; then
46841 OSINFO="\"$host\""
46842 else
46843 OSINFO=`uname -s -r -m`
46844 OSINFO="\"$OSINFO\""
46845 fi
46846
46847 cat >>confdefs.h <<_ACEOF
46848 #define WXWIN_OS_DESCRIPTION $OSINFO
46849 _ACEOF
46850
46851
46852
46853 if test "x$prefix" != "xNONE"; then
46854 wxPREFIX=$prefix
46855 else
46856 wxPREFIX=$ac_default_prefix
46857 fi
46858
46859 cat >>confdefs.h <<_ACEOF
46860 #define wxINSTALL_PREFIX "$wxPREFIX"
46861 _ACEOF
46862
46863
46864
46865
46866 STD_BASE_LIBS="base"
46867 STD_GUI_LIBS=""
46868 BUILT_WX_LIBS="base"
46869 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46870
46871 if test "$wxUSE_SOCKETS" = "yes" ; then
46872 STD_BASE_LIBS="net $STD_BASE_LIBS"
46873 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46874 fi
46875 if test "$wxUSE_XML" = "yes" ; then
46876 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46877 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46878 fi
46879
46880 if test "$wxUSE_GUI" = "yes"; then
46881 STD_GUI_LIBS="adv core"
46882 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46883
46884 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46885 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46886 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46887 fi
46888 if test "$wxUSE_HTML" = "yes" ; then
46889 STD_GUI_LIBS="html $STD_GUI_LIBS"
46890 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46891 fi
46892 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46893 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46894 fi
46895 if test "$wxUSE_OPENGL" = "yes" ; then
46896 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46897 fi
46898 if test "$wxUSE_AUI" = "yes" ; then
46899 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46900 fi
46901 if test "$wxUSE_STC" = "yes" ; then
46902 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46903 fi
46904 if test "$wxUSE_XRC" = "yes" ; then
46905 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46906 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46907 fi
46908 fi
46909
46910
46911
46912
46913
46914
46915
46916
46917 if test "$wxUSE_MAC" = 1 ; then
46918 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46919 if test "$USE_DARWIN" = 1; then
46920 LDFLAGS="$LDFLAGS -framework QuickTime"
46921 fi
46922 fi
46923 if test "$USE_DARWIN" = 1; then
46924 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46925 fi
46926 fi
46927 if test "$wxUSE_COCOA" = 1 ; then
46928 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46929 if test "$wxUSE_MEDIACTRL" = "yes"; then
46930 LDFLAGS="$LDFLAGS -framework QuickTime"
46931 fi
46932 fi
46933 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46934 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46935 fi
46936
46937 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46938
46939 if test "$wxUSE_GUI" = "yes"; then
46940
46941
46942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46943 erase event exec font image minimal mobile \
46944 mobile/wxedit mobile/styles render \
46945 shaped svg taborder vscroll widgets"
46946
46947 if test "$wxUSE_MONOLITHIC" != "yes"; then
46948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46949 fi
46950 if test "$TOOLKIT" = "MSW"; then
46951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46952 if test "$wxUSE_UNIVERSAL" != "yes"; then
46953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46954 fi
46955 fi
46956 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46958 fi
46959 else
46960 SAMPLES_SUBDIRS="console"
46961 if test "$wxUSE_SOCKETS" = "yes" ; then
46962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46963 fi
46964 if test "$wxUSE_IPC" = "yes" ; then
46965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46966 fi
46967 fi
46968
46969
46970 if test "x$INTELCC" = "xyes" ; then
46971 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46972 elif test "$GCC" = yes ; then
46973 CWARNINGS="-Wall -Wundef"
46974 fi
46975
46976 if test "x$INTELCXX" = "xyes" ; then
46977 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46978 elif test "$GXX" = yes ; then
46979 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46980 fi
46981
46982
46983 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46984 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46985
46986
46987 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46988 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46989 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46990 $CPPFLAGS `
46991
46992 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46993 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46994 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46995 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46996 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46997
46998 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46999
47000
47001 if test "x$MWCC" = "xyes"; then
47002
47003 CC="$CC -cwd source -I-"
47004 CXX="$CXX -cwd source -I-"
47005 fi
47006
47007
47008 LIBS=`echo $LIBS`
47009 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47010 EXTRALIBS_XML="$EXPAT_LINK"
47011 EXTRALIBS_HTML="$MSPACK_LINK"
47012 EXTRALIBS_MEDIA="$GST_LIBS"
47013 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47014 if test "$wxUSE_GUI" = "yes"; then
47015 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47016 fi
47017 if test "$wxUSE_OPENGL" = "yes"; then
47018 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47019 fi
47020
47021 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47022
47023 WXCONFIG_LIBS="$LIBS"
47024
47025 if test "$wxUSE_REGEX" = "builtin" ; then
47026 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47027 fi
47028 if test "$wxUSE_EXPAT" = "builtin" ; then
47029 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47030 fi
47031 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47032 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47033 fi
47034 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47035 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47036 fi
47037 if test "$wxUSE_LIBPNG" = "builtin" ; then
47038 wxconfig_3rdparty="png $wxconfig_3rdparty"
47039 fi
47040 if test "$wxUSE_ZLIB" = "builtin" ; then
47041 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47042 fi
47043
47044 for i in $wxconfig_3rdparty ; do
47045 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47046 done
47047
47048
47049 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47050 WXUNIV=1
47051
47052 case "$wxUNIV_THEMES" in
47053 ''|all)
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_ALL_THEMES 1
47056 _ACEOF
47057
47058 ;;
47059
47060 *)
47061 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47062 cat >>confdefs.h <<_ACEOF
47063 #define wxUSE_THEME_$t 1
47064 _ACEOF
47065
47066 done
47067 esac
47068 else
47069 WXUNIV=0
47070 fi
47071
47072
47073
47074
47075
47076
47077
47078
47079 if test $wxUSE_MONOLITHIC = "yes" ; then
47080 MONOLITHIC=1
47081 else
47082 MONOLITHIC=0
47083 fi
47084
47085 if test $wxUSE_PLUGINS = "yes" ; then
47086 USE_PLUGINS=1
47087 else
47088 USE_PLUGINS=0
47089 fi
47090
47091 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47092 USE_QA=1
47093 else
47094 USE_QA=0
47095 fi
47096
47097 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47098 OFFICIAL_BUILD=1
47099 else
47100 OFFICIAL_BUILD=0
47101 fi
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130 if test "$TOOLKIT" = "MAC"; then
47131 TOOLKIT_LOWERCASE=osx
47132 else
47133 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47134 fi
47135
47136
47137
47138
47139
47140
47141
47142
47143 case "$TOOLKIT" in
47144 GTK)
47145 TOOLKIT_DESC="GTK+"
47146 if test "$WXGTK2" = 1; then
47147 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47148 if test "$wxUSE_GTKPRINT" = "yes" ; then
47149 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47150 fi
47151 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47152 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47153 fi
47154 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47155 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47156 fi
47157 if test "$wxUSE_LIBHILDON" = "yes"; then
47158 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47159 fi
47160
47161 if test "$TOOLKIT_EXTRA" != ""; then
47162 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47163 fi
47164 fi
47165 ;;
47166
47167 ?*)
47168 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47169 ;;
47170
47171 *)
47172 TOOLKIT_DESC="base only"
47173 ;;
47174 esac
47175
47176 if test "$wxUSE_WINE" = "yes"; then
47177 BAKEFILE_FORCE_PLATFORM=win32
47178 fi
47179
47180 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47181 then
47182 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47183 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47184 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47185 echo $ECHO_N "(cached) $ECHO_C" >&6
47186 else
47187
47188 echo '#include <stdio.h>
47189 const wchar_t test_var[] = L"awidetest";' > conftest.h
47190
47191 echo '#include "conftest.h"
47192 int main()
47193 {
47194 printf("%ls", test_var);
47195 return 0;
47196 }' > conftest.cpp
47197
47198 wx_cv_gcc_pch_bug="pch not supported"
47199
47200 if $CXX conftest.h >/dev/null 2>&1
47201 then
47202 wx_cv_gcc_pch_bug=
47203
47204 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47205 then
47206 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47207 grep awidetest >/dev/null
47208 then
47209 wx_cv_gcc_pch_bug=no
47210 else
47211 wx_cv_gcc_pch_bug=yes
47212 fi
47213 fi
47214 fi
47215
47216 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47217
47218 fi
47219 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47220 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47221
47222 if test "$wx_cv_gcc_pch_bug" = yes; then
47223 bk_use_pch=no
47224 fi
47225 fi
47226
47227
47228
47229
47230
47231
47232
47233 if test "x$BAKEFILE_HOST" = "x"; then
47234 if test "x${host}" = "x" ; then
47235 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47236 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47237 { (exit 1); exit 1; }; }
47238 fi
47239
47240 BAKEFILE_HOST="${host}"
47241 fi
47242
47243 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47244
47245 if test -n "$ac_tool_prefix"; then
47246 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47250 if test "${ac_cv_prog_RANLIB+set}" = set; then
47251 echo $ECHO_N "(cached) $ECHO_C" >&6
47252 else
47253 if test -n "$RANLIB"; then
47254 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47255 else
47256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47257 for as_dir in $PATH
47258 do
47259 IFS=$as_save_IFS
47260 test -z "$as_dir" && as_dir=.
47261 for ac_exec_ext in '' $ac_executable_extensions; do
47262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47263 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47265 break 2
47266 fi
47267 done
47268 done
47269 IFS=$as_save_IFS
47270
47271 fi
47272 fi
47273 RANLIB=$ac_cv_prog_RANLIB
47274 if test -n "$RANLIB"; then
47275 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47276 echo "${ECHO_T}$RANLIB" >&6; }
47277 else
47278 { echo "$as_me:$LINENO: result: no" >&5
47279 echo "${ECHO_T}no" >&6; }
47280 fi
47281
47282
47283 fi
47284 if test -z "$ac_cv_prog_RANLIB"; then
47285 ac_ct_RANLIB=$RANLIB
47286 # Extract the first word of "ranlib", so it can be a program name with args.
47287 set dummy ranlib; ac_word=$2
47288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47290 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47291 echo $ECHO_N "(cached) $ECHO_C" >&6
47292 else
47293 if test -n "$ac_ct_RANLIB"; then
47294 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47295 else
47296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47297 for as_dir in $PATH
47298 do
47299 IFS=$as_save_IFS
47300 test -z "$as_dir" && as_dir=.
47301 for ac_exec_ext in '' $ac_executable_extensions; do
47302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47303 ac_cv_prog_ac_ct_RANLIB="ranlib"
47304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47305 break 2
47306 fi
47307 done
47308 done
47309 IFS=$as_save_IFS
47310
47311 fi
47312 fi
47313 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47314 if test -n "$ac_ct_RANLIB"; then
47315 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47316 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47317 else
47318 { echo "$as_me:$LINENO: result: no" >&5
47319 echo "${ECHO_T}no" >&6; }
47320 fi
47321
47322 if test "x$ac_ct_RANLIB" = x; then
47323 RANLIB=":"
47324 else
47325 case $cross_compiling:$ac_tool_warned in
47326 yes:)
47327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47328 whose name does not start with the host triplet. If you think this
47329 configuration is useful to you, please write to autoconf@gnu.org." >&5
47330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47331 whose name does not start with the host triplet. If you think this
47332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47333 ac_tool_warned=yes ;;
47334 esac
47335 RANLIB=$ac_ct_RANLIB
47336 fi
47337 else
47338 RANLIB="$ac_cv_prog_RANLIB"
47339 fi
47340
47341 # Find a good install program. We prefer a C program (faster),
47342 # so one script is as good as another. But avoid the broken or
47343 # incompatible versions:
47344 # SysV /etc/install, /usr/sbin/install
47345 # SunOS /usr/etc/install
47346 # IRIX /sbin/install
47347 # AIX /bin/install
47348 # AmigaOS /C/install, which installs bootblocks on floppy discs
47349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47352 # OS/2's system install, which has a completely different semantic
47353 # ./install, which can be erroneously created by make from ./install.sh.
47354 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47355 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47356 if test -z "$INSTALL"; then
47357 if test "${ac_cv_path_install+set}" = set; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47359 else
47360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47361 for as_dir in $PATH
47362 do
47363 IFS=$as_save_IFS
47364 test -z "$as_dir" && as_dir=.
47365 # Account for people who put trailing slashes in PATH elements.
47366 case $as_dir/ in
47367 ./ | .// | /cC/* | \
47368 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47369 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47370 /usr/ucb/* ) ;;
47371 *)
47372 # OSF1 and SCO ODT 3.0 have their own names for install.
47373 # Don't use installbsd from OSF since it installs stuff as root
47374 # by default.
47375 for ac_prog in ginstall scoinst install; do
47376 for ac_exec_ext in '' $ac_executable_extensions; do
47377 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47378 if test $ac_prog = install &&
47379 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47380 # AIX install. It has an incompatible calling convention.
47381 :
47382 elif test $ac_prog = install &&
47383 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47384 # program-specific install script used by HP pwplus--don't use.
47385 :
47386 else
47387 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47388 break 3
47389 fi
47390 fi
47391 done
47392 done
47393 ;;
47394 esac
47395 done
47396 IFS=$as_save_IFS
47397
47398
47399 fi
47400 if test "${ac_cv_path_install+set}" = set; then
47401 INSTALL=$ac_cv_path_install
47402 else
47403 # As a last resort, use the slow shell script. Don't cache a
47404 # value for INSTALL within a source directory, because that will
47405 # break other packages using the cache if that directory is
47406 # removed, or if the value is a relative name.
47407 INSTALL=$ac_install_sh
47408 fi
47409 fi
47410 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47411 echo "${ECHO_T}$INSTALL" >&6; }
47412
47413 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47414 # It thinks the first close brace ends the variable substitution.
47415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47416
47417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47418
47419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47420
47421 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47422 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47423 LN_S=$as_ln_s
47424 if test "$LN_S" = "ln -s"; then
47425 { echo "$as_me:$LINENO: result: yes" >&5
47426 echo "${ECHO_T}yes" >&6; }
47427 else
47428 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47429 echo "${ECHO_T}no, using $LN_S" >&6; }
47430 fi
47431
47432
47433 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47434 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47435 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47436 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47437 echo $ECHO_N "(cached) $ECHO_C" >&6
47438 else
47439 cat >conftest.make <<\_ACEOF
47440 SHELL = /bin/sh
47441 all:
47442 @echo '@@@%%%=$(MAKE)=@@@%%%'
47443 _ACEOF
47444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47445 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47446 *@@@%%%=?*=@@@%%%*)
47447 eval ac_cv_prog_make_${ac_make}_set=yes;;
47448 *)
47449 eval ac_cv_prog_make_${ac_make}_set=no;;
47450 esac
47451 rm -f conftest.make
47452 fi
47453 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47454 { echo "$as_me:$LINENO: result: yes" >&5
47455 echo "${ECHO_T}yes" >&6; }
47456 SET_MAKE=
47457 else
47458 { echo "$as_me:$LINENO: result: no" >&5
47459 echo "${ECHO_T}no" >&6; }
47460 SET_MAKE="MAKE=${MAKE-make}"
47461 fi
47462
47463
47464
47465 if test "x$SUNCXX" = "xyes"; then
47466 AR=$CXX
47467 AROPTIONS="-xar -o"
47468
47469 elif test "x$SGICC" = "xyes"; then
47470 AR=$CXX
47471 AROPTIONS="-ar -o"
47472
47473 else
47474 if test -n "$ac_tool_prefix"; then
47475 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47476 set dummy ${ac_tool_prefix}ar; ac_word=$2
47477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47479 if test "${ac_cv_prog_AR+set}" = set; then
47480 echo $ECHO_N "(cached) $ECHO_C" >&6
47481 else
47482 if test -n "$AR"; then
47483 ac_cv_prog_AR="$AR" # Let the user override the test.
47484 else
47485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47486 for as_dir in $PATH
47487 do
47488 IFS=$as_save_IFS
47489 test -z "$as_dir" && as_dir=.
47490 for ac_exec_ext in '' $ac_executable_extensions; do
47491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47492 ac_cv_prog_AR="${ac_tool_prefix}ar"
47493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47494 break 2
47495 fi
47496 done
47497 done
47498 IFS=$as_save_IFS
47499
47500 fi
47501 fi
47502 AR=$ac_cv_prog_AR
47503 if test -n "$AR"; then
47504 { echo "$as_me:$LINENO: result: $AR" >&5
47505 echo "${ECHO_T}$AR" >&6; }
47506 else
47507 { echo "$as_me:$LINENO: result: no" >&5
47508 echo "${ECHO_T}no" >&6; }
47509 fi
47510
47511
47512 fi
47513 if test -z "$ac_cv_prog_AR"; then
47514 ac_ct_AR=$AR
47515 # Extract the first word of "ar", so it can be a program name with args.
47516 set dummy ar; ac_word=$2
47517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47519 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47520 echo $ECHO_N "(cached) $ECHO_C" >&6
47521 else
47522 if test -n "$ac_ct_AR"; then
47523 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47524 else
47525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47526 for as_dir in $PATH
47527 do
47528 IFS=$as_save_IFS
47529 test -z "$as_dir" && as_dir=.
47530 for ac_exec_ext in '' $ac_executable_extensions; do
47531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47532 ac_cv_prog_ac_ct_AR="ar"
47533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47534 break 2
47535 fi
47536 done
47537 done
47538 IFS=$as_save_IFS
47539
47540 fi
47541 fi
47542 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47543 if test -n "$ac_ct_AR"; then
47544 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47545 echo "${ECHO_T}$ac_ct_AR" >&6; }
47546 else
47547 { echo "$as_me:$LINENO: result: no" >&5
47548 echo "${ECHO_T}no" >&6; }
47549 fi
47550
47551 if test "x$ac_ct_AR" = x; then
47552 AR="ar"
47553 else
47554 case $cross_compiling:$ac_tool_warned in
47555 yes:)
47556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47557 whose name does not start with the host triplet. If you think this
47558 configuration is useful to you, please write to autoconf@gnu.org." >&5
47559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47560 whose name does not start with the host triplet. If you think this
47561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47562 ac_tool_warned=yes ;;
47563 esac
47564 AR=$ac_ct_AR
47565 fi
47566 else
47567 AR="$ac_cv_prog_AR"
47568 fi
47569
47570 AROPTIONS=rcu
47571 fi
47572
47573
47574 if test -n "$ac_tool_prefix"; then
47575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47576 set dummy ${ac_tool_prefix}strip; ac_word=$2
47577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47579 if test "${ac_cv_prog_STRIP+set}" = set; then
47580 echo $ECHO_N "(cached) $ECHO_C" >&6
47581 else
47582 if test -n "$STRIP"; then
47583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47584 else
47585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47586 for as_dir in $PATH
47587 do
47588 IFS=$as_save_IFS
47589 test -z "$as_dir" && as_dir=.
47590 for ac_exec_ext in '' $ac_executable_extensions; do
47591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47592 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47594 break 2
47595 fi
47596 done
47597 done
47598 IFS=$as_save_IFS
47599
47600 fi
47601 fi
47602 STRIP=$ac_cv_prog_STRIP
47603 if test -n "$STRIP"; then
47604 { echo "$as_me:$LINENO: result: $STRIP" >&5
47605 echo "${ECHO_T}$STRIP" >&6; }
47606 else
47607 { echo "$as_me:$LINENO: result: no" >&5
47608 echo "${ECHO_T}no" >&6; }
47609 fi
47610
47611
47612 fi
47613 if test -z "$ac_cv_prog_STRIP"; then
47614 ac_ct_STRIP=$STRIP
47615 # Extract the first word of "strip", so it can be a program name with args.
47616 set dummy strip; ac_word=$2
47617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47620 echo $ECHO_N "(cached) $ECHO_C" >&6
47621 else
47622 if test -n "$ac_ct_STRIP"; then
47623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47624 else
47625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47626 for as_dir in $PATH
47627 do
47628 IFS=$as_save_IFS
47629 test -z "$as_dir" && as_dir=.
47630 for ac_exec_ext in '' $ac_executable_extensions; do
47631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47632 ac_cv_prog_ac_ct_STRIP="strip"
47633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47634 break 2
47635 fi
47636 done
47637 done
47638 IFS=$as_save_IFS
47639
47640 fi
47641 fi
47642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47643 if test -n "$ac_ct_STRIP"; then
47644 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47645 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47646 else
47647 { echo "$as_me:$LINENO: result: no" >&5
47648 echo "${ECHO_T}no" >&6; }
47649 fi
47650
47651 if test "x$ac_ct_STRIP" = x; then
47652 STRIP=":"
47653 else
47654 case $cross_compiling:$ac_tool_warned in
47655 yes:)
47656 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47657 whose name does not start with the host triplet. If you think this
47658 configuration is useful to you, please write to autoconf@gnu.org." >&5
47659 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47660 whose name does not start with the host triplet. If you think this
47661 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47662 ac_tool_warned=yes ;;
47663 esac
47664 STRIP=$ac_ct_STRIP
47665 fi
47666 else
47667 STRIP="$ac_cv_prog_STRIP"
47668 fi
47669
47670 if test -n "$ac_tool_prefix"; then
47671 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47672 set dummy ${ac_tool_prefix}nm; ac_word=$2
47673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47675 if test "${ac_cv_prog_NM+set}" = set; then
47676 echo $ECHO_N "(cached) $ECHO_C" >&6
47677 else
47678 if test -n "$NM"; then
47679 ac_cv_prog_NM="$NM" # Let the user override the test.
47680 else
47681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47682 for as_dir in $PATH
47683 do
47684 IFS=$as_save_IFS
47685 test -z "$as_dir" && as_dir=.
47686 for ac_exec_ext in '' $ac_executable_extensions; do
47687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47688 ac_cv_prog_NM="${ac_tool_prefix}nm"
47689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47690 break 2
47691 fi
47692 done
47693 done
47694 IFS=$as_save_IFS
47695
47696 fi
47697 fi
47698 NM=$ac_cv_prog_NM
47699 if test -n "$NM"; then
47700 { echo "$as_me:$LINENO: result: $NM" >&5
47701 echo "${ECHO_T}$NM" >&6; }
47702 else
47703 { echo "$as_me:$LINENO: result: no" >&5
47704 echo "${ECHO_T}no" >&6; }
47705 fi
47706
47707
47708 fi
47709 if test -z "$ac_cv_prog_NM"; then
47710 ac_ct_NM=$NM
47711 # Extract the first word of "nm", so it can be a program name with args.
47712 set dummy nm; ac_word=$2
47713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47715 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47717 else
47718 if test -n "$ac_ct_NM"; then
47719 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47720 else
47721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47722 for as_dir in $PATH
47723 do
47724 IFS=$as_save_IFS
47725 test -z "$as_dir" && as_dir=.
47726 for ac_exec_ext in '' $ac_executable_extensions; do
47727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47728 ac_cv_prog_ac_ct_NM="nm"
47729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47730 break 2
47731 fi
47732 done
47733 done
47734 IFS=$as_save_IFS
47735
47736 fi
47737 fi
47738 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47739 if test -n "$ac_ct_NM"; then
47740 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47741 echo "${ECHO_T}$ac_ct_NM" >&6; }
47742 else
47743 { echo "$as_me:$LINENO: result: no" >&5
47744 echo "${ECHO_T}no" >&6; }
47745 fi
47746
47747 if test "x$ac_ct_NM" = x; then
47748 NM=":"
47749 else
47750 case $cross_compiling:$ac_tool_warned in
47751 yes:)
47752 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47753 whose name does not start with the host triplet. If you think this
47754 configuration is useful to you, please write to autoconf@gnu.org." >&5
47755 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47756 whose name does not start with the host triplet. If you think this
47757 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47758 ac_tool_warned=yes ;;
47759 esac
47760 NM=$ac_ct_NM
47761 fi
47762 else
47763 NM="$ac_cv_prog_NM"
47764 fi
47765
47766
47767 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47768 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47769 INSTALL_TEST_DIR=acbftest$$
47770 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47771 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47772 rmdir $INSTALL_TEST_DIR
47773 INSTALL_DIR='$(INSTALL) -d'
47774 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47775 echo "${ECHO_T}$INSTALL -d" >&6; }
47776 else
47777 INSTALL_DIR="mkdir -p"
47778 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47779 echo "${ECHO_T}mkdir -p" >&6; }
47780 fi
47781
47782
47783 LDFLAGS_GUI=
47784 case ${BAKEFILE_HOST} in
47785 *-*-cygwin* | *-*-mingw32* )
47786 LDFLAGS_GUI="-mwindows"
47787 esac
47788
47789
47790 fi
47791
47792 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47793 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47794 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 else
47797
47798 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47799 egrep -s GNU > /dev/null); then
47800 bakefile_cv_prog_makeisgnu="yes"
47801 else
47802 bakefile_cv_prog_makeisgnu="no"
47803 fi
47804
47805 fi
47806 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47807 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47808
47809 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47810 IF_GNU_MAKE=""
47811 else
47812 IF_GNU_MAKE="#"
47813 fi
47814
47815
47816
47817 PLATFORM_UNIX=0
47818 PLATFORM_WIN32=0
47819 PLATFORM_MSDOS=0
47820 PLATFORM_MAC=0
47821 PLATFORM_MACOS=0
47822 PLATFORM_MACOSX=0
47823 PLATFORM_OS2=0
47824 PLATFORM_BEOS=0
47825
47826 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47827 case "${BAKEFILE_HOST}" in
47828 *-*-mingw32* )
47829 PLATFORM_WIN32=1
47830 ;;
47831 *-pc-msdosdjgpp )
47832 PLATFORM_MSDOS=1
47833 ;;
47834 *-pc-os2_emx | *-pc-os2-emx )
47835 PLATFORM_OS2=1
47836 ;;
47837 *-*-darwin* )
47838 PLATFORM_MAC=1
47839 PLATFORM_MACOSX=1
47840 ;;
47841 *-*-beos* )
47842 PLATFORM_BEOS=1
47843 ;;
47844 powerpc-apple-macos* )
47845 PLATFORM_MAC=1
47846 PLATFORM_MACOS=1
47847 ;;
47848 * )
47849 PLATFORM_UNIX=1
47850 ;;
47851 esac
47852 else
47853 case "$BAKEFILE_FORCE_PLATFORM" in
47854 win32 )
47855 PLATFORM_WIN32=1
47856 ;;
47857 msdos )
47858 PLATFORM_MSDOS=1
47859 ;;
47860 os2 )
47861 PLATFORM_OS2=1
47862 ;;
47863 darwin )
47864 PLATFORM_MAC=1
47865 PLATFORM_MACOSX=1
47866 ;;
47867 unix )
47868 PLATFORM_UNIX=1
47869 ;;
47870 beos )
47871 PLATFORM_BEOS=1
47872 ;;
47873 * )
47874 ;;
47875 esac
47876 fi
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888 # Check whether --enable-omf was given.
47889 if test "${enable_omf+set}" = set; then
47890 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47891 fi
47892
47893
47894 case "${BAKEFILE_HOST}" in
47895 *-*-darwin* )
47896 if test "x$GCC" = "xyes"; then
47897 CFLAGS="$CFLAGS -fno-common"
47898 CXXFLAGS="$CXXFLAGS -fno-common"
47899 fi
47900 if test "x$XLCC" = "xyes"; then
47901 CFLAGS="$CFLAGS -qnocommon"
47902 CXXFLAGS="$CXXFLAGS -qnocommon"
47903 fi
47904 ;;
47905
47906 *-pc-os2_emx | *-pc-os2-emx )
47907 if test "x$bk_os2_use_omf" = "xyes" ; then
47908 AR=emxomfar
47909 RANLIB=:
47910 LDFLAGS="-Zomf $LDFLAGS"
47911 CFLAGS="-Zomf $CFLAGS"
47912 CXXFLAGS="-Zomf $CXXFLAGS"
47913 OS2_LIBEXT="lib"
47914 else
47915 OS2_LIBEXT="a"
47916 fi
47917 ;;
47918
47919 i*86-*-beos* )
47920 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47921 ;;
47922 esac
47923
47924
47925 SO_SUFFIX="so"
47926 SO_SUFFIX_MODULE="so"
47927 EXEEXT=""
47928 LIBPREFIX="lib"
47929 LIBEXT=".a"
47930 DLLPREFIX="lib"
47931 DLLPREFIX_MODULE=""
47932 DLLIMP_SUFFIX=""
47933 dlldir="$libdir"
47934
47935 case "${BAKEFILE_HOST}" in
47936 *-hp-hpux* )
47937 SO_SUFFIX="sl"
47938 SO_SUFFIX_MODULE="sl"
47939 ;;
47940 *-*-aix* )
47941 SO_SUFFIX="a"
47942 SO_SUFFIX_MODULE="a"
47943 ;;
47944 *-*-cygwin* )
47945 SO_SUFFIX="dll"
47946 SO_SUFFIX_MODULE="dll"
47947 DLLIMP_SUFFIX="dll.a"
47948 EXEEXT=".exe"
47949 DLLPREFIX="cyg"
47950 dlldir="$bindir"
47951 ;;
47952 *-*-mingw32* )
47953 SO_SUFFIX="dll"
47954 SO_SUFFIX_MODULE="dll"
47955 DLLIMP_SUFFIX="dll.a"
47956 EXEEXT=".exe"
47957 DLLPREFIX=""
47958 dlldir="$bindir"
47959 ;;
47960 *-pc-msdosdjgpp )
47961 EXEEXT=".exe"
47962 DLLPREFIX=""
47963 dlldir="$bindir"
47964 ;;
47965 *-pc-os2_emx | *-pc-os2-emx )
47966 SO_SUFFIX="dll"
47967 SO_SUFFIX_MODULE="dll"
47968 DLLIMP_SUFFIX=$OS2_LIBEXT
47969 EXEEXT=".exe"
47970 DLLPREFIX=""
47971 LIBPREFIX=""
47972 LIBEXT=".$OS2_LIBEXT"
47973 dlldir="$bindir"
47974 ;;
47975 *-*-darwin* )
47976 SO_SUFFIX="dylib"
47977 SO_SUFFIX_MODULE="bundle"
47978 ;;
47979 esac
47980
47981 if test "x$DLLIMP_SUFFIX" = "x" ; then
47982 DLLIMP_SUFFIX="$SO_SUFFIX"
47983 fi
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996 PIC_FLAG=""
47997 if test "x$GCC" = "xyes"; then
47998 PIC_FLAG="-fPIC"
47999 fi
48000
48001 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48002 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48003 WINDOWS_IMPLIB=0
48004
48005 case "${BAKEFILE_HOST}" in
48006 *-hp-hpux* )
48007 if test "x$GCC" != "xyes"; then
48008 LDFLAGS="$LDFLAGS -L/usr/lib"
48009
48010 SHARED_LD_CC="${CC} -b -o"
48011 SHARED_LD_CXX="${CXX} -b -o"
48012 PIC_FLAG="+Z"
48013 fi
48014 ;;
48015
48016 *-*-linux* )
48017 if test "$INTELCC" = "yes"; then
48018 PIC_FLAG="-KPIC"
48019 elif test "x$SUNCXX" = "xyes"; then
48020 SHARED_LD_CC="${CC} -G -o"
48021 SHARED_LD_CXX="${CXX} -G -o"
48022 PIC_FLAG="-KPIC"
48023 fi
48024 ;;
48025
48026 *-*-solaris2* )
48027 if test "x$SUNCXX" = xyes ; then
48028 SHARED_LD_CC="${CC} -G -o"
48029 SHARED_LD_CXX="${CXX} -G -o"
48030 PIC_FLAG="-KPIC"
48031 fi
48032 ;;
48033
48034 *-*-darwin* )
48035
48036 D='$'
48037 cat <<EOF >shared-ld-sh
48038 #!/bin/sh
48039 #-----------------------------------------------------------------------------
48040 #-- Name: distrib/mac/shared-ld-sh
48041 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48042 #-- Author: Gilles Depeyrot
48043 #-- Copyright: (c) 2002 Gilles Depeyrot
48044 #-- Licence: any use permitted
48045 #-----------------------------------------------------------------------------
48046
48047 verbose=0
48048 args=""
48049 objects=""
48050 linking_flag="-dynamiclib"
48051 ldargs="-r -keep_private_externs -nostdlib"
48052
48053 if test "x${D}CXX" = "x"; then
48054 CXX="c++"
48055 fi
48056
48057 while test ${D}# -gt 0; do
48058 case ${D}1 in
48059
48060 -v)
48061 verbose=1
48062 ;;
48063
48064 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48065 # collect these options and values
48066 args="${D}{args} ${D}1 ${D}2"
48067 shift
48068 ;;
48069
48070 -arch|-isysroot)
48071 # collect these options and values
48072 ldargs="${D}{ldargs} ${D}1 ${D}2"
48073 shift
48074 ;;
48075
48076 -s|-Wl,*)
48077 # collect these load args
48078 ldargs="${D}{ldargs} ${D}1"
48079 ;;
48080
48081 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48082 # collect these options
48083 args="${D}{args} ${D}1"
48084 ;;
48085
48086 -dynamiclib|-bundle)
48087 linking_flag="${D}1"
48088 ;;
48089
48090 -*)
48091 echo "shared-ld: unhandled option '${D}1'"
48092 exit 1
48093 ;;
48094
48095 *.o | *.a | *.dylib)
48096 # collect object files
48097 objects="${D}{objects} ${D}1"
48098 ;;
48099
48100 *)
48101 echo "shared-ld: unhandled argument '${D}1'"
48102 exit 1
48103 ;;
48104
48105 esac
48106 shift
48107 done
48108
48109 status=0
48110
48111 #
48112 # Link one module containing all the others
48113 #
48114 if test ${D}{verbose} = 1; then
48115 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48116 fi
48117 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48118 status=${D}?
48119
48120 #
48121 # Link the shared library from the single module created, but only if the
48122 # previous command didn't fail:
48123 #
48124 if test ${D}{status} = 0; then
48125 if test ${D}{verbose} = 1; then
48126 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48127 fi
48128 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48129 status=${D}?
48130 fi
48131
48132 #
48133 # Remove intermediate module
48134 #
48135 rm -f master.${D}${D}.o
48136
48137 exit ${D}status
48138 EOF
48139
48140 chmod +x shared-ld-sh
48141
48142 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48143 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48144
48145
48146 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48147 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48148 if test "${bakefile_cv_gcc31+set}" = set; then
48149 echo $ECHO_N "(cached) $ECHO_C" >&6
48150 else
48151
48152 cat >conftest.$ac_ext <<_ACEOF
48153 /* confdefs.h. */
48154 _ACEOF
48155 cat confdefs.h >>conftest.$ac_ext
48156 cat >>conftest.$ac_ext <<_ACEOF
48157 /* end confdefs.h. */
48158
48159 int
48160 main ()
48161 {
48162
48163 #if (__GNUC__ < 3) || \
48164 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48165 This is old gcc
48166 #endif
48167
48168 ;
48169 return 0;
48170 }
48171 _ACEOF
48172 rm -f conftest.$ac_objext
48173 if { (ac_try="$ac_compile"
48174 case "(($ac_try" in
48175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48176 *) ac_try_echo=$ac_try;;
48177 esac
48178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48179 (eval "$ac_compile") 2>conftest.er1
48180 ac_status=$?
48181 grep -v '^ *+' conftest.er1 >conftest.err
48182 rm -f conftest.er1
48183 cat conftest.err >&5
48184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48185 (exit $ac_status); } && {
48186 test -z "$ac_c_werror_flag" ||
48187 test ! -s conftest.err
48188 } && test -s conftest.$ac_objext; then
48189
48190 bakefile_cv_gcc31=yes
48191
48192 else
48193 echo "$as_me: failed program was:" >&5
48194 sed 's/^/| /' conftest.$ac_ext >&5
48195
48196
48197 bakefile_cv_gcc31=no
48198
48199
48200 fi
48201
48202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48203
48204 fi
48205 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48206 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48207 if test "$bakefile_cv_gcc31" = "no"; then
48208 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48209 SHARED_LD_CXX="$SHARED_LD_CC"
48210 else
48211 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48212 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48213 fi
48214
48215 if test "x$GCC" == "xyes"; then
48216 PIC_FLAG="-dynamic -fPIC"
48217 fi
48218 if test "x$XLCC" = "xyes"; then
48219 PIC_FLAG="-dynamic -DPIC"
48220 fi
48221 ;;
48222
48223 *-*-aix* )
48224 if test "x$GCC" = "xyes"; then
48225 PIC_FLAG=""
48226
48227 case "${BAKEFILE_HOST}" in
48228 *-*-aix5* )
48229 LD_EXPFULL="-Wl,-bexpfull"
48230 ;;
48231 esac
48232
48233 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48234 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48235 else
48236 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48237 set dummy makeC++SharedLib; ac_word=$2
48238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48240 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48241 echo $ECHO_N "(cached) $ECHO_C" >&6
48242 else
48243 if test -n "$AIX_CXX_LD"; then
48244 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48245 else
48246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48247 for as_dir in $PATH
48248 do
48249 IFS=$as_save_IFS
48250 test -z "$as_dir" && as_dir=.
48251 for ac_exec_ext in '' $ac_executable_extensions; do
48252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48253 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48255 break 2
48256 fi
48257 done
48258 done
48259 IFS=$as_save_IFS
48260
48261 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48262 fi
48263 fi
48264 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48265 if test -n "$AIX_CXX_LD"; then
48266 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48267 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48268 else
48269 { echo "$as_me:$LINENO: result: no" >&5
48270 echo "${ECHO_T}no" >&6; }
48271 fi
48272
48273
48274 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48275 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48276 fi
48277 ;;
48278
48279 *-*-beos* )
48280 SHARED_LD_CC="${LD} -nostart -o"
48281 SHARED_LD_CXX="${LD} -nostart -o"
48282 ;;
48283
48284 *-*-irix* )
48285 if test "x$GCC" != "xyes"; then
48286 PIC_FLAG="-KPIC"
48287 fi
48288 ;;
48289
48290 *-*-cygwin* | *-*-mingw32* )
48291 PIC_FLAG=""
48292 SHARED_LD_CC="\$(CC) -shared -o"
48293 SHARED_LD_CXX="\$(CXX) -shared -o"
48294 WINDOWS_IMPLIB=1
48295 ;;
48296
48297 *-pc-os2_emx | *-pc-os2-emx )
48298 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48299 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48300 PIC_FLAG=""
48301
48302 D='$'
48303 cat <<EOF >dllar.sh
48304 #!/bin/sh
48305 #
48306 # dllar - a tool to build both a .dll and an .a file
48307 # from a set of object (.o) files for EMX/OS2.
48308 #
48309 # Written by Andrew Zabolotny, bit@freya.etu.ru
48310 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48311 #
48312 # This script will accept a set of files on the command line.
48313 # All the public symbols from the .o files will be exported into
48314 # a .DEF file, then linker will be run (through gcc) against them to
48315 # build a shared library consisting of all given .o files. All libraries
48316 # (.a) will be first decompressed into component .o files then act as
48317 # described above. You can optionally give a description (-d "description")
48318 # which will be put into .DLL. To see the list of accepted options (as well
48319 # as command-line format) simply run this program without options. The .DLL
48320 # is built to be imported by name (there is no guarantee that new versions
48321 # of the library you build will have same ordinals for same symbols).
48322 #
48323 # dllar is free software; you can redistribute it and/or modify
48324 # it under the terms of the GNU General Public License as published by
48325 # the Free Software Foundation; either version 2, or (at your option)
48326 # any later version.
48327 #
48328 # dllar is distributed in the hope that it will be useful,
48329 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48330 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48331 # GNU General Public License for more details.
48332 #
48333 # You should have received a copy of the GNU General Public License
48334 # along with dllar; see the file COPYING. If not, write to the Free
48335 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48336 # 02111-1307, USA.
48337
48338 # To successfuly run this program you will need:
48339 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48340 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48341 # - gcc
48342 # (used to build the .dll)
48343 # - emxexp
48344 # (used to create .def file from .o files)
48345 # - emximp
48346 # (used to create .a file from .def file)
48347 # - GNU text utilites (cat, sort, uniq)
48348 # used to process emxexp output
48349 # - GNU file utilities (mv, rm)
48350 # - GNU sed
48351 # - lxlite (optional, see flag below)
48352 # (used for general .dll cleanup)
48353 #
48354
48355 flag_USE_LXLITE=1;
48356
48357 #
48358 # helper functions
48359 # basnam, variant of basename, which does _not_ remove the path, _iff_
48360 # second argument (suffix to remove) is given
48361 basnam(){
48362 case ${D}# in
48363 1)
48364 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48365 ;;
48366 2)
48367 echo ${D}1 | sed 's/'${D}2'${D}//'
48368 ;;
48369 *)
48370 echo "error in basnam ${D}*"
48371 exit 8
48372 ;;
48373 esac
48374 }
48375
48376 # Cleanup temporary files and output
48377 CleanUp() {
48378 cd ${D}curDir
48379 for i in ${D}inputFiles ; do
48380 case ${D}i in
48381 *!)
48382 rm -rf \`basnam ${D}i !\`
48383 ;;
48384 *)
48385 ;;
48386 esac
48387 done
48388
48389 # Kill result in case of failure as there is just to many stupid make/nmake
48390 # things out there which doesn't do this.
48391 if [ ${D}# -eq 0 ]; then
48392 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48393 fi
48394 }
48395
48396 # Print usage and exit script with rc=1.
48397 PrintHelp() {
48398 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48399 echo ' [-name-mangler-script script.sh]'
48400 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48401 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48402 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48403 echo ' [*.o] [*.a]'
48404 echo '*> "output_file" should have no extension.'
48405 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48406 echo ' The import library name is derived from this and is set to "name".a,'
48407 echo ' unless overridden by -import'
48408 echo '*> "importlib_name" should have no extension.'
48409 echo ' If it has the .o, or .a extension, it is automatically removed.'
48410 echo ' This name is used as the import library name and may be longer and'
48411 echo ' more descriptive than the DLL name which has to follow the old '
48412 echo ' 8.3 convention of FAT.'
48413 echo '*> "script.sh may be given to override the output_file name by a'
48414 echo ' different name. It is mainly useful if the regular make process'
48415 echo ' of some package does not take into account OS/2 restriction of'
48416 echo ' DLL name lengths. It takes the importlib name as input and is'
48417 echo ' supposed to procude a shorter name as output. The script should'
48418 echo ' expect to get importlib_name without extension and should produce'
48419 echo ' a (max.) 8 letter name without extension.'
48420 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48421 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48422 echo ' These flags will be put at the start of GCC command line.'
48423 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48424 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48425 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48426 echo ' If the last character of a symbol is "*", all symbols beginning'
48427 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48428 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48429 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48430 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48431 echo ' C runtime DLLs.'
48432 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48433 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48434 echo ' unchanged to GCC at the end of command line.'
48435 echo '*> If you create a DLL from a library and you do not specify -o,'
48436 echo ' the basename for DLL and import library will be set to library name,'
48437 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48438 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48439 echo ' library will be renamed into gcc_s.a.'
48440 echo '--------'
48441 echo 'Example:'
48442 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48443 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48444 CleanUp
48445 exit 1
48446 }
48447
48448 # Execute a command.
48449 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48450 # @Uses Whatever CleanUp() uses.
48451 doCommand() {
48452 echo "${D}*"
48453 eval ${D}*
48454 rcCmd=${D}?
48455
48456 if [ ${D}rcCmd -ne 0 ]; then
48457 echo "command failed, exit code="${D}rcCmd
48458 CleanUp
48459 exit ${D}rcCmd
48460 fi
48461 }
48462
48463 # main routine
48464 # setup globals
48465 cmdLine=${D}*
48466 outFile=""
48467 outimpFile=""
48468 inputFiles=""
48469 renameScript=""
48470 description=""
48471 CC=gcc.exe
48472 CFLAGS="-s -Zcrtdll"
48473 EXTRA_CFLAGS=""
48474 EXPORT_BY_ORDINALS=0
48475 exclude_symbols=""
48476 library_flags=""
48477 curDir=\`pwd\`
48478 curDirS=curDir
48479 case ${D}curDirS in
48480 */)
48481 ;;
48482 *)
48483 curDirS=${D}{curDirS}"/"
48484 ;;
48485 esac
48486 # Parse commandline
48487 libsToLink=0
48488 omfLinking=0
48489 while [ ${D}1 ]; do
48490 case ${D}1 in
48491 -ord*)
48492 EXPORT_BY_ORDINALS=1;
48493 ;;
48494 -o*)
48495 shift
48496 outFile=${D}1
48497 ;;
48498 -i*)
48499 shift
48500 outimpFile=${D}1
48501 ;;
48502 -name-mangler-script)
48503 shift
48504 renameScript=${D}1
48505 ;;
48506 -d*)
48507 shift
48508 description=${D}1
48509 ;;
48510 -f*)
48511 shift
48512 CFLAGS=${D}1
48513 ;;
48514 -c*)
48515 shift
48516 CC=${D}1
48517 ;;
48518 -h*)
48519 PrintHelp
48520 ;;
48521 -ex*)
48522 shift
48523 exclude_symbols=${D}{exclude_symbols}${D}1" "
48524 ;;
48525 -libf*)
48526 shift
48527 library_flags=${D}{library_flags}${D}1" "
48528 ;;
48529 -nocrt*)
48530 CFLAGS="-s"
48531 ;;
48532 -nolxl*)
48533 flag_USE_LXLITE=0
48534 ;;
48535 -* | /*)
48536 case ${D}1 in
48537 -L* | -l*)
48538 libsToLink=1
48539 ;;
48540 -Zomf)
48541 omfLinking=1
48542 ;;
48543 *)
48544 ;;
48545 esac
48546 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48547 ;;
48548 *.dll)
48549 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48550 if [ ${D}omfLinking -eq 1 ]; then
48551 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48552 else
48553 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48554 fi
48555 ;;
48556 *)
48557 found=0;
48558 if [ ${D}libsToLink -ne 0 ]; then
48559 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48560 else
48561 for file in ${D}1 ; do
48562 if [ -f ${D}file ]; then
48563 inputFiles="${D}{inputFiles} ${D}file"
48564 found=1
48565 fi
48566 done
48567 if [ ${D}found -eq 0 ]; then
48568 echo "ERROR: No file(s) found: "${D}1
48569 exit 8
48570 fi
48571 fi
48572 ;;
48573 esac
48574 shift
48575 done # iterate cmdline words
48576
48577 #
48578 if [ -z "${D}inputFiles" ]; then
48579 echo "dllar: no input files"
48580 PrintHelp
48581 fi
48582
48583 # Now extract all .o files from .a files
48584 newInputFiles=""
48585 for file in ${D}inputFiles ; do
48586 case ${D}file in
48587 *.a | *.lib)
48588 case ${D}file in
48589 *.a)
48590 suffix=".a"
48591 AR="ar"
48592 ;;
48593 *.lib)
48594 suffix=".lib"
48595 AR="emxomfar"
48596 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48597 ;;
48598 *)
48599 ;;
48600 esac
48601 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48602 mkdir ${D}dirname
48603 if [ ${D}? -ne 0 ]; then
48604 echo "Failed to create subdirectory ./${D}dirname"
48605 CleanUp
48606 exit 8;
48607 fi
48608 # Append '!' to indicate archive
48609 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48610 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48611 cd ${D}curDir
48612 found=0;
48613 for subfile in ${D}dirname/*.o* ; do
48614 if [ -f ${D}subfile ]; then
48615 found=1
48616 if [ -s ${D}subfile ]; then
48617 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48618 newInputFiles="${D}newInputFiles ${D}subfile"
48619 fi
48620 fi
48621 done
48622 if [ ${D}found -eq 0 ]; then
48623 echo "WARNING: there are no files in archive \\'${D}file\\'"
48624 fi
48625 ;;
48626 *)
48627 newInputFiles="${D}{newInputFiles} ${D}file"
48628 ;;
48629 esac
48630 done
48631 inputFiles="${D}newInputFiles"
48632
48633 # Output filename(s).
48634 do_backup=0;
48635 if [ -z ${D}outFile ]; then
48636 do_backup=1;
48637 set outFile ${D}inputFiles; outFile=${D}2
48638 fi
48639
48640 # If it is an archive, remove the '!' and the '_%' suffixes
48641 case ${D}outFile in
48642 *_%!)
48643 outFile=\`basnam ${D}outFile _%!\`
48644 ;;
48645 *)
48646 ;;
48647 esac
48648 case ${D}outFile in
48649 *.dll)
48650 outFile=\`basnam ${D}outFile .dll\`
48651 ;;
48652 *.DLL)
48653 outFile=\`basnam ${D}outFile .DLL\`
48654 ;;
48655 *.o)
48656 outFile=\`basnam ${D}outFile .o\`
48657 ;;
48658 *.obj)
48659 outFile=\`basnam ${D}outFile .obj\`
48660 ;;
48661 *.a)
48662 outFile=\`basnam ${D}outFile .a\`
48663 ;;
48664 *.lib)
48665 outFile=\`basnam ${D}outFile .lib\`
48666 ;;
48667 *)
48668 ;;
48669 esac
48670 case ${D}outimpFile in
48671 *.a)
48672 outimpFile=\`basnam ${D}outimpFile .a\`
48673 ;;
48674 *.lib)
48675 outimpFile=\`basnam ${D}outimpFile .lib\`
48676 ;;
48677 *)
48678 ;;
48679 esac
48680 if [ -z ${D}outimpFile ]; then
48681 outimpFile=${D}outFile
48682 fi
48683 defFile="${D}{outFile}.def"
48684 arcFile="${D}{outimpFile}.a"
48685 arcFile2="${D}{outimpFile}.lib"
48686
48687 #create ${D}dllFile as something matching 8.3 restrictions,
48688 if [ -z ${D}renameScript ] ; then
48689 dllFile="${D}outFile"
48690 else
48691 dllFile=\`${D}renameScript ${D}outimpFile\`
48692 fi
48693
48694 if [ ${D}do_backup -ne 0 ] ; then
48695 if [ -f ${D}arcFile ] ; then
48696 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48697 fi
48698 if [ -f ${D}arcFile2 ] ; then
48699 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48700 fi
48701 fi
48702
48703 # Extract public symbols from all the object files.
48704 tmpdefFile=${D}{defFile}_%
48705 rm -f ${D}tmpdefFile
48706 for file in ${D}inputFiles ; do
48707 case ${D}file in
48708 *!)
48709 ;;
48710 *)
48711 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48712 ;;
48713 esac
48714 done
48715
48716 # Create the def file.
48717 rm -f ${D}defFile
48718 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48719 dllFile="${D}{dllFile}.dll"
48720 if [ ! -z ${D}description ]; then
48721 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48722 fi
48723 echo "EXPORTS" >> ${D}defFile
48724
48725 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48726 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48727
48728 # Checks if the export is ok or not.
48729 for word in ${D}exclude_symbols; do
48730 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48731 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48732 done
48733
48734
48735 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48736 sed "=" < ${D}tmpdefFile | \\
48737 sed '
48738 N
48739 : loop
48740 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48741 t loop
48742 ' > ${D}{tmpdefFile}%
48743 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48744 else
48745 rm -f ${D}{tmpdefFile}%
48746 fi
48747 cat ${D}tmpdefFile >> ${D}defFile
48748 rm -f ${D}tmpdefFile
48749
48750 # Do linking, create implib, and apply lxlite.
48751 gccCmdl="";
48752 for file in ${D}inputFiles ; do
48753 case ${D}file in
48754 *!)
48755 ;;
48756 *)
48757 gccCmdl="${D}gccCmdl ${D}file"
48758 ;;
48759 esac
48760 done
48761 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48762 touch "${D}{outFile}.dll"
48763
48764 doCommand "emximp -o ${D}arcFile ${D}defFile"
48765 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48766 add_flags="";
48767 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48768 add_flags="-ynd"
48769 fi
48770 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48771 fi
48772 doCommand "emxomf -s -l ${D}arcFile"
48773
48774 # Successful exit.
48775 CleanUp 1
48776 exit 0
48777 EOF
48778
48779 chmod +x dllar.sh
48780 ;;
48781
48782 powerpc-apple-macos* | \
48783 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48784 *-*-mirbsd* | \
48785 *-*-sunos4* | \
48786 *-*-osf* | \
48787 *-*-dgux5* | \
48788 *-*-sysv5* | \
48789 *-pc-msdosdjgpp )
48790 ;;
48791
48792 *)
48793 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48794 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48795 { (exit 1); exit 1; }; }
48796 esac
48797
48798 if test "x$PIC_FLAG" != "x" ; then
48799 PIC_FLAG="$PIC_FLAG -DPIC"
48800 fi
48801
48802 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48803 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48804 fi
48805 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48806 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48807 fi
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817 USE_SOVERSION=0
48818 USE_SOVERLINUX=0
48819 USE_SOVERSOLARIS=0
48820 USE_SOVERCYGWIN=0
48821 USE_SOSYMLINKS=0
48822 USE_MACVERSION=0
48823 SONAME_FLAG=
48824
48825 case "${BAKEFILE_HOST}" in
48826 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48827 *-*-k*bsd*-gnu | *-*-mirbsd* )
48828 if test "x$SUNCXX" = "xyes"; then
48829 SONAME_FLAG="-h "
48830 else
48831 SONAME_FLAG="-Wl,-soname,"
48832 fi
48833 USE_SOVERSION=1
48834 USE_SOVERLINUX=1
48835 USE_SOSYMLINKS=1
48836 ;;
48837
48838 *-*-solaris2* )
48839 SONAME_FLAG="-h "
48840 USE_SOVERSION=1
48841 USE_SOVERSOLARIS=1
48842 USE_SOSYMLINKS=1
48843 ;;
48844
48845 *-*-darwin* )
48846 USE_MACVERSION=1
48847 USE_SOVERSION=1
48848 USE_SOSYMLINKS=1
48849 ;;
48850
48851 *-*-cygwin* )
48852 USE_SOVERSION=1
48853 USE_SOVERCYGWIN=1
48854 ;;
48855 esac
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866 # Check whether --enable-dependency-tracking was given.
48867 if test "${enable_dependency_tracking+set}" = set; then
48868 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48869 fi
48870
48871
48872 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48873 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48874
48875 BK_DEPS=""
48876 if test "x$bk_use_trackdeps" = "xno" ; then
48877 DEPS_TRACKING=0
48878 { echo "$as_me:$LINENO: result: disabled" >&5
48879 echo "${ECHO_T}disabled" >&6; }
48880 else
48881 DEPS_TRACKING=1
48882
48883 if test "x$GCC" = "xyes"; then
48884 DEPSMODE=gcc
48885 case "${BAKEFILE_HOST}" in
48886 *-*-darwin* )
48887 DEPSFLAG="-no-cpp-precomp -MMD"
48888 ;;
48889 * )
48890 DEPSFLAG="-MMD"
48891 ;;
48892 esac
48893 { echo "$as_me:$LINENO: result: gcc" >&5
48894 echo "${ECHO_T}gcc" >&6; }
48895 elif test "x$MWCC" = "xyes"; then
48896 DEPSMODE=mwcc
48897 DEPSFLAG="-MM"
48898 { echo "$as_me:$LINENO: result: mwcc" >&5
48899 echo "${ECHO_T}mwcc" >&6; }
48900 elif test "x$SUNCC" = "xyes"; then
48901 DEPSMODE=unixcc
48902 DEPSFLAG="-xM1"
48903 { echo "$as_me:$LINENO: result: Sun cc" >&5
48904 echo "${ECHO_T}Sun cc" >&6; }
48905 elif test "x$SGICC" = "xyes"; then
48906 DEPSMODE=unixcc
48907 DEPSFLAG="-M"
48908 { echo "$as_me:$LINENO: result: SGI cc" >&5
48909 echo "${ECHO_T}SGI cc" >&6; }
48910 elif test "x$HPCC" = "xyes"; then
48911 DEPSMODE=unixcc
48912 DEPSFLAG="+make"
48913 { echo "$as_me:$LINENO: result: HP cc" >&5
48914 echo "${ECHO_T}HP cc" >&6; }
48915 elif test "x$COMPAQCC" = "xyes"; then
48916 DEPSMODE=gcc
48917 DEPSFLAG="-MD"
48918 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48919 echo "${ECHO_T}Compaq cc" >&6; }
48920 else
48921 DEPS_TRACKING=0
48922 { echo "$as_me:$LINENO: result: none" >&5
48923 echo "${ECHO_T}none" >&6; }
48924 fi
48925
48926 if test $DEPS_TRACKING = 1 ; then
48927
48928 D='$'
48929 cat <<EOF >bk-deps
48930 #!/bin/sh
48931
48932 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48933 # script. It is used to track C/C++ files dependencies in portable way.
48934 #
48935 # Permission is given to use this file in any way.
48936
48937 DEPSMODE=${DEPSMODE}
48938 DEPSDIR=.deps
48939 DEPSFLAG="${DEPSFLAG}"
48940
48941 mkdir -p ${D}DEPSDIR
48942
48943 if test ${D}DEPSMODE = gcc ; then
48944 ${D}* ${D}{DEPSFLAG}
48945 status=${D}?
48946
48947 # determine location of created files:
48948 while test ${D}# -gt 0; do
48949 case "${D}1" in
48950 -o )
48951 shift
48952 objfile=${D}1
48953 ;;
48954 -* )
48955 ;;
48956 * )
48957 srcfile=${D}1
48958 ;;
48959 esac
48960 shift
48961 done
48962 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48963 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48964
48965 # if the compiler failed, we're done:
48966 if test ${D}{status} != 0 ; then
48967 rm -f ${D}depfile
48968 exit ${D}{status}
48969 fi
48970
48971 # move created file to the location we want it in:
48972 if test -f ${D}depfile ; then
48973 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48974 rm -f ${D}depfile
48975 else
48976 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48977 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48978 if test ! -f ${D}depfile ; then
48979 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48980 depfile="${D}objfile.d"
48981 fi
48982 if test -f ${D}depfile ; then
48983 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48984 rm -f ${D}depfile
48985 fi
48986 fi
48987 exit 0
48988 elif test ${D}DEPSMODE = mwcc ; then
48989 ${D}* || exit ${D}?
48990 # Run mwcc again with -MM and redirect into the dep file we want
48991 # NOTE: We can't use shift here because we need ${D}* to be valid
48992 prevarg=
48993 for arg in ${D}* ; do
48994 if test "${D}prevarg" = "-o"; then
48995 objfile=${D}arg
48996 else
48997 case "${D}arg" in
48998 -* )
48999 ;;
49000 * )
49001 srcfile=${D}arg
49002 ;;
49003 esac
49004 fi
49005 prevarg="${D}arg"
49006 done
49007 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49008 exit 0
49009 elif test ${D}DEPSMODE = unixcc; then
49010 ${D}* || exit ${D}?
49011 # Run compiler again with deps flag and redirect into the dep file.
49012 # It doesn't work if the '-o FILE' option is used, but without it the
49013 # dependency file will contain the wrong name for the object. So it is
49014 # removed from the command line, and the dep file is fixed with sed.
49015 cmd=""
49016 while test ${D}# -gt 0; do
49017 case "${D}1" in
49018 -o )
49019 shift
49020 objfile=${D}1
49021 ;;
49022 * )
49023 eval arg${D}#=\\${D}1
49024 cmd="${D}cmd \\${D}arg${D}#"
49025 ;;
49026 esac
49027 shift
49028 done
49029 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49030 exit 0
49031 else
49032 ${D}*
49033 exit ${D}?
49034 fi
49035 EOF
49036
49037 chmod +x bk-deps
49038 BK_DEPS="`pwd`/bk-deps"
49039 fi
49040 fi
49041
49042
49043
49044
49045
49046 case ${BAKEFILE_HOST} in
49047 *-*-cygwin* | *-*-mingw32* )
49048 if test -n "$ac_tool_prefix"; then
49049 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49050 set dummy ${ac_tool_prefix}windres; ac_word=$2
49051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49053 if test "${ac_cv_prog_WINDRES+set}" = set; then
49054 echo $ECHO_N "(cached) $ECHO_C" >&6
49055 else
49056 if test -n "$WINDRES"; then
49057 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49058 else
49059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49060 for as_dir in $PATH
49061 do
49062 IFS=$as_save_IFS
49063 test -z "$as_dir" && as_dir=.
49064 for ac_exec_ext in '' $ac_executable_extensions; do
49065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49066 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49068 break 2
49069 fi
49070 done
49071 done
49072 IFS=$as_save_IFS
49073
49074 fi
49075 fi
49076 WINDRES=$ac_cv_prog_WINDRES
49077 if test -n "$WINDRES"; then
49078 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49079 echo "${ECHO_T}$WINDRES" >&6; }
49080 else
49081 { echo "$as_me:$LINENO: result: no" >&5
49082 echo "${ECHO_T}no" >&6; }
49083 fi
49084
49085
49086 fi
49087 if test -z "$ac_cv_prog_WINDRES"; then
49088 ac_ct_WINDRES=$WINDRES
49089 # Extract the first word of "windres", so it can be a program name with args.
49090 set dummy windres; ac_word=$2
49091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49093 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49095 else
49096 if test -n "$ac_ct_WINDRES"; then
49097 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49098 else
49099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49100 for as_dir in $PATH
49101 do
49102 IFS=$as_save_IFS
49103 test -z "$as_dir" && as_dir=.
49104 for ac_exec_ext in '' $ac_executable_extensions; do
49105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49106 ac_cv_prog_ac_ct_WINDRES="windres"
49107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49108 break 2
49109 fi
49110 done
49111 done
49112 IFS=$as_save_IFS
49113
49114 fi
49115 fi
49116 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49117 if test -n "$ac_ct_WINDRES"; then
49118 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49119 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49120 else
49121 { echo "$as_me:$LINENO: result: no" >&5
49122 echo "${ECHO_T}no" >&6; }
49123 fi
49124
49125 if test "x$ac_ct_WINDRES" = x; then
49126 WINDRES=""
49127 else
49128 case $cross_compiling:$ac_tool_warned in
49129 yes:)
49130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49131 whose name does not start with the host triplet. If you think this
49132 configuration is useful to you, please write to autoconf@gnu.org." >&5
49133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49134 whose name does not start with the host triplet. If you think this
49135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49136 ac_tool_warned=yes ;;
49137 esac
49138 WINDRES=$ac_ct_WINDRES
49139 fi
49140 else
49141 WINDRES="$ac_cv_prog_WINDRES"
49142 fi
49143
49144 ;;
49145
49146 *-*-darwin* | powerpc-apple-macos* )
49147 # Extract the first word of "Rez", so it can be a program name with args.
49148 set dummy Rez; ac_word=$2
49149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49151 if test "${ac_cv_prog_REZ+set}" = set; then
49152 echo $ECHO_N "(cached) $ECHO_C" >&6
49153 else
49154 if test -n "$REZ"; then
49155 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49156 else
49157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49158 for as_dir in $PATH
49159 do
49160 IFS=$as_save_IFS
49161 test -z "$as_dir" && as_dir=.
49162 for ac_exec_ext in '' $ac_executable_extensions; do
49163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49164 ac_cv_prog_REZ="Rez"
49165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49166 break 2
49167 fi
49168 done
49169 done
49170 IFS=$as_save_IFS
49171
49172 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49173 fi
49174 fi
49175 REZ=$ac_cv_prog_REZ
49176 if test -n "$REZ"; then
49177 { echo "$as_me:$LINENO: result: $REZ" >&5
49178 echo "${ECHO_T}$REZ" >&6; }
49179 else
49180 { echo "$as_me:$LINENO: result: no" >&5
49181 echo "${ECHO_T}no" >&6; }
49182 fi
49183
49184
49185 # Extract the first word of "SetFile", so it can be a program name with args.
49186 set dummy SetFile; ac_word=$2
49187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49189 if test "${ac_cv_prog_SETFILE+set}" = set; then
49190 echo $ECHO_N "(cached) $ECHO_C" >&6
49191 else
49192 if test -n "$SETFILE"; then
49193 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49194 else
49195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49196 for as_dir in $PATH
49197 do
49198 IFS=$as_save_IFS
49199 test -z "$as_dir" && as_dir=.
49200 for ac_exec_ext in '' $ac_executable_extensions; do
49201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49202 ac_cv_prog_SETFILE="SetFile"
49203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49204 break 2
49205 fi
49206 done
49207 done
49208 IFS=$as_save_IFS
49209
49210 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49211 fi
49212 fi
49213 SETFILE=$ac_cv_prog_SETFILE
49214 if test -n "$SETFILE"; then
49215 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49216 echo "${ECHO_T}$SETFILE" >&6; }
49217 else
49218 { echo "$as_me:$LINENO: result: no" >&5
49219 echo "${ECHO_T}no" >&6; }
49220 fi
49221
49222
49223 ;;
49224 esac
49225
49226
49227
49228
49229
49230
49231 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49232
49233
49234 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49235
49236
49237
49238 # Check whether --enable-precomp-headers was given.
49239 if test "${enable_precomp_headers+set}" = set; then
49240 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49241 fi
49242
49243
49244 GCC_PCH=0
49245 ICC_PCH=0
49246 USE_PCH=0
49247 BK_MAKE_PCH=""
49248
49249 case ${BAKEFILE_HOST} in
49250 *-*-cygwin* )
49251 bk_use_pch="no"
49252 ;;
49253 esac
49254
49255 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49256 if test "x$GCC" = "xyes"; then
49257 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49258 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49259 cat >conftest.$ac_ext <<_ACEOF
49260 /* confdefs.h. */
49261 _ACEOF
49262 cat confdefs.h >>conftest.$ac_ext
49263 cat >>conftest.$ac_ext <<_ACEOF
49264 /* end confdefs.h. */
49265
49266 int
49267 main ()
49268 {
49269
49270 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49271 There is no PCH support
49272 #endif
49273 #if (__GNUC__ < 3)
49274 There is no PCH support
49275 #endif
49276 #if (__GNUC__ == 3) && \
49277 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49278 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49279 ( defined(__INTEL_COMPILER) )
49280 There is no PCH support
49281 #endif
49282
49283 ;
49284 return 0;
49285 }
49286 _ACEOF
49287 rm -f conftest.$ac_objext
49288 if { (ac_try="$ac_compile"
49289 case "(($ac_try" in
49290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49291 *) ac_try_echo=$ac_try;;
49292 esac
49293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49294 (eval "$ac_compile") 2>conftest.er1
49295 ac_status=$?
49296 grep -v '^ *+' conftest.er1 >conftest.err
49297 rm -f conftest.er1
49298 cat conftest.err >&5
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); } && {
49301 test -z "$ac_c_werror_flag" ||
49302 test ! -s conftest.err
49303 } && test -s conftest.$ac_objext; then
49304
49305 { echo "$as_me:$LINENO: result: yes" >&5
49306 echo "${ECHO_T}yes" >&6; }
49307 GCC_PCH=1
49308
49309 else
49310 echo "$as_me: failed program was:" >&5
49311 sed 's/^/| /' conftest.$ac_ext >&5
49312
49313
49314 cat >conftest.$ac_ext <<_ACEOF
49315 /* confdefs.h. */
49316 _ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49320
49321 int
49322 main ()
49323 {
49324
49325 #if !defined(__INTEL_COMPILER) || \
49326 (__INTEL_COMPILER < 800)
49327 There is no PCH support
49328 #endif
49329
49330 ;
49331 return 0;
49332 }
49333 _ACEOF
49334 rm -f conftest.$ac_objext
49335 if { (ac_try="$ac_compile"
49336 case "(($ac_try" in
49337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49338 *) ac_try_echo=$ac_try;;
49339 esac
49340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49341 (eval "$ac_compile") 2>conftest.er1
49342 ac_status=$?
49343 grep -v '^ *+' conftest.er1 >conftest.err
49344 rm -f conftest.er1
49345 cat conftest.err >&5
49346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347 (exit $ac_status); } && {
49348 test -z "$ac_c_werror_flag" ||
49349 test ! -s conftest.err
49350 } && test -s conftest.$ac_objext; then
49351
49352 { echo "$as_me:$LINENO: result: yes" >&5
49353 echo "${ECHO_T}yes" >&6; }
49354 ICC_PCH=1
49355
49356 else
49357 echo "$as_me: failed program was:" >&5
49358 sed 's/^/| /' conftest.$ac_ext >&5
49359
49360
49361 { echo "$as_me:$LINENO: result: no" >&5
49362 echo "${ECHO_T}no" >&6; }
49363
49364 fi
49365
49366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49367
49368 fi
49369
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49372 USE_PCH=1
49373
49374 D='$'
49375 cat <<EOF >bk-make-pch
49376 #!/bin/sh
49377
49378 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49379 # script. It is used to generated precompiled headers.
49380 #
49381 # Permission is given to use this file in any way.
49382
49383 outfile="${D}{1}"
49384 header="${D}{2}"
49385 shift
49386 shift
49387
49388 compiler=""
49389 headerfile=""
49390
49391 while test ${D}{#} -gt 0; do
49392 add_to_cmdline=1
49393 case "${D}{1}" in
49394 -I* )
49395 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49396 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49397 headerfile="${D}{incdir}/${D}{header}"
49398 fi
49399 ;;
49400 -use-pch|-use_pch )
49401 shift
49402 add_to_cmdline=0
49403 ;;
49404 esac
49405 if test ${D}add_to_cmdline = 1 ; then
49406 compiler="${D}{compiler} ${D}{1}"
49407 fi
49408 shift
49409 done
49410
49411 if test "x${D}{headerfile}" = "x" ; then
49412 echo "error: can't find header ${D}{header} in include paths" >&2
49413 else
49414 if test -f ${D}{outfile} ; then
49415 rm -f ${D}{outfile}
49416 else
49417 mkdir -p \`dirname ${D}{outfile}\`
49418 fi
49419 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49420 mkdir -p .deps
49421 if test "x${GCC_PCH}" = "x1" ; then
49422 # can do this because gcc is >= 3.4:
49423 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49424 elif test "x${ICC_PCH}" = "x1" ; then
49425 filename=pch_gen-${D}${D}
49426 file=${D}{filename}.c
49427 dfile=${D}{filename}.d
49428 cat > ${D}file <<EOT
49429 #include "${D}header"
49430 EOT
49431 # using -MF icc complains about differing command lines in creation/use
49432 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49433 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49434 rm -f ${D}file ${D}dfile ${D}{filename}.o
49435 fi
49436 exit ${D}{?}
49437 fi
49438 EOF
49439
49440 chmod +x bk-make-pch
49441 BK_MAKE_PCH="`pwd`/bk-make-pch"
49442 fi
49443 fi
49444 fi
49445
49446
49447
49448
49449
49450 COND_BUILD_DEBUG="#"
49451 if test "x$BUILD" = "xdebug" ; then
49452 COND_BUILD_DEBUG=""
49453 fi
49454
49455 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49456 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49457 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49458 fi
49459
49460 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49461 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49462 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49463 fi
49464
49465 COND_BUILD_DEBUG_UNICODE_0="#"
49466 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49467 COND_BUILD_DEBUG_UNICODE_0=""
49468 fi
49469
49470 COND_BUILD_DEBUG_UNICODE_1="#"
49471 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49472 COND_BUILD_DEBUG_UNICODE_1=""
49473 fi
49474
49475 COND_BUILD_RELEASE="#"
49476 if test "x$BUILD" = "xrelease" ; then
49477 COND_BUILD_RELEASE=""
49478 fi
49479
49480 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49481 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49482 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49483 fi
49484
49485 COND_BUILD_RELEASE_UNICODE_0="#"
49486 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49487 COND_BUILD_RELEASE_UNICODE_0=""
49488 fi
49489
49490 COND_BUILD_RELEASE_UNICODE_1="#"
49491 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49492 COND_BUILD_RELEASE_UNICODE_1=""
49493 fi
49494
49495 COND_DEBUG_FLAG_1="#"
49496 if test "x$DEBUG_FLAG" = "x1" ; then
49497 COND_DEBUG_FLAG_1=""
49498 fi
49499
49500 COND_DEBUG_INFO_0="#"
49501 if test "x$DEBUG_INFO" = "x0" ; then
49502 COND_DEBUG_INFO_0=""
49503 fi
49504
49505 COND_DEBUG_INFO_1="#"
49506 if test "x$DEBUG_INFO" = "x1" ; then
49507 COND_DEBUG_INFO_1=""
49508 fi
49509
49510 COND_DEPS_TRACKING_0="#"
49511 if test "x$DEPS_TRACKING" = "x0" ; then
49512 COND_DEPS_TRACKING_0=""
49513 fi
49514
49515 COND_DEPS_TRACKING_1="#"
49516 if test "x$DEPS_TRACKING" = "x1" ; then
49517 COND_DEPS_TRACKING_1=""
49518 fi
49519
49520 COND_GCC_PCH_1="#"
49521 if test "x$GCC_PCH" = "x1" ; then
49522 COND_GCC_PCH_1=""
49523 fi
49524
49525 COND_ICC_PCH_1="#"
49526 if test "x$ICC_PCH" = "x1" ; then
49527 COND_ICC_PCH_1=""
49528 fi
49529
49530 COND_MONOLITHIC_0="#"
49531 if test "x$MONOLITHIC" = "x0" ; then
49532 COND_MONOLITHIC_0=""
49533 fi
49534
49535 COND_MONOLITHIC_0_SHARED_0="#"
49536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49537 COND_MONOLITHIC_0_SHARED_0=""
49538 fi
49539
49540 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49542 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49543 fi
49544
49545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49547 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49548 fi
49549
49550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49553 fi
49554
49555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49558 fi
49559
49560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49563 fi
49564
49565 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49568 fi
49569
49570 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49573 fi
49574
49575 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49577 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49578 fi
49579
49580 COND_MONOLITHIC_0_SHARED_1="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49582 COND_MONOLITHIC_0_SHARED_1=""
49583 fi
49584
49585 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49587 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49588 fi
49589
49590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49592 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49593 fi
49594
49595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49597 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49598 fi
49599
49600 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49602 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49603 fi
49604
49605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49607 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49608 fi
49609
49610 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49612 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49613 fi
49614
49615 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49617 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49618 fi
49619
49620 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49622 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49623 fi
49624
49625 COND_MONOLITHIC_0_USE_AUI_1="#"
49626 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49627 COND_MONOLITHIC_0_USE_AUI_1=""
49628 fi
49629
49630 COND_MONOLITHIC_0_USE_GUI_1="#"
49631 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49632 COND_MONOLITHIC_0_USE_GUI_1=""
49633 fi
49634
49635 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49636 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49637 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49638 fi
49639
49640 COND_MONOLITHIC_0_USE_HTML_1="#"
49641 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49642 COND_MONOLITHIC_0_USE_HTML_1=""
49643 fi
49644
49645 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49646 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49647 COND_MONOLITHIC_0_USE_MEDIA_1=""
49648 fi
49649
49650 COND_MONOLITHIC_0_USE_QA_1="#"
49651 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49652 COND_MONOLITHIC_0_USE_QA_1=""
49653 fi
49654
49655 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49656 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49657 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49658 fi
49659
49660 COND_MONOLITHIC_0_USE_STC_1="#"
49661 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49662 COND_MONOLITHIC_0_USE_STC_1=""
49663 fi
49664
49665 COND_MONOLITHIC_0_USE_XRC_1="#"
49666 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49667 COND_MONOLITHIC_0_USE_XRC_1=""
49668 fi
49669
49670 COND_MONOLITHIC_1="#"
49671 if test "x$MONOLITHIC" = "x1" ; then
49672 COND_MONOLITHIC_1=""
49673 fi
49674
49675 COND_MONOLITHIC_1_SHARED_0="#"
49676 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49677 COND_MONOLITHIC_1_SHARED_0=""
49678 fi
49679
49680 COND_MONOLITHIC_1_SHARED_1="#"
49681 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49682 COND_MONOLITHIC_1_SHARED_1=""
49683 fi
49684
49685 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49686 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49687 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49688 fi
49689
49690 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49691 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49692 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49693 fi
49694
49695 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49696 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49697 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49698 fi
49699
49700 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49701 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49702 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49703 fi
49704
49705 COND_PLATFORM_MACOSX_1="#"
49706 if test "x$PLATFORM_MACOSX" = "x1" ; then
49707 COND_PLATFORM_MACOSX_1=""
49708 fi
49709
49710 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49712 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49713 fi
49714
49715 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49717 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49718 fi
49719
49720 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49722 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49723 fi
49724
49725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49728 fi
49729
49730 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49732 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49733 fi
49734
49735 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49737 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49738 fi
49739
49740 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49742 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49743 fi
49744
49745 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49746 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49747 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49748 fi
49749
49750 COND_PLATFORM_MACOS_1="#"
49751 if test "x$PLATFORM_MACOS" = "x1" ; then
49752 COND_PLATFORM_MACOS_1=""
49753 fi
49754
49755 COND_PLATFORM_MAC_0="#"
49756 if test "x$PLATFORM_MAC" = "x0" ; then
49757 COND_PLATFORM_MAC_0=""
49758 fi
49759
49760 COND_PLATFORM_MAC_1="#"
49761 if test "x$PLATFORM_MAC" = "x1" ; then
49762 COND_PLATFORM_MAC_1=""
49763 fi
49764
49765 COND_PLATFORM_MSDOS_0="#"
49766 if test "x$PLATFORM_MSDOS" = "x0" ; then
49767 COND_PLATFORM_MSDOS_0=""
49768 fi
49769
49770 COND_PLATFORM_MSDOS_1="#"
49771 if test "x$PLATFORM_MSDOS" = "x1" ; then
49772 COND_PLATFORM_MSDOS_1=""
49773 fi
49774
49775 COND_PLATFORM_OS2_1="#"
49776 if test "x$PLATFORM_OS2" = "x1" ; then
49777 COND_PLATFORM_OS2_1=""
49778 fi
49779
49780 COND_PLATFORM_UNIX_0="#"
49781 if test "x$PLATFORM_UNIX" = "x0" ; then
49782 COND_PLATFORM_UNIX_0=""
49783 fi
49784
49785 COND_PLATFORM_UNIX_1="#"
49786 if test "x$PLATFORM_UNIX" = "x1" ; then
49787 COND_PLATFORM_UNIX_1=""
49788 fi
49789
49790 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49791 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49792 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49793 fi
49794
49795 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49796 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49797 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49798 fi
49799
49800 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49801 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49802 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49803 fi
49804
49805 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49806 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49807 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49808 fi
49809
49810 COND_PLATFORM_WIN32_0="#"
49811 if test "x$PLATFORM_WIN32" = "x0" ; then
49812 COND_PLATFORM_WIN32_0=""
49813 fi
49814
49815 COND_PLATFORM_WIN32_1="#"
49816 if test "x$PLATFORM_WIN32" = "x1" ; then
49817 COND_PLATFORM_WIN32_1=""
49818 fi
49819
49820 COND_SHARED_0="#"
49821 if test "x$SHARED" = "x0" ; then
49822 COND_SHARED_0=""
49823 fi
49824
49825 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49826 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49827 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49828 fi
49829
49830 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49831 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49832 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49833 fi
49834
49835 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49836 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49837 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49838 fi
49839
49840 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49842 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49843 fi
49844
49845 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49846 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49847 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49848 fi
49849
49850 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49851 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49852 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49853 fi
49854
49855 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49856 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49857 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49858 fi
49859
49860 COND_SHARED_0_USE_STC_1="#"
49861 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49862 COND_SHARED_0_USE_STC_1=""
49863 fi
49864
49865 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49866 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49867 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49868 fi
49869
49870 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49871 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49872 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49873 fi
49874
49875 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49876 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49877 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49878 fi
49879
49880 COND_SHARED_1="#"
49881 if test "x$SHARED" = "x1" ; then
49882 COND_SHARED_1=""
49883 fi
49884
49885 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49886 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49887 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49888 fi
49889
49890 COND_TOOLKIT_="#"
49891 if test "x$TOOLKIT" = "x" ; then
49892 COND_TOOLKIT_=""
49893 fi
49894
49895 COND_TOOLKIT_COCOA="#"
49896 if test "x$TOOLKIT" = "xCOCOA" ; then
49897 COND_TOOLKIT_COCOA=""
49898 fi
49899
49900 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49901 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49902 COND_TOOLKIT_COCOA_USE_GUI_1=""
49903 fi
49904
49905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49906 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49908 fi
49909
49910 COND_TOOLKIT_DFB="#"
49911 if test "x$TOOLKIT" = "xDFB" ; then
49912 COND_TOOLKIT_DFB=""
49913 fi
49914
49915 COND_TOOLKIT_DFB_USE_GUI_1="#"
49916 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49917 COND_TOOLKIT_DFB_USE_GUI_1=""
49918 fi
49919
49920 COND_TOOLKIT_GTK="#"
49921 if test "x$TOOLKIT" = "xGTK" ; then
49922 COND_TOOLKIT_GTK=""
49923 fi
49924
49925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49928 fi
49929
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49933 fi
49934
49935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49938 fi
49939
49940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49941 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49942 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49943 fi
49944
49945 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49946 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49948 fi
49949
49950 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49951 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49953 fi
49954
49955 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49956 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49957 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49958 fi
49959
49960 COND_TOOLKIT_GTK_USE_GUI_1="#"
49961 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49962 COND_TOOLKIT_GTK_USE_GUI_1=""
49963 fi
49964
49965 COND_TOOLKIT_MAC="#"
49966 if test "x$TOOLKIT" = "xMAC" ; then
49967 COND_TOOLKIT_MAC=""
49968 fi
49969
49970 COND_TOOLKIT_MGL="#"
49971 if test "x$TOOLKIT" = "xMGL" ; then
49972 COND_TOOLKIT_MGL=""
49973 fi
49974
49975 COND_TOOLKIT_MGL_USE_GUI_1="#"
49976 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49977 COND_TOOLKIT_MGL_USE_GUI_1=""
49978 fi
49979
49980 COND_TOOLKIT_MOTIF="#"
49981 if test "x$TOOLKIT" = "xMOTIF" ; then
49982 COND_TOOLKIT_MOTIF=""
49983 fi
49984
49985 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49986 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49987 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49988 fi
49989
49990 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49991 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49992 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49993 fi
49994
49995 COND_TOOLKIT_MSW="#"
49996 if test "x$TOOLKIT" = "xMSW" ; then
49997 COND_TOOLKIT_MSW=""
49998 fi
49999
50000 COND_TOOLKIT_MSW_USE_GUI_1="#"
50001 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50002 COND_TOOLKIT_MSW_USE_GUI_1=""
50003 fi
50004
50005 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50006 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50007 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50008 fi
50009
50010 COND_TOOLKIT_MSW_WXUNIV_0="#"
50011 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50012 COND_TOOLKIT_MSW_WXUNIV_0=""
50013 fi
50014
50015 COND_TOOLKIT_OSX_CARBON="#"
50016 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50017 COND_TOOLKIT_OSX_CARBON=""
50018 fi
50019
50020 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50021 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50022 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50023 fi
50024
50025 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50026 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50027 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50028 fi
50029
50030 COND_TOOLKIT_OSX_COCOA="#"
50031 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50032 COND_TOOLKIT_OSX_COCOA=""
50033 fi
50034
50035 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50036 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50037 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50038 fi
50039
50040 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50041 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50042 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50043 fi
50044
50045 COND_TOOLKIT_OSX_IPHONE="#"
50046 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50047 COND_TOOLKIT_OSX_IPHONE=""
50048 fi
50049
50050 COND_TOOLKIT_PM="#"
50051 if test "x$TOOLKIT" = "xPM" ; then
50052 COND_TOOLKIT_PM=""
50053 fi
50054
50055 COND_TOOLKIT_PM_USE_GUI_1="#"
50056 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50057 COND_TOOLKIT_PM_USE_GUI_1=""
50058 fi
50059
50060 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50061 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50062 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50063 fi
50064
50065 COND_TOOLKIT_WINCE="#"
50066 if test "x$TOOLKIT" = "xWINCE" ; then
50067 COND_TOOLKIT_WINCE=""
50068 fi
50069
50070 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50071 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50072 COND_TOOLKIT_WINCE_USE_GUI_1=""
50073 fi
50074
50075 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50076 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50078 fi
50079
50080 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50081 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50082 COND_TOOLKIT_WINCE_WXUNIV_0=""
50083 fi
50084
50085 COND_TOOLKIT_X11="#"
50086 if test "x$TOOLKIT" = "xX11" ; then
50087 COND_TOOLKIT_X11=""
50088 fi
50089
50090 COND_TOOLKIT_X11_USE_GUI_1="#"
50091 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50092 COND_TOOLKIT_X11_USE_GUI_1=""
50093 fi
50094
50095 COND_UNICODE_1="#"
50096 if test "x$UNICODE" = "x1" ; then
50097 COND_UNICODE_1=""
50098 fi
50099
50100 COND_USE_EXCEPTIONS_0="#"
50101 if test "x$USE_EXCEPTIONS" = "x0" ; then
50102 COND_USE_EXCEPTIONS_0=""
50103 fi
50104
50105 COND_USE_EXCEPTIONS_1="#"
50106 if test "x$USE_EXCEPTIONS" = "x1" ; then
50107 COND_USE_EXCEPTIONS_1=""
50108 fi
50109
50110 COND_USE_GUI_0="#"
50111 if test "x$USE_GUI" = "x0" ; then
50112 COND_USE_GUI_0=""
50113 fi
50114
50115 COND_USE_GUI_1="#"
50116 if test "x$USE_GUI" = "x1" ; then
50117 COND_USE_GUI_1=""
50118 fi
50119
50120 COND_USE_GUI_1_USE_OPENGL_1="#"
50121 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50122 COND_USE_GUI_1_USE_OPENGL_1=""
50123 fi
50124
50125 COND_USE_GUI_1_WXUNIV_0="#"
50126 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50127 COND_USE_GUI_1_WXUNIV_0=""
50128 fi
50129
50130 COND_USE_GUI_1_WXUNIV_1="#"
50131 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50132 COND_USE_GUI_1_WXUNIV_1=""
50133 fi
50134
50135 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50136 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50137 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50138 fi
50139
50140 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50141 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50142 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50143 fi
50144
50145 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50146 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50147 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50148 fi
50149
50150 COND_USE_OPENGL_1="#"
50151 if test "x$USE_OPENGL" = "x1" ; then
50152 COND_USE_OPENGL_1=""
50153 fi
50154
50155 COND_USE_PCH_1="#"
50156 if test "x$USE_PCH" = "x1" ; then
50157 COND_USE_PCH_1=""
50158 fi
50159
50160 COND_USE_PLUGINS_0="#"
50161 if test "x$USE_PLUGINS" = "x0" ; then
50162 COND_USE_PLUGINS_0=""
50163 fi
50164
50165 COND_USE_RTTI_0="#"
50166 if test "x$USE_RTTI" = "x0" ; then
50167 COND_USE_RTTI_0=""
50168 fi
50169
50170 COND_USE_RTTI_1="#"
50171 if test "x$USE_RTTI" = "x1" ; then
50172 COND_USE_RTTI_1=""
50173 fi
50174
50175 COND_USE_SOSYMLINKS_1="#"
50176 if test "x$USE_SOSYMLINKS" = "x1" ; then
50177 COND_USE_SOSYMLINKS_1=""
50178 fi
50179
50180 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50181 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50182 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50183 fi
50184
50185 COND_USE_SOVERLINUX_1="#"
50186 if test "x$USE_SOVERLINUX" = "x1" ; then
50187 COND_USE_SOVERLINUX_1=""
50188 fi
50189
50190 COND_USE_SOVERSION_0="#"
50191 if test "x$USE_SOVERSION" = "x0" ; then
50192 COND_USE_SOVERSION_0=""
50193 fi
50194
50195 COND_USE_SOVERSOLARIS_1="#"
50196 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50197 COND_USE_SOVERSOLARIS_1=""
50198 fi
50199
50200 COND_USE_STC_1="#"
50201 if test "x$USE_STC" = "x1" ; then
50202 COND_USE_STC_1=""
50203 fi
50204
50205 COND_USE_THREADS_0="#"
50206 if test "x$USE_THREADS" = "x0" ; then
50207 COND_USE_THREADS_0=""
50208 fi
50209
50210 COND_USE_THREADS_1="#"
50211 if test "x$USE_THREADS" = "x1" ; then
50212 COND_USE_THREADS_1=""
50213 fi
50214
50215 COND_USE_XRC_1="#"
50216 if test "x$USE_XRC" = "x1" ; then
50217 COND_USE_XRC_1=""
50218 fi
50219
50220 COND_WINDOWS_IMPLIB_1="#"
50221 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50222 COND_WINDOWS_IMPLIB_1=""
50223 fi
50224
50225 COND_WITH_PLUGIN_SDL_1="#"
50226 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50227 COND_WITH_PLUGIN_SDL_1=""
50228 fi
50229
50230 COND_WXUNIV_0="#"
50231 if test "x$WXUNIV" = "x0" ; then
50232 COND_WXUNIV_0=""
50233 fi
50234
50235 COND_WXUNIV_1="#"
50236 if test "x$WXUNIV" = "x1" ; then
50237 COND_WXUNIV_1=""
50238 fi
50239
50240 COND_WXUSE_EXPAT_BUILTIN="#"
50241 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50242 COND_WXUSE_EXPAT_BUILTIN=""
50243 fi
50244
50245 COND_WXUSE_LIBJPEG_BUILTIN="#"
50246 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50247 COND_WXUSE_LIBJPEG_BUILTIN=""
50248 fi
50249
50250 COND_WXUSE_LIBPNG_BUILTIN="#"
50251 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50252 COND_WXUSE_LIBPNG_BUILTIN=""
50253 fi
50254
50255 COND_WXUSE_LIBTIFF_BUILTIN="#"
50256 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50257 COND_WXUSE_LIBTIFF_BUILTIN=""
50258 fi
50259
50260 COND_WXUSE_REGEX_BUILTIN="#"
50261 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50262 COND_WXUSE_REGEX_BUILTIN=""
50263 fi
50264
50265 COND_WXUSE_ZLIB_BUILTIN="#"
50266 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50267 COND_WXUSE_ZLIB_BUILTIN=""
50268 fi
50269
50270
50271
50272 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50273 { { 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
50274 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;}
50275 { (exit 1); exit 1; }; }
50276 fi
50277
50278 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50279 { { 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
50280 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;}
50281 { (exit 1); exit 1; }; }
50282 fi
50283
50284
50285 case ${INSTALL} in
50286 /* ) # Absolute
50287 ;;
50288 ?:* ) # Drive letter, considered as absolute.
50289 ;;
50290 *)
50291 INSTALL=`pwd`/${INSTALL} ;;
50292 esac
50293
50294 if test "$wxUSE_GUI" = "yes"; then
50295
50296 if test "$wxUSE_MSW" = 1 ; then
50297 if test "x$WINDRES" = "x"; then
50298 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50299 echo "$as_me: error: Required windres program not found" >&2;}
50300 { (exit 1); exit 1; }; }
50301 fi
50302
50303 RESCOMP="$WINDRES"
50304 fi
50305
50306 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50307 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50308 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50309
50310 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50311
50312 # Extract the first word of "DeRez", so it can be a program name with args.
50313 set dummy DeRez; ac_word=$2
50314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50316 if test "${ac_cv_prog_DEREZ+set}" = set; then
50317 echo $ECHO_N "(cached) $ECHO_C" >&6
50318 else
50319 if test -n "$DEREZ"; then
50320 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50321 else
50322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50323 for as_dir in $PATH
50324 do
50325 IFS=$as_save_IFS
50326 test -z "$as_dir" && as_dir=.
50327 for ac_exec_ext in '' $ac_executable_extensions; do
50328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50329 ac_cv_prog_DEREZ="DeRez"
50330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50331 break 2
50332 fi
50333 done
50334 done
50335 IFS=$as_save_IFS
50336
50337 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50338 fi
50339 fi
50340 DEREZ=$ac_cv_prog_DEREZ
50341 if test -n "$DEREZ"; then
50342 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50343 echo "${ECHO_T}$DEREZ" >&6; }
50344 else
50345 { echo "$as_me:$LINENO: result: no" >&5
50346 echo "${ECHO_T}no" >&6; }
50347 fi
50348
50349
50350
50351 MACSETFILE="\$(SETFILE)"
50352
50353 if test "$wxUSE_OSX_CARBON" = 1; then
50354 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50355 RESCOMP="$REZ"
50356 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50357 else
50358 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50359 RESCOMP="cat /dev/null \| $REZ"
50360 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50361 fi
50362
50363 else
50364 MACSETFILE="@true"
50365
50366 if test "$wxUSE_PM" = 1; then
50367 RESCOMP="emxbind"
50368 WXCONFIG_RESFLAGS="-ep"
50369
50370 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50371 else
50372 POSTLINK_COMMAND="@true"
50373 fi
50374 fi
50375
50376 fi
50377
50378
50379 if test $GCC_PCH = 1
50380 then
50381 if test "$wx_cv_gcc_pch_bug" = yes; then
50382 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50383 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50384 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50385 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50386 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50387 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50388 fi
50389
50390 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50391 # the headers that benefit from precompilation are mostly C++ headers.
50392 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50393 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50394 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50395 fi
50396
50397
50398 if test "$wxUSE_MAC" = 1 ; then
50399 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50400 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50401 mv temp bk-deps
50402 chmod +x bk-deps
50403 fi
50404 fi
50405
50406 if test "$wxUSE_SHARED" = "yes"; then
50407 case "${host}" in
50408 *-pc-os2_emx | *-pc-os2-emx )
50409 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50410 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50411 cp -p ${srcdir}/src/os2/dllnames.sh .
50412 cp -p ${srcdir}/src/os2/dllar.sh .
50413 ;;
50414 esac
50415 fi
50416 if test "$wxUSE_OMF" = "yes"; then
50417 case "${host}" in
50418 *-pc-os2_emx | *-pc-os2-emx )
50419 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50420 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50421 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50422 ;;
50423 esac
50424 fi
50425
50426 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50427
50428
50429 case "${host}" in
50430 *-*-solaris2* )
50431 if test "$GCC" = yes; then
50432 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50433 LIBS=`echo $LIBS | sed 's/-mt//'`
50434 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50435 fi
50436 ;;
50437
50438 *-*-linux* )
50439 if test "x$SUNCXX" = xyes; then
50440 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50441 LIBS=`echo $LIBS | sed 's/-pthread//'`
50442 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50443 fi
50444 ;;
50445 esac
50446
50447 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50448 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50449
50450 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50512 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50513 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50514 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50515 echo $ECHO_N "(cached) $ECHO_C" >&6
50516 else
50517 cat >conftest.make <<\_ACEOF
50518 SHELL = /bin/sh
50519 all:
50520 @echo '@@@%%%=$(MAKE)=@@@%%%'
50521 _ACEOF
50522 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50524 *@@@%%%=?*=@@@%%%*)
50525 eval ac_cv_prog_make_${ac_make}_set=yes;;
50526 *)
50527 eval ac_cv_prog_make_${ac_make}_set=no;;
50528 esac
50529 rm -f conftest.make
50530 fi
50531 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50532 { echo "$as_me:$LINENO: result: yes" >&5
50533 echo "${ECHO_T}yes" >&6; }
50534 SET_MAKE=
50535 else
50536 { echo "$as_me:$LINENO: result: no" >&5
50537 echo "${ECHO_T}no" >&6; }
50538 SET_MAKE="MAKE=${MAKE-make}"
50539 fi
50540
50541
50542
50543 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50544
50545
50546 if test "$USE_WIN32" = 1; then
50547 ac_config_commands="$ac_config_commands
50548 rcdefs.h
50549 "
50550
50551 fi
50552
50553 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50554
50555
50556 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50557
50558
50559 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50560
50561
50562 if test "$wx_cv_version_script" = "yes"; then
50563 ac_config_files="$ac_config_files version-script"
50564
50565 fi
50566 ac_config_files="$ac_config_files Makefile"
50567
50568
50569 ac_config_commands="$ac_config_commands wx-config"
50570
50571
50572
50573 if test "$wxWITH_SUBDIRS" != "no"; then
50574 if test "$wxUSE_GUI" = "yes"; then
50575 SUBDIRS="samples demos utils"
50576 else
50577 SUBDIRS="samples utils"
50578 fi
50579
50580
50581
50582 # Check whether --with-cppunit-prefix was given.
50583 if test "${with_cppunit_prefix+set}" = set; then
50584 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50585 else
50586 cppunit_config_prefix=""
50587 fi
50588
50589
50590 # Check whether --with-cppunit-exec-prefix was given.
50591 if test "${with_cppunit_exec_prefix+set}" = set; then
50592 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50593 else
50594 cppunit_config_exec_prefix=""
50595 fi
50596
50597
50598 if test x$cppunit_config_exec_prefix != x ; then
50599 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50600 if test x${CPPUNIT_CONFIG+set} != xset ; then
50601 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50602 fi
50603 fi
50604 if test x$cppunit_config_prefix != x ; then
50605 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50606 if test x${CPPUNIT_CONFIG+set} != xset ; then
50607 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50608 fi
50609 fi
50610
50611 # Extract the first word of "cppunit-config", so it can be a program name with args.
50612 set dummy cppunit-config; ac_word=$2
50613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50615 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50616 echo $ECHO_N "(cached) $ECHO_C" >&6
50617 else
50618 case $CPPUNIT_CONFIG in
50619 [\\/]* | ?:[\\/]*)
50620 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50621 ;;
50622 *)
50623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50624 for as_dir in $PATH
50625 do
50626 IFS=$as_save_IFS
50627 test -z "$as_dir" && as_dir=.
50628 for ac_exec_ext in '' $ac_executable_extensions; do
50629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50630 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50632 break 2
50633 fi
50634 done
50635 done
50636 IFS=$as_save_IFS
50637
50638 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50639 ;;
50640 esac
50641 fi
50642 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50643 if test -n "$CPPUNIT_CONFIG"; then
50644 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50645 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50646 else
50647 { echo "$as_me:$LINENO: result: no" >&5
50648 echo "${ECHO_T}no" >&6; }
50649 fi
50650
50651
50652 cppunit_version_min=1.8.0
50653
50654 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50655 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50656 no_cppunit=""
50657 if test "$CPPUNIT_CONFIG" = "no" ; then
50658 { echo "$as_me:$LINENO: result: no" >&5
50659 echo "${ECHO_T}no" >&6; }
50660 no_cppunit=yes
50661 else
50662 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50663 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50664 cppunit_version=`$CPPUNIT_CONFIG --version`
50665
50666 cppunit_major_version=`echo $cppunit_version | \
50667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50668 cppunit_minor_version=`echo $cppunit_version | \
50669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50670 cppunit_micro_version=`echo $cppunit_version | \
50671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50672
50673 cppunit_major_min=`echo $cppunit_version_min | \
50674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50675 cppunit_minor_min=`echo $cppunit_version_min | \
50676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50677 cppunit_micro_min=`echo $cppunit_version_min | \
50678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50679
50680 cppunit_version_proper=`expr \
50681 $cppunit_major_version \> $cppunit_major_min \| \
50682 $cppunit_major_version \= $cppunit_major_min \& \
50683 $cppunit_minor_version \> $cppunit_minor_min \| \
50684 $cppunit_major_version \= $cppunit_major_min \& \
50685 $cppunit_minor_version \= $cppunit_minor_min \& \
50686 $cppunit_micro_version \>= $cppunit_micro_min `
50687
50688 if test "$cppunit_version_proper" = "1" ; then
50689 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50690 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50691 else
50692 { echo "$as_me:$LINENO: result: no" >&5
50693 echo "${ECHO_T}no" >&6; }
50694 no_cppunit=yes
50695 fi
50696 fi
50697
50698 if test "x$no_cppunit" = x ; then
50699 SUBDIRS="$SUBDIRS tests"
50700 else
50701 CPPUNIT_CFLAGS=""
50702 CPPUNIT_LIBS=""
50703 :
50704 fi
50705
50706
50707
50708
50709
50710 for subdir in $SUBDIRS; do
50711 if test -d ${srcdir}/${subdir} ; then
50712 if test "$wxUSE_GUI" = "yes"; then
50713 if test ${subdir} = "samples"; then
50714 makefiles="samples/Makefile.in $makefiles"
50715 for sample in $SAMPLES_SUBDIRS; do
50716 if test -d $srcdir/samples/$sample; then
50717 makefiles="samples/$sample/Makefile.in $makefiles"
50718 fi
50719 done
50720 else
50721 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50722 eval "disabled=\$$disabled_var"
50723 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50724 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50725 fi
50726 else
50727 if test ${subdir} = "samples"; then
50728 makefiles="samples/Makefile.in $makefiles"
50729 for sample in `echo $SAMPLES_SUBDIRS`; do
50730 if test -d $srcdir/samples/$sample; then
50731 makefiles="samples/$sample/Makefile.in $makefiles"
50732 fi
50733 done
50734 elif test ${subdir} = "utils"; then
50735 makefiles=""
50736 for util in ifacecheck ; do
50737 if test -d $srcdir/utils/$util ; then
50738 makefiles="utils/$util/src/Makefile.in \
50739 $makefiles"
50740 fi
50741 done
50742 else
50743 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50744 fi
50745 fi
50746
50747 for mkin in $makefiles ; do
50748 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50749 ac_config_files="$ac_config_files $mk"
50750
50751 done
50752 fi
50753 done
50754 fi
50755 cat >confcache <<\_ACEOF
50756 # This file is a shell script that caches the results of configure
50757 # tests run on this system so they can be shared between configure
50758 # scripts and configure runs, see configure's option --config-cache.
50759 # It is not useful on other systems. If it contains results you don't
50760 # want to keep, you may remove or edit it.
50761 #
50762 # config.status only pays attention to the cache file if you give it
50763 # the --recheck option to rerun configure.
50764 #
50765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50767 # following values.
50768
50769 _ACEOF
50770
50771 # The following way of writing the cache mishandles newlines in values,
50772 # but we know of no workaround that is simple, portable, and efficient.
50773 # So, we kill variables containing newlines.
50774 # Ultrix sh set writes to stderr and can't be redirected directly,
50775 # and sets the high bit in the cache file unless we assign to the vars.
50776 (
50777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50778 eval ac_val=\$$ac_var
50779 case $ac_val in #(
50780 *${as_nl}*)
50781 case $ac_var in #(
50782 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50783 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50784 esac
50785 case $ac_var in #(
50786 _ | IFS | as_nl) ;; #(
50787 *) $as_unset $ac_var ;;
50788 esac ;;
50789 esac
50790 done
50791
50792 (set) 2>&1 |
50793 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50794 *${as_nl}ac_space=\ *)
50795 # `set' does not quote correctly, so add quotes (double-quote
50796 # substitution turns \\\\ into \\, and sed turns \\ into \).
50797 sed -n \
50798 "s/'/'\\\\''/g;
50799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50800 ;; #(
50801 *)
50802 # `set' quotes correctly as required by POSIX, so do not add quotes.
50803 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50804 ;;
50805 esac |
50806 sort
50807 ) |
50808 sed '
50809 /^ac_cv_env_/b end
50810 t clear
50811 :clear
50812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50813 t end
50814 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50815 :end' >>confcache
50816 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50817 if test -w "$cache_file"; then
50818 test "x$cache_file" != "x/dev/null" &&
50819 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50820 echo "$as_me: updating cache $cache_file" >&6;}
50821 cat confcache >$cache_file
50822 else
50823 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50824 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50825 fi
50826 fi
50827 rm -f confcache
50828
50829 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50830 # Let make expand exec_prefix.
50831 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50832
50833 DEFS=-DHAVE_CONFIG_H
50834
50835 ac_libobjs=
50836 ac_ltlibobjs=
50837 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50838 # 1. Remove the extension, and $U if already installed.
50839 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50840 ac_i=`echo "$ac_i" | sed "$ac_script"`
50841 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50842 # will be set to the directory where LIBOBJS objects are built.
50843 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50844 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50845 done
50846 LIBOBJS=$ac_libobjs
50847
50848 LTLIBOBJS=$ac_ltlibobjs
50849
50850
50851
50852 : ${CONFIG_STATUS=./config.status}
50853 ac_clean_files_save=$ac_clean_files
50854 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50855 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50856 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50857 cat >$CONFIG_STATUS <<_ACEOF
50858 #! $SHELL
50859 # Generated by $as_me.
50860 # Run this file to recreate the current configuration.
50861 # Compiler output produced by configure, useful for debugging
50862 # configure, is in config.log if it exists.
50863
50864 debug=false
50865 ac_cs_recheck=false
50866 ac_cs_silent=false
50867 SHELL=\${CONFIG_SHELL-$SHELL}
50868 _ACEOF
50869
50870 cat >>$CONFIG_STATUS <<\_ACEOF
50871 ## --------------------- ##
50872 ## M4sh Initialization. ##
50873 ## --------------------- ##
50874
50875 # Be more Bourne compatible
50876 DUALCASE=1; export DUALCASE # for MKS sh
50877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50878 emulate sh
50879 NULLCMD=:
50880 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50881 # is contrary to our usage. Disable this feature.
50882 alias -g '${1+"$@"}'='"$@"'
50883 setopt NO_GLOB_SUBST
50884 else
50885 case `(set -o) 2>/dev/null` in
50886 *posix*) set -o posix ;;
50887 esac
50888
50889 fi
50890
50891
50892
50893
50894 # PATH needs CR
50895 # Avoid depending upon Character Ranges.
50896 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50897 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50898 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50899 as_cr_digits='0123456789'
50900 as_cr_alnum=$as_cr_Letters$as_cr_digits
50901
50902 # The user is always right.
50903 if test "${PATH_SEPARATOR+set}" != set; then
50904 echo "#! /bin/sh" >conf$$.sh
50905 echo "exit 0" >>conf$$.sh
50906 chmod +x conf$$.sh
50907 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50908 PATH_SEPARATOR=';'
50909 else
50910 PATH_SEPARATOR=:
50911 fi
50912 rm -f conf$$.sh
50913 fi
50914
50915 # Support unset when possible.
50916 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50917 as_unset=unset
50918 else
50919 as_unset=false
50920 fi
50921
50922
50923 # IFS
50924 # We need space, tab and new line, in precisely that order. Quoting is
50925 # there to prevent editors from complaining about space-tab.
50926 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50927 # splitting by setting IFS to empty value.)
50928 as_nl='
50929 '
50930 IFS=" "" $as_nl"
50931
50932 # Find who we are. Look in the path if we contain no directory separator.
50933 case $0 in
50934 *[\\/]* ) as_myself=$0 ;;
50935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50936 for as_dir in $PATH
50937 do
50938 IFS=$as_save_IFS
50939 test -z "$as_dir" && as_dir=.
50940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50941 done
50942 IFS=$as_save_IFS
50943
50944 ;;
50945 esac
50946 # We did not find ourselves, most probably we were run as `sh COMMAND'
50947 # in which case we are not to be found in the path.
50948 if test "x$as_myself" = x; then
50949 as_myself=$0
50950 fi
50951 if test ! -f "$as_myself"; then
50952 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50953 { (exit 1); exit 1; }
50954 fi
50955
50956 # Work around bugs in pre-3.0 UWIN ksh.
50957 for as_var in ENV MAIL MAILPATH
50958 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50959 done
50960 PS1='$ '
50961 PS2='> '
50962 PS4='+ '
50963
50964 # NLS nuisances.
50965 for as_var in \
50966 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50967 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50968 LC_TELEPHONE LC_TIME
50969 do
50970 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50971 eval $as_var=C; export $as_var
50972 else
50973 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50974 fi
50975 done
50976
50977 # Required to use basename.
50978 if expr a : '\(a\)' >/dev/null 2>&1 &&
50979 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50980 as_expr=expr
50981 else
50982 as_expr=false
50983 fi
50984
50985 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50986 as_basename=basename
50987 else
50988 as_basename=false
50989 fi
50990
50991
50992 # Name of the executable.
50993 as_me=`$as_basename -- "$0" ||
50994 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50995 X"$0" : 'X\(//\)$' \| \
50996 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50997 echo X/"$0" |
50998 sed '/^.*\/\([^/][^/]*\)\/*$/{
50999 s//\1/
51000 q
51001 }
51002 /^X\/\(\/\/\)$/{
51003 s//\1/
51004 q
51005 }
51006 /^X\/\(\/\).*/{
51007 s//\1/
51008 q
51009 }
51010 s/.*/./; q'`
51011
51012 # CDPATH.
51013 $as_unset CDPATH
51014
51015
51016
51017 as_lineno_1=$LINENO
51018 as_lineno_2=$LINENO
51019 test "x$as_lineno_1" != "x$as_lineno_2" &&
51020 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51021
51022 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51023 # uniformly replaced by the line number. The first 'sed' inserts a
51024 # line-number line after each line using $LINENO; the second 'sed'
51025 # does the real work. The second script uses 'N' to pair each
51026 # line-number line with the line containing $LINENO, and appends
51027 # trailing '-' during substitution so that $LINENO is not a special
51028 # case at line end.
51029 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51030 # scripts with optimization help from Paolo Bonzini. Blame Lee
51031 # E. McMahon (1931-1989) for sed's syntax. :-)
51032 sed -n '
51033 p
51034 /[$]LINENO/=
51035 ' <$as_myself |
51036 sed '
51037 s/[$]LINENO.*/&-/
51038 t lineno
51039 b
51040 :lineno
51041 N
51042 :loop
51043 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51044 t loop
51045 s/-\n.*//
51046 ' >$as_me.lineno &&
51047 chmod +x "$as_me.lineno" ||
51048 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51049 { (exit 1); exit 1; }; }
51050
51051 # Don't try to exec as it changes $[0], causing all sort of problems
51052 # (the dirname of $[0] is not the place where we might find the
51053 # original and so on. Autoconf is especially sensitive to this).
51054 . "./$as_me.lineno"
51055 # Exit status is that of the last command.
51056 exit
51057 }
51058
51059
51060 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51061 as_dirname=dirname
51062 else
51063 as_dirname=false
51064 fi
51065
51066 ECHO_C= ECHO_N= ECHO_T=
51067 case `echo -n x` in
51068 -n*)
51069 case `echo 'x\c'` in
51070 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51071 *) ECHO_C='\c';;
51072 esac;;
51073 *)
51074 ECHO_N='-n';;
51075 esac
51076
51077 if expr a : '\(a\)' >/dev/null 2>&1 &&
51078 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51079 as_expr=expr
51080 else
51081 as_expr=false
51082 fi
51083
51084 rm -f conf$$ conf$$.exe conf$$.file
51085 if test -d conf$$.dir; then
51086 rm -f conf$$.dir/conf$$.file
51087 else
51088 rm -f conf$$.dir
51089 mkdir conf$$.dir
51090 fi
51091 echo >conf$$.file
51092 if ln -s conf$$.file conf$$ 2>/dev/null; then
51093 as_ln_s='ln -s'
51094 # ... but there are two gotchas:
51095 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51096 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51097 # In both cases, we have to default to `cp -p'.
51098 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51099 as_ln_s='cp -p'
51100 elif ln conf$$.file conf$$ 2>/dev/null; then
51101 as_ln_s=ln
51102 else
51103 as_ln_s='cp -p'
51104 fi
51105 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51106 rmdir conf$$.dir 2>/dev/null
51107
51108 if mkdir -p . 2>/dev/null; then
51109 as_mkdir_p=:
51110 else
51111 test -d ./-p && rmdir ./-p
51112 as_mkdir_p=false
51113 fi
51114
51115 if test -x / >/dev/null 2>&1; then
51116 as_test_x='test -x'
51117 else
51118 if ls -dL / >/dev/null 2>&1; then
51119 as_ls_L_option=L
51120 else
51121 as_ls_L_option=
51122 fi
51123 as_test_x='
51124 eval sh -c '\''
51125 if test -d "$1"; then
51126 test -d "$1/.";
51127 else
51128 case $1 in
51129 -*)set "./$1";;
51130 esac;
51131 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51132 ???[sx]*):;;*)false;;esac;fi
51133 '\'' sh
51134 '
51135 fi
51136 as_executable_p=$as_test_x
51137
51138 # Sed expression to map a string onto a valid CPP name.
51139 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51140
51141 # Sed expression to map a string onto a valid variable name.
51142 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51143
51144
51145 exec 6>&1
51146
51147 # Save the log message, to keep $[0] and so on meaningful, and to
51148 # report actual input values of CONFIG_FILES etc. instead of their
51149 # values after options handling.
51150 ac_log="
51151 This file was extended by wxWidgets $as_me 2.9.0, which was
51152 generated by GNU Autoconf 2.61. Invocation command line was
51153
51154 CONFIG_FILES = $CONFIG_FILES
51155 CONFIG_HEADERS = $CONFIG_HEADERS
51156 CONFIG_LINKS = $CONFIG_LINKS
51157 CONFIG_COMMANDS = $CONFIG_COMMANDS
51158 $ $0 $@
51159
51160 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51161 "
51162
51163 _ACEOF
51164
51165 cat >>$CONFIG_STATUS <<_ACEOF
51166 # Files that config.status was made for.
51167 config_files="$ac_config_files"
51168 config_headers="$ac_config_headers"
51169 config_commands="$ac_config_commands"
51170
51171 _ACEOF
51172
51173 cat >>$CONFIG_STATUS <<\_ACEOF
51174 ac_cs_usage="\
51175 \`$as_me' instantiates files from templates according to the
51176 current configuration.
51177
51178 Usage: $0 [OPTIONS] [FILE]...
51179
51180 -h, --help print this help, then exit
51181 -V, --version print version number and configuration settings, then exit
51182 -q, --quiet do not print progress messages
51183 -d, --debug don't remove temporary files
51184 --recheck update $as_me by reconfiguring in the same conditions
51185 --file=FILE[:TEMPLATE]
51186 instantiate the configuration file FILE
51187 --header=FILE[:TEMPLATE]
51188 instantiate the configuration header FILE
51189
51190 Configuration files:
51191 $config_files
51192
51193 Configuration headers:
51194 $config_headers
51195
51196 Configuration commands:
51197 $config_commands
51198
51199 Report bugs to <bug-autoconf@gnu.org>."
51200
51201 _ACEOF
51202 cat >>$CONFIG_STATUS <<_ACEOF
51203 ac_cs_version="\\
51204 wxWidgets config.status 2.9.0
51205 configured by $0, generated by GNU Autoconf 2.61,
51206 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51207
51208 Copyright (C) 2006 Free Software Foundation, Inc.
51209 This config.status script is free software; the Free Software Foundation
51210 gives unlimited permission to copy, distribute and modify it."
51211
51212 ac_pwd='$ac_pwd'
51213 srcdir='$srcdir'
51214 INSTALL='$INSTALL'
51215 _ACEOF
51216
51217 cat >>$CONFIG_STATUS <<\_ACEOF
51218 # If no file are specified by the user, then we need to provide default
51219 # value. By we need to know if files were specified by the user.
51220 ac_need_defaults=:
51221 while test $# != 0
51222 do
51223 case $1 in
51224 --*=*)
51225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51227 ac_shift=:
51228 ;;
51229 *)
51230 ac_option=$1
51231 ac_optarg=$2
51232 ac_shift=shift
51233 ;;
51234 esac
51235
51236 case $ac_option in
51237 # Handling of the options.
51238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51239 ac_cs_recheck=: ;;
51240 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51241 echo "$ac_cs_version"; exit ;;
51242 --debug | --debu | --deb | --de | --d | -d )
51243 debug=: ;;
51244 --file | --fil | --fi | --f )
51245 $ac_shift
51246 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51247 ac_need_defaults=false;;
51248 --header | --heade | --head | --hea )
51249 $ac_shift
51250 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51251 ac_need_defaults=false;;
51252 --he | --h)
51253 # Conflict between --help and --header
51254 { echo "$as_me: error: ambiguous option: $1
51255 Try \`$0 --help' for more information." >&2
51256 { (exit 1); exit 1; }; };;
51257 --help | --hel | -h )
51258 echo "$ac_cs_usage"; exit ;;
51259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51260 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51261 ac_cs_silent=: ;;
51262
51263 # This is an error.
51264 -*) { echo "$as_me: error: unrecognized option: $1
51265 Try \`$0 --help' for more information." >&2
51266 { (exit 1); exit 1; }; } ;;
51267
51268 *) ac_config_targets="$ac_config_targets $1"
51269 ac_need_defaults=false ;;
51270
51271 esac
51272 shift
51273 done
51274
51275 ac_configure_extra_args=
51276
51277 if $ac_cs_silent; then
51278 exec 6>/dev/null
51279 ac_configure_extra_args="$ac_configure_extra_args --silent"
51280 fi
51281
51282 _ACEOF
51283 cat >>$CONFIG_STATUS <<_ACEOF
51284 if \$ac_cs_recheck; then
51285 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51286 CONFIG_SHELL=$SHELL
51287 export CONFIG_SHELL
51288 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51289 fi
51290
51291 _ACEOF
51292 cat >>$CONFIG_STATUS <<\_ACEOF
51293 exec 5>>config.log
51294 {
51295 echo
51296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51297 ## Running $as_me. ##
51298 _ASBOX
51299 echo "$ac_log"
51300 } >&5
51301
51302 _ACEOF
51303 cat >>$CONFIG_STATUS <<_ACEOF
51304 #
51305 # INIT-COMMANDS
51306 #
51307
51308 CPP="$CPP"
51309 infile="$srcdir/include/wx/msw/genrcdefs.h"
51310 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51311
51312
51313 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51314 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51315 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51316 LN_S="${LN_S}"
51317
51318
51319 _ACEOF
51320
51321 cat >>$CONFIG_STATUS <<\_ACEOF
51322
51323 # Handling of arguments.
51324 for ac_config_target in $ac_config_targets
51325 do
51326 case $ac_config_target in
51327 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51328 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51329 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51330 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51331 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51332 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51333 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51334 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51335 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51336
51337 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51338 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51339 { (exit 1); exit 1; }; };;
51340 esac
51341 done
51342
51343
51344 # If the user did not use the arguments to specify the items to instantiate,
51345 # then the envvar interface is used. Set only those that are not.
51346 # We use the long form for the default assignment because of an extremely
51347 # bizarre bug on SunOS 4.1.3.
51348 if $ac_need_defaults; then
51349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51352 fi
51353
51354 # Have a temporary directory for convenience. Make it in the build tree
51355 # simply because there is no reason against having it here, and in addition,
51356 # creating and moving files from /tmp can sometimes cause problems.
51357 # Hook for its removal unless debugging.
51358 # Note that there is a small window in which the directory will not be cleaned:
51359 # after its creation but before its name has been assigned to `$tmp'.
51360 $debug ||
51361 {
51362 tmp=
51363 trap 'exit_status=$?
51364 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51365 ' 0
51366 trap '{ (exit 1); exit 1; }' 1 2 13 15
51367 }
51368 # Create a (secure) tmp directory for tmp files.
51369
51370 {
51371 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51372 test -n "$tmp" && test -d "$tmp"
51373 } ||
51374 {
51375 tmp=./conf$$-$RANDOM
51376 (umask 077 && mkdir "$tmp")
51377 } ||
51378 {
51379 echo "$me: cannot create a temporary directory in ." >&2
51380 { (exit 1); exit 1; }
51381 }
51382
51383 #
51384 # Set up the sed scripts for CONFIG_FILES section.
51385 #
51386
51387 # No need to generate the scripts if there are no CONFIG_FILES.
51388 # This happens for instance when ./config.status config.h
51389 if test -n "$CONFIG_FILES"; then
51390
51391 _ACEOF
51392
51393
51394
51395 ac_delim='%!_!# '
51396 for ac_last_try in false false false false false :; do
51397 cat >conf$$subs.sed <<_ACEOF
51398 SHELL!$SHELL$ac_delim
51399 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51400 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51401 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51402 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51403 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51404 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51405 exec_prefix!$exec_prefix$ac_delim
51406 prefix!$prefix$ac_delim
51407 program_transform_name!$program_transform_name$ac_delim
51408 bindir!$bindir$ac_delim
51409 sbindir!$sbindir$ac_delim
51410 libexecdir!$libexecdir$ac_delim
51411 datarootdir!$datarootdir$ac_delim
51412 datadir!$datadir$ac_delim
51413 sysconfdir!$sysconfdir$ac_delim
51414 sharedstatedir!$sharedstatedir$ac_delim
51415 localstatedir!$localstatedir$ac_delim
51416 includedir!$includedir$ac_delim
51417 oldincludedir!$oldincludedir$ac_delim
51418 docdir!$docdir$ac_delim
51419 infodir!$infodir$ac_delim
51420 htmldir!$htmldir$ac_delim
51421 dvidir!$dvidir$ac_delim
51422 pdfdir!$pdfdir$ac_delim
51423 psdir!$psdir$ac_delim
51424 libdir!$libdir$ac_delim
51425 localedir!$localedir$ac_delim
51426 mandir!$mandir$ac_delim
51427 DEFS!$DEFS$ac_delim
51428 ECHO_C!$ECHO_C$ac_delim
51429 ECHO_N!$ECHO_N$ac_delim
51430 ECHO_T!$ECHO_T$ac_delim
51431 LIBS!$LIBS$ac_delim
51432 build_alias!$build_alias$ac_delim
51433 host_alias!$host_alias$ac_delim
51434 target_alias!$target_alias$ac_delim
51435 build!$build$ac_delim
51436 build_cpu!$build_cpu$ac_delim
51437 build_vendor!$build_vendor$ac_delim
51438 build_os!$build_os$ac_delim
51439 host!$host$ac_delim
51440 host_cpu!$host_cpu$ac_delim
51441 host_vendor!$host_vendor$ac_delim
51442 host_os!$host_os$ac_delim
51443 target!$target$ac_delim
51444 target_cpu!$target_cpu$ac_delim
51445 target_vendor!$target_vendor$ac_delim
51446 target_os!$target_os$ac_delim
51447 wx_top_builddir!$wx_top_builddir$ac_delim
51448 CC!$CC$ac_delim
51449 CFLAGS!$CFLAGS$ac_delim
51450 LDFLAGS!$LDFLAGS$ac_delim
51451 CPPFLAGS!$CPPFLAGS$ac_delim
51452 ac_ct_CC!$ac_ct_CC$ac_delim
51453 EXEEXT!$EXEEXT$ac_delim
51454 OBJEXT!$OBJEXT$ac_delim
51455 CPP!$CPP$ac_delim
51456 GREP!$GREP$ac_delim
51457 EGREP!$EGREP$ac_delim
51458 CXX!$CXX$ac_delim
51459 CXXFLAGS!$CXXFLAGS$ac_delim
51460 ac_ct_CXX!$ac_ct_CXX$ac_delim
51461 AR!$AR$ac_delim
51462 subdirs!$subdirs$ac_delim
51463 PKG_CONFIG!$PKG_CONFIG$ac_delim
51464 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51465 GTK_LIBS!$GTK_LIBS$ac_delim
51466 GTK_CONFIG!$GTK_CONFIG$ac_delim
51467 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51468 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51469 XMKMF!$XMKMF$ac_delim
51470 X_CFLAGS!$X_CFLAGS$ac_delim
51471 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51472 X_LIBS!$X_LIBS$ac_delim
51473 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51474 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51475 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51476 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51477 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51478 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51479 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51480 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51481 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51482 LIBICONV!$LIBICONV$ac_delim
51483 SDL_CONFIG!$SDL_CONFIG$ac_delim
51484 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51485 SDL_LIBS!$SDL_LIBS$ac_delim
51486 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51487 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51488 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51489 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51490 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51491 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51492 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51493 HILDON_LIBS!$HILDON_LIBS$ac_delim
51494 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51495 _ACEOF
51496
51497 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51498 break
51499 elif $ac_last_try; then
51500 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51501 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51502 { (exit 1); exit 1; }; }
51503 else
51504 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51505 fi
51506 done
51507
51508 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51509 if test -n "$ac_eof"; then
51510 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51511 ac_eof=`expr $ac_eof + 1`
51512 fi
51513
51514 cat >>$CONFIG_STATUS <<_ACEOF
51515 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51517 _ACEOF
51518 sed '
51519 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51520 s/^/s,@/; s/!/@,|#_!!_#|/
51521 :n
51522 t n
51523 s/'"$ac_delim"'$/,g/; t
51524 s/$/\\/; p
51525 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51526 ' >>$CONFIG_STATUS <conf$$subs.sed
51527 rm -f conf$$subs.sed
51528 cat >>$CONFIG_STATUS <<_ACEOF
51529 CEOF$ac_eof
51530 _ACEOF
51531
51532
51533 ac_delim='%!_!# '
51534 for ac_last_try in false false false false false :; do
51535 cat >conf$$subs.sed <<_ACEOF
51536 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51537 GST_CFLAGS!$GST_CFLAGS$ac_delim
51538 GST_LIBS!$GST_LIBS$ac_delim
51539 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51540 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51541 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51542 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51543 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51544 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51545 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51546 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51547 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51548 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51549 VENDOR!$VENDOR$ac_delim
51550 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51551 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51552 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51553 WXUNIV!$WXUNIV$ac_delim
51554 MONOLITHIC!$MONOLITHIC$ac_delim
51555 USE_PLUGINS!$USE_PLUGINS$ac_delim
51556 CXXWARNINGS!$CXXWARNINGS$ac_delim
51557 EXTRALIBS!$EXTRALIBS$ac_delim
51558 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51559 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51560 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51561 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51562 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51563 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51564 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51565 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51566 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51567 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51568 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51569 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51570 UNICODE!$UNICODE$ac_delim
51571 BUILD!$BUILD$ac_delim
51572 DEBUG_INFO!$DEBUG_INFO$ac_delim
51573 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51574 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51575 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51576 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51577 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51578 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51579 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51580 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51581 RANLIB!$RANLIB$ac_delim
51582 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51583 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51584 INSTALL_DATA!$INSTALL_DATA$ac_delim
51585 LN_S!$LN_S$ac_delim
51586 SET_MAKE!$SET_MAKE$ac_delim
51587 MAKE_SET!$MAKE_SET$ac_delim
51588 AROPTIONS!$AROPTIONS$ac_delim
51589 STRIP!$STRIP$ac_delim
51590 NM!$NM$ac_delim
51591 INSTALL_DIR!$INSTALL_DIR$ac_delim
51592 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51593 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51594 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51595 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51596 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51597 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51598 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51599 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51600 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51601 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51602 SO_SUFFIX!$SO_SUFFIX$ac_delim
51603 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51604 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51605 LIBPREFIX!$LIBPREFIX$ac_delim
51606 LIBEXT!$LIBEXT$ac_delim
51607 DLLPREFIX!$DLLPREFIX$ac_delim
51608 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51609 dlldir!$dlldir$ac_delim
51610 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51611 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51612 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51613 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51614 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51615 PIC_FLAG!$PIC_FLAG$ac_delim
51616 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51617 USE_SOVERSION!$USE_SOVERSION$ac_delim
51618 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51619 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51620 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51621 USE_MACVERSION!$USE_MACVERSION$ac_delim
51622 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51623 SONAME_FLAG!$SONAME_FLAG$ac_delim
51624 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51625 BK_DEPS!$BK_DEPS$ac_delim
51626 WINDRES!$WINDRES$ac_delim
51627 REZ!$REZ$ac_delim
51628 SETFILE!$SETFILE$ac_delim
51629 GCC_PCH!$GCC_PCH$ac_delim
51630 ICC_PCH!$ICC_PCH$ac_delim
51631 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51632 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51633 _ACEOF
51634
51635 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51636 break
51637 elif $ac_last_try; then
51638 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51639 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51640 { (exit 1); exit 1; }; }
51641 else
51642 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51643 fi
51644 done
51645
51646 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51647 if test -n "$ac_eof"; then
51648 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51649 ac_eof=`expr $ac_eof + 1`
51650 fi
51651
51652 cat >>$CONFIG_STATUS <<_ACEOF
51653 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51655 _ACEOF
51656 sed '
51657 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51658 s/^/s,@/; s/!/@,|#_!!_#|/
51659 :n
51660 t n
51661 s/'"$ac_delim"'$/,g/; t
51662 s/$/\\/; p
51663 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51664 ' >>$CONFIG_STATUS <conf$$subs.sed
51665 rm -f conf$$subs.sed
51666 cat >>$CONFIG_STATUS <<_ACEOF
51667 CEOF$ac_eof
51668 _ACEOF
51669
51670
51671 ac_delim='%!_!# '
51672 for ac_last_try in false false false false false :; do
51673 cat >conf$$subs.sed <<_ACEOF
51674 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51675 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51676 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51677 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51678 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51679 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51680 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51681 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51682 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51683 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51684 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51685 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51686 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51687 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51688 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51689 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51690 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51691 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51692 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51693 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51694 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51696 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51697 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51698 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51699 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51705 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51706 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51707 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51708 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51709 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51710 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51711 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51712 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51713 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51714 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51715 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51716 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51717 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51718 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51719 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51720 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51721 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51722 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51723 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51724 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51725 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51726 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51727 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
51728 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51729 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
51730 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51731 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51732 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51733 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51734 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51735 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51736 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51737 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51738 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51739 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51740 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51741 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51742 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51743 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51744 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51745 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51746 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51747 COND_SHARED_0!$COND_SHARED_0$ac_delim
51748 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51749 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51751 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51752 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51753 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51754 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51755 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51756 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51757 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51758 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51759 COND_SHARED_1!$COND_SHARED_1$ac_delim
51760 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51761 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51762 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51763 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51764 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51765 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51766 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51767 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51768 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51769 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51770 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51771 _ACEOF
51772
51773 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51774 break
51775 elif $ac_last_try; then
51776 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51777 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51778 { (exit 1); exit 1; }; }
51779 else
51780 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51781 fi
51782 done
51783
51784 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51785 if test -n "$ac_eof"; then
51786 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51787 ac_eof=`expr $ac_eof + 1`
51788 fi
51789
51790 cat >>$CONFIG_STATUS <<_ACEOF
51791 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51793 _ACEOF
51794 sed '
51795 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51796 s/^/s,@/; s/!/@,|#_!!_#|/
51797 :n
51798 t n
51799 s/'"$ac_delim"'$/,g/; t
51800 s/$/\\/; p
51801 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51802 ' >>$CONFIG_STATUS <conf$$subs.sed
51803 rm -f conf$$subs.sed
51804 cat >>$CONFIG_STATUS <<_ACEOF
51805 CEOF$ac_eof
51806 _ACEOF
51807
51808
51809 ac_delim='%!_!# '
51810 for ac_last_try in false false false false false :; do
51811 cat >conf$$subs.sed <<_ACEOF
51812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51813 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51814 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51815 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51816 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51817 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51818 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51819 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51820 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51821 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51822 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51823 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51824 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51825 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51826 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51827 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51828 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51829 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51830 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51831 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51832 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51833 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51834 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51835 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51836 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51837 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51838 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51839 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51840 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51841 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51842 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51843 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51844 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51845 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51846 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51847 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51848 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51849 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51850 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51851 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51852 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51853 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51854 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51855 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51856 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51857 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51858 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51859 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51860 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51861 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51862 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51863 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51864 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51865 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51866 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51867 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51868 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51869 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51870 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51871 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51872 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51873 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51874 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51875 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51876 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51877 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51878 DEREZ!$DEREZ$ac_delim
51879 SHARED!$SHARED$ac_delim
51880 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51881 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51882 USE_GUI!$USE_GUI$ac_delim
51883 AFMINSTALL!$AFMINSTALL$ac_delim
51884 WIN32INSTALL!$WIN32INSTALL$ac_delim
51885 TOOLKIT!$TOOLKIT$ac_delim
51886 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51887 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51888 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51889 cross_compiling!$cross_compiling$ac_delim
51890 WIDGET_SET!$WIDGET_SET$ac_delim
51891 WX_RELEASE!$WX_RELEASE$ac_delim
51892 WX_VERSION!$WX_VERSION$ac_delim
51893 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51894 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51895 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51896 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51897 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51898 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51899 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51900 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51901 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51902 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51903 GUIDIST!$GUIDIST$ac_delim
51904 DISTDIR!$DISTDIR$ac_delim
51905 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51906 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51907 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51908 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51909 _ACEOF
51910
51911 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51912 break
51913 elif $ac_last_try; then
51914 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51915 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51916 { (exit 1); exit 1; }; }
51917 else
51918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51919 fi
51920 done
51921
51922 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51923 if test -n "$ac_eof"; then
51924 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51925 ac_eof=`expr $ac_eof + 1`
51926 fi
51927
51928 cat >>$CONFIG_STATUS <<_ACEOF
51929 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51930 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51931 _ACEOF
51932 sed '
51933 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51934 s/^/s,@/; s/!/@,|#_!!_#|/
51935 :n
51936 t n
51937 s/'"$ac_delim"'$/,g/; t
51938 s/$/\\/; p
51939 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51940 ' >>$CONFIG_STATUS <conf$$subs.sed
51941 rm -f conf$$subs.sed
51942 cat >>$CONFIG_STATUS <<_ACEOF
51943 CEOF$ac_eof
51944 _ACEOF
51945
51946
51947 ac_delim='%!_!# '
51948 for ac_last_try in false false false false false :; do
51949 cat >conf$$subs.sed <<_ACEOF
51950 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51951 RESCOMP!$RESCOMP$ac_delim
51952 RESFLAGS!$RESFLAGS$ac_delim
51953 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51954 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51955 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51956 LIBWXMACRES!$LIBWXMACRES$ac_delim
51957 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51958 MACSETFILE!$MACSETFILE$ac_delim
51959 GCC!$GCC$ac_delim
51960 DLLTOOL!$DLLTOOL$ac_delim
51961 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51962 LIBOBJS!$LIBOBJS$ac_delim
51963 LTLIBOBJS!$LTLIBOBJS$ac_delim
51964 _ACEOF
51965
51966 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
51967 break
51968 elif $ac_last_try; then
51969 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51970 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51971 { (exit 1); exit 1; }; }
51972 else
51973 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51974 fi
51975 done
51976
51977 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51978 if test -n "$ac_eof"; then
51979 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51980 ac_eof=`expr $ac_eof + 1`
51981 fi
51982
51983 cat >>$CONFIG_STATUS <<_ACEOF
51984 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51986 _ACEOF
51987 sed '
51988 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51989 s/^/s,@/; s/!/@,|#_!!_#|/
51990 :n
51991 t n
51992 s/'"$ac_delim"'$/,g/; t
51993 s/$/\\/; p
51994 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51995 ' >>$CONFIG_STATUS <conf$$subs.sed
51996 rm -f conf$$subs.sed
51997 cat >>$CONFIG_STATUS <<_ACEOF
51998 :end
51999 s/|#_!!_#|//g
52000 CEOF$ac_eof
52001 _ACEOF
52002
52003
52004 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52005 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52006 # trailing colons and then remove the whole line if VPATH becomes empty
52007 # (actually we leave an empty line to preserve line numbers).
52008 if test "x$srcdir" = x.; then
52009 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52010 s/:*\$(srcdir):*/:/
52011 s/:*\${srcdir}:*/:/
52012 s/:*@srcdir@:*/:/
52013 s/^\([^=]*=[ ]*\):*/\1/
52014 s/:*$//
52015 s/^[^=]*=[ ]*$//
52016 }'
52017 fi
52018
52019 cat >>$CONFIG_STATUS <<\_ACEOF
52020 fi # test -n "$CONFIG_FILES"
52021
52022
52023 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52024 do
52025 case $ac_tag in
52026 :[FHLC]) ac_mode=$ac_tag; continue;;
52027 esac
52028 case $ac_mode$ac_tag in
52029 :[FHL]*:*);;
52030 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52031 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52032 { (exit 1); exit 1; }; };;
52033 :[FH]-) ac_tag=-:-;;
52034 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52035 esac
52036 ac_save_IFS=$IFS
52037 IFS=:
52038 set x $ac_tag
52039 IFS=$ac_save_IFS
52040 shift
52041 ac_file=$1
52042 shift
52043
52044 case $ac_mode in
52045 :L) ac_source=$1;;
52046 :[FH])
52047 ac_file_inputs=
52048 for ac_f
52049 do
52050 case $ac_f in
52051 -) ac_f="$tmp/stdin";;
52052 *) # Look for the file first in the build tree, then in the source tree
52053 # (if the path is not absolute). The absolute path cannot be DOS-style,
52054 # because $ac_f cannot contain `:'.
52055 test -f "$ac_f" ||
52056 case $ac_f in
52057 [\\/$]*) false;;
52058 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52059 esac ||
52060 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52061 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52062 { (exit 1); exit 1; }; };;
52063 esac
52064 ac_file_inputs="$ac_file_inputs $ac_f"
52065 done
52066
52067 # Let's still pretend it is `configure' which instantiates (i.e., don't
52068 # use $as_me), people would be surprised to read:
52069 # /* config.h. Generated by config.status. */
52070 configure_input="Generated from "`IFS=:
52071 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52072 if test x"$ac_file" != x-; then
52073 configure_input="$ac_file. $configure_input"
52074 { echo "$as_me:$LINENO: creating $ac_file" >&5
52075 echo "$as_me: creating $ac_file" >&6;}
52076 fi
52077
52078 case $ac_tag in
52079 *:-:* | *:-) cat >"$tmp/stdin";;
52080 esac
52081 ;;
52082 esac
52083
52084 ac_dir=`$as_dirname -- "$ac_file" ||
52085 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52086 X"$ac_file" : 'X\(//\)[^/]' \| \
52087 X"$ac_file" : 'X\(//\)$' \| \
52088 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52089 echo X"$ac_file" |
52090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52091 s//\1/
52092 q
52093 }
52094 /^X\(\/\/\)[^/].*/{
52095 s//\1/
52096 q
52097 }
52098 /^X\(\/\/\)$/{
52099 s//\1/
52100 q
52101 }
52102 /^X\(\/\).*/{
52103 s//\1/
52104 q
52105 }
52106 s/.*/./; q'`
52107 { as_dir="$ac_dir"
52108 case $as_dir in #(
52109 -*) as_dir=./$as_dir;;
52110 esac
52111 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52112 as_dirs=
52113 while :; do
52114 case $as_dir in #(
52115 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52116 *) as_qdir=$as_dir;;
52117 esac
52118 as_dirs="'$as_qdir' $as_dirs"
52119 as_dir=`$as_dirname -- "$as_dir" ||
52120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52121 X"$as_dir" : 'X\(//\)[^/]' \| \
52122 X"$as_dir" : 'X\(//\)$' \| \
52123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52124 echo X"$as_dir" |
52125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52126 s//\1/
52127 q
52128 }
52129 /^X\(\/\/\)[^/].*/{
52130 s//\1/
52131 q
52132 }
52133 /^X\(\/\/\)$/{
52134 s//\1/
52135 q
52136 }
52137 /^X\(\/\).*/{
52138 s//\1/
52139 q
52140 }
52141 s/.*/./; q'`
52142 test -d "$as_dir" && break
52143 done
52144 test -z "$as_dirs" || eval "mkdir $as_dirs"
52145 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52146 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52147 { (exit 1); exit 1; }; }; }
52148 ac_builddir=.
52149
52150 case "$ac_dir" in
52151 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52152 *)
52153 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52154 # A ".." for each directory in $ac_dir_suffix.
52155 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52156 case $ac_top_builddir_sub in
52157 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52158 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52159 esac ;;
52160 esac
52161 ac_abs_top_builddir=$ac_pwd
52162 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52163 # for backward compatibility:
52164 ac_top_builddir=$ac_top_build_prefix
52165
52166 case $srcdir in
52167 .) # We are building in place.
52168 ac_srcdir=.
52169 ac_top_srcdir=$ac_top_builddir_sub
52170 ac_abs_top_srcdir=$ac_pwd ;;
52171 [\\/]* | ?:[\\/]* ) # Absolute name.
52172 ac_srcdir=$srcdir$ac_dir_suffix;
52173 ac_top_srcdir=$srcdir
52174 ac_abs_top_srcdir=$srcdir ;;
52175 *) # Relative name.
52176 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52177 ac_top_srcdir=$ac_top_build_prefix$srcdir
52178 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52179 esac
52180 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52181
52182
52183 case $ac_mode in
52184 :F)
52185 #
52186 # CONFIG_FILE
52187 #
52188
52189 case $INSTALL in
52190 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52191 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52192 esac
52193 _ACEOF
52194
52195 cat >>$CONFIG_STATUS <<\_ACEOF
52196 # If the template does not know about datarootdir, expand it.
52197 # FIXME: This hack should be removed a few years after 2.60.
52198 ac_datarootdir_hack=; ac_datarootdir_seen=
52199
52200 case `sed -n '/datarootdir/ {
52201 p
52202 q
52203 }
52204 /@datadir@/p
52205 /@docdir@/p
52206 /@infodir@/p
52207 /@localedir@/p
52208 /@mandir@/p
52209 ' $ac_file_inputs` in
52210 *datarootdir*) ac_datarootdir_seen=yes;;
52211 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52212 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52213 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52214 _ACEOF
52215 cat >>$CONFIG_STATUS <<_ACEOF
52216 ac_datarootdir_hack='
52217 s&@datadir@&$datadir&g
52218 s&@docdir@&$docdir&g
52219 s&@infodir@&$infodir&g
52220 s&@localedir@&$localedir&g
52221 s&@mandir@&$mandir&g
52222 s&\\\${datarootdir}&$datarootdir&g' ;;
52223 esac
52224 _ACEOF
52225
52226 # Neutralize VPATH when `$srcdir' = `.'.
52227 # Shell code in configure.ac might set extrasub.
52228 # FIXME: do we really want to maintain this feature?
52229 cat >>$CONFIG_STATUS <<_ACEOF
52230 sed "$ac_vpsub
52231 $extrasub
52232 _ACEOF
52233 cat >>$CONFIG_STATUS <<\_ACEOF
52234 :t
52235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52236 s&@configure_input@&$configure_input&;t t
52237 s&@top_builddir@&$ac_top_builddir_sub&;t t
52238 s&@srcdir@&$ac_srcdir&;t t
52239 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52240 s&@top_srcdir@&$ac_top_srcdir&;t t
52241 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52242 s&@builddir@&$ac_builddir&;t t
52243 s&@abs_builddir@&$ac_abs_builddir&;t t
52244 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52245 s&@INSTALL@&$ac_INSTALL&;t t
52246 $ac_datarootdir_hack
52247 " $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
52248
52249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52250 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52252 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52253 which seems to be undefined. Please make sure it is defined." >&5
52254 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52255 which seems to be undefined. Please make sure it is defined." >&2;}
52256
52257 rm -f "$tmp/stdin"
52258 case $ac_file in
52259 -) cat "$tmp/out"; rm -f "$tmp/out";;
52260 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52261 esac
52262 ;;
52263 :H)
52264 #
52265 # CONFIG_HEADER
52266 #
52267 _ACEOF
52268
52269 # Transform confdefs.h into a sed script `conftest.defines', that
52270 # substitutes the proper values into config.h.in to produce config.h.
52271 rm -f conftest.defines conftest.tail
52272 # First, append a space to every undef/define line, to ease matching.
52273 echo 's/$/ /' >conftest.defines
52274 # Then, protect against being on the right side of a sed subst, or in
52275 # an unquoted here document, in config.status. If some macros were
52276 # called several times there might be several #defines for the same
52277 # symbol, which is useless. But do not sort them, since the last
52278 # AC_DEFINE must be honored.
52279 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52280 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52281 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52282 # PARAMS is the parameter list in the macro definition--in most cases, it's
52283 # just an empty string.
52284 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52285 ac_dB='\\)[ (].*,\\1define\\2'
52286 ac_dC=' '
52287 ac_dD=' ,'
52288
52289 uniq confdefs.h |
52290 sed -n '
52291 t rset
52292 :rset
52293 s/^[ ]*#[ ]*define[ ][ ]*//
52294 t ok
52295 d
52296 :ok
52297 s/[\\&,]/\\&/g
52298 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52299 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52300 ' >>conftest.defines
52301
52302 # Remove the space that was appended to ease matching.
52303 # Then replace #undef with comments. This is necessary, for
52304 # example, in the case of _POSIX_SOURCE, which is predefined and required
52305 # on some systems where configure will not decide to define it.
52306 # (The regexp can be short, since the line contains either #define or #undef.)
52307 echo 's/ $//
52308 s,^[ #]*u.*,/* & */,' >>conftest.defines
52309
52310 # Break up conftest.defines:
52311 ac_max_sed_lines=50
52312
52313 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52314 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52315 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52316 # et cetera.
52317 ac_in='$ac_file_inputs'
52318 ac_out='"$tmp/out1"'
52319 ac_nxt='"$tmp/out2"'
52320
52321 while :
52322 do
52323 # Write a here document:
52324 cat >>$CONFIG_STATUS <<_ACEOF
52325 # First, check the format of the line:
52326 cat >"\$tmp/defines.sed" <<\\CEOF
52327 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52328 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52329 b
52330 :def
52331 _ACEOF
52332 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52333 echo 'CEOF
52334 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52335 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52336 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52337 grep . conftest.tail >/dev/null || break
52338 rm -f conftest.defines
52339 mv conftest.tail conftest.defines
52340 done
52341 rm -f conftest.defines conftest.tail
52342
52343 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52344 cat >>$CONFIG_STATUS <<\_ACEOF
52345 if test x"$ac_file" != x-; then
52346 echo "/* $configure_input */" >"$tmp/config.h"
52347 cat "$ac_result" >>"$tmp/config.h"
52348 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52349 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52350 echo "$as_me: $ac_file is unchanged" >&6;}
52351 else
52352 rm -f $ac_file
52353 mv "$tmp/config.h" $ac_file
52354 fi
52355 else
52356 echo "/* $configure_input */"
52357 cat "$ac_result"
52358 fi
52359 rm -f "$tmp/out12"
52360 ;;
52361
52362 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52363 echo "$as_me: executing $ac_file commands" >&6;}
52364 ;;
52365 esac
52366
52367
52368 case $ac_file$ac_mode in
52369 "rcdefs.h":C)
52370 mkdir -p $outdir &&
52371 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52372 ;;
52373 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52374 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52375 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52376 "wx-config":C) rm -f wx-config
52377 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52378 ;;
52379
52380 esac
52381 done # for ac_tag
52382
52383
52384 { (exit 0); exit 0; }
52385 _ACEOF
52386 chmod +x $CONFIG_STATUS
52387 ac_clean_files=$ac_clean_files_save
52388
52389
52390 # configure is writing to config.log, and then calls config.status.
52391 # config.status does its own redirection, appending to config.log.
52392 # Unfortunately, on DOS this fails, as config.log is still kept open
52393 # by configure, so config.status won't be able to write to it; its
52394 # output is simply discarded. So we exec the FD to /dev/null,
52395 # effectively closing config.log, so it can be properly (re)opened and
52396 # appended to by config.status. When coming back to configure, we
52397 # need to make the FD available again.
52398 if test "$no_create" != yes; then
52399 ac_cs_success=:
52400 ac_config_status_args=
52401 test "$silent" = yes &&
52402 ac_config_status_args="$ac_config_status_args --quiet"
52403 exec 5>/dev/null
52404 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52405 exec 5>>config.log
52406 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52407 # would make configure fail if this is the last instruction.
52408 $ac_cs_success || { (exit 1); exit 1; }
52409 fi
52410
52411 #
52412 # CONFIG_SUBDIRS section.
52413 #
52414 if test "$no_recursion" != yes; then
52415
52416 # Remove --cache-file and --srcdir arguments so they do not pile up.
52417 ac_sub_configure_args=
52418 ac_prev=
52419 eval "set x $ac_configure_args"
52420 shift
52421 for ac_arg
52422 do
52423 if test -n "$ac_prev"; then
52424 ac_prev=
52425 continue
52426 fi
52427 case $ac_arg in
52428 -cache-file | --cache-file | --cache-fil | --cache-fi \
52429 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52430 ac_prev=cache_file ;;
52431 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52432 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52433 | --c=*)
52434 ;;
52435 --config-cache | -C)
52436 ;;
52437 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52438 ac_prev=srcdir ;;
52439 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52440 ;;
52441 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52442 ac_prev=prefix ;;
52443 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52444 ;;
52445 *)
52446 case $ac_arg in
52447 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52448 esac
52449 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52450 esac
52451 done
52452
52453 # Always prepend --prefix to ensure using the same prefix
52454 # in subdir configurations.
52455 ac_arg="--prefix=$prefix"
52456 case $ac_arg in
52457 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52458 esac
52459 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52460
52461 # Pass --silent
52462 if test "$silent" = yes; then
52463 ac_sub_configure_args="--silent $ac_sub_configure_args"
52464 fi
52465
52466 ac_popdir=`pwd`
52467 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52468
52469 # Do not complain, so a configure script can configure whichever
52470 # parts of a large source tree are present.
52471 test -d "$srcdir/$ac_dir" || continue
52472
52473 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52474 echo "$as_me:$LINENO: $ac_msg" >&5
52475 echo "$ac_msg" >&6
52476 { as_dir="$ac_dir"
52477 case $as_dir in #(
52478 -*) as_dir=./$as_dir;;
52479 esac
52480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52481 as_dirs=
52482 while :; do
52483 case $as_dir in #(
52484 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52485 *) as_qdir=$as_dir;;
52486 esac
52487 as_dirs="'$as_qdir' $as_dirs"
52488 as_dir=`$as_dirname -- "$as_dir" ||
52489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52490 X"$as_dir" : 'X\(//\)[^/]' \| \
52491 X"$as_dir" : 'X\(//\)$' \| \
52492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52493 echo X"$as_dir" |
52494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52495 s//\1/
52496 q
52497 }
52498 /^X\(\/\/\)[^/].*/{
52499 s//\1/
52500 q
52501 }
52502 /^X\(\/\/\)$/{
52503 s//\1/
52504 q
52505 }
52506 /^X\(\/\).*/{
52507 s//\1/
52508 q
52509 }
52510 s/.*/./; q'`
52511 test -d "$as_dir" && break
52512 done
52513 test -z "$as_dirs" || eval "mkdir $as_dirs"
52514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52516 { (exit 1); exit 1; }; }; }
52517 ac_builddir=.
52518
52519 case "$ac_dir" in
52520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52521 *)
52522 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52523 # A ".." for each directory in $ac_dir_suffix.
52524 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52525 case $ac_top_builddir_sub in
52526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52528 esac ;;
52529 esac
52530 ac_abs_top_builddir=$ac_pwd
52531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52532 # for backward compatibility:
52533 ac_top_builddir=$ac_top_build_prefix
52534
52535 case $srcdir in
52536 .) # We are building in place.
52537 ac_srcdir=.
52538 ac_top_srcdir=$ac_top_builddir_sub
52539 ac_abs_top_srcdir=$ac_pwd ;;
52540 [\\/]* | ?:[\\/]* ) # Absolute name.
52541 ac_srcdir=$srcdir$ac_dir_suffix;
52542 ac_top_srcdir=$srcdir
52543 ac_abs_top_srcdir=$srcdir ;;
52544 *) # Relative name.
52545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52546 ac_top_srcdir=$ac_top_build_prefix$srcdir
52547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52548 esac
52549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52550
52551
52552 cd "$ac_dir"
52553
52554 # Check for guested configure; otherwise get Cygnus style configure.
52555 if test -f "$ac_srcdir/configure.gnu"; then
52556 ac_sub_configure=$ac_srcdir/configure.gnu
52557 elif test -f "$ac_srcdir/configure"; then
52558 ac_sub_configure=$ac_srcdir/configure
52559 elif test -f "$ac_srcdir/configure.in"; then
52560 # This should be Cygnus configure.
52561 ac_sub_configure=$ac_aux_dir/configure
52562 else
52563 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52564 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52565 ac_sub_configure=
52566 fi
52567
52568 # The recursion is here.
52569 if test -n "$ac_sub_configure"; then
52570 # Make the cache file name correct relative to the subdirectory.
52571 case $cache_file in
52572 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52573 *) # Relative name.
52574 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52575 esac
52576
52577 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52578 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52579 # The eval makes quoting arguments work.
52580 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52581 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52582 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52583 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52584 { (exit 1); exit 1; }; }
52585 fi
52586
52587 cd "$ac_popdir"
52588 done
52589 fi
52590
52591
52592 echo
52593 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52594 echo ""
52595 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52596 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52597
52598 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52599 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52600 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52601 if test "$wxUSE_UNICODE" = "yes"; then
52602 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52603 echo " (using UTF-8)"
52604 else
52605 echo " (using wchar_t)"
52606 fi
52607 else
52608 echo
52609 fi
52610
52611 echo " What level of wxWidgets compatibility should be enabled?"
52612 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52613 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52614
52615 echo " Which libraries should wxWidgets use?"
52616 echo " STL ${wxUSE_STL}"
52617 echo " jpeg ${wxUSE_LIBJPEG-none}"
52618 echo " png ${wxUSE_LIBPNG-none}"
52619 echo " regex ${wxUSE_REGEX}"
52620 echo " tiff ${wxUSE_LIBTIFF-none}"
52621 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52622 echo " xpm ${wxUSE_LIBXPM-none}"
52623 fi
52624 echo " zlib ${wxUSE_ZLIB}"
52625 echo " expat ${wxUSE_EXPAT}"
52626 echo " libmspack ${wxUSE_LIBMSPACK}"
52627 echo " sdl ${wxUSE_LIBSDL}"
52628
52629 echo ""
52630