]> git.saurik.com Git - wxWidgets.git/blob - configure
6d2a817a03fbdd29d6d525538b91b433317e2db1
[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_IPV6=no
2946 DEFAULT_wxUSE_MEDIACTRL=no
2947 DEFAULT_wxUSE_TAB_DIALOG=no
2948 DEFAULT_wxUSE_GSTREAMER8=no
2949
2950 DEFAULT_wxUSE_UNICODE_UTF8=auto
2951 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2952
2953 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2954
2955 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2956
2957 DEFAULT_wxUSE_GTK2=yes
2958
2959 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2960
2961
2962
2963
2964
2965 enablestring=disable
2966 defaultval=
2967 if test -z "$defaultval"; then
2968 if test x"$enablestring" = xdisable; then
2969 defaultval=yes
2970 else
2971 defaultval=no
2972 fi
2973 fi
2974
2975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2976 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2977 # Check whether --enable-gui was given.
2978 if test "${enable_gui+set}" = set; then
2979 enableval=$enable_gui;
2980 if test "$enableval" = yes; then
2981 wx_cv_use_gui='wxUSE_GUI=yes'
2982 else
2983 wx_cv_use_gui='wxUSE_GUI=no'
2984 fi
2985
2986 else
2987
2988 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2989
2990 fi
2991
2992
2993 eval "$wx_cv_use_gui"
2994
2995 if test x"$enablestring" = xdisable; then
2996 if test $wxUSE_GUI = yes; then
2997 result=no
2998 else
2999 result=yes
3000 fi
3001 else
3002 result=$wxUSE_GUI
3003 fi
3004
3005 { echo "$as_me:$LINENO: result: $result" >&5
3006 echo "${ECHO_T}$result" >&6; }
3007
3008
3009 enablestring=
3010 defaultval=
3011 if test -z "$defaultval"; then
3012 if test x"$enablestring" = xdisable; then
3013 defaultval=yes
3014 else
3015 defaultval=no
3016 fi
3017 fi
3018
3019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3020 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3021 # Check whether --enable-monolithic was given.
3022 if test "${enable_monolithic+set}" = set; then
3023 enableval=$enable_monolithic;
3024 if test "$enableval" = yes; then
3025 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3026 else
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3028 fi
3029
3030 else
3031
3032 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3033
3034 fi
3035
3036
3037 eval "$wx_cv_use_monolithic"
3038
3039 if test x"$enablestring" = xdisable; then
3040 if test $wxUSE_MONOLITHIC = yes; then
3041 result=no
3042 else
3043 result=yes
3044 fi
3045 else
3046 result=$wxUSE_MONOLITHIC
3047 fi
3048
3049 { echo "$as_me:$LINENO: result: $result" >&5
3050 echo "${ECHO_T}$result" >&6; }
3051
3052
3053 enablestring=
3054 defaultval=
3055 if test -z "$defaultval"; then
3056 if test x"$enablestring" = xdisable; then
3057 defaultval=yes
3058 else
3059 defaultval=no
3060 fi
3061 fi
3062
3063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3064 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3065 # Check whether --enable-plugins was given.
3066 if test "${enable_plugins+set}" = set; then
3067 enableval=$enable_plugins;
3068 if test "$enableval" = yes; then
3069 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3070 else
3071 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3072 fi
3073
3074 else
3075
3076 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3077
3078 fi
3079
3080
3081 eval "$wx_cv_use_plugins"
3082
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_PLUGINS = yes; then
3085 result=no
3086 else
3087 result=yes
3088 fi
3089 else
3090 result=$wxUSE_PLUGINS
3091 fi
3092
3093 { echo "$as_me:$LINENO: result: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3095
3096
3097 withstring=without
3098 defaultval=$wxUSE_ALL_FEATURES
3099 if test -z "$defaultval"; then
3100 if test x"$withstring" = xwithout; then
3101 defaultval=yes
3102 else
3103 defaultval=no
3104 fi
3105 fi
3106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3107 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3108
3109 # Check whether --with-subdirs was given.
3110 if test "${with_subdirs+set}" = set; then
3111 withval=$with_subdirs;
3112 if test "$withval" = yes; then
3113 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3114 else
3115 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3116 fi
3117
3118 else
3119
3120 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3121
3122 fi
3123
3124
3125 eval "$wx_cv_use_subdirs"
3126
3127 if test x"$withstring" = xwithout; then
3128 if test $wxWITH_SUBDIRS = yes; then
3129 result=no
3130 else
3131 result=yes
3132 fi
3133 else
3134 result=$wxWITH_SUBDIRS
3135 fi
3136
3137 { echo "$as_me:$LINENO: result: $result" >&5
3138 echo "${ECHO_T}$result" >&6; }
3139
3140
3141 # Check whether --with-flavour was given.
3142 if test "${with_flavour+set}" = set; then
3143 withval=$with_flavour; WX_FLAVOUR="$withval"
3144 fi
3145
3146
3147 enablestring=
3148 defaultval=
3149 if test -z "$defaultval"; then
3150 if test x"$enablestring" = xdisable; then
3151 defaultval=yes
3152 else
3153 defaultval=no
3154 fi
3155 fi
3156
3157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3158 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3159 # Check whether --enable-official_build was given.
3160 if test "${enable_official_build+set}" = set; then
3161 enableval=$enable_official_build;
3162 if test "$enableval" = yes; then
3163 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3164 else
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3166 fi
3167
3168 else
3169
3170 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3171
3172 fi
3173
3174
3175 eval "$wx_cv_use_official_build"
3176
3177 if test x"$enablestring" = xdisable; then
3178 if test $wxUSE_OFFICIAL_BUILD = yes; then
3179 result=no
3180 else
3181 result=yes
3182 fi
3183 else
3184 result=$wxUSE_OFFICIAL_BUILD
3185 fi
3186
3187 { echo "$as_me:$LINENO: result: $result" >&5
3188 echo "${ECHO_T}$result" >&6; }
3189
3190 # Check whether --enable-vendor was given.
3191 if test "${enable_vendor+set}" = set; then
3192 enableval=$enable_vendor; VENDOR="$enableval"
3193 fi
3194
3195 if test "x$VENDOR" = "x"; then
3196 VENDOR="custom"
3197 fi
3198
3199
3200 enablestring=disable
3201 defaultval=
3202 if test -z "$defaultval"; then
3203 if test x"$enablestring" = xdisable; then
3204 defaultval=yes
3205 else
3206 defaultval=no
3207 fi
3208 fi
3209
3210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3211 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3212 # Check whether --enable-all-features was given.
3213 if test "${enable_all_features+set}" = set; then
3214 enableval=$enable_all_features;
3215 if test "$enableval" = yes; then
3216 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3217 else
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3219 fi
3220
3221 else
3222
3223 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3224
3225 fi
3226
3227
3228 eval "$wx_cv_use_all_features"
3229
3230 if test x"$enablestring" = xdisable; then
3231 if test $wxUSE_ALL_FEATURES = yes; then
3232 result=no
3233 else
3234 result=yes
3235 fi
3236 else
3237 result=$wxUSE_ALL_FEATURES
3238 fi
3239
3240 { echo "$as_me:$LINENO: result: $result" >&5
3241 echo "${ECHO_T}$result" >&6; }
3242
3243
3244
3245 if test "$wxUSE_GUI" = "yes"; then
3246
3247
3248 enablestring=
3249 defaultval=
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3252 defaultval=yes
3253 else
3254 defaultval=no
3255 fi
3256 fi
3257
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3260 # Check whether --enable-universal was given.
3261 if test "${enable_universal+set}" = set; then
3262 enableval=$enable_universal;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3265 else
3266 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3267 fi
3268
3269 else
3270
3271 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3272
3273 fi
3274
3275
3276 eval "$wx_cv_use_universal"
3277
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_UNIVERSAL = yes; then
3280 result=no
3281 else
3282 result=yes
3283 fi
3284 else
3285 result=$wxUSE_UNIVERSAL
3286 fi
3287
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3290
3291 if test "$wxUSE_UNIVERSAL" = "yes"; then
3292
3293 # Check whether --with-themes was given.
3294 if test "${with_themes+set}" = set; then
3295 withval=$with_themes; wxUNIV_THEMES="$withval"
3296 fi
3297
3298 fi
3299
3300
3301 # Check whether --with-gtk was given.
3302 if test "${with_gtk+set}" = set; then
3303 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3304 fi
3305
3306
3307 # Check whether --with-motif was given.
3308 if test "${with_motif+set}" = set; then
3309 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3310 fi
3311
3312
3313 # Check whether --with-osx_carbon was given.
3314 if test "${with_osx_carbon+set}" = set; then
3315 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3316 fi
3317
3318
3319 # Check whether --with-osx_cocoa was given.
3320 if test "${with_osx_cocoa+set}" = set; then
3321 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3322 fi
3323
3324
3325 # Check whether --with-mac was given.
3326 if test "${with_mac+set}" = set; then
3327 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3328 fi
3329
3330
3331 # Check whether --with-cocoa was given.
3332 if test "${with_cocoa+set}" = set; then
3333 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3334 fi
3335
3336
3337 # Check whether --with-wine was given.
3338 if test "${with_wine+set}" = set; then
3339 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3340 fi
3341
3342
3343 # Check whether --with-msw was given.
3344 if test "${with_msw+set}" = set; then
3345 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3346 fi
3347
3348
3349 # Check whether --with-pm was given.
3350 if test "${with_pm+set}" = set; then
3351 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-mgl was given.
3356 if test "${with_mgl+set}" = set; then
3357 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 # Check whether --with-directfb was given.
3362 if test "${with_directfb+set}" = set; then
3363 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-microwin was given.
3368 if test "${with_microwin+set}" = set; then
3369 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-x11 was given.
3374 if test "${with_x11+set}" = set; then
3375 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 enablestring=
3380 defaultval=
3381 if test -z "$defaultval"; then
3382 if test x"$enablestring" = xdisable; then
3383 defaultval=yes
3384 else
3385 defaultval=no
3386 fi
3387 fi
3388
3389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3390 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3391 # Check whether --enable-nanox was given.
3392 if test "${enable_nanox+set}" = set; then
3393 enableval=$enable_nanox;
3394 if test "$enableval" = yes; then
3395 wx_cv_use_nanox='wxUSE_NANOX=yes'
3396 else
3397 wx_cv_use_nanox='wxUSE_NANOX=no'
3398 fi
3399
3400 else
3401
3402 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3403
3404 fi
3405
3406
3407 eval "$wx_cv_use_nanox"
3408
3409 if test x"$enablestring" = xdisable; then
3410 if test $wxUSE_NANOX = yes; then
3411 result=no
3412 else
3413 result=yes
3414 fi
3415 else
3416 result=$wxUSE_NANOX
3417 fi
3418
3419 { echo "$as_me:$LINENO: result: $result" >&5
3420 echo "${ECHO_T}$result" >&6; }
3421
3422
3423 # Check whether --enable-gtk2 was given.
3424 if test "${enable_gtk2+set}" = set; then
3425 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3426 fi
3427
3428
3429 enablestring=
3430 defaultval=
3431 if test -z "$defaultval"; then
3432 if test x"$enablestring" = xdisable; then
3433 defaultval=yes
3434 else
3435 defaultval=no
3436 fi
3437 fi
3438
3439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3440 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3441 # Check whether --enable-gpe was given.
3442 if test "${enable_gpe+set}" = set; then
3443 enableval=$enable_gpe;
3444 if test "$enableval" = yes; then
3445 wx_cv_use_gpe='wxUSE_GPE=yes'
3446 else
3447 wx_cv_use_gpe='wxUSE_GPE=no'
3448 fi
3449
3450 else
3451
3452 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3453
3454 fi
3455
3456
3457 eval "$wx_cv_use_gpe"
3458
3459 if test x"$enablestring" = xdisable; then
3460 if test $wxUSE_GPE = yes; then
3461 result=no
3462 else
3463 result=yes
3464 fi
3465 else
3466 result=$wxUSE_GPE
3467 fi
3468
3469 { echo "$as_me:$LINENO: result: $result" >&5
3470 echo "${ECHO_T}$result" >&6; }
3471
3472
3473
3474 { echo "$as_me:$LINENO: checking for toolkit" >&5
3475 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3476
3477
3478
3479 # In Wine, we need to default to MSW, not GTK or MOTIF
3480 if test "$wxUSE_WINE" = "yes"; then
3481 DEFAULT_DEFAULT_wxUSE_GTK=0
3482 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3483 DEFAULT_DEFAULT_wxUSE_MSW=1
3484 wxUSE_SHARED=no
3485 CC=${CC:-winegcc}
3486 CXX=${CXX:-wineg++}
3487 fi
3488
3489
3490 if test "$wxUSE_GUI" = "yes"; then
3491
3492 if test "$USE_BEOS" = 1; then
3493 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3494 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3495 { (exit 1); exit 1; }; }
3496 fi
3497
3498 if test "$TOOLKIT_GIVEN" = 1; then
3499 for toolkit in $ALL_TOOLKITS; do
3500 var=wxUSE_$toolkit
3501 eval "value=\$${var}"
3502 if test "x$value" = "xno"; then
3503 eval "$var=0"
3504 elif test "x$value" != "x"; then
3505 eval "$var=1"
3506 fi
3507
3508 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3509 eval "wx${toolkit}_VERSION=$value"
3510 fi
3511 done
3512 else
3513 for toolkit in $ALL_TOOLKITS; do
3514 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3515 eval "wxUSE_$toolkit=\$${var}"
3516 done
3517 fi
3518
3519 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3520 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3521 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3522
3523 case "${host}" in
3524 *-pc-os2_emx | *-pc-os2-emx )
3525 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3526 esac
3527
3528 case "$NUM_TOOLKITS" in
3529 1)
3530 ;;
3531 0)
3532 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3533 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3534 { (exit 1); exit 1; }; }
3535 ;;
3536 *)
3537 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3538 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3539 { (exit 1); exit 1; }; }
3540 esac
3541
3542 # to be removed when --disable-gtk2 isn't needed
3543 if test "x$wxUSE_GTK2" = "xyes"; then
3544 wxGTK_VERSION=2
3545 elif test "x$wxUSE_GTK2" = "xno"; then
3546 wxGTK_VERSION=1
3547 fi
3548
3549 for toolkit in $ALL_TOOLKITS; do
3550 var=wxUSE_$toolkit
3551 eval "value=\$${var}"
3552 if test "$value" = 1; then
3553 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3554 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3555 echo "${ECHO_T}$toolkit_echo" >&6; }
3556 fi
3557 done
3558 else
3559 if test "x$host_alias" != "x"; then
3560 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3561 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3562 else
3563 { echo "$as_me:$LINENO: result: base only" >&5
3564 echo "${ECHO_T}base only" >&6; }
3565 fi
3566 fi
3567
3568 wxUSE_MAC=0
3569 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3570 wxUSE_MAC=1
3571 fi
3572
3573
3574
3575 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3576 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3577
3578 # Check whether --with-libpng was given.
3579 if test "${with_libpng+set}" = set; then
3580 withval=$with_libpng;
3581 if test "$withval" = yes; then
3582 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3583 elif test "$withval" = no; then
3584 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3585 elif test "$withval" = sys; then
3586 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3587 elif test "$withval" = builtin; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3589 else
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3593 fi
3594
3595 else
3596
3597 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3598
3599 fi
3600
3601
3602 eval "$wx_cv_use_libpng"
3603
3604 if test "$wxUSE_LIBPNG" = yes; then
3605 { echo "$as_me:$LINENO: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6; }
3607 elif test "$wxUSE_LIBPNG" = no; then
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3610 elif test "$wxUSE_LIBPNG" = sys; then
3611 { echo "$as_me:$LINENO: result: system version" >&5
3612 echo "${ECHO_T}system version" >&6; }
3613 elif test "$wxUSE_LIBPNG" = builtin; then
3614 { echo "$as_me:$LINENO: result: builtin version" >&5
3615 echo "${ECHO_T}builtin version" >&6; }
3616 else
3617 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3618 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3619 { (exit 1); exit 1; }; }
3620 fi
3621
3622
3623 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3624 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3625
3626 # Check whether --with-libjpeg was given.
3627 if test "${with_libjpeg+set}" = set; then
3628 withval=$with_libjpeg;
3629 if test "$withval" = yes; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3631 elif test "$withval" = no; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3633 elif test "$withval" = sys; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3635 elif test "$withval" = builtin; then
3636 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643 else
3644
3645 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3646
3647 fi
3648
3649
3650 eval "$wx_cv_use_libjpeg"
3651
3652 if test "$wxUSE_LIBJPEG" = yes; then
3653 { echo "$as_me:$LINENO: result: yes" >&5
3654 echo "${ECHO_T}yes" >&6; }
3655 elif test "$wxUSE_LIBJPEG" = no; then
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3658 elif test "$wxUSE_LIBJPEG" = sys; then
3659 { echo "$as_me:$LINENO: result: system version" >&5
3660 echo "${ECHO_T}system version" >&6; }
3661 elif test "$wxUSE_LIBJPEG" = builtin; then
3662 { echo "$as_me:$LINENO: result: builtin version" >&5
3663 echo "${ECHO_T}builtin version" >&6; }
3664 else
3665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3666 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3667 { (exit 1); exit 1; }; }
3668 fi
3669
3670
3671 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3672 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3673
3674 # Check whether --with-libtiff was given.
3675 if test "${with_libtiff+set}" = set; then
3676 withval=$with_libtiff;
3677 if test "$withval" = yes; then
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3679 elif test "$withval" = no; then
3680 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3681 elif test "$withval" = sys; then
3682 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3683 elif test "$withval" = builtin; then
3684 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691 else
3692
3693 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3694
3695 fi
3696
3697
3698 eval "$wx_cv_use_libtiff"
3699
3700 if test "$wxUSE_LIBTIFF" = yes; then
3701 { echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6; }
3703 elif test "$wxUSE_LIBTIFF" = no; then
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3706 elif test "$wxUSE_LIBTIFF" = sys; then
3707 { echo "$as_me:$LINENO: result: system version" >&5
3708 echo "${ECHO_T}system version" >&6; }
3709 elif test "$wxUSE_LIBTIFF" = builtin; then
3710 { echo "$as_me:$LINENO: result: builtin version" >&5
3711 echo "${ECHO_T}builtin version" >&6; }
3712 else
3713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3714 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3715 { (exit 1); exit 1; }; }
3716 fi
3717
3718
3719 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3720 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3721
3722 # Check whether --with-libxpm was given.
3723 if test "${with_libxpm+set}" = set; then
3724 withval=$with_libxpm;
3725 if test "$withval" = yes; then
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3727 elif test "$withval" = no; then
3728 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3729 elif test "$withval" = sys; then
3730 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3731 elif test "$withval" = builtin; then
3732 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739 else
3740
3741 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3742
3743 fi
3744
3745
3746 eval "$wx_cv_use_libxpm"
3747
3748 if test "$wxUSE_LIBXPM" = yes; then
3749 { echo "$as_me:$LINENO: result: yes" >&5
3750 echo "${ECHO_T}yes" >&6; }
3751 elif test "$wxUSE_LIBXPM" = no; then
3752 { echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6; }
3754 elif test "$wxUSE_LIBXPM" = sys; then
3755 { echo "$as_me:$LINENO: result: system version" >&5
3756 echo "${ECHO_T}system version" >&6; }
3757 elif test "$wxUSE_LIBXPM" = builtin; then
3758 { echo "$as_me:$LINENO: result: builtin version" >&5
3759 echo "${ECHO_T}builtin version" >&6; }
3760 else
3761 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3762 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3763 { (exit 1); exit 1; }; }
3764 fi
3765
3766
3767 withstring=
3768 defaultval=$wxUSE_ALL_FEATURES
3769 if test -z "$defaultval"; then
3770 if test x"$withstring" = xwithout; then
3771 defaultval=yes
3772 else
3773 defaultval=no
3774 fi
3775 fi
3776 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3777 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3778
3779 # Check whether --with-libiconv was given.
3780 if test "${with_libiconv+set}" = set; then
3781 withval=$with_libiconv;
3782 if test "$withval" = yes; then
3783 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3784 else
3785 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3786 fi
3787
3788 else
3789
3790 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3791
3792 fi
3793
3794
3795 eval "$wx_cv_use_libiconv"
3796
3797 if test x"$withstring" = xwithout; then
3798 if test $wxUSE_LIBICONV = yes; then
3799 result=no
3800 else
3801 result=yes
3802 fi
3803 else
3804 result=$wxUSE_LIBICONV
3805 fi
3806
3807 { echo "$as_me:$LINENO: result: $result" >&5
3808 echo "${ECHO_T}$result" >&6; }
3809
3810
3811 withstring=
3812 defaultval=$wxUSE_ALL_FEATURES
3813 if test -z "$defaultval"; then
3814 if test x"$withstring" = xwithout; then
3815 defaultval=yes
3816 else
3817 defaultval=no
3818 fi
3819 fi
3820 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3821 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3822
3823 # Check whether --with-libmspack was given.
3824 if test "${with_libmspack+set}" = set; then
3825 withval=$with_libmspack;
3826 if test "$withval" = yes; then
3827 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3828 else
3829 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3830 fi
3831
3832 else
3833
3834 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3835
3836 fi
3837
3838
3839 eval "$wx_cv_use_libmspack"
3840
3841 if test x"$withstring" = xwithout; then
3842 if test $wxUSE_LIBMSPACK = yes; then
3843 result=no
3844 else
3845 result=yes
3846 fi
3847 else
3848 result=$wxUSE_LIBMSPACK
3849 fi
3850
3851 { echo "$as_me:$LINENO: result: $result" >&5
3852 echo "${ECHO_T}$result" >&6; }
3853
3854
3855 withstring=without
3856 defaultval=$wxUSE_ALL_FEATURES
3857 if test -z "$defaultval"; then
3858 if test x"$withstring" = xwithout; then
3859 defaultval=yes
3860 else
3861 defaultval=no
3862 fi
3863 fi
3864 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3865 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3866
3867 # Check whether --with-gtkprint was given.
3868 if test "${with_gtkprint+set}" = set; then
3869 withval=$with_gtkprint;
3870 if test "$withval" = yes; then
3871 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3872 else
3873 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3874 fi
3875
3876 else
3877
3878 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3879
3880 fi
3881
3882
3883 eval "$wx_cv_use_gtkprint"
3884
3885 if test x"$withstring" = xwithout; then
3886 if test $wxUSE_GTKPRINT = yes; then
3887 result=no
3888 else
3889 result=yes
3890 fi
3891 else
3892 result=$wxUSE_GTKPRINT
3893 fi
3894
3895 { echo "$as_me:$LINENO: result: $result" >&5
3896 echo "${ECHO_T}$result" >&6; }
3897
3898
3899 withstring=without
3900 defaultval=$wxUSE_ALL_FEATURES
3901 if test -z "$defaultval"; then
3902 if test x"$withstring" = xwithout; then
3903 defaultval=yes
3904 else
3905 defaultval=no
3906 fi
3907 fi
3908 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3909 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3910
3911 # Check whether --with-gnomeprint was given.
3912 if test "${with_gnomeprint+set}" = set; then
3913 withval=$with_gnomeprint;
3914 if test "$withval" = yes; then
3915 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3916 else
3917 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3918 fi
3919
3920 else
3921
3922 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3923
3924 fi
3925
3926
3927 eval "$wx_cv_use_gnomeprint"
3928
3929 if test x"$withstring" = xwithout; then
3930 if test $wxUSE_LIBGNOMEPRINT = yes; then
3931 result=no
3932 else
3933 result=yes
3934 fi
3935 else
3936 result=$wxUSE_LIBGNOMEPRINT
3937 fi
3938
3939 { echo "$as_me:$LINENO: result: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3941
3942
3943 withstring=
3944 defaultval=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x"$withstring" = xwithout; then
3947 defaultval=yes
3948 else
3949 defaultval=no
3950 fi
3951 fi
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3954
3955 # Check whether --with-gnomevfs was given.
3956 if test "${with_gnomevfs+set}" = set; then
3957 withval=$with_gnomevfs;
3958 if test "$withval" = yes; then
3959 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3960 else
3961 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3962 fi
3963
3964 else
3965
3966 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3967
3968 fi
3969
3970
3971 eval "$wx_cv_use_gnomevfs"
3972
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_LIBGNOMEVFS = yes; then
3975 result=no
3976 else
3977 result=yes
3978 fi
3979 else
3980 result=$wxUSE_LIBGNOMEVFS
3981 fi
3982
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3985
3986
3987 withstring=
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3991 defaultval=yes
3992 else
3993 defaultval=no
3994 fi
3995 fi
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3998
3999 # Check whether --with-hildon was given.
4000 if test "${with_hildon+set}" = set; then
4001 withval=$with_hildon;
4002 if test "$withval" = yes; then
4003 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4004 else
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4006 fi
4007
4008 else
4009
4010 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4011
4012 fi
4013
4014
4015 eval "$wx_cv_use_hildon"
4016
4017 if test x"$withstring" = xwithout; then
4018 if test $wxUSE_LIBHILDON = yes; then
4019 result=no
4020 else
4021 result=yes
4022 fi
4023 else
4024 result=$wxUSE_LIBHILDON
4025 fi
4026
4027 { echo "$as_me:$LINENO: result: $result" >&5
4028 echo "${ECHO_T}$result" >&6; }
4029
4030
4031 withstring=
4032 defaultval=$wxUSE_ALL_FEATURES
4033 if test -z "$defaultval"; then
4034 if test x"$withstring" = xwithout; then
4035 defaultval=yes
4036 else
4037 defaultval=no
4038 fi
4039 fi
4040 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4041 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4042
4043 # Check whether --with-opengl was given.
4044 if test "${with_opengl+set}" = set; then
4045 withval=$with_opengl;
4046 if test "$withval" = yes; then
4047 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4048 else
4049 wx_cv_use_opengl='wxUSE_OPENGL=no'
4050 fi
4051
4052 else
4053
4054 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4055
4056 fi
4057
4058
4059 eval "$wx_cv_use_opengl"
4060
4061 if test x"$withstring" = xwithout; then
4062 if test $wxUSE_OPENGL = yes; then
4063 result=no
4064 else
4065 result=yes
4066 fi
4067 else
4068 result=$wxUSE_OPENGL
4069 fi
4070
4071 { echo "$as_me:$LINENO: result: $result" >&5
4072 echo "${ECHO_T}$result" >&6; }
4073
4074
4075 fi
4076
4077
4078 withstring=
4079 defaultval=$wxUSE_ALL_FEATURES
4080 if test -z "$defaultval"; then
4081 if test x"$withstring" = xwithout; then
4082 defaultval=yes
4083 else
4084 defaultval=no
4085 fi
4086 fi
4087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4088 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4089
4090 # Check whether --with-dmalloc was given.
4091 if test "${with_dmalloc+set}" = set; then
4092 withval=$with_dmalloc;
4093 if test "$withval" = yes; then
4094 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4095 else
4096 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4097 fi
4098
4099 else
4100
4101 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4102
4103 fi
4104
4105
4106 eval "$wx_cv_use_dmalloc"
4107
4108 if test x"$withstring" = xwithout; then
4109 if test $wxUSE_DMALLOC = yes; then
4110 result=no
4111 else
4112 result=yes
4113 fi
4114 else
4115 result=$wxUSE_DMALLOC
4116 fi
4117
4118 { echo "$as_me:$LINENO: result: $result" >&5
4119 echo "${ECHO_T}$result" >&6; }
4120
4121
4122 withstring=
4123 defaultval=$wxUSE_ALL_FEATURES
4124 if test -z "$defaultval"; then
4125 if test x"$withstring" = xwithout; then
4126 defaultval=yes
4127 else
4128 defaultval=no
4129 fi
4130 fi
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4133
4134 # Check whether --with-sdl was given.
4135 if test "${with_sdl+set}" = set; then
4136 withval=$with_sdl;
4137 if test "$withval" = yes; then
4138 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4139 else
4140 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4141 fi
4142
4143 else
4144
4145 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4146
4147 fi
4148
4149
4150 eval "$wx_cv_use_sdl"
4151
4152 if test x"$withstring" = xwithout; then
4153 if test $wxUSE_LIBSDL = yes; then
4154 result=no
4155 else
4156 result=yes
4157 fi
4158 else
4159 result=$wxUSE_LIBSDL
4160 fi
4161
4162 { echo "$as_me:$LINENO: result: $result" >&5
4163 echo "${ECHO_T}$result" >&6; }
4164
4165
4166 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4167 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4168
4169 # Check whether --with-regex was given.
4170 if test "${with_regex+set}" = set; then
4171 withval=$with_regex;
4172 if test "$withval" = yes; then
4173 wx_cv_use_regex='wxUSE_REGEX=yes'
4174 elif test "$withval" = no; then
4175 wx_cv_use_regex='wxUSE_REGEX=no'
4176 elif test "$withval" = sys; then
4177 wx_cv_use_regex='wxUSE_REGEX=sys'
4178 elif test "$withval" = builtin; then
4179 wx_cv_use_regex='wxUSE_REGEX=builtin'
4180 else
4181 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4182 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4183 { (exit 1); exit 1; }; }
4184 fi
4185
4186 else
4187
4188 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4189
4190 fi
4191
4192
4193 eval "$wx_cv_use_regex"
4194
4195 if test "$wxUSE_REGEX" = yes; then
4196 { echo "$as_me:$LINENO: result: yes" >&5
4197 echo "${ECHO_T}yes" >&6; }
4198 elif test "$wxUSE_REGEX" = no; then
4199 { echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6; }
4201 elif test "$wxUSE_REGEX" = sys; then
4202 { echo "$as_me:$LINENO: result: system version" >&5
4203 echo "${ECHO_T}system version" >&6; }
4204 elif test "$wxUSE_REGEX" = builtin; then
4205 { echo "$as_me:$LINENO: result: builtin version" >&5
4206 echo "${ECHO_T}builtin version" >&6; }
4207 else
4208 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4209 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4210 { (exit 1); exit 1; }; }
4211 fi
4212
4213
4214 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4215 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4216
4217 # Check whether --with-zlib was given.
4218 if test "${with_zlib+set}" = set; then
4219 withval=$with_zlib;
4220 if test "$withval" = yes; then
4221 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4222 elif test "$withval" = no; then
4223 wx_cv_use_zlib='wxUSE_ZLIB=no'
4224 elif test "$withval" = sys; then
4225 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4226 elif test "$withval" = builtin; then
4227 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234 else
4235
4236 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4237
4238 fi
4239
4240
4241 eval "$wx_cv_use_zlib"
4242
4243 if test "$wxUSE_ZLIB" = yes; then
4244 { echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6; }
4246 elif test "$wxUSE_ZLIB" = no; then
4247 { echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6; }
4249 elif test "$wxUSE_ZLIB" = sys; then
4250 { echo "$as_me:$LINENO: result: system version" >&5
4251 echo "${ECHO_T}system version" >&6; }
4252 elif test "$wxUSE_ZLIB" = builtin; then
4253 { echo "$as_me:$LINENO: result: builtin version" >&5
4254 echo "${ECHO_T}builtin version" >&6; }
4255 else
4256 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4257 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4258 { (exit 1); exit 1; }; }
4259 fi
4260
4261
4262 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4263 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4264
4265 # Check whether --with-expat was given.
4266 if test "${with_expat+set}" = set; then
4267 withval=$with_expat;
4268 if test "$withval" = yes; then
4269 wx_cv_use_expat='wxUSE_EXPAT=yes'
4270 elif test "$withval" = no; then
4271 wx_cv_use_expat='wxUSE_EXPAT=no'
4272 elif test "$withval" = sys; then
4273 wx_cv_use_expat='wxUSE_EXPAT=sys'
4274 elif test "$withval" = builtin; then
4275 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4276 else
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4280 fi
4281
4282 else
4283
4284 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4285
4286 fi
4287
4288
4289 eval "$wx_cv_use_expat"
4290
4291 if test "$wxUSE_EXPAT" = yes; then
4292 { echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6; }
4294 elif test "$wxUSE_EXPAT" = no; then
4295 { echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6; }
4297 elif test "$wxUSE_EXPAT" = sys; then
4298 { echo "$as_me:$LINENO: result: system version" >&5
4299 echo "${ECHO_T}system version" >&6; }
4300 elif test "$wxUSE_EXPAT" = builtin; then
4301 { echo "$as_me:$LINENO: result: builtin version" >&5
4302 echo "${ECHO_T}builtin version" >&6; }
4303 else
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4307 fi
4308
4309
4310 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4311 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4312
4313 # Check whether --with-macosx-sdk was given.
4314 if test "${with_macosx_sdk+set}" = set; then
4315 withval=$with_macosx_sdk;
4316 wxUSE_MACOSX_SDK=$withval
4317 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4318
4319 fi
4320
4321 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4322 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4323
4324 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4325 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4326
4327 # Check whether --with-macosx-version-min was given.
4328 if test "${with_macosx_version_min+set}" = set; then
4329 withval=$with_macosx_version_min;
4330 wxUSE_MACOSX_VERSION_MIN=$withval
4331 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4332
4333 fi
4334
4335 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4336 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4337
4338
4339
4340 enablestring=disable
4341 defaultval=
4342 if test -z "$defaultval"; then
4343 if test x"$enablestring" = xdisable; then
4344 defaultval=yes
4345 else
4346 defaultval=no
4347 fi
4348 fi
4349
4350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4351 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4352 # Check whether --enable-shared was given.
4353 if test "${enable_shared+set}" = set; then
4354 enableval=$enable_shared;
4355 if test "$enableval" = yes; then
4356 wx_cv_use_shared='wxUSE_SHARED=yes'
4357 else
4358 wx_cv_use_shared='wxUSE_SHARED=no'
4359 fi
4360
4361 else
4362
4363 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4364
4365 fi
4366
4367
4368 eval "$wx_cv_use_shared"
4369
4370 if test x"$enablestring" = xdisable; then
4371 if test $wxUSE_SHARED = yes; then
4372 result=no
4373 else
4374 result=yes
4375 fi
4376 else
4377 result=$wxUSE_SHARED
4378 fi
4379
4380 { echo "$as_me:$LINENO: result: $result" >&5
4381 echo "${ECHO_T}$result" >&6; }
4382
4383
4384 enablestring=
4385 defaultval=
4386 if test -z "$defaultval"; then
4387 if test x"$enablestring" = xdisable; then
4388 defaultval=yes
4389 else
4390 defaultval=no
4391 fi
4392 fi
4393
4394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4396 # Check whether --enable-debug was given.
4397 if test "${enable_debug+set}" = set; then
4398 enableval=$enable_debug;
4399 if test "$enableval" = yes; then
4400 wx_cv_use_debug='wxUSE_DEBUG=yes'
4401 else
4402 wx_cv_use_debug='wxUSE_DEBUG=no'
4403 fi
4404
4405 else
4406
4407 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4408
4409 fi
4410
4411
4412 eval "$wx_cv_use_debug"
4413
4414 if test x"$enablestring" = xdisable; then
4415 if test $wxUSE_DEBUG = yes; then
4416 result=no
4417 else
4418 result=yes
4419 fi
4420 else
4421 result=$wxUSE_DEBUG
4422 fi
4423
4424 { echo "$as_me:$LINENO: result: $result" >&5
4425 echo "${ECHO_T}$result" >&6; }
4426
4427
4428 enablestring=
4429 defaultval=
4430 if test -z "$defaultval"; then
4431 if test x"$enablestring" = xdisable; then
4432 defaultval=yes
4433 else
4434 defaultval=no
4435 fi
4436 fi
4437
4438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4440 # Check whether --enable-stl was given.
4441 if test "${enable_stl+set}" = set; then
4442 enableval=$enable_stl;
4443 if test "$enableval" = yes; then
4444 wx_cv_use_stl='wxUSE_STL=yes'
4445 else
4446 wx_cv_use_stl='wxUSE_STL=no'
4447 fi
4448
4449 else
4450
4451 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4452
4453 fi
4454
4455
4456 eval "$wx_cv_use_stl"
4457
4458 if test x"$enablestring" = xdisable; then
4459 if test $wxUSE_STL = yes; then
4460 result=no
4461 else
4462 result=yes
4463 fi
4464 else
4465 result=$wxUSE_STL
4466 fi
4467
4468 { echo "$as_me:$LINENO: result: $result" >&5
4469 echo "${ECHO_T}$result" >&6; }
4470
4471
4472 enablestring=
4473 defaultval=
4474 if test -z "$defaultval"; then
4475 if test x"$enablestring" = xdisable; then
4476 defaultval=yes
4477 else
4478 defaultval=no
4479 fi
4480 fi
4481
4482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4484 # Check whether --enable-std_iostreams was given.
4485 if test "${enable_std_iostreams+set}" = set; then
4486 enableval=$enable_std_iostreams;
4487 if test "$enableval" = yes; then
4488 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4489 else
4490 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4491 fi
4492
4493 else
4494
4495 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4496
4497 fi
4498
4499
4500 eval "$wx_cv_use_std_iostreams"
4501
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_STD_IOSTREAM = yes; then
4504 result=no
4505 else
4506 result=yes
4507 fi
4508 else
4509 result=$wxUSE_STD_IOSTREAM
4510 fi
4511
4512 { echo "$as_me:$LINENO: result: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4514
4515
4516 enablestring=
4517 defaultval=
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4520 defaultval=yes
4521 else
4522 defaultval=no
4523 fi
4524 fi
4525
4526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4528 # Check whether --enable-std_string was given.
4529 if test "${enable_std_string+set}" = set; then
4530 enableval=$enable_std_string;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4533 else
4534 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4535 fi
4536
4537 else
4538
4539 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4540
4541 fi
4542
4543
4544 eval "$wx_cv_use_std_string"
4545
4546 if test x"$enablestring" = xdisable; then
4547 if test $wxUSE_STD_STRING = yes; then
4548 result=no
4549 else
4550 result=yes
4551 fi
4552 else
4553 result=$wxUSE_STD_STRING
4554 fi
4555
4556 { echo "$as_me:$LINENO: result: $result" >&5
4557 echo "${ECHO_T}$result" >&6; }
4558
4559
4560 enablestring=disable
4561 defaultval=
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4564 defaultval=yes
4565 else
4566 defaultval=no
4567 fi
4568 fi
4569
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4572 # Check whether --enable-unicode was given.
4573 if test "${enable_unicode+set}" = set; then
4574 enableval=$enable_unicode;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4577 else
4578 wx_cv_use_unicode='wxUSE_UNICODE=no'
4579 fi
4580
4581 else
4582
4583 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4584
4585 fi
4586
4587
4588 eval "$wx_cv_use_unicode"
4589
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_UNICODE = yes; then
4592 result=no
4593 else
4594 result=yes
4595 fi
4596 else
4597 result=$wxUSE_UNICODE
4598 fi
4599
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4602
4603
4604 enablestring=
4605 defaultval=
4606 if test -z "$defaultval"; then
4607 if test x"$enablestring" = xdisable; then
4608 defaultval=yes
4609 else
4610 defaultval=no
4611 fi
4612 fi
4613
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4616 # Check whether --enable-mslu was given.
4617 if test "${enable_mslu+set}" = set; then
4618 enableval=$enable_mslu;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4621 else
4622 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4623 fi
4624
4625 else
4626
4627 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4628
4629 fi
4630
4631
4632 eval "$wx_cv_use_mslu"
4633
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_UNICODE_MSLU = yes; then
4636 result=no
4637 else
4638 result=yes
4639 fi
4640 else
4641 result=$wxUSE_UNICODE_MSLU
4642 fi
4643
4644 { echo "$as_me:$LINENO: result: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4646
4647
4648 enablestring=
4649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4651 # Check whether --enable-utf8 was given.
4652 if test "${enable_utf8+set}" = set; then
4653 enableval=$enable_utf8;
4654 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4655
4656 else
4657
4658 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4659
4660 fi
4661
4662
4663 eval "$wx_cv_use_utf8"
4664
4665 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4666 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4667
4668
4669 enablestring=
4670 defaultval=
4671 if test -z "$defaultval"; then
4672 if test x"$enablestring" = xdisable; then
4673 defaultval=yes
4674 else
4675 defaultval=no
4676 fi
4677 fi
4678
4679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4681 # Check whether --enable-utf8only was given.
4682 if test "${enable_utf8only+set}" = set; then
4683 enableval=$enable_utf8only;
4684 if test "$enableval" = yes; then
4685 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4686 else
4687 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4688 fi
4689
4690 else
4691
4692 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4693
4694 fi
4695
4696
4697 eval "$wx_cv_use_utf8only"
4698
4699 if test x"$enablestring" = xdisable; then
4700 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4701 result=no
4702 else
4703 result=yes
4704 fi
4705 else
4706 result=$wxUSE_UNICODE_UTF8_LOCALE
4707 fi
4708
4709 { echo "$as_me:$LINENO: result: $result" >&5
4710 echo "${ECHO_T}$result" >&6; }
4711
4712
4713 enablestring=
4714 defaultval=
4715 if test -z "$defaultval"; then
4716 if test x"$enablestring" = xdisable; then
4717 defaultval=yes
4718 else
4719 defaultval=no
4720 fi
4721 fi
4722
4723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4725 # Check whether --enable-extended_rtti was given.
4726 if test "${enable_extended_rtti+set}" = set; then
4727 enableval=$enable_extended_rtti;
4728 if test "$enableval" = yes; then
4729 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4730 else
4731 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4732 fi
4733
4734 else
4735
4736 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4737
4738 fi
4739
4740
4741 eval "$wx_cv_use_extended_rtti"
4742
4743 if test x"$enablestring" = xdisable; then
4744 if test $wxUSE_EXTENDED_RTTI = yes; then
4745 result=no
4746 else
4747 result=yes
4748 fi
4749 else
4750 result=$wxUSE_EXTENDED_RTTI
4751 fi
4752
4753 { echo "$as_me:$LINENO: result: $result" >&5
4754 echo "${ECHO_T}$result" >&6; }
4755
4756 if test "$USE_OS2" = 1; then
4757 DEFAULT_wxUSE_OMF=no
4758
4759 enablestring=
4760 defaultval=
4761 if test -z "$defaultval"; then
4762 if test x"$enablestring" = xdisable; then
4763 defaultval=yes
4764 else
4765 defaultval=no
4766 fi
4767 fi
4768
4769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4770 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4771 # Check whether --enable-omf was given.
4772 if test "${enable_omf+set}" = set; then
4773 enableval=$enable_omf;
4774 if test "$enableval" = yes; then
4775 wx_cv_use_omf='wxUSE_OMF=yes'
4776 else
4777 wx_cv_use_omf='wxUSE_OMF=no'
4778 fi
4779
4780 else
4781
4782 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4783
4784 fi
4785
4786
4787 eval "$wx_cv_use_omf"
4788
4789 if test x"$enablestring" = xdisable; then
4790 if test $wxUSE_OMF = yes; then
4791 result=no
4792 else
4793 result=yes
4794 fi
4795 else
4796 result=$wxUSE_OMF
4797 fi
4798
4799 { echo "$as_me:$LINENO: result: $result" >&5
4800 echo "${ECHO_T}$result" >&6; }
4801
4802 fi
4803
4804 if test "$wxUSE_DEBUG" = "yes"; then
4805 DEFAULT_wxUSE_DEBUG_FLAG=yes
4806 DEFAULT_wxUSE_DEBUG_INFO=yes
4807 BUILD=debug
4808 elif test "$wxUSE_DEBUG" = "no"; then
4809 DEFAULT_wxUSE_DEBUG_FLAG=no
4810 DEFAULT_wxUSE_DEBUG_INFO=no
4811 BUILD=release
4812 fi
4813
4814
4815 enablestring=
4816 defaultval=
4817 if test -z "$defaultval"; then
4818 if test x"$enablestring" = xdisable; then
4819 defaultval=yes
4820 else
4821 defaultval=no
4822 fi
4823 fi
4824
4825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4826 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4827 # Check whether --enable-debug_flag was given.
4828 if test "${enable_debug_flag+set}" = set; then
4829 enableval=$enable_debug_flag;
4830 if test "$enableval" = yes; then
4831 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4832 else
4833 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4834 fi
4835
4836 else
4837
4838 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4839
4840 fi
4841
4842
4843 eval "$wx_cv_use_debug_flag"
4844
4845 if test x"$enablestring" = xdisable; then
4846 if test $wxUSE_DEBUG_FLAG = yes; then
4847 result=no
4848 else
4849 result=yes
4850 fi
4851 else
4852 result=$wxUSE_DEBUG_FLAG
4853 fi
4854
4855 { echo "$as_me:$LINENO: result: $result" >&5
4856 echo "${ECHO_T}$result" >&6; }
4857
4858
4859 enablestring=
4860 defaultval=
4861 if test -z "$defaultval"; then
4862 if test x"$enablestring" = xdisable; then
4863 defaultval=yes
4864 else
4865 defaultval=no
4866 fi
4867 fi
4868
4869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4870 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4871 # Check whether --enable-debug_info was given.
4872 if test "${enable_debug_info+set}" = set; then
4873 enableval=$enable_debug_info;
4874 if test "$enableval" = yes; then
4875 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4876 else
4877 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4878 fi
4879
4880 else
4881
4882 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_debug_info"
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_DEBUG_INFO = yes; then
4891 result=no
4892 else
4893 result=yes
4894 fi
4895 else
4896 result=$wxUSE_DEBUG_INFO
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4904 wxUSE_DEBUG=yes
4905 BUILD=debug
4906 fi
4907
4908 if test "$wxUSE_DEBUG" = "yes"; then
4909 DEFAULT_wxUSE_OPTIMISE=no
4910 fi
4911
4912
4913 enablestring=disable
4914 defaultval=
4915 if test -z "$defaultval"; then
4916 if test x"$enablestring" = xdisable; then
4917 defaultval=yes
4918 else
4919 defaultval=no
4920 fi
4921 fi
4922
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4925 # Check whether --enable-optimise was given.
4926 if test "${enable_optimise+set}" = set; then
4927 enableval=$enable_optimise;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4930 else
4931 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4932 fi
4933
4934 else
4935
4936 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4937
4938 fi
4939
4940
4941 eval "$wx_cv_use_optimise"
4942
4943 if test x"$enablestring" = xdisable; then
4944 if test $wxUSE_OPTIMISE = yes; then
4945 result=no
4946 else
4947 result=yes
4948 fi
4949 else
4950 result=$wxUSE_OPTIMISE
4951 fi
4952
4953 { echo "$as_me:$LINENO: result: $result" >&5
4954 echo "${ECHO_T}$result" >&6; }
4955
4956
4957
4958 enablestring=
4959 defaultval=
4960 if test -z "$defaultval"; then
4961 if test x"$enablestring" = xdisable; then
4962 defaultval=yes
4963 else
4964 defaultval=no
4965 fi
4966 fi
4967
4968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4970 # Check whether --enable-debug_gdb was given.
4971 if test "${enable_debug_gdb+set}" = set; then
4972 enableval=$enable_debug_gdb;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4975 else
4976 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4977 fi
4978
4979 else
4980
4981 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4982
4983 fi
4984
4985
4986 eval "$wx_cv_use_debug_gdb"
4987
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_DEBUG_GDB = yes; then
4990 result=no
4991 else
4992 result=yes
4993 fi
4994 else
4995 result=$wxUSE_DEBUG_GDB
4996 fi
4997
4998 { echo "$as_me:$LINENO: result: $result" >&5
4999 echo "${ECHO_T}$result" >&6; }
5000
5001
5002 enablestring=
5003 defaultval=
5004 if test -z "$defaultval"; then
5005 if test x"$enablestring" = xdisable; then
5006 defaultval=yes
5007 else
5008 defaultval=no
5009 fi
5010 fi
5011
5012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5014 # Check whether --enable-debug_cntxt was given.
5015 if test "${enable_debug_cntxt+set}" = set; then
5016 enableval=$enable_debug_cntxt;
5017 if test "$enableval" = yes; then
5018 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5019 else
5020 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5021 fi
5022
5023 else
5024
5025 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5026
5027 fi
5028
5029
5030 eval "$wx_cv_use_debug_cntxt"
5031
5032 if test x"$enablestring" = xdisable; then
5033 if test $wxUSE_DEBUG_CONTEXT = yes; then
5034 result=no
5035 else
5036 result=yes
5037 fi
5038 else
5039 result=$wxUSE_DEBUG_CONTEXT
5040 fi
5041
5042 { echo "$as_me:$LINENO: result: $result" >&5
5043 echo "${ECHO_T}$result" >&6; }
5044
5045
5046 enablestring=
5047 defaultval=
5048 if test -z "$defaultval"; then
5049 if test x"$enablestring" = xdisable; then
5050 defaultval=yes
5051 else
5052 defaultval=no
5053 fi
5054 fi
5055
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5058 # Check whether --enable-mem_tracing was given.
5059 if test "${enable_mem_tracing+set}" = set; then
5060 enableval=$enable_mem_tracing;
5061 if test "$enableval" = yes; then
5062 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5063 else
5064 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5065 fi
5066
5067 else
5068
5069 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5070
5071 fi
5072
5073
5074 eval "$wx_cv_use_mem_tracing"
5075
5076 if test x"$enablestring" = xdisable; then
5077 if test $wxUSE_MEM_TRACING = yes; then
5078 result=no
5079 else
5080 result=yes
5081 fi
5082 else
5083 result=$wxUSE_MEM_TRACING
5084 fi
5085
5086 { echo "$as_me:$LINENO: result: $result" >&5
5087 echo "${ECHO_T}$result" >&6; }
5088
5089
5090 enablestring=
5091 defaultval=
5092 if test -z "$defaultval"; then
5093 if test x"$enablestring" = xdisable; then
5094 defaultval=yes
5095 else
5096 defaultval=no
5097 fi
5098 fi
5099
5100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5102 # Check whether --enable-profile was given.
5103 if test "${enable_profile+set}" = set; then
5104 enableval=$enable_profile;
5105 if test "$enableval" = yes; then
5106 wx_cv_use_profile='wxUSE_PROFILE=yes'
5107 else
5108 wx_cv_use_profile='wxUSE_PROFILE=no'
5109 fi
5110
5111 else
5112
5113 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5114
5115 fi
5116
5117
5118 eval "$wx_cv_use_profile"
5119
5120 if test x"$enablestring" = xdisable; then
5121 if test $wxUSE_PROFILE = yes; then
5122 result=no
5123 else
5124 result=yes
5125 fi
5126 else
5127 result=$wxUSE_PROFILE
5128 fi
5129
5130 { echo "$as_me:$LINENO: result: $result" >&5
5131 echo "${ECHO_T}$result" >&6; }
5132
5133
5134 enablestring=
5135 defaultval=
5136 if test -z "$defaultval"; then
5137 if test x"$enablestring" = xdisable; then
5138 defaultval=yes
5139 else
5140 defaultval=no
5141 fi
5142 fi
5143
5144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5145 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5146 # Check whether --enable-no_rtti was given.
5147 if test "${enable_no_rtti+set}" = set; then
5148 enableval=$enable_no_rtti;
5149 if test "$enableval" = yes; then
5150 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5151 else
5152 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5153 fi
5154
5155 else
5156
5157 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5158
5159 fi
5160
5161
5162 eval "$wx_cv_use_no_rtti"
5163
5164 if test x"$enablestring" = xdisable; then
5165 if test $wxUSE_NO_RTTI = yes; then
5166 result=no
5167 else
5168 result=yes
5169 fi
5170 else
5171 result=$wxUSE_NO_RTTI
5172 fi
5173
5174 { echo "$as_me:$LINENO: result: $result" >&5
5175 echo "${ECHO_T}$result" >&6; }
5176
5177
5178 enablestring=
5179 defaultval=
5180 if test -z "$defaultval"; then
5181 if test x"$enablestring" = xdisable; then
5182 defaultval=yes
5183 else
5184 defaultval=no
5185 fi
5186 fi
5187
5188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5190 # Check whether --enable-no_exceptions was given.
5191 if test "${enable_no_exceptions+set}" = set; then
5192 enableval=$enable_no_exceptions;
5193 if test "$enableval" = yes; then
5194 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5195 else
5196 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5197 fi
5198
5199 else
5200
5201 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5202
5203 fi
5204
5205
5206 eval "$wx_cv_use_no_exceptions"
5207
5208 if test x"$enablestring" = xdisable; then
5209 if test $wxUSE_NO_EXCEPTIONS = yes; then
5210 result=no
5211 else
5212 result=yes
5213 fi
5214 else
5215 result=$wxUSE_NO_EXCEPTIONS
5216 fi
5217
5218 { echo "$as_me:$LINENO: result: $result" >&5
5219 echo "${ECHO_T}$result" >&6; }
5220
5221
5222 enablestring=
5223 defaultval=
5224 if test -z "$defaultval"; then
5225 if test x"$enablestring" = xdisable; then
5226 defaultval=yes
5227 else
5228 defaultval=no
5229 fi
5230 fi
5231
5232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5234 # Check whether --enable-permissive was given.
5235 if test "${enable_permissive+set}" = set; then
5236 enableval=$enable_permissive;
5237 if test "$enableval" = yes; then
5238 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5239 else
5240 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5241 fi
5242
5243 else
5244
5245 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5246
5247 fi
5248
5249
5250 eval "$wx_cv_use_permissive"
5251
5252 if test x"$enablestring" = xdisable; then
5253 if test $wxUSE_PERMISSIVE = yes; then
5254 result=no
5255 else
5256 result=yes
5257 fi
5258 else
5259 result=$wxUSE_PERMISSIVE
5260 fi
5261
5262 { echo "$as_me:$LINENO: result: $result" >&5
5263 echo "${ECHO_T}$result" >&6; }
5264
5265
5266 enablestring=
5267 defaultval=
5268 if test -z "$defaultval"; then
5269 if test x"$enablestring" = xdisable; then
5270 defaultval=yes
5271 else
5272 defaultval=no
5273 fi
5274 fi
5275
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5278 # Check whether --enable-no_deps was given.
5279 if test "${enable_no_deps+set}" = set; then
5280 enableval=$enable_no_deps;
5281 if test "$enableval" = yes; then
5282 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5283 else
5284 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5285 fi
5286
5287 else
5288
5289 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5290
5291 fi
5292
5293
5294 eval "$wx_cv_use_no_deps"
5295
5296 if test x"$enablestring" = xdisable; then
5297 if test $wxUSE_NO_DEPS = yes; then
5298 result=no
5299 else
5300 result=yes
5301 fi
5302 else
5303 result=$wxUSE_NO_DEPS
5304 fi
5305
5306 { echo "$as_me:$LINENO: result: $result" >&5
5307 echo "${ECHO_T}$result" >&6; }
5308
5309
5310 enablestring=disable
5311 defaultval=
5312 if test -z "$defaultval"; then
5313 if test x"$enablestring" = xdisable; then
5314 defaultval=yes
5315 else
5316 defaultval=no
5317 fi
5318 fi
5319
5320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5322 # Check whether --enable-vararg_macros was given.
5323 if test "${enable_vararg_macros+set}" = set; then
5324 enableval=$enable_vararg_macros;
5325 if test "$enableval" = yes; then
5326 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5327 else
5328 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5329 fi
5330
5331 else
5332
5333 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5334
5335 fi
5336
5337
5338 eval "$wx_cv_use_vararg_macros"
5339
5340 if test x"$enablestring" = xdisable; then
5341 if test $wxUSE_VARARG_MACROS = yes; then
5342 result=no
5343 else
5344 result=yes
5345 fi
5346 else
5347 result=$wxUSE_VARARG_MACROS
5348 fi
5349
5350 { echo "$as_me:$LINENO: result: $result" >&5
5351 echo "${ECHO_T}$result" >&6; }
5352
5353
5354 enablestring=
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5357 # Check whether --enable-universal_binary was given.
5358 if test "${enable_universal_binary+set}" = set; then
5359 enableval=$enable_universal_binary;
5360 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5361
5362 else
5363
5364 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5365
5366 fi
5367
5368
5369 eval "$wx_cv_use_universal_binary"
5370
5371 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5372 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5373
5374
5375
5376 enablestring=
5377 defaultval=
5378 if test -z "$defaultval"; then
5379 if test x"$enablestring" = xdisable; then
5380 defaultval=yes
5381 else
5382 defaultval=no
5383 fi
5384 fi
5385
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5388 # Check whether --enable-compat26 was given.
5389 if test "${enable_compat26+set}" = set; then
5390 enableval=$enable_compat26;
5391 if test "$enableval" = yes; then
5392 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5393 else
5394 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5395 fi
5396
5397 else
5398
5399 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5400
5401 fi
5402
5403
5404 eval "$wx_cv_use_compat26"
5405
5406 if test x"$enablestring" = xdisable; then
5407 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5408 result=no
5409 else
5410 result=yes
5411 fi
5412 else
5413 result=$WXWIN_COMPATIBILITY_2_6
5414 fi
5415
5416 { echo "$as_me:$LINENO: result: $result" >&5
5417 echo "${ECHO_T}$result" >&6; }
5418
5419
5420 enablestring=disable
5421 defaultval=
5422 if test -z "$defaultval"; then
5423 if test x"$enablestring" = xdisable; then
5424 defaultval=yes
5425 else
5426 defaultval=no
5427 fi
5428 fi
5429
5430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5432 # Check whether --enable-compat28 was given.
5433 if test "${enable_compat28+set}" = set; then
5434 enableval=$enable_compat28;
5435 if test "$enableval" = yes; then
5436 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5437 else
5438 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5439 fi
5440
5441 else
5442
5443 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5444
5445 fi
5446
5447
5448 eval "$wx_cv_use_compat28"
5449
5450 if test x"$enablestring" = xdisable; then
5451 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5452 result=no
5453 else
5454 result=yes
5455 fi
5456 else
5457 result=$WXWIN_COMPATIBILITY_2_8
5458 fi
5459
5460 { echo "$as_me:$LINENO: result: $result" >&5
5461 echo "${ECHO_T}$result" >&6; }
5462
5463
5464
5465 enablestring=disable
5466 defaultval=
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5469 defaultval=yes
5470 else
5471 defaultval=no
5472 fi
5473 fi
5474
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5477 # Check whether --enable-rpath was given.
5478 if test "${enable_rpath+set}" = set; then
5479 enableval=$enable_rpath;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_rpath='wxUSE_RPATH=yes'
5482 else
5483 wx_cv_use_rpath='wxUSE_RPATH=no'
5484 fi
5485
5486 else
5487
5488 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5489
5490 fi
5491
5492
5493 eval "$wx_cv_use_rpath"
5494
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_RPATH = yes; then
5497 result=no
5498 else
5499 result=yes
5500 fi
5501 else
5502 result=$wxUSE_RPATH
5503 fi
5504
5505 { echo "$as_me:$LINENO: result: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5507
5508
5509
5510 enablestring=
5511 defaultval=
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5522 # Check whether --enable-objc_uniquifying was given.
5523 if test "${enable_objc_uniquifying+set}" = set; then
5524 enableval=$enable_objc_uniquifying;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5527 else
5528 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5529 fi
5530
5531 else
5532
5533 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5534
5535 fi
5536
5537
5538 eval "$wx_cv_use_objc_uniquifying"
5539
5540 if test x"$enablestring" = xdisable; then
5541 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5542 result=no
5543 else
5544 result=yes
5545 fi
5546 else
5547 result=$wxUSE_OBJC_UNIQUIFYING
5548 fi
5549
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5552
5553
5554
5555 enablestring=disable
5556 defaultval=
5557 if test -z "$defaultval"; then
5558 if test x"$enablestring" = xdisable; then
5559 defaultval=yes
5560 else
5561 defaultval=no
5562 fi
5563 fi
5564
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5567 # Check whether --enable-visibility was given.
5568 if test "${enable_visibility+set}" = set; then
5569 enableval=$enable_visibility;
5570 if test "$enableval" = yes; then
5571 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5572 else
5573 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5574 fi
5575
5576 else
5577
5578 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5579
5580 fi
5581
5582
5583 eval "$wx_cv_use_visibility"
5584
5585 if test x"$enablestring" = xdisable; then
5586 if test $wxUSE_VISIBILITY = yes; then
5587 result=no
5588 else
5589 result=yes
5590 fi
5591 else
5592 result=$wxUSE_VISIBILITY
5593 fi
5594
5595 { echo "$as_me:$LINENO: result: $result" >&5
5596 echo "${ECHO_T}$result" >&6; }
5597
5598
5599
5600
5601 enablestring=
5602 defaultval=$wxUSE_ALL_FEATURES
5603 if test -z "$defaultval"; then
5604 if test x"$enablestring" = xdisable; then
5605 defaultval=yes
5606 else
5607 defaultval=no
5608 fi
5609 fi
5610
5611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5612 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5613 # Check whether --enable-intl was given.
5614 if test "${enable_intl+set}" = set; then
5615 enableval=$enable_intl;
5616 if test "$enableval" = yes; then
5617 wx_cv_use_intl='wxUSE_INTL=yes'
5618 else
5619 wx_cv_use_intl='wxUSE_INTL=no'
5620 fi
5621
5622 else
5623
5624 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5625
5626 fi
5627
5628
5629 eval "$wx_cv_use_intl"
5630
5631 if test x"$enablestring" = xdisable; then
5632 if test $wxUSE_INTL = yes; then
5633 result=no
5634 else
5635 result=yes
5636 fi
5637 else
5638 result=$wxUSE_INTL
5639 fi
5640
5641 { echo "$as_me:$LINENO: result: $result" >&5
5642 echo "${ECHO_T}$result" >&6; }
5643
5644
5645 enablestring=
5646 defaultval=$wxUSE_ALL_FEATURES
5647 if test -z "$defaultval"; then
5648 if test x"$enablestring" = xdisable; then
5649 defaultval=yes
5650 else
5651 defaultval=no
5652 fi
5653 fi
5654
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5657 # Check whether --enable-xlocale was given.
5658 if test "${enable_xlocale+set}" = set; then
5659 enableval=$enable_xlocale;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5662 else
5663 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5664 fi
5665
5666 else
5667
5668 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5669
5670 fi
5671
5672
5673 eval "$wx_cv_use_xlocale"
5674
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_XLOCALE = yes; then
5677 result=no
5678 else
5679 result=yes
5680 fi
5681 else
5682 result=$wxUSE_XLOCALE
5683 fi
5684
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5687
5688
5689 enablestring=
5690 defaultval=$wxUSE_ALL_FEATURES
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5693 defaultval=yes
5694 else
5695 defaultval=no
5696 fi
5697 fi
5698
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5701 # Check whether --enable-config was given.
5702 if test "${enable_config+set}" = set; then
5703 enableval=$enable_config;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_config='wxUSE_CONFIG=yes'
5706 else
5707 wx_cv_use_config='wxUSE_CONFIG=no'
5708 fi
5709
5710 else
5711
5712 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5713
5714 fi
5715
5716
5717 eval "$wx_cv_use_config"
5718
5719 if test x"$enablestring" = xdisable; then
5720 if test $wxUSE_CONFIG = yes; then
5721 result=no
5722 else
5723 result=yes
5724 fi
5725 else
5726 result=$wxUSE_CONFIG
5727 fi
5728
5729 { echo "$as_me:$LINENO: result: $result" >&5
5730 echo "${ECHO_T}$result" >&6; }
5731
5732
5733
5734 enablestring=
5735 defaultval=$wxUSE_ALL_FEATURES
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5738 defaultval=yes
5739 else
5740 defaultval=no
5741 fi
5742 fi
5743
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5746 # Check whether --enable-protocols was given.
5747 if test "${enable_protocols+set}" = set; then
5748 enableval=$enable_protocols;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5751 else
5752 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5753 fi
5754
5755 else
5756
5757 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5758
5759 fi
5760
5761
5762 eval "$wx_cv_use_protocols"
5763
5764 if test x"$enablestring" = xdisable; then
5765 if test $wxUSE_PROTOCOL = yes; then
5766 result=no
5767 else
5768 result=yes
5769 fi
5770 else
5771 result=$wxUSE_PROTOCOL
5772 fi
5773
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5776
5777
5778 enablestring=
5779 defaultval=$wxUSE_ALL_FEATURES
5780 if test -z "$defaultval"; then
5781 if test x"$enablestring" = xdisable; then
5782 defaultval=yes
5783 else
5784 defaultval=no
5785 fi
5786 fi
5787
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5790 # Check whether --enable-ftp was given.
5791 if test "${enable_ftp+set}" = set; then
5792 enableval=$enable_ftp;
5793 if test "$enableval" = yes; then
5794 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5795 else
5796 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5797 fi
5798
5799 else
5800
5801 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5802
5803 fi
5804
5805
5806 eval "$wx_cv_use_ftp"
5807
5808 if test x"$enablestring" = xdisable; then
5809 if test $wxUSE_PROTOCOL_FTP = yes; then
5810 result=no
5811 else
5812 result=yes
5813 fi
5814 else
5815 result=$wxUSE_PROTOCOL_FTP
5816 fi
5817
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5820
5821
5822 enablestring=
5823 defaultval=$wxUSE_ALL_FEATURES
5824 if test -z "$defaultval"; then
5825 if test x"$enablestring" = xdisable; then
5826 defaultval=yes
5827 else
5828 defaultval=no
5829 fi
5830 fi
5831
5832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5834 # Check whether --enable-http was given.
5835 if test "${enable_http+set}" = set; then
5836 enableval=$enable_http;
5837 if test "$enableval" = yes; then
5838 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5839 else
5840 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5841 fi
5842
5843 else
5844
5845 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5846
5847 fi
5848
5849
5850 eval "$wx_cv_use_http"
5851
5852 if test x"$enablestring" = xdisable; then
5853 if test $wxUSE_PROTOCOL_HTTP = yes; then
5854 result=no
5855 else
5856 result=yes
5857 fi
5858 else
5859 result=$wxUSE_PROTOCOL_HTTP
5860 fi
5861
5862 { echo "$as_me:$LINENO: result: $result" >&5
5863 echo "${ECHO_T}$result" >&6; }
5864
5865
5866 enablestring=
5867 defaultval=$wxUSE_ALL_FEATURES
5868 if test -z "$defaultval"; then
5869 if test x"$enablestring" = xdisable; then
5870 defaultval=yes
5871 else
5872 defaultval=no
5873 fi
5874 fi
5875
5876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5878 # Check whether --enable-fileproto was given.
5879 if test "${enable_fileproto+set}" = set; then
5880 enableval=$enable_fileproto;
5881 if test "$enableval" = yes; then
5882 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5883 else
5884 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5885 fi
5886
5887 else
5888
5889 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5890
5891 fi
5892
5893
5894 eval "$wx_cv_use_fileproto"
5895
5896 if test x"$enablestring" = xdisable; then
5897 if test $wxUSE_PROTOCOL_FILE = yes; then
5898 result=no
5899 else
5900 result=yes
5901 fi
5902 else
5903 result=$wxUSE_PROTOCOL_FILE
5904 fi
5905
5906 { echo "$as_me:$LINENO: result: $result" >&5
5907 echo "${ECHO_T}$result" >&6; }
5908
5909
5910 enablestring=
5911 defaultval=$wxUSE_ALL_FEATURES
5912 if test -z "$defaultval"; then
5913 if test x"$enablestring" = xdisable; then
5914 defaultval=yes
5915 else
5916 defaultval=no
5917 fi
5918 fi
5919
5920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5922 # Check whether --enable-sockets was given.
5923 if test "${enable_sockets+set}" = set; then
5924 enableval=$enable_sockets;
5925 if test "$enableval" = yes; then
5926 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5927 else
5928 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5929 fi
5930
5931 else
5932
5933 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5934
5935 fi
5936
5937
5938 eval "$wx_cv_use_sockets"
5939
5940 if test x"$enablestring" = xdisable; then
5941 if test $wxUSE_SOCKETS = yes; then
5942 result=no
5943 else
5944 result=yes
5945 fi
5946 else
5947 result=$wxUSE_SOCKETS
5948 fi
5949
5950 { echo "$as_me:$LINENO: result: $result" >&5
5951 echo "${ECHO_T}$result" >&6; }
5952
5953
5954 enablestring=
5955 defaultval=$wxUSE_ALL_FEATURES
5956 if test -z "$defaultval"; then
5957 if test x"$enablestring" = xdisable; then
5958 defaultval=yes
5959 else
5960 defaultval=no
5961 fi
5962 fi
5963
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5966 # Check whether --enable-ipv6 was given.
5967 if test "${enable_ipv6+set}" = set; then
5968 enableval=$enable_ipv6;
5969 if test "$enableval" = yes; then
5970 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5971 else
5972 wx_cv_use_ipv6='wxUSE_IPV6=no'
5973 fi
5974
5975 else
5976
5977 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5978
5979 fi
5980
5981
5982 eval "$wx_cv_use_ipv6"
5983
5984 if test x"$enablestring" = xdisable; then
5985 if test $wxUSE_IPV6 = yes; then
5986 result=no
5987 else
5988 result=yes
5989 fi
5990 else
5991 result=$wxUSE_IPV6
5992 fi
5993
5994 { echo "$as_me:$LINENO: result: $result" >&5
5995 echo "${ECHO_T}$result" >&6; }
5996
5997
5998 enablestring=
5999 defaultval=$wxUSE_ALL_FEATURES
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6002 defaultval=yes
6003 else
6004 defaultval=no
6005 fi
6006 fi
6007
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6010 # Check whether --enable-ole was given.
6011 if test "${enable_ole+set}" = set; then
6012 enableval=$enable_ole;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_ole='wxUSE_OLE=yes'
6015 else
6016 wx_cv_use_ole='wxUSE_OLE=no'
6017 fi
6018
6019 else
6020
6021 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6022
6023 fi
6024
6025
6026 eval "$wx_cv_use_ole"
6027
6028 if test x"$enablestring" = xdisable; then
6029 if test $wxUSE_OLE = yes; then
6030 result=no
6031 else
6032 result=yes
6033 fi
6034 else
6035 result=$wxUSE_OLE
6036 fi
6037
6038 { echo "$as_me:$LINENO: result: $result" >&5
6039 echo "${ECHO_T}$result" >&6; }
6040
6041
6042 enablestring=
6043 defaultval=$wxUSE_ALL_FEATURES
6044 if test -z "$defaultval"; then
6045 if test x"$enablestring" = xdisable; then
6046 defaultval=yes
6047 else
6048 defaultval=no
6049 fi
6050 fi
6051
6052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6054 # Check whether --enable-dataobj was given.
6055 if test "${enable_dataobj+set}" = set; then
6056 enableval=$enable_dataobj;
6057 if test "$enableval" = yes; then
6058 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6059 else
6060 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6061 fi
6062
6063 else
6064
6065 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6066
6067 fi
6068
6069
6070 eval "$wx_cv_use_dataobj"
6071
6072 if test x"$enablestring" = xdisable; then
6073 if test $wxUSE_DATAOBJ = yes; then
6074 result=no
6075 else
6076 result=yes
6077 fi
6078 else
6079 result=$wxUSE_DATAOBJ
6080 fi
6081
6082 { echo "$as_me:$LINENO: result: $result" >&5
6083 echo "${ECHO_T}$result" >&6; }
6084
6085
6086
6087 enablestring=
6088 defaultval=$wxUSE_ALL_FEATURES
6089 if test -z "$defaultval"; then
6090 if test x"$enablestring" = xdisable; then
6091 defaultval=yes
6092 else
6093 defaultval=no
6094 fi
6095 fi
6096
6097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6099 # Check whether --enable-ipc was given.
6100 if test "${enable_ipc+set}" = set; then
6101 enableval=$enable_ipc;
6102 if test "$enableval" = yes; then
6103 wx_cv_use_ipc='wxUSE_IPC=yes'
6104 else
6105 wx_cv_use_ipc='wxUSE_IPC=no'
6106 fi
6107
6108 else
6109
6110 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6111
6112 fi
6113
6114
6115 eval "$wx_cv_use_ipc"
6116
6117 if test x"$enablestring" = xdisable; then
6118 if test $wxUSE_IPC = yes; then
6119 result=no
6120 else
6121 result=yes
6122 fi
6123 else
6124 result=$wxUSE_IPC
6125 fi
6126
6127 { echo "$as_me:$LINENO: result: $result" >&5
6128 echo "${ECHO_T}$result" >&6; }
6129
6130
6131
6132 enablestring=
6133 defaultval=$wxUSE_ALL_FEATURES
6134 if test -z "$defaultval"; then
6135 if test x"$enablestring" = xdisable; then
6136 defaultval=yes
6137 else
6138 defaultval=no
6139 fi
6140 fi
6141
6142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6143 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6144 # Check whether --enable-baseevtloop was given.
6145 if test "${enable_baseevtloop+set}" = set; then
6146 enableval=$enable_baseevtloop;
6147 if test "$enableval" = yes; then
6148 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6149 else
6150 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6151 fi
6152
6153 else
6154
6155 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6156
6157 fi
6158
6159
6160 eval "$wx_cv_use_baseevtloop"
6161
6162 if test x"$enablestring" = xdisable; then
6163 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6164 result=no
6165 else
6166 result=yes
6167 fi
6168 else
6169 result=$wxUSE_CONSOLE_EVENTLOOP
6170 fi
6171
6172 { echo "$as_me:$LINENO: result: $result" >&5
6173 echo "${ECHO_T}$result" >&6; }
6174
6175
6176 enablestring=
6177 defaultval=$wxUSE_ALL_FEATURES
6178 if test -z "$defaultval"; then
6179 if test x"$enablestring" = xdisable; then
6180 defaultval=yes
6181 else
6182 defaultval=no
6183 fi
6184 fi
6185
6186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6188 # Check whether --enable-epollloop was given.
6189 if test "${enable_epollloop+set}" = set; then
6190 enableval=$enable_epollloop;
6191 if test "$enableval" = yes; then
6192 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6193 else
6194 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6195 fi
6196
6197 else
6198
6199 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6200
6201 fi
6202
6203
6204 eval "$wx_cv_use_epollloop"
6205
6206 if test x"$enablestring" = xdisable; then
6207 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6208 result=no
6209 else
6210 result=yes
6211 fi
6212 else
6213 result=$wxUSE_EPOLL_DISPATCHER
6214 fi
6215
6216 { echo "$as_me:$LINENO: result: $result" >&5
6217 echo "${ECHO_T}$result" >&6; }
6218
6219
6220 enablestring=
6221 defaultval=$wxUSE_ALL_FEATURES
6222 if test -z "$defaultval"; then
6223 if test x"$enablestring" = xdisable; then
6224 defaultval=yes
6225 else
6226 defaultval=no
6227 fi
6228 fi
6229
6230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6231 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6232 # Check whether --enable-selectloop was given.
6233 if test "${enable_selectloop+set}" = set; then
6234 enableval=$enable_selectloop;
6235 if test "$enableval" = yes; then
6236 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6237 else
6238 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6239 fi
6240
6241 else
6242
6243 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6244
6245 fi
6246
6247
6248 eval "$wx_cv_use_selectloop"
6249
6250 if test x"$enablestring" = xdisable; then
6251 if test $wxUSE_SELECT_DISPATCHER = yes; then
6252 result=no
6253 else
6254 result=yes
6255 fi
6256 else
6257 result=$wxUSE_SELECT_DISPATCHER
6258 fi
6259
6260 { echo "$as_me:$LINENO: result: $result" >&5
6261 echo "${ECHO_T}$result" >&6; }
6262
6263
6264
6265 enablestring=
6266 defaultval=$wxUSE_ALL_FEATURES
6267 if test -z "$defaultval"; then
6268 if test x"$enablestring" = xdisable; then
6269 defaultval=yes
6270 else
6271 defaultval=no
6272 fi
6273 fi
6274
6275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6277 # Check whether --enable-apple_ieee was given.
6278 if test "${enable_apple_ieee+set}" = set; then
6279 enableval=$enable_apple_ieee;
6280 if test "$enableval" = yes; then
6281 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6282 else
6283 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6284 fi
6285
6286 else
6287
6288 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6289
6290 fi
6291
6292
6293 eval "$wx_cv_use_apple_ieee"
6294
6295 if test x"$enablestring" = xdisable; then
6296 if test $wxUSE_APPLE_IEEE = yes; then
6297 result=no
6298 else
6299 result=yes
6300 fi
6301 else
6302 result=$wxUSE_APPLE_IEEE
6303 fi
6304
6305 { echo "$as_me:$LINENO: result: $result" >&5
6306 echo "${ECHO_T}$result" >&6; }
6307
6308
6309 enablestring=
6310 defaultval=$wxUSE_ALL_FEATURES
6311 if test -z "$defaultval"; then
6312 if test x"$enablestring" = xdisable; then
6313 defaultval=yes
6314 else
6315 defaultval=no
6316 fi
6317 fi
6318
6319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6320 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6321 # Check whether --enable-arcstream was given.
6322 if test "${enable_arcstream+set}" = set; then
6323 enableval=$enable_arcstream;
6324 if test "$enableval" = yes; then
6325 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6326 else
6327 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6328 fi
6329
6330 else
6331
6332 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6333
6334 fi
6335
6336
6337 eval "$wx_cv_use_arcstream"
6338
6339 if test x"$enablestring" = xdisable; then
6340 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6341 result=no
6342 else
6343 result=yes
6344 fi
6345 else
6346 result=$wxUSE_ARCHIVE_STREAMS
6347 fi
6348
6349 { echo "$as_me:$LINENO: result: $result" >&5
6350 echo "${ECHO_T}$result" >&6; }
6351
6352
6353 enablestring=
6354 defaultval=$wxUSE_ALL_FEATURES
6355 if test -z "$defaultval"; then
6356 if test x"$enablestring" = xdisable; then
6357 defaultval=yes
6358 else
6359 defaultval=no
6360 fi
6361 fi
6362
6363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6364 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6365 # Check whether --enable-base64 was given.
6366 if test "${enable_base64+set}" = set; then
6367 enableval=$enable_base64;
6368 if test "$enableval" = yes; then
6369 wx_cv_use_base64='wxUSE_BASE64=yes'
6370 else
6371 wx_cv_use_base64='wxUSE_BASE64=no'
6372 fi
6373
6374 else
6375
6376 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6377
6378 fi
6379
6380
6381 eval "$wx_cv_use_base64"
6382
6383 if test x"$enablestring" = xdisable; then
6384 if test $wxUSE_BASE64 = yes; then
6385 result=no
6386 else
6387 result=yes
6388 fi
6389 else
6390 result=$wxUSE_BASE64
6391 fi
6392
6393 { echo "$as_me:$LINENO: result: $result" >&5
6394 echo "${ECHO_T}$result" >&6; }
6395
6396
6397 enablestring=
6398 defaultval=$wxUSE_ALL_FEATURES
6399 if test -z "$defaultval"; then
6400 if test x"$enablestring" = xdisable; then
6401 defaultval=yes
6402 else
6403 defaultval=no
6404 fi
6405 fi
6406
6407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6409 # Check whether --enable-backtrace was given.
6410 if test "${enable_backtrace+set}" = set; then
6411 enableval=$enable_backtrace;
6412 if test "$enableval" = yes; then
6413 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6414 else
6415 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6416 fi
6417
6418 else
6419
6420 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6421
6422 fi
6423
6424
6425 eval "$wx_cv_use_backtrace"
6426
6427 if test x"$enablestring" = xdisable; then
6428 if test $wxUSE_STACKWALKER = yes; then
6429 result=no
6430 else
6431 result=yes
6432 fi
6433 else
6434 result=$wxUSE_STACKWALKER
6435 fi
6436
6437 { echo "$as_me:$LINENO: result: $result" >&5
6438 echo "${ECHO_T}$result" >&6; }
6439
6440
6441 enablestring=
6442 defaultval=$wxUSE_ALL_FEATURES
6443 if test -z "$defaultval"; then
6444 if test x"$enablestring" = xdisable; then
6445 defaultval=yes
6446 else
6447 defaultval=no
6448 fi
6449 fi
6450
6451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6453 # Check whether --enable-catch_segvs was given.
6454 if test "${enable_catch_segvs+set}" = set; then
6455 enableval=$enable_catch_segvs;
6456 if test "$enableval" = yes; then
6457 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6458 else
6459 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6460 fi
6461
6462 else
6463
6464 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6465
6466 fi
6467
6468
6469 eval "$wx_cv_use_catch_segvs"
6470
6471 if test x"$enablestring" = xdisable; then
6472 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6473 result=no
6474 else
6475 result=yes
6476 fi
6477 else
6478 result=$wxUSE_ON_FATAL_EXCEPTION
6479 fi
6480
6481 { echo "$as_me:$LINENO: result: $result" >&5
6482 echo "${ECHO_T}$result" >&6; }
6483
6484
6485 enablestring=
6486 defaultval=$wxUSE_ALL_FEATURES
6487 if test -z "$defaultval"; then
6488 if test x"$enablestring" = xdisable; then
6489 defaultval=yes
6490 else
6491 defaultval=no
6492 fi
6493 fi
6494
6495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6496 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6497 # Check whether --enable-cmdline was given.
6498 if test "${enable_cmdline+set}" = set; then
6499 enableval=$enable_cmdline;
6500 if test "$enableval" = yes; then
6501 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6502 else
6503 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6504 fi
6505
6506 else
6507
6508 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6509
6510 fi
6511
6512
6513 eval "$wx_cv_use_cmdline"
6514
6515 if test x"$enablestring" = xdisable; then
6516 if test $wxUSE_CMDLINE_PARSER = yes; then
6517 result=no
6518 else
6519 result=yes
6520 fi
6521 else
6522 result=$wxUSE_CMDLINE_PARSER
6523 fi
6524
6525 { echo "$as_me:$LINENO: result: $result" >&5
6526 echo "${ECHO_T}$result" >&6; }
6527
6528
6529 enablestring=
6530 defaultval=$wxUSE_ALL_FEATURES
6531 if test -z "$defaultval"; then
6532 if test x"$enablestring" = xdisable; then
6533 defaultval=yes
6534 else
6535 defaultval=no
6536 fi
6537 fi
6538
6539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6541 # Check whether --enable-datetime was given.
6542 if test "${enable_datetime+set}" = set; then
6543 enableval=$enable_datetime;
6544 if test "$enableval" = yes; then
6545 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6546 else
6547 wx_cv_use_datetime='wxUSE_DATETIME=no'
6548 fi
6549
6550 else
6551
6552 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6553
6554 fi
6555
6556
6557 eval "$wx_cv_use_datetime"
6558
6559 if test x"$enablestring" = xdisable; then
6560 if test $wxUSE_DATETIME = yes; then
6561 result=no
6562 else
6563 result=yes
6564 fi
6565 else
6566 result=$wxUSE_DATETIME
6567 fi
6568
6569 { echo "$as_me:$LINENO: result: $result" >&5
6570 echo "${ECHO_T}$result" >&6; }
6571
6572
6573 enablestring=
6574 defaultval=$wxUSE_ALL_FEATURES
6575 if test -z "$defaultval"; then
6576 if test x"$enablestring" = xdisable; then
6577 defaultval=yes
6578 else
6579 defaultval=no
6580 fi
6581 fi
6582
6583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6585 # Check whether --enable-debugreport was given.
6586 if test "${enable_debugreport+set}" = set; then
6587 enableval=$enable_debugreport;
6588 if test "$enableval" = yes; then
6589 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6590 else
6591 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6592 fi
6593
6594 else
6595
6596 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6597
6598 fi
6599
6600
6601 eval "$wx_cv_use_debugreport"
6602
6603 if test x"$enablestring" = xdisable; then
6604 if test $wxUSE_DEBUGREPORT = yes; then
6605 result=no
6606 else
6607 result=yes
6608 fi
6609 else
6610 result=$wxUSE_DEBUGREPORT
6611 fi
6612
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6615
6616
6617 enablestring=
6618 defaultval=$wxUSE_ALL_FEATURES
6619 if test -z "$defaultval"; then
6620 if test x"$enablestring" = xdisable; then
6621 defaultval=yes
6622 else
6623 defaultval=no
6624 fi
6625 fi
6626
6627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6629 # Check whether --enable-dialupman was given.
6630 if test "${enable_dialupman+set}" = set; then
6631 enableval=$enable_dialupman;
6632 if test "$enableval" = yes; then
6633 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6634 else
6635 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6636 fi
6637
6638 else
6639
6640 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6641
6642 fi
6643
6644
6645 eval "$wx_cv_use_dialupman"
6646
6647 if test x"$enablestring" = xdisable; then
6648 if test $wxUSE_DIALUP_MANAGER = yes; then
6649 result=no
6650 else
6651 result=yes
6652 fi
6653 else
6654 result=$wxUSE_DIALUP_MANAGER
6655 fi
6656
6657 { echo "$as_me:$LINENO: result: $result" >&5
6658 echo "${ECHO_T}$result" >&6; }
6659
6660
6661 enablestring=
6662 defaultval=$wxUSE_ALL_FEATURES
6663 if test -z "$defaultval"; then
6664 if test x"$enablestring" = xdisable; then
6665 defaultval=yes
6666 else
6667 defaultval=no
6668 fi
6669 fi
6670
6671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6673 # Check whether --enable-dynlib was given.
6674 if test "${enable_dynlib+set}" = set; then
6675 enableval=$enable_dynlib;
6676 if test "$enableval" = yes; then
6677 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6678 else
6679 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6680 fi
6681
6682 else
6683
6684 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6685
6686 fi
6687
6688
6689 eval "$wx_cv_use_dynlib"
6690
6691 if test x"$enablestring" = xdisable; then
6692 if test $wxUSE_DYNLIB_CLASS = yes; then
6693 result=no
6694 else
6695 result=yes
6696 fi
6697 else
6698 result=$wxUSE_DYNLIB_CLASS
6699 fi
6700
6701 { echo "$as_me:$LINENO: result: $result" >&5
6702 echo "${ECHO_T}$result" >&6; }
6703
6704
6705 enablestring=
6706 defaultval=$wxUSE_ALL_FEATURES
6707 if test -z "$defaultval"; then
6708 if test x"$enablestring" = xdisable; then
6709 defaultval=yes
6710 else
6711 defaultval=no
6712 fi
6713 fi
6714
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6717 # Check whether --enable-dynamicloader was given.
6718 if test "${enable_dynamicloader+set}" = set; then
6719 enableval=$enable_dynamicloader;
6720 if test "$enableval" = yes; then
6721 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6722 else
6723 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6724 fi
6725
6726 else
6727
6728 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6729
6730 fi
6731
6732
6733 eval "$wx_cv_use_dynamicloader"
6734
6735 if test x"$enablestring" = xdisable; then
6736 if test $wxUSE_DYNAMIC_LOADER = yes; then
6737 result=no
6738 else
6739 result=yes
6740 fi
6741 else
6742 result=$wxUSE_DYNAMIC_LOADER
6743 fi
6744
6745 { echo "$as_me:$LINENO: result: $result" >&5
6746 echo "${ECHO_T}$result" >&6; }
6747
6748
6749 enablestring=
6750 defaultval=$wxUSE_ALL_FEATURES
6751 if test -z "$defaultval"; then
6752 if test x"$enablestring" = xdisable; then
6753 defaultval=yes
6754 else
6755 defaultval=no
6756 fi
6757 fi
6758
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6761 # Check whether --enable-exceptions was given.
6762 if test "${enable_exceptions+set}" = set; then
6763 enableval=$enable_exceptions;
6764 if test "$enableval" = yes; then
6765 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6766 else
6767 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6768 fi
6769
6770 else
6771
6772 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6773
6774 fi
6775
6776
6777 eval "$wx_cv_use_exceptions"
6778
6779 if test x"$enablestring" = xdisable; then
6780 if test $wxUSE_EXCEPTIONS = yes; then
6781 result=no
6782 else
6783 result=yes
6784 fi
6785 else
6786 result=$wxUSE_EXCEPTIONS
6787 fi
6788
6789 { echo "$as_me:$LINENO: result: $result" >&5
6790 echo "${ECHO_T}$result" >&6; }
6791
6792
6793 enablestring=
6794 defaultval=$wxUSE_ALL_FEATURES
6795 if test -z "$defaultval"; then
6796 if test x"$enablestring" = xdisable; then
6797 defaultval=yes
6798 else
6799 defaultval=no
6800 fi
6801 fi
6802
6803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6805 # Check whether --enable-ffile was given.
6806 if test "${enable_ffile+set}" = set; then
6807 enableval=$enable_ffile;
6808 if test "$enableval" = yes; then
6809 wx_cv_use_ffile='wxUSE_FFILE=yes'
6810 else
6811 wx_cv_use_ffile='wxUSE_FFILE=no'
6812 fi
6813
6814 else
6815
6816 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6817
6818 fi
6819
6820
6821 eval "$wx_cv_use_ffile"
6822
6823 if test x"$enablestring" = xdisable; then
6824 if test $wxUSE_FFILE = yes; then
6825 result=no
6826 else
6827 result=yes
6828 fi
6829 else
6830 result=$wxUSE_FFILE
6831 fi
6832
6833 { echo "$as_me:$LINENO: result: $result" >&5
6834 echo "${ECHO_T}$result" >&6; }
6835
6836
6837 enablestring=
6838 defaultval=$wxUSE_ALL_FEATURES
6839 if test -z "$defaultval"; then
6840 if test x"$enablestring" = xdisable; then
6841 defaultval=yes
6842 else
6843 defaultval=no
6844 fi
6845 fi
6846
6847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6849 # Check whether --enable-file was given.
6850 if test "${enable_file+set}" = set; then
6851 enableval=$enable_file;
6852 if test "$enableval" = yes; then
6853 wx_cv_use_file='wxUSE_FILE=yes'
6854 else
6855 wx_cv_use_file='wxUSE_FILE=no'
6856 fi
6857
6858 else
6859
6860 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6861
6862 fi
6863
6864
6865 eval "$wx_cv_use_file"
6866
6867 if test x"$enablestring" = xdisable; then
6868 if test $wxUSE_FILE = yes; then
6869 result=no
6870 else
6871 result=yes
6872 fi
6873 else
6874 result=$wxUSE_FILE
6875 fi
6876
6877 { echo "$as_me:$LINENO: result: $result" >&5
6878 echo "${ECHO_T}$result" >&6; }
6879
6880
6881 enablestring=
6882 defaultval=$wxUSE_ALL_FEATURES
6883 if test -z "$defaultval"; then
6884 if test x"$enablestring" = xdisable; then
6885 defaultval=yes
6886 else
6887 defaultval=no
6888 fi
6889 fi
6890
6891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6893 # Check whether --enable-filesystem was given.
6894 if test "${enable_filesystem+set}" = set; then
6895 enableval=$enable_filesystem;
6896 if test "$enableval" = yes; then
6897 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6898 else
6899 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6900 fi
6901
6902 else
6903
6904 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6905
6906 fi
6907
6908
6909 eval "$wx_cv_use_filesystem"
6910
6911 if test x"$enablestring" = xdisable; then
6912 if test $wxUSE_FILESYSTEM = yes; then
6913 result=no
6914 else
6915 result=yes
6916 fi
6917 else
6918 result=$wxUSE_FILESYSTEM
6919 fi
6920
6921 { echo "$as_me:$LINENO: result: $result" >&5
6922 echo "${ECHO_T}$result" >&6; }
6923
6924
6925 enablestring=
6926 defaultval=$wxUSE_ALL_FEATURES
6927 if test -z "$defaultval"; then
6928 if test x"$enablestring" = xdisable; then
6929 defaultval=yes
6930 else
6931 defaultval=no
6932 fi
6933 fi
6934
6935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6937 # Check whether --enable-fontenum was given.
6938 if test "${enable_fontenum+set}" = set; then
6939 enableval=$enable_fontenum;
6940 if test "$enableval" = yes; then
6941 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6942 else
6943 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6944 fi
6945
6946 else
6947
6948 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6949
6950 fi
6951
6952
6953 eval "$wx_cv_use_fontenum"
6954
6955 if test x"$enablestring" = xdisable; then
6956 if test $wxUSE_FONTENUM = yes; then
6957 result=no
6958 else
6959 result=yes
6960 fi
6961 else
6962 result=$wxUSE_FONTENUM
6963 fi
6964
6965 { echo "$as_me:$LINENO: result: $result" >&5
6966 echo "${ECHO_T}$result" >&6; }
6967
6968
6969 enablestring=
6970 defaultval=$wxUSE_ALL_FEATURES
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6973 defaultval=yes
6974 else
6975 defaultval=no
6976 fi
6977 fi
6978
6979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6980 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6981 # Check whether --enable-fontmap was given.
6982 if test "${enable_fontmap+set}" = set; then
6983 enableval=$enable_fontmap;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6986 else
6987 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6988 fi
6989
6990 else
6991
6992 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6993
6994 fi
6995
6996
6997 eval "$wx_cv_use_fontmap"
6998
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_FONTMAP = yes; then
7001 result=no
7002 else
7003 result=yes
7004 fi
7005 else
7006 result=$wxUSE_FONTMAP
7007 fi
7008
7009 { echo "$as_me:$LINENO: result: $result" >&5
7010 echo "${ECHO_T}$result" >&6; }
7011
7012
7013 enablestring=
7014 defaultval=$wxUSE_ALL_FEATURES
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7017 defaultval=yes
7018 else
7019 defaultval=no
7020 fi
7021 fi
7022
7023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7025 # Check whether --enable-fs_archive was given.
7026 if test "${enable_fs_archive+set}" = set; then
7027 enableval=$enable_fs_archive;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7030 else
7031 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7032 fi
7033
7034 else
7035
7036 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7037
7038 fi
7039
7040
7041 eval "$wx_cv_use_fs_archive"
7042
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_FS_ARCHIVE = yes; then
7045 result=no
7046 else
7047 result=yes
7048 fi
7049 else
7050 result=$wxUSE_FS_ARCHIVE
7051 fi
7052
7053 { echo "$as_me:$LINENO: result: $result" >&5
7054 echo "${ECHO_T}$result" >&6; }
7055
7056
7057 enablestring=
7058 defaultval=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x"$enablestring" = xdisable; then
7061 defaultval=yes
7062 else
7063 defaultval=no
7064 fi
7065 fi
7066
7067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7069 # Check whether --enable-fs_inet was given.
7070 if test "${enable_fs_inet+set}" = set; then
7071 enableval=$enable_fs_inet;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7074 else
7075 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7076 fi
7077
7078 else
7079
7080 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7081
7082 fi
7083
7084
7085 eval "$wx_cv_use_fs_inet"
7086
7087 if test x"$enablestring" = xdisable; then
7088 if test $wxUSE_FS_INET = yes; then
7089 result=no
7090 else
7091 result=yes
7092 fi
7093 else
7094 result=$wxUSE_FS_INET
7095 fi
7096
7097 { echo "$as_me:$LINENO: result: $result" >&5
7098 echo "${ECHO_T}$result" >&6; }
7099
7100
7101 enablestring=
7102 defaultval=$wxUSE_ALL_FEATURES
7103 if test -z "$defaultval"; then
7104 if test x"$enablestring" = xdisable; then
7105 defaultval=yes
7106 else
7107 defaultval=no
7108 fi
7109 fi
7110
7111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7113 # Check whether --enable-fs_zip was given.
7114 if test "${enable_fs_zip+set}" = set; then
7115 enableval=$enable_fs_zip;
7116 if test "$enableval" = yes; then
7117 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7118 else
7119 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7120 fi
7121
7122 else
7123
7124 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7125
7126 fi
7127
7128
7129 eval "$wx_cv_use_fs_zip"
7130
7131 if test x"$enablestring" = xdisable; then
7132 if test $wxUSE_FS_ZIP = yes; then
7133 result=no
7134 else
7135 result=yes
7136 fi
7137 else
7138 result=$wxUSE_FS_ZIP
7139 fi
7140
7141 { echo "$as_me:$LINENO: result: $result" >&5
7142 echo "${ECHO_T}$result" >&6; }
7143
7144
7145 enablestring=
7146 defaultval=$wxUSE_ALL_FEATURES
7147 if test -z "$defaultval"; then
7148 if test x"$enablestring" = xdisable; then
7149 defaultval=yes
7150 else
7151 defaultval=no
7152 fi
7153 fi
7154
7155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7157 # Check whether --enable-geometry was given.
7158 if test "${enable_geometry+set}" = set; then
7159 enableval=$enable_geometry;
7160 if test "$enableval" = yes; then
7161 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7162 else
7163 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7164 fi
7165
7166 else
7167
7168 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7169
7170 fi
7171
7172
7173 eval "$wx_cv_use_geometry"
7174
7175 if test x"$enablestring" = xdisable; then
7176 if test $wxUSE_GEOMETRY = yes; then
7177 result=no
7178 else
7179 result=yes
7180 fi
7181 else
7182 result=$wxUSE_GEOMETRY
7183 fi
7184
7185 { echo "$as_me:$LINENO: result: $result" >&5
7186 echo "${ECHO_T}$result" >&6; }
7187
7188
7189 enablestring=
7190 defaultval=$wxUSE_ALL_FEATURES
7191 if test -z "$defaultval"; then
7192 if test x"$enablestring" = xdisable; then
7193 defaultval=yes
7194 else
7195 defaultval=no
7196 fi
7197 fi
7198
7199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7201 # Check whether --enable-log was given.
7202 if test "${enable_log+set}" = set; then
7203 enableval=$enable_log;
7204 if test "$enableval" = yes; then
7205 wx_cv_use_log='wxUSE_LOG=yes'
7206 else
7207 wx_cv_use_log='wxUSE_LOG=no'
7208 fi
7209
7210 else
7211
7212 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7213
7214 fi
7215
7216
7217 eval "$wx_cv_use_log"
7218
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_LOG = yes; then
7221 result=no
7222 else
7223 result=yes
7224 fi
7225 else
7226 result=$wxUSE_LOG
7227 fi
7228
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7231
7232
7233 enablestring=
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7237 defaultval=yes
7238 else
7239 defaultval=no
7240 fi
7241 fi
7242
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7245 # Check whether --enable-longlong was given.
7246 if test "${enable_longlong+set}" = set; then
7247 enableval=$enable_longlong;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7250 else
7251 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7252 fi
7253
7254 else
7255
7256 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7257
7258 fi
7259
7260
7261 eval "$wx_cv_use_longlong"
7262
7263 if test x"$enablestring" = xdisable; then
7264 if test $wxUSE_LONGLONG = yes; then
7265 result=no
7266 else
7267 result=yes
7268 fi
7269 else
7270 result=$wxUSE_LONGLONG
7271 fi
7272
7273 { echo "$as_me:$LINENO: result: $result" >&5
7274 echo "${ECHO_T}$result" >&6; }
7275
7276
7277 enablestring=
7278 defaultval=$wxUSE_ALL_FEATURES
7279 if test -z "$defaultval"; then
7280 if test x"$enablestring" = xdisable; then
7281 defaultval=yes
7282 else
7283 defaultval=no
7284 fi
7285 fi
7286
7287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7288 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7289 # Check whether --enable-mimetype was given.
7290 if test "${enable_mimetype+set}" = set; then
7291 enableval=$enable_mimetype;
7292 if test "$enableval" = yes; then
7293 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7294 else
7295 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7296 fi
7297
7298 else
7299
7300 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7301
7302 fi
7303
7304
7305 eval "$wx_cv_use_mimetype"
7306
7307 if test x"$enablestring" = xdisable; then
7308 if test $wxUSE_MIMETYPE = yes; then
7309 result=no
7310 else
7311 result=yes
7312 fi
7313 else
7314 result=$wxUSE_MIMETYPE
7315 fi
7316
7317 { echo "$as_me:$LINENO: result: $result" >&5
7318 echo "${ECHO_T}$result" >&6; }
7319
7320
7321 enablestring=
7322 defaultval=$wxUSE_ALL_FEATURES
7323 if test -z "$defaultval"; then
7324 if test x"$enablestring" = xdisable; then
7325 defaultval=yes
7326 else
7327 defaultval=no
7328 fi
7329 fi
7330
7331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7333 # Check whether --enable-printfposparam was given.
7334 if test "${enable_printfposparam+set}" = set; then
7335 enableval=$enable_printfposparam;
7336 if test "$enableval" = yes; then
7337 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7338 else
7339 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7340 fi
7341
7342 else
7343
7344 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7345
7346 fi
7347
7348
7349 eval "$wx_cv_use_printfposparam"
7350
7351 if test x"$enablestring" = xdisable; then
7352 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7353 result=no
7354 else
7355 result=yes
7356 fi
7357 else
7358 result=$wxUSE_PRINTF_POS_PARAMS
7359 fi
7360
7361 { echo "$as_me:$LINENO: result: $result" >&5
7362 echo "${ECHO_T}$result" >&6; }
7363
7364
7365 enablestring=
7366 defaultval=$wxUSE_ALL_FEATURES
7367 if test -z "$defaultval"; then
7368 if test x"$enablestring" = xdisable; then
7369 defaultval=yes
7370 else
7371 defaultval=no
7372 fi
7373 fi
7374
7375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7377 # Check whether --enable-snglinst was given.
7378 if test "${enable_snglinst+set}" = set; then
7379 enableval=$enable_snglinst;
7380 if test "$enableval" = yes; then
7381 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7382 else
7383 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7384 fi
7385
7386 else
7387
7388 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7389
7390 fi
7391
7392
7393 eval "$wx_cv_use_snglinst"
7394
7395 if test x"$enablestring" = xdisable; then
7396 if test $wxUSE_SNGLINST_CHECKER = yes; then
7397 result=no
7398 else
7399 result=yes
7400 fi
7401 else
7402 result=$wxUSE_SNGLINST_CHECKER
7403 fi
7404
7405 { echo "$as_me:$LINENO: result: $result" >&5
7406 echo "${ECHO_T}$result" >&6; }
7407
7408
7409 enablestring=
7410 defaultval=$wxUSE_ALL_FEATURES
7411 if test -z "$defaultval"; then
7412 if test x"$enablestring" = xdisable; then
7413 defaultval=yes
7414 else
7415 defaultval=no
7416 fi
7417 fi
7418
7419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7421 # Check whether --enable-sound was given.
7422 if test "${enable_sound+set}" = set; then
7423 enableval=$enable_sound;
7424 if test "$enableval" = yes; then
7425 wx_cv_use_sound='wxUSE_SOUND=yes'
7426 else
7427 wx_cv_use_sound='wxUSE_SOUND=no'
7428 fi
7429
7430 else
7431
7432 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7433
7434 fi
7435
7436
7437 eval "$wx_cv_use_sound"
7438
7439 if test x"$enablestring" = xdisable; then
7440 if test $wxUSE_SOUND = yes; then
7441 result=no
7442 else
7443 result=yes
7444 fi
7445 else
7446 result=$wxUSE_SOUND
7447 fi
7448
7449 { echo "$as_me:$LINENO: result: $result" >&5
7450 echo "${ECHO_T}$result" >&6; }
7451
7452
7453 enablestring=
7454 defaultval=$wxUSE_ALL_FEATURES
7455 if test -z "$defaultval"; then
7456 if test x"$enablestring" = xdisable; then
7457 defaultval=yes
7458 else
7459 defaultval=no
7460 fi
7461 fi
7462
7463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7465 # Check whether --enable-stdpaths was given.
7466 if test "${enable_stdpaths+set}" = set; then
7467 enableval=$enable_stdpaths;
7468 if test "$enableval" = yes; then
7469 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7470 else
7471 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7472 fi
7473
7474 else
7475
7476 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7477
7478 fi
7479
7480
7481 eval "$wx_cv_use_stdpaths"
7482
7483 if test x"$enablestring" = xdisable; then
7484 if test $wxUSE_STDPATHS = yes; then
7485 result=no
7486 else
7487 result=yes
7488 fi
7489 else
7490 result=$wxUSE_STDPATHS
7491 fi
7492
7493 { echo "$as_me:$LINENO: result: $result" >&5
7494 echo "${ECHO_T}$result" >&6; }
7495
7496
7497 enablestring=
7498 defaultval=$wxUSE_ALL_FEATURES
7499 if test -z "$defaultval"; then
7500 if test x"$enablestring" = xdisable; then
7501 defaultval=yes
7502 else
7503 defaultval=no
7504 fi
7505 fi
7506
7507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7509 # Check whether --enable-stopwatch was given.
7510 if test "${enable_stopwatch+set}" = set; then
7511 enableval=$enable_stopwatch;
7512 if test "$enableval" = yes; then
7513 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7514 else
7515 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7516 fi
7517
7518 else
7519
7520 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7521
7522 fi
7523
7524
7525 eval "$wx_cv_use_stopwatch"
7526
7527 if test x"$enablestring" = xdisable; then
7528 if test $wxUSE_STOPWATCH = yes; then
7529 result=no
7530 else
7531 result=yes
7532 fi
7533 else
7534 result=$wxUSE_STOPWATCH
7535 fi
7536
7537 { echo "$as_me:$LINENO: result: $result" >&5
7538 echo "${ECHO_T}$result" >&6; }
7539
7540
7541 enablestring=
7542 defaultval=$wxUSE_ALL_FEATURES
7543 if test -z "$defaultval"; then
7544 if test x"$enablestring" = xdisable; then
7545 defaultval=yes
7546 else
7547 defaultval=no
7548 fi
7549 fi
7550
7551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7553 # Check whether --enable-streams was given.
7554 if test "${enable_streams+set}" = set; then
7555 enableval=$enable_streams;
7556 if test "$enableval" = yes; then
7557 wx_cv_use_streams='wxUSE_STREAMS=yes'
7558 else
7559 wx_cv_use_streams='wxUSE_STREAMS=no'
7560 fi
7561
7562 else
7563
7564 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7565
7566 fi
7567
7568
7569 eval "$wx_cv_use_streams"
7570
7571 if test x"$enablestring" = xdisable; then
7572 if test $wxUSE_STREAMS = yes; then
7573 result=no
7574 else
7575 result=yes
7576 fi
7577 else
7578 result=$wxUSE_STREAMS
7579 fi
7580
7581 { echo "$as_me:$LINENO: result: $result" >&5
7582 echo "${ECHO_T}$result" >&6; }
7583
7584
7585 enablestring=
7586 defaultval=$wxUSE_ALL_FEATURES
7587 if test -z "$defaultval"; then
7588 if test x"$enablestring" = xdisable; then
7589 defaultval=yes
7590 else
7591 defaultval=no
7592 fi
7593 fi
7594
7595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7597 # Check whether --enable-system_options was given.
7598 if test "${enable_system_options+set}" = set; then
7599 enableval=$enable_system_options;
7600 if test "$enableval" = yes; then
7601 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7602 else
7603 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7604 fi
7605
7606 else
7607
7608 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7609
7610 fi
7611
7612
7613 eval "$wx_cv_use_system_options"
7614
7615 if test x"$enablestring" = xdisable; then
7616 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7617 result=no
7618 else
7619 result=yes
7620 fi
7621 else
7622 result=$wxUSE_SYSTEM_OPTIONS
7623 fi
7624
7625 { echo "$as_me:$LINENO: result: $result" >&5
7626 echo "${ECHO_T}$result" >&6; }
7627
7628
7629 enablestring=
7630 defaultval=$wxUSE_ALL_FEATURES
7631 if test -z "$defaultval"; then
7632 if test x"$enablestring" = xdisable; then
7633 defaultval=yes
7634 else
7635 defaultval=no
7636 fi
7637 fi
7638
7639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7640 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7641 # Check whether --enable-tarstream was given.
7642 if test "${enable_tarstream+set}" = set; then
7643 enableval=$enable_tarstream;
7644 if test "$enableval" = yes; then
7645 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7646 else
7647 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7648 fi
7649
7650 else
7651
7652 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7653
7654 fi
7655
7656
7657 eval "$wx_cv_use_tarstream"
7658
7659 if test x"$enablestring" = xdisable; then
7660 if test $wxUSE_TARSTREAM = yes; then
7661 result=no
7662 else
7663 result=yes
7664 fi
7665 else
7666 result=$wxUSE_TARSTREAM
7667 fi
7668
7669 { echo "$as_me:$LINENO: result: $result" >&5
7670 echo "${ECHO_T}$result" >&6; }
7671
7672
7673 enablestring=
7674 defaultval=$wxUSE_ALL_FEATURES
7675 if test -z "$defaultval"; then
7676 if test x"$enablestring" = xdisable; then
7677 defaultval=yes
7678 else
7679 defaultval=no
7680 fi
7681 fi
7682
7683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7685 # Check whether --enable-textbuf was given.
7686 if test "${enable_textbuf+set}" = set; then
7687 enableval=$enable_textbuf;
7688 if test "$enableval" = yes; then
7689 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7690 else
7691 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7692 fi
7693
7694 else
7695
7696 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7697
7698 fi
7699
7700
7701 eval "$wx_cv_use_textbuf"
7702
7703 if test x"$enablestring" = xdisable; then
7704 if test $wxUSE_TEXTBUFFER = yes; then
7705 result=no
7706 else
7707 result=yes
7708 fi
7709 else
7710 result=$wxUSE_TEXTBUFFER
7711 fi
7712
7713 { echo "$as_me:$LINENO: result: $result" >&5
7714 echo "${ECHO_T}$result" >&6; }
7715
7716
7717 enablestring=
7718 defaultval=$wxUSE_ALL_FEATURES
7719 if test -z "$defaultval"; then
7720 if test x"$enablestring" = xdisable; then
7721 defaultval=yes
7722 else
7723 defaultval=no
7724 fi
7725 fi
7726
7727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7729 # Check whether --enable-textfile was given.
7730 if test "${enable_textfile+set}" = set; then
7731 enableval=$enable_textfile;
7732 if test "$enableval" = yes; then
7733 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7734 else
7735 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7736 fi
7737
7738 else
7739
7740 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7741
7742 fi
7743
7744
7745 eval "$wx_cv_use_textfile"
7746
7747 if test x"$enablestring" = xdisable; then
7748 if test $wxUSE_TEXTFILE = yes; then
7749 result=no
7750 else
7751 result=yes
7752 fi
7753 else
7754 result=$wxUSE_TEXTFILE
7755 fi
7756
7757 { echo "$as_me:$LINENO: result: $result" >&5
7758 echo "${ECHO_T}$result" >&6; }
7759
7760
7761 enablestring=
7762 defaultval=$wxUSE_ALL_FEATURES
7763 if test -z "$defaultval"; then
7764 if test x"$enablestring" = xdisable; then
7765 defaultval=yes
7766 else
7767 defaultval=no
7768 fi
7769 fi
7770
7771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7772 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7773 # Check whether --enable-timer was given.
7774 if test "${enable_timer+set}" = set; then
7775 enableval=$enable_timer;
7776 if test "$enableval" = yes; then
7777 wx_cv_use_timer='wxUSE_TIMER=yes'
7778 else
7779 wx_cv_use_timer='wxUSE_TIMER=no'
7780 fi
7781
7782 else
7783
7784 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7785
7786 fi
7787
7788
7789 eval "$wx_cv_use_timer"
7790
7791 if test x"$enablestring" = xdisable; then
7792 if test $wxUSE_TIMER = yes; then
7793 result=no
7794 else
7795 result=yes
7796 fi
7797 else
7798 result=$wxUSE_TIMER
7799 fi
7800
7801 { echo "$as_me:$LINENO: result: $result" >&5
7802 echo "${ECHO_T}$result" >&6; }
7803
7804
7805 enablestring=
7806 defaultval=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x"$enablestring" = xdisable; then
7809 defaultval=yes
7810 else
7811 defaultval=no
7812 fi
7813 fi
7814
7815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7816 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7817 # Check whether --enable-variant was given.
7818 if test "${enable_variant+set}" = set; then
7819 enableval=$enable_variant;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_variant='wxUSE_VARIANT=yes'
7822 else
7823 wx_cv_use_variant='wxUSE_VARIANT=no'
7824 fi
7825
7826 else
7827
7828 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$wx_cv_use_variant"
7834
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_VARIANT = yes; then
7837 result=no
7838 else
7839 result=yes
7840 fi
7841 else
7842 result=$wxUSE_VARIANT
7843 fi
7844
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7847
7848
7849 enablestring=
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7853 defaultval=yes
7854 else
7855 defaultval=no
7856 fi
7857 fi
7858
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7861 # Check whether --enable-zipstream was given.
7862 if test "${enable_zipstream+set}" = set; then
7863 enableval=$enable_zipstream;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7866 else
7867 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7868 fi
7869
7870 else
7871
7872 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7873
7874 fi
7875
7876
7877 eval "$wx_cv_use_zipstream"
7878
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_ZIPSTREAM = yes; then
7881 result=no
7882 else
7883 result=yes
7884 fi
7885 else
7886 result=$wxUSE_ZIPSTREAM
7887 fi
7888
7889 { echo "$as_me:$LINENO: result: $result" >&5
7890 echo "${ECHO_T}$result" >&6; }
7891
7892
7893
7894 enablestring=
7895 defaultval=$wxUSE_ALL_FEATURES
7896 if test -z "$defaultval"; then
7897 if test x"$enablestring" = xdisable; then
7898 defaultval=yes
7899 else
7900 defaultval=no
7901 fi
7902 fi
7903
7904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7905 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7906 # Check whether --enable-url was given.
7907 if test "${enable_url+set}" = set; then
7908 enableval=$enable_url;
7909 if test "$enableval" = yes; then
7910 wx_cv_use_url='wxUSE_URL=yes'
7911 else
7912 wx_cv_use_url='wxUSE_URL=no'
7913 fi
7914
7915 else
7916
7917 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7918
7919 fi
7920
7921
7922 eval "$wx_cv_use_url"
7923
7924 if test x"$enablestring" = xdisable; then
7925 if test $wxUSE_URL = yes; then
7926 result=no
7927 else
7928 result=yes
7929 fi
7930 else
7931 result=$wxUSE_URL
7932 fi
7933
7934 { echo "$as_me:$LINENO: result: $result" >&5
7935 echo "${ECHO_T}$result" >&6; }
7936
7937
7938 enablestring=
7939 defaultval=$wxUSE_ALL_FEATURES
7940 if test -z "$defaultval"; then
7941 if test x"$enablestring" = xdisable; then
7942 defaultval=yes
7943 else
7944 defaultval=no
7945 fi
7946 fi
7947
7948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7949 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7950 # Check whether --enable-protocol was given.
7951 if test "${enable_protocol+set}" = set; then
7952 enableval=$enable_protocol;
7953 if test "$enableval" = yes; then
7954 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7955 else
7956 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7957 fi
7958
7959 else
7960
7961 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7962
7963 fi
7964
7965
7966 eval "$wx_cv_use_protocol"
7967
7968 if test x"$enablestring" = xdisable; then
7969 if test $wxUSE_PROTOCOL = yes; then
7970 result=no
7971 else
7972 result=yes
7973 fi
7974 else
7975 result=$wxUSE_PROTOCOL
7976 fi
7977
7978 { echo "$as_me:$LINENO: result: $result" >&5
7979 echo "${ECHO_T}$result" >&6; }
7980
7981
7982 enablestring=
7983 defaultval=$wxUSE_ALL_FEATURES
7984 if test -z "$defaultval"; then
7985 if test x"$enablestring" = xdisable; then
7986 defaultval=yes
7987 else
7988 defaultval=no
7989 fi
7990 fi
7991
7992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7993 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7994 # Check whether --enable-protocol_http was given.
7995 if test "${enable_protocol_http+set}" = set; then
7996 enableval=$enable_protocol_http;
7997 if test "$enableval" = yes; then
7998 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7999 else
8000 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8001 fi
8002
8003 else
8004
8005 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8006
8007 fi
8008
8009
8010 eval "$wx_cv_use_protocol_http"
8011
8012 if test x"$enablestring" = xdisable; then
8013 if test $wxUSE_PROTOCOL_HTTP = yes; then
8014 result=no
8015 else
8016 result=yes
8017 fi
8018 else
8019 result=$wxUSE_PROTOCOL_HTTP
8020 fi
8021
8022 { echo "$as_me:$LINENO: result: $result" >&5
8023 echo "${ECHO_T}$result" >&6; }
8024
8025
8026 enablestring=
8027 defaultval=$wxUSE_ALL_FEATURES
8028 if test -z "$defaultval"; then
8029 if test x"$enablestring" = xdisable; then
8030 defaultval=yes
8031 else
8032 defaultval=no
8033 fi
8034 fi
8035
8036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8038 # Check whether --enable-protocol_ftp was given.
8039 if test "${enable_protocol_ftp+set}" = set; then
8040 enableval=$enable_protocol_ftp;
8041 if test "$enableval" = yes; then
8042 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8043 else
8044 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8045 fi
8046
8047 else
8048
8049 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8050
8051 fi
8052
8053
8054 eval "$wx_cv_use_protocol_ftp"
8055
8056 if test x"$enablestring" = xdisable; then
8057 if test $wxUSE_PROTOCOL_FTP = yes; then
8058 result=no
8059 else
8060 result=yes
8061 fi
8062 else
8063 result=$wxUSE_PROTOCOL_FTP
8064 fi
8065
8066 { echo "$as_me:$LINENO: result: $result" >&5
8067 echo "${ECHO_T}$result" >&6; }
8068
8069
8070 enablestring=
8071 defaultval=$wxUSE_ALL_FEATURES
8072 if test -z "$defaultval"; then
8073 if test x"$enablestring" = xdisable; then
8074 defaultval=yes
8075 else
8076 defaultval=no
8077 fi
8078 fi
8079
8080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8081 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8082 # Check whether --enable-protocol_file was given.
8083 if test "${enable_protocol_file+set}" = set; then
8084 enableval=$enable_protocol_file;
8085 if test "$enableval" = yes; then
8086 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8087 else
8088 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8089 fi
8090
8091 else
8092
8093 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8094
8095 fi
8096
8097
8098 eval "$wx_cv_use_protocol_file"
8099
8100 if test x"$enablestring" = xdisable; then
8101 if test $wxUSE_PROTOCOL_FILE = yes; then
8102 result=no
8103 else
8104 result=yes
8105 fi
8106 else
8107 result=$wxUSE_PROTOCOL_FILE
8108 fi
8109
8110 { echo "$as_me:$LINENO: result: $result" >&5
8111 echo "${ECHO_T}$result" >&6; }
8112
8113
8114
8115 enablestring=
8116 defaultval=$wxUSE_ALL_FEATURES
8117 if test -z "$defaultval"; then
8118 if test x"$enablestring" = xdisable; then
8119 defaultval=yes
8120 else
8121 defaultval=no
8122 fi
8123 fi
8124
8125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8126 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8127 # Check whether --enable-threads was given.
8128 if test "${enable_threads+set}" = set; then
8129 enableval=$enable_threads;
8130 if test "$enableval" = yes; then
8131 wx_cv_use_threads='wxUSE_THREADS=yes'
8132 else
8133 wx_cv_use_threads='wxUSE_THREADS=no'
8134 fi
8135
8136 else
8137
8138 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8139
8140 fi
8141
8142
8143 eval "$wx_cv_use_threads"
8144
8145 if test x"$enablestring" = xdisable; then
8146 if test $wxUSE_THREADS = yes; then
8147 result=no
8148 else
8149 result=yes
8150 fi
8151 else
8152 result=$wxUSE_THREADS
8153 fi
8154
8155 { echo "$as_me:$LINENO: result: $result" >&5
8156 echo "${ECHO_T}$result" >&6; }
8157
8158
8159
8160 enablestring=
8161 defaultval=
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8172 # Check whether --enable-iniconf was given.
8173 if test "${enable_iniconf+set}" = set; then
8174 enableval=$enable_iniconf;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8177 else
8178 wx_cv_use_iniconf='wxUSE_INICONF=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_iniconf"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_INICONF = yes; then
8192 result=no
8193 else
8194 result=yes
8195 fi
8196 else
8197 result=$wxUSE_INICONF
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8216 # Check whether --enable-regkey was given.
8217 if test "${enable_regkey+set}" = set; then
8218 enableval=$enable_regkey;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8221 else
8222 wx_cv_use_regkey='wxUSE_REGKEY=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_regkey"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_REGKEY = yes; then
8236 result=no
8237 else
8238 result=yes
8239 fi
8240 else
8241 result=$wxUSE_REGKEY
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248 if test "$wxUSE_GUI" = "yes"; then
8249
8250
8251
8252 enablestring=
8253 defaultval=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x"$enablestring" = xdisable; then
8256 defaultval=yes
8257 else
8258 defaultval=no
8259 fi
8260 fi
8261
8262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8264 # Check whether --enable-docview was given.
8265 if test "${enable_docview+set}" = set; then
8266 enableval=$enable_docview;
8267 if test "$enableval" = yes; then
8268 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8269 else
8270 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8271 fi
8272
8273 else
8274
8275 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8276
8277 fi
8278
8279
8280 eval "$wx_cv_use_docview"
8281
8282 if test x"$enablestring" = xdisable; then
8283 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8284 result=no
8285 else
8286 result=yes
8287 fi
8288 else
8289 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8290 fi
8291
8292 { echo "$as_me:$LINENO: result: $result" >&5
8293 echo "${ECHO_T}$result" >&6; }
8294
8295
8296 enablestring=
8297 defaultval=$wxUSE_ALL_FEATURES
8298 if test -z "$defaultval"; then
8299 if test x"$enablestring" = xdisable; then
8300 defaultval=yes
8301 else
8302 defaultval=no
8303 fi
8304 fi
8305
8306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8308 # Check whether --enable-help was given.
8309 if test "${enable_help+set}" = set; then
8310 enableval=$enable_help;
8311 if test "$enableval" = yes; then
8312 wx_cv_use_help='wxUSE_HELP=yes'
8313 else
8314 wx_cv_use_help='wxUSE_HELP=no'
8315 fi
8316
8317 else
8318
8319 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8320
8321 fi
8322
8323
8324 eval "$wx_cv_use_help"
8325
8326 if test x"$enablestring" = xdisable; then
8327 if test $wxUSE_HELP = yes; then
8328 result=no
8329 else
8330 result=yes
8331 fi
8332 else
8333 result=$wxUSE_HELP
8334 fi
8335
8336 { echo "$as_me:$LINENO: result: $result" >&5
8337 echo "${ECHO_T}$result" >&6; }
8338
8339
8340 enablestring=
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8344 defaultval=yes
8345 else
8346 defaultval=no
8347 fi
8348 fi
8349
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8352 # Check whether --enable-mshtmlhelp was given.
8353 if test "${enable_mshtmlhelp+set}" = set; then
8354 enableval=$enable_mshtmlhelp;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8357 else
8358 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8359 fi
8360
8361 else
8362
8363 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8364
8365 fi
8366
8367
8368 eval "$wx_cv_use_mshtmlhelp"
8369
8370 if test x"$enablestring" = xdisable; then
8371 if test $wxUSE_MS_HTML_HELP = yes; then
8372 result=no
8373 else
8374 result=yes
8375 fi
8376 else
8377 result=$wxUSE_MS_HTML_HELP
8378 fi
8379
8380 { echo "$as_me:$LINENO: result: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8382
8383
8384 enablestring=
8385 defaultval=$wxUSE_ALL_FEATURES
8386 if test -z "$defaultval"; then
8387 if test x"$enablestring" = xdisable; then
8388 defaultval=yes
8389 else
8390 defaultval=no
8391 fi
8392 fi
8393
8394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8395 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8396 # Check whether --enable-html was given.
8397 if test "${enable_html+set}" = set; then
8398 enableval=$enable_html;
8399 if test "$enableval" = yes; then
8400 wx_cv_use_html='wxUSE_HTML=yes'
8401 else
8402 wx_cv_use_html='wxUSE_HTML=no'
8403 fi
8404
8405 else
8406
8407 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8408
8409 fi
8410
8411
8412 eval "$wx_cv_use_html"
8413
8414 if test x"$enablestring" = xdisable; then
8415 if test $wxUSE_HTML = yes; then
8416 result=no
8417 else
8418 result=yes
8419 fi
8420 else
8421 result=$wxUSE_HTML
8422 fi
8423
8424 { echo "$as_me:$LINENO: result: $result" >&5
8425 echo "${ECHO_T}$result" >&6; }
8426
8427
8428 enablestring=
8429 defaultval=$wxUSE_ALL_FEATURES
8430 if test -z "$defaultval"; then
8431 if test x"$enablestring" = xdisable; then
8432 defaultval=yes
8433 else
8434 defaultval=no
8435 fi
8436 fi
8437
8438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8440 # Check whether --enable-htmlhelp was given.
8441 if test "${enable_htmlhelp+set}" = set; then
8442 enableval=$enable_htmlhelp;
8443 if test "$enableval" = yes; then
8444 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8445 else
8446 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8447 fi
8448
8449 else
8450
8451 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8452
8453 fi
8454
8455
8456 eval "$wx_cv_use_htmlhelp"
8457
8458 if test x"$enablestring" = xdisable; then
8459 if test $wxUSE_WXHTML_HELP = yes; then
8460 result=no
8461 else
8462 result=yes
8463 fi
8464 else
8465 result=$wxUSE_WXHTML_HELP
8466 fi
8467
8468 { echo "$as_me:$LINENO: result: $result" >&5
8469 echo "${ECHO_T}$result" >&6; }
8470
8471
8472 enablestring=
8473 defaultval=$wxUSE_ALL_FEATURES
8474 if test -z "$defaultval"; then
8475 if test x"$enablestring" = xdisable; then
8476 defaultval=yes
8477 else
8478 defaultval=no
8479 fi
8480 fi
8481
8482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8484 # Check whether --enable-xrc was given.
8485 if test "${enable_xrc+set}" = set; then
8486 enableval=$enable_xrc;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_xrc='wxUSE_XRC=yes'
8489 else
8490 wx_cv_use_xrc='wxUSE_XRC=no'
8491 fi
8492
8493 else
8494
8495 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8496
8497 fi
8498
8499
8500 eval "$wx_cv_use_xrc"
8501
8502 if test x"$enablestring" = xdisable; then
8503 if test $wxUSE_XRC = yes; then
8504 result=no
8505 else
8506 result=yes
8507 fi
8508 else
8509 result=$wxUSE_XRC
8510 fi
8511
8512 { echo "$as_me:$LINENO: result: $result" >&5
8513 echo "${ECHO_T}$result" >&6; }
8514
8515
8516 enablestring=
8517 defaultval=$wxUSE_ALL_FEATURES
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8520 defaultval=yes
8521 else
8522 defaultval=no
8523 fi
8524 fi
8525
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8528 # Check whether --enable-aui was given.
8529 if test "${enable_aui+set}" = set; then
8530 enableval=$enable_aui;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_aui='wxUSE_AUI=yes'
8533 else
8534 wx_cv_use_aui='wxUSE_AUI=no'
8535 fi
8536
8537 else
8538
8539 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8540
8541 fi
8542
8543
8544 eval "$wx_cv_use_aui"
8545
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_AUI = yes; then
8548 result=no
8549 else
8550 result=yes
8551 fi
8552 else
8553 result=$wxUSE_AUI
8554 fi
8555
8556 { echo "$as_me:$LINENO: result: $result" >&5
8557 echo "${ECHO_T}$result" >&6; }
8558
8559
8560 enablestring=
8561 defaultval=$wxUSE_ALL_FEATURES
8562 if test -z "$defaultval"; then
8563 if test x"$enablestring" = xdisable; then
8564 defaultval=yes
8565 else
8566 defaultval=no
8567 fi
8568 fi
8569
8570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8572 # Check whether --enable-stc was given.
8573 if test "${enable_stc+set}" = set; then
8574 enableval=$enable_stc;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_stc='wxUSE_STC=yes'
8577 else
8578 wx_cv_use_stc='wxUSE_STC=no'
8579 fi
8580
8581 else
8582
8583 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8584
8585 fi
8586
8587
8588 eval "$wx_cv_use_stc"
8589
8590 if test x"$enablestring" = xdisable; then
8591 if test $wxUSE_STC = yes; then
8592 result=no
8593 else
8594 result=yes
8595 fi
8596 else
8597 result=$wxUSE_STC
8598 fi
8599
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8602
8603
8604 enablestring=
8605 defaultval=$wxUSE_ALL_FEATURES
8606 if test -z "$defaultval"; then
8607 if test x"$enablestring" = xdisable; then
8608 defaultval=yes
8609 else
8610 defaultval=no
8611 fi
8612 fi
8613
8614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8616 # Check whether --enable-constraints was given.
8617 if test "${enable_constraints+set}" = set; then
8618 enableval=$enable_constraints;
8619 if test "$enableval" = yes; then
8620 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8621 else
8622 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8623 fi
8624
8625 else
8626
8627 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8628
8629 fi
8630
8631
8632 eval "$wx_cv_use_constraints"
8633
8634 if test x"$enablestring" = xdisable; then
8635 if test $wxUSE_CONSTRAINTS = yes; then
8636 result=no
8637 else
8638 result=yes
8639 fi
8640 else
8641 result=$wxUSE_CONSTRAINTS
8642 fi
8643
8644 { echo "$as_me:$LINENO: result: $result" >&5
8645 echo "${ECHO_T}$result" >&6; }
8646
8647
8648 enablestring=
8649 defaultval=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x"$enablestring" = xdisable; then
8652 defaultval=yes
8653 else
8654 defaultval=no
8655 fi
8656 fi
8657
8658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8660 # Check whether --enable-loggui was given.
8661 if test "${enable_loggui+set}" = set; then
8662 enableval=$enable_loggui;
8663 if test "$enableval" = yes; then
8664 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8665 else
8666 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8667 fi
8668
8669 else
8670
8671 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8672
8673 fi
8674
8675
8676 eval "$wx_cv_use_loggui"
8677
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_LOGGUI = yes; then
8680 result=no
8681 else
8682 result=yes
8683 fi
8684 else
8685 result=$wxUSE_LOGGUI
8686 fi
8687
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8690
8691
8692 enablestring=
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8696 defaultval=yes
8697 else
8698 defaultval=no
8699 fi
8700 fi
8701
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8704 # Check whether --enable-logwin was given.
8705 if test "${enable_logwin+set}" = set; then
8706 enableval=$enable_logwin;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8709 else
8710 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8711 fi
8712
8713 else
8714
8715 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8716
8717 fi
8718
8719
8720 eval "$wx_cv_use_logwin"
8721
8722 if test x"$enablestring" = xdisable; then
8723 if test $wxUSE_LOGWINDOW = yes; then
8724 result=no
8725 else
8726 result=yes
8727 fi
8728 else
8729 result=$wxUSE_LOGWINDOW
8730 fi
8731
8732 { echo "$as_me:$LINENO: result: $result" >&5
8733 echo "${ECHO_T}$result" >&6; }
8734
8735
8736 enablestring=
8737 defaultval=$wxUSE_ALL_FEATURES
8738 if test -z "$defaultval"; then
8739 if test x"$enablestring" = xdisable; then
8740 defaultval=yes
8741 else
8742 defaultval=no
8743 fi
8744 fi
8745
8746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8747 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8748 # Check whether --enable-logdialog was given.
8749 if test "${enable_logdialog+set}" = set; then
8750 enableval=$enable_logdialog;
8751 if test "$enableval" = yes; then
8752 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8753 else
8754 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8755 fi
8756
8757 else
8758
8759 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8760
8761 fi
8762
8763
8764 eval "$wx_cv_use_logdialog"
8765
8766 if test x"$enablestring" = xdisable; then
8767 if test $wxUSE_LOGDIALOG = yes; then
8768 result=no
8769 else
8770 result=yes
8771 fi
8772 else
8773 result=$wxUSE_LOGDIALOG
8774 fi
8775
8776 { echo "$as_me:$LINENO: result: $result" >&5
8777 echo "${ECHO_T}$result" >&6; }
8778
8779
8780 enablestring=
8781 defaultval=$wxUSE_ALL_FEATURES
8782 if test -z "$defaultval"; then
8783 if test x"$enablestring" = xdisable; then
8784 defaultval=yes
8785 else
8786 defaultval=no
8787 fi
8788 fi
8789
8790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8792 # Check whether --enable-mdi was given.
8793 if test "${enable_mdi+set}" = set; then
8794 enableval=$enable_mdi;
8795 if test "$enableval" = yes; then
8796 wx_cv_use_mdi='wxUSE_MDI=yes'
8797 else
8798 wx_cv_use_mdi='wxUSE_MDI=no'
8799 fi
8800
8801 else
8802
8803 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8804
8805 fi
8806
8807
8808 eval "$wx_cv_use_mdi"
8809
8810 if test x"$enablestring" = xdisable; then
8811 if test $wxUSE_MDI = yes; then
8812 result=no
8813 else
8814 result=yes
8815 fi
8816 else
8817 result=$wxUSE_MDI
8818 fi
8819
8820 { echo "$as_me:$LINENO: result: $result" >&5
8821 echo "${ECHO_T}$result" >&6; }
8822
8823
8824 enablestring=
8825 defaultval=$wxUSE_ALL_FEATURES
8826 if test -z "$defaultval"; then
8827 if test x"$enablestring" = xdisable; then
8828 defaultval=yes
8829 else
8830 defaultval=no
8831 fi
8832 fi
8833
8834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8836 # Check whether --enable-mdidoc was given.
8837 if test "${enable_mdidoc+set}" = set; then
8838 enableval=$enable_mdidoc;
8839 if test "$enableval" = yes; then
8840 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8841 else
8842 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8843 fi
8844
8845 else
8846
8847 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8848
8849 fi
8850
8851
8852 eval "$wx_cv_use_mdidoc"
8853
8854 if test x"$enablestring" = xdisable; then
8855 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8856 result=no
8857 else
8858 result=yes
8859 fi
8860 else
8861 result=$wxUSE_MDI_ARCHITECTURE
8862 fi
8863
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8866
8867
8868 enablestring=
8869 defaultval=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x"$enablestring" = xdisable; then
8872 defaultval=yes
8873 else
8874 defaultval=no
8875 fi
8876 fi
8877
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8880 # Check whether --enable-mediactrl was given.
8881 if test "${enable_mediactrl+set}" = set; then
8882 enableval=$enable_mediactrl;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8885 else
8886 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8887 fi
8888
8889 else
8890
8891 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8892
8893 fi
8894
8895
8896 eval "$wx_cv_use_mediactrl"
8897
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_MEDIACTRL = yes; then
8900 result=no
8901 else
8902 result=yes
8903 fi
8904 else
8905 result=$wxUSE_MEDIACTRL
8906 fi
8907
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8910
8911
8912 enablestring=
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8916 defaultval=yes
8917 else
8918 defaultval=no
8919 fi
8920 fi
8921
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8924 # Check whether --enable-gstreamer8 was given.
8925 if test "${enable_gstreamer8+set}" = set; then
8926 enableval=$enable_gstreamer8;
8927 if test "$enableval" = yes; then
8928 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8929 else
8930 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8931 fi
8932
8933 else
8934
8935 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8936
8937 fi
8938
8939
8940 eval "$wx_cv_use_gstreamer8"
8941
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_GSTREAMER8 = yes; then
8944 result=no
8945 else
8946 result=yes
8947 fi
8948 else
8949 result=$wxUSE_GSTREAMER8
8950 fi
8951
8952 { echo "$as_me:$LINENO: result: $result" >&5
8953 echo "${ECHO_T}$result" >&6; }
8954
8955
8956 enablestring=
8957 defaultval=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x"$enablestring" = xdisable; then
8960 defaultval=yes
8961 else
8962 defaultval=no
8963 fi
8964 fi
8965
8966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8968 # Check whether --enable-webkit was given.
8969 if test "${enable_webkit+set}" = set; then
8970 enableval=$enable_webkit;
8971 if test "$enableval" = yes; then
8972 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8973 else
8974 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8975 fi
8976
8977 else
8978
8979 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8980
8981 fi
8982
8983
8984 eval "$wx_cv_use_webkit"
8985
8986 if test x"$enablestring" = xdisable; then
8987 if test $wxUSE_WEBKIT = yes; then
8988 result=no
8989 else
8990 result=yes
8991 fi
8992 else
8993 result=$wxUSE_WEBKIT
8994 fi
8995
8996 { echo "$as_me:$LINENO: result: $result" >&5
8997 echo "${ECHO_T}$result" >&6; }
8998
8999
9000 enablestring=
9001 defaultval=$wxUSE_ALL_FEATURES
9002 if test -z "$defaultval"; then
9003 if test x"$enablestring" = xdisable; then
9004 defaultval=yes
9005 else
9006 defaultval=no
9007 fi
9008 fi
9009
9010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9011 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9012 # Check whether --enable-richtext was given.
9013 if test "${enable_richtext+set}" = set; then
9014 enableval=$enable_richtext;
9015 if test "$enableval" = yes; then
9016 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9017 else
9018 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9019 fi
9020
9021 else
9022
9023 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9024
9025 fi
9026
9027
9028 eval "$wx_cv_use_richtext"
9029
9030 if test x"$enablestring" = xdisable; then
9031 if test $wxUSE_RICHTEXT = yes; then
9032 result=no
9033 else
9034 result=yes
9035 fi
9036 else
9037 result=$wxUSE_RICHTEXT
9038 fi
9039
9040 { echo "$as_me:$LINENO: result: $result" >&5
9041 echo "${ECHO_T}$result" >&6; }
9042
9043
9044 enablestring=
9045 defaultval=$wxUSE_ALL_FEATURES
9046 if test -z "$defaultval"; then
9047 if test x"$enablestring" = xdisable; then
9048 defaultval=yes
9049 else
9050 defaultval=no
9051 fi
9052 fi
9053
9054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9056 # Check whether --enable-graphics_ctx was given.
9057 if test "${enable_graphics_ctx+set}" = set; then
9058 enableval=$enable_graphics_ctx;
9059 if test "$enableval" = yes; then
9060 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9061 else
9062 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9063 fi
9064
9065 else
9066
9067 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9068
9069 fi
9070
9071
9072 eval "$wx_cv_use_graphics_ctx"
9073
9074 if test x"$enablestring" = xdisable; then
9075 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9076 result=no
9077 else
9078 result=yes
9079 fi
9080 else
9081 result=$wxUSE_GRAPHICS_CONTEXT
9082 fi
9083
9084 { echo "$as_me:$LINENO: result: $result" >&5
9085 echo "${ECHO_T}$result" >&6; }
9086
9087
9088 enablestring=
9089 defaultval=$wxUSE_ALL_FEATURES
9090 if test -z "$defaultval"; then
9091 if test x"$enablestring" = xdisable; then
9092 defaultval=yes
9093 else
9094 defaultval=no
9095 fi
9096 fi
9097
9098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9100 # Check whether --enable-postscript was given.
9101 if test "${enable_postscript+set}" = set; then
9102 enableval=$enable_postscript;
9103 if test "$enableval" = yes; then
9104 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9105 else
9106 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9107 fi
9108
9109 else
9110
9111 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9112
9113 fi
9114
9115
9116 eval "$wx_cv_use_postscript"
9117
9118 if test x"$enablestring" = xdisable; then
9119 if test $wxUSE_POSTSCRIPT = yes; then
9120 result=no
9121 else
9122 result=yes
9123 fi
9124 else
9125 result=$wxUSE_POSTSCRIPT
9126 fi
9127
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9130
9131
9132 enablestring=
9133 defaultval=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x"$enablestring" = xdisable; then
9136 defaultval=yes
9137 else
9138 defaultval=no
9139 fi
9140 fi
9141
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9144 # Check whether --enable-printarch was given.
9145 if test "${enable_printarch+set}" = set; then
9146 enableval=$enable_printarch;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9149 else
9150 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9151 fi
9152
9153 else
9154
9155 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9156
9157 fi
9158
9159
9160 eval "$wx_cv_use_printarch"
9161
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9164 result=no
9165 else
9166 result=yes
9167 fi
9168 else
9169 result=$wxUSE_PRINTING_ARCHITECTURE
9170 fi
9171
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9174
9175
9176 enablestring=
9177 defaultval=$wxUSE_ALL_FEATURES
9178 if test -z "$defaultval"; then
9179 if test x"$enablestring" = xdisable; then
9180 defaultval=yes
9181 else
9182 defaultval=no
9183 fi
9184 fi
9185
9186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9188 # Check whether --enable-svg was given.
9189 if test "${enable_svg+set}" = set; then
9190 enableval=$enable_svg;
9191 if test "$enableval" = yes; then
9192 wx_cv_use_svg='wxUSE_SVG=yes'
9193 else
9194 wx_cv_use_svg='wxUSE_SVG=no'
9195 fi
9196
9197 else
9198
9199 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9200
9201 fi
9202
9203
9204 eval "$wx_cv_use_svg"
9205
9206 if test x"$enablestring" = xdisable; then
9207 if test $wxUSE_SVG = yes; then
9208 result=no
9209 else
9210 result=yes
9211 fi
9212 else
9213 result=$wxUSE_SVG
9214 fi
9215
9216 { echo "$as_me:$LINENO: result: $result" >&5
9217 echo "${ECHO_T}$result" >&6; }
9218
9219
9220
9221
9222 enablestring=
9223 defaultval=$wxUSE_ALL_FEATURES
9224 if test -z "$defaultval"; then
9225 if test x"$enablestring" = xdisable; then
9226 defaultval=yes
9227 else
9228 defaultval=no
9229 fi
9230 fi
9231
9232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9234 # Check whether --enable-clipboard was given.
9235 if test "${enable_clipboard+set}" = set; then
9236 enableval=$enable_clipboard;
9237 if test "$enableval" = yes; then
9238 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9239 else
9240 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9241 fi
9242
9243 else
9244
9245 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9246
9247 fi
9248
9249
9250 eval "$wx_cv_use_clipboard"
9251
9252 if test x"$enablestring" = xdisable; then
9253 if test $wxUSE_CLIPBOARD = yes; then
9254 result=no
9255 else
9256 result=yes
9257 fi
9258 else
9259 result=$wxUSE_CLIPBOARD
9260 fi
9261
9262 { echo "$as_me:$LINENO: result: $result" >&5
9263 echo "${ECHO_T}$result" >&6; }
9264
9265
9266 enablestring=
9267 defaultval=$wxUSE_ALL_FEATURES
9268 if test -z "$defaultval"; then
9269 if test x"$enablestring" = xdisable; then
9270 defaultval=yes
9271 else
9272 defaultval=no
9273 fi
9274 fi
9275
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9278 # Check whether --enable-dnd was given.
9279 if test "${enable_dnd+set}" = set; then
9280 enableval=$enable_dnd;
9281 if test "$enableval" = yes; then
9282 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9283 else
9284 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9285 fi
9286
9287 else
9288
9289 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9290
9291 fi
9292
9293
9294 eval "$wx_cv_use_dnd"
9295
9296 if test x"$enablestring" = xdisable; then
9297 if test $wxUSE_DRAG_AND_DROP = yes; then
9298 result=no
9299 else
9300 result=yes
9301 fi
9302 else
9303 result=$wxUSE_DRAG_AND_DROP
9304 fi
9305
9306 { echo "$as_me:$LINENO: result: $result" >&5
9307 echo "${ECHO_T}$result" >&6; }
9308
9309
9310 enablestring=
9311 defaultval=$wxUSE_ALL_FEATURES
9312 if test -z "$defaultval"; then
9313 if test x"$enablestring" = xdisable; then
9314 defaultval=yes
9315 else
9316 defaultval=no
9317 fi
9318 fi
9319
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9322 # Check whether --enable-metafile was given.
9323 if test "${enable_metafile+set}" = set; then
9324 enableval=$enable_metafile;
9325 if test "$enableval" = yes; then
9326 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9327 else
9328 wx_cv_use_metafile='wxUSE_METAFILE=no'
9329 fi
9330
9331 else
9332
9333 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9334
9335 fi
9336
9337
9338 eval "$wx_cv_use_metafile"
9339
9340 if test x"$enablestring" = xdisable; then
9341 if test $wxUSE_METAFILE = yes; then
9342 result=no
9343 else
9344 result=yes
9345 fi
9346 else
9347 result=$wxUSE_METAFILE
9348 fi
9349
9350 { echo "$as_me:$LINENO: result: $result" >&5
9351 echo "${ECHO_T}$result" >&6; }
9352
9353
9354
9355 DEFAULT_wxUSE_CONTROLS=none
9356
9357 enablestring=disable
9358 defaultval=
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9361 defaultval=yes
9362 else
9363 defaultval=no
9364 fi
9365 fi
9366
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9369 # Check whether --enable-controls was given.
9370 if test "${enable_controls+set}" = set; then
9371 enableval=$enable_controls;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9374 else
9375 wx_cv_use_controls='wxUSE_CONTROLS=no'
9376 fi
9377
9378 else
9379
9380 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9381
9382 fi
9383
9384
9385 eval "$wx_cv_use_controls"
9386
9387 if test x"$enablestring" = xdisable; then
9388 if test $wxUSE_CONTROLS = yes; then
9389 result=no
9390 else
9391 result=yes
9392 fi
9393 else
9394 result=$wxUSE_CONTROLS
9395 fi
9396
9397 { echo "$as_me:$LINENO: result: $result" >&5
9398 echo "${ECHO_T}$result" >&6; }
9399
9400
9401 if test "$wxUSE_CONTROLS" = "yes"; then
9402 DEFAULT_wxUSE_ACCEL=yes
9403 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9404 DEFAULT_wxUSE_BMPBUTTON=yes
9405 DEFAULT_wxUSE_BUTTON=yes
9406 DEFAULT_wxUSE_CALCTRL=yes
9407 DEFAULT_wxUSE_CARET=yes
9408 DEFAULT_wxUSE_COMBOBOX=yes
9409 DEFAULT_wxUSE_CHECKBOX=yes
9410 DEFAULT_wxUSE_CHECKLISTBOX=yes
9411 DEFAULT_wxUSE_CHOICE=yes
9412 DEFAULT_wxUSE_CHOICEBOOK=yes
9413 DEFAULT_wxUSE_COLLPANE=yes
9414 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9415 DEFAULT_wxUSE_COMBOBOX=yes
9416 DEFAULT_wxUSE_DATEPICKCTRL=yes
9417 DEFAULT_wxUSE_DISPLAY=yes
9418 DEFAULT_wxUSE_DETECT_SM=yes
9419 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9420 DEFAULT_wxUSE_FILECTRL=yes
9421 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9422 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9423 DEFAULT_wxUSE_GAUGE=yes
9424 DEFAULT_wxUSE_GRID=yes
9425 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9426 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9427 DEFAULT_wxUSE_IMAGLIST=yes
9428 DEFAULT_wxUSE_LISTBOOK=yes
9429 DEFAULT_wxUSE_LISTBOX=yes
9430 DEFAULT_wxUSE_LISTCTRL=yes
9431 DEFAULT_wxUSE_NOTEBOOK=yes
9432 DEFAULT_wxUSE_RADIOBOX=yes
9433 DEFAULT_wxUSE_RADIOBTN=yes
9434 DEFAULT_wxUSE_SASH=yes
9435 DEFAULT_wxUSE_SCROLLBAR=yes
9436 DEFAULT_wxUSE_SEARCHCTRL=yes
9437 DEFAULT_wxUSE_SLIDER=yes
9438 DEFAULT_wxUSE_SPINBTN=yes
9439 DEFAULT_wxUSE_SPINCTRL=yes
9440 DEFAULT_wxUSE_SPLITTER=yes
9441 DEFAULT_wxUSE_STATBMP=yes
9442 DEFAULT_wxUSE_STATBOX=yes
9443 DEFAULT_wxUSE_STATLINE=yes
9444 DEFAULT_wxUSE_STATUSBAR=yes
9445 DEFAULT_wxUSE_TAB_DIALOG=yes
9446 DEFAULT_wxUSE_TOGGLEBTN=yes
9447 DEFAULT_wxUSE_TOOLBAR=yes
9448 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9449 DEFAULT_wxUSE_TOOLTIPS=yes
9450 DEFAULT_wxUSE_TREEBOOK=yes
9451 DEFAULT_wxUSE_TOOLBOOK=yes
9452 DEFAULT_wxUSE_TREECTRL=yes
9453 DEFAULT_wxUSE_POPUPWIN=yes
9454 DEFAULT_wxUSE_TIPWINDOW=yes
9455 elif test "$wxUSE_CONTROLS" = "no"; then
9456 DEFAULT_wxUSE_ACCEL=no
9457 DEFAULT_wxUSE_ANIMATIONCTRL=no
9458 DEFAULT_wxUSE_BMPBUTTON=no
9459 DEFAULT_wxUSE_BUTTON=no
9460 DEFAULT_wxUSE_CALCTRL=no
9461 DEFAULT_wxUSE_CARET=no
9462 DEFAULT_wxUSE_COLLPANE=no
9463 DEFAULT_wxUSE_COMBOBOX=no
9464 DEFAULT_wxUSE_CHECKBOX=no
9465 DEFAULT_wxUSE_CHECKLISTBOX=no
9466 DEFAULT_wxUSE_CHOICE=no
9467 DEFAULT_wxUSE_CHOICEBOOK=no
9468 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9469 DEFAULT_wxUSE_COMBOBOX=no
9470 DEFAULT_wxUSE_DATEPICKCTRL=no
9471 DEFAULT_wxUSE_DISPLAY=no
9472 DEFAULT_wxUSE_DETECT_SM=no
9473 DEFAULT_wxUSE_DIRPICKERCTRL=no
9474 DEFAULT_wxUSE_FILECTRL=no
9475 DEFAULT_wxUSE_FILEPICKERCTRL=no
9476 DEFAULT_wxUSE_FONTPICKERCTRL=no
9477 DEFAULT_wxUSE_GAUGE=no
9478 DEFAULT_wxUSE_GRID=no
9479 DEFAULT_wxUSE_HYPERLINKCTRL=no
9480 DEFAULT_wxUSE_DATAVIEWCTRL=no
9481 DEFAULT_wxUSE_IMAGLIST=no
9482 DEFAULT_wxUSE_LISTBOOK=no
9483 DEFAULT_wxUSE_LISTBOX=no
9484 DEFAULT_wxUSE_LISTCTRL=no
9485 DEFAULT_wxUSE_NOTEBOOK=no
9486 DEFAULT_wxUSE_RADIOBOX=no
9487 DEFAULT_wxUSE_RADIOBTN=no
9488 DEFAULT_wxUSE_SASH=no
9489 DEFAULT_wxUSE_SCROLLBAR=no
9490 DEFAULT_wxUSE_SEARCHCTRL=no
9491 DEFAULT_wxUSE_SLIDER=no
9492 DEFAULT_wxUSE_SPINBTN=no
9493 DEFAULT_wxUSE_SPINCTRL=no
9494 DEFAULT_wxUSE_SPLITTER=no
9495 DEFAULT_wxUSE_STATBMP=no
9496 DEFAULT_wxUSE_STATBOX=no
9497 DEFAULT_wxUSE_STATLINE=no
9498 DEFAULT_wxUSE_STATUSBAR=no
9499 DEFAULT_wxUSE_TAB_DIALOG=no
9500 DEFAULT_wxUSE_TOGGLEBTN=no
9501 DEFAULT_wxUSE_TOOLBAR=no
9502 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9503 DEFAULT_wxUSE_TOOLTIPS=no
9504 DEFAULT_wxUSE_TREEBOOK=no
9505 DEFAULT_wxUSE_TOOLBOOK=no
9506 DEFAULT_wxUSE_TREECTRL=no
9507 DEFAULT_wxUSE_POPUPWIN=no
9508 DEFAULT_wxUSE_TIPWINDOW=no
9509 fi
9510
9511
9512 enablestring=
9513 defaultval=$wxUSE_ALL_FEATURES
9514 if test -z "$defaultval"; then
9515 if test x"$enablestring" = xdisable; then
9516 defaultval=yes
9517 else
9518 defaultval=no
9519 fi
9520 fi
9521
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9524 # Check whether --enable-accel was given.
9525 if test "${enable_accel+set}" = set; then
9526 enableval=$enable_accel;
9527 if test "$enableval" = yes; then
9528 wx_cv_use_accel='wxUSE_ACCEL=yes'
9529 else
9530 wx_cv_use_accel='wxUSE_ACCEL=no'
9531 fi
9532
9533 else
9534
9535 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9536
9537 fi
9538
9539
9540 eval "$wx_cv_use_accel"
9541
9542 if test x"$enablestring" = xdisable; then
9543 if test $wxUSE_ACCEL = yes; then
9544 result=no
9545 else
9546 result=yes
9547 fi
9548 else
9549 result=$wxUSE_ACCEL
9550 fi
9551
9552 { echo "$as_me:$LINENO: result: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9554
9555
9556 enablestring=
9557 defaultval=$wxUSE_ALL_FEATURES
9558 if test -z "$defaultval"; then
9559 if test x"$enablestring" = xdisable; then
9560 defaultval=yes
9561 else
9562 defaultval=no
9563 fi
9564 fi
9565
9566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9568 # Check whether --enable-animatectrl was given.
9569 if test "${enable_animatectrl+set}" = set; then
9570 enableval=$enable_animatectrl;
9571 if test "$enableval" = yes; then
9572 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9573 else
9574 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9575 fi
9576
9577 else
9578
9579 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9580
9581 fi
9582
9583
9584 eval "$wx_cv_use_animatectrl"
9585
9586 if test x"$enablestring" = xdisable; then
9587 if test $wxUSE_ANIMATIONCTRL = yes; then
9588 result=no
9589 else
9590 result=yes
9591 fi
9592 else
9593 result=$wxUSE_ANIMATIONCTRL
9594 fi
9595
9596 { echo "$as_me:$LINENO: result: $result" >&5
9597 echo "${ECHO_T}$result" >&6; }
9598
9599
9600 enablestring=
9601 defaultval=$wxUSE_ALL_FEATURES
9602 if test -z "$defaultval"; then
9603 if test x"$enablestring" = xdisable; then
9604 defaultval=yes
9605 else
9606 defaultval=no
9607 fi
9608 fi
9609
9610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9611 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9612 # Check whether --enable-button was given.
9613 if test "${enable_button+set}" = set; then
9614 enableval=$enable_button;
9615 if test "$enableval" = yes; then
9616 wx_cv_use_button='wxUSE_BUTTON=yes'
9617 else
9618 wx_cv_use_button='wxUSE_BUTTON=no'
9619 fi
9620
9621 else
9622
9623 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9624
9625 fi
9626
9627
9628 eval "$wx_cv_use_button"
9629
9630 if test x"$enablestring" = xdisable; then
9631 if test $wxUSE_BUTTON = yes; then
9632 result=no
9633 else
9634 result=yes
9635 fi
9636 else
9637 result=$wxUSE_BUTTON
9638 fi
9639
9640 { echo "$as_me:$LINENO: result: $result" >&5
9641 echo "${ECHO_T}$result" >&6; }
9642
9643
9644 enablestring=
9645 defaultval=$wxUSE_ALL_FEATURES
9646 if test -z "$defaultval"; then
9647 if test x"$enablestring" = xdisable; then
9648 defaultval=yes
9649 else
9650 defaultval=no
9651 fi
9652 fi
9653
9654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9655 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9656 # Check whether --enable-bmpbutton was given.
9657 if test "${enable_bmpbutton+set}" = set; then
9658 enableval=$enable_bmpbutton;
9659 if test "$enableval" = yes; then
9660 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9661 else
9662 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9663 fi
9664
9665 else
9666
9667 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9668
9669 fi
9670
9671
9672 eval "$wx_cv_use_bmpbutton"
9673
9674 if test x"$enablestring" = xdisable; then
9675 if test $wxUSE_BMPBUTTON = yes; then
9676 result=no
9677 else
9678 result=yes
9679 fi
9680 else
9681 result=$wxUSE_BMPBUTTON
9682 fi
9683
9684 { echo "$as_me:$LINENO: result: $result" >&5
9685 echo "${ECHO_T}$result" >&6; }
9686
9687
9688 enablestring=
9689 defaultval=$wxUSE_ALL_FEATURES
9690 if test -z "$defaultval"; then
9691 if test x"$enablestring" = xdisable; then
9692 defaultval=yes
9693 else
9694 defaultval=no
9695 fi
9696 fi
9697
9698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9699 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9700 # Check whether --enable-bmpcombobox was given.
9701 if test "${enable_bmpcombobox+set}" = set; then
9702 enableval=$enable_bmpcombobox;
9703 if test "$enableval" = yes; then
9704 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9705 else
9706 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9707 fi
9708
9709 else
9710
9711 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9712
9713 fi
9714
9715
9716 eval "$wx_cv_use_bmpcombobox"
9717
9718 if test x"$enablestring" = xdisable; then
9719 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9720 result=no
9721 else
9722 result=yes
9723 fi
9724 else
9725 result=$wxUSE_BITMAPCOMBOBOX
9726 fi
9727
9728 { echo "$as_me:$LINENO: result: $result" >&5
9729 echo "${ECHO_T}$result" >&6; }
9730
9731
9732 enablestring=
9733 defaultval=$wxUSE_ALL_FEATURES
9734 if test -z "$defaultval"; then
9735 if test x"$enablestring" = xdisable; then
9736 defaultval=yes
9737 else
9738 defaultval=no
9739 fi
9740 fi
9741
9742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9743 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9744 # Check whether --enable-calendar was given.
9745 if test "${enable_calendar+set}" = set; then
9746 enableval=$enable_calendar;
9747 if test "$enableval" = yes; then
9748 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9749 else
9750 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9751 fi
9752
9753 else
9754
9755 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9756
9757 fi
9758
9759
9760 eval "$wx_cv_use_calendar"
9761
9762 if test x"$enablestring" = xdisable; then
9763 if test $wxUSE_CALCTRL = yes; then
9764 result=no
9765 else
9766 result=yes
9767 fi
9768 else
9769 result=$wxUSE_CALCTRL
9770 fi
9771
9772 { echo "$as_me:$LINENO: result: $result" >&5
9773 echo "${ECHO_T}$result" >&6; }
9774
9775
9776 enablestring=
9777 defaultval=$wxUSE_ALL_FEATURES
9778 if test -z "$defaultval"; then
9779 if test x"$enablestring" = xdisable; then
9780 defaultval=yes
9781 else
9782 defaultval=no
9783 fi
9784 fi
9785
9786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9788 # Check whether --enable-caret was given.
9789 if test "${enable_caret+set}" = set; then
9790 enableval=$enable_caret;
9791 if test "$enableval" = yes; then
9792 wx_cv_use_caret='wxUSE_CARET=yes'
9793 else
9794 wx_cv_use_caret='wxUSE_CARET=no'
9795 fi
9796
9797 else
9798
9799 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9800
9801 fi
9802
9803
9804 eval "$wx_cv_use_caret"
9805
9806 if test x"$enablestring" = xdisable; then
9807 if test $wxUSE_CARET = yes; then
9808 result=no
9809 else
9810 result=yes
9811 fi
9812 else
9813 result=$wxUSE_CARET
9814 fi
9815
9816 { echo "$as_me:$LINENO: result: $result" >&5
9817 echo "${ECHO_T}$result" >&6; }
9818
9819
9820 enablestring=
9821 defaultval=$wxUSE_ALL_FEATURES
9822 if test -z "$defaultval"; then
9823 if test x"$enablestring" = xdisable; then
9824 defaultval=yes
9825 else
9826 defaultval=no
9827 fi
9828 fi
9829
9830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9831 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9832 # Check whether --enable-checkbox was given.
9833 if test "${enable_checkbox+set}" = set; then
9834 enableval=$enable_checkbox;
9835 if test "$enableval" = yes; then
9836 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9837 else
9838 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9839 fi
9840
9841 else
9842
9843 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9844
9845 fi
9846
9847
9848 eval "$wx_cv_use_checkbox"
9849
9850 if test x"$enablestring" = xdisable; then
9851 if test $wxUSE_CHECKBOX = yes; then
9852 result=no
9853 else
9854 result=yes
9855 fi
9856 else
9857 result=$wxUSE_CHECKBOX
9858 fi
9859
9860 { echo "$as_me:$LINENO: result: $result" >&5
9861 echo "${ECHO_T}$result" >&6; }
9862
9863
9864 enablestring=
9865 defaultval=$wxUSE_ALL_FEATURES
9866 if test -z "$defaultval"; then
9867 if test x"$enablestring" = xdisable; then
9868 defaultval=yes
9869 else
9870 defaultval=no
9871 fi
9872 fi
9873
9874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9876 # Check whether --enable-checklst was given.
9877 if test "${enable_checklst+set}" = set; then
9878 enableval=$enable_checklst;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9881 else
9882 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9883 fi
9884
9885 else
9886
9887 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9888
9889 fi
9890
9891
9892 eval "$wx_cv_use_checklst"
9893
9894 if test x"$enablestring" = xdisable; then
9895 if test $wxUSE_CHECKLST = yes; then
9896 result=no
9897 else
9898 result=yes
9899 fi
9900 else
9901 result=$wxUSE_CHECKLST
9902 fi
9903
9904 { echo "$as_me:$LINENO: result: $result" >&5
9905 echo "${ECHO_T}$result" >&6; }
9906
9907
9908 enablestring=
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9912 defaultval=yes
9913 else
9914 defaultval=no
9915 fi
9916 fi
9917
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9920 # Check whether --enable-choice was given.
9921 if test "${enable_choice+set}" = set; then
9922 enableval=$enable_choice;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_choice='wxUSE_CHOICE=yes'
9925 else
9926 wx_cv_use_choice='wxUSE_CHOICE=no'
9927 fi
9928
9929 else
9930
9931 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9932
9933 fi
9934
9935
9936 eval "$wx_cv_use_choice"
9937
9938 if test x"$enablestring" = xdisable; then
9939 if test $wxUSE_CHOICE = yes; then
9940 result=no
9941 else
9942 result=yes
9943 fi
9944 else
9945 result=$wxUSE_CHOICE
9946 fi
9947
9948 { echo "$as_me:$LINENO: result: $result" >&5
9949 echo "${ECHO_T}$result" >&6; }
9950
9951
9952 enablestring=
9953 defaultval=$wxUSE_ALL_FEATURES
9954 if test -z "$defaultval"; then
9955 if test x"$enablestring" = xdisable; then
9956 defaultval=yes
9957 else
9958 defaultval=no
9959 fi
9960 fi
9961
9962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9964 # Check whether --enable-choicebook was given.
9965 if test "${enable_choicebook+set}" = set; then
9966 enableval=$enable_choicebook;
9967 if test "$enableval" = yes; then
9968 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9969 else
9970 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9971 fi
9972
9973 else
9974
9975 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9976
9977 fi
9978
9979
9980 eval "$wx_cv_use_choicebook"
9981
9982 if test x"$enablestring" = xdisable; then
9983 if test $wxUSE_CHOICEBOOK = yes; then
9984 result=no
9985 else
9986 result=yes
9987 fi
9988 else
9989 result=$wxUSE_CHOICEBOOK
9990 fi
9991
9992 { echo "$as_me:$LINENO: result: $result" >&5
9993 echo "${ECHO_T}$result" >&6; }
9994
9995
9996 enablestring=
9997 defaultval=$wxUSE_ALL_FEATURES
9998 if test -z "$defaultval"; then
9999 if test x"$enablestring" = xdisable; then
10000 defaultval=yes
10001 else
10002 defaultval=no
10003 fi
10004 fi
10005
10006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10007 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10008 # Check whether --enable-collpane was given.
10009 if test "${enable_collpane+set}" = set; then
10010 enableval=$enable_collpane;
10011 if test "$enableval" = yes; then
10012 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10013 else
10014 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10015 fi
10016
10017 else
10018
10019 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10020
10021 fi
10022
10023
10024 eval "$wx_cv_use_collpane"
10025
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_COLLPANE = yes; then
10028 result=no
10029 else
10030 result=yes
10031 fi
10032 else
10033 result=$wxUSE_COLLPANE
10034 fi
10035
10036 { echo "$as_me:$LINENO: result: $result" >&5
10037 echo "${ECHO_T}$result" >&6; }
10038
10039
10040 enablestring=
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10044 defaultval=yes
10045 else
10046 defaultval=no
10047 fi
10048 fi
10049
10050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10052 # Check whether --enable-colourpicker was given.
10053 if test "${enable_colourpicker+set}" = set; then
10054 enableval=$enable_colourpicker;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10057 else
10058 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10059 fi
10060
10061 else
10062
10063 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10064
10065 fi
10066
10067
10068 eval "$wx_cv_use_colourpicker"
10069
10070 if test x"$enablestring" = xdisable; then
10071 if test $wxUSE_COLOURPICKERCTRL = yes; then
10072 result=no
10073 else
10074 result=yes
10075 fi
10076 else
10077 result=$wxUSE_COLOURPICKERCTRL
10078 fi
10079
10080 { echo "$as_me:$LINENO: result: $result" >&5
10081 echo "${ECHO_T}$result" >&6; }
10082
10083
10084 enablestring=
10085 defaultval=$wxUSE_ALL_FEATURES
10086 if test -z "$defaultval"; then
10087 if test x"$enablestring" = xdisable; then
10088 defaultval=yes
10089 else
10090 defaultval=no
10091 fi
10092 fi
10093
10094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10096 # Check whether --enable-combobox was given.
10097 if test "${enable_combobox+set}" = set; then
10098 enableval=$enable_combobox;
10099 if test "$enableval" = yes; then
10100 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10101 else
10102 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10103 fi
10104
10105 else
10106
10107 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10108
10109 fi
10110
10111
10112 eval "$wx_cv_use_combobox"
10113
10114 if test x"$enablestring" = xdisable; then
10115 if test $wxUSE_COMBOBOX = yes; then
10116 result=no
10117 else
10118 result=yes
10119 fi
10120 else
10121 result=$wxUSE_COMBOBOX
10122 fi
10123
10124 { echo "$as_me:$LINENO: result: $result" >&5
10125 echo "${ECHO_T}$result" >&6; }
10126
10127
10128 enablestring=
10129 defaultval=$wxUSE_ALL_FEATURES
10130 if test -z "$defaultval"; then
10131 if test x"$enablestring" = xdisable; then
10132 defaultval=yes
10133 else
10134 defaultval=no
10135 fi
10136 fi
10137
10138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10139 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10140 # Check whether --enable-comboctrl was given.
10141 if test "${enable_comboctrl+set}" = set; then
10142 enableval=$enable_comboctrl;
10143 if test "$enableval" = yes; then
10144 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10145 else
10146 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10147 fi
10148
10149 else
10150
10151 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10152
10153 fi
10154
10155
10156 eval "$wx_cv_use_comboctrl"
10157
10158 if test x"$enablestring" = xdisable; then
10159 if test $wxUSE_COMBOCTRL = yes; then
10160 result=no
10161 else
10162 result=yes
10163 fi
10164 else
10165 result=$wxUSE_COMBOCTRL
10166 fi
10167
10168 { echo "$as_me:$LINENO: result: $result" >&5
10169 echo "${ECHO_T}$result" >&6; }
10170
10171
10172 enablestring=
10173 defaultval=$wxUSE_ALL_FEATURES
10174 if test -z "$defaultval"; then
10175 if test x"$enablestring" = xdisable; then
10176 defaultval=yes
10177 else
10178 defaultval=no
10179 fi
10180 fi
10181
10182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10183 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10184 # Check whether --enable-datepick was given.
10185 if test "${enable_datepick+set}" = set; then
10186 enableval=$enable_datepick;
10187 if test "$enableval" = yes; then
10188 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10189 else
10190 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10191 fi
10192
10193 else
10194
10195 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10196
10197 fi
10198
10199
10200 eval "$wx_cv_use_datepick"
10201
10202 if test x"$enablestring" = xdisable; then
10203 if test $wxUSE_DATEPICKCTRL = yes; then
10204 result=no
10205 else
10206 result=yes
10207 fi
10208 else
10209 result=$wxUSE_DATEPICKCTRL
10210 fi
10211
10212 { echo "$as_me:$LINENO: result: $result" >&5
10213 echo "${ECHO_T}$result" >&6; }
10214
10215
10216 enablestring=
10217 defaultval=$wxUSE_ALL_FEATURES
10218 if test -z "$defaultval"; then
10219 if test x"$enablestring" = xdisable; then
10220 defaultval=yes
10221 else
10222 defaultval=no
10223 fi
10224 fi
10225
10226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10228 # Check whether --enable-dirpicker was given.
10229 if test "${enable_dirpicker+set}" = set; then
10230 enableval=$enable_dirpicker;
10231 if test "$enableval" = yes; then
10232 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10233 else
10234 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10235 fi
10236
10237 else
10238
10239 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10240
10241 fi
10242
10243
10244 eval "$wx_cv_use_dirpicker"
10245
10246 if test x"$enablestring" = xdisable; then
10247 if test $wxUSE_DIRPICKERCTRL = yes; then
10248 result=no
10249 else
10250 result=yes
10251 fi
10252 else
10253 result=$wxUSE_DIRPICKERCTRL
10254 fi
10255
10256 { echo "$as_me:$LINENO: result: $result" >&5
10257 echo "${ECHO_T}$result" >&6; }
10258
10259
10260 enablestring=
10261 defaultval=$wxUSE_ALL_FEATURES
10262 if test -z "$defaultval"; then
10263 if test x"$enablestring" = xdisable; then
10264 defaultval=yes
10265 else
10266 defaultval=no
10267 fi
10268 fi
10269
10270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10272 # Check whether --enable-display was given.
10273 if test "${enable_display+set}" = set; then
10274 enableval=$enable_display;
10275 if test "$enableval" = yes; then
10276 wx_cv_use_display='wxUSE_DISPLAY=yes'
10277 else
10278 wx_cv_use_display='wxUSE_DISPLAY=no'
10279 fi
10280
10281 else
10282
10283 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10284
10285 fi
10286
10287
10288 eval "$wx_cv_use_display"
10289
10290 if test x"$enablestring" = xdisable; then
10291 if test $wxUSE_DISPLAY = yes; then
10292 result=no
10293 else
10294 result=yes
10295 fi
10296 else
10297 result=$wxUSE_DISPLAY
10298 fi
10299
10300 { echo "$as_me:$LINENO: result: $result" >&5
10301 echo "${ECHO_T}$result" >&6; }
10302
10303
10304 enablestring=
10305 defaultval=$wxUSE_ALL_FEATURES
10306 if test -z "$defaultval"; then
10307 if test x"$enablestring" = xdisable; then
10308 defaultval=yes
10309 else
10310 defaultval=no
10311 fi
10312 fi
10313
10314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10315 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10316 # Check whether --enable-detect_sm was given.
10317 if test "${enable_detect_sm+set}" = set; then
10318 enableval=$enable_detect_sm;
10319 if test "$enableval" = yes; then
10320 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10321 else
10322 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10323 fi
10324
10325 else
10326
10327 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10328
10329 fi
10330
10331
10332 eval "$wx_cv_use_detect_sm"
10333
10334 if test x"$enablestring" = xdisable; then
10335 if test $wxUSE_DETECT_SM = yes; then
10336 result=no
10337 else
10338 result=yes
10339 fi
10340 else
10341 result=$wxUSE_DETECT_SM
10342 fi
10343
10344 { echo "$as_me:$LINENO: result: $result" >&5
10345 echo "${ECHO_T}$result" >&6; }
10346
10347
10348 enablestring=
10349 defaultval=$wxUSE_ALL_FEATURES
10350 if test -z "$defaultval"; then
10351 if test x"$enablestring" = xdisable; then
10352 defaultval=yes
10353 else
10354 defaultval=no
10355 fi
10356 fi
10357
10358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10359 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10360 # Check whether --enable-editablebox was given.
10361 if test "${enable_editablebox+set}" = set; then
10362 enableval=$enable_editablebox;
10363 if test "$enableval" = yes; then
10364 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10365 else
10366 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10367 fi
10368
10369 else
10370
10371 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10372
10373 fi
10374
10375
10376 eval "$wx_cv_use_editablebox"
10377
10378 if test x"$enablestring" = xdisable; then
10379 if test $wxUSE_EDITABLELISTBOX = yes; then
10380 result=no
10381 else
10382 result=yes
10383 fi
10384 else
10385 result=$wxUSE_EDITABLELISTBOX
10386 fi
10387
10388 { echo "$as_me:$LINENO: result: $result" >&5
10389 echo "${ECHO_T}$result" >&6; }
10390
10391
10392 enablestring=
10393 defaultval=$wxUSE_ALL_FEATURES
10394 if test -z "$defaultval"; then
10395 if test x"$enablestring" = xdisable; then
10396 defaultval=yes
10397 else
10398 defaultval=no
10399 fi
10400 fi
10401
10402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10403 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10404 # Check whether --enable-filepicker was given.
10405 if test "${enable_filepicker+set}" = set; then
10406 enableval=$enable_filepicker;
10407 if test "$enableval" = yes; then
10408 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10409 else
10410 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10411 fi
10412
10413 else
10414
10415 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10416
10417 fi
10418
10419
10420 eval "$wx_cv_use_filepicker"
10421
10422 if test x"$enablestring" = xdisable; then
10423 if test $wxUSE_FILEPICKERCTRL = yes; then
10424 result=no
10425 else
10426 result=yes
10427 fi
10428 else
10429 result=$wxUSE_FILEPICKERCTRL
10430 fi
10431
10432 { echo "$as_me:$LINENO: result: $result" >&5
10433 echo "${ECHO_T}$result" >&6; }
10434
10435
10436 enablestring=
10437 defaultval=$wxUSE_ALL_FEATURES
10438 if test -z "$defaultval"; then
10439 if test x"$enablestring" = xdisable; then
10440 defaultval=yes
10441 else
10442 defaultval=no
10443 fi
10444 fi
10445
10446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10447 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10448 # Check whether --enable-filectrl was given.
10449 if test "${enable_filectrl+set}" = set; then
10450 enableval=$enable_filectrl;
10451 if test "$enableval" = yes; then
10452 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10453 else
10454 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10455 fi
10456
10457 else
10458
10459 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10460
10461 fi
10462
10463
10464 eval "$wx_cv_use_filectrl"
10465
10466 if test x"$enablestring" = xdisable; then
10467 if test $wxUSE_FILECTRL = yes; then
10468 result=no
10469 else
10470 result=yes
10471 fi
10472 else
10473 result=$wxUSE_FILECTRL
10474 fi
10475
10476 { echo "$as_me:$LINENO: result: $result" >&5
10477 echo "${ECHO_T}$result" >&6; }
10478
10479
10480 enablestring=
10481 defaultval=$wxUSE_ALL_FEATURES
10482 if test -z "$defaultval"; then
10483 if test x"$enablestring" = xdisable; then
10484 defaultval=yes
10485 else
10486 defaultval=no
10487 fi
10488 fi
10489
10490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10491 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10492 # Check whether --enable-fontpicker was given.
10493 if test "${enable_fontpicker+set}" = set; then
10494 enableval=$enable_fontpicker;
10495 if test "$enableval" = yes; then
10496 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10497 else
10498 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10499 fi
10500
10501 else
10502
10503 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10504
10505 fi
10506
10507
10508 eval "$wx_cv_use_fontpicker"
10509
10510 if test x"$enablestring" = xdisable; then
10511 if test $wxUSE_FONTPICKERCTRL = yes; then
10512 result=no
10513 else
10514 result=yes
10515 fi
10516 else
10517 result=$wxUSE_FONTPICKERCTRL
10518 fi
10519
10520 { echo "$as_me:$LINENO: result: $result" >&5
10521 echo "${ECHO_T}$result" >&6; }
10522
10523
10524 enablestring=
10525 defaultval=$wxUSE_ALL_FEATURES
10526 if test -z "$defaultval"; then
10527 if test x"$enablestring" = xdisable; then
10528 defaultval=yes
10529 else
10530 defaultval=no
10531 fi
10532 fi
10533
10534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10535 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10536 # Check whether --enable-gauge was given.
10537 if test "${enable_gauge+set}" = set; then
10538 enableval=$enable_gauge;
10539 if test "$enableval" = yes; then
10540 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10541 else
10542 wx_cv_use_gauge='wxUSE_GAUGE=no'
10543 fi
10544
10545 else
10546
10547 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10548
10549 fi
10550
10551
10552 eval "$wx_cv_use_gauge"
10553
10554 if test x"$enablestring" = xdisable; then
10555 if test $wxUSE_GAUGE = yes; then
10556 result=no
10557 else
10558 result=yes
10559 fi
10560 else
10561 result=$wxUSE_GAUGE
10562 fi
10563
10564 { echo "$as_me:$LINENO: result: $result" >&5
10565 echo "${ECHO_T}$result" >&6; }
10566
10567
10568 enablestring=
10569 defaultval=$wxUSE_ALL_FEATURES
10570 if test -z "$defaultval"; then
10571 if test x"$enablestring" = xdisable; then
10572 defaultval=yes
10573 else
10574 defaultval=no
10575 fi
10576 fi
10577
10578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10579 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10580 # Check whether --enable-grid was given.
10581 if test "${enable_grid+set}" = set; then
10582 enableval=$enable_grid;
10583 if test "$enableval" = yes; then
10584 wx_cv_use_grid='wxUSE_GRID=yes'
10585 else
10586 wx_cv_use_grid='wxUSE_GRID=no'
10587 fi
10588
10589 else
10590
10591 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10592
10593 fi
10594
10595
10596 eval "$wx_cv_use_grid"
10597
10598 if test x"$enablestring" = xdisable; then
10599 if test $wxUSE_GRID = yes; then
10600 result=no
10601 else
10602 result=yes
10603 fi
10604 else
10605 result=$wxUSE_GRID
10606 fi
10607
10608 { echo "$as_me:$LINENO: result: $result" >&5
10609 echo "${ECHO_T}$result" >&6; }
10610
10611
10612 enablestring=
10613 defaultval=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x"$enablestring" = xdisable; then
10616 defaultval=yes
10617 else
10618 defaultval=no
10619 fi
10620 fi
10621
10622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10624 # Check whether --enable-dataviewctrl was given.
10625 if test "${enable_dataviewctrl+set}" = set; then
10626 enableval=$enable_dataviewctrl;
10627 if test "$enableval" = yes; then
10628 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10629 else
10630 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10631 fi
10632
10633 else
10634
10635 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10636
10637 fi
10638
10639
10640 eval "$wx_cv_use_dataviewctrl"
10641
10642 if test x"$enablestring" = xdisable; then
10643 if test $wxUSE_DATAVIEWCTRL = yes; then
10644 result=no
10645 else
10646 result=yes
10647 fi
10648 else
10649 result=$wxUSE_DATAVIEWCTRL
10650 fi
10651
10652 { echo "$as_me:$LINENO: result: $result" >&5
10653 echo "${ECHO_T}$result" >&6; }
10654
10655
10656 enablestring=
10657 defaultval=$wxUSE_ALL_FEATURES
10658 if test -z "$defaultval"; then
10659 if test x"$enablestring" = xdisable; then
10660 defaultval=yes
10661 else
10662 defaultval=no
10663 fi
10664 fi
10665
10666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10667 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10668 # Check whether --enable-hyperlink was given.
10669 if test "${enable_hyperlink+set}" = set; then
10670 enableval=$enable_hyperlink;
10671 if test "$enableval" = yes; then
10672 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10673 else
10674 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10675 fi
10676
10677 else
10678
10679 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10680
10681 fi
10682
10683
10684 eval "$wx_cv_use_hyperlink"
10685
10686 if test x"$enablestring" = xdisable; then
10687 if test $wxUSE_HYPERLINKCTRL = yes; then
10688 result=no
10689 else
10690 result=yes
10691 fi
10692 else
10693 result=$wxUSE_HYPERLINKCTRL
10694 fi
10695
10696 { echo "$as_me:$LINENO: result: $result" >&5
10697 echo "${ECHO_T}$result" >&6; }
10698
10699
10700 enablestring=
10701 defaultval=$wxUSE_ALL_FEATURES
10702 if test -z "$defaultval"; then
10703 if test x"$enablestring" = xdisable; then
10704 defaultval=yes
10705 else
10706 defaultval=no
10707 fi
10708 fi
10709
10710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10711 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10712 # Check whether --enable-imaglist was given.
10713 if test "${enable_imaglist+set}" = set; then
10714 enableval=$enable_imaglist;
10715 if test "$enableval" = yes; then
10716 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10717 else
10718 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10719 fi
10720
10721 else
10722
10723 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10724
10725 fi
10726
10727
10728 eval "$wx_cv_use_imaglist"
10729
10730 if test x"$enablestring" = xdisable; then
10731 if test $wxUSE_IMAGLIST = yes; then
10732 result=no
10733 else
10734 result=yes
10735 fi
10736 else
10737 result=$wxUSE_IMAGLIST
10738 fi
10739
10740 { echo "$as_me:$LINENO: result: $result" >&5
10741 echo "${ECHO_T}$result" >&6; }
10742
10743
10744 enablestring=
10745 defaultval=$wxUSE_ALL_FEATURES
10746 if test -z "$defaultval"; then
10747 if test x"$enablestring" = xdisable; then
10748 defaultval=yes
10749 else
10750 defaultval=no
10751 fi
10752 fi
10753
10754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10755 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10756 # Check whether --enable-listbook was given.
10757 if test "${enable_listbook+set}" = set; then
10758 enableval=$enable_listbook;
10759 if test "$enableval" = yes; then
10760 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10761 else
10762 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10763 fi
10764
10765 else
10766
10767 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10768
10769 fi
10770
10771
10772 eval "$wx_cv_use_listbook"
10773
10774 if test x"$enablestring" = xdisable; then
10775 if test $wxUSE_LISTBOOK = yes; then
10776 result=no
10777 else
10778 result=yes
10779 fi
10780 else
10781 result=$wxUSE_LISTBOOK
10782 fi
10783
10784 { echo "$as_me:$LINENO: result: $result" >&5
10785 echo "${ECHO_T}$result" >&6; }
10786
10787
10788 enablestring=
10789 defaultval=$wxUSE_ALL_FEATURES
10790 if test -z "$defaultval"; then
10791 if test x"$enablestring" = xdisable; then
10792 defaultval=yes
10793 else
10794 defaultval=no
10795 fi
10796 fi
10797
10798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10799 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10800 # Check whether --enable-listbox was given.
10801 if test "${enable_listbox+set}" = set; then
10802 enableval=$enable_listbox;
10803 if test "$enableval" = yes; then
10804 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10805 else
10806 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10807 fi
10808
10809 else
10810
10811 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10812
10813 fi
10814
10815
10816 eval "$wx_cv_use_listbox"
10817
10818 if test x"$enablestring" = xdisable; then
10819 if test $wxUSE_LISTBOX = yes; then
10820 result=no
10821 else
10822 result=yes
10823 fi
10824 else
10825 result=$wxUSE_LISTBOX
10826 fi
10827
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10830
10831
10832 enablestring=
10833 defaultval=$wxUSE_ALL_FEATURES
10834 if test -z "$defaultval"; then
10835 if test x"$enablestring" = xdisable; then
10836 defaultval=yes
10837 else
10838 defaultval=no
10839 fi
10840 fi
10841
10842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10843 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10844 # Check whether --enable-listctrl was given.
10845 if test "${enable_listctrl+set}" = set; then
10846 enableval=$enable_listctrl;
10847 if test "$enableval" = yes; then
10848 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10849 else
10850 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10851 fi
10852
10853 else
10854
10855 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10856
10857 fi
10858
10859
10860 eval "$wx_cv_use_listctrl"
10861
10862 if test x"$enablestring" = xdisable; then
10863 if test $wxUSE_LISTCTRL = yes; then
10864 result=no
10865 else
10866 result=yes
10867 fi
10868 else
10869 result=$wxUSE_LISTCTRL
10870 fi
10871
10872 { echo "$as_me:$LINENO: result: $result" >&5
10873 echo "${ECHO_T}$result" >&6; }
10874
10875
10876 enablestring=
10877 defaultval=$wxUSE_ALL_FEATURES
10878 if test -z "$defaultval"; then
10879 if test x"$enablestring" = xdisable; then
10880 defaultval=yes
10881 else
10882 defaultval=no
10883 fi
10884 fi
10885
10886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10887 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10888 # Check whether --enable-notebook was given.
10889 if test "${enable_notebook+set}" = set; then
10890 enableval=$enable_notebook;
10891 if test "$enableval" = yes; then
10892 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10893 else
10894 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10895 fi
10896
10897 else
10898
10899 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10900
10901 fi
10902
10903
10904 eval "$wx_cv_use_notebook"
10905
10906 if test x"$enablestring" = xdisable; then
10907 if test $wxUSE_NOTEBOOK = yes; then
10908 result=no
10909 else
10910 result=yes
10911 fi
10912 else
10913 result=$wxUSE_NOTEBOOK
10914 fi
10915
10916 { echo "$as_me:$LINENO: result: $result" >&5
10917 echo "${ECHO_T}$result" >&6; }
10918
10919
10920 enablestring=
10921 defaultval=$wxUSE_ALL_FEATURES
10922 if test -z "$defaultval"; then
10923 if test x"$enablestring" = xdisable; then
10924 defaultval=yes
10925 else
10926 defaultval=no
10927 fi
10928 fi
10929
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10932 # Check whether --enable-notifmsg was given.
10933 if test "${enable_notifmsg+set}" = set; then
10934 enableval=$enable_notifmsg;
10935 if test "$enableval" = yes; then
10936 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10937 else
10938 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10939 fi
10940
10941 else
10942
10943 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10944
10945 fi
10946
10947
10948 eval "$wx_cv_use_notifmsg"
10949
10950 if test x"$enablestring" = xdisable; then
10951 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10952 result=no
10953 else
10954 result=yes
10955 fi
10956 else
10957 result=$wxUSE_NOTIFICATION_MESSAGE
10958 fi
10959
10960 { echo "$as_me:$LINENO: result: $result" >&5
10961 echo "${ECHO_T}$result" >&6; }
10962
10963
10964 enablestring=
10965 defaultval=$wxUSE_ALL_FEATURES
10966 if test -z "$defaultval"; then
10967 if test x"$enablestring" = xdisable; then
10968 defaultval=yes
10969 else
10970 defaultval=no
10971 fi
10972 fi
10973
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10976 # Check whether --enable-odcombobox was given.
10977 if test "${enable_odcombobox+set}" = set; then
10978 enableval=$enable_odcombobox;
10979 if test "$enableval" = yes; then
10980 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10981 else
10982 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10983 fi
10984
10985 else
10986
10987 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10988
10989 fi
10990
10991
10992 eval "$wx_cv_use_odcombobox"
10993
10994 if test x"$enablestring" = xdisable; then
10995 if test $wxUSE_ODCOMBOBOX = yes; then
10996 result=no
10997 else
10998 result=yes
10999 fi
11000 else
11001 result=$wxUSE_ODCOMBOBOX
11002 fi
11003
11004 { echo "$as_me:$LINENO: result: $result" >&5
11005 echo "${ECHO_T}$result" >&6; }
11006
11007
11008 enablestring=
11009 defaultval=$wxUSE_ALL_FEATURES
11010 if test -z "$defaultval"; then
11011 if test x"$enablestring" = xdisable; then
11012 defaultval=yes
11013 else
11014 defaultval=no
11015 fi
11016 fi
11017
11018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11019 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11020 # Check whether --enable-radiobox was given.
11021 if test "${enable_radiobox+set}" = set; then
11022 enableval=$enable_radiobox;
11023 if test "$enableval" = yes; then
11024 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11025 else
11026 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11027 fi
11028
11029 else
11030
11031 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11032
11033 fi
11034
11035
11036 eval "$wx_cv_use_radiobox"
11037
11038 if test x"$enablestring" = xdisable; then
11039 if test $wxUSE_RADIOBOX = yes; then
11040 result=no
11041 else
11042 result=yes
11043 fi
11044 else
11045 result=$wxUSE_RADIOBOX
11046 fi
11047
11048 { echo "$as_me:$LINENO: result: $result" >&5
11049 echo "${ECHO_T}$result" >&6; }
11050
11051
11052 enablestring=
11053 defaultval=$wxUSE_ALL_FEATURES
11054 if test -z "$defaultval"; then
11055 if test x"$enablestring" = xdisable; then
11056 defaultval=yes
11057 else
11058 defaultval=no
11059 fi
11060 fi
11061
11062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11063 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11064 # Check whether --enable-radiobtn was given.
11065 if test "${enable_radiobtn+set}" = set; then
11066 enableval=$enable_radiobtn;
11067 if test "$enableval" = yes; then
11068 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11069 else
11070 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11071 fi
11072
11073 else
11074
11075 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11076
11077 fi
11078
11079
11080 eval "$wx_cv_use_radiobtn"
11081
11082 if test x"$enablestring" = xdisable; then
11083 if test $wxUSE_RADIOBTN = yes; then
11084 result=no
11085 else
11086 result=yes
11087 fi
11088 else
11089 result=$wxUSE_RADIOBTN
11090 fi
11091
11092 { echo "$as_me:$LINENO: result: $result" >&5
11093 echo "${ECHO_T}$result" >&6; }
11094
11095
11096 enablestring=
11097 defaultval=$wxUSE_ALL_FEATURES
11098 if test -z "$defaultval"; then
11099 if test x"$enablestring" = xdisable; then
11100 defaultval=yes
11101 else
11102 defaultval=no
11103 fi
11104 fi
11105
11106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11108 # Check whether --enable-sash was given.
11109 if test "${enable_sash+set}" = set; then
11110 enableval=$enable_sash;
11111 if test "$enableval" = yes; then
11112 wx_cv_use_sash='wxUSE_SASH=yes'
11113 else
11114 wx_cv_use_sash='wxUSE_SASH=no'
11115 fi
11116
11117 else
11118
11119 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11120
11121 fi
11122
11123
11124 eval "$wx_cv_use_sash"
11125
11126 if test x"$enablestring" = xdisable; then
11127 if test $wxUSE_SASH = yes; then
11128 result=no
11129 else
11130 result=yes
11131 fi
11132 else
11133 result=$wxUSE_SASH
11134 fi
11135
11136 { echo "$as_me:$LINENO: result: $result" >&5
11137 echo "${ECHO_T}$result" >&6; }
11138
11139
11140 enablestring=
11141 defaultval=$wxUSE_ALL_FEATURES
11142 if test -z "$defaultval"; then
11143 if test x"$enablestring" = xdisable; then
11144 defaultval=yes
11145 else
11146 defaultval=no
11147 fi
11148 fi
11149
11150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11152 # Check whether --enable-scrollbar was given.
11153 if test "${enable_scrollbar+set}" = set; then
11154 enableval=$enable_scrollbar;
11155 if test "$enableval" = yes; then
11156 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11157 else
11158 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11159 fi
11160
11161 else
11162
11163 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11164
11165 fi
11166
11167
11168 eval "$wx_cv_use_scrollbar"
11169
11170 if test x"$enablestring" = xdisable; then
11171 if test $wxUSE_SCROLLBAR = yes; then
11172 result=no
11173 else
11174 result=yes
11175 fi
11176 else
11177 result=$wxUSE_SCROLLBAR
11178 fi
11179
11180 { echo "$as_me:$LINENO: result: $result" >&5
11181 echo "${ECHO_T}$result" >&6; }
11182
11183
11184 enablestring=
11185 defaultval=$wxUSE_ALL_FEATURES
11186 if test -z "$defaultval"; then
11187 if test x"$enablestring" = xdisable; then
11188 defaultval=yes
11189 else
11190 defaultval=no
11191 fi
11192 fi
11193
11194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11196 # Check whether --enable-searchctrl was given.
11197 if test "${enable_searchctrl+set}" = set; then
11198 enableval=$enable_searchctrl;
11199 if test "$enableval" = yes; then
11200 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11201 else
11202 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11203 fi
11204
11205 else
11206
11207 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11208
11209 fi
11210
11211
11212 eval "$wx_cv_use_searchctrl"
11213
11214 if test x"$enablestring" = xdisable; then
11215 if test $wxUSE_SEARCHCTRL = yes; then
11216 result=no
11217 else
11218 result=yes
11219 fi
11220 else
11221 result=$wxUSE_SEARCHCTRL
11222 fi
11223
11224 { echo "$as_me:$LINENO: result: $result" >&5
11225 echo "${ECHO_T}$result" >&6; }
11226
11227
11228 enablestring=
11229 defaultval=$wxUSE_ALL_FEATURES
11230 if test -z "$defaultval"; then
11231 if test x"$enablestring" = xdisable; then
11232 defaultval=yes
11233 else
11234 defaultval=no
11235 fi
11236 fi
11237
11238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11239 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11240 # Check whether --enable-slider was given.
11241 if test "${enable_slider+set}" = set; then
11242 enableval=$enable_slider;
11243 if test "$enableval" = yes; then
11244 wx_cv_use_slider='wxUSE_SLIDER=yes'
11245 else
11246 wx_cv_use_slider='wxUSE_SLIDER=no'
11247 fi
11248
11249 else
11250
11251 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11252
11253 fi
11254
11255
11256 eval "$wx_cv_use_slider"
11257
11258 if test x"$enablestring" = xdisable; then
11259 if test $wxUSE_SLIDER = yes; then
11260 result=no
11261 else
11262 result=yes
11263 fi
11264 else
11265 result=$wxUSE_SLIDER
11266 fi
11267
11268 { echo "$as_me:$LINENO: result: $result" >&5
11269 echo "${ECHO_T}$result" >&6; }
11270
11271
11272 enablestring=
11273 defaultval=$wxUSE_ALL_FEATURES
11274 if test -z "$defaultval"; then
11275 if test x"$enablestring" = xdisable; then
11276 defaultval=yes
11277 else
11278 defaultval=no
11279 fi
11280 fi
11281
11282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11283 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11284 # Check whether --enable-spinbtn was given.
11285 if test "${enable_spinbtn+set}" = set; then
11286 enableval=$enable_spinbtn;
11287 if test "$enableval" = yes; then
11288 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11289 else
11290 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11291 fi
11292
11293 else
11294
11295 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11296
11297 fi
11298
11299
11300 eval "$wx_cv_use_spinbtn"
11301
11302 if test x"$enablestring" = xdisable; then
11303 if test $wxUSE_SPINBTN = yes; then
11304 result=no
11305 else
11306 result=yes
11307 fi
11308 else
11309 result=$wxUSE_SPINBTN
11310 fi
11311
11312 { echo "$as_me:$LINENO: result: $result" >&5
11313 echo "${ECHO_T}$result" >&6; }
11314
11315
11316 enablestring=
11317 defaultval=$wxUSE_ALL_FEATURES
11318 if test -z "$defaultval"; then
11319 if test x"$enablestring" = xdisable; then
11320 defaultval=yes
11321 else
11322 defaultval=no
11323 fi
11324 fi
11325
11326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11327 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11328 # Check whether --enable-spinctrl was given.
11329 if test "${enable_spinctrl+set}" = set; then
11330 enableval=$enable_spinctrl;
11331 if test "$enableval" = yes; then
11332 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11333 else
11334 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11335 fi
11336
11337 else
11338
11339 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11340
11341 fi
11342
11343
11344 eval "$wx_cv_use_spinctrl"
11345
11346 if test x"$enablestring" = xdisable; then
11347 if test $wxUSE_SPINCTRL = yes; then
11348 result=no
11349 else
11350 result=yes
11351 fi
11352 else
11353 result=$wxUSE_SPINCTRL
11354 fi
11355
11356 { echo "$as_me:$LINENO: result: $result" >&5
11357 echo "${ECHO_T}$result" >&6; }
11358
11359
11360 enablestring=
11361 defaultval=$wxUSE_ALL_FEATURES
11362 if test -z "$defaultval"; then
11363 if test x"$enablestring" = xdisable; then
11364 defaultval=yes
11365 else
11366 defaultval=no
11367 fi
11368 fi
11369
11370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11371 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11372 # Check whether --enable-splitter was given.
11373 if test "${enable_splitter+set}" = set; then
11374 enableval=$enable_splitter;
11375 if test "$enableval" = yes; then
11376 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11377 else
11378 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11379 fi
11380
11381 else
11382
11383 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11384
11385 fi
11386
11387
11388 eval "$wx_cv_use_splitter"
11389
11390 if test x"$enablestring" = xdisable; then
11391 if test $wxUSE_SPLITTER = yes; then
11392 result=no
11393 else
11394 result=yes
11395 fi
11396 else
11397 result=$wxUSE_SPLITTER
11398 fi
11399
11400 { echo "$as_me:$LINENO: result: $result" >&5
11401 echo "${ECHO_T}$result" >&6; }
11402
11403
11404 enablestring=
11405 defaultval=$wxUSE_ALL_FEATURES
11406 if test -z "$defaultval"; then
11407 if test x"$enablestring" = xdisable; then
11408 defaultval=yes
11409 else
11410 defaultval=no
11411 fi
11412 fi
11413
11414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11415 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11416 # Check whether --enable-statbmp was given.
11417 if test "${enable_statbmp+set}" = set; then
11418 enableval=$enable_statbmp;
11419 if test "$enableval" = yes; then
11420 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11421 else
11422 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11423 fi
11424
11425 else
11426
11427 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11428
11429 fi
11430
11431
11432 eval "$wx_cv_use_statbmp"
11433
11434 if test x"$enablestring" = xdisable; then
11435 if test $wxUSE_STATBMP = yes; then
11436 result=no
11437 else
11438 result=yes
11439 fi
11440 else
11441 result=$wxUSE_STATBMP
11442 fi
11443
11444 { echo "$as_me:$LINENO: result: $result" >&5
11445 echo "${ECHO_T}$result" >&6; }
11446
11447
11448 enablestring=
11449 defaultval=$wxUSE_ALL_FEATURES
11450 if test -z "$defaultval"; then
11451 if test x"$enablestring" = xdisable; then
11452 defaultval=yes
11453 else
11454 defaultval=no
11455 fi
11456 fi
11457
11458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11459 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11460 # Check whether --enable-statbox was given.
11461 if test "${enable_statbox+set}" = set; then
11462 enableval=$enable_statbox;
11463 if test "$enableval" = yes; then
11464 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11465 else
11466 wx_cv_use_statbox='wxUSE_STATBOX=no'
11467 fi
11468
11469 else
11470
11471 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11472
11473 fi
11474
11475
11476 eval "$wx_cv_use_statbox"
11477
11478 if test x"$enablestring" = xdisable; then
11479 if test $wxUSE_STATBOX = yes; then
11480 result=no
11481 else
11482 result=yes
11483 fi
11484 else
11485 result=$wxUSE_STATBOX
11486 fi
11487
11488 { echo "$as_me:$LINENO: result: $result" >&5
11489 echo "${ECHO_T}$result" >&6; }
11490
11491
11492 enablestring=
11493 defaultval=$wxUSE_ALL_FEATURES
11494 if test -z "$defaultval"; then
11495 if test x"$enablestring" = xdisable; then
11496 defaultval=yes
11497 else
11498 defaultval=no
11499 fi
11500 fi
11501
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11504 # Check whether --enable-statline was given.
11505 if test "${enable_statline+set}" = set; then
11506 enableval=$enable_statline;
11507 if test "$enableval" = yes; then
11508 wx_cv_use_statline='wxUSE_STATLINE=yes'
11509 else
11510 wx_cv_use_statline='wxUSE_STATLINE=no'
11511 fi
11512
11513 else
11514
11515 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11516
11517 fi
11518
11519
11520 eval "$wx_cv_use_statline"
11521
11522 if test x"$enablestring" = xdisable; then
11523 if test $wxUSE_STATLINE = yes; then
11524 result=no
11525 else
11526 result=yes
11527 fi
11528 else
11529 result=$wxUSE_STATLINE
11530 fi
11531
11532 { echo "$as_me:$LINENO: result: $result" >&5
11533 echo "${ECHO_T}$result" >&6; }
11534
11535
11536 enablestring=
11537 defaultval=$wxUSE_ALL_FEATURES
11538 if test -z "$defaultval"; then
11539 if test x"$enablestring" = xdisable; then
11540 defaultval=yes
11541 else
11542 defaultval=no
11543 fi
11544 fi
11545
11546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11547 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11548 # Check whether --enable-stattext was given.
11549 if test "${enable_stattext+set}" = set; then
11550 enableval=$enable_stattext;
11551 if test "$enableval" = yes; then
11552 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11553 else
11554 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11555 fi
11556
11557 else
11558
11559 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11560
11561 fi
11562
11563
11564 eval "$wx_cv_use_stattext"
11565
11566 if test x"$enablestring" = xdisable; then
11567 if test $wxUSE_STATTEXT = yes; then
11568 result=no
11569 else
11570 result=yes
11571 fi
11572 else
11573 result=$wxUSE_STATTEXT
11574 fi
11575
11576 { echo "$as_me:$LINENO: result: $result" >&5
11577 echo "${ECHO_T}$result" >&6; }
11578
11579
11580 enablestring=
11581 defaultval=$wxUSE_ALL_FEATURES
11582 if test -z "$defaultval"; then
11583 if test x"$enablestring" = xdisable; then
11584 defaultval=yes
11585 else
11586 defaultval=no
11587 fi
11588 fi
11589
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11592 # Check whether --enable-statusbar was given.
11593 if test "${enable_statusbar+set}" = set; then
11594 enableval=$enable_statusbar;
11595 if test "$enableval" = yes; then
11596 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11597 else
11598 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11599 fi
11600
11601 else
11602
11603 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11604
11605 fi
11606
11607
11608 eval "$wx_cv_use_statusbar"
11609
11610 if test x"$enablestring" = xdisable; then
11611 if test $wxUSE_STATUSBAR = yes; then
11612 result=no
11613 else
11614 result=yes
11615 fi
11616 else
11617 result=$wxUSE_STATUSBAR
11618 fi
11619
11620 { echo "$as_me:$LINENO: result: $result" >&5
11621 echo "${ECHO_T}$result" >&6; }
11622
11623
11624 enablestring=
11625 defaultval=$wxUSE_ALL_FEATURES
11626 if test -z "$defaultval"; then
11627 if test x"$enablestring" = xdisable; then
11628 defaultval=yes
11629 else
11630 defaultval=no
11631 fi
11632 fi
11633
11634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11635 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11636 # Check whether --enable-tabdialog was given.
11637 if test "${enable_tabdialog+set}" = set; then
11638 enableval=$enable_tabdialog;
11639 if test "$enableval" = yes; then
11640 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11641 else
11642 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11643 fi
11644
11645 else
11646
11647 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11648
11649 fi
11650
11651
11652 eval "$wx_cv_use_tabdialog"
11653
11654 if test x"$enablestring" = xdisable; then
11655 if test $wxUSE_TAB_DIALOG = yes; then
11656 result=no
11657 else
11658 result=yes
11659 fi
11660 else
11661 result=$wxUSE_TAB_DIALOG
11662 fi
11663
11664 { echo "$as_me:$LINENO: result: $result" >&5
11665 echo "${ECHO_T}$result" >&6; }
11666
11667
11668 enablestring=
11669 defaultval=$wxUSE_ALL_FEATURES
11670 if test -z "$defaultval"; then
11671 if test x"$enablestring" = xdisable; then
11672 defaultval=yes
11673 else
11674 defaultval=no
11675 fi
11676 fi
11677
11678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11679 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11680 # Check whether --enable-taskbaricon was given.
11681 if test "${enable_taskbaricon+set}" = set; then
11682 enableval=$enable_taskbaricon;
11683 if test "$enableval" = yes; then
11684 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11685 else
11686 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11687 fi
11688
11689 else
11690
11691 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11692
11693 fi
11694
11695
11696 eval "$wx_cv_use_taskbaricon"
11697
11698 if test x"$enablestring" = xdisable; then
11699 if test $wxUSE_TASKBARICON = yes; then
11700 result=no
11701 else
11702 result=yes
11703 fi
11704 else
11705 result=$wxUSE_TASKBARICON
11706 fi
11707
11708 { echo "$as_me:$LINENO: result: $result" >&5
11709 echo "${ECHO_T}$result" >&6; }
11710
11711
11712 enablestring=
11713 defaultval=$wxUSE_ALL_FEATURES
11714 if test -z "$defaultval"; then
11715 if test x"$enablestring" = xdisable; then
11716 defaultval=yes
11717 else
11718 defaultval=no
11719 fi
11720 fi
11721
11722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11723 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11724 # Check whether --enable-textctrl was given.
11725 if test "${enable_textctrl+set}" = set; then
11726 enableval=$enable_textctrl;
11727 if test "$enableval" = yes; then
11728 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11729 else
11730 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11731 fi
11732
11733 else
11734
11735 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11736
11737 fi
11738
11739
11740 eval "$wx_cv_use_textctrl"
11741
11742 if test x"$enablestring" = xdisable; then
11743 if test $wxUSE_TEXTCTRL = yes; then
11744 result=no
11745 else
11746 result=yes
11747 fi
11748 else
11749 result=$wxUSE_TEXTCTRL
11750 fi
11751
11752 { echo "$as_me:$LINENO: result: $result" >&5
11753 echo "${ECHO_T}$result" >&6; }
11754
11755
11756 enablestring=
11757 defaultval=$wxUSE_ALL_FEATURES
11758 if test -z "$defaultval"; then
11759 if test x"$enablestring" = xdisable; then
11760 defaultval=yes
11761 else
11762 defaultval=no
11763 fi
11764 fi
11765
11766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11767 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11768 # Check whether --enable-togglebtn was given.
11769 if test "${enable_togglebtn+set}" = set; then
11770 enableval=$enable_togglebtn;
11771 if test "$enableval" = yes; then
11772 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11773 else
11774 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11775 fi
11776
11777 else
11778
11779 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11780
11781 fi
11782
11783
11784 eval "$wx_cv_use_togglebtn"
11785
11786 if test x"$enablestring" = xdisable; then
11787 if test $wxUSE_TOGGLEBTN = yes; then
11788 result=no
11789 else
11790 result=yes
11791 fi
11792 else
11793 result=$wxUSE_TOGGLEBTN
11794 fi
11795
11796 { echo "$as_me:$LINENO: result: $result" >&5
11797 echo "${ECHO_T}$result" >&6; }
11798
11799
11800 enablestring=
11801 defaultval=$wxUSE_ALL_FEATURES
11802 if test -z "$defaultval"; then
11803 if test x"$enablestring" = xdisable; then
11804 defaultval=yes
11805 else
11806 defaultval=no
11807 fi
11808 fi
11809
11810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11811 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11812 # Check whether --enable-toolbar was given.
11813 if test "${enable_toolbar+set}" = set; then
11814 enableval=$enable_toolbar;
11815 if test "$enableval" = yes; then
11816 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11817 else
11818 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11819 fi
11820
11821 else
11822
11823 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11824
11825 fi
11826
11827
11828 eval "$wx_cv_use_toolbar"
11829
11830 if test x"$enablestring" = xdisable; then
11831 if test $wxUSE_TOOLBAR = yes; then
11832 result=no
11833 else
11834 result=yes
11835 fi
11836 else
11837 result=$wxUSE_TOOLBAR
11838 fi
11839
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11842
11843
11844 enablestring=
11845 defaultval=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x"$enablestring" = xdisable; then
11848 defaultval=yes
11849 else
11850 defaultval=no
11851 fi
11852 fi
11853
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11856 # Check whether --enable-tbarnative was given.
11857 if test "${enable_tbarnative+set}" = set; then
11858 enableval=$enable_tbarnative;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11861 else
11862 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11863 fi
11864
11865 else
11866
11867 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11868
11869 fi
11870
11871
11872 eval "$wx_cv_use_tbarnative"
11873
11874 if test x"$enablestring" = xdisable; then
11875 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11876 result=no
11877 else
11878 result=yes
11879 fi
11880 else
11881 result=$wxUSE_TOOLBAR_NATIVE
11882 fi
11883
11884 { echo "$as_me:$LINENO: result: $result" >&5
11885 echo "${ECHO_T}$result" >&6; }
11886
11887
11888 enablestring=
11889 defaultval=$wxUSE_ALL_FEATURES
11890 if test -z "$defaultval"; then
11891 if test x"$enablestring" = xdisable; then
11892 defaultval=yes
11893 else
11894 defaultval=no
11895 fi
11896 fi
11897
11898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11899 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11900 # Check whether --enable-treebook was given.
11901 if test "${enable_treebook+set}" = set; then
11902 enableval=$enable_treebook;
11903 if test "$enableval" = yes; then
11904 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11905 else
11906 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11907 fi
11908
11909 else
11910
11911 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11912
11913 fi
11914
11915
11916 eval "$wx_cv_use_treebook"
11917
11918 if test x"$enablestring" = xdisable; then
11919 if test $wxUSE_TREEBOOK = yes; then
11920 result=no
11921 else
11922 result=yes
11923 fi
11924 else
11925 result=$wxUSE_TREEBOOK
11926 fi
11927
11928 { echo "$as_me:$LINENO: result: $result" >&5
11929 echo "${ECHO_T}$result" >&6; }
11930
11931
11932 enablestring=
11933 defaultval=$wxUSE_ALL_FEATURES
11934 if test -z "$defaultval"; then
11935 if test x"$enablestring" = xdisable; then
11936 defaultval=yes
11937 else
11938 defaultval=no
11939 fi
11940 fi
11941
11942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11943 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11944 # Check whether --enable-toolbook was given.
11945 if test "${enable_toolbook+set}" = set; then
11946 enableval=$enable_toolbook;
11947 if test "$enableval" = yes; then
11948 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11949 else
11950 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11951 fi
11952
11953 else
11954
11955 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11956
11957 fi
11958
11959
11960 eval "$wx_cv_use_toolbook"
11961
11962 if test x"$enablestring" = xdisable; then
11963 if test $wxUSE_TOOLBOOK = yes; then
11964 result=no
11965 else
11966 result=yes
11967 fi
11968 else
11969 result=$wxUSE_TOOLBOOK
11970 fi
11971
11972 { echo "$as_me:$LINENO: result: $result" >&5
11973 echo "${ECHO_T}$result" >&6; }
11974
11975
11976 enablestring=
11977 defaultval=$wxUSE_ALL_FEATURES
11978 if test -z "$defaultval"; then
11979 if test x"$enablestring" = xdisable; then
11980 defaultval=yes
11981 else
11982 defaultval=no
11983 fi
11984 fi
11985
11986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11987 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11988 # Check whether --enable-treectrl was given.
11989 if test "${enable_treectrl+set}" = set; then
11990 enableval=$enable_treectrl;
11991 if test "$enableval" = yes; then
11992 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11993 else
11994 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11995 fi
11996
11997 else
11998
11999 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12000
12001 fi
12002
12003
12004 eval "$wx_cv_use_treectrl"
12005
12006 if test x"$enablestring" = xdisable; then
12007 if test $wxUSE_TREECTRL = yes; then
12008 result=no
12009 else
12010 result=yes
12011 fi
12012 else
12013 result=$wxUSE_TREECTRL
12014 fi
12015
12016 { echo "$as_me:$LINENO: result: $result" >&5
12017 echo "${ECHO_T}$result" >&6; }
12018
12019
12020 enablestring=
12021 defaultval=$wxUSE_ALL_FEATURES
12022 if test -z "$defaultval"; then
12023 if test x"$enablestring" = xdisable; then
12024 defaultval=yes
12025 else
12026 defaultval=no
12027 fi
12028 fi
12029
12030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12031 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12032 # Check whether --enable-tipwindow was given.
12033 if test "${enable_tipwindow+set}" = set; then
12034 enableval=$enable_tipwindow;
12035 if test "$enableval" = yes; then
12036 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12037 else
12038 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12039 fi
12040
12041 else
12042
12043 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12044
12045 fi
12046
12047
12048 eval "$wx_cv_use_tipwindow"
12049
12050 if test x"$enablestring" = xdisable; then
12051 if test $wxUSE_TIPWINDOW = yes; then
12052 result=no
12053 else
12054 result=yes
12055 fi
12056 else
12057 result=$wxUSE_TIPWINDOW
12058 fi
12059
12060 { echo "$as_me:$LINENO: result: $result" >&5
12061 echo "${ECHO_T}$result" >&6; }
12062
12063
12064 enablestring=
12065 defaultval=$wxUSE_ALL_FEATURES
12066 if test -z "$defaultval"; then
12067 if test x"$enablestring" = xdisable; then
12068 defaultval=yes
12069 else
12070 defaultval=no
12071 fi
12072 fi
12073
12074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12075 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12076 # Check whether --enable-popupwin was given.
12077 if test "${enable_popupwin+set}" = set; then
12078 enableval=$enable_popupwin;
12079 if test "$enableval" = yes; then
12080 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12081 else
12082 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12083 fi
12084
12085 else
12086
12087 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12088
12089 fi
12090
12091
12092 eval "$wx_cv_use_popupwin"
12093
12094 if test x"$enablestring" = xdisable; then
12095 if test $wxUSE_POPUPWIN = yes; then
12096 result=no
12097 else
12098 result=yes
12099 fi
12100 else
12101 result=$wxUSE_POPUPWIN
12102 fi
12103
12104 { echo "$as_me:$LINENO: result: $result" >&5
12105 echo "${ECHO_T}$result" >&6; }
12106
12107
12108
12109
12110 enablestring=
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12114 defaultval=yes
12115 else
12116 defaultval=no
12117 fi
12118 fi
12119
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12122 # Check whether --enable-commondlg was given.
12123 if test "${enable_commondlg+set}" = set; then
12124 enableval=$enable_commondlg;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12127 else
12128 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12129 fi
12130
12131 else
12132
12133 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12134
12135 fi
12136
12137
12138 eval "$wx_cv_use_commondlg"
12139
12140 if test x"$enablestring" = xdisable; then
12141 if test $wxUSE_COMMONDLGS = yes; then
12142 result=no
12143 else
12144 result=yes
12145 fi
12146 else
12147 result=$wxUSE_COMMONDLGS
12148 fi
12149
12150 { echo "$as_me:$LINENO: result: $result" >&5
12151 echo "${ECHO_T}$result" >&6; }
12152
12153
12154 enablestring=
12155 defaultval=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x"$enablestring" = xdisable; then
12158 defaultval=yes
12159 else
12160 defaultval=no
12161 fi
12162 fi
12163
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12166 # Check whether --enable-aboutdlg was given.
12167 if test "${enable_aboutdlg+set}" = set; then
12168 enableval=$enable_aboutdlg;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12171 else
12172 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12173 fi
12174
12175 else
12176
12177 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12178
12179 fi
12180
12181
12182 eval "$wx_cv_use_aboutdlg"
12183
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_ABOUTDLG = yes; then
12186 result=no
12187 else
12188 result=yes
12189 fi
12190 else
12191 result=$wxUSE_ABOUTDLG
12192 fi
12193
12194 { echo "$as_me:$LINENO: result: $result" >&5
12195 echo "${ECHO_T}$result" >&6; }
12196
12197
12198 enablestring=
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12202 defaultval=yes
12203 else
12204 defaultval=no
12205 fi
12206 fi
12207
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12210 # Check whether --enable-choicedlg was given.
12211 if test "${enable_choicedlg+set}" = set; then
12212 enableval=$enable_choicedlg;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12215 else
12216 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12217 fi
12218
12219 else
12220
12221 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12222
12223 fi
12224
12225
12226 eval "$wx_cv_use_choicedlg"
12227
12228 if test x"$enablestring" = xdisable; then
12229 if test $wxUSE_CHOICEDLG = yes; then
12230 result=no
12231 else
12232 result=yes
12233 fi
12234 else
12235 result=$wxUSE_CHOICEDLG
12236 fi
12237
12238 { echo "$as_me:$LINENO: result: $result" >&5
12239 echo "${ECHO_T}$result" >&6; }
12240
12241
12242 enablestring=
12243 defaultval=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x"$enablestring" = xdisable; then
12246 defaultval=yes
12247 else
12248 defaultval=no
12249 fi
12250 fi
12251
12252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12253 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12254 # Check whether --enable-coldlg was given.
12255 if test "${enable_coldlg+set}" = set; then
12256 enableval=$enable_coldlg;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12259 else
12260 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12261 fi
12262
12263 else
12264
12265 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12266
12267 fi
12268
12269
12270 eval "$wx_cv_use_coldlg"
12271
12272 if test x"$enablestring" = xdisable; then
12273 if test $wxUSE_COLOURDLG = yes; then
12274 result=no
12275 else
12276 result=yes
12277 fi
12278 else
12279 result=$wxUSE_COLOURDLG
12280 fi
12281
12282 { echo "$as_me:$LINENO: result: $result" >&5
12283 echo "${ECHO_T}$result" >&6; }
12284
12285
12286 enablestring=
12287 defaultval=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x"$enablestring" = xdisable; then
12290 defaultval=yes
12291 else
12292 defaultval=no
12293 fi
12294 fi
12295
12296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12297 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12298 # Check whether --enable-filedlg was given.
12299 if test "${enable_filedlg+set}" = set; then
12300 enableval=$enable_filedlg;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12303 else
12304 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12305 fi
12306
12307 else
12308
12309 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12310
12311 fi
12312
12313
12314 eval "$wx_cv_use_filedlg"
12315
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_FILEDLG = yes; then
12318 result=no
12319 else
12320 result=yes
12321 fi
12322 else
12323 result=$wxUSE_FILEDLG
12324 fi
12325
12326 { echo "$as_me:$LINENO: result: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12328
12329
12330 enablestring=
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12334 defaultval=yes
12335 else
12336 defaultval=no
12337 fi
12338 fi
12339
12340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12341 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12342 # Check whether --enable-finddlg was given.
12343 if test "${enable_finddlg+set}" = set; then
12344 enableval=$enable_finddlg;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12347 else
12348 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12349 fi
12350
12351 else
12352
12353 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12354
12355 fi
12356
12357
12358 eval "$wx_cv_use_finddlg"
12359
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_FINDREPLDLG = yes; then
12362 result=no
12363 else
12364 result=yes
12365 fi
12366 else
12367 result=$wxUSE_FINDREPLDLG
12368 fi
12369
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12372
12373
12374 enablestring=
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12378 defaultval=yes
12379 else
12380 defaultval=no
12381 fi
12382 fi
12383
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12386 # Check whether --enable-fontdlg was given.
12387 if test "${enable_fontdlg+set}" = set; then
12388 enableval=$enable_fontdlg;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12391 else
12392 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12393 fi
12394
12395 else
12396
12397 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12398
12399 fi
12400
12401
12402 eval "$wx_cv_use_fontdlg"
12403
12404 if test x"$enablestring" = xdisable; then
12405 if test $wxUSE_FONTDLG = yes; then
12406 result=no
12407 else
12408 result=yes
12409 fi
12410 else
12411 result=$wxUSE_FONTDLG
12412 fi
12413
12414 { echo "$as_me:$LINENO: result: $result" >&5
12415 echo "${ECHO_T}$result" >&6; }
12416
12417
12418 enablestring=
12419 defaultval=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x"$enablestring" = xdisable; then
12422 defaultval=yes
12423 else
12424 defaultval=no
12425 fi
12426 fi
12427
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12430 # Check whether --enable-dirdlg was given.
12431 if test "${enable_dirdlg+set}" = set; then
12432 enableval=$enable_dirdlg;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12435 else
12436 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12437 fi
12438
12439 else
12440
12441 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12442
12443 fi
12444
12445
12446 eval "$wx_cv_use_dirdlg"
12447
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_DIRDLG = yes; then
12450 result=no
12451 else
12452 result=yes
12453 fi
12454 else
12455 result=$wxUSE_DIRDLG
12456 fi
12457
12458 { echo "$as_me:$LINENO: result: $result" >&5
12459 echo "${ECHO_T}$result" >&6; }
12460
12461
12462 enablestring=
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12466 defaultval=yes
12467 else
12468 defaultval=no
12469 fi
12470 fi
12471
12472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12473 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12474 # Check whether --enable-msgdlg was given.
12475 if test "${enable_msgdlg+set}" = set; then
12476 enableval=$enable_msgdlg;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12479 else
12480 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12481 fi
12482
12483 else
12484
12485 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12486
12487 fi
12488
12489
12490 eval "$wx_cv_use_msgdlg"
12491
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_MSGDLG = yes; then
12494 result=no
12495 else
12496 result=yes
12497 fi
12498 else
12499 result=$wxUSE_MSGDLG
12500 fi
12501
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12504
12505
12506 enablestring=
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12510 defaultval=yes
12511 else
12512 defaultval=no
12513 fi
12514 fi
12515
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12518 # Check whether --enable-numberdlg was given.
12519 if test "${enable_numberdlg+set}" = set; then
12520 enableval=$enable_numberdlg;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12523 else
12524 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12525 fi
12526
12527 else
12528
12529 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12530
12531 fi
12532
12533
12534 eval "$wx_cv_use_numberdlg"
12535
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_NUMBERDLG = yes; then
12538 result=no
12539 else
12540 result=yes
12541 fi
12542 else
12543 result=$wxUSE_NUMBERDLG
12544 fi
12545
12546 { echo "$as_me:$LINENO: result: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12548
12549
12550 enablestring=
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12554 defaultval=yes
12555 else
12556 defaultval=no
12557 fi
12558 fi
12559
12560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12561 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12562 # Check whether --enable-splash was given.
12563 if test "${enable_splash+set}" = set; then
12564 enableval=$enable_splash;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_splash='wxUSE_SPLASH=yes'
12567 else
12568 wx_cv_use_splash='wxUSE_SPLASH=no'
12569 fi
12570
12571 else
12572
12573 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12574
12575 fi
12576
12577
12578 eval "$wx_cv_use_splash"
12579
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_SPLASH = yes; then
12582 result=no
12583 else
12584 result=yes
12585 fi
12586 else
12587 result=$wxUSE_SPLASH
12588 fi
12589
12590 { echo "$as_me:$LINENO: result: $result" >&5
12591 echo "${ECHO_T}$result" >&6; }
12592
12593
12594 enablestring=
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12598 defaultval=yes
12599 else
12600 defaultval=no
12601 fi
12602 fi
12603
12604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12605 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12606 # Check whether --enable-textdlg was given.
12607 if test "${enable_textdlg+set}" = set; then
12608 enableval=$enable_textdlg;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12611 else
12612 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12613 fi
12614
12615 else
12616
12617 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12618
12619 fi
12620
12621
12622 eval "$wx_cv_use_textdlg"
12623
12624 if test x"$enablestring" = xdisable; then
12625 if test $wxUSE_TEXTDLG = yes; then
12626 result=no
12627 else
12628 result=yes
12629 fi
12630 else
12631 result=$wxUSE_TEXTDLG
12632 fi
12633
12634 { echo "$as_me:$LINENO: result: $result" >&5
12635 echo "${ECHO_T}$result" >&6; }
12636
12637
12638 enablestring=
12639 defaultval=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x"$enablestring" = xdisable; then
12642 defaultval=yes
12643 else
12644 defaultval=no
12645 fi
12646 fi
12647
12648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12649 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12650 # Check whether --enable-tipdlg was given.
12651 if test "${enable_tipdlg+set}" = set; then
12652 enableval=$enable_tipdlg;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12655 else
12656 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12657 fi
12658
12659 else
12660
12661 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12662
12663 fi
12664
12665
12666 eval "$wx_cv_use_tipdlg"
12667
12668 if test x"$enablestring" = xdisable; then
12669 if test $wxUSE_STARTUP_TIPS = yes; then
12670 result=no
12671 else
12672 result=yes
12673 fi
12674 else
12675 result=$wxUSE_STARTUP_TIPS
12676 fi
12677
12678 { echo "$as_me:$LINENO: result: $result" >&5
12679 echo "${ECHO_T}$result" >&6; }
12680
12681
12682 enablestring=
12683 defaultval=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x"$enablestring" = xdisable; then
12686 defaultval=yes
12687 else
12688 defaultval=no
12689 fi
12690 fi
12691
12692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12693 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12694 # Check whether --enable-progressdlg was given.
12695 if test "${enable_progressdlg+set}" = set; then
12696 enableval=$enable_progressdlg;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12699 else
12700 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12701 fi
12702
12703 else
12704
12705 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12706
12707 fi
12708
12709
12710 eval "$wx_cv_use_progressdlg"
12711
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_PROGRESSDLG = yes; then
12714 result=no
12715 else
12716 result=yes
12717 fi
12718 else
12719 result=$wxUSE_PROGRESSDLG
12720 fi
12721
12722 { echo "$as_me:$LINENO: result: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12724
12725
12726 enablestring=
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12730 defaultval=yes
12731 else
12732 defaultval=no
12733 fi
12734 fi
12735
12736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12737 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12738 # Check whether --enable-wizarddlg was given.
12739 if test "${enable_wizarddlg+set}" = set; then
12740 enableval=$enable_wizarddlg;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12743 else
12744 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12745 fi
12746
12747 else
12748
12749 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12750
12751 fi
12752
12753
12754 eval "$wx_cv_use_wizarddlg"
12755
12756 if test x"$enablestring" = xdisable; then
12757 if test $wxUSE_WIZARDDLG = yes; then
12758 result=no
12759 else
12760 result=yes
12761 fi
12762 else
12763 result=$wxUSE_WIZARDDLG
12764 fi
12765
12766 { echo "$as_me:$LINENO: result: $result" >&5
12767 echo "${ECHO_T}$result" >&6; }
12768
12769
12770
12771
12772 enablestring=
12773 defaultval=$wxUSE_ALL_FEATURES
12774 if test -z "$defaultval"; then
12775 if test x"$enablestring" = xdisable; then
12776 defaultval=yes
12777 else
12778 defaultval=no
12779 fi
12780 fi
12781
12782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12783 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12784 # Check whether --enable-menus was given.
12785 if test "${enable_menus+set}" = set; then
12786 enableval=$enable_menus;
12787 if test "$enableval" = yes; then
12788 wx_cv_use_menus='wxUSE_MENUS=yes'
12789 else
12790 wx_cv_use_menus='wxUSE_MENUS=no'
12791 fi
12792
12793 else
12794
12795 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12796
12797 fi
12798
12799
12800 eval "$wx_cv_use_menus"
12801
12802 if test x"$enablestring" = xdisable; then
12803 if test $wxUSE_MENUS = yes; then
12804 result=no
12805 else
12806 result=yes
12807 fi
12808 else
12809 result=$wxUSE_MENUS
12810 fi
12811
12812 { echo "$as_me:$LINENO: result: $result" >&5
12813 echo "${ECHO_T}$result" >&6; }
12814
12815
12816 enablestring=
12817 defaultval=$wxUSE_ALL_FEATURES
12818 if test -z "$defaultval"; then
12819 if test x"$enablestring" = xdisable; then
12820 defaultval=yes
12821 else
12822 defaultval=no
12823 fi
12824 fi
12825
12826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12827 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12828 # Check whether --enable-miniframe was given.
12829 if test "${enable_miniframe+set}" = set; then
12830 enableval=$enable_miniframe;
12831 if test "$enableval" = yes; then
12832 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12833 else
12834 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12835 fi
12836
12837 else
12838
12839 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12840
12841 fi
12842
12843
12844 eval "$wx_cv_use_miniframe"
12845
12846 if test x"$enablestring" = xdisable; then
12847 if test $wxUSE_MINIFRAME = yes; then
12848 result=no
12849 else
12850 result=yes
12851 fi
12852 else
12853 result=$wxUSE_MINIFRAME
12854 fi
12855
12856 { echo "$as_me:$LINENO: result: $result" >&5
12857 echo "${ECHO_T}$result" >&6; }
12858
12859
12860 enablestring=
12861 defaultval=$wxUSE_ALL_FEATURES
12862 if test -z "$defaultval"; then
12863 if test x"$enablestring" = xdisable; then
12864 defaultval=yes
12865 else
12866 defaultval=no
12867 fi
12868 fi
12869
12870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12871 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12872 # Check whether --enable-tooltips was given.
12873 if test "${enable_tooltips+set}" = set; then
12874 enableval=$enable_tooltips;
12875 if test "$enableval" = yes; then
12876 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12877 else
12878 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12879 fi
12880
12881 else
12882
12883 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12884
12885 fi
12886
12887
12888 eval "$wx_cv_use_tooltips"
12889
12890 if test x"$enablestring" = xdisable; then
12891 if test $wxUSE_TOOLTIPS = yes; then
12892 result=no
12893 else
12894 result=yes
12895 fi
12896 else
12897 result=$wxUSE_TOOLTIPS
12898 fi
12899
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12902
12903
12904 enablestring=
12905 defaultval=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x"$enablestring" = xdisable; then
12908 defaultval=yes
12909 else
12910 defaultval=no
12911 fi
12912 fi
12913
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12916 # Check whether --enable-splines was given.
12917 if test "${enable_splines+set}" = set; then
12918 enableval=$enable_splines;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_splines='wxUSE_SPLINES=yes'
12921 else
12922 wx_cv_use_splines='wxUSE_SPLINES=no'
12923 fi
12924
12925 else
12926
12927 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12928
12929 fi
12930
12931
12932 eval "$wx_cv_use_splines"
12933
12934 if test x"$enablestring" = xdisable; then
12935 if test $wxUSE_SPLINES = yes; then
12936 result=no
12937 else
12938 result=yes
12939 fi
12940 else
12941 result=$wxUSE_SPLINES
12942 fi
12943
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12946
12947
12948 enablestring=
12949 defaultval=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x"$enablestring" = xdisable; then
12952 defaultval=yes
12953 else
12954 defaultval=no
12955 fi
12956 fi
12957
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12960 # Check whether --enable-mousewheel was given.
12961 if test "${enable_mousewheel+set}" = set; then
12962 enableval=$enable_mousewheel;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12965 else
12966 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12967 fi
12968
12969 else
12970
12971 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12972
12973 fi
12974
12975
12976 eval "$wx_cv_use_mousewheel"
12977
12978 if test x"$enablestring" = xdisable; then
12979 if test $wxUSE_MOUSEWHEEL = yes; then
12980 result=no
12981 else
12982 result=yes
12983 fi
12984 else
12985 result=$wxUSE_MOUSEWHEEL
12986 fi
12987
12988 { echo "$as_me:$LINENO: result: $result" >&5
12989 echo "${ECHO_T}$result" >&6; }
12990
12991
12992 enablestring=
12993 defaultval=$wxUSE_ALL_FEATURES
12994 if test -z "$defaultval"; then
12995 if test x"$enablestring" = xdisable; then
12996 defaultval=yes
12997 else
12998 defaultval=no
12999 fi
13000 fi
13001
13002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13003 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13004 # Check whether --enable-validators was given.
13005 if test "${enable_validators+set}" = set; then
13006 enableval=$enable_validators;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13009 else
13010 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13011 fi
13012
13013 else
13014
13015 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13016
13017 fi
13018
13019
13020 eval "$wx_cv_use_validators"
13021
13022 if test x"$enablestring" = xdisable; then
13023 if test $wxUSE_VALIDATORS = yes; then
13024 result=no
13025 else
13026 result=yes
13027 fi
13028 else
13029 result=$wxUSE_VALIDATORS
13030 fi
13031
13032 { echo "$as_me:$LINENO: result: $result" >&5
13033 echo "${ECHO_T}$result" >&6; }
13034
13035
13036 enablestring=
13037 defaultval=$wxUSE_ALL_FEATURES
13038 if test -z "$defaultval"; then
13039 if test x"$enablestring" = xdisable; then
13040 defaultval=yes
13041 else
13042 defaultval=no
13043 fi
13044 fi
13045
13046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13047 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13048 # Check whether --enable-busyinfo was given.
13049 if test "${enable_busyinfo+set}" = set; then
13050 enableval=$enable_busyinfo;
13051 if test "$enableval" = yes; then
13052 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13053 else
13054 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13055 fi
13056
13057 else
13058
13059 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13060
13061 fi
13062
13063
13064 eval "$wx_cv_use_busyinfo"
13065
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_BUSYINFO = yes; then
13068 result=no
13069 else
13070 result=yes
13071 fi
13072 else
13073 result=$wxUSE_BUSYINFO
13074 fi
13075
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13078
13079
13080 enablestring=
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13084 defaultval=yes
13085 else
13086 defaultval=no
13087 fi
13088 fi
13089
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13092 # Check whether --enable-joystick was given.
13093 if test "${enable_joystick+set}" = set; then
13094 enableval=$enable_joystick;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13097 else
13098 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13099 fi
13100
13101 else
13102
13103 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13104
13105 fi
13106
13107
13108 eval "$wx_cv_use_joystick"
13109
13110 if test x"$enablestring" = xdisable; then
13111 if test $wxUSE_JOYSTICK = yes; then
13112 result=no
13113 else
13114 result=yes
13115 fi
13116 else
13117 result=$wxUSE_JOYSTICK
13118 fi
13119
13120 { echo "$as_me:$LINENO: result: $result" >&5
13121 echo "${ECHO_T}$result" >&6; }
13122
13123
13124 enablestring=
13125 defaultval=$wxUSE_ALL_FEATURES
13126 if test -z "$defaultval"; then
13127 if test x"$enablestring" = xdisable; then
13128 defaultval=yes
13129 else
13130 defaultval=no
13131 fi
13132 fi
13133
13134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13135 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13136 # Check whether --enable-metafile was given.
13137 if test "${enable_metafile+set}" = set; then
13138 enableval=$enable_metafile;
13139 if test "$enableval" = yes; then
13140 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13141 else
13142 wx_cv_use_metafile='wxUSE_METAFILE=no'
13143 fi
13144
13145 else
13146
13147 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13148
13149 fi
13150
13151
13152 eval "$wx_cv_use_metafile"
13153
13154 if test x"$enablestring" = xdisable; then
13155 if test $wxUSE_METAFILE = yes; then
13156 result=no
13157 else
13158 result=yes
13159 fi
13160 else
13161 result=$wxUSE_METAFILE
13162 fi
13163
13164 { echo "$as_me:$LINENO: result: $result" >&5
13165 echo "${ECHO_T}$result" >&6; }
13166
13167
13168 enablestring=
13169 defaultval=$wxUSE_ALL_FEATURES
13170 if test -z "$defaultval"; then
13171 if test x"$enablestring" = xdisable; then
13172 defaultval=yes
13173 else
13174 defaultval=no
13175 fi
13176 fi
13177
13178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13179 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13180 # Check whether --enable-dragimage was given.
13181 if test "${enable_dragimage+set}" = set; then
13182 enableval=$enable_dragimage;
13183 if test "$enableval" = yes; then
13184 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13185 else
13186 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13187 fi
13188
13189 else
13190
13191 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13192
13193 fi
13194
13195
13196 eval "$wx_cv_use_dragimage"
13197
13198 if test x"$enablestring" = xdisable; then
13199 if test $wxUSE_DRAGIMAGE = yes; then
13200 result=no
13201 else
13202 result=yes
13203 fi
13204 else
13205 result=$wxUSE_DRAGIMAGE
13206 fi
13207
13208 { echo "$as_me:$LINENO: result: $result" >&5
13209 echo "${ECHO_T}$result" >&6; }
13210
13211
13212 enablestring=
13213 defaultval=$wxUSE_ALL_FEATURES
13214 if test -z "$defaultval"; then
13215 if test x"$enablestring" = xdisable; then
13216 defaultval=yes
13217 else
13218 defaultval=no
13219 fi
13220 fi
13221
13222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13223 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13224 # Check whether --enable-accessibility was given.
13225 if test "${enable_accessibility+set}" = set; then
13226 enableval=$enable_accessibility;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13229 else
13230 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13231 fi
13232
13233 else
13234
13235 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13236
13237 fi
13238
13239
13240 eval "$wx_cv_use_accessibility"
13241
13242 if test x"$enablestring" = xdisable; then
13243 if test $wxUSE_ACCESSIBILITY = yes; then
13244 result=no
13245 else
13246 result=yes
13247 fi
13248 else
13249 result=$wxUSE_ACCESSIBILITY
13250 fi
13251
13252 { echo "$as_me:$LINENO: result: $result" >&5
13253 echo "${ECHO_T}$result" >&6; }
13254
13255
13256
13257
13258 enablestring=
13259 defaultval=$wxUSE_ALL_FEATURES
13260 if test -z "$defaultval"; then
13261 if test x"$enablestring" = xdisable; then
13262 defaultval=yes
13263 else
13264 defaultval=no
13265 fi
13266 fi
13267
13268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13269 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13270 # Check whether --enable-palette was given.
13271 if test "${enable_palette+set}" = set; then
13272 enableval=$enable_palette;
13273 if test "$enableval" = yes; then
13274 wx_cv_use_palette='wxUSE_PALETTE=yes'
13275 else
13276 wx_cv_use_palette='wxUSE_PALETTE=no'
13277 fi
13278
13279 else
13280
13281 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13282
13283 fi
13284
13285
13286 eval "$wx_cv_use_palette"
13287
13288 if test x"$enablestring" = xdisable; then
13289 if test $wxUSE_PALETTE = yes; then
13290 result=no
13291 else
13292 result=yes
13293 fi
13294 else
13295 result=$wxUSE_PALETTE
13296 fi
13297
13298 { echo "$as_me:$LINENO: result: $result" >&5
13299 echo "${ECHO_T}$result" >&6; }
13300
13301
13302 enablestring=
13303 defaultval=$wxUSE_ALL_FEATURES
13304 if test -z "$defaultval"; then
13305 if test x"$enablestring" = xdisable; then
13306 defaultval=yes
13307 else
13308 defaultval=no
13309 fi
13310 fi
13311
13312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13313 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13314 # Check whether --enable-image was given.
13315 if test "${enable_image+set}" = set; then
13316 enableval=$enable_image;
13317 if test "$enableval" = yes; then
13318 wx_cv_use_image='wxUSE_IMAGE=yes'
13319 else
13320 wx_cv_use_image='wxUSE_IMAGE=no'
13321 fi
13322
13323 else
13324
13325 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13326
13327 fi
13328
13329
13330 eval "$wx_cv_use_image"
13331
13332 if test x"$enablestring" = xdisable; then
13333 if test $wxUSE_IMAGE = yes; then
13334 result=no
13335 else
13336 result=yes
13337 fi
13338 else
13339 result=$wxUSE_IMAGE
13340 fi
13341
13342 { echo "$as_me:$LINENO: result: $result" >&5
13343 echo "${ECHO_T}$result" >&6; }
13344
13345
13346 enablestring=
13347 defaultval=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x"$enablestring" = xdisable; then
13350 defaultval=yes
13351 else
13352 defaultval=no
13353 fi
13354 fi
13355
13356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13357 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13358 # Check whether --enable-gif was given.
13359 if test "${enable_gif+set}" = set; then
13360 enableval=$enable_gif;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_gif='wxUSE_GIF=yes'
13363 else
13364 wx_cv_use_gif='wxUSE_GIF=no'
13365 fi
13366
13367 else
13368
13369 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13370
13371 fi
13372
13373
13374 eval "$wx_cv_use_gif"
13375
13376 if test x"$enablestring" = xdisable; then
13377 if test $wxUSE_GIF = yes; then
13378 result=no
13379 else
13380 result=yes
13381 fi
13382 else
13383 result=$wxUSE_GIF
13384 fi
13385
13386 { echo "$as_me:$LINENO: result: $result" >&5
13387 echo "${ECHO_T}$result" >&6; }
13388
13389
13390 enablestring=
13391 defaultval=$wxUSE_ALL_FEATURES
13392 if test -z "$defaultval"; then
13393 if test x"$enablestring" = xdisable; then
13394 defaultval=yes
13395 else
13396 defaultval=no
13397 fi
13398 fi
13399
13400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13401 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13402 # Check whether --enable-pcx was given.
13403 if test "${enable_pcx+set}" = set; then
13404 enableval=$enable_pcx;
13405 if test "$enableval" = yes; then
13406 wx_cv_use_pcx='wxUSE_PCX=yes'
13407 else
13408 wx_cv_use_pcx='wxUSE_PCX=no'
13409 fi
13410
13411 else
13412
13413 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13414
13415 fi
13416
13417
13418 eval "$wx_cv_use_pcx"
13419
13420 if test x"$enablestring" = xdisable; then
13421 if test $wxUSE_PCX = yes; then
13422 result=no
13423 else
13424 result=yes
13425 fi
13426 else
13427 result=$wxUSE_PCX
13428 fi
13429
13430 { echo "$as_me:$LINENO: result: $result" >&5
13431 echo "${ECHO_T}$result" >&6; }
13432
13433
13434 enablestring=
13435 defaultval=$wxUSE_ALL_FEATURES
13436 if test -z "$defaultval"; then
13437 if test x"$enablestring" = xdisable; then
13438 defaultval=yes
13439 else
13440 defaultval=no
13441 fi
13442 fi
13443
13444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13445 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13446 # Check whether --enable-tga was given.
13447 if test "${enable_tga+set}" = set; then
13448 enableval=$enable_tga;
13449 if test "$enableval" = yes; then
13450 wx_cv_use_tga='wxUSE_TGA=yes'
13451 else
13452 wx_cv_use_tga='wxUSE_TGA=no'
13453 fi
13454
13455 else
13456
13457 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13458
13459 fi
13460
13461
13462 eval "$wx_cv_use_tga"
13463
13464 if test x"$enablestring" = xdisable; then
13465 if test $wxUSE_TGA = yes; then
13466 result=no
13467 else
13468 result=yes
13469 fi
13470 else
13471 result=$wxUSE_TGA
13472 fi
13473
13474 { echo "$as_me:$LINENO: result: $result" >&5
13475 echo "${ECHO_T}$result" >&6; }
13476
13477
13478 enablestring=
13479 defaultval=$wxUSE_ALL_FEATURES
13480 if test -z "$defaultval"; then
13481 if test x"$enablestring" = xdisable; then
13482 defaultval=yes
13483 else
13484 defaultval=no
13485 fi
13486 fi
13487
13488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13489 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13490 # Check whether --enable-iff was given.
13491 if test "${enable_iff+set}" = set; then
13492 enableval=$enable_iff;
13493 if test "$enableval" = yes; then
13494 wx_cv_use_iff='wxUSE_IFF=yes'
13495 else
13496 wx_cv_use_iff='wxUSE_IFF=no'
13497 fi
13498
13499 else
13500
13501 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13502
13503 fi
13504
13505
13506 eval "$wx_cv_use_iff"
13507
13508 if test x"$enablestring" = xdisable; then
13509 if test $wxUSE_IFF = yes; then
13510 result=no
13511 else
13512 result=yes
13513 fi
13514 else
13515 result=$wxUSE_IFF
13516 fi
13517
13518 { echo "$as_me:$LINENO: result: $result" >&5
13519 echo "${ECHO_T}$result" >&6; }
13520
13521
13522 enablestring=
13523 defaultval=$wxUSE_ALL_FEATURES
13524 if test -z "$defaultval"; then
13525 if test x"$enablestring" = xdisable; then
13526 defaultval=yes
13527 else
13528 defaultval=no
13529 fi
13530 fi
13531
13532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13533 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13534 # Check whether --enable-pnm was given.
13535 if test "${enable_pnm+set}" = set; then
13536 enableval=$enable_pnm;
13537 if test "$enableval" = yes; then
13538 wx_cv_use_pnm='wxUSE_PNM=yes'
13539 else
13540 wx_cv_use_pnm='wxUSE_PNM=no'
13541 fi
13542
13543 else
13544
13545 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13546
13547 fi
13548
13549
13550 eval "$wx_cv_use_pnm"
13551
13552 if test x"$enablestring" = xdisable; then
13553 if test $wxUSE_PNM = yes; then
13554 result=no
13555 else
13556 result=yes
13557 fi
13558 else
13559 result=$wxUSE_PNM
13560 fi
13561
13562 { echo "$as_me:$LINENO: result: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13564
13565
13566 enablestring=
13567 defaultval=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x"$enablestring" = xdisable; then
13570 defaultval=yes
13571 else
13572 defaultval=no
13573 fi
13574 fi
13575
13576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13577 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13578 # Check whether --enable-xpm was given.
13579 if test "${enable_xpm+set}" = set; then
13580 enableval=$enable_xpm;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_xpm='wxUSE_XPM=yes'
13583 else
13584 wx_cv_use_xpm='wxUSE_XPM=no'
13585 fi
13586
13587 else
13588
13589 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13590
13591 fi
13592
13593
13594 eval "$wx_cv_use_xpm"
13595
13596 if test x"$enablestring" = xdisable; then
13597 if test $wxUSE_XPM = yes; then
13598 result=no
13599 else
13600 result=yes
13601 fi
13602 else
13603 result=$wxUSE_XPM
13604 fi
13605
13606 { echo "$as_me:$LINENO: result: $result" >&5
13607 echo "${ECHO_T}$result" >&6; }
13608
13609
13610 enablestring=
13611 defaultval=$wxUSE_ALL_FEATURES
13612 if test -z "$defaultval"; then
13613 if test x"$enablestring" = xdisable; then
13614 defaultval=yes
13615 else
13616 defaultval=no
13617 fi
13618 fi
13619
13620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13622 # Check whether --enable-ico_cur was given.
13623 if test "${enable_ico_cur+set}" = set; then
13624 enableval=$enable_ico_cur;
13625 if test "$enableval" = yes; then
13626 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13627 else
13628 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13629 fi
13630
13631 else
13632
13633 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13634
13635 fi
13636
13637
13638 eval "$wx_cv_use_ico_cur"
13639
13640 if test x"$enablestring" = xdisable; then
13641 if test $wxUSE_ICO_CUR = yes; then
13642 result=no
13643 else
13644 result=yes
13645 fi
13646 else
13647 result=$wxUSE_ICO_CUR
13648 fi
13649
13650 { echo "$as_me:$LINENO: result: $result" >&5
13651 echo "${ECHO_T}$result" >&6; }
13652
13653
13654
13655
13656 enablestring=
13657 defaultval=$wxUSE_ALL_FEATURES
13658 if test -z "$defaultval"; then
13659 if test x"$enablestring" = xdisable; then
13660 defaultval=yes
13661 else
13662 defaultval=no
13663 fi
13664 fi
13665
13666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13667 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13668 # Check whether --enable-dccache was given.
13669 if test "${enable_dccache+set}" = set; then
13670 enableval=$enable_dccache;
13671 if test "$enableval" = yes; then
13672 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13673 else
13674 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13675 fi
13676
13677 else
13678
13679 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13680
13681 fi
13682
13683
13684 eval "$wx_cv_use_dccache"
13685
13686 if test x"$enablestring" = xdisable; then
13687 if test $wxUSE_DC_CACHEING = yes; then
13688 result=no
13689 else
13690 result=yes
13691 fi
13692 else
13693 result=$wxUSE_DC_CACHEING
13694 fi
13695
13696 { echo "$as_me:$LINENO: result: $result" >&5
13697 echo "${ECHO_T}$result" >&6; }
13698
13699
13700 enablestring=
13701 defaultval=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x"$enablestring" = xdisable; then
13704 defaultval=yes
13705 else
13706 defaultval=no
13707 fi
13708 fi
13709
13710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13711 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13712 # Check whether --enable-ps-in-msw was given.
13713 if test "${enable_ps_in_msw+set}" = set; then
13714 enableval=$enable_ps_in_msw;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13717 else
13718 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13719 fi
13720
13721 else
13722
13723 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13724
13725 fi
13726
13727
13728 eval "$wx_cv_use_ps_in_msw"
13729
13730 if test x"$enablestring" = xdisable; then
13731 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13732 result=no
13733 else
13734 result=yes
13735 fi
13736 else
13737 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13738 fi
13739
13740 { echo "$as_me:$LINENO: result: $result" >&5
13741 echo "${ECHO_T}$result" >&6; }
13742
13743
13744 enablestring=
13745 defaultval=$wxUSE_ALL_FEATURES
13746 if test -z "$defaultval"; then
13747 if test x"$enablestring" = xdisable; then
13748 defaultval=yes
13749 else
13750 defaultval=no
13751 fi
13752 fi
13753
13754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13755 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13756 # Check whether --enable-ownerdrawn was given.
13757 if test "${enable_ownerdrawn+set}" = set; then
13758 enableval=$enable_ownerdrawn;
13759 if test "$enableval" = yes; then
13760 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13761 else
13762 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13763 fi
13764
13765 else
13766
13767 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13768
13769 fi
13770
13771
13772 eval "$wx_cv_use_ownerdrawn"
13773
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_OWNER_DRAWN = yes; then
13776 result=no
13777 else
13778 result=yes
13779 fi
13780 else
13781 result=$wxUSE_OWNER_DRAWN
13782 fi
13783
13784 { echo "$as_me:$LINENO: result: $result" >&5
13785 echo "${ECHO_T}$result" >&6; }
13786
13787
13788 enablestring=
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13792 defaultval=yes
13793 else
13794 defaultval=no
13795 fi
13796 fi
13797
13798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13799 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13800 # Check whether --enable-uxtheme was given.
13801 if test "${enable_uxtheme+set}" = set; then
13802 enableval=$enable_uxtheme;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13805 else
13806 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13807 fi
13808
13809 else
13810
13811 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13812
13813 fi
13814
13815
13816 eval "$wx_cv_use_uxtheme"
13817
13818 if test x"$enablestring" = xdisable; then
13819 if test $wxUSE_UXTHEME = yes; then
13820 result=no
13821 else
13822 result=yes
13823 fi
13824 else
13825 result=$wxUSE_UXTHEME
13826 fi
13827
13828 { echo "$as_me:$LINENO: result: $result" >&5
13829 echo "${ECHO_T}$result" >&6; }
13830
13831
13832 enablestring=
13833 defaultval=$wxUSE_ALL_FEATURES
13834 if test -z "$defaultval"; then
13835 if test x"$enablestring" = xdisable; then
13836 defaultval=yes
13837 else
13838 defaultval=no
13839 fi
13840 fi
13841
13842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13843 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13844 # Check whether --enable-wxdib was given.
13845 if test "${enable_wxdib+set}" = set; then
13846 enableval=$enable_wxdib;
13847 if test "$enableval" = yes; then
13848 wx_cv_use_wxdib='wxUSE_DIB=yes'
13849 else
13850 wx_cv_use_wxdib='wxUSE_DIB=no'
13851 fi
13852
13853 else
13854
13855 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13856
13857 fi
13858
13859
13860 eval "$wx_cv_use_wxdib"
13861
13862 if test x"$enablestring" = xdisable; then
13863 if test $wxUSE_DIB = yes; then
13864 result=no
13865 else
13866 result=yes
13867 fi
13868 else
13869 result=$wxUSE_DIB
13870 fi
13871
13872 { echo "$as_me:$LINENO: result: $result" >&5
13873 echo "${ECHO_T}$result" >&6; }
13874
13875
13876 if test "$wxUSE_MSW" != 1; then
13877 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13878 fi
13879
13880
13881 enablestring=
13882 defaultval=$wxUSE_ALL_FEATURES
13883 if test -z "$defaultval"; then
13884 if test x"$enablestring" = xdisable; then
13885 defaultval=yes
13886 else
13887 defaultval=no
13888 fi
13889 fi
13890
13891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13892 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13893 # Check whether --enable-autoidman was given.
13894 if test "${enable_autoidman+set}" = set; then
13895 enableval=$enable_autoidman;
13896 if test "$enableval" = yes; then
13897 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13898 else
13899 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13900 fi
13901
13902 else
13903
13904 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13905
13906 fi
13907
13908
13909 eval "$wx_cv_use_autoidman"
13910
13911 if test x"$enablestring" = xdisable; then
13912 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13913 result=no
13914 else
13915 result=yes
13916 fi
13917 else
13918 result=$wxUSE_AUTOID_MANAGEMENT
13919 fi
13920
13921 { echo "$as_me:$LINENO: result: $result" >&5
13922 echo "${ECHO_T}$result" >&6; }
13923
13924
13925 fi
13926
13927
13928 cat >confcache <<\_ACEOF
13929 # This file is a shell script that caches the results of configure
13930 # tests run on this system so they can be shared between configure
13931 # scripts and configure runs, see configure's option --config-cache.
13932 # It is not useful on other systems. If it contains results you don't
13933 # want to keep, you may remove or edit it.
13934 #
13935 # config.status only pays attention to the cache file if you give it
13936 # the --recheck option to rerun configure.
13937 #
13938 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13939 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13940 # following values.
13941
13942 _ACEOF
13943
13944 # The following way of writing the cache mishandles newlines in values,
13945 # but we know of no workaround that is simple, portable, and efficient.
13946 # So, we kill variables containing newlines.
13947 # Ultrix sh set writes to stderr and can't be redirected directly,
13948 # and sets the high bit in the cache file unless we assign to the vars.
13949 (
13950 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13951 eval ac_val=\$$ac_var
13952 case $ac_val in #(
13953 *${as_nl}*)
13954 case $ac_var in #(
13955 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13956 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13957 esac
13958 case $ac_var in #(
13959 _ | IFS | as_nl) ;; #(
13960 *) $as_unset $ac_var ;;
13961 esac ;;
13962 esac
13963 done
13964
13965 (set) 2>&1 |
13966 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13967 *${as_nl}ac_space=\ *)
13968 # `set' does not quote correctly, so add quotes (double-quote
13969 # substitution turns \\\\ into \\, and sed turns \\ into \).
13970 sed -n \
13971 "s/'/'\\\\''/g;
13972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13973 ;; #(
13974 *)
13975 # `set' quotes correctly as required by POSIX, so do not add quotes.
13976 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13977 ;;
13978 esac |
13979 sort
13980 ) |
13981 sed '
13982 /^ac_cv_env_/b end
13983 t clear
13984 :clear
13985 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13986 t end
13987 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13988 :end' >>confcache
13989 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13990 if test -w "$cache_file"; then
13991 test "x$cache_file" != "x/dev/null" &&
13992 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13993 echo "$as_me: updating cache $cache_file" >&6;}
13994 cat confcache >$cache_file
13995 else
13996 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13997 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13998 fi
13999 fi
14000 rm -f confcache
14001
14002 CFLAGS=${CFLAGS:=}
14003
14004
14005
14006 ac_ext=c
14007 ac_cpp='$CPP $CPPFLAGS'
14008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14011 if test -n "$ac_tool_prefix"; then
14012 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14013 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14016 if test "${ac_cv_prog_CC+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 else
14019 if test -n "$CC"; then
14020 ac_cv_prog_CC="$CC" # Let the user override the test.
14021 else
14022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14023 for as_dir in $PATH
14024 do
14025 IFS=$as_save_IFS
14026 test -z "$as_dir" && as_dir=.
14027 for ac_exec_ext in '' $ac_executable_extensions; do
14028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14029 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14031 break 2
14032 fi
14033 done
14034 done
14035 IFS=$as_save_IFS
14036
14037 fi
14038 fi
14039 CC=$ac_cv_prog_CC
14040 if test -n "$CC"; then
14041 { echo "$as_me:$LINENO: result: $CC" >&5
14042 echo "${ECHO_T}$CC" >&6; }
14043 else
14044 { echo "$as_me:$LINENO: result: no" >&5
14045 echo "${ECHO_T}no" >&6; }
14046 fi
14047
14048
14049 fi
14050 if test -z "$ac_cv_prog_CC"; then
14051 ac_ct_CC=$CC
14052 # Extract the first word of "gcc", so it can be a program name with args.
14053 set dummy gcc; ac_word=$2
14054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 else
14059 if test -n "$ac_ct_CC"; then
14060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14061 else
14062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14063 for as_dir in $PATH
14064 do
14065 IFS=$as_save_IFS
14066 test -z "$as_dir" && as_dir=.
14067 for ac_exec_ext in '' $ac_executable_extensions; do
14068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14069 ac_cv_prog_ac_ct_CC="gcc"
14070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14071 break 2
14072 fi
14073 done
14074 done
14075 IFS=$as_save_IFS
14076
14077 fi
14078 fi
14079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14080 if test -n "$ac_ct_CC"; then
14081 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14082 echo "${ECHO_T}$ac_ct_CC" >&6; }
14083 else
14084 { echo "$as_me:$LINENO: result: no" >&5
14085 echo "${ECHO_T}no" >&6; }
14086 fi
14087
14088 if test "x$ac_ct_CC" = x; then
14089 CC=""
14090 else
14091 case $cross_compiling:$ac_tool_warned in
14092 yes:)
14093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14094 whose name does not start with the host triplet. If you think this
14095 configuration is useful to you, please write to autoconf@gnu.org." >&5
14096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14097 whose name does not start with the host triplet. If you think this
14098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14099 ac_tool_warned=yes ;;
14100 esac
14101 CC=$ac_ct_CC
14102 fi
14103 else
14104 CC="$ac_cv_prog_CC"
14105 fi
14106
14107 if test -z "$CC"; then
14108 if test -n "$ac_tool_prefix"; then
14109 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14110 set dummy ${ac_tool_prefix}cc; ac_word=$2
14111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14113 if test "${ac_cv_prog_CC+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 else
14116 if test -n "$CC"; then
14117 ac_cv_prog_CC="$CC" # Let the user override the test.
14118 else
14119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14120 for as_dir in $PATH
14121 do
14122 IFS=$as_save_IFS
14123 test -z "$as_dir" && as_dir=.
14124 for ac_exec_ext in '' $ac_executable_extensions; do
14125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14126 ac_cv_prog_CC="${ac_tool_prefix}cc"
14127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14128 break 2
14129 fi
14130 done
14131 done
14132 IFS=$as_save_IFS
14133
14134 fi
14135 fi
14136 CC=$ac_cv_prog_CC
14137 if test -n "$CC"; then
14138 { echo "$as_me:$LINENO: result: $CC" >&5
14139 echo "${ECHO_T}$CC" >&6; }
14140 else
14141 { echo "$as_me:$LINENO: result: no" >&5
14142 echo "${ECHO_T}no" >&6; }
14143 fi
14144
14145
14146 fi
14147 fi
14148 if test -z "$CC"; then
14149 # Extract the first word of "cc", so it can be a program name with args.
14150 set dummy cc; ac_word=$2
14151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14153 if test "${ac_cv_prog_CC+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 else
14156 if test -n "$CC"; then
14157 ac_cv_prog_CC="$CC" # Let the user override the test.
14158 else
14159 ac_prog_rejected=no
14160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14161 for as_dir in $PATH
14162 do
14163 IFS=$as_save_IFS
14164 test -z "$as_dir" && as_dir=.
14165 for ac_exec_ext in '' $ac_executable_extensions; do
14166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14168 ac_prog_rejected=yes
14169 continue
14170 fi
14171 ac_cv_prog_CC="cc"
14172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14173 break 2
14174 fi
14175 done
14176 done
14177 IFS=$as_save_IFS
14178
14179 if test $ac_prog_rejected = yes; then
14180 # We found a bogon in the path, so make sure we never use it.
14181 set dummy $ac_cv_prog_CC
14182 shift
14183 if test $# != 0; then
14184 # We chose a different compiler from the bogus one.
14185 # However, it has the same basename, so the bogon will be chosen
14186 # first if we set CC to just the basename; use the full file name.
14187 shift
14188 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14189 fi
14190 fi
14191 fi
14192 fi
14193 CC=$ac_cv_prog_CC
14194 if test -n "$CC"; then
14195 { echo "$as_me:$LINENO: result: $CC" >&5
14196 echo "${ECHO_T}$CC" >&6; }
14197 else
14198 { echo "$as_me:$LINENO: result: no" >&5
14199 echo "${ECHO_T}no" >&6; }
14200 fi
14201
14202
14203 fi
14204 if test -z "$CC"; then
14205 if test -n "$ac_tool_prefix"; then
14206 for ac_prog in cl.exe
14207 do
14208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14212 if test "${ac_cv_prog_CC+set}" = set; then
14213 echo $ECHO_N "(cached) $ECHO_C" >&6
14214 else
14215 if test -n "$CC"; then
14216 ac_cv_prog_CC="$CC" # Let the user override the test.
14217 else
14218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14219 for as_dir in $PATH
14220 do
14221 IFS=$as_save_IFS
14222 test -z "$as_dir" && as_dir=.
14223 for ac_exec_ext in '' $ac_executable_extensions; do
14224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14225 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14227 break 2
14228 fi
14229 done
14230 done
14231 IFS=$as_save_IFS
14232
14233 fi
14234 fi
14235 CC=$ac_cv_prog_CC
14236 if test -n "$CC"; then
14237 { echo "$as_me:$LINENO: result: $CC" >&5
14238 echo "${ECHO_T}$CC" >&6; }
14239 else
14240 { echo "$as_me:$LINENO: result: no" >&5
14241 echo "${ECHO_T}no" >&6; }
14242 fi
14243
14244
14245 test -n "$CC" && break
14246 done
14247 fi
14248 if test -z "$CC"; then
14249 ac_ct_CC=$CC
14250 for ac_prog in cl.exe
14251 do
14252 # Extract the first word of "$ac_prog", so it can be a program name with args.
14253 set dummy $ac_prog; ac_word=$2
14254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14257 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 else
14259 if test -n "$ac_ct_CC"; then
14260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14261 else
14262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14263 for as_dir in $PATH
14264 do
14265 IFS=$as_save_IFS
14266 test -z "$as_dir" && as_dir=.
14267 for ac_exec_ext in '' $ac_executable_extensions; do
14268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14269 ac_cv_prog_ac_ct_CC="$ac_prog"
14270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 break 2
14272 fi
14273 done
14274 done
14275 IFS=$as_save_IFS
14276
14277 fi
14278 fi
14279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14280 if test -n "$ac_ct_CC"; then
14281 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14282 echo "${ECHO_T}$ac_ct_CC" >&6; }
14283 else
14284 { echo "$as_me:$LINENO: result: no" >&5
14285 echo "${ECHO_T}no" >&6; }
14286 fi
14287
14288
14289 test -n "$ac_ct_CC" && break
14290 done
14291
14292 if test "x$ac_ct_CC" = x; then
14293 CC=""
14294 else
14295 case $cross_compiling:$ac_tool_warned in
14296 yes:)
14297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14298 whose name does not start with the host triplet. If you think this
14299 configuration is useful to you, please write to autoconf@gnu.org." >&5
14300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14301 whose name does not start with the host triplet. If you think this
14302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14303 ac_tool_warned=yes ;;
14304 esac
14305 CC=$ac_ct_CC
14306 fi
14307 fi
14308
14309 fi
14310
14311
14312 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14313 See \`config.log' for more details." >&5
14314 echo "$as_me: error: no acceptable C compiler found in \$PATH
14315 See \`config.log' for more details." >&2;}
14316 { (exit 1); exit 1; }; }
14317
14318 # Provide some information about the compiler.
14319 echo "$as_me:$LINENO: checking for C compiler version" >&5
14320 ac_compiler=`set X $ac_compile; echo $2`
14321 { (ac_try="$ac_compiler --version >&5"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14325 esac
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_compiler --version >&5") 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }
14331 { (ac_try="$ac_compiler -v >&5"
14332 case "(($ac_try" in
14333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14334 *) ac_try_echo=$ac_try;;
14335 esac
14336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14337 (eval "$ac_compiler -v >&5") 2>&5
14338 ac_status=$?
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }
14341 { (ac_try="$ac_compiler -V >&5"
14342 case "(($ac_try" in
14343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14344 *) ac_try_echo=$ac_try;;
14345 esac
14346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14347 (eval "$ac_compiler -V >&5") 2>&5
14348 ac_status=$?
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); }
14351
14352 cat >conftest.$ac_ext <<_ACEOF
14353 /* confdefs.h. */
14354 _ACEOF
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358
14359 int
14360 main ()
14361 {
14362
14363 ;
14364 return 0;
14365 }
14366 _ACEOF
14367 ac_clean_files_save=$ac_clean_files
14368 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14369 # Try to create an executable without -o first, disregard a.out.
14370 # It will help us diagnose broken compilers, and finding out an intuition
14371 # of exeext.
14372 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14373 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14374 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14375 #
14376 # List of possible output files, starting from the most likely.
14377 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14378 # only as a last resort. b.out is created by i960 compilers.
14379 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14380 #
14381 # The IRIX 6 linker writes into existing files which may not be
14382 # executable, retaining their permissions. Remove them first so a
14383 # subsequent execution test works.
14384 ac_rmfiles=
14385 for ac_file in $ac_files
14386 do
14387 case $ac_file in
14388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14389 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14390 esac
14391 done
14392 rm -f $ac_rmfiles
14393
14394 if { (ac_try="$ac_link_default"
14395 case "(($ac_try" in
14396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 *) ac_try_echo=$ac_try;;
14398 esac
14399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14400 (eval "$ac_link_default") 2>&5
14401 ac_status=$?
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; then
14404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14406 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14407 # so that the user can short-circuit this test for compilers unknown to
14408 # Autoconf.
14409 for ac_file in $ac_files ''
14410 do
14411 test -f "$ac_file" || continue
14412 case $ac_file in
14413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14414 ;;
14415 [ab].out )
14416 # We found the default executable, but exeext='' is most
14417 # certainly right.
14418 break;;
14419 *.* )
14420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14421 then :; else
14422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14423 fi
14424 # We set ac_cv_exeext here because the later test for it is not
14425 # safe: cross compilers may not add the suffix if given an `-o'
14426 # argument, so we may need to know it at that point already.
14427 # Even if this section looks crufty: it has the advantage of
14428 # actually working.
14429 break;;
14430 * )
14431 break;;
14432 esac
14433 done
14434 test "$ac_cv_exeext" = no && ac_cv_exeext=
14435
14436 else
14437 ac_file=''
14438 fi
14439
14440 { echo "$as_me:$LINENO: result: $ac_file" >&5
14441 echo "${ECHO_T}$ac_file" >&6; }
14442 if test -z "$ac_file"; then
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.$ac_ext >&5
14445
14446 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14447 See \`config.log' for more details." >&5
14448 echo "$as_me: error: C compiler cannot create executables
14449 See \`config.log' for more details." >&2;}
14450 { (exit 77); exit 77; }; }
14451 fi
14452
14453 ac_exeext=$ac_cv_exeext
14454
14455 # Check that the compiler produces executables we can run. If not, either
14456 # the compiler is broken, or we cross compile.
14457 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14458 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14459 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14460 # If not cross compiling, check that we can run a simple program.
14461 if test "$cross_compiling" != yes; then
14462 if { ac_try='./$ac_file'
14463 { (case "(($ac_try" in
14464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14465 *) ac_try_echo=$ac_try;;
14466 esac
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_try") 2>&5
14469 ac_status=$?
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then
14472 cross_compiling=no
14473 else
14474 if test "$cross_compiling" = maybe; then
14475 cross_compiling=yes
14476 else
14477 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14478 If you meant to cross compile, use \`--host'.
14479 See \`config.log' for more details." >&5
14480 echo "$as_me: error: cannot run C compiled programs.
14481 If you meant to cross compile, use \`--host'.
14482 See \`config.log' for more details." >&2;}
14483 { (exit 1); exit 1; }; }
14484 fi
14485 fi
14486 fi
14487 { echo "$as_me:$LINENO: result: yes" >&5
14488 echo "${ECHO_T}yes" >&6; }
14489
14490 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14491 ac_clean_files=$ac_clean_files_save
14492 # Check that the compiler produces executables we can run. If not, either
14493 # the compiler is broken, or we cross compile.
14494 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14495 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14496 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14497 echo "${ECHO_T}$cross_compiling" >&6; }
14498
14499 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14500 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14501 if { (ac_try="$ac_link"
14502 case "(($ac_try" in
14503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14504 *) ac_try_echo=$ac_try;;
14505 esac
14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14507 (eval "$ac_link") 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; then
14511 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14512 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14513 # work properly (i.e., refer to `conftest.exe'), while it won't with
14514 # `rm'.
14515 for ac_file in conftest.exe conftest conftest.*; do
14516 test -f "$ac_file" || continue
14517 case $ac_file in
14518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14519 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14520 break;;
14521 * ) break;;
14522 esac
14523 done
14524 else
14525 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14526 See \`config.log' for more details." >&5
14527 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14528 See \`config.log' for more details." >&2;}
14529 { (exit 1); exit 1; }; }
14530 fi
14531
14532 rm -f conftest$ac_cv_exeext
14533 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14534 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14535
14536 rm -f conftest.$ac_ext
14537 EXEEXT=$ac_cv_exeext
14538 ac_exeext=$EXEEXT
14539 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14540 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14541 if test "${ac_cv_objext+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 cat >conftest.$ac_ext <<_ACEOF
14545 /* confdefs.h. */
14546 _ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550
14551 int
14552 main ()
14553 {
14554
14555 ;
14556 return 0;
14557 }
14558 _ACEOF
14559 rm -f conftest.o conftest.obj
14560 if { (ac_try="$ac_compile"
14561 case "(($ac_try" in
14562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14564 esac
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_compile") 2>&5
14567 ac_status=$?
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; then
14570 for ac_file in conftest.o conftest.obj conftest.*; do
14571 test -f "$ac_file" || continue;
14572 case $ac_file in
14573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14574 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14575 break;;
14576 esac
14577 done
14578 else
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.$ac_ext >&5
14581
14582 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14583 See \`config.log' for more details." >&5
14584 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14585 See \`config.log' for more details." >&2;}
14586 { (exit 1); exit 1; }; }
14587 fi
14588
14589 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14590 fi
14591 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14592 echo "${ECHO_T}$ac_cv_objext" >&6; }
14593 OBJEXT=$ac_cv_objext
14594 ac_objext=$OBJEXT
14595 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14596 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14597 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14598 echo $ECHO_N "(cached) $ECHO_C" >&6
14599 else
14600 cat >conftest.$ac_ext <<_ACEOF
14601 /* confdefs.h. */
14602 _ACEOF
14603 cat confdefs.h >>conftest.$ac_ext
14604 cat >>conftest.$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606
14607 int
14608 main ()
14609 {
14610 #ifndef __GNUC__
14611 choke me
14612 #endif
14613
14614 ;
14615 return 0;
14616 }
14617 _ACEOF
14618 rm -f conftest.$ac_objext
14619 if { (ac_try="$ac_compile"
14620 case "(($ac_try" in
14621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14622 *) ac_try_echo=$ac_try;;
14623 esac
14624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14625 (eval "$ac_compile") 2>conftest.er1
14626 ac_status=$?
14627 grep -v '^ *+' conftest.er1 >conftest.err
14628 rm -f conftest.er1
14629 cat conftest.err >&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } && {
14632 test -z "$ac_c_werror_flag" ||
14633 test ! -s conftest.err
14634 } && test -s conftest.$ac_objext; then
14635 ac_compiler_gnu=yes
14636 else
14637 echo "$as_me: failed program was:" >&5
14638 sed 's/^/| /' conftest.$ac_ext >&5
14639
14640 ac_compiler_gnu=no
14641 fi
14642
14643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14644 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14645
14646 fi
14647 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14648 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14649 GCC=`test $ac_compiler_gnu = yes && echo yes`
14650 ac_test_CFLAGS=${CFLAGS+set}
14651 ac_save_CFLAGS=$CFLAGS
14652 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14653 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14654 if test "${ac_cv_prog_cc_g+set}" = set; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 else
14657 ac_save_c_werror_flag=$ac_c_werror_flag
14658 ac_c_werror_flag=yes
14659 ac_cv_prog_cc_g=no
14660 CFLAGS="-g"
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667
14668 int
14669 main ()
14670 {
14671
14672 ;
14673 return 0;
14674 }
14675 _ACEOF
14676 rm -f conftest.$ac_objext
14677 if { (ac_try="$ac_compile"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14681 esac
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_compile") 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } && {
14690 test -z "$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 } && test -s conftest.$ac_objext; then
14693 ac_cv_prog_cc_g=yes
14694 else
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14697
14698 CFLAGS=""
14699 cat >conftest.$ac_ext <<_ACEOF
14700 /* confdefs.h. */
14701 _ACEOF
14702 cat confdefs.h >>conftest.$ac_ext
14703 cat >>conftest.$ac_ext <<_ACEOF
14704 /* end confdefs.h. */
14705
14706 int
14707 main ()
14708 {
14709
14710 ;
14711 return 0;
14712 }
14713 _ACEOF
14714 rm -f conftest.$ac_objext
14715 if { (ac_try="$ac_compile"
14716 case "(($ac_try" in
14717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14718 *) ac_try_echo=$ac_try;;
14719 esac
14720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14721 (eval "$ac_compile") 2>conftest.er1
14722 ac_status=$?
14723 grep -v '^ *+' conftest.er1 >conftest.err
14724 rm -f conftest.er1
14725 cat conftest.err >&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } && {
14728 test -z "$ac_c_werror_flag" ||
14729 test ! -s conftest.err
14730 } && test -s conftest.$ac_objext; then
14731 :
14732 else
14733 echo "$as_me: failed program was:" >&5
14734 sed 's/^/| /' conftest.$ac_ext >&5
14735
14736 ac_c_werror_flag=$ac_save_c_werror_flag
14737 CFLAGS="-g"
14738 cat >conftest.$ac_ext <<_ACEOF
14739 /* confdefs.h. */
14740 _ACEOF
14741 cat confdefs.h >>conftest.$ac_ext
14742 cat >>conftest.$ac_ext <<_ACEOF
14743 /* end confdefs.h. */
14744
14745 int
14746 main ()
14747 {
14748
14749 ;
14750 return 0;
14751 }
14752 _ACEOF
14753 rm -f conftest.$ac_objext
14754 if { (ac_try="$ac_compile"
14755 case "(($ac_try" in
14756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14757 *) ac_try_echo=$ac_try;;
14758 esac
14759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14760 (eval "$ac_compile") 2>conftest.er1
14761 ac_status=$?
14762 grep -v '^ *+' conftest.er1 >conftest.err
14763 rm -f conftest.er1
14764 cat conftest.err >&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } && {
14767 test -z "$ac_c_werror_flag" ||
14768 test ! -s conftest.err
14769 } && test -s conftest.$ac_objext; then
14770 ac_cv_prog_cc_g=yes
14771 else
14772 echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14774
14775
14776 fi
14777
14778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14779 fi
14780
14781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14782 fi
14783
14784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14785 ac_c_werror_flag=$ac_save_c_werror_flag
14786 fi
14787 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14788 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14789 if test "$ac_test_CFLAGS" = set; then
14790 CFLAGS=$ac_save_CFLAGS
14791 elif test $ac_cv_prog_cc_g = yes; then
14792 if test "$GCC" = yes; then
14793 CFLAGS="-g -O2"
14794 else
14795 CFLAGS="-g"
14796 fi
14797 else
14798 if test "$GCC" = yes; then
14799 CFLAGS="-O2"
14800 else
14801 CFLAGS=
14802 fi
14803 fi
14804 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14805 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14806 if test "${ac_cv_prog_cc_c89+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 else
14809 ac_cv_prog_cc_c89=no
14810 ac_save_CC=$CC
14811 cat >conftest.$ac_ext <<_ACEOF
14812 /* confdefs.h. */
14813 _ACEOF
14814 cat confdefs.h >>conftest.$ac_ext
14815 cat >>conftest.$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14817 #include <stdarg.h>
14818 #include <stdio.h>
14819 #include <sys/types.h>
14820 #include <sys/stat.h>
14821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14822 struct buf { int x; };
14823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14824 static char *e (p, i)
14825 char **p;
14826 int i;
14827 {
14828 return p[i];
14829 }
14830 static char *f (char * (*g) (char **, int), char **p, ...)
14831 {
14832 char *s;
14833 va_list v;
14834 va_start (v,p);
14835 s = g (p, va_arg (v,int));
14836 va_end (v);
14837 return s;
14838 }
14839
14840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14841 function prototypes and stuff, but not '\xHH' hex character constants.
14842 These don't provoke an error unfortunately, instead are silently treated
14843 as 'x'. The following induces an error, until -std is added to get
14844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14845 array size at least. It's necessary to write '\x00'==0 to get something
14846 that's true only with -std. */
14847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14848
14849 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14850 inside strings and character constants. */
14851 #define FOO(x) 'x'
14852 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14853
14854 int test (int i, double x);
14855 struct s1 {int (*f) (int a);};
14856 struct s2 {int (*f) (double a);};
14857 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14858 int argc;
14859 char **argv;
14860 int
14861 main ()
14862 {
14863 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14864 ;
14865 return 0;
14866 }
14867 _ACEOF
14868 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14869 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14870 do
14871 CC="$ac_save_CC $ac_arg"
14872 rm -f conftest.$ac_objext
14873 if { (ac_try="$ac_compile"
14874 case "(($ac_try" in
14875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14876 *) ac_try_echo=$ac_try;;
14877 esac
14878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14879 (eval "$ac_compile") 2>conftest.er1
14880 ac_status=$?
14881 grep -v '^ *+' conftest.er1 >conftest.err
14882 rm -f conftest.er1
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } && {
14886 test -z "$ac_c_werror_flag" ||
14887 test ! -s conftest.err
14888 } && test -s conftest.$ac_objext; then
14889 ac_cv_prog_cc_c89=$ac_arg
14890 else
14891 echo "$as_me: failed program was:" >&5
14892 sed 's/^/| /' conftest.$ac_ext >&5
14893
14894
14895 fi
14896
14897 rm -f core conftest.err conftest.$ac_objext
14898 test "x$ac_cv_prog_cc_c89" != "xno" && break
14899 done
14900 rm -f conftest.$ac_ext
14901 CC=$ac_save_CC
14902
14903 fi
14904 # AC_CACHE_VAL
14905 case "x$ac_cv_prog_cc_c89" in
14906 x)
14907 { echo "$as_me:$LINENO: result: none needed" >&5
14908 echo "${ECHO_T}none needed" >&6; } ;;
14909 xno)
14910 { echo "$as_me:$LINENO: result: unsupported" >&5
14911 echo "${ECHO_T}unsupported" >&6; } ;;
14912 *)
14913 CC="$CC $ac_cv_prog_cc_c89"
14914 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14915 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14916 esac
14917
14918
14919 ac_ext=c
14920 ac_cpp='$CPP $CPPFLAGS'
14921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14924
14925
14926
14927
14928 ac_ext=c
14929 ac_cpp='$CPP $CPPFLAGS'
14930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14933
14934 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14935 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14936 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14937 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 else
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945
14946 int
14947 main ()
14948 {
14949
14950 #ifndef __INTEL_COMPILER
14951 choke me
14952 #endif
14953
14954 ;
14955 return 0;
14956 }
14957 _ACEOF
14958 rm -f conftest.$ac_objext
14959 if { (ac_try="$ac_compile"
14960 case "(($ac_try" in
14961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14962 *) ac_try_echo=$ac_try;;
14963 esac
14964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14965 (eval "$ac_compile") 2>conftest.er1
14966 ac_status=$?
14967 grep -v '^ *+' conftest.er1 >conftest.err
14968 rm -f conftest.er1
14969 cat conftest.err >&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } && {
14972 test -z "$ac_c_werror_flag" ||
14973 test ! -s conftest.err
14974 } && test -s conftest.$ac_objext; then
14975 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14976 else
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14979
14980 bakefile_cv_c_compiler___INTEL_COMPILER=no
14981
14982 fi
14983
14984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14985
14986
14987 fi
14988 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14989 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14990 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14991 :; INTELCC=yes
14992 else
14993 :;
14994 fi
14995 ac_ext=c
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15000
15001
15002
15003
15004 if test "x$GCC" != "xyes"; then
15005 if test "xCC" = "xC"; then
15006 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15007 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15008 if test "${bakefile_cv_c_exto+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 else
15011 cat >conftest.$ac_ext <<_ACEOF
15012 /* confdefs.h. */
15013 _ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017
15018 int
15019 main ()
15020 {
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 rm -f conftest.$ac_objext conftest.$ac_ext.o
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>&5
15029 ac_status=$?
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; then
15032 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15033 case $ac_file in
15034 conftest.$ac_ext.o)
15035 bakefile_cv_c_exto="-ext o"
15036 ;;
15037 *)
15038 ;;
15039 esac
15040 done
15041 else
15042 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15043 See \`config.log' for more details." >&5
15044 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15045 See \`config.log' for more details." >&2;}
15046 { (exit 1); exit 1; }; }
15047
15048 fi
15049
15050 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15051
15052 fi
15053 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15054 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15055 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15056 if test "c" = "c"; then
15057 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15058 fi
15059 if test "c" = "cxx"; then
15060 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15061 fi
15062 fi
15063
15064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15065 unset ac_cv_prog_cc_g
15066 ac_test_CFLAGS=${CFLAGS+set}
15067 ac_save_CFLAGS=$CFLAGS
15068 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15069 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15070 if test "${ac_cv_prog_cc_g+set}" = set; then
15071 echo $ECHO_N "(cached) $ECHO_C" >&6
15072 else
15073 ac_save_c_werror_flag=$ac_c_werror_flag
15074 ac_c_werror_flag=yes
15075 ac_cv_prog_cc_g=no
15076 CFLAGS="-g"
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083
15084 int
15085 main ()
15086 {
15087
15088 ;
15089 return 0;
15090 }
15091 _ACEOF
15092 rm -f conftest.$ac_objext
15093 if { (ac_try="$ac_compile"
15094 case "(($ac_try" in
15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15097 esac
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_compile") 2>conftest.er1
15100 ac_status=$?
15101 grep -v '^ *+' conftest.er1 >conftest.err
15102 rm -f conftest.er1
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } && {
15106 test -z "$ac_c_werror_flag" ||
15107 test ! -s conftest.err
15108 } && test -s conftest.$ac_objext; then
15109 ac_cv_prog_cc_g=yes
15110 else
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.$ac_ext >&5
15113
15114 CFLAGS=""
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121
15122 int
15123 main ()
15124 {
15125
15126 ;
15127 return 0;
15128 }
15129 _ACEOF
15130 rm -f conftest.$ac_objext
15131 if { (ac_try="$ac_compile"
15132 case "(($ac_try" in
15133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15134 *) ac_try_echo=$ac_try;;
15135 esac
15136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15137 (eval "$ac_compile") 2>conftest.er1
15138 ac_status=$?
15139 grep -v '^ *+' conftest.er1 >conftest.err
15140 rm -f conftest.er1
15141 cat conftest.err >&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } && {
15144 test -z "$ac_c_werror_flag" ||
15145 test ! -s conftest.err
15146 } && test -s conftest.$ac_objext; then
15147 :
15148 else
15149 echo "$as_me: failed program was:" >&5
15150 sed 's/^/| /' conftest.$ac_ext >&5
15151
15152 ac_c_werror_flag=$ac_save_c_werror_flag
15153 CFLAGS="-g"
15154 cat >conftest.$ac_ext <<_ACEOF
15155 /* confdefs.h. */
15156 _ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160
15161 int
15162 main ()
15163 {
15164
15165 ;
15166 return 0;
15167 }
15168 _ACEOF
15169 rm -f conftest.$ac_objext
15170 if { (ac_try="$ac_compile"
15171 case "(($ac_try" in
15172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15173 *) ac_try_echo=$ac_try;;
15174 esac
15175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_compile") 2>conftest.er1
15177 ac_status=$?
15178 grep -v '^ *+' conftest.er1 >conftest.err
15179 rm -f conftest.er1
15180 cat conftest.err >&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); } && {
15183 test -z "$ac_c_werror_flag" ||
15184 test ! -s conftest.err
15185 } && test -s conftest.$ac_objext; then
15186 ac_cv_prog_cc_g=yes
15187 else
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15190
15191
15192 fi
15193
15194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15195 fi
15196
15197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15198 fi
15199
15200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15201 ac_c_werror_flag=$ac_save_c_werror_flag
15202 fi
15203 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15204 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15205 if test "$ac_test_CFLAGS" = set; then
15206 CFLAGS=$ac_save_CFLAGS
15207 elif test $ac_cv_prog_cc_g = yes; then
15208 if test "$GCC" = yes; then
15209 CFLAGS="-g -O2"
15210 else
15211 CFLAGS="-g"
15212 fi
15213 else
15214 if test "$GCC" = yes; then
15215 CFLAGS="-O2"
15216 else
15217 CFLAGS=
15218 fi
15219 fi
15220 fi
15221 fi
15222
15223 case `uname -s` in
15224 AIX*)
15225
15226
15227 ac_ext=c
15228 ac_cpp='$CPP $CPPFLAGS'
15229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15232
15233 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15234 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15235 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15236 echo $ECHO_N "(cached) $ECHO_C" >&6
15237 else
15238 cat >conftest.$ac_ext <<_ACEOF
15239 /* confdefs.h. */
15240 _ACEOF
15241 cat confdefs.h >>conftest.$ac_ext
15242 cat >>conftest.$ac_ext <<_ACEOF
15243 /* end confdefs.h. */
15244
15245 int
15246 main ()
15247 {
15248
15249 #ifndef __xlC__
15250 choke me
15251 #endif
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest.$ac_objext
15258 if { (ac_try="$ac_compile"
15259 case "(($ac_try" in
15260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15261 *) ac_try_echo=$ac_try;;
15262 esac
15263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15264 (eval "$ac_compile") 2>conftest.er1
15265 ac_status=$?
15266 grep -v '^ *+' conftest.er1 >conftest.err
15267 rm -f conftest.er1
15268 cat conftest.err >&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } && {
15271 test -z "$ac_c_werror_flag" ||
15272 test ! -s conftest.err
15273 } && test -s conftest.$ac_objext; then
15274 bakefile_cv_c_compiler___xlC__=yes
15275 else
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.$ac_ext >&5
15278
15279 bakefile_cv_c_compiler___xlC__=no
15280
15281 fi
15282
15283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15284
15285
15286 fi
15287 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15288 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15289 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15290 :; XLCC=yes
15291 else
15292 :;
15293 fi
15294 ac_ext=c
15295 ac_cpp='$CPP $CPPFLAGS'
15296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15299
15300
15301
15302 ;;
15303
15304 Darwin)
15305
15306
15307 ac_ext=c
15308 ac_cpp='$CPP $CPPFLAGS'
15309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15312
15313 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15314 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15315 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15316 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 else
15318 cat >conftest.$ac_ext <<_ACEOF
15319 /* confdefs.h. */
15320 _ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15324
15325 int
15326 main ()
15327 {
15328
15329 #ifndef __MWERKS__
15330 choke me
15331 #endif
15332
15333 ;
15334 return 0;
15335 }
15336 _ACEOF
15337 rm -f conftest.$ac_objext
15338 if { (ac_try="$ac_compile"
15339 case "(($ac_try" in
15340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15342 esac
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_compile") 2>conftest.er1
15345 ac_status=$?
15346 grep -v '^ *+' conftest.er1 >conftest.err
15347 rm -f conftest.er1
15348 cat conftest.err >&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } && {
15351 test -z "$ac_c_werror_flag" ||
15352 test ! -s conftest.err
15353 } && test -s conftest.$ac_objext; then
15354 bakefile_cv_c_compiler___MWERKS__=yes
15355 else
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359 bakefile_cv_c_compiler___MWERKS__=no
15360
15361 fi
15362
15363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15364
15365
15366 fi
15367 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15368 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15369 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15370 :; MWCC=yes
15371 else
15372 :;
15373 fi
15374 ac_ext=c
15375 ac_cpp='$CPP $CPPFLAGS'
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15379
15380
15381
15382
15383
15384 ac_ext=c
15385 ac_cpp='$CPP $CPPFLAGS'
15386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15389
15390 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15391 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15392 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 else
15395 cat >conftest.$ac_ext <<_ACEOF
15396 /* confdefs.h. */
15397 _ACEOF
15398 cat confdefs.h >>conftest.$ac_ext
15399 cat >>conftest.$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15401
15402 int
15403 main ()
15404 {
15405
15406 #ifndef __xlC__
15407 choke me
15408 #endif
15409
15410 ;
15411 return 0;
15412 }
15413 _ACEOF
15414 rm -f conftest.$ac_objext
15415 if { (ac_try="$ac_compile"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15419 esac
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_compile") 2>conftest.er1
15422 ac_status=$?
15423 grep -v '^ *+' conftest.er1 >conftest.err
15424 rm -f conftest.er1
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && {
15428 test -z "$ac_c_werror_flag" ||
15429 test ! -s conftest.err
15430 } && test -s conftest.$ac_objext; then
15431 bakefile_cv_c_compiler___xlC__=yes
15432 else
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.$ac_ext >&5
15435
15436 bakefile_cv_c_compiler___xlC__=no
15437
15438 fi
15439
15440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15441
15442
15443 fi
15444 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15445 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15446 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15447 :; XLCC=yes
15448 else
15449 :;
15450 fi
15451 ac_ext=c
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15456
15457
15458
15459 ;;
15460
15461 IRIX*)
15462
15463
15464 ac_ext=c
15465 ac_cpp='$CPP $CPPFLAGS'
15466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15469
15470 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15471 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15472 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 else
15475 cat >conftest.$ac_ext <<_ACEOF
15476 /* confdefs.h. */
15477 _ACEOF
15478 cat confdefs.h >>conftest.$ac_ext
15479 cat >>conftest.$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15481
15482 int
15483 main ()
15484 {
15485
15486 #ifndef _SGI_COMPILER_VERSION
15487 choke me
15488 #endif
15489
15490 ;
15491 return 0;
15492 }
15493 _ACEOF
15494 rm -f conftest.$ac_objext
15495 if { (ac_try="$ac_compile"
15496 case "(($ac_try" in
15497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15498 *) ac_try_echo=$ac_try;;
15499 esac
15500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15501 (eval "$ac_compile") 2>conftest.er1
15502 ac_status=$?
15503 grep -v '^ *+' conftest.er1 >conftest.err
15504 rm -f conftest.er1
15505 cat conftest.err >&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); } && {
15508 test -z "$ac_c_werror_flag" ||
15509 test ! -s conftest.err
15510 } && test -s conftest.$ac_objext; then
15511 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15512 else
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15515
15516 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15517
15518 fi
15519
15520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15521
15522
15523 fi
15524 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15525 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15526 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15527 :; SGICC=yes
15528 else
15529 :;
15530 fi
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536
15537
15538
15539 ;;
15540
15541 Linux*)
15542
15543
15544 ac_ext=c
15545 ac_cpp='$CPP $CPPFLAGS'
15546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549
15550 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15551 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15552 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555 cat >conftest.$ac_ext <<_ACEOF
15556 /* confdefs.h. */
15557 _ACEOF
15558 cat confdefs.h >>conftest.$ac_ext
15559 cat >>conftest.$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15561
15562 int
15563 main ()
15564 {
15565
15566 #ifndef __SUNPRO_C
15567 choke me
15568 #endif
15569
15570 ;
15571 return 0;
15572 }
15573 _ACEOF
15574 rm -f conftest.$ac_objext
15575 if { (ac_try="$ac_compile"
15576 case "(($ac_try" in
15577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15578 *) ac_try_echo=$ac_try;;
15579 esac
15580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15581 (eval "$ac_compile") 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } && {
15588 test -z "$ac_c_werror_flag" ||
15589 test ! -s conftest.err
15590 } && test -s conftest.$ac_objext; then
15591 bakefile_cv_c_compiler___SUNPRO_C=yes
15592 else
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15595
15596 bakefile_cv_c_compiler___SUNPRO_C=no
15597
15598 fi
15599
15600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15601
15602
15603 fi
15604 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15605 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15606 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15607 :; SUNCC=yes
15608 else
15609 :;
15610 fi
15611 ac_ext=c
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15616
15617
15618
15619 ;;
15620
15621 HP-UX*)
15622
15623
15624 ac_ext=c
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15629
15630 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15631 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15632 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15634 else
15635 cat >conftest.$ac_ext <<_ACEOF
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641
15642 int
15643 main ()
15644 {
15645
15646 #ifndef __HP_cc
15647 choke me
15648 #endif
15649
15650 ;
15651 return 0;
15652 }
15653 _ACEOF
15654 rm -f conftest.$ac_objext
15655 if { (ac_try="$ac_compile"
15656 case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15659 esac
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_compile") 2>conftest.er1
15662 ac_status=$?
15663 grep -v '^ *+' conftest.er1 >conftest.err
15664 rm -f conftest.er1
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest.$ac_objext; then
15671 bakefile_cv_c_compiler___HP_cc=yes
15672 else
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15675
15676 bakefile_cv_c_compiler___HP_cc=no
15677
15678 fi
15679
15680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15681
15682
15683 fi
15684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15685 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15686 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15687 :; HPCC=yes
15688 else
15689 :;
15690 fi
15691 ac_ext=c
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696
15697
15698
15699 ;;
15700
15701 OSF1)
15702
15703
15704 ac_ext=c
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709
15710 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15711 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15712 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721
15722 int
15723 main ()
15724 {
15725
15726 #ifndef __DECC
15727 choke me
15728 #endif
15729
15730 ;
15731 return 0;
15732 }
15733 _ACEOF
15734 rm -f conftest.$ac_objext
15735 if { (ac_try="$ac_compile"
15736 case "(($ac_try" in
15737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15738 *) ac_try_echo=$ac_try;;
15739 esac
15740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15741 (eval "$ac_compile") 2>conftest.er1
15742 ac_status=$?
15743 grep -v '^ *+' conftest.er1 >conftest.err
15744 rm -f conftest.er1
15745 cat conftest.err >&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } && {
15748 test -z "$ac_c_werror_flag" ||
15749 test ! -s conftest.err
15750 } && test -s conftest.$ac_objext; then
15751 bakefile_cv_c_compiler___DECC=yes
15752 else
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.$ac_ext >&5
15755
15756 bakefile_cv_c_compiler___DECC=no
15757
15758 fi
15759
15760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15761
15762
15763 fi
15764 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15765 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15766 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15767 :; COMPAQCC=yes
15768 else
15769 :;
15770 fi
15771 ac_ext=c
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15776
15777
15778
15779 ;;
15780
15781 SunOS)
15782
15783
15784 ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789
15790 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15791 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15792 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 else
15795 cat >conftest.$ac_ext <<_ACEOF
15796 /* confdefs.h. */
15797 _ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801
15802 int
15803 main ()
15804 {
15805
15806 #ifndef __SUNPRO_C
15807 choke me
15808 #endif
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext
15815 if { (ac_try="$ac_compile"
15816 case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15819 esac
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_compile") 2>conftest.er1
15822 ac_status=$?
15823 grep -v '^ *+' conftest.er1 >conftest.err
15824 rm -f conftest.er1
15825 cat conftest.err >&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && {
15828 test -z "$ac_c_werror_flag" ||
15829 test ! -s conftest.err
15830 } && test -s conftest.$ac_objext; then
15831 bakefile_cv_c_compiler___SUNPRO_C=yes
15832 else
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.$ac_ext >&5
15835
15836 bakefile_cv_c_compiler___SUNPRO_C=no
15837
15838 fi
15839
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841
15842
15843 fi
15844 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15845 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15846 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15847 :; SUNCC=yes
15848 else
15849 :;
15850 fi
15851 ac_ext=c
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15856
15857
15858
15859 ;;
15860 esac
15861 fi
15862
15863
15864
15865 ac_ext=c
15866 ac_cpp='$CPP $CPPFLAGS'
15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15870 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15871 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15872 # On Suns, sometimes $CPP names a directory.
15873 if test -n "$CPP" && test -d "$CPP"; then
15874 CPP=
15875 fi
15876 if test -z "$CPP"; then
15877 if test "${ac_cv_prog_CPP+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 # Double quotes because CPP needs to be expanded
15881 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15882 do
15883 ac_preproc_ok=false
15884 for ac_c_preproc_warn_flag in '' yes
15885 do
15886 # Use a header file that comes with gcc, so configuring glibc
15887 # with a fresh cross-compiler works.
15888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15889 # <limits.h> exists even on freestanding compilers.
15890 # On the NeXT, cc -E runs the code through the compiler's parser,
15891 # not just through cpp. "Syntax error" is here to catch this case.
15892 cat >conftest.$ac_ext <<_ACEOF
15893 /* confdefs.h. */
15894 _ACEOF
15895 cat confdefs.h >>conftest.$ac_ext
15896 cat >>conftest.$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898 #ifdef __STDC__
15899 # include <limits.h>
15900 #else
15901 # include <assert.h>
15902 #endif
15903 Syntax error
15904 _ACEOF
15905 if { (ac_try="$ac_cpp conftest.$ac_ext"
15906 case "(($ac_try" in
15907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15908 *) ac_try_echo=$ac_try;;
15909 esac
15910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15912 ac_status=$?
15913 grep -v '^ *+' conftest.er1 >conftest.err
15914 rm -f conftest.er1
15915 cat conftest.err >&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } >/dev/null && {
15918 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15919 test ! -s conftest.err
15920 }; then
15921 :
15922 else
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15925
15926 # Broken: fails on valid input.
15927 continue
15928 fi
15929
15930 rm -f conftest.err conftest.$ac_ext
15931
15932 # OK, works on sane cases. Now check whether nonexistent headers
15933 # can be detected and how.
15934 cat >conftest.$ac_ext <<_ACEOF
15935 /* confdefs.h. */
15936 _ACEOF
15937 cat confdefs.h >>conftest.$ac_ext
15938 cat >>conftest.$ac_ext <<_ACEOF
15939 /* end confdefs.h. */
15940 #include <ac_nonexistent.h>
15941 _ACEOF
15942 if { (ac_try="$ac_cpp conftest.$ac_ext"
15943 case "(($ac_try" in
15944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15945 *) ac_try_echo=$ac_try;;
15946 esac
15947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15949 ac_status=$?
15950 grep -v '^ *+' conftest.er1 >conftest.err
15951 rm -f conftest.er1
15952 cat conftest.err >&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } >/dev/null && {
15955 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15956 test ! -s conftest.err
15957 }; then
15958 # Broken: success on invalid input.
15959 continue
15960 else
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15963
15964 # Passes both tests.
15965 ac_preproc_ok=:
15966 break
15967 fi
15968
15969 rm -f conftest.err conftest.$ac_ext
15970
15971 done
15972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15973 rm -f conftest.err conftest.$ac_ext
15974 if $ac_preproc_ok; then
15975 break
15976 fi
15977
15978 done
15979 ac_cv_prog_CPP=$CPP
15980
15981 fi
15982 CPP=$ac_cv_prog_CPP
15983 else
15984 ac_cv_prog_CPP=$CPP
15985 fi
15986 { echo "$as_me:$LINENO: result: $CPP" >&5
15987 echo "${ECHO_T}$CPP" >&6; }
15988 ac_preproc_ok=false
15989 for ac_c_preproc_warn_flag in '' yes
15990 do
15991 # Use a header file that comes with gcc, so configuring glibc
15992 # with a fresh cross-compiler works.
15993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15994 # <limits.h> exists even on freestanding compilers.
15995 # On the NeXT, cc -E runs the code through the compiler's parser,
15996 # not just through cpp. "Syntax error" is here to catch this case.
15997 cat >conftest.$ac_ext <<_ACEOF
15998 /* confdefs.h. */
15999 _ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16003 #ifdef __STDC__
16004 # include <limits.h>
16005 #else
16006 # include <assert.h>
16007 #endif
16008 Syntax error
16009 _ACEOF
16010 if { (ac_try="$ac_cpp conftest.$ac_ext"
16011 case "(($ac_try" in
16012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16013 *) ac_try_echo=$ac_try;;
16014 esac
16015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16017 ac_status=$?
16018 grep -v '^ *+' conftest.er1 >conftest.err
16019 rm -f conftest.er1
16020 cat conftest.err >&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } >/dev/null && {
16023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16024 test ! -s conftest.err
16025 }; then
16026 :
16027 else
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16030
16031 # Broken: fails on valid input.
16032 continue
16033 fi
16034
16035 rm -f conftest.err conftest.$ac_ext
16036
16037 # OK, works on sane cases. Now check whether nonexistent headers
16038 # can be detected and how.
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045 #include <ac_nonexistent.h>
16046 _ACEOF
16047 if { (ac_try="$ac_cpp conftest.$ac_ext"
16048 case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 *) ac_try_echo=$ac_try;;
16051 esac
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16054 ac_status=$?
16055 grep -v '^ *+' conftest.er1 >conftest.err
16056 rm -f conftest.er1
16057 cat conftest.err >&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); } >/dev/null && {
16060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16061 test ! -s conftest.err
16062 }; then
16063 # Broken: success on invalid input.
16064 continue
16065 else
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16068
16069 # Passes both tests.
16070 ac_preproc_ok=:
16071 break
16072 fi
16073
16074 rm -f conftest.err conftest.$ac_ext
16075
16076 done
16077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16078 rm -f conftest.err conftest.$ac_ext
16079 if $ac_preproc_ok; then
16080 :
16081 else
16082 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16083 See \`config.log' for more details." >&5
16084 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16085 See \`config.log' for more details." >&2;}
16086 { (exit 1); exit 1; }; }
16087 fi
16088
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094
16095
16096 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16097 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16098 if test "${ac_cv_path_GREP+set}" = set; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 else
16101 # Extract the first word of "grep ggrep" to use in msg output
16102 if test -z "$GREP"; then
16103 set dummy grep ggrep; ac_prog_name=$2
16104 if test "${ac_cv_path_GREP+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 else
16107 ac_path_GREP_found=false
16108 # Loop through the user's path and test for each of PROGNAME-LIST
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16111 do
16112 IFS=$as_save_IFS
16113 test -z "$as_dir" && as_dir=.
16114 for ac_prog in grep ggrep; do
16115 for ac_exec_ext in '' $ac_executable_extensions; do
16116 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16117 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16118 # Check for GNU ac_path_GREP and select it if it is found.
16119 # Check for GNU $ac_path_GREP
16120 case `"$ac_path_GREP" --version 2>&1` in
16121 *GNU*)
16122 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16123 *)
16124 ac_count=0
16125 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16126 while :
16127 do
16128 cat "conftest.in" "conftest.in" >"conftest.tmp"
16129 mv "conftest.tmp" "conftest.in"
16130 cp "conftest.in" "conftest.nl"
16131 echo 'GREP' >> "conftest.nl"
16132 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16133 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16134 ac_count=`expr $ac_count + 1`
16135 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16136 # Best one so far, save it but keep looking for a better one
16137 ac_cv_path_GREP="$ac_path_GREP"
16138 ac_path_GREP_max=$ac_count
16139 fi
16140 # 10*(2^10) chars as input seems more than enough
16141 test $ac_count -gt 10 && break
16142 done
16143 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16144 esac
16145
16146
16147 $ac_path_GREP_found && break 3
16148 done
16149 done
16150
16151 done
16152 IFS=$as_save_IFS
16153
16154
16155 fi
16156
16157 GREP="$ac_cv_path_GREP"
16158 if test -z "$GREP"; then
16159 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16160 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16161 { (exit 1); exit 1; }; }
16162 fi
16163
16164 else
16165 ac_cv_path_GREP=$GREP
16166 fi
16167
16168
16169 fi
16170 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16171 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16172 GREP="$ac_cv_path_GREP"
16173
16174
16175 { echo "$as_me:$LINENO: checking for egrep" >&5
16176 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16177 if test "${ac_cv_path_EGREP+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 else
16180 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16181 then ac_cv_path_EGREP="$GREP -E"
16182 else
16183 # Extract the first word of "egrep" to use in msg output
16184 if test -z "$EGREP"; then
16185 set dummy egrep; ac_prog_name=$2
16186 if test "${ac_cv_path_EGREP+set}" = set; then
16187 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 else
16189 ac_path_EGREP_found=false
16190 # Loop through the user's path and test for each of PROGNAME-LIST
16191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16193 do
16194 IFS=$as_save_IFS
16195 test -z "$as_dir" && as_dir=.
16196 for ac_prog in egrep; do
16197 for ac_exec_ext in '' $ac_executable_extensions; do
16198 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16199 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16200 # Check for GNU ac_path_EGREP and select it if it is found.
16201 # Check for GNU $ac_path_EGREP
16202 case `"$ac_path_EGREP" --version 2>&1` in
16203 *GNU*)
16204 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16205 *)
16206 ac_count=0
16207 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16208 while :
16209 do
16210 cat "conftest.in" "conftest.in" >"conftest.tmp"
16211 mv "conftest.tmp" "conftest.in"
16212 cp "conftest.in" "conftest.nl"
16213 echo 'EGREP' >> "conftest.nl"
16214 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16216 ac_count=`expr $ac_count + 1`
16217 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16218 # Best one so far, save it but keep looking for a better one
16219 ac_cv_path_EGREP="$ac_path_EGREP"
16220 ac_path_EGREP_max=$ac_count
16221 fi
16222 # 10*(2^10) chars as input seems more than enough
16223 test $ac_count -gt 10 && break
16224 done
16225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16226 esac
16227
16228
16229 $ac_path_EGREP_found && break 3
16230 done
16231 done
16232
16233 done
16234 IFS=$as_save_IFS
16235
16236
16237 fi
16238
16239 EGREP="$ac_cv_path_EGREP"
16240 if test -z "$EGREP"; then
16241 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16242 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16243 { (exit 1); exit 1; }; }
16244 fi
16245
16246 else
16247 ac_cv_path_EGREP=$EGREP
16248 fi
16249
16250
16251 fi
16252 fi
16253 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16254 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16255 EGREP="$ac_cv_path_EGREP"
16256
16257
16258 if test $ac_cv_c_compiler_gnu = yes; then
16259 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16260 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16261 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16263 else
16264 ac_pattern="Autoconf.*'x'"
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 #include <sgtty.h>
16272 Autoconf TIOCGETP
16273 _ACEOF
16274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16275 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16276 ac_cv_prog_gcc_traditional=yes
16277 else
16278 ac_cv_prog_gcc_traditional=no
16279 fi
16280 rm -f conftest*
16281
16282
16283 if test $ac_cv_prog_gcc_traditional = no; then
16284 cat >conftest.$ac_ext <<_ACEOF
16285 /* confdefs.h. */
16286 _ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 #include <termio.h>
16291 Autoconf TCGETA
16292 _ACEOF
16293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16294 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16295 ac_cv_prog_gcc_traditional=yes
16296 fi
16297 rm -f conftest*
16298
16299 fi
16300 fi
16301 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16302 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16303 if test $ac_cv_prog_gcc_traditional = yes; then
16304 CC="$CC -traditional"
16305 fi
16306 fi
16307
16308
16309 CXXFLAGS=${CXXFLAGS:=}
16310
16311
16312
16313 ac_ext=cpp
16314 ac_cpp='$CXXCPP $CPPFLAGS'
16315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16318 if test -z "$CXX"; then
16319 if test -n "$CCC"; then
16320 CXX=$CCC
16321 else
16322 if test -n "$ac_tool_prefix"; then
16323 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16324 do
16325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16329 if test "${ac_cv_prog_CXX+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 else
16332 if test -n "$CXX"; then
16333 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16334 else
16335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16336 for as_dir in $PATH
16337 do
16338 IFS=$as_save_IFS
16339 test -z "$as_dir" && as_dir=.
16340 for ac_exec_ext in '' $ac_executable_extensions; do
16341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16342 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16344 break 2
16345 fi
16346 done
16347 done
16348 IFS=$as_save_IFS
16349
16350 fi
16351 fi
16352 CXX=$ac_cv_prog_CXX
16353 if test -n "$CXX"; then
16354 { echo "$as_me:$LINENO: result: $CXX" >&5
16355 echo "${ECHO_T}$CXX" >&6; }
16356 else
16357 { echo "$as_me:$LINENO: result: no" >&5
16358 echo "${ECHO_T}no" >&6; }
16359 fi
16360
16361
16362 test -n "$CXX" && break
16363 done
16364 fi
16365 if test -z "$CXX"; then
16366 ac_ct_CXX=$CXX
16367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16368 do
16369 # Extract the first word of "$ac_prog", so it can be a program name with args.
16370 set dummy $ac_prog; ac_word=$2
16371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16373 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16375 else
16376 if test -n "$ac_ct_CXX"; then
16377 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16378 else
16379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16380 for as_dir in $PATH
16381 do
16382 IFS=$as_save_IFS
16383 test -z "$as_dir" && as_dir=.
16384 for ac_exec_ext in '' $ac_executable_extensions; do
16385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16386 ac_cv_prog_ac_ct_CXX="$ac_prog"
16387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16388 break 2
16389 fi
16390 done
16391 done
16392 IFS=$as_save_IFS
16393
16394 fi
16395 fi
16396 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16397 if test -n "$ac_ct_CXX"; then
16398 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16399 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16400 else
16401 { echo "$as_me:$LINENO: result: no" >&5
16402 echo "${ECHO_T}no" >&6; }
16403 fi
16404
16405
16406 test -n "$ac_ct_CXX" && break
16407 done
16408
16409 if test "x$ac_ct_CXX" = x; then
16410 CXX="g++"
16411 else
16412 case $cross_compiling:$ac_tool_warned in
16413 yes:)
16414 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16415 whose name does not start with the host triplet. If you think this
16416 configuration is useful to you, please write to autoconf@gnu.org." >&5
16417 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16418 whose name does not start with the host triplet. If you think this
16419 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16420 ac_tool_warned=yes ;;
16421 esac
16422 CXX=$ac_ct_CXX
16423 fi
16424 fi
16425
16426 fi
16427 fi
16428 # Provide some information about the compiler.
16429 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16430 ac_compiler=`set X $ac_compile; echo $2`
16431 { (ac_try="$ac_compiler --version >&5"
16432 case "(($ac_try" in
16433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16434 *) ac_try_echo=$ac_try;;
16435 esac
16436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16437 (eval "$ac_compiler --version >&5") 2>&5
16438 ac_status=$?
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }
16441 { (ac_try="$ac_compiler -v >&5"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compiler -v >&5") 2>&5
16448 ac_status=$?
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }
16451 { (ac_try="$ac_compiler -V >&5"
16452 case "(($ac_try" in
16453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16454 *) ac_try_echo=$ac_try;;
16455 esac
16456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16457 (eval "$ac_compiler -V >&5") 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }
16461
16462 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16463 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16464 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16465 echo $ECHO_N "(cached) $ECHO_C" >&6
16466 else
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473
16474 int
16475 main ()
16476 {
16477 #ifndef __GNUC__
16478 choke me
16479 #endif
16480
16481 ;
16482 return 0;
16483 }
16484 _ACEOF
16485 rm -f conftest.$ac_objext
16486 if { (ac_try="$ac_compile"
16487 case "(($ac_try" in
16488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16489 *) ac_try_echo=$ac_try;;
16490 esac
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_compile") 2>conftest.er1
16493 ac_status=$?
16494 grep -v '^ *+' conftest.er1 >conftest.err
16495 rm -f conftest.er1
16496 cat conftest.err >&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && {
16499 test -z "$ac_cxx_werror_flag" ||
16500 test ! -s conftest.err
16501 } && test -s conftest.$ac_objext; then
16502 ac_compiler_gnu=yes
16503 else
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 ac_compiler_gnu=no
16508 fi
16509
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16512
16513 fi
16514 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16515 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16516 GXX=`test $ac_compiler_gnu = yes && echo yes`
16517 ac_test_CXXFLAGS=${CXXFLAGS+set}
16518 ac_save_CXXFLAGS=$CXXFLAGS
16519 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16520 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16521 if test "${ac_cv_prog_cxx_g+set}" = set; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 else
16524 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16525 ac_cxx_werror_flag=yes
16526 ac_cv_prog_cxx_g=no
16527 CXXFLAGS="-g"
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534
16535 int
16536 main ()
16537 {
16538
16539 ;
16540 return 0;
16541 }
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (ac_try="$ac_compile"
16545 case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16548 esac
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_compile") 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && {
16557 test -z "$ac_cxx_werror_flag" ||
16558 test ! -s conftest.err
16559 } && test -s conftest.$ac_objext; then
16560 ac_cv_prog_cxx_g=yes
16561 else
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16564
16565 CXXFLAGS=""
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572
16573 int
16574 main ()
16575 {
16576
16577 ;
16578 return 0;
16579 }
16580 _ACEOF
16581 rm -f conftest.$ac_objext
16582 if { (ac_try="$ac_compile"
16583 case "(($ac_try" in
16584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16585 *) ac_try_echo=$ac_try;;
16586 esac
16587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16588 (eval "$ac_compile") 2>conftest.er1
16589 ac_status=$?
16590 grep -v '^ *+' conftest.er1 >conftest.err
16591 rm -f conftest.er1
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && {
16595 test -z "$ac_cxx_werror_flag" ||
16596 test ! -s conftest.err
16597 } && test -s conftest.$ac_objext; then
16598 :
16599 else
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16602
16603 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16604 CXXFLAGS="-g"
16605 cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h. */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611
16612 int
16613 main ()
16614 {
16615
16616 ;
16617 return 0;
16618 }
16619 _ACEOF
16620 rm -f conftest.$ac_objext
16621 if { (ac_try="$ac_compile"
16622 case "(($ac_try" in
16623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16624 *) ac_try_echo=$ac_try;;
16625 esac
16626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16627 (eval "$ac_compile") 2>conftest.er1
16628 ac_status=$?
16629 grep -v '^ *+' conftest.er1 >conftest.err
16630 rm -f conftest.er1
16631 cat conftest.err >&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); } && {
16634 test -z "$ac_cxx_werror_flag" ||
16635 test ! -s conftest.err
16636 } && test -s conftest.$ac_objext; then
16637 ac_cv_prog_cxx_g=yes
16638 else
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16641
16642
16643 fi
16644
16645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16646 fi
16647
16648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16649 fi
16650
16651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16653 fi
16654 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16655 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16656 if test "$ac_test_CXXFLAGS" = set; then
16657 CXXFLAGS=$ac_save_CXXFLAGS
16658 elif test $ac_cv_prog_cxx_g = yes; then
16659 if test "$GXX" = yes; then
16660 CXXFLAGS="-g -O2"
16661 else
16662 CXXFLAGS="-g"
16663 fi
16664 else
16665 if test "$GXX" = yes; then
16666 CXXFLAGS="-O2"
16667 else
16668 CXXFLAGS=
16669 fi
16670 fi
16671 ac_ext=c
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16676
16677
16678
16679
16680 ac_ext=cpp
16681 ac_cpp='$CXXCPP $CPPFLAGS'
16682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16685
16686 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16687 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16688 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 else
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697
16698 int
16699 main ()
16700 {
16701
16702 #ifndef __INTEL_COMPILER
16703 choke me
16704 #endif
16705
16706 ;
16707 return 0;
16708 }
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (ac_try="$ac_compile"
16712 case "(($ac_try" in
16713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714 *) ac_try_echo=$ac_try;;
16715 esac
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717 (eval "$ac_compile") 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_cxx_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest.$ac_objext; then
16727 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16728 else
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16733
16734 fi
16735
16736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16737
16738
16739 fi
16740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16742 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16743 :; INTELCXX=yes
16744 else
16745 :;
16746 fi
16747 ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16752
16753
16754
16755
16756 if test "x$GCXX" != "xyes"; then
16757 if test "xCXX" = "xC"; then
16758 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16759 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16760 if test "${bakefile_cv_c_exto+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 cat >conftest.$ac_ext <<_ACEOF
16764 /* confdefs.h. */
16765 _ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769
16770 int
16771 main ()
16772 {
16773
16774 ;
16775 return 0;
16776 }
16777 _ACEOF
16778 rm -f conftest.$ac_objext conftest.$ac_ext.o
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>&5
16781 ac_status=$?
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; then
16784 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16785 case $ac_file in
16786 conftest.$ac_ext.o)
16787 bakefile_cv_c_exto="-ext o"
16788 ;;
16789 *)
16790 ;;
16791 esac
16792 done
16793 else
16794 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16795 See \`config.log' for more details." >&5
16796 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16797 See \`config.log' for more details." >&2;}
16798 { (exit 1); exit 1; }; }
16799
16800 fi
16801
16802 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16803
16804 fi
16805 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16806 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16807 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16808 if test "c" = "c"; then
16809 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16810 fi
16811 if test "c" = "cxx"; then
16812 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16813 fi
16814 fi
16815
16816 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16817 unset ac_cv_prog_cc_g
16818 ac_test_CFLAGS=${CFLAGS+set}
16819 ac_save_CFLAGS=$CFLAGS
16820 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16821 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16822 if test "${ac_cv_prog_cc_g+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825 ac_save_c_werror_flag=$ac_c_werror_flag
16826 ac_c_werror_flag=yes
16827 ac_cv_prog_cc_g=no
16828 CFLAGS="-g"
16829 cat >conftest.$ac_ext <<_ACEOF
16830 /* confdefs.h. */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835
16836 int
16837 main ()
16838 {
16839
16840 ;
16841 return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (ac_try="$ac_compile"
16846 case "(($ac_try" in
16847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16848 *) ac_try_echo=$ac_try;;
16849 esac
16850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16851 (eval "$ac_compile") 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && {
16858 test -z "$ac_c_werror_flag" ||
16859 test ! -s conftest.err
16860 } && test -s conftest.$ac_objext; then
16861 ac_cv_prog_cc_g=yes
16862 else
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16865
16866 CFLAGS=""
16867 cat >conftest.$ac_ext <<_ACEOF
16868 /* confdefs.h. */
16869 _ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873
16874 int
16875 main ()
16876 {
16877
16878 ;
16879 return 0;
16880 }
16881 _ACEOF
16882 rm -f conftest.$ac_objext
16883 if { (ac_try="$ac_compile"
16884 case "(($ac_try" in
16885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16886 *) ac_try_echo=$ac_try;;
16887 esac
16888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16889 (eval "$ac_compile") 2>conftest.er1
16890 ac_status=$?
16891 grep -v '^ *+' conftest.er1 >conftest.err
16892 rm -f conftest.er1
16893 cat conftest.err >&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); } && {
16896 test -z "$ac_c_werror_flag" ||
16897 test ! -s conftest.err
16898 } && test -s conftest.$ac_objext; then
16899 :
16900 else
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16903
16904 ac_c_werror_flag=$ac_save_c_werror_flag
16905 CFLAGS="-g"
16906 cat >conftest.$ac_ext <<_ACEOF
16907 /* confdefs.h. */
16908 _ACEOF
16909 cat confdefs.h >>conftest.$ac_ext
16910 cat >>conftest.$ac_ext <<_ACEOF
16911 /* end confdefs.h. */
16912
16913 int
16914 main ()
16915 {
16916
16917 ;
16918 return 0;
16919 }
16920 _ACEOF
16921 rm -f conftest.$ac_objext
16922 if { (ac_try="$ac_compile"
16923 case "(($ac_try" in
16924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16925 *) ac_try_echo=$ac_try;;
16926 esac
16927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16928 (eval "$ac_compile") 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } && {
16935 test -z "$ac_c_werror_flag" ||
16936 test ! -s conftest.err
16937 } && test -s conftest.$ac_objext; then
16938 ac_cv_prog_cc_g=yes
16939 else
16940 echo "$as_me: failed program was:" >&5
16941 sed 's/^/| /' conftest.$ac_ext >&5
16942
16943
16944 fi
16945
16946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16947 fi
16948
16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950 fi
16951
16952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16953 ac_c_werror_flag=$ac_save_c_werror_flag
16954 fi
16955 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16956 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16957 if test "$ac_test_CFLAGS" = set; then
16958 CFLAGS=$ac_save_CFLAGS
16959 elif test $ac_cv_prog_cc_g = yes; then
16960 if test "$GCC" = yes; then
16961 CFLAGS="-g -O2"
16962 else
16963 CFLAGS="-g"
16964 fi
16965 else
16966 if test "$GCC" = yes; then
16967 CFLAGS="-O2"
16968 else
16969 CFLAGS=
16970 fi
16971 fi
16972 fi
16973 fi
16974
16975 case `uname -s` in
16976 AIX*)
16977
16978
16979 ac_ext=cpp
16980 ac_cpp='$CXXCPP $CPPFLAGS'
16981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16984
16985 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16986 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16987 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16988 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 else
16990 cat >conftest.$ac_ext <<_ACEOF
16991 /* confdefs.h. */
16992 _ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996
16997 int
16998 main ()
16999 {
17000
17001 #ifndef __xlC__
17002 choke me
17003 #endif
17004
17005 ;
17006 return 0;
17007 }
17008 _ACEOF
17009 rm -f conftest.$ac_objext
17010 if { (ac_try="$ac_compile"
17011 case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17013 *) ac_try_echo=$ac_try;;
17014 esac
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_compile") 2>conftest.er1
17017 ac_status=$?
17018 grep -v '^ *+' conftest.er1 >conftest.err
17019 rm -f conftest.er1
17020 cat conftest.err >&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); } && {
17023 test -z "$ac_cxx_werror_flag" ||
17024 test ! -s conftest.err
17025 } && test -s conftest.$ac_objext; then
17026 bakefile_cv_cxx_compiler___xlC__=yes
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17030
17031 bakefile_cv_cxx_compiler___xlC__=no
17032
17033 fi
17034
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17036
17037
17038 fi
17039 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17040 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17041 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17042 :; XLCXX=yes
17043 else
17044 :;
17045 fi
17046 ac_ext=c
17047 ac_cpp='$CPP $CPPFLAGS'
17048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17051
17052
17053
17054 ;;
17055
17056 Darwin)
17057
17058
17059 ac_ext=cpp
17060 ac_cpp='$CXXCPP $CPPFLAGS'
17061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064
17065 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17066 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 else
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076
17077 int
17078 main ()
17079 {
17080
17081 #ifndef __MWERKS__
17082 choke me
17083 #endif
17084
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_cxx_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 bakefile_cv_cxx_compiler___MWERKS__=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 bakefile_cv_cxx_compiler___MWERKS__=no
17112
17113 fi
17114
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116
17117
17118 fi
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17120 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17121 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17122 :; MWCXX=yes
17123 else
17124 :;
17125 fi
17126 ac_ext=c
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17131
17132
17133
17134
17135
17136 ac_ext=cpp
17137 ac_cpp='$CXXCPP $CPPFLAGS'
17138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17141
17142 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17143 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17144 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 else
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153
17154 int
17155 main ()
17156 {
17157
17158 #ifndef __xlC__
17159 choke me
17160 #endif
17161
17162 ;
17163 return 0;
17164 }
17165 _ACEOF
17166 rm -f conftest.$ac_objext
17167 if { (ac_try="$ac_compile"
17168 case "(($ac_try" in
17169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17170 *) ac_try_echo=$ac_try;;
17171 esac
17172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17173 (eval "$ac_compile") 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } && {
17180 test -z "$ac_cxx_werror_flag" ||
17181 test ! -s conftest.err
17182 } && test -s conftest.$ac_objext; then
17183 bakefile_cv_cxx_compiler___xlC__=yes
17184 else
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.$ac_ext >&5
17187
17188 bakefile_cv_cxx_compiler___xlC__=no
17189
17190 fi
17191
17192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17193
17194
17195 fi
17196 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17197 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17198 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17199 :; XLCXX=yes
17200 else
17201 :;
17202 fi
17203 ac_ext=c
17204 ac_cpp='$CPP $CPPFLAGS'
17205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17208
17209
17210
17211 ;;
17212
17213 IRIX*)
17214
17215
17216 ac_ext=cpp
17217 ac_cpp='$CXXCPP $CPPFLAGS'
17218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17221
17222 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17223 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17224 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 else
17227 cat >conftest.$ac_ext <<_ACEOF
17228 /* confdefs.h. */
17229 _ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233
17234 int
17235 main ()
17236 {
17237
17238 #ifndef _SGI_COMPILER_VERSION
17239 choke me
17240 #endif
17241
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17251 esac
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_cxx_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17269
17270 fi
17271
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273
17274
17275 fi
17276 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17277 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17278 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17279 :; SGICXX=yes
17280 else
17281 :;
17282 fi
17283 ac_ext=c
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17288
17289
17290
17291 ;;
17292
17293 Linux*)
17294
17295
17296 ac_ext=cpp
17297 ac_cpp='$CXXCPP $CPPFLAGS'
17298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17301
17302 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17303 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17304 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 else
17307 cat >conftest.$ac_ext <<_ACEOF
17308 /* confdefs.h. */
17309 _ACEOF
17310 cat confdefs.h >>conftest.$ac_ext
17311 cat >>conftest.$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17313
17314 int
17315 main ()
17316 {
17317
17318 #ifndef __SUNPRO_CC
17319 choke me
17320 #endif
17321
17322 ;
17323 return 0;
17324 }
17325 _ACEOF
17326 rm -f conftest.$ac_objext
17327 if { (ac_try="$ac_compile"
17328 case "(($ac_try" in
17329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17330 *) ac_try_echo=$ac_try;;
17331 esac
17332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17333 (eval "$ac_compile") 2>conftest.er1
17334 ac_status=$?
17335 grep -v '^ *+' conftest.er1 >conftest.err
17336 rm -f conftest.er1
17337 cat conftest.err >&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } && {
17340 test -z "$ac_cxx_werror_flag" ||
17341 test ! -s conftest.err
17342 } && test -s conftest.$ac_objext; then
17343 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17344 else
17345 echo "$as_me: failed program was:" >&5
17346 sed 's/^/| /' conftest.$ac_ext >&5
17347
17348 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17349
17350 fi
17351
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17353
17354
17355 fi
17356 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17357 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17358 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17359 :; SUNCXX=yes
17360 else
17361 :;
17362 fi
17363 ac_ext=c
17364 ac_cpp='$CPP $CPPFLAGS'
17365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17368
17369
17370
17371 ;;
17372
17373 HP-UX*)
17374
17375
17376 ac_ext=cpp
17377 ac_cpp='$CXXCPP $CPPFLAGS'
17378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17381
17382 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17383 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17384 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 else
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393
17394 int
17395 main ()
17396 {
17397
17398 #ifndef __HP_aCC
17399 choke me
17400 #endif
17401
17402 ;
17403 return 0;
17404 }
17405 _ACEOF
17406 rm -f conftest.$ac_objext
17407 if { (ac_try="$ac_compile"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17411 esac
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_compile") 2>conftest.er1
17414 ac_status=$?
17415 grep -v '^ *+' conftest.er1 >conftest.err
17416 rm -f conftest.er1
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } && {
17420 test -z "$ac_cxx_werror_flag" ||
17421 test ! -s conftest.err
17422 } && test -s conftest.$ac_objext; then
17423 bakefile_cv_cxx_compiler___HP_aCC=yes
17424 else
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17427
17428 bakefile_cv_cxx_compiler___HP_aCC=no
17429
17430 fi
17431
17432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17433
17434
17435 fi
17436 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17437 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17438 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17439 :; HPCXX=yes
17440 else
17441 :;
17442 fi
17443 ac_ext=c
17444 ac_cpp='$CPP $CPPFLAGS'
17445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449
17450
17451 ;;
17452
17453 OSF1)
17454
17455
17456 ac_ext=cpp
17457 ac_cpp='$CXXCPP $CPPFLAGS'
17458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17461
17462 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17463 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17464 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467 cat >conftest.$ac_ext <<_ACEOF
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473
17474 int
17475 main ()
17476 {
17477
17478 #ifndef __DECCXX
17479 choke me
17480 #endif
17481
17482 ;
17483 return 0;
17484 }
17485 _ACEOF
17486 rm -f conftest.$ac_objext
17487 if { (ac_try="$ac_compile"
17488 case "(($ac_try" in
17489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17490 *) ac_try_echo=$ac_try;;
17491 esac
17492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17493 (eval "$ac_compile") 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && {
17500 test -z "$ac_cxx_werror_flag" ||
17501 test ! -s conftest.err
17502 } && test -s conftest.$ac_objext; then
17503 bakefile_cv_cxx_compiler___DECCXX=yes
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17507
17508 bakefile_cv_cxx_compiler___DECCXX=no
17509
17510 fi
17511
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513
17514
17515 fi
17516 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17517 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17518 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17519 :; COMPAQCXX=yes
17520 else
17521 :;
17522 fi
17523 ac_ext=c
17524 ac_cpp='$CPP $CPPFLAGS'
17525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17528
17529
17530
17531 ;;
17532
17533 SunOS)
17534
17535
17536 ac_ext=cpp
17537 ac_cpp='$CXXCPP $CPPFLAGS'
17538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17541
17542 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17543 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17544 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 else
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553
17554 int
17555 main ()
17556 {
17557
17558 #ifndef __SUNPRO_CC
17559 choke me
17560 #endif
17561
17562 ;
17563 return 0;
17564 }
17565 _ACEOF
17566 rm -f conftest.$ac_objext
17567 if { (ac_try="$ac_compile"
17568 case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17571 esac
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_compile") 2>conftest.er1
17574 ac_status=$?
17575 grep -v '^ *+' conftest.er1 >conftest.err
17576 rm -f conftest.er1
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } && {
17580 test -z "$ac_cxx_werror_flag" ||
17581 test ! -s conftest.err
17582 } && test -s conftest.$ac_objext; then
17583 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17584 else
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.$ac_ext >&5
17587
17588 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17589
17590 fi
17591
17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593
17594
17595 fi
17596 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17597 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17598 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17599 :; SUNCXX=yes
17600 else
17601 :;
17602 fi
17603 ac_ext=c
17604 ac_cpp='$CPP $CPPFLAGS'
17605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17608
17609
17610
17611 ;;
17612 esac
17613 fi
17614
17615
17616
17617 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17618 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17619 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17620 { (exit 1); exit 1; }; }
17621 fi
17622
17623 if test "x$SUNCXX" != xyes; then
17624 if test -n "$ac_tool_prefix"; then
17625 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17626 set dummy ${ac_tool_prefix}ar; ac_word=$2
17627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17629 if test "${ac_cv_prog_AR+set}" = set; then
17630 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 else
17632 if test -n "$AR"; then
17633 ac_cv_prog_AR="$AR" # Let the user override the test.
17634 else
17635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17636 for as_dir in $PATH
17637 do
17638 IFS=$as_save_IFS
17639 test -z "$as_dir" && as_dir=.
17640 for ac_exec_ext in '' $ac_executable_extensions; do
17641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17642 ac_cv_prog_AR="${ac_tool_prefix}ar"
17643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17644 break 2
17645 fi
17646 done
17647 done
17648 IFS=$as_save_IFS
17649
17650 fi
17651 fi
17652 AR=$ac_cv_prog_AR
17653 if test -n "$AR"; then
17654 { echo "$as_me:$LINENO: result: $AR" >&5
17655 echo "${ECHO_T}$AR" >&6; }
17656 else
17657 { echo "$as_me:$LINENO: result: no" >&5
17658 echo "${ECHO_T}no" >&6; }
17659 fi
17660
17661
17662 fi
17663 if test -z "$ac_cv_prog_AR"; then
17664 ac_ct_AR=$AR
17665 # Extract the first word of "ar", so it can be a program name with args.
17666 set dummy ar; ac_word=$2
17667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17669 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 else
17672 if test -n "$ac_ct_AR"; then
17673 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17674 else
17675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17676 for as_dir in $PATH
17677 do
17678 IFS=$as_save_IFS
17679 test -z "$as_dir" && as_dir=.
17680 for ac_exec_ext in '' $ac_executable_extensions; do
17681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17682 ac_cv_prog_ac_ct_AR="ar"
17683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17684 break 2
17685 fi
17686 done
17687 done
17688 IFS=$as_save_IFS
17689
17690 fi
17691 fi
17692 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17693 if test -n "$ac_ct_AR"; then
17694 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17695 echo "${ECHO_T}$ac_ct_AR" >&6; }
17696 else
17697 { echo "$as_me:$LINENO: result: no" >&5
17698 echo "${ECHO_T}no" >&6; }
17699 fi
17700
17701 if test "x$ac_ct_AR" = x; then
17702 AR=""
17703 else
17704 case $cross_compiling:$ac_tool_warned in
17705 yes:)
17706 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17707 whose name does not start with the host triplet. If you think this
17708 configuration is useful to you, please write to autoconf@gnu.org." >&5
17709 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17710 whose name does not start with the host triplet. If you think this
17711 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17712 ac_tool_warned=yes ;;
17713 esac
17714 AR=$ac_ct_AR
17715 fi
17716 else
17717 AR="$ac_cv_prog_AR"
17718 fi
17719
17720 if test "x$AR" = "x" ; then
17721 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17722 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17723 { (exit 1); exit 1; }; }
17724 fi
17725 fi
17726
17727 retest_macosx_linking=no
17728
17729 #if test "$wxUSE_MAC" = 1; then
17730 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17731 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17732 # Implicitly turn on the new --with-macosx-sdk using the default
17733 # SDK which provides the behavior this option has always had.
17734 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17735 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17736 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17737 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17738 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17739 wxUSE_MACOSX_SDK=yes
17740 fi
17741 else
17742 # Complain to user if he specified an argument to --enable-universal_binary
17743 # and also 1) specified --with-macosx-sdk using the default (yes) or
17744 # 2) specified --with-macosx-sdk using a path or 3) specified
17745 # --without-macosx-sdk (no).
17746 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17747 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17748 See \`config.log' for more details." >&5
17749 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17750 See \`config.log' for more details." >&2;}
17751 { (exit 1); exit 1; }; }
17752 else
17753 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17754 # special-case the empty string because the below test simply
17755 # converts "no" to the empty string anyway.
17756 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17757 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17758 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17759 fi
17760 fi
17761 OSX_UNIV_OPTS="-arch ppc -arch i386"
17762 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17763 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17764 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17765 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17766 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17767 retest_macosx_linking=yes
17768
17769 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17770 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17771 bk_use_pch=no
17772 fi
17773 #fi
17774
17775 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17776 wxUSE_MACOSX_SDK=
17777 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17778 # TODO: Search for most recent SDK and use it.
17779 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17780 fi
17781
17782
17783 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17784 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17785 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17786 if ! test -d "$wxUSE_MACOSX_SDK"; then
17787 { { echo "$as_me:$LINENO: error: not found
17788 See \`config.log' for more details." >&5
17789 echo "$as_me: error: not found
17790 See \`config.log' for more details." >&2;}
17791 { (exit 1); exit 1; }; }
17792 else
17793 { echo "$as_me:$LINENO: result: exists" >&5
17794 echo "${ECHO_T}exists" >&6; }
17795 fi
17796 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17797 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17798 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17799 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17800 retest_macosx_linking=yes
17801 fi
17802
17803 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17804 wxUSE_MACOSX_VERSION_MIN=
17805 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17806 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17807 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17808 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17809
17810 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/'`
17811
17812 # If that failed, try again with the new key
17813 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17814
17815 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/'`
17816
17817 fi
17818
17819 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17820 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17821 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17822 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17823 else
17824 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17825 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17826 wxUSE_MACOSX_VERSION_MIN=
17827 fi
17828 else
17829 wxUSE_MACOSX_VERSION_MIN=
17830 fi
17831 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17832 if test "$wxUSE_MAC" = 1; then
17833 # otherwise configure stops on leopard for universal_binary
17834 wxUSE_MACOSX_VERSION_MIN=10.4
17835 fi
17836 fi
17837
17838 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17839 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17840 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17841 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17842 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17843 retest_macosx_linking=yes
17844 fi
17845
17846 if test "x$retest_macosx_linking" = "xyes"; then
17847 ac_ext=c
17848 ac_cpp='$CPP $CPPFLAGS'
17849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17852
17853 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17854 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17855 cat >conftest.$ac_ext <<_ACEOF
17856 /* confdefs.h. */
17857 _ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861
17862 int
17863 main ()
17864 {
17865
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 rm -f conftest.$ac_objext conftest$ac_exeext
17871 if { (ac_try="$ac_link"
17872 case "(($ac_try" in
17873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17874 *) ac_try_echo=$ac_try;;
17875 esac
17876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17877 (eval "$ac_link") 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_c_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest$ac_exeext &&
17887 $as_test_x conftest$ac_exeext; then
17888 { echo "$as_me:$LINENO: result: yes" >&5
17889 echo "${ECHO_T}yes" >&6; }
17890 else
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17893
17894 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17895 See \`config.log' for more details." >&5
17896 echo "$as_me: error: no. Try a different SDK
17897 See \`config.log' for more details." >&2;}
17898 { (exit 1); exit 1; }; }; exit 1
17899 fi
17900
17901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17902 conftest$ac_exeext conftest.$ac_ext
17903 ac_ext=c
17904 ac_cpp='$CPP $CPPFLAGS'
17905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17908
17909
17910 ac_ext=cpp
17911 ac_cpp='$CXXCPP $CPPFLAGS'
17912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17915
17916 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17917 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17918 cat >conftest.$ac_ext <<_ACEOF
17919 /* confdefs.h. */
17920 _ACEOF
17921 cat confdefs.h >>conftest.$ac_ext
17922 cat >>conftest.$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924
17925 int
17926 main ()
17927 {
17928
17929 ;
17930 return 0;
17931 }
17932 _ACEOF
17933 rm -f conftest.$ac_objext conftest$ac_exeext
17934 if { (ac_try="$ac_link"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17938 esac
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_link") 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_cxx_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest$ac_exeext &&
17950 $as_test_x conftest$ac_exeext; then
17951 { echo "$as_me:$LINENO: result: yes" >&5
17952 echo "${ECHO_T}yes" >&6; }
17953 else
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17956
17957 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17958 See \`config.log' for more details." >&5
17959 echo "$as_me: error: no. Try a different SDK
17960 See \`config.log' for more details." >&2;}
17961 { (exit 1); exit 1; }; }; exit 1
17962 fi
17963
17964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17965 conftest$ac_exeext conftest.$ac_ext
17966 ac_ext=c
17967 ac_cpp='$CPP $CPPFLAGS'
17968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17971
17972 fi
17973
17974
17975 case "${host}" in
17976
17977 *-*-darwin* )
17978 INSTALL_PROGRAM="cp -fp"
17979 INSTALL_DATA="cp -fp"
17980 ;;
17981 *)
17982 ;;
17983 esac
17984
17985
17986 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17987 CXXFLAGS="-qunique $CXXFLAGS"
17988 fi
17989
17990 case "${host}" in
17991 powerpc-*-darwin* )
17992 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17993 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17994 cat >conftest.$ac_ext <<_ACEOF
17995 /* confdefs.h. */
17996 _ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000
18001 int
18002 main ()
18003 {
18004 #ifndef __POWERPC__
18005 choke me for lack of PowerPC
18006 #endif
18007
18008 ;
18009 return 0;
18010 }
18011 _ACEOF
18012 rm -f conftest.$ac_objext
18013 if { (ac_try="$ac_compile"
18014 case "(($ac_try" in
18015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18016 *) ac_try_echo=$ac_try;;
18017 esac
18018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18019 (eval "$ac_compile") 2>conftest.er1
18020 ac_status=$?
18021 grep -v '^ *+' conftest.er1 >conftest.err
18022 rm -f conftest.er1
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } && {
18026 test -z "$ac_c_werror_flag" ||
18027 test ! -s conftest.err
18028 } && test -s conftest.$ac_objext; then
18029 { echo "$as_me:$LINENO: result: yes" >&5
18030 echo "${ECHO_T}yes" >&6; }
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18034
18035 { echo "$as_me:$LINENO: result: no" >&5
18036 echo "${ECHO_T}no" >&6; }
18037 cat >>confdefs.h <<\_ACEOF
18038 #define __POWERPC__ 1
18039 _ACEOF
18040
18041
18042 fi
18043
18044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18045 ;;
18046 esac
18047
18048 case "${host}" in
18049 *-*-darwin* )
18050 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18051 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 #include <CoreFoundation/CFBase.h>
18059
18060 int
18061 main ()
18062 {
18063
18064 ;
18065 return 0;
18066 }
18067 _ACEOF
18068 rm -f conftest.$ac_objext
18069 if { (ac_try="$ac_compile"
18070 case "(($ac_try" in
18071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18072 *) ac_try_echo=$ac_try;;
18073 esac
18074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18075 (eval "$ac_compile") 2>conftest.er1
18076 ac_status=$?
18077 grep -v '^ *+' conftest.er1 >conftest.err
18078 rm -f conftest.er1
18079 cat conftest.err >&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); } && {
18082 test -z "$ac_c_werror_flag" ||
18083 test ! -s conftest.err
18084 } && test -s conftest.$ac_objext; then
18085 { echo "$as_me:$LINENO: result: yes" >&5
18086 echo "${ECHO_T}yes" >&6; }
18087 else
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18090
18091 { echo "$as_me:$LINENO: result: no" >&5
18092 echo "${ECHO_T}no" >&6; }
18093 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18094 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18095 cat >conftest.$ac_ext <<_ACEOF
18096 /* confdefs.h. */
18097 _ACEOF
18098 cat confdefs.h >>conftest.$ac_ext
18099 cat >>conftest.$ac_ext <<_ACEOF
18100 /* end confdefs.h. */
18101 #define __CF_USE_FRAMEWORK_INCLUDES__
18102 #include <CoreFoundation/CFBase.h>
18103
18104 int
18105 main ()
18106 {
18107
18108 ;
18109 return 0;
18110 }
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 { echo "$as_me:$LINENO: result: yes" >&5
18130 echo "${ECHO_T}yes" >&6; }
18131 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18132 else
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.$ac_ext >&5
18135
18136 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18137 See \`config.log' for more details." >&5
18138 echo "$as_me: error: no. CoreFoundation not available.
18139 See \`config.log' for more details." >&2;}
18140 { (exit 1); exit 1; }; }
18141
18142 fi
18143
18144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18145
18146
18147 fi
18148
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150 ;;
18151 esac
18152
18153 wants_win32=0
18154 doesnt_want_win32=0
18155 case "${host}" in
18156 *-*-cygwin*)
18157 if test "$wxUSE_MSW" = 1 ; then
18158 wants_win32=1
18159 else
18160 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18161 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18162 if test "${wx_cv_nocygwin+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18165
18166 cat >conftest.$ac_ext <<_ACEOF
18167 /* confdefs.h. */
18168 _ACEOF
18169 cat confdefs.h >>conftest.$ac_ext
18170 cat >>conftest.$ac_ext <<_ACEOF
18171 /* end confdefs.h. */
18172
18173 int
18174 main ()
18175 {
18176
18177 #ifdef __MINGW32__
18178 choke me
18179 #endif
18180
18181 ;
18182 return 0;
18183 }
18184 _ACEOF
18185 rm -f conftest.$ac_objext
18186 if { (ac_try="$ac_compile"
18187 case "(($ac_try" in
18188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18189 *) ac_try_echo=$ac_try;;
18190 esac
18191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18192 (eval "$ac_compile") 2>conftest.er1
18193 ac_status=$?
18194 grep -v '^ *+' conftest.er1 >conftest.err
18195 rm -f conftest.er1
18196 cat conftest.err >&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } && {
18199 test -z "$ac_c_werror_flag" ||
18200 test ! -s conftest.err
18201 } && test -s conftest.$ac_objext; then
18202 wx_cv_nocygwin=no
18203 else
18204 echo "$as_me: failed program was:" >&5
18205 sed 's/^/| /' conftest.$ac_ext >&5
18206
18207 wx_cv_nocygwin=yes
18208
18209 fi
18210
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212
18213
18214 fi
18215 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18216 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18217
18218 if test "$wx_cv_nocygwin" = "yes"; then
18219 wants_win32=1
18220 else
18221 doesnt_want_win32=1
18222 fi
18223 fi
18224 if test "$wants_win32" = 1 ; then
18225 BAKEFILE_FORCE_PLATFORM=win32
18226 fi
18227 ;;
18228 *-*-mingw*)
18229 wants_win32=1
18230 ;;
18231 esac
18232
18233 if test "$wxUSE_WINE" = "yes"; then
18234 wants_win32=1
18235 LDFLAGS_GUI="-mwindows"
18236 fi
18237
18238 if test "$wants_win32" = 1 ; then
18239 USE_UNIX=0
18240 USE_WIN32=1
18241 cat >>confdefs.h <<\_ACEOF
18242 #define __WIN32__ 1
18243 _ACEOF
18244
18245 cat >>confdefs.h <<\_ACEOF
18246 #define __WIN95__ 1
18247 _ACEOF
18248
18249 cat >>confdefs.h <<\_ACEOF
18250 #define __WINDOWS__ 1
18251 _ACEOF
18252
18253 cat >>confdefs.h <<\_ACEOF
18254 #define __GNUWIN32__ 1
18255 _ACEOF
18256
18257 cat >>confdefs.h <<\_ACEOF
18258 #define STRICT 1
18259 _ACEOF
18260
18261 fi
18262 if test "$doesnt_want_win32" = 1 ; then
18263 USE_UNIX=1
18264 USE_WIN32=0
18265 fi
18266
18267 if test "$USE_UNIX" = 1 ; then
18268 wxUSE_UNIX=yes
18269 cat >>confdefs.h <<\_ACEOF
18270 #define __UNIX__ 1
18271 _ACEOF
18272
18273 fi
18274
18275 case "${host}" in
18276 *-pc-os2_emx | *-pc-os2-emx )
18277 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18278 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18279 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18280 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 ac_check_lib_save_LIBS=$LIBS
18284 LIBS="-lcExt $LIBS"
18285 cat >conftest.$ac_ext <<_ACEOF
18286 /* confdefs.h. */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291
18292 /* Override any GCC internal prototype to avoid an error.
18293 Use char because int might match the return type of a GCC
18294 builtin and then its argument prototype would still apply. */
18295 #ifdef __cplusplus
18296 extern "C"
18297 #endif
18298 char drand48 ();
18299 int
18300 main ()
18301 {
18302 return drand48 ();
18303 ;
18304 return 0;
18305 }
18306 _ACEOF
18307 rm -f conftest.$ac_objext conftest$ac_exeext
18308 if { (ac_try="$ac_link"
18309 case "(($ac_try" in
18310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18311 *) ac_try_echo=$ac_try;;
18312 esac
18313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18314 (eval "$ac_link") 2>conftest.er1
18315 ac_status=$?
18316 grep -v '^ *+' conftest.er1 >conftest.err
18317 rm -f conftest.er1
18318 cat conftest.err >&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } && {
18321 test -z "$ac_c_werror_flag" ||
18322 test ! -s conftest.err
18323 } && test -s conftest$ac_exeext &&
18324 $as_test_x conftest$ac_exeext; then
18325 ac_cv_lib_cExt_drand48=yes
18326 else
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18329
18330 ac_cv_lib_cExt_drand48=no
18331 fi
18332
18333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18334 conftest$ac_exeext conftest.$ac_ext
18335 LIBS=$ac_check_lib_save_LIBS
18336 fi
18337 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18338 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18339 if test $ac_cv_lib_cExt_drand48 = yes; then
18340 LIBS="$LIBS -lcExt"
18341 fi
18342
18343 else
18344 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18345 fi
18346 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18347 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18348 if test "${wx_cv_gccversion+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 else
18351
18352 if test "$cross_compiling" = yes; then
18353 wx_cv_gccversion="EMX2"
18354
18355 else
18356 cat >conftest.$ac_ext <<_ACEOF
18357 /* confdefs.h. */
18358 _ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362
18363 #include <stdio.h>
18364
18365 int main()
18366 {
18367 FILE *f=fopen("conftestval", "w");
18368 if (!f) exit(1);
18369 fprintf(f,
18370 #if (__GNUC__ < 3)
18371 "EMX2"
18372 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18373 "EMX3"
18374 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18375 "Innotek5"
18376 #else
18377 "Innotek6"
18378 #endif
18379 );
18380 exit(0);
18381 }
18382
18383 _ACEOF
18384 rm -f conftest$ac_exeext
18385 if { (ac_try="$ac_link"
18386 case "(($ac_try" in
18387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18389 esac
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_link") 2>&5
18392 ac_status=$?
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18395 { (case "(($ac_try" in
18396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18397 *) ac_try_echo=$ac_try;;
18398 esac
18399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 (eval "$ac_try") 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; }; then
18404 wx_cv_gccversion=`cat conftestval`
18405 else
18406 echo "$as_me: program exited with status $ac_status" >&5
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 ( exit $ac_status )
18411 wx_cv_gccversion="EMX2"
18412 fi
18413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18414 fi
18415
18416
18417
18418 fi
18419 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18420 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18421 if test "$wx_cv_gccversion" = "EMX2"; then
18422 LIBS="$LIBS -lstdcpp"
18423 LDFLAGS="$LDFLAGS -Zsysv-signals"
18424 else
18425 if test "$wx_cv_gccversion" = "EMX3"; then
18426 LIBS="$LIBS -lstdcxx -lgcc"
18427 LDFLAGS="$LDFLAGS -Zsysv-signals"
18428 else
18429 LIBS="$LIBS -lstdc++"
18430 fi
18431 fi
18432 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18433 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18434 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18435 wxUSE_OMF=yes
18436 enable_omf=yes
18437 fi
18438 ;;
18439 *)
18440
18441 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18442 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18443 if test "${ac_cv_string_strcasecmp+set}" = set; then
18444 echo $ECHO_N "(cached) $ECHO_C" >&6
18445 else
18446
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453
18454 #include <string.h>
18455
18456 int
18457 main ()
18458 {
18459
18460 strcasecmp("foo", "bar");
18461
18462 ;
18463 return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext conftest$ac_exeext
18467 if { (ac_try="$ac_link"
18468 case "(($ac_try" in
18469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18470 *) ac_try_echo=$ac_try;;
18471 esac
18472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18473 (eval "$ac_link") 2>conftest.er1
18474 ac_status=$?
18475 grep -v '^ *+' conftest.er1 >conftest.err
18476 rm -f conftest.er1
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } && {
18480 test -z "$ac_c_werror_flag" ||
18481 test ! -s conftest.err
18482 } && test -s conftest$ac_exeext &&
18483 $as_test_x conftest$ac_exeext; then
18484 ac_cv_string_strcasecmp=yes
18485 else
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18488
18489 ac_cv_string_strcasecmp=no
18490
18491 fi
18492
18493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18494 conftest$ac_exeext conftest.$ac_ext
18495
18496 fi
18497 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18498 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18499
18500 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18501 cat >>confdefs.h <<\_ACEOF
18502 #define HAVE_STRCASECMP_IN_STRING_H 1
18503 _ACEOF
18504
18505 else
18506 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18507 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18508 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18509 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 else
18511
18512 cat >conftest.$ac_ext <<_ACEOF
18513 /* confdefs.h. */
18514 _ACEOF
18515 cat confdefs.h >>conftest.$ac_ext
18516 cat >>conftest.$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18518
18519 #include <strings.h>
18520
18521 int
18522 main ()
18523 {
18524
18525 strcasecmp("foo", "bar");
18526
18527 ;
18528 return 0;
18529 }
18530 _ACEOF
18531 rm -f conftest.$ac_objext conftest$ac_exeext
18532 if { (ac_try="$ac_link"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18536 esac
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_link") 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_c_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest$ac_exeext &&
18548 $as_test_x conftest$ac_exeext; then
18549 ac_cv_strings_strcasecmp=yes
18550 else
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18553
18554 ac_cv_strings_strcasecmp=no
18555
18556 fi
18557
18558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18559 conftest$ac_exeext conftest.$ac_ext
18560
18561 fi
18562 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18563 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18564
18565 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18566 cat >>confdefs.h <<\_ACEOF
18567 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18568 _ACEOF
18569
18570 else
18571 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18572 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18573 { (exit 1); exit 1; }; }
18574 fi
18575 fi
18576
18577 ;;
18578 esac
18579
18580
18581 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18582 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18583 if test "${ac_cv_header_stdc+set}" = set; then
18584 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 else
18586 cat >conftest.$ac_ext <<_ACEOF
18587 /* confdefs.h. */
18588 _ACEOF
18589 cat confdefs.h >>conftest.$ac_ext
18590 cat >>conftest.$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18592 #include <stdlib.h>
18593 #include <stdarg.h>
18594 #include <string.h>
18595 #include <float.h>
18596
18597 int
18598 main ()
18599 {
18600
18601 ;
18602 return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (ac_try="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18610 esac
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 ac_cv_header_stdc=yes
18623 else
18624 echo "$as_me: failed program was:" >&5
18625 sed 's/^/| /' conftest.$ac_ext >&5
18626
18627 ac_cv_header_stdc=no
18628 fi
18629
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18631
18632 if test $ac_cv_header_stdc = yes; then
18633 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18634 cat >conftest.$ac_ext <<_ACEOF
18635 /* confdefs.h. */
18636 _ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640 #include <string.h>
18641
18642 _ACEOF
18643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18644 $EGREP "memchr" >/dev/null 2>&1; then
18645 :
18646 else
18647 ac_cv_header_stdc=no
18648 fi
18649 rm -f conftest*
18650
18651 fi
18652
18653 if test $ac_cv_header_stdc = yes; then
18654 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 #include <stdlib.h>
18662
18663 _ACEOF
18664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18665 $EGREP "free" >/dev/null 2>&1; then
18666 :
18667 else
18668 ac_cv_header_stdc=no
18669 fi
18670 rm -f conftest*
18671
18672 fi
18673
18674 if test $ac_cv_header_stdc = yes; then
18675 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18676 if test "$cross_compiling" = yes; then
18677 :
18678 else
18679 cat >conftest.$ac_ext <<_ACEOF
18680 /* confdefs.h. */
18681 _ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 #include <ctype.h>
18686 #include <stdlib.h>
18687 #if ((' ' & 0x0FF) == 0x020)
18688 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18689 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18690 #else
18691 # define ISLOWER(c) \
18692 (('a' <= (c) && (c) <= 'i') \
18693 || ('j' <= (c) && (c) <= 'r') \
18694 || ('s' <= (c) && (c) <= 'z'))
18695 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18696 #endif
18697
18698 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18699 int
18700 main ()
18701 {
18702 int i;
18703 for (i = 0; i < 256; i++)
18704 if (XOR (islower (i), ISLOWER (i))
18705 || toupper (i) != TOUPPER (i))
18706 return 2;
18707 return 0;
18708 }
18709 _ACEOF
18710 rm -f conftest$ac_exeext
18711 if { (ac_try="$ac_link"
18712 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18715 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_link") 2>&5
18718 ac_status=$?
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18721 { (case "(($ac_try" in
18722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18723 *) ac_try_echo=$ac_try;;
18724 esac
18725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18726 (eval "$ac_try") 2>&5
18727 ac_status=$?
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; }; then
18730 :
18731 else
18732 echo "$as_me: program exited with status $ac_status" >&5
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18735
18736 ( exit $ac_status )
18737 ac_cv_header_stdc=no
18738 fi
18739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18740 fi
18741
18742
18743 fi
18744 fi
18745 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18746 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18747 if test $ac_cv_header_stdc = yes; then
18748
18749 cat >>confdefs.h <<\_ACEOF
18750 #define STDC_HEADERS 1
18751 _ACEOF
18752
18753 fi
18754
18755 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18766 inttypes.h stdint.h unistd.h
18767 do
18768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 else
18774 cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h. */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 $ac_includes_default
18781
18782 #include <$ac_header>
18783 _ACEOF
18784 rm -f conftest.$ac_objext
18785 if { (ac_try="$ac_compile"
18786 case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18789 esac
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_compile") 2>conftest.er1
18792 ac_status=$?
18793 grep -v '^ *+' conftest.er1 >conftest.err
18794 rm -f conftest.er1
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } && {
18798 test -z "$ac_c_werror_flag" ||
18799 test ! -s conftest.err
18800 } && test -s conftest.$ac_objext; then
18801 eval "$as_ac_Header=yes"
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18805
18806 eval "$as_ac_Header=no"
18807 fi
18808
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810 fi
18811 ac_res=`eval echo '${'$as_ac_Header'}'`
18812 { echo "$as_me:$LINENO: result: $ac_res" >&5
18813 echo "${ECHO_T}$ac_res" >&6; }
18814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18815 cat >>confdefs.h <<_ACEOF
18816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18817 _ACEOF
18818
18819 fi
18820
18821 done
18822
18823
18824
18825
18826 for ac_header in langinfo.h wchar.h
18827 do
18828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18841
18842 #include <$ac_header>
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (ac_try="$ac_compile"
18846 case "(($ac_try" in
18847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18848 *) ac_try_echo=$ac_try;;
18849 esac
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_compile") 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_c_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest.$ac_objext; then
18861 eval "$as_ac_Header=yes"
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18865
18866 eval "$as_ac_Header=no"
18867 fi
18868
18869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18870 fi
18871 ac_res=`eval echo '${'$as_ac_Header'}'`
18872 { echo "$as_me:$LINENO: result: $ac_res" >&5
18873 echo "${ECHO_T}$ac_res" >&6; }
18874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18875 cat >>confdefs.h <<_ACEOF
18876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18877 _ACEOF
18878
18879 fi
18880
18881 done
18882
18883
18884 if test "$ac_cv_header_wchar_h" != "yes"; then
18885
18886 for ac_header in wcstr.h
18887 do
18888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 else
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 $ac_includes_default
18901
18902 #include <$ac_header>
18903 _ACEOF
18904 rm -f conftest.$ac_objext
18905 if { (ac_try="$ac_compile"
18906 case "(($ac_try" in
18907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18908 *) ac_try_echo=$ac_try;;
18909 esac
18910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18911 (eval "$ac_compile") 2>conftest.er1
18912 ac_status=$?
18913 grep -v '^ *+' conftest.er1 >conftest.err
18914 rm -f conftest.er1
18915 cat conftest.err >&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } && {
18918 test -z "$ac_c_werror_flag" ||
18919 test ! -s conftest.err
18920 } && test -s conftest.$ac_objext; then
18921 eval "$as_ac_Header=yes"
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18925
18926 eval "$as_ac_Header=no"
18927 fi
18928
18929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18930 fi
18931 ac_res=`eval echo '${'$as_ac_Header'}'`
18932 { echo "$as_me:$LINENO: result: $ac_res" >&5
18933 echo "${ECHO_T}$ac_res" >&6; }
18934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18935 cat >>confdefs.h <<_ACEOF
18936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18937 _ACEOF
18938
18939 fi
18940
18941 done
18942
18943 fi
18944
18945 case "${host}" in
18946 *-pc-os2_emx | *-pc-os2-emx )
18947 if test $ac_cv_header_langinfo_h = "yes" \
18948 -a \( "$wx_cv_gccversion" = "EMX2" \
18949 -o "$wx_cv_gccversion" = "EMX3" \
18950 -o "$wx_cv_gccversion" = "Innotek5" \); then
18951 LIBS="$LIBS -lintl"
18952 fi
18953 ;;
18954 esac
18955
18956 if test "$USE_UNIX" = 1 ; then
18957
18958 for ac_header in sys/select.h
18959 do
18960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18964 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 else
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18973
18974 #include <$ac_header>
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18981 esac
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 eval "$as_ac_Header=yes"
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18997
18998 eval "$as_ac_Header=no"
18999 fi
19000
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002 fi
19003 ac_res=`eval echo '${'$as_ac_Header'}'`
19004 { echo "$as_me:$LINENO: result: $ac_res" >&5
19005 echo "${ECHO_T}$ac_res" >&6; }
19006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19007 cat >>confdefs.h <<_ACEOF
19008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19009 _ACEOF
19010
19011 fi
19012
19013 done
19014
19015 fi
19016
19017
19018 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19019 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19020 if test "${ac_cv_c_const+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19022 else
19023 cat >conftest.$ac_ext <<_ACEOF
19024 /* confdefs.h. */
19025 _ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029
19030 int
19031 main ()
19032 {
19033 /* FIXME: Include the comments suggested by Paul. */
19034 #ifndef __cplusplus
19035 /* Ultrix mips cc rejects this. */
19036 typedef int charset[2];
19037 const charset cs;
19038 /* SunOS 4.1.1 cc rejects this. */
19039 char const *const *pcpcc;
19040 char **ppc;
19041 /* NEC SVR4.0.2 mips cc rejects this. */
19042 struct point {int x, y;};
19043 static struct point const zero = {0,0};
19044 /* AIX XL C 1.02.0.0 rejects this.
19045 It does not let you subtract one const X* pointer from another in
19046 an arm of an if-expression whose if-part is not a constant
19047 expression */
19048 const char *g = "string";
19049 pcpcc = &g + (g ? g-g : 0);
19050 /* HPUX 7.0 cc rejects these. */
19051 ++pcpcc;
19052 ppc = (char**) pcpcc;
19053 pcpcc = (char const *const *) ppc;
19054 { /* SCO 3.2v4 cc rejects this. */
19055 char *t;
19056 char const *s = 0 ? (char *) 0 : (char const *) 0;
19057
19058 *t++ = 0;
19059 if (s) return 0;
19060 }
19061 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19062 int x[] = {25, 17};
19063 const int *foo = &x[0];
19064 ++foo;
19065 }
19066 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19067 typedef const int *iptr;
19068 iptr p = 0;
19069 ++p;
19070 }
19071 { /* AIX XL C 1.02.0.0 rejects this saying
19072 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19073 struct s { int j; const int *ap[3]; };
19074 struct s *b; b->j = 5;
19075 }
19076 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19077 const int foo = 10;
19078 if (!foo) return 0;
19079 }
19080 return !cs[0] && !zero.x;
19081 #endif
19082
19083 ;
19084 return 0;
19085 }
19086 _ACEOF
19087 rm -f conftest.$ac_objext
19088 if { (ac_try="$ac_compile"
19089 case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19092 esac
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compile") 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } && {
19101 test -z "$ac_c_werror_flag" ||
19102 test ! -s conftest.err
19103 } && test -s conftest.$ac_objext; then
19104 ac_cv_c_const=yes
19105 else
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19108
19109 ac_cv_c_const=no
19110 fi
19111
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113 fi
19114 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19115 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19116 if test $ac_cv_c_const = no; then
19117
19118 cat >>confdefs.h <<\_ACEOF
19119 #define const
19120 _ACEOF
19121
19122 fi
19123
19124 { echo "$as_me:$LINENO: checking for inline" >&5
19125 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19126 if test "${ac_cv_c_inline+set}" = set; then
19127 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 else
19129 ac_cv_c_inline=no
19130 for ac_kw in inline __inline__ __inline; do
19131 cat >conftest.$ac_ext <<_ACEOF
19132 /* confdefs.h. */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 #ifndef __cplusplus
19138 typedef int foo_t;
19139 static $ac_kw foo_t static_foo () {return 0; }
19140 $ac_kw foo_t foo () {return 0; }
19141 #endif
19142
19143 _ACEOF
19144 rm -f conftest.$ac_objext
19145 if { (ac_try="$ac_compile"
19146 case "(($ac_try" in
19147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19148 *) ac_try_echo=$ac_try;;
19149 esac
19150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19151 (eval "$ac_compile") 2>conftest.er1
19152 ac_status=$?
19153 grep -v '^ *+' conftest.er1 >conftest.err
19154 rm -f conftest.er1
19155 cat conftest.err >&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); } && {
19158 test -z "$ac_c_werror_flag" ||
19159 test ! -s conftest.err
19160 } && test -s conftest.$ac_objext; then
19161 ac_cv_c_inline=$ac_kw
19162 else
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.$ac_ext >&5
19165
19166
19167 fi
19168
19169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19170 test "$ac_cv_c_inline" != no && break
19171 done
19172
19173 fi
19174 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19175 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19176
19177
19178 case $ac_cv_c_inline in
19179 inline | yes) ;;
19180 *)
19181 case $ac_cv_c_inline in
19182 no) ac_val=;;
19183 *) ac_val=$ac_cv_c_inline;;
19184 esac
19185 cat >>confdefs.h <<_ACEOF
19186 #ifndef __cplusplus
19187 #define inline $ac_val
19188 #endif
19189 _ACEOF
19190 ;;
19191 esac
19192
19193
19194 { echo "$as_me:$LINENO: checking for short" >&5
19195 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19196 if test "${ac_cv_type_short+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199 cat >conftest.$ac_ext <<_ACEOF
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 $ac_includes_default
19206 typedef short ac__type_new_;
19207 int
19208 main ()
19209 {
19210 if ((ac__type_new_ *) 0)
19211 return 0;
19212 if (sizeof (ac__type_new_))
19213 return 0;
19214 ;
19215 return 0;
19216 }
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_cv_type_short=yes
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_cv_type_short=no
19241 fi
19242
19243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 fi
19245 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19246 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19247
19248 # The cast to long int works around a bug in the HP C Compiler
19249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19251 # This bug is HP SR number 8606223364.
19252 { echo "$as_me:$LINENO: checking size of short" >&5
19253 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19254 if test "${ac_cv_sizeof_short+set}" = set; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257 if test "$cross_compiling" = yes; then
19258 # Depending upon the size, compute the lo and hi bounds.
19259 cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h. */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 $ac_includes_default
19266 typedef short ac__type_sizeof_;
19267 int
19268 main ()
19269 {
19270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19271 test_array [0] = 0
19272
19273 ;
19274 return 0;
19275 }
19276 _ACEOF
19277 rm -f conftest.$ac_objext
19278 if { (ac_try="$ac_compile"
19279 case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19282 esac
19283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_compile") 2>conftest.er1
19285 ac_status=$?
19286 grep -v '^ *+' conftest.er1 >conftest.err
19287 rm -f conftest.er1
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } && {
19291 test -z "$ac_c_werror_flag" ||
19292 test ! -s conftest.err
19293 } && test -s conftest.$ac_objext; then
19294 ac_lo=0 ac_mid=0
19295 while :; do
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 $ac_includes_default
19303 typedef short ac__type_sizeof_;
19304 int
19305 main ()
19306 {
19307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19308 test_array [0] = 0
19309
19310 ;
19311 return 0;
19312 }
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19319 esac
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_hi=$ac_mid; break
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19335
19336 ac_lo=`expr $ac_mid + 1`
19337 if test $ac_lo -le $ac_mid; then
19338 ac_lo= ac_hi=
19339 break
19340 fi
19341 ac_mid=`expr 2 '*' $ac_mid + 1`
19342 fi
19343
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 done
19346 else
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19349
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 $ac_includes_default
19357 typedef short ac__type_sizeof_;
19358 int
19359 main ()
19360 {
19361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19362 test_array [0] = 0
19363
19364 ;
19365 return 0;
19366 }
19367 _ACEOF
19368 rm -f conftest.$ac_objext
19369 if { (ac_try="$ac_compile"
19370 case "(($ac_try" in
19371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19372 *) ac_try_echo=$ac_try;;
19373 esac
19374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19375 (eval "$ac_compile") 2>conftest.er1
19376 ac_status=$?
19377 grep -v '^ *+' conftest.er1 >conftest.err
19378 rm -f conftest.er1
19379 cat conftest.err >&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } && {
19382 test -z "$ac_c_werror_flag" ||
19383 test ! -s conftest.err
19384 } && test -s conftest.$ac_objext; then
19385 ac_hi=-1 ac_mid=-1
19386 while :; do
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 $ac_includes_default
19394 typedef short ac__type_sizeof_;
19395 int
19396 main ()
19397 {
19398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19399 test_array [0] = 0
19400
19401 ;
19402 return 0;
19403 }
19404 _ACEOF
19405 rm -f conftest.$ac_objext
19406 if { (ac_try="$ac_compile"
19407 case "(($ac_try" in
19408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19409 *) ac_try_echo=$ac_try;;
19410 esac
19411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19412 (eval "$ac_compile") 2>conftest.er1
19413 ac_status=$?
19414 grep -v '^ *+' conftest.er1 >conftest.err
19415 rm -f conftest.er1
19416 cat conftest.err >&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } && {
19419 test -z "$ac_c_werror_flag" ||
19420 test ! -s conftest.err
19421 } && test -s conftest.$ac_objext; then
19422 ac_lo=$ac_mid; break
19423 else
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.$ac_ext >&5
19426
19427 ac_hi=`expr '(' $ac_mid ')' - 1`
19428 if test $ac_mid -le $ac_hi; then
19429 ac_lo= ac_hi=
19430 break
19431 fi
19432 ac_mid=`expr 2 '*' $ac_mid`
19433 fi
19434
19435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19436 done
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19440
19441 ac_lo= ac_hi=
19442 fi
19443
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 fi
19446
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19448 # Binary search between lo and hi bounds.
19449 while test "x$ac_lo" != "x$ac_hi"; do
19450 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19451 cat >conftest.$ac_ext <<_ACEOF
19452 /* confdefs.h. */
19453 _ACEOF
19454 cat confdefs.h >>conftest.$ac_ext
19455 cat >>conftest.$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19457 $ac_includes_default
19458 typedef short ac__type_sizeof_;
19459 int
19460 main ()
19461 {
19462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19463 test_array [0] = 0
19464
19465 ;
19466 return 0;
19467 }
19468 _ACEOF
19469 rm -f conftest.$ac_objext
19470 if { (ac_try="$ac_compile"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19474 esac
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_compile") 2>conftest.er1
19477 ac_status=$?
19478 grep -v '^ *+' conftest.er1 >conftest.err
19479 rm -f conftest.er1
19480 cat conftest.err >&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } && {
19483 test -z "$ac_c_werror_flag" ||
19484 test ! -s conftest.err
19485 } && test -s conftest.$ac_objext; then
19486 ac_hi=$ac_mid
19487 else
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19490
19491 ac_lo=`expr '(' $ac_mid ')' + 1`
19492 fi
19493
19494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19495 done
19496 case $ac_lo in
19497 ?*) ac_cv_sizeof_short=$ac_lo;;
19498 '') if test "$ac_cv_type_short" = yes; then
19499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19500 See \`config.log' for more details." >&5
19501 echo "$as_me: error: cannot compute sizeof (short)
19502 See \`config.log' for more details." >&2;}
19503 { (exit 77); exit 77; }; }
19504 else
19505 ac_cv_sizeof_short=0
19506 fi ;;
19507 esac
19508 else
19509 cat >conftest.$ac_ext <<_ACEOF
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 $ac_includes_default
19516 typedef short ac__type_sizeof_;
19517 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19518 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19519 #include <stdio.h>
19520 #include <stdlib.h>
19521 int
19522 main ()
19523 {
19524
19525 FILE *f = fopen ("conftest.val", "w");
19526 if (! f)
19527 return 1;
19528 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19529 {
19530 long int i = longval ();
19531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19532 return 1;
19533 fprintf (f, "%ld\n", i);
19534 }
19535 else
19536 {
19537 unsigned long int i = ulongval ();
19538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19539 return 1;
19540 fprintf (f, "%lu\n", i);
19541 }
19542 return ferror (f) || fclose (f) != 0;
19543
19544 ;
19545 return 0;
19546 }
19547 _ACEOF
19548 rm -f conftest$ac_exeext
19549 if { (ac_try="$ac_link"
19550 case "(($ac_try" in
19551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19552 *) ac_try_echo=$ac_try;;
19553 esac
19554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19555 (eval "$ac_link") 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19559 { (case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_try") 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_cv_sizeof_short=`cat conftest.val`
19569 else
19570 echo "$as_me: program exited with status $ac_status" >&5
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19573
19574 ( exit $ac_status )
19575 if test "$ac_cv_type_short" = yes; then
19576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19577 See \`config.log' for more details." >&5
19578 echo "$as_me: error: cannot compute sizeof (short)
19579 See \`config.log' for more details." >&2;}
19580 { (exit 77); exit 77; }; }
19581 else
19582 ac_cv_sizeof_short=0
19583 fi
19584 fi
19585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19586 fi
19587 rm -f conftest.val
19588 fi
19589 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19590 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19591
19592
19593
19594 cat >>confdefs.h <<_ACEOF
19595 #define SIZEOF_SHORT $ac_cv_sizeof_short
19596 _ACEOF
19597
19598
19599 { echo "$as_me:$LINENO: checking for void *" >&5
19600 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19601 if test "${ac_cv_type_void_p+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 else
19604 cat >conftest.$ac_ext <<_ACEOF
19605 /* confdefs.h. */
19606 _ACEOF
19607 cat confdefs.h >>conftest.$ac_ext
19608 cat >>conftest.$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610 $ac_includes_default
19611 typedef void * ac__type_new_;
19612 int
19613 main ()
19614 {
19615 if ((ac__type_new_ *) 0)
19616 return 0;
19617 if (sizeof (ac__type_new_))
19618 return 0;
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_cv_type_void_p=yes
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ac_cv_type_void_p=no
19646 fi
19647
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 fi
19650 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19651 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19652
19653 # The cast to long int works around a bug in the HP C Compiler
19654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19656 # This bug is HP SR number 8606223364.
19657 { echo "$as_me:$LINENO: checking size of void *" >&5
19658 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19659 if test "${ac_cv_sizeof_void_p+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 else
19662 if test "$cross_compiling" = yes; then
19663 # Depending upon the size, compute the lo and hi bounds.
19664 cat >conftest.$ac_ext <<_ACEOF
19665 /* confdefs.h. */
19666 _ACEOF
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19670 $ac_includes_default
19671 typedef void * ac__type_sizeof_;
19672 int
19673 main ()
19674 {
19675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19676 test_array [0] = 0
19677
19678 ;
19679 return 0;
19680 }
19681 _ACEOF
19682 rm -f conftest.$ac_objext
19683 if { (ac_try="$ac_compile"
19684 case "(($ac_try" in
19685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19686 *) ac_try_echo=$ac_try;;
19687 esac
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_compile") 2>conftest.er1
19690 ac_status=$?
19691 grep -v '^ *+' conftest.er1 >conftest.err
19692 rm -f conftest.er1
19693 cat conftest.err >&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && {
19696 test -z "$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19698 } && test -s conftest.$ac_objext; then
19699 ac_lo=0 ac_mid=0
19700 while :; do
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h. */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19707 $ac_includes_default
19708 typedef void * ac__type_sizeof_;
19709 int
19710 main ()
19711 {
19712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19713 test_array [0] = 0
19714
19715 ;
19716 return 0;
19717 }
19718 _ACEOF
19719 rm -f conftest.$ac_objext
19720 if { (ac_try="$ac_compile"
19721 case "(($ac_try" in
19722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19723 *) ac_try_echo=$ac_try;;
19724 esac
19725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19726 (eval "$ac_compile") 2>conftest.er1
19727 ac_status=$?
19728 grep -v '^ *+' conftest.er1 >conftest.err
19729 rm -f conftest.er1
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } && {
19733 test -z "$ac_c_werror_flag" ||
19734 test ! -s conftest.err
19735 } && test -s conftest.$ac_objext; then
19736 ac_hi=$ac_mid; break
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 ac_lo=`expr $ac_mid + 1`
19742 if test $ac_lo -le $ac_mid; then
19743 ac_lo= ac_hi=
19744 break
19745 fi
19746 ac_mid=`expr 2 '*' $ac_mid + 1`
19747 fi
19748
19749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19750 done
19751 else
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19754
19755 cat >conftest.$ac_ext <<_ACEOF
19756 /* confdefs.h. */
19757 _ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 $ac_includes_default
19762 typedef void * ac__type_sizeof_;
19763 int
19764 main ()
19765 {
19766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19767 test_array [0] = 0
19768
19769 ;
19770 return 0;
19771 }
19772 _ACEOF
19773 rm -f conftest.$ac_objext
19774 if { (ac_try="$ac_compile"
19775 case "(($ac_try" in
19776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19778 esac
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_compile") 2>conftest.er1
19781 ac_status=$?
19782 grep -v '^ *+' conftest.er1 >conftest.err
19783 rm -f conftest.er1
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } && {
19787 test -z "$ac_c_werror_flag" ||
19788 test ! -s conftest.err
19789 } && test -s conftest.$ac_objext; then
19790 ac_hi=-1 ac_mid=-1
19791 while :; do
19792 cat >conftest.$ac_ext <<_ACEOF
19793 /* confdefs.h. */
19794 _ACEOF
19795 cat confdefs.h >>conftest.$ac_ext
19796 cat >>conftest.$ac_ext <<_ACEOF
19797 /* end confdefs.h. */
19798 $ac_includes_default
19799 typedef void * ac__type_sizeof_;
19800 int
19801 main ()
19802 {
19803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19804 test_array [0] = 0
19805
19806 ;
19807 return 0;
19808 }
19809 _ACEOF
19810 rm -f conftest.$ac_objext
19811 if { (ac_try="$ac_compile"
19812 case "(($ac_try" in
19813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19814 *) ac_try_echo=$ac_try;;
19815 esac
19816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19817 (eval "$ac_compile") 2>conftest.er1
19818 ac_status=$?
19819 grep -v '^ *+' conftest.er1 >conftest.err
19820 rm -f conftest.er1
19821 cat conftest.err >&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } && {
19824 test -z "$ac_c_werror_flag" ||
19825 test ! -s conftest.err
19826 } && test -s conftest.$ac_objext; then
19827 ac_lo=$ac_mid; break
19828 else
19829 echo "$as_me: failed program was:" >&5
19830 sed 's/^/| /' conftest.$ac_ext >&5
19831
19832 ac_hi=`expr '(' $ac_mid ')' - 1`
19833 if test $ac_mid -le $ac_hi; then
19834 ac_lo= ac_hi=
19835 break
19836 fi
19837 ac_mid=`expr 2 '*' $ac_mid`
19838 fi
19839
19840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19841 done
19842 else
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19845
19846 ac_lo= ac_hi=
19847 fi
19848
19849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19850 fi
19851
19852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19853 # Binary search between lo and hi bounds.
19854 while test "x$ac_lo" != "x$ac_hi"; do
19855 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 $ac_includes_default
19863 typedef void * ac__type_sizeof_;
19864 int
19865 main ()
19866 {
19867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19868 test_array [0] = 0
19869
19870 ;
19871 return 0;
19872 }
19873 _ACEOF
19874 rm -f conftest.$ac_objext
19875 if { (ac_try="$ac_compile"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879 esac
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_compile") 2>conftest.er1
19882 ac_status=$?
19883 grep -v '^ *+' conftest.er1 >conftest.err
19884 rm -f conftest.er1
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && {
19888 test -z "$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19890 } && test -s conftest.$ac_objext; then
19891 ac_hi=$ac_mid
19892 else
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19895
19896 ac_lo=`expr '(' $ac_mid ')' + 1`
19897 fi
19898
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 done
19901 case $ac_lo in
19902 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19903 '') if test "$ac_cv_type_void_p" = yes; then
19904 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19905 See \`config.log' for more details." >&5
19906 echo "$as_me: error: cannot compute sizeof (void *)
19907 See \`config.log' for more details." >&2;}
19908 { (exit 77); exit 77; }; }
19909 else
19910 ac_cv_sizeof_void_p=0
19911 fi ;;
19912 esac
19913 else
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 $ac_includes_default
19921 typedef void * ac__type_sizeof_;
19922 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19923 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19924 #include <stdio.h>
19925 #include <stdlib.h>
19926 int
19927 main ()
19928 {
19929
19930 FILE *f = fopen ("conftest.val", "w");
19931 if (! f)
19932 return 1;
19933 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19934 {
19935 long int i = longval ();
19936 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19937 return 1;
19938 fprintf (f, "%ld\n", i);
19939 }
19940 else
19941 {
19942 unsigned long int i = ulongval ();
19943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19944 return 1;
19945 fprintf (f, "%lu\n", i);
19946 }
19947 return ferror (f) || fclose (f) != 0;
19948
19949 ;
19950 return 0;
19951 }
19952 _ACEOF
19953 rm -f conftest$ac_exeext
19954 if { (ac_try="$ac_link"
19955 case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;;
19958 esac
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_link") 2>&5
19961 ac_status=$?
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19964 { (case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19967 esac
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_try") 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; }; then
19973 ac_cv_sizeof_void_p=`cat conftest.val`
19974 else
19975 echo "$as_me: program exited with status $ac_status" >&5
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19978
19979 ( exit $ac_status )
19980 if test "$ac_cv_type_void_p" = yes; then
19981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19982 See \`config.log' for more details." >&5
19983 echo "$as_me: error: cannot compute sizeof (void *)
19984 See \`config.log' for more details." >&2;}
19985 { (exit 77); exit 77; }; }
19986 else
19987 ac_cv_sizeof_void_p=0
19988 fi
19989 fi
19990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19991 fi
19992 rm -f conftest.val
19993 fi
19994 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19995 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19996
19997
19998
19999 cat >>confdefs.h <<_ACEOF
20000 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20001 _ACEOF
20002
20003
20004 { echo "$as_me:$LINENO: checking for int" >&5
20005 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20006 if test "${ac_cv_type_int+set}" = set; then
20007 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 else
20009 cat >conftest.$ac_ext <<_ACEOF
20010 /* confdefs.h. */
20011 _ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 $ac_includes_default
20016 typedef int ac__type_new_;
20017 int
20018 main ()
20019 {
20020 if ((ac__type_new_ *) 0)
20021 return 0;
20022 if (sizeof (ac__type_new_))
20023 return 0;
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_cv_type_int=yes
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_cv_type_int=no
20051 fi
20052
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 fi
20055 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20056 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20057
20058 # The cast to long int works around a bug in the HP C Compiler
20059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20061 # This bug is HP SR number 8606223364.
20062 { echo "$as_me:$LINENO: checking size of int" >&5
20063 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20064 if test "${ac_cv_sizeof_int+set}" = set; then
20065 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 else
20067 if test "$cross_compiling" = yes; then
20068 # Depending upon the size, compute the lo and hi bounds.
20069 cat >conftest.$ac_ext <<_ACEOF
20070 /* confdefs.h. */
20071 _ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20076 typedef int ac__type_sizeof_;
20077 int
20078 main ()
20079 {
20080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20081 test_array [0] = 0
20082
20083 ;
20084 return 0;
20085 }
20086 _ACEOF
20087 rm -f conftest.$ac_objext
20088 if { (ac_try="$ac_compile"
20089 case "(($ac_try" in
20090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20092 esac
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_compile") 2>conftest.er1
20095 ac_status=$?
20096 grep -v '^ *+' conftest.er1 >conftest.err
20097 rm -f conftest.er1
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } && {
20101 test -z "$ac_c_werror_flag" ||
20102 test ! -s conftest.err
20103 } && test -s conftest.$ac_objext; then
20104 ac_lo=0 ac_mid=0
20105 while :; do
20106 cat >conftest.$ac_ext <<_ACEOF
20107 /* confdefs.h. */
20108 _ACEOF
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 typedef int ac__type_sizeof_;
20114 int
20115 main ()
20116 {
20117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20118 test_array [0] = 0
20119
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest.$ac_objext
20125 if { (ac_try="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20129 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.$ac_objext; then
20141 ac_hi=$ac_mid; break
20142 else
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20145
20146 ac_lo=`expr $ac_mid + 1`
20147 if test $ac_lo -le $ac_mid; then
20148 ac_lo= ac_hi=
20149 break
20150 fi
20151 ac_mid=`expr 2 '*' $ac_mid + 1`
20152 fi
20153
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 done
20156 else
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20159
20160 cat >conftest.$ac_ext <<_ACEOF
20161 /* confdefs.h. */
20162 _ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 typedef int ac__type_sizeof_;
20168 int
20169 main ()
20170 {
20171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20172 test_array [0] = 0
20173
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20183 esac
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20195 ac_hi=-1 ac_mid=-1
20196 while :; do
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef int ac__type_sizeof_;
20205 int
20206 main ()
20207 {
20208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20209 test_array [0] = 0
20210
20211 ;
20212 return 0;
20213 }
20214 _ACEOF
20215 rm -f conftest.$ac_objext
20216 if { (ac_try="$ac_compile"
20217 case "(($ac_try" in
20218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20219 *) ac_try_echo=$ac_try;;
20220 esac
20221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_compile") 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } && {
20229 test -z "$ac_c_werror_flag" ||
20230 test ! -s conftest.err
20231 } && test -s conftest.$ac_objext; then
20232 ac_lo=$ac_mid; break
20233 else
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20236
20237 ac_hi=`expr '(' $ac_mid ')' - 1`
20238 if test $ac_mid -le $ac_hi; then
20239 ac_lo= ac_hi=
20240 break
20241 fi
20242 ac_mid=`expr 2 '*' $ac_mid`
20243 fi
20244
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 done
20247 else
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20250
20251 ac_lo= ac_hi=
20252 fi
20253
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 fi
20256
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258 # Binary search between lo and hi bounds.
20259 while test "x$ac_lo" != "x$ac_hi"; do
20260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef int ac__type_sizeof_;
20269 int
20270 main ()
20271 {
20272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20273 test_array [0] = 0
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.$ac_objext; then
20296 ac_hi=$ac_mid
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20300
20301 ac_lo=`expr '(' $ac_mid ')' + 1`
20302 fi
20303
20304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 done
20306 case $ac_lo in
20307 ?*) ac_cv_sizeof_int=$ac_lo;;
20308 '') if test "$ac_cv_type_int" = yes; then
20309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20310 See \`config.log' for more details." >&5
20311 echo "$as_me: error: cannot compute sizeof (int)
20312 See \`config.log' for more details." >&2;}
20313 { (exit 77); exit 77; }; }
20314 else
20315 ac_cv_sizeof_int=0
20316 fi ;;
20317 esac
20318 else
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20326 typedef int ac__type_sizeof_;
20327 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20328 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20329 #include <stdio.h>
20330 #include <stdlib.h>
20331 int
20332 main ()
20333 {
20334
20335 FILE *f = fopen ("conftest.val", "w");
20336 if (! f)
20337 return 1;
20338 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20339 {
20340 long int i = longval ();
20341 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20342 return 1;
20343 fprintf (f, "%ld\n", i);
20344 }
20345 else
20346 {
20347 unsigned long int i = ulongval ();
20348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20349 return 1;
20350 fprintf (f, "%lu\n", i);
20351 }
20352 return ferror (f) || fclose (f) != 0;
20353
20354 ;
20355 return 0;
20356 }
20357 _ACEOF
20358 rm -f conftest$ac_exeext
20359 if { (ac_try="$ac_link"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20363 esac
20364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_link") 2>&5
20366 ac_status=$?
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20369 { (case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_try") 2>&5
20375 ac_status=$?
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_sizeof_int=`cat conftest.val`
20379 else
20380 echo "$as_me: program exited with status $ac_status" >&5
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.$ac_ext >&5
20383
20384 ( exit $ac_status )
20385 if test "$ac_cv_type_int" = yes; then
20386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20387 See \`config.log' for more details." >&5
20388 echo "$as_me: error: cannot compute sizeof (int)
20389 See \`config.log' for more details." >&2;}
20390 { (exit 77); exit 77; }; }
20391 else
20392 ac_cv_sizeof_int=0
20393 fi
20394 fi
20395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20396 fi
20397 rm -f conftest.val
20398 fi
20399 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20400 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20401
20402
20403
20404 cat >>confdefs.h <<_ACEOF
20405 #define SIZEOF_INT $ac_cv_sizeof_int
20406 _ACEOF
20407
20408
20409 { echo "$as_me:$LINENO: checking for long" >&5
20410 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20411 if test "${ac_cv_type_long+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414 cat >conftest.$ac_ext <<_ACEOF
20415 /* confdefs.h. */
20416 _ACEOF
20417 cat confdefs.h >>conftest.$ac_ext
20418 cat >>conftest.$ac_ext <<_ACEOF
20419 /* end confdefs.h. */
20420 $ac_includes_default
20421 typedef long ac__type_new_;
20422 int
20423 main ()
20424 {
20425 if ((ac__type_new_ *) 0)
20426 return 0;
20427 if (sizeof (ac__type_new_))
20428 return 0;
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_cv_type_long=yes
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ac_cv_type_long=no
20456 fi
20457
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 fi
20460 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20461 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20462
20463 # The cast to long int works around a bug in the HP C Compiler
20464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20466 # This bug is HP SR number 8606223364.
20467 { echo "$as_me:$LINENO: checking size of long" >&5
20468 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20469 if test "${ac_cv_sizeof_long+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20472 if test "$cross_compiling" = yes; then
20473 # Depending upon the size, compute the lo and hi bounds.
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 typedef long ac__type_sizeof_;
20482 int
20483 main ()
20484 {
20485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20486 test_array [0] = 0
20487
20488 ;
20489 return 0;
20490 }
20491 _ACEOF
20492 rm -f conftest.$ac_objext
20493 if { (ac_try="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20497 esac
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && {
20506 test -z "$ac_c_werror_flag" ||
20507 test ! -s conftest.err
20508 } && test -s conftest.$ac_objext; then
20509 ac_lo=0 ac_mid=0
20510 while :; do
20511 cat >conftest.$ac_ext <<_ACEOF
20512 /* confdefs.h. */
20513 _ACEOF
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20517 $ac_includes_default
20518 typedef long ac__type_sizeof_;
20519 int
20520 main ()
20521 {
20522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20523 test_array [0] = 0
20524
20525 ;
20526 return 0;
20527 }
20528 _ACEOF
20529 rm -f conftest.$ac_objext
20530 if { (ac_try="$ac_compile"
20531 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20534 esac
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_compile") 2>conftest.er1
20537 ac_status=$?
20538 grep -v '^ *+' conftest.er1 >conftest.err
20539 rm -f conftest.er1
20540 cat conftest.err >&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err
20545 } && test -s conftest.$ac_objext; then
20546 ac_hi=$ac_mid; break
20547 else
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20550
20551 ac_lo=`expr $ac_mid + 1`
20552 if test $ac_lo -le $ac_mid; then
20553 ac_lo= ac_hi=
20554 break
20555 fi
20556 ac_mid=`expr 2 '*' $ac_mid + 1`
20557 fi
20558
20559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560 done
20561 else
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20564
20565 cat >conftest.$ac_ext <<_ACEOF
20566 /* confdefs.h. */
20567 _ACEOF
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 $ac_includes_default
20572 typedef long ac__type_sizeof_;
20573 int
20574 main ()
20575 {
20576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20577 test_array [0] = 0
20578
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext
20584 if { (ac_try="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20588 esac
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20591 ac_status=$?
20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20600 ac_hi=-1 ac_mid=-1
20601 while :; do
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef long ac__type_sizeof_;
20610 int
20611 main ()
20612 {
20613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20614 test_array [0] = 0
20615
20616 ;
20617 return 0;
20618 }
20619 _ACEOF
20620 rm -f conftest.$ac_objext
20621 if { (ac_try="$ac_compile"
20622 case "(($ac_try" in
20623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20624 *) ac_try_echo=$ac_try;;
20625 esac
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$ac_compile") 2>conftest.er1
20628 ac_status=$?
20629 grep -v '^ *+' conftest.er1 >conftest.err
20630 rm -f conftest.er1
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } && {
20634 test -z "$ac_c_werror_flag" ||
20635 test ! -s conftest.err
20636 } && test -s conftest.$ac_objext; then
20637 ac_lo=$ac_mid; break
20638 else
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20641
20642 ac_hi=`expr '(' $ac_mid ')' - 1`
20643 if test $ac_mid -le $ac_hi; then
20644 ac_lo= ac_hi=
20645 break
20646 fi
20647 ac_mid=`expr 2 '*' $ac_mid`
20648 fi
20649
20650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20651 done
20652 else
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.$ac_ext >&5
20655
20656 ac_lo= ac_hi=
20657 fi
20658
20659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 fi
20661
20662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20663 # Binary search between lo and hi bounds.
20664 while test "x$ac_lo" != "x$ac_hi"; do
20665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 $ac_includes_default
20673 typedef long ac__type_sizeof_;
20674 int
20675 main ()
20676 {
20677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20678 test_array [0] = 0
20679
20680 ;
20681 return 0;
20682 }
20683 _ACEOF
20684 rm -f conftest.$ac_objext
20685 if { (ac_try="$ac_compile"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20689 esac
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_compile") 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && {
20698 test -z "$ac_c_werror_flag" ||
20699 test ! -s conftest.err
20700 } && test -s conftest.$ac_objext; then
20701 ac_hi=$ac_mid
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 ac_lo=`expr '(' $ac_mid ')' + 1`
20707 fi
20708
20709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 done
20711 case $ac_lo in
20712 ?*) ac_cv_sizeof_long=$ac_lo;;
20713 '') if test "$ac_cv_type_long" = yes; then
20714 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20715 See \`config.log' for more details." >&5
20716 echo "$as_me: error: cannot compute sizeof (long)
20717 See \`config.log' for more details." >&2;}
20718 { (exit 77); exit 77; }; }
20719 else
20720 ac_cv_sizeof_long=0
20721 fi ;;
20722 esac
20723 else
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20731 typedef long ac__type_sizeof_;
20732 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20733 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20734 #include <stdio.h>
20735 #include <stdlib.h>
20736 int
20737 main ()
20738 {
20739
20740 FILE *f = fopen ("conftest.val", "w");
20741 if (! f)
20742 return 1;
20743 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20744 {
20745 long int i = longval ();
20746 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20747 return 1;
20748 fprintf (f, "%ld\n", i);
20749 }
20750 else
20751 {
20752 unsigned long int i = ulongval ();
20753 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20754 return 1;
20755 fprintf (f, "%lu\n", i);
20756 }
20757 return ferror (f) || fclose (f) != 0;
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest$ac_exeext
20764 if { (ac_try="$ac_link"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20768 esac
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_link") 2>&5
20771 ac_status=$?
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20774 { (case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_try") 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_cv_sizeof_long=`cat conftest.val`
20784 else
20785 echo "$as_me: program exited with status $ac_status" >&5
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 ( exit $ac_status )
20790 if test "$ac_cv_type_long" = yes; then
20791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20792 See \`config.log' for more details." >&5
20793 echo "$as_me: error: cannot compute sizeof (long)
20794 See \`config.log' for more details." >&2;}
20795 { (exit 77); exit 77; }; }
20796 else
20797 ac_cv_sizeof_long=0
20798 fi
20799 fi
20800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20801 fi
20802 rm -f conftest.val
20803 fi
20804 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20805 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20806
20807
20808
20809 cat >>confdefs.h <<_ACEOF
20810 #define SIZEOF_LONG $ac_cv_sizeof_long
20811 _ACEOF
20812
20813
20814 { echo "$as_me:$LINENO: checking for size_t" >&5
20815 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20816 if test "${ac_cv_type_size_t+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20818 else
20819 cat >conftest.$ac_ext <<_ACEOF
20820 /* confdefs.h. */
20821 _ACEOF
20822 cat confdefs.h >>conftest.$ac_ext
20823 cat >>conftest.$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20825 $ac_includes_default
20826 typedef size_t ac__type_new_;
20827 int
20828 main ()
20829 {
20830 if ((ac__type_new_ *) 0)
20831 return 0;
20832 if (sizeof (ac__type_new_))
20833 return 0;
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_cv_type_size_t=yes
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 ac_cv_type_size_t=no
20861 fi
20862
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20864 fi
20865 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20866 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20867
20868 # The cast to long int works around a bug in the HP C Compiler
20869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20871 # This bug is HP SR number 8606223364.
20872 { echo "$as_me:$LINENO: checking size of size_t" >&5
20873 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20874 if test "${ac_cv_sizeof_size_t+set}" = set; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 else
20877 if test "$cross_compiling" = yes; then
20878 # Depending upon the size, compute the lo and hi bounds.
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 $ac_includes_default
20886 typedef size_t ac__type_sizeof_;
20887 int
20888 main ()
20889 {
20890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20891 test_array [0] = 0
20892
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 rm -f conftest.$ac_objext
20898 if { (ac_try="$ac_compile"
20899 case "(($ac_try" in
20900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20901 *) ac_try_echo=$ac_try;;
20902 esac
20903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20904 (eval "$ac_compile") 2>conftest.er1
20905 ac_status=$?
20906 grep -v '^ *+' conftest.er1 >conftest.err
20907 rm -f conftest.er1
20908 cat conftest.err >&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); } && {
20911 test -z "$ac_c_werror_flag" ||
20912 test ! -s conftest.err
20913 } && test -s conftest.$ac_objext; then
20914 ac_lo=0 ac_mid=0
20915 while :; do
20916 cat >conftest.$ac_ext <<_ACEOF
20917 /* confdefs.h. */
20918 _ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20923 typedef size_t ac__type_sizeof_;
20924 int
20925 main ()
20926 {
20927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20928 test_array [0] = 0
20929
20930 ;
20931 return 0;
20932 }
20933 _ACEOF
20934 rm -f conftest.$ac_objext
20935 if { (ac_try="$ac_compile"
20936 case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20939 esac
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_compile") 2>conftest.er1
20942 ac_status=$?
20943 grep -v '^ *+' conftest.er1 >conftest.err
20944 rm -f conftest.er1
20945 cat conftest.err >&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } && {
20948 test -z "$ac_c_werror_flag" ||
20949 test ! -s conftest.err
20950 } && test -s conftest.$ac_objext; then
20951 ac_hi=$ac_mid; break
20952 else
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20955
20956 ac_lo=`expr $ac_mid + 1`
20957 if test $ac_lo -le $ac_mid; then
20958 ac_lo= ac_hi=
20959 break
20960 fi
20961 ac_mid=`expr 2 '*' $ac_mid + 1`
20962 fi
20963
20964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965 done
20966 else
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20969
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef size_t ac__type_sizeof_;
20978 int
20979 main ()
20980 {
20981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20982 test_array [0] = 0
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest.$ac_objext
20989 if { (ac_try="$ac_compile"
20990 case "(($ac_try" in
20991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20993 esac
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_compile") 2>conftest.er1
20996 ac_status=$?
20997 grep -v '^ *+' conftest.er1 >conftest.err
20998 rm -f conftest.er1
20999 cat conftest.err >&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } && {
21002 test -z "$ac_c_werror_flag" ||
21003 test ! -s conftest.err
21004 } && test -s conftest.$ac_objext; then
21005 ac_hi=-1 ac_mid=-1
21006 while :; do
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef size_t ac__type_sizeof_;
21015 int
21016 main ()
21017 {
21018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21019 test_array [0] = 0
21020
21021 ;
21022 return 0;
21023 }
21024 _ACEOF
21025 rm -f conftest.$ac_objext
21026 if { (ac_try="$ac_compile"
21027 case "(($ac_try" in
21028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21029 *) ac_try_echo=$ac_try;;
21030 esac
21031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21032 (eval "$ac_compile") 2>conftest.er1
21033 ac_status=$?
21034 grep -v '^ *+' conftest.er1 >conftest.err
21035 rm -f conftest.er1
21036 cat conftest.err >&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } && {
21039 test -z "$ac_c_werror_flag" ||
21040 test ! -s conftest.err
21041 } && test -s conftest.$ac_objext; then
21042 ac_lo=$ac_mid; break
21043 else
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21046
21047 ac_hi=`expr '(' $ac_mid ')' - 1`
21048 if test $ac_mid -le $ac_hi; then
21049 ac_lo= ac_hi=
21050 break
21051 fi
21052 ac_mid=`expr 2 '*' $ac_mid`
21053 fi
21054
21055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 done
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21060
21061 ac_lo= ac_hi=
21062 fi
21063
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 fi
21066
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 # Binary search between lo and hi bounds.
21069 while test "x$ac_lo" != "x$ac_hi"; do
21070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21071 cat >conftest.$ac_ext <<_ACEOF
21072 /* confdefs.h. */
21073 _ACEOF
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 $ac_includes_default
21078 typedef size_t ac__type_sizeof_;
21079 int
21080 main ()
21081 {
21082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21083 test_array [0] = 0
21084
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest.$ac_objext
21090 if { (ac_try="$ac_compile"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_compile") 2>conftest.er1
21097 ac_status=$?
21098 grep -v '^ *+' conftest.er1 >conftest.err
21099 rm -f conftest.er1
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && {
21103 test -z "$ac_c_werror_flag" ||
21104 test ! -s conftest.err
21105 } && test -s conftest.$ac_objext; then
21106 ac_hi=$ac_mid
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 ac_lo=`expr '(' $ac_mid ')' + 1`
21112 fi
21113
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 done
21116 case $ac_lo in
21117 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21118 '') if test "$ac_cv_type_size_t" = yes; then
21119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21120 See \`config.log' for more details." >&5
21121 echo "$as_me: error: cannot compute sizeof (size_t)
21122 See \`config.log' for more details." >&2;}
21123 { (exit 77); exit 77; }; }
21124 else
21125 ac_cv_sizeof_size_t=0
21126 fi ;;
21127 esac
21128 else
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef size_t ac__type_sizeof_;
21137 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21138 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21139 #include <stdio.h>
21140 #include <stdlib.h>
21141 int
21142 main ()
21143 {
21144
21145 FILE *f = fopen ("conftest.val", "w");
21146 if (! f)
21147 return 1;
21148 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21149 {
21150 long int i = longval ();
21151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21152 return 1;
21153 fprintf (f, "%ld\n", i);
21154 }
21155 else
21156 {
21157 unsigned long int i = ulongval ();
21158 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21159 return 1;
21160 fprintf (f, "%lu\n", i);
21161 }
21162 return ferror (f) || fclose (f) != 0;
21163
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest$ac_exeext
21169 if { (ac_try="$ac_link"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_link") 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21179 { (case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21182 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_try") 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; }; then
21188 ac_cv_sizeof_size_t=`cat conftest.val`
21189 else
21190 echo "$as_me: program exited with status $ac_status" >&5
21191 echo "$as_me: failed program was:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21193
21194 ( exit $ac_status )
21195 if test "$ac_cv_type_size_t" = yes; then
21196 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21197 See \`config.log' for more details." >&5
21198 echo "$as_me: error: cannot compute sizeof (size_t)
21199 See \`config.log' for more details." >&2;}
21200 { (exit 77); exit 77; }; }
21201 else
21202 ac_cv_sizeof_size_t=0
21203 fi
21204 fi
21205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21206 fi
21207 rm -f conftest.val
21208 fi
21209 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21210 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21211
21212
21213
21214 cat >>confdefs.h <<_ACEOF
21215 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21216 _ACEOF
21217
21218
21219
21220 case "${host}" in
21221 arm-*-linux* )
21222 { echo "$as_me:$LINENO: checking for long long" >&5
21223 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21224 if test "${ac_cv_type_long_long+set}" = set; then
21225 echo $ECHO_N "(cached) $ECHO_C" >&6
21226 else
21227 cat >conftest.$ac_ext <<_ACEOF
21228 /* confdefs.h. */
21229 _ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 $ac_includes_default
21234 typedef long long ac__type_new_;
21235 int
21236 main ()
21237 {
21238 if ((ac__type_new_ *) 0)
21239 return 0;
21240 if (sizeof (ac__type_new_))
21241 return 0;
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_cv_type_long_long=yes
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 ac_cv_type_long_long=no
21269 fi
21270
21271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21272 fi
21273 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21274 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21275
21276 # The cast to long int works around a bug in the HP C Compiler
21277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21279 # This bug is HP SR number 8606223364.
21280 { echo "$as_me:$LINENO: checking size of long long" >&5
21281 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21282 if test "${ac_cv_sizeof_long_long+set}" = set; then
21283 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 else
21285 if test "$cross_compiling" = yes; then
21286 # Depending upon the size, compute the lo and hi bounds.
21287 cat >conftest.$ac_ext <<_ACEOF
21288 /* confdefs.h. */
21289 _ACEOF
21290 cat confdefs.h >>conftest.$ac_ext
21291 cat >>conftest.$ac_ext <<_ACEOF
21292 /* end confdefs.h. */
21293 $ac_includes_default
21294 typedef long long ac__type_sizeof_;
21295 int
21296 main ()
21297 {
21298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21299 test_array [0] = 0
21300
21301 ;
21302 return 0;
21303 }
21304 _ACEOF
21305 rm -f conftest.$ac_objext
21306 if { (ac_try="$ac_compile"
21307 case "(($ac_try" in
21308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21309 *) ac_try_echo=$ac_try;;
21310 esac
21311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21312 (eval "$ac_compile") 2>conftest.er1
21313 ac_status=$?
21314 grep -v '^ *+' conftest.er1 >conftest.err
21315 rm -f conftest.er1
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } && {
21319 test -z "$ac_c_werror_flag" ||
21320 test ! -s conftest.err
21321 } && test -s conftest.$ac_objext; then
21322 ac_lo=0 ac_mid=0
21323 while :; do
21324 cat >conftest.$ac_ext <<_ACEOF
21325 /* confdefs.h. */
21326 _ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 $ac_includes_default
21331 typedef long long ac__type_sizeof_;
21332 int
21333 main ()
21334 {
21335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21336 test_array [0] = 0
21337
21338 ;
21339 return 0;
21340 }
21341 _ACEOF
21342 rm -f conftest.$ac_objext
21343 if { (ac_try="$ac_compile"
21344 case "(($ac_try" in
21345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21346 *) ac_try_echo=$ac_try;;
21347 esac
21348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21349 (eval "$ac_compile") 2>conftest.er1
21350 ac_status=$?
21351 grep -v '^ *+' conftest.er1 >conftest.err
21352 rm -f conftest.er1
21353 cat conftest.err >&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } && {
21356 test -z "$ac_c_werror_flag" ||
21357 test ! -s conftest.err
21358 } && test -s conftest.$ac_objext; then
21359 ac_hi=$ac_mid; break
21360 else
21361 echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.$ac_ext >&5
21363
21364 ac_lo=`expr $ac_mid + 1`
21365 if test $ac_lo -le $ac_mid; then
21366 ac_lo= ac_hi=
21367 break
21368 fi
21369 ac_mid=`expr 2 '*' $ac_mid + 1`
21370 fi
21371
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 done
21374 else
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21377
21378 cat >conftest.$ac_ext <<_ACEOF
21379 /* confdefs.h. */
21380 _ACEOF
21381 cat confdefs.h >>conftest.$ac_ext
21382 cat >>conftest.$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 $ac_includes_default
21385 typedef long long ac__type_sizeof_;
21386 int
21387 main ()
21388 {
21389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21390 test_array [0] = 0
21391
21392 ;
21393 return 0;
21394 }
21395 _ACEOF
21396 rm -f conftest.$ac_objext
21397 if { (ac_try="$ac_compile"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21401 esac
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_compile") 2>conftest.er1
21404 ac_status=$?
21405 grep -v '^ *+' conftest.er1 >conftest.err
21406 rm -f conftest.er1
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && {
21410 test -z "$ac_c_werror_flag" ||
21411 test ! -s conftest.err
21412 } && test -s conftest.$ac_objext; then
21413 ac_hi=-1 ac_mid=-1
21414 while :; do
21415 cat >conftest.$ac_ext <<_ACEOF
21416 /* confdefs.h. */
21417 _ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 $ac_includes_default
21422 typedef long long ac__type_sizeof_;
21423 int
21424 main ()
21425 {
21426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21427 test_array [0] = 0
21428
21429 ;
21430 return 0;
21431 }
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (ac_try="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21438 esac
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest.$ac_objext; then
21450 ac_lo=$ac_mid; break
21451 else
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21454
21455 ac_hi=`expr '(' $ac_mid ')' - 1`
21456 if test $ac_mid -le $ac_hi; then
21457 ac_lo= ac_hi=
21458 break
21459 fi
21460 ac_mid=`expr 2 '*' $ac_mid`
21461 fi
21462
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464 done
21465 else
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21468
21469 ac_lo= ac_hi=
21470 fi
21471
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21473 fi
21474
21475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21476 # Binary search between lo and hi bounds.
21477 while test "x$ac_lo" != "x$ac_hi"; do
21478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 typedef long long ac__type_sizeof_;
21487 int
21488 main ()
21489 {
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21491 test_array [0] = 0
21492
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_hi=$ac_mid
21515 else
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 ac_lo=`expr '(' $ac_mid ')' + 1`
21520 fi
21521
21522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21523 done
21524 case $ac_lo in
21525 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21526 '') if test "$ac_cv_type_long_long" = yes; then
21527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21528 See \`config.log' for more details." >&5
21529 echo "$as_me: error: cannot compute sizeof (long long)
21530 See \`config.log' for more details." >&2;}
21531 { (exit 77); exit 77; }; }
21532 else
21533 ac_cv_sizeof_long_long=0
21534 fi ;;
21535 esac
21536 else
21537 cat >conftest.$ac_ext <<_ACEOF
21538 /* confdefs.h. */
21539 _ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 $ac_includes_default
21544 typedef long long ac__type_sizeof_;
21545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21547 #include <stdio.h>
21548 #include <stdlib.h>
21549 int
21550 main ()
21551 {
21552
21553 FILE *f = fopen ("conftest.val", "w");
21554 if (! f)
21555 return 1;
21556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21557 {
21558 long int i = longval ();
21559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21560 return 1;
21561 fprintf (f, "%ld\n", i);
21562 }
21563 else
21564 {
21565 unsigned long int i = ulongval ();
21566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21567 return 1;
21568 fprintf (f, "%lu\n", i);
21569 }
21570 return ferror (f) || fclose (f) != 0;
21571
21572 ;
21573 return 0;
21574 }
21575 _ACEOF
21576 rm -f conftest$ac_exeext
21577 if { (ac_try="$ac_link"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21581 esac
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_link") 2>&5
21584 ac_status=$?
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21587 { (case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21590 esac
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_try") 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_cv_sizeof_long_long=`cat conftest.val`
21597 else
21598 echo "$as_me: program exited with status $ac_status" >&5
21599 echo "$as_me: failed program was:" >&5
21600 sed 's/^/| /' conftest.$ac_ext >&5
21601
21602 ( exit $ac_status )
21603 if test "$ac_cv_type_long_long" = yes; then
21604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21605 See \`config.log' for more details." >&5
21606 echo "$as_me: error: cannot compute sizeof (long long)
21607 See \`config.log' for more details." >&2;}
21608 { (exit 77); exit 77; }; }
21609 else
21610 ac_cv_sizeof_long_long=0
21611 fi
21612 fi
21613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21614 fi
21615 rm -f conftest.val
21616 fi
21617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21619
21620
21621
21622 cat >>confdefs.h <<_ACEOF
21623 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21624 _ACEOF
21625
21626
21627 ;;
21628 *-hp-hpux* )
21629 { echo "$as_me:$LINENO: checking for long long" >&5
21630 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21631 if test "${ac_cv_type_long_long+set}" = set; then
21632 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 else
21634 cat >conftest.$ac_ext <<_ACEOF
21635 /* confdefs.h. */
21636 _ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 $ac_includes_default
21641 typedef long long ac__type_new_;
21642 int
21643 main ()
21644 {
21645 if ((ac__type_new_ *) 0)
21646 return 0;
21647 if (sizeof (ac__type_new_))
21648 return 0;
21649 ;
21650 return 0;
21651 }
21652 _ACEOF
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_cv_type_long_long=yes
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 ac_cv_type_long_long=no
21676 fi
21677
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 fi
21680 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21681 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21682
21683 # The cast to long int works around a bug in the HP C Compiler
21684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21686 # This bug is HP SR number 8606223364.
21687 { echo "$as_me:$LINENO: checking size of long long" >&5
21688 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21689 if test "${ac_cv_sizeof_long_long+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 else
21692 if test "$cross_compiling" = yes; then
21693 # Depending upon the size, compute the lo and hi bounds.
21694 cat >conftest.$ac_ext <<_ACEOF
21695 /* confdefs.h. */
21696 _ACEOF
21697 cat confdefs.h >>conftest.$ac_ext
21698 cat >>conftest.$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21700 $ac_includes_default
21701 typedef long long ac__type_sizeof_;
21702 int
21703 main ()
21704 {
21705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21706 test_array [0] = 0
21707
21708 ;
21709 return 0;
21710 }
21711 _ACEOF
21712 rm -f conftest.$ac_objext
21713 if { (ac_try="$ac_compile"
21714 case "(($ac_try" in
21715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21716 *) ac_try_echo=$ac_try;;
21717 esac
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_compile") 2>conftest.er1
21720 ac_status=$?
21721 grep -v '^ *+' conftest.er1 >conftest.err
21722 rm -f conftest.er1
21723 cat conftest.err >&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); } && {
21726 test -z "$ac_c_werror_flag" ||
21727 test ! -s conftest.err
21728 } && test -s conftest.$ac_objext; then
21729 ac_lo=0 ac_mid=0
21730 while :; do
21731 cat >conftest.$ac_ext <<_ACEOF
21732 /* confdefs.h. */
21733 _ACEOF
21734 cat confdefs.h >>conftest.$ac_ext
21735 cat >>conftest.$ac_ext <<_ACEOF
21736 /* end confdefs.h. */
21737 $ac_includes_default
21738 typedef long long ac__type_sizeof_;
21739 int
21740 main ()
21741 {
21742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21743 test_array [0] = 0
21744
21745 ;
21746 return 0;
21747 }
21748 _ACEOF
21749 rm -f conftest.$ac_objext
21750 if { (ac_try="$ac_compile"
21751 case "(($ac_try" in
21752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21753 *) ac_try_echo=$ac_try;;
21754 esac
21755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21756 (eval "$ac_compile") 2>conftest.er1
21757 ac_status=$?
21758 grep -v '^ *+' conftest.er1 >conftest.err
21759 rm -f conftest.er1
21760 cat conftest.err >&5
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); } && {
21763 test -z "$ac_c_werror_flag" ||
21764 test ! -s conftest.err
21765 } && test -s conftest.$ac_objext; then
21766 ac_hi=$ac_mid; break
21767 else
21768 echo "$as_me: failed program was:" >&5
21769 sed 's/^/| /' conftest.$ac_ext >&5
21770
21771 ac_lo=`expr $ac_mid + 1`
21772 if test $ac_lo -le $ac_mid; then
21773 ac_lo= ac_hi=
21774 break
21775 fi
21776 ac_mid=`expr 2 '*' $ac_mid + 1`
21777 fi
21778
21779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 done
21781 else
21782 echo "$as_me: failed program was:" >&5
21783 sed 's/^/| /' conftest.$ac_ext >&5
21784
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 $ac_includes_default
21792 typedef long long ac__type_sizeof_;
21793 int
21794 main ()
21795 {
21796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21797 test_array [0] = 0
21798
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 rm -f conftest.$ac_objext
21804 if { (ac_try="$ac_compile"
21805 case "(($ac_try" in
21806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21807 *) ac_try_echo=$ac_try;;
21808 esac
21809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21810 (eval "$ac_compile") 2>conftest.er1
21811 ac_status=$?
21812 grep -v '^ *+' conftest.er1 >conftest.err
21813 rm -f conftest.er1
21814 cat conftest.err >&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } && {
21817 test -z "$ac_c_werror_flag" ||
21818 test ! -s conftest.err
21819 } && test -s conftest.$ac_objext; then
21820 ac_hi=-1 ac_mid=-1
21821 while :; do
21822 cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h. */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21828 $ac_includes_default
21829 typedef long long ac__type_sizeof_;
21830 int
21831 main ()
21832 {
21833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21834 test_array [0] = 0
21835
21836 ;
21837 return 0;
21838 }
21839 _ACEOF
21840 rm -f conftest.$ac_objext
21841 if { (ac_try="$ac_compile"
21842 case "(($ac_try" in
21843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21844 *) ac_try_echo=$ac_try;;
21845 esac
21846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21847 (eval "$ac_compile") 2>conftest.er1
21848 ac_status=$?
21849 grep -v '^ *+' conftest.er1 >conftest.err
21850 rm -f conftest.er1
21851 cat conftest.err >&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } && {
21854 test -z "$ac_c_werror_flag" ||
21855 test ! -s conftest.err
21856 } && test -s conftest.$ac_objext; then
21857 ac_lo=$ac_mid; break
21858 else
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21861
21862 ac_hi=`expr '(' $ac_mid ')' - 1`
21863 if test $ac_mid -le $ac_hi; then
21864 ac_lo= ac_hi=
21865 break
21866 fi
21867 ac_mid=`expr 2 '*' $ac_mid`
21868 fi
21869
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 done
21872 else
21873 echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.$ac_ext >&5
21875
21876 ac_lo= ac_hi=
21877 fi
21878
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 fi
21881
21882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 # Binary search between lo and hi bounds.
21884 while test "x$ac_lo" != "x$ac_hi"; do
21885 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21886 cat >conftest.$ac_ext <<_ACEOF
21887 /* confdefs.h. */
21888 _ACEOF
21889 cat confdefs.h >>conftest.$ac_ext
21890 cat >>conftest.$ac_ext <<_ACEOF
21891 /* end confdefs.h. */
21892 $ac_includes_default
21893 typedef long long ac__type_sizeof_;
21894 int
21895 main ()
21896 {
21897 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21898 test_array [0] = 0
21899
21900 ;
21901 return 0;
21902 }
21903 _ACEOF
21904 rm -f conftest.$ac_objext
21905 if { (ac_try="$ac_compile"
21906 case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21909 esac
21910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_compile") 2>conftest.er1
21912 ac_status=$?
21913 grep -v '^ *+' conftest.er1 >conftest.err
21914 rm -f conftest.er1
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } && {
21918 test -z "$ac_c_werror_flag" ||
21919 test ! -s conftest.err
21920 } && test -s conftest.$ac_objext; then
21921 ac_hi=$ac_mid
21922 else
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21925
21926 ac_lo=`expr '(' $ac_mid ')' + 1`
21927 fi
21928
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 done
21931 case $ac_lo in
21932 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21933 '') if test "$ac_cv_type_long_long" = yes; then
21934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21935 See \`config.log' for more details." >&5
21936 echo "$as_me: error: cannot compute sizeof (long long)
21937 See \`config.log' for more details." >&2;}
21938 { (exit 77); exit 77; }; }
21939 else
21940 ac_cv_sizeof_long_long=0
21941 fi ;;
21942 esac
21943 else
21944 cat >conftest.$ac_ext <<_ACEOF
21945 /* confdefs.h. */
21946 _ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 $ac_includes_default
21951 typedef long long ac__type_sizeof_;
21952 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21953 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21954 #include <stdio.h>
21955 #include <stdlib.h>
21956 int
21957 main ()
21958 {
21959
21960 FILE *f = fopen ("conftest.val", "w");
21961 if (! f)
21962 return 1;
21963 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21964 {
21965 long int i = longval ();
21966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21967 return 1;
21968 fprintf (f, "%ld\n", i);
21969 }
21970 else
21971 {
21972 unsigned long int i = ulongval ();
21973 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21974 return 1;
21975 fprintf (f, "%lu\n", i);
21976 }
21977 return ferror (f) || fclose (f) != 0;
21978
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest$ac_exeext
21984 if { (ac_try="$ac_link"
21985 case "(($ac_try" in
21986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21987 *) ac_try_echo=$ac_try;;
21988 esac
21989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21990 (eval "$ac_link") 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21994 { (case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21997 esac
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_try") 2>&5
22000 ac_status=$?
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); }; }; then
22003 ac_cv_sizeof_long_long=`cat conftest.val`
22004 else
22005 echo "$as_me: program exited with status $ac_status" >&5
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22008
22009 ( exit $ac_status )
22010 if test "$ac_cv_type_long_long" = yes; then
22011 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22012 See \`config.log' for more details." >&5
22013 echo "$as_me: error: cannot compute sizeof (long long)
22014 See \`config.log' for more details." >&2;}
22015 { (exit 77); exit 77; }; }
22016 else
22017 ac_cv_sizeof_long_long=0
22018 fi
22019 fi
22020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22021 fi
22022 rm -f conftest.val
22023 fi
22024 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22025 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22026
22027
22028
22029 cat >>confdefs.h <<_ACEOF
22030 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22031 _ACEOF
22032
22033
22034 if test "$ac_cv_sizeof_long_long" != 0; then
22035 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22036 fi
22037 ;;
22038 * )
22039 { echo "$as_me:$LINENO: checking for long long" >&5
22040 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22041 if test "${ac_cv_type_long_long+set}" = set; then
22042 echo $ECHO_N "(cached) $ECHO_C" >&6
22043 else
22044 cat >conftest.$ac_ext <<_ACEOF
22045 /* confdefs.h. */
22046 _ACEOF
22047 cat confdefs.h >>conftest.$ac_ext
22048 cat >>conftest.$ac_ext <<_ACEOF
22049 /* end confdefs.h. */
22050 $ac_includes_default
22051 typedef long long ac__type_new_;
22052 int
22053 main ()
22054 {
22055 if ((ac__type_new_ *) 0)
22056 return 0;
22057 if (sizeof (ac__type_new_))
22058 return 0;
22059 ;
22060 return 0;
22061 }
22062 _ACEOF
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22068 esac
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.$ac_objext; then
22080 ac_cv_type_long_long=yes
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_cv_type_long_long=no
22086 fi
22087
22088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22089 fi
22090 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22091 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22092
22093 # The cast to long int works around a bug in the HP C Compiler
22094 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22095 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22096 # This bug is HP SR number 8606223364.
22097 { echo "$as_me:$LINENO: checking size of long long" >&5
22098 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22099 if test "${ac_cv_sizeof_long_long+set}" = set; then
22100 echo $ECHO_N "(cached) $ECHO_C" >&6
22101 else
22102 if test "$cross_compiling" = yes; then
22103 # Depending upon the size, compute the lo and hi bounds.
22104 cat >conftest.$ac_ext <<_ACEOF
22105 /* confdefs.h. */
22106 _ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 typedef long long ac__type_sizeof_;
22112 int
22113 main ()
22114 {
22115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22116 test_array [0] = 0
22117
22118 ;
22119 return 0;
22120 }
22121 _ACEOF
22122 rm -f conftest.$ac_objext
22123 if { (ac_try="$ac_compile"
22124 case "(($ac_try" in
22125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22126 *) ac_try_echo=$ac_try;;
22127 esac
22128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22129 (eval "$ac_compile") 2>conftest.er1
22130 ac_status=$?
22131 grep -v '^ *+' conftest.er1 >conftest.err
22132 rm -f conftest.er1
22133 cat conftest.err >&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); } && {
22136 test -z "$ac_c_werror_flag" ||
22137 test ! -s conftest.err
22138 } && test -s conftest.$ac_objext; then
22139 ac_lo=0 ac_mid=0
22140 while :; do
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_sizeof_;
22149 int
22150 main ()
22151 {
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22153 test_array [0] = 0
22154
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 rm -f conftest.$ac_objext
22160 if { (ac_try="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22164 esac
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22167 ac_status=$?
22168 grep -v '^ *+' conftest.er1 >conftest.err
22169 rm -f conftest.er1
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.$ac_objext; then
22176 ac_hi=$ac_mid; break
22177 else
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 ac_lo=`expr $ac_mid + 1`
22182 if test $ac_lo -le $ac_mid; then
22183 ac_lo= ac_hi=
22184 break
22185 fi
22186 ac_mid=`expr 2 '*' $ac_mid + 1`
22187 fi
22188
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190 done
22191 else
22192 echo "$as_me: failed program was:" >&5
22193 sed 's/^/| /' conftest.$ac_ext >&5
22194
22195 cat >conftest.$ac_ext <<_ACEOF
22196 /* confdefs.h. */
22197 _ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h. */
22201 $ac_includes_default
22202 typedef long long ac__type_sizeof_;
22203 int
22204 main ()
22205 {
22206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22207 test_array [0] = 0
22208
22209 ;
22210 return 0;
22211 }
22212 _ACEOF
22213 rm -f conftest.$ac_objext
22214 if { (ac_try="$ac_compile"
22215 case "(($ac_try" in
22216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22217 *) ac_try_echo=$ac_try;;
22218 esac
22219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22220 (eval "$ac_compile") 2>conftest.er1
22221 ac_status=$?
22222 grep -v '^ *+' conftest.er1 >conftest.err
22223 rm -f conftest.er1
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } && {
22227 test -z "$ac_c_werror_flag" ||
22228 test ! -s conftest.err
22229 } && test -s conftest.$ac_objext; then
22230 ac_hi=-1 ac_mid=-1
22231 while :; do
22232 cat >conftest.$ac_ext <<_ACEOF
22233 /* confdefs.h. */
22234 _ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef long long ac__type_sizeof_;
22240 int
22241 main ()
22242 {
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22244 test_array [0] = 0
22245
22246 ;
22247 return 0;
22248 }
22249 _ACEOF
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22255 esac
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22258 ac_status=$?
22259 grep -v '^ *+' conftest.er1 >conftest.err
22260 rm -f conftest.er1
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22267 ac_lo=$ac_mid; break
22268 else
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ac_hi=`expr '(' $ac_mid ')' - 1`
22273 if test $ac_mid -le $ac_hi; then
22274 ac_lo= ac_hi=
22275 break
22276 fi
22277 ac_mid=`expr 2 '*' $ac_mid`
22278 fi
22279
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 done
22282 else
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22285
22286 ac_lo= ac_hi=
22287 fi
22288
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290 fi
22291
22292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22293 # Binary search between lo and hi bounds.
22294 while test "x$ac_lo" != "x$ac_hi"; do
22295 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22296 cat >conftest.$ac_ext <<_ACEOF
22297 /* confdefs.h. */
22298 _ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 $ac_includes_default
22303 typedef long long ac__type_sizeof_;
22304 int
22305 main ()
22306 {
22307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22308 test_array [0] = 0
22309
22310 ;
22311 return 0;
22312 }
22313 _ACEOF
22314 rm -f conftest.$ac_objext
22315 if { (ac_try="$ac_compile"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22319 esac
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_compile") 2>conftest.er1
22322 ac_status=$?
22323 grep -v '^ *+' conftest.er1 >conftest.err
22324 rm -f conftest.er1
22325 cat conftest.err >&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && {
22328 test -z "$ac_c_werror_flag" ||
22329 test ! -s conftest.err
22330 } && test -s conftest.$ac_objext; then
22331 ac_hi=$ac_mid
22332 else
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22335
22336 ac_lo=`expr '(' $ac_mid ')' + 1`
22337 fi
22338
22339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 done
22341 case $ac_lo in
22342 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22343 '') if test "$ac_cv_type_long_long" = yes; then
22344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22345 See \`config.log' for more details." >&5
22346 echo "$as_me: error: cannot compute sizeof (long long)
22347 See \`config.log' for more details." >&2;}
22348 { (exit 77); exit 77; }; }
22349 else
22350 ac_cv_sizeof_long_long=0
22351 fi ;;
22352 esac
22353 else
22354 cat >conftest.$ac_ext <<_ACEOF
22355 /* confdefs.h. */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 $ac_includes_default
22361 typedef long long ac__type_sizeof_;
22362 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22363 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22364 #include <stdio.h>
22365 #include <stdlib.h>
22366 int
22367 main ()
22368 {
22369
22370 FILE *f = fopen ("conftest.val", "w");
22371 if (! f)
22372 return 1;
22373 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22374 {
22375 long int i = longval ();
22376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22377 return 1;
22378 fprintf (f, "%ld\n", i);
22379 }
22380 else
22381 {
22382 unsigned long int i = ulongval ();
22383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22384 return 1;
22385 fprintf (f, "%lu\n", i);
22386 }
22387 return ferror (f) || fclose (f) != 0;
22388
22389 ;
22390 return 0;
22391 }
22392 _ACEOF
22393 rm -f conftest$ac_exeext
22394 if { (ac_try="$ac_link"
22395 case "(($ac_try" in
22396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22397 *) ac_try_echo=$ac_try;;
22398 esac
22399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22400 (eval "$ac_link") 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22404 { (case "(($ac_try" in
22405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22407 esac
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_try") 2>&5
22410 ac_status=$?
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 ac_cv_sizeof_long_long=`cat conftest.val`
22414 else
22415 echo "$as_me: program exited with status $ac_status" >&5
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.$ac_ext >&5
22418
22419 ( exit $ac_status )
22420 if test "$ac_cv_type_long_long" = yes; then
22421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22422 See \`config.log' for more details." >&5
22423 echo "$as_me: error: cannot compute sizeof (long long)
22424 See \`config.log' for more details." >&2;}
22425 { (exit 77); exit 77; }; }
22426 else
22427 ac_cv_sizeof_long_long=0
22428 fi
22429 fi
22430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22431 fi
22432 rm -f conftest.val
22433 fi
22434 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22435 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22436
22437
22438
22439 cat >>confdefs.h <<_ACEOF
22440 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22441 _ACEOF
22442
22443
22444 esac
22445
22446 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22447 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22448 if test "${ac_cv_type_wchar_t+set}" = set; then
22449 echo $ECHO_N "(cached) $ECHO_C" >&6
22450 else
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457
22458 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22459 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22460 # error "fake wchar_t"
22461 #endif
22462 #ifdef HAVE_WCHAR_H
22463 # ifdef __CYGWIN__
22464 # include <stddef.h>
22465 # endif
22466 # include <wchar.h>
22467 #endif
22468 #ifdef HAVE_STDLIB_H
22469 # include <stdlib.h>
22470 #endif
22471 #include <stdio.h>
22472
22473
22474
22475 typedef wchar_t ac__type_new_;
22476 int
22477 main ()
22478 {
22479 if ((ac__type_new_ *) 0)
22480 return 0;
22481 if (sizeof (ac__type_new_))
22482 return 0;
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22492 esac
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22504 ac_cv_type_wchar_t=yes
22505 else
22506 echo "$as_me: failed program was:" >&5
22507 sed 's/^/| /' conftest.$ac_ext >&5
22508
22509 ac_cv_type_wchar_t=no
22510 fi
22511
22512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22513 fi
22514 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22515 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22516
22517 # The cast to long int works around a bug in the HP C Compiler
22518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22520 # This bug is HP SR number 8606223364.
22521 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22522 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22523 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22524 echo $ECHO_N "(cached) $ECHO_C" >&6
22525 else
22526 if test "$cross_compiling" = yes; then
22527 # Depending upon the size, compute the lo and hi bounds.
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534
22535 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22536 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22537 # error "fake wchar_t"
22538 #endif
22539 #ifdef HAVE_WCHAR_H
22540 # ifdef __CYGWIN__
22541 # include <stddef.h>
22542 # endif
22543 # include <wchar.h>
22544 #endif
22545 #ifdef HAVE_STDLIB_H
22546 # include <stdlib.h>
22547 #endif
22548 #include <stdio.h>
22549
22550
22551
22552 typedef wchar_t ac__type_sizeof_;
22553 int
22554 main ()
22555 {
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22557 test_array [0] = 0
22558
22559 ;
22560 return 0;
22561 }
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22568 esac
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22571 ac_status=$?
22572 grep -v '^ *+' conftest.er1 >conftest.err
22573 rm -f conftest.er1
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22580 ac_lo=0 ac_mid=0
22581 while :; do
22582 cat >conftest.$ac_ext <<_ACEOF
22583 /* confdefs.h. */
22584 _ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588
22589 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22590 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22591 # error "fake wchar_t"
22592 #endif
22593 #ifdef HAVE_WCHAR_H
22594 # ifdef __CYGWIN__
22595 # include <stddef.h>
22596 # endif
22597 # include <wchar.h>
22598 #endif
22599 #ifdef HAVE_STDLIB_H
22600 # include <stdlib.h>
22601 #endif
22602 #include <stdio.h>
22603
22604
22605
22606 typedef wchar_t ac__type_sizeof_;
22607 int
22608 main ()
22609 {
22610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22611 test_array [0] = 0
22612
22613 ;
22614 return 0;
22615 }
22616 _ACEOF
22617 rm -f conftest.$ac_objext
22618 if { (ac_try="$ac_compile"
22619 case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22621 *) ac_try_echo=$ac_try;;
22622 esac
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_compile") 2>conftest.er1
22625 ac_status=$?
22626 grep -v '^ *+' conftest.er1 >conftest.err
22627 rm -f conftest.er1
22628 cat conftest.err >&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } && {
22631 test -z "$ac_c_werror_flag" ||
22632 test ! -s conftest.err
22633 } && test -s conftest.$ac_objext; then
22634 ac_hi=$ac_mid; break
22635 else
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22638
22639 ac_lo=`expr $ac_mid + 1`
22640 if test $ac_lo -le $ac_mid; then
22641 ac_lo= ac_hi=
22642 break
22643 fi
22644 ac_mid=`expr 2 '*' $ac_mid + 1`
22645 fi
22646
22647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648 done
22649 else
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22652
22653 cat >conftest.$ac_ext <<_ACEOF
22654 /* confdefs.h. */
22655 _ACEOF
22656 cat confdefs.h >>conftest.$ac_ext
22657 cat >>conftest.$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659
22660 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22661 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22662 # error "fake wchar_t"
22663 #endif
22664 #ifdef HAVE_WCHAR_H
22665 # ifdef __CYGWIN__
22666 # include <stddef.h>
22667 # endif
22668 # include <wchar.h>
22669 #endif
22670 #ifdef HAVE_STDLIB_H
22671 # include <stdlib.h>
22672 #endif
22673 #include <stdio.h>
22674
22675
22676
22677 typedef wchar_t ac__type_sizeof_;
22678 int
22679 main ()
22680 {
22681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22682 test_array [0] = 0
22683
22684 ;
22685 return 0;
22686 }
22687 _ACEOF
22688 rm -f conftest.$ac_objext
22689 if { (ac_try="$ac_compile"
22690 case "(($ac_try" in
22691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22693 esac
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_compile") 2>conftest.er1
22696 ac_status=$?
22697 grep -v '^ *+' conftest.er1 >conftest.err
22698 rm -f conftest.er1
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } && {
22702 test -z "$ac_c_werror_flag" ||
22703 test ! -s conftest.err
22704 } && test -s conftest.$ac_objext; then
22705 ac_hi=-1 ac_mid=-1
22706 while :; do
22707 cat >conftest.$ac_ext <<_ACEOF
22708 /* confdefs.h. */
22709 _ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713
22714 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22715 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22716 # error "fake wchar_t"
22717 #endif
22718 #ifdef HAVE_WCHAR_H
22719 # ifdef __CYGWIN__
22720 # include <stddef.h>
22721 # endif
22722 # include <wchar.h>
22723 #endif
22724 #ifdef HAVE_STDLIB_H
22725 # include <stdlib.h>
22726 #endif
22727 #include <stdio.h>
22728
22729
22730
22731 typedef wchar_t ac__type_sizeof_;
22732 int
22733 main ()
22734 {
22735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22736 test_array [0] = 0
22737
22738 ;
22739 return 0;
22740 }
22741 _ACEOF
22742 rm -f conftest.$ac_objext
22743 if { (ac_try="$ac_compile"
22744 case "(($ac_try" in
22745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22746 *) ac_try_echo=$ac_try;;
22747 esac
22748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22749 (eval "$ac_compile") 2>conftest.er1
22750 ac_status=$?
22751 grep -v '^ *+' conftest.er1 >conftest.err
22752 rm -f conftest.er1
22753 cat conftest.err >&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); } && {
22756 test -z "$ac_c_werror_flag" ||
22757 test ! -s conftest.err
22758 } && test -s conftest.$ac_objext; then
22759 ac_lo=$ac_mid; break
22760 else
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22763
22764 ac_hi=`expr '(' $ac_mid ')' - 1`
22765 if test $ac_mid -le $ac_hi; then
22766 ac_lo= ac_hi=
22767 break
22768 fi
22769 ac_mid=`expr 2 '*' $ac_mid`
22770 fi
22771
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773 done
22774 else
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.$ac_ext >&5
22777
22778 ac_lo= ac_hi=
22779 fi
22780
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 fi
22783
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 # Binary search between lo and hi bounds.
22786 while test "x$ac_lo" != "x$ac_hi"; do
22787 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794
22795 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22796 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22797 # error "fake wchar_t"
22798 #endif
22799 #ifdef HAVE_WCHAR_H
22800 # ifdef __CYGWIN__
22801 # include <stddef.h>
22802 # endif
22803 # include <wchar.h>
22804 #endif
22805 #ifdef HAVE_STDLIB_H
22806 # include <stdlib.h>
22807 #endif
22808 #include <stdio.h>
22809
22810
22811
22812 typedef wchar_t ac__type_sizeof_;
22813 int
22814 main ()
22815 {
22816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22817 test_array [0] = 0
22818
22819 ;
22820 return 0;
22821 }
22822 _ACEOF
22823 rm -f conftest.$ac_objext
22824 if { (ac_try="$ac_compile"
22825 case "(($ac_try" in
22826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22827 *) ac_try_echo=$ac_try;;
22828 esac
22829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22830 (eval "$ac_compile") 2>conftest.er1
22831 ac_status=$?
22832 grep -v '^ *+' conftest.er1 >conftest.err
22833 rm -f conftest.er1
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && {
22837 test -z "$ac_c_werror_flag" ||
22838 test ! -s conftest.err
22839 } && test -s conftest.$ac_objext; then
22840 ac_hi=$ac_mid
22841 else
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.$ac_ext >&5
22844
22845 ac_lo=`expr '(' $ac_mid ')' + 1`
22846 fi
22847
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 done
22850 case $ac_lo in
22851 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22852 '') if test "$ac_cv_type_wchar_t" = yes; then
22853 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22854 See \`config.log' for more details." >&5
22855 echo "$as_me: error: cannot compute sizeof (wchar_t)
22856 See \`config.log' for more details." >&2;}
22857 { (exit 77); exit 77; }; }
22858 else
22859 ac_cv_sizeof_wchar_t=0
22860 fi ;;
22861 esac
22862 else
22863 cat >conftest.$ac_ext <<_ACEOF
22864 /* confdefs.h. */
22865 _ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22869
22870 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22871 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22872 # error "fake wchar_t"
22873 #endif
22874 #ifdef HAVE_WCHAR_H
22875 # ifdef __CYGWIN__
22876 # include <stddef.h>
22877 # endif
22878 # include <wchar.h>
22879 #endif
22880 #ifdef HAVE_STDLIB_H
22881 # include <stdlib.h>
22882 #endif
22883 #include <stdio.h>
22884
22885
22886
22887 typedef wchar_t ac__type_sizeof_;
22888 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22889 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22890 #include <stdio.h>
22891 #include <stdlib.h>
22892 int
22893 main ()
22894 {
22895
22896 FILE *f = fopen ("conftest.val", "w");
22897 if (! f)
22898 return 1;
22899 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22900 {
22901 long int i = longval ();
22902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22903 return 1;
22904 fprintf (f, "%ld\n", i);
22905 }
22906 else
22907 {
22908 unsigned long int i = ulongval ();
22909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22910 return 1;
22911 fprintf (f, "%lu\n", i);
22912 }
22913 return ferror (f) || fclose (f) != 0;
22914
22915 ;
22916 return 0;
22917 }
22918 _ACEOF
22919 rm -f conftest$ac_exeext
22920 if { (ac_try="$ac_link"
22921 case "(($ac_try" in
22922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22923 *) ac_try_echo=$ac_try;;
22924 esac
22925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22926 (eval "$ac_link") 2>&5
22927 ac_status=$?
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22930 { (case "(($ac_try" in
22931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22932 *) ac_try_echo=$ac_try;;
22933 esac
22934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22935 (eval "$ac_try") 2>&5
22936 ac_status=$?
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_cv_sizeof_wchar_t=`cat conftest.val`
22940 else
22941 echo "$as_me: program exited with status $ac_status" >&5
22942 echo "$as_me: failed program was:" >&5
22943 sed 's/^/| /' conftest.$ac_ext >&5
22944
22945 ( exit $ac_status )
22946 if test "$ac_cv_type_wchar_t" = yes; then
22947 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22948 See \`config.log' for more details." >&5
22949 echo "$as_me: error: cannot compute sizeof (wchar_t)
22950 See \`config.log' for more details." >&2;}
22951 { (exit 77); exit 77; }; }
22952 else
22953 ac_cv_sizeof_wchar_t=0
22954 fi
22955 fi
22956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22957 fi
22958 rm -f conftest.val
22959 fi
22960 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22961 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22962
22963
22964
22965 cat >>confdefs.h <<_ACEOF
22966 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22967 _ACEOF
22968
22969
22970 if test "$ac_cv_sizeof_wchar_t" != 0; then
22971 wxUSE_WCHAR_T=yes
22972 else
22973 wxUSE_WCHAR_T=no
22974 fi
22975
22976 { echo "$as_me:$LINENO: checking for va_copy" >&5
22977 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22978 if test "${wx_cv_func_va_copy+set}" = set; then
22979 echo $ECHO_N "(cached) $ECHO_C" >&6
22980 else
22981
22982 ac_ext=cpp
22983 ac_cpp='$CXXCPP $CPPFLAGS'
22984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22987
22988 cat >conftest.$ac_ext <<_ACEOF
22989
22990 #include <stdarg.h>
22991 void foo(char *f, ...)
22992 {
22993 va_list ap1, ap2;
22994 va_start(ap1, f);
22995 va_copy(ap2, ap1);
22996 va_end(ap2);
22997 va_end(ap1);
22998 }
22999 int main()
23000 {
23001 foo("hi", 17);
23002 return 0;
23003 }
23004 _ACEOF
23005 rm -f conftest.$ac_objext conftest$ac_exeext
23006 if { (ac_try="$ac_link"
23007 case "(($ac_try" in
23008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23009 *) ac_try_echo=$ac_try;;
23010 esac
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_link") 2>conftest.er1
23013 ac_status=$?
23014 grep -v '^ *+' conftest.er1 >conftest.err
23015 rm -f conftest.er1
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } && {
23019 test -z "$ac_cxx_werror_flag" ||
23020 test ! -s conftest.err
23021 } && test -s conftest$ac_exeext &&
23022 $as_test_x conftest$ac_exeext; then
23023 wx_cv_func_va_copy=yes
23024 else
23025 echo "$as_me: failed program was:" >&5
23026 sed 's/^/| /' conftest.$ac_ext >&5
23027
23028 wx_cv_func_va_copy=no
23029
23030 fi
23031
23032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23033 conftest$ac_exeext conftest.$ac_ext
23034 ac_ext=c
23035 ac_cpp='$CPP $CPPFLAGS'
23036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23039
23040
23041
23042 fi
23043 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23044 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23045
23046 if test $wx_cv_func_va_copy = "yes"; then
23047 cat >>confdefs.h <<\_ACEOF
23048 #define HAVE_VA_COPY 1
23049 _ACEOF
23050
23051 else
23052 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23053 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23054 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23055 echo $ECHO_N "(cached) $ECHO_C" >&6
23056 else
23057
23058 if test "$cross_compiling" = yes; then
23059 wx_cv_type_va_list_lvalue=yes
23060
23061 else
23062 cat >conftest.$ac_ext <<_ACEOF
23063
23064 #include <stdarg.h>
23065 int foo(char *f, ...)
23066 {
23067 va_list ap1, ap2;
23068 va_start(ap1, f);
23069 ap2 = ap1;
23070 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23071 return 1;
23072 va_end(ap2);
23073 va_end(ap1);
23074 return 0;
23075 }
23076 int main()
23077 {
23078 return foo("hi", 17);
23079 }
23080 _ACEOF
23081 rm -f conftest$ac_exeext
23082 if { (ac_try="$ac_link"
23083 case "(($ac_try" in
23084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23085 *) ac_try_echo=$ac_try;;
23086 esac
23087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23088 (eval "$ac_link") 2>&5
23089 ac_status=$?
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23092 { (case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23095 esac
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_try") 2>&5
23098 ac_status=$?
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 wx_cv_type_va_list_lvalue=yes
23102 else
23103 echo "$as_me: program exited with status $ac_status" >&5
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23106
23107 ( exit $ac_status )
23108 wx_cv_type_va_list_lvalue=no
23109 fi
23110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23111 fi
23112
23113
23114
23115
23116 fi
23117 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23118 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23119
23120 if test $wx_cv_type_va_list_lvalue != "yes"; then
23121 cat >>confdefs.h <<\_ACEOF
23122 #define VA_LIST_IS_ARRAY 1
23123 _ACEOF
23124
23125 fi
23126 fi
23127
23128 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23129
23130 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23131 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23132 if test "${wx_cv_have_variadic_macros+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 else
23135
23136 ac_ext=cpp
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142 cat >conftest.$ac_ext <<_ACEOF
23143 /* confdefs.h. */
23144 _ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23148
23149 #include <stdio.h>
23150 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23151
23152 int
23153 main ()
23154 {
23155
23156 test("%s %d %p", "test", 1, 0);
23157
23158
23159 ;
23160 return 0;
23161 }
23162 _ACEOF
23163 rm -f conftest.$ac_objext
23164 if { (ac_try="$ac_compile"
23165 case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23168 esac
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_compile") 2>conftest.er1
23171 ac_status=$?
23172 grep -v '^ *+' conftest.er1 >conftest.err
23173 rm -f conftest.er1
23174 cat conftest.err >&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } && {
23177 test -z "$ac_cxx_werror_flag" ||
23178 test ! -s conftest.err
23179 } && test -s conftest.$ac_objext; then
23180 wx_cv_have_variadic_macros=yes
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 wx_cv_have_variadic_macros=no
23186
23187 fi
23188
23189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23190 ac_ext=c
23191 ac_cpp='$CPP $CPPFLAGS'
23192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23195
23196
23197
23198 fi
23199 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23200 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23201
23202 if test $wx_cv_have_variadic_macros = "yes"; then
23203 cat >>confdefs.h <<\_ACEOF
23204 #define HAVE_VARIADIC_MACROS 1
23205 _ACEOF
23206
23207 fi
23208
23209 fi
23210 # Check whether --enable-largefile was given.
23211 if test "${enable_largefile+set}" = set; then
23212 enableval=$enable_largefile;
23213 fi
23214
23215 if test "$enable_largefile" != no; then
23216 wx_largefile=no
23217
23218 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23219 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23220 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23221 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 else
23223
23224 cat >conftest.$ac_ext <<_ACEOF
23225 /* confdefs.h. */
23226 _ACEOF
23227 cat confdefs.h >>conftest.$ac_ext
23228 cat >>conftest.$ac_ext <<_ACEOF
23229 /* end confdefs.h. */
23230 #define _FILE_OFFSET_BITS 64
23231 #include <sys/types.h>
23232 int
23233 main ()
23234 {
23235 typedef struct {
23236 unsigned int field: sizeof(off_t) == 8;
23237 } wxlf;
23238
23239 ;
23240 return 0;
23241 }
23242 _ACEOF
23243 rm -f conftest.$ac_objext
23244 if { (ac_try="$ac_compile"
23245 case "(($ac_try" in
23246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23247 *) ac_try_echo=$ac_try;;
23248 esac
23249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23250 (eval "$ac_compile") 2>conftest.er1
23251 ac_status=$?
23252 grep -v '^ *+' conftest.er1 >conftest.err
23253 rm -f conftest.er1
23254 cat conftest.err >&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } && {
23257 test -z "$ac_c_werror_flag" ||
23258 test ! -s conftest.err
23259 } && test -s conftest.$ac_objext; then
23260 ac_cv_sys_file_offset_bits=64
23261 else
23262 echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.$ac_ext >&5
23264
23265 ac_cv_sys_file_offset_bits=no
23266 fi
23267
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23269
23270
23271 fi
23272 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23273 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23274
23275 if test "$ac_cv_sys_file_offset_bits" != no; then
23276 wx_largefile=yes
23277 cat >>confdefs.h <<_ACEOF
23278 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23279 _ACEOF
23280
23281 fi
23282
23283 if test "x$wx_largefile" != "xyes"; then
23284
23285 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23286 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23287 if test "${ac_cv_sys_large_files+set}" = set; then
23288 echo $ECHO_N "(cached) $ECHO_C" >&6
23289 else
23290
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 #define _LARGE_FILES 1
23298 #include <sys/types.h>
23299 int
23300 main ()
23301 {
23302 typedef struct {
23303 unsigned int field: sizeof(off_t) == 8;
23304 } wxlf;
23305
23306 ;
23307 return 0;
23308 }
23309 _ACEOF
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23315 esac
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23318 ac_status=$?
23319 grep -v '^ *+' conftest.er1 >conftest.err
23320 rm -f conftest.er1
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_cv_sys_large_files=1
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ac_cv_sys_large_files=no
23333 fi
23334
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23336
23337
23338 fi
23339 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23340 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23341
23342 if test "$ac_cv_sys_large_files" != no; then
23343 wx_largefile=yes
23344 cat >>confdefs.h <<_ACEOF
23345 #define _LARGE_FILES $ac_cv_sys_large_files
23346 _ACEOF
23347
23348 fi
23349
23350 fi
23351
23352 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23353 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23354 if test "x$wx_largefile" = "xyes"; then
23355 cat >>confdefs.h <<\_ACEOF
23356 #define HAVE_LARGEFILE_SUPPORT 1
23357 _ACEOF
23358
23359 fi
23360 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23361 echo "${ECHO_T}$wx_largefile" >&6; }
23362 fi
23363
23364
23365 if test "x$wx_largefile" = "xyes"; then
23366 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23367 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23368
23369 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23370 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23371 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23372 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 else
23375
23376 ac_ext=cpp
23377 ac_cpp='$CXXCPP $CPPFLAGS'
23378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23381
23382 cat >conftest.$ac_ext <<_ACEOF
23383 /* confdefs.h. */
23384 _ACEOF
23385 cat confdefs.h >>conftest.$ac_ext
23386 cat >>conftest.$ac_ext <<_ACEOF
23387 /* end confdefs.h. */
23388
23389 int
23390 main ()
23391 {
23392
23393 #ifndef __STDC_EXT__
23394 choke me
23395 #endif
23396
23397 ;
23398 return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_cxx_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 wx_cv_STDC_EXT_required=no
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 wx_cv_STDC_EXT_required=yes
23424
23425 fi
23426
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433
23434
23435
23436 fi
23437 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23438 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23439 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23440 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23441 fi
23442 fi
23443 else
23444 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23445 fi
23446 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23447 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23448 if test "${ac_cv_sys_largefile_source+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 else
23451 while :; do
23452 cat >conftest.$ac_ext <<_ACEOF
23453 /* confdefs.h. */
23454 _ACEOF
23455 cat confdefs.h >>conftest.$ac_ext
23456 cat >>conftest.$ac_ext <<_ACEOF
23457 /* end confdefs.h. */
23458 #include <sys/types.h> /* for off_t */
23459 #include <stdio.h>
23460 int
23461 main ()
23462 {
23463 int (*fp) (FILE *, off_t, int) = fseeko;
23464 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23465 ;
23466 return 0;
23467 }
23468 _ACEOF
23469 rm -f conftest.$ac_objext conftest$ac_exeext
23470 if { (ac_try="$ac_link"
23471 case "(($ac_try" in
23472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23473 *) ac_try_echo=$ac_try;;
23474 esac
23475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23476 (eval "$ac_link") 2>conftest.er1
23477 ac_status=$?
23478 grep -v '^ *+' conftest.er1 >conftest.err
23479 rm -f conftest.er1
23480 cat conftest.err >&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } && {
23483 test -z "$ac_c_werror_flag" ||
23484 test ! -s conftest.err
23485 } && test -s conftest$ac_exeext &&
23486 $as_test_x conftest$ac_exeext; then
23487 ac_cv_sys_largefile_source=no; break
23488 else
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23491
23492
23493 fi
23494
23495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23496 conftest$ac_exeext conftest.$ac_ext
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 #define _LARGEFILE_SOURCE 1
23504 #include <sys/types.h> /* for off_t */
23505 #include <stdio.h>
23506 int
23507 main ()
23508 {
23509 int (*fp) (FILE *, off_t, int) = fseeko;
23510 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23511 ;
23512 return 0;
23513 }
23514 _ACEOF
23515 rm -f conftest.$ac_objext conftest$ac_exeext
23516 if { (ac_try="$ac_link"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_link") 2>conftest.er1
23523 ac_status=$?
23524 grep -v '^ *+' conftest.er1 >conftest.err
23525 rm -f conftest.er1
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest$ac_exeext &&
23532 $as_test_x conftest$ac_exeext; then
23533 ac_cv_sys_largefile_source=1; break
23534 else
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538
23539 fi
23540
23541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23542 conftest$ac_exeext conftest.$ac_ext
23543 ac_cv_sys_largefile_source=unknown
23544 break
23545 done
23546 fi
23547 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23548 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23549 case $ac_cv_sys_largefile_source in #(
23550 no | unknown) ;;
23551 *)
23552 cat >>confdefs.h <<_ACEOF
23553 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23554 _ACEOF
23555 ;;
23556 esac
23557 rm -f conftest*
23558
23559 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23560 # in glibc 2.1.3, but that breaks too many other things.
23561 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23562 if test $ac_cv_sys_largefile_source != unknown; then
23563
23564 cat >>confdefs.h <<\_ACEOF
23565 #define HAVE_FSEEKO 1
23566 _ACEOF
23567
23568 fi
23569
23570 if test "$ac_cv_sys_largefile_source" != no; then
23571 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23572 fi
23573 fi
23574
23575 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23576 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23577 if test "${ac_cv_c_bigendian+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 else
23580 ac_cv_c_bigendian=unknown
23581 # See if sys/param.h defines the BYTE_ORDER macro.
23582 cat >conftest.$ac_ext <<_ACEOF
23583 /* confdefs.h. */
23584 _ACEOF
23585 cat confdefs.h >>conftest.$ac_ext
23586 cat >>conftest.$ac_ext <<_ACEOF
23587 /* end confdefs.h. */
23588 #include <sys/types.h>
23589 #include <sys/param.h>
23590 int
23591 main ()
23592 {
23593
23594 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23595 bogus endian macros
23596 #endif
23597 ;
23598 return 0;
23599 }
23600 _ACEOF
23601 rm -f conftest.$ac_objext
23602 if { (ac_try="$ac_compile"
23603 case "(($ac_try" in
23604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23606 esac
23607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23608 (eval "$ac_compile") 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } && {
23615 test -z "$ac_c_werror_flag" ||
23616 test ! -s conftest.err
23617 } && test -s conftest.$ac_objext; then
23618 # It does; now see whether it defined to BIG_ENDIAN or not.
23619 cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h. */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 #include <sys/types.h>
23626 #include <sys/param.h>
23627 int
23628 main ()
23629 {
23630
23631 #if BYTE_ORDER != BIG_ENDIAN
23632 not big endian
23633 #endif
23634 ;
23635 return 0;
23636 }
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (ac_try="$ac_compile"
23640 case "(($ac_try" in
23641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23642 *) ac_try_echo=$ac_try;;
23643 esac
23644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23645 (eval "$ac_compile") 2>conftest.er1
23646 ac_status=$?
23647 grep -v '^ *+' conftest.er1 >conftest.err
23648 rm -f conftest.er1
23649 cat conftest.err >&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); } && {
23652 test -z "$ac_c_werror_flag" ||
23653 test ! -s conftest.err
23654 } && test -s conftest.$ac_objext; then
23655 ac_cv_c_bigendian=yes
23656 else
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 ac_cv_c_bigendian=no
23661 fi
23662
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 else
23665 echo "$as_me: failed program was:" >&5
23666 sed 's/^/| /' conftest.$ac_ext >&5
23667
23668
23669 fi
23670
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672 if test $ac_cv_c_bigendian = unknown; then
23673 if test "$cross_compiling" = yes; then
23674 ac_cv_c_bigendian=unknown
23675 else
23676 cat >conftest.$ac_ext <<_ACEOF
23677 /* confdefs.h. */
23678 _ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 main () {
23683 /* Are we little or big endian? From Harbison&Steele. */
23684 union
23685 {
23686 long l;
23687 char c[sizeof (long)];
23688 } u;
23689 u.l = 1;
23690 exit (u.c[sizeof (long) - 1] == 1);
23691 }
23692 _ACEOF
23693 rm -f conftest$ac_exeext
23694 if { (ac_try="$ac_link"
23695 case "(($ac_try" in
23696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23697 *) ac_try_echo=$ac_try;;
23698 esac
23699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23700 (eval "$ac_link") 2>&5
23701 ac_status=$?
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23704 { (case "(($ac_try" in
23705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23706 *) ac_try_echo=$ac_try;;
23707 esac
23708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23709 (eval "$ac_try") 2>&5
23710 ac_status=$?
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); }; }; then
23713 ac_cv_c_bigendian=no
23714 else
23715 echo "$as_me: program exited with status $ac_status" >&5
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23718
23719 ( exit $ac_status )
23720 ac_cv_c_bigendian=yes
23721 fi
23722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23723 fi
23724
23725
23726 fi
23727 fi
23728 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23729 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23730 if test $ac_cv_c_bigendian = unknown; then
23731 { 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
23732 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;}
23733 fi
23734 if test $ac_cv_c_bigendian = yes; then
23735 cat >>confdefs.h <<\_ACEOF
23736 #define WORDS_BIGENDIAN 1
23737 _ACEOF
23738
23739 fi
23740
23741
23742
23743
23744 ac_ext=cpp
23745 ac_cpp='$CXXCPP $CPPFLAGS'
23746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23749
23750
23751
23752 for ac_header in iostream
23753 do
23754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23755 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23759 else
23760 cat >conftest.$ac_ext <<_ACEOF
23761 /* confdefs.h. */
23762 _ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766
23767
23768 #include <$ac_header>
23769 _ACEOF
23770 rm -f conftest.$ac_objext
23771 if { (ac_try="$ac_compile"
23772 case "(($ac_try" in
23773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23774 *) ac_try_echo=$ac_try;;
23775 esac
23776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23777 (eval "$ac_compile") 2>conftest.er1
23778 ac_status=$?
23779 grep -v '^ *+' conftest.er1 >conftest.err
23780 rm -f conftest.er1
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } && {
23784 test -z "$ac_cxx_werror_flag" ||
23785 test ! -s conftest.err
23786 } && test -s conftest.$ac_objext; then
23787 eval "$as_ac_Header=yes"
23788 else
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23791
23792 eval "$as_ac_Header=no"
23793 fi
23794
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 fi
23797 ac_res=`eval echo '${'$as_ac_Header'}'`
23798 { echo "$as_me:$LINENO: result: $ac_res" >&5
23799 echo "${ECHO_T}$ac_res" >&6; }
23800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23801 cat >>confdefs.h <<_ACEOF
23802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23803 _ACEOF
23804
23805 fi
23806
23807 done
23808
23809
23810 if test "$ac_cv_header_iostream" = "yes" ; then
23811 :
23812 else
23813 cat >>confdefs.h <<\_ACEOF
23814 #define wxUSE_IOSTREAMH 1
23815 _ACEOF
23816
23817 fi
23818
23819 ac_ext=c
23820 ac_cpp='$CPP $CPPFLAGS'
23821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824
23825
23826
23827
23828 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23829 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23830 if test "${wx_cv_cpp_bool+set}" = set; then
23831 echo $ECHO_N "(cached) $ECHO_C" >&6
23832 else
23833
23834
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840
23841
23842 cat >conftest.$ac_ext <<_ACEOF
23843 /* confdefs.h. */
23844 _ACEOF
23845 cat confdefs.h >>conftest.$ac_ext
23846 cat >>conftest.$ac_ext <<_ACEOF
23847 /* end confdefs.h. */
23848
23849
23850 int
23851 main ()
23852 {
23853
23854 bool b = true;
23855
23856 return 0;
23857
23858 ;
23859 return 0;
23860 }
23861 _ACEOF
23862 rm -f conftest.$ac_objext
23863 if { (ac_try="$ac_compile"
23864 case "(($ac_try" in
23865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23866 *) ac_try_echo=$ac_try;;
23867 esac
23868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23869 (eval "$ac_compile") 2>conftest.er1
23870 ac_status=$?
23871 grep -v '^ *+' conftest.er1 >conftest.err
23872 rm -f conftest.er1
23873 cat conftest.err >&5
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); } && {
23876 test -z "$ac_cxx_werror_flag" ||
23877 test ! -s conftest.err
23878 } && test -s conftest.$ac_objext; then
23879
23880 wx_cv_cpp_bool=yes
23881
23882 else
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23885
23886
23887 wx_cv_cpp_bool=no
23888
23889
23890 fi
23891
23892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23893
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899
23900
23901 fi
23902 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23903 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23904
23905 if test "$wx_cv_cpp_bool" = "yes"; then
23906 cat >>confdefs.h <<\_ACEOF
23907 #define HAVE_BOOL 1
23908 _ACEOF
23909
23910 fi
23911
23912
23913
23914 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23915 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23916 if test "${wx_cv_explicit+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 else
23919
23920
23921 ac_ext=cpp
23922 ac_cpp='$CXXCPP $CPPFLAGS'
23923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23926
23927
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934
23935 class Foo { public: explicit Foo(int) {} };
23936
23937 int
23938 main ()
23939 {
23940
23941 return 0;
23942
23943 ;
23944 return 0;
23945 }
23946 _ACEOF
23947 rm -f conftest.$ac_objext
23948 if { (ac_try="$ac_compile"
23949 case "(($ac_try" in
23950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23951 *) ac_try_echo=$ac_try;;
23952 esac
23953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23954 (eval "$ac_compile") 2>conftest.er1
23955 ac_status=$?
23956 grep -v '^ *+' conftest.er1 >conftest.err
23957 rm -f conftest.er1
23958 cat conftest.err >&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } && {
23961 test -z "$ac_cxx_werror_flag" ||
23962 test ! -s conftest.err
23963 } && test -s conftest.$ac_objext; then
23964
23965 cat >conftest.$ac_ext <<_ACEOF
23966 /* confdefs.h. */
23967 _ACEOF
23968 cat confdefs.h >>conftest.$ac_ext
23969 cat >>conftest.$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23971
23972 class Foo { public: explicit Foo(int) {} };
23973 static void TakeFoo(const Foo& foo) { }
23974
23975 int
23976 main ()
23977 {
23978
23979 TakeFoo(17);
23980 return 0;
23981
23982 ;
23983 return 0;
23984 }
23985 _ACEOF
23986 rm -f conftest.$ac_objext
23987 if { (ac_try="$ac_compile"
23988 case "(($ac_try" in
23989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23991 esac
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_compile") 2>conftest.er1
23994 ac_status=$?
23995 grep -v '^ *+' conftest.er1 >conftest.err
23996 rm -f conftest.er1
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && {
24000 test -z "$ac_cxx_werror_flag" ||
24001 test ! -s conftest.err
24002 } && test -s conftest.$ac_objext; then
24003 wx_cv_explicit=no
24004 else
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5
24007
24008 wx_cv_explicit=yes
24009
24010 fi
24011
24012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24013
24014 else
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.$ac_ext >&5
24017
24018 wx_cv_explicit=no
24019
24020 fi
24021
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023
24024 ac_ext=c
24025 ac_cpp='$CPP $CPPFLAGS'
24026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24029
24030
24031 fi
24032 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24033 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24034
24035 if test "$wx_cv_explicit" = "yes"; then
24036 cat >>confdefs.h <<\_ACEOF
24037 #define HAVE_EXPLICIT 1
24038 _ACEOF
24039
24040 fi
24041
24042
24043 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24044 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24045 if test "${ac_cv_cxx_const_cast+set}" = set; then
24046 echo $ECHO_N "(cached) $ECHO_C" >&6
24047 else
24048
24049 ac_ext=cpp
24050 ac_cpp='$CXXCPP $CPPFLAGS'
24051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24054
24055 cat >conftest.$ac_ext <<_ACEOF
24056 /* confdefs.h. */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061
24062 int
24063 main ()
24064 {
24065 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24066 ;
24067 return 0;
24068 }
24069 _ACEOF
24070 rm -f conftest.$ac_objext
24071 if { (ac_try="$ac_compile"
24072 case "(($ac_try" in
24073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24074 *) ac_try_echo=$ac_try;;
24075 esac
24076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24077 (eval "$ac_compile") 2>conftest.er1
24078 ac_status=$?
24079 grep -v '^ *+' conftest.er1 >conftest.err
24080 rm -f conftest.er1
24081 cat conftest.err >&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } && {
24084 test -z "$ac_cxx_werror_flag" ||
24085 test ! -s conftest.err
24086 } && test -s conftest.$ac_objext; then
24087 ac_cv_cxx_const_cast=yes
24088 else
24089 echo "$as_me: failed program was:" >&5
24090 sed 's/^/| /' conftest.$ac_ext >&5
24091
24092 ac_cv_cxx_const_cast=no
24093 fi
24094
24095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24096 ac_ext=c
24097 ac_cpp='$CPP $CPPFLAGS'
24098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24101
24102
24103 fi
24104 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24105 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24106 if test "$ac_cv_cxx_const_cast" = yes; then
24107
24108 cat >>confdefs.h <<\_ACEOF
24109 #define HAVE_CONST_CAST
24110 _ACEOF
24111
24112 fi
24113
24114 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24115 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24116 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 else
24119
24120 ac_ext=cpp
24121 ac_cpp='$CXXCPP $CPPFLAGS'
24122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24125
24126 cat >conftest.$ac_ext <<_ACEOF
24127 /* confdefs.h. */
24128 _ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 #include <typeinfo>
24133 class Base { public : Base () {} virtual void f () = 0;};
24134 class Derived : public Base { public : Derived () {} virtual void f () {} };
24135 class Unrelated { public : Unrelated () {} };
24136 int g (Unrelated&) { return 0; }
24137 int
24138 main ()
24139 {
24140
24141 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24142 ;
24143 return 0;
24144 }
24145 _ACEOF
24146 rm -f conftest.$ac_objext
24147 if { (ac_try="$ac_compile"
24148 case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24151 esac
24152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_compile") 2>conftest.er1
24154 ac_status=$?
24155 grep -v '^ *+' conftest.er1 >conftest.err
24156 rm -f conftest.er1
24157 cat conftest.err >&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } && {
24160 test -z "$ac_cxx_werror_flag" ||
24161 test ! -s conftest.err
24162 } && test -s conftest.$ac_objext; then
24163 ac_cv_cxx_reinterpret_cast=yes
24164 else
24165 echo "$as_me: failed program was:" >&5
24166 sed 's/^/| /' conftest.$ac_ext >&5
24167
24168 ac_cv_cxx_reinterpret_cast=no
24169 fi
24170
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24177
24178
24179 fi
24180 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24181 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24182 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24183
24184 cat >>confdefs.h <<\_ACEOF
24185 #define HAVE_REINTERPRET_CAST
24186 _ACEOF
24187
24188 fi
24189
24190 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24191 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24192 if test "${ac_cv_cxx_static_cast+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195
24196 ac_ext=cpp
24197 ac_cpp='$CXXCPP $CPPFLAGS'
24198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24201
24202 cat >conftest.$ac_ext <<_ACEOF
24203 /* confdefs.h. */
24204 _ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24208 #include <typeinfo>
24209 class Base { public : Base () {} virtual void f () = 0; };
24210 class Derived : public Base { public : Derived () {} virtual void f () {} };
24211 int g (Derived&) { return 0; }
24212 int
24213 main ()
24214 {
24215
24216 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24217 ;
24218 return 0;
24219 }
24220 _ACEOF
24221 rm -f conftest.$ac_objext
24222 if { (ac_try="$ac_compile"
24223 case "(($ac_try" in
24224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225 *) ac_try_echo=$ac_try;;
24226 esac
24227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24228 (eval "$ac_compile") 2>conftest.er1
24229 ac_status=$?
24230 grep -v '^ *+' conftest.er1 >conftest.err
24231 rm -f conftest.er1
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && {
24235 test -z "$ac_cxx_werror_flag" ||
24236 test ! -s conftest.err
24237 } && test -s conftest.$ac_objext; then
24238 ac_cv_cxx_static_cast=yes
24239 else
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243 ac_cv_cxx_static_cast=no
24244 fi
24245
24246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247 ac_ext=c
24248 ac_cpp='$CPP $CPPFLAGS'
24249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24252
24253
24254 fi
24255 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24256 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24257 if test "$ac_cv_cxx_static_cast" = yes; then
24258
24259 cat >>confdefs.h <<\_ACEOF
24260 #define HAVE_STATIC_CAST
24261 _ACEOF
24262
24263 fi
24264
24265
24266 if test "x$SUNCXX" = xyes; then
24267 CXXFLAGS="-features=tmplife $CXXFLAGS"
24268 fi
24269
24270 if test "x$SUNCC" = xyes; then
24271 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24272 fi
24273
24274 if test "x$SGICC" = "xyes"; then
24275 CFLAGS="-woff 3970 $CFLAGS"
24276 fi
24277 if test "x$SGICXX" = "xyes"; then
24278 CXXFLAGS="-woff 3970 $CXXFLAGS"
24279 fi
24280
24281 if test "x$HPCC" = "xyes"; then
24282 CFLAGS="+W 2011,2450 $CFLAGS"
24283 fi
24284 if test "x$HPCXX" = "xyes"; then
24285 CXXFLAGS="+W 2340 $CXXFLAGS"
24286 fi
24287
24288 if test "x$COMPAQCXX" = "xyes"; then
24289 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24290 fi
24291
24292 ac_ext=cpp
24293 ac_cpp='$CXXCPP $CPPFLAGS'
24294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24297
24298
24299 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24300 if test "$wxUSE_UNICODE" = "yes"; then
24301 std_string="std::wstring"
24302 char_type="wchar_t"
24303 else
24304 std_string="std::string"
24305 char_type="char"
24306 fi
24307
24308 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24309 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24310 if test "${wx_cv_class_stdstring+set}" = set; then
24311 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 else
24313
24314 cat >conftest.$ac_ext <<_ACEOF
24315 /* confdefs.h. */
24316 _ACEOF
24317 cat confdefs.h >>conftest.$ac_ext
24318 cat >>conftest.$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 #include <string>
24321 int
24322 main ()
24323 {
24324 $std_string foo;
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 rm -f conftest.$ac_objext
24330 if { (ac_try="$ac_compile"
24331 case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24334 esac
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_compile") 2>conftest.er1
24337 ac_status=$?
24338 grep -v '^ *+' conftest.er1 >conftest.err
24339 rm -f conftest.er1
24340 cat conftest.err >&5
24341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342 (exit $ac_status); } && {
24343 test -z "$ac_cxx_werror_flag" ||
24344 test ! -s conftest.err
24345 } && test -s conftest.$ac_objext; then
24346 wx_cv_class_stdstring=yes
24347 else
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24350
24351 wx_cv_class_stdstring=no
24352
24353 fi
24354
24355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24356
24357
24358 fi
24359 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24360 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24361
24362 if test "$wx_cv_class_stdstring" = yes; then
24363 if test "$wxUSE_UNICODE" = "yes"; then
24364 cat >>confdefs.h <<\_ACEOF
24365 #define HAVE_STD_WSTRING 1
24366 _ACEOF
24367
24368 fi
24369 else
24370 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24371 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24372 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24373 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 else
24375
24376 cat >conftest.$ac_ext <<_ACEOF
24377 /* confdefs.h. */
24378 _ACEOF
24379 cat confdefs.h >>conftest.$ac_ext
24380 cat >>conftest.$ac_ext <<_ACEOF
24381 /* end confdefs.h. */
24382
24383 #ifdef HAVE_WCHAR_H
24384 # ifdef __CYGWIN__
24385 # include <stddef.h>
24386 # endif
24387 # include <wchar.h>
24388 #endif
24389 #ifdef HAVE_STDLIB_H
24390 # include <stdlib.h>
24391 #endif
24392 #include <stdio.h>
24393 #include <string>
24394
24395 int
24396 main ()
24397 {
24398 std::basic_string<$char_type> foo;
24399 const $char_type* dummy = foo.c_str();
24400 ;
24401 return 0;
24402 }
24403 _ACEOF
24404 rm -f conftest.$ac_objext
24405 if { (ac_try="$ac_compile"
24406 case "(($ac_try" in
24407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24408 *) ac_try_echo=$ac_try;;
24409 esac
24410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24411 (eval "$ac_compile") 2>conftest.er1
24412 ac_status=$?
24413 grep -v '^ *+' conftest.er1 >conftest.err
24414 rm -f conftest.er1
24415 cat conftest.err >&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } && {
24418 test -z "$ac_cxx_werror_flag" ||
24419 test ! -s conftest.err
24420 } && test -s conftest.$ac_objext; then
24421 wx_cv_class_stdbasicstring=yes
24422 else
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.$ac_ext >&5
24425
24426 wx_cv_class_stdbasicstring=no
24427
24428 fi
24429
24430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24431
24432
24433 fi
24434 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24435 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24436
24437 if test "$wx_cv_class_stdbasicstring" != yes; then
24438 if test "$wxUSE_STL" = "yes"; then
24439 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24440 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24441 { (exit 1); exit 1; }; }
24442 elif test "$wxUSE_STD_STRING" = "yes"; then
24443 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24444 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24445 { (exit 1); exit 1; }; }
24446 else
24447 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24448 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24449 wxUSE_STD_STRING=no
24450 fi
24451 fi
24452 fi
24453 fi
24454
24455 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24456 { echo "$as_me:$LINENO: checking for std::istream" >&5
24457 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24458 if test "${ac_cv_type_std__istream+set}" = set; then
24459 echo $ECHO_N "(cached) $ECHO_C" >&6
24460 else
24461 cat >conftest.$ac_ext <<_ACEOF
24462 /* confdefs.h. */
24463 _ACEOF
24464 cat confdefs.h >>conftest.$ac_ext
24465 cat >>conftest.$ac_ext <<_ACEOF
24466 /* end confdefs.h. */
24467 #include <iostream>
24468
24469 typedef std::istream ac__type_new_;
24470 int
24471 main ()
24472 {
24473 if ((ac__type_new_ *) 0)
24474 return 0;
24475 if (sizeof (ac__type_new_))
24476 return 0;
24477 ;
24478 return 0;
24479 }
24480 _ACEOF
24481 rm -f conftest.$ac_objext
24482 if { (ac_try="$ac_compile"
24483 case "(($ac_try" in
24484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24485 *) ac_try_echo=$ac_try;;
24486 esac
24487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24488 (eval "$ac_compile") 2>conftest.er1
24489 ac_status=$?
24490 grep -v '^ *+' conftest.er1 >conftest.err
24491 rm -f conftest.er1
24492 cat conftest.err >&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); } && {
24495 test -z "$ac_cxx_werror_flag" ||
24496 test ! -s conftest.err
24497 } && test -s conftest.$ac_objext; then
24498 ac_cv_type_std__istream=yes
24499 else
24500 echo "$as_me: failed program was:" >&5
24501 sed 's/^/| /' conftest.$ac_ext >&5
24502
24503 ac_cv_type_std__istream=no
24504 fi
24505
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 fi
24508 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24509 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24510 if test $ac_cv_type_std__istream = yes; then
24511
24512 cat >>confdefs.h <<_ACEOF
24513 #define HAVE_STD__ISTREAM 1
24514 _ACEOF
24515
24516
24517 else
24518 wxUSE_STD_IOSTREAM=no
24519 fi
24520 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24521 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24522 if test "${ac_cv_type_std__ostream+set}" = set; then
24523 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 else
24525 cat >conftest.$ac_ext <<_ACEOF
24526 /* confdefs.h. */
24527 _ACEOF
24528 cat confdefs.h >>conftest.$ac_ext
24529 cat >>conftest.$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24531 #include <iostream>
24532
24533 typedef std::ostream ac__type_new_;
24534 int
24535 main ()
24536 {
24537 if ((ac__type_new_ *) 0)
24538 return 0;
24539 if (sizeof (ac__type_new_))
24540 return 0;
24541 ;
24542 return 0;
24543 }
24544 _ACEOF
24545 rm -f conftest.$ac_objext
24546 if { (ac_try="$ac_compile"
24547 case "(($ac_try" in
24548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24549 *) ac_try_echo=$ac_try;;
24550 esac
24551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24552 (eval "$ac_compile") 2>conftest.er1
24553 ac_status=$?
24554 grep -v '^ *+' conftest.er1 >conftest.err
24555 rm -f conftest.er1
24556 cat conftest.err >&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } && {
24559 test -z "$ac_cxx_werror_flag" ||
24560 test ! -s conftest.err
24561 } && test -s conftest.$ac_objext; then
24562 ac_cv_type_std__ostream=yes
24563 else
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.$ac_ext >&5
24566
24567 ac_cv_type_std__ostream=no
24568 fi
24569
24570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24571 fi
24572 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24573 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24574 if test $ac_cv_type_std__ostream = yes; then
24575
24576 cat >>confdefs.h <<_ACEOF
24577 #define HAVE_STD__OSTREAM 1
24578 _ACEOF
24579
24580
24581 else
24582 wxUSE_STD_IOSTREAM=no
24583 fi
24584
24585
24586 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24587 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24588 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24589 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24590 { (exit 1); exit 1; }; }
24591 else
24592 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24593 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24594 fi
24595 fi
24596 fi
24597
24598 if test "$wxUSE_STL" = "yes"; then
24599 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24600 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24601 if test "${wx_cv_lib_stl+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24604 cat >conftest.$ac_ext <<_ACEOF
24605 /* confdefs.h. */
24606 _ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610 #include <string>
24611 #include <functional>
24612 #include <algorithm>
24613 #include <vector>
24614 #include <list>
24615 int
24616 main ()
24617 {
24618 std::vector<int> moo;
24619 std::list<int> foo;
24620 std::vector<int>::iterator it =
24621 std::find_if(moo.begin(), moo.end(),
24622 std::bind2nd(std::less<int>(), 3));
24623 ;
24624 return 0;
24625 }
24626 _ACEOF
24627 rm -f conftest.$ac_objext
24628 if { (ac_try="$ac_compile"
24629 case "(($ac_try" in
24630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24631 *) ac_try_echo=$ac_try;;
24632 esac
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_compile") 2>conftest.er1
24635 ac_status=$?
24636 grep -v '^ *+' conftest.er1 >conftest.err
24637 rm -f conftest.er1
24638 cat conftest.err >&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); } && {
24641 test -z "$ac_cxx_werror_flag" ||
24642 test ! -s conftest.err
24643 } && test -s conftest.$ac_objext; then
24644 wx_cv_lib_stl=yes
24645 else
24646 echo "$as_me: failed program was:" >&5
24647 sed 's/^/| /' conftest.$ac_ext >&5
24648
24649 wx_cv_lib_stl=no
24650
24651 fi
24652
24653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24654
24655 fi
24656 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24657 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24658
24659 if test "$wx_cv_lib_stl" != yes; then
24660 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24661 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24662 { (exit 1); exit 1; }; }
24663 fi
24664
24665 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24666 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24667 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 else
24670 cat >conftest.$ac_ext <<_ACEOF
24671 /* confdefs.h. */
24672 _ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24676 #include <string>
24677 int
24678 main ()
24679 {
24680 std::string foo, bar;
24681 foo.compare(bar);
24682 foo.compare(1, 1, bar);
24683 foo.compare(1, 1, bar, 1, 1);
24684 foo.compare("");
24685 foo.compare(1, 1, "");
24686 foo.compare(1, 1, "", 2);
24687 ;
24688 return 0;
24689 }
24690 _ACEOF
24691 rm -f conftest.$ac_objext
24692 if { (ac_try="$ac_compile"
24693 case "(($ac_try" in
24694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24695 *) ac_try_echo=$ac_try;;
24696 esac
24697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24698 (eval "$ac_compile") 2>conftest.er1
24699 ac_status=$?
24700 grep -v '^ *+' conftest.er1 >conftest.err
24701 rm -f conftest.er1
24702 cat conftest.err >&5
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); } && {
24705 test -z "$ac_cxx_werror_flag" ||
24706 test ! -s conftest.err
24707 } && test -s conftest.$ac_objext; then
24708 wx_cv_func_stdstring_compare=yes
24709 else
24710 echo "$as_me: failed program was:" >&5
24711 sed 's/^/| /' conftest.$ac_ext >&5
24712
24713 wx_cv_func_stdstring_compare=no
24714
24715 fi
24716
24717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718
24719 fi
24720 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24721 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24722
24723 if test "$wx_cv_func_stdstring_compare" = yes; then
24724 cat >>confdefs.h <<\_ACEOF
24725 #define HAVE_STD_STRING_COMPARE 1
24726 _ACEOF
24727
24728 fi
24729
24730 if test "$wx_cv_class_gnuhashmapset" = yes; then
24731 cat >>confdefs.h <<\_ACEOF
24732 #define HAVE_EXT_HASH_MAP 1
24733 _ACEOF
24734
24735 cat >>confdefs.h <<\_ACEOF
24736 #define HAVE_GNU_CXX_HASH_MAP 1
24737 _ACEOF
24738
24739 fi
24740
24741 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24742 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24743 if test "${ac_cv_header_unordered_map+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24745 else
24746 cat >conftest.$ac_ext <<_ACEOF
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752
24753
24754
24755 #include <unordered_map>
24756 _ACEOF
24757 rm -f conftest.$ac_objext
24758 if { (ac_try="$ac_compile"
24759 case "(($ac_try" in
24760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24761 *) ac_try_echo=$ac_try;;
24762 esac
24763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24764 (eval "$ac_compile") 2>conftest.er1
24765 ac_status=$?
24766 grep -v '^ *+' conftest.er1 >conftest.err
24767 rm -f conftest.er1
24768 cat conftest.err >&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } && {
24771 test -z "$ac_cxx_werror_flag" ||
24772 test ! -s conftest.err
24773 } && test -s conftest.$ac_objext; then
24774 ac_cv_header_unordered_map=yes
24775 else
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.$ac_ext >&5
24778
24779 ac_cv_header_unordered_map=no
24780 fi
24781
24782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 fi
24784 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24785 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24786 if test $ac_cv_header_unordered_map = yes; then
24787 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24788 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24789 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792 cat >conftest.$ac_ext <<_ACEOF
24793 /* confdefs.h. */
24794 _ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798 #include <unordered_map>
24799 #include <unordered_set>
24800 int
24801 main ()
24802 {
24803 std::unordered_map<double*, char*> test1;
24804 std::unordered_set<char*> test2;
24805 ;
24806 return 0;
24807 }
24808 _ACEOF
24809 rm -f conftest.$ac_objext
24810 if { (ac_try="$ac_compile"
24811 case "(($ac_try" in
24812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24813 *) ac_try_echo=$ac_try;;
24814 esac
24815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24816 (eval "$ac_compile") 2>conftest.er1
24817 ac_status=$?
24818 grep -v '^ *+' conftest.er1 >conftest.err
24819 rm -f conftest.er1
24820 cat conftest.err >&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } && {
24823 test -z "$ac_cxx_werror_flag" ||
24824 test ! -s conftest.err
24825 } && test -s conftest.$ac_objext; then
24826 wx_cv_class_stdunorderedmapset=yes
24827 else
24828 echo "$as_me: failed program was:" >&5
24829 sed 's/^/| /' conftest.$ac_ext >&5
24830
24831 wx_cv_class_stdunorderedmapset=no
24832 fi
24833
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835
24836
24837 fi
24838 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24839 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24840 fi
24841
24842
24843
24844 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24845 cat >>confdefs.h <<\_ACEOF
24846 #define HAVE_STD_UNORDERED_MAP 1
24847 _ACEOF
24848
24849 cat >>confdefs.h <<\_ACEOF
24850 #define HAVE_STD_UNORDERED_SET 1
24851 _ACEOF
24852
24853 else
24854 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24855 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24856 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24858 else
24859 cat >conftest.$ac_ext <<_ACEOF
24860 /* confdefs.h. */
24861 _ACEOF
24862 cat confdefs.h >>conftest.$ac_ext
24863 cat >>conftest.$ac_ext <<_ACEOF
24864 /* end confdefs.h. */
24865
24866
24867
24868 #include <tr1/unordered_map>
24869 _ACEOF
24870 rm -f conftest.$ac_objext
24871 if { (ac_try="$ac_compile"
24872 case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24875 esac
24876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24877 (eval "$ac_compile") 2>conftest.er1
24878 ac_status=$?
24879 grep -v '^ *+' conftest.er1 >conftest.err
24880 rm -f conftest.er1
24881 cat conftest.err >&5
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); } && {
24884 test -z "$ac_cxx_werror_flag" ||
24885 test ! -s conftest.err
24886 } && test -s conftest.$ac_objext; then
24887 ac_cv_header_tr1_unordered_map=yes
24888 else
24889 echo "$as_me: failed program was:" >&5
24890 sed 's/^/| /' conftest.$ac_ext >&5
24891
24892 ac_cv_header_tr1_unordered_map=no
24893 fi
24894
24895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24896 fi
24897 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24898 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24899 if test $ac_cv_header_tr1_unordered_map = yes; then
24900 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24901 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24902 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24904 else
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 #include <tr1/unordered_map>
24912 #include <tr1/unordered_set>
24913 int
24914 main ()
24915 {
24916 std::tr1::unordered_map<double*, char*> test1;
24917 std::tr1::unordered_set<char*> test2;
24918 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24919 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24920 #endif
24921 ;
24922 return 0;
24923 }
24924 _ACEOF
24925 rm -f conftest.$ac_objext
24926 if { (ac_try="$ac_compile"
24927 case "(($ac_try" in
24928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24929 *) ac_try_echo=$ac_try;;
24930 esac
24931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24932 (eval "$ac_compile") 2>conftest.er1
24933 ac_status=$?
24934 grep -v '^ *+' conftest.er1 >conftest.err
24935 rm -f conftest.er1
24936 cat conftest.err >&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } && {
24939 test -z "$ac_cxx_werror_flag" ||
24940 test ! -s conftest.err
24941 } && test -s conftest.$ac_objext; then
24942 wx_cv_class_tr1unorderedmapset=yes
24943 else
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5
24946
24947 wx_cv_class_tr1unorderedmapset=no
24948 fi
24949
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24951
24952
24953 fi
24954 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24955 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24956 fi
24957
24958
24959
24960 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24961 cat >>confdefs.h <<\_ACEOF
24962 #define HAVE_TR1_UNORDERED_MAP 1
24963 _ACEOF
24964
24965 cat >>confdefs.h <<\_ACEOF
24966 #define HAVE_TR1_UNORDERED_SET 1
24967 _ACEOF
24968
24969 else
24970 { echo "$as_me:$LINENO: checking for hash_map" >&5
24971 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24972 if test "${ac_cv_header_hash_map+set}" = set; then
24973 echo $ECHO_N "(cached) $ECHO_C" >&6
24974 else
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981
24982
24983
24984 #include <hash_map>
24985 _ACEOF
24986 rm -f conftest.$ac_objext
24987 if { (ac_try="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24991 esac
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_cxx_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25003 ac_cv_header_hash_map=yes
25004 else
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 ac_cv_header_hash_map=no
25009 fi
25010
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25012 fi
25013 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25014 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25015 if test $ac_cv_header_hash_map = yes; then
25016 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25017 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25018 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25019 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 else
25021 cat >conftest.$ac_ext <<_ACEOF
25022 /* confdefs.h. */
25023 _ACEOF
25024 cat confdefs.h >>conftest.$ac_ext
25025 cat >>conftest.$ac_ext <<_ACEOF
25026 /* end confdefs.h. */
25027 #include <hash_map>
25028 #include <hash_set>
25029 int
25030 main ()
25031 {
25032 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25033 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25034 ;
25035 return 0;
25036 }
25037 _ACEOF
25038 rm -f conftest.$ac_objext
25039 if { (ac_try="$ac_compile"
25040 case "(($ac_try" in
25041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25042 *) ac_try_echo=$ac_try;;
25043 esac
25044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25045 (eval "$ac_compile") 2>conftest.er1
25046 ac_status=$?
25047 grep -v '^ *+' conftest.er1 >conftest.err
25048 rm -f conftest.er1
25049 cat conftest.err >&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } && {
25052 test -z "$ac_cxx_werror_flag" ||
25053 test ! -s conftest.err
25054 } && test -s conftest.$ac_objext; then
25055 wx_cv_class_stdhashmapset=yes
25056 else
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.$ac_ext >&5
25059
25060 wx_cv_class_stdhashmapset=no
25061 fi
25062
25063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25064
25065
25066 fi
25067 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25068 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25069 fi
25070
25071
25072
25073 if test "$wx_cv_class_stdhashmapset" = yes; then
25074 cat >>confdefs.h <<\_ACEOF
25075 #define HAVE_HASH_MAP 1
25076 _ACEOF
25077
25078 cat >>confdefs.h <<\_ACEOF
25079 #define HAVE_STD_HASH_MAP 1
25080 _ACEOF
25081
25082 fi
25083
25084 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25085 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25086 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25087 echo $ECHO_N "(cached) $ECHO_C" >&6
25088 else
25089 cat >conftest.$ac_ext <<_ACEOF
25090 /* confdefs.h. */
25091 _ACEOF
25092 cat confdefs.h >>conftest.$ac_ext
25093 cat >>conftest.$ac_ext <<_ACEOF
25094 /* end confdefs.h. */
25095
25096
25097
25098 #include <ext/hash_map>
25099 _ACEOF
25100 rm -f conftest.$ac_objext
25101 if { (ac_try="$ac_compile"
25102 case "(($ac_try" in
25103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25104 *) ac_try_echo=$ac_try;;
25105 esac
25106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25107 (eval "$ac_compile") 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } && {
25114 test -z "$ac_cxx_werror_flag" ||
25115 test ! -s conftest.err
25116 } && test -s conftest.$ac_objext; then
25117 ac_cv_header_ext_hash_map=yes
25118 else
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25121
25122 ac_cv_header_ext_hash_map=no
25123 fi
25124
25125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126 fi
25127 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25128 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25129 if test $ac_cv_header_ext_hash_map = yes; then
25130 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25131 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25132 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 else
25135 cat >conftest.$ac_ext <<_ACEOF
25136 /* confdefs.h. */
25137 _ACEOF
25138 cat confdefs.h >>conftest.$ac_ext
25139 cat >>conftest.$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25141 #include <ext/hash_map>
25142 #include <ext/hash_set>
25143 int
25144 main ()
25145 {
25146 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25147 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25148 ;
25149 return 0;
25150 }
25151 _ACEOF
25152 rm -f conftest.$ac_objext
25153 if { (ac_try="$ac_compile"
25154 case "(($ac_try" in
25155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25156 *) ac_try_echo=$ac_try;;
25157 esac
25158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25159 (eval "$ac_compile") 2>conftest.er1
25160 ac_status=$?
25161 grep -v '^ *+' conftest.er1 >conftest.err
25162 rm -f conftest.er1
25163 cat conftest.err >&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } && {
25166 test -z "$ac_cxx_werror_flag" ||
25167 test ! -s conftest.err
25168 } && test -s conftest.$ac_objext; then
25169 wx_cv_class_gnuhashmapset=yes
25170 else
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.$ac_ext >&5
25173
25174 wx_cv_class_gnuhashmapset=no
25175 fi
25176
25177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25178
25179
25180 fi
25181 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25182 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25183 fi
25184
25185
25186
25187 fi
25188 fi
25189 fi
25190
25191
25192
25193 if test -n "$GCC"; then
25194 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25195 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25196 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25198 else
25199
25200 cat >conftest.$ac_ext <<_ACEOF
25201 /* confdefs.h. */
25202 _ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25206
25207 int
25208 main ()
25209 {
25210
25211 unsigned int value=0;
25212 /* wxAtomicInc doesn't use return value here */
25213 __sync_fetch_and_add(&value, 2);
25214 __sync_sub_and_fetch(&value, 1);
25215 /* but wxAtomicDec does, so mimic that: */
25216 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25217
25218 ;
25219 return 0;
25220 }
25221 _ACEOF
25222 rm -f conftest.$ac_objext conftest$ac_exeext
25223 if { (ac_try="$ac_link"
25224 case "(($ac_try" in
25225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25226 *) ac_try_echo=$ac_try;;
25227 esac
25228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25229 (eval "$ac_link") 2>conftest.er1
25230 ac_status=$?
25231 grep -v '^ *+' conftest.er1 >conftest.err
25232 rm -f conftest.er1
25233 cat conftest.err >&5
25234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25235 (exit $ac_status); } && {
25236 test -z "$ac_cxx_werror_flag" ||
25237 test ! -s conftest.err
25238 } && test -s conftest$ac_exeext &&
25239 $as_test_x conftest$ac_exeext; then
25240 wx_cv_cc_gcc_atomic_builtins=yes
25241 else
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.$ac_ext >&5
25244
25245 wx_cv_cc_gcc_atomic_builtins=no
25246 fi
25247
25248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25249 conftest$ac_exeext conftest.$ac_ext
25250
25251 fi
25252
25253 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25254 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25255 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25256 cat >>confdefs.h <<\_ACEOF
25257 #define HAVE_GCC_ATOMIC_BUILTINS 1
25258 _ACEOF
25259
25260 fi
25261 fi
25262
25263
25264 ac_ext=c
25265 ac_cpp='$CPP $CPPFLAGS'
25266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25269
25270
25271
25272 SEARCH_INCLUDE="\
25273 /usr/local/include \
25274 /usr/local/X11/include \
25275 /usr/local/include/X11 \
25276 /usr/local/X11R6/include \
25277 /usr/local/include/X11R6 \
25278 \
25279 /usr/Motif-2.1/include \
25280 /usr/Motif-1.2/include \
25281 /usr/include/Motif1.2 \
25282 \
25283 /usr/dt/include \
25284 /usr/openwin/include \
25285 \
25286 /usr/include/Xm \
25287 \
25288 /usr/X11R6/include \
25289 /usr/X11R6.4/include \
25290 \
25291 /usr/include/X11R6 \
25292 \
25293 /usr/X11/include \
25294 /usr/include/X11 \
25295 \
25296 /usr/XFree86/include/X11 \
25297 /usr/pkg/include \
25298 \
25299 /usr/local/X1R5/include \
25300 /usr/local/include/X11R5 \
25301 /usr/X11R5/include \
25302 /usr/include/X11R5 \
25303 \
25304 /usr/local/X11R4/include \
25305 /usr/local/include/X11R4 \
25306 /usr/X11R4/include \
25307 /usr/include/X11R4 \
25308 \
25309 /usr/openwin/share/include"
25310
25311 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25312 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25313
25314 case "${host}" in
25315 *-*-irix6* )
25316 if test "${wx_cv_std_libpath+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 else
25319
25320 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25321 for e in a so sl dylib dll.a; do
25322 libc="$d/libc.$e"
25323 if test -f $libc; then
25324 save_LIBS="$LIBS"
25325 LIBS="$libc"
25326 cat >conftest.$ac_ext <<_ACEOF
25327 int main() { return 0; }
25328 _ACEOF
25329 rm -f conftest.$ac_objext conftest$ac_exeext
25330 if { (ac_try="$ac_link"
25331 case "(($ac_try" in
25332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25333 *) ac_try_echo=$ac_try;;
25334 esac
25335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25336 (eval "$ac_link") 2>conftest.er1
25337 ac_status=$?
25338 grep -v '^ *+' conftest.er1 >conftest.err
25339 rm -f conftest.er1
25340 cat conftest.err >&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } && {
25343 test -z "$ac_c_werror_flag" ||
25344 test ! -s conftest.err
25345 } && test -s conftest$ac_exeext &&
25346 $as_test_x conftest$ac_exeext; then
25347 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25348 else
25349 echo "$as_me: failed program was:" >&5
25350 sed 's/^/| /' conftest.$ac_ext >&5
25351
25352
25353 fi
25354
25355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25356 conftest$ac_exeext conftest.$ac_ext
25357 LIBS="$save_LIBS"
25358 if test "x$wx_cv_std_libpath" != "x"; then
25359 break 2
25360 fi
25361 fi
25362 done
25363 done
25364 if test "x$wx_cv_std_libpath" = "x"; then
25365 wx_cv_std_libpath="lib"
25366 fi
25367
25368
25369 fi
25370
25371 ;;
25372
25373 *-*-solaris2* )
25374 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25375 wx_cv_std_libpath="lib/64"
25376 else
25377 wx_cv_std_libpath="lib"
25378 fi
25379 ;;
25380
25381 *-*-linux* )
25382 if test "$ac_cv_sizeof_void_p" = 8 -a \
25383 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25384 wx_cv_std_libpath="lib64"
25385 else
25386 wx_cv_std_libpath="lib"
25387 fi
25388 ;;
25389
25390 *)
25391 wx_cv_std_libpath="lib";
25392 ;;
25393 esac
25394
25395 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25396 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25397
25398 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25399
25400 if test "$build" != "$host" -a "$GCC" = yes; then
25401 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25402 cross_root=`dirname $cross_root`
25403 cross_root=`dirname $cross_root`
25404
25405 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25406 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25407 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25408
25409 if test -z "$PKG_CONFIG_PATH"; then
25410 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25411 export PKG_CONFIG_PATH
25412 fi
25413
25414 if test -z "$x_includes" -o "$x_includes" = NONE; then
25415
25416 ac_find_includes=
25417 for ac_dir in $SEARCH_INCLUDE /usr/include;
25418 do
25419 if test -f "$ac_dir/X11/Intrinsic.h"; then
25420 ac_find_includes=$ac_dir
25421 break
25422 fi
25423 done
25424
25425 x_includes=$ac_find_includes
25426 fi
25427 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25428
25429 ac_find_libraries=
25430 for ac_dir in $SEARCH_LIB;
25431 do
25432 for ac_extension in a so sl dylib dll.a; do
25433 if test -f "$ac_dir/libXt.$ac_extension"; then
25434 ac_find_libraries=$ac_dir
25435 break 2
25436 fi
25437 done
25438 done
25439
25440 x_libraries=$ac_find_libraries
25441 fi
25442 fi
25443 fi
25444
25445
25446 cat >confcache <<\_ACEOF
25447 # This file is a shell script that caches the results of configure
25448 # tests run on this system so they can be shared between configure
25449 # scripts and configure runs, see configure's option --config-cache.
25450 # It is not useful on other systems. If it contains results you don't
25451 # want to keep, you may remove or edit it.
25452 #
25453 # config.status only pays attention to the cache file if you give it
25454 # the --recheck option to rerun configure.
25455 #
25456 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25457 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25458 # following values.
25459
25460 _ACEOF
25461
25462 # The following way of writing the cache mishandles newlines in values,
25463 # but we know of no workaround that is simple, portable, and efficient.
25464 # So, we kill variables containing newlines.
25465 # Ultrix sh set writes to stderr and can't be redirected directly,
25466 # and sets the high bit in the cache file unless we assign to the vars.
25467 (
25468 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25469 eval ac_val=\$$ac_var
25470 case $ac_val in #(
25471 *${as_nl}*)
25472 case $ac_var in #(
25473 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25474 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25475 esac
25476 case $ac_var in #(
25477 _ | IFS | as_nl) ;; #(
25478 *) $as_unset $ac_var ;;
25479 esac ;;
25480 esac
25481 done
25482
25483 (set) 2>&1 |
25484 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25485 *${as_nl}ac_space=\ *)
25486 # `set' does not quote correctly, so add quotes (double-quote
25487 # substitution turns \\\\ into \\, and sed turns \\ into \).
25488 sed -n \
25489 "s/'/'\\\\''/g;
25490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25491 ;; #(
25492 *)
25493 # `set' quotes correctly as required by POSIX, so do not add quotes.
25494 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25495 ;;
25496 esac |
25497 sort
25498 ) |
25499 sed '
25500 /^ac_cv_env_/b end
25501 t clear
25502 :clear
25503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25504 t end
25505 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25506 :end' >>confcache
25507 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25508 if test -w "$cache_file"; then
25509 test "x$cache_file" != "x/dev/null" &&
25510 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25511 echo "$as_me: updating cache $cache_file" >&6;}
25512 cat confcache >$cache_file
25513 else
25514 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25515 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25516 fi
25517 fi
25518 rm -f confcache
25519
25520 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25521 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25522 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25523 if test "${wx_cv_lib_glibc21+set}" = set; then
25524 echo $ECHO_N "(cached) $ECHO_C" >&6
25525 else
25526
25527 cat >conftest.$ac_ext <<_ACEOF
25528 /* confdefs.h. */
25529 _ACEOF
25530 cat confdefs.h >>conftest.$ac_ext
25531 cat >>conftest.$ac_ext <<_ACEOF
25532 /* end confdefs.h. */
25533 #include <features.h>
25534 int
25535 main ()
25536 {
25537
25538 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25539 not glibc 2.1
25540 #endif
25541
25542 ;
25543 return 0;
25544 }
25545 _ACEOF
25546 rm -f conftest.$ac_objext
25547 if { (ac_try="$ac_compile"
25548 case "(($ac_try" in
25549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25550 *) ac_try_echo=$ac_try;;
25551 esac
25552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25553 (eval "$ac_compile") 2>conftest.er1
25554 ac_status=$?
25555 grep -v '^ *+' conftest.er1 >conftest.err
25556 rm -f conftest.er1
25557 cat conftest.err >&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } && {
25560 test -z "$ac_c_werror_flag" ||
25561 test ! -s conftest.err
25562 } && test -s conftest.$ac_objext; then
25563
25564 wx_cv_lib_glibc21=yes
25565
25566 else
25567 echo "$as_me: failed program was:" >&5
25568 sed 's/^/| /' conftest.$ac_ext >&5
25569
25570
25571 wx_cv_lib_glibc21=no
25572
25573
25574 fi
25575
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25577
25578 fi
25579 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25580 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25581 if test "$wx_cv_lib_glibc21" = "yes"; then
25582 cat >>confdefs.h <<\_ACEOF
25583 #define wxHAVE_GLIBC2 1
25584 _ACEOF
25585
25586 fi
25587 fi
25588
25589 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25590 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25591 cat >>confdefs.h <<\_ACEOF
25592 #define _GNU_SOURCE 1
25593 _ACEOF
25594
25595 fi
25596 fi
25597
25598 have_cos=0
25599 have_floor=0
25600
25601 for ac_func in cos
25602 do
25603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25607 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 else
25609 cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h. */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25617 #define $ac_func innocuous_$ac_func
25618
25619 /* System header to define __stub macros and hopefully few prototypes,
25620 which can conflict with char $ac_func (); below.
25621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25622 <limits.h> exists even on freestanding compilers. */
25623
25624 #ifdef __STDC__
25625 # include <limits.h>
25626 #else
25627 # include <assert.h>
25628 #endif
25629
25630 #undef $ac_func
25631
25632 /* Override any GCC internal prototype to avoid an error.
25633 Use char because int might match the return type of a GCC
25634 builtin and then its argument prototype would still apply. */
25635 #ifdef __cplusplus
25636 extern "C"
25637 #endif
25638 char $ac_func ();
25639 /* The GNU C library defines this for functions which it implements
25640 to always fail with ENOSYS. Some functions are actually named
25641 something starting with __ and the normal name is an alias. */
25642 #if defined __stub_$ac_func || defined __stub___$ac_func
25643 choke me
25644 #endif
25645
25646 int
25647 main ()
25648 {
25649 return $ac_func ();
25650 ;
25651 return 0;
25652 }
25653 _ACEOF
25654 rm -f conftest.$ac_objext conftest$ac_exeext
25655 if { (ac_try="$ac_link"
25656 case "(($ac_try" in
25657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25659 esac
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_link") 2>conftest.er1
25662 ac_status=$?
25663 grep -v '^ *+' conftest.er1 >conftest.err
25664 rm -f conftest.er1
25665 cat conftest.err >&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } && {
25668 test -z "$ac_c_werror_flag" ||
25669 test ! -s conftest.err
25670 } && test -s conftest$ac_exeext &&
25671 $as_test_x conftest$ac_exeext; then
25672 eval "$as_ac_var=yes"
25673 else
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25676
25677 eval "$as_ac_var=no"
25678 fi
25679
25680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25681 conftest$ac_exeext conftest.$ac_ext
25682 fi
25683 ac_res=`eval echo '${'$as_ac_var'}'`
25684 { echo "$as_me:$LINENO: result: $ac_res" >&5
25685 echo "${ECHO_T}$ac_res" >&6; }
25686 if test `eval echo '${'$as_ac_var'}'` = yes; then
25687 cat >>confdefs.h <<_ACEOF
25688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25689 _ACEOF
25690 have_cos=1
25691 fi
25692 done
25693
25694
25695 for ac_func in floor
25696 do
25697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25698 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25700 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 else
25703 cat >conftest.$ac_ext <<_ACEOF
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25711 #define $ac_func innocuous_$ac_func
25712
25713 /* System header to define __stub macros and hopefully few prototypes,
25714 which can conflict with char $ac_func (); below.
25715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25716 <limits.h> exists even on freestanding compilers. */
25717
25718 #ifdef __STDC__
25719 # include <limits.h>
25720 #else
25721 # include <assert.h>
25722 #endif
25723
25724 #undef $ac_func
25725
25726 /* Override any GCC internal prototype to avoid an error.
25727 Use char because int might match the return type of a GCC
25728 builtin and then its argument prototype would still apply. */
25729 #ifdef __cplusplus
25730 extern "C"
25731 #endif
25732 char $ac_func ();
25733 /* The GNU C library defines this for functions which it implements
25734 to always fail with ENOSYS. Some functions are actually named
25735 something starting with __ and the normal name is an alias. */
25736 #if defined __stub_$ac_func || defined __stub___$ac_func
25737 choke me
25738 #endif
25739
25740 int
25741 main ()
25742 {
25743 return $ac_func ();
25744 ;
25745 return 0;
25746 }
25747 _ACEOF
25748 rm -f conftest.$ac_objext conftest$ac_exeext
25749 if { (ac_try="$ac_link"
25750 case "(($ac_try" in
25751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25752 *) ac_try_echo=$ac_try;;
25753 esac
25754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25755 (eval "$ac_link") 2>conftest.er1
25756 ac_status=$?
25757 grep -v '^ *+' conftest.er1 >conftest.err
25758 rm -f conftest.er1
25759 cat conftest.err >&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } && {
25762 test -z "$ac_c_werror_flag" ||
25763 test ! -s conftest.err
25764 } && test -s conftest$ac_exeext &&
25765 $as_test_x conftest$ac_exeext; then
25766 eval "$as_ac_var=yes"
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 eval "$as_ac_var=no"
25772 fi
25773
25774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25775 conftest$ac_exeext conftest.$ac_ext
25776 fi
25777 ac_res=`eval echo '${'$as_ac_var'}'`
25778 { echo "$as_me:$LINENO: result: $ac_res" >&5
25779 echo "${ECHO_T}$ac_res" >&6; }
25780 if test `eval echo '${'$as_ac_var'}'` = yes; then
25781 cat >>confdefs.h <<_ACEOF
25782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25783 _ACEOF
25784 have_floor=1
25785 fi
25786 done
25787
25788 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25789 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25790 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25791 { echo "$as_me:$LINENO: result: yes" >&5
25792 echo "${ECHO_T}yes" >&6; }
25793 else
25794 { echo "$as_me:$LINENO: result: no" >&5
25795 echo "${ECHO_T}no" >&6; }
25796 LIBS="$LIBS -lm"
25797 # use different functions to avoid configure caching
25798 have_sin=0
25799 have_ceil=0
25800
25801 for ac_func in sin
25802 do
25803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25807 echo $ECHO_N "(cached) $ECHO_C" >&6
25808 else
25809 cat >conftest.$ac_ext <<_ACEOF
25810 /* confdefs.h. */
25811 _ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25817 #define $ac_func innocuous_$ac_func
25818
25819 /* System header to define __stub macros and hopefully few prototypes,
25820 which can conflict with char $ac_func (); below.
25821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25822 <limits.h> exists even on freestanding compilers. */
25823
25824 #ifdef __STDC__
25825 # include <limits.h>
25826 #else
25827 # include <assert.h>
25828 #endif
25829
25830 #undef $ac_func
25831
25832 /* Override any GCC internal prototype to avoid an error.
25833 Use char because int might match the return type of a GCC
25834 builtin and then its argument prototype would still apply. */
25835 #ifdef __cplusplus
25836 extern "C"
25837 #endif
25838 char $ac_func ();
25839 /* The GNU C library defines this for functions which it implements
25840 to always fail with ENOSYS. Some functions are actually named
25841 something starting with __ and the normal name is an alias. */
25842 #if defined __stub_$ac_func || defined __stub___$ac_func
25843 choke me
25844 #endif
25845
25846 int
25847 main ()
25848 {
25849 return $ac_func ();
25850 ;
25851 return 0;
25852 }
25853 _ACEOF
25854 rm -f conftest.$ac_objext conftest$ac_exeext
25855 if { (ac_try="$ac_link"
25856 case "(($ac_try" in
25857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25858 *) ac_try_echo=$ac_try;;
25859 esac
25860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25861 (eval "$ac_link") 2>conftest.er1
25862 ac_status=$?
25863 grep -v '^ *+' conftest.er1 >conftest.err
25864 rm -f conftest.er1
25865 cat conftest.err >&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); } && {
25868 test -z "$ac_c_werror_flag" ||
25869 test ! -s conftest.err
25870 } && test -s conftest$ac_exeext &&
25871 $as_test_x conftest$ac_exeext; then
25872 eval "$as_ac_var=yes"
25873 else
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25876
25877 eval "$as_ac_var=no"
25878 fi
25879
25880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25881 conftest$ac_exeext conftest.$ac_ext
25882 fi
25883 ac_res=`eval echo '${'$as_ac_var'}'`
25884 { echo "$as_me:$LINENO: result: $ac_res" >&5
25885 echo "${ECHO_T}$ac_res" >&6; }
25886 if test `eval echo '${'$as_ac_var'}'` = yes; then
25887 cat >>confdefs.h <<_ACEOF
25888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25889 _ACEOF
25890 have_sin=1
25891 fi
25892 done
25893
25894
25895 for ac_func in ceil
25896 do
25897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25911 #define $ac_func innocuous_$ac_func
25912
25913 /* System header to define __stub macros and hopefully few prototypes,
25914 which can conflict with char $ac_func (); below.
25915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25916 <limits.h> exists even on freestanding compilers. */
25917
25918 #ifdef __STDC__
25919 # include <limits.h>
25920 #else
25921 # include <assert.h>
25922 #endif
25923
25924 #undef $ac_func
25925
25926 /* Override any GCC internal prototype to avoid an error.
25927 Use char because int might match the return type of a GCC
25928 builtin and then its argument prototype would still apply. */
25929 #ifdef __cplusplus
25930 extern "C"
25931 #endif
25932 char $ac_func ();
25933 /* The GNU C library defines this for functions which it implements
25934 to always fail with ENOSYS. Some functions are actually named
25935 something starting with __ and the normal name is an alias. */
25936 #if defined __stub_$ac_func || defined __stub___$ac_func
25937 choke me
25938 #endif
25939
25940 int
25941 main ()
25942 {
25943 return $ac_func ();
25944 ;
25945 return 0;
25946 }
25947 _ACEOF
25948 rm -f conftest.$ac_objext conftest$ac_exeext
25949 if { (ac_try="$ac_link"
25950 case "(($ac_try" in
25951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25952 *) ac_try_echo=$ac_try;;
25953 esac
25954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25955 (eval "$ac_link") 2>conftest.er1
25956 ac_status=$?
25957 grep -v '^ *+' conftest.er1 >conftest.err
25958 rm -f conftest.er1
25959 cat conftest.err >&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } && {
25962 test -z "$ac_c_werror_flag" ||
25963 test ! -s conftest.err
25964 } && test -s conftest$ac_exeext &&
25965 $as_test_x conftest$ac_exeext; then
25966 eval "$as_ac_var=yes"
25967 else
25968 echo "$as_me: failed program was:" >&5
25969 sed 's/^/| /' conftest.$ac_ext >&5
25970
25971 eval "$as_ac_var=no"
25972 fi
25973
25974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25975 conftest$ac_exeext conftest.$ac_ext
25976 fi
25977 ac_res=`eval echo '${'$as_ac_var'}'`
25978 { echo "$as_me:$LINENO: result: $ac_res" >&5
25979 echo "${ECHO_T}$ac_res" >&6; }
25980 if test `eval echo '${'$as_ac_var'}'` = yes; then
25981 cat >>confdefs.h <<_ACEOF
25982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25983 _ACEOF
25984 have_ceil=1
25985 fi
25986 done
25987
25988 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25989 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25990 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25991 { echo "$as_me:$LINENO: result: yes" >&5
25992 echo "${ECHO_T}yes" >&6; }
25993 else
25994 { echo "$as_me:$LINENO: result: no" >&5
25995 echo "${ECHO_T}no" >&6; }
25996 # not sure we should warn the user, crash, etc.
25997 fi
25998 fi
25999
26000 ac_ext=cpp
26001 ac_cpp='$CXXCPP $CPPFLAGS'
26002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26005
26006 if test "wxUSE_UNICODE" = "yes"; then
26007
26008 for wx_func in wcstoull
26009 do
26010 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26012 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26014 else
26015
26016 cat >conftest.$ac_ext <<_ACEOF
26017
26018 /* confdefs.h. */
26019 _ACEOF
26020 cat confdefs.h >>conftest.$ac_ext
26021 cat >>conftest.$ac_ext <<_ACEOF
26022 /* end confdefs.h. */
26023
26024
26025 $ac_includes_default
26026
26027 int
26028 main ()
26029 {
26030
26031 #ifndef $wx_func
26032 &$wx_func;
26033 #endif
26034
26035
26036 ;
26037 return 0;
26038 }
26039
26040 _ACEOF
26041 rm -f conftest.$ac_objext conftest$ac_exeext
26042 if { (ac_try="$ac_link"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26046 esac
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_link") 2>conftest.er1
26049 ac_status=$?
26050 grep -v '^ *+' conftest.er1 >conftest.err
26051 rm -f conftest.er1
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_cxx_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest$ac_exeext &&
26058 $as_test_x conftest$ac_exeext; then
26059 eval wx_cv_func_$wx_func=yes
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 eval wx_cv_func_$wx_func=no
26065 fi
26066
26067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26068 conftest$ac_exeext conftest.$ac_ext
26069
26070 fi
26071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26072 { echo "$as_me:$LINENO: result: $ac_res" >&5
26073 echo "${ECHO_T}$ac_res" >&6; }
26074
26075 if eval test \$wx_cv_func_$wx_func = yes
26076 then
26077 cat >>confdefs.h <<_ACEOF
26078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26079 _ACEOF
26080
26081
26082 else
26083 :
26084
26085 fi
26086 done
26087
26088 else
26089
26090 for wx_func in strtoull
26091 do
26092 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26093 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26094 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26095 echo $ECHO_N "(cached) $ECHO_C" >&6
26096 else
26097
26098 cat >conftest.$ac_ext <<_ACEOF
26099
26100 /* confdefs.h. */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105
26106
26107 $ac_includes_default
26108
26109 int
26110 main ()
26111 {
26112
26113 #ifndef $wx_func
26114 &$wx_func;
26115 #endif
26116
26117
26118 ;
26119 return 0;
26120 }
26121
26122 _ACEOF
26123 rm -f conftest.$ac_objext conftest$ac_exeext
26124 if { (ac_try="$ac_link"
26125 case "(($ac_try" in
26126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26127 *) ac_try_echo=$ac_try;;
26128 esac
26129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26130 (eval "$ac_link") 2>conftest.er1
26131 ac_status=$?
26132 grep -v '^ *+' conftest.er1 >conftest.err
26133 rm -f conftest.er1
26134 cat conftest.err >&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } && {
26137 test -z "$ac_cxx_werror_flag" ||
26138 test ! -s conftest.err
26139 } && test -s conftest$ac_exeext &&
26140 $as_test_x conftest$ac_exeext; then
26141 eval wx_cv_func_$wx_func=yes
26142 else
26143 echo "$as_me: failed program was:" >&5
26144 sed 's/^/| /' conftest.$ac_ext >&5
26145
26146 eval wx_cv_func_$wx_func=no
26147 fi
26148
26149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26150 conftest$ac_exeext conftest.$ac_ext
26151
26152 fi
26153 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26154 { echo "$as_me:$LINENO: result: $ac_res" >&5
26155 echo "${ECHO_T}$ac_res" >&6; }
26156
26157 if eval test \$wx_cv_func_$wx_func = yes
26158 then
26159 cat >>confdefs.h <<_ACEOF
26160 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26161 _ACEOF
26162
26163
26164 else
26165 :
26166
26167 fi
26168 done
26169
26170 fi
26171 ac_ext=c
26172 ac_cpp='$CPP $CPPFLAGS'
26173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26176
26177
26178
26179
26180 if test "$wxUSE_REGEX" != "no"; then
26181 cat >>confdefs.h <<\_ACEOF
26182 #define wxUSE_REGEX 1
26183 _ACEOF
26184
26185
26186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26187 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26188 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26189 wxUSE_REGEX=builtin
26190 fi
26191
26192 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26193 { echo "$as_me:$LINENO: checking for regex.h" >&5
26194 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26195 if test "${ac_cv_header_regex_h+set}" = set; then
26196 echo $ECHO_N "(cached) $ECHO_C" >&6
26197 else
26198 cat >conftest.$ac_ext <<_ACEOF
26199 /* confdefs.h. */
26200 _ACEOF
26201 cat confdefs.h >>conftest.$ac_ext
26202 cat >>conftest.$ac_ext <<_ACEOF
26203 /* end confdefs.h. */
26204
26205
26206 #include <regex.h>
26207 _ACEOF
26208 rm -f conftest.$ac_objext
26209 if { (ac_try="$ac_compile"
26210 case "(($ac_try" in
26211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26213 esac
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_compile") 2>conftest.er1
26216 ac_status=$?
26217 grep -v '^ *+' conftest.er1 >conftest.err
26218 rm -f conftest.er1
26219 cat conftest.err >&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } && {
26222 test -z "$ac_c_werror_flag" ||
26223 test ! -s conftest.err
26224 } && test -s conftest.$ac_objext; then
26225 ac_cv_header_regex_h=yes
26226 else
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26229
26230 ac_cv_header_regex_h=no
26231 fi
26232
26233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26234 fi
26235 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26236 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26237 if test $ac_cv_header_regex_h = yes; then
26238
26239
26240 for ac_func in regcomp re_search
26241 do
26242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 else
26248 cat >conftest.$ac_ext <<_ACEOF
26249 /* confdefs.h. */
26250 _ACEOF
26251 cat confdefs.h >>conftest.$ac_ext
26252 cat >>conftest.$ac_ext <<_ACEOF
26253 /* end confdefs.h. */
26254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26256 #define $ac_func innocuous_$ac_func
26257
26258 /* System header to define __stub macros and hopefully few prototypes,
26259 which can conflict with char $ac_func (); below.
26260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26261 <limits.h> exists even on freestanding compilers. */
26262
26263 #ifdef __STDC__
26264 # include <limits.h>
26265 #else
26266 # include <assert.h>
26267 #endif
26268
26269 #undef $ac_func
26270
26271 /* Override any GCC internal prototype to avoid an error.
26272 Use char because int might match the return type of a GCC
26273 builtin and then its argument prototype would still apply. */
26274 #ifdef __cplusplus
26275 extern "C"
26276 #endif
26277 char $ac_func ();
26278 /* The GNU C library defines this for functions which it implements
26279 to always fail with ENOSYS. Some functions are actually named
26280 something starting with __ and the normal name is an alias. */
26281 #if defined __stub_$ac_func || defined __stub___$ac_func
26282 choke me
26283 #endif
26284
26285 int
26286 main ()
26287 {
26288 return $ac_func ();
26289 ;
26290 return 0;
26291 }
26292 _ACEOF
26293 rm -f conftest.$ac_objext conftest$ac_exeext
26294 if { (ac_try="$ac_link"
26295 case "(($ac_try" in
26296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26297 *) ac_try_echo=$ac_try;;
26298 esac
26299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26300 (eval "$ac_link") 2>conftest.er1
26301 ac_status=$?
26302 grep -v '^ *+' conftest.er1 >conftest.err
26303 rm -f conftest.er1
26304 cat conftest.err >&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); } && {
26307 test -z "$ac_c_werror_flag" ||
26308 test ! -s conftest.err
26309 } && test -s conftest$ac_exeext &&
26310 $as_test_x conftest$ac_exeext; then
26311 eval "$as_ac_var=yes"
26312 else
26313 echo "$as_me: failed program was:" >&5
26314 sed 's/^/| /' conftest.$ac_ext >&5
26315
26316 eval "$as_ac_var=no"
26317 fi
26318
26319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26320 conftest$ac_exeext conftest.$ac_ext
26321 fi
26322 ac_res=`eval echo '${'$as_ac_var'}'`
26323 { echo "$as_me:$LINENO: result: $ac_res" >&5
26324 echo "${ECHO_T}$ac_res" >&6; }
26325 if test `eval echo '${'$as_ac_var'}'` = yes; then
26326 cat >>confdefs.h <<_ACEOF
26327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26328 _ACEOF
26329
26330 fi
26331 done
26332
26333 fi
26334
26335
26336
26337 if test "x$ac_cv_func_regcomp" != "xyes"; then
26338 if test "$wxUSE_REGEX" = "sys" ; then
26339 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26340 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26341 { (exit 1); exit 1; }; }
26342 else
26343 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26344 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26345 wxUSE_REGEX=builtin
26346 fi
26347 else
26348 wxUSE_REGEX=sys
26349 cat >>confdefs.h <<\_ACEOF
26350 #define WX_NO_REGEX_ADVANCED 1
26351 _ACEOF
26352
26353 fi
26354 fi
26355 fi
26356
26357
26358 ZLIB_LINK=
26359 if test "$wxUSE_ZLIB" != "no" ; then
26360 cat >>confdefs.h <<\_ACEOF
26361 #define wxUSE_ZLIB 1
26362 _ACEOF
26363
26364
26365 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26366 if test "$USE_DARWIN" = 1; then
26367 system_zlib_h_ok="yes"
26368 else
26369 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26370 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26371 if test "${ac_cv_header_zlib_h+set}" = set; then
26372 echo $ECHO_N "(cached) $ECHO_C" >&6
26373 else
26374 if test "$cross_compiling" = yes; then
26375 unset ac_cv_header_zlib_h
26376
26377 else
26378 cat >conftest.$ac_ext <<_ACEOF
26379 /* confdefs.h. */
26380 _ACEOF
26381 cat confdefs.h >>conftest.$ac_ext
26382 cat >>conftest.$ac_ext <<_ACEOF
26383 /* end confdefs.h. */
26384
26385 #include <zlib.h>
26386 #include <stdio.h>
26387
26388 int main()
26389 {
26390 FILE *f=fopen("conftestval", "w");
26391 if (!f) exit(1);
26392 fprintf(f, "%s",
26393 ZLIB_VERSION[0] == '1' &&
26394 (ZLIB_VERSION[2] > '1' ||
26395 (ZLIB_VERSION[2] == '1' &&
26396 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26397 exit(0);
26398 }
26399
26400 _ACEOF
26401 rm -f conftest$ac_exeext
26402 if { (ac_try="$ac_link"
26403 case "(($ac_try" in
26404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26405 *) ac_try_echo=$ac_try;;
26406 esac
26407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26408 (eval "$ac_link") 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26412 { (case "(($ac_try" in
26413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26414 *) ac_try_echo=$ac_try;;
26415 esac
26416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26417 (eval "$ac_try") 2>&5
26418 ac_status=$?
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; }; then
26421 ac_cv_header_zlib_h=`cat conftestval`
26422 else
26423 echo "$as_me: program exited with status $ac_status" >&5
26424 echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.$ac_ext >&5
26426
26427 ( exit $ac_status )
26428 ac_cv_header_zlib_h=no
26429 fi
26430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26431 fi
26432
26433
26434
26435 fi
26436 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26437 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26438 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26439 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26440 if test "${ac_cv_header_zlib_h+set}" = set; then
26441 echo $ECHO_N "(cached) $ECHO_C" >&6
26442 else
26443 cat >conftest.$ac_ext <<_ACEOF
26444 /* confdefs.h. */
26445 _ACEOF
26446 cat confdefs.h >>conftest.$ac_ext
26447 cat >>conftest.$ac_ext <<_ACEOF
26448 /* end confdefs.h. */
26449
26450
26451 #include <zlib.h>
26452 _ACEOF
26453 rm -f conftest.$ac_objext
26454 if { (ac_try="$ac_compile"
26455 case "(($ac_try" in
26456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26457 *) ac_try_echo=$ac_try;;
26458 esac
26459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26460 (eval "$ac_compile") 2>conftest.er1
26461 ac_status=$?
26462 grep -v '^ *+' conftest.er1 >conftest.err
26463 rm -f conftest.er1
26464 cat conftest.err >&5
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); } && {
26467 test -z "$ac_c_werror_flag" ||
26468 test ! -s conftest.err
26469 } && test -s conftest.$ac_objext; then
26470 ac_cv_header_zlib_h=yes
26471 else
26472 echo "$as_me: failed program was:" >&5
26473 sed 's/^/| /' conftest.$ac_ext >&5
26474
26475 ac_cv_header_zlib_h=no
26476 fi
26477
26478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26479 fi
26480 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26482
26483
26484
26485 system_zlib_h_ok=$ac_cv_header_zlib_h
26486 fi
26487
26488 if test "$system_zlib_h_ok" = "yes"; then
26489 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26490 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26491 if test "${ac_cv_lib_z_deflate+set}" = set; then
26492 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 else
26494 ac_check_lib_save_LIBS=$LIBS
26495 LIBS="-lz $LIBS"
26496 cat >conftest.$ac_ext <<_ACEOF
26497 /* confdefs.h. */
26498 _ACEOF
26499 cat confdefs.h >>conftest.$ac_ext
26500 cat >>conftest.$ac_ext <<_ACEOF
26501 /* end confdefs.h. */
26502
26503 /* Override any GCC internal prototype to avoid an error.
26504 Use char because int might match the return type of a GCC
26505 builtin and then its argument prototype would still apply. */
26506 #ifdef __cplusplus
26507 extern "C"
26508 #endif
26509 char deflate ();
26510 int
26511 main ()
26512 {
26513 return deflate ();
26514 ;
26515 return 0;
26516 }
26517 _ACEOF
26518 rm -f conftest.$ac_objext conftest$ac_exeext
26519 if { (ac_try="$ac_link"
26520 case "(($ac_try" in
26521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26522 *) ac_try_echo=$ac_try;;
26523 esac
26524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26525 (eval "$ac_link") 2>conftest.er1
26526 ac_status=$?
26527 grep -v '^ *+' conftest.er1 >conftest.err
26528 rm -f conftest.er1
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } && {
26532 test -z "$ac_c_werror_flag" ||
26533 test ! -s conftest.err
26534 } && test -s conftest$ac_exeext &&
26535 $as_test_x conftest$ac_exeext; then
26536 ac_cv_lib_z_deflate=yes
26537 else
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26540
26541 ac_cv_lib_z_deflate=no
26542 fi
26543
26544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26545 conftest$ac_exeext conftest.$ac_ext
26546 LIBS=$ac_check_lib_save_LIBS
26547 fi
26548 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26549 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26550 if test $ac_cv_lib_z_deflate = yes; then
26551 ZLIB_LINK=" -lz"
26552 fi
26553
26554 fi
26555
26556 if test "x$ZLIB_LINK" = "x" ; then
26557 if test "$wxUSE_ZLIB" = "sys" ; then
26558 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26559 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26560 { (exit 1); exit 1; }; }
26561 else
26562 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26563 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26564 wxUSE_ZLIB=builtin
26565 fi
26566 else
26567 wxUSE_ZLIB=sys
26568 fi
26569 fi
26570 fi
26571
26572
26573 PNG_LINK=
26574 if test "$wxUSE_LIBPNG" != "no" ; then
26575 cat >>confdefs.h <<\_ACEOF
26576 #define wxUSE_LIBPNG 1
26577 _ACEOF
26578
26579
26580 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26581 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26582 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26583 wxUSE_LIBPNG=sys
26584 fi
26585
26586 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26587 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26588 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26589 wxUSE_LIBPNG=builtin
26590 fi
26591
26592 if test "$wxUSE_MGL" != 1 ; then
26593 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26594 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26595 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26596 if test "${ac_cv_header_png_h+set}" = set; then
26597 echo $ECHO_N "(cached) $ECHO_C" >&6
26598 else
26599 if test "$cross_compiling" = yes; then
26600 unset ac_cv_header_png_h
26601
26602 else
26603 cat >conftest.$ac_ext <<_ACEOF
26604 /* confdefs.h. */
26605 _ACEOF
26606 cat confdefs.h >>conftest.$ac_ext
26607 cat >>conftest.$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609
26610 #include <png.h>
26611 #include <stdio.h>
26612
26613 int main()
26614 {
26615 FILE *f=fopen("conftestval", "w");
26616 if (!f) exit(1);
26617 fprintf(f, "%s",
26618 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26619 exit(0);
26620 }
26621
26622 _ACEOF
26623 rm -f conftest$ac_exeext
26624 if { (ac_try="$ac_link"
26625 case "(($ac_try" in
26626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26627 *) ac_try_echo=$ac_try;;
26628 esac
26629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26630 (eval "$ac_link") 2>&5
26631 ac_status=$?
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26634 { (case "(($ac_try" in
26635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26636 *) ac_try_echo=$ac_try;;
26637 esac
26638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26639 (eval "$ac_try") 2>&5
26640 ac_status=$?
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); }; }; then
26643 ac_cv_header_png_h=`cat conftestval`
26644 else
26645 echo "$as_me: program exited with status $ac_status" >&5
26646 echo "$as_me: failed program was:" >&5
26647 sed 's/^/| /' conftest.$ac_ext >&5
26648
26649 ( exit $ac_status )
26650 ac_cv_header_png_h=no
26651 fi
26652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26653 fi
26654
26655
26656
26657 fi
26658 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26659 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26660 { echo "$as_me:$LINENO: checking for png.h" >&5
26661 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26662 if test "${ac_cv_header_png_h+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 else
26665 cat >conftest.$ac_ext <<_ACEOF
26666 /* confdefs.h. */
26667 _ACEOF
26668 cat confdefs.h >>conftest.$ac_ext
26669 cat >>conftest.$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26671
26672
26673 #include <png.h>
26674 _ACEOF
26675 rm -f conftest.$ac_objext
26676 if { (ac_try="$ac_compile"
26677 case "(($ac_try" in
26678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26679 *) ac_try_echo=$ac_try;;
26680 esac
26681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26682 (eval "$ac_compile") 2>conftest.er1
26683 ac_status=$?
26684 grep -v '^ *+' conftest.er1 >conftest.err
26685 rm -f conftest.er1
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } && {
26689 test -z "$ac_c_werror_flag" ||
26690 test ! -s conftest.err
26691 } && test -s conftest.$ac_objext; then
26692 ac_cv_header_png_h=yes
26693 else
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 ac_cv_header_png_h=no
26698 fi
26699
26700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26701 fi
26702 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26703 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26704
26705
26706
26707 if test "$ac_cv_header_png_h" = "yes"; then
26708 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26709 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26710 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 else
26713 ac_check_lib_save_LIBS=$LIBS
26714 LIBS="-lpng -lz -lm $LIBS"
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721
26722 /* Override any GCC internal prototype to avoid an error.
26723 Use char because int might match the return type of a GCC
26724 builtin and then its argument prototype would still apply. */
26725 #ifdef __cplusplus
26726 extern "C"
26727 #endif
26728 char png_check_sig ();
26729 int
26730 main ()
26731 {
26732 return png_check_sig ();
26733 ;
26734 return 0;
26735 }
26736 _ACEOF
26737 rm -f conftest.$ac_objext conftest$ac_exeext
26738 if { (ac_try="$ac_link"
26739 case "(($ac_try" in
26740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26741 *) ac_try_echo=$ac_try;;
26742 esac
26743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26744 (eval "$ac_link") 2>conftest.er1
26745 ac_status=$?
26746 grep -v '^ *+' conftest.er1 >conftest.err
26747 rm -f conftest.er1
26748 cat conftest.err >&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); } && {
26751 test -z "$ac_c_werror_flag" ||
26752 test ! -s conftest.err
26753 } && test -s conftest$ac_exeext &&
26754 $as_test_x conftest$ac_exeext; then
26755 ac_cv_lib_png_png_check_sig=yes
26756 else
26757 echo "$as_me: failed program was:" >&5
26758 sed 's/^/| /' conftest.$ac_ext >&5
26759
26760 ac_cv_lib_png_png_check_sig=no
26761 fi
26762
26763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26764 conftest$ac_exeext conftest.$ac_ext
26765 LIBS=$ac_check_lib_save_LIBS
26766 fi
26767 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26768 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26769 if test $ac_cv_lib_png_png_check_sig = yes; then
26770 PNG_LINK=" -lpng -lz"
26771 fi
26772
26773 fi
26774
26775 if test "x$PNG_LINK" = "x" ; then
26776 if test "$wxUSE_LIBPNG" = "sys" ; then
26777 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26778 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26779 { (exit 1); exit 1; }; }
26780 else
26781 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26782 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26783 wxUSE_LIBPNG=builtin
26784 fi
26785 else
26786 wxUSE_LIBPNG=sys
26787 fi
26788 fi
26789 fi
26790 fi
26791
26792
26793 JPEG_LINK=
26794 if test "$wxUSE_LIBJPEG" != "no" ; then
26795 cat >>confdefs.h <<\_ACEOF
26796 #define wxUSE_LIBJPEG 1
26797 _ACEOF
26798
26799
26800 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26801 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26802 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26803 wxUSE_LIBJPEG=sys
26804 fi
26805
26806 if test "$wxUSE_MGL" != 1 ; then
26807 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26808 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26809 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26810 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 else
26813 cat >conftest.$ac_ext <<_ACEOF
26814 /* confdefs.h. */
26815 _ACEOF
26816 cat confdefs.h >>conftest.$ac_ext
26817 cat >>conftest.$ac_ext <<_ACEOF
26818 /* end confdefs.h. */
26819
26820 #undef HAVE_STDLIB_H
26821 #include <stdio.h>
26822 #include <jpeglib.h>
26823
26824 int
26825 main ()
26826 {
26827
26828
26829 ;
26830 return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26838 esac
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_c_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_cv_header_jpeglib_h=yes
26851 else
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 ac_cv_header_jpeglib_h=no
26856
26857 fi
26858
26859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26860
26861 fi
26862
26863 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26865
26866 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26867 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26868 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26869 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26872 ac_check_lib_save_LIBS=$LIBS
26873 LIBS="-ljpeg $LIBS"
26874 cat >conftest.$ac_ext <<_ACEOF
26875 /* confdefs.h. */
26876 _ACEOF
26877 cat confdefs.h >>conftest.$ac_ext
26878 cat >>conftest.$ac_ext <<_ACEOF
26879 /* end confdefs.h. */
26880
26881 /* Override any GCC internal prototype to avoid an error.
26882 Use char because int might match the return type of a GCC
26883 builtin and then its argument prototype would still apply. */
26884 #ifdef __cplusplus
26885 extern "C"
26886 #endif
26887 char jpeg_read_header ();
26888 int
26889 main ()
26890 {
26891 return jpeg_read_header ();
26892 ;
26893 return 0;
26894 }
26895 _ACEOF
26896 rm -f conftest.$ac_objext conftest$ac_exeext
26897 if { (ac_try="$ac_link"
26898 case "(($ac_try" in
26899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26900 *) ac_try_echo=$ac_try;;
26901 esac
26902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26903 (eval "$ac_link") 2>conftest.er1
26904 ac_status=$?
26905 grep -v '^ *+' conftest.er1 >conftest.err
26906 rm -f conftest.er1
26907 cat conftest.err >&5
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); } && {
26910 test -z "$ac_c_werror_flag" ||
26911 test ! -s conftest.err
26912 } && test -s conftest$ac_exeext &&
26913 $as_test_x conftest$ac_exeext; then
26914 ac_cv_lib_jpeg_jpeg_read_header=yes
26915 else
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26918
26919 ac_cv_lib_jpeg_jpeg_read_header=no
26920 fi
26921
26922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26923 conftest$ac_exeext conftest.$ac_ext
26924 LIBS=$ac_check_lib_save_LIBS
26925 fi
26926 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26927 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26928 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26929 JPEG_LINK=" -ljpeg"
26930 fi
26931
26932 fi
26933
26934 if test "x$JPEG_LINK" = "x" ; then
26935 if test "$wxUSE_LIBJPEG" = "sys" ; then
26936 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26937 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26938 { (exit 1); exit 1; }; }
26939 else
26940 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26941 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26942 wxUSE_LIBJPEG=builtin
26943 fi
26944 else
26945 wxUSE_LIBJPEG=sys
26946
26947 if test "$wxUSE_MSW" = 1; then
26948 { echo "$as_me:$LINENO: checking for boolean" >&5
26949 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26950 if test "${ac_cv_type_boolean+set}" = set; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26952 else
26953 cat >conftest.$ac_ext <<_ACEOF
26954 /* confdefs.h. */
26955 _ACEOF
26956 cat confdefs.h >>conftest.$ac_ext
26957 cat >>conftest.$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26959 #include <windows.h>
26960
26961 typedef boolean ac__type_new_;
26962 int
26963 main ()
26964 {
26965 if ((ac__type_new_ *) 0)
26966 return 0;
26967 if (sizeof (ac__type_new_))
26968 return 0;
26969 ;
26970 return 0;
26971 }
26972 _ACEOF
26973 rm -f conftest.$ac_objext
26974 if { (ac_try="$ac_compile"
26975 case "(($ac_try" in
26976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26977 *) ac_try_echo=$ac_try;;
26978 esac
26979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26980 (eval "$ac_compile") 2>conftest.er1
26981 ac_status=$?
26982 grep -v '^ *+' conftest.er1 >conftest.err
26983 rm -f conftest.er1
26984 cat conftest.err >&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); } && {
26987 test -z "$ac_c_werror_flag" ||
26988 test ! -s conftest.err
26989 } && test -s conftest.$ac_objext; then
26990 ac_cv_type_boolean=yes
26991 else
26992 echo "$as_me: failed program was:" >&5
26993 sed 's/^/| /' conftest.$ac_ext >&5
26994
26995 ac_cv_type_boolean=no
26996 fi
26997
26998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26999 fi
27000 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27001 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27002 if test $ac_cv_type_boolean = yes; then
27003
27004 cat >>confdefs.h <<_ACEOF
27005 #define HAVE_BOOLEAN 1
27006 _ACEOF
27007
27008
27009 { echo "$as_me:$LINENO: checking for boolean" >&5
27010 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27011 if test "${ac_cv_type_boolean+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 else
27014 cat >conftest.$ac_ext <<_ACEOF
27015 /* confdefs.h. */
27016 _ACEOF
27017 cat confdefs.h >>conftest.$ac_ext
27018 cat >>conftest.$ac_ext <<_ACEOF
27019 /* end confdefs.h. */
27020
27021 #undef HAVE_BOOLEAN
27022 #include <stdio.h>
27023 #include <jpeglib.h>
27024
27025
27026 typedef boolean ac__type_new_;
27027 int
27028 main ()
27029 {
27030 if ((ac__type_new_ *) 0)
27031 return 0;
27032 if (sizeof (ac__type_new_))
27033 return 0;
27034 ;
27035 return 0;
27036 }
27037 _ACEOF
27038 rm -f conftest.$ac_objext
27039 if { (ac_try="$ac_compile"
27040 case "(($ac_try" in
27041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27042 *) ac_try_echo=$ac_try;;
27043 esac
27044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27045 (eval "$ac_compile") 2>conftest.er1
27046 ac_status=$?
27047 grep -v '^ *+' conftest.er1 >conftest.err
27048 rm -f conftest.er1
27049 cat conftest.err >&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } && {
27052 test -z "$ac_c_werror_flag" ||
27053 test ! -s conftest.err
27054 } && test -s conftest.$ac_objext; then
27055 ac_cv_type_boolean=yes
27056 else
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27059
27060 ac_cv_type_boolean=no
27061 fi
27062
27063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27064 fi
27065 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27066 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27067
27068 # The cast to long int works around a bug in the HP C Compiler
27069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27071 # This bug is HP SR number 8606223364.
27072 { echo "$as_me:$LINENO: checking size of boolean" >&5
27073 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27074 if test "${ac_cv_sizeof_boolean+set}" = set; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 else
27077 if test "$cross_compiling" = yes; then
27078 # Depending upon the size, compute the lo and hi bounds.
27079 cat >conftest.$ac_ext <<_ACEOF
27080 /* confdefs.h. */
27081 _ACEOF
27082 cat confdefs.h >>conftest.$ac_ext
27083 cat >>conftest.$ac_ext <<_ACEOF
27084 /* end confdefs.h. */
27085
27086 #undef HAVE_BOOLEAN
27087 #include <stdio.h>
27088 #include <jpeglib.h>
27089
27090
27091 typedef boolean ac__type_sizeof_;
27092 int
27093 main ()
27094 {
27095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27096 test_array [0] = 0
27097
27098 ;
27099 return 0;
27100 }
27101 _ACEOF
27102 rm -f conftest.$ac_objext
27103 if { (ac_try="$ac_compile"
27104 case "(($ac_try" in
27105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106 *) ac_try_echo=$ac_try;;
27107 esac
27108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27109 (eval "$ac_compile") 2>conftest.er1
27110 ac_status=$?
27111 grep -v '^ *+' conftest.er1 >conftest.err
27112 rm -f conftest.er1
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_c_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest.$ac_objext; then
27119 ac_lo=0 ac_mid=0
27120 while :; do
27121 cat >conftest.$ac_ext <<_ACEOF
27122 /* confdefs.h. */
27123 _ACEOF
27124 cat confdefs.h >>conftest.$ac_ext
27125 cat >>conftest.$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27127
27128 #undef HAVE_BOOLEAN
27129 #include <stdio.h>
27130 #include <jpeglib.h>
27131
27132
27133 typedef boolean ac__type_sizeof_;
27134 int
27135 main ()
27136 {
27137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27138 test_array [0] = 0
27139
27140 ;
27141 return 0;
27142 }
27143 _ACEOF
27144 rm -f conftest.$ac_objext
27145 if { (ac_try="$ac_compile"
27146 case "(($ac_try" in
27147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27148 *) ac_try_echo=$ac_try;;
27149 esac
27150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27151 (eval "$ac_compile") 2>conftest.er1
27152 ac_status=$?
27153 grep -v '^ *+' conftest.er1 >conftest.err
27154 rm -f conftest.er1
27155 cat conftest.err >&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); } && {
27158 test -z "$ac_c_werror_flag" ||
27159 test ! -s conftest.err
27160 } && test -s conftest.$ac_objext; then
27161 ac_hi=$ac_mid; break
27162 else
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27165
27166 ac_lo=`expr $ac_mid + 1`
27167 if test $ac_lo -le $ac_mid; then
27168 ac_lo= ac_hi=
27169 break
27170 fi
27171 ac_mid=`expr 2 '*' $ac_mid + 1`
27172 fi
27173
27174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27175 done
27176 else
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.$ac_ext >&5
27179
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186
27187 #undef HAVE_BOOLEAN
27188 #include <stdio.h>
27189 #include <jpeglib.h>
27190
27191
27192 typedef boolean ac__type_sizeof_;
27193 int
27194 main ()
27195 {
27196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27197 test_array [0] = 0
27198
27199 ;
27200 return 0;
27201 }
27202 _ACEOF
27203 rm -f conftest.$ac_objext
27204 if { (ac_try="$ac_compile"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27208 esac
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_compile") 2>conftest.er1
27211 ac_status=$?
27212 grep -v '^ *+' conftest.er1 >conftest.err
27213 rm -f conftest.er1
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest.$ac_objext; then
27220 ac_hi=-1 ac_mid=-1
27221 while :; do
27222 cat >conftest.$ac_ext <<_ACEOF
27223 /* confdefs.h. */
27224 _ACEOF
27225 cat confdefs.h >>conftest.$ac_ext
27226 cat >>conftest.$ac_ext <<_ACEOF
27227 /* end confdefs.h. */
27228
27229 #undef HAVE_BOOLEAN
27230 #include <stdio.h>
27231 #include <jpeglib.h>
27232
27233
27234 typedef boolean ac__type_sizeof_;
27235 int
27236 main ()
27237 {
27238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27239 test_array [0] = 0
27240
27241 ;
27242 return 0;
27243 }
27244 _ACEOF
27245 rm -f conftest.$ac_objext
27246 if { (ac_try="$ac_compile"
27247 case "(($ac_try" in
27248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27249 *) ac_try_echo=$ac_try;;
27250 esac
27251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27252 (eval "$ac_compile") 2>conftest.er1
27253 ac_status=$?
27254 grep -v '^ *+' conftest.er1 >conftest.err
27255 rm -f conftest.er1
27256 cat conftest.err >&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); } && {
27259 test -z "$ac_c_werror_flag" ||
27260 test ! -s conftest.err
27261 } && test -s conftest.$ac_objext; then
27262 ac_lo=$ac_mid; break
27263 else
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.$ac_ext >&5
27266
27267 ac_hi=`expr '(' $ac_mid ')' - 1`
27268 if test $ac_mid -le $ac_hi; then
27269 ac_lo= ac_hi=
27270 break
27271 fi
27272 ac_mid=`expr 2 '*' $ac_mid`
27273 fi
27274
27275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27276 done
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27280
27281 ac_lo= ac_hi=
27282 fi
27283
27284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27285 fi
27286
27287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27288 # Binary search between lo and hi bounds.
27289 while test "x$ac_lo" != "x$ac_hi"; do
27290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27291 cat >conftest.$ac_ext <<_ACEOF
27292 /* confdefs.h. */
27293 _ACEOF
27294 cat confdefs.h >>conftest.$ac_ext
27295 cat >>conftest.$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27297
27298 #undef HAVE_BOOLEAN
27299 #include <stdio.h>
27300 #include <jpeglib.h>
27301
27302
27303 typedef boolean ac__type_sizeof_;
27304 int
27305 main ()
27306 {
27307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27308 test_array [0] = 0
27309
27310 ;
27311 return 0;
27312 }
27313 _ACEOF
27314 rm -f conftest.$ac_objext
27315 if { (ac_try="$ac_compile"
27316 case "(($ac_try" in
27317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27318 *) ac_try_echo=$ac_try;;
27319 esac
27320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27321 (eval "$ac_compile") 2>conftest.er1
27322 ac_status=$?
27323 grep -v '^ *+' conftest.er1 >conftest.err
27324 rm -f conftest.er1
27325 cat conftest.err >&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } && {
27328 test -z "$ac_c_werror_flag" ||
27329 test ! -s conftest.err
27330 } && test -s conftest.$ac_objext; then
27331 ac_hi=$ac_mid
27332 else
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27335
27336 ac_lo=`expr '(' $ac_mid ')' + 1`
27337 fi
27338
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 done
27341 case $ac_lo in
27342 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27343 '') if test "$ac_cv_type_boolean" = yes; then
27344 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27345 See \`config.log' for more details." >&5
27346 echo "$as_me: error: cannot compute sizeof (boolean)
27347 See \`config.log' for more details." >&2;}
27348 { (exit 77); exit 77; }; }
27349 else
27350 ac_cv_sizeof_boolean=0
27351 fi ;;
27352 esac
27353 else
27354 cat >conftest.$ac_ext <<_ACEOF
27355 /* confdefs.h. */
27356 _ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360
27361 #undef HAVE_BOOLEAN
27362 #include <stdio.h>
27363 #include <jpeglib.h>
27364
27365
27366 typedef boolean ac__type_sizeof_;
27367 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27368 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27369 #include <stdio.h>
27370 #include <stdlib.h>
27371 int
27372 main ()
27373 {
27374
27375 FILE *f = fopen ("conftest.val", "w");
27376 if (! f)
27377 return 1;
27378 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27379 {
27380 long int i = longval ();
27381 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27382 return 1;
27383 fprintf (f, "%ld\n", i);
27384 }
27385 else
27386 {
27387 unsigned long int i = ulongval ();
27388 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27389 return 1;
27390 fprintf (f, "%lu\n", i);
27391 }
27392 return ferror (f) || fclose (f) != 0;
27393
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest$ac_exeext
27399 if { (ac_try="$ac_link"
27400 case "(($ac_try" in
27401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27402 *) ac_try_echo=$ac_try;;
27403 esac
27404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27405 (eval "$ac_link") 2>&5
27406 ac_status=$?
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27409 { (case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_try") 2>&5
27415 ac_status=$?
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); }; }; then
27418 ac_cv_sizeof_boolean=`cat conftest.val`
27419 else
27420 echo "$as_me: program exited with status $ac_status" >&5
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.$ac_ext >&5
27423
27424 ( exit $ac_status )
27425 if test "$ac_cv_type_boolean" = yes; then
27426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27427 See \`config.log' for more details." >&5
27428 echo "$as_me: error: cannot compute sizeof (boolean)
27429 See \`config.log' for more details." >&2;}
27430 { (exit 77); exit 77; }; }
27431 else
27432 ac_cv_sizeof_boolean=0
27433 fi
27434 fi
27435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27436 fi
27437 rm -f conftest.val
27438 fi
27439 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27440 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27441
27442
27443
27444 cat >>confdefs.h <<_ACEOF
27445 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27446 _ACEOF
27447
27448
27449 cat >>confdefs.h <<_ACEOF
27450 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27451 _ACEOF
27452
27453
27454 fi
27455
27456 fi
27457 fi
27458 fi
27459 fi
27460 fi
27461
27462
27463 TIFF_LINK=
27464 TIFF_PREREQ_LINKS=-lm
27465 if test "$wxUSE_LIBTIFF" != "no" ; then
27466 cat >>confdefs.h <<\_ACEOF
27467 #define wxUSE_LIBTIFF 1
27468 _ACEOF
27469
27470
27471 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27472 if test "$wxUSE_LIBJPEG" = "sys"; then
27473 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27474 fi
27475 if test "$wxUSE_ZLIB" = "sys"; then
27476 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27477 fi
27478 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27479 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27480 if test "${ac_cv_header_tiffio_h+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 else
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489
27490
27491
27492 #include <tiffio.h>
27493 _ACEOF
27494 rm -f conftest.$ac_objext
27495 if { (ac_try="$ac_compile"
27496 case "(($ac_try" in
27497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27498 *) ac_try_echo=$ac_try;;
27499 esac
27500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27501 (eval "$ac_compile") 2>conftest.er1
27502 ac_status=$?
27503 grep -v '^ *+' conftest.er1 >conftest.err
27504 rm -f conftest.er1
27505 cat conftest.err >&5
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); } && {
27508 test -z "$ac_c_werror_flag" ||
27509 test ! -s conftest.err
27510 } && test -s conftest.$ac_objext; then
27511 ac_cv_header_tiffio_h=yes
27512 else
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.$ac_ext >&5
27515
27516 ac_cv_header_tiffio_h=no
27517 fi
27518
27519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27520 fi
27521 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27522 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27523 if test $ac_cv_header_tiffio_h = yes; then
27524
27525 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27526 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27527 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27528 echo $ECHO_N "(cached) $ECHO_C" >&6
27529 else
27530 ac_check_lib_save_LIBS=$LIBS
27531 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538
27539 /* Override any GCC internal prototype to avoid an error.
27540 Use char because int might match the return type of a GCC
27541 builtin and then its argument prototype would still apply. */
27542 #ifdef __cplusplus
27543 extern "C"
27544 #endif
27545 char TIFFError ();
27546 int
27547 main ()
27548 {
27549 return TIFFError ();
27550 ;
27551 return 0;
27552 }
27553 _ACEOF
27554 rm -f conftest.$ac_objext conftest$ac_exeext
27555 if { (ac_try="$ac_link"
27556 case "(($ac_try" in
27557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27558 *) ac_try_echo=$ac_try;;
27559 esac
27560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27561 (eval "$ac_link") 2>conftest.er1
27562 ac_status=$?
27563 grep -v '^ *+' conftest.er1 >conftest.err
27564 rm -f conftest.er1
27565 cat conftest.err >&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } && {
27568 test -z "$ac_c_werror_flag" ||
27569 test ! -s conftest.err
27570 } && test -s conftest$ac_exeext &&
27571 $as_test_x conftest$ac_exeext; then
27572 ac_cv_lib_tiff_TIFFError=yes
27573 else
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.$ac_ext >&5
27576
27577 ac_cv_lib_tiff_TIFFError=no
27578 fi
27579
27580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27581 conftest$ac_exeext conftest.$ac_ext
27582 LIBS=$ac_check_lib_save_LIBS
27583 fi
27584 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27585 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27586 if test $ac_cv_lib_tiff_TIFFError = yes; then
27587 TIFF_LINK=" -ltiff"
27588 fi
27589
27590
27591 fi
27592
27593
27594
27595 if test "x$TIFF_LINK" = "x" ; then
27596 if test "$wxUSE_LIBTIFF" = "sys" ; then
27597 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27598 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27599 { (exit 1); exit 1; }; }
27600 else
27601 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27602 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27603 wxUSE_LIBTIFF=builtin
27604 fi
27605 else
27606 wxUSE_LIBTIFF=sys
27607 fi
27608 fi
27609 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27610 if test "$wxUSE_LIBJPEG" = "no"; then
27611 ac_configure_args="$ac_configure_args --disable-jpeg"
27612 fi
27613 subdirs="$subdirs src/tiff"
27614
27615 fi
27616 fi
27617
27618
27619 if test "$wxUSE_WCHAR_T" != "yes"; then
27620 if test "$wxUSE_EXPAT" != "no"; then
27621 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27622 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27623 wxUSE_EXPAT=no
27624 fi
27625 if test "$wxUSE_XML" != "no"; then
27626 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27627 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27628 wxUSE_XML=no
27629 fi
27630 fi
27631
27632 if test "$wxUSE_EXPAT" != "no"; then
27633 wxUSE_XML=yes
27634 cat >>confdefs.h <<\_ACEOF
27635 #define wxUSE_EXPAT 1
27636 _ACEOF
27637
27638 cat >>confdefs.h <<\_ACEOF
27639 #define wxUSE_XML 1
27640 _ACEOF
27641
27642
27643 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27644 { echo "$as_me:$LINENO: checking for expat.h" >&5
27645 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27646 if test "${ac_cv_header_expat_h+set}" = set; then
27647 echo $ECHO_N "(cached) $ECHO_C" >&6
27648 else
27649 cat >conftest.$ac_ext <<_ACEOF
27650 /* confdefs.h. */
27651 _ACEOF
27652 cat confdefs.h >>conftest.$ac_ext
27653 cat >>conftest.$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27655
27656
27657 #include <expat.h>
27658 _ACEOF
27659 rm -f conftest.$ac_objext
27660 if { (ac_try="$ac_compile"
27661 case "(($ac_try" in
27662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27663 *) ac_try_echo=$ac_try;;
27664 esac
27665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27666 (eval "$ac_compile") 2>conftest.er1
27667 ac_status=$?
27668 grep -v '^ *+' conftest.er1 >conftest.err
27669 rm -f conftest.er1
27670 cat conftest.err >&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } && {
27673 test -z "$ac_c_werror_flag" ||
27674 test ! -s conftest.err
27675 } && test -s conftest.$ac_objext; then
27676 ac_cv_header_expat_h=yes
27677 else
27678 echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27680
27681 ac_cv_header_expat_h=no
27682 fi
27683
27684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27685 fi
27686 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27687 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27688 if test $ac_cv_header_expat_h = yes; then
27689 found_expat_h=1
27690 fi
27691
27692
27693 if test "x$found_expat_h" = "x1"; then
27694 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27695 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27696 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 else
27699
27700 ac_ext=cpp
27701 ac_cpp='$CXXCPP $CPPFLAGS'
27702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27705
27706 cat >conftest.$ac_ext <<_ACEOF
27707 /* confdefs.h. */
27708 _ACEOF
27709 cat confdefs.h >>conftest.$ac_ext
27710 cat >>conftest.$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27712 #include <expat.h>
27713 int
27714 main ()
27715 {
27716
27717 ;
27718 return 0;
27719 }
27720 _ACEOF
27721 rm -f conftest.$ac_objext
27722 if { (ac_try="$ac_compile"
27723 case "(($ac_try" in
27724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27725 *) ac_try_echo=$ac_try;;
27726 esac
27727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27728 (eval "$ac_compile") 2>conftest.er1
27729 ac_status=$?
27730 grep -v '^ *+' conftest.er1 >conftest.err
27731 rm -f conftest.er1
27732 cat conftest.err >&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } && {
27735 test -z "$ac_cxx_werror_flag" ||
27736 test ! -s conftest.err
27737 } && test -s conftest.$ac_objext; then
27738 wx_cv_expat_is_not_broken=yes
27739 else
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27742
27743 wx_cv_expat_is_not_broken=no
27744
27745 fi
27746
27747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27748 ac_ext=c
27749 ac_cpp='$CPP $CPPFLAGS'
27750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27753
27754
27755
27756 fi
27757 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27758 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27759 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27760 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27761 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27762 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27763 echo $ECHO_N "(cached) $ECHO_C" >&6
27764 else
27765 ac_check_lib_save_LIBS=$LIBS
27766 LIBS="-lexpat $LIBS"
27767 cat >conftest.$ac_ext <<_ACEOF
27768 /* confdefs.h. */
27769 _ACEOF
27770 cat confdefs.h >>conftest.$ac_ext
27771 cat >>conftest.$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773
27774 /* Override any GCC internal prototype to avoid an error.
27775 Use char because int might match the return type of a GCC
27776 builtin and then its argument prototype would still apply. */
27777 #ifdef __cplusplus
27778 extern "C"
27779 #endif
27780 char XML_ParserCreate ();
27781 int
27782 main ()
27783 {
27784 return XML_ParserCreate ();
27785 ;
27786 return 0;
27787 }
27788 _ACEOF
27789 rm -f conftest.$ac_objext conftest$ac_exeext
27790 if { (ac_try="$ac_link"
27791 case "(($ac_try" in
27792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27793 *) ac_try_echo=$ac_try;;
27794 esac
27795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27796 (eval "$ac_link") 2>conftest.er1
27797 ac_status=$?
27798 grep -v '^ *+' conftest.er1 >conftest.err
27799 rm -f conftest.er1
27800 cat conftest.err >&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } && {
27803 test -z "$ac_c_werror_flag" ||
27804 test ! -s conftest.err
27805 } && test -s conftest$ac_exeext &&
27806 $as_test_x conftest$ac_exeext; then
27807 ac_cv_lib_expat_XML_ParserCreate=yes
27808 else
27809 echo "$as_me: failed program was:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27811
27812 ac_cv_lib_expat_XML_ParserCreate=no
27813 fi
27814
27815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27816 conftest$ac_exeext conftest.$ac_ext
27817 LIBS=$ac_check_lib_save_LIBS
27818 fi
27819 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27820 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27821 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27822 EXPAT_LINK=" -lexpat"
27823 fi
27824
27825 fi
27826 fi
27827 if test "x$EXPAT_LINK" = "x" ; then
27828 if test "$wxUSE_EXPAT" = "sys" ; then
27829 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27830 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27831 { (exit 1); exit 1; }; }
27832 else
27833 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27834 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27835 wxUSE_EXPAT=builtin
27836 fi
27837 else
27838 wxUSE_EXPAT=sys
27839 fi
27840 fi
27841 if test "$wxUSE_EXPAT" = "builtin" ; then
27842 subdirs="$subdirs src/expat"
27843
27844 fi
27845 fi
27846
27847
27848
27849 if test "$wxUSE_LIBMSPACK" != "no"; then
27850 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27851 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27852 if test "${ac_cv_header_mspack_h+set}" = set; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6
27854 else
27855 cat >conftest.$ac_ext <<_ACEOF
27856 /* confdefs.h. */
27857 _ACEOF
27858 cat confdefs.h >>conftest.$ac_ext
27859 cat >>conftest.$ac_ext <<_ACEOF
27860 /* end confdefs.h. */
27861
27862
27863 #include <mspack.h>
27864 _ACEOF
27865 rm -f conftest.$ac_objext
27866 if { (ac_try="$ac_compile"
27867 case "(($ac_try" in
27868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27869 *) ac_try_echo=$ac_try;;
27870 esac
27871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27872 (eval "$ac_compile") 2>conftest.er1
27873 ac_status=$?
27874 grep -v '^ *+' conftest.er1 >conftest.err
27875 rm -f conftest.er1
27876 cat conftest.err >&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } && {
27879 test -z "$ac_c_werror_flag" ||
27880 test ! -s conftest.err
27881 } && test -s conftest.$ac_objext; then
27882 ac_cv_header_mspack_h=yes
27883 else
27884 echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27886
27887 ac_cv_header_mspack_h=no
27888 fi
27889
27890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27891 fi
27892 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27893 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27894 if test $ac_cv_header_mspack_h = yes; then
27895 found_mspack_h=1
27896 fi
27897
27898
27899 if test "x$found_mspack_h" = "x1"; then
27900 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27901 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27902 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905 ac_check_lib_save_LIBS=$LIBS
27906 LIBS="-lmspack $LIBS"
27907 cat >conftest.$ac_ext <<_ACEOF
27908 /* confdefs.h. */
27909 _ACEOF
27910 cat confdefs.h >>conftest.$ac_ext
27911 cat >>conftest.$ac_ext <<_ACEOF
27912 /* end confdefs.h. */
27913
27914 /* Override any GCC internal prototype to avoid an error.
27915 Use char because int might match the return type of a GCC
27916 builtin and then its argument prototype would still apply. */
27917 #ifdef __cplusplus
27918 extern "C"
27919 #endif
27920 char mspack_create_chm_decompressor ();
27921 int
27922 main ()
27923 {
27924 return mspack_create_chm_decompressor ();
27925 ;
27926 return 0;
27927 }
27928 _ACEOF
27929 rm -f conftest.$ac_objext conftest$ac_exeext
27930 if { (ac_try="$ac_link"
27931 case "(($ac_try" in
27932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27933 *) ac_try_echo=$ac_try;;
27934 esac
27935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27936 (eval "$ac_link") 2>conftest.er1
27937 ac_status=$?
27938 grep -v '^ *+' conftest.er1 >conftest.err
27939 rm -f conftest.er1
27940 cat conftest.err >&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } && {
27943 test -z "$ac_c_werror_flag" ||
27944 test ! -s conftest.err
27945 } && test -s conftest$ac_exeext &&
27946 $as_test_x conftest$ac_exeext; then
27947 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27948 else
27949 echo "$as_me: failed program was:" >&5
27950 sed 's/^/| /' conftest.$ac_ext >&5
27951
27952 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27953 fi
27954
27955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27956 conftest$ac_exeext conftest.$ac_ext
27957 LIBS=$ac_check_lib_save_LIBS
27958 fi
27959 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27960 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27961 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27962 MSPACK_LINK=" -lmspack"
27963 fi
27964
27965 fi
27966 if test "x$MSPACK_LINK" = "x" ; then
27967 wxUSE_LIBMSPACK=no
27968 fi
27969 fi
27970
27971 if test "$wxUSE_LIBMSPACK" != "no"; then
27972 cat >>confdefs.h <<\_ACEOF
27973 #define wxUSE_LIBMSPACK 1
27974 _ACEOF
27975
27976 fi
27977
27978
27979
27980 AFMINSTALL=
27981 WIN32INSTALL=
27982
27983 TOOLKIT=
27984 TOOLKIT_INCLUDE=
27985 WIDGET_SET=
27986
27987 if test "$USE_WIN32" = 1 ; then
27988
27989 for ac_header in w32api.h
27990 do
27991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27995 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 else
27997 cat >conftest.$ac_ext <<_ACEOF
27998 /* confdefs.h. */
27999 _ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28003
28004
28005 #include <$ac_header>
28006 _ACEOF
28007 rm -f conftest.$ac_objext
28008 if { (ac_try="$ac_compile"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28012 esac
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_compile") 2>conftest.er1
28015 ac_status=$?
28016 grep -v '^ *+' conftest.er1 >conftest.err
28017 rm -f conftest.er1
28018 cat conftest.err >&5
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); } && {
28021 test -z "$ac_c_werror_flag" ||
28022 test ! -s conftest.err
28023 } && test -s conftest.$ac_objext; then
28024 eval "$as_ac_Header=yes"
28025 else
28026 echo "$as_me: failed program was:" >&5
28027 sed 's/^/| /' conftest.$ac_ext >&5
28028
28029 eval "$as_ac_Header=no"
28030 fi
28031
28032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28033 fi
28034 ac_res=`eval echo '${'$as_ac_Header'}'`
28035 { echo "$as_me:$LINENO: result: $ac_res" >&5
28036 echo "${ECHO_T}$ac_res" >&6; }
28037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28038 cat >>confdefs.h <<_ACEOF
28039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28040 _ACEOF
28041
28042 fi
28043
28044 done
28045
28046 { echo "$as_me:$LINENO: checking for windows.h" >&5
28047 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28048 if test "${ac_cv_header_windows_h+set}" = set; then
28049 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 else
28051 cat >conftest.$ac_ext <<_ACEOF
28052 /* confdefs.h. */
28053 _ACEOF
28054 cat confdefs.h >>conftest.$ac_ext
28055 cat >>conftest.$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28057
28058
28059 #include <windows.h>
28060 _ACEOF
28061 rm -f conftest.$ac_objext
28062 if { (ac_try="$ac_compile"
28063 case "(($ac_try" in
28064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28065 *) ac_try_echo=$ac_try;;
28066 esac
28067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28068 (eval "$ac_compile") 2>conftest.er1
28069 ac_status=$?
28070 grep -v '^ *+' conftest.er1 >conftest.err
28071 rm -f conftest.er1
28072 cat conftest.err >&5
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); } && {
28075 test -z "$ac_c_werror_flag" ||
28076 test ! -s conftest.err
28077 } && test -s conftest.$ac_objext; then
28078 ac_cv_header_windows_h=yes
28079 else
28080 echo "$as_me: failed program was:" >&5
28081 sed 's/^/| /' conftest.$ac_ext >&5
28082
28083 ac_cv_header_windows_h=no
28084 fi
28085
28086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28087 fi
28088 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28089 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28090 if test $ac_cv_header_windows_h = yes; then
28091 :
28092 else
28093
28094 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28095 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28096 { (exit 1); exit 1; }; }
28097
28098 fi
28099
28100
28101
28102 case "${host}" in
28103 x86_64-*-mingw32* )
28104 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28105 ;;
28106 * )
28107 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28108 ;;
28109 esac
28110 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28111 LIBS="$LIBS -loleacc"
28112 fi
28113
28114 case "${host}" in
28115 *-*-cygwin* )
28116 LIBS="$LIBS -lkernel32 -luser32"
28117 esac
28118
28119 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28120 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28121
28122 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28123
28124 WIN32INSTALL=win32install
28125
28126 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28127 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28128 if test "${ac_cv_header_pbt_h+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 else
28131 cat >conftest.$ac_ext <<_ACEOF
28132 /* confdefs.h. */
28133 _ACEOF
28134 cat confdefs.h >>conftest.$ac_ext
28135 cat >>conftest.$ac_ext <<_ACEOF
28136 /* end confdefs.h. */
28137
28138
28139 #include <pbt.h>
28140 _ACEOF
28141 rm -f conftest.$ac_objext
28142 if { (ac_try="$ac_compile"
28143 case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28146 esac
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_compile") 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } && {
28155 test -z "$ac_c_werror_flag" ||
28156 test ! -s conftest.err
28157 } && test -s conftest.$ac_objext; then
28158 ac_cv_header_pbt_h=yes
28159 else
28160 echo "$as_me: failed program was:" >&5
28161 sed 's/^/| /' conftest.$ac_ext >&5
28162
28163 ac_cv_header_pbt_h=no
28164 fi
28165
28166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28167 fi
28168 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28169 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28170 if test $ac_cv_header_pbt_h = yes; then
28171 :
28172 else
28173 cat >>confdefs.h <<\_ACEOF
28174 #define NEED_PBT_H 1
28175 _ACEOF
28176
28177 fi
28178
28179
28180 fi
28181
28182 if test "$wxUSE_GUI" = "yes"; then
28183 USE_GUI=1
28184
28185 GUI_TK_LIBRARY=
28186
28187 WXGTK12=
28188 WXGTK127=
28189 WXGTK2=
28190 WXGPE=
28191
28192 if test "$wxUSE_COCOA" = 1 ; then
28193 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28194 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28195 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28196 wxUSE_PRINTING_ARCHITECTURE=no
28197 fi
28198 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28199 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28200 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28201 wxUSE_DRAG_AND_DROP=no
28202 fi
28203 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28204 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28205 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28206 wxUSE_DRAGIMAGE=no
28207 fi
28208 fi
28209
28210 if test "$wxUSE_MSW" = 1 ; then
28211 TOOLKIT=MSW
28212 GUIDIST=MSW_DIST
28213
28214 case "${host}" in
28215 *-*-mingw32* )
28216 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28217 esac
28218 fi
28219
28220 if test "$wxUSE_GTK" = 1; then
28221 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28222 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28223
28224 gtk_version_cached=1
28225 if test "${wx_cv_lib_gtk+set}" = set; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 else
28228
28229 gtk_version_cached=0
28230 { echo "$as_me:$LINENO: result: " >&5
28231 echo "${ECHO_T}" >&6; }
28232
28233 GTK_MODULES=
28234 if test "$wxUSE_THREADS" = "yes"; then
28235 GTK_MODULES=gthread
28236 fi
28237
28238 wx_cv_lib_gtk=
28239 if test "x$wxGTK_VERSION" != "x1"
28240 then
28241 case "${host}" in
28242 *-*-solaris2* )
28243 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28244 enable_gtktest=no
28245 fi
28246 esac
28247
28248 # Check whether --enable-gtktest was given.
28249 if test "${enable_gtktest+set}" = set; then
28250 enableval=$enable_gtktest;
28251 else
28252 enable_gtktest=yes
28253 fi
28254
28255
28256 pkg_config_args=gtk+-2.0
28257 for module in . $GTK_MODULES
28258 do
28259 case "$module" in
28260 gthread)
28261 pkg_config_args="$pkg_config_args gthread-2.0"
28262 ;;
28263 esac
28264 done
28265
28266 no_gtk=""
28267
28268 # Extract the first word of "pkg-config", so it can be a program name with args.
28269 set dummy pkg-config; ac_word=$2
28270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28272 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28273 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 else
28275 case $PKG_CONFIG in
28276 [\\/]* | ?:[\\/]*)
28277 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28278 ;;
28279 *)
28280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28281 for as_dir in $PATH
28282 do
28283 IFS=$as_save_IFS
28284 test -z "$as_dir" && as_dir=.
28285 for ac_exec_ext in '' $ac_executable_extensions; do
28286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28287 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28289 break 2
28290 fi
28291 done
28292 done
28293 IFS=$as_save_IFS
28294
28295 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28296 ;;
28297 esac
28298 fi
28299 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28300 if test -n "$PKG_CONFIG"; then
28301 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28302 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28303 else
28304 { echo "$as_me:$LINENO: result: no" >&5
28305 echo "${ECHO_T}no" >&6; }
28306 fi
28307
28308
28309
28310 if test x$PKG_CONFIG != xno ; then
28311 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28312 :
28313 else
28314 echo "*** pkg-config too old; version 0.7 or better required."
28315 no_gtk=yes
28316 PKG_CONFIG=no
28317 fi
28318 else
28319 no_gtk=yes
28320 fi
28321
28322 min_gtk_version=2.4.0
28323 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28324 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28325
28326 if test x$PKG_CONFIG != xno ; then
28327 ## don't try to run the test against uninstalled libtool libs
28328 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28329 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28330 enable_gtktest=no
28331 fi
28332
28333 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28334 :
28335 else
28336 no_gtk=yes
28337 fi
28338 fi
28339
28340 if test x"$no_gtk" = x ; then
28341 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28342 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28343 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28344 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28345 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28346 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28347 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28348 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28349 if test "x$enable_gtktest" = "xyes" ; then
28350 ac_save_CFLAGS="$CFLAGS"
28351 ac_save_LIBS="$LIBS"
28352 CFLAGS="$CFLAGS $GTK_CFLAGS"
28353 LIBS="$GTK_LIBS $LIBS"
28354 rm -f conf.gtktest
28355 if test "$cross_compiling" = yes; then
28356 echo $ac_n "cross compiling; assumed OK... $ac_c"
28357 else
28358 cat >conftest.$ac_ext <<_ACEOF
28359 /* confdefs.h. */
28360 _ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364
28365 #include <gtk/gtk.h>
28366 #include <stdio.h>
28367 #include <stdlib.h>
28368
28369 int
28370 main ()
28371 {
28372 int major, minor, micro;
28373 char *tmp_version;
28374
28375 system ("touch conf.gtktest");
28376
28377 /* HP/UX 9 (%@#!) writes to sscanf strings */
28378 tmp_version = g_strdup("$min_gtk_version");
28379 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28380 printf("%s, bad version string\n", "$min_gtk_version");
28381 exit(1);
28382 }
28383
28384 if ((gtk_major_version != $gtk_config_major_version) ||
28385 (gtk_minor_version != $gtk_config_minor_version) ||
28386 (gtk_micro_version != $gtk_config_micro_version))
28387 {
28388 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28389 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28390 gtk_major_version, gtk_minor_version, gtk_micro_version);
28391 printf ("*** was found! If pkg-config was correct, then it is best\n");
28392 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28393 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28394 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28395 printf("*** required on your system.\n");
28396 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28397 printf("*** to point to the correct configuration files\n");
28398 }
28399 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28400 (gtk_minor_version != GTK_MINOR_VERSION) ||
28401 (gtk_micro_version != GTK_MICRO_VERSION))
28402 {
28403 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28404 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28405 printf("*** library (version %d.%d.%d)\n",
28406 gtk_major_version, gtk_minor_version, gtk_micro_version);
28407 }
28408 else
28409 {
28410 if ((gtk_major_version > major) ||
28411 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28412 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28413 {
28414 return 0;
28415 }
28416 else
28417 {
28418 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28419 gtk_major_version, gtk_minor_version, gtk_micro_version);
28420 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28421 major, minor, micro);
28422 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28423 printf("***\n");
28424 printf("*** If you have already installed a sufficiently new version, this error\n");
28425 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28426 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28427 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28428 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28429 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28430 printf("*** so that the correct libraries are found at run-time))\n");
28431 }
28432 }
28433 return 1;
28434 }
28435
28436 _ACEOF
28437 rm -f conftest$ac_exeext
28438 if { (ac_try="$ac_link"
28439 case "(($ac_try" in
28440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28441 *) ac_try_echo=$ac_try;;
28442 esac
28443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28444 (eval "$ac_link") 2>&5
28445 ac_status=$?
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28448 { (case "(($ac_try" in
28449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28450 *) ac_try_echo=$ac_try;;
28451 esac
28452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28453 (eval "$ac_try") 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 :
28458 else
28459 echo "$as_me: program exited with status $ac_status" >&5
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.$ac_ext >&5
28462
28463 ( exit $ac_status )
28464 no_gtk=yes
28465 fi
28466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28467 fi
28468
28469
28470 CFLAGS="$ac_save_CFLAGS"
28471 LIBS="$ac_save_LIBS"
28472 fi
28473 fi
28474 if test "x$no_gtk" = x ; then
28475 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28476 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28477 wx_cv_lib_gtk=2.0
28478 else
28479 { echo "$as_me:$LINENO: result: no" >&5
28480 echo "${ECHO_T}no" >&6; }
28481 if test "$PKG_CONFIG" = "no" ; then
28482 echo "*** A new enough version of pkg-config was not found."
28483 echo "*** See http://pkgconfig.sourceforge.net"
28484 else
28485 if test -f conf.gtktest ; then
28486 :
28487 else
28488 echo "*** Could not run GTK+ test program, checking why..."
28489 ac_save_CFLAGS="$CFLAGS"
28490 ac_save_LIBS="$LIBS"
28491 CFLAGS="$CFLAGS $GTK_CFLAGS"
28492 LIBS="$LIBS $GTK_LIBS"
28493 cat >conftest.$ac_ext <<_ACEOF
28494 /* confdefs.h. */
28495 _ACEOF
28496 cat confdefs.h >>conftest.$ac_ext
28497 cat >>conftest.$ac_ext <<_ACEOF
28498 /* end confdefs.h. */
28499
28500 #include <gtk/gtk.h>
28501 #include <stdio.h>
28502
28503 int
28504 main ()
28505 {
28506 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28507 ;
28508 return 0;
28509 }
28510 _ACEOF
28511 rm -f conftest.$ac_objext conftest$ac_exeext
28512 if { (ac_try="$ac_link"
28513 case "(($ac_try" in
28514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28515 *) ac_try_echo=$ac_try;;
28516 esac
28517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28518 (eval "$ac_link") 2>conftest.er1
28519 ac_status=$?
28520 grep -v '^ *+' conftest.er1 >conftest.err
28521 rm -f conftest.er1
28522 cat conftest.err >&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); } && {
28525 test -z "$ac_c_werror_flag" ||
28526 test ! -s conftest.err
28527 } && test -s conftest$ac_exeext &&
28528 $as_test_x conftest$ac_exeext; then
28529 echo "*** The test program compiled, but did not run. This usually means"
28530 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28531 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28532 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28533 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28534 echo "*** is required on your system"
28535 echo "***"
28536 echo "*** If you have an old version installed, it is best to remove it, although"
28537 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28538 else
28539 echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28541
28542 echo "*** The test program failed to compile or link. See the file config.log for the"
28543 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28544 fi
28545
28546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28547 conftest$ac_exeext conftest.$ac_ext
28548 CFLAGS="$ac_save_CFLAGS"
28549 LIBS="$ac_save_LIBS"
28550 fi
28551 fi
28552 GTK_CFLAGS=""
28553 GTK_LIBS=""
28554 :
28555 fi
28556
28557
28558 rm -f conf.gtktest
28559
28560
28561 case "${host}" in
28562 *-*-solaris2* )
28563 if test "$wxUSE_SHARED" != "yes"; then
28564 GTK_LIBS="$GTK_LIBS -lX11"
28565 fi
28566 esac
28567 fi
28568
28569 if test -z "$wx_cv_lib_gtk"; then
28570 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28571
28572 # Check whether --with-gtk-prefix was given.
28573 if test "${with_gtk_prefix+set}" = set; then
28574 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28575 else
28576 gtk_config_prefix=""
28577 fi
28578
28579
28580 # Check whether --with-gtk-exec-prefix was given.
28581 if test "${with_gtk_exec_prefix+set}" = set; then
28582 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28583 else
28584 gtk_config_exec_prefix=""
28585 fi
28586
28587 # Check whether --enable-gtktest was given.
28588 if test "${enable_gtktest+set}" = set; then
28589 enableval=$enable_gtktest;
28590 else
28591 enable_gtktest=yes
28592 fi
28593
28594
28595 for module in . $GTK_MODULES
28596 do
28597 case "$module" in
28598 gthread)
28599 gtk_config_args="$gtk_config_args gthread"
28600 ;;
28601 esac
28602 done
28603
28604 if test x$gtk_config_exec_prefix != x ; then
28605 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28606 if test x${GTK_CONFIG+set} != xset ; then
28607 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28608 fi
28609 fi
28610 if test x$gtk_config_prefix != x ; then
28611 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28612 if test x${GTK_CONFIG+set} != xset ; then
28613 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28614 fi
28615 fi
28616
28617 # Extract the first word of "gtk-config", so it can be a program name with args.
28618 set dummy gtk-config; ac_word=$2
28619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28621 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28622 echo $ECHO_N "(cached) $ECHO_C" >&6
28623 else
28624 case $GTK_CONFIG in
28625 [\\/]* | ?:[\\/]*)
28626 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28627 ;;
28628 *)
28629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28630 for as_dir in $PATH
28631 do
28632 IFS=$as_save_IFS
28633 test -z "$as_dir" && as_dir=.
28634 for ac_exec_ext in '' $ac_executable_extensions; do
28635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28636 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28638 break 2
28639 fi
28640 done
28641 done
28642 IFS=$as_save_IFS
28643
28644 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28645 ;;
28646 esac
28647 fi
28648 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28649 if test -n "$GTK_CONFIG"; then
28650 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28651 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28652 else
28653 { echo "$as_me:$LINENO: result: no" >&5
28654 echo "${ECHO_T}no" >&6; }
28655 fi
28656
28657
28658 min_gtk_version=1.2.7
28659 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28660 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28661 no_gtk=""
28662 if test "$GTK_CONFIG" = "no" ; then
28663 no_gtk=yes
28664 else
28665 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28666 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28667 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28669 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28671 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28673 if test "x$enable_gtktest" = "xyes" ; then
28674 ac_save_CFLAGS="$CFLAGS"
28675 ac_save_LIBS="$LIBS"
28676 CFLAGS="$CFLAGS $GTK_CFLAGS"
28677 LIBS="$GTK_LIBS $LIBS"
28678 rm -f conf.gtktest
28679 if test "$cross_compiling" = yes; then
28680 echo $ac_n "cross compiling; assumed OK... $ac_c"
28681 else
28682 cat >conftest.$ac_ext <<_ACEOF
28683 /* confdefs.h. */
28684 _ACEOF
28685 cat confdefs.h >>conftest.$ac_ext
28686 cat >>conftest.$ac_ext <<_ACEOF
28687 /* end confdefs.h. */
28688
28689 #include <gtk/gtk.h>
28690 #include <stdio.h>
28691 #include <stdlib.h>
28692
28693 int
28694 main ()
28695 {
28696 int major, minor, micro;
28697 char *tmp_version;
28698
28699 system ("touch conf.gtktest");
28700
28701 /* HP/UX 9 (%@#!) writes to sscanf strings */
28702 tmp_version = g_strdup("$min_gtk_version");
28703 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28704 printf("%s, bad version string\n", "$min_gtk_version");
28705 exit(1);
28706 }
28707
28708 if ((gtk_major_version != $gtk_config_major_version) ||
28709 (gtk_minor_version != $gtk_config_minor_version) ||
28710 (gtk_micro_version != $gtk_config_micro_version))
28711 {
28712 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28713 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28714 gtk_major_version, gtk_minor_version, gtk_micro_version);
28715 printf ("*** was found! If gtk-config was correct, then it is best\n");
28716 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28717 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28718 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28719 printf("*** required on your system.\n");
28720 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28721 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28722 printf("*** before re-running configure\n");
28723 }
28724 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28725 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28726 (gtk_minor_version != GTK_MINOR_VERSION) ||
28727 (gtk_micro_version != GTK_MICRO_VERSION))
28728 {
28729 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28730 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28731 printf("*** library (version %d.%d.%d)\n",
28732 gtk_major_version, gtk_minor_version, gtk_micro_version);
28733 }
28734 #endif /* defined (GTK_MAJOR_VERSION) ... */
28735 else
28736 {
28737 if ((gtk_major_version > major) ||
28738 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28739 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28740 {
28741 return 0;
28742 }
28743 else
28744 {
28745 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28746 gtk_major_version, gtk_minor_version, gtk_micro_version);
28747 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28748 major, minor, micro);
28749 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28750 printf("***\n");
28751 printf("*** If you have already installed a sufficiently new version, this error\n");
28752 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28753 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28754 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28755 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28756 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28757 printf("*** so that the correct libraries are found at run-time))\n");
28758 }
28759 }
28760 return 1;
28761 }
28762
28763 _ACEOF
28764 rm -f conftest$ac_exeext
28765 if { (ac_try="$ac_link"
28766 case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28769 esac
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_link") 2>&5
28772 ac_status=$?
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28775 { (case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_try") 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; }; then
28784 :
28785 else
28786 echo "$as_me: program exited with status $ac_status" >&5
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28789
28790 ( exit $ac_status )
28791 no_gtk=yes
28792 fi
28793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28794 fi
28795
28796
28797 CFLAGS="$ac_save_CFLAGS"
28798 LIBS="$ac_save_LIBS"
28799 fi
28800 fi
28801 if test "x$no_gtk" = x ; then
28802 { echo "$as_me:$LINENO: result: yes" >&5
28803 echo "${ECHO_T}yes" >&6; }
28804 wx_cv_lib_gtk=1.2.7
28805 else
28806 { echo "$as_me:$LINENO: result: no" >&5
28807 echo "${ECHO_T}no" >&6; }
28808 if test "$GTK_CONFIG" = "no" ; then
28809 echo "*** The gtk-config script installed by GTK could not be found"
28810 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28811 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28812 echo "*** full path to gtk-config."
28813 else
28814 if test -f conf.gtktest ; then
28815 :
28816 else
28817 echo "*** Could not run GTK test program, checking why..."
28818 CFLAGS="$CFLAGS $GTK_CFLAGS"
28819 LIBS="$LIBS $GTK_LIBS"
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826
28827 #include <gtk/gtk.h>
28828 #include <stdio.h>
28829
28830 int
28831 main ()
28832 {
28833 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28834 ;
28835 return 0;
28836 }
28837 _ACEOF
28838 rm -f conftest.$ac_objext conftest$ac_exeext
28839 if { (ac_try="$ac_link"
28840 case "(($ac_try" in
28841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28842 *) ac_try_echo=$ac_try;;
28843 esac
28844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28845 (eval "$ac_link") 2>conftest.er1
28846 ac_status=$?
28847 grep -v '^ *+' conftest.er1 >conftest.err
28848 rm -f conftest.er1
28849 cat conftest.err >&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); } && {
28852 test -z "$ac_c_werror_flag" ||
28853 test ! -s conftest.err
28854 } && test -s conftest$ac_exeext &&
28855 $as_test_x conftest$ac_exeext; then
28856 echo "*** The test program compiled, but did not run. This usually means"
28857 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28858 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28859 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28860 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28861 echo "*** is required on your system"
28862 echo "***"
28863 echo "*** If you have an old version installed, it is best to remove it, although"
28864 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28865 echo "***"
28866 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28867 echo "*** came with the system with the command"
28868 echo "***"
28869 echo "*** rpm --erase --nodeps gtk gtk-devel"
28870 else
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28873
28874 echo "*** The test program failed to compile or link. See the file config.log for the"
28875 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28876 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28877 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28878 fi
28879
28880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28881 conftest$ac_exeext conftest.$ac_ext
28882 CFLAGS="$ac_save_CFLAGS"
28883 LIBS="$ac_save_LIBS"
28884 fi
28885 fi
28886 GTK_CFLAGS=""
28887 GTK_LIBS=""
28888 :
28889 fi
28890
28891
28892 rm -f conf.gtktest
28893
28894
28895 if test -z "$wx_cv_lib_gtk"; then
28896
28897 # Check whether --with-gtk-prefix was given.
28898 if test "${with_gtk_prefix+set}" = set; then
28899 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28900 else
28901 gtk_config_prefix=""
28902 fi
28903
28904
28905 # Check whether --with-gtk-exec-prefix was given.
28906 if test "${with_gtk_exec_prefix+set}" = set; then
28907 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28908 else
28909 gtk_config_exec_prefix=""
28910 fi
28911
28912 # Check whether --enable-gtktest was given.
28913 if test "${enable_gtktest+set}" = set; then
28914 enableval=$enable_gtktest;
28915 else
28916 enable_gtktest=yes
28917 fi
28918
28919
28920 for module in . $GTK_MODULES
28921 do
28922 case "$module" in
28923 gthread)
28924 gtk_config_args="$gtk_config_args gthread"
28925 ;;
28926 esac
28927 done
28928
28929 if test x$gtk_config_exec_prefix != x ; then
28930 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28931 if test x${GTK_CONFIG+set} != xset ; then
28932 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28933 fi
28934 fi
28935 if test x$gtk_config_prefix != x ; then
28936 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28937 if test x${GTK_CONFIG+set} != xset ; then
28938 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28939 fi
28940 fi
28941
28942 # Extract the first word of "gtk-config", so it can be a program name with args.
28943 set dummy gtk-config; ac_word=$2
28944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28946 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28948 else
28949 case $GTK_CONFIG in
28950 [\\/]* | ?:[\\/]*)
28951 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28952 ;;
28953 *)
28954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28955 for as_dir in $PATH
28956 do
28957 IFS=$as_save_IFS
28958 test -z "$as_dir" && as_dir=.
28959 for ac_exec_ext in '' $ac_executable_extensions; do
28960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28961 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28963 break 2
28964 fi
28965 done
28966 done
28967 IFS=$as_save_IFS
28968
28969 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28970 ;;
28971 esac
28972 fi
28973 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28974 if test -n "$GTK_CONFIG"; then
28975 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28976 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28977 else
28978 { echo "$as_me:$LINENO: result: no" >&5
28979 echo "${ECHO_T}no" >&6; }
28980 fi
28981
28982
28983 min_gtk_version=1.2.3
28984 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28985 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28986 no_gtk=""
28987 if test "$GTK_CONFIG" = "no" ; then
28988 no_gtk=yes
28989 else
28990 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28991 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28992 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28994 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28995 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28996 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28998 if test "x$enable_gtktest" = "xyes" ; then
28999 ac_save_CFLAGS="$CFLAGS"
29000 ac_save_LIBS="$LIBS"
29001 CFLAGS="$CFLAGS $GTK_CFLAGS"
29002 LIBS="$GTK_LIBS $LIBS"
29003 rm -f conf.gtktest
29004 if test "$cross_compiling" = yes; then
29005 echo $ac_n "cross compiling; assumed OK... $ac_c"
29006 else
29007 cat >conftest.$ac_ext <<_ACEOF
29008 /* confdefs.h. */
29009 _ACEOF
29010 cat confdefs.h >>conftest.$ac_ext
29011 cat >>conftest.$ac_ext <<_ACEOF
29012 /* end confdefs.h. */
29013
29014 #include <gtk/gtk.h>
29015 #include <stdio.h>
29016 #include <stdlib.h>
29017
29018 int
29019 main ()
29020 {
29021 int major, minor, micro;
29022 char *tmp_version;
29023
29024 system ("touch conf.gtktest");
29025
29026 /* HP/UX 9 (%@#!) writes to sscanf strings */
29027 tmp_version = g_strdup("$min_gtk_version");
29028 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29029 printf("%s, bad version string\n", "$min_gtk_version");
29030 exit(1);
29031 }
29032
29033 if ((gtk_major_version != $gtk_config_major_version) ||
29034 (gtk_minor_version != $gtk_config_minor_version) ||
29035 (gtk_micro_version != $gtk_config_micro_version))
29036 {
29037 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29038 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29039 gtk_major_version, gtk_minor_version, gtk_micro_version);
29040 printf ("*** was found! If gtk-config was correct, then it is best\n");
29041 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29042 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29043 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29044 printf("*** required on your system.\n");
29045 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29046 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29047 printf("*** before re-running configure\n");
29048 }
29049 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29050 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29051 (gtk_minor_version != GTK_MINOR_VERSION) ||
29052 (gtk_micro_version != GTK_MICRO_VERSION))
29053 {
29054 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29055 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29056 printf("*** library (version %d.%d.%d)\n",
29057 gtk_major_version, gtk_minor_version, gtk_micro_version);
29058 }
29059 #endif /* defined (GTK_MAJOR_VERSION) ... */
29060 else
29061 {
29062 if ((gtk_major_version > major) ||
29063 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29064 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29065 {
29066 return 0;
29067 }
29068 else
29069 {
29070 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29071 gtk_major_version, gtk_minor_version, gtk_micro_version);
29072 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29073 major, minor, micro);
29074 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29075 printf("***\n");
29076 printf("*** If you have already installed a sufficiently new version, this error\n");
29077 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29078 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29079 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29080 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29081 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29082 printf("*** so that the correct libraries are found at run-time))\n");
29083 }
29084 }
29085 return 1;
29086 }
29087
29088 _ACEOF
29089 rm -f conftest$ac_exeext
29090 if { (ac_try="$ac_link"
29091 case "(($ac_try" in
29092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29093 *) ac_try_echo=$ac_try;;
29094 esac
29095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29096 (eval "$ac_link") 2>&5
29097 ac_status=$?
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29100 { (case "(($ac_try" in
29101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29102 *) ac_try_echo=$ac_try;;
29103 esac
29104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29105 (eval "$ac_try") 2>&5
29106 ac_status=$?
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); }; }; then
29109 :
29110 else
29111 echo "$as_me: program exited with status $ac_status" >&5
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 ( exit $ac_status )
29116 no_gtk=yes
29117 fi
29118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29119 fi
29120
29121
29122 CFLAGS="$ac_save_CFLAGS"
29123 LIBS="$ac_save_LIBS"
29124 fi
29125 fi
29126 if test "x$no_gtk" = x ; then
29127 { echo "$as_me:$LINENO: result: yes" >&5
29128 echo "${ECHO_T}yes" >&6; }
29129 wx_cv_lib_gtk=1.2.3
29130 else
29131 { echo "$as_me:$LINENO: result: no" >&5
29132 echo "${ECHO_T}no" >&6; }
29133 if test "$GTK_CONFIG" = "no" ; then
29134 echo "*** The gtk-config script installed by GTK could not be found"
29135 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29136 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29137 echo "*** full path to gtk-config."
29138 else
29139 if test -f conf.gtktest ; then
29140 :
29141 else
29142 echo "*** Could not run GTK test program, checking why..."
29143 CFLAGS="$CFLAGS $GTK_CFLAGS"
29144 LIBS="$LIBS $GTK_LIBS"
29145 cat >conftest.$ac_ext <<_ACEOF
29146 /* confdefs.h. */
29147 _ACEOF
29148 cat confdefs.h >>conftest.$ac_ext
29149 cat >>conftest.$ac_ext <<_ACEOF
29150 /* end confdefs.h. */
29151
29152 #include <gtk/gtk.h>
29153 #include <stdio.h>
29154
29155 int
29156 main ()
29157 {
29158 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29159 ;
29160 return 0;
29161 }
29162 _ACEOF
29163 rm -f conftest.$ac_objext conftest$ac_exeext
29164 if { (ac_try="$ac_link"
29165 case "(($ac_try" in
29166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29167 *) ac_try_echo=$ac_try;;
29168 esac
29169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29170 (eval "$ac_link") 2>conftest.er1
29171 ac_status=$?
29172 grep -v '^ *+' conftest.er1 >conftest.err
29173 rm -f conftest.er1
29174 cat conftest.err >&5
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); } && {
29177 test -z "$ac_c_werror_flag" ||
29178 test ! -s conftest.err
29179 } && test -s conftest$ac_exeext &&
29180 $as_test_x conftest$ac_exeext; then
29181 echo "*** The test program compiled, but did not run. This usually means"
29182 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29183 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29184 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29185 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29186 echo "*** is required on your system"
29187 echo "***"
29188 echo "*** If you have an old version installed, it is best to remove it, although"
29189 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29190 echo "***"
29191 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29192 echo "*** came with the system with the command"
29193 echo "***"
29194 echo "*** rpm --erase --nodeps gtk gtk-devel"
29195 else
29196 echo "$as_me: failed program was:" >&5
29197 sed 's/^/| /' conftest.$ac_ext >&5
29198
29199 echo "*** The test program failed to compile or link. See the file config.log for the"
29200 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29201 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29202 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29203 fi
29204
29205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29206 conftest$ac_exeext conftest.$ac_ext
29207 CFLAGS="$ac_save_CFLAGS"
29208 LIBS="$ac_save_LIBS"
29209 fi
29210 fi
29211 GTK_CFLAGS=""
29212 GTK_LIBS=""
29213 :
29214 fi
29215
29216
29217 rm -f conf.gtktest
29218
29219 fi
29220 fi
29221 fi
29222
29223 if test -z "$wx_cv_lib_gtk"; then
29224 wx_cv_lib_gtk=none
29225 else
29226 wx_cv_cflags_gtk=$GTK_CFLAGS
29227 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29228 fi
29229
29230
29231 fi
29232
29233
29234 if test "$gtk_version_cached" = 1; then
29235 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29236 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29237 fi
29238
29239 case "$wx_cv_lib_gtk" in
29240 2.0) WXGTK2=1
29241 TOOLKIT_VERSION=2
29242 ;;
29243 1.2.7) WXGTK127=1
29244 WXGTK12=1
29245 ;;
29246 1.2.3) WXGTK12=1
29247 ;;
29248 *) { { echo "$as_me:$LINENO: error:
29249 The development files for GTK+ were not found. For GTK+ 2, please
29250 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29251 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29252 and that the version is 1.2.3 or above. Also check that the
29253 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29254 --libs' are in the LD_LIBRARY_PATH or equivalent.
29255 " >&5
29256 echo "$as_me: error:
29257 The development files for GTK+ were not found. For GTK+ 2, please
29258 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29259 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29260 and that the version is 1.2.3 or above. Also check that the
29261 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29262 --libs' are in the LD_LIBRARY_PATH or equivalent.
29263 " >&2;}
29264 { (exit 1); exit 1; }; }
29265 ;;
29266 esac
29267
29268 if test "$WXGTK2" = 1; then
29269 save_CFLAGS="$CFLAGS"
29270 save_LIBS="$LIBS"
29271 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29272 LIBS="$LIBS $wx_cv_libs_gtk"
29273
29274 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29275 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29276 cat >conftest.$ac_ext <<_ACEOF
29277 /* confdefs.h. */
29278 _ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29282
29283 #include <gtk/gtk.h>
29284
29285 int
29286 main ()
29287 {
29288
29289 #if !GTK_CHECK_VERSION(2,10,0)
29290 Not GTK+ 2.10
29291 #endif
29292
29293 ;
29294 return 0;
29295 }
29296 _ACEOF
29297 rm -f conftest.$ac_objext
29298 if { (ac_try="$ac_compile"
29299 case "(($ac_try" in
29300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29301 *) ac_try_echo=$ac_try;;
29302 esac
29303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29304 (eval "$ac_compile") 2>conftest.er1
29305 ac_status=$?
29306 grep -v '^ *+' conftest.er1 >conftest.err
29307 rm -f conftest.er1
29308 cat conftest.err >&5
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); } && {
29311 test -z "$ac_c_werror_flag" ||
29312 test ! -s conftest.err
29313 } && test -s conftest.$ac_objext; then
29314
29315 cat >>confdefs.h <<\_ACEOF
29316 #define __WXGTK210__ 1
29317 _ACEOF
29318
29319 cat >>confdefs.h <<\_ACEOF
29320 #define __WXGTK26__ 1
29321 _ACEOF
29322
29323 { echo "$as_me:$LINENO: result: yes" >&5
29324 echo "${ECHO_T}yes" >&6; }
29325 ac_wxgtk210=1
29326
29327 else
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29330
29331
29332 { echo "$as_me:$LINENO: result: no" >&5
29333 echo "${ECHO_T}no" >&6; }
29334 ac_wxgtk210=0
29335
29336 fi
29337
29338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29339
29340 if test "$ac_wxgtk210" = 0; then
29341 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29342 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29343 cat >conftest.$ac_ext <<_ACEOF
29344 /* confdefs.h. */
29345 _ACEOF
29346 cat confdefs.h >>conftest.$ac_ext
29347 cat >>conftest.$ac_ext <<_ACEOF
29348 /* end confdefs.h. */
29349
29350 #include <gtk/gtk.h>
29351
29352 int
29353 main ()
29354 {
29355
29356 #if !GTK_CHECK_VERSION(2,6,0)
29357 Not GTK+ 2.6
29358 #endif
29359
29360 ;
29361 return 0;
29362 }
29363 _ACEOF
29364 rm -f conftest.$ac_objext
29365 if { (ac_try="$ac_compile"
29366 case "(($ac_try" in
29367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29368 *) ac_try_echo=$ac_try;;
29369 esac
29370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29371 (eval "$ac_compile") 2>conftest.er1
29372 ac_status=$?
29373 grep -v '^ *+' conftest.er1 >conftest.err
29374 rm -f conftest.er1
29375 cat conftest.err >&5
29376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29377 (exit $ac_status); } && {
29378 test -z "$ac_c_werror_flag" ||
29379 test ! -s conftest.err
29380 } && test -s conftest.$ac_objext; then
29381
29382 cat >>confdefs.h <<\_ACEOF
29383 #define __WXGTK26__ 1
29384 _ACEOF
29385
29386 { echo "$as_me:$LINENO: result: yes" >&5
29387 echo "${ECHO_T}yes" >&6; }
29388 ac_wxgtk26=1
29389
29390 else
29391 echo "$as_me: failed program was:" >&5
29392 sed 's/^/| /' conftest.$ac_ext >&5
29393
29394
29395 { echo "$as_me:$LINENO: result: no" >&5
29396 echo "${ECHO_T}no" >&6; }
29397 ac_wxgtk26=0
29398
29399 fi
29400
29401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29402 fi
29403
29404 CFLAGS="$save_CFLAGS"
29405 LIBS="$save_LIBS"
29406 else
29407 if test "$wxUSE_UNICODE" = "yes"; then
29408 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29409 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29410 wxUSE_UNICODE=no
29411 fi
29412
29413 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29414 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29415 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29416 echo $ECHO_N "(cached) $ECHO_C" >&6
29417 else
29418 ac_check_lib_save_LIBS=$LIBS
29419 LIBS="-lgdk $LIBS"
29420 cat >conftest.$ac_ext <<_ACEOF
29421 /* confdefs.h. */
29422 _ACEOF
29423 cat confdefs.h >>conftest.$ac_ext
29424 cat >>conftest.$ac_ext <<_ACEOF
29425 /* end confdefs.h. */
29426
29427 /* Override any GCC internal prototype to avoid an error.
29428 Use char because int might match the return type of a GCC
29429 builtin and then its argument prototype would still apply. */
29430 #ifdef __cplusplus
29431 extern "C"
29432 #endif
29433 char gdk_im_open ();
29434 int
29435 main ()
29436 {
29437 return gdk_im_open ();
29438 ;
29439 return 0;
29440 }
29441 _ACEOF
29442 rm -f conftest.$ac_objext conftest$ac_exeext
29443 if { (ac_try="$ac_link"
29444 case "(($ac_try" in
29445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29446 *) ac_try_echo=$ac_try;;
29447 esac
29448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29449 (eval "$ac_link") 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } && {
29456 test -z "$ac_c_werror_flag" ||
29457 test ! -s conftest.err
29458 } && test -s conftest$ac_exeext &&
29459 $as_test_x conftest$ac_exeext; then
29460 ac_cv_lib_gdk_gdk_im_open=yes
29461 else
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.$ac_ext >&5
29464
29465 ac_cv_lib_gdk_gdk_im_open=no
29466 fi
29467
29468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29469 conftest$ac_exeext conftest.$ac_ext
29470 LIBS=$ac_check_lib_save_LIBS
29471 fi
29472 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29473 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29474 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29475 cat >>confdefs.h <<\_ACEOF
29476 #define HAVE_XIM 1
29477 _ACEOF
29478
29479 fi
29480
29481
29482 if test "$USE_DARWIN" != 1; then
29483
29484 for ac_func in poll
29485 do
29486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29490 echo $ECHO_N "(cached) $ECHO_C" >&6
29491 else
29492 cat >conftest.$ac_ext <<_ACEOF
29493 /* confdefs.h. */
29494 _ACEOF
29495 cat confdefs.h >>conftest.$ac_ext
29496 cat >>conftest.$ac_ext <<_ACEOF
29497 /* end confdefs.h. */
29498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29500 #define $ac_func innocuous_$ac_func
29501
29502 /* System header to define __stub macros and hopefully few prototypes,
29503 which can conflict with char $ac_func (); below.
29504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29505 <limits.h> exists even on freestanding compilers. */
29506
29507 #ifdef __STDC__
29508 # include <limits.h>
29509 #else
29510 # include <assert.h>
29511 #endif
29512
29513 #undef $ac_func
29514
29515 /* Override any GCC internal prototype to avoid an error.
29516 Use char because int might match the return type of a GCC
29517 builtin and then its argument prototype would still apply. */
29518 #ifdef __cplusplus
29519 extern "C"
29520 #endif
29521 char $ac_func ();
29522 /* The GNU C library defines this for functions which it implements
29523 to always fail with ENOSYS. Some functions are actually named
29524 something starting with __ and the normal name is an alias. */
29525 #if defined __stub_$ac_func || defined __stub___$ac_func
29526 choke me
29527 #endif
29528
29529 int
29530 main ()
29531 {
29532 return $ac_func ();
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (ac_try="$ac_link"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29542 esac
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_link") 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest$ac_exeext &&
29554 $as_test_x conftest$ac_exeext; then
29555 eval "$as_ac_var=yes"
29556 else
29557 echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.$ac_ext >&5
29559
29560 eval "$as_ac_var=no"
29561 fi
29562
29563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29564 conftest$ac_exeext conftest.$ac_ext
29565 fi
29566 ac_res=`eval echo '${'$as_ac_var'}'`
29567 { echo "$as_me:$LINENO: result: $ac_res" >&5
29568 echo "${ECHO_T}$ac_res" >&6; }
29569 if test `eval echo '${'$as_ac_var'}'` = yes; then
29570 cat >>confdefs.h <<_ACEOF
29571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29572 _ACEOF
29573
29574 fi
29575 done
29576
29577 fi
29578 fi
29579
29580 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29581 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29582
29583 AFMINSTALL=afminstall
29584 TOOLKIT=GTK
29585 GUIDIST=GTK_DIST
29586
29587 if test "$wxUSE_GPE" = "yes"; then
29588 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29589 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29590
29591 ac_find_libraries=
29592 for ac_dir in $SEARCH_LIB;
29593 do
29594 for ac_extension in a so sl dylib dll.a; do
29595 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29596 ac_find_libraries=$ac_dir
29597 break 2
29598 fi
29599 done
29600 done
29601
29602 if test "$ac_find_libraries" != "" ; then
29603
29604 if test "$ac_find_libraries" = "default location"; then
29605 ac_path_to_link=""
29606 else
29607 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29608 result=$?
29609 if test $result = 0; then
29610 ac_path_to_link=""
29611 else
29612 ac_path_to_link=" -L$ac_find_libraries"
29613 fi
29614 fi
29615
29616 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29617 WXGPE=1
29618 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29619 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29620 else
29621 { echo "$as_me:$LINENO: result: not found" >&5
29622 echo "${ECHO_T}not found" >&6; }
29623 fi
29624
29625 fi
29626 fi
29627
29628 if test "$wxUSE_MGL" = 1; then
29629 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29630 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29631 if test "x$MGL_ROOT" = x ; then
29632 { echo "$as_me:$LINENO: result: not found" >&5
29633 echo "${ECHO_T}not found" >&6; }
29634 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29635 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29636 { (exit 1); exit 1; }; }
29637 else
29638 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29639 echo "${ECHO_T}$MGL_ROOT" >&6; }
29640 fi
29641
29642 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29643 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29644 case "${host}" in
29645 *-*-linux* )
29646 if test "x$wxUSE_SHARED" = xyes ; then
29647 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29648 else
29649 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29650 fi
29651 ;;
29652 *-pc-msdosdjgpp )
29653 mgl_os_candidates="dos32/dj2"
29654 ;;
29655 *)
29656 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29657 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29658 { (exit 1); exit 1; }; }
29659 esac
29660
29661 mgl_lib_type=""
29662 mgl_os=""
29663
29664 for mgl_os_i in $mgl_os_candidates ; do
29665 if test "x$mgl_os" = x ; then
29666 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29667 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29668 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29669 mgl_lib_type=debug
29670 mgl_os=$mgl_os_i
29671 fi
29672 fi
29673 if test "x$mgl_lib_type" = x ; then
29674 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29675 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29676 mgl_lib_type=release
29677 mgl_os=$mgl_os_i
29678 fi
29679 fi
29680 fi
29681 done
29682
29683 if test "x$mgl_os" = x ; then
29684 { echo "$as_me:$LINENO: result: not found" >&5
29685 echo "${ECHO_T}not found" >&6; }
29686 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29687 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29688 { (exit 1); exit 1; }; }
29689 fi
29690 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29691 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29692
29693 wxUSE_UNIVERSAL="yes"
29694
29695 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29696 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29697
29698 AFMINSTALL=afminstall
29699 TOOLKIT=MGL
29700 GUIDIST=MGL_DIST
29701 fi
29702
29703 if test "$wxUSE_DFB" = 1; then
29704
29705
29706 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29707 if test -n "$ac_tool_prefix"; then
29708 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29709 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29712 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 else
29715 case $PKG_CONFIG in
29716 [\\/]* | ?:[\\/]*)
29717 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29718 ;;
29719 *)
29720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29721 for as_dir in $PATH
29722 do
29723 IFS=$as_save_IFS
29724 test -z "$as_dir" && as_dir=.
29725 for ac_exec_ext in '' $ac_executable_extensions; do
29726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29727 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29729 break 2
29730 fi
29731 done
29732 done
29733 IFS=$as_save_IFS
29734
29735 ;;
29736 esac
29737 fi
29738 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29739 if test -n "$PKG_CONFIG"; then
29740 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29741 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29742 else
29743 { echo "$as_me:$LINENO: result: no" >&5
29744 echo "${ECHO_T}no" >&6; }
29745 fi
29746
29747
29748 fi
29749 if test -z "$ac_cv_path_PKG_CONFIG"; then
29750 ac_pt_PKG_CONFIG=$PKG_CONFIG
29751 # Extract the first word of "pkg-config", so it can be a program name with args.
29752 set dummy pkg-config; ac_word=$2
29753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29755 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29756 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 else
29758 case $ac_pt_PKG_CONFIG in
29759 [\\/]* | ?:[\\/]*)
29760 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29761 ;;
29762 *)
29763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29764 for as_dir in $PATH
29765 do
29766 IFS=$as_save_IFS
29767 test -z "$as_dir" && as_dir=.
29768 for ac_exec_ext in '' $ac_executable_extensions; do
29769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29770 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29772 break 2
29773 fi
29774 done
29775 done
29776 IFS=$as_save_IFS
29777
29778 ;;
29779 esac
29780 fi
29781 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29782 if test -n "$ac_pt_PKG_CONFIG"; then
29783 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29784 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29785 else
29786 { echo "$as_me:$LINENO: result: no" >&5
29787 echo "${ECHO_T}no" >&6; }
29788 fi
29789
29790 if test "x$ac_pt_PKG_CONFIG" = x; then
29791 PKG_CONFIG=""
29792 else
29793 case $cross_compiling:$ac_tool_warned in
29794 yes:)
29795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29796 whose name does not start with the host triplet. If you think this
29797 configuration is useful to you, please write to autoconf@gnu.org." >&5
29798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29799 whose name does not start with the host triplet. If you think this
29800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29801 ac_tool_warned=yes ;;
29802 esac
29803 PKG_CONFIG=$ac_pt_PKG_CONFIG
29804 fi
29805 else
29806 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29807 fi
29808
29809 fi
29810 if test -n "$PKG_CONFIG"; then
29811 _pkg_min_version=0.9.0
29812 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29813 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29814 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29815 { echo "$as_me:$LINENO: result: yes" >&5
29816 echo "${ECHO_T}yes" >&6; }
29817 else
29818 { echo "$as_me:$LINENO: result: no" >&5
29819 echo "${ECHO_T}no" >&6; }
29820 PKG_CONFIG=""
29821 fi
29822
29823 fi
29824
29825
29826 pkg_failed=no
29827 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29828 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29829
29830 if test -n "$PKG_CONFIG"; then
29831 if test -n "$DIRECTFB_CFLAGS"; then
29832 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29833 else
29834 if test -n "$PKG_CONFIG" && \
29835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29836 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29837 ac_status=$?
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); }; then
29840 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29841 else
29842 pkg_failed=yes
29843 fi
29844 fi
29845 else
29846 pkg_failed=untried
29847 fi
29848 if test -n "$PKG_CONFIG"; then
29849 if test -n "$DIRECTFB_LIBS"; then
29850 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29851 else
29852 if test -n "$PKG_CONFIG" && \
29853 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29854 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29855 ac_status=$?
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); }; then
29858 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29859 else
29860 pkg_failed=yes
29861 fi
29862 fi
29863 else
29864 pkg_failed=untried
29865 fi
29866
29867
29868
29869 if test $pkg_failed = yes; then
29870
29871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29872 _pkg_short_errors_supported=yes
29873 else
29874 _pkg_short_errors_supported=no
29875 fi
29876 if test $_pkg_short_errors_supported = yes; then
29877 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29878 else
29879 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29880 fi
29881 # Put the nasty error message in config.log where it belongs
29882 echo "$DIRECTFB_PKG_ERRORS" >&5
29883
29884
29885 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29886 echo "$as_me: error: DirectFB not found." >&2;}
29887 { (exit 1); exit 1; }; }
29888
29889
29890 elif test $pkg_failed = untried; then
29891
29892 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29893 echo "$as_me: error: DirectFB not found." >&2;}
29894 { (exit 1); exit 1; }; }
29895
29896
29897 else
29898 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29899 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29900 { echo "$as_me:$LINENO: result: yes" >&5
29901 echo "${ECHO_T}yes" >&6; }
29902
29903 wxUSE_UNIVERSAL="yes"
29904 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29905 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29906 TOOLKIT=DFB
29907 GUIDIST=DFB_DIST
29908
29909 fi
29910 fi
29911
29912 if test "$wxUSE_MICROWIN" = 1; then
29913 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29914 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29915 if test "x$MICROWINDOWS" = x ; then
29916 { echo "$as_me:$LINENO: result: not found" >&5
29917 echo "${ECHO_T}not found" >&6; }
29918 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29919 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29920 { (exit 1); exit 1; }; }
29921 else
29922 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29923 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29924 fi
29925
29926 if test -f $MICROWINDOWS/lib/libmwin.a; then
29927 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29928 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29929 else
29930 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29931 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29932 { (exit 1); exit 1; }; }
29933 fi
29934
29935 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29936 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29937
29938 wxUSE_UNIVERSAL="yes"
29939
29940 AFMINSTALL=afminstall
29941 TOOLKIT=MICROWIN
29942 GUIDIST=MICROWIN_DIST
29943
29944 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29945 fi
29946
29947 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29948 { echo "$as_me:$LINENO: checking for X" >&5
29949 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29950
29951
29952 # Check whether --with-x was given.
29953 if test "${with_x+set}" = set; then
29954 withval=$with_x;
29955 fi
29956
29957 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29958 if test "x$with_x" = xno; then
29959 # The user explicitly disabled X.
29960 have_x=disabled
29961 else
29962 case $x_includes,$x_libraries in #(
29963 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29964 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29965 { (exit 1); exit 1; }; };; #(
29966 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29967 echo $ECHO_N "(cached) $ECHO_C" >&6
29968 else
29969 # One or both of the vars are not set, and there is no cached value.
29970 ac_x_includes=no ac_x_libraries=no
29971 rm -f -r conftest.dir
29972 if mkdir conftest.dir; then
29973 cd conftest.dir
29974 cat >Imakefile <<'_ACEOF'
29975 incroot:
29976 @echo incroot='${INCROOT}'
29977 usrlibdir:
29978 @echo usrlibdir='${USRLIBDIR}'
29979 libdir:
29980 @echo libdir='${LIBDIR}'
29981 _ACEOF
29982 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29983 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29984 for ac_var in incroot usrlibdir libdir; do
29985 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29986 done
29987 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29988 for ac_extension in a so sl; do
29989 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29990 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29991 ac_im_usrlibdir=$ac_im_libdir; break
29992 fi
29993 done
29994 # Screen out bogus values from the imake configuration. They are
29995 # bogus both because they are the default anyway, and because
29996 # using them would break gcc on systems where it needs fixed includes.
29997 case $ac_im_incroot in
29998 /usr/include) ac_x_includes= ;;
29999 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30000 esac
30001 case $ac_im_usrlibdir in
30002 /usr/lib | /lib) ;;
30003 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30004 esac
30005 fi
30006 cd ..
30007 rm -f -r conftest.dir
30008 fi
30009
30010 # Standard set of common directories for X headers.
30011 # Check X11 before X11Rn because it is often a symlink to the current release.
30012 ac_x_header_dirs='
30013 /usr/X11/include
30014 /usr/X11R6/include
30015 /usr/X11R5/include
30016 /usr/X11R4/include
30017
30018 /usr/include/X11
30019 /usr/include/X11R6
30020 /usr/include/X11R5
30021 /usr/include/X11R4
30022
30023 /usr/local/X11/include
30024 /usr/local/X11R6/include
30025 /usr/local/X11R5/include
30026 /usr/local/X11R4/include
30027
30028 /usr/local/include/X11
30029 /usr/local/include/X11R6
30030 /usr/local/include/X11R5
30031 /usr/local/include/X11R4
30032
30033 /usr/X386/include
30034 /usr/x386/include
30035 /usr/XFree86/include/X11
30036
30037 /usr/include
30038 /usr/local/include
30039 /usr/unsupported/include
30040 /usr/athena/include
30041 /usr/local/x11r5/include
30042 /usr/lpp/Xamples/include
30043
30044 /usr/openwin/include
30045 /usr/openwin/share/include'
30046
30047 if test "$ac_x_includes" = no; then
30048 # Guess where to find include files, by looking for Xlib.h.
30049 # First, try using that file with no special directory specified.
30050 cat >conftest.$ac_ext <<_ACEOF
30051 /* confdefs.h. */
30052 _ACEOF
30053 cat confdefs.h >>conftest.$ac_ext
30054 cat >>conftest.$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30056 #include <X11/Xlib.h>
30057 _ACEOF
30058 if { (ac_try="$ac_cpp conftest.$ac_ext"
30059 case "(($ac_try" in
30060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30061 *) ac_try_echo=$ac_try;;
30062 esac
30063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30065 ac_status=$?
30066 grep -v '^ *+' conftest.er1 >conftest.err
30067 rm -f conftest.er1
30068 cat conftest.err >&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } >/dev/null && {
30071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30072 test ! -s conftest.err
30073 }; then
30074 # We can compile using X headers with no special include directory.
30075 ac_x_includes=
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 for ac_dir in $ac_x_header_dirs; do
30081 if test -r "$ac_dir/X11/Xlib.h"; then
30082 ac_x_includes=$ac_dir
30083 break
30084 fi
30085 done
30086 fi
30087
30088 rm -f conftest.err conftest.$ac_ext
30089 fi # $ac_x_includes = no
30090
30091 if test "$ac_x_libraries" = no; then
30092 # Check for the libraries.
30093 # See if we find them without any special options.
30094 # Don't add to $LIBS permanently.
30095 ac_save_LIBS=$LIBS
30096 LIBS="-lX11 $LIBS"
30097 cat >conftest.$ac_ext <<_ACEOF
30098 /* confdefs.h. */
30099 _ACEOF
30100 cat confdefs.h >>conftest.$ac_ext
30101 cat >>conftest.$ac_ext <<_ACEOF
30102 /* end confdefs.h. */
30103 #include <X11/Xlib.h>
30104 int
30105 main ()
30106 {
30107 XrmInitialize ()
30108 ;
30109 return 0;
30110 }
30111 _ACEOF
30112 rm -f conftest.$ac_objext conftest$ac_exeext
30113 if { (ac_try="$ac_link"
30114 case "(($ac_try" in
30115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30116 *) ac_try_echo=$ac_try;;
30117 esac
30118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30119 (eval "$ac_link") 2>conftest.er1
30120 ac_status=$?
30121 grep -v '^ *+' conftest.er1 >conftest.err
30122 rm -f conftest.er1
30123 cat conftest.err >&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); } && {
30126 test -z "$ac_c_werror_flag" ||
30127 test ! -s conftest.err
30128 } && test -s conftest$ac_exeext &&
30129 $as_test_x conftest$ac_exeext; then
30130 LIBS=$ac_save_LIBS
30131 # We can link X programs with no special library path.
30132 ac_x_libraries=
30133 else
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.$ac_ext >&5
30136
30137 LIBS=$ac_save_LIBS
30138 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30139 do
30140 # Don't even attempt the hair of trying to link an X program!
30141 for ac_extension in a so sl; do
30142 if test -r "$ac_dir/libX11.$ac_extension"; then
30143 ac_x_libraries=$ac_dir
30144 break 2
30145 fi
30146 done
30147 done
30148 fi
30149
30150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30151 conftest$ac_exeext conftest.$ac_ext
30152 fi # $ac_x_libraries = no
30153
30154 case $ac_x_includes,$ac_x_libraries in #(
30155 no,* | *,no | *\'*)
30156 # Didn't find X, or a directory has "'" in its name.
30157 ac_cv_have_x="have_x=no";; #(
30158 *)
30159 # Record where we found X for the cache.
30160 ac_cv_have_x="have_x=yes\
30161 ac_x_includes='$ac_x_includes'\
30162 ac_x_libraries='$ac_x_libraries'"
30163 esac
30164 fi
30165 ;; #(
30166 *) have_x=yes;;
30167 esac
30168 eval "$ac_cv_have_x"
30169 fi # $with_x != no
30170
30171 if test "$have_x" != yes; then
30172 { echo "$as_me:$LINENO: result: $have_x" >&5
30173 echo "${ECHO_T}$have_x" >&6; }
30174 no_x=yes
30175 else
30176 # If each of the values was on the command line, it overrides each guess.
30177 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30178 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30179 # Update the cache value to reflect the command line values.
30180 ac_cv_have_x="have_x=yes\
30181 ac_x_includes='$x_includes'\
30182 ac_x_libraries='$x_libraries'"
30183 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30184 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30185 fi
30186
30187 if test "$no_x" = yes; then
30188 # Not all programs may use this symbol, but it does not hurt to define it.
30189
30190 cat >>confdefs.h <<\_ACEOF
30191 #define X_DISPLAY_MISSING 1
30192 _ACEOF
30193
30194 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30195 else
30196 if test -n "$x_includes"; then
30197 X_CFLAGS="$X_CFLAGS -I$x_includes"
30198 fi
30199
30200 # It would also be nice to do this for all -L options, not just this one.
30201 if test -n "$x_libraries"; then
30202 X_LIBS="$X_LIBS -L$x_libraries"
30203 # For Solaris; some versions of Sun CC require a space after -R and
30204 # others require no space. Words are not sufficient . . . .
30205 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30206 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30207 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30208 ac_xsave_c_werror_flag=$ac_c_werror_flag
30209 ac_c_werror_flag=yes
30210 cat >conftest.$ac_ext <<_ACEOF
30211 /* confdefs.h. */
30212 _ACEOF
30213 cat confdefs.h >>conftest.$ac_ext
30214 cat >>conftest.$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30216
30217 int
30218 main ()
30219 {
30220
30221 ;
30222 return 0;
30223 }
30224 _ACEOF
30225 rm -f conftest.$ac_objext conftest$ac_exeext
30226 if { (ac_try="$ac_link"
30227 case "(($ac_try" in
30228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30229 *) ac_try_echo=$ac_try;;
30230 esac
30231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30232 (eval "$ac_link") 2>conftest.er1
30233 ac_status=$?
30234 grep -v '^ *+' conftest.er1 >conftest.err
30235 rm -f conftest.er1
30236 cat conftest.err >&5
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); } && {
30239 test -z "$ac_c_werror_flag" ||
30240 test ! -s conftest.err
30241 } && test -s conftest$ac_exeext &&
30242 $as_test_x conftest$ac_exeext; then
30243 { echo "$as_me:$LINENO: result: no" >&5
30244 echo "${ECHO_T}no" >&6; }
30245 X_LIBS="$X_LIBS -R$x_libraries"
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30249
30250 LIBS="$ac_xsave_LIBS -R $x_libraries"
30251 cat >conftest.$ac_ext <<_ACEOF
30252 /* confdefs.h. */
30253 _ACEOF
30254 cat confdefs.h >>conftest.$ac_ext
30255 cat >>conftest.$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30257
30258 int
30259 main ()
30260 {
30261
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 rm -f conftest.$ac_objext conftest$ac_exeext
30267 if { (ac_try="$ac_link"
30268 case "(($ac_try" in
30269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30270 *) ac_try_echo=$ac_try;;
30271 esac
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_link") 2>conftest.er1
30274 ac_status=$?
30275 grep -v '^ *+' conftest.er1 >conftest.err
30276 rm -f conftest.er1
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } && {
30280 test -z "$ac_c_werror_flag" ||
30281 test ! -s conftest.err
30282 } && test -s conftest$ac_exeext &&
30283 $as_test_x conftest$ac_exeext; then
30284 { echo "$as_me:$LINENO: result: yes" >&5
30285 echo "${ECHO_T}yes" >&6; }
30286 X_LIBS="$X_LIBS -R $x_libraries"
30287 else
30288 echo "$as_me: failed program was:" >&5
30289 sed 's/^/| /' conftest.$ac_ext >&5
30290
30291 { echo "$as_me:$LINENO: result: neither works" >&5
30292 echo "${ECHO_T}neither works" >&6; }
30293 fi
30294
30295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30296 conftest$ac_exeext conftest.$ac_ext
30297 fi
30298
30299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30300 conftest$ac_exeext conftest.$ac_ext
30301 ac_c_werror_flag=$ac_xsave_c_werror_flag
30302 LIBS=$ac_xsave_LIBS
30303 fi
30304
30305 # Check for system-dependent libraries X programs must link with.
30306 # Do this before checking for the system-independent R6 libraries
30307 # (-lICE), since we may need -lsocket or whatever for X linking.
30308
30309 if test "$ISC" = yes; then
30310 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30311 else
30312 # Martyn Johnson says this is needed for Ultrix, if the X
30313 # libraries were built with DECnet support. And Karl Berry says
30314 # the Alpha needs dnet_stub (dnet does not exist).
30315 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30316 cat >conftest.$ac_ext <<_ACEOF
30317 /* confdefs.h. */
30318 _ACEOF
30319 cat confdefs.h >>conftest.$ac_ext
30320 cat >>conftest.$ac_ext <<_ACEOF
30321 /* end confdefs.h. */
30322
30323 /* Override any GCC internal prototype to avoid an error.
30324 Use char because int might match the return type of a GCC
30325 builtin and then its argument prototype would still apply. */
30326 #ifdef __cplusplus
30327 extern "C"
30328 #endif
30329 char XOpenDisplay ();
30330 int
30331 main ()
30332 {
30333 return XOpenDisplay ();
30334 ;
30335 return 0;
30336 }
30337 _ACEOF
30338 rm -f conftest.$ac_objext conftest$ac_exeext
30339 if { (ac_try="$ac_link"
30340 case "(($ac_try" in
30341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30342 *) ac_try_echo=$ac_try;;
30343 esac
30344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30345 (eval "$ac_link") 2>conftest.er1
30346 ac_status=$?
30347 grep -v '^ *+' conftest.er1 >conftest.err
30348 rm -f conftest.er1
30349 cat conftest.err >&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } && {
30352 test -z "$ac_c_werror_flag" ||
30353 test ! -s conftest.err
30354 } && test -s conftest$ac_exeext &&
30355 $as_test_x conftest$ac_exeext; then
30356 :
30357 else
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30360
30361 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30362 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30363 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30365 else
30366 ac_check_lib_save_LIBS=$LIBS
30367 LIBS="-ldnet $LIBS"
30368 cat >conftest.$ac_ext <<_ACEOF
30369 /* confdefs.h. */
30370 _ACEOF
30371 cat confdefs.h >>conftest.$ac_ext
30372 cat >>conftest.$ac_ext <<_ACEOF
30373 /* end confdefs.h. */
30374
30375 /* Override any GCC internal prototype to avoid an error.
30376 Use char because int might match the return type of a GCC
30377 builtin and then its argument prototype would still apply. */
30378 #ifdef __cplusplus
30379 extern "C"
30380 #endif
30381 char dnet_ntoa ();
30382 int
30383 main ()
30384 {
30385 return dnet_ntoa ();
30386 ;
30387 return 0;
30388 }
30389 _ACEOF
30390 rm -f conftest.$ac_objext conftest$ac_exeext
30391 if { (ac_try="$ac_link"
30392 case "(($ac_try" in
30393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30394 *) ac_try_echo=$ac_try;;
30395 esac
30396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30397 (eval "$ac_link") 2>conftest.er1
30398 ac_status=$?
30399 grep -v '^ *+' conftest.er1 >conftest.err
30400 rm -f conftest.er1
30401 cat conftest.err >&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } && {
30404 test -z "$ac_c_werror_flag" ||
30405 test ! -s conftest.err
30406 } && test -s conftest$ac_exeext &&
30407 $as_test_x conftest$ac_exeext; then
30408 ac_cv_lib_dnet_dnet_ntoa=yes
30409 else
30410 echo "$as_me: failed program was:" >&5
30411 sed 's/^/| /' conftest.$ac_ext >&5
30412
30413 ac_cv_lib_dnet_dnet_ntoa=no
30414 fi
30415
30416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30417 conftest$ac_exeext conftest.$ac_ext
30418 LIBS=$ac_check_lib_save_LIBS
30419 fi
30420 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30421 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30422 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30423 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30424 fi
30425
30426 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30427 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30428 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30429 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432 ac_check_lib_save_LIBS=$LIBS
30433 LIBS="-ldnet_stub $LIBS"
30434 cat >conftest.$ac_ext <<_ACEOF
30435 /* confdefs.h. */
30436 _ACEOF
30437 cat confdefs.h >>conftest.$ac_ext
30438 cat >>conftest.$ac_ext <<_ACEOF
30439 /* end confdefs.h. */
30440
30441 /* Override any GCC internal prototype to avoid an error.
30442 Use char because int might match the return type of a GCC
30443 builtin and then its argument prototype would still apply. */
30444 #ifdef __cplusplus
30445 extern "C"
30446 #endif
30447 char dnet_ntoa ();
30448 int
30449 main ()
30450 {
30451 return dnet_ntoa ();
30452 ;
30453 return 0;
30454 }
30455 _ACEOF
30456 rm -f conftest.$ac_objext conftest$ac_exeext
30457 if { (ac_try="$ac_link"
30458 case "(($ac_try" in
30459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30460 *) ac_try_echo=$ac_try;;
30461 esac
30462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30463 (eval "$ac_link") 2>conftest.er1
30464 ac_status=$?
30465 grep -v '^ *+' conftest.er1 >conftest.err
30466 rm -f conftest.er1
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } && {
30470 test -z "$ac_c_werror_flag" ||
30471 test ! -s conftest.err
30472 } && test -s conftest$ac_exeext &&
30473 $as_test_x conftest$ac_exeext; then
30474 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30475 else
30476 echo "$as_me: failed program was:" >&5
30477 sed 's/^/| /' conftest.$ac_ext >&5
30478
30479 ac_cv_lib_dnet_stub_dnet_ntoa=no
30480 fi
30481
30482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30483 conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30485 fi
30486 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30487 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30488 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30489 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30490 fi
30491
30492 fi
30493 fi
30494
30495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30496 conftest$ac_exeext conftest.$ac_ext
30497 LIBS="$ac_xsave_LIBS"
30498
30499 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30500 # to get the SysV transport functions.
30501 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30502 # needs -lnsl.
30503 # The nsl library prevents programs from opening the X display
30504 # on Irix 5.2, according to T.E. Dickey.
30505 # The functions gethostbyname, getservbyname, and inet_addr are
30506 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30507 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30508 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30509 if test "${ac_cv_func_gethostbyname+set}" = set; then
30510 echo $ECHO_N "(cached) $ECHO_C" >&6
30511 else
30512 cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h. */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30520 #define gethostbyname innocuous_gethostbyname
30521
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char gethostbyname (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30526
30527 #ifdef __STDC__
30528 # include <limits.h>
30529 #else
30530 # include <assert.h>
30531 #endif
30532
30533 #undef gethostbyname
30534
30535 /* Override any GCC internal prototype to avoid an error.
30536 Use char because int might match the return type of a GCC
30537 builtin and then its argument prototype would still apply. */
30538 #ifdef __cplusplus
30539 extern "C"
30540 #endif
30541 char gethostbyname ();
30542 /* The GNU C library defines this for functions which it implements
30543 to always fail with ENOSYS. Some functions are actually named
30544 something starting with __ and the normal name is an alias. */
30545 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30546 choke me
30547 #endif
30548
30549 int
30550 main ()
30551 {
30552 return gethostbyname ();
30553 ;
30554 return 0;
30555 }
30556 _ACEOF
30557 rm -f conftest.$ac_objext conftest$ac_exeext
30558 if { (ac_try="$ac_link"
30559 case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30562 esac
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_link") 2>conftest.er1
30565 ac_status=$?
30566 grep -v '^ *+' conftest.er1 >conftest.err
30567 rm -f conftest.er1
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } && {
30571 test -z "$ac_c_werror_flag" ||
30572 test ! -s conftest.err
30573 } && test -s conftest$ac_exeext &&
30574 $as_test_x conftest$ac_exeext; then
30575 ac_cv_func_gethostbyname=yes
30576 else
30577 echo "$as_me: failed program was:" >&5
30578 sed 's/^/| /' conftest.$ac_ext >&5
30579
30580 ac_cv_func_gethostbyname=no
30581 fi
30582
30583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30584 conftest$ac_exeext conftest.$ac_ext
30585 fi
30586 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30587 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30588
30589 if test $ac_cv_func_gethostbyname = no; then
30590 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30591 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30592 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30593 echo $ECHO_N "(cached) $ECHO_C" >&6
30594 else
30595 ac_check_lib_save_LIBS=$LIBS
30596 LIBS="-lnsl $LIBS"
30597 cat >conftest.$ac_ext <<_ACEOF
30598 /* confdefs.h. */
30599 _ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603
30604 /* Override any GCC internal prototype to avoid an error.
30605 Use char because int might match the return type of a GCC
30606 builtin and then its argument prototype would still apply. */
30607 #ifdef __cplusplus
30608 extern "C"
30609 #endif
30610 char gethostbyname ();
30611 int
30612 main ()
30613 {
30614 return gethostbyname ();
30615 ;
30616 return 0;
30617 }
30618 _ACEOF
30619 rm -f conftest.$ac_objext conftest$ac_exeext
30620 if { (ac_try="$ac_link"
30621 case "(($ac_try" in
30622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30623 *) ac_try_echo=$ac_try;;
30624 esac
30625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30626 (eval "$ac_link") 2>conftest.er1
30627 ac_status=$?
30628 grep -v '^ *+' conftest.er1 >conftest.err
30629 rm -f conftest.er1
30630 cat conftest.err >&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } && {
30633 test -z "$ac_c_werror_flag" ||
30634 test ! -s conftest.err
30635 } && test -s conftest$ac_exeext &&
30636 $as_test_x conftest$ac_exeext; then
30637 ac_cv_lib_nsl_gethostbyname=yes
30638 else
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.$ac_ext >&5
30641
30642 ac_cv_lib_nsl_gethostbyname=no
30643 fi
30644
30645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30646 conftest$ac_exeext conftest.$ac_ext
30647 LIBS=$ac_check_lib_save_LIBS
30648 fi
30649 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30650 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30651 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30652 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30653 fi
30654
30655 if test $ac_cv_lib_nsl_gethostbyname = no; then
30656 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30657 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30658 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30659 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 else
30661 ac_check_lib_save_LIBS=$LIBS
30662 LIBS="-lbsd $LIBS"
30663 cat >conftest.$ac_ext <<_ACEOF
30664 /* confdefs.h. */
30665 _ACEOF
30666 cat confdefs.h >>conftest.$ac_ext
30667 cat >>conftest.$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30669
30670 /* Override any GCC internal prototype to avoid an error.
30671 Use char because int might match the return type of a GCC
30672 builtin and then its argument prototype would still apply. */
30673 #ifdef __cplusplus
30674 extern "C"
30675 #endif
30676 char gethostbyname ();
30677 int
30678 main ()
30679 {
30680 return gethostbyname ();
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 rm -f conftest.$ac_objext conftest$ac_exeext
30686 if { (ac_try="$ac_link"
30687 case "(($ac_try" in
30688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30689 *) ac_try_echo=$ac_try;;
30690 esac
30691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30692 (eval "$ac_link") 2>conftest.er1
30693 ac_status=$?
30694 grep -v '^ *+' conftest.er1 >conftest.err
30695 rm -f conftest.er1
30696 cat conftest.err >&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); } && {
30699 test -z "$ac_c_werror_flag" ||
30700 test ! -s conftest.err
30701 } && test -s conftest$ac_exeext &&
30702 $as_test_x conftest$ac_exeext; then
30703 ac_cv_lib_bsd_gethostbyname=yes
30704 else
30705 echo "$as_me: failed program was:" >&5
30706 sed 's/^/| /' conftest.$ac_ext >&5
30707
30708 ac_cv_lib_bsd_gethostbyname=no
30709 fi
30710
30711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30712 conftest$ac_exeext conftest.$ac_ext
30713 LIBS=$ac_check_lib_save_LIBS
30714 fi
30715 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30716 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30717 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30718 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30719 fi
30720
30721 fi
30722 fi
30723
30724 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30725 # socket/setsockopt and other routines are undefined under SCO ODT
30726 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30727 # on later versions), says Simon Leinen: it contains gethostby*
30728 # variants that don't use the name server (or something). -lsocket
30729 # must be given before -lnsl if both are needed. We assume that
30730 # if connect needs -lnsl, so does gethostbyname.
30731 { echo "$as_me:$LINENO: checking for connect" >&5
30732 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30733 if test "${ac_cv_func_connect+set}" = set; then
30734 echo $ECHO_N "(cached) $ECHO_C" >&6
30735 else
30736 cat >conftest.$ac_ext <<_ACEOF
30737 /* confdefs.h. */
30738 _ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30744 #define connect innocuous_connect
30745
30746 /* System header to define __stub macros and hopefully few prototypes,
30747 which can conflict with char connect (); below.
30748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30749 <limits.h> exists even on freestanding compilers. */
30750
30751 #ifdef __STDC__
30752 # include <limits.h>
30753 #else
30754 # include <assert.h>
30755 #endif
30756
30757 #undef connect
30758
30759 /* Override any GCC internal prototype to avoid an error.
30760 Use char because int might match the return type of a GCC
30761 builtin and then its argument prototype would still apply. */
30762 #ifdef __cplusplus
30763 extern "C"
30764 #endif
30765 char connect ();
30766 /* The GNU C library defines this for functions which it implements
30767 to always fail with ENOSYS. Some functions are actually named
30768 something starting with __ and the normal name is an alias. */
30769 #if defined __stub_connect || defined __stub___connect
30770 choke me
30771 #endif
30772
30773 int
30774 main ()
30775 {
30776 return connect ();
30777 ;
30778 return 0;
30779 }
30780 _ACEOF
30781 rm -f conftest.$ac_objext conftest$ac_exeext
30782 if { (ac_try="$ac_link"
30783 case "(($ac_try" in
30784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30785 *) ac_try_echo=$ac_try;;
30786 esac
30787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30788 (eval "$ac_link") 2>conftest.er1
30789 ac_status=$?
30790 grep -v '^ *+' conftest.er1 >conftest.err
30791 rm -f conftest.er1
30792 cat conftest.err >&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } && {
30795 test -z "$ac_c_werror_flag" ||
30796 test ! -s conftest.err
30797 } && test -s conftest$ac_exeext &&
30798 $as_test_x conftest$ac_exeext; then
30799 ac_cv_func_connect=yes
30800 else
30801 echo "$as_me: failed program was:" >&5
30802 sed 's/^/| /' conftest.$ac_ext >&5
30803
30804 ac_cv_func_connect=no
30805 fi
30806
30807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30808 conftest$ac_exeext conftest.$ac_ext
30809 fi
30810 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30811 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30812
30813 if test $ac_cv_func_connect = no; then
30814 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30815 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30816 if test "${ac_cv_lib_socket_connect+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30818 else
30819 ac_check_lib_save_LIBS=$LIBS
30820 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30821 cat >conftest.$ac_ext <<_ACEOF
30822 /* confdefs.h. */
30823 _ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30827
30828 /* Override any GCC internal prototype to avoid an error.
30829 Use char because int might match the return type of a GCC
30830 builtin and then its argument prototype would still apply. */
30831 #ifdef __cplusplus
30832 extern "C"
30833 #endif
30834 char connect ();
30835 int
30836 main ()
30837 {
30838 return connect ();
30839 ;
30840 return 0;
30841 }
30842 _ACEOF
30843 rm -f conftest.$ac_objext conftest$ac_exeext
30844 if { (ac_try="$ac_link"
30845 case "(($ac_try" in
30846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30847 *) ac_try_echo=$ac_try;;
30848 esac
30849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30850 (eval "$ac_link") 2>conftest.er1
30851 ac_status=$?
30852 grep -v '^ *+' conftest.er1 >conftest.err
30853 rm -f conftest.er1
30854 cat conftest.err >&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); } && {
30857 test -z "$ac_c_werror_flag" ||
30858 test ! -s conftest.err
30859 } && test -s conftest$ac_exeext &&
30860 $as_test_x conftest$ac_exeext; then
30861 ac_cv_lib_socket_connect=yes
30862 else
30863 echo "$as_me: failed program was:" >&5
30864 sed 's/^/| /' conftest.$ac_ext >&5
30865
30866 ac_cv_lib_socket_connect=no
30867 fi
30868
30869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30870 conftest$ac_exeext conftest.$ac_ext
30871 LIBS=$ac_check_lib_save_LIBS
30872 fi
30873 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30874 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30875 if test $ac_cv_lib_socket_connect = yes; then
30876 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30877 fi
30878
30879 fi
30880
30881 # Guillermo Gomez says -lposix is necessary on A/UX.
30882 { echo "$as_me:$LINENO: checking for remove" >&5
30883 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30884 if test "${ac_cv_func_remove+set}" = set; then
30885 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 else
30887 cat >conftest.$ac_ext <<_ACEOF
30888 /* confdefs.h. */
30889 _ACEOF
30890 cat confdefs.h >>conftest.$ac_ext
30891 cat >>conftest.$ac_ext <<_ACEOF
30892 /* end confdefs.h. */
30893 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30895 #define remove innocuous_remove
30896
30897 /* System header to define __stub macros and hopefully few prototypes,
30898 which can conflict with char remove (); below.
30899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30900 <limits.h> exists even on freestanding compilers. */
30901
30902 #ifdef __STDC__
30903 # include <limits.h>
30904 #else
30905 # include <assert.h>
30906 #endif
30907
30908 #undef remove
30909
30910 /* Override any GCC internal prototype to avoid an error.
30911 Use char because int might match the return type of a GCC
30912 builtin and then its argument prototype would still apply. */
30913 #ifdef __cplusplus
30914 extern "C"
30915 #endif
30916 char remove ();
30917 /* The GNU C library defines this for functions which it implements
30918 to always fail with ENOSYS. Some functions are actually named
30919 something starting with __ and the normal name is an alias. */
30920 #if defined __stub_remove || defined __stub___remove
30921 choke me
30922 #endif
30923
30924 int
30925 main ()
30926 {
30927 return remove ();
30928 ;
30929 return 0;
30930 }
30931 _ACEOF
30932 rm -f conftest.$ac_objext conftest$ac_exeext
30933 if { (ac_try="$ac_link"
30934 case "(($ac_try" in
30935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30936 *) ac_try_echo=$ac_try;;
30937 esac
30938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30939 (eval "$ac_link") 2>conftest.er1
30940 ac_status=$?
30941 grep -v '^ *+' conftest.er1 >conftest.err
30942 rm -f conftest.er1
30943 cat conftest.err >&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); } && {
30946 test -z "$ac_c_werror_flag" ||
30947 test ! -s conftest.err
30948 } && test -s conftest$ac_exeext &&
30949 $as_test_x conftest$ac_exeext; then
30950 ac_cv_func_remove=yes
30951 else
30952 echo "$as_me: failed program was:" >&5
30953 sed 's/^/| /' conftest.$ac_ext >&5
30954
30955 ac_cv_func_remove=no
30956 fi
30957
30958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30959 conftest$ac_exeext conftest.$ac_ext
30960 fi
30961 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30962 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30963
30964 if test $ac_cv_func_remove = no; then
30965 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30966 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30967 if test "${ac_cv_lib_posix_remove+set}" = set; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 else
30970 ac_check_lib_save_LIBS=$LIBS
30971 LIBS="-lposix $LIBS"
30972 cat >conftest.$ac_ext <<_ACEOF
30973 /* confdefs.h. */
30974 _ACEOF
30975 cat confdefs.h >>conftest.$ac_ext
30976 cat >>conftest.$ac_ext <<_ACEOF
30977 /* end confdefs.h. */
30978
30979 /* Override any GCC internal prototype to avoid an error.
30980 Use char because int might match the return type of a GCC
30981 builtin and then its argument prototype would still apply. */
30982 #ifdef __cplusplus
30983 extern "C"
30984 #endif
30985 char remove ();
30986 int
30987 main ()
30988 {
30989 return remove ();
30990 ;
30991 return 0;
30992 }
30993 _ACEOF
30994 rm -f conftest.$ac_objext conftest$ac_exeext
30995 if { (ac_try="$ac_link"
30996 case "(($ac_try" in
30997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30998 *) ac_try_echo=$ac_try;;
30999 esac
31000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31001 (eval "$ac_link") 2>conftest.er1
31002 ac_status=$?
31003 grep -v '^ *+' conftest.er1 >conftest.err
31004 rm -f conftest.er1
31005 cat conftest.err >&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } && {
31008 test -z "$ac_c_werror_flag" ||
31009 test ! -s conftest.err
31010 } && test -s conftest$ac_exeext &&
31011 $as_test_x conftest$ac_exeext; then
31012 ac_cv_lib_posix_remove=yes
31013 else
31014 echo "$as_me: failed program was:" >&5
31015 sed 's/^/| /' conftest.$ac_ext >&5
31016
31017 ac_cv_lib_posix_remove=no
31018 fi
31019
31020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31021 conftest$ac_exeext conftest.$ac_ext
31022 LIBS=$ac_check_lib_save_LIBS
31023 fi
31024 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31025 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31026 if test $ac_cv_lib_posix_remove = yes; then
31027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31028 fi
31029
31030 fi
31031
31032 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31033 { echo "$as_me:$LINENO: checking for shmat" >&5
31034 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31035 if test "${ac_cv_func_shmat+set}" = set; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 else
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31046 #define shmat innocuous_shmat
31047
31048 /* System header to define __stub macros and hopefully few prototypes,
31049 which can conflict with char shmat (); below.
31050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31051 <limits.h> exists even on freestanding compilers. */
31052
31053 #ifdef __STDC__
31054 # include <limits.h>
31055 #else
31056 # include <assert.h>
31057 #endif
31058
31059 #undef shmat
31060
31061 /* Override any GCC internal prototype to avoid an error.
31062 Use char because int might match the return type of a GCC
31063 builtin and then its argument prototype would still apply. */
31064 #ifdef __cplusplus
31065 extern "C"
31066 #endif
31067 char shmat ();
31068 /* The GNU C library defines this for functions which it implements
31069 to always fail with ENOSYS. Some functions are actually named
31070 something starting with __ and the normal name is an alias. */
31071 #if defined __stub_shmat || defined __stub___shmat
31072 choke me
31073 #endif
31074
31075 int
31076 main ()
31077 {
31078 return shmat ();
31079 ;
31080 return 0;
31081 }
31082 _ACEOF
31083 rm -f conftest.$ac_objext conftest$ac_exeext
31084 if { (ac_try="$ac_link"
31085 case "(($ac_try" in
31086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31087 *) ac_try_echo=$ac_try;;
31088 esac
31089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31090 (eval "$ac_link") 2>conftest.er1
31091 ac_status=$?
31092 grep -v '^ *+' conftest.er1 >conftest.err
31093 rm -f conftest.er1
31094 cat conftest.err >&5
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); } && {
31097 test -z "$ac_c_werror_flag" ||
31098 test ! -s conftest.err
31099 } && test -s conftest$ac_exeext &&
31100 $as_test_x conftest$ac_exeext; then
31101 ac_cv_func_shmat=yes
31102 else
31103 echo "$as_me: failed program was:" >&5
31104 sed 's/^/| /' conftest.$ac_ext >&5
31105
31106 ac_cv_func_shmat=no
31107 fi
31108
31109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31110 conftest$ac_exeext conftest.$ac_ext
31111 fi
31112 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31113 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31114
31115 if test $ac_cv_func_shmat = no; then
31116 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31117 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31118 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31119 echo $ECHO_N "(cached) $ECHO_C" >&6
31120 else
31121 ac_check_lib_save_LIBS=$LIBS
31122 LIBS="-lipc $LIBS"
31123 cat >conftest.$ac_ext <<_ACEOF
31124 /* confdefs.h. */
31125 _ACEOF
31126 cat confdefs.h >>conftest.$ac_ext
31127 cat >>conftest.$ac_ext <<_ACEOF
31128 /* end confdefs.h. */
31129
31130 /* Override any GCC internal prototype to avoid an error.
31131 Use char because int might match the return type of a GCC
31132 builtin and then its argument prototype would still apply. */
31133 #ifdef __cplusplus
31134 extern "C"
31135 #endif
31136 char shmat ();
31137 int
31138 main ()
31139 {
31140 return shmat ();
31141 ;
31142 return 0;
31143 }
31144 _ACEOF
31145 rm -f conftest.$ac_objext conftest$ac_exeext
31146 if { (ac_try="$ac_link"
31147 case "(($ac_try" in
31148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31149 *) ac_try_echo=$ac_try;;
31150 esac
31151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31152 (eval "$ac_link") 2>conftest.er1
31153 ac_status=$?
31154 grep -v '^ *+' conftest.er1 >conftest.err
31155 rm -f conftest.er1
31156 cat conftest.err >&5
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); } && {
31159 test -z "$ac_c_werror_flag" ||
31160 test ! -s conftest.err
31161 } && test -s conftest$ac_exeext &&
31162 $as_test_x conftest$ac_exeext; then
31163 ac_cv_lib_ipc_shmat=yes
31164 else
31165 echo "$as_me: failed program was:" >&5
31166 sed 's/^/| /' conftest.$ac_ext >&5
31167
31168 ac_cv_lib_ipc_shmat=no
31169 fi
31170
31171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31172 conftest$ac_exeext conftest.$ac_ext
31173 LIBS=$ac_check_lib_save_LIBS
31174 fi
31175 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31176 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31177 if test $ac_cv_lib_ipc_shmat = yes; then
31178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31179 fi
31180
31181 fi
31182 fi
31183
31184 # Check for libraries that X11R6 Xt/Xaw programs need.
31185 ac_save_LDFLAGS=$LDFLAGS
31186 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31187 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31188 # check for ICE first), but we must link in the order -lSM -lICE or
31189 # we get undefined symbols. So assume we have SM if we have ICE.
31190 # These have to be linked with before -lX11, unlike the other
31191 # libraries we check for below, so use a different variable.
31192 # John Interrante, Karl Berry
31193 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31194 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31195 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31196 echo $ECHO_N "(cached) $ECHO_C" >&6
31197 else
31198 ac_check_lib_save_LIBS=$LIBS
31199 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31200 cat >conftest.$ac_ext <<_ACEOF
31201 /* confdefs.h. */
31202 _ACEOF
31203 cat confdefs.h >>conftest.$ac_ext
31204 cat >>conftest.$ac_ext <<_ACEOF
31205 /* end confdefs.h. */
31206
31207 /* Override any GCC internal prototype to avoid an error.
31208 Use char because int might match the return type of a GCC
31209 builtin and then its argument prototype would still apply. */
31210 #ifdef __cplusplus
31211 extern "C"
31212 #endif
31213 char IceConnectionNumber ();
31214 int
31215 main ()
31216 {
31217 return IceConnectionNumber ();
31218 ;
31219 return 0;
31220 }
31221 _ACEOF
31222 rm -f conftest.$ac_objext conftest$ac_exeext
31223 if { (ac_try="$ac_link"
31224 case "(($ac_try" in
31225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31226 *) ac_try_echo=$ac_try;;
31227 esac
31228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31229 (eval "$ac_link") 2>conftest.er1
31230 ac_status=$?
31231 grep -v '^ *+' conftest.er1 >conftest.err
31232 rm -f conftest.er1
31233 cat conftest.err >&5
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } && {
31236 test -z "$ac_c_werror_flag" ||
31237 test ! -s conftest.err
31238 } && test -s conftest$ac_exeext &&
31239 $as_test_x conftest$ac_exeext; then
31240 ac_cv_lib_ICE_IceConnectionNumber=yes
31241 else
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31244
31245 ac_cv_lib_ICE_IceConnectionNumber=no
31246 fi
31247
31248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31249 conftest$ac_exeext conftest.$ac_ext
31250 LIBS=$ac_check_lib_save_LIBS
31251 fi
31252 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31253 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31254 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31255 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31256 fi
31257
31258 LDFLAGS=$ac_save_LDFLAGS
31259
31260 fi
31261
31262
31263 if test "$no_x" = "yes"; then
31264 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31265 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31266 { (exit 1); exit 1; }; }
31267 fi
31268
31269 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31270 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31271 AFMINSTALL=afminstall
31272 COMPILED_X_PROGRAM=0
31273
31274 fi
31275
31276 if test "$wxUSE_X11" = 1; then
31277 if test "$wxUSE_NANOX" = "yes"; then
31278 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31279 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31280 if test "x$MICROWIN" = x ; then
31281 { echo "$as_me:$LINENO: result: not found" >&5
31282 echo "${ECHO_T}not found" >&6; }
31283 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31284 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31285 { (exit 1); exit 1; }; }
31286 else
31287 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31288 echo "${ECHO_T}$MICROWIN" >&6; }
31289 cat >>confdefs.h <<\_ACEOF
31290 #define wxUSE_NANOX 1
31291 _ACEOF
31292
31293 fi
31294 fi
31295
31296 if test "$wxUSE_UNICODE" = "yes"; then
31297
31298
31299 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31300 if test -n "$ac_tool_prefix"; then
31301 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31302 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31305 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31306 echo $ECHO_N "(cached) $ECHO_C" >&6
31307 else
31308 case $PKG_CONFIG in
31309 [\\/]* | ?:[\\/]*)
31310 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31311 ;;
31312 *)
31313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31314 for as_dir in $PATH
31315 do
31316 IFS=$as_save_IFS
31317 test -z "$as_dir" && as_dir=.
31318 for ac_exec_ext in '' $ac_executable_extensions; do
31319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31320 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31322 break 2
31323 fi
31324 done
31325 done
31326 IFS=$as_save_IFS
31327
31328 ;;
31329 esac
31330 fi
31331 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31332 if test -n "$PKG_CONFIG"; then
31333 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31334 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31335 else
31336 { echo "$as_me:$LINENO: result: no" >&5
31337 echo "${ECHO_T}no" >&6; }
31338 fi
31339
31340
31341 fi
31342 if test -z "$ac_cv_path_PKG_CONFIG"; then
31343 ac_pt_PKG_CONFIG=$PKG_CONFIG
31344 # Extract the first word of "pkg-config", so it can be a program name with args.
31345 set dummy pkg-config; ac_word=$2
31346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31348 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 else
31351 case $ac_pt_PKG_CONFIG in
31352 [\\/]* | ?:[\\/]*)
31353 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31354 ;;
31355 *)
31356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31357 for as_dir in $PATH
31358 do
31359 IFS=$as_save_IFS
31360 test -z "$as_dir" && as_dir=.
31361 for ac_exec_ext in '' $ac_executable_extensions; do
31362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31363 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31365 break 2
31366 fi
31367 done
31368 done
31369 IFS=$as_save_IFS
31370
31371 ;;
31372 esac
31373 fi
31374 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31375 if test -n "$ac_pt_PKG_CONFIG"; then
31376 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31377 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31378 else
31379 { echo "$as_me:$LINENO: result: no" >&5
31380 echo "${ECHO_T}no" >&6; }
31381 fi
31382
31383 if test "x$ac_pt_PKG_CONFIG" = x; then
31384 PKG_CONFIG=""
31385 else
31386 case $cross_compiling:$ac_tool_warned in
31387 yes:)
31388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31389 whose name does not start with the host triplet. If you think this
31390 configuration is useful to you, please write to autoconf@gnu.org." >&5
31391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31392 whose name does not start with the host triplet. If you think this
31393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31394 ac_tool_warned=yes ;;
31395 esac
31396 PKG_CONFIG=$ac_pt_PKG_CONFIG
31397 fi
31398 else
31399 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31400 fi
31401
31402 fi
31403 if test -n "$PKG_CONFIG"; then
31404 _pkg_min_version=0.9.0
31405 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31406 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31407 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31408 { echo "$as_me:$LINENO: result: yes" >&5
31409 echo "${ECHO_T}yes" >&6; }
31410 else
31411 { echo "$as_me:$LINENO: result: no" >&5
31412 echo "${ECHO_T}no" >&6; }
31413 PKG_CONFIG=""
31414 fi
31415
31416 fi
31417
31418
31419 pkg_failed=no
31420 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31421 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31422
31423 if test -n "$PKG_CONFIG"; then
31424 if test -n "$PANGOX_CFLAGS"; then
31425 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31426 else
31427 if test -n "$PKG_CONFIG" && \
31428 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31429 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31430 ac_status=$?
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; then
31433 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31434 else
31435 pkg_failed=yes
31436 fi
31437 fi
31438 else
31439 pkg_failed=untried
31440 fi
31441 if test -n "$PKG_CONFIG"; then
31442 if test -n "$PANGOX_LIBS"; then
31443 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31444 else
31445 if test -n "$PKG_CONFIG" && \
31446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31447 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; then
31451 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31452 else
31453 pkg_failed=yes
31454 fi
31455 fi
31456 else
31457 pkg_failed=untried
31458 fi
31459
31460
31461
31462 if test $pkg_failed = yes; then
31463
31464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31465 _pkg_short_errors_supported=yes
31466 else
31467 _pkg_short_errors_supported=no
31468 fi
31469 if test $_pkg_short_errors_supported = yes; then
31470 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31471 else
31472 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31473 fi
31474 # Put the nasty error message in config.log where it belongs
31475 echo "$PANGOX_PKG_ERRORS" >&5
31476
31477
31478 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31479 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31480 { (exit 1); exit 1; }; }
31481
31482
31483 elif test $pkg_failed = untried; then
31484
31485 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31486 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31487 { (exit 1); exit 1; }; }
31488
31489
31490 else
31491 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31492 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31493 { echo "$as_me:$LINENO: result: yes" >&5
31494 echo "${ECHO_T}yes" >&6; }
31495
31496 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31497 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31498 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31499
31500 fi
31501
31502 pkg_failed=no
31503 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31504 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31505
31506 if test -n "$PKG_CONFIG"; then
31507 if test -n "$PANGOFT2_CFLAGS"; then
31508 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31509 else
31510 if test -n "$PKG_CONFIG" && \
31511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31512 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31513 ac_status=$?
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; then
31516 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31517 else
31518 pkg_failed=yes
31519 fi
31520 fi
31521 else
31522 pkg_failed=untried
31523 fi
31524 if test -n "$PKG_CONFIG"; then
31525 if test -n "$PANGOFT2_LIBS"; then
31526 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31527 else
31528 if test -n "$PKG_CONFIG" && \
31529 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31530 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31531 ac_status=$?
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); }; then
31534 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31535 else
31536 pkg_failed=yes
31537 fi
31538 fi
31539 else
31540 pkg_failed=untried
31541 fi
31542
31543
31544
31545 if test $pkg_failed = yes; then
31546
31547 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31548 _pkg_short_errors_supported=yes
31549 else
31550 _pkg_short_errors_supported=no
31551 fi
31552 if test $_pkg_short_errors_supported = yes; then
31553 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31554 else
31555 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31556 fi
31557 # Put the nasty error message in config.log where it belongs
31558 echo "$PANGOFT2_PKG_ERRORS" >&5
31559
31560
31561 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31562 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31563 wxUSE_PRINTING_ARCHITECTURE="no"
31564
31565
31566 elif test $pkg_failed = untried; then
31567
31568 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31569 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31570 wxUSE_PRINTING_ARCHITECTURE="no"
31571
31572
31573 else
31574 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31575 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31576 { echo "$as_me:$LINENO: result: yes" >&5
31577 echo "${ECHO_T}yes" >&6; }
31578
31579 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31580 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31582
31583 fi
31584
31585 pkg_failed=no
31586 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31587 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31588
31589 if test -n "$PKG_CONFIG"; then
31590 if test -n "$PANGOXFT_CFLAGS"; then
31591 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31592 else
31593 if test -n "$PKG_CONFIG" && \
31594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31595 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31596 ac_status=$?
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); }; then
31599 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31600 else
31601 pkg_failed=yes
31602 fi
31603 fi
31604 else
31605 pkg_failed=untried
31606 fi
31607 if test -n "$PKG_CONFIG"; then
31608 if test -n "$PANGOXFT_LIBS"; then
31609 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31610 else
31611 if test -n "$PKG_CONFIG" && \
31612 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31613 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; then
31617 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31618 else
31619 pkg_failed=yes
31620 fi
31621 fi
31622 else
31623 pkg_failed=untried
31624 fi
31625
31626
31627
31628 if test $pkg_failed = yes; then
31629
31630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31631 _pkg_short_errors_supported=yes
31632 else
31633 _pkg_short_errors_supported=no
31634 fi
31635 if test $_pkg_short_errors_supported = yes; then
31636 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31637 else
31638 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31639 fi
31640 # Put the nasty error message in config.log where it belongs
31641 echo "$PANGOXFT_PKG_ERRORS" >&5
31642
31643
31644 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31645 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31646
31647
31648 elif test $pkg_failed = untried; then
31649
31650 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31651 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31652
31653
31654 else
31655 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31656 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31657 { echo "$as_me:$LINENO: result: yes" >&5
31658 echo "${ECHO_T}yes" >&6; }
31659
31660 cat >>confdefs.h <<\_ACEOF
31661 #define HAVE_PANGO_XFT 1
31662 _ACEOF
31663
31664 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31665 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31666 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31667
31668 fi
31669 save_LIBS="$LIBS"
31670 LIBS="$LIBS $PANGOX_LIBS"
31671
31672 for ac_func in pango_font_family_is_monospace
31673 do
31674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31677 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31678 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 else
31680 cat >conftest.$ac_ext <<_ACEOF
31681 /* confdefs.h. */
31682 _ACEOF
31683 cat confdefs.h >>conftest.$ac_ext
31684 cat >>conftest.$ac_ext <<_ACEOF
31685 /* end confdefs.h. */
31686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31688 #define $ac_func innocuous_$ac_func
31689
31690 /* System header to define __stub macros and hopefully few prototypes,
31691 which can conflict with char $ac_func (); below.
31692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31693 <limits.h> exists even on freestanding compilers. */
31694
31695 #ifdef __STDC__
31696 # include <limits.h>
31697 #else
31698 # include <assert.h>
31699 #endif
31700
31701 #undef $ac_func
31702
31703 /* Override any GCC internal prototype to avoid an error.
31704 Use char because int might match the return type of a GCC
31705 builtin and then its argument prototype would still apply. */
31706 #ifdef __cplusplus
31707 extern "C"
31708 #endif
31709 char $ac_func ();
31710 /* The GNU C library defines this for functions which it implements
31711 to always fail with ENOSYS. Some functions are actually named
31712 something starting with __ and the normal name is an alias. */
31713 #if defined __stub_$ac_func || defined __stub___$ac_func
31714 choke me
31715 #endif
31716
31717 int
31718 main ()
31719 {
31720 return $ac_func ();
31721 ;
31722 return 0;
31723 }
31724 _ACEOF
31725 rm -f conftest.$ac_objext conftest$ac_exeext
31726 if { (ac_try="$ac_link"
31727 case "(($ac_try" in
31728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31729 *) ac_try_echo=$ac_try;;
31730 esac
31731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31732 (eval "$ac_link") 2>conftest.er1
31733 ac_status=$?
31734 grep -v '^ *+' conftest.er1 >conftest.err
31735 rm -f conftest.er1
31736 cat conftest.err >&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } && {
31739 test -z "$ac_c_werror_flag" ||
31740 test ! -s conftest.err
31741 } && test -s conftest$ac_exeext &&
31742 $as_test_x conftest$ac_exeext; then
31743 eval "$as_ac_var=yes"
31744 else
31745 echo "$as_me: failed program was:" >&5
31746 sed 's/^/| /' conftest.$ac_ext >&5
31747
31748 eval "$as_ac_var=no"
31749 fi
31750
31751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31752 conftest$ac_exeext conftest.$ac_ext
31753 fi
31754 ac_res=`eval echo '${'$as_ac_var'}'`
31755 { echo "$as_me:$LINENO: result: $ac_res" >&5
31756 echo "${ECHO_T}$ac_res" >&6; }
31757 if test `eval echo '${'$as_ac_var'}'` = yes; then
31758 cat >>confdefs.h <<_ACEOF
31759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31760 _ACEOF
31761
31762 fi
31763 done
31764
31765 LIBS="$save_LIBS"
31766 fi
31767
31768 wxUSE_UNIVERSAL="yes"
31769
31770 if test "$wxUSE_NANOX" = "yes"; then
31771 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31772 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"
31773 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31774 else
31775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31776 fi
31777
31778 TOOLKIT=X11
31779 GUIDIST=X11_DIST
31780 fi
31781
31782 if test "$wxUSE_MOTIF" = 1; then
31783 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31784 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31785
31786 ac_find_includes=
31787 for ac_dir in $SEARCH_INCLUDE /usr/include;
31788 do
31789 if test -f "$ac_dir/Xm/Xm.h"; then
31790 ac_find_includes=$ac_dir
31791 break
31792 fi
31793 done
31794
31795 if test "$ac_find_includes" != "" ; then
31796 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31797 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31798
31799 if test "x$ac_find_includes" = "x/usr/include"; then
31800 ac_path_to_include=""
31801 else
31802 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31803 result=$?
31804 if test $result = 0; then
31805 ac_path_to_include=""
31806 else
31807 ac_path_to_include=" -I$ac_find_includes"
31808 fi
31809 fi
31810
31811 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31812 else
31813 save_CFLAGS=$CFLAGS
31814 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31815
31816 cat >conftest.$ac_ext <<_ACEOF
31817 /* confdefs.h. */
31818 _ACEOF
31819 cat confdefs.h >>conftest.$ac_ext
31820 cat >>conftest.$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31822
31823 #include <Xm/Xm.h>
31824
31825 int
31826 main ()
31827 {
31828
31829 int version;
31830 version = xmUseVersion;
31831
31832 ;
31833 return 0;
31834 }
31835 _ACEOF
31836 rm -f conftest.$ac_objext
31837 if { (ac_try="$ac_compile"
31838 case "(($ac_try" in
31839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31840 *) ac_try_echo=$ac_try;;
31841 esac
31842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31843 (eval "$ac_compile") 2>conftest.er1
31844 ac_status=$?
31845 grep -v '^ *+' conftest.er1 >conftest.err
31846 rm -f conftest.er1
31847 cat conftest.err >&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); } && {
31850 test -z "$ac_c_werror_flag" ||
31851 test ! -s conftest.err
31852 } && test -s conftest.$ac_objext; then
31853
31854 { echo "$as_me:$LINENO: result: found in default search path" >&5
31855 echo "${ECHO_T}found in default search path" >&6; }
31856 COMPILED_X_PROGRAM=1
31857
31858 else
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31861
31862
31863 { echo "$as_me:$LINENO: result: no" >&5
31864 echo "${ECHO_T}no" >&6; }
31865 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31866 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31867 { (exit 1); exit 1; }; }
31868
31869
31870 fi
31871
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873
31874 CFLAGS=$save_CFLAGS
31875 fi
31876
31877
31878 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31879 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31880
31881 ac_find_libraries=
31882 for ac_dir in $SEARCH_LIB;
31883 do
31884 for ac_extension in a so sl dylib dll.a; do
31885 if test -f "$ac_dir/libXm.$ac_extension"; then
31886 ac_find_libraries=$ac_dir
31887 break 2
31888 fi
31889 done
31890 done
31891
31892
31893 if test "x$ac_find_libraries" != "x" ; then
31894 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31895 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31896
31897
31898 if test "$ac_find_libraries" = "default location"; then
31899 ac_path_to_link=""
31900 else
31901 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31902 result=$?
31903 if test $result = 0; then
31904 ac_path_to_link=""
31905 else
31906 ac_path_to_link=" -L$ac_find_libraries"
31907 fi
31908 fi
31909
31910 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31911 else
31912 save_CFLAGS=$CFLAGS
31913 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31914 save_LIBS="$LIBS"
31915 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31916
31917 cat >conftest.$ac_ext <<_ACEOF
31918 /* confdefs.h. */
31919 _ACEOF
31920 cat confdefs.h >>conftest.$ac_ext
31921 cat >>conftest.$ac_ext <<_ACEOF
31922 /* end confdefs.h. */
31923
31924 #include <Xm/Xm.h>
31925
31926 int
31927 main ()
31928 {
31929
31930 int version;
31931 version = xmUseVersion;
31932
31933 ;
31934 return 0;
31935 }
31936 _ACEOF
31937 rm -f conftest.$ac_objext conftest$ac_exeext
31938 if { (ac_try="$ac_link"
31939 case "(($ac_try" in
31940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31941 *) ac_try_echo=$ac_try;;
31942 esac
31943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31944 (eval "$ac_link") 2>conftest.er1
31945 ac_status=$?
31946 grep -v '^ *+' conftest.er1 >conftest.err
31947 rm -f conftest.er1
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } && {
31951 test -z "$ac_c_werror_flag" ||
31952 test ! -s conftest.err
31953 } && test -s conftest$ac_exeext &&
31954 $as_test_x conftest$ac_exeext; then
31955
31956 { echo "$as_me:$LINENO: result: found in default search path" >&5
31957 echo "${ECHO_T}found in default search path" >&6; }
31958 COMPILED_X_PROGRAM=1
31959
31960 else
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.$ac_ext >&5
31963
31964
31965 { echo "$as_me:$LINENO: result: no" >&5
31966 echo "${ECHO_T}no" >&6; }
31967 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31968 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31969 { (exit 1); exit 1; }; }
31970
31971
31972 fi
31973
31974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31975 conftest$ac_exeext conftest.$ac_ext
31976
31977 CFLAGS=$save_CFLAGS
31978 LIBS="$save_LIBS"
31979 fi
31980
31981 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31982 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31983 libp_link=""
31984 libsm_ice_link=""
31985 libs_found=0
31986 for libp in "" " -lXp"; do
31987 if test "$libs_found" = 0; then
31988 for libsm_ice in "" " -lSM -lICE"; do
31989 if test "$libs_found" = 0; then
31990 save_LIBS="$LIBS"
31991 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31992 save_CFLAGS=$CFLAGS
31993 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31994
31995 cat >conftest.$ac_ext <<_ACEOF
31996 /* confdefs.h. */
31997 _ACEOF
31998 cat confdefs.h >>conftest.$ac_ext
31999 cat >>conftest.$ac_ext <<_ACEOF
32000 /* end confdefs.h. */
32001
32002 #include <Xm/Xm.h>
32003 #include <Xm/List.h>
32004
32005 int
32006 main ()
32007 {
32008
32009 XmString string = NULL;
32010 Widget w = NULL;
32011 int position = 0;
32012 XmListAddItem(w, string, position);
32013
32014 ;
32015 return 0;
32016 }
32017 _ACEOF
32018 rm -f conftest.$ac_objext conftest$ac_exeext
32019 if { (ac_try="$ac_link"
32020 case "(($ac_try" in
32021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32022 *) ac_try_echo=$ac_try;;
32023 esac
32024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32025 (eval "$ac_link") 2>conftest.er1
32026 ac_status=$?
32027 grep -v '^ *+' conftest.er1 >conftest.err
32028 rm -f conftest.er1
32029 cat conftest.err >&5
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); } && {
32032 test -z "$ac_c_werror_flag" ||
32033 test ! -s conftest.err
32034 } && test -s conftest$ac_exeext &&
32035 $as_test_x conftest$ac_exeext; then
32036
32037 libp_link="$libp"
32038 libsm_ice_link="$libsm_ice"
32039 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32040 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32041 libs_found=1
32042
32043 else
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.$ac_ext >&5
32046
32047
32048
32049 fi
32050
32051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32052 conftest$ac_exeext conftest.$ac_ext
32053
32054 LIBS="$save_LIBS"
32055 CFLAGS=$save_CFLAGS
32056 fi
32057 done
32058 fi
32059 done
32060
32061 if test "$libs_found" = 0; then
32062 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32063 echo "${ECHO_T}can't find the right libraries" >&6; }
32064 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32065 echo "$as_me: error: can't link a simple motif program" >&2;}
32066 { (exit 1); exit 1; }; }
32067 fi
32068
32069 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32070 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32071 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32072 echo $ECHO_N "(cached) $ECHO_C" >&6
32073 else
32074 ac_check_lib_save_LIBS=$LIBS
32075 LIBS="-lSgm $LIBS"
32076 cat >conftest.$ac_ext <<_ACEOF
32077 /* confdefs.h. */
32078 _ACEOF
32079 cat confdefs.h >>conftest.$ac_ext
32080 cat >>conftest.$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32082
32083 /* Override any GCC internal prototype to avoid an error.
32084 Use char because int might match the return type of a GCC
32085 builtin and then its argument prototype would still apply. */
32086 #ifdef __cplusplus
32087 extern "C"
32088 #endif
32089 char SgCreateList ();
32090 int
32091 main ()
32092 {
32093 return SgCreateList ();
32094 ;
32095 return 0;
32096 }
32097 _ACEOF
32098 rm -f conftest.$ac_objext conftest$ac_exeext
32099 if { (ac_try="$ac_link"
32100 case "(($ac_try" in
32101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32102 *) ac_try_echo=$ac_try;;
32103 esac
32104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32105 (eval "$ac_link") 2>conftest.er1
32106 ac_status=$?
32107 grep -v '^ *+' conftest.er1 >conftest.err
32108 rm -f conftest.er1
32109 cat conftest.err >&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); } && {
32112 test -z "$ac_c_werror_flag" ||
32113 test ! -s conftest.err
32114 } && test -s conftest$ac_exeext &&
32115 $as_test_x conftest$ac_exeext; then
32116 ac_cv_lib_Sgm_SgCreateList=yes
32117 else
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.$ac_ext >&5
32120
32121 ac_cv_lib_Sgm_SgCreateList=no
32122 fi
32123
32124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32125 conftest$ac_exeext conftest.$ac_ext
32126 LIBS=$ac_check_lib_save_LIBS
32127 fi
32128 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32129 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32130 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32131 libsgm_link=" -lSgm"
32132 fi
32133
32134
32135 save_CFLAGS=$CFLAGS
32136 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32137
32138 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32139 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32140 if test "${wx_cv_lib_motif2+set}" = set; then
32141 echo $ECHO_N "(cached) $ECHO_C" >&6
32142 else
32143 cat >conftest.$ac_ext <<_ACEOF
32144 /* confdefs.h. */
32145 _ACEOF
32146 cat confdefs.h >>conftest.$ac_ext
32147 cat >>conftest.$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32149
32150 #include <Xm/Xm.h>
32151
32152 int
32153 main ()
32154 {
32155
32156 #if XmVersion < 2000
32157 Not Motif 2
32158 #endif
32159
32160 ;
32161 return 0;
32162 }
32163 _ACEOF
32164 rm -f conftest.$ac_objext
32165 if { (ac_try="$ac_compile"
32166 case "(($ac_try" in
32167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32168 *) ac_try_echo=$ac_try;;
32169 esac
32170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32171 (eval "$ac_compile") 2>conftest.er1
32172 ac_status=$?
32173 grep -v '^ *+' conftest.er1 >conftest.err
32174 rm -f conftest.er1
32175 cat conftest.err >&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); } && {
32178 test -z "$ac_c_werror_flag" ||
32179 test ! -s conftest.err
32180 } && test -s conftest.$ac_objext; then
32181 wx_cv_lib_motif2="yes"
32182 else
32183 echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.$ac_ext >&5
32185
32186 wx_cv_lib_motif2="no"
32187 fi
32188
32189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32190 fi
32191 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32192 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32193 if test "$wx_cv_lib_motif2" = "yes"; then
32194 cat >>confdefs.h <<\_ACEOF
32195 #define __WXMOTIF20__ 1
32196 _ACEOF
32197
32198 else
32199 cat >>confdefs.h <<\_ACEOF
32200 #define __WXMOTIF20__ 0
32201 _ACEOF
32202
32203 fi
32204
32205 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32206 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32207 if test "${wx_cv_lib_lesstif+set}" = set; then
32208 echo $ECHO_N "(cached) $ECHO_C" >&6
32209 else
32210 cat >conftest.$ac_ext <<_ACEOF
32211 /* confdefs.h. */
32212 _ACEOF
32213 cat confdefs.h >>conftest.$ac_ext
32214 cat >>conftest.$ac_ext <<_ACEOF
32215 /* end confdefs.h. */
32216
32217 #include <Xm/Xm.h>
32218
32219 int
32220 main ()
32221 {
32222
32223 #if !defined(LesstifVersion) || LesstifVersion <= 0
32224 Not Lesstif
32225 #endif
32226
32227 ;
32228 return 0;
32229 }
32230 _ACEOF
32231 rm -f conftest.$ac_objext
32232 if { (ac_try="$ac_compile"
32233 case "(($ac_try" in
32234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32235 *) ac_try_echo=$ac_try;;
32236 esac
32237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32238 (eval "$ac_compile") 2>conftest.er1
32239 ac_status=$?
32240 grep -v '^ *+' conftest.er1 >conftest.err
32241 rm -f conftest.er1
32242 cat conftest.err >&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); } && {
32245 test -z "$ac_c_werror_flag" ||
32246 test ! -s conftest.err
32247 } && test -s conftest.$ac_objext; then
32248 wx_cv_lib_lesstif="yes"
32249 else
32250 echo "$as_me: failed program was:" >&5
32251 sed 's/^/| /' conftest.$ac_ext >&5
32252
32253 wx_cv_lib_lesstif="no"
32254 fi
32255
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257
32258 fi
32259 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32260 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32261 if test "$wx_cv_lib_lesstif" = "yes"; then
32262 cat >>confdefs.h <<\_ACEOF
32263 #define __WXLESSTIF__ 1
32264 _ACEOF
32265
32266 else
32267 cat >>confdefs.h <<\_ACEOF
32268 #define __WXLESSTIF__ 0
32269 _ACEOF
32270
32271 fi
32272
32273 CFLAGS=$save_CFLAGS
32274
32275 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32276 TOOLKIT=MOTIF
32277 GUIDIST=MOTIF_DIST
32278 fi
32279
32280 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32281 if test "$wxUSE_LIBXPM" = "sys"; then
32282 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32283 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32284
32285 ac_find_libraries=
32286 for ac_dir in $SEARCH_LIB;
32287 do
32288 for ac_extension in a so sl dylib dll.a; do
32289 if test -f "$ac_dir/libXpm.$ac_extension"; then
32290 ac_find_libraries=$ac_dir
32291 break 2
32292 fi
32293 done
32294 done
32295
32296 if test "$ac_find_libraries" != "" ; then
32297
32298 if test "$ac_find_libraries" = "default location"; then
32299 ac_path_to_link=""
32300 else
32301 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32302 result=$?
32303 if test $result = 0; then
32304 ac_path_to_link=""
32305 else
32306 ac_path_to_link=" -L$ac_find_libraries"
32307 fi
32308 fi
32309
32310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32311 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32312 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32313
32314 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32315 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32316 if test "${wx_cv_x11_xpm_h+set}" = set; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32318 else
32319
32320 save_CFLAGS=$CFLAGS
32321 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32322
32323 cat >conftest.$ac_ext <<_ACEOF
32324 /* confdefs.h. */
32325 _ACEOF
32326 cat confdefs.h >>conftest.$ac_ext
32327 cat >>conftest.$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329
32330 #include <X11/xpm.h>
32331
32332 int
32333 main ()
32334 {
32335
32336 int version;
32337 version = XpmLibraryVersion();
32338
32339 ;
32340 return 0;
32341 }
32342 _ACEOF
32343 rm -f conftest.$ac_objext
32344 if { (ac_try="$ac_compile"
32345 case "(($ac_try" in
32346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32347 *) ac_try_echo=$ac_try;;
32348 esac
32349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32350 (eval "$ac_compile") 2>conftest.er1
32351 ac_status=$?
32352 grep -v '^ *+' conftest.er1 >conftest.err
32353 rm -f conftest.er1
32354 cat conftest.err >&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); } && {
32357 test -z "$ac_c_werror_flag" ||
32358 test ! -s conftest.err
32359 } && test -s conftest.$ac_objext; then
32360 wx_cv_x11_xpm_h=yes
32361 else
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.$ac_ext >&5
32364
32365 wx_cv_x11_xpm_h=no
32366
32367 fi
32368
32369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32370
32371 CFLAGS=$save_CFLAGS
32372
32373
32374 fi
32375 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32376 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32377
32378 if test $wx_cv_x11_xpm_h = "yes"; then
32379 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32380 cat >>confdefs.h <<\_ACEOF
32381 #define wxHAVE_LIB_XPM 1
32382 _ACEOF
32383
32384 else
32385 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32386 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32387 fi
32388 fi
32389
32390 fi
32391
32392 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32393 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32394 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32395 echo $ECHO_N "(cached) $ECHO_C" >&6
32396 else
32397 ac_check_lib_save_LIBS=$LIBS
32398 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32399 cat >conftest.$ac_ext <<_ACEOF
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405
32406 /* Override any GCC internal prototype to avoid an error.
32407 Use char because int might match the return type of a GCC
32408 builtin and then its argument prototype would still apply. */
32409 #ifdef __cplusplus
32410 extern "C"
32411 #endif
32412 char XShapeQueryExtension ();
32413 int
32414 main ()
32415 {
32416 return XShapeQueryExtension ();
32417 ;
32418 return 0;
32419 }
32420 _ACEOF
32421 rm -f conftest.$ac_objext conftest$ac_exeext
32422 if { (ac_try="$ac_link"
32423 case "(($ac_try" in
32424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32425 *) ac_try_echo=$ac_try;;
32426 esac
32427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32428 (eval "$ac_link") 2>conftest.er1
32429 ac_status=$?
32430 grep -v '^ *+' conftest.er1 >conftest.err
32431 rm -f conftest.er1
32432 cat conftest.err >&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } && {
32435 test -z "$ac_c_werror_flag" ||
32436 test ! -s conftest.err
32437 } && test -s conftest$ac_exeext &&
32438 $as_test_x conftest$ac_exeext; then
32439 ac_cv_lib_Xext_XShapeQueryExtension=yes
32440 else
32441 echo "$as_me: failed program was:" >&5
32442 sed 's/^/| /' conftest.$ac_ext >&5
32443
32444 ac_cv_lib_Xext_XShapeQueryExtension=no
32445 fi
32446
32447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32448 conftest$ac_exeext conftest.$ac_ext
32449 LIBS=$ac_check_lib_save_LIBS
32450 fi
32451 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32452 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32453 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32454
32455 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32456 wxHAVE_XEXT_LIB=1
32457
32458 fi
32459
32460
32461 if test "$wxHAVE_XEXT_LIB" = 1; then
32462 save_CFLAGS="$CFLAGS"
32463 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32464
32465 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32466 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32467 cat >conftest.$ac_ext <<_ACEOF
32468 /* confdefs.h. */
32469 _ACEOF
32470 cat confdefs.h >>conftest.$ac_ext
32471 cat >>conftest.$ac_ext <<_ACEOF
32472 /* end confdefs.h. */
32473
32474 #include <X11/Xlib.h>
32475 #include <X11/extensions/shape.h>
32476
32477 int
32478 main ()
32479 {
32480
32481 int dummy1, dummy2;
32482 XShapeQueryExtension((Display*)NULL,
32483 (int*)NULL, (int*)NULL);
32484
32485 ;
32486 return 0;
32487 }
32488 _ACEOF
32489 rm -f conftest.$ac_objext
32490 if { (ac_try="$ac_compile"
32491 case "(($ac_try" in
32492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32493 *) ac_try_echo=$ac_try;;
32494 esac
32495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32496 (eval "$ac_compile") 2>conftest.er1
32497 ac_status=$?
32498 grep -v '^ *+' conftest.er1 >conftest.err
32499 rm -f conftest.er1
32500 cat conftest.err >&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } && {
32503 test -z "$ac_c_werror_flag" ||
32504 test ! -s conftest.err
32505 } && test -s conftest.$ac_objext; then
32506
32507 cat >>confdefs.h <<\_ACEOF
32508 #define HAVE_XSHAPE 1
32509 _ACEOF
32510
32511 { echo "$as_me:$LINENO: result: found" >&5
32512 echo "${ECHO_T}found" >&6; }
32513
32514 else
32515 echo "$as_me: failed program was:" >&5
32516 sed 's/^/| /' conftest.$ac_ext >&5
32517
32518
32519 { echo "$as_me:$LINENO: result: not found" >&5
32520 echo "${ECHO_T}not found" >&6; }
32521
32522 fi
32523
32524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32525 CFLAGS="$save_CFLAGS"
32526
32527 fi
32528 fi
32529
32530 if test "$wxUSE_OSX_CARBON" = 1; then
32531 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32532 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32533 if test "$GCC" = yes; then
32534 { echo "$as_me:$LINENO: result: gcc" >&5
32535 echo "${ECHO_T}gcc" >&6; }
32536 CPPFLAGS_PASCAL="-fpascal-strings"
32537 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32538 { echo "$as_me:$LINENO: result: xlc" >&5
32539 echo "${ECHO_T}xlc" >&6; }
32540 CPPFLAGS_PASCAL="-qmacpstr"
32541 else
32542 { echo "$as_me:$LINENO: result: none" >&5
32543 echo "${ECHO_T}none" >&6; }
32544 fi
32545
32546 if test "x$wxUSE_UNIX" = "xyes"; then
32547 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32548 else
32549 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32550 fi
32551
32552 TOOLKIT=OSX_CARBON
32553 GUIDIST=OSX_CARBON_DIST
32554 WXBASEPORT="_carbon"
32555 fi
32556
32557 if test "$wxUSE_OSX_COCOA" = 1; then
32558 TOOLKIT=OSX_COCOA
32559 GUIDIST=OSX_COCOA_DIST
32560 fi
32561
32562 if test "$wxUSE_COCOA" = 1; then
32563 TOOLKIT=COCOA
32564 GUIDIST=COCOA_DIST
32565 fi
32566
32567 if test "$wxUSE_PM" = 1; then
32568 TOOLKIT=PM
32569 GUIDIST=PM_DIST
32570 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32571 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32572 if test "${wx_cv_spbcdata+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32574 else
32575
32576 cat >conftest.$ac_ext <<_ACEOF
32577 /* confdefs.h. */
32578 _ACEOF
32579 cat confdefs.h >>conftest.$ac_ext
32580 cat >>conftest.$ac_ext <<_ACEOF
32581 /* end confdefs.h. */
32582
32583 #define INCL_PM
32584 #include <os2.h>
32585
32586 int
32587 main ()
32588 {
32589
32590 SPBCDATA test;
32591
32592 ;
32593 return 0;
32594 }
32595 _ACEOF
32596 rm -f conftest.$ac_objext
32597 if { (ac_try="$ac_compile"
32598 case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32601 esac
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_compile") 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } && {
32610 test -z "$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 } && test -s conftest.$ac_objext; then
32613 wx_cv_spbcdata=yes
32614 else
32615 echo "$as_me: failed program was:" >&5
32616 sed 's/^/| /' conftest.$ac_ext >&5
32617
32618 wx_cv_spbcdata=no
32619
32620 fi
32621
32622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32623
32624
32625 fi
32626 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32627 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32628
32629 if test $wx_cv_spbcdata = "yes"; then
32630 cat >>confdefs.h <<\_ACEOF
32631 #define HAVE_SPBCDATA 1
32632 _ACEOF
32633
32634 fi
32635 fi
32636
32637 if test "$TOOLKIT" = "PM" ; then
32638 TOOLKIT_DIR="os2"
32639 else
32640 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32641 fi
32642
32643 if test "$wxUSE_UNIVERSAL" = "yes"; then
32644 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32645 WIDGET_SET=univ
32646 fi
32647
32648 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32649 DISTDIR="wx\$(TOOLKIT)"
32650 else
32651 USE_GUI=0
32652
32653 TOOLKIT_DIR="base"
32654
32655 if test "$USE_WIN32" = 1 ; then
32656 TOOLKIT="MSW"
32657 fi
32658
32659 GUIDIST="BASE_DIST"
32660 DISTDIR="wxBase"
32661 fi
32662
32663
32664
32665 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32666 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32667 wxUSE_UNICODE_UTF8=yes
32668 elif test "$USE_OS2" = 1 ; then
32669 wxUSE_UNICODE_UTF8=yes
32670 else
32671 wxUSE_UNICODE_UTF8=no
32672 fi
32673 fi
32674
32675
32676 if test "$wxUSE_GUI" = "yes"; then
32677 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32678
32679 for ac_header in X11/Xlib.h
32680 do
32681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32685 echo $ECHO_N "(cached) $ECHO_C" >&6
32686 else
32687 cat >conftest.$ac_ext <<_ACEOF
32688 /* confdefs.h. */
32689 _ACEOF
32690 cat confdefs.h >>conftest.$ac_ext
32691 cat >>conftest.$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32693
32694
32695 #include <$ac_header>
32696 _ACEOF
32697 rm -f conftest.$ac_objext
32698 if { (ac_try="$ac_compile"
32699 case "(($ac_try" in
32700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32701 *) ac_try_echo=$ac_try;;
32702 esac
32703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32704 (eval "$ac_compile") 2>conftest.er1
32705 ac_status=$?
32706 grep -v '^ *+' conftest.er1 >conftest.err
32707 rm -f conftest.er1
32708 cat conftest.err >&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); } && {
32711 test -z "$ac_c_werror_flag" ||
32712 test ! -s conftest.err
32713 } && test -s conftest.$ac_objext; then
32714 eval "$as_ac_Header=yes"
32715 else
32716 echo "$as_me: failed program was:" >&5
32717 sed 's/^/| /' conftest.$ac_ext >&5
32718
32719 eval "$as_ac_Header=no"
32720 fi
32721
32722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723 fi
32724 ac_res=`eval echo '${'$as_ac_Header'}'`
32725 { echo "$as_me:$LINENO: result: $ac_res" >&5
32726 echo "${ECHO_T}$ac_res" >&6; }
32727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32728 cat >>confdefs.h <<_ACEOF
32729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32730 _ACEOF
32731
32732 fi
32733
32734 done
32735
32736
32737 for ac_header in X11/XKBlib.h
32738 do
32739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32740 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32743 echo $ECHO_N "(cached) $ECHO_C" >&6
32744 else
32745 cat >conftest.$ac_ext <<_ACEOF
32746 /* confdefs.h. */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32751
32752 #if HAVE_X11_XLIB_H
32753 #include <X11/Xlib.h>
32754 #endif
32755
32756
32757 #include <$ac_header>
32758 _ACEOF
32759 rm -f conftest.$ac_objext
32760 if { (ac_try="$ac_compile"
32761 case "(($ac_try" in
32762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32763 *) ac_try_echo=$ac_try;;
32764 esac
32765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32766 (eval "$ac_compile") 2>conftest.er1
32767 ac_status=$?
32768 grep -v '^ *+' conftest.er1 >conftest.err
32769 rm -f conftest.er1
32770 cat conftest.err >&5
32771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32772 (exit $ac_status); } && {
32773 test -z "$ac_c_werror_flag" ||
32774 test ! -s conftest.err
32775 } && test -s conftest.$ac_objext; then
32776 eval "$as_ac_Header=yes"
32777 else
32778 echo "$as_me: failed program was:" >&5
32779 sed 's/^/| /' conftest.$ac_ext >&5
32780
32781 eval "$as_ac_Header=no"
32782 fi
32783
32784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32785 fi
32786 ac_res=`eval echo '${'$as_ac_Header'}'`
32787 { echo "$as_me:$LINENO: result: $ac_res" >&5
32788 echo "${ECHO_T}$ac_res" >&6; }
32789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32790 cat >>confdefs.h <<_ACEOF
32791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32792 _ACEOF
32793
32794 fi
32795
32796 done
32797
32798 fi
32799 fi
32800
32801
32802
32803 if test "$wxUSE_DISPLAY" = "yes"; then
32804 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32805 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32806 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32807
32808 ac_find_libraries=
32809 for ac_dir in $SEARCH_LIB;
32810 do
32811 for ac_extension in a so sl dylib dll.a; do
32812 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32813 ac_find_libraries=$ac_dir
32814 break 2
32815 fi
32816 done
32817 done
32818
32819 if test "$ac_find_libraries" != "" ; then
32820
32821 if test "$ac_find_libraries" = "default location"; then
32822 ac_path_to_link=""
32823 else
32824 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32825 result=$?
32826 if test $result = 0; then
32827 ac_path_to_link=""
32828 else
32829 ac_path_to_link=" -L$ac_find_libraries"
32830 fi
32831 fi
32832
32833 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32834 LDFLAGS="$LDFLAGS $ac_path_to_link"
32835 fi
32836 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32837 { echo "$as_me:$LINENO: result: yes" >&5
32838 echo "${ECHO_T}yes" >&6; }
32839
32840 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32841 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32842
32843 ac_find_libraries=
32844 for ac_dir in $SEARCH_LIB;
32845 do
32846 for ac_extension in a so sl dylib dll.a; do
32847 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32848 ac_find_libraries=$ac_dir
32849 break 2
32850 fi
32851 done
32852 done
32853
32854 if test "$ac_find_libraries" != "" ; then
32855 { echo "$as_me:$LINENO: result: yes" >&5
32856 echo "${ECHO_T}yes" >&6; }
32857
32858 for ac_header in X11/extensions/xf86vmode.h
32859 do
32860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32861 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32864 echo $ECHO_N "(cached) $ECHO_C" >&6
32865 else
32866 cat >conftest.$ac_ext <<_ACEOF
32867 /* confdefs.h. */
32868 _ACEOF
32869 cat confdefs.h >>conftest.$ac_ext
32870 cat >>conftest.$ac_ext <<_ACEOF
32871 /* end confdefs.h. */
32872
32873 #if HAVE_X11_XLIB_H
32874 #include <X11/Xlib.h>
32875 #endif
32876
32877
32878 #include <$ac_header>
32879 _ACEOF
32880 rm -f conftest.$ac_objext
32881 if { (ac_try="$ac_compile"
32882 case "(($ac_try" in
32883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32884 *) ac_try_echo=$ac_try;;
32885 esac
32886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32887 (eval "$ac_compile") 2>conftest.er1
32888 ac_status=$?
32889 grep -v '^ *+' conftest.er1 >conftest.err
32890 rm -f conftest.er1
32891 cat conftest.err >&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } && {
32894 test -z "$ac_c_werror_flag" ||
32895 test ! -s conftest.err
32896 } && test -s conftest.$ac_objext; then
32897 eval "$as_ac_Header=yes"
32898 else
32899 echo "$as_me: failed program was:" >&5
32900 sed 's/^/| /' conftest.$ac_ext >&5
32901
32902 eval "$as_ac_Header=no"
32903 fi
32904
32905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32906 fi
32907 ac_res=`eval echo '${'$as_ac_Header'}'`
32908 { echo "$as_me:$LINENO: result: $ac_res" >&5
32909 echo "${ECHO_T}$ac_res" >&6; }
32910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32911 cat >>confdefs.h <<_ACEOF
32912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32913 _ACEOF
32914
32915 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32916
32917 fi
32918
32919 done
32920
32921 else
32922 { echo "$as_me:$LINENO: result: no" >&5
32923 echo "${ECHO_T}no" >&6; }
32924 fi
32925
32926 else
32927 { echo "$as_me:$LINENO: result: no" >&5
32928 echo "${ECHO_T}no" >&6; }
32929 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32930 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32931 wxUSE_DISPLAY="no"
32932 fi
32933 elif test "$wxUSE_MSW" = 1; then
32934 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32935 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32936 if test "${ac_cv_header_ddraw_h+set}" = set; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 else
32939 cat >conftest.$ac_ext <<_ACEOF
32940 /* confdefs.h. */
32941 _ACEOF
32942 cat confdefs.h >>conftest.$ac_ext
32943 cat >>conftest.$ac_ext <<_ACEOF
32944 /* end confdefs.h. */
32945 #include <windows.h>
32946
32947 #include <ddraw.h>
32948 _ACEOF
32949 rm -f conftest.$ac_objext
32950 if { (ac_try="$ac_compile"
32951 case "(($ac_try" in
32952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32953 *) ac_try_echo=$ac_try;;
32954 esac
32955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32956 (eval "$ac_compile") 2>conftest.er1
32957 ac_status=$?
32958 grep -v '^ *+' conftest.er1 >conftest.err
32959 rm -f conftest.er1
32960 cat conftest.err >&5
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); } && {
32963 test -z "$ac_c_werror_flag" ||
32964 test ! -s conftest.err
32965 } && test -s conftest.$ac_objext; then
32966 ac_cv_header_ddraw_h=yes
32967 else
32968 echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.$ac_ext >&5
32970
32971 ac_cv_header_ddraw_h=no
32972 fi
32973
32974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32975 fi
32976 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32977 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32978
32979
32980 fi
32981 fi
32982
32983 if test "$wxUSE_DETECT_SM" = "yes"; then
32984 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32985 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32986 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32987
32988 ac_find_libraries=
32989 for ac_dir in $SEARCH_LIB;
32990 do
32991 for ac_extension in a so sl dylib dll.a; do
32992 if test -f "$ac_dir/libSM.$ac_extension"; then
32993 ac_find_libraries=$ac_dir
32994 break 2
32995 fi
32996 done
32997 done
32998
32999 if test "$ac_find_libraries" != "" ; then
33000
33001 if test "$ac_find_libraries" = "default location"; then
33002 ac_path_to_link=""
33003 else
33004 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33005 result=$?
33006 if test $result = 0; then
33007 ac_path_to_link=""
33008 else
33009 ac_path_to_link=" -L$ac_find_libraries"
33010 fi
33011 fi
33012
33013 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33014 LDFLAGS="$LDFLAGS $ac_path_to_link"
33015 fi
33016 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33017 { echo "$as_me:$LINENO: result: yes" >&5
33018 echo "${ECHO_T}yes" >&6; }
33019 else
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33022 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33023 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33024 wxUSE_DETECT_SM="no"
33025 fi
33026 else
33027 wxUSE_DETECT_SM="no"
33028 fi
33029 fi
33030
33031
33032
33033 USE_OPENGL=0
33034 if test "$wxUSE_OPENGL" = "yes"; then
33035 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33036 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33037 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33038 wxUSE_OPENGL="no"
33039 elif test "$wxUSE_OSX_CARBON" = 1 -o test "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33040 OPENGL_LIBS="-framework OpenGL -framework AGL"
33041 elif test "$wxUSE_MSW" = 1; then
33042 OPENGL_LIBS="-lopengl32 -lglu32"
33043 else
33044 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33045 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33046
33047 ac_find_includes=
33048 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33049 do
33050 if test -f "$ac_dir/GL/gl.h"; then
33051 ac_find_includes=$ac_dir
33052 break
33053 fi
33054 done
33055
33056 if test "$ac_find_includes" != "" ; then
33057 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33058 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33059
33060 if test "x$ac_find_includes" = "x/usr/include"; then
33061 ac_path_to_include=""
33062 else
33063 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33064 result=$?
33065 if test $result = 0; then
33066 ac_path_to_include=""
33067 else
33068 ac_path_to_include=" -I$ac_find_includes"
33069 fi
33070 fi
33071
33072 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33073 else
33074 { echo "$as_me:$LINENO: result: not found" >&5
33075 echo "${ECHO_T}not found" >&6; }
33076 fi
33077
33078 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33079 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33080 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33081 echo $ECHO_N "(cached) $ECHO_C" >&6
33082 else
33083 cat >conftest.$ac_ext <<_ACEOF
33084 /* confdefs.h. */
33085 _ACEOF
33086 cat confdefs.h >>conftest.$ac_ext
33087 cat >>conftest.$ac_ext <<_ACEOF
33088 /* end confdefs.h. */
33089
33090
33091 #include <GL/gl.h>
33092 _ACEOF
33093 rm -f conftest.$ac_objext
33094 if { (ac_try="$ac_compile"
33095 case "(($ac_try" in
33096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33097 *) ac_try_echo=$ac_try;;
33098 esac
33099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33100 (eval "$ac_compile") 2>conftest.er1
33101 ac_status=$?
33102 grep -v '^ *+' conftest.er1 >conftest.err
33103 rm -f conftest.er1
33104 cat conftest.err >&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); } && {
33107 test -z "$ac_c_werror_flag" ||
33108 test ! -s conftest.err
33109 } && test -s conftest.$ac_objext; then
33110 ac_cv_header_GL_gl_h=yes
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 ac_cv_header_GL_gl_h=no
33116 fi
33117
33118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33119 fi
33120 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33121 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33122 if test $ac_cv_header_GL_gl_h = yes; then
33123
33124 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33125 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33126 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33127 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 else
33129 cat >conftest.$ac_ext <<_ACEOF
33130 /* confdefs.h. */
33131 _ACEOF
33132 cat confdefs.h >>conftest.$ac_ext
33133 cat >>conftest.$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33135
33136
33137 #include <GL/glu.h>
33138 _ACEOF
33139 rm -f conftest.$ac_objext
33140 if { (ac_try="$ac_compile"
33141 case "(($ac_try" in
33142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33143 *) ac_try_echo=$ac_try;;
33144 esac
33145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33146 (eval "$ac_compile") 2>conftest.er1
33147 ac_status=$?
33148 grep -v '^ *+' conftest.er1 >conftest.err
33149 rm -f conftest.er1
33150 cat conftest.err >&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); } && {
33153 test -z "$ac_c_werror_flag" ||
33154 test ! -s conftest.err
33155 } && test -s conftest.$ac_objext; then
33156 ac_cv_header_GL_glu_h=yes
33157 else
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33160
33161 ac_cv_header_GL_glu_h=no
33162 fi
33163
33164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33165 fi
33166 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33167 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33168 if test $ac_cv_header_GL_glu_h = yes; then
33169
33170 found_gl=0
33171
33172 { echo "$as_me:$LINENO: checking for -lGL" >&5
33173 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33174
33175 ac_find_libraries=
33176 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33177 do
33178 for ac_extension in a so sl dylib dll.a; do
33179 if test -f "$ac_dir/libGL.$ac_extension"; then
33180 ac_find_libraries=$ac_dir
33181 break 2
33182 fi
33183 done
33184 done
33185
33186 if test "$ac_find_libraries" != "" ; then
33187 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33188 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33189
33190
33191 if test "$ac_find_libraries" = "default location"; then
33192 ac_path_to_link=""
33193 else
33194 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33195 result=$?
33196 if test $result = 0; then
33197 ac_path_to_link=""
33198 else
33199 ac_path_to_link=" -L$ac_find_libraries"
33200 fi
33201 fi
33202
33203 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33204 LDFLAGS_GL="$ac_path_to_link"
33205 fi
33206
33207 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33208 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33209
33210 ac_find_libraries=
33211 for ac_dir in $SEARCH_LIB;
33212 do
33213 for ac_extension in a so sl dylib dll.a; do
33214 if test -f "$ac_dir/libGLU.$ac_extension"; then
33215 ac_find_libraries=$ac_dir
33216 break 2
33217 fi
33218 done
33219 done
33220
33221 if test "$ac_find_libraries" != "" ; then
33222
33223 if test "$ac_find_libraries" = "default location"; then
33224 ac_path_to_link=""
33225 else
33226 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33227 result=$?
33228 if test $result = 0; then
33229 ac_path_to_link=""
33230 else
33231 ac_path_to_link=" -L$ac_find_libraries"
33232 fi
33233 fi
33234
33235 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33236 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33237 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33238 fi
33239
33240 found_gl=1
33241 OPENGL_LIBS="-lGL -lGLU"
33242 { echo "$as_me:$LINENO: result: yes" >&5
33243 echo "${ECHO_T}yes" >&6; }
33244 else
33245 { echo "$as_me:$LINENO: result: no" >&5
33246 echo "${ECHO_T}no" >&6; }
33247 fi
33248 else
33249 { echo "$as_me:$LINENO: result: no" >&5
33250 echo "${ECHO_T}no" >&6; }
33251 fi
33252
33253 if test "$found_gl" != 1; then
33254 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33255 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33256
33257 ac_find_libraries=
33258 for ac_dir in $SEARCH_LIB;
33259 do
33260 for ac_extension in a so sl dylib dll.a; do
33261 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33262 ac_find_libraries=$ac_dir
33263 break 2
33264 fi
33265 done
33266 done
33267
33268 if test "$ac_find_libraries" != "" ; then
33269
33270 if test "$ac_find_libraries" = "default location"; then
33271 ac_path_to_link=""
33272 else
33273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33274 result=$?
33275 if test $result = 0; then
33276 ac_path_to_link=""
33277 else
33278 ac_path_to_link=" -L$ac_find_libraries"
33279 fi
33280 fi
33281
33282 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33283 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33284 { echo "$as_me:$LINENO: result: yes" >&5
33285 echo "${ECHO_T}yes" >&6; }
33286 else
33287 { echo "$as_me:$LINENO: result: no" >&5
33288 echo "${ECHO_T}no" >&6; }
33289 fi
33290 fi
33291
33292 fi
33293
33294
33295
33296 fi
33297
33298
33299
33300 if test "x$OPENGL_LIBS" = "x"; then
33301 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33302 echo "$as_me: error: OpenGL libraries not available" >&2;}
33303 { (exit 1); exit 1; }; }
33304 fi
33305 fi
33306
33307 if test "$wxUSE_OPENGL" = "yes"; then
33308 USE_OPENGL=1
33309 cat >>confdefs.h <<\_ACEOF
33310 #define wxUSE_OPENGL 1
33311 _ACEOF
33312
33313 cat >>confdefs.h <<\_ACEOF
33314 #define wxUSE_GLCANVAS 1
33315 _ACEOF
33316
33317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33318 fi
33319 fi
33320
33321
33322 if test -n "$TOOLKIT" ; then
33323 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33324 fi
33325
33326
33327
33328 if test "$wxUSE_SHARED" = "yes"; then
33329 case "${host}" in
33330 *-pc-msdosdjgpp )
33331 wxUSE_SHARED=no
33332 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33333 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33334 ;;
33335 esac
33336 fi
33337
33338 if test "$wxUSE_SHARED" = "yes"; then
33339
33340
33341 case "${host}" in
33342 *-*-cygwin* | *-*-mingw* )
33343 wx_cv_version_script=no
33344 ;;
33345
33346 *)
33347 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33348 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33349 if test "${wx_cv_version_script+set}" = set; then
33350 echo $ECHO_N "(cached) $ECHO_C" >&6
33351 else
33352
33353 echo "VER_1 { *; };" >conftest.sym
33354 echo "int main() { return 0; }" >conftest.cpp
33355
33356 if { ac_try='
33357 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33358 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33361 ac_status=$?
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; } ; then
33364 if test -s conftest.stderr ; then
33365 wx_cv_version_script=no
33366 else
33367 wx_cv_version_script=yes
33368 fi
33369 else
33370 wx_cv_version_script=no
33371 fi
33372
33373 if test $wx_cv_version_script = yes
33374 then
33375 echo "struct B { virtual ~B() { } }; \
33376 struct D : public B { }; \
33377 void F() { D d; }" > conftest.cpp
33378
33379 if { ac_try='
33380 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33381 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33383 (eval $ac_try) 2>&5
33384 ac_status=$?
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); }; } &&
33387 { ac_try='
33388 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33389 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33392 ac_status=$?
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; }
33395 then
33396 if { ac_try='
33397 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33398 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33401 ac_status=$?
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }
33404 then
33405 wx_cv_version_script=yes
33406 else
33407 wx_cv_version_script=no
33408 fi
33409 fi
33410 fi
33411
33412 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33413 rm -f conftest1.output conftest2.output conftest3.output
33414
33415 fi
33416 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33417 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33418
33419 if test $wx_cv_version_script = yes ; then
33420 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33421 fi
33422 ;;
33423 esac
33424
33425
33426 if test "$wxUSE_VISIBILITY" != "no"; then
33427
33428
33429 if test -n "$GCC"; then
33430 CFLAGS_VISIBILITY="-fvisibility=hidden"
33431 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33432 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33433 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33434 if test "${wx_cv_cc_visibility+set}" = set; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33436 else
33437
33438 wx_save_CXXFLAGS="$CXXFLAGS"
33439 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33440 ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33445
33446 cat >conftest.$ac_ext <<_ACEOF
33447 /* confdefs.h. */
33448 _ACEOF
33449 cat confdefs.h >>conftest.$ac_ext
33450 cat >>conftest.$ac_ext <<_ACEOF
33451 /* end confdefs.h. */
33452
33453 /* we need gcc >= 4.0, older versions with visibility support
33454 didn't have class visibility: */
33455 #if defined(__GNUC__) && __GNUC__ < 4
33456 error this gcc is too old;
33457 #endif
33458
33459 /* visibility only makes sense for ELF shared libs: */
33460 #if !defined(__ELF__) && !defined(__APPLE__)
33461 error this platform has no visibility;
33462 #endif
33463
33464 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33465 extern __attribute__((__visibility__("default"))) int exportedvar;
33466 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33467 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33468 class __attribute__((__visibility__("default"))) Foo {
33469 Foo() {}
33470 };
33471
33472 int
33473 main ()
33474 {
33475
33476 ;
33477 return 0;
33478 }
33479 _ACEOF
33480 rm -f conftest.$ac_objext
33481 if { (ac_try="$ac_compile"
33482 case "(($ac_try" in
33483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33484 *) ac_try_echo=$ac_try;;
33485 esac
33486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33487 (eval "$ac_compile") 2>conftest.er1
33488 ac_status=$?
33489 grep -v '^ *+' conftest.er1 >conftest.err
33490 rm -f conftest.er1
33491 cat conftest.err >&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); } && {
33494 test -z "$ac_cxx_werror_flag" ||
33495 test ! -s conftest.err
33496 } && test -s conftest.$ac_objext; then
33497 wx_cv_cc_visibility=yes
33498 else
33499 echo "$as_me: failed program was:" >&5
33500 sed 's/^/| /' conftest.$ac_ext >&5
33501
33502 wx_cv_cc_visibility=no
33503 fi
33504
33505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33506 ac_ext=c
33507 ac_cpp='$CPP $CPPFLAGS'
33508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33511
33512 CXXFLAGS="$wx_save_CXXFLAGS"
33513 fi
33514
33515 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33516 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33517 if test $wx_cv_cc_visibility = yes; then
33518 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33519 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33520 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33521 echo $ECHO_N "(cached) $ECHO_C" >&6
33522 else
33523
33524 wx_save_CXXFLAGS="$CXXFLAGS"
33525 wx_save_LDFLAGS="$LDFLAGS"
33526 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33527 LDFLAGS="$LDFLAGS -shared -fPIC"
33528 ac_ext=cpp
33529 ac_cpp='$CXXCPP $CPPFLAGS'
33530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533
33534 cat >conftest.$ac_ext <<_ACEOF
33535 /* confdefs.h. */
33536 _ACEOF
33537 cat confdefs.h >>conftest.$ac_ext
33538 cat >>conftest.$ac_ext <<_ACEOF
33539 /* end confdefs.h. */
33540
33541 #include <string>
33542
33543 int
33544 main ()
33545 {
33546
33547 std::string s("hello");
33548 return s.length();
33549
33550 ;
33551 return 0;
33552 }
33553 _ACEOF
33554 rm -f conftest.$ac_objext conftest$ac_exeext
33555 if { (ac_try="$ac_link"
33556 case "(($ac_try" in
33557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33558 *) ac_try_echo=$ac_try;;
33559 esac
33560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33561 (eval "$ac_link") 2>conftest.er1
33562 ac_status=$?
33563 grep -v '^ *+' conftest.er1 >conftest.err
33564 rm -f conftest.er1
33565 cat conftest.err >&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); } && {
33568 test -z "$ac_cxx_werror_flag" ||
33569 test ! -s conftest.err
33570 } && test -s conftest$ac_exeext &&
33571 $as_test_x conftest$ac_exeext; then
33572 wx_cv_cc_broken_libstdcxx_visibility=no
33573 else
33574 echo "$as_me: failed program was:" >&5
33575 sed 's/^/| /' conftest.$ac_ext >&5
33576
33577 wx_cv_cc_broken_libstdcxx_visibility=yes
33578 fi
33579
33580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33581 conftest$ac_exeext conftest.$ac_ext
33582 ac_ext=c
33583 ac_cpp='$CPP $CPPFLAGS'
33584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33587
33588 CXXFLAGS="$wx_save_CXXFLAGS"
33589 LDFLAGS="$wx_save_LDFLAGS"
33590 fi
33591
33592 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33593 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33594
33595 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33596 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33597 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33598 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33599 echo $ECHO_N "(cached) $ECHO_C" >&6
33600 else
33601
33602 ac_ext=cpp
33603 ac_cpp='$CXXCPP $CPPFLAGS'
33604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33607
33608 cat >conftest.$ac_ext <<_ACEOF
33609 /* confdefs.h. */
33610 _ACEOF
33611 cat confdefs.h >>conftest.$ac_ext
33612 cat >>conftest.$ac_ext <<_ACEOF
33613 /* end confdefs.h. */
33614
33615 #pragma GCC visibility push(default)
33616 #include <string>
33617 #pragma GCC visibility pop
33618
33619 int
33620 main ()
33621 {
33622
33623 std::string s("hello");
33624 return s.length();
33625
33626 ;
33627 return 0;
33628 }
33629 _ACEOF
33630 rm -f conftest.$ac_objext conftest$ac_exeext
33631 if { (ac_try="$ac_link"
33632 case "(($ac_try" in
33633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33634 *) ac_try_echo=$ac_try;;
33635 esac
33636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33637 (eval "$ac_link") 2>conftest.er1
33638 ac_status=$?
33639 grep -v '^ *+' conftest.er1 >conftest.err
33640 rm -f conftest.er1
33641 cat conftest.err >&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); } && {
33644 test -z "$ac_cxx_werror_flag" ||
33645 test ! -s conftest.err
33646 } && test -s conftest$ac_exeext &&
33647 $as_test_x conftest$ac_exeext; then
33648 wx_cv_cc_visibility_workaround=no
33649 else
33650 echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33652
33653 wx_cv_cc_visibility_workaround=yes
33654 fi
33655
33656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33657 conftest$ac_exeext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33663
33664
33665 fi
33666
33667 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33668 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33669
33670 if test $wx_cv_cc_visibility_workaround = no; then
33671 wx_cv_cc_visibility=no
33672 fi
33673 fi
33674 fi
33675
33676 if test $wx_cv_cc_visibility = yes; then
33677 cat >>confdefs.h <<\_ACEOF
33678 #define HAVE_VISIBILITY 1
33679 _ACEOF
33680
33681 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33682 cat >>confdefs.h <<\_ACEOF
33683 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33684 _ACEOF
33685
33686 fi
33687 else
33688 CFLAGS_VISIBILITY=""
33689 CXXFLAGS_VISIBILITY=""
33690 fi
33691
33692
33693 fi
33694
33695 fi
33696
33697 if test "x$SUNCXX" = xyes; then
33698 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33699 WXCONFIG_RPATH="-R\$libdir"
33700 else
33701 case "${host}" in
33702 *-*-linux* | *-*-gnu* )
33703 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33704 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33705 ;;
33706
33707 *-*-solaris2* )
33708
33709 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33710
33711 saveLdflags="$LDFLAGS"
33712 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33713 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33714 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33715 cat >conftest.$ac_ext <<_ACEOF
33716 /* confdefs.h. */
33717 _ACEOF
33718 cat confdefs.h >>conftest.$ac_ext
33719 cat >>conftest.$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33721
33722 int
33723 main ()
33724 {
33725
33726 ;
33727 return 0;
33728 }
33729 _ACEOF
33730 rm -f conftest.$ac_objext conftest$ac_exeext
33731 if { (ac_try="$ac_link"
33732 case "(($ac_try" in
33733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33734 *) ac_try_echo=$ac_try;;
33735 esac
33736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33737 (eval "$ac_link") 2>conftest.er1
33738 ac_status=$?
33739 grep -v '^ *+' conftest.er1 >conftest.err
33740 rm -f conftest.er1
33741 cat conftest.err >&5
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); } && {
33744 test -z "$ac_c_werror_flag" ||
33745 test ! -s conftest.err
33746 } && test -s conftest$ac_exeext &&
33747 $as_test_x conftest$ac_exeext; then
33748
33749 { echo "$as_me:$LINENO: result: yes" >&5
33750 echo "${ECHO_T}yes" >&6; }
33751 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33752 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33753
33754 else
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.$ac_ext >&5
33757
33758
33759 { echo "$as_me:$LINENO: result: no" >&5
33760 echo "${ECHO_T}no" >&6; }
33761 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33762 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33763 LDFLAGS="$saveLdflags -Wl,-R,/"
33764 cat >conftest.$ac_ext <<_ACEOF
33765 /* confdefs.h. */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770
33771 int
33772 main ()
33773 {
33774
33775 ;
33776 return 0;
33777 }
33778 _ACEOF
33779 rm -f conftest.$ac_objext conftest$ac_exeext
33780 if { (ac_try="$ac_link"
33781 case "(($ac_try" in
33782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33783 *) ac_try_echo=$ac_try;;
33784 esac
33785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33786 (eval "$ac_link") 2>conftest.er1
33787 ac_status=$?
33788 grep -v '^ *+' conftest.er1 >conftest.err
33789 rm -f conftest.er1
33790 cat conftest.err >&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); } && {
33793 test -z "$ac_c_werror_flag" ||
33794 test ! -s conftest.err
33795 } && test -s conftest$ac_exeext &&
33796 $as_test_x conftest$ac_exeext; then
33797
33798 { echo "$as_me:$LINENO: result: yes" >&5
33799 echo "${ECHO_T}yes" >&6; }
33800 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33801 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33802
33803 else
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33806
33807
33808 { echo "$as_me:$LINENO: result: no" >&5
33809 echo "${ECHO_T}no" >&6; }
33810
33811 fi
33812
33813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33814 conftest$ac_exeext conftest.$ac_ext
33815
33816 fi
33817
33818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33819 conftest$ac_exeext conftest.$ac_ext
33820 LDFLAGS="$saveLdflags"
33821 ;;
33822
33823 *-*-darwin* )
33824 install_name_tool=`which install_name_tool`
33825 if test "$install_name_tool" -a -x "$install_name_tool"; then
33826 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33827 cat <<EOF >change-install-names
33828 #!/bin/sh
33829 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33830 inst_cmd="install_name_tool "
33831 for i in \${libnames} ; do
33832 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33833 done
33834 \${inst_cmd} \${3}
33835 EOF
33836 chmod +x change-install-names
33837 fi
33838 ;;
33839
33840 *-*-cygwin* | *-*-mingw32* )
33841 ;;
33842
33843 *-*-hpux* )
33844 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33845 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33846 ;;
33847
33848 esac
33849 fi
33850
33851 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33852
33853 if test $wxUSE_RPATH = "no"; then
33854 SAMPLES_RPATH_FLAG=''
33855 SAMPLES_RPATH_POSTLINK=''
33856 WXCONFIG_RPATH=''
33857 fi
33858
33859 SHARED=1
33860
33861 else
33862
33863 config_linkage_component="-static"
33864 SHARED=0
33865
33866 fi
33867
33868
33869 UNICODE=0
33870 lib_unicode_suffix=
33871 WX_CHARTYPE="ansi"
33872 if test "$wxUSE_UNICODE" = "yes"; then
33873 lib_unicode_suffix=u
33874 WX_CHARTYPE="unicode"
33875 UNICODE=1
33876 fi
33877
33878 lib_debug_suffix=
33879 WX_DEBUGTYPE="release"
33880 DEBUG_FLAG=0
33881 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33882 lib_debug_suffix=d
33883 WX_DEBUGTYPE="debug"
33884 DEBUG_FLAG=1
33885 fi
33886
33887 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33888 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33889
33890 DEBUG_INFO=0
33891 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33892 DEBUG_INFO=1
33893 fi
33894
33895 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33896
33897 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33898
33899 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33900
33901 if test "$cross_compiling" = "yes"; then
33902 HOST_SUFFIX="-$host_alias"
33903 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33904 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33905 fi
33906
33907 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33908 if test "${TOOLKIT_DIR}" = "os2"; then
33909 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33910 else
33911 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33912 fi
33913
33914
33915
33916 if test "$wxUSE_COCOA" = 1; then
33917
33918 ac_ext=c
33919 ac_cpp='$CPP $CPPFLAGS'
33920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33923
33924 ac_ext=m
33925
33926 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33927 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33928 cat >conftest.$ac_ext <<_ACEOF
33929 /* confdefs.h. */
33930 _ACEOF
33931 cat confdefs.h >>conftest.$ac_ext
33932 cat >>conftest.$ac_ext <<_ACEOF
33933 /* end confdefs.h. */
33934 #include <AppKit/NSEvent.h>
33935 #include <CoreFoundation/CoreFoundation.h>
33936
33937 int
33938 main ()
33939 {
33940
33941 ;
33942 return 0;
33943 }
33944 _ACEOF
33945 rm -f conftest.$ac_objext
33946 if { (ac_try="$ac_compile"
33947 case "(($ac_try" in
33948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33949 *) ac_try_echo=$ac_try;;
33950 esac
33951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33952 (eval "$ac_compile") 2>conftest.er1
33953 ac_status=$?
33954 grep -v '^ *+' conftest.er1 >conftest.err
33955 rm -f conftest.er1
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } && {
33959 test -z "$ac_c_werror_flag" ||
33960 test ! -s conftest.err
33961 } && test -s conftest.$ac_objext; then
33962 { echo "$as_me:$LINENO: result: no" >&5
33963 echo "${ECHO_T}no" >&6; }
33964 else
33965 echo "$as_me: failed program was:" >&5
33966 sed 's/^/| /' conftest.$ac_ext >&5
33967
33968 { echo "$as_me:$LINENO: result: yes" >&5
33969 echo "${ECHO_T}yes" >&6; }
33970 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33971 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33972 cat >conftest.$ac_ext <<_ACEOF
33973 /* confdefs.h. */
33974 _ACEOF
33975 cat confdefs.h >>conftest.$ac_ext
33976 cat >>conftest.$ac_ext <<_ACEOF
33977 /* end confdefs.h. */
33978 #define __Point__ 1
33979 #include <AppKit/NSEvent.h>
33980 #include <CoreFoundation/CoreFoundation.h>
33981
33982 int
33983 main ()
33984 {
33985
33986 ;
33987 return 0;
33988 }
33989 _ACEOF
33990 rm -f conftest.$ac_objext
33991 if { (ac_try="$ac_compile"
33992 case "(($ac_try" in
33993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33994 *) ac_try_echo=$ac_try;;
33995 esac
33996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33997 (eval "$ac_compile") 2>conftest.er1
33998 ac_status=$?
33999 grep -v '^ *+' conftest.er1 >conftest.err
34000 rm -f conftest.er1
34001 cat conftest.err >&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); } && {
34004 test -z "$ac_c_werror_flag" ||
34005 test ! -s conftest.err
34006 } && test -s conftest.$ac_objext; then
34007 { echo "$as_me:$LINENO: result: yes" >&5
34008 echo "${ECHO_T}yes" >&6; }
34009 cat >>confdefs.h <<\_ACEOF
34010 #define __Point__ 1
34011 _ACEOF
34012
34013
34014 else
34015 echo "$as_me: failed program was:" >&5
34016 sed 's/^/| /' conftest.$ac_ext >&5
34017
34018 { { echo "$as_me:$LINENO: error: no
34019 See \`config.log' for more details." >&5
34020 echo "$as_me: error: no
34021 See \`config.log' for more details." >&2;}
34022 { (exit 1); exit 1; }; }
34023
34024 fi
34025
34026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34027
34028 fi
34029
34030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 ac_ext=c
34032 ac_cpp='$CPP $CPPFLAGS'
34033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34036
34037 fi
34038
34039
34040 { echo "$as_me:$LINENO: checking for mode_t" >&5
34041 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34042 if test "${ac_cv_type_mode_t+set}" = set; then
34043 echo $ECHO_N "(cached) $ECHO_C" >&6
34044 else
34045 cat >conftest.$ac_ext <<_ACEOF
34046 /* confdefs.h. */
34047 _ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051 $ac_includes_default
34052 typedef mode_t ac__type_new_;
34053 int
34054 main ()
34055 {
34056 if ((ac__type_new_ *) 0)
34057 return 0;
34058 if (sizeof (ac__type_new_))
34059 return 0;
34060 ;
34061 return 0;
34062 }
34063 _ACEOF
34064 rm -f conftest.$ac_objext
34065 if { (ac_try="$ac_compile"
34066 case "(($ac_try" in
34067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34068 *) ac_try_echo=$ac_try;;
34069 esac
34070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34071 (eval "$ac_compile") 2>conftest.er1
34072 ac_status=$?
34073 grep -v '^ *+' conftest.er1 >conftest.err
34074 rm -f conftest.er1
34075 cat conftest.err >&5
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); } && {
34078 test -z "$ac_c_werror_flag" ||
34079 test ! -s conftest.err
34080 } && test -s conftest.$ac_objext; then
34081 ac_cv_type_mode_t=yes
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 ac_cv_type_mode_t=no
34087 fi
34088
34089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090 fi
34091 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34092 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34093 if test $ac_cv_type_mode_t = yes; then
34094 :
34095 else
34096
34097 cat >>confdefs.h <<_ACEOF
34098 #define mode_t int
34099 _ACEOF
34100
34101 fi
34102
34103 { echo "$as_me:$LINENO: checking for off_t" >&5
34104 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34105 if test "${ac_cv_type_off_t+set}" = set; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108 cat >conftest.$ac_ext <<_ACEOF
34109 /* confdefs.h. */
34110 _ACEOF
34111 cat confdefs.h >>conftest.$ac_ext
34112 cat >>conftest.$ac_ext <<_ACEOF
34113 /* end confdefs.h. */
34114 $ac_includes_default
34115 typedef off_t ac__type_new_;
34116 int
34117 main ()
34118 {
34119 if ((ac__type_new_ *) 0)
34120 return 0;
34121 if (sizeof (ac__type_new_))
34122 return 0;
34123 ;
34124 return 0;
34125 }
34126 _ACEOF
34127 rm -f conftest.$ac_objext
34128 if { (ac_try="$ac_compile"
34129 case "(($ac_try" in
34130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34131 *) ac_try_echo=$ac_try;;
34132 esac
34133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34134 (eval "$ac_compile") 2>conftest.er1
34135 ac_status=$?
34136 grep -v '^ *+' conftest.er1 >conftest.err
34137 rm -f conftest.er1
34138 cat conftest.err >&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); } && {
34141 test -z "$ac_c_werror_flag" ||
34142 test ! -s conftest.err
34143 } && test -s conftest.$ac_objext; then
34144 ac_cv_type_off_t=yes
34145 else
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34148
34149 ac_cv_type_off_t=no
34150 fi
34151
34152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34153 fi
34154 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34155 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34156 if test $ac_cv_type_off_t = yes; then
34157 :
34158 else
34159
34160 cat >>confdefs.h <<_ACEOF
34161 #define off_t long int
34162 _ACEOF
34163
34164 fi
34165
34166 { echo "$as_me:$LINENO: checking for pid_t" >&5
34167 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34168 if test "${ac_cv_type_pid_t+set}" = set; then
34169 echo $ECHO_N "(cached) $ECHO_C" >&6
34170 else
34171 cat >conftest.$ac_ext <<_ACEOF
34172 /* confdefs.h. */
34173 _ACEOF
34174 cat confdefs.h >>conftest.$ac_ext
34175 cat >>conftest.$ac_ext <<_ACEOF
34176 /* end confdefs.h. */
34177 $ac_includes_default
34178 typedef pid_t ac__type_new_;
34179 int
34180 main ()
34181 {
34182 if ((ac__type_new_ *) 0)
34183 return 0;
34184 if (sizeof (ac__type_new_))
34185 return 0;
34186 ;
34187 return 0;
34188 }
34189 _ACEOF
34190 rm -f conftest.$ac_objext
34191 if { (ac_try="$ac_compile"
34192 case "(($ac_try" in
34193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34194 *) ac_try_echo=$ac_try;;
34195 esac
34196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34197 (eval "$ac_compile") 2>conftest.er1
34198 ac_status=$?
34199 grep -v '^ *+' conftest.er1 >conftest.err
34200 rm -f conftest.er1
34201 cat conftest.err >&5
34202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203 (exit $ac_status); } && {
34204 test -z "$ac_c_werror_flag" ||
34205 test ! -s conftest.err
34206 } && test -s conftest.$ac_objext; then
34207 ac_cv_type_pid_t=yes
34208 else
34209 echo "$as_me: failed program was:" >&5
34210 sed 's/^/| /' conftest.$ac_ext >&5
34211
34212 ac_cv_type_pid_t=no
34213 fi
34214
34215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34216 fi
34217 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34218 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34219 if test $ac_cv_type_pid_t = yes; then
34220 :
34221 else
34222
34223 cat >>confdefs.h <<_ACEOF
34224 #define pid_t int
34225 _ACEOF
34226
34227 fi
34228
34229 { echo "$as_me:$LINENO: checking for size_t" >&5
34230 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34231 if test "${ac_cv_type_size_t+set}" = set; then
34232 echo $ECHO_N "(cached) $ECHO_C" >&6
34233 else
34234 cat >conftest.$ac_ext <<_ACEOF
34235 /* confdefs.h. */
34236 _ACEOF
34237 cat confdefs.h >>conftest.$ac_ext
34238 cat >>conftest.$ac_ext <<_ACEOF
34239 /* end confdefs.h. */
34240 $ac_includes_default
34241 typedef size_t ac__type_new_;
34242 int
34243 main ()
34244 {
34245 if ((ac__type_new_ *) 0)
34246 return 0;
34247 if (sizeof (ac__type_new_))
34248 return 0;
34249 ;
34250 return 0;
34251 }
34252 _ACEOF
34253 rm -f conftest.$ac_objext
34254 if { (ac_try="$ac_compile"
34255 case "(($ac_try" in
34256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34257 *) ac_try_echo=$ac_try;;
34258 esac
34259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34260 (eval "$ac_compile") 2>conftest.er1
34261 ac_status=$?
34262 grep -v '^ *+' conftest.er1 >conftest.err
34263 rm -f conftest.er1
34264 cat conftest.err >&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } && {
34267 test -z "$ac_c_werror_flag" ||
34268 test ! -s conftest.err
34269 } && test -s conftest.$ac_objext; then
34270 ac_cv_type_size_t=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 ac_cv_type_size_t=no
34276 fi
34277
34278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34279 fi
34280 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34281 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34282 if test $ac_cv_type_size_t = yes; then
34283 :
34284 else
34285
34286 cat >>confdefs.h <<_ACEOF
34287 #define size_t unsigned int
34288 _ACEOF
34289
34290 fi
34291
34292
34293 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34294 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34295 if test "${ac_cv_type_ssize_t+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304 $ac_includes_default
34305 typedef ssize_t ac__type_new_;
34306 int
34307 main ()
34308 {
34309 if ((ac__type_new_ *) 0)
34310 return 0;
34311 if (sizeof (ac__type_new_))
34312 return 0;
34313 ;
34314 return 0;
34315 }
34316 _ACEOF
34317 rm -f conftest.$ac_objext
34318 if { (ac_try="$ac_compile"
34319 case "(($ac_try" in
34320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34321 *) ac_try_echo=$ac_try;;
34322 esac
34323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34324 (eval "$ac_compile") 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } && {
34331 test -z "$ac_c_werror_flag" ||
34332 test ! -s conftest.err
34333 } && test -s conftest.$ac_objext; then
34334 ac_cv_type_ssize_t=yes
34335 else
34336 echo "$as_me: failed program was:" >&5
34337 sed 's/^/| /' conftest.$ac_ext >&5
34338
34339 ac_cv_type_ssize_t=no
34340 fi
34341
34342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34343 fi
34344 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34345 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34346 if test $ac_cv_type_ssize_t = yes; then
34347
34348 cat >>confdefs.h <<_ACEOF
34349 #define HAVE_SSIZE_T 1
34350 _ACEOF
34351
34352
34353 fi
34354
34355
34356 ac_ext=cpp
34357 ac_cpp='$CXXCPP $CPPFLAGS'
34358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34361 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34362 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34363 if test "${wx_cv_size_t_is_uint+set}" = set; then
34364 echo $ECHO_N "(cached) $ECHO_C" >&6
34365 else
34366
34367 cat >conftest.$ac_ext <<_ACEOF
34368 /* confdefs.h. */
34369 _ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 #include <stddef.h>
34374 int
34375 main ()
34376 {
34377
34378 return 0; }
34379
34380 struct Foo { void foo(size_t); void foo(unsigned int); };
34381
34382 int bar() {
34383
34384 ;
34385 return 0;
34386 }
34387 _ACEOF
34388 rm -f conftest.$ac_objext
34389 if { (ac_try="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34392 *) ac_try_echo=$ac_try;;
34393 esac
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34396 ac_status=$?
34397 grep -v '^ *+' conftest.er1 >conftest.err
34398 rm -f conftest.er1
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_cxx_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.$ac_objext; then
34405 wx_cv_size_t_is_uint=no
34406 else
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.$ac_ext >&5
34409
34410 wx_cv_size_t_is_uint=yes
34411
34412 fi
34413
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415
34416
34417 fi
34418 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34419 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34420
34421 if test "$wx_cv_size_t_is_uint" = "yes"; then
34422 cat >>confdefs.h <<\_ACEOF
34423 #define wxSIZE_T_IS_UINT 1
34424 _ACEOF
34425
34426 else
34427 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34428 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34429 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 else
34432 cat >conftest.$ac_ext <<_ACEOF
34433 /* confdefs.h. */
34434 _ACEOF
34435 cat confdefs.h >>conftest.$ac_ext
34436 cat >>conftest.$ac_ext <<_ACEOF
34437 /* end confdefs.h. */
34438 #include <stddef.h>
34439 int
34440 main ()
34441 {
34442
34443 return 0; }
34444
34445 struct Foo { void foo(size_t); void foo(unsigned long); };
34446
34447 int bar() {
34448
34449 ;
34450 return 0;
34451 }
34452 _ACEOF
34453 rm -f conftest.$ac_objext
34454 if { (ac_try="$ac_compile"
34455 case "(($ac_try" in
34456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34457 *) ac_try_echo=$ac_try;;
34458 esac
34459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34460 (eval "$ac_compile") 2>conftest.er1
34461 ac_status=$?
34462 grep -v '^ *+' conftest.er1 >conftest.err
34463 rm -f conftest.er1
34464 cat conftest.err >&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); } && {
34467 test -z "$ac_cxx_werror_flag" ||
34468 test ! -s conftest.err
34469 } && test -s conftest.$ac_objext; then
34470 wx_cv_size_t_is_ulong=no
34471 else
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.$ac_ext >&5
34474
34475 wx_cv_size_t_is_ulong=yes
34476
34477 fi
34478
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480
34481 fi
34482 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34483 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34484
34485 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34486 cat >>confdefs.h <<\_ACEOF
34487 #define wxSIZE_T_IS_ULONG 1
34488 _ACEOF
34489
34490 fi
34491 fi
34492
34493 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34494 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34495 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 else
34498 cat >conftest.$ac_ext <<_ACEOF
34499 /* confdefs.h. */
34500 _ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504 #include <wchar.h>
34505 int
34506 main ()
34507 {
34508
34509 return 0; }
34510
34511 struct Foo { void foo(wchar_t);
34512 void foo(unsigned short);
34513 void foo(unsigned int);
34514 void foo(unsigned long); };
34515
34516 int bar() {
34517
34518 ;
34519 return 0;
34520 }
34521 _ACEOF
34522 rm -f conftest.$ac_objext
34523 if { (ac_try="$ac_compile"
34524 case "(($ac_try" in
34525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34526 *) ac_try_echo=$ac_try;;
34527 esac
34528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34529 (eval "$ac_compile") 2>conftest.er1
34530 ac_status=$?
34531 grep -v '^ *+' conftest.er1 >conftest.err
34532 rm -f conftest.er1
34533 cat conftest.err >&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); } && {
34536 test -z "$ac_cxx_werror_flag" ||
34537 test ! -s conftest.err
34538 } && test -s conftest.$ac_objext; then
34539 wx_cv_wchar_t_is_separate_type=yes
34540 else
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544 wx_cv_wchar_t_is_separate_type=no
34545
34546 fi
34547
34548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549
34550 fi
34551 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34552 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34553
34554 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34555 cat >>confdefs.h <<\_ACEOF
34556 #define wxWCHAR_T_IS_REAL_TYPE 1
34557 _ACEOF
34558
34559 else
34560 cat >>confdefs.h <<\_ACEOF
34561 #define wxWCHAR_T_IS_REAL_TYPE 0
34562 _ACEOF
34563
34564 fi
34565
34566 ac_ext=c
34567 ac_cpp='$CPP $CPPFLAGS'
34568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34571
34572
34573 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34574 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34575 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 else
34578
34579 cat >conftest.$ac_ext <<_ACEOF
34580 /* confdefs.h. */
34581 _ACEOF
34582 cat confdefs.h >>conftest.$ac_ext
34583 cat >>conftest.$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34585 #include <pwd.h>
34586 int
34587 main ()
34588 {
34589
34590 char *p;
34591 struct passwd *pw;
34592 p = pw->pw_gecos;
34593
34594 ;
34595 return 0;
34596 }
34597 _ACEOF
34598 rm -f conftest.$ac_objext
34599 if { (ac_try="$ac_compile"
34600 case "(($ac_try" in
34601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34602 *) ac_try_echo=$ac_try;;
34603 esac
34604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34605 (eval "$ac_compile") 2>conftest.er1
34606 ac_status=$?
34607 grep -v '^ *+' conftest.er1 >conftest.err
34608 rm -f conftest.er1
34609 cat conftest.err >&5
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); } && {
34612 test -z "$ac_c_werror_flag" ||
34613 test ! -s conftest.err
34614 } && test -s conftest.$ac_objext; then
34615
34616 wx_cv_struct_pw_gecos=yes
34617
34618 else
34619 echo "$as_me: failed program was:" >&5
34620 sed 's/^/| /' conftest.$ac_ext >&5
34621
34622
34623 wx_cv_struct_pw_gecos=no
34624
34625
34626 fi
34627
34628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34629
34630
34631 fi
34632 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34633 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34634
34635 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34636 cat >>confdefs.h <<\_ACEOF
34637 #define HAVE_PW_GECOS 1
34638 _ACEOF
34639
34640 fi
34641
34642
34643 if test "$wxUSE_WCHAR_T" = "yes"; then
34644 cat >>confdefs.h <<\_ACEOF
34645 #define wxUSE_WCHAR_T 1
34646 _ACEOF
34647
34648
34649 WCSLEN_FOUND=0
34650 WCHAR_LINK=
34651
34652 for ac_func in wcslen
34653 do
34654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 else
34660 cat >conftest.$ac_ext <<_ACEOF
34661 /* confdefs.h. */
34662 _ACEOF
34663 cat confdefs.h >>conftest.$ac_ext
34664 cat >>conftest.$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34668 #define $ac_func innocuous_$ac_func
34669
34670 /* System header to define __stub macros and hopefully few prototypes,
34671 which can conflict with char $ac_func (); below.
34672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34673 <limits.h> exists even on freestanding compilers. */
34674
34675 #ifdef __STDC__
34676 # include <limits.h>
34677 #else
34678 # include <assert.h>
34679 #endif
34680
34681 #undef $ac_func
34682
34683 /* Override any GCC internal prototype to avoid an error.
34684 Use char because int might match the return type of a GCC
34685 builtin and then its argument prototype would still apply. */
34686 #ifdef __cplusplus
34687 extern "C"
34688 #endif
34689 char $ac_func ();
34690 /* The GNU C library defines this for functions which it implements
34691 to always fail with ENOSYS. Some functions are actually named
34692 something starting with __ and the normal name is an alias. */
34693 #if defined __stub_$ac_func || defined __stub___$ac_func
34694 choke me
34695 #endif
34696
34697 int
34698 main ()
34699 {
34700 return $ac_func ();
34701 ;
34702 return 0;
34703 }
34704 _ACEOF
34705 rm -f conftest.$ac_objext conftest$ac_exeext
34706 if { (ac_try="$ac_link"
34707 case "(($ac_try" in
34708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34709 *) ac_try_echo=$ac_try;;
34710 esac
34711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34712 (eval "$ac_link") 2>conftest.er1
34713 ac_status=$?
34714 grep -v '^ *+' conftest.er1 >conftest.err
34715 rm -f conftest.er1
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } && {
34719 test -z "$ac_c_werror_flag" ||
34720 test ! -s conftest.err
34721 } && test -s conftest$ac_exeext &&
34722 $as_test_x conftest$ac_exeext; then
34723 eval "$as_ac_var=yes"
34724 else
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34727
34728 eval "$as_ac_var=no"
34729 fi
34730
34731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34732 conftest$ac_exeext conftest.$ac_ext
34733 fi
34734 ac_res=`eval echo '${'$as_ac_var'}'`
34735 { echo "$as_me:$LINENO: result: $ac_res" >&5
34736 echo "${ECHO_T}$ac_res" >&6; }
34737 if test `eval echo '${'$as_ac_var'}'` = yes; then
34738 cat >>confdefs.h <<_ACEOF
34739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34740 _ACEOF
34741 WCSLEN_FOUND=1
34742 fi
34743 done
34744
34745
34746 if test "$WCSLEN_FOUND" = 0; then
34747 if test "$TOOLKIT" = "MSW"; then
34748 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34749 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34750 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34751 echo $ECHO_N "(cached) $ECHO_C" >&6
34752 else
34753 ac_check_lib_save_LIBS=$LIBS
34754 LIBS="-lmsvcrt $LIBS"
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h. */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h. */
34761
34762 /* Override any GCC internal prototype to avoid an error.
34763 Use char because int might match the return type of a GCC
34764 builtin and then its argument prototype would still apply. */
34765 #ifdef __cplusplus
34766 extern "C"
34767 #endif
34768 char wcslen ();
34769 int
34770 main ()
34771 {
34772 return wcslen ();
34773 ;
34774 return 0;
34775 }
34776 _ACEOF
34777 rm -f conftest.$ac_objext conftest$ac_exeext
34778 if { (ac_try="$ac_link"
34779 case "(($ac_try" in
34780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34781 *) ac_try_echo=$ac_try;;
34782 esac
34783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34784 (eval "$ac_link") 2>conftest.er1
34785 ac_status=$?
34786 grep -v '^ *+' conftest.er1 >conftest.err
34787 rm -f conftest.er1
34788 cat conftest.err >&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } && {
34791 test -z "$ac_c_werror_flag" ||
34792 test ! -s conftest.err
34793 } && test -s conftest$ac_exeext &&
34794 $as_test_x conftest$ac_exeext; then
34795 ac_cv_lib_msvcrt_wcslen=yes
34796 else
34797 echo "$as_me: failed program was:" >&5
34798 sed 's/^/| /' conftest.$ac_ext >&5
34799
34800 ac_cv_lib_msvcrt_wcslen=no
34801 fi
34802
34803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34804 conftest$ac_exeext conftest.$ac_ext
34805 LIBS=$ac_check_lib_save_LIBS
34806 fi
34807 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34808 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34809 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34810 WCHAR_OK=1
34811 fi
34812
34813 else
34814 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34815 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34816 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819 ac_check_lib_save_LIBS=$LIBS
34820 LIBS="-lw $LIBS"
34821 cat >conftest.$ac_ext <<_ACEOF
34822 /* confdefs.h. */
34823 _ACEOF
34824 cat confdefs.h >>conftest.$ac_ext
34825 cat >>conftest.$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34827
34828 /* Override any GCC internal prototype to avoid an error.
34829 Use char because int might match the return type of a GCC
34830 builtin and then its argument prototype would still apply. */
34831 #ifdef __cplusplus
34832 extern "C"
34833 #endif
34834 char wcslen ();
34835 int
34836 main ()
34837 {
34838 return wcslen ();
34839 ;
34840 return 0;
34841 }
34842 _ACEOF
34843 rm -f conftest.$ac_objext conftest$ac_exeext
34844 if { (ac_try="$ac_link"
34845 case "(($ac_try" in
34846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34847 *) ac_try_echo=$ac_try;;
34848 esac
34849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34850 (eval "$ac_link") 2>conftest.er1
34851 ac_status=$?
34852 grep -v '^ *+' conftest.er1 >conftest.err
34853 rm -f conftest.er1
34854 cat conftest.err >&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } && {
34857 test -z "$ac_c_werror_flag" ||
34858 test ! -s conftest.err
34859 } && test -s conftest$ac_exeext &&
34860 $as_test_x conftest$ac_exeext; then
34861 ac_cv_lib_w_wcslen=yes
34862 else
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.$ac_ext >&5
34865
34866 ac_cv_lib_w_wcslen=no
34867 fi
34868
34869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34870 conftest$ac_exeext conftest.$ac_ext
34871 LIBS=$ac_check_lib_save_LIBS
34872 fi
34873 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34874 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34875 if test $ac_cv_lib_w_wcslen = yes; then
34876
34877 WCHAR_LINK=" -lw"
34878 WCSLEN_FOUND=1
34879
34880 fi
34881
34882 fi
34883 fi
34884
34885 if test "$WCSLEN_FOUND" = 1; then
34886 cat >>confdefs.h <<\_ACEOF
34887 #define HAVE_WCSLEN 1
34888 _ACEOF
34889
34890 fi
34891
34892
34893 for ac_func in wcsdup
34894 do
34895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901 cat >conftest.$ac_ext <<_ACEOF
34902 /* confdefs.h. */
34903 _ACEOF
34904 cat confdefs.h >>conftest.$ac_ext
34905 cat >>conftest.$ac_ext <<_ACEOF
34906 /* end confdefs.h. */
34907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34909 #define $ac_func innocuous_$ac_func
34910
34911 /* System header to define __stub macros and hopefully few prototypes,
34912 which can conflict with char $ac_func (); below.
34913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34914 <limits.h> exists even on freestanding compilers. */
34915
34916 #ifdef __STDC__
34917 # include <limits.h>
34918 #else
34919 # include <assert.h>
34920 #endif
34921
34922 #undef $ac_func
34923
34924 /* Override any GCC internal prototype to avoid an error.
34925 Use char because int might match the return type of a GCC
34926 builtin and then its argument prototype would still apply. */
34927 #ifdef __cplusplus
34928 extern "C"
34929 #endif
34930 char $ac_func ();
34931 /* The GNU C library defines this for functions which it implements
34932 to always fail with ENOSYS. Some functions are actually named
34933 something starting with __ and the normal name is an alias. */
34934 #if defined __stub_$ac_func || defined __stub___$ac_func
34935 choke me
34936 #endif
34937
34938 int
34939 main ()
34940 {
34941 return $ac_func ();
34942 ;
34943 return 0;
34944 }
34945 _ACEOF
34946 rm -f conftest.$ac_objext conftest$ac_exeext
34947 if { (ac_try="$ac_link"
34948 case "(($ac_try" in
34949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34950 *) ac_try_echo=$ac_try;;
34951 esac
34952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34953 (eval "$ac_link") 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } && {
34960 test -z "$ac_c_werror_flag" ||
34961 test ! -s conftest.err
34962 } && test -s conftest$ac_exeext &&
34963 $as_test_x conftest$ac_exeext; then
34964 eval "$as_ac_var=yes"
34965 else
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.$ac_ext >&5
34968
34969 eval "$as_ac_var=no"
34970 fi
34971
34972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34973 conftest$ac_exeext conftest.$ac_ext
34974 fi
34975 ac_res=`eval echo '${'$as_ac_var'}'`
34976 { echo "$as_me:$LINENO: result: $ac_res" >&5
34977 echo "${ECHO_T}$ac_res" >&6; }
34978 if test `eval echo '${'$as_ac_var'}'` = yes; then
34979 cat >>confdefs.h <<_ACEOF
34980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34981 _ACEOF
34982
34983 fi
34984 done
34985
34986
34987 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34988 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34989 fi
34990
34991 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34992 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34993 if test "${ac_cv_type_mbstate_t+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 else
34996 cat >conftest.$ac_ext <<_ACEOF
34997 /* confdefs.h. */
34998 _ACEOF
34999 cat confdefs.h >>conftest.$ac_ext
35000 cat >>conftest.$ac_ext <<_ACEOF
35001 /* end confdefs.h. */
35002 #include <wchar.h>
35003
35004 typedef mbstate_t ac__type_new_;
35005 int
35006 main ()
35007 {
35008 if ((ac__type_new_ *) 0)
35009 return 0;
35010 if (sizeof (ac__type_new_))
35011 return 0;
35012 ;
35013 return 0;
35014 }
35015 _ACEOF
35016 rm -f conftest.$ac_objext
35017 if { (ac_try="$ac_compile"
35018 case "(($ac_try" in
35019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35020 *) ac_try_echo=$ac_try;;
35021 esac
35022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35023 (eval "$ac_compile") 2>conftest.er1
35024 ac_status=$?
35025 grep -v '^ *+' conftest.er1 >conftest.err
35026 rm -f conftest.er1
35027 cat conftest.err >&5
35028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35029 (exit $ac_status); } && {
35030 test -z "$ac_c_werror_flag" ||
35031 test ! -s conftest.err
35032 } && test -s conftest.$ac_objext; then
35033 ac_cv_type_mbstate_t=yes
35034 else
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35037
35038 ac_cv_type_mbstate_t=no
35039 fi
35040
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35042 fi
35043 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35044 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35045 if test $ac_cv_type_mbstate_t = yes; then
35046
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE_MBSTATE_T 1
35049 _ACEOF
35050
35051
35052 for ac_func in wcsrtombs
35053 do
35054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 else
35060 cat >conftest.$ac_ext <<_ACEOF
35061 /* confdefs.h. */
35062 _ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35068 #define $ac_func innocuous_$ac_func
35069
35070 /* System header to define __stub macros and hopefully few prototypes,
35071 which can conflict with char $ac_func (); below.
35072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35073 <limits.h> exists even on freestanding compilers. */
35074
35075 #ifdef __STDC__
35076 # include <limits.h>
35077 #else
35078 # include <assert.h>
35079 #endif
35080
35081 #undef $ac_func
35082
35083 /* Override any GCC internal prototype to avoid an error.
35084 Use char because int might match the return type of a GCC
35085 builtin and then its argument prototype would still apply. */
35086 #ifdef __cplusplus
35087 extern "C"
35088 #endif
35089 char $ac_func ();
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined __stub_$ac_func || defined __stub___$ac_func
35094 choke me
35095 #endif
35096
35097 int
35098 main ()
35099 {
35100 return $ac_func ();
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 rm -f conftest.$ac_objext conftest$ac_exeext
35106 if { (ac_try="$ac_link"
35107 case "(($ac_try" in
35108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35109 *) ac_try_echo=$ac_try;;
35110 esac
35111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35112 (eval "$ac_link") 2>conftest.er1
35113 ac_status=$?
35114 grep -v '^ *+' conftest.er1 >conftest.err
35115 rm -f conftest.er1
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } && {
35119 test -z "$ac_c_werror_flag" ||
35120 test ! -s conftest.err
35121 } && test -s conftest$ac_exeext &&
35122 $as_test_x conftest$ac_exeext; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 eval "$as_ac_var=no"
35129 fi
35130
35131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35132 conftest$ac_exeext conftest.$ac_ext
35133 fi
35134 ac_res=`eval echo '${'$as_ac_var'}'`
35135 { echo "$as_me:$LINENO: result: $ac_res" >&5
35136 echo "${ECHO_T}$ac_res" >&6; }
35137 if test `eval echo '${'$as_ac_var'}'` = yes; then
35138 cat >>confdefs.h <<_ACEOF
35139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35140 _ACEOF
35141
35142 fi
35143 done
35144
35145 fi
35146
35147 else
35148 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35149 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35150 fi
35151
35152
35153
35154
35155 for ac_func in snprintf vsnprintf vsscanf
35156 do
35157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35161 echo $ECHO_N "(cached) $ECHO_C" >&6
35162 else
35163 cat >conftest.$ac_ext <<_ACEOF
35164 /* confdefs.h. */
35165 _ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35171 #define $ac_func innocuous_$ac_func
35172
35173 /* System header to define __stub macros and hopefully few prototypes,
35174 which can conflict with char $ac_func (); below.
35175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35176 <limits.h> exists even on freestanding compilers. */
35177
35178 #ifdef __STDC__
35179 # include <limits.h>
35180 #else
35181 # include <assert.h>
35182 #endif
35183
35184 #undef $ac_func
35185
35186 /* Override any GCC internal prototype to avoid an error.
35187 Use char because int might match the return type of a GCC
35188 builtin and then its argument prototype would still apply. */
35189 #ifdef __cplusplus
35190 extern "C"
35191 #endif
35192 char $ac_func ();
35193 /* The GNU C library defines this for functions which it implements
35194 to always fail with ENOSYS. Some functions are actually named
35195 something starting with __ and the normal name is an alias. */
35196 #if defined __stub_$ac_func || defined __stub___$ac_func
35197 choke me
35198 #endif
35199
35200 int
35201 main ()
35202 {
35203 return $ac_func ();
35204 ;
35205 return 0;
35206 }
35207 _ACEOF
35208 rm -f conftest.$ac_objext conftest$ac_exeext
35209 if { (ac_try="$ac_link"
35210 case "(($ac_try" in
35211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35212 *) ac_try_echo=$ac_try;;
35213 esac
35214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35215 (eval "$ac_link") 2>conftest.er1
35216 ac_status=$?
35217 grep -v '^ *+' conftest.er1 >conftest.err
35218 rm -f conftest.er1
35219 cat conftest.err >&5
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); } && {
35222 test -z "$ac_c_werror_flag" ||
35223 test ! -s conftest.err
35224 } && test -s conftest$ac_exeext &&
35225 $as_test_x conftest$ac_exeext; then
35226 eval "$as_ac_var=yes"
35227 else
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35230
35231 eval "$as_ac_var=no"
35232 fi
35233
35234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35235 conftest$ac_exeext conftest.$ac_ext
35236 fi
35237 ac_res=`eval echo '${'$as_ac_var'}'`
35238 { echo "$as_me:$LINENO: result: $ac_res" >&5
35239 echo "${ECHO_T}$ac_res" >&6; }
35240 if test `eval echo '${'$as_ac_var'}'` = yes; then
35241 cat >>confdefs.h <<_ACEOF
35242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35243 _ACEOF
35244
35245 fi
35246 done
35247
35248
35249 ac_ext=cpp
35250 ac_cpp='$CXXCPP $CPPFLAGS'
35251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35254
35255 if test "$ac_cv_func_vsnprintf" = "yes"; then
35256 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35257 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35258 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35260 else
35261
35262 cat >conftest.$ac_ext <<_ACEOF
35263 /* confdefs.h. */
35264 _ACEOF
35265 cat confdefs.h >>conftest.$ac_ext
35266 cat >>conftest.$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268
35269 #include <stdio.h>
35270 #include <stdarg.h>
35271 #ifdef __MSL__
35272 #if __MSL__ >= 0x6000
35273 namespace std {}
35274 using namespace std;
35275 #endif
35276 #endif
35277
35278 int
35279 main ()
35280 {
35281
35282 char *buf;
35283 va_list ap;
35284 vsnprintf(buf, 10u, "%s", ap);
35285
35286 ;
35287 return 0;
35288 }
35289 _ACEOF
35290 rm -f conftest.$ac_objext
35291 if { (ac_try="$ac_compile"
35292 case "(($ac_try" in
35293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35294 *) ac_try_echo=$ac_try;;
35295 esac
35296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35297 (eval "$ac_compile") 2>conftest.er1
35298 ac_status=$?
35299 grep -v '^ *+' conftest.er1 >conftest.err
35300 rm -f conftest.er1
35301 cat conftest.err >&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } && {
35304 test -z "$ac_cxx_werror_flag" ||
35305 test ! -s conftest.err
35306 } && test -s conftest.$ac_objext; then
35307 wx_cv_func_vsnprintf_decl=yes
35308 else
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35311
35312 wx_cv_func_vsnprintf_decl=no
35313
35314 fi
35315
35316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35317
35318
35319 fi
35320 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35321 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35322
35323 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35324 cat >>confdefs.h <<\_ACEOF
35325 #define HAVE_VSNPRINTF_DECL 1
35326 _ACEOF
35327
35328
35329 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35330 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35331 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 else
35334
35335 cat >conftest.$ac_ext <<_ACEOF
35336 /* confdefs.h. */
35337 _ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341
35342 #include <stdio.h>
35343 #include <stdarg.h>
35344 #ifdef __MSL__
35345 #if __MSL__ >= 0x6000
35346 namespace std {}
35347 using namespace std;
35348 #endif
35349 #endif
35350
35351 int
35352 main ()
35353 {
35354
35355 char *buf;
35356 va_list ap;
35357 const char *fmt = "%s";
35358 vsnprintf(buf, 10u, fmt, ap);
35359
35360 ;
35361 return 0;
35362 }
35363 _ACEOF
35364 rm -f conftest.$ac_objext
35365 if { (ac_try="$ac_compile"
35366 case "(($ac_try" in
35367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35368 *) ac_try_echo=$ac_try;;
35369 esac
35370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35371 (eval "$ac_compile") 2>conftest.er1
35372 ac_status=$?
35373 grep -v '^ *+' conftest.er1 >conftest.err
35374 rm -f conftest.er1
35375 cat conftest.err >&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); } && {
35378 test -z "$ac_cxx_werror_flag" ||
35379 test ! -s conftest.err
35380 } && test -s conftest.$ac_objext; then
35381 wx_cv_func_broken_vsnprintf_decl=no
35382 else
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 wx_cv_func_broken_vsnprintf_decl=yes
35387
35388 fi
35389
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391
35392
35393 fi
35394 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35395 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35396
35397 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35398 cat >>confdefs.h <<\_ACEOF
35399 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35400 _ACEOF
35401
35402 fi
35403 fi
35404 fi
35405
35406 if test "$ac_cv_func_snprintf" = "yes"; then
35407 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35408 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35409 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35410 echo $ECHO_N "(cached) $ECHO_C" >&6
35411 else
35412
35413 cat >conftest.$ac_ext <<_ACEOF
35414 /* confdefs.h. */
35415 _ACEOF
35416 cat confdefs.h >>conftest.$ac_ext
35417 cat >>conftest.$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35419
35420 #include <stdio.h>
35421 #include <stdarg.h>
35422 #ifdef __MSL__
35423 #if __MSL__ >= 0x6000
35424 namespace std {}
35425 using namespace std;
35426 #endif
35427 #endif
35428
35429 int
35430 main ()
35431 {
35432
35433 char *buf;
35434 snprintf(buf, 10u, "%s", "wx");
35435
35436 ;
35437 return 0;
35438 }
35439 _ACEOF
35440 rm -f conftest.$ac_objext
35441 if { (ac_try="$ac_compile"
35442 case "(($ac_try" in
35443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35444 *) ac_try_echo=$ac_try;;
35445 esac
35446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35447 (eval "$ac_compile") 2>conftest.er1
35448 ac_status=$?
35449 grep -v '^ *+' conftest.er1 >conftest.err
35450 rm -f conftest.er1
35451 cat conftest.err >&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } && {
35454 test -z "$ac_cxx_werror_flag" ||
35455 test ! -s conftest.err
35456 } && test -s conftest.$ac_objext; then
35457 wx_cv_func_snprintf_decl=yes
35458 else
35459 echo "$as_me: failed program was:" >&5
35460 sed 's/^/| /' conftest.$ac_ext >&5
35461
35462 wx_cv_func_snprintf_decl=no
35463
35464 fi
35465
35466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35467
35468
35469 fi
35470 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35471 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35472
35473 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35474 cat >>confdefs.h <<\_ACEOF
35475 #define HAVE_SNPRINTF_DECL 1
35476 _ACEOF
35477
35478 fi
35479
35480 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35481
35482 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35483 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35484 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 else
35487
35488 if test "$cross_compiling" = yes; then
35489
35490 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35491 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35492 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35493 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35494 wx_cv_func_snprintf_pos_params=no
35495
35496
35497 else
35498 cat >conftest.$ac_ext <<_ACEOF
35499 /* confdefs.h. */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35504
35505 #include <stdio.h>
35506
35507 int main (void)
35508 {
35509 char buffer[128];
35510 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35511 if (strcmp ("2 3 1", buffer) == 0)
35512 exit (0);
35513 exit (1);
35514 }
35515
35516 _ACEOF
35517 rm -f conftest$ac_exeext
35518 if { (ac_try="$ac_link"
35519 case "(($ac_try" in
35520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35521 *) ac_try_echo=$ac_try;;
35522 esac
35523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35524 (eval "$ac_link") 2>&5
35525 ac_status=$?
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35528 { (case "(($ac_try" in
35529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35530 *) ac_try_echo=$ac_try;;
35531 esac
35532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35533 (eval "$ac_try") 2>&5
35534 ac_status=$?
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); }; }; then
35537 wx_cv_func_snprintf_pos_params=no
35538 else
35539 echo "$as_me: program exited with status $ac_status" >&5
35540 echo "$as_me: failed program was:" >&5
35541 sed 's/^/| /' conftest.$ac_ext >&5
35542
35543 ( exit $ac_status )
35544 wx_cv_func_snprintf_pos_params=yes
35545 fi
35546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35547 fi
35548
35549
35550
35551
35552 fi
35553 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35554 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35555
35556 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35557 cat >>confdefs.h <<\_ACEOF
35558 #define HAVE_UNIX98_PRINTF 1
35559 _ACEOF
35560
35561 fi
35562 fi
35563 fi
35564
35565 if test "$ac_cv_func_vsscanf" = "yes"; then
35566 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35567 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35568 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35569 echo $ECHO_N "(cached) $ECHO_C" >&6
35570 else
35571
35572 cat >conftest.$ac_ext <<_ACEOF
35573 /* confdefs.h. */
35574 _ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35578
35579 #include <stdio.h>
35580 #include <stdarg.h>
35581 #ifdef __MSL__
35582 #if __MSL__ >= 0x6000
35583 namespace std {}
35584 using namespace std;
35585 #endif
35586 #endif
35587
35588 int
35589 main ()
35590 {
35591
35592 char *buf;
35593 va_list args;
35594 vsscanf(buf, "%s", args);
35595
35596 ;
35597 return 0;
35598 }
35599 _ACEOF
35600 rm -f conftest.$ac_objext
35601 if { (ac_try="$ac_compile"
35602 case "(($ac_try" in
35603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35604 *) ac_try_echo=$ac_try;;
35605 esac
35606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35607 (eval "$ac_compile") 2>conftest.er1
35608 ac_status=$?
35609 grep -v '^ *+' conftest.er1 >conftest.err
35610 rm -f conftest.er1
35611 cat conftest.err >&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); } && {
35614 test -z "$ac_cxx_werror_flag" ||
35615 test ! -s conftest.err
35616 } && test -s conftest.$ac_objext; then
35617 wx_cv_func_vsscanf_decl=yes
35618 else
35619 echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.$ac_ext >&5
35621
35622 wx_cv_func_vsscanf_decl=no
35623
35624 fi
35625
35626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35627
35628
35629 fi
35630 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35631 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35632
35633 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35634 cat >>confdefs.h <<\_ACEOF
35635 #define HAVE_VSSCANF_DECL 1
35636 _ACEOF
35637
35638 fi
35639 fi
35640 ac_ext=c
35641 ac_cpp='$CPP $CPPFLAGS'
35642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35645
35646
35647 if test "$wxUSE_UNICODE" = yes; then
35648
35649 wchar_headers="#include <stdio.h>
35650 #include <wchar.h>"
35651 case "${host}" in
35652 *-*-solaris2* )
35653
35654 for ac_header in widec.h
35655 do
35656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35657 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35660 echo $ECHO_N "(cached) $ECHO_C" >&6
35661 else
35662 cat >conftest.$ac_ext <<_ACEOF
35663 /* confdefs.h. */
35664 _ACEOF
35665 cat confdefs.h >>conftest.$ac_ext
35666 cat >>conftest.$ac_ext <<_ACEOF
35667 /* end confdefs.h. */
35668 $ac_includes_default
35669
35670 #include <$ac_header>
35671 _ACEOF
35672 rm -f conftest.$ac_objext
35673 if { (ac_try="$ac_compile"
35674 case "(($ac_try" in
35675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35676 *) ac_try_echo=$ac_try;;
35677 esac
35678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35679 (eval "$ac_compile") 2>conftest.er1
35680 ac_status=$?
35681 grep -v '^ *+' conftest.er1 >conftest.err
35682 rm -f conftest.er1
35683 cat conftest.err >&5
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); } && {
35686 test -z "$ac_c_werror_flag" ||
35687 test ! -s conftest.err
35688 } && test -s conftest.$ac_objext; then
35689 eval "$as_ac_Header=yes"
35690 else
35691 echo "$as_me: failed program was:" >&5
35692 sed 's/^/| /' conftest.$ac_ext >&5
35693
35694 eval "$as_ac_Header=no"
35695 fi
35696
35697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35698 fi
35699 ac_res=`eval echo '${'$as_ac_Header'}'`
35700 { echo "$as_me:$LINENO: result: $ac_res" >&5
35701 echo "${ECHO_T}$ac_res" >&6; }
35702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35703 cat >>confdefs.h <<_ACEOF
35704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35705 _ACEOF
35706
35707 fi
35708
35709 done
35710
35711 if test "$ac_cv_header_widec_h" = "yes"; then
35712 wchar_headers="$wchar_headers
35713 #include <widec.h>"
35714 fi
35715 esac
35716
35717
35718 for wx_func in putws fputws wprintf vswprintf vswscanf
35719 do
35720 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35721 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35722 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35725
35726 cat >conftest.$ac_ext <<_ACEOF
35727
35728 /* confdefs.h. */
35729 _ACEOF
35730 cat confdefs.h >>conftest.$ac_ext
35731 cat >>conftest.$ac_ext <<_ACEOF
35732 /* end confdefs.h. */
35733
35734 $wchar_headers
35735 $ac_includes_default
35736
35737 int
35738 main ()
35739 {
35740
35741 #ifndef $wx_func
35742 &$wx_func;
35743 #endif
35744
35745
35746 ;
35747 return 0;
35748 }
35749
35750 _ACEOF
35751 rm -f conftest.$ac_objext conftest$ac_exeext
35752 if { (ac_try="$ac_link"
35753 case "(($ac_try" in
35754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35755 *) ac_try_echo=$ac_try;;
35756 esac
35757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35758 (eval "$ac_link") 2>conftest.er1
35759 ac_status=$?
35760 grep -v '^ *+' conftest.er1 >conftest.err
35761 rm -f conftest.er1
35762 cat conftest.err >&5
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); } && {
35765 test -z "$ac_c_werror_flag" ||
35766 test ! -s conftest.err
35767 } && test -s conftest$ac_exeext &&
35768 $as_test_x conftest$ac_exeext; then
35769 eval wx_cv_func_$wx_func=yes
35770 else
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35773
35774 eval wx_cv_func_$wx_func=no
35775 fi
35776
35777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35778 conftest$ac_exeext conftest.$ac_ext
35779
35780 fi
35781 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35782 { echo "$as_me:$LINENO: result: $ac_res" >&5
35783 echo "${ECHO_T}$ac_res" >&6; }
35784
35785 if eval test \$wx_cv_func_$wx_func = yes
35786 then
35787 cat >>confdefs.h <<_ACEOF
35788 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35789 _ACEOF
35790
35791
35792 else
35793 :
35794
35795 fi
35796 done
35797
35798
35799 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35800 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35801 cat >conftest.$ac_ext <<_ACEOF
35802 /* confdefs.h. */
35803 _ACEOF
35804 cat confdefs.h >>conftest.$ac_ext
35805 cat >>conftest.$ac_ext <<_ACEOF
35806 /* end confdefs.h. */
35807 #include <wchar.h>
35808 int
35809 main ()
35810 {
35811 &_vsnwprintf;
35812 ;
35813 return 0;
35814 }
35815 _ACEOF
35816 rm -f conftest.$ac_objext
35817 if { (ac_try="$ac_compile"
35818 case "(($ac_try" in
35819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35820 *) ac_try_echo=$ac_try;;
35821 esac
35822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35823 (eval "$ac_compile") 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } && {
35830 test -z "$ac_c_werror_flag" ||
35831 test ! -s conftest.err
35832 } && test -s conftest.$ac_objext; then
35833 { echo "$as_me:$LINENO: result: yes" >&5
35834 echo "${ECHO_T}yes" >&6; }
35835 cat >>confdefs.h <<\_ACEOF
35836 #define HAVE__VSNWPRINTF 1
35837 _ACEOF
35838
35839 else
35840 echo "$as_me: failed program was:" >&5
35841 sed 's/^/| /' conftest.$ac_ext >&5
35842
35843 { echo "$as_me:$LINENO: result: no" >&5
35844 echo "${ECHO_T}no" >&6; }
35845 fi
35846
35847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35848 fi
35849
35850 if test "$wxUSE_FILE" = "yes"; then
35851
35852 for wx_func in fsync
35853 do
35854 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35855 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35856 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35857 echo $ECHO_N "(cached) $ECHO_C" >&6
35858 else
35859
35860 cat >conftest.$ac_ext <<_ACEOF
35861
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867
35868
35869 $ac_includes_default
35870
35871 int
35872 main ()
35873 {
35874
35875 #ifndef $wx_func
35876 &$wx_func;
35877 #endif
35878
35879
35880 ;
35881 return 0;
35882 }
35883
35884 _ACEOF
35885 rm -f conftest.$ac_objext conftest$ac_exeext
35886 if { (ac_try="$ac_link"
35887 case "(($ac_try" in
35888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35889 *) ac_try_echo=$ac_try;;
35890 esac
35891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35892 (eval "$ac_link") 2>conftest.er1
35893 ac_status=$?
35894 grep -v '^ *+' conftest.er1 >conftest.err
35895 rm -f conftest.er1
35896 cat conftest.err >&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } && {
35899 test -z "$ac_c_werror_flag" ||
35900 test ! -s conftest.err
35901 } && test -s conftest$ac_exeext &&
35902 $as_test_x conftest$ac_exeext; then
35903 eval wx_cv_func_$wx_func=yes
35904 else
35905 echo "$as_me: failed program was:" >&5
35906 sed 's/^/| /' conftest.$ac_ext >&5
35907
35908 eval wx_cv_func_$wx_func=no
35909 fi
35910
35911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35912 conftest$ac_exeext conftest.$ac_ext
35913
35914 fi
35915 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35916 { echo "$as_me:$LINENO: result: $ac_res" >&5
35917 echo "${ECHO_T}$ac_res" >&6; }
35918
35919 if eval test \$wx_cv_func_$wx_func = yes
35920 then
35921 cat >>confdefs.h <<_ACEOF
35922 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35923 _ACEOF
35924
35925
35926 else
35927 :
35928
35929 fi
35930 done
35931
35932 fi
35933
35934 ac_ext=cpp
35935 ac_cpp='$CXXCPP $CPPFLAGS'
35936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35939
35940
35941 for wx_func in round
35942 do
35943 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35944 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35945 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35946 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 else
35948
35949 cat >conftest.$ac_ext <<_ACEOF
35950
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956
35957 #include <math.h>
35958 $ac_includes_default
35959
35960 int
35961 main ()
35962 {
35963
35964 #ifndef $wx_func
35965 &$wx_func;
35966 #endif
35967
35968
35969 ;
35970 return 0;
35971 }
35972
35973 _ACEOF
35974 rm -f conftest.$ac_objext conftest$ac_exeext
35975 if { (ac_try="$ac_link"
35976 case "(($ac_try" in
35977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35978 *) ac_try_echo=$ac_try;;
35979 esac
35980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35981 (eval "$ac_link") 2>conftest.er1
35982 ac_status=$?
35983 grep -v '^ *+' conftest.er1 >conftest.err
35984 rm -f conftest.er1
35985 cat conftest.err >&5
35986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35987 (exit $ac_status); } && {
35988 test -z "$ac_cxx_werror_flag" ||
35989 test ! -s conftest.err
35990 } && test -s conftest$ac_exeext &&
35991 $as_test_x conftest$ac_exeext; then
35992 eval wx_cv_func_$wx_func=yes
35993 else
35994 echo "$as_me: failed program was:" >&5
35995 sed 's/^/| /' conftest.$ac_ext >&5
35996
35997 eval wx_cv_func_$wx_func=no
35998 fi
35999
36000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36001 conftest$ac_exeext conftest.$ac_ext
36002
36003 fi
36004 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36005 { echo "$as_me:$LINENO: result: $ac_res" >&5
36006 echo "${ECHO_T}$ac_res" >&6; }
36007
36008 if eval test \$wx_cv_func_$wx_func = yes
36009 then
36010 cat >>confdefs.h <<_ACEOF
36011 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36012 _ACEOF
36013
36014
36015 else
36016 :
36017
36018 fi
36019 done
36020
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36026
36027
36028 if test "$TOOLKIT" != "MSW"; then
36029
36030 if test "$wxUSE_LIBICONV" != "no" ; then
36031
36032
36033
36034 # Check whether --with-libiconv-prefix was given.
36035 if test "${with_libiconv_prefix+set}" = set; then
36036 withval=$with_libiconv_prefix;
36037 for dir in `echo "$withval" | tr : ' '`; do
36038 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36039 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36040 done
36041
36042 fi
36043
36044
36045 { echo "$as_me:$LINENO: checking for iconv" >&5
36046 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36047 if test "${am_cv_func_iconv+set}" = set; then
36048 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 else
36050
36051 am_cv_func_iconv="no, consider installing GNU libiconv"
36052 am_cv_lib_iconv=no
36053 cat >conftest.$ac_ext <<_ACEOF
36054 /* confdefs.h. */
36055 _ACEOF
36056 cat confdefs.h >>conftest.$ac_ext
36057 cat >>conftest.$ac_ext <<_ACEOF
36058 /* end confdefs.h. */
36059 #include <stdlib.h>
36060 #include <iconv.h>
36061 int
36062 main ()
36063 {
36064 iconv_t cd = iconv_open("","");
36065 iconv(cd,NULL,NULL,NULL,NULL);
36066 iconv_close(cd);
36067 ;
36068 return 0;
36069 }
36070 _ACEOF
36071 rm -f conftest.$ac_objext conftest$ac_exeext
36072 if { (ac_try="$ac_link"
36073 case "(($ac_try" in
36074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36075 *) ac_try_echo=$ac_try;;
36076 esac
36077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36078 (eval "$ac_link") 2>conftest.er1
36079 ac_status=$?
36080 grep -v '^ *+' conftest.er1 >conftest.err
36081 rm -f conftest.er1
36082 cat conftest.err >&5
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); } && {
36085 test -z "$ac_c_werror_flag" ||
36086 test ! -s conftest.err
36087 } && test -s conftest$ac_exeext &&
36088 $as_test_x conftest$ac_exeext; then
36089 am_cv_func_iconv=yes
36090 else
36091 echo "$as_me: failed program was:" >&5
36092 sed 's/^/| /' conftest.$ac_ext >&5
36093
36094
36095 fi
36096
36097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36098 conftest$ac_exeext conftest.$ac_ext
36099 if test "$am_cv_func_iconv" != yes; then
36100 am_save_LIBS="$LIBS"
36101 LIBS="$LIBS -liconv"
36102 cat >conftest.$ac_ext <<_ACEOF
36103 /* confdefs.h. */
36104 _ACEOF
36105 cat confdefs.h >>conftest.$ac_ext
36106 cat >>conftest.$ac_ext <<_ACEOF
36107 /* end confdefs.h. */
36108 #include <stdlib.h>
36109 #include <iconv.h>
36110 int
36111 main ()
36112 {
36113 iconv_t cd = iconv_open("","");
36114 iconv(cd,NULL,NULL,NULL,NULL);
36115 iconv_close(cd);
36116 ;
36117 return 0;
36118 }
36119 _ACEOF
36120 rm -f conftest.$ac_objext conftest$ac_exeext
36121 if { (ac_try="$ac_link"
36122 case "(($ac_try" in
36123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36124 *) ac_try_echo=$ac_try;;
36125 esac
36126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36127 (eval "$ac_link") 2>conftest.er1
36128 ac_status=$?
36129 grep -v '^ *+' conftest.er1 >conftest.err
36130 rm -f conftest.er1
36131 cat conftest.err >&5
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); } && {
36134 test -z "$ac_c_werror_flag" ||
36135 test ! -s conftest.err
36136 } && test -s conftest$ac_exeext &&
36137 $as_test_x conftest$ac_exeext; then
36138 am_cv_lib_iconv=yes
36139 am_cv_func_iconv=yes
36140 else
36141 echo "$as_me: failed program was:" >&5
36142 sed 's/^/| /' conftest.$ac_ext >&5
36143
36144
36145 fi
36146
36147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36148 conftest$ac_exeext conftest.$ac_ext
36149 LIBS="$am_save_LIBS"
36150 fi
36151
36152 fi
36153 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36154 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36155 if test "$am_cv_func_iconv" = yes; then
36156
36157 cat >>confdefs.h <<\_ACEOF
36158 #define HAVE_ICONV 1
36159 _ACEOF
36160
36161 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36162 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36163 if test "${wx_cv_func_iconv_const+set}" = set; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36165 else
36166 cat >conftest.$ac_ext <<_ACEOF
36167 /* confdefs.h. */
36168 _ACEOF
36169 cat confdefs.h >>conftest.$ac_ext
36170 cat >>conftest.$ac_ext <<_ACEOF
36171 /* end confdefs.h. */
36172
36173 #include <stdlib.h>
36174 #include <iconv.h>
36175 extern
36176 #ifdef __cplusplus
36177 "C"
36178 #endif
36179 #if defined(__STDC__) || defined(__cplusplus)
36180 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36181 #else
36182 size_t iconv();
36183 #endif
36184
36185 int
36186 main ()
36187 {
36188
36189 ;
36190 return 0;
36191 }
36192 _ACEOF
36193 rm -f conftest.$ac_objext
36194 if { (ac_try="$ac_compile"
36195 case "(($ac_try" in
36196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36197 *) ac_try_echo=$ac_try;;
36198 esac
36199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36200 (eval "$ac_compile") 2>conftest.er1
36201 ac_status=$?
36202 grep -v '^ *+' conftest.er1 >conftest.err
36203 rm -f conftest.er1
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } && {
36207 test -z "$ac_c_werror_flag" ||
36208 test ! -s conftest.err
36209 } && test -s conftest.$ac_objext; then
36210 wx_cv_func_iconv_const="no"
36211 else
36212 echo "$as_me: failed program was:" >&5
36213 sed 's/^/| /' conftest.$ac_ext >&5
36214
36215 wx_cv_func_iconv_const="yes"
36216
36217 fi
36218
36219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36220
36221 fi
36222 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36223 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36224
36225 iconv_const=
36226 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36227 iconv_const="const"
36228 fi
36229
36230
36231 cat >>confdefs.h <<_ACEOF
36232 #define ICONV_CONST $iconv_const
36233 _ACEOF
36234
36235 fi
36236 LIBICONV=
36237 if test "$am_cv_lib_iconv" = yes; then
36238 LIBICONV="-liconv"
36239 fi
36240
36241
36242 LIBS="$LIBICONV $LIBS"
36243 fi
36244
36245 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36246
36247 for ac_func in sigaction
36248 do
36249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
36254 else
36255 cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36263 #define $ac_func innocuous_$ac_func
36264
36265 /* System header to define __stub macros and hopefully few prototypes,
36266 which can conflict with char $ac_func (); below.
36267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36268 <limits.h> exists even on freestanding compilers. */
36269
36270 #ifdef __STDC__
36271 # include <limits.h>
36272 #else
36273 # include <assert.h>
36274 #endif
36275
36276 #undef $ac_func
36277
36278 /* Override any GCC internal prototype to avoid an error.
36279 Use char because int might match the return type of a GCC
36280 builtin and then its argument prototype would still apply. */
36281 #ifdef __cplusplus
36282 extern "C"
36283 #endif
36284 char $ac_func ();
36285 /* The GNU C library defines this for functions which it implements
36286 to always fail with ENOSYS. Some functions are actually named
36287 something starting with __ and the normal name is an alias. */
36288 #if defined __stub_$ac_func || defined __stub___$ac_func
36289 choke me
36290 #endif
36291
36292 int
36293 main ()
36294 {
36295 return $ac_func ();
36296 ;
36297 return 0;
36298 }
36299 _ACEOF
36300 rm -f conftest.$ac_objext conftest$ac_exeext
36301 if { (ac_try="$ac_link"
36302 case "(($ac_try" in
36303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36304 *) ac_try_echo=$ac_try;;
36305 esac
36306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36307 (eval "$ac_link") 2>conftest.er1
36308 ac_status=$?
36309 grep -v '^ *+' conftest.er1 >conftest.err
36310 rm -f conftest.er1
36311 cat conftest.err >&5
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); } && {
36314 test -z "$ac_c_werror_flag" ||
36315 test ! -s conftest.err
36316 } && test -s conftest$ac_exeext &&
36317 $as_test_x conftest$ac_exeext; then
36318 eval "$as_ac_var=yes"
36319 else
36320 echo "$as_me: failed program was:" >&5
36321 sed 's/^/| /' conftest.$ac_ext >&5
36322
36323 eval "$as_ac_var=no"
36324 fi
36325
36326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36327 conftest$ac_exeext conftest.$ac_ext
36328 fi
36329 ac_res=`eval echo '${'$as_ac_var'}'`
36330 { echo "$as_me:$LINENO: result: $ac_res" >&5
36331 echo "${ECHO_T}$ac_res" >&6; }
36332 if test `eval echo '${'$as_ac_var'}'` = yes; then
36333 cat >>confdefs.h <<_ACEOF
36334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36335 _ACEOF
36336
36337 fi
36338 done
36339
36340
36341 if test "$ac_cv_func_sigaction" = "no"; then
36342 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36343 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36344 wxUSE_ON_FATAL_EXCEPTION=no
36345 fi
36346
36347 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36348 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36349 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36350 if test "${wx_cv_type_sa_handler+set}" = set; then
36351 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 else
36353
36354 ac_ext=cpp
36355 ac_cpp='$CXXCPP $CPPFLAGS'
36356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359
36360 cat >conftest.$ac_ext <<_ACEOF
36361 /* confdefs.h. */
36362 _ACEOF
36363 cat confdefs.h >>conftest.$ac_ext
36364 cat >>conftest.$ac_ext <<_ACEOF
36365 /* end confdefs.h. */
36366 #include <signal.h>
36367 int
36368 main ()
36369 {
36370
36371 extern void testSigHandler(int);
36372
36373 struct sigaction sa;
36374 sa.sa_handler = testSigHandler;
36375
36376 ;
36377 return 0;
36378 }
36379 _ACEOF
36380 rm -f conftest.$ac_objext
36381 if { (ac_try="$ac_compile"
36382 case "(($ac_try" in
36383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36384 *) ac_try_echo=$ac_try;;
36385 esac
36386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36387 (eval "$ac_compile") 2>conftest.er1
36388 ac_status=$?
36389 grep -v '^ *+' conftest.er1 >conftest.err
36390 rm -f conftest.er1
36391 cat conftest.err >&5
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); } && {
36394 test -z "$ac_cxx_werror_flag" ||
36395 test ! -s conftest.err
36396 } && test -s conftest.$ac_objext; then
36397
36398 wx_cv_type_sa_handler=int
36399
36400 else
36401 echo "$as_me: failed program was:" >&5
36402 sed 's/^/| /' conftest.$ac_ext >&5
36403
36404
36405 wx_cv_type_sa_handler=void
36406
36407 fi
36408
36409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36415
36416
36417 fi
36418 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36419 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36420
36421 cat >>confdefs.h <<_ACEOF
36422 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36423 _ACEOF
36424
36425 fi
36426 fi
36427
36428 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36429 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36430 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36431 if test "${wx_cv_func_backtrace+set}" = set; then
36432 echo $ECHO_N "(cached) $ECHO_C" >&6
36433 else
36434
36435 ac_ext=cpp
36436 ac_cpp='$CXXCPP $CPPFLAGS'
36437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36440
36441 cat >conftest.$ac_ext <<_ACEOF
36442 /* confdefs.h. */
36443 _ACEOF
36444 cat confdefs.h >>conftest.$ac_ext
36445 cat >>conftest.$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36447 #include <execinfo.h>
36448 int
36449 main ()
36450 {
36451
36452 void *trace[1];
36453 char **messages;
36454
36455 backtrace(trace, 1);
36456 messages = backtrace_symbols(trace, 1);
36457
36458 ;
36459 return 0;
36460 }
36461 _ACEOF
36462 rm -f conftest.$ac_objext
36463 if { (ac_try="$ac_compile"
36464 case "(($ac_try" in
36465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36466 *) ac_try_echo=$ac_try;;
36467 esac
36468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36469 (eval "$ac_compile") 2>conftest.er1
36470 ac_status=$?
36471 grep -v '^ *+' conftest.er1 >conftest.err
36472 rm -f conftest.er1
36473 cat conftest.err >&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); } && {
36476 test -z "$ac_cxx_werror_flag" ||
36477 test ! -s conftest.err
36478 } && test -s conftest.$ac_objext; then
36479 wx_cv_func_backtrace=yes
36480 else
36481 echo "$as_me: failed program was:" >&5
36482 sed 's/^/| /' conftest.$ac_ext >&5
36483
36484 wx_cv_func_backtrace=no
36485
36486 fi
36487
36488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36489 ac_ext=c
36490 ac_cpp='$CPP $CPPFLAGS'
36491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36494
36495
36496
36497 fi
36498 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36499 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36500
36501
36502 if test "$wx_cv_func_backtrace" = "no"; then
36503 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36504 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36505 wxUSE_STACKWALKER=no
36506 else
36507 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36508 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36509 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36510 echo $ECHO_N "(cached) $ECHO_C" >&6
36511 else
36512
36513 ac_ext=cpp
36514 ac_cpp='$CXXCPP $CPPFLAGS'
36515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36518
36519 cat >conftest.$ac_ext <<_ACEOF
36520 /* confdefs.h. */
36521 _ACEOF
36522 cat confdefs.h >>conftest.$ac_ext
36523 cat >>conftest.$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 #include <cxxabi.h>
36526 int
36527 main ()
36528 {
36529
36530 int rc;
36531 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36532
36533 ;
36534 return 0;
36535 }
36536 _ACEOF
36537 rm -f conftest.$ac_objext conftest$ac_exeext
36538 if { (ac_try="$ac_link"
36539 case "(($ac_try" in
36540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36541 *) ac_try_echo=$ac_try;;
36542 esac
36543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36544 (eval "$ac_link") 2>conftest.er1
36545 ac_status=$?
36546 grep -v '^ *+' conftest.er1 >conftest.err
36547 rm -f conftest.er1
36548 cat conftest.err >&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); } && {
36551 test -z "$ac_cxx_werror_flag" ||
36552 test ! -s conftest.err
36553 } && test -s conftest$ac_exeext &&
36554 $as_test_x conftest$ac_exeext; then
36555 wx_cv_func_cxa_demangle=yes
36556 else
36557 echo "$as_me: failed program was:" >&5
36558 sed 's/^/| /' conftest.$ac_ext >&5
36559
36560 wx_cv_func_cxa_demangle=no
36561
36562 fi
36563
36564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36565 conftest$ac_exeext conftest.$ac_ext
36566 ac_ext=c
36567 ac_cpp='$CPP $CPPFLAGS'
36568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571
36572
36573
36574 fi
36575 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36576 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36577
36578 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36579 cat >>confdefs.h <<\_ACEOF
36580 #define HAVE_CXA_DEMANGLE 1
36581 _ACEOF
36582
36583 fi
36584 fi
36585 fi
36586
36587 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36588 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36589 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36590 wxUSE_STACKWALKER=no
36591 fi
36592
36593
36594
36595
36596 for ac_func in mkstemp mktemp
36597 do
36598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36599 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36601 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 else
36604 cat >conftest.$ac_ext <<_ACEOF
36605 /* confdefs.h. */
36606 _ACEOF
36607 cat confdefs.h >>conftest.$ac_ext
36608 cat >>conftest.$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36612 #define $ac_func innocuous_$ac_func
36613
36614 /* System header to define __stub macros and hopefully few prototypes,
36615 which can conflict with char $ac_func (); below.
36616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36617 <limits.h> exists even on freestanding compilers. */
36618
36619 #ifdef __STDC__
36620 # include <limits.h>
36621 #else
36622 # include <assert.h>
36623 #endif
36624
36625 #undef $ac_func
36626
36627 /* Override any GCC internal prototype to avoid an error.
36628 Use char because int might match the return type of a GCC
36629 builtin and then its argument prototype would still apply. */
36630 #ifdef __cplusplus
36631 extern "C"
36632 #endif
36633 char $ac_func ();
36634 /* The GNU C library defines this for functions which it implements
36635 to always fail with ENOSYS. Some functions are actually named
36636 something starting with __ and the normal name is an alias. */
36637 #if defined __stub_$ac_func || defined __stub___$ac_func
36638 choke me
36639 #endif
36640
36641 int
36642 main ()
36643 {
36644 return $ac_func ();
36645 ;
36646 return 0;
36647 }
36648 _ACEOF
36649 rm -f conftest.$ac_objext conftest$ac_exeext
36650 if { (ac_try="$ac_link"
36651 case "(($ac_try" in
36652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36653 *) ac_try_echo=$ac_try;;
36654 esac
36655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36656 (eval "$ac_link") 2>conftest.er1
36657 ac_status=$?
36658 grep -v '^ *+' conftest.er1 >conftest.err
36659 rm -f conftest.er1
36660 cat conftest.err >&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } && {
36663 test -z "$ac_c_werror_flag" ||
36664 test ! -s conftest.err
36665 } && test -s conftest$ac_exeext &&
36666 $as_test_x conftest$ac_exeext; then
36667 eval "$as_ac_var=yes"
36668 else
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.$ac_ext >&5
36671
36672 eval "$as_ac_var=no"
36673 fi
36674
36675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36676 conftest$ac_exeext conftest.$ac_ext
36677 fi
36678 ac_res=`eval echo '${'$as_ac_var'}'`
36679 { echo "$as_me:$LINENO: result: $ac_res" >&5
36680 echo "${ECHO_T}$ac_res" >&6; }
36681 if test `eval echo '${'$as_ac_var'}'` = yes; then
36682 cat >>confdefs.h <<_ACEOF
36683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36684 _ACEOF
36685 break
36686 fi
36687 done
36688
36689
36690 { echo "$as_me:$LINENO: checking for statfs" >&5
36691 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36692 if test "${wx_cv_func_statfs+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36694 else
36695 cat >conftest.$ac_ext <<_ACEOF
36696 /* confdefs.h. */
36697 _ACEOF
36698 cat confdefs.h >>conftest.$ac_ext
36699 cat >>conftest.$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701
36702 #if defined(__BSD__)
36703 #include <sys/param.h>
36704 #include <sys/mount.h>
36705 #else
36706 #include <sys/vfs.h>
36707 #endif
36708
36709 int
36710 main ()
36711 {
36712
36713 long l;
36714 struct statfs fs;
36715 statfs("/", &fs);
36716 l = fs.f_bsize;
36717 l += fs.f_blocks;
36718 l += fs.f_bavail;
36719
36720 ;
36721 return 0;
36722 }
36723 _ACEOF
36724 rm -f conftest.$ac_objext
36725 if { (ac_try="$ac_compile"
36726 case "(($ac_try" in
36727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36728 *) ac_try_echo=$ac_try;;
36729 esac
36730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36731 (eval "$ac_compile") 2>conftest.er1
36732 ac_status=$?
36733 grep -v '^ *+' conftest.er1 >conftest.err
36734 rm -f conftest.er1
36735 cat conftest.err >&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); } && {
36738 test -z "$ac_c_werror_flag" ||
36739 test ! -s conftest.err
36740 } && test -s conftest.$ac_objext; then
36741 wx_cv_func_statfs=yes
36742 else
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.$ac_ext >&5
36745
36746 wx_cv_func_statfs=no
36747
36748 fi
36749
36750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36751
36752 fi
36753 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36754 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36755
36756 if test "$wx_cv_func_statfs" = "yes"; then
36757 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36758 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36759 if test "${wx_cv_func_statfs_decl+set}" = set; then
36760 echo $ECHO_N "(cached) $ECHO_C" >&6
36761 else
36762 ac_ext=cpp
36763 ac_cpp='$CXXCPP $CPPFLAGS'
36764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36767
36768 cat >conftest.$ac_ext <<_ACEOF
36769 /* confdefs.h. */
36770 _ACEOF
36771 cat confdefs.h >>conftest.$ac_ext
36772 cat >>conftest.$ac_ext <<_ACEOF
36773 /* end confdefs.h. */
36774
36775 #if defined(__BSD__)
36776 #include <sys/param.h>
36777 #include <sys/mount.h>
36778 #else
36779 #include <sys/vfs.h>
36780 #endif
36781
36782 int
36783 main ()
36784 {
36785
36786 struct statfs fs;
36787 statfs("", &fs);
36788
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 rm -f conftest.$ac_objext
36794 if { (ac_try="$ac_compile"
36795 case "(($ac_try" in
36796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36797 *) ac_try_echo=$ac_try;;
36798 esac
36799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36800 (eval "$ac_compile") 2>conftest.er1
36801 ac_status=$?
36802 grep -v '^ *+' conftest.er1 >conftest.err
36803 rm -f conftest.er1
36804 cat conftest.err >&5
36805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36806 (exit $ac_status); } && {
36807 test -z "$ac_cxx_werror_flag" ||
36808 test ! -s conftest.err
36809 } && test -s conftest.$ac_objext; then
36810 wx_cv_func_statfs_decl=yes
36811 else
36812 echo "$as_me: failed program was:" >&5
36813 sed 's/^/| /' conftest.$ac_ext >&5
36814
36815 wx_cv_func_statfs_decl=no
36816
36817 fi
36818
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825
36826
36827 fi
36828 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36829 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36830
36831 if test "$wx_cv_func_statfs_decl" = "yes"; then
36832 cat >>confdefs.h <<\_ACEOF
36833 #define HAVE_STATFS_DECL 1
36834 _ACEOF
36835
36836 fi
36837
36838 wx_cv_type_statvfs_t="struct statfs"
36839 cat >>confdefs.h <<\_ACEOF
36840 #define HAVE_STATFS 1
36841 _ACEOF
36842
36843 else
36844 { echo "$as_me:$LINENO: checking for statvfs" >&5
36845 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36846 if test "${wx_cv_func_statvfs+set}" = set; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36848 else
36849 cat >conftest.$ac_ext <<_ACEOF
36850 /* confdefs.h. */
36851 _ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855
36856 #include <stddef.h>
36857 #include <sys/statvfs.h>
36858
36859 int
36860 main ()
36861 {
36862
36863 statvfs("/", NULL);
36864
36865 ;
36866 return 0;
36867 }
36868 _ACEOF
36869 rm -f conftest.$ac_objext
36870 if { (ac_try="$ac_compile"
36871 case "(($ac_try" in
36872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36873 *) ac_try_echo=$ac_try;;
36874 esac
36875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36876 (eval "$ac_compile") 2>conftest.er1
36877 ac_status=$?
36878 grep -v '^ *+' conftest.er1 >conftest.err
36879 rm -f conftest.er1
36880 cat conftest.err >&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); } && {
36883 test -z "$ac_c_werror_flag" ||
36884 test ! -s conftest.err
36885 } && test -s conftest.$ac_objext; then
36886 wx_cv_func_statvfs=yes
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36890
36891 wx_cv_func_statvfs=no
36892
36893 fi
36894
36895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36896
36897 fi
36898 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36899 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36900
36901 if test "$wx_cv_func_statvfs" = "yes"; then
36902 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36903 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36904 if test "${wx_cv_type_statvfs_t+set}" = set; then
36905 echo $ECHO_N "(cached) $ECHO_C" >&6
36906 else
36907 ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912
36913 cat >conftest.$ac_ext <<_ACEOF
36914 /* confdefs.h. */
36915 _ACEOF
36916 cat confdefs.h >>conftest.$ac_ext
36917 cat >>conftest.$ac_ext <<_ACEOF
36918 /* end confdefs.h. */
36919
36920 #include <sys/statvfs.h>
36921
36922 int
36923 main ()
36924 {
36925
36926 long l;
36927 statvfs_t fs;
36928 statvfs("/", &fs);
36929 l = fs.f_bsize;
36930 l += fs.f_blocks;
36931 l += fs.f_bavail;
36932
36933 ;
36934 return 0;
36935 }
36936 _ACEOF
36937 rm -f conftest.$ac_objext
36938 if { (ac_try="$ac_compile"
36939 case "(($ac_try" in
36940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36941 *) ac_try_echo=$ac_try;;
36942 esac
36943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36944 (eval "$ac_compile") 2>conftest.er1
36945 ac_status=$?
36946 grep -v '^ *+' conftest.er1 >conftest.err
36947 rm -f conftest.er1
36948 cat conftest.err >&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); } && {
36951 test -z "$ac_cxx_werror_flag" ||
36952 test ! -s conftest.err
36953 } && test -s conftest.$ac_objext; then
36954 wx_cv_type_statvfs_t=statvfs_t
36955 else
36956 echo "$as_me: failed program was:" >&5
36957 sed 's/^/| /' conftest.$ac_ext >&5
36958
36959
36960 cat >conftest.$ac_ext <<_ACEOF
36961 /* confdefs.h. */
36962 _ACEOF
36963 cat confdefs.h >>conftest.$ac_ext
36964 cat >>conftest.$ac_ext <<_ACEOF
36965 /* end confdefs.h. */
36966
36967 #include <sys/statvfs.h>
36968
36969 int
36970 main ()
36971 {
36972
36973 long l;
36974 struct statvfs fs;
36975 statvfs("/", &fs);
36976 l = fs.f_bsize;
36977 l += fs.f_blocks;
36978 l += fs.f_bavail;
36979
36980 ;
36981 return 0;
36982 }
36983 _ACEOF
36984 rm -f conftest.$ac_objext
36985 if { (ac_try="$ac_compile"
36986 case "(($ac_try" in
36987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36988 *) ac_try_echo=$ac_try;;
36989 esac
36990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36991 (eval "$ac_compile") 2>conftest.er1
36992 ac_status=$?
36993 grep -v '^ *+' conftest.er1 >conftest.err
36994 rm -f conftest.er1
36995 cat conftest.err >&5
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); } && {
36998 test -z "$ac_cxx_werror_flag" ||
36999 test ! -s conftest.err
37000 } && test -s conftest.$ac_objext; then
37001 wx_cv_type_statvfs_t="struct statvfs"
37002 else
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.$ac_ext >&5
37005
37006 wx_cv_type_statvfs_t="unknown"
37007
37008 fi
37009
37010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37011
37012
37013 fi
37014
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016 ac_ext=c
37017 ac_cpp='$CPP $CPPFLAGS'
37018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37021
37022
37023 fi
37024 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37025 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37026
37027 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37028 cat >>confdefs.h <<\_ACEOF
37029 #define HAVE_STATVFS 1
37030 _ACEOF
37031
37032 fi
37033 else
37034 wx_cv_type_statvfs_t="unknown"
37035 fi
37036 fi
37037
37038 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37039 cat >>confdefs.h <<_ACEOF
37040 #define WX_STATFS_T $wx_cv_type_statvfs_t
37041 _ACEOF
37042
37043 else
37044 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37045 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37046 fi
37047
37048 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37049
37050
37051 for ac_func in fcntl flock
37052 do
37053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37054 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37056 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37057 echo $ECHO_N "(cached) $ECHO_C" >&6
37058 else
37059 cat >conftest.$ac_ext <<_ACEOF
37060 /* confdefs.h. */
37061 _ACEOF
37062 cat confdefs.h >>conftest.$ac_ext
37063 cat >>conftest.$ac_ext <<_ACEOF
37064 /* end confdefs.h. */
37065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37067 #define $ac_func innocuous_$ac_func
37068
37069 /* System header to define __stub macros and hopefully few prototypes,
37070 which can conflict with char $ac_func (); below.
37071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37072 <limits.h> exists even on freestanding compilers. */
37073
37074 #ifdef __STDC__
37075 # include <limits.h>
37076 #else
37077 # include <assert.h>
37078 #endif
37079
37080 #undef $ac_func
37081
37082 /* Override any GCC internal prototype to avoid an error.
37083 Use char because int might match the return type of a GCC
37084 builtin and then its argument prototype would still apply. */
37085 #ifdef __cplusplus
37086 extern "C"
37087 #endif
37088 char $ac_func ();
37089 /* The GNU C library defines this for functions which it implements
37090 to always fail with ENOSYS. Some functions are actually named
37091 something starting with __ and the normal name is an alias. */
37092 #if defined __stub_$ac_func || defined __stub___$ac_func
37093 choke me
37094 #endif
37095
37096 int
37097 main ()
37098 {
37099 return $ac_func ();
37100 ;
37101 return 0;
37102 }
37103 _ACEOF
37104 rm -f conftest.$ac_objext conftest$ac_exeext
37105 if { (ac_try="$ac_link"
37106 case "(($ac_try" in
37107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37108 *) ac_try_echo=$ac_try;;
37109 esac
37110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37111 (eval "$ac_link") 2>conftest.er1
37112 ac_status=$?
37113 grep -v '^ *+' conftest.er1 >conftest.err
37114 rm -f conftest.er1
37115 cat conftest.err >&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); } && {
37118 test -z "$ac_c_werror_flag" ||
37119 test ! -s conftest.err
37120 } && test -s conftest$ac_exeext &&
37121 $as_test_x conftest$ac_exeext; then
37122 eval "$as_ac_var=yes"
37123 else
37124 echo "$as_me: failed program was:" >&5
37125 sed 's/^/| /' conftest.$ac_ext >&5
37126
37127 eval "$as_ac_var=no"
37128 fi
37129
37130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37131 conftest$ac_exeext conftest.$ac_ext
37132 fi
37133 ac_res=`eval echo '${'$as_ac_var'}'`
37134 { echo "$as_me:$LINENO: result: $ac_res" >&5
37135 echo "${ECHO_T}$ac_res" >&6; }
37136 if test `eval echo '${'$as_ac_var'}'` = yes; then
37137 cat >>confdefs.h <<_ACEOF
37138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37139 _ACEOF
37140 break
37141 fi
37142 done
37143
37144
37145 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37146 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37147 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37148 wxUSE_SNGLINST_CHECKER=no
37149 fi
37150 fi
37151
37152
37153
37154 for ac_func in setenv putenv
37155 do
37156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37157 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37159 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37160 echo $ECHO_N "(cached) $ECHO_C" >&6
37161 else
37162 cat >conftest.$ac_ext <<_ACEOF
37163 /* confdefs.h. */
37164 _ACEOF
37165 cat confdefs.h >>conftest.$ac_ext
37166 cat >>conftest.$ac_ext <<_ACEOF
37167 /* end confdefs.h. */
37168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37170 #define $ac_func innocuous_$ac_func
37171
37172 /* System header to define __stub macros and hopefully few prototypes,
37173 which can conflict with char $ac_func (); below.
37174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37175 <limits.h> exists even on freestanding compilers. */
37176
37177 #ifdef __STDC__
37178 # include <limits.h>
37179 #else
37180 # include <assert.h>
37181 #endif
37182
37183 #undef $ac_func
37184
37185 /* Override any GCC internal prototype to avoid an error.
37186 Use char because int might match the return type of a GCC
37187 builtin and then its argument prototype would still apply. */
37188 #ifdef __cplusplus
37189 extern "C"
37190 #endif
37191 char $ac_func ();
37192 /* The GNU C library defines this for functions which it implements
37193 to always fail with ENOSYS. Some functions are actually named
37194 something starting with __ and the normal name is an alias. */
37195 #if defined __stub_$ac_func || defined __stub___$ac_func
37196 choke me
37197 #endif
37198
37199 int
37200 main ()
37201 {
37202 return $ac_func ();
37203 ;
37204 return 0;
37205 }
37206 _ACEOF
37207 rm -f conftest.$ac_objext conftest$ac_exeext
37208 if { (ac_try="$ac_link"
37209 case "(($ac_try" in
37210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37211 *) ac_try_echo=$ac_try;;
37212 esac
37213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37214 (eval "$ac_link") 2>conftest.er1
37215 ac_status=$?
37216 grep -v '^ *+' conftest.er1 >conftest.err
37217 rm -f conftest.er1
37218 cat conftest.err >&5
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); } && {
37221 test -z "$ac_c_werror_flag" ||
37222 test ! -s conftest.err
37223 } && test -s conftest$ac_exeext &&
37224 $as_test_x conftest$ac_exeext; then
37225 eval "$as_ac_var=yes"
37226 else
37227 echo "$as_me: failed program was:" >&5
37228 sed 's/^/| /' conftest.$ac_ext >&5
37229
37230 eval "$as_ac_var=no"
37231 fi
37232
37233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37234 conftest$ac_exeext conftest.$ac_ext
37235 fi
37236 ac_res=`eval echo '${'$as_ac_var'}'`
37237 { echo "$as_me:$LINENO: result: $ac_res" >&5
37238 echo "${ECHO_T}$ac_res" >&6; }
37239 if test `eval echo '${'$as_ac_var'}'` = yes; then
37240 cat >>confdefs.h <<_ACEOF
37241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37242 _ACEOF
37243 break
37244 fi
37245 done
37246
37247 if test "$ac_cv_func_setenv" = "yes"; then
37248
37249 for ac_func in unsetenv
37250 do
37251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 else
37257 cat >conftest.$ac_ext <<_ACEOF
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37266
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37271
37272 #ifdef __STDC__
37273 # include <limits.h>
37274 #else
37275 # include <assert.h>
37276 #endif
37277
37278 #undef $ac_func
37279
37280 /* Override any GCC internal prototype to avoid an error.
37281 Use char because int might match the return type of a GCC
37282 builtin and then its argument prototype would still apply. */
37283 #ifdef __cplusplus
37284 extern "C"
37285 #endif
37286 char $ac_func ();
37287 /* The GNU C library defines this for functions which it implements
37288 to always fail with ENOSYS. Some functions are actually named
37289 something starting with __ and the normal name is an alias. */
37290 #if defined __stub_$ac_func || defined __stub___$ac_func
37291 choke me
37292 #endif
37293
37294 int
37295 main ()
37296 {
37297 return $ac_func ();
37298 ;
37299 return 0;
37300 }
37301 _ACEOF
37302 rm -f conftest.$ac_objext conftest$ac_exeext
37303 if { (ac_try="$ac_link"
37304 case "(($ac_try" in
37305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37306 *) ac_try_echo=$ac_try;;
37307 esac
37308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37309 (eval "$ac_link") 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } && {
37316 test -z "$ac_c_werror_flag" ||
37317 test ! -s conftest.err
37318 } && test -s conftest$ac_exeext &&
37319 $as_test_x conftest$ac_exeext; then
37320 eval "$as_ac_var=yes"
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 eval "$as_ac_var=no"
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37329 conftest$ac_exeext conftest.$ac_ext
37330 fi
37331 ac_res=`eval echo '${'$as_ac_var'}'`
37332 { echo "$as_me:$LINENO: result: $ac_res" >&5
37333 echo "${ECHO_T}$ac_res" >&6; }
37334 if test `eval echo '${'$as_ac_var'}'` = yes; then
37335 cat >>confdefs.h <<_ACEOF
37336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37337 _ACEOF
37338
37339 fi
37340 done
37341
37342 fi
37343
37344 HAVE_SOME_SLEEP_FUNC=0
37345 if test "$USE_BEOS" = 1; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define HAVE_SLEEP 1
37348 _ACEOF
37349
37350 HAVE_SOME_SLEEP_FUNC=1
37351 fi
37352
37353 if test "$USE_DARWIN" = 1; then
37354 cat >>confdefs.h <<\_ACEOF
37355 #define HAVE_USLEEP 1
37356 _ACEOF
37357
37358 HAVE_SOME_SLEEP_FUNC=1
37359 fi
37360
37361 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37362 POSIX4_LINK=
37363
37364 for ac_func in nanosleep
37365 do
37366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37367 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37370 echo $ECHO_N "(cached) $ECHO_C" >&6
37371 else
37372 cat >conftest.$ac_ext <<_ACEOF
37373 /* confdefs.h. */
37374 _ACEOF
37375 cat confdefs.h >>conftest.$ac_ext
37376 cat >>conftest.$ac_ext <<_ACEOF
37377 /* end confdefs.h. */
37378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37380 #define $ac_func innocuous_$ac_func
37381
37382 /* System header to define __stub macros and hopefully few prototypes,
37383 which can conflict with char $ac_func (); below.
37384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37385 <limits.h> exists even on freestanding compilers. */
37386
37387 #ifdef __STDC__
37388 # include <limits.h>
37389 #else
37390 # include <assert.h>
37391 #endif
37392
37393 #undef $ac_func
37394
37395 /* Override any GCC internal prototype to avoid an error.
37396 Use char because int might match the return type of a GCC
37397 builtin and then its argument prototype would still apply. */
37398 #ifdef __cplusplus
37399 extern "C"
37400 #endif
37401 char $ac_func ();
37402 /* The GNU C library defines this for functions which it implements
37403 to always fail with ENOSYS. Some functions are actually named
37404 something starting with __ and the normal name is an alias. */
37405 #if defined __stub_$ac_func || defined __stub___$ac_func
37406 choke me
37407 #endif
37408
37409 int
37410 main ()
37411 {
37412 return $ac_func ();
37413 ;
37414 return 0;
37415 }
37416 _ACEOF
37417 rm -f conftest.$ac_objext conftest$ac_exeext
37418 if { (ac_try="$ac_link"
37419 case "(($ac_try" in
37420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37421 *) ac_try_echo=$ac_try;;
37422 esac
37423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37424 (eval "$ac_link") 2>conftest.er1
37425 ac_status=$?
37426 grep -v '^ *+' conftest.er1 >conftest.err
37427 rm -f conftest.er1
37428 cat conftest.err >&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); } && {
37431 test -z "$ac_c_werror_flag" ||
37432 test ! -s conftest.err
37433 } && test -s conftest$ac_exeext &&
37434 $as_test_x conftest$ac_exeext; then
37435 eval "$as_ac_var=yes"
37436 else
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.$ac_ext >&5
37439
37440 eval "$as_ac_var=no"
37441 fi
37442
37443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37444 conftest$ac_exeext conftest.$ac_ext
37445 fi
37446 ac_res=`eval echo '${'$as_ac_var'}'`
37447 { echo "$as_me:$LINENO: result: $ac_res" >&5
37448 echo "${ECHO_T}$ac_res" >&6; }
37449 if test `eval echo '${'$as_ac_var'}'` = yes; then
37450 cat >>confdefs.h <<_ACEOF
37451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37452 _ACEOF
37453 cat >>confdefs.h <<\_ACEOF
37454 #define HAVE_NANOSLEEP 1
37455 _ACEOF
37456
37457 else
37458
37459 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37460 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37461 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37464 ac_check_lib_save_LIBS=$LIBS
37465 LIBS="-lposix4 $LIBS"
37466 cat >conftest.$ac_ext <<_ACEOF
37467 /* confdefs.h. */
37468 _ACEOF
37469 cat confdefs.h >>conftest.$ac_ext
37470 cat >>conftest.$ac_ext <<_ACEOF
37471 /* end confdefs.h. */
37472
37473 /* Override any GCC internal prototype to avoid an error.
37474 Use char because int might match the return type of a GCC
37475 builtin and then its argument prototype would still apply. */
37476 #ifdef __cplusplus
37477 extern "C"
37478 #endif
37479 char nanosleep ();
37480 int
37481 main ()
37482 {
37483 return nanosleep ();
37484 ;
37485 return 0;
37486 }
37487 _ACEOF
37488 rm -f conftest.$ac_objext conftest$ac_exeext
37489 if { (ac_try="$ac_link"
37490 case "(($ac_try" in
37491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37492 *) ac_try_echo=$ac_try;;
37493 esac
37494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37495 (eval "$ac_link") 2>conftest.er1
37496 ac_status=$?
37497 grep -v '^ *+' conftest.er1 >conftest.err
37498 rm -f conftest.er1
37499 cat conftest.err >&5
37500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37501 (exit $ac_status); } && {
37502 test -z "$ac_c_werror_flag" ||
37503 test ! -s conftest.err
37504 } && test -s conftest$ac_exeext &&
37505 $as_test_x conftest$ac_exeext; then
37506 ac_cv_lib_posix4_nanosleep=yes
37507 else
37508 echo "$as_me: failed program was:" >&5
37509 sed 's/^/| /' conftest.$ac_ext >&5
37510
37511 ac_cv_lib_posix4_nanosleep=no
37512 fi
37513
37514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37515 conftest$ac_exeext conftest.$ac_ext
37516 LIBS=$ac_check_lib_save_LIBS
37517 fi
37518 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37519 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37520 if test $ac_cv_lib_posix4_nanosleep = yes; then
37521
37522 cat >>confdefs.h <<\_ACEOF
37523 #define HAVE_NANOSLEEP 1
37524 _ACEOF
37525
37526 POSIX4_LINK=" -lposix4"
37527
37528 else
37529
37530
37531 for wx_func in usleep
37532 do
37533 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37535 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538
37539 cat >conftest.$ac_ext <<_ACEOF
37540
37541 /* confdefs.h. */
37542 _ACEOF
37543 cat confdefs.h >>conftest.$ac_ext
37544 cat >>conftest.$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37546
37547
37548 $ac_includes_default
37549
37550 int
37551 main ()
37552 {
37553
37554 #ifndef $wx_func
37555 &$wx_func;
37556 #endif
37557
37558
37559 ;
37560 return 0;
37561 }
37562
37563 _ACEOF
37564 rm -f conftest.$ac_objext conftest$ac_exeext
37565 if { (ac_try="$ac_link"
37566 case "(($ac_try" in
37567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37568 *) ac_try_echo=$ac_try;;
37569 esac
37570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37571 (eval "$ac_link") 2>conftest.er1
37572 ac_status=$?
37573 grep -v '^ *+' conftest.er1 >conftest.err
37574 rm -f conftest.er1
37575 cat conftest.err >&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } && {
37578 test -z "$ac_c_werror_flag" ||
37579 test ! -s conftest.err
37580 } && test -s conftest$ac_exeext &&
37581 $as_test_x conftest$ac_exeext; then
37582 eval wx_cv_func_$wx_func=yes
37583 else
37584 echo "$as_me: failed program was:" >&5
37585 sed 's/^/| /' conftest.$ac_ext >&5
37586
37587 eval wx_cv_func_$wx_func=no
37588 fi
37589
37590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37591 conftest$ac_exeext conftest.$ac_ext
37592
37593 fi
37594 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37595 { echo "$as_me:$LINENO: result: $ac_res" >&5
37596 echo "${ECHO_T}$ac_res" >&6; }
37597
37598 if eval test \$wx_cv_func_$wx_func = yes
37599 then
37600 cat >>confdefs.h <<_ACEOF
37601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37602 _ACEOF
37603
37604
37605 else
37606 :
37607 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37608 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37609
37610 fi
37611 done
37612
37613
37614
37615 fi
37616
37617
37618
37619 fi
37620 done
37621
37622 fi
37623
37624
37625 for wx_func in uname
37626 do
37627 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37628 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37629 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 else
37632
37633 cat >conftest.$ac_ext <<_ACEOF
37634
37635 /* confdefs.h. */
37636 _ACEOF
37637 cat confdefs.h >>conftest.$ac_ext
37638 cat >>conftest.$ac_ext <<_ACEOF
37639 /* end confdefs.h. */
37640
37641 #include <sys/utsname.h>
37642 $ac_includes_default
37643
37644 int
37645 main ()
37646 {
37647
37648 #ifndef $wx_func
37649 &$wx_func;
37650 #endif
37651
37652
37653 ;
37654 return 0;
37655 }
37656
37657 _ACEOF
37658 rm -f conftest.$ac_objext conftest$ac_exeext
37659 if { (ac_try="$ac_link"
37660 case "(($ac_try" in
37661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37662 *) ac_try_echo=$ac_try;;
37663 esac
37664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37665 (eval "$ac_link") 2>conftest.er1
37666 ac_status=$?
37667 grep -v '^ *+' conftest.er1 >conftest.err
37668 rm -f conftest.er1
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } && {
37672 test -z "$ac_c_werror_flag" ||
37673 test ! -s conftest.err
37674 } && test -s conftest$ac_exeext &&
37675 $as_test_x conftest$ac_exeext; then
37676 eval wx_cv_func_$wx_func=yes
37677 else
37678 echo "$as_me: failed program was:" >&5
37679 sed 's/^/| /' conftest.$ac_ext >&5
37680
37681 eval wx_cv_func_$wx_func=no
37682 fi
37683
37684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37685 conftest$ac_exeext conftest.$ac_ext
37686
37687 fi
37688 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37689 { echo "$as_me:$LINENO: result: $ac_res" >&5
37690 echo "${ECHO_T}$ac_res" >&6; }
37691
37692 if eval test \$wx_cv_func_$wx_func = yes
37693 then
37694 cat >>confdefs.h <<_ACEOF
37695 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37696 _ACEOF
37697
37698
37699 else
37700 :
37701
37702 fi
37703 done
37704
37705 if test "$wx_cv_func_uname" != yes; then
37706
37707 for wx_func in gethostname
37708 do
37709 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37710 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37711 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37713 else
37714
37715 cat >conftest.$ac_ext <<_ACEOF
37716
37717 /* confdefs.h. */
37718 _ACEOF
37719 cat confdefs.h >>conftest.$ac_ext
37720 cat >>conftest.$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37722
37723
37724 $ac_includes_default
37725
37726 int
37727 main ()
37728 {
37729
37730 #ifndef $wx_func
37731 &$wx_func;
37732 #endif
37733
37734
37735 ;
37736 return 0;
37737 }
37738
37739 _ACEOF
37740 rm -f conftest.$ac_objext conftest$ac_exeext
37741 if { (ac_try="$ac_link"
37742 case "(($ac_try" in
37743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37744 *) ac_try_echo=$ac_try;;
37745 esac
37746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37747 (eval "$ac_link") 2>conftest.er1
37748 ac_status=$?
37749 grep -v '^ *+' conftest.er1 >conftest.err
37750 rm -f conftest.er1
37751 cat conftest.err >&5
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); } && {
37754 test -z "$ac_c_werror_flag" ||
37755 test ! -s conftest.err
37756 } && test -s conftest$ac_exeext &&
37757 $as_test_x conftest$ac_exeext; then
37758 eval wx_cv_func_$wx_func=yes
37759 else
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.$ac_ext >&5
37762
37763 eval wx_cv_func_$wx_func=no
37764 fi
37765
37766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37767 conftest$ac_exeext conftest.$ac_ext
37768
37769 fi
37770 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37771 { echo "$as_me:$LINENO: result: $ac_res" >&5
37772 echo "${ECHO_T}$ac_res" >&6; }
37773
37774 if eval test \$wx_cv_func_$wx_func = yes
37775 then
37776 cat >>confdefs.h <<_ACEOF
37777 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37778 _ACEOF
37779
37780
37781 else
37782 :
37783
37784 fi
37785 done
37786
37787 fi
37788
37789
37790 for wx_func in strtok_r
37791 do
37792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37794 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37795 echo $ECHO_N "(cached) $ECHO_C" >&6
37796 else
37797
37798 cat >conftest.$ac_ext <<_ACEOF
37799
37800 /* confdefs.h. */
37801 _ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805
37806 #define _REENTRANT
37807 $ac_includes_default
37808
37809 int
37810 main ()
37811 {
37812
37813 #ifndef $wx_func
37814 &$wx_func;
37815 #endif
37816
37817
37818 ;
37819 return 0;
37820 }
37821
37822 _ACEOF
37823 rm -f conftest.$ac_objext conftest$ac_exeext
37824 if { (ac_try="$ac_link"
37825 case "(($ac_try" in
37826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37827 *) ac_try_echo=$ac_try;;
37828 esac
37829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37830 (eval "$ac_link") 2>conftest.er1
37831 ac_status=$?
37832 grep -v '^ *+' conftest.er1 >conftest.err
37833 rm -f conftest.er1
37834 cat conftest.err >&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); } && {
37837 test -z "$ac_c_werror_flag" ||
37838 test ! -s conftest.err
37839 } && test -s conftest$ac_exeext &&
37840 $as_test_x conftest$ac_exeext; then
37841 eval wx_cv_func_$wx_func=yes
37842 else
37843 echo "$as_me: failed program was:" >&5
37844 sed 's/^/| /' conftest.$ac_ext >&5
37845
37846 eval wx_cv_func_$wx_func=no
37847 fi
37848
37849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37850 conftest$ac_exeext conftest.$ac_ext
37851
37852 fi
37853 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37854 { echo "$as_me:$LINENO: result: $ac_res" >&5
37855 echo "${ECHO_T}$ac_res" >&6; }
37856
37857 if eval test \$wx_cv_func_$wx_func = yes
37858 then
37859 cat >>confdefs.h <<_ACEOF
37860 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37861 _ACEOF
37862
37863
37864 else
37865 :
37866
37867 fi
37868 done
37869
37870
37871 INET_LINK=
37872
37873 for ac_func in inet_addr
37874 do
37875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37879 echo $ECHO_N "(cached) $ECHO_C" >&6
37880 else
37881 cat >conftest.$ac_ext <<_ACEOF
37882 /* confdefs.h. */
37883 _ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37889 #define $ac_func innocuous_$ac_func
37890
37891 /* System header to define __stub macros and hopefully few prototypes,
37892 which can conflict with char $ac_func (); below.
37893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37894 <limits.h> exists even on freestanding compilers. */
37895
37896 #ifdef __STDC__
37897 # include <limits.h>
37898 #else
37899 # include <assert.h>
37900 #endif
37901
37902 #undef $ac_func
37903
37904 /* Override any GCC internal prototype to avoid an error.
37905 Use char because int might match the return type of a GCC
37906 builtin and then its argument prototype would still apply. */
37907 #ifdef __cplusplus
37908 extern "C"
37909 #endif
37910 char $ac_func ();
37911 /* The GNU C library defines this for functions which it implements
37912 to always fail with ENOSYS. Some functions are actually named
37913 something starting with __ and the normal name is an alias. */
37914 #if defined __stub_$ac_func || defined __stub___$ac_func
37915 choke me
37916 #endif
37917
37918 int
37919 main ()
37920 {
37921 return $ac_func ();
37922 ;
37923 return 0;
37924 }
37925 _ACEOF
37926 rm -f conftest.$ac_objext conftest$ac_exeext
37927 if { (ac_try="$ac_link"
37928 case "(($ac_try" in
37929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37931 esac
37932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_link") 2>conftest.er1
37934 ac_status=$?
37935 grep -v '^ *+' conftest.er1 >conftest.err
37936 rm -f conftest.er1
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); } && {
37940 test -z "$ac_c_werror_flag" ||
37941 test ! -s conftest.err
37942 } && test -s conftest$ac_exeext &&
37943 $as_test_x conftest$ac_exeext; then
37944 eval "$as_ac_var=yes"
37945 else
37946 echo "$as_me: failed program was:" >&5
37947 sed 's/^/| /' conftest.$ac_ext >&5
37948
37949 eval "$as_ac_var=no"
37950 fi
37951
37952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37953 conftest$ac_exeext conftest.$ac_ext
37954 fi
37955 ac_res=`eval echo '${'$as_ac_var'}'`
37956 { echo "$as_me:$LINENO: result: $ac_res" >&5
37957 echo "${ECHO_T}$ac_res" >&6; }
37958 if test `eval echo '${'$as_ac_var'}'` = yes; then
37959 cat >>confdefs.h <<_ACEOF
37960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37961 _ACEOF
37962 cat >>confdefs.h <<\_ACEOF
37963 #define HAVE_INET_ADDR 1
37964 _ACEOF
37965
37966 else
37967
37968 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37969 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37970 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37972 else
37973 ac_check_lib_save_LIBS=$LIBS
37974 LIBS="-lnsl $LIBS"
37975 cat >conftest.$ac_ext <<_ACEOF
37976 /* confdefs.h. */
37977 _ACEOF
37978 cat confdefs.h >>conftest.$ac_ext
37979 cat >>conftest.$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37981
37982 /* Override any GCC internal prototype to avoid an error.
37983 Use char because int might match the return type of a GCC
37984 builtin and then its argument prototype would still apply. */
37985 #ifdef __cplusplus
37986 extern "C"
37987 #endif
37988 char inet_addr ();
37989 int
37990 main ()
37991 {
37992 return inet_addr ();
37993 ;
37994 return 0;
37995 }
37996 _ACEOF
37997 rm -f conftest.$ac_objext conftest$ac_exeext
37998 if { (ac_try="$ac_link"
37999 case "(($ac_try" in
38000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38001 *) ac_try_echo=$ac_try;;
38002 esac
38003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38004 (eval "$ac_link") 2>conftest.er1
38005 ac_status=$?
38006 grep -v '^ *+' conftest.er1 >conftest.err
38007 rm -f conftest.er1
38008 cat conftest.err >&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); } && {
38011 test -z "$ac_c_werror_flag" ||
38012 test ! -s conftest.err
38013 } && test -s conftest$ac_exeext &&
38014 $as_test_x conftest$ac_exeext; then
38015 ac_cv_lib_nsl_inet_addr=yes
38016 else
38017 echo "$as_me: failed program was:" >&5
38018 sed 's/^/| /' conftest.$ac_ext >&5
38019
38020 ac_cv_lib_nsl_inet_addr=no
38021 fi
38022
38023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38024 conftest$ac_exeext conftest.$ac_ext
38025 LIBS=$ac_check_lib_save_LIBS
38026 fi
38027 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38028 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38029 if test $ac_cv_lib_nsl_inet_addr = yes; then
38030 INET_LINK="nsl"
38031 else
38032
38033 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38034 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38035 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 else
38038 ac_check_lib_save_LIBS=$LIBS
38039 LIBS="-lresolv $LIBS"
38040 cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046
38047 /* Override any GCC internal prototype to avoid an error.
38048 Use char because int might match the return type of a GCC
38049 builtin and then its argument prototype would still apply. */
38050 #ifdef __cplusplus
38051 extern "C"
38052 #endif
38053 char inet_addr ();
38054 int
38055 main ()
38056 {
38057 return inet_addr ();
38058 ;
38059 return 0;
38060 }
38061 _ACEOF
38062 rm -f conftest.$ac_objext conftest$ac_exeext
38063 if { (ac_try="$ac_link"
38064 case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38067 esac
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_link") 2>conftest.er1
38070 ac_status=$?
38071 grep -v '^ *+' conftest.er1 >conftest.err
38072 rm -f conftest.er1
38073 cat conftest.err >&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); } && {
38076 test -z "$ac_c_werror_flag" ||
38077 test ! -s conftest.err
38078 } && test -s conftest$ac_exeext &&
38079 $as_test_x conftest$ac_exeext; then
38080 ac_cv_lib_resolv_inet_addr=yes
38081 else
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38084
38085 ac_cv_lib_resolv_inet_addr=no
38086 fi
38087
38088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38089 conftest$ac_exeext conftest.$ac_ext
38090 LIBS=$ac_check_lib_save_LIBS
38091 fi
38092 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38093 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38094 if test $ac_cv_lib_resolv_inet_addr = yes; then
38095 INET_LINK="resolv"
38096 else
38097
38098 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38099 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38100 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38101 echo $ECHO_N "(cached) $ECHO_C" >&6
38102 else
38103 ac_check_lib_save_LIBS=$LIBS
38104 LIBS="-lsocket $LIBS"
38105 cat >conftest.$ac_ext <<_ACEOF
38106 /* confdefs.h. */
38107 _ACEOF
38108 cat confdefs.h >>conftest.$ac_ext
38109 cat >>conftest.$ac_ext <<_ACEOF
38110 /* end confdefs.h. */
38111
38112 /* Override any GCC internal prototype to avoid an error.
38113 Use char because int might match the return type of a GCC
38114 builtin and then its argument prototype would still apply. */
38115 #ifdef __cplusplus
38116 extern "C"
38117 #endif
38118 char inet_addr ();
38119 int
38120 main ()
38121 {
38122 return inet_addr ();
38123 ;
38124 return 0;
38125 }
38126 _ACEOF
38127 rm -f conftest.$ac_objext conftest$ac_exeext
38128 if { (ac_try="$ac_link"
38129 case "(($ac_try" in
38130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38131 *) ac_try_echo=$ac_try;;
38132 esac
38133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38134 (eval "$ac_link") 2>conftest.er1
38135 ac_status=$?
38136 grep -v '^ *+' conftest.er1 >conftest.err
38137 rm -f conftest.er1
38138 cat conftest.err >&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } && {
38141 test -z "$ac_c_werror_flag" ||
38142 test ! -s conftest.err
38143 } && test -s conftest$ac_exeext &&
38144 $as_test_x conftest$ac_exeext; then
38145 ac_cv_lib_socket_inet_addr=yes
38146 else
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.$ac_ext >&5
38149
38150 ac_cv_lib_socket_inet_addr=no
38151 fi
38152
38153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38154 conftest$ac_exeext conftest.$ac_ext
38155 LIBS=$ac_check_lib_save_LIBS
38156 fi
38157 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38158 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38159 if test $ac_cv_lib_socket_inet_addr = yes; then
38160 INET_LINK="socket"
38161
38162 fi
38163
38164
38165
38166 fi
38167
38168
38169
38170 fi
38171
38172
38173
38174 fi
38175 done
38176
38177
38178
38179 for ac_func in inet_aton
38180 do
38181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38182 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38184 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38187 cat >conftest.$ac_ext <<_ACEOF
38188 /* confdefs.h. */
38189 _ACEOF
38190 cat confdefs.h >>conftest.$ac_ext
38191 cat >>conftest.$ac_ext <<_ACEOF
38192 /* end confdefs.h. */
38193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38195 #define $ac_func innocuous_$ac_func
38196
38197 /* System header to define __stub macros and hopefully few prototypes,
38198 which can conflict with char $ac_func (); below.
38199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38200 <limits.h> exists even on freestanding compilers. */
38201
38202 #ifdef __STDC__
38203 # include <limits.h>
38204 #else
38205 # include <assert.h>
38206 #endif
38207
38208 #undef $ac_func
38209
38210 /* Override any GCC internal prototype to avoid an error.
38211 Use char because int might match the return type of a GCC
38212 builtin and then its argument prototype would still apply. */
38213 #ifdef __cplusplus
38214 extern "C"
38215 #endif
38216 char $ac_func ();
38217 /* The GNU C library defines this for functions which it implements
38218 to always fail with ENOSYS. Some functions are actually named
38219 something starting with __ and the normal name is an alias. */
38220 #if defined __stub_$ac_func || defined __stub___$ac_func
38221 choke me
38222 #endif
38223
38224 int
38225 main ()
38226 {
38227 return $ac_func ();
38228 ;
38229 return 0;
38230 }
38231 _ACEOF
38232 rm -f conftest.$ac_objext conftest$ac_exeext
38233 if { (ac_try="$ac_link"
38234 case "(($ac_try" in
38235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38236 *) ac_try_echo=$ac_try;;
38237 esac
38238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38239 (eval "$ac_link") 2>conftest.er1
38240 ac_status=$?
38241 grep -v '^ *+' conftest.er1 >conftest.err
38242 rm -f conftest.er1
38243 cat conftest.err >&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } && {
38246 test -z "$ac_c_werror_flag" ||
38247 test ! -s conftest.err
38248 } && test -s conftest$ac_exeext &&
38249 $as_test_x conftest$ac_exeext; then
38250 eval "$as_ac_var=yes"
38251 else
38252 echo "$as_me: failed program was:" >&5
38253 sed 's/^/| /' conftest.$ac_ext >&5
38254
38255 eval "$as_ac_var=no"
38256 fi
38257
38258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38259 conftest$ac_exeext conftest.$ac_ext
38260 fi
38261 ac_res=`eval echo '${'$as_ac_var'}'`
38262 { echo "$as_me:$LINENO: result: $ac_res" >&5
38263 echo "${ECHO_T}$ac_res" >&6; }
38264 if test `eval echo '${'$as_ac_var'}'` = yes; then
38265 cat >>confdefs.h <<_ACEOF
38266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38267 _ACEOF
38268 cat >>confdefs.h <<\_ACEOF
38269 #define HAVE_INET_ATON 1
38270 _ACEOF
38271
38272 else
38273
38274 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38275 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38276 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38277 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38279 else
38280 ac_check_lib_save_LIBS=$LIBS
38281 LIBS="-l$INET_LINK $LIBS"
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288
38289 /* Override any GCC internal prototype to avoid an error.
38290 Use char because int might match the return type of a GCC
38291 builtin and then its argument prototype would still apply. */
38292 #ifdef __cplusplus
38293 extern "C"
38294 #endif
38295 char inet_aton ();
38296 int
38297 main ()
38298 {
38299 return inet_aton ();
38300 ;
38301 return 0;
38302 }
38303 _ACEOF
38304 rm -f conftest.$ac_objext conftest$ac_exeext
38305 if { (ac_try="$ac_link"
38306 case "(($ac_try" in
38307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38308 *) ac_try_echo=$ac_try;;
38309 esac
38310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38311 (eval "$ac_link") 2>conftest.er1
38312 ac_status=$?
38313 grep -v '^ *+' conftest.er1 >conftest.err
38314 rm -f conftest.er1
38315 cat conftest.err >&5
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); } && {
38318 test -z "$ac_c_werror_flag" ||
38319 test ! -s conftest.err
38320 } && test -s conftest$ac_exeext &&
38321 $as_test_x conftest$ac_exeext; then
38322 eval "$as_ac_Lib=yes"
38323 else
38324 echo "$as_me: failed program was:" >&5
38325 sed 's/^/| /' conftest.$ac_ext >&5
38326
38327 eval "$as_ac_Lib=no"
38328 fi
38329
38330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38331 conftest$ac_exeext conftest.$ac_ext
38332 LIBS=$ac_check_lib_save_LIBS
38333 fi
38334 ac_res=`eval echo '${'$as_ac_Lib'}'`
38335 { echo "$as_me:$LINENO: result: $ac_res" >&5
38336 echo "${ECHO_T}$ac_res" >&6; }
38337 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38338 cat >>confdefs.h <<\_ACEOF
38339 #define HAVE_INET_ATON 1
38340 _ACEOF
38341
38342 fi
38343
38344
38345 fi
38346 done
38347
38348
38349 if test "x$INET_LINK" != "x"; then
38350 cat >>confdefs.h <<\_ACEOF
38351 #define HAVE_INET_ADDR 1
38352 _ACEOF
38353
38354 INET_LINK=" -l$INET_LINK"
38355 fi
38356
38357
38358 for wx_func in fdopen
38359 do
38360 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38361 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38362 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 else
38365
38366 cat >conftest.$ac_ext <<_ACEOF
38367
38368 /* confdefs.h. */
38369 _ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38373
38374
38375 $ac_includes_default
38376
38377 int
38378 main ()
38379 {
38380
38381 #ifndef $wx_func
38382 &$wx_func;
38383 #endif
38384
38385
38386 ;
38387 return 0;
38388 }
38389
38390 _ACEOF
38391 rm -f conftest.$ac_objext conftest$ac_exeext
38392 if { (ac_try="$ac_link"
38393 case "(($ac_try" in
38394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38395 *) ac_try_echo=$ac_try;;
38396 esac
38397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38398 (eval "$ac_link") 2>conftest.er1
38399 ac_status=$?
38400 grep -v '^ *+' conftest.er1 >conftest.err
38401 rm -f conftest.er1
38402 cat conftest.err >&5
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); } && {
38405 test -z "$ac_c_werror_flag" ||
38406 test ! -s conftest.err
38407 } && test -s conftest$ac_exeext &&
38408 $as_test_x conftest$ac_exeext; then
38409 eval wx_cv_func_$wx_func=yes
38410 else
38411 echo "$as_me: failed program was:" >&5
38412 sed 's/^/| /' conftest.$ac_ext >&5
38413
38414 eval wx_cv_func_$wx_func=no
38415 fi
38416
38417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38418 conftest$ac_exeext conftest.$ac_ext
38419
38420 fi
38421 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38422 { echo "$as_me:$LINENO: result: $ac_res" >&5
38423 echo "${ECHO_T}$ac_res" >&6; }
38424
38425 if eval test \$wx_cv_func_$wx_func = yes
38426 then
38427 cat >>confdefs.h <<_ACEOF
38428 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38429 _ACEOF
38430
38431
38432 else
38433 :
38434
38435 fi
38436 done
38437
38438
38439 if test "$wxUSE_TARSTREAM" = "yes"; then
38440
38441 for wx_func in sysconf
38442 do
38443 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38444 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38445 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448
38449 cat >conftest.$ac_ext <<_ACEOF
38450
38451 /* confdefs.h. */
38452 _ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38456
38457
38458 $ac_includes_default
38459
38460 int
38461 main ()
38462 {
38463
38464 #ifndef $wx_func
38465 &$wx_func;
38466 #endif
38467
38468
38469 ;
38470 return 0;
38471 }
38472
38473 _ACEOF
38474 rm -f conftest.$ac_objext conftest$ac_exeext
38475 if { (ac_try="$ac_link"
38476 case "(($ac_try" in
38477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38478 *) ac_try_echo=$ac_try;;
38479 esac
38480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38481 (eval "$ac_link") 2>conftest.er1
38482 ac_status=$?
38483 grep -v '^ *+' conftest.er1 >conftest.err
38484 rm -f conftest.er1
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } && {
38488 test -z "$ac_c_werror_flag" ||
38489 test ! -s conftest.err
38490 } && test -s conftest$ac_exeext &&
38491 $as_test_x conftest$ac_exeext; then
38492 eval wx_cv_func_$wx_func=yes
38493 else
38494 echo "$as_me: failed program was:" >&5
38495 sed 's/^/| /' conftest.$ac_ext >&5
38496
38497 eval wx_cv_func_$wx_func=no
38498 fi
38499
38500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38501 conftest$ac_exeext conftest.$ac_ext
38502
38503 fi
38504 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38505 { echo "$as_me:$LINENO: result: $ac_res" >&5
38506 echo "${ECHO_T}$ac_res" >&6; }
38507
38508 if eval test \$wx_cv_func_$wx_func = yes
38509 then
38510 cat >>confdefs.h <<_ACEOF
38511 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38512 _ACEOF
38513
38514
38515 else
38516 :
38517
38518 fi
38519 done
38520
38521
38522
38523 for wx_func in getpwuid_r
38524 do
38525 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38526 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38527 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38528 echo $ECHO_N "(cached) $ECHO_C" >&6
38529 else
38530
38531 cat >conftest.$ac_ext <<_ACEOF
38532
38533 /* confdefs.h. */
38534 _ACEOF
38535 cat confdefs.h >>conftest.$ac_ext
38536 cat >>conftest.$ac_ext <<_ACEOF
38537 /* end confdefs.h. */
38538
38539
38540 #define _REENTRANT
38541 #include <pwd.h>
38542
38543 $ac_includes_default
38544
38545 int
38546 main ()
38547 {
38548
38549 #ifndef $wx_func
38550 &$wx_func;
38551 #endif
38552
38553 struct passwd pw, *ppw;
38554 char buf[1024];
38555 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38556
38557
38558 ;
38559 return 0;
38560 }
38561
38562 _ACEOF
38563 rm -f conftest.$ac_objext conftest$ac_exeext
38564 if { (ac_try="$ac_link"
38565 case "(($ac_try" in
38566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38567 *) ac_try_echo=$ac_try;;
38568 esac
38569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38570 (eval "$ac_link") 2>conftest.er1
38571 ac_status=$?
38572 grep -v '^ *+' conftest.er1 >conftest.err
38573 rm -f conftest.er1
38574 cat conftest.err >&5
38575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38576 (exit $ac_status); } && {
38577 test -z "$ac_c_werror_flag" ||
38578 test ! -s conftest.err
38579 } && test -s conftest$ac_exeext &&
38580 $as_test_x conftest$ac_exeext; then
38581 eval wx_cv_func_$wx_func=yes
38582 else
38583 echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586 eval wx_cv_func_$wx_func=no
38587 fi
38588
38589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38590 conftest$ac_exeext conftest.$ac_ext
38591
38592 fi
38593 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38594 { echo "$as_me:$LINENO: result: $ac_res" >&5
38595 echo "${ECHO_T}$ac_res" >&6; }
38596
38597 if eval test \$wx_cv_func_$wx_func = yes
38598 then
38599 cat >>confdefs.h <<_ACEOF
38600 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38601 _ACEOF
38602
38603
38604 else
38605 :
38606
38607 fi
38608 done
38609
38610
38611
38612 for wx_func in getgrgid_r
38613 do
38614 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38615 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38616 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38617 echo $ECHO_N "(cached) $ECHO_C" >&6
38618 else
38619
38620 cat >conftest.$ac_ext <<_ACEOF
38621
38622 /* confdefs.h. */
38623 _ACEOF
38624 cat confdefs.h >>conftest.$ac_ext
38625 cat >>conftest.$ac_ext <<_ACEOF
38626 /* end confdefs.h. */
38627
38628
38629 #define _REENTRANT
38630 #include <grp.h>
38631
38632 $ac_includes_default
38633
38634 int
38635 main ()
38636 {
38637
38638 #ifndef $wx_func
38639 &$wx_func;
38640 #endif
38641
38642 struct group grp, *pgrp;
38643 char buf[1024];
38644 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38645
38646
38647 ;
38648 return 0;
38649 }
38650
38651 _ACEOF
38652 rm -f conftest.$ac_objext conftest$ac_exeext
38653 if { (ac_try="$ac_link"
38654 case "(($ac_try" in
38655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38656 *) ac_try_echo=$ac_try;;
38657 esac
38658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38659 (eval "$ac_link") 2>conftest.er1
38660 ac_status=$?
38661 grep -v '^ *+' conftest.er1 >conftest.err
38662 rm -f conftest.er1
38663 cat conftest.err >&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); } && {
38666 test -z "$ac_c_werror_flag" ||
38667 test ! -s conftest.err
38668 } && test -s conftest$ac_exeext &&
38669 $as_test_x conftest$ac_exeext; then
38670 eval wx_cv_func_$wx_func=yes
38671 else
38672 echo "$as_me: failed program was:" >&5
38673 sed 's/^/| /' conftest.$ac_ext >&5
38674
38675 eval wx_cv_func_$wx_func=no
38676 fi
38677
38678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38679 conftest$ac_exeext conftest.$ac_ext
38680
38681 fi
38682 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38683 { echo "$as_me:$LINENO: result: $ac_res" >&5
38684 echo "${ECHO_T}$ac_res" >&6; }
38685
38686 if eval test \$wx_cv_func_$wx_func = yes
38687 then
38688 cat >>confdefs.h <<_ACEOF
38689 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38690 _ACEOF
38691
38692
38693 else
38694 :
38695
38696 fi
38697 done
38698
38699 fi
38700
38701 fi
38702
38703
38704
38705 cat >confcache <<\_ACEOF
38706 # This file is a shell script that caches the results of configure
38707 # tests run on this system so they can be shared between configure
38708 # scripts and configure runs, see configure's option --config-cache.
38709 # It is not useful on other systems. If it contains results you don't
38710 # want to keep, you may remove or edit it.
38711 #
38712 # config.status only pays attention to the cache file if you give it
38713 # the --recheck option to rerun configure.
38714 #
38715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38717 # following values.
38718
38719 _ACEOF
38720
38721 # The following way of writing the cache mishandles newlines in values,
38722 # but we know of no workaround that is simple, portable, and efficient.
38723 # So, we kill variables containing newlines.
38724 # Ultrix sh set writes to stderr and can't be redirected directly,
38725 # and sets the high bit in the cache file unless we assign to the vars.
38726 (
38727 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38728 eval ac_val=\$$ac_var
38729 case $ac_val in #(
38730 *${as_nl}*)
38731 case $ac_var in #(
38732 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38734 esac
38735 case $ac_var in #(
38736 _ | IFS | as_nl) ;; #(
38737 *) $as_unset $ac_var ;;
38738 esac ;;
38739 esac
38740 done
38741
38742 (set) 2>&1 |
38743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38744 *${as_nl}ac_space=\ *)
38745 # `set' does not quote correctly, so add quotes (double-quote
38746 # substitution turns \\\\ into \\, and sed turns \\ into \).
38747 sed -n \
38748 "s/'/'\\\\''/g;
38749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38750 ;; #(
38751 *)
38752 # `set' quotes correctly as required by POSIX, so do not add quotes.
38753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38754 ;;
38755 esac |
38756 sort
38757 ) |
38758 sed '
38759 /^ac_cv_env_/b end
38760 t clear
38761 :clear
38762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38763 t end
38764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38765 :end' >>confcache
38766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38767 if test -w "$cache_file"; then
38768 test "x$cache_file" != "x/dev/null" &&
38769 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38770 echo "$as_me: updating cache $cache_file" >&6;}
38771 cat confcache >$cache_file
38772 else
38773 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38775 fi
38776 fi
38777 rm -f confcache
38778
38779
38780 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38781
38782
38783 THREADS_LINK=
38784 THREADS_CFLAGS=
38785
38786 if test "$wxUSE_THREADS" = "yes" ; then
38787 if test "$USE_BEOS" = 1; then
38788 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38789 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38790 wxUSE_THREADS="no"
38791 fi
38792 fi
38793
38794 if test "$wxUSE_THREADS" = "yes" ; then
38795
38796
38797 THREAD_OPTS="-pthread"
38798 if test "x$SUNCXX" = xyes; then
38799 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38800 fi
38801
38802 case "${host}" in
38803 *-*-solaris2* | *-*-sunos4* )
38804 if test "x$GCC" = "xyes"; then
38805 THREAD_OPTS="-pthreads $THREAD_OPTS"
38806 fi
38807 ;;
38808 *-*-freebsd*)
38809 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38810 ;;
38811 *-*-darwin* | *-*-cygwin* )
38812 THREAD_OPTS=""
38813 ;;
38814 *-*-aix*)
38815 THREAD_OPTS="pthreads"
38816 ;;
38817 *-hp-hpux* )
38818 if test "x$GCC" = "xyes"; then
38819 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38820 THREAD_OPTS=""
38821 else
38822 THREAD_OPTS="-mt"
38823 fi
38824 ;;
38825
38826 *-*-irix* )
38827 if test "x$GCC" = "xyes"; then
38828 THREAD_OPTS=""
38829 fi
38830 ;;
38831
38832 *-*-*UnixWare*)
38833 if test "x$GCC" != "xyes"; then
38834 THREAD_OPTS="-Ethread"
38835 fi
38836 ;;
38837 esac
38838
38839 THREAD_OPTS="$THREAD_OPTS pthread none"
38840
38841 THREADS_OK=no
38842 for flag in $THREAD_OPTS; do
38843 case $flag in
38844 none)
38845 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38846 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38847 ;;
38848
38849 -*)
38850 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38851 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38852 THREADS_CFLAGS="$flag"
38853 ;;
38854
38855 *)
38856 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38857 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38858 THREADS_LINK="-l$flag"
38859 ;;
38860 esac
38861
38862 save_LIBS="$LIBS"
38863 save_CFLAGS="$CFLAGS"
38864 LIBS="$THREADS_LINK $LIBS"
38865 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38866
38867 cat >conftest.$ac_ext <<_ACEOF
38868 /* confdefs.h. */
38869 _ACEOF
38870 cat confdefs.h >>conftest.$ac_ext
38871 cat >>conftest.$ac_ext <<_ACEOF
38872 /* end confdefs.h. */
38873 #include <pthread.h>
38874 int
38875 main ()
38876 {
38877 pthread_create(0,0,0,0);
38878 ;
38879 return 0;
38880 }
38881 _ACEOF
38882 rm -f conftest.$ac_objext conftest$ac_exeext
38883 if { (ac_try="$ac_link"
38884 case "(($ac_try" in
38885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38886 *) ac_try_echo=$ac_try;;
38887 esac
38888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38889 (eval "$ac_link") 2>conftest.er1
38890 ac_status=$?
38891 grep -v '^ *+' conftest.er1 >conftest.err
38892 rm -f conftest.er1
38893 cat conftest.err >&5
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); } && {
38896 test -z "$ac_c_werror_flag" ||
38897 test ! -s conftest.err
38898 } && test -s conftest$ac_exeext &&
38899 $as_test_x conftest$ac_exeext; then
38900 THREADS_OK=yes
38901 else
38902 echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38904
38905
38906 fi
38907
38908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38909 conftest$ac_exeext conftest.$ac_ext
38910
38911 LIBS="$save_LIBS"
38912 CFLAGS="$save_CFLAGS"
38913
38914 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38915 echo "${ECHO_T}$THREADS_OK" >&6; }
38916 if test "x$THREADS_OK" = "xyes"; then
38917 break;
38918 fi
38919
38920 THREADS_LINK=""
38921 THREADS_CFLAGS=""
38922 done
38923
38924 if test "x$THREADS_OK" != "xyes"; then
38925 wxUSE_THREADS=no
38926 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38927 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38928 else
38929 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38930 LIBS="$THREADS_LINK $LIBS"
38931
38932 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38933 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38934 flag=no
38935 case "${host}" in
38936 *-aix*)
38937 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38938 flag="-D_THREAD_SAFE"
38939 ;;
38940 *-freebsd*)
38941 flag="-D_THREAD_SAFE"
38942 ;;
38943 *-hp-hpux* )
38944 flag="-D_REENTRANT"
38945 if test "x$GCC" != "xyes"; then
38946 flag="$flag -D_RWSTD_MULTI_THREAD"
38947 fi
38948 ;;
38949 *solaris* | alpha*-osf*)
38950 flag="-D_REENTRANT"
38951 ;;
38952 esac
38953 { echo "$as_me:$LINENO: result: ${flag}" >&5
38954 echo "${ECHO_T}${flag}" >&6; }
38955 if test "x$flag" != xno; then
38956 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38957 fi
38958
38959 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38960 fi
38961 fi
38962
38963 if test "$wxUSE_THREADS" = "yes" ; then
38964
38965 for ac_func in thr_setconcurrency
38966 do
38967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38971 echo $ECHO_N "(cached) $ECHO_C" >&6
38972 else
38973 cat >conftest.$ac_ext <<_ACEOF
38974 /* confdefs.h. */
38975 _ACEOF
38976 cat confdefs.h >>conftest.$ac_ext
38977 cat >>conftest.$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38981 #define $ac_func innocuous_$ac_func
38982
38983 /* System header to define __stub macros and hopefully few prototypes,
38984 which can conflict with char $ac_func (); below.
38985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38986 <limits.h> exists even on freestanding compilers. */
38987
38988 #ifdef __STDC__
38989 # include <limits.h>
38990 #else
38991 # include <assert.h>
38992 #endif
38993
38994 #undef $ac_func
38995
38996 /* Override any GCC internal prototype to avoid an error.
38997 Use char because int might match the return type of a GCC
38998 builtin and then its argument prototype would still apply. */
38999 #ifdef __cplusplus
39000 extern "C"
39001 #endif
39002 char $ac_func ();
39003 /* The GNU C library defines this for functions which it implements
39004 to always fail with ENOSYS. Some functions are actually named
39005 something starting with __ and the normal name is an alias. */
39006 #if defined __stub_$ac_func || defined __stub___$ac_func
39007 choke me
39008 #endif
39009
39010 int
39011 main ()
39012 {
39013 return $ac_func ();
39014 ;
39015 return 0;
39016 }
39017 _ACEOF
39018 rm -f conftest.$ac_objext conftest$ac_exeext
39019 if { (ac_try="$ac_link"
39020 case "(($ac_try" in
39021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39022 *) ac_try_echo=$ac_try;;
39023 esac
39024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39025 (eval "$ac_link") 2>conftest.er1
39026 ac_status=$?
39027 grep -v '^ *+' conftest.er1 >conftest.err
39028 rm -f conftest.er1
39029 cat conftest.err >&5
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); } && {
39032 test -z "$ac_c_werror_flag" ||
39033 test ! -s conftest.err
39034 } && test -s conftest$ac_exeext &&
39035 $as_test_x conftest$ac_exeext; then
39036 eval "$as_ac_var=yes"
39037 else
39038 echo "$as_me: failed program was:" >&5
39039 sed 's/^/| /' conftest.$ac_ext >&5
39040
39041 eval "$as_ac_var=no"
39042 fi
39043
39044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39045 conftest$ac_exeext conftest.$ac_ext
39046 fi
39047 ac_res=`eval echo '${'$as_ac_var'}'`
39048 { echo "$as_me:$LINENO: result: $ac_res" >&5
39049 echo "${ECHO_T}$ac_res" >&6; }
39050 if test `eval echo '${'$as_ac_var'}'` = yes; then
39051 cat >>confdefs.h <<_ACEOF
39052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39053 _ACEOF
39054
39055 fi
39056 done
39057
39058
39059 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39060 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39061 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39062 echo $ECHO_N "(cached) $ECHO_C" >&6
39063 else
39064
39065 ac_ext=cpp
39066 ac_cpp='$CXXCPP $CPPFLAGS'
39067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39070
39071 cat >conftest.$ac_ext <<_ACEOF
39072 /* confdefs.h. */
39073 _ACEOF
39074 cat confdefs.h >>conftest.$ac_ext
39075 cat >>conftest.$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 #include <pthread.h>
39078 void ThreadCleanupFunc(void *p);
39079
39080 int
39081 main ()
39082 {
39083
39084 void *p;
39085 pthread_cleanup_push(ThreadCleanupFunc, p);
39086 pthread_cleanup_pop(0);
39087
39088 ;
39089 return 0;
39090 }
39091 _ACEOF
39092 rm -f conftest.$ac_objext
39093 if { (ac_try="$ac_compile"
39094 case "(($ac_try" in
39095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39096 *) ac_try_echo=$ac_try;;
39097 esac
39098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39099 (eval "$ac_compile") 2>conftest.er1
39100 ac_status=$?
39101 grep -v '^ *+' conftest.er1 >conftest.err
39102 rm -f conftest.er1
39103 cat conftest.err >&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } && {
39106 test -z "$ac_cxx_werror_flag" ||
39107 test ! -s conftest.err
39108 } && test -s conftest.$ac_objext; then
39109
39110 wx_cv_func_pthread_cleanup=yes
39111
39112 else
39113 echo "$as_me: failed program was:" >&5
39114 sed 's/^/| /' conftest.$ac_ext >&5
39115
39116
39117 wx_cv_func_pthread_cleanup=no
39118
39119
39120 fi
39121
39122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39123 ac_ext=c
39124 ac_cpp='$CPP $CPPFLAGS'
39125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39128
39129
39130 fi
39131 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39132 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39133 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define wxHAVE_PTHREAD_CLEANUP 1
39136 _ACEOF
39137
39138 fi
39139
39140
39141 for ac_header in sched.h
39142 do
39143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39147 echo $ECHO_N "(cached) $ECHO_C" >&6
39148 else
39149 cat >conftest.$ac_ext <<_ACEOF
39150 /* confdefs.h. */
39151 _ACEOF
39152 cat confdefs.h >>conftest.$ac_ext
39153 cat >>conftest.$ac_ext <<_ACEOF
39154 /* end confdefs.h. */
39155 $ac_includes_default
39156
39157 #include <$ac_header>
39158 _ACEOF
39159 rm -f conftest.$ac_objext
39160 if { (ac_try="$ac_compile"
39161 case "(($ac_try" in
39162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39163 *) ac_try_echo=$ac_try;;
39164 esac
39165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39166 (eval "$ac_compile") 2>conftest.er1
39167 ac_status=$?
39168 grep -v '^ *+' conftest.er1 >conftest.err
39169 rm -f conftest.er1
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } && {
39173 test -z "$ac_c_werror_flag" ||
39174 test ! -s conftest.err
39175 } && test -s conftest.$ac_objext; then
39176 eval "$as_ac_Header=yes"
39177 else
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39180
39181 eval "$as_ac_Header=no"
39182 fi
39183
39184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39185 fi
39186 ac_res=`eval echo '${'$as_ac_Header'}'`
39187 { echo "$as_me:$LINENO: result: $ac_res" >&5
39188 echo "${ECHO_T}$ac_res" >&6; }
39189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39190 cat >>confdefs.h <<_ACEOF
39191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39192 _ACEOF
39193
39194 fi
39195
39196 done
39197
39198 if test "$ac_cv_header_sched_h" = "yes"; then
39199 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39200 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39201 if test "${ac_cv_func_sched_yield+set}" = set; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39204 cat >conftest.$ac_ext <<_ACEOF
39205 /* confdefs.h. */
39206 _ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39212 #define sched_yield innocuous_sched_yield
39213
39214 /* System header to define __stub macros and hopefully few prototypes,
39215 which can conflict with char sched_yield (); below.
39216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39217 <limits.h> exists even on freestanding compilers. */
39218
39219 #ifdef __STDC__
39220 # include <limits.h>
39221 #else
39222 # include <assert.h>
39223 #endif
39224
39225 #undef sched_yield
39226
39227 /* Override any GCC internal prototype to avoid an error.
39228 Use char because int might match the return type of a GCC
39229 builtin and then its argument prototype would still apply. */
39230 #ifdef __cplusplus
39231 extern "C"
39232 #endif
39233 char sched_yield ();
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined __stub_sched_yield || defined __stub___sched_yield
39238 choke me
39239 #endif
39240
39241 int
39242 main ()
39243 {
39244 return sched_yield ();
39245 ;
39246 return 0;
39247 }
39248 _ACEOF
39249 rm -f conftest.$ac_objext conftest$ac_exeext
39250 if { (ac_try="$ac_link"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39253 *) ac_try_echo=$ac_try;;
39254 esac
39255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_link") 2>conftest.er1
39257 ac_status=$?
39258 grep -v '^ *+' conftest.er1 >conftest.err
39259 rm -f conftest.er1
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_c_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest$ac_exeext &&
39266 $as_test_x conftest$ac_exeext; then
39267 ac_cv_func_sched_yield=yes
39268 else
39269 echo "$as_me: failed program was:" >&5
39270 sed 's/^/| /' conftest.$ac_ext >&5
39271
39272 ac_cv_func_sched_yield=no
39273 fi
39274
39275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39276 conftest$ac_exeext conftest.$ac_ext
39277 fi
39278 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39279 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39280 if test $ac_cv_func_sched_yield = yes; then
39281 cat >>confdefs.h <<\_ACEOF
39282 #define HAVE_SCHED_YIELD 1
39283 _ACEOF
39284
39285 else
39286
39287 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39288 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39289 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39290 echo $ECHO_N "(cached) $ECHO_C" >&6
39291 else
39292 ac_check_lib_save_LIBS=$LIBS
39293 LIBS="-lposix4 $LIBS"
39294 cat >conftest.$ac_ext <<_ACEOF
39295 /* confdefs.h. */
39296 _ACEOF
39297 cat confdefs.h >>conftest.$ac_ext
39298 cat >>conftest.$ac_ext <<_ACEOF
39299 /* end confdefs.h. */
39300
39301 /* Override any GCC internal prototype to avoid an error.
39302 Use char because int might match the return type of a GCC
39303 builtin and then its argument prototype would still apply. */
39304 #ifdef __cplusplus
39305 extern "C"
39306 #endif
39307 char sched_yield ();
39308 int
39309 main ()
39310 {
39311 return sched_yield ();
39312 ;
39313 return 0;
39314 }
39315 _ACEOF
39316 rm -f conftest.$ac_objext conftest$ac_exeext
39317 if { (ac_try="$ac_link"
39318 case "(($ac_try" in
39319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39320 *) ac_try_echo=$ac_try;;
39321 esac
39322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39323 (eval "$ac_link") 2>conftest.er1
39324 ac_status=$?
39325 grep -v '^ *+' conftest.er1 >conftest.err
39326 rm -f conftest.er1
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } && {
39330 test -z "$ac_c_werror_flag" ||
39331 test ! -s conftest.err
39332 } && test -s conftest$ac_exeext &&
39333 $as_test_x conftest$ac_exeext; then
39334 ac_cv_lib_posix4_sched_yield=yes
39335 else
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39338
39339 ac_cv_lib_posix4_sched_yield=no
39340 fi
39341
39342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39343 conftest$ac_exeext conftest.$ac_ext
39344 LIBS=$ac_check_lib_save_LIBS
39345 fi
39346 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39347 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39348 if test $ac_cv_lib_posix4_sched_yield = yes; then
39349 cat >>confdefs.h <<\_ACEOF
39350 #define HAVE_SCHED_YIELD 1
39351 _ACEOF
39352 POSIX4_LINK=" -lposix4"
39353 else
39354 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39355 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39356
39357 fi
39358
39359
39360
39361 fi
39362
39363 fi
39364
39365 HAVE_PRIOR_FUNCS=0
39366 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39367 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39368 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 else
39371 cat >conftest.$ac_ext <<_ACEOF
39372 /* confdefs.h. */
39373 _ACEOF
39374 cat confdefs.h >>conftest.$ac_ext
39375 cat >>conftest.$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39380
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char pthread_attr_getschedpolicy (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39385
39386 #ifdef __STDC__
39387 # include <limits.h>
39388 #else
39389 # include <assert.h>
39390 #endif
39391
39392 #undef pthread_attr_getschedpolicy
39393
39394 /* Override any GCC internal prototype to avoid an error.
39395 Use char because int might match the return type of a GCC
39396 builtin and then its argument prototype would still apply. */
39397 #ifdef __cplusplus
39398 extern "C"
39399 #endif
39400 char pthread_attr_getschedpolicy ();
39401 /* The GNU C library defines this for functions which it implements
39402 to always fail with ENOSYS. Some functions are actually named
39403 something starting with __ and the normal name is an alias. */
39404 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39405 choke me
39406 #endif
39407
39408 int
39409 main ()
39410 {
39411 return pthread_attr_getschedpolicy ();
39412 ;
39413 return 0;
39414 }
39415 _ACEOF
39416 rm -f conftest.$ac_objext conftest$ac_exeext
39417 if { (ac_try="$ac_link"
39418 case "(($ac_try" in
39419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39420 *) ac_try_echo=$ac_try;;
39421 esac
39422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39423 (eval "$ac_link") 2>conftest.er1
39424 ac_status=$?
39425 grep -v '^ *+' conftest.er1 >conftest.err
39426 rm -f conftest.er1
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } && {
39430 test -z "$ac_c_werror_flag" ||
39431 test ! -s conftest.err
39432 } && test -s conftest$ac_exeext &&
39433 $as_test_x conftest$ac_exeext; then
39434 ac_cv_func_pthread_attr_getschedpolicy=yes
39435 else
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.$ac_ext >&5
39438
39439 ac_cv_func_pthread_attr_getschedpolicy=no
39440 fi
39441
39442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39443 conftest$ac_exeext conftest.$ac_ext
39444 fi
39445 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39446 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39447 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39448 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39449 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39450 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 else
39453 cat >conftest.$ac_ext <<_ACEOF
39454 /* confdefs.h. */
39455 _ACEOF
39456 cat confdefs.h >>conftest.$ac_ext
39457 cat >>conftest.$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39462
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char pthread_attr_setschedparam (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39467
39468 #ifdef __STDC__
39469 # include <limits.h>
39470 #else
39471 # include <assert.h>
39472 #endif
39473
39474 #undef pthread_attr_setschedparam
39475
39476 /* Override any GCC internal prototype to avoid an error.
39477 Use char because int might match the return type of a GCC
39478 builtin and then its argument prototype would still apply. */
39479 #ifdef __cplusplus
39480 extern "C"
39481 #endif
39482 char pthread_attr_setschedparam ();
39483 /* The GNU C library defines this for functions which it implements
39484 to always fail with ENOSYS. Some functions are actually named
39485 something starting with __ and the normal name is an alias. */
39486 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39487 choke me
39488 #endif
39489
39490 int
39491 main ()
39492 {
39493 return pthread_attr_setschedparam ();
39494 ;
39495 return 0;
39496 }
39497 _ACEOF
39498 rm -f conftest.$ac_objext conftest$ac_exeext
39499 if { (ac_try="$ac_link"
39500 case "(($ac_try" in
39501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39502 *) ac_try_echo=$ac_try;;
39503 esac
39504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39505 (eval "$ac_link") 2>conftest.er1
39506 ac_status=$?
39507 grep -v '^ *+' conftest.er1 >conftest.err
39508 rm -f conftest.er1
39509 cat conftest.err >&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); } && {
39512 test -z "$ac_c_werror_flag" ||
39513 test ! -s conftest.err
39514 } && test -s conftest$ac_exeext &&
39515 $as_test_x conftest$ac_exeext; then
39516 ac_cv_func_pthread_attr_setschedparam=yes
39517 else
39518 echo "$as_me: failed program was:" >&5
39519 sed 's/^/| /' conftest.$ac_ext >&5
39520
39521 ac_cv_func_pthread_attr_setschedparam=no
39522 fi
39523
39524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39525 conftest$ac_exeext conftest.$ac_ext
39526 fi
39527 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39528 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39529 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39530 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39531 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39532 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39533 echo $ECHO_N "(cached) $ECHO_C" >&6
39534 else
39535 cat >conftest.$ac_ext <<_ACEOF
39536 /* confdefs.h. */
39537 _ACEOF
39538 cat confdefs.h >>conftest.$ac_ext
39539 cat >>conftest.$ac_ext <<_ACEOF
39540 /* end confdefs.h. */
39541 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39543 #define sched_get_priority_max innocuous_sched_get_priority_max
39544
39545 /* System header to define __stub macros and hopefully few prototypes,
39546 which can conflict with char sched_get_priority_max (); below.
39547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39548 <limits.h> exists even on freestanding compilers. */
39549
39550 #ifdef __STDC__
39551 # include <limits.h>
39552 #else
39553 # include <assert.h>
39554 #endif
39555
39556 #undef sched_get_priority_max
39557
39558 /* Override any GCC internal prototype to avoid an error.
39559 Use char because int might match the return type of a GCC
39560 builtin and then its argument prototype would still apply. */
39561 #ifdef __cplusplus
39562 extern "C"
39563 #endif
39564 char sched_get_priority_max ();
39565 /* The GNU C library defines this for functions which it implements
39566 to always fail with ENOSYS. Some functions are actually named
39567 something starting with __ and the normal name is an alias. */
39568 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39569 choke me
39570 #endif
39571
39572 int
39573 main ()
39574 {
39575 return sched_get_priority_max ();
39576 ;
39577 return 0;
39578 }
39579 _ACEOF
39580 rm -f conftest.$ac_objext conftest$ac_exeext
39581 if { (ac_try="$ac_link"
39582 case "(($ac_try" in
39583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39584 *) ac_try_echo=$ac_try;;
39585 esac
39586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39587 (eval "$ac_link") 2>conftest.er1
39588 ac_status=$?
39589 grep -v '^ *+' conftest.er1 >conftest.err
39590 rm -f conftest.er1
39591 cat conftest.err >&5
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); } && {
39594 test -z "$ac_c_werror_flag" ||
39595 test ! -s conftest.err
39596 } && test -s conftest$ac_exeext &&
39597 $as_test_x conftest$ac_exeext; then
39598 ac_cv_func_sched_get_priority_max=yes
39599 else
39600 echo "$as_me: failed program was:" >&5
39601 sed 's/^/| /' conftest.$ac_ext >&5
39602
39603 ac_cv_func_sched_get_priority_max=no
39604 fi
39605
39606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39607 conftest$ac_exeext conftest.$ac_ext
39608 fi
39609 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39610 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39611 if test $ac_cv_func_sched_get_priority_max = yes; then
39612 HAVE_PRIOR_FUNCS=1
39613 else
39614 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39615 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39616 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39617 echo $ECHO_N "(cached) $ECHO_C" >&6
39618 else
39619 ac_check_lib_save_LIBS=$LIBS
39620 LIBS="-lposix4 $LIBS"
39621 cat >conftest.$ac_ext <<_ACEOF
39622 /* confdefs.h. */
39623 _ACEOF
39624 cat confdefs.h >>conftest.$ac_ext
39625 cat >>conftest.$ac_ext <<_ACEOF
39626 /* end confdefs.h. */
39627
39628 /* Override any GCC internal prototype to avoid an error.
39629 Use char because int might match the return type of a GCC
39630 builtin and then its argument prototype would still apply. */
39631 #ifdef __cplusplus
39632 extern "C"
39633 #endif
39634 char sched_get_priority_max ();
39635 int
39636 main ()
39637 {
39638 return sched_get_priority_max ();
39639 ;
39640 return 0;
39641 }
39642 _ACEOF
39643 rm -f conftest.$ac_objext conftest$ac_exeext
39644 if { (ac_try="$ac_link"
39645 case "(($ac_try" in
39646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39647 *) ac_try_echo=$ac_try;;
39648 esac
39649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39650 (eval "$ac_link") 2>conftest.er1
39651 ac_status=$?
39652 grep -v '^ *+' conftest.er1 >conftest.err
39653 rm -f conftest.er1
39654 cat conftest.err >&5
39655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39656 (exit $ac_status); } && {
39657 test -z "$ac_c_werror_flag" ||
39658 test ! -s conftest.err
39659 } && test -s conftest$ac_exeext &&
39660 $as_test_x conftest$ac_exeext; then
39661 ac_cv_lib_posix4_sched_get_priority_max=yes
39662 else
39663 echo "$as_me: failed program was:" >&5
39664 sed 's/^/| /' conftest.$ac_ext >&5
39665
39666 ac_cv_lib_posix4_sched_get_priority_max=no
39667 fi
39668
39669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39670 conftest$ac_exeext conftest.$ac_ext
39671 LIBS=$ac_check_lib_save_LIBS
39672 fi
39673 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39674 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39675 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39676
39677 HAVE_PRIOR_FUNCS=1
39678 POSIX4_LINK=" -lposix4"
39679
39680 fi
39681
39682
39683 fi
39684
39685
39686 fi
39687
39688
39689 fi
39690
39691
39692 if test "$HAVE_PRIOR_FUNCS" = 1; then
39693 cat >>confdefs.h <<\_ACEOF
39694 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39695 _ACEOF
39696
39697 else
39698 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39699 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39700 fi
39701
39702 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39703 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39704 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39705 echo $ECHO_N "(cached) $ECHO_C" >&6
39706 else
39707 cat >conftest.$ac_ext <<_ACEOF
39708 /* confdefs.h. */
39709 _ACEOF
39710 cat confdefs.h >>conftest.$ac_ext
39711 cat >>conftest.$ac_ext <<_ACEOF
39712 /* end confdefs.h. */
39713 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39715 #define pthread_cancel innocuous_pthread_cancel
39716
39717 /* System header to define __stub macros and hopefully few prototypes,
39718 which can conflict with char pthread_cancel (); below.
39719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39720 <limits.h> exists even on freestanding compilers. */
39721
39722 #ifdef __STDC__
39723 # include <limits.h>
39724 #else
39725 # include <assert.h>
39726 #endif
39727
39728 #undef pthread_cancel
39729
39730 /* Override any GCC internal prototype to avoid an error.
39731 Use char because int might match the return type of a GCC
39732 builtin and then its argument prototype would still apply. */
39733 #ifdef __cplusplus
39734 extern "C"
39735 #endif
39736 char pthread_cancel ();
39737 /* The GNU C library defines this for functions which it implements
39738 to always fail with ENOSYS. Some functions are actually named
39739 something starting with __ and the normal name is an alias. */
39740 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39741 choke me
39742 #endif
39743
39744 int
39745 main ()
39746 {
39747 return pthread_cancel ();
39748 ;
39749 return 0;
39750 }
39751 _ACEOF
39752 rm -f conftest.$ac_objext conftest$ac_exeext
39753 if { (ac_try="$ac_link"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39756 *) ac_try_echo=$ac_try;;
39757 esac
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_link") 2>conftest.er1
39760 ac_status=$?
39761 grep -v '^ *+' conftest.er1 >conftest.err
39762 rm -f conftest.er1
39763 cat conftest.err >&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest$ac_exeext &&
39769 $as_test_x conftest$ac_exeext; then
39770 ac_cv_func_pthread_cancel=yes
39771 else
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.$ac_ext >&5
39774
39775 ac_cv_func_pthread_cancel=no
39776 fi
39777
39778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39779 conftest$ac_exeext conftest.$ac_ext
39780 fi
39781 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39782 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39783 if test $ac_cv_func_pthread_cancel = yes; then
39784 cat >>confdefs.h <<\_ACEOF
39785 #define HAVE_PTHREAD_CANCEL 1
39786 _ACEOF
39787
39788 else
39789 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39790 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39791 fi
39792
39793
39794 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39795 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39796 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39797 echo $ECHO_N "(cached) $ECHO_C" >&6
39798 else
39799 cat >conftest.$ac_ext <<_ACEOF
39800 /* confdefs.h. */
39801 _ACEOF
39802 cat confdefs.h >>conftest.$ac_ext
39803 cat >>conftest.$ac_ext <<_ACEOF
39804 /* end confdefs.h. */
39805 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39807 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39808
39809 /* System header to define __stub macros and hopefully few prototypes,
39810 which can conflict with char pthread_mutex_timedlock (); below.
39811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39812 <limits.h> exists even on freestanding compilers. */
39813
39814 #ifdef __STDC__
39815 # include <limits.h>
39816 #else
39817 # include <assert.h>
39818 #endif
39819
39820 #undef pthread_mutex_timedlock
39821
39822 /* Override any GCC internal prototype to avoid an error.
39823 Use char because int might match the return type of a GCC
39824 builtin and then its argument prototype would still apply. */
39825 #ifdef __cplusplus
39826 extern "C"
39827 #endif
39828 char pthread_mutex_timedlock ();
39829 /* The GNU C library defines this for functions which it implements
39830 to always fail with ENOSYS. Some functions are actually named
39831 something starting with __ and the normal name is an alias. */
39832 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39833 choke me
39834 #endif
39835
39836 int
39837 main ()
39838 {
39839 return pthread_mutex_timedlock ();
39840 ;
39841 return 0;
39842 }
39843 _ACEOF
39844 rm -f conftest.$ac_objext conftest$ac_exeext
39845 if { (ac_try="$ac_link"
39846 case "(($ac_try" in
39847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39848 *) ac_try_echo=$ac_try;;
39849 esac
39850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39851 (eval "$ac_link") 2>conftest.er1
39852 ac_status=$?
39853 grep -v '^ *+' conftest.er1 >conftest.err
39854 rm -f conftest.er1
39855 cat conftest.err >&5
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); } && {
39858 test -z "$ac_c_werror_flag" ||
39859 test ! -s conftest.err
39860 } && test -s conftest$ac_exeext &&
39861 $as_test_x conftest$ac_exeext; then
39862 ac_cv_func_pthread_mutex_timedlock=yes
39863 else
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39866
39867 ac_cv_func_pthread_mutex_timedlock=no
39868 fi
39869
39870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39871 conftest$ac_exeext conftest.$ac_ext
39872 fi
39873 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39874 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39875 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39876 cat >>confdefs.h <<\_ACEOF
39877 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39878 _ACEOF
39879
39880 else
39881 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39882 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39883 fi
39884
39885
39886 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39887 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39888 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39889 echo $ECHO_N "(cached) $ECHO_C" >&6
39890 else
39891 cat >conftest.$ac_ext <<_ACEOF
39892 /* confdefs.h. */
39893 _ACEOF
39894 cat confdefs.h >>conftest.$ac_ext
39895 cat >>conftest.$ac_ext <<_ACEOF
39896 /* end confdefs.h. */
39897 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39899 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39900
39901 /* System header to define __stub macros and hopefully few prototypes,
39902 which can conflict with char pthread_attr_setstacksize (); below.
39903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39904 <limits.h> exists even on freestanding compilers. */
39905
39906 #ifdef __STDC__
39907 # include <limits.h>
39908 #else
39909 # include <assert.h>
39910 #endif
39911
39912 #undef pthread_attr_setstacksize
39913
39914 /* Override any GCC internal prototype to avoid an error.
39915 Use char because int might match the return type of a GCC
39916 builtin and then its argument prototype would still apply. */
39917 #ifdef __cplusplus
39918 extern "C"
39919 #endif
39920 char pthread_attr_setstacksize ();
39921 /* The GNU C library defines this for functions which it implements
39922 to always fail with ENOSYS. Some functions are actually named
39923 something starting with __ and the normal name is an alias. */
39924 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39925 choke me
39926 #endif
39927
39928 int
39929 main ()
39930 {
39931 return pthread_attr_setstacksize ();
39932 ;
39933 return 0;
39934 }
39935 _ACEOF
39936 rm -f conftest.$ac_objext conftest$ac_exeext
39937 if { (ac_try="$ac_link"
39938 case "(($ac_try" in
39939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39940 *) ac_try_echo=$ac_try;;
39941 esac
39942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39943 (eval "$ac_link") 2>conftest.er1
39944 ac_status=$?
39945 grep -v '^ *+' conftest.er1 >conftest.err
39946 rm -f conftest.er1
39947 cat conftest.err >&5
39948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39949 (exit $ac_status); } && {
39950 test -z "$ac_c_werror_flag" ||
39951 test ! -s conftest.err
39952 } && test -s conftest$ac_exeext &&
39953 $as_test_x conftest$ac_exeext; then
39954 ac_cv_func_pthread_attr_setstacksize=yes
39955 else
39956 echo "$as_me: failed program was:" >&5
39957 sed 's/^/| /' conftest.$ac_ext >&5
39958
39959 ac_cv_func_pthread_attr_setstacksize=no
39960 fi
39961
39962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39963 conftest$ac_exeext conftest.$ac_ext
39964 fi
39965 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39966 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39967 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39968 cat >>confdefs.h <<\_ACEOF
39969 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39970 _ACEOF
39971
39972 fi
39973
39974
39975
39976 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39977 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39978 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39979 echo $ECHO_N "(cached) $ECHO_C" >&6
39980 else
39981
39982 cat >conftest.$ac_ext <<_ACEOF
39983 /* confdefs.h. */
39984 _ACEOF
39985 cat confdefs.h >>conftest.$ac_ext
39986 cat >>conftest.$ac_ext <<_ACEOF
39987 /* end confdefs.h. */
39988 #include <pthread.h>
39989 int
39990 main ()
39991 {
39992
39993 pthread_mutexattr_t attr;
39994 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39995
39996 ;
39997 return 0;
39998 }
39999 _ACEOF
40000 rm -f conftest.$ac_objext
40001 if { (ac_try="$ac_compile"
40002 case "(($ac_try" in
40003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40004 *) ac_try_echo=$ac_try;;
40005 esac
40006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40007 (eval "$ac_compile") 2>conftest.er1
40008 ac_status=$?
40009 grep -v '^ *+' conftest.er1 >conftest.err
40010 rm -f conftest.er1
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } && {
40014 test -z "$ac_c_werror_flag" ||
40015 test ! -s conftest.err
40016 } && test -s conftest.$ac_objext; then
40017 wx_cv_type_pthread_mutexattr_t=yes
40018 else
40019 echo "$as_me: failed program was:" >&5
40020 sed 's/^/| /' conftest.$ac_ext >&5
40021
40022 wx_cv_type_pthread_mutexattr_t=no
40023
40024 fi
40025
40026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40027
40028 fi
40029 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40030 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40031
40032 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40033 cat >>confdefs.h <<\_ACEOF
40034 #define HAVE_PTHREAD_MUTEXATTR_T 1
40035 _ACEOF
40036
40037
40038 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40039 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40040 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40041 echo $ECHO_N "(cached) $ECHO_C" >&6
40042 else
40043
40044 cat >conftest.$ac_ext <<_ACEOF
40045 /* confdefs.h. */
40046 _ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 #include <pthread.h>
40051 int
40052 main ()
40053 {
40054
40055 pthread_mutexattr_t attr;
40056 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40057
40058 ;
40059 return 0;
40060 }
40061 _ACEOF
40062 rm -f conftest.$ac_objext
40063 if { (ac_try="$ac_compile"
40064 case "(($ac_try" in
40065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40067 esac
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_compile") 2>conftest.er1
40070 ac_status=$?
40071 grep -v '^ *+' conftest.er1 >conftest.err
40072 rm -f conftest.er1
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest.$ac_objext; then
40079 wx_cv_func_pthread_mutexattr_settype_decl=yes
40080 else
40081 echo "$as_me: failed program was:" >&5
40082 sed 's/^/| /' conftest.$ac_ext >&5
40083
40084 wx_cv_func_pthread_mutexattr_settype_decl=no
40085
40086 fi
40087
40088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40089
40090 fi
40091 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40092 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40093 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40096 _ACEOF
40097
40098 fi
40099 else
40100 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40101 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40102 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40103 echo $ECHO_N "(cached) $ECHO_C" >&6
40104 else
40105
40106 cat >conftest.$ac_ext <<_ACEOF
40107 /* confdefs.h. */
40108 _ACEOF
40109 cat confdefs.h >>conftest.$ac_ext
40110 cat >>conftest.$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40112 #include <pthread.h>
40113 int
40114 main ()
40115 {
40116
40117 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40118
40119 ;
40120 return 0;
40121 }
40122 _ACEOF
40123 rm -f conftest.$ac_objext
40124 if { (ac_try="$ac_compile"
40125 case "(($ac_try" in
40126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40127 *) ac_try_echo=$ac_try;;
40128 esac
40129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40130 (eval "$ac_compile") 2>conftest.er1
40131 ac_status=$?
40132 grep -v '^ *+' conftest.er1 >conftest.err
40133 rm -f conftest.er1
40134 cat conftest.err >&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } && {
40137 test -z "$ac_c_werror_flag" ||
40138 test ! -s conftest.err
40139 } && test -s conftest.$ac_objext; then
40140
40141 wx_cv_type_pthread_rec_mutex_init=yes
40142
40143 else
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40146
40147
40148 wx_cv_type_pthread_rec_mutex_init=no
40149
40150
40151 fi
40152
40153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40154
40155 fi
40156 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40157 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40158 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40159 cat >>confdefs.h <<\_ACEOF
40160 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40161 _ACEOF
40162
40163 else
40164 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40165 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40166 fi
40167 fi
40168
40169 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40170 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40171 if test "${wx_cv_cc___thread+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 else
40174
40175 cat >conftest.$ac_ext <<_ACEOF
40176 /* confdefs.h. */
40177 _ACEOF
40178 cat confdefs.h >>conftest.$ac_ext
40179 cat >>conftest.$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40181 #include <pthread.h>
40182 int
40183 main ()
40184 {
40185
40186 static __thread int n = 0;
40187 static __thread int *p = 0;
40188
40189 ;
40190 return 0;
40191 }
40192 _ACEOF
40193 rm -f conftest.$ac_objext
40194 if { (ac_try="$ac_compile"
40195 case "(($ac_try" in
40196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40197 *) ac_try_echo=$ac_try;;
40198 esac
40199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40200 (eval "$ac_compile") 2>conftest.er1
40201 ac_status=$?
40202 grep -v '^ *+' conftest.er1 >conftest.err
40203 rm -f conftest.er1
40204 cat conftest.err >&5
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); } && {
40207 test -z "$ac_c_werror_flag" ||
40208 test ! -s conftest.err
40209 } && test -s conftest.$ac_objext; then
40210 wx_cv_cc___thread=yes
40211 else
40212 echo "$as_me: failed program was:" >&5
40213 sed 's/^/| /' conftest.$ac_ext >&5
40214
40215 wx_cv_cc___thread=no
40216
40217 fi
40218
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220
40221 fi
40222 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40223 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40224
40225 if test "$wx_cv_cc___thread" = "yes"; then
40226 cat >>confdefs.h <<\_ACEOF
40227 #define HAVE___THREAD_KEYWORD 1
40228 _ACEOF
40229
40230 fi
40231 fi
40232
40233 else
40234 if test "$wxUSE_THREADS" = "yes" ; then
40235 case "${host}" in
40236 x86_64-*-mingw32* )
40237 ;;
40238 *-*-mingw32* )
40239 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40240 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40241 if test "${wx_cv_cflags_mthread+set}" = set; then
40242 echo $ECHO_N "(cached) $ECHO_C" >&6
40243 else
40244
40245 CFLAGS_OLD="$CFLAGS"
40246 CFLAGS="-mthreads $CFLAGS"
40247 cat >conftest.$ac_ext <<_ACEOF
40248 /* confdefs.h. */
40249 _ACEOF
40250 cat confdefs.h >>conftest.$ac_ext
40251 cat >>conftest.$ac_ext <<_ACEOF
40252 /* end confdefs.h. */
40253
40254 int
40255 main ()
40256 {
40257
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext
40263 if { (ac_try="$ac_compile"
40264 case "(($ac_try" in
40265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40267 esac
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_compile") 2>conftest.er1
40270 ac_status=$?
40271 grep -v '^ *+' conftest.er1 >conftest.err
40272 rm -f conftest.er1
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest.$ac_objext; then
40279 wx_cv_cflags_mthread=yes
40280 else
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.$ac_ext >&5
40283
40284 wx_cv_cflags_mthread=no
40285
40286 fi
40287
40288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40289
40290
40291 fi
40292 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40293 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40294
40295 if test "$wx_cv_cflags_mthread" = "yes"; then
40296 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40297 LDFLAGS="$LDFLAGS -mthreads"
40298 else
40299 CFLAGS="$CFLAGS_OLD"
40300 fi
40301 ;;
40302 *-pc-os2*emx )
40303 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40304 LDFLAGS="$LDFLAGS -Zmt"
40305 ;;
40306 esac
40307 fi
40308 fi
40309
40310 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40311 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40312 if test "${ac_cv_func_localtime_r+set}" = set; then
40313 echo $ECHO_N "(cached) $ECHO_C" >&6
40314 else
40315 cat >conftest.$ac_ext <<_ACEOF
40316 /* confdefs.h. */
40317 _ACEOF
40318 cat confdefs.h >>conftest.$ac_ext
40319 cat >>conftest.$ac_ext <<_ACEOF
40320 /* end confdefs.h. */
40321 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40323 #define localtime_r innocuous_localtime_r
40324
40325 /* System header to define __stub macros and hopefully few prototypes,
40326 which can conflict with char localtime_r (); below.
40327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40328 <limits.h> exists even on freestanding compilers. */
40329
40330 #ifdef __STDC__
40331 # include <limits.h>
40332 #else
40333 # include <assert.h>
40334 #endif
40335
40336 #undef localtime_r
40337
40338 /* Override any GCC internal prototype to avoid an error.
40339 Use char because int might match the return type of a GCC
40340 builtin and then its argument prototype would still apply. */
40341 #ifdef __cplusplus
40342 extern "C"
40343 #endif
40344 char localtime_r ();
40345 /* The GNU C library defines this for functions which it implements
40346 to always fail with ENOSYS. Some functions are actually named
40347 something starting with __ and the normal name is an alias. */
40348 #if defined __stub_localtime_r || defined __stub___localtime_r
40349 choke me
40350 #endif
40351
40352 int
40353 main ()
40354 {
40355 return localtime_r ();
40356 ;
40357 return 0;
40358 }
40359 _ACEOF
40360 rm -f conftest.$ac_objext conftest$ac_exeext
40361 if { (ac_try="$ac_link"
40362 case "(($ac_try" in
40363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40364 *) ac_try_echo=$ac_try;;
40365 esac
40366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40367 (eval "$ac_link") 2>conftest.er1
40368 ac_status=$?
40369 grep -v '^ *+' conftest.er1 >conftest.err
40370 rm -f conftest.er1
40371 cat conftest.err >&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); } && {
40374 test -z "$ac_c_werror_flag" ||
40375 test ! -s conftest.err
40376 } && test -s conftest$ac_exeext &&
40377 $as_test_x conftest$ac_exeext; then
40378 ac_cv_func_localtime_r=yes
40379 else
40380 echo "$as_me: failed program was:" >&5
40381 sed 's/^/| /' conftest.$ac_ext >&5
40382
40383 ac_cv_func_localtime_r=no
40384 fi
40385
40386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40387 conftest$ac_exeext conftest.$ac_ext
40388 fi
40389 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40390 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40391 if test $ac_cv_func_localtime_r = yes; then
40392 cat >>confdefs.h <<\_ACEOF
40393 #define HAVE_LOCALTIME_R 1
40394 _ACEOF
40395
40396 fi
40397
40398 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40399 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40400 if test "${ac_cv_func_gmtime_r+set}" = set; then
40401 echo $ECHO_N "(cached) $ECHO_C" >&6
40402 else
40403 cat >conftest.$ac_ext <<_ACEOF
40404 /* confdefs.h. */
40405 _ACEOF
40406 cat confdefs.h >>conftest.$ac_ext
40407 cat >>conftest.$ac_ext <<_ACEOF
40408 /* end confdefs.h. */
40409 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40411 #define gmtime_r innocuous_gmtime_r
40412
40413 /* System header to define __stub macros and hopefully few prototypes,
40414 which can conflict with char gmtime_r (); below.
40415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40416 <limits.h> exists even on freestanding compilers. */
40417
40418 #ifdef __STDC__
40419 # include <limits.h>
40420 #else
40421 # include <assert.h>
40422 #endif
40423
40424 #undef gmtime_r
40425
40426 /* Override any GCC internal prototype to avoid an error.
40427 Use char because int might match the return type of a GCC
40428 builtin and then its argument prototype would still apply. */
40429 #ifdef __cplusplus
40430 extern "C"
40431 #endif
40432 char gmtime_r ();
40433 /* The GNU C library defines this for functions which it implements
40434 to always fail with ENOSYS. Some functions are actually named
40435 something starting with __ and the normal name is an alias. */
40436 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40437 choke me
40438 #endif
40439
40440 int
40441 main ()
40442 {
40443 return gmtime_r ();
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext conftest$ac_exeext
40449 if { (ac_try="$ac_link"
40450 case "(($ac_try" in
40451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40452 *) ac_try_echo=$ac_try;;
40453 esac
40454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40455 (eval "$ac_link") 2>conftest.er1
40456 ac_status=$?
40457 grep -v '^ *+' conftest.er1 >conftest.err
40458 rm -f conftest.er1
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } && {
40462 test -z "$ac_c_werror_flag" ||
40463 test ! -s conftest.err
40464 } && test -s conftest$ac_exeext &&
40465 $as_test_x conftest$ac_exeext; then
40466 ac_cv_func_gmtime_r=yes
40467 else
40468 echo "$as_me: failed program was:" >&5
40469 sed 's/^/| /' conftest.$ac_ext >&5
40470
40471 ac_cv_func_gmtime_r=no
40472 fi
40473
40474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40475 conftest$ac_exeext conftest.$ac_ext
40476 fi
40477 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40478 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40479 if test $ac_cv_func_gmtime_r = yes; then
40480 cat >>confdefs.h <<\_ACEOF
40481 #define HAVE_GMTIME_R 1
40482 _ACEOF
40483
40484 fi
40485
40486
40487
40488
40489 ac_ext=c
40490 ac_cpp='$CPP $CPPFLAGS'
40491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40494
40495 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40496 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40497
40498 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40499 echo $ECHO_N "(cached) $ECHO_C" >&6
40500 else
40501
40502
40503 ################################################################
40504
40505 ac_cv_func_which_gethostbyname_r=unknown
40506
40507 #
40508 # ONE ARGUMENT (sanity check)
40509 #
40510
40511 # This should fail, as there is no variant of gethostbyname_r() that takes
40512 # a single argument. If it actually compiles, then we can assume that
40513 # netdb.h is not declaring the function, and the compiler is thereby
40514 # assuming an implicit prototype. In which case, we're out of luck.
40515 #
40516 cat >conftest.$ac_ext <<_ACEOF
40517 /* confdefs.h. */
40518 _ACEOF
40519 cat confdefs.h >>conftest.$ac_ext
40520 cat >>conftest.$ac_ext <<_ACEOF
40521 /* end confdefs.h. */
40522 #include <netdb.h>
40523 int
40524 main ()
40525 {
40526
40527 char *name = "www.gnu.org";
40528 (void)gethostbyname_r(name) /* ; */
40529
40530 ;
40531 return 0;
40532 }
40533 _ACEOF
40534 rm -f conftest.$ac_objext
40535 if { (ac_try="$ac_compile"
40536 case "(($ac_try" in
40537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40538 *) ac_try_echo=$ac_try;;
40539 esac
40540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40541 (eval "$ac_compile") 2>conftest.er1
40542 ac_status=$?
40543 grep -v '^ *+' conftest.er1 >conftest.err
40544 rm -f conftest.er1
40545 cat conftest.err >&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); } && {
40548 test -z "$ac_c_werror_flag" ||
40549 test ! -s conftest.err
40550 } && test -s conftest.$ac_objext; then
40551 ac_cv_func_which_gethostbyname_r=no
40552 else
40553 echo "$as_me: failed program was:" >&5
40554 sed 's/^/| /' conftest.$ac_ext >&5
40555
40556
40557 fi
40558
40559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40560
40561 #
40562 # SIX ARGUMENTS
40563 # (e.g. Linux)
40564 #
40565
40566 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40567
40568 cat >conftest.$ac_ext <<_ACEOF
40569 /* confdefs.h. */
40570 _ACEOF
40571 cat confdefs.h >>conftest.$ac_ext
40572 cat >>conftest.$ac_ext <<_ACEOF
40573 /* end confdefs.h. */
40574 #include <netdb.h>
40575 int
40576 main ()
40577 {
40578
40579 char *name = "www.gnu.org";
40580 struct hostent ret, *retp;
40581 char buf[1024];
40582 int buflen = 1024;
40583 int my_h_errno;
40584 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40585
40586 ;
40587 return 0;
40588 }
40589 _ACEOF
40590 rm -f conftest.$ac_objext
40591 if { (ac_try="$ac_compile"
40592 case "(($ac_try" in
40593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40594 *) ac_try_echo=$ac_try;;
40595 esac
40596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40597 (eval "$ac_compile") 2>conftest.er1
40598 ac_status=$?
40599 grep -v '^ *+' conftest.er1 >conftest.err
40600 rm -f conftest.er1
40601 cat conftest.err >&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); } && {
40604 test -z "$ac_c_werror_flag" ||
40605 test ! -s conftest.err
40606 } && test -s conftest.$ac_objext; then
40607 ac_cv_func_which_gethostbyname_r=six
40608 else
40609 echo "$as_me: failed program was:" >&5
40610 sed 's/^/| /' conftest.$ac_ext >&5
40611
40612
40613 fi
40614
40615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40616
40617 fi
40618
40619 #
40620 # FIVE ARGUMENTS
40621 # (e.g. Solaris)
40622 #
40623
40624 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40625
40626 cat >conftest.$ac_ext <<_ACEOF
40627 /* confdefs.h. */
40628 _ACEOF
40629 cat confdefs.h >>conftest.$ac_ext
40630 cat >>conftest.$ac_ext <<_ACEOF
40631 /* end confdefs.h. */
40632 #include <netdb.h>
40633 int
40634 main ()
40635 {
40636
40637 char *name = "www.gnu.org";
40638 struct hostent ret;
40639 char buf[1024];
40640 int buflen = 1024;
40641 int my_h_errno;
40642 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40643
40644 ;
40645 return 0;
40646 }
40647 _ACEOF
40648 rm -f conftest.$ac_objext
40649 if { (ac_try="$ac_compile"
40650 case "(($ac_try" in
40651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40652 *) ac_try_echo=$ac_try;;
40653 esac
40654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40655 (eval "$ac_compile") 2>conftest.er1
40656 ac_status=$?
40657 grep -v '^ *+' conftest.er1 >conftest.err
40658 rm -f conftest.er1
40659 cat conftest.err >&5
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); } && {
40662 test -z "$ac_c_werror_flag" ||
40663 test ! -s conftest.err
40664 } && test -s conftest.$ac_objext; then
40665 ac_cv_func_which_gethostbyname_r=five
40666 else
40667 echo "$as_me: failed program was:" >&5
40668 sed 's/^/| /' conftest.$ac_ext >&5
40669
40670
40671 fi
40672
40673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40674
40675 fi
40676
40677 #
40678 # THREE ARGUMENTS
40679 # (e.g. AIX, HP-UX, Tru64)
40680 #
40681
40682 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40683
40684 cat >conftest.$ac_ext <<_ACEOF
40685 /* confdefs.h. */
40686 _ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 #include <netdb.h>
40691 int
40692 main ()
40693 {
40694
40695 char *name = "www.gnu.org";
40696 struct hostent ret;
40697 struct hostent_data data;
40698 (void)gethostbyname_r(name, &ret, &data) /* ; */
40699
40700 ;
40701 return 0;
40702 }
40703 _ACEOF
40704 rm -f conftest.$ac_objext
40705 if { (ac_try="$ac_compile"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40709 esac
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_compile") 2>conftest.er1
40712 ac_status=$?
40713 grep -v '^ *+' conftest.er1 >conftest.err
40714 rm -f conftest.er1
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest.$ac_objext; then
40721 ac_cv_func_which_gethostbyname_r=three
40722 else
40723 echo "$as_me: failed program was:" >&5
40724 sed 's/^/| /' conftest.$ac_ext >&5
40725
40726
40727 fi
40728
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730
40731 fi
40732
40733 ################################################################
40734
40735
40736 fi
40737
40738 case "$ac_cv_func_which_gethostbyname_r" in
40739 three)
40740 { echo "$as_me:$LINENO: result: three" >&5
40741 echo "${ECHO_T}three" >&6; }
40742 cat >>confdefs.h <<\_ACEOF
40743 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40744 _ACEOF
40745
40746 ;;
40747
40748 five)
40749 { echo "$as_me:$LINENO: result: five" >&5
40750 echo "${ECHO_T}five" >&6; }
40751 cat >>confdefs.h <<\_ACEOF
40752 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40753 _ACEOF
40754
40755 ;;
40756
40757 six)
40758 { echo "$as_me:$LINENO: result: six" >&5
40759 echo "${ECHO_T}six" >&6; }
40760 cat >>confdefs.h <<\_ACEOF
40761 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40762 _ACEOF
40763
40764 ;;
40765
40766 no)
40767 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40768 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40769 ;;
40770
40771 unknown)
40772 { echo "$as_me:$LINENO: result: can't tell" >&5
40773 echo "${ECHO_T}can't tell" >&6; }
40774 ;;
40775
40776 *)
40777 { { echo "$as_me:$LINENO: error: internal error" >&5
40778 echo "$as_me: error: internal error" >&2;}
40779 { (exit 1); exit 1; }; }
40780 ;;
40781 esac
40782
40783 ac_ext=c
40784 ac_cpp='$CPP $CPPFLAGS'
40785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40788
40789
40790
40791 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40792 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40793 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40794 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40795 if test "${ac_cv_func_gethostbyname+set}" = set; then
40796 echo $ECHO_N "(cached) $ECHO_C" >&6
40797 else
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40806 #define gethostbyname innocuous_gethostbyname
40807
40808 /* System header to define __stub macros and hopefully few prototypes,
40809 which can conflict with char gethostbyname (); below.
40810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40811 <limits.h> exists even on freestanding compilers. */
40812
40813 #ifdef __STDC__
40814 # include <limits.h>
40815 #else
40816 # include <assert.h>
40817 #endif
40818
40819 #undef gethostbyname
40820
40821 /* Override any GCC internal prototype to avoid an error.
40822 Use char because int might match the return type of a GCC
40823 builtin and then its argument prototype would still apply. */
40824 #ifdef __cplusplus
40825 extern "C"
40826 #endif
40827 char gethostbyname ();
40828 /* The GNU C library defines this for functions which it implements
40829 to always fail with ENOSYS. Some functions are actually named
40830 something starting with __ and the normal name is an alias. */
40831 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40832 choke me
40833 #endif
40834
40835 int
40836 main ()
40837 {
40838 return gethostbyname ();
40839 ;
40840 return 0;
40841 }
40842 _ACEOF
40843 rm -f conftest.$ac_objext conftest$ac_exeext
40844 if { (ac_try="$ac_link"
40845 case "(($ac_try" in
40846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40847 *) ac_try_echo=$ac_try;;
40848 esac
40849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40850 (eval "$ac_link") 2>conftest.er1
40851 ac_status=$?
40852 grep -v '^ *+' conftest.er1 >conftest.err
40853 rm -f conftest.er1
40854 cat conftest.err >&5
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); } && {
40857 test -z "$ac_c_werror_flag" ||
40858 test ! -s conftest.err
40859 } && test -s conftest$ac_exeext &&
40860 $as_test_x conftest$ac_exeext; then
40861 ac_cv_func_gethostbyname=yes
40862 else
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40865
40866 ac_cv_func_gethostbyname=no
40867 fi
40868
40869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40870 conftest$ac_exeext conftest.$ac_ext
40871 fi
40872 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40873 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40874 if test $ac_cv_func_gethostbyname = yes; then
40875 cat >>confdefs.h <<\_ACEOF
40876 #define HAVE_GETHOSTBYNAME 1
40877 _ACEOF
40878
40879 fi
40880
40881 fi
40882
40883 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40884 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40885 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40887 else
40888
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894
40895
40896 cat >conftest.$ac_ext <<_ACEOF
40897 /* confdefs.h. */
40898 _ACEOF
40899 cat confdefs.h >>conftest.$ac_ext
40900 cat >>conftest.$ac_ext <<_ACEOF
40901 /* end confdefs.h. */
40902 #include <netdb.h>
40903 int
40904 main ()
40905 {
40906
40907 char *name;
40908 char *proto;
40909 struct servent *se, *res;
40910 char buffer[2048];
40911 int buflen = 2048;
40912 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40913
40914 ;
40915 return 0;
40916 }
40917 _ACEOF
40918 rm -f conftest.$ac_objext
40919 if { (ac_try="$ac_compile"
40920 case "(($ac_try" in
40921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40922 *) ac_try_echo=$ac_try;;
40923 esac
40924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40925 (eval "$ac_compile") 2>conftest.er1
40926 ac_status=$?
40927 grep -v '^ *+' conftest.er1 >conftest.err
40928 rm -f conftest.er1
40929 cat conftest.err >&5
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); } && {
40932 test -z "$ac_cxx_werror_flag" ||
40933 test ! -s conftest.err
40934 } && test -s conftest.$ac_objext; then
40935 ac_cv_func_which_getservbyname_r=six
40936 else
40937 echo "$as_me: failed program was:" >&5
40938 sed 's/^/| /' conftest.$ac_ext >&5
40939
40940
40941 cat >conftest.$ac_ext <<_ACEOF
40942 /* confdefs.h. */
40943 _ACEOF
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h. */
40947 #include <netdb.h>
40948 int
40949 main ()
40950 {
40951
40952 char *name;
40953 char *proto;
40954 struct servent *se;
40955 char buffer[2048];
40956 int buflen = 2048;
40957 (void) getservbyname_r(name, proto, se, buffer, buflen)
40958
40959 ;
40960 return 0;
40961 }
40962 _ACEOF
40963 rm -f conftest.$ac_objext
40964 if { (ac_try="$ac_compile"
40965 case "(($ac_try" in
40966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40967 *) ac_try_echo=$ac_try;;
40968 esac
40969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40970 (eval "$ac_compile") 2>conftest.er1
40971 ac_status=$?
40972 grep -v '^ *+' conftest.er1 >conftest.err
40973 rm -f conftest.er1
40974 cat conftest.err >&5
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); } && {
40977 test -z "$ac_cxx_werror_flag" ||
40978 test ! -s conftest.err
40979 } && test -s conftest.$ac_objext; then
40980 ac_cv_func_which_getservbyname_r=five
40981 else
40982 echo "$as_me: failed program was:" >&5
40983 sed 's/^/| /' conftest.$ac_ext >&5
40984
40985
40986 cat >conftest.$ac_ext <<_ACEOF
40987 /* confdefs.h. */
40988 _ACEOF
40989 cat confdefs.h >>conftest.$ac_ext
40990 cat >>conftest.$ac_ext <<_ACEOF
40991 /* end confdefs.h. */
40992 #include <netdb.h>
40993 int
40994 main ()
40995 {
40996
40997 char *name;
40998 char *proto;
40999 struct servent *se;
41000 struct servent_data data;
41001 (void) getservbyname_r(name, proto, se, &data);
41002
41003 ;
41004 return 0;
41005 }
41006 _ACEOF
41007 rm -f conftest.$ac_objext
41008 if { (ac_try="$ac_compile"
41009 case "(($ac_try" in
41010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41011 *) ac_try_echo=$ac_try;;
41012 esac
41013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41014 (eval "$ac_compile") 2>conftest.er1
41015 ac_status=$?
41016 grep -v '^ *+' conftest.er1 >conftest.err
41017 rm -f conftest.er1
41018 cat conftest.err >&5
41019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41020 (exit $ac_status); } && {
41021 test -z "$ac_cxx_werror_flag" ||
41022 test ! -s conftest.err
41023 } && test -s conftest.$ac_objext; then
41024 ac_cv_func_which_getservbyname_r=four
41025 else
41026 echo "$as_me: failed program was:" >&5
41027 sed 's/^/| /' conftest.$ac_ext >&5
41028
41029 ac_cv_func_which_getservbyname_r=no
41030
41031 fi
41032
41033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41034
41035
41036 fi
41037
41038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41039
41040
41041 fi
41042
41043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41044 ac_ext=c
41045 ac_cpp='$CPP $CPPFLAGS'
41046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41049
41050
41051
41052 fi
41053 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41054 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41055
41056 if test $ac_cv_func_which_getservbyname_r = six; then
41057 cat >>confdefs.h <<\_ACEOF
41058 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41059 _ACEOF
41060
41061 elif test $ac_cv_func_which_getservbyname_r = five; then
41062 cat >>confdefs.h <<\_ACEOF
41063 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41064 _ACEOF
41065
41066 elif test $ac_cv_func_which_getservbyname_r = four; then
41067 cat >>confdefs.h <<\_ACEOF
41068 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41069 _ACEOF
41070
41071 fi
41072
41073
41074 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41075 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41076
41077 for ac_func in getservbyname
41078 do
41079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41084 else
41085 cat >conftest.$ac_ext <<_ACEOF
41086 /* confdefs.h. */
41087 _ACEOF
41088 cat confdefs.h >>conftest.$ac_ext
41089 cat >>conftest.$ac_ext <<_ACEOF
41090 /* end confdefs.h. */
41091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41093 #define $ac_func innocuous_$ac_func
41094
41095 /* System header to define __stub macros and hopefully few prototypes,
41096 which can conflict with char $ac_func (); below.
41097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41098 <limits.h> exists even on freestanding compilers. */
41099
41100 #ifdef __STDC__
41101 # include <limits.h>
41102 #else
41103 # include <assert.h>
41104 #endif
41105
41106 #undef $ac_func
41107
41108 /* Override any GCC internal prototype to avoid an error.
41109 Use char because int might match the return type of a GCC
41110 builtin and then its argument prototype would still apply. */
41111 #ifdef __cplusplus
41112 extern "C"
41113 #endif
41114 char $ac_func ();
41115 /* The GNU C library defines this for functions which it implements
41116 to always fail with ENOSYS. Some functions are actually named
41117 something starting with __ and the normal name is an alias. */
41118 #if defined __stub_$ac_func || defined __stub___$ac_func
41119 choke me
41120 #endif
41121
41122 int
41123 main ()
41124 {
41125 return $ac_func ();
41126 ;
41127 return 0;
41128 }
41129 _ACEOF
41130 rm -f conftest.$ac_objext conftest$ac_exeext
41131 if { (ac_try="$ac_link"
41132 case "(($ac_try" in
41133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41134 *) ac_try_echo=$ac_try;;
41135 esac
41136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41137 (eval "$ac_link") 2>conftest.er1
41138 ac_status=$?
41139 grep -v '^ *+' conftest.er1 >conftest.err
41140 rm -f conftest.er1
41141 cat conftest.err >&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); } && {
41144 test -z "$ac_c_werror_flag" ||
41145 test ! -s conftest.err
41146 } && test -s conftest$ac_exeext &&
41147 $as_test_x conftest$ac_exeext; then
41148 eval "$as_ac_var=yes"
41149 else
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41152
41153 eval "$as_ac_var=no"
41154 fi
41155
41156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41157 conftest$ac_exeext conftest.$ac_ext
41158 fi
41159 ac_res=`eval echo '${'$as_ac_var'}'`
41160 { echo "$as_me:$LINENO: result: $ac_res" >&5
41161 echo "${ECHO_T}$ac_res" >&6; }
41162 if test `eval echo '${'$as_ac_var'}'` = yes; then
41163 cat >>confdefs.h <<_ACEOF
41164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41165 _ACEOF
41166 cat >>confdefs.h <<\_ACEOF
41167 #define HAVE_GETSERVBYNAME 1
41168 _ACEOF
41169
41170 fi
41171 done
41172
41173 fi
41174
41175 if test "$wxUSE_THREADS" = "yes"; then
41176 cat >>confdefs.h <<\_ACEOF
41177 #define wxUSE_THREADS 1
41178 _ACEOF
41179
41180
41181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41182 else
41183 if test "$wx_cv_func_strtok_r" = "yes"; then
41184 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41185 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41186 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41187 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41188 { echo "$as_me:$LINENO: result: yes" >&5
41189 echo "${ECHO_T}yes" >&6; }
41190 else
41191 { echo "$as_me:$LINENO: result: no" >&5
41192 echo "${ECHO_T}no" >&6; }
41193 fi
41194 fi
41195 fi
41196
41197 if test "$WXGTK2" = 1 ; then
41198 cat >>confdefs.h <<_ACEOF
41199 #define __WXGTK20__ $WXGTK2
41200 _ACEOF
41201
41202 WXGTK12=1
41203 fi
41204
41205 if test "$WXGTK12" = 1 ; then
41206 cat >>confdefs.h <<_ACEOF
41207 #define __WXGTK12__ $WXGTK12
41208 _ACEOF
41209
41210 fi
41211
41212 if test "$WXGTK127" = 1 ; then
41213 cat >>confdefs.h <<_ACEOF
41214 #define __WXGTK127__ $WXGTK127
41215 _ACEOF
41216
41217 fi
41218
41219 if test "$WXGPE" = 1 ; then
41220 cat >>confdefs.h <<_ACEOF
41221 #define __WXGPE__ $WXGPE
41222 _ACEOF
41223
41224 fi
41225
41226 DEBUG_CFLAGS=
41227 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41228 DEBUG_CFLAGS="-g"
41229 fi
41230
41231 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41232 wxUSE_DEBUG_INFO=yes
41233 if test "$GCC" = yes; then
41234 DEBUG_CFLAGS="-ggdb"
41235 fi
41236 fi
41237
41238 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41239 cat >>confdefs.h <<\_ACEOF
41240 #define WXDEBUG 1
41241 _ACEOF
41242
41243 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41244 else
41245 if test "$wxUSE_GTK" = 1 ; then
41246 if test "x$wxGTK_VERSION" = "x1" ; then
41247 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41248 fi
41249 fi
41250 fi
41251
41252 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41253 cat >>confdefs.h <<\_ACEOF
41254 #define wxUSE_MEMORY_TRACING 1
41255 _ACEOF
41256
41257 cat >>confdefs.h <<\_ACEOF
41258 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41259 _ACEOF
41260
41261 cat >>confdefs.h <<\_ACEOF
41262 #define wxUSE_DEBUG_NEW_ALWAYS 1
41263 _ACEOF
41264
41265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41266 fi
41267
41268 if test "$wxUSE_DMALLOC" = "yes" ; then
41269 DMALLOC_LIBS="-ldmallocthcxx"
41270 fi
41271
41272 PROFILE_FLAGS=
41273 if test "$wxUSE_PROFILE" = "yes" ; then
41274 PROFILE_FLAGS=" -pg"
41275 fi
41276
41277 if test "$GCC" = "yes" ; then
41278 if test "$wxUSE_NO_RTTI" = "yes" ; then
41279 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41280 fi
41281 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41282 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41283 fi
41284 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41285 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41286 fi
41287
41288 case "${host}" in
41289 powerpc*-*-aix* )
41290 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41291 ;;
41292 *-hppa* )
41293 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41294 ;;
41295 esac
41296 fi
41297
41298 OPTIMISE_CFLAGS=
41299 if test "$wxUSE_OPTIMISE" = "no" ; then
41300 if test "$GCC" = yes ; then
41301 OPTIMISE_CFLAGS="-O0"
41302 fi
41303 else
41304 if test "$GCC" = yes ; then
41305 case "${host}" in
41306 *-pc-os2_emx | *-pc-os2-emx )
41307 OPTIMISE_CFLAGS="-O2"
41308 ;;
41309 *)
41310 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41311 ;;
41312 esac
41313 else
41314 OPTIMISE_CFLAGS="-O"
41315 fi
41316 fi
41317
41318
41319 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41320 cat >>confdefs.h <<\_ACEOF
41321 #define WXWIN_COMPATIBILITY_2_6 1
41322 _ACEOF
41323
41324
41325 WXWIN_COMPATIBILITY_2_8="yes"
41326 fi
41327
41328 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41329 cat >>confdefs.h <<\_ACEOF
41330 #define WXWIN_COMPATIBILITY_2_8 1
41331 _ACEOF
41332
41333 fi
41334
41335
41336 if test "$wxUSE_GUI" = "yes"; then
41337 cat >>confdefs.h <<\_ACEOF
41338 #define wxUSE_GUI 1
41339 _ACEOF
41340
41341
41342 fi
41343
41344
41345 if test "$wxUSE_UNIX" = "yes"; then
41346 cat >>confdefs.h <<\_ACEOF
41347 #define wxUSE_UNIX 1
41348 _ACEOF
41349
41350 fi
41351
41352
41353 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41354
41355 HAVE_DL_FUNCS=0
41356 HAVE_SHL_FUNCS=0
41357 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41358 if test "$USE_DOS" = 1; then
41359 HAVE_DL_FUNCS=0
41360 else
41361
41362 for ac_func in dlopen
41363 do
41364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41368 echo $ECHO_N "(cached) $ECHO_C" >&6
41369 else
41370 cat >conftest.$ac_ext <<_ACEOF
41371 /* confdefs.h. */
41372 _ACEOF
41373 cat confdefs.h >>conftest.$ac_ext
41374 cat >>conftest.$ac_ext <<_ACEOF
41375 /* end confdefs.h. */
41376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41378 #define $ac_func innocuous_$ac_func
41379
41380 /* System header to define __stub macros and hopefully few prototypes,
41381 which can conflict with char $ac_func (); below.
41382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41383 <limits.h> exists even on freestanding compilers. */
41384
41385 #ifdef __STDC__
41386 # include <limits.h>
41387 #else
41388 # include <assert.h>
41389 #endif
41390
41391 #undef $ac_func
41392
41393 /* Override any GCC internal prototype to avoid an error.
41394 Use char because int might match the return type of a GCC
41395 builtin and then its argument prototype would still apply. */
41396 #ifdef __cplusplus
41397 extern "C"
41398 #endif
41399 char $ac_func ();
41400 /* The GNU C library defines this for functions which it implements
41401 to always fail with ENOSYS. Some functions are actually named
41402 something starting with __ and the normal name is an alias. */
41403 #if defined __stub_$ac_func || defined __stub___$ac_func
41404 choke me
41405 #endif
41406
41407 int
41408 main ()
41409 {
41410 return $ac_func ();
41411 ;
41412 return 0;
41413 }
41414 _ACEOF
41415 rm -f conftest.$ac_objext conftest$ac_exeext
41416 if { (ac_try="$ac_link"
41417 case "(($ac_try" in
41418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41419 *) ac_try_echo=$ac_try;;
41420 esac
41421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41422 (eval "$ac_link") 2>conftest.er1
41423 ac_status=$?
41424 grep -v '^ *+' conftest.er1 >conftest.err
41425 rm -f conftest.er1
41426 cat conftest.err >&5
41427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41428 (exit $ac_status); } && {
41429 test -z "$ac_c_werror_flag" ||
41430 test ! -s conftest.err
41431 } && test -s conftest$ac_exeext &&
41432 $as_test_x conftest$ac_exeext; then
41433 eval "$as_ac_var=yes"
41434 else
41435 echo "$as_me: failed program was:" >&5
41436 sed 's/^/| /' conftest.$ac_ext >&5
41437
41438 eval "$as_ac_var=no"
41439 fi
41440
41441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41442 conftest$ac_exeext conftest.$ac_ext
41443 fi
41444 ac_res=`eval echo '${'$as_ac_var'}'`
41445 { echo "$as_me:$LINENO: result: $ac_res" >&5
41446 echo "${ECHO_T}$ac_res" >&6; }
41447 if test `eval echo '${'$as_ac_var'}'` = yes; then
41448 cat >>confdefs.h <<_ACEOF
41449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41450 _ACEOF
41451
41452 cat >>confdefs.h <<\_ACEOF
41453 #define HAVE_DLOPEN 1
41454 _ACEOF
41455
41456 HAVE_DL_FUNCS=1
41457
41458 else
41459
41460 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41461 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41462 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41463 echo $ECHO_N "(cached) $ECHO_C" >&6
41464 else
41465 ac_check_lib_save_LIBS=$LIBS
41466 LIBS="-ldl $LIBS"
41467 cat >conftest.$ac_ext <<_ACEOF
41468 /* confdefs.h. */
41469 _ACEOF
41470 cat confdefs.h >>conftest.$ac_ext
41471 cat >>conftest.$ac_ext <<_ACEOF
41472 /* end confdefs.h. */
41473
41474 /* Override any GCC internal prototype to avoid an error.
41475 Use char because int might match the return type of a GCC
41476 builtin and then its argument prototype would still apply. */
41477 #ifdef __cplusplus
41478 extern "C"
41479 #endif
41480 char dlopen ();
41481 int
41482 main ()
41483 {
41484 return dlopen ();
41485 ;
41486 return 0;
41487 }
41488 _ACEOF
41489 rm -f conftest.$ac_objext conftest$ac_exeext
41490 if { (ac_try="$ac_link"
41491 case "(($ac_try" in
41492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41493 *) ac_try_echo=$ac_try;;
41494 esac
41495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41496 (eval "$ac_link") 2>conftest.er1
41497 ac_status=$?
41498 grep -v '^ *+' conftest.er1 >conftest.err
41499 rm -f conftest.er1
41500 cat conftest.err >&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); } && {
41503 test -z "$ac_c_werror_flag" ||
41504 test ! -s conftest.err
41505 } && test -s conftest$ac_exeext &&
41506 $as_test_x conftest$ac_exeext; then
41507 ac_cv_lib_dl_dlopen=yes
41508 else
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41511
41512 ac_cv_lib_dl_dlopen=no
41513 fi
41514
41515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41516 conftest$ac_exeext conftest.$ac_ext
41517 LIBS=$ac_check_lib_save_LIBS
41518 fi
41519 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41520 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41521 if test $ac_cv_lib_dl_dlopen = yes; then
41522
41523 cat >>confdefs.h <<\_ACEOF
41524 #define HAVE_DLOPEN 1
41525 _ACEOF
41526
41527 HAVE_DL_FUNCS=1
41528 DL_LINK=" -ldl$DL_LINK"
41529
41530 else
41531
41532
41533 for ac_func in shl_load
41534 do
41535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41539 echo $ECHO_N "(cached) $ECHO_C" >&6
41540 else
41541 cat >conftest.$ac_ext <<_ACEOF
41542 /* confdefs.h. */
41543 _ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h. */
41547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41549 #define $ac_func innocuous_$ac_func
41550
41551 /* System header to define __stub macros and hopefully few prototypes,
41552 which can conflict with char $ac_func (); below.
41553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41554 <limits.h> exists even on freestanding compilers. */
41555
41556 #ifdef __STDC__
41557 # include <limits.h>
41558 #else
41559 # include <assert.h>
41560 #endif
41561
41562 #undef $ac_func
41563
41564 /* Override any GCC internal prototype to avoid an error.
41565 Use char because int might match the return type of a GCC
41566 builtin and then its argument prototype would still apply. */
41567 #ifdef __cplusplus
41568 extern "C"
41569 #endif
41570 char $ac_func ();
41571 /* The GNU C library defines this for functions which it implements
41572 to always fail with ENOSYS. Some functions are actually named
41573 something starting with __ and the normal name is an alias. */
41574 #if defined __stub_$ac_func || defined __stub___$ac_func
41575 choke me
41576 #endif
41577
41578 int
41579 main ()
41580 {
41581 return $ac_func ();
41582 ;
41583 return 0;
41584 }
41585 _ACEOF
41586 rm -f conftest.$ac_objext conftest$ac_exeext
41587 if { (ac_try="$ac_link"
41588 case "(($ac_try" in
41589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41590 *) ac_try_echo=$ac_try;;
41591 esac
41592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41593 (eval "$ac_link") 2>conftest.er1
41594 ac_status=$?
41595 grep -v '^ *+' conftest.er1 >conftest.err
41596 rm -f conftest.er1
41597 cat conftest.err >&5
41598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41599 (exit $ac_status); } && {
41600 test -z "$ac_c_werror_flag" ||
41601 test ! -s conftest.err
41602 } && test -s conftest$ac_exeext &&
41603 $as_test_x conftest$ac_exeext; then
41604 eval "$as_ac_var=yes"
41605 else
41606 echo "$as_me: failed program was:" >&5
41607 sed 's/^/| /' conftest.$ac_ext >&5
41608
41609 eval "$as_ac_var=no"
41610 fi
41611
41612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41613 conftest$ac_exeext conftest.$ac_ext
41614 fi
41615 ac_res=`eval echo '${'$as_ac_var'}'`
41616 { echo "$as_me:$LINENO: result: $ac_res" >&5
41617 echo "${ECHO_T}$ac_res" >&6; }
41618 if test `eval echo '${'$as_ac_var'}'` = yes; then
41619 cat >>confdefs.h <<_ACEOF
41620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41621 _ACEOF
41622
41623 cat >>confdefs.h <<\_ACEOF
41624 #define HAVE_SHL_LOAD 1
41625 _ACEOF
41626
41627 HAVE_SHL_FUNCS=1
41628
41629 else
41630
41631 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41632 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41633 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41636 ac_check_lib_save_LIBS=$LIBS
41637 LIBS="-lshl_load $LIBS"
41638 cat >conftest.$ac_ext <<_ACEOF
41639 /* confdefs.h. */
41640 _ACEOF
41641 cat confdefs.h >>conftest.$ac_ext
41642 cat >>conftest.$ac_ext <<_ACEOF
41643 /* end confdefs.h. */
41644
41645 /* Override any GCC internal prototype to avoid an error.
41646 Use char because int might match the return type of a GCC
41647 builtin and then its argument prototype would still apply. */
41648 #ifdef __cplusplus
41649 extern "C"
41650 #endif
41651 char dld ();
41652 int
41653 main ()
41654 {
41655 return dld ();
41656 ;
41657 return 0;
41658 }
41659 _ACEOF
41660 rm -f conftest.$ac_objext conftest$ac_exeext
41661 if { (ac_try="$ac_link"
41662 case "(($ac_try" in
41663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41664 *) ac_try_echo=$ac_try;;
41665 esac
41666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41667 (eval "$ac_link") 2>conftest.er1
41668 ac_status=$?
41669 grep -v '^ *+' conftest.er1 >conftest.err
41670 rm -f conftest.er1
41671 cat conftest.err >&5
41672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41673 (exit $ac_status); } && {
41674 test -z "$ac_c_werror_flag" ||
41675 test ! -s conftest.err
41676 } && test -s conftest$ac_exeext &&
41677 $as_test_x conftest$ac_exeext; then
41678 ac_cv_lib_shl_load_dld=yes
41679 else
41680 echo "$as_me: failed program was:" >&5
41681 sed 's/^/| /' conftest.$ac_ext >&5
41682
41683 ac_cv_lib_shl_load_dld=no
41684 fi
41685
41686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41687 conftest$ac_exeext conftest.$ac_ext
41688 LIBS=$ac_check_lib_save_LIBS
41689 fi
41690 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41691 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41692 if test $ac_cv_lib_shl_load_dld = yes; then
41693
41694 HAVE_SHL_FUNCS=1
41695 DL_LINK=" -ldld$DL_LINK"
41696
41697 fi
41698
41699
41700 fi
41701 done
41702
41703
41704 fi
41705
41706
41707 fi
41708 done
41709
41710
41711 if test "$HAVE_DL_FUNCS" = 1; then
41712
41713 for ac_func in dlerror
41714 do
41715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41719 echo $ECHO_N "(cached) $ECHO_C" >&6
41720 else
41721 cat >conftest.$ac_ext <<_ACEOF
41722 /* confdefs.h. */
41723 _ACEOF
41724 cat confdefs.h >>conftest.$ac_ext
41725 cat >>conftest.$ac_ext <<_ACEOF
41726 /* end confdefs.h. */
41727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41729 #define $ac_func innocuous_$ac_func
41730
41731 /* System header to define __stub macros and hopefully few prototypes,
41732 which can conflict with char $ac_func (); below.
41733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41734 <limits.h> exists even on freestanding compilers. */
41735
41736 #ifdef __STDC__
41737 # include <limits.h>
41738 #else
41739 # include <assert.h>
41740 #endif
41741
41742 #undef $ac_func
41743
41744 /* Override any GCC internal prototype to avoid an error.
41745 Use char because int might match the return type of a GCC
41746 builtin and then its argument prototype would still apply. */
41747 #ifdef __cplusplus
41748 extern "C"
41749 #endif
41750 char $ac_func ();
41751 /* The GNU C library defines this for functions which it implements
41752 to always fail with ENOSYS. Some functions are actually named
41753 something starting with __ and the normal name is an alias. */
41754 #if defined __stub_$ac_func || defined __stub___$ac_func
41755 choke me
41756 #endif
41757
41758 int
41759 main ()
41760 {
41761 return $ac_func ();
41762 ;
41763 return 0;
41764 }
41765 _ACEOF
41766 rm -f conftest.$ac_objext conftest$ac_exeext
41767 if { (ac_try="$ac_link"
41768 case "(($ac_try" in
41769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41770 *) ac_try_echo=$ac_try;;
41771 esac
41772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41773 (eval "$ac_link") 2>conftest.er1
41774 ac_status=$?
41775 grep -v '^ *+' conftest.er1 >conftest.err
41776 rm -f conftest.er1
41777 cat conftest.err >&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } && {
41780 test -z "$ac_c_werror_flag" ||
41781 test ! -s conftest.err
41782 } && test -s conftest$ac_exeext &&
41783 $as_test_x conftest$ac_exeext; then
41784 eval "$as_ac_var=yes"
41785 else
41786 echo "$as_me: failed program was:" >&5
41787 sed 's/^/| /' conftest.$ac_ext >&5
41788
41789 eval "$as_ac_var=no"
41790 fi
41791
41792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41793 conftest$ac_exeext conftest.$ac_ext
41794 fi
41795 ac_res=`eval echo '${'$as_ac_var'}'`
41796 { echo "$as_me:$LINENO: result: $ac_res" >&5
41797 echo "${ECHO_T}$ac_res" >&6; }
41798 if test `eval echo '${'$as_ac_var'}'` = yes; then
41799 cat >>confdefs.h <<_ACEOF
41800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41801 _ACEOF
41802 cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_DLERROR 1
41804 _ACEOF
41805
41806 else
41807
41808 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41809 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41810 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41811 echo $ECHO_N "(cached) $ECHO_C" >&6
41812 else
41813 ac_check_lib_save_LIBS=$LIBS
41814 LIBS="-ldl $LIBS"
41815 cat >conftest.$ac_ext <<_ACEOF
41816 /* confdefs.h. */
41817 _ACEOF
41818 cat confdefs.h >>conftest.$ac_ext
41819 cat >>conftest.$ac_ext <<_ACEOF
41820 /* end confdefs.h. */
41821
41822 /* Override any GCC internal prototype to avoid an error.
41823 Use char because int might match the return type of a GCC
41824 builtin and then its argument prototype would still apply. */
41825 #ifdef __cplusplus
41826 extern "C"
41827 #endif
41828 char dlerror ();
41829 int
41830 main ()
41831 {
41832 return dlerror ();
41833 ;
41834 return 0;
41835 }
41836 _ACEOF
41837 rm -f conftest.$ac_objext conftest$ac_exeext
41838 if { (ac_try="$ac_link"
41839 case "(($ac_try" in
41840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41841 *) ac_try_echo=$ac_try;;
41842 esac
41843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41844 (eval "$ac_link") 2>conftest.er1
41845 ac_status=$?
41846 grep -v '^ *+' conftest.er1 >conftest.err
41847 rm -f conftest.er1
41848 cat conftest.err >&5
41849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41850 (exit $ac_status); } && {
41851 test -z "$ac_c_werror_flag" ||
41852 test ! -s conftest.err
41853 } && test -s conftest$ac_exeext &&
41854 $as_test_x conftest$ac_exeext; then
41855 ac_cv_lib_dl_dlerror=yes
41856 else
41857 echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.$ac_ext >&5
41859
41860 ac_cv_lib_dl_dlerror=no
41861 fi
41862
41863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41864 conftest$ac_exeext conftest.$ac_ext
41865 LIBS=$ac_check_lib_save_LIBS
41866 fi
41867 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41868 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41869 if test $ac_cv_lib_dl_dlerror = yes; then
41870 cat >>confdefs.h <<\_ACEOF
41871 #define HAVE_DLERROR 1
41872 _ACEOF
41873
41874 fi
41875
41876
41877
41878 fi
41879 done
41880
41881 fi
41882 fi
41883
41884 if test "$USE_DARWIN" = 1; then
41885 HAVE_DL_FUNCS=1
41886 fi
41887
41888 if test "$HAVE_DL_FUNCS" = 0; then
41889 if test "$HAVE_SHL_FUNCS" = 0; then
41890 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41891 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41892 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41893 wxUSE_DYNAMIC_LOADER=no
41894 wxUSE_DYNLIB_CLASS=no
41895 else
41896 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41897 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41898 fi
41899 fi
41900 fi
41901 fi
41902 fi
41903
41904 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41905 cat >>confdefs.h <<\_ACEOF
41906 #define wxUSE_DYNAMIC_LOADER 1
41907 _ACEOF
41908
41909 fi
41910 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41911 cat >>confdefs.h <<\_ACEOF
41912 #define wxUSE_DYNLIB_CLASS 1
41913 _ACEOF
41914
41915 fi
41916
41917
41918
41919 if test "$wxUSE_PLUGINS" = "yes" ; then
41920 if test "$wxUSE_SHARED" = "no" ; then
41921 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41922 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41923 wxUSE_PLUGINS=no
41924 fi
41925 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41926 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41927 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41928 wxUSE_PLUGINS=no
41929 fi
41930 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41931 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41932 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41933 wxUSE_PLUGINS=no
41934 fi
41935 if test "$wxUSE_PLUGINS" = "yes" ; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define wxUSE_PLUGINS 1
41938 _ACEOF
41939
41940 fi
41941 fi
41942
41943
41944 if test "$wxUSE_STL" = "yes"; then
41945 cat >>confdefs.h <<\_ACEOF
41946 #define wxUSE_STL 1
41947 _ACEOF
41948
41949 fi
41950
41951 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41952 cat >>confdefs.h <<\_ACEOF
41953 #define wxUSE_EXTENDED_RTTI 1
41954 _ACEOF
41955
41956 fi
41957
41958 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41959 cat >>confdefs.h <<\_ACEOF
41960 #define wxUSE_APPLE_IEEE 1
41961 _ACEOF
41962
41963 fi
41964
41965 if test "$wxUSE_TIMER" = "yes"; then
41966 cat >>confdefs.h <<\_ACEOF
41967 #define wxUSE_TIMER 1
41968 _ACEOF
41969
41970 fi
41971
41972 if test "$USE_UNIX" = 1 ; then
41973 if test "$wxUSE_MGL" != 1; then
41974 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41975 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41976 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 else
41979
41980 cat >conftest.$ac_ext <<_ACEOF
41981 /* confdefs.h. */
41982 _ACEOF
41983 cat confdefs.h >>conftest.$ac_ext
41984 cat >>conftest.$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41986
41987 #include <sys/ioctl.h>
41988 #include <sys/soundcard.h>
41989
41990 int
41991 main ()
41992 {
41993
41994 ioctl(0, SNDCTL_DSP_SPEED, 0);
41995
41996 ;
41997 return 0;
41998 }
41999 _ACEOF
42000 rm -f conftest.$ac_objext conftest$ac_exeext
42001 if { (ac_try="$ac_link"
42002 case "(($ac_try" in
42003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42004 *) ac_try_echo=$ac_try;;
42005 esac
42006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42007 (eval "$ac_link") 2>conftest.er1
42008 ac_status=$?
42009 grep -v '^ *+' conftest.er1 >conftest.err
42010 rm -f conftest.er1
42011 cat conftest.err >&5
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); } && {
42014 test -z "$ac_c_werror_flag" ||
42015 test ! -s conftest.err
42016 } && test -s conftest$ac_exeext &&
42017 $as_test_x conftest$ac_exeext; then
42018 ac_cv_header_sys_soundcard=yes
42019 else
42020 echo "$as_me: failed program was:" >&5
42021 sed 's/^/| /' conftest.$ac_ext >&5
42022
42023
42024 saveLibs="$LIBS"
42025 LIBS="$saveLibs -lossaudio"
42026 cat >conftest.$ac_ext <<_ACEOF
42027 /* confdefs.h. */
42028 _ACEOF
42029 cat confdefs.h >>conftest.$ac_ext
42030 cat >>conftest.$ac_ext <<_ACEOF
42031 /* end confdefs.h. */
42032
42033 #include <sys/ioctl.h>
42034 #include <sys/soundcard.h>
42035
42036 int
42037 main ()
42038 {
42039
42040 ioctl(0, SNDCTL_DSP_SPEED, 0);
42041
42042 ;
42043 return 0;
42044 }
42045 _ACEOF
42046 rm -f conftest.$ac_objext conftest$ac_exeext
42047 if { (ac_try="$ac_link"
42048 case "(($ac_try" in
42049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42050 *) ac_try_echo=$ac_try;;
42051 esac
42052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42053 (eval "$ac_link") 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } && {
42060 test -z "$ac_c_werror_flag" ||
42061 test ! -s conftest.err
42062 } && test -s conftest$ac_exeext &&
42063 $as_test_x conftest$ac_exeext; then
42064 ac_cv_header_sys_soundcard=yes
42065 else
42066 echo "$as_me: failed program was:" >&5
42067 sed 's/^/| /' conftest.$ac_ext >&5
42068
42069
42070 LIBS="$saveLibs"
42071 ac_cv_header_sys_soundcard=no
42072
42073
42074 fi
42075
42076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42077 conftest$ac_exeext conftest.$ac_ext
42078
42079
42080 fi
42081
42082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42083 conftest$ac_exeext conftest.$ac_ext
42084
42085 fi
42086 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42087 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42088 fi
42089
42090 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42091 cat >>confdefs.h <<\_ACEOF
42092 #define HAVE_SYS_SOUNDCARD_H 1
42093 _ACEOF
42094
42095 fi
42096 fi
42097
42098 WITH_PLUGIN_SDL=0
42099 if test "$wxUSE_SOUND" = "yes"; then
42100 if test "$USE_UNIX" = 1 ; then
42101 if test "$wxUSE_LIBSDL" != "no"; then
42102
42103 # Check whether --with-sdl-prefix was given.
42104 if test "${with_sdl_prefix+set}" = set; then
42105 withval=$with_sdl_prefix; sdl_prefix="$withval"
42106 else
42107 sdl_prefix=""
42108 fi
42109
42110
42111 # Check whether --with-sdl-exec-prefix was given.
42112 if test "${with_sdl_exec_prefix+set}" = set; then
42113 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42114 else
42115 sdl_exec_prefix=""
42116 fi
42117
42118 # Check whether --enable-sdltest was given.
42119 if test "${enable_sdltest+set}" = set; then
42120 enableval=$enable_sdltest;
42121 else
42122 enable_sdltest=yes
42123 fi
42124
42125
42126 if test x$sdl_exec_prefix != x ; then
42127 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42128 if test x${SDL_CONFIG+set} != xset ; then
42129 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42130 fi
42131 fi
42132 if test x$sdl_prefix != x ; then
42133 sdl_args="$sdl_args --prefix=$sdl_prefix"
42134 if test x${SDL_CONFIG+set} != xset ; then
42135 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42136 fi
42137 fi
42138
42139 if test "x$prefix" != xNONE; then
42140 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42141 fi
42142 # Extract the first word of "sdl-config", so it can be a program name with args.
42143 set dummy sdl-config; ac_word=$2
42144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42146 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42148 else
42149 case $SDL_CONFIG in
42150 [\\/]* | ?:[\\/]*)
42151 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42152 ;;
42153 *)
42154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42155 for as_dir in $PATH
42156 do
42157 IFS=$as_save_IFS
42158 test -z "$as_dir" && as_dir=.
42159 for ac_exec_ext in '' $ac_executable_extensions; do
42160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42161 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42163 break 2
42164 fi
42165 done
42166 done
42167 IFS=$as_save_IFS
42168
42169 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42170 ;;
42171 esac
42172 fi
42173 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42174 if test -n "$SDL_CONFIG"; then
42175 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42176 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42177 else
42178 { echo "$as_me:$LINENO: result: no" >&5
42179 echo "${ECHO_T}no" >&6; }
42180 fi
42181
42182
42183 min_sdl_version=1.2.0
42184 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42185 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42186 no_sdl=""
42187 if test "$SDL_CONFIG" = "no" ; then
42188 no_sdl=yes
42189 else
42190 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42191 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42192
42193 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42195 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42197 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42199 if test "x$enable_sdltest" = "xyes" ; then
42200 ac_save_CFLAGS="$CFLAGS"
42201 ac_save_CXXFLAGS="$CXXFLAGS"
42202 ac_save_LIBS="$LIBS"
42203 CFLAGS="$CFLAGS $SDL_CFLAGS"
42204 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42205 LIBS="$LIBS $SDL_LIBS"
42206 rm -f conf.sdltest
42207 if test "$cross_compiling" = yes; then
42208 echo $ac_n "cross compiling; assumed OK... $ac_c"
42209 else
42210 cat >conftest.$ac_ext <<_ACEOF
42211 /* confdefs.h. */
42212 _ACEOF
42213 cat confdefs.h >>conftest.$ac_ext
42214 cat >>conftest.$ac_ext <<_ACEOF
42215 /* end confdefs.h. */
42216
42217 #include <stdio.h>
42218 #include <stdlib.h>
42219 #include <string.h>
42220 #include "SDL.h"
42221
42222 char*
42223 my_strdup (char *str)
42224 {
42225 char *new_str;
42226
42227 if (str)
42228 {
42229 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42230 strcpy (new_str, str);
42231 }
42232 else
42233 new_str = NULL;
42234
42235 return new_str;
42236 }
42237
42238 int main (int argc, char *argv[])
42239 {
42240 int major, minor, micro;
42241 char *tmp_version;
42242
42243 /* This hangs on some systems (?)
42244 system ("touch conf.sdltest");
42245 */
42246 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42247
42248 /* HP/UX 9 (%@#!) writes to sscanf strings */
42249 tmp_version = my_strdup("$min_sdl_version");
42250 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42251 printf("%s, bad version string\n", "$min_sdl_version");
42252 exit(1);
42253 }
42254
42255 if (($sdl_major_version > major) ||
42256 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42257 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42258 {
42259 return 0;
42260 }
42261 else
42262 {
42263 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42264 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42265 printf("*** best to upgrade to the required version.\n");
42266 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42267 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42268 printf("*** config.cache before re-running configure\n");
42269 return 1;
42270 }
42271 }
42272
42273
42274 _ACEOF
42275 rm -f conftest$ac_exeext
42276 if { (ac_try="$ac_link"
42277 case "(($ac_try" in
42278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42279 *) ac_try_echo=$ac_try;;
42280 esac
42281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42282 (eval "$ac_link") 2>&5
42283 ac_status=$?
42284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42285 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42286 { (case "(($ac_try" in
42287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42288 *) ac_try_echo=$ac_try;;
42289 esac
42290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42291 (eval "$ac_try") 2>&5
42292 ac_status=$?
42293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42294 (exit $ac_status); }; }; then
42295 :
42296 else
42297 echo "$as_me: program exited with status $ac_status" >&5
42298 echo "$as_me: failed program was:" >&5
42299 sed 's/^/| /' conftest.$ac_ext >&5
42300
42301 ( exit $ac_status )
42302 no_sdl=yes
42303 fi
42304 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42305 fi
42306
42307
42308 CFLAGS="$ac_save_CFLAGS"
42309 CXXFLAGS="$ac_save_CXXFLAGS"
42310 LIBS="$ac_save_LIBS"
42311 fi
42312 fi
42313 if test "x$no_sdl" = x ; then
42314 { echo "$as_me:$LINENO: result: yes" >&5
42315 echo "${ECHO_T}yes" >&6; }
42316
42317 EXTRALIBS_SDL="$SDL_LIBS"
42318 CFLAGS="$SDL_CFLAGS $CFLAGS"
42319 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42320 cat >>confdefs.h <<\_ACEOF
42321 #define wxUSE_LIBSDL 1
42322 _ACEOF
42323
42324
42325 else
42326 { echo "$as_me:$LINENO: result: no" >&5
42327 echo "${ECHO_T}no" >&6; }
42328 if test "$SDL_CONFIG" = "no" ; then
42329 echo "*** The sdl-config script installed by SDL could not be found"
42330 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42331 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42332 echo "*** full path to sdl-config."
42333 else
42334 if test -f conf.sdltest ; then
42335 :
42336 else
42337 echo "*** Could not run SDL test program, checking why..."
42338 CFLAGS="$CFLAGS $SDL_CFLAGS"
42339 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42340 LIBS="$LIBS $SDL_LIBS"
42341 cat >conftest.$ac_ext <<_ACEOF
42342 /* confdefs.h. */
42343 _ACEOF
42344 cat confdefs.h >>conftest.$ac_ext
42345 cat >>conftest.$ac_ext <<_ACEOF
42346 /* end confdefs.h. */
42347
42348 #include <stdio.h>
42349 #include "SDL.h"
42350
42351 int main(int argc, char *argv[])
42352 { return 0; }
42353 #undef main
42354 #define main K_and_R_C_main
42355
42356 int
42357 main ()
42358 {
42359 return 0;
42360 ;
42361 return 0;
42362 }
42363 _ACEOF
42364 rm -f conftest.$ac_objext conftest$ac_exeext
42365 if { (ac_try="$ac_link"
42366 case "(($ac_try" in
42367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42368 *) ac_try_echo=$ac_try;;
42369 esac
42370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42371 (eval "$ac_link") 2>conftest.er1
42372 ac_status=$?
42373 grep -v '^ *+' conftest.er1 >conftest.err
42374 rm -f conftest.er1
42375 cat conftest.err >&5
42376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42377 (exit $ac_status); } && {
42378 test -z "$ac_c_werror_flag" ||
42379 test ! -s conftest.err
42380 } && test -s conftest$ac_exeext &&
42381 $as_test_x conftest$ac_exeext; then
42382 echo "*** The test program compiled, but did not run. This usually means"
42383 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42384 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42385 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42386 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42387 echo "*** is required on your system"
42388 echo "***"
42389 echo "*** If you have an old version installed, it is best to remove it, although"
42390 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42391 else
42392 echo "$as_me: failed program was:" >&5
42393 sed 's/^/| /' conftest.$ac_ext >&5
42394
42395 echo "*** The test program failed to compile or link. See the file config.log for the"
42396 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42397 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42398 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42399 fi
42400
42401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42402 conftest$ac_exeext conftest.$ac_ext
42403 CFLAGS="$ac_save_CFLAGS"
42404 CXXFLAGS="$ac_save_CXXFLAGS"
42405 LIBS="$ac_save_LIBS"
42406 fi
42407 fi
42408 SDL_CFLAGS=""
42409 SDL_LIBS=""
42410 wxUSE_LIBSDL="no"
42411 fi
42412
42413
42414 rm -f conf.sdltest
42415
42416 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42417 WITH_PLUGIN_SDL=1
42418 fi
42419 fi
42420 else
42421 if test "$wxUSE_MGL" = 1; then
42422 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42423 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42424 wxUSE_SOUND="no"
42425 fi
42426 fi
42427 fi
42428
42429 if test "$wxUSE_SOUND" = "yes"; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define wxUSE_SOUND 1
42432 _ACEOF
42433
42434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42435 fi
42436
42437 if test "$WXGTK2" = 1; then
42438
42439
42440 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42441 if test -n "$ac_tool_prefix"; then
42442 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42443 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42446 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42447 echo $ECHO_N "(cached) $ECHO_C" >&6
42448 else
42449 case $PKG_CONFIG in
42450 [\\/]* | ?:[\\/]*)
42451 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42452 ;;
42453 *)
42454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42455 for as_dir in $PATH
42456 do
42457 IFS=$as_save_IFS
42458 test -z "$as_dir" && as_dir=.
42459 for ac_exec_ext in '' $ac_executable_extensions; do
42460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42461 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42463 break 2
42464 fi
42465 done
42466 done
42467 IFS=$as_save_IFS
42468
42469 ;;
42470 esac
42471 fi
42472 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42473 if test -n "$PKG_CONFIG"; then
42474 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42475 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42476 else
42477 { echo "$as_me:$LINENO: result: no" >&5
42478 echo "${ECHO_T}no" >&6; }
42479 fi
42480
42481
42482 fi
42483 if test -z "$ac_cv_path_PKG_CONFIG"; then
42484 ac_pt_PKG_CONFIG=$PKG_CONFIG
42485 # Extract the first word of "pkg-config", so it can be a program name with args.
42486 set dummy pkg-config; ac_word=$2
42487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42489 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42490 echo $ECHO_N "(cached) $ECHO_C" >&6
42491 else
42492 case $ac_pt_PKG_CONFIG in
42493 [\\/]* | ?:[\\/]*)
42494 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42495 ;;
42496 *)
42497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42498 for as_dir in $PATH
42499 do
42500 IFS=$as_save_IFS
42501 test -z "$as_dir" && as_dir=.
42502 for ac_exec_ext in '' $ac_executable_extensions; do
42503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42504 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42506 break 2
42507 fi
42508 done
42509 done
42510 IFS=$as_save_IFS
42511
42512 ;;
42513 esac
42514 fi
42515 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42516 if test -n "$ac_pt_PKG_CONFIG"; then
42517 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42518 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42519 else
42520 { echo "$as_me:$LINENO: result: no" >&5
42521 echo "${ECHO_T}no" >&6; }
42522 fi
42523
42524 if test "x$ac_pt_PKG_CONFIG" = x; then
42525 PKG_CONFIG=""
42526 else
42527 case $cross_compiling:$ac_tool_warned in
42528 yes:)
42529 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42530 whose name does not start with the host triplet. If you think this
42531 configuration is useful to you, please write to autoconf@gnu.org." >&5
42532 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42533 whose name does not start with the host triplet. If you think this
42534 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42535 ac_tool_warned=yes ;;
42536 esac
42537 PKG_CONFIG=$ac_pt_PKG_CONFIG
42538 fi
42539 else
42540 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42541 fi
42542
42543 fi
42544 if test -n "$PKG_CONFIG"; then
42545 _pkg_min_version=0.9.0
42546 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42547 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42548 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42549 { echo "$as_me:$LINENO: result: yes" >&5
42550 echo "${ECHO_T}yes" >&6; }
42551 else
42552 { echo "$as_me:$LINENO: result: no" >&5
42553 echo "${ECHO_T}no" >&6; }
42554 PKG_CONFIG=""
42555 fi
42556
42557 fi
42558
42559 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42560
42561 if test "$wxUSE_GTKPRINT" = "yes" ; then
42562
42563
42564 pkg_failed=no
42565 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42566 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42567
42568 if test -n "$PKG_CONFIG"; then
42569 if test -n "$GTKPRINT_CFLAGS"; then
42570 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42571 else
42572 if test -n "$PKG_CONFIG" && \
42573 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42574 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42575 ac_status=$?
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); }; then
42578 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42579 else
42580 pkg_failed=yes
42581 fi
42582 fi
42583 else
42584 pkg_failed=untried
42585 fi
42586 if test -n "$PKG_CONFIG"; then
42587 if test -n "$GTKPRINT_LIBS"; then
42588 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42589 else
42590 if test -n "$PKG_CONFIG" && \
42591 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42592 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42593 ac_status=$?
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); }; then
42596 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42597 else
42598 pkg_failed=yes
42599 fi
42600 fi
42601 else
42602 pkg_failed=untried
42603 fi
42604
42605
42606
42607 if test $pkg_failed = yes; then
42608
42609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42610 _pkg_short_errors_supported=yes
42611 else
42612 _pkg_short_errors_supported=no
42613 fi
42614 if test $_pkg_short_errors_supported = yes; then
42615 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42616 else
42617 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42618 fi
42619 # Put the nasty error message in config.log where it belongs
42620 echo "$GTKPRINT_PKG_ERRORS" >&5
42621
42622
42623 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42624 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42625 wxUSE_GTKPRINT="no"
42626
42627
42628 elif test $pkg_failed = untried; then
42629
42630 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42631 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42632 wxUSE_GTKPRINT="no"
42633
42634
42635 else
42636 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42637 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42638 { echo "$as_me:$LINENO: result: yes" >&5
42639 echo "${ECHO_T}yes" >&6; }
42640
42641 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42642 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_GTKPRINT 1
42645 _ACEOF
42646
42647
42648 fi
42649 fi
42650
42651 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42652
42653
42654 pkg_failed=no
42655 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42656 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42657
42658 if test -n "$PKG_CONFIG"; then
42659 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42660 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42661 else
42662 if test -n "$PKG_CONFIG" && \
42663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42664 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42665 ac_status=$?
42666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42667 (exit $ac_status); }; then
42668 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42669 else
42670 pkg_failed=yes
42671 fi
42672 fi
42673 else
42674 pkg_failed=untried
42675 fi
42676 if test -n "$PKG_CONFIG"; then
42677 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42678 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42679 else
42680 if test -n "$PKG_CONFIG" && \
42681 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42682 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42683 ac_status=$?
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); }; then
42686 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42687 else
42688 pkg_failed=yes
42689 fi
42690 fi
42691 else
42692 pkg_failed=untried
42693 fi
42694
42695
42696
42697 if test $pkg_failed = yes; then
42698
42699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42700 _pkg_short_errors_supported=yes
42701 else
42702 _pkg_short_errors_supported=no
42703 fi
42704 if test $_pkg_short_errors_supported = yes; then
42705 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42706 else
42707 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42708 fi
42709 # Put the nasty error message in config.log where it belongs
42710 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42711
42712
42713 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42714 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42715 wxUSE_LIBGNOMEPRINT="no"
42716
42717
42718 elif test $pkg_failed = untried; then
42719
42720 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42721 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42722 wxUSE_LIBGNOMEPRINT="no"
42723
42724
42725 else
42726 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42727 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42728 { echo "$as_me:$LINENO: result: yes" >&5
42729 echo "${ECHO_T}yes" >&6; }
42730
42731 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42732 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_LIBGNOMEPRINT 1
42735 _ACEOF
42736
42737
42738 fi
42739 fi
42740 fi
42741
42742 if test "$wxUSE_MIMETYPE" = "yes" ; then
42743 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42744
42745
42746 pkg_failed=no
42747 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42748 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42749
42750 if test -n "$PKG_CONFIG"; then
42751 if test -n "$GNOMEVFS_CFLAGS"; then
42752 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42753 else
42754 if test -n "$PKG_CONFIG" && \
42755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42756 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42757 ac_status=$?
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); }; then
42760 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42761 else
42762 pkg_failed=yes
42763 fi
42764 fi
42765 else
42766 pkg_failed=untried
42767 fi
42768 if test -n "$PKG_CONFIG"; then
42769 if test -n "$GNOMEVFS_LIBS"; then
42770 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42771 else
42772 if test -n "$PKG_CONFIG" && \
42773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42774 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42775 ac_status=$?
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; then
42778 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42779 else
42780 pkg_failed=yes
42781 fi
42782 fi
42783 else
42784 pkg_failed=untried
42785 fi
42786
42787
42788
42789 if test $pkg_failed = yes; then
42790
42791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42792 _pkg_short_errors_supported=yes
42793 else
42794 _pkg_short_errors_supported=no
42795 fi
42796 if test $_pkg_short_errors_supported = yes; then
42797 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42798 else
42799 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42800 fi
42801 # Put the nasty error message in config.log where it belongs
42802 echo "$GNOMEVFS_PKG_ERRORS" >&5
42803
42804
42805 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42806 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42807 wxUSE_LIBGNOMEVFS="no"
42808
42809
42810 elif test $pkg_failed = untried; then
42811
42812 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42813 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42814 wxUSE_LIBGNOMEVFS="no"
42815
42816
42817 else
42818 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42819 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42820 { echo "$as_me:$LINENO: result: yes" >&5
42821 echo "${ECHO_T}yes" >&6; }
42822
42823 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42824 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42825 cat >>confdefs.h <<\_ACEOF
42826 #define wxUSE_LIBGNOMEVFS 1
42827 _ACEOF
42828
42829
42830 fi
42831 fi
42832 fi
42833
42834 if test "$wxUSE_LIBHILDON" = "yes" ; then
42835
42836 pkg_failed=no
42837 { echo "$as_me:$LINENO: checking for HILDON" >&5
42838 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42839
42840 if test -n "$PKG_CONFIG"; then
42841 if test -n "$HILDON_CFLAGS"; then
42842 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42843 else
42844 if test -n "$PKG_CONFIG" && \
42845 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42846 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42847 ac_status=$?
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); }; then
42850 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42851 else
42852 pkg_failed=yes
42853 fi
42854 fi
42855 else
42856 pkg_failed=untried
42857 fi
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$HILDON_LIBS"; then
42860 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42861 else
42862 if test -n "$PKG_CONFIG" && \
42863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42864 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42865 ac_status=$?
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; then
42868 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42869 else
42870 pkg_failed=yes
42871 fi
42872 fi
42873 else
42874 pkg_failed=untried
42875 fi
42876
42877
42878
42879 if test $pkg_failed = yes; then
42880
42881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42882 _pkg_short_errors_supported=yes
42883 else
42884 _pkg_short_errors_supported=no
42885 fi
42886 if test $_pkg_short_errors_supported = yes; then
42887 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42888 else
42889 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42890 fi
42891 # Put the nasty error message in config.log where it belongs
42892 echo "$HILDON_PKG_ERRORS" >&5
42893
42894
42895 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42896 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42897 wxUSE_LIBHILDON="no"
42898
42899
42900 elif test $pkg_failed = untried; then
42901
42902 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42903 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42904 wxUSE_LIBHILDON="no"
42905
42906
42907 else
42908 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42909 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42910 { echo "$as_me:$LINENO: result: yes" >&5
42911 echo "${ECHO_T}yes" >&6; }
42912
42913 EXTRALIBS_HILDON="$HILDON_LIBS"
42914 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42915 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42916 cat >>confdefs.h <<\_ACEOF
42917 #define wxUSE_LIBHILDON 1
42918 _ACEOF
42919
42920
42921 fi
42922 fi
42923 fi
42924
42925 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42926 cat >>confdefs.h <<\_ACEOF
42927 #define wxUSE_CMDLINE_PARSER 1
42928 _ACEOF
42929
42930 fi
42931
42932 if test "$wxUSE_STOPWATCH" = "yes"; then
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_STOPWATCH 1
42935 _ACEOF
42936
42937 fi
42938
42939 if test "$wxUSE_DATETIME" = "yes"; then
42940 cat >>confdefs.h <<\_ACEOF
42941 #define wxUSE_DATETIME 1
42942 _ACEOF
42943
42944 fi
42945
42946 if test "$wxUSE_FILE" = "yes"; then
42947 cat >>confdefs.h <<\_ACEOF
42948 #define wxUSE_FILE 1
42949 _ACEOF
42950
42951 fi
42952
42953 if test "$wxUSE_FFILE" = "yes"; then
42954 cat >>confdefs.h <<\_ACEOF
42955 #define wxUSE_FFILE 1
42956 _ACEOF
42957
42958 fi
42959
42960 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42961 if test "$wxUSE_STREAMS" != yes; then
42962 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42963 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42964 wxUSE_ARCHIVE_STREAMS=no
42965 else
42966 cat >>confdefs.h <<\_ACEOF
42967 #define wxUSE_ARCHIVE_STREAMS 1
42968 _ACEOF
42969
42970 fi
42971 fi
42972
42973 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42974 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42975 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42976 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42977 elif test "$wxUSE_ZLIB" = "no"; then
42978 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42979 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42980 else
42981 cat >>confdefs.h <<\_ACEOF
42982 #define wxUSE_ZIPSTREAM 1
42983 _ACEOF
42984
42985 fi
42986 fi
42987
42988 if test "$wxUSE_TARSTREAM" = "yes"; then
42989 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42990 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42991 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42992 else
42993 cat >>confdefs.h <<\_ACEOF
42994 #define wxUSE_TARSTREAM 1
42995 _ACEOF
42996
42997 fi
42998 fi
42999
43000 if test "$wxUSE_FILESYSTEM" = "yes"; then
43001 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43002 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43003 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43004 wxUSE_FILESYSTEM=no
43005 else
43006 cat >>confdefs.h <<\_ACEOF
43007 #define wxUSE_FILESYSTEM 1
43008 _ACEOF
43009
43010 fi
43011 fi
43012
43013 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43014 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43015 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43016 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43017 else
43018 cat >>confdefs.h <<\_ACEOF
43019 #define wxUSE_FS_ARCHIVE 1
43020 _ACEOF
43021
43022 fi
43023 fi
43024
43025 if test "$wxUSE_FS_ZIP" = "yes"; then
43026 if test "$wxUSE_FS_ARCHIVE" != yes; then
43027 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43028 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43029 else
43030 cat >>confdefs.h <<\_ACEOF
43031 #define wxUSE_FS_ZIP 1
43032 _ACEOF
43033
43034 fi
43035 fi
43036
43037 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43038 if test "$USE_UNIX" != 1; then
43039 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43040 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43041 wxUSE_ON_FATAL_EXCEPTION=no
43042 else
43043 cat >>confdefs.h <<\_ACEOF
43044 #define wxUSE_ON_FATAL_EXCEPTION 1
43045 _ACEOF
43046
43047 fi
43048 fi
43049
43050 if test "$wxUSE_STACKWALKER" = "yes"; then
43051 cat >>confdefs.h <<\_ACEOF
43052 #define wxUSE_STACKWALKER 1
43053 _ACEOF
43054
43055 fi
43056
43057 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43058 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43059 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43060 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43061 wxUSE_DEBUGREPORT=no
43062 else
43063 cat >>confdefs.h <<\_ACEOF
43064 #define wxUSE_DEBUGREPORT 1
43065 _ACEOF
43066
43067 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43069 fi
43070 fi
43071 fi
43072
43073 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43074 cat >>confdefs.h <<\_ACEOF
43075 #define wxUSE_SNGLINST_CHECKER 1
43076 _ACEOF
43077
43078 fi
43079
43080 if test "$wxUSE_BUSYINFO" = "yes"; then
43081 cat >>confdefs.h <<\_ACEOF
43082 #define wxUSE_BUSYINFO 1
43083 _ACEOF
43084
43085 fi
43086
43087 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43088 cat >>confdefs.h <<\_ACEOF
43089 #define wxUSE_STD_IOSTREAM 1
43090 _ACEOF
43091
43092 fi
43093
43094 if test "$wxUSE_STD_STRING" = "yes"; then
43095 cat >>confdefs.h <<\_ACEOF
43096 #define wxUSE_STD_STRING 1
43097 _ACEOF
43098
43099 fi
43100
43101 if test "$wxUSE_STDPATHS" = "yes"; then
43102 cat >>confdefs.h <<\_ACEOF
43103 #define wxUSE_STDPATHS 1
43104 _ACEOF
43105
43106 fi
43107
43108 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43109 cat >>confdefs.h <<\_ACEOF
43110 #define wxUSE_TEXTBUFFER 1
43111 _ACEOF
43112
43113 fi
43114
43115 if test "$wxUSE_TEXTFILE" = "yes"; then
43116 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43117 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43118 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43119 else
43120 cat >>confdefs.h <<\_ACEOF
43121 #define wxUSE_TEXTFILE 1
43122 _ACEOF
43123
43124 fi
43125 fi
43126
43127 if test "$wxUSE_CONFIG" = "yes" ; then
43128 if test "$wxUSE_TEXTFILE" != "yes"; then
43129 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43130 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43131 else
43132 cat >>confdefs.h <<\_ACEOF
43133 #define wxUSE_CONFIG 1
43134 _ACEOF
43135
43136 cat >>confdefs.h <<\_ACEOF
43137 #define wxUSE_CONFIG_NATIVE 1
43138 _ACEOF
43139
43140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43141 fi
43142 fi
43143
43144 if test "$wxUSE_INTL" = "yes" ; then
43145 if test "$wxUSE_FILE" != "yes"; then
43146 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43147 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43148 else
43149 cat >>confdefs.h <<\_ACEOF
43150 #define wxUSE_INTL 1
43151 _ACEOF
43152
43153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43154 GUIDIST="$GUIDIST INTL_DIST"
43155 fi
43156 fi
43157
43158 if test "$wxUSE_XLOCALE" == "yes" ; then
43159 cat >>confdefs.h <<\_ACEOF
43160 #define wxUSE_XLOCALE 1
43161 _ACEOF
43162
43163 { echo "$as_me:$LINENO: checking for locale_t" >&5
43164 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43165 if test "${ac_cv_type_locale_t+set}" = set; then
43166 echo $ECHO_N "(cached) $ECHO_C" >&6
43167 else
43168 cat >conftest.$ac_ext <<_ACEOF
43169 /* confdefs.h. */
43170 _ACEOF
43171 cat confdefs.h >>conftest.$ac_ext
43172 cat >>conftest.$ac_ext <<_ACEOF
43173 /* end confdefs.h. */
43174 #include <xlocale.h>
43175 #include <locale.h>
43176
43177 typedef locale_t ac__type_new_;
43178 int
43179 main ()
43180 {
43181 if ((ac__type_new_ *) 0)
43182 return 0;
43183 if (sizeof (ac__type_new_))
43184 return 0;
43185 ;
43186 return 0;
43187 }
43188 _ACEOF
43189 rm -f conftest.$ac_objext
43190 if { (ac_try="$ac_compile"
43191 case "(($ac_try" in
43192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43193 *) ac_try_echo=$ac_try;;
43194 esac
43195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43196 (eval "$ac_compile") 2>conftest.er1
43197 ac_status=$?
43198 grep -v '^ *+' conftest.er1 >conftest.err
43199 rm -f conftest.er1
43200 cat conftest.err >&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } && {
43203 test -z "$ac_c_werror_flag" ||
43204 test ! -s conftest.err
43205 } && test -s conftest.$ac_objext; then
43206 ac_cv_type_locale_t=yes
43207 else
43208 echo "$as_me: failed program was:" >&5
43209 sed 's/^/| /' conftest.$ac_ext >&5
43210
43211 ac_cv_type_locale_t=no
43212 fi
43213
43214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43215 fi
43216 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43217 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43218 if test $ac_cv_type_locale_t = yes; then
43219
43220 cat >>confdefs.h <<_ACEOF
43221 #define HAVE_LOCALE_T 1
43222 _ACEOF
43223
43224
43225 fi
43226
43227 fi
43228
43229 if test "$wxUSE_LOG" = "yes"; then
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_LOG 1
43232 _ACEOF
43233
43234
43235 if test "$wxUSE_LOGGUI" = "yes"; then
43236 cat >>confdefs.h <<\_ACEOF
43237 #define wxUSE_LOGGUI 1
43238 _ACEOF
43239
43240 fi
43241
43242 if test "$wxUSE_LOGWINDOW" = "yes"; then
43243 cat >>confdefs.h <<\_ACEOF
43244 #define wxUSE_LOGWINDOW 1
43245 _ACEOF
43246
43247 fi
43248
43249 if test "$wxUSE_LOGDIALOG" = "yes"; then
43250 cat >>confdefs.h <<\_ACEOF
43251 #define wxUSE_LOG_DIALOG 1
43252 _ACEOF
43253
43254 fi
43255
43256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43257 fi
43258
43259 if test "$wxUSE_LONGLONG" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_LONGLONG 1
43262 _ACEOF
43263
43264 fi
43265
43266 if test "$wxUSE_GEOMETRY" = "yes"; then
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_GEOMETRY 1
43269 _ACEOF
43270
43271 fi
43272
43273 if test "$wxUSE_BASE64" = "yes"; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_BASE64 1
43276 _ACEOF
43277
43278 fi
43279
43280 if test "$wxUSE_STREAMS" = "yes" ; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_STREAMS 1
43283 _ACEOF
43284
43285 fi
43286
43287 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43288 cat >>confdefs.h <<\_ACEOF
43289 #define wxUSE_PRINTF_POS_PARAMS 1
43290 _ACEOF
43291
43292 fi
43293
43294 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_OBJC_UNIQUIFYING 1
43297 _ACEOF
43298
43299 fi
43300
43301
43302 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43303 cat >>confdefs.h <<\_ACEOF
43304 #define wxUSE_CONSOLE_EVENTLOOP 1
43305 _ACEOF
43306
43307
43308 if test "$wxUSE_UNIX" = "yes"; then
43309 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_SELECT_DISPATCHER 1
43312 _ACEOF
43313
43314 fi
43315
43316 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43317
43318 for ac_header in sys/epoll.h
43319 do
43320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43324 echo $ECHO_N "(cached) $ECHO_C" >&6
43325 else
43326 cat >conftest.$ac_ext <<_ACEOF
43327 /* confdefs.h. */
43328 _ACEOF
43329 cat confdefs.h >>conftest.$ac_ext
43330 cat >>conftest.$ac_ext <<_ACEOF
43331 /* end confdefs.h. */
43332 $ac_includes_default
43333
43334 #include <$ac_header>
43335 _ACEOF
43336 rm -f conftest.$ac_objext
43337 if { (ac_try="$ac_compile"
43338 case "(($ac_try" in
43339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43340 *) ac_try_echo=$ac_try;;
43341 esac
43342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43343 (eval "$ac_compile") 2>conftest.er1
43344 ac_status=$?
43345 grep -v '^ *+' conftest.er1 >conftest.err
43346 rm -f conftest.er1
43347 cat conftest.err >&5
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); } && {
43350 test -z "$ac_c_werror_flag" ||
43351 test ! -s conftest.err
43352 } && test -s conftest.$ac_objext; then
43353 eval "$as_ac_Header=yes"
43354 else
43355 echo "$as_me: failed program was:" >&5
43356 sed 's/^/| /' conftest.$ac_ext >&5
43357
43358 eval "$as_ac_Header=no"
43359 fi
43360
43361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43362 fi
43363 ac_res=`eval echo '${'$as_ac_Header'}'`
43364 { echo "$as_me:$LINENO: result: $ac_res" >&5
43365 echo "${ECHO_T}$ac_res" >&6; }
43366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43367 cat >>confdefs.h <<_ACEOF
43368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43369 _ACEOF
43370
43371 fi
43372
43373 done
43374
43375 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define wxUSE_EPOLL_DISPATCHER 1
43378 _ACEOF
43379
43380 else
43381 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43382 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43383 fi
43384 fi
43385 fi
43386 fi
43387
43388
43389
43390
43391 for ac_func in gettimeofday ftime
43392 do
43393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43396 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43397 echo $ECHO_N "(cached) $ECHO_C" >&6
43398 else
43399 cat >conftest.$ac_ext <<_ACEOF
43400 /* confdefs.h. */
43401 _ACEOF
43402 cat confdefs.h >>conftest.$ac_ext
43403 cat >>conftest.$ac_ext <<_ACEOF
43404 /* end confdefs.h. */
43405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43407 #define $ac_func innocuous_$ac_func
43408
43409 /* System header to define __stub macros and hopefully few prototypes,
43410 which can conflict with char $ac_func (); below.
43411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43412 <limits.h> exists even on freestanding compilers. */
43413
43414 #ifdef __STDC__
43415 # include <limits.h>
43416 #else
43417 # include <assert.h>
43418 #endif
43419
43420 #undef $ac_func
43421
43422 /* Override any GCC internal prototype to avoid an error.
43423 Use char because int might match the return type of a GCC
43424 builtin and then its argument prototype would still apply. */
43425 #ifdef __cplusplus
43426 extern "C"
43427 #endif
43428 char $ac_func ();
43429 /* The GNU C library defines this for functions which it implements
43430 to always fail with ENOSYS. Some functions are actually named
43431 something starting with __ and the normal name is an alias. */
43432 #if defined __stub_$ac_func || defined __stub___$ac_func
43433 choke me
43434 #endif
43435
43436 int
43437 main ()
43438 {
43439 return $ac_func ();
43440 ;
43441 return 0;
43442 }
43443 _ACEOF
43444 rm -f conftest.$ac_objext conftest$ac_exeext
43445 if { (ac_try="$ac_link"
43446 case "(($ac_try" in
43447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43448 *) ac_try_echo=$ac_try;;
43449 esac
43450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43451 (eval "$ac_link") 2>conftest.er1
43452 ac_status=$?
43453 grep -v '^ *+' conftest.er1 >conftest.err
43454 rm -f conftest.er1
43455 cat conftest.err >&5
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); } && {
43458 test -z "$ac_c_werror_flag" ||
43459 test ! -s conftest.err
43460 } && test -s conftest$ac_exeext &&
43461 $as_test_x conftest$ac_exeext; then
43462 eval "$as_ac_var=yes"
43463 else
43464 echo "$as_me: failed program was:" >&5
43465 sed 's/^/| /' conftest.$ac_ext >&5
43466
43467 eval "$as_ac_var=no"
43468 fi
43469
43470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43471 conftest$ac_exeext conftest.$ac_ext
43472 fi
43473 ac_res=`eval echo '${'$as_ac_var'}'`
43474 { echo "$as_me:$LINENO: result: $ac_res" >&5
43475 echo "${ECHO_T}$ac_res" >&6; }
43476 if test `eval echo '${'$as_ac_var'}'` = yes; then
43477 cat >>confdefs.h <<_ACEOF
43478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43479 _ACEOF
43480 break
43481 fi
43482 done
43483
43484
43485 if test "$ac_cv_func_gettimeofday" = "yes"; then
43486 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43487 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43488 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43489 echo $ECHO_N "(cached) $ECHO_C" >&6
43490 else
43491
43492 cat >conftest.$ac_ext <<_ACEOF
43493 /* confdefs.h. */
43494 _ACEOF
43495 cat confdefs.h >>conftest.$ac_ext
43496 cat >>conftest.$ac_ext <<_ACEOF
43497 /* end confdefs.h. */
43498
43499 #include <sys/time.h>
43500 #include <unistd.h>
43501
43502 int
43503 main ()
43504 {
43505
43506 struct timeval tv;
43507 gettimeofday(&tv, NULL);
43508
43509 ;
43510 return 0;
43511 }
43512 _ACEOF
43513 rm -f conftest.$ac_objext
43514 if { (ac_try="$ac_compile"
43515 case "(($ac_try" in
43516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43517 *) ac_try_echo=$ac_try;;
43518 esac
43519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43520 (eval "$ac_compile") 2>conftest.er1
43521 ac_status=$?
43522 grep -v '^ *+' conftest.er1 >conftest.err
43523 rm -f conftest.er1
43524 cat conftest.err >&5
43525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43526 (exit $ac_status); } && {
43527 test -z "$ac_c_werror_flag" ||
43528 test ! -s conftest.err
43529 } && test -s conftest.$ac_objext; then
43530 wx_cv_func_gettimeofday_has_2_args=yes
43531 else
43532 echo "$as_me: failed program was:" >&5
43533 sed 's/^/| /' conftest.$ac_ext >&5
43534
43535 cat >conftest.$ac_ext <<_ACEOF
43536 /* confdefs.h. */
43537 _ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43541
43542 #include <sys/time.h>
43543 #include <unistd.h>
43544
43545 int
43546 main ()
43547 {
43548
43549 struct timeval tv;
43550 gettimeofday(&tv);
43551
43552 ;
43553 return 0;
43554 }
43555 _ACEOF
43556 rm -f conftest.$ac_objext
43557 if { (ac_try="$ac_compile"
43558 case "(($ac_try" in
43559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43560 *) ac_try_echo=$ac_try;;
43561 esac
43562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43563 (eval "$ac_compile") 2>conftest.er1
43564 ac_status=$?
43565 grep -v '^ *+' conftest.er1 >conftest.err
43566 rm -f conftest.er1
43567 cat conftest.err >&5
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); } && {
43570 test -z "$ac_c_werror_flag" ||
43571 test ! -s conftest.err
43572 } && test -s conftest.$ac_objext; then
43573 wx_cv_func_gettimeofday_has_2_args=no
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43577
43578
43579 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43580 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43581 wx_cv_func_gettimeofday_has_2_args=unknown
43582
43583
43584 fi
43585
43586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43587
43588 fi
43589
43590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43591
43592 fi
43593 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43594 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43595
43596 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43597 cat >>confdefs.h <<\_ACEOF
43598 #define WX_GETTIMEOFDAY_NO_TZ 1
43599 _ACEOF
43600
43601 fi
43602 fi
43603
43604 if test "$wxUSE_DATETIME" = "yes"; then
43605 { echo "$as_me:$LINENO: checking for strptime" >&5
43606 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43607 if test "${ac_cv_func_strptime+set}" = set; then
43608 echo $ECHO_N "(cached) $ECHO_C" >&6
43609 else
43610 cat >conftest.$ac_ext <<_ACEOF
43611 /* confdefs.h. */
43612 _ACEOF
43613 cat confdefs.h >>conftest.$ac_ext
43614 cat >>conftest.$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43616 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43618 #define strptime innocuous_strptime
43619
43620 /* System header to define __stub macros and hopefully few prototypes,
43621 which can conflict with char strptime (); below.
43622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43623 <limits.h> exists even on freestanding compilers. */
43624
43625 #ifdef __STDC__
43626 # include <limits.h>
43627 #else
43628 # include <assert.h>
43629 #endif
43630
43631 #undef strptime
43632
43633 /* Override any GCC internal prototype to avoid an error.
43634 Use char because int might match the return type of a GCC
43635 builtin and then its argument prototype would still apply. */
43636 #ifdef __cplusplus
43637 extern "C"
43638 #endif
43639 char strptime ();
43640 /* The GNU C library defines this for functions which it implements
43641 to always fail with ENOSYS. Some functions are actually named
43642 something starting with __ and the normal name is an alias. */
43643 #if defined __stub_strptime || defined __stub___strptime
43644 choke me
43645 #endif
43646
43647 int
43648 main ()
43649 {
43650 return strptime ();
43651 ;
43652 return 0;
43653 }
43654 _ACEOF
43655 rm -f conftest.$ac_objext conftest$ac_exeext
43656 if { (ac_try="$ac_link"
43657 case "(($ac_try" in
43658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43659 *) ac_try_echo=$ac_try;;
43660 esac
43661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43662 (eval "$ac_link") 2>conftest.er1
43663 ac_status=$?
43664 grep -v '^ *+' conftest.er1 >conftest.err
43665 rm -f conftest.er1
43666 cat conftest.err >&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); } && {
43669 test -z "$ac_c_werror_flag" ||
43670 test ! -s conftest.err
43671 } && test -s conftest$ac_exeext &&
43672 $as_test_x conftest$ac_exeext; then
43673 ac_cv_func_strptime=yes
43674 else
43675 echo "$as_me: failed program was:" >&5
43676 sed 's/^/| /' conftest.$ac_ext >&5
43677
43678 ac_cv_func_strptime=no
43679 fi
43680
43681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43682 conftest$ac_exeext conftest.$ac_ext
43683 fi
43684 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43685 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43686
43687 if test "$ac_cv_func_strptime" = "yes"; then
43688 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43689 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43690 if test "${wx_cv_func_strptime_decl+set}" = set; then
43691 echo $ECHO_N "(cached) $ECHO_C" >&6
43692 else
43693
43694 ac_ext=cpp
43695 ac_cpp='$CXXCPP $CPPFLAGS'
43696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43699
43700 cat >conftest.$ac_ext <<_ACEOF
43701 /* confdefs.h. */
43702 _ACEOF
43703 cat confdefs.h >>conftest.$ac_ext
43704 cat >>conftest.$ac_ext <<_ACEOF
43705 /* end confdefs.h. */
43706
43707 #include <time.h>
43708
43709 int
43710 main ()
43711 {
43712
43713 struct tm t;
43714 strptime("foo", "bar", &t);
43715
43716 ;
43717 return 0;
43718 }
43719 _ACEOF
43720 rm -f conftest.$ac_objext
43721 if { (ac_try="$ac_compile"
43722 case "(($ac_try" in
43723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43724 *) ac_try_echo=$ac_try;;
43725 esac
43726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43727 (eval "$ac_compile") 2>conftest.er1
43728 ac_status=$?
43729 grep -v '^ *+' conftest.er1 >conftest.err
43730 rm -f conftest.er1
43731 cat conftest.err >&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); } && {
43734 test -z "$ac_cxx_werror_flag" ||
43735 test ! -s conftest.err
43736 } && test -s conftest.$ac_objext; then
43737 wx_cv_func_strptime_decl=yes
43738 else
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43741
43742 wx_cv_func_strptime_decl=no
43743
43744 fi
43745
43746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43747 ac_ext=c
43748 ac_cpp='$CPP $CPPFLAGS'
43749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43752
43753
43754
43755 fi
43756 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43757 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43758 fi
43759 if test "$wx_cv_func_strptime_decl" = "yes"; then
43760 cat >>confdefs.h <<\_ACEOF
43761 #define HAVE_STRPTIME_DECL 1
43762 _ACEOF
43763
43764 else
43765 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43766 fi
43767 if test "$ac_cv_func_strptime" = "yes"; then
43768 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43769 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43770 if test "${wx_cv_func_strptime_ok+set}" = set; then
43771 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 else
43773 if test "$cross_compiling" = yes; then
43774 wx_cv_func_strptime_ok=no
43775
43776 else
43777 cat >conftest.$ac_ext <<_ACEOF
43778
43779 #include <stdlib.h>
43780 #include <time.h>
43781 #include "confdefs.h"
43782
43783 $wx_strptime_decl
43784
43785 int main()
43786 {
43787 struct tm t;
43788 return !!strptime("", "%x", &t);
43789 }
43790
43791 _ACEOF
43792 rm -f conftest$ac_exeext
43793 if { (ac_try="$ac_link"
43794 case "(($ac_try" in
43795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43796 *) ac_try_echo=$ac_try;;
43797 esac
43798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43799 (eval "$ac_link") 2>&5
43800 ac_status=$?
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43803 { (case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43805 *) ac_try_echo=$ac_try;;
43806 esac
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_try") 2>&5
43809 ac_status=$?
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); }; }; then
43812 wx_cv_func_strptime_ok=yes
43813 else
43814 echo "$as_me: program exited with status $ac_status" >&5
43815 echo "$as_me: failed program was:" >&5
43816 sed 's/^/| /' conftest.$ac_ext >&5
43817
43818 ( exit $ac_status )
43819 wx_cv_func_strptime_ok=no
43820 fi
43821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43822 fi
43823
43824
43825
43826 fi
43827 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43828 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43829
43830 if test "$wx_cv_func_strptime_ok" = "yes"; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define HAVE_STRPTIME 1
43833 _ACEOF
43834
43835 fi
43836 fi
43837
43838 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43839 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43840 if test "${wx_cv_var_timezone+set}" = set; then
43841 echo $ECHO_N "(cached) $ECHO_C" >&6
43842 else
43843
43844 ac_ext=cpp
43845 ac_cpp='$CXXCPP $CPPFLAGS'
43846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43849
43850 cat >conftest.$ac_ext <<_ACEOF
43851 /* confdefs.h. */
43852 _ACEOF
43853 cat confdefs.h >>conftest.$ac_ext
43854 cat >>conftest.$ac_ext <<_ACEOF
43855 /* end confdefs.h. */
43856
43857 #include <time.h>
43858
43859 int
43860 main ()
43861 {
43862
43863 int tz;
43864 tz = timezone;
43865
43866 ;
43867 return 0;
43868 }
43869 _ACEOF
43870 rm -f conftest.$ac_objext
43871 if { (ac_try="$ac_compile"
43872 case "(($ac_try" in
43873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43874 *) ac_try_echo=$ac_try;;
43875 esac
43876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43877 (eval "$ac_compile") 2>conftest.er1
43878 ac_status=$?
43879 grep -v '^ *+' conftest.er1 >conftest.err
43880 rm -f conftest.er1
43881 cat conftest.err >&5
43882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43883 (exit $ac_status); } && {
43884 test -z "$ac_cxx_werror_flag" ||
43885 test ! -s conftest.err
43886 } && test -s conftest.$ac_objext; then
43887
43888 wx_cv_var_timezone=timezone
43889
43890 else
43891 echo "$as_me: failed program was:" >&5
43892 sed 's/^/| /' conftest.$ac_ext >&5
43893
43894
43895 cat >conftest.$ac_ext <<_ACEOF
43896 /* confdefs.h. */
43897 _ACEOF
43898 cat confdefs.h >>conftest.$ac_ext
43899 cat >>conftest.$ac_ext <<_ACEOF
43900 /* end confdefs.h. */
43901
43902 #include <time.h>
43903
43904 int
43905 main ()
43906 {
43907
43908 int tz;
43909 tz = _timezone;
43910
43911 ;
43912 return 0;
43913 }
43914 _ACEOF
43915 rm -f conftest.$ac_objext
43916 if { (ac_try="$ac_compile"
43917 case "(($ac_try" in
43918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43919 *) ac_try_echo=$ac_try;;
43920 esac
43921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43922 (eval "$ac_compile") 2>conftest.er1
43923 ac_status=$?
43924 grep -v '^ *+' conftest.er1 >conftest.err
43925 rm -f conftest.er1
43926 cat conftest.err >&5
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); } && {
43929 test -z "$ac_cxx_werror_flag" ||
43930 test ! -s conftest.err
43931 } && test -s conftest.$ac_objext; then
43932
43933 wx_cv_var_timezone=_timezone
43934
43935 else
43936 echo "$as_me: failed program was:" >&5
43937 sed 's/^/| /' conftest.$ac_ext >&5
43938
43939
43940 cat >conftest.$ac_ext <<_ACEOF
43941 /* confdefs.h. */
43942 _ACEOF
43943 cat confdefs.h >>conftest.$ac_ext
43944 cat >>conftest.$ac_ext <<_ACEOF
43945 /* end confdefs.h. */
43946
43947 #include <time.h>
43948
43949 int
43950 main ()
43951 {
43952
43953 int tz;
43954 tz = __timezone;
43955
43956 ;
43957 return 0;
43958 }
43959 _ACEOF
43960 rm -f conftest.$ac_objext
43961 if { (ac_try="$ac_compile"
43962 case "(($ac_try" in
43963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43964 *) ac_try_echo=$ac_try;;
43965 esac
43966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43967 (eval "$ac_compile") 2>conftest.er1
43968 ac_status=$?
43969 grep -v '^ *+' conftest.er1 >conftest.err
43970 rm -f conftest.er1
43971 cat conftest.err >&5
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); } && {
43974 test -z "$ac_cxx_werror_flag" ||
43975 test ! -s conftest.err
43976 } && test -s conftest.$ac_objext; then
43977
43978 wx_cv_var_timezone=__timezone
43979
43980 else
43981 echo "$as_me: failed program was:" >&5
43982 sed 's/^/| /' conftest.$ac_ext >&5
43983
43984
43985 if test "$USE_DOS" = 0 ; then
43986 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43987 echo "$as_me: WARNING: no timezone variable" >&2;}
43988 fi
43989
43990
43991 fi
43992
43993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43994
43995
43996 fi
43997
43998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43999
44000
44001 fi
44002
44003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44004 ac_ext=c
44005 ac_cpp='$CPP $CPPFLAGS'
44006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44009
44010
44011
44012 fi
44013 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44014 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44015
44016 if test "x$wx_cv_var_timezone" != x ; then
44017 cat >>confdefs.h <<_ACEOF
44018 #define WX_TIMEZONE $wx_cv_var_timezone
44019 _ACEOF
44020
44021 fi
44022
44023
44024 for ac_func in localtime
44025 do
44026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44030 echo $ECHO_N "(cached) $ECHO_C" >&6
44031 else
44032 cat >conftest.$ac_ext <<_ACEOF
44033 /* confdefs.h. */
44034 _ACEOF
44035 cat confdefs.h >>conftest.$ac_ext
44036 cat >>conftest.$ac_ext <<_ACEOF
44037 /* end confdefs.h. */
44038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44040 #define $ac_func innocuous_$ac_func
44041
44042 /* System header to define __stub macros and hopefully few prototypes,
44043 which can conflict with char $ac_func (); below.
44044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44045 <limits.h> exists even on freestanding compilers. */
44046
44047 #ifdef __STDC__
44048 # include <limits.h>
44049 #else
44050 # include <assert.h>
44051 #endif
44052
44053 #undef $ac_func
44054
44055 /* Override any GCC internal prototype to avoid an error.
44056 Use char because int might match the return type of a GCC
44057 builtin and then its argument prototype would still apply. */
44058 #ifdef __cplusplus
44059 extern "C"
44060 #endif
44061 char $ac_func ();
44062 /* The GNU C library defines this for functions which it implements
44063 to always fail with ENOSYS. Some functions are actually named
44064 something starting with __ and the normal name is an alias. */
44065 #if defined __stub_$ac_func || defined __stub___$ac_func
44066 choke me
44067 #endif
44068
44069 int
44070 main ()
44071 {
44072 return $ac_func ();
44073 ;
44074 return 0;
44075 }
44076 _ACEOF
44077 rm -f conftest.$ac_objext conftest$ac_exeext
44078 if { (ac_try="$ac_link"
44079 case "(($ac_try" in
44080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44081 *) ac_try_echo=$ac_try;;
44082 esac
44083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44084 (eval "$ac_link") 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } && {
44091 test -z "$ac_c_werror_flag" ||
44092 test ! -s conftest.err
44093 } && test -s conftest$ac_exeext &&
44094 $as_test_x conftest$ac_exeext; then
44095 eval "$as_ac_var=yes"
44096 else
44097 echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44099
44100 eval "$as_ac_var=no"
44101 fi
44102
44103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44104 conftest$ac_exeext conftest.$ac_ext
44105 fi
44106 ac_res=`eval echo '${'$as_ac_var'}'`
44107 { echo "$as_me:$LINENO: result: $ac_res" >&5
44108 echo "${ECHO_T}$ac_res" >&6; }
44109 if test `eval echo '${'$as_ac_var'}'` = yes; then
44110 cat >>confdefs.h <<_ACEOF
44111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44112 _ACEOF
44113
44114 fi
44115 done
44116
44117
44118 if test "$ac_cv_func_localtime" = "yes"; then
44119 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44120 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44121 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44122 echo $ECHO_N "(cached) $ECHO_C" >&6
44123 else
44124
44125 cat >conftest.$ac_ext <<_ACEOF
44126 /* confdefs.h. */
44127 _ACEOF
44128 cat confdefs.h >>conftest.$ac_ext
44129 cat >>conftest.$ac_ext <<_ACEOF
44130 /* end confdefs.h. */
44131
44132 #include <time.h>
44133
44134 int
44135 main ()
44136 {
44137
44138 struct tm tm;
44139 tm.tm_gmtoff++;
44140
44141 ;
44142 return 0;
44143 }
44144 _ACEOF
44145 rm -f conftest.$ac_objext
44146 if { (ac_try="$ac_compile"
44147 case "(($ac_try" in
44148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44149 *) ac_try_echo=$ac_try;;
44150 esac
44151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44152 (eval "$ac_compile") 2>conftest.er1
44153 ac_status=$?
44154 grep -v '^ *+' conftest.er1 >conftest.err
44155 rm -f conftest.er1
44156 cat conftest.err >&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } && {
44159 test -z "$ac_c_werror_flag" ||
44160 test ! -s conftest.err
44161 } && test -s conftest.$ac_objext; then
44162
44163 wx_cv_struct_tm_has_gmtoff=yes
44164
44165 else
44166 echo "$as_me: failed program was:" >&5
44167 sed 's/^/| /' conftest.$ac_ext >&5
44168
44169 wx_cv_struct_tm_has_gmtoff=no
44170
44171 fi
44172
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174
44175 fi
44176 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44177 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44178 fi
44179
44180 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define WX_GMTOFF_IN_TM 1
44183 _ACEOF
44184
44185 fi
44186
44187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44188 fi
44189
44190
44191 if test "$wxUSE_SOCKETS" = "yes"; then
44192 if test "$wxUSE_MGL" = 1; then
44193 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44194 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44195 wxUSE_SOCKETS="no"
44196 fi
44197 fi
44198
44199 if test "$wxUSE_SOCKETS" = "yes"; then
44200 if test "$TOOLKIT" != "MSW"; then
44201 { echo "$as_me:$LINENO: checking for socket" >&5
44202 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44203 if test "${ac_cv_func_socket+set}" = set; then
44204 echo $ECHO_N "(cached) $ECHO_C" >&6
44205 else
44206 cat >conftest.$ac_ext <<_ACEOF
44207 /* confdefs.h. */
44208 _ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44214 #define socket innocuous_socket
44215
44216 /* System header to define __stub macros and hopefully few prototypes,
44217 which can conflict with char socket (); below.
44218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44219 <limits.h> exists even on freestanding compilers. */
44220
44221 #ifdef __STDC__
44222 # include <limits.h>
44223 #else
44224 # include <assert.h>
44225 #endif
44226
44227 #undef socket
44228
44229 /* Override any GCC internal prototype to avoid an error.
44230 Use char because int might match the return type of a GCC
44231 builtin and then its argument prototype would still apply. */
44232 #ifdef __cplusplus
44233 extern "C"
44234 #endif
44235 char socket ();
44236 /* The GNU C library defines this for functions which it implements
44237 to always fail with ENOSYS. Some functions are actually named
44238 something starting with __ and the normal name is an alias. */
44239 #if defined __stub_socket || defined __stub___socket
44240 choke me
44241 #endif
44242
44243 int
44244 main ()
44245 {
44246 return socket ();
44247 ;
44248 return 0;
44249 }
44250 _ACEOF
44251 rm -f conftest.$ac_objext conftest$ac_exeext
44252 if { (ac_try="$ac_link"
44253 case "(($ac_try" in
44254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44255 *) ac_try_echo=$ac_try;;
44256 esac
44257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44258 (eval "$ac_link") 2>conftest.er1
44259 ac_status=$?
44260 grep -v '^ *+' conftest.er1 >conftest.err
44261 rm -f conftest.er1
44262 cat conftest.err >&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } && {
44265 test -z "$ac_c_werror_flag" ||
44266 test ! -s conftest.err
44267 } && test -s conftest$ac_exeext &&
44268 $as_test_x conftest$ac_exeext; then
44269 ac_cv_func_socket=yes
44270 else
44271 echo "$as_me: failed program was:" >&5
44272 sed 's/^/| /' conftest.$ac_ext >&5
44273
44274 ac_cv_func_socket=no
44275 fi
44276
44277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44278 conftest$ac_exeext conftest.$ac_ext
44279 fi
44280 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44281 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44282 if test $ac_cv_func_socket = yes; then
44283 :
44284 else
44285
44286 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44287 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44288 if test "${ac_cv_lib_socket_socket+set}" = set; then
44289 echo $ECHO_N "(cached) $ECHO_C" >&6
44290 else
44291 ac_check_lib_save_LIBS=$LIBS
44292 LIBS="-lsocket $LIBS"
44293 cat >conftest.$ac_ext <<_ACEOF
44294 /* confdefs.h. */
44295 _ACEOF
44296 cat confdefs.h >>conftest.$ac_ext
44297 cat >>conftest.$ac_ext <<_ACEOF
44298 /* end confdefs.h. */
44299
44300 /* Override any GCC internal prototype to avoid an error.
44301 Use char because int might match the return type of a GCC
44302 builtin and then its argument prototype would still apply. */
44303 #ifdef __cplusplus
44304 extern "C"
44305 #endif
44306 char socket ();
44307 int
44308 main ()
44309 {
44310 return socket ();
44311 ;
44312 return 0;
44313 }
44314 _ACEOF
44315 rm -f conftest.$ac_objext conftest$ac_exeext
44316 if { (ac_try="$ac_link"
44317 case "(($ac_try" in
44318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44319 *) ac_try_echo=$ac_try;;
44320 esac
44321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44322 (eval "$ac_link") 2>conftest.er1
44323 ac_status=$?
44324 grep -v '^ *+' conftest.er1 >conftest.err
44325 rm -f conftest.er1
44326 cat conftest.err >&5
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); } && {
44329 test -z "$ac_c_werror_flag" ||
44330 test ! -s conftest.err
44331 } && test -s conftest$ac_exeext &&
44332 $as_test_x conftest$ac_exeext; then
44333 ac_cv_lib_socket_socket=yes
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44337
44338 ac_cv_lib_socket_socket=no
44339 fi
44340
44341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44342 conftest$ac_exeext conftest.$ac_ext
44343 LIBS=$ac_check_lib_save_LIBS
44344 fi
44345 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44346 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44347 if test $ac_cv_lib_socket_socket = yes; then
44348 if test "$INET_LINK" != " -lsocket"; then
44349 INET_LINK="$INET_LINK -lsocket"
44350 fi
44351 else
44352
44353 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44354 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44355 wxUSE_SOCKETS=no
44356
44357
44358 fi
44359
44360
44361
44362 fi
44363
44364 fi
44365 fi
44366
44367 if test "$wxUSE_SOCKETS" = "yes" ; then
44368 if test "$TOOLKIT" != "MSW"; then
44369 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44370 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44371 if test "${wx_cv_type_getsockname3+set}" = set; then
44372 echo $ECHO_N "(cached) $ECHO_C" >&6
44373 else
44374
44375 ac_ext=cpp
44376 ac_cpp='$CXXCPP $CPPFLAGS'
44377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44380
44381 cat >conftest.$ac_ext <<_ACEOF
44382 /* confdefs.h. */
44383 _ACEOF
44384 cat confdefs.h >>conftest.$ac_ext
44385 cat >>conftest.$ac_ext <<_ACEOF
44386 /* end confdefs.h. */
44387
44388 #include <sys/types.h>
44389 #include <sys/socket.h>
44390
44391 int
44392 main ()
44393 {
44394
44395 socklen_t len;
44396 getsockname(0, 0, &len);
44397
44398 ;
44399 return 0;
44400 }
44401 _ACEOF
44402 rm -f conftest.$ac_objext
44403 if { (ac_try="$ac_compile"
44404 case "(($ac_try" in
44405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44406 *) ac_try_echo=$ac_try;;
44407 esac
44408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44409 (eval "$ac_compile") 2>conftest.er1
44410 ac_status=$?
44411 grep -v '^ *+' conftest.er1 >conftest.err
44412 rm -f conftest.er1
44413 cat conftest.err >&5
44414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44415 (exit $ac_status); } && {
44416 test -z "$ac_cxx_werror_flag" ||
44417 test ! -s conftest.err
44418 } && test -s conftest.$ac_objext; then
44419 wx_cv_type_getsockname3=socklen_t
44420 else
44421 echo "$as_me: failed program was:" >&5
44422 sed 's/^/| /' conftest.$ac_ext >&5
44423
44424
44425 CFLAGS_OLD="$CFLAGS"
44426 if test "$GCC" = yes ; then
44427 CFLAGS="-Werror $CFLAGS"
44428 fi
44429
44430 cat >conftest.$ac_ext <<_ACEOF
44431 /* confdefs.h. */
44432 _ACEOF
44433 cat confdefs.h >>conftest.$ac_ext
44434 cat >>conftest.$ac_ext <<_ACEOF
44435 /* end confdefs.h. */
44436
44437 #include <sys/types.h>
44438 #include <sys/socket.h>
44439
44440 int
44441 main ()
44442 {
44443
44444 size_t len;
44445 getsockname(0, 0, &len);
44446
44447 ;
44448 return 0;
44449 }
44450 _ACEOF
44451 rm -f conftest.$ac_objext
44452 if { (ac_try="$ac_compile"
44453 case "(($ac_try" in
44454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44455 *) ac_try_echo=$ac_try;;
44456 esac
44457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44458 (eval "$ac_compile") 2>conftest.er1
44459 ac_status=$?
44460 grep -v '^ *+' conftest.er1 >conftest.err
44461 rm -f conftest.er1
44462 cat conftest.err >&5
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); } && {
44465 test -z "$ac_cxx_werror_flag" ||
44466 test ! -s conftest.err
44467 } && test -s conftest.$ac_objext; then
44468 wx_cv_type_getsockname3=size_t
44469 else
44470 echo "$as_me: failed program was:" >&5
44471 sed 's/^/| /' conftest.$ac_ext >&5
44472
44473 cat >conftest.$ac_ext <<_ACEOF
44474 /* confdefs.h. */
44475 _ACEOF
44476 cat confdefs.h >>conftest.$ac_ext
44477 cat >>conftest.$ac_ext <<_ACEOF
44478 /* end confdefs.h. */
44479
44480 #include <sys/types.h>
44481 #include <sys/socket.h>
44482
44483 int
44484 main ()
44485 {
44486
44487 int len;
44488 getsockname(0, 0, &len);
44489
44490 ;
44491 return 0;
44492 }
44493 _ACEOF
44494 rm -f conftest.$ac_objext
44495 if { (ac_try="$ac_compile"
44496 case "(($ac_try" in
44497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44498 *) ac_try_echo=$ac_try;;
44499 esac
44500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44501 (eval "$ac_compile") 2>conftest.er1
44502 ac_status=$?
44503 grep -v '^ *+' conftest.er1 >conftest.err
44504 rm -f conftest.er1
44505 cat conftest.err >&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } && {
44508 test -z "$ac_cxx_werror_flag" ||
44509 test ! -s conftest.err
44510 } && test -s conftest.$ac_objext; then
44511 wx_cv_type_getsockname3=int
44512 else
44513 echo "$as_me: failed program was:" >&5
44514 sed 's/^/| /' conftest.$ac_ext >&5
44515
44516 wx_cv_type_getsockname3=unknown
44517
44518 fi
44519
44520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44521
44522 fi
44523
44524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44525
44526 CFLAGS="$CFLAGS_OLD"
44527
44528
44529 fi
44530
44531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44532 ac_ext=c
44533 ac_cpp='$CPP $CPPFLAGS'
44534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44537
44538
44539 fi
44540 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44541 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44542
44543 if test "$wx_cv_type_getsockname3" = "unknown"; then
44544 wxUSE_SOCKETS=no
44545 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44546 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44547 else
44548 cat >>confdefs.h <<_ACEOF
44549 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44550 _ACEOF
44551
44552 fi
44553 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44554 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44555 if test "${wx_cv_type_getsockopt5+set}" = set; then
44556 echo $ECHO_N "(cached) $ECHO_C" >&6
44557 else
44558
44559 ac_ext=cpp
44560 ac_cpp='$CXXCPP $CPPFLAGS'
44561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44564
44565 cat >conftest.$ac_ext <<_ACEOF
44566 /* confdefs.h. */
44567 _ACEOF
44568 cat confdefs.h >>conftest.$ac_ext
44569 cat >>conftest.$ac_ext <<_ACEOF
44570 /* end confdefs.h. */
44571
44572 #include <sys/types.h>
44573 #include <sys/socket.h>
44574
44575 int
44576 main ()
44577 {
44578
44579 socklen_t len;
44580 getsockopt(0, 0, 0, 0, &len);
44581
44582 ;
44583 return 0;
44584 }
44585 _ACEOF
44586 rm -f conftest.$ac_objext
44587 if { (ac_try="$ac_compile"
44588 case "(($ac_try" in
44589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44590 *) ac_try_echo=$ac_try;;
44591 esac
44592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44593 (eval "$ac_compile") 2>conftest.er1
44594 ac_status=$?
44595 grep -v '^ *+' conftest.er1 >conftest.err
44596 rm -f conftest.er1
44597 cat conftest.err >&5
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); } && {
44600 test -z "$ac_cxx_werror_flag" ||
44601 test ! -s conftest.err
44602 } && test -s conftest.$ac_objext; then
44603 wx_cv_type_getsockopt5=socklen_t
44604 else
44605 echo "$as_me: failed program was:" >&5
44606 sed 's/^/| /' conftest.$ac_ext >&5
44607
44608
44609 cat >conftest.$ac_ext <<_ACEOF
44610 /* confdefs.h. */
44611 _ACEOF
44612 cat confdefs.h >>conftest.$ac_ext
44613 cat >>conftest.$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44615
44616 #include <sys/types.h>
44617 #include <sys/socket.h>
44618
44619 int
44620 main ()
44621 {
44622
44623 size_t len;
44624 getsockopt(0, 0, 0, 0, &len);
44625
44626 ;
44627 return 0;
44628 }
44629 _ACEOF
44630 rm -f conftest.$ac_objext
44631 if { (ac_try="$ac_compile"
44632 case "(($ac_try" in
44633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44634 *) ac_try_echo=$ac_try;;
44635 esac
44636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44637 (eval "$ac_compile") 2>conftest.er1
44638 ac_status=$?
44639 grep -v '^ *+' conftest.er1 >conftest.err
44640 rm -f conftest.er1
44641 cat conftest.err >&5
44642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44643 (exit $ac_status); } && {
44644 test -z "$ac_cxx_werror_flag" ||
44645 test ! -s conftest.err
44646 } && test -s conftest.$ac_objext; then
44647 wx_cv_type_getsockopt5=size_t
44648 else
44649 echo "$as_me: failed program was:" >&5
44650 sed 's/^/| /' conftest.$ac_ext >&5
44651
44652 cat >conftest.$ac_ext <<_ACEOF
44653 /* confdefs.h. */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44658
44659 #include <sys/types.h>
44660 #include <sys/socket.h>
44661
44662 int
44663 main ()
44664 {
44665
44666 int len;
44667 getsockopt(0, 0, 0, 0, &len);
44668
44669 ;
44670 return 0;
44671 }
44672 _ACEOF
44673 rm -f conftest.$ac_objext
44674 if { (ac_try="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44678 esac
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44681 ac_status=$?
44682 grep -v '^ *+' conftest.er1 >conftest.err
44683 rm -f conftest.er1
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_cxx_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 wx_cv_type_getsockopt5=int
44691 else
44692 echo "$as_me: failed program was:" >&5
44693 sed 's/^/| /' conftest.$ac_ext >&5
44694
44695 wx_cv_type_getsockopt5=unknown
44696
44697 fi
44698
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700
44701 fi
44702
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704
44705
44706 fi
44707
44708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44709 ac_ext=c
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714
44715
44716 fi
44717 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44718 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44719
44720 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44721 wxUSE_SOCKETS=no
44722 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44723 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44724 else
44725 cat >>confdefs.h <<_ACEOF
44726 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44727 _ACEOF
44728
44729 fi
44730 fi
44731 fi
44732
44733 if test "$wxUSE_SOCKETS" = "yes" ; then
44734 if test "$wxUSE_IPV6" = "yes"; then
44735 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44736 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44737 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44738 echo $ECHO_N "(cached) $ECHO_C" >&6
44739 else
44740
44741 cat >conftest.$ac_ext <<_ACEOF
44742 /* confdefs.h. */
44743 _ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747
44748 #include <sys/types.h>
44749 #include <sys/socket.h>
44750 #include <netinet/in.h>
44751
44752 int
44753 main ()
44754 {
44755
44756 struct sockaddr_in6 sa6;
44757
44758 ;
44759 return 0;
44760 }
44761 _ACEOF
44762 rm -f conftest.$ac_objext
44763 if { (ac_try="$ac_compile"
44764 case "(($ac_try" in
44765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44766 *) ac_try_echo=$ac_try;;
44767 esac
44768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44769 (eval "$ac_compile") 2>conftest.er1
44770 ac_status=$?
44771 grep -v '^ *+' conftest.er1 >conftest.err
44772 rm -f conftest.er1
44773 cat conftest.err >&5
44774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44775 (exit $ac_status); } && {
44776 test -z "$ac_c_werror_flag" ||
44777 test ! -s conftest.err
44778 } && test -s conftest.$ac_objext; then
44779 wx_cv_type_sockaddr_in6=yes
44780 else
44781 echo "$as_me: failed program was:" >&5
44782 sed 's/^/| /' conftest.$ac_ext >&5
44783
44784 wx_cv_type_sockaddr_in6=no
44785
44786 fi
44787
44788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44789
44790
44791 fi
44792 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44793 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44794
44795 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_IPV6 1
44798 _ACEOF
44799
44800 else
44801 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44802 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44803 fi
44804 fi
44805
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_SOCKETS 1
44808 _ACEOF
44809
44810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44811 fi
44812
44813 if test "$wxUSE_PROTOCOL" = "yes"; then
44814 if test "$wxUSE_SOCKETS" != "yes"; then
44815 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44816 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44817 wxUSE_PROTOCOL=no
44818 fi
44819 fi
44820
44821 if test "$wxUSE_PROTOCOL" = "yes"; then
44822 cat >>confdefs.h <<\_ACEOF
44823 #define wxUSE_PROTOCOL 1
44824 _ACEOF
44825
44826
44827 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44828 cat >>confdefs.h <<\_ACEOF
44829 #define wxUSE_PROTOCOL_HTTP 1
44830 _ACEOF
44831
44832 fi
44833 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44834 cat >>confdefs.h <<\_ACEOF
44835 #define wxUSE_PROTOCOL_FTP 1
44836 _ACEOF
44837
44838 fi
44839 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_PROTOCOL_FILE 1
44842 _ACEOF
44843
44844 fi
44845 else
44846 if test "$wxUSE_FS_INET" = "yes"; then
44847 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44848 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44849 wxUSE_FS_INET="no"
44850 fi
44851 fi
44852
44853 if test "$wxUSE_URL" = "yes"; then
44854 if test "$wxUSE_PROTOCOL" != "yes"; then
44855 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44856 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44857 wxUSE_URL=no
44858 fi
44859 if test "$wxUSE_URL" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_URL 1
44862 _ACEOF
44863
44864 fi
44865 fi
44866
44867 if test "$wxUSE_VARIANT" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_VARIANT 1
44870 _ACEOF
44871
44872 fi
44873
44874 if test "$wxUSE_FS_INET" = "yes"; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_FS_INET 1
44877 _ACEOF
44878
44879 fi
44880
44881
44882 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44883 wxUSE_JOYSTICK=no
44884
44885 if test "$TOOLKIT" = "MSW"; then
44886 wxUSE_JOYSTICK=yes
44887
44888 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44889 if test "$USE_DARWIN" = 1; then
44890 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44891 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44892 ac_ext=cpp
44893 ac_cpp='$CXXCPP $CPPFLAGS'
44894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44897
44898 cat >conftest.$ac_ext <<_ACEOF
44899 /* confdefs.h. */
44900 _ACEOF
44901 cat confdefs.h >>conftest.$ac_ext
44902 cat >>conftest.$ac_ext <<_ACEOF
44903 /* end confdefs.h. */
44904 #include <IOKit/hid/IOHIDLib.h>
44905 int
44906 main ()
44907 {
44908 IOHIDQueueInterface *qi = NULL;
44909 IOHIDCallbackFunction cb = NULL;
44910 qi->setEventCallout(NULL, cb, NULL, NULL);
44911 ;
44912 return 0;
44913 }
44914 _ACEOF
44915 rm -f conftest.$ac_objext
44916 if { (ac_try="$ac_compile"
44917 case "(($ac_try" in
44918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44919 *) ac_try_echo=$ac_try;;
44920 esac
44921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44922 (eval "$ac_compile") 2>conftest.er1
44923 ac_status=$?
44924 grep -v '^ *+' conftest.er1 >conftest.err
44925 rm -f conftest.er1
44926 cat conftest.err >&5
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); } && {
44929 test -z "$ac_cxx_werror_flag" ||
44930 test ! -s conftest.err
44931 } && test -s conftest.$ac_objext; then
44932 wxUSE_JOYSTICK=yes
44933
44934 else
44935 echo "$as_me: failed program was:" >&5
44936 sed 's/^/| /' conftest.$ac_ext >&5
44937
44938
44939 fi
44940
44941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44942 ac_ext=c
44943 ac_cpp='$CPP $CPPFLAGS'
44944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44947
44948 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44949 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44950 fi
44951
44952 else
44953 if test "$wxUSE_MGL" != 1; then
44954
44955 for ac_header in linux/joystick.h
44956 do
44957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44961 echo $ECHO_N "(cached) $ECHO_C" >&6
44962 else
44963 cat >conftest.$ac_ext <<_ACEOF
44964 /* confdefs.h. */
44965 _ACEOF
44966 cat confdefs.h >>conftest.$ac_ext
44967 cat >>conftest.$ac_ext <<_ACEOF
44968 /* end confdefs.h. */
44969 $ac_includes_default
44970
44971 #include <$ac_header>
44972 _ACEOF
44973 rm -f conftest.$ac_objext
44974 if { (ac_try="$ac_compile"
44975 case "(($ac_try" in
44976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44977 *) ac_try_echo=$ac_try;;
44978 esac
44979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44980 (eval "$ac_compile") 2>conftest.er1
44981 ac_status=$?
44982 grep -v '^ *+' conftest.er1 >conftest.err
44983 rm -f conftest.er1
44984 cat conftest.err >&5
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); } && {
44987 test -z "$ac_c_werror_flag" ||
44988 test ! -s conftest.err
44989 } && test -s conftest.$ac_objext; then
44990 eval "$as_ac_Header=yes"
44991 else
44992 echo "$as_me: failed program was:" >&5
44993 sed 's/^/| /' conftest.$ac_ext >&5
44994
44995 eval "$as_ac_Header=no"
44996 fi
44997
44998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44999 fi
45000 ac_res=`eval echo '${'$as_ac_Header'}'`
45001 { echo "$as_me:$LINENO: result: $ac_res" >&5
45002 echo "${ECHO_T}$ac_res" >&6; }
45003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45004 cat >>confdefs.h <<_ACEOF
45005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45006 _ACEOF
45007 wxUSE_JOYSTICK=yes
45008 fi
45009
45010 done
45011
45012 fi
45013 fi
45014
45015 if test "$wxUSE_JOYSTICK" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_JOYSTICK 1
45018 _ACEOF
45019
45020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45021 else
45022 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45023 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45024 fi
45025 fi
45026
45027
45028
45029 if test "$wxUSE_FONTENUM" = "yes" ; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_FONTENUM 1
45032 _ACEOF
45033
45034 fi
45035
45036 if test "$wxUSE_FONTMAP" = "yes" ; then
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_FONTMAP 1
45039 _ACEOF
45040
45041 fi
45042
45043 if test "$wxUSE_UNICODE" = "yes" ; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_UNICODE 1
45046 _ACEOF
45047
45048
45049 if test "$USE_WIN32" != 1; then
45050 wxUSE_UNICODE_MSLU=no
45051 fi
45052
45053 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45054 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45055 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45056 if test "${ac_cv_lib_unicows_main+set}" = set; then
45057 echo $ECHO_N "(cached) $ECHO_C" >&6
45058 else
45059 ac_check_lib_save_LIBS=$LIBS
45060 LIBS="-lunicows $LIBS"
45061 cat >conftest.$ac_ext <<_ACEOF
45062 /* confdefs.h. */
45063 _ACEOF
45064 cat confdefs.h >>conftest.$ac_ext
45065 cat >>conftest.$ac_ext <<_ACEOF
45066 /* end confdefs.h. */
45067
45068
45069 int
45070 main ()
45071 {
45072 return main ();
45073 ;
45074 return 0;
45075 }
45076 _ACEOF
45077 rm -f conftest.$ac_objext conftest$ac_exeext
45078 if { (ac_try="$ac_link"
45079 case "(($ac_try" in
45080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45081 *) ac_try_echo=$ac_try;;
45082 esac
45083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45084 (eval "$ac_link") 2>conftest.er1
45085 ac_status=$?
45086 grep -v '^ *+' conftest.er1 >conftest.err
45087 rm -f conftest.er1
45088 cat conftest.err >&5
45089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 (exit $ac_status); } && {
45091 test -z "$ac_c_werror_flag" ||
45092 test ! -s conftest.err
45093 } && test -s conftest$ac_exeext &&
45094 $as_test_x conftest$ac_exeext; then
45095 ac_cv_lib_unicows_main=yes
45096 else
45097 echo "$as_me: failed program was:" >&5
45098 sed 's/^/| /' conftest.$ac_ext >&5
45099
45100 ac_cv_lib_unicows_main=no
45101 fi
45102
45103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45104 conftest$ac_exeext conftest.$ac_ext
45105 LIBS=$ac_check_lib_save_LIBS
45106 fi
45107 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45108 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45109 if test $ac_cv_lib_unicows_main = yes; then
45110
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_UNICODE_MSLU 1
45113 _ACEOF
45114
45115
45116 else
45117
45118 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45119 Applications will only run on Windows NT/2000/XP!" >&5
45120 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45121 Applications will only run on Windows NT/2000/XP!" >&2;}
45122 wxUSE_UNICODE_MSLU=no
45123
45124 fi
45125
45126 fi
45127 fi
45128
45129 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_UNICODE_UTF8 1
45132 _ACEOF
45133
45134
45135 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_UTF8_LOCALE_ONLY 1
45138 _ACEOF
45139
45140 fi
45141 fi
45142
45143
45144 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_CONSTRAINTS 1
45147 _ACEOF
45148
45149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45150 fi
45151
45152 if test "$wxUSE_MDI" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_MDI 1
45155 _ACEOF
45156
45157
45158 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_MDI_ARCHITECTURE 1
45161 _ACEOF
45162
45163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45164 fi
45165 fi
45166
45167 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45170 _ACEOF
45171
45172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45173 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45175 fi
45176 fi
45177
45178 if test "$wxUSE_HELP" = "yes"; then
45179 cat >>confdefs.h <<\_ACEOF
45180 #define wxUSE_HELP 1
45181 _ACEOF
45182
45183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45184
45185 if test "$wxUSE_MSW" = 1; then
45186 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_MS_HTML_HELP 1
45189 _ACEOF
45190
45191 fi
45192 fi
45193
45194 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45195 if test "$wxUSE_HTML" = "yes"; then
45196 cat >>confdefs.h <<\_ACEOF
45197 #define wxUSE_WXHTML_HELP 1
45198 _ACEOF
45199
45200 else
45201 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45202 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45203 wxUSE_WXHTML_HELP=no
45204 fi
45205 fi
45206 fi
45207
45208 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45209 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45210 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45211 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45212 else
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_PRINTING_ARCHITECTURE 1
45215 _ACEOF
45216
45217 fi
45218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45219 fi
45220
45221 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_POSTSCRIPT 1
45224 _ACEOF
45225
45226 fi
45227
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45230 _ACEOF
45231
45232
45233 if test "$wxUSE_SVG" = "yes"; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_SVG 1
45236 _ACEOF
45237
45238 fi
45239
45240
45241 if test "$wxUSE_METAFILE" = "yes"; then
45242 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45243 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45244 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45245 wxUSE_METAFILE=no
45246 fi
45247 fi
45248
45249
45250 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45251 -o "$wxUSE_CLIPBOARD" = "yes" \
45252 -o "$wxUSE_OLE" = "yes" \
45253 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45254 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45255 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45256 if test "${ac_cv_header_ole2_h+set}" = set; then
45257 echo $ECHO_N "(cached) $ECHO_C" >&6
45258 else
45259 cat >conftest.$ac_ext <<_ACEOF
45260 /* confdefs.h. */
45261 _ACEOF
45262 cat confdefs.h >>conftest.$ac_ext
45263 cat >>conftest.$ac_ext <<_ACEOF
45264 /* end confdefs.h. */
45265
45266
45267 #include <ole2.h>
45268 _ACEOF
45269 rm -f conftest.$ac_objext
45270 if { (ac_try="$ac_compile"
45271 case "(($ac_try" in
45272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45273 *) ac_try_echo=$ac_try;;
45274 esac
45275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45276 (eval "$ac_compile") 2>conftest.er1
45277 ac_status=$?
45278 grep -v '^ *+' conftest.er1 >conftest.err
45279 rm -f conftest.er1
45280 cat conftest.err >&5
45281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282 (exit $ac_status); } && {
45283 test -z "$ac_c_werror_flag" ||
45284 test ! -s conftest.err
45285 } && test -s conftest.$ac_objext; then
45286 ac_cv_header_ole2_h=yes
45287 else
45288 echo "$as_me: failed program was:" >&5
45289 sed 's/^/| /' conftest.$ac_ext >&5
45290
45291 ac_cv_header_ole2_h=no
45292 fi
45293
45294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45295 fi
45296 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45297 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45298
45299
45300
45301 if test "$ac_cv_header_ole2_h" = "yes" ; then
45302 if test "$GCC" = yes ; then
45303 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45304 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45305 cat >conftest.$ac_ext <<_ACEOF
45306 /* confdefs.h. */
45307 _ACEOF
45308 cat confdefs.h >>conftest.$ac_ext
45309 cat >>conftest.$ac_ext <<_ACEOF
45310 /* end confdefs.h. */
45311 #include <windows.h>
45312 #include <ole2.h>
45313 int
45314 main ()
45315 {
45316
45317 ;
45318 return 0;
45319 }
45320 _ACEOF
45321 rm -f conftest.$ac_objext
45322 if { (ac_try="$ac_compile"
45323 case "(($ac_try" in
45324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45325 *) ac_try_echo=$ac_try;;
45326 esac
45327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45328 (eval "$ac_compile") 2>conftest.er1
45329 ac_status=$?
45330 grep -v '^ *+' conftest.er1 >conftest.err
45331 rm -f conftest.er1
45332 cat conftest.err >&5
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); } && {
45335 test -z "$ac_c_werror_flag" ||
45336 test ! -s conftest.err
45337 } && test -s conftest.$ac_objext; then
45338 { echo "$as_me:$LINENO: result: no" >&5
45339 echo "${ECHO_T}no" >&6; }
45340 else
45341 echo "$as_me: failed program was:" >&5
45342 sed 's/^/| /' conftest.$ac_ext >&5
45343
45344 { echo "$as_me:$LINENO: result: yes" >&5
45345 echo "${ECHO_T}yes" >&6; }
45346 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45347 fi
45348
45349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45350 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45351 if test "$wxUSE_OLE" = "yes" ; then
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_OLE 1
45354 _ACEOF
45355
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_OLE_AUTOMATION 1
45358 _ACEOF
45359
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_ACTIVEX 1
45362 _ACEOF
45363
45364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45365 fi
45366 fi
45367
45368 if test "$wxUSE_DATAOBJ" = "yes" ; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_DATAOBJ 1
45371 _ACEOF
45372
45373 fi
45374 else
45375 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45376 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45377
45378 wxUSE_CLIPBOARD=no
45379 wxUSE_DRAG_AND_DROP=no
45380 wxUSE_DATAOBJ=no
45381 wxUSE_OLE=no
45382 fi
45383
45384 if test "$wxUSE_METAFILE" = "yes"; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_METAFILE 1
45387 _ACEOF
45388
45389
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_ENH_METAFILE 1
45392 _ACEOF
45393
45394 fi
45395 fi
45396
45397 if test "$wxUSE_IPC" = "yes"; then
45398 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45399 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45400 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45401 wxUSE_IPC=no
45402 fi
45403
45404 if test "$wxUSE_IPC" = "yes"; then
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_IPC 1
45407 _ACEOF
45408
45409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45410 fi
45411 fi
45412
45413 if test "$wxUSE_DATAOBJ" = "yes"; then
45414 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45415 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45416 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45417 wxUSE_DATAOBJ=no
45418 else
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_DATAOBJ 1
45421 _ACEOF
45422
45423 fi
45424 else
45425 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45426 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45427 wxUSE_CLIPBOARD=no
45428 wxUSE_DRAG_AND_DROP=no
45429 fi
45430
45431 if test "$wxUSE_CLIPBOARD" = "yes"; then
45432 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45433 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45434 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45435 wxUSE_CLIPBOARD=no
45436 fi
45437
45438 if test "$wxUSE_CLIPBOARD" = "yes"; then
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_CLIPBOARD 1
45441 _ACEOF
45442
45443 fi
45444 fi
45445
45446 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45447 if test "$wxUSE_GTK" = 1; then
45448 if test "$WXGTK12" != 1; then
45449 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45450 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45451 wxUSE_DRAG_AND_DROP=no
45452 fi
45453 fi
45454
45455 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45456 "$wxUSE_DFB" = 1; then
45457 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45458 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45459 wxUSE_DRAG_AND_DROP=no
45460 fi
45461
45462 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45463 cat >>confdefs.h <<\_ACEOF
45464 #define wxUSE_DRAG_AND_DROP 1
45465 _ACEOF
45466
45467 fi
45468
45469 fi
45470
45471 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45473 fi
45474
45475 if test "$wxUSE_SPLINES" = "yes" ; then
45476 cat >>confdefs.h <<\_ACEOF
45477 #define wxUSE_SPLINES 1
45478 _ACEOF
45479
45480 fi
45481
45482 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_MOUSEWHEEL 1
45485 _ACEOF
45486
45487 fi
45488
45489
45490 USES_CONTROLS=0
45491 if test "$wxUSE_CONTROLS" = "yes"; then
45492 USES_CONTROLS=1
45493 fi
45494
45495 if test "$wxUSE_ACCEL" = "yes"; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_ACCEL 1
45498 _ACEOF
45499
45500 USES_CONTROLS=1
45501 fi
45502
45503 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_ANIMATIONCTRL 1
45506 _ACEOF
45507
45508 USES_CONTROLS=1
45509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45510 fi
45511
45512 if test "$wxUSE_BUTTON" = "yes"; then
45513 cat >>confdefs.h <<\_ACEOF
45514 #define wxUSE_BUTTON 1
45515 _ACEOF
45516
45517 USES_CONTROLS=1
45518 fi
45519
45520 if test "$wxUSE_BMPBUTTON" = "yes"; then
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_BMPBUTTON 1
45523 _ACEOF
45524
45525 USES_CONTROLS=1
45526 fi
45527
45528 if test "$wxUSE_CALCTRL" = "yes"; then
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_CALENDARCTRL 1
45531 _ACEOF
45532
45533 USES_CONTROLS=1
45534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45535 fi
45536
45537 if test "$wxUSE_CARET" = "yes"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define wxUSE_CARET 1
45540 _ACEOF
45541
45542 USES_CONTROLS=1
45543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45544 fi
45545
45546 if test "$wxUSE_COLLPANE" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_COLLPANE 1
45549 _ACEOF
45550
45551 USES_CONTROLS=1
45552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45553 fi
45554
45555 if test "$wxUSE_COMBOBOX" = "yes"; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_COMBOBOX 1
45558 _ACEOF
45559
45560 USES_CONTROLS=1
45561 fi
45562
45563 if test "$wxUSE_COMBOCTRL" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_COMBOCTRL 1
45566 _ACEOF
45567
45568 USES_CONTROLS=1
45569 fi
45570
45571 if test "$wxUSE_CHOICE" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_CHOICE 1
45574 _ACEOF
45575
45576 USES_CONTROLS=1
45577 fi
45578
45579 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_CHOICEBOOK 1
45582 _ACEOF
45583
45584 USES_CONTROLS=1
45585 fi
45586
45587 if test "$wxUSE_CHECKBOX" = "yes"; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_CHECKBOX 1
45590 _ACEOF
45591
45592 USES_CONTROLS=1
45593 fi
45594
45595 if test "$wxUSE_CHECKLST" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_CHECKLISTBOX 1
45598 _ACEOF
45599
45600 USES_CONTROLS=1
45601 fi
45602
45603 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_COLOURPICKERCTRL 1
45606 _ACEOF
45607
45608 USES_CONTROLS=1
45609 fi
45610
45611 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_DATEPICKCTRL 1
45614 _ACEOF
45615
45616 USES_CONTROLS=1
45617 fi
45618
45619 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_DIRPICKERCTRL 1
45622 _ACEOF
45623
45624 USES_CONTROLS=1
45625 fi
45626
45627 if test "$wxUSE_FILECTRL" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_FILECTRL 1
45630 _ACEOF
45631
45632 USES_CONTROLS=1
45633 fi
45634
45635 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_FILEPICKERCTRL 1
45638 _ACEOF
45639
45640 USES_CONTROLS=1
45641 fi
45642
45643 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_FONTPICKERCTRL 1
45646 _ACEOF
45647
45648 USES_CONTROLS=1
45649 fi
45650
45651 if test "$wxUSE_DISPLAY" = "yes"; then
45652 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45653 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45654 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45655 wxUSE_DISPLAY=no
45656 else
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_DISPLAY 1
45659 _ACEOF
45660
45661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45662 fi
45663 fi
45664
45665 if test "$wxUSE_DETECT_SM" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_DETECT_SM 1
45668 _ACEOF
45669
45670 fi
45671
45672 if test "$wxUSE_GAUGE" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_GAUGE 1
45675 _ACEOF
45676
45677 USES_CONTROLS=1
45678 fi
45679
45680 if test "$wxUSE_GRID" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_GRID 1
45683 _ACEOF
45684
45685 USES_CONTROLS=1
45686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45687 fi
45688
45689 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_HYPERLINKCTRL 1
45692 _ACEOF
45693
45694 USES_CONTROLS=1
45695 fi
45696
45697 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_BITMAPCOMBOBOX 1
45700 _ACEOF
45701
45702 USES_CONTROLS=1
45703 fi
45704
45705 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_DATAVIEWCTRL 1
45708 _ACEOF
45709
45710 USES_CONTROLS=1
45711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45712 fi
45713
45714 if test "$wxUSE_IMAGLIST" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_IMAGLIST 1
45717 _ACEOF
45718
45719 fi
45720
45721 if test "$wxUSE_LISTBOOK" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_LISTBOOK 1
45724 _ACEOF
45725
45726 USES_CONTROLS=1
45727 fi
45728
45729 if test "$wxUSE_LISTBOX" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_LISTBOX 1
45732 _ACEOF
45733
45734 USES_CONTROLS=1
45735 fi
45736
45737 if test "$wxUSE_LISTCTRL" = "yes"; then
45738 if test "$wxUSE_IMAGLIST" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_LISTCTRL 1
45741 _ACEOF
45742
45743 USES_CONTROLS=1
45744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45745 else
45746 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45747 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45748 fi
45749 fi
45750
45751 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_EDITABLELISTBOX 1
45754 _ACEOF
45755
45756 USES_CONTROLS=1
45757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45758 fi
45759
45760 if test "$wxUSE_NOTEBOOK" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_NOTEBOOK 1
45763 _ACEOF
45764
45765 USES_CONTROLS=1
45766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45767 fi
45768
45769 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_NOTIFICATION_MESSAGE 1
45772 _ACEOF
45773
45774 fi
45775
45776 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_ODCOMBOBOX 1
45779 _ACEOF
45780
45781 USES_CONTROLS=1
45782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45783 fi
45784
45785 if test "$wxUSE_RADIOBOX" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_RADIOBOX 1
45788 _ACEOF
45789
45790 USES_CONTROLS=1
45791 fi
45792
45793 if test "$wxUSE_RADIOBTN" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_RADIOBTN 1
45796 _ACEOF
45797
45798 USES_CONTROLS=1
45799 fi
45800
45801 if test "$wxUSE_SASH" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_SASH 1
45804 _ACEOF
45805
45806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45807 fi
45808
45809 if test "$wxUSE_SCROLLBAR" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_SCROLLBAR 1
45812 _ACEOF
45813
45814 USES_CONTROLS=1
45815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45816 fi
45817
45818 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_SEARCHCTRL 1
45821 _ACEOF
45822
45823 USES_CONTROLS=1
45824 fi
45825
45826 if test "$wxUSE_SLIDER" = "yes"; then
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_SLIDER 1
45829 _ACEOF
45830
45831 USES_CONTROLS=1
45832 fi
45833
45834 if test "$wxUSE_SPINBTN" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_SPINBTN 1
45837 _ACEOF
45838
45839 USES_CONTROLS=1
45840 fi
45841
45842 if test "$wxUSE_SPINCTRL" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_SPINCTRL 1
45845 _ACEOF
45846
45847 USES_CONTROLS=1
45848 fi
45849
45850 if test "$wxUSE_SPLITTER" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_SPLITTER 1
45853 _ACEOF
45854
45855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45856 fi
45857
45858 if test "$wxUSE_STATBMP" = "yes"; then
45859 cat >>confdefs.h <<\_ACEOF
45860 #define wxUSE_STATBMP 1
45861 _ACEOF
45862
45863 USES_CONTROLS=1
45864 fi
45865
45866 if test "$wxUSE_STATBOX" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_STATBOX 1
45869 _ACEOF
45870
45871 USES_CONTROLS=1
45872 fi
45873
45874 if test "$wxUSE_STATTEXT" = "yes"; then
45875 cat >>confdefs.h <<\_ACEOF
45876 #define wxUSE_STATTEXT 1
45877 _ACEOF
45878
45879 USES_CONTROLS=1
45880 fi
45881
45882 if test "$wxUSE_STATLINE" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_STATLINE 1
45885 _ACEOF
45886
45887 USES_CONTROLS=1
45888 fi
45889
45890 if test "$wxUSE_STATUSBAR" = "yes"; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_NATIVE_STATUSBAR 1
45893 _ACEOF
45894
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_STATUSBAR 1
45897 _ACEOF
45898
45899 USES_CONTROLS=1
45900
45901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45902 fi
45903
45904 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_TAB_DIALOG 1
45907 _ACEOF
45908
45909 fi
45910
45911 if test "$wxUSE_TEXTCTRL" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_TEXTCTRL 1
45914 _ACEOF
45915
45916 USES_CONTROLS=1
45917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45918
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_RICHEDIT 1
45921 _ACEOF
45922
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_RICHEDIT2 1
45925 _ACEOF
45926
45927 fi
45928
45929 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45930 if test "$wxUSE_COCOA" = 1 ; then
45931 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45932 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45933 wxUSE_TOGGLEBTN=no
45934 fi
45935
45936 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45937 cat >>confdefs.h <<\_ACEOF
45938 #define wxUSE_TOGGLEBTN 1
45939 _ACEOF
45940
45941 USES_CONTROLS=1
45942 fi
45943 fi
45944
45945 if test "$wxUSE_TOOLBAR" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_TOOLBAR 1
45948 _ACEOF
45949
45950 USES_CONTROLS=1
45951
45952 if test "$wxUSE_UNIVERSAL" = "yes"; then
45953 wxUSE_TOOLBAR_NATIVE="no"
45954 else
45955 wxUSE_TOOLBAR_NATIVE="yes"
45956 cat >>confdefs.h <<\_ACEOF
45957 #define wxUSE_TOOLBAR_NATIVE 1
45958 _ACEOF
45959
45960 fi
45961
45962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45963 fi
45964
45965 if test "$wxUSE_TOOLTIPS" = "yes"; then
45966 if test "$wxUSE_MOTIF" = 1; then
45967 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45968 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45969 else
45970 if test "$wxUSE_UNIVERSAL" = "yes"; then
45971 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45972 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45973 else
45974 cat >>confdefs.h <<\_ACEOF
45975 #define wxUSE_TOOLTIPS 1
45976 _ACEOF
45977
45978 fi
45979 fi
45980 fi
45981
45982 if test "$wxUSE_TREEBOOK" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_TREEBOOK 1
45985 _ACEOF
45986
45987 USES_CONTROLS=1
45988 fi
45989
45990 if test "$wxUSE_TOOLBOOK" = "yes"; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_TOOLBOOK 1
45993 _ACEOF
45994
45995 USES_CONTROLS=1
45996 fi
45997
45998 if test "$wxUSE_TREECTRL" = "yes"; then
45999 if test "$wxUSE_IMAGLIST" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_TREECTRL 1
46002 _ACEOF
46003
46004 USES_CONTROLS=1
46005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46006 else
46007 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46008 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46009 fi
46010 fi
46011
46012 if test "$wxUSE_POPUPWIN" = "yes"; then
46013 if test "$wxUSE_COCOA" = 1 ; then
46014 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46015 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46016 else
46017 if test "$wxUSE_PM" = 1; then
46018 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46019 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46020 else
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_POPUPWIN 1
46023 _ACEOF
46024
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46026
46027 USES_CONTROLS=1
46028 fi
46029 fi
46030 fi
46031
46032 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46033 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46034 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46035 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46036 else
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_DIALUP_MANAGER 1
46039 _ACEOF
46040
46041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46042 fi
46043 fi
46044
46045 if test "$wxUSE_TIPWINDOW" = "yes"; then
46046 if test "$wxUSE_PM" = 1; then
46047 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46048 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46049 else
46050 cat >>confdefs.h <<\_ACEOF
46051 #define wxUSE_TIPWINDOW 1
46052 _ACEOF
46053
46054 fi
46055 fi
46056
46057 if test "$USES_CONTROLS" = 1; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_CONTROLS 1
46060 _ACEOF
46061
46062 fi
46063
46064
46065 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_ACCESSIBILITY 1
46068 _ACEOF
46069
46070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46071 fi
46072
46073 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_DRAGIMAGE 1
46076 _ACEOF
46077
46078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46079 fi
46080
46081 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46082 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46083 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46084 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46085 else
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_EXCEPTIONS 1
46088 _ACEOF
46089
46090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46091 fi
46092 fi
46093
46094 USE_HTML=0
46095 if test "$wxUSE_HTML" = "yes"; then
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_HTML 1
46098 _ACEOF
46099
46100 USE_HTML=1
46101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46102 fi
46103 if test "$wxUSE_WEBKIT" = "yes"; then
46104 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46105 old_CPPFLAGS="$CPPFLAGS"
46106 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46107 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46108 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46109 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46110 echo $ECHO_N "(cached) $ECHO_C" >&6
46111 else
46112 cat >conftest.$ac_ext <<_ACEOF
46113 /* confdefs.h. */
46114 _ACEOF
46115 cat confdefs.h >>conftest.$ac_ext
46116 cat >>conftest.$ac_ext <<_ACEOF
46117 /* end confdefs.h. */
46118
46119 #include <Carbon/Carbon.h>
46120 #include <WebKit/WebKit.h>
46121
46122
46123 #include <WebKit/HIWebView.h>
46124 _ACEOF
46125 rm -f conftest.$ac_objext
46126 if { (ac_try="$ac_compile"
46127 case "(($ac_try" in
46128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46129 *) ac_try_echo=$ac_try;;
46130 esac
46131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46132 (eval "$ac_compile") 2>conftest.er1
46133 ac_status=$?
46134 grep -v '^ *+' conftest.er1 >conftest.err
46135 rm -f conftest.er1
46136 cat conftest.err >&5
46137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46138 (exit $ac_status); } && {
46139 test -z "$ac_c_werror_flag" ||
46140 test ! -s conftest.err
46141 } && test -s conftest.$ac_objext; then
46142 ac_cv_header_WebKit_HIWebView_h=yes
46143 else
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.$ac_ext >&5
46146
46147 ac_cv_header_WebKit_HIWebView_h=no
46148 fi
46149
46150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46151 fi
46152 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46153 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46154 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46155
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_WEBKIT 1
46158 _ACEOF
46159
46160 WEBKIT_LINK="-framework WebKit"
46161
46162 else
46163
46164 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46165 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46166 wxUSE_WEBKIT=no
46167
46168 fi
46169
46170
46171 CPPFLAGS="$old_CPPFLAGS"
46172 elif test "$wxUSE_COCOA" = 1; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_WEBKIT 1
46175 _ACEOF
46176
46177 else
46178 wxUSE_WEBKIT=no
46179 fi
46180 if test "$wxUSE_WEBKIT" = "yes"; then
46181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46182 fi
46183 fi
46184
46185 USE_XRC=0
46186 if test "$wxUSE_XRC" = "yes"; then
46187 if test "$wxUSE_XML" != "yes"; then
46188 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46189 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46190 wxUSE_XRC=no
46191 else
46192 cat >>confdefs.h <<\_ACEOF
46193 #define wxUSE_XRC 1
46194 _ACEOF
46195
46196 USE_XRC=1
46197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46198 fi
46199 fi
46200
46201 USE_AUI=0
46202 if test "$wxUSE_AUI" = "yes"; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_AUI 1
46205 _ACEOF
46206
46207 USE_AUI=1
46208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46209 fi
46210
46211 USE_STC=0
46212 if test "$wxUSE_STC" = "yes"; then
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_STC 1
46215 _ACEOF
46216
46217 USE_STC=1
46218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46219 fi
46220
46221 if test "$wxUSE_MENUS" = "yes"; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_MENUS 1
46224 _ACEOF
46225
46226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46227 fi
46228
46229 if test "$wxUSE_METAFILE" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_METAFILE 1
46232 _ACEOF
46233
46234 fi
46235
46236 if test "$wxUSE_MIMETYPE" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_MIMETYPE 1
46239 _ACEOF
46240
46241 fi
46242
46243 if test "$wxUSE_MINIFRAME" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_MINIFRAME 1
46246 _ACEOF
46247
46248 fi
46249
46250 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_SYSTEM_OPTIONS 1
46253 _ACEOF
46254
46255 fi
46256
46257 if test "$wxUSE_TASKBARICON" = "yes"; then
46258 cat >>confdefs.h <<\_ACEOF
46259 #define wxUSE_TASKBARICON 1
46260 _ACEOF
46261
46262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46263 fi
46264
46265
46266 if test "$wxUSE_VALIDATORS" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_VALIDATORS 1
46269 _ACEOF
46270
46271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46272 fi
46273
46274 if test "$wxUSE_PALETTE" = "yes" ; then
46275 if test "$wxUSE_DFB" = 1; then
46276 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46277 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46278 wxUSE_PALETTE=no
46279 else
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_PALETTE 1
46282 _ACEOF
46283
46284 fi
46285 fi
46286
46287 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46288 LIBS=" -lunicows $LIBS"
46289 fi
46290
46291 USE_RICHTEXT=0
46292 if test "$wxUSE_RICHTEXT" = "yes"; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxUSE_RICHTEXT 1
46295 _ACEOF
46296
46297 USE_RICHTEXT=1
46298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46299 fi
46300
46301
46302 if test "$wxUSE_IMAGE" = "yes" ; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_IMAGE 1
46305 _ACEOF
46306
46307
46308 if test "$wxUSE_GIF" = "yes" ; then
46309 cat >>confdefs.h <<\_ACEOF
46310 #define wxUSE_GIF 1
46311 _ACEOF
46312
46313 fi
46314
46315 if test "$wxUSE_PCX" = "yes" ; then
46316 cat >>confdefs.h <<\_ACEOF
46317 #define wxUSE_PCX 1
46318 _ACEOF
46319
46320 fi
46321
46322 if test "$wxUSE_TGA" = "yes" ; then
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_TGA 1
46325 _ACEOF
46326
46327 fi
46328
46329 if test "$wxUSE_IFF" = "yes" ; then
46330 cat >>confdefs.h <<\_ACEOF
46331 #define wxUSE_IFF 1
46332 _ACEOF
46333
46334 fi
46335
46336 if test "$wxUSE_PNM" = "yes" ; then
46337 cat >>confdefs.h <<\_ACEOF
46338 #define wxUSE_PNM 1
46339 _ACEOF
46340
46341 fi
46342
46343 if test "$wxUSE_XPM" = "yes" ; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_XPM 1
46346 _ACEOF
46347
46348 fi
46349
46350 if test "$wxUSE_ICO_CUR" = "yes" ; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_ICO_CUR 1
46353 _ACEOF
46354
46355 fi
46356 fi
46357
46358
46359 if test "$wxUSE_ABOUTDLG" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_ABOUTDLG 1
46362 _ACEOF
46363
46364 fi
46365
46366 if test "$wxUSE_CHOICEDLG" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_CHOICEDLG 1
46369 _ACEOF
46370
46371 fi
46372
46373 if test "$wxUSE_COLOURDLG" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_COLOURDLG 1
46376 _ACEOF
46377
46378 fi
46379
46380 if test "$wxUSE_FILEDLG" = "yes"; then
46381 cat >>confdefs.h <<\_ACEOF
46382 #define wxUSE_FILEDLG 1
46383 _ACEOF
46384
46385 fi
46386
46387 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46388 cat >>confdefs.h <<\_ACEOF
46389 #define wxUSE_FINDREPLDLG 1
46390 _ACEOF
46391
46392 fi
46393
46394 if test "$wxUSE_FONTDLG" = "yes"; then
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_FONTDLG 1
46397 _ACEOF
46398
46399 fi
46400
46401 if test "$wxUSE_DIRDLG" = "yes"; then
46402 if test "$wxUSE_TREECTRL" != "yes"; then
46403 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46404 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46405 else
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_DIRDLG 1
46408 _ACEOF
46409
46410 fi
46411 fi
46412
46413 if test "$wxUSE_MSGDLG" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_MSGDLG 1
46416 _ACEOF
46417
46418 fi
46419
46420 if test "$wxUSE_NUMBERDLG" = "yes"; then
46421 cat >>confdefs.h <<\_ACEOF
46422 #define wxUSE_NUMBERDLG 1
46423 _ACEOF
46424
46425 fi
46426
46427 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46428 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46429 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46430 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46431 else
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_PROGRESSDLG 1
46434 _ACEOF
46435
46436 fi
46437 fi
46438
46439 if test "$wxUSE_SPLASH" = "yes"; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_SPLASH 1
46442 _ACEOF
46443
46444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46445 fi
46446
46447 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46448 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46449 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46450 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46451 else
46452 cat >>confdefs.h <<\_ACEOF
46453 #define wxUSE_STARTUP_TIPS 1
46454 _ACEOF
46455
46456 fi
46457 fi
46458
46459 if test "$wxUSE_TEXTDLG" = "yes"; then
46460 cat >>confdefs.h <<\_ACEOF
46461 #define wxUSE_TEXTDLG 1
46462 _ACEOF
46463
46464 fi
46465
46466 if test "$wxUSE_WIZARDDLG" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_WIZARDDLG 1
46469 _ACEOF
46470
46471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46472 fi
46473
46474
46475 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46476 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_OWNER_DRAWN 1
46479 _ACEOF
46480
46481 fi
46482 fi
46483
46484
46485 if test "$wxUSE_MSW" = 1 ; then
46486
46487 if test "$wxUSE_DC_CACHEING" = "yes"; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_DC_CACHEING 1
46490 _ACEOF
46491
46492 fi
46493
46494 if test "$wxUSE_DIB" = "yes"; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_WXDIB 1
46497 _ACEOF
46498
46499 fi
46500
46501 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46502 cat >>confdefs.h <<\_ACEOF
46503 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46504 _ACEOF
46505
46506 fi
46507
46508 if test "$wxUSE_UXTHEME" = "yes"; then
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_UXTHEME 1
46511 _ACEOF
46512
46513 fi
46514
46515 fi
46516
46517 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_AUTOID_MANAGEMENT 1
46520 _ACEOF
46521
46522 fi
46523
46524 if test "$USE_WIN32" = 1 ; then
46525 if test "$wxUSE_INICONF" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_INICONF 1
46528 _ACEOF
46529
46530 fi
46531
46532 if test "$wxUSE_REGKEY" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_REGKEY 1
46535 _ACEOF
46536
46537 fi
46538 fi
46539
46540
46541 if test "$wxUSE_MAC" = 1; then
46542 wxUSE_GRAPHICS_CONTEXT="yes"
46543 fi
46544
46545 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46546 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_GRAPHICS_CONTEXT 1
46549 _ACEOF
46550
46551 elif test "$wxUSE_GTK" != 1; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_GRAPHICS_CONTEXT 1
46554 _ACEOF
46555
46556 else
46557
46558 pkg_failed=no
46559 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46560 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46561
46562 if test -n "$PKG_CONFIG"; then
46563 if test -n "$CAIRO_CFLAGS"; then
46564 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46565 else
46566 if test -n "$PKG_CONFIG" && \
46567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46568 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46569 ac_status=$?
46570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46571 (exit $ac_status); }; then
46572 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46573 else
46574 pkg_failed=yes
46575 fi
46576 fi
46577 else
46578 pkg_failed=untried
46579 fi
46580 if test -n "$PKG_CONFIG"; then
46581 if test -n "$CAIRO_LIBS"; then
46582 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46583 else
46584 if test -n "$PKG_CONFIG" && \
46585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46586 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46587 ac_status=$?
46588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46589 (exit $ac_status); }; then
46590 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46591 else
46592 pkg_failed=yes
46593 fi
46594 fi
46595 else
46596 pkg_failed=untried
46597 fi
46598
46599
46600
46601 if test $pkg_failed = yes; then
46602
46603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46604 _pkg_short_errors_supported=yes
46605 else
46606 _pkg_short_errors_supported=no
46607 fi
46608 if test $_pkg_short_errors_supported = yes; then
46609 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46610 else
46611 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46612 fi
46613 # Put the nasty error message in config.log where it belongs
46614 echo "$CAIRO_PKG_ERRORS" >&5
46615
46616 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46617 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46618
46619 elif test $pkg_failed = untried; then
46620 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46621 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46622
46623 else
46624 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46625 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46626 { echo "$as_me:$LINENO: result: yes" >&5
46627 echo "${ECHO_T}yes" >&6; }
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_GRAPHICS_CONTEXT 1
46630 _ACEOF
46631
46632 fi
46633 fi
46634 fi
46635
46636
46637 USE_MEDIA=0
46638
46639 if test "$wxUSE_MEDIACTRL" = "yes"; then
46640 USE_MEDIA=1
46641
46642 if test "$wxUSE_GTK" = 1; then
46643 wxUSE_GSTREAMER="no"
46644
46645 GST_VERSION_MAJOR=0
46646 GST_VERSION_MINOR=10
46647 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46648
46649 if test "$wxUSE_GSTREAMER8" = "no"; then
46650
46651 pkg_failed=no
46652 { echo "$as_me:$LINENO: checking for GST" >&5
46653 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46654
46655 if test -n "$PKG_CONFIG"; then
46656 if test -n "$GST_CFLAGS"; then
46657 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46658 else
46659 if test -n "$PKG_CONFIG" && \
46660 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46661 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46662 ac_status=$?
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); }; then
46665 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46666 else
46667 pkg_failed=yes
46668 fi
46669 fi
46670 else
46671 pkg_failed=untried
46672 fi
46673 if test -n "$PKG_CONFIG"; then
46674 if test -n "$GST_LIBS"; then
46675 pkg_cv_GST_LIBS="$GST_LIBS"
46676 else
46677 if test -n "$PKG_CONFIG" && \
46678 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46679 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46680 ac_status=$?
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); }; then
46683 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46684 else
46685 pkg_failed=yes
46686 fi
46687 fi
46688 else
46689 pkg_failed=untried
46690 fi
46691
46692
46693
46694 if test $pkg_failed = yes; then
46695
46696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46697 _pkg_short_errors_supported=yes
46698 else
46699 _pkg_short_errors_supported=no
46700 fi
46701 if test $_pkg_short_errors_supported = yes; then
46702 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46703 else
46704 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46705 fi
46706 # Put the nasty error message in config.log where it belongs
46707 echo "$GST_PKG_ERRORS" >&5
46708
46709
46710 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46711 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46712 GST_VERSION_MINOR=8
46713
46714
46715 elif test $pkg_failed = untried; then
46716
46717 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46718 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46719 GST_VERSION_MINOR=8
46720
46721
46722 else
46723 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46724 GST_LIBS=$pkg_cv_GST_LIBS
46725 { echo "$as_me:$LINENO: result: yes" >&5
46726 echo "${ECHO_T}yes" >&6; }
46727
46728 wxUSE_GSTREAMER="yes"
46729 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46730
46731 fi
46732 else
46733 GST_VERSION_MINOR=8
46734 fi
46735
46736 if test $GST_VERSION_MINOR = "8"; then
46737 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46738
46739 pkg_failed=no
46740 { echo "$as_me:$LINENO: checking for GST" >&5
46741 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46742
46743 if test -n "$PKG_CONFIG"; then
46744 if test -n "$GST_CFLAGS"; then
46745 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46746 else
46747 if test -n "$PKG_CONFIG" && \
46748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46749 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46750 ac_status=$?
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); }; then
46753 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46754 else
46755 pkg_failed=yes
46756 fi
46757 fi
46758 else
46759 pkg_failed=untried
46760 fi
46761 if test -n "$PKG_CONFIG"; then
46762 if test -n "$GST_LIBS"; then
46763 pkg_cv_GST_LIBS="$GST_LIBS"
46764 else
46765 if test -n "$PKG_CONFIG" && \
46766 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46767 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46768 ac_status=$?
46769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46770 (exit $ac_status); }; then
46771 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46772 else
46773 pkg_failed=yes
46774 fi
46775 fi
46776 else
46777 pkg_failed=untried
46778 fi
46779
46780
46781
46782 if test $pkg_failed = yes; then
46783
46784 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46785 _pkg_short_errors_supported=yes
46786 else
46787 _pkg_short_errors_supported=no
46788 fi
46789 if test $_pkg_short_errors_supported = yes; then
46790 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46791 else
46792 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46793 fi
46794 # Put the nasty error message in config.log where it belongs
46795 echo "$GST_PKG_ERRORS" >&5
46796
46797
46798 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46799 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46800
46801 elif test $pkg_failed = untried; then
46802
46803 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46804 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46805
46806 else
46807 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46808 GST_LIBS=$pkg_cv_GST_LIBS
46809 { echo "$as_me:$LINENO: result: yes" >&5
46810 echo "${ECHO_T}yes" >&6; }
46811 wxUSE_GSTREAMER="yes"
46812 fi
46813 fi
46814
46815
46816 if test "$wxUSE_GSTREAMER" = "yes"; then
46817 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46818 EXTRALIBS_MEDIA="$GST_LIBS"
46819
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_GSTREAMER 1
46822 _ACEOF
46823
46824 else
46825 USE_MEDIA=0
46826 fi
46827 fi
46828
46829 if test $USE_MEDIA = 1; then
46830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46831 cat >>confdefs.h <<\_ACEOF
46832 #define wxUSE_MEDIACTRL 1
46833 _ACEOF
46834
46835 fi
46836 fi
46837
46838
46839 if test "$cross_compiling" = "yes"; then
46840 OSINFO="\"$host\""
46841 else
46842 OSINFO=`uname -s -r -m`
46843 OSINFO="\"$OSINFO\""
46844 fi
46845
46846 cat >>confdefs.h <<_ACEOF
46847 #define WXWIN_OS_DESCRIPTION $OSINFO
46848 _ACEOF
46849
46850
46851
46852 if test "x$prefix" != "xNONE"; then
46853 wxPREFIX=$prefix
46854 else
46855 wxPREFIX=$ac_default_prefix
46856 fi
46857
46858 cat >>confdefs.h <<_ACEOF
46859 #define wxINSTALL_PREFIX "$wxPREFIX"
46860 _ACEOF
46861
46862
46863
46864
46865 STD_BASE_LIBS="base"
46866 STD_GUI_LIBS=""
46867 BUILT_WX_LIBS="base"
46868 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46869
46870 if test "$wxUSE_SOCKETS" = "yes" ; then
46871 STD_BASE_LIBS="net $STD_BASE_LIBS"
46872 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46873 fi
46874 if test "$wxUSE_XML" = "yes" ; then
46875 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46876 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46877 fi
46878
46879 if test "$wxUSE_GUI" = "yes"; then
46880 STD_GUI_LIBS="adv core"
46881 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46882
46883 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46884 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46885 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46886 fi
46887 if test "$wxUSE_HTML" = "yes" ; then
46888 STD_GUI_LIBS="html $STD_GUI_LIBS"
46889 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46890 fi
46891 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46892 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46893 fi
46894 if test "$wxUSE_OPENGL" = "yes" ; then
46895 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46896 fi
46897 if test "$wxUSE_AUI" = "yes" ; then
46898 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46899 fi
46900 if test "$wxUSE_STC" = "yes" ; then
46901 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46902 fi
46903 if test "$wxUSE_XRC" = "yes" ; then
46904 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46905 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46906 fi
46907 fi
46908
46909
46910
46911
46912
46913
46914
46915
46916 if test "$wxUSE_MAC" = 1 ; then
46917 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46918 if test "$USE_DARWIN" = 1; then
46919 LDFLAGS="$LDFLAGS -framework QuickTime"
46920 fi
46921 fi
46922 if test "$USE_DARWIN" = 1; then
46923 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46924 fi
46925 fi
46926 if test "$wxUSE_COCOA" = 1 ; then
46927 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46928 if test "$wxUSE_MEDIACTRL" = "yes"; then
46929 LDFLAGS="$LDFLAGS -framework QuickTime"
46930 fi
46931 fi
46932 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46933 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46934 fi
46935
46936 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46937
46938 if test "$wxUSE_GUI" = "yes"; then
46939
46940
46941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46942 erase event exec font image minimal mobile \
46943 mobile/wxedit mobile/styles render \
46944 shaped svg taborder vscroll widgets"
46945
46946 if test "$wxUSE_MONOLITHIC" != "yes"; then
46947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46948 fi
46949 if test "$TOOLKIT" = "MSW"; then
46950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46951 if test "$wxUSE_UNIVERSAL" != "yes"; then
46952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46953 fi
46954 fi
46955 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46957 fi
46958 else
46959 SAMPLES_SUBDIRS="console"
46960 if test "$wxUSE_SOCKETS" = "yes" ; then
46961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46962 fi
46963 if test "$wxUSE_IPC" = "yes" ; then
46964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46965 fi
46966 fi
46967
46968
46969 if test "x$INTELCC" = "xyes" ; then
46970 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46971 elif test "$GCC" = yes ; then
46972 CWARNINGS="-Wall -Wundef"
46973 fi
46974
46975 if test "x$INTELCXX" = "xyes" ; then
46976 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46977 elif test "$GXX" = yes ; then
46978 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46979 fi
46980
46981
46982 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46983 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46984
46985
46986 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46987 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46988 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46989 $CPPFLAGS `
46990
46991 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46992 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46993 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46994 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46995 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46996
46997 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46998
46999
47000 if test "x$MWCC" = "xyes"; then
47001
47002 CC="$CC -cwd source -I-"
47003 CXX="$CXX -cwd source -I-"
47004 fi
47005
47006
47007 LIBS=`echo $LIBS`
47008 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47009 EXTRALIBS_XML="$EXPAT_LINK"
47010 EXTRALIBS_HTML="$MSPACK_LINK"
47011 EXTRALIBS_MEDIA="$GST_LIBS"
47012 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47013 if test "$wxUSE_GUI" = "yes"; then
47014 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47015 fi
47016 if test "$wxUSE_OPENGL" = "yes"; then
47017 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47018 fi
47019
47020 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47021
47022 WXCONFIG_LIBS="$LIBS"
47023
47024 if test "$wxUSE_REGEX" = "builtin" ; then
47025 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47026 fi
47027 if test "$wxUSE_EXPAT" = "builtin" ; then
47028 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47029 fi
47030 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47031 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47032 fi
47033 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47034 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47035 fi
47036 if test "$wxUSE_LIBPNG" = "builtin" ; then
47037 wxconfig_3rdparty="png $wxconfig_3rdparty"
47038 fi
47039 if test "$wxUSE_ZLIB" = "builtin" ; then
47040 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47041 fi
47042
47043 for i in $wxconfig_3rdparty ; do
47044 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47045 done
47046
47047
47048 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47049 WXUNIV=1
47050
47051 case "$wxUNIV_THEMES" in
47052 ''|all)
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_ALL_THEMES 1
47055 _ACEOF
47056
47057 ;;
47058
47059 *)
47060 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47061 cat >>confdefs.h <<_ACEOF
47062 #define wxUSE_THEME_$t 1
47063 _ACEOF
47064
47065 done
47066 esac
47067 else
47068 WXUNIV=0
47069 fi
47070
47071
47072
47073
47074
47075
47076
47077
47078 if test $wxUSE_MONOLITHIC = "yes" ; then
47079 MONOLITHIC=1
47080 else
47081 MONOLITHIC=0
47082 fi
47083
47084 if test $wxUSE_PLUGINS = "yes" ; then
47085 USE_PLUGINS=1
47086 else
47087 USE_PLUGINS=0
47088 fi
47089
47090 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47091 USE_QA=1
47092 else
47093 USE_QA=0
47094 fi
47095
47096 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47097 OFFICIAL_BUILD=1
47098 else
47099 OFFICIAL_BUILD=0
47100 fi
47101
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 if test "$TOOLKIT" = "MAC"; then
47130 TOOLKIT_LOWERCASE=osx
47131 else
47132 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47133 fi
47134
47135
47136
47137
47138
47139
47140
47141
47142 case "$TOOLKIT" in
47143 GTK)
47144 TOOLKIT_DESC="GTK+"
47145 if test "$WXGTK2" = 1; then
47146 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47147 if test "$wxUSE_GTKPRINT" = "yes" ; then
47148 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47149 fi
47150 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47151 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47152 fi
47153 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47154 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47155 fi
47156 if test "$wxUSE_LIBHILDON" = "yes"; then
47157 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47158 fi
47159
47160 if test "$TOOLKIT_EXTRA" != ""; then
47161 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47162 fi
47163 fi
47164 ;;
47165
47166 ?*)
47167 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47168 ;;
47169
47170 *)
47171 TOOLKIT_DESC="base only"
47172 ;;
47173 esac
47174
47175 if test "$wxUSE_WINE" = "yes"; then
47176 BAKEFILE_FORCE_PLATFORM=win32
47177 fi
47178
47179 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47180 then
47181 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47182 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47183 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47184 echo $ECHO_N "(cached) $ECHO_C" >&6
47185 else
47186
47187 echo '#include <stdio.h>
47188 const wchar_t test_var[] = L"awidetest";' > conftest.h
47189
47190 echo '#include "conftest.h"
47191 int main()
47192 {
47193 printf("%ls", test_var);
47194 return 0;
47195 }' > conftest.cpp
47196
47197 wx_cv_gcc_pch_bug="pch not supported"
47198
47199 if $CXX conftest.h >/dev/null 2>&1
47200 then
47201 wx_cv_gcc_pch_bug=
47202
47203 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47204 then
47205 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47206 grep awidetest >/dev/null
47207 then
47208 wx_cv_gcc_pch_bug=no
47209 else
47210 wx_cv_gcc_pch_bug=yes
47211 fi
47212 fi
47213 fi
47214
47215 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47216
47217 fi
47218 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47219 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47220
47221 if test "$wx_cv_gcc_pch_bug" = yes; then
47222 bk_use_pch=no
47223 fi
47224 fi
47225
47226
47227
47228
47229
47230
47231
47232 if test "x$BAKEFILE_HOST" = "x"; then
47233 if test "x${host}" = "x" ; then
47234 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47235 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47236 { (exit 1); exit 1; }; }
47237 fi
47238
47239 BAKEFILE_HOST="${host}"
47240 fi
47241
47242 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47243
47244 if test -n "$ac_tool_prefix"; then
47245 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47246 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47249 if test "${ac_cv_prog_RANLIB+set}" = set; then
47250 echo $ECHO_N "(cached) $ECHO_C" >&6
47251 else
47252 if test -n "$RANLIB"; then
47253 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47254 else
47255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47256 for as_dir in $PATH
47257 do
47258 IFS=$as_save_IFS
47259 test -z "$as_dir" && as_dir=.
47260 for ac_exec_ext in '' $ac_executable_extensions; do
47261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47262 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47264 break 2
47265 fi
47266 done
47267 done
47268 IFS=$as_save_IFS
47269
47270 fi
47271 fi
47272 RANLIB=$ac_cv_prog_RANLIB
47273 if test -n "$RANLIB"; then
47274 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47275 echo "${ECHO_T}$RANLIB" >&6; }
47276 else
47277 { echo "$as_me:$LINENO: result: no" >&5
47278 echo "${ECHO_T}no" >&6; }
47279 fi
47280
47281
47282 fi
47283 if test -z "$ac_cv_prog_RANLIB"; then
47284 ac_ct_RANLIB=$RANLIB
47285 # Extract the first word of "ranlib", so it can be a program name with args.
47286 set dummy ranlib; ac_word=$2
47287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47289 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47290 echo $ECHO_N "(cached) $ECHO_C" >&6
47291 else
47292 if test -n "$ac_ct_RANLIB"; then
47293 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47294 else
47295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47296 for as_dir in $PATH
47297 do
47298 IFS=$as_save_IFS
47299 test -z "$as_dir" && as_dir=.
47300 for ac_exec_ext in '' $ac_executable_extensions; do
47301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47302 ac_cv_prog_ac_ct_RANLIB="ranlib"
47303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47304 break 2
47305 fi
47306 done
47307 done
47308 IFS=$as_save_IFS
47309
47310 fi
47311 fi
47312 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47313 if test -n "$ac_ct_RANLIB"; then
47314 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47315 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47316 else
47317 { echo "$as_me:$LINENO: result: no" >&5
47318 echo "${ECHO_T}no" >&6; }
47319 fi
47320
47321 if test "x$ac_ct_RANLIB" = x; then
47322 RANLIB=":"
47323 else
47324 case $cross_compiling:$ac_tool_warned in
47325 yes:)
47326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47327 whose name does not start with the host triplet. If you think this
47328 configuration is useful to you, please write to autoconf@gnu.org." >&5
47329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47330 whose name does not start with the host triplet. If you think this
47331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47332 ac_tool_warned=yes ;;
47333 esac
47334 RANLIB=$ac_ct_RANLIB
47335 fi
47336 else
47337 RANLIB="$ac_cv_prog_RANLIB"
47338 fi
47339
47340 # Find a good install program. We prefer a C program (faster),
47341 # so one script is as good as another. But avoid the broken or
47342 # incompatible versions:
47343 # SysV /etc/install, /usr/sbin/install
47344 # SunOS /usr/etc/install
47345 # IRIX /sbin/install
47346 # AIX /bin/install
47347 # AmigaOS /C/install, which installs bootblocks on floppy discs
47348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47351 # OS/2's system install, which has a completely different semantic
47352 # ./install, which can be erroneously created by make from ./install.sh.
47353 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47354 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47355 if test -z "$INSTALL"; then
47356 if test "${ac_cv_path_install+set}" = set; then
47357 echo $ECHO_N "(cached) $ECHO_C" >&6
47358 else
47359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47360 for as_dir in $PATH
47361 do
47362 IFS=$as_save_IFS
47363 test -z "$as_dir" && as_dir=.
47364 # Account for people who put trailing slashes in PATH elements.
47365 case $as_dir/ in
47366 ./ | .// | /cC/* | \
47367 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47368 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47369 /usr/ucb/* ) ;;
47370 *)
47371 # OSF1 and SCO ODT 3.0 have their own names for install.
47372 # Don't use installbsd from OSF since it installs stuff as root
47373 # by default.
47374 for ac_prog in ginstall scoinst install; do
47375 for ac_exec_ext in '' $ac_executable_extensions; do
47376 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47377 if test $ac_prog = install &&
47378 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47379 # AIX install. It has an incompatible calling convention.
47380 :
47381 elif test $ac_prog = install &&
47382 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47383 # program-specific install script used by HP pwplus--don't use.
47384 :
47385 else
47386 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47387 break 3
47388 fi
47389 fi
47390 done
47391 done
47392 ;;
47393 esac
47394 done
47395 IFS=$as_save_IFS
47396
47397
47398 fi
47399 if test "${ac_cv_path_install+set}" = set; then
47400 INSTALL=$ac_cv_path_install
47401 else
47402 # As a last resort, use the slow shell script. Don't cache a
47403 # value for INSTALL within a source directory, because that will
47404 # break other packages using the cache if that directory is
47405 # removed, or if the value is a relative name.
47406 INSTALL=$ac_install_sh
47407 fi
47408 fi
47409 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47410 echo "${ECHO_T}$INSTALL" >&6; }
47411
47412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47413 # It thinks the first close brace ends the variable substitution.
47414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47415
47416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47417
47418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47419
47420 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47421 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47422 LN_S=$as_ln_s
47423 if test "$LN_S" = "ln -s"; then
47424 { echo "$as_me:$LINENO: result: yes" >&5
47425 echo "${ECHO_T}yes" >&6; }
47426 else
47427 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47428 echo "${ECHO_T}no, using $LN_S" >&6; }
47429 fi
47430
47431
47432 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47433 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47434 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47435 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47436 echo $ECHO_N "(cached) $ECHO_C" >&6
47437 else
47438 cat >conftest.make <<\_ACEOF
47439 SHELL = /bin/sh
47440 all:
47441 @echo '@@@%%%=$(MAKE)=@@@%%%'
47442 _ACEOF
47443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47444 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47445 *@@@%%%=?*=@@@%%%*)
47446 eval ac_cv_prog_make_${ac_make}_set=yes;;
47447 *)
47448 eval ac_cv_prog_make_${ac_make}_set=no;;
47449 esac
47450 rm -f conftest.make
47451 fi
47452 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47453 { echo "$as_me:$LINENO: result: yes" >&5
47454 echo "${ECHO_T}yes" >&6; }
47455 SET_MAKE=
47456 else
47457 { echo "$as_me:$LINENO: result: no" >&5
47458 echo "${ECHO_T}no" >&6; }
47459 SET_MAKE="MAKE=${MAKE-make}"
47460 fi
47461
47462
47463
47464 if test "x$SUNCXX" = "xyes"; then
47465 AR=$CXX
47466 AROPTIONS="-xar -o"
47467
47468 elif test "x$SGICC" = "xyes"; then
47469 AR=$CXX
47470 AROPTIONS="-ar -o"
47471
47472 else
47473 if test -n "$ac_tool_prefix"; then
47474 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47475 set dummy ${ac_tool_prefix}ar; ac_word=$2
47476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47478 if test "${ac_cv_prog_AR+set}" = set; then
47479 echo $ECHO_N "(cached) $ECHO_C" >&6
47480 else
47481 if test -n "$AR"; then
47482 ac_cv_prog_AR="$AR" # Let the user override the test.
47483 else
47484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47485 for as_dir in $PATH
47486 do
47487 IFS=$as_save_IFS
47488 test -z "$as_dir" && as_dir=.
47489 for ac_exec_ext in '' $ac_executable_extensions; do
47490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47491 ac_cv_prog_AR="${ac_tool_prefix}ar"
47492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47493 break 2
47494 fi
47495 done
47496 done
47497 IFS=$as_save_IFS
47498
47499 fi
47500 fi
47501 AR=$ac_cv_prog_AR
47502 if test -n "$AR"; then
47503 { echo "$as_me:$LINENO: result: $AR" >&5
47504 echo "${ECHO_T}$AR" >&6; }
47505 else
47506 { echo "$as_me:$LINENO: result: no" >&5
47507 echo "${ECHO_T}no" >&6; }
47508 fi
47509
47510
47511 fi
47512 if test -z "$ac_cv_prog_AR"; then
47513 ac_ct_AR=$AR
47514 # Extract the first word of "ar", so it can be a program name with args.
47515 set dummy ar; ac_word=$2
47516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47518 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47519 echo $ECHO_N "(cached) $ECHO_C" >&6
47520 else
47521 if test -n "$ac_ct_AR"; then
47522 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47523 else
47524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47525 for as_dir in $PATH
47526 do
47527 IFS=$as_save_IFS
47528 test -z "$as_dir" && as_dir=.
47529 for ac_exec_ext in '' $ac_executable_extensions; do
47530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47531 ac_cv_prog_ac_ct_AR="ar"
47532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47533 break 2
47534 fi
47535 done
47536 done
47537 IFS=$as_save_IFS
47538
47539 fi
47540 fi
47541 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47542 if test -n "$ac_ct_AR"; then
47543 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47544 echo "${ECHO_T}$ac_ct_AR" >&6; }
47545 else
47546 { echo "$as_me:$LINENO: result: no" >&5
47547 echo "${ECHO_T}no" >&6; }
47548 fi
47549
47550 if test "x$ac_ct_AR" = x; then
47551 AR="ar"
47552 else
47553 case $cross_compiling:$ac_tool_warned in
47554 yes:)
47555 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47556 whose name does not start with the host triplet. If you think this
47557 configuration is useful to you, please write to autoconf@gnu.org." >&5
47558 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47559 whose name does not start with the host triplet. If you think this
47560 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47561 ac_tool_warned=yes ;;
47562 esac
47563 AR=$ac_ct_AR
47564 fi
47565 else
47566 AR="$ac_cv_prog_AR"
47567 fi
47568
47569 AROPTIONS=rcu
47570 fi
47571
47572
47573 if test -n "$ac_tool_prefix"; then
47574 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47575 set dummy ${ac_tool_prefix}strip; ac_word=$2
47576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47578 if test "${ac_cv_prog_STRIP+set}" = set; then
47579 echo $ECHO_N "(cached) $ECHO_C" >&6
47580 else
47581 if test -n "$STRIP"; then
47582 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47583 else
47584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47585 for as_dir in $PATH
47586 do
47587 IFS=$as_save_IFS
47588 test -z "$as_dir" && as_dir=.
47589 for ac_exec_ext in '' $ac_executable_extensions; do
47590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47591 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47593 break 2
47594 fi
47595 done
47596 done
47597 IFS=$as_save_IFS
47598
47599 fi
47600 fi
47601 STRIP=$ac_cv_prog_STRIP
47602 if test -n "$STRIP"; then
47603 { echo "$as_me:$LINENO: result: $STRIP" >&5
47604 echo "${ECHO_T}$STRIP" >&6; }
47605 else
47606 { echo "$as_me:$LINENO: result: no" >&5
47607 echo "${ECHO_T}no" >&6; }
47608 fi
47609
47610
47611 fi
47612 if test -z "$ac_cv_prog_STRIP"; then
47613 ac_ct_STRIP=$STRIP
47614 # Extract the first word of "strip", so it can be a program name with args.
47615 set dummy strip; ac_word=$2
47616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47618 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47619 echo $ECHO_N "(cached) $ECHO_C" >&6
47620 else
47621 if test -n "$ac_ct_STRIP"; then
47622 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47623 else
47624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47625 for as_dir in $PATH
47626 do
47627 IFS=$as_save_IFS
47628 test -z "$as_dir" && as_dir=.
47629 for ac_exec_ext in '' $ac_executable_extensions; do
47630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47631 ac_cv_prog_ac_ct_STRIP="strip"
47632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47633 break 2
47634 fi
47635 done
47636 done
47637 IFS=$as_save_IFS
47638
47639 fi
47640 fi
47641 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47642 if test -n "$ac_ct_STRIP"; then
47643 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47644 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47645 else
47646 { echo "$as_me:$LINENO: result: no" >&5
47647 echo "${ECHO_T}no" >&6; }
47648 fi
47649
47650 if test "x$ac_ct_STRIP" = x; then
47651 STRIP=":"
47652 else
47653 case $cross_compiling:$ac_tool_warned in
47654 yes:)
47655 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47656 whose name does not start with the host triplet. If you think this
47657 configuration is useful to you, please write to autoconf@gnu.org." >&5
47658 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47659 whose name does not start with the host triplet. If you think this
47660 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47661 ac_tool_warned=yes ;;
47662 esac
47663 STRIP=$ac_ct_STRIP
47664 fi
47665 else
47666 STRIP="$ac_cv_prog_STRIP"
47667 fi
47668
47669 if test -n "$ac_tool_prefix"; then
47670 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47671 set dummy ${ac_tool_prefix}nm; ac_word=$2
47672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47674 if test "${ac_cv_prog_NM+set}" = set; then
47675 echo $ECHO_N "(cached) $ECHO_C" >&6
47676 else
47677 if test -n "$NM"; then
47678 ac_cv_prog_NM="$NM" # Let the user override the test.
47679 else
47680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47681 for as_dir in $PATH
47682 do
47683 IFS=$as_save_IFS
47684 test -z "$as_dir" && as_dir=.
47685 for ac_exec_ext in '' $ac_executable_extensions; do
47686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47687 ac_cv_prog_NM="${ac_tool_prefix}nm"
47688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47689 break 2
47690 fi
47691 done
47692 done
47693 IFS=$as_save_IFS
47694
47695 fi
47696 fi
47697 NM=$ac_cv_prog_NM
47698 if test -n "$NM"; then
47699 { echo "$as_me:$LINENO: result: $NM" >&5
47700 echo "${ECHO_T}$NM" >&6; }
47701 else
47702 { echo "$as_me:$LINENO: result: no" >&5
47703 echo "${ECHO_T}no" >&6; }
47704 fi
47705
47706
47707 fi
47708 if test -z "$ac_cv_prog_NM"; then
47709 ac_ct_NM=$NM
47710 # Extract the first word of "nm", so it can be a program name with args.
47711 set dummy nm; ac_word=$2
47712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47714 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47715 echo $ECHO_N "(cached) $ECHO_C" >&6
47716 else
47717 if test -n "$ac_ct_NM"; then
47718 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47719 else
47720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47721 for as_dir in $PATH
47722 do
47723 IFS=$as_save_IFS
47724 test -z "$as_dir" && as_dir=.
47725 for ac_exec_ext in '' $ac_executable_extensions; do
47726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47727 ac_cv_prog_ac_ct_NM="nm"
47728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47729 break 2
47730 fi
47731 done
47732 done
47733 IFS=$as_save_IFS
47734
47735 fi
47736 fi
47737 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47738 if test -n "$ac_ct_NM"; then
47739 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47740 echo "${ECHO_T}$ac_ct_NM" >&6; }
47741 else
47742 { echo "$as_me:$LINENO: result: no" >&5
47743 echo "${ECHO_T}no" >&6; }
47744 fi
47745
47746 if test "x$ac_ct_NM" = x; then
47747 NM=":"
47748 else
47749 case $cross_compiling:$ac_tool_warned in
47750 yes:)
47751 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47752 whose name does not start with the host triplet. If you think this
47753 configuration is useful to you, please write to autoconf@gnu.org." >&5
47754 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47755 whose name does not start with the host triplet. If you think this
47756 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47757 ac_tool_warned=yes ;;
47758 esac
47759 NM=$ac_ct_NM
47760 fi
47761 else
47762 NM="$ac_cv_prog_NM"
47763 fi
47764
47765
47766 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47767 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47768 INSTALL_TEST_DIR=acbftest$$
47769 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47770 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47771 rmdir $INSTALL_TEST_DIR
47772 INSTALL_DIR='$(INSTALL) -d'
47773 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47774 echo "${ECHO_T}$INSTALL -d" >&6; }
47775 else
47776 INSTALL_DIR="mkdir -p"
47777 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47778 echo "${ECHO_T}mkdir -p" >&6; }
47779 fi
47780
47781
47782 LDFLAGS_GUI=
47783 case ${BAKEFILE_HOST} in
47784 *-*-cygwin* | *-*-mingw32* )
47785 LDFLAGS_GUI="-mwindows"
47786 esac
47787
47788
47789 fi
47790
47791 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47792 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47793 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47794 echo $ECHO_N "(cached) $ECHO_C" >&6
47795 else
47796
47797 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47798 egrep -s GNU > /dev/null); then
47799 bakefile_cv_prog_makeisgnu="yes"
47800 else
47801 bakefile_cv_prog_makeisgnu="no"
47802 fi
47803
47804 fi
47805 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47806 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47807
47808 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47809 IF_GNU_MAKE=""
47810 else
47811 IF_GNU_MAKE="#"
47812 fi
47813
47814
47815
47816 PLATFORM_UNIX=0
47817 PLATFORM_WIN32=0
47818 PLATFORM_MSDOS=0
47819 PLATFORM_MAC=0
47820 PLATFORM_MACOS=0
47821 PLATFORM_MACOSX=0
47822 PLATFORM_OS2=0
47823 PLATFORM_BEOS=0
47824
47825 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47826 case "${BAKEFILE_HOST}" in
47827 *-*-mingw32* )
47828 PLATFORM_WIN32=1
47829 ;;
47830 *-pc-msdosdjgpp )
47831 PLATFORM_MSDOS=1
47832 ;;
47833 *-pc-os2_emx | *-pc-os2-emx )
47834 PLATFORM_OS2=1
47835 ;;
47836 *-*-darwin* )
47837 PLATFORM_MAC=1
47838 PLATFORM_MACOSX=1
47839 ;;
47840 *-*-beos* )
47841 PLATFORM_BEOS=1
47842 ;;
47843 powerpc-apple-macos* )
47844 PLATFORM_MAC=1
47845 PLATFORM_MACOS=1
47846 ;;
47847 * )
47848 PLATFORM_UNIX=1
47849 ;;
47850 esac
47851 else
47852 case "$BAKEFILE_FORCE_PLATFORM" in
47853 win32 )
47854 PLATFORM_WIN32=1
47855 ;;
47856 msdos )
47857 PLATFORM_MSDOS=1
47858 ;;
47859 os2 )
47860 PLATFORM_OS2=1
47861 ;;
47862 darwin )
47863 PLATFORM_MAC=1
47864 PLATFORM_MACOSX=1
47865 ;;
47866 unix )
47867 PLATFORM_UNIX=1
47868 ;;
47869 beos )
47870 PLATFORM_BEOS=1
47871 ;;
47872 * )
47873 ;;
47874 esac
47875 fi
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887 # Check whether --enable-omf was given.
47888 if test "${enable_omf+set}" = set; then
47889 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47890 fi
47891
47892
47893 case "${BAKEFILE_HOST}" in
47894 *-*-darwin* )
47895 if test "x$GCC" = "xyes"; then
47896 CFLAGS="$CFLAGS -fno-common"
47897 CXXFLAGS="$CXXFLAGS -fno-common"
47898 fi
47899 if test "x$XLCC" = "xyes"; then
47900 CFLAGS="$CFLAGS -qnocommon"
47901 CXXFLAGS="$CXXFLAGS -qnocommon"
47902 fi
47903 ;;
47904
47905 *-pc-os2_emx | *-pc-os2-emx )
47906 if test "x$bk_os2_use_omf" = "xyes" ; then
47907 AR=emxomfar
47908 RANLIB=:
47909 LDFLAGS="-Zomf $LDFLAGS"
47910 CFLAGS="-Zomf $CFLAGS"
47911 CXXFLAGS="-Zomf $CXXFLAGS"
47912 OS2_LIBEXT="lib"
47913 else
47914 OS2_LIBEXT="a"
47915 fi
47916 ;;
47917
47918 i*86-*-beos* )
47919 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47920 ;;
47921 esac
47922
47923
47924 SO_SUFFIX="so"
47925 SO_SUFFIX_MODULE="so"
47926 EXEEXT=""
47927 LIBPREFIX="lib"
47928 LIBEXT=".a"
47929 DLLPREFIX="lib"
47930 DLLPREFIX_MODULE=""
47931 DLLIMP_SUFFIX=""
47932 dlldir="$libdir"
47933
47934 case "${BAKEFILE_HOST}" in
47935 *-hp-hpux* )
47936 SO_SUFFIX="sl"
47937 SO_SUFFIX_MODULE="sl"
47938 ;;
47939 *-*-aix* )
47940 SO_SUFFIX="a"
47941 SO_SUFFIX_MODULE="a"
47942 ;;
47943 *-*-cygwin* )
47944 SO_SUFFIX="dll"
47945 SO_SUFFIX_MODULE="dll"
47946 DLLIMP_SUFFIX="dll.a"
47947 EXEEXT=".exe"
47948 DLLPREFIX="cyg"
47949 dlldir="$bindir"
47950 ;;
47951 *-*-mingw32* )
47952 SO_SUFFIX="dll"
47953 SO_SUFFIX_MODULE="dll"
47954 DLLIMP_SUFFIX="dll.a"
47955 EXEEXT=".exe"
47956 DLLPREFIX=""
47957 dlldir="$bindir"
47958 ;;
47959 *-pc-msdosdjgpp )
47960 EXEEXT=".exe"
47961 DLLPREFIX=""
47962 dlldir="$bindir"
47963 ;;
47964 *-pc-os2_emx | *-pc-os2-emx )
47965 SO_SUFFIX="dll"
47966 SO_SUFFIX_MODULE="dll"
47967 DLLIMP_SUFFIX=$OS2_LIBEXT
47968 EXEEXT=".exe"
47969 DLLPREFIX=""
47970 LIBPREFIX=""
47971 LIBEXT=".$OS2_LIBEXT"
47972 dlldir="$bindir"
47973 ;;
47974 *-*-darwin* )
47975 SO_SUFFIX="dylib"
47976 SO_SUFFIX_MODULE="bundle"
47977 ;;
47978 esac
47979
47980 if test "x$DLLIMP_SUFFIX" = "x" ; then
47981 DLLIMP_SUFFIX="$SO_SUFFIX"
47982 fi
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995 PIC_FLAG=""
47996 if test "x$GCC" = "xyes"; then
47997 PIC_FLAG="-fPIC"
47998 fi
47999
48000 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48001 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48002 WINDOWS_IMPLIB=0
48003
48004 case "${BAKEFILE_HOST}" in
48005 *-hp-hpux* )
48006 if test "x$GCC" != "xyes"; then
48007 LDFLAGS="$LDFLAGS -L/usr/lib"
48008
48009 SHARED_LD_CC="${CC} -b -o"
48010 SHARED_LD_CXX="${CXX} -b -o"
48011 PIC_FLAG="+Z"
48012 fi
48013 ;;
48014
48015 *-*-linux* )
48016 if test "$INTELCC" = "yes"; then
48017 PIC_FLAG="-KPIC"
48018 elif test "x$SUNCXX" = "xyes"; then
48019 SHARED_LD_CC="${CC} -G -o"
48020 SHARED_LD_CXX="${CXX} -G -o"
48021 PIC_FLAG="-KPIC"
48022 fi
48023 ;;
48024
48025 *-*-solaris2* )
48026 if test "x$SUNCXX" = xyes ; then
48027 SHARED_LD_CC="${CC} -G -o"
48028 SHARED_LD_CXX="${CXX} -G -o"
48029 PIC_FLAG="-KPIC"
48030 fi
48031 ;;
48032
48033 *-*-darwin* )
48034
48035 D='$'
48036 cat <<EOF >shared-ld-sh
48037 #!/bin/sh
48038 #-----------------------------------------------------------------------------
48039 #-- Name: distrib/mac/shared-ld-sh
48040 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48041 #-- Author: Gilles Depeyrot
48042 #-- Copyright: (c) 2002 Gilles Depeyrot
48043 #-- Licence: any use permitted
48044 #-----------------------------------------------------------------------------
48045
48046 verbose=0
48047 args=""
48048 objects=""
48049 linking_flag="-dynamiclib"
48050 ldargs="-r -keep_private_externs -nostdlib"
48051
48052 if test "x${D}CXX" = "x"; then
48053 CXX="c++"
48054 fi
48055
48056 while test ${D}# -gt 0; do
48057 case ${D}1 in
48058
48059 -v)
48060 verbose=1
48061 ;;
48062
48063 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48064 # collect these options and values
48065 args="${D}{args} ${D}1 ${D}2"
48066 shift
48067 ;;
48068
48069 -arch|-isysroot)
48070 # collect these options and values
48071 ldargs="${D}{ldargs} ${D}1 ${D}2"
48072 shift
48073 ;;
48074
48075 -s|-Wl,*)
48076 # collect these load args
48077 ldargs="${D}{ldargs} ${D}1"
48078 ;;
48079
48080 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48081 # collect these options
48082 args="${D}{args} ${D}1"
48083 ;;
48084
48085 -dynamiclib|-bundle)
48086 linking_flag="${D}1"
48087 ;;
48088
48089 -*)
48090 echo "shared-ld: unhandled option '${D}1'"
48091 exit 1
48092 ;;
48093
48094 *.o | *.a | *.dylib)
48095 # collect object files
48096 objects="${D}{objects} ${D}1"
48097 ;;
48098
48099 *)
48100 echo "shared-ld: unhandled argument '${D}1'"
48101 exit 1
48102 ;;
48103
48104 esac
48105 shift
48106 done
48107
48108 status=0
48109
48110 #
48111 # Link one module containing all the others
48112 #
48113 if test ${D}{verbose} = 1; then
48114 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48115 fi
48116 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48117 status=${D}?
48118
48119 #
48120 # Link the shared library from the single module created, but only if the
48121 # previous command didn't fail:
48122 #
48123 if test ${D}{status} = 0; then
48124 if test ${D}{verbose} = 1; then
48125 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48126 fi
48127 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48128 status=${D}?
48129 fi
48130
48131 #
48132 # Remove intermediate module
48133 #
48134 rm -f master.${D}${D}.o
48135
48136 exit ${D}status
48137 EOF
48138
48139 chmod +x shared-ld-sh
48140
48141 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48142 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48143
48144
48145 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48146 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48147 if test "${bakefile_cv_gcc31+set}" = set; then
48148 echo $ECHO_N "(cached) $ECHO_C" >&6
48149 else
48150
48151 cat >conftest.$ac_ext <<_ACEOF
48152 /* confdefs.h. */
48153 _ACEOF
48154 cat confdefs.h >>conftest.$ac_ext
48155 cat >>conftest.$ac_ext <<_ACEOF
48156 /* end confdefs.h. */
48157
48158 int
48159 main ()
48160 {
48161
48162 #if (__GNUC__ < 3) || \
48163 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48164 This is old gcc
48165 #endif
48166
48167 ;
48168 return 0;
48169 }
48170 _ACEOF
48171 rm -f conftest.$ac_objext
48172 if { (ac_try="$ac_compile"
48173 case "(($ac_try" in
48174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48175 *) ac_try_echo=$ac_try;;
48176 esac
48177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48178 (eval "$ac_compile") 2>conftest.er1
48179 ac_status=$?
48180 grep -v '^ *+' conftest.er1 >conftest.err
48181 rm -f conftest.er1
48182 cat conftest.err >&5
48183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48184 (exit $ac_status); } && {
48185 test -z "$ac_c_werror_flag" ||
48186 test ! -s conftest.err
48187 } && test -s conftest.$ac_objext; then
48188
48189 bakefile_cv_gcc31=yes
48190
48191 else
48192 echo "$as_me: failed program was:" >&5
48193 sed 's/^/| /' conftest.$ac_ext >&5
48194
48195
48196 bakefile_cv_gcc31=no
48197
48198
48199 fi
48200
48201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48202
48203 fi
48204 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48205 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48206 if test "$bakefile_cv_gcc31" = "no"; then
48207 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48208 SHARED_LD_CXX="$SHARED_LD_CC"
48209 else
48210 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48211 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48212 fi
48213
48214 if test "x$GCC" == "xyes"; then
48215 PIC_FLAG="-dynamic -fPIC"
48216 fi
48217 if test "x$XLCC" = "xyes"; then
48218 PIC_FLAG="-dynamic -DPIC"
48219 fi
48220 ;;
48221
48222 *-*-aix* )
48223 if test "x$GCC" = "xyes"; then
48224 PIC_FLAG=""
48225
48226 case "${BAKEFILE_HOST}" in
48227 *-*-aix5* )
48228 LD_EXPFULL="-Wl,-bexpfull"
48229 ;;
48230 esac
48231
48232 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48233 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48234 else
48235 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48236 set dummy makeC++SharedLib; ac_word=$2
48237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48239 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48240 echo $ECHO_N "(cached) $ECHO_C" >&6
48241 else
48242 if test -n "$AIX_CXX_LD"; then
48243 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48244 else
48245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48246 for as_dir in $PATH
48247 do
48248 IFS=$as_save_IFS
48249 test -z "$as_dir" && as_dir=.
48250 for ac_exec_ext in '' $ac_executable_extensions; do
48251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48252 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48254 break 2
48255 fi
48256 done
48257 done
48258 IFS=$as_save_IFS
48259
48260 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48261 fi
48262 fi
48263 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48264 if test -n "$AIX_CXX_LD"; then
48265 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48266 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48267 else
48268 { echo "$as_me:$LINENO: result: no" >&5
48269 echo "${ECHO_T}no" >&6; }
48270 fi
48271
48272
48273 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48274 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48275 fi
48276 ;;
48277
48278 *-*-beos* )
48279 SHARED_LD_CC="${LD} -nostart -o"
48280 SHARED_LD_CXX="${LD} -nostart -o"
48281 ;;
48282
48283 *-*-irix* )
48284 if test "x$GCC" != "xyes"; then
48285 PIC_FLAG="-KPIC"
48286 fi
48287 ;;
48288
48289 *-*-cygwin* | *-*-mingw32* )
48290 PIC_FLAG=""
48291 SHARED_LD_CC="\$(CC) -shared -o"
48292 SHARED_LD_CXX="\$(CXX) -shared -o"
48293 WINDOWS_IMPLIB=1
48294 ;;
48295
48296 *-pc-os2_emx | *-pc-os2-emx )
48297 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48298 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48299 PIC_FLAG=""
48300
48301 D='$'
48302 cat <<EOF >dllar.sh
48303 #!/bin/sh
48304 #
48305 # dllar - a tool to build both a .dll and an .a file
48306 # from a set of object (.o) files for EMX/OS2.
48307 #
48308 # Written by Andrew Zabolotny, bit@freya.etu.ru
48309 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48310 #
48311 # This script will accept a set of files on the command line.
48312 # All the public symbols from the .o files will be exported into
48313 # a .DEF file, then linker will be run (through gcc) against them to
48314 # build a shared library consisting of all given .o files. All libraries
48315 # (.a) will be first decompressed into component .o files then act as
48316 # described above. You can optionally give a description (-d "description")
48317 # which will be put into .DLL. To see the list of accepted options (as well
48318 # as command-line format) simply run this program without options. The .DLL
48319 # is built to be imported by name (there is no guarantee that new versions
48320 # of the library you build will have same ordinals for same symbols).
48321 #
48322 # dllar is free software; you can redistribute it and/or modify
48323 # it under the terms of the GNU General Public License as published by
48324 # the Free Software Foundation; either version 2, or (at your option)
48325 # any later version.
48326 #
48327 # dllar is distributed in the hope that it will be useful,
48328 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48329 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48330 # GNU General Public License for more details.
48331 #
48332 # You should have received a copy of the GNU General Public License
48333 # along with dllar; see the file COPYING. If not, write to the Free
48334 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48335 # 02111-1307, USA.
48336
48337 # To successfuly run this program you will need:
48338 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48339 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48340 # - gcc
48341 # (used to build the .dll)
48342 # - emxexp
48343 # (used to create .def file from .o files)
48344 # - emximp
48345 # (used to create .a file from .def file)
48346 # - GNU text utilites (cat, sort, uniq)
48347 # used to process emxexp output
48348 # - GNU file utilities (mv, rm)
48349 # - GNU sed
48350 # - lxlite (optional, see flag below)
48351 # (used for general .dll cleanup)
48352 #
48353
48354 flag_USE_LXLITE=1;
48355
48356 #
48357 # helper functions
48358 # basnam, variant of basename, which does _not_ remove the path, _iff_
48359 # second argument (suffix to remove) is given
48360 basnam(){
48361 case ${D}# in
48362 1)
48363 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48364 ;;
48365 2)
48366 echo ${D}1 | sed 's/'${D}2'${D}//'
48367 ;;
48368 *)
48369 echo "error in basnam ${D}*"
48370 exit 8
48371 ;;
48372 esac
48373 }
48374
48375 # Cleanup temporary files and output
48376 CleanUp() {
48377 cd ${D}curDir
48378 for i in ${D}inputFiles ; do
48379 case ${D}i in
48380 *!)
48381 rm -rf \`basnam ${D}i !\`
48382 ;;
48383 *)
48384 ;;
48385 esac
48386 done
48387
48388 # Kill result in case of failure as there is just to many stupid make/nmake
48389 # things out there which doesn't do this.
48390 if [ ${D}# -eq 0 ]; then
48391 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48392 fi
48393 }
48394
48395 # Print usage and exit script with rc=1.
48396 PrintHelp() {
48397 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48398 echo ' [-name-mangler-script script.sh]'
48399 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48400 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48401 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48402 echo ' [*.o] [*.a]'
48403 echo '*> "output_file" should have no extension.'
48404 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48405 echo ' The import library name is derived from this and is set to "name".a,'
48406 echo ' unless overridden by -import'
48407 echo '*> "importlib_name" should have no extension.'
48408 echo ' If it has the .o, or .a extension, it is automatically removed.'
48409 echo ' This name is used as the import library name and may be longer and'
48410 echo ' more descriptive than the DLL name which has to follow the old '
48411 echo ' 8.3 convention of FAT.'
48412 echo '*> "script.sh may be given to override the output_file name by a'
48413 echo ' different name. It is mainly useful if the regular make process'
48414 echo ' of some package does not take into account OS/2 restriction of'
48415 echo ' DLL name lengths. It takes the importlib name as input and is'
48416 echo ' supposed to procude a shorter name as output. The script should'
48417 echo ' expect to get importlib_name without extension and should produce'
48418 echo ' a (max.) 8 letter name without extension.'
48419 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48420 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48421 echo ' These flags will be put at the start of GCC command line.'
48422 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48423 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48424 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48425 echo ' If the last character of a symbol is "*", all symbols beginning'
48426 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48427 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48428 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48429 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48430 echo ' C runtime DLLs.'
48431 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48432 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48433 echo ' unchanged to GCC at the end of command line.'
48434 echo '*> If you create a DLL from a library and you do not specify -o,'
48435 echo ' the basename for DLL and import library will be set to library name,'
48436 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48437 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48438 echo ' library will be renamed into gcc_s.a.'
48439 echo '--------'
48440 echo 'Example:'
48441 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48442 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48443 CleanUp
48444 exit 1
48445 }
48446
48447 # Execute a command.
48448 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48449 # @Uses Whatever CleanUp() uses.
48450 doCommand() {
48451 echo "${D}*"
48452 eval ${D}*
48453 rcCmd=${D}?
48454
48455 if [ ${D}rcCmd -ne 0 ]; then
48456 echo "command failed, exit code="${D}rcCmd
48457 CleanUp
48458 exit ${D}rcCmd
48459 fi
48460 }
48461
48462 # main routine
48463 # setup globals
48464 cmdLine=${D}*
48465 outFile=""
48466 outimpFile=""
48467 inputFiles=""
48468 renameScript=""
48469 description=""
48470 CC=gcc.exe
48471 CFLAGS="-s -Zcrtdll"
48472 EXTRA_CFLAGS=""
48473 EXPORT_BY_ORDINALS=0
48474 exclude_symbols=""
48475 library_flags=""
48476 curDir=\`pwd\`
48477 curDirS=curDir
48478 case ${D}curDirS in
48479 */)
48480 ;;
48481 *)
48482 curDirS=${D}{curDirS}"/"
48483 ;;
48484 esac
48485 # Parse commandline
48486 libsToLink=0
48487 omfLinking=0
48488 while [ ${D}1 ]; do
48489 case ${D}1 in
48490 -ord*)
48491 EXPORT_BY_ORDINALS=1;
48492 ;;
48493 -o*)
48494 shift
48495 outFile=${D}1
48496 ;;
48497 -i*)
48498 shift
48499 outimpFile=${D}1
48500 ;;
48501 -name-mangler-script)
48502 shift
48503 renameScript=${D}1
48504 ;;
48505 -d*)
48506 shift
48507 description=${D}1
48508 ;;
48509 -f*)
48510 shift
48511 CFLAGS=${D}1
48512 ;;
48513 -c*)
48514 shift
48515 CC=${D}1
48516 ;;
48517 -h*)
48518 PrintHelp
48519 ;;
48520 -ex*)
48521 shift
48522 exclude_symbols=${D}{exclude_symbols}${D}1" "
48523 ;;
48524 -libf*)
48525 shift
48526 library_flags=${D}{library_flags}${D}1" "
48527 ;;
48528 -nocrt*)
48529 CFLAGS="-s"
48530 ;;
48531 -nolxl*)
48532 flag_USE_LXLITE=0
48533 ;;
48534 -* | /*)
48535 case ${D}1 in
48536 -L* | -l*)
48537 libsToLink=1
48538 ;;
48539 -Zomf)
48540 omfLinking=1
48541 ;;
48542 *)
48543 ;;
48544 esac
48545 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48546 ;;
48547 *.dll)
48548 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48549 if [ ${D}omfLinking -eq 1 ]; then
48550 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48551 else
48552 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48553 fi
48554 ;;
48555 *)
48556 found=0;
48557 if [ ${D}libsToLink -ne 0 ]; then
48558 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48559 else
48560 for file in ${D}1 ; do
48561 if [ -f ${D}file ]; then
48562 inputFiles="${D}{inputFiles} ${D}file"
48563 found=1
48564 fi
48565 done
48566 if [ ${D}found -eq 0 ]; then
48567 echo "ERROR: No file(s) found: "${D}1
48568 exit 8
48569 fi
48570 fi
48571 ;;
48572 esac
48573 shift
48574 done # iterate cmdline words
48575
48576 #
48577 if [ -z "${D}inputFiles" ]; then
48578 echo "dllar: no input files"
48579 PrintHelp
48580 fi
48581
48582 # Now extract all .o files from .a files
48583 newInputFiles=""
48584 for file in ${D}inputFiles ; do
48585 case ${D}file in
48586 *.a | *.lib)
48587 case ${D}file in
48588 *.a)
48589 suffix=".a"
48590 AR="ar"
48591 ;;
48592 *.lib)
48593 suffix=".lib"
48594 AR="emxomfar"
48595 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48596 ;;
48597 *)
48598 ;;
48599 esac
48600 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48601 mkdir ${D}dirname
48602 if [ ${D}? -ne 0 ]; then
48603 echo "Failed to create subdirectory ./${D}dirname"
48604 CleanUp
48605 exit 8;
48606 fi
48607 # Append '!' to indicate archive
48608 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48609 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48610 cd ${D}curDir
48611 found=0;
48612 for subfile in ${D}dirname/*.o* ; do
48613 if [ -f ${D}subfile ]; then
48614 found=1
48615 if [ -s ${D}subfile ]; then
48616 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48617 newInputFiles="${D}newInputFiles ${D}subfile"
48618 fi
48619 fi
48620 done
48621 if [ ${D}found -eq 0 ]; then
48622 echo "WARNING: there are no files in archive \\'${D}file\\'"
48623 fi
48624 ;;
48625 *)
48626 newInputFiles="${D}{newInputFiles} ${D}file"
48627 ;;
48628 esac
48629 done
48630 inputFiles="${D}newInputFiles"
48631
48632 # Output filename(s).
48633 do_backup=0;
48634 if [ -z ${D}outFile ]; then
48635 do_backup=1;
48636 set outFile ${D}inputFiles; outFile=${D}2
48637 fi
48638
48639 # If it is an archive, remove the '!' and the '_%' suffixes
48640 case ${D}outFile in
48641 *_%!)
48642 outFile=\`basnam ${D}outFile _%!\`
48643 ;;
48644 *)
48645 ;;
48646 esac
48647 case ${D}outFile in
48648 *.dll)
48649 outFile=\`basnam ${D}outFile .dll\`
48650 ;;
48651 *.DLL)
48652 outFile=\`basnam ${D}outFile .DLL\`
48653 ;;
48654 *.o)
48655 outFile=\`basnam ${D}outFile .o\`
48656 ;;
48657 *.obj)
48658 outFile=\`basnam ${D}outFile .obj\`
48659 ;;
48660 *.a)
48661 outFile=\`basnam ${D}outFile .a\`
48662 ;;
48663 *.lib)
48664 outFile=\`basnam ${D}outFile .lib\`
48665 ;;
48666 *)
48667 ;;
48668 esac
48669 case ${D}outimpFile in
48670 *.a)
48671 outimpFile=\`basnam ${D}outimpFile .a\`
48672 ;;
48673 *.lib)
48674 outimpFile=\`basnam ${D}outimpFile .lib\`
48675 ;;
48676 *)
48677 ;;
48678 esac
48679 if [ -z ${D}outimpFile ]; then
48680 outimpFile=${D}outFile
48681 fi
48682 defFile="${D}{outFile}.def"
48683 arcFile="${D}{outimpFile}.a"
48684 arcFile2="${D}{outimpFile}.lib"
48685
48686 #create ${D}dllFile as something matching 8.3 restrictions,
48687 if [ -z ${D}renameScript ] ; then
48688 dllFile="${D}outFile"
48689 else
48690 dllFile=\`${D}renameScript ${D}outimpFile\`
48691 fi
48692
48693 if [ ${D}do_backup -ne 0 ] ; then
48694 if [ -f ${D}arcFile ] ; then
48695 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48696 fi
48697 if [ -f ${D}arcFile2 ] ; then
48698 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48699 fi
48700 fi
48701
48702 # Extract public symbols from all the object files.
48703 tmpdefFile=${D}{defFile}_%
48704 rm -f ${D}tmpdefFile
48705 for file in ${D}inputFiles ; do
48706 case ${D}file in
48707 *!)
48708 ;;
48709 *)
48710 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48711 ;;
48712 esac
48713 done
48714
48715 # Create the def file.
48716 rm -f ${D}defFile
48717 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48718 dllFile="${D}{dllFile}.dll"
48719 if [ ! -z ${D}description ]; then
48720 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48721 fi
48722 echo "EXPORTS" >> ${D}defFile
48723
48724 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48725 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48726
48727 # Checks if the export is ok or not.
48728 for word in ${D}exclude_symbols; do
48729 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48730 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48731 done
48732
48733
48734 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48735 sed "=" < ${D}tmpdefFile | \\
48736 sed '
48737 N
48738 : loop
48739 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48740 t loop
48741 ' > ${D}{tmpdefFile}%
48742 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48743 else
48744 rm -f ${D}{tmpdefFile}%
48745 fi
48746 cat ${D}tmpdefFile >> ${D}defFile
48747 rm -f ${D}tmpdefFile
48748
48749 # Do linking, create implib, and apply lxlite.
48750 gccCmdl="";
48751 for file in ${D}inputFiles ; do
48752 case ${D}file in
48753 *!)
48754 ;;
48755 *)
48756 gccCmdl="${D}gccCmdl ${D}file"
48757 ;;
48758 esac
48759 done
48760 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48761 touch "${D}{outFile}.dll"
48762
48763 doCommand "emximp -o ${D}arcFile ${D}defFile"
48764 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48765 add_flags="";
48766 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48767 add_flags="-ynd"
48768 fi
48769 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48770 fi
48771 doCommand "emxomf -s -l ${D}arcFile"
48772
48773 # Successful exit.
48774 CleanUp 1
48775 exit 0
48776 EOF
48777
48778 chmod +x dllar.sh
48779 ;;
48780
48781 powerpc-apple-macos* | \
48782 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48783 *-*-mirbsd* | \
48784 *-*-sunos4* | \
48785 *-*-osf* | \
48786 *-*-dgux5* | \
48787 *-*-sysv5* | \
48788 *-pc-msdosdjgpp )
48789 ;;
48790
48791 *)
48792 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48793 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48794 { (exit 1); exit 1; }; }
48795 esac
48796
48797 if test "x$PIC_FLAG" != "x" ; then
48798 PIC_FLAG="$PIC_FLAG -DPIC"
48799 fi
48800
48801 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48802 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48803 fi
48804 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48805 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48806 fi
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816 USE_SOVERSION=0
48817 USE_SOVERLINUX=0
48818 USE_SOVERSOLARIS=0
48819 USE_SOVERCYGWIN=0
48820 USE_SOSYMLINKS=0
48821 USE_MACVERSION=0
48822 SONAME_FLAG=
48823
48824 case "${BAKEFILE_HOST}" in
48825 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48826 *-*-k*bsd*-gnu | *-*-mirbsd* )
48827 if test "x$SUNCXX" = "xyes"; then
48828 SONAME_FLAG="-h "
48829 else
48830 SONAME_FLAG="-Wl,-soname,"
48831 fi
48832 USE_SOVERSION=1
48833 USE_SOVERLINUX=1
48834 USE_SOSYMLINKS=1
48835 ;;
48836
48837 *-*-solaris2* )
48838 SONAME_FLAG="-h "
48839 USE_SOVERSION=1
48840 USE_SOVERSOLARIS=1
48841 USE_SOSYMLINKS=1
48842 ;;
48843
48844 *-*-darwin* )
48845 USE_MACVERSION=1
48846 USE_SOVERSION=1
48847 USE_SOSYMLINKS=1
48848 ;;
48849
48850 *-*-cygwin* )
48851 USE_SOVERSION=1
48852 USE_SOVERCYGWIN=1
48853 ;;
48854 esac
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865 # Check whether --enable-dependency-tracking was given.
48866 if test "${enable_dependency_tracking+set}" = set; then
48867 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48868 fi
48869
48870
48871 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48872 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48873
48874 BK_DEPS=""
48875 if test "x$bk_use_trackdeps" = "xno" ; then
48876 DEPS_TRACKING=0
48877 { echo "$as_me:$LINENO: result: disabled" >&5
48878 echo "${ECHO_T}disabled" >&6; }
48879 else
48880 DEPS_TRACKING=1
48881
48882 if test "x$GCC" = "xyes"; then
48883 DEPSMODE=gcc
48884 case "${BAKEFILE_HOST}" in
48885 *-*-darwin* )
48886 DEPSFLAG="-no-cpp-precomp -MMD"
48887 ;;
48888 * )
48889 DEPSFLAG="-MMD"
48890 ;;
48891 esac
48892 { echo "$as_me:$LINENO: result: gcc" >&5
48893 echo "${ECHO_T}gcc" >&6; }
48894 elif test "x$MWCC" = "xyes"; then
48895 DEPSMODE=mwcc
48896 DEPSFLAG="-MM"
48897 { echo "$as_me:$LINENO: result: mwcc" >&5
48898 echo "${ECHO_T}mwcc" >&6; }
48899 elif test "x$SUNCC" = "xyes"; then
48900 DEPSMODE=unixcc
48901 DEPSFLAG="-xM1"
48902 { echo "$as_me:$LINENO: result: Sun cc" >&5
48903 echo "${ECHO_T}Sun cc" >&6; }
48904 elif test "x$SGICC" = "xyes"; then
48905 DEPSMODE=unixcc
48906 DEPSFLAG="-M"
48907 { echo "$as_me:$LINENO: result: SGI cc" >&5
48908 echo "${ECHO_T}SGI cc" >&6; }
48909 elif test "x$HPCC" = "xyes"; then
48910 DEPSMODE=unixcc
48911 DEPSFLAG="+make"
48912 { echo "$as_me:$LINENO: result: HP cc" >&5
48913 echo "${ECHO_T}HP cc" >&6; }
48914 elif test "x$COMPAQCC" = "xyes"; then
48915 DEPSMODE=gcc
48916 DEPSFLAG="-MD"
48917 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48918 echo "${ECHO_T}Compaq cc" >&6; }
48919 else
48920 DEPS_TRACKING=0
48921 { echo "$as_me:$LINENO: result: none" >&5
48922 echo "${ECHO_T}none" >&6; }
48923 fi
48924
48925 if test $DEPS_TRACKING = 1 ; then
48926
48927 D='$'
48928 cat <<EOF >bk-deps
48929 #!/bin/sh
48930
48931 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48932 # script. It is used to track C/C++ files dependencies in portable way.
48933 #
48934 # Permission is given to use this file in any way.
48935
48936 DEPSMODE=${DEPSMODE}
48937 DEPSDIR=.deps
48938 DEPSFLAG="${DEPSFLAG}"
48939
48940 mkdir -p ${D}DEPSDIR
48941
48942 if test ${D}DEPSMODE = gcc ; then
48943 ${D}* ${D}{DEPSFLAG}
48944 status=${D}?
48945
48946 # determine location of created files:
48947 while test ${D}# -gt 0; do
48948 case "${D}1" in
48949 -o )
48950 shift
48951 objfile=${D}1
48952 ;;
48953 -* )
48954 ;;
48955 * )
48956 srcfile=${D}1
48957 ;;
48958 esac
48959 shift
48960 done
48961 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48962 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48963
48964 # if the compiler failed, we're done:
48965 if test ${D}{status} != 0 ; then
48966 rm -f ${D}depfile
48967 exit ${D}{status}
48968 fi
48969
48970 # move created file to the location we want it in:
48971 if test -f ${D}depfile ; then
48972 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48973 rm -f ${D}depfile
48974 else
48975 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48976 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48977 if test ! -f ${D}depfile ; then
48978 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48979 depfile="${D}objfile.d"
48980 fi
48981 if test -f ${D}depfile ; then
48982 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48983 rm -f ${D}depfile
48984 fi
48985 fi
48986 exit 0
48987 elif test ${D}DEPSMODE = mwcc ; then
48988 ${D}* || exit ${D}?
48989 # Run mwcc again with -MM and redirect into the dep file we want
48990 # NOTE: We can't use shift here because we need ${D}* to be valid
48991 prevarg=
48992 for arg in ${D}* ; do
48993 if test "${D}prevarg" = "-o"; then
48994 objfile=${D}arg
48995 else
48996 case "${D}arg" in
48997 -* )
48998 ;;
48999 * )
49000 srcfile=${D}arg
49001 ;;
49002 esac
49003 fi
49004 prevarg="${D}arg"
49005 done
49006 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49007 exit 0
49008 elif test ${D}DEPSMODE = unixcc; then
49009 ${D}* || exit ${D}?
49010 # Run compiler again with deps flag and redirect into the dep file.
49011 # It doesn't work if the '-o FILE' option is used, but without it the
49012 # dependency file will contain the wrong name for the object. So it is
49013 # removed from the command line, and the dep file is fixed with sed.
49014 cmd=""
49015 while test ${D}# -gt 0; do
49016 case "${D}1" in
49017 -o )
49018 shift
49019 objfile=${D}1
49020 ;;
49021 * )
49022 eval arg${D}#=\\${D}1
49023 cmd="${D}cmd \\${D}arg${D}#"
49024 ;;
49025 esac
49026 shift
49027 done
49028 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49029 exit 0
49030 else
49031 ${D}*
49032 exit ${D}?
49033 fi
49034 EOF
49035
49036 chmod +x bk-deps
49037 BK_DEPS="`pwd`/bk-deps"
49038 fi
49039 fi
49040
49041
49042
49043
49044
49045 case ${BAKEFILE_HOST} in
49046 *-*-cygwin* | *-*-mingw32* )
49047 if test -n "$ac_tool_prefix"; then
49048 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49049 set dummy ${ac_tool_prefix}windres; ac_word=$2
49050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49052 if test "${ac_cv_prog_WINDRES+set}" = set; then
49053 echo $ECHO_N "(cached) $ECHO_C" >&6
49054 else
49055 if test -n "$WINDRES"; then
49056 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49057 else
49058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49059 for as_dir in $PATH
49060 do
49061 IFS=$as_save_IFS
49062 test -z "$as_dir" && as_dir=.
49063 for ac_exec_ext in '' $ac_executable_extensions; do
49064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49065 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49067 break 2
49068 fi
49069 done
49070 done
49071 IFS=$as_save_IFS
49072
49073 fi
49074 fi
49075 WINDRES=$ac_cv_prog_WINDRES
49076 if test -n "$WINDRES"; then
49077 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49078 echo "${ECHO_T}$WINDRES" >&6; }
49079 else
49080 { echo "$as_me:$LINENO: result: no" >&5
49081 echo "${ECHO_T}no" >&6; }
49082 fi
49083
49084
49085 fi
49086 if test -z "$ac_cv_prog_WINDRES"; then
49087 ac_ct_WINDRES=$WINDRES
49088 # Extract the first word of "windres", so it can be a program name with args.
49089 set dummy windres; ac_word=$2
49090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49092 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49093 echo $ECHO_N "(cached) $ECHO_C" >&6
49094 else
49095 if test -n "$ac_ct_WINDRES"; then
49096 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49097 else
49098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49099 for as_dir in $PATH
49100 do
49101 IFS=$as_save_IFS
49102 test -z "$as_dir" && as_dir=.
49103 for ac_exec_ext in '' $ac_executable_extensions; do
49104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49105 ac_cv_prog_ac_ct_WINDRES="windres"
49106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49107 break 2
49108 fi
49109 done
49110 done
49111 IFS=$as_save_IFS
49112
49113 fi
49114 fi
49115 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49116 if test -n "$ac_ct_WINDRES"; then
49117 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49118 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49119 else
49120 { echo "$as_me:$LINENO: result: no" >&5
49121 echo "${ECHO_T}no" >&6; }
49122 fi
49123
49124 if test "x$ac_ct_WINDRES" = x; then
49125 WINDRES=""
49126 else
49127 case $cross_compiling:$ac_tool_warned in
49128 yes:)
49129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49130 whose name does not start with the host triplet. If you think this
49131 configuration is useful to you, please write to autoconf@gnu.org." >&5
49132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49133 whose name does not start with the host triplet. If you think this
49134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49135 ac_tool_warned=yes ;;
49136 esac
49137 WINDRES=$ac_ct_WINDRES
49138 fi
49139 else
49140 WINDRES="$ac_cv_prog_WINDRES"
49141 fi
49142
49143 ;;
49144
49145 *-*-darwin* | powerpc-apple-macos* )
49146 # Extract the first word of "Rez", so it can be a program name with args.
49147 set dummy Rez; ac_word=$2
49148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49150 if test "${ac_cv_prog_REZ+set}" = set; then
49151 echo $ECHO_N "(cached) $ECHO_C" >&6
49152 else
49153 if test -n "$REZ"; then
49154 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49155 else
49156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49157 for as_dir in $PATH
49158 do
49159 IFS=$as_save_IFS
49160 test -z "$as_dir" && as_dir=.
49161 for ac_exec_ext in '' $ac_executable_extensions; do
49162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49163 ac_cv_prog_REZ="Rez"
49164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49165 break 2
49166 fi
49167 done
49168 done
49169 IFS=$as_save_IFS
49170
49171 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49172 fi
49173 fi
49174 REZ=$ac_cv_prog_REZ
49175 if test -n "$REZ"; then
49176 { echo "$as_me:$LINENO: result: $REZ" >&5
49177 echo "${ECHO_T}$REZ" >&6; }
49178 else
49179 { echo "$as_me:$LINENO: result: no" >&5
49180 echo "${ECHO_T}no" >&6; }
49181 fi
49182
49183
49184 # Extract the first word of "SetFile", so it can be a program name with args.
49185 set dummy SetFile; ac_word=$2
49186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49188 if test "${ac_cv_prog_SETFILE+set}" = set; then
49189 echo $ECHO_N "(cached) $ECHO_C" >&6
49190 else
49191 if test -n "$SETFILE"; then
49192 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49193 else
49194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49195 for as_dir in $PATH
49196 do
49197 IFS=$as_save_IFS
49198 test -z "$as_dir" && as_dir=.
49199 for ac_exec_ext in '' $ac_executable_extensions; do
49200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49201 ac_cv_prog_SETFILE="SetFile"
49202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49203 break 2
49204 fi
49205 done
49206 done
49207 IFS=$as_save_IFS
49208
49209 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49210 fi
49211 fi
49212 SETFILE=$ac_cv_prog_SETFILE
49213 if test -n "$SETFILE"; then
49214 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49215 echo "${ECHO_T}$SETFILE" >&6; }
49216 else
49217 { echo "$as_me:$LINENO: result: no" >&5
49218 echo "${ECHO_T}no" >&6; }
49219 fi
49220
49221
49222 ;;
49223 esac
49224
49225
49226
49227
49228
49229
49230 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49231
49232
49233 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49234
49235
49236
49237 # Check whether --enable-precomp-headers was given.
49238 if test "${enable_precomp_headers+set}" = set; then
49239 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49240 fi
49241
49242
49243 GCC_PCH=0
49244 ICC_PCH=0
49245 USE_PCH=0
49246 BK_MAKE_PCH=""
49247
49248 case ${BAKEFILE_HOST} in
49249 *-*-cygwin* )
49250 bk_use_pch="no"
49251 ;;
49252 esac
49253
49254 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49255 if test "x$GCC" = "xyes"; then
49256 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49257 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49258 cat >conftest.$ac_ext <<_ACEOF
49259 /* confdefs.h. */
49260 _ACEOF
49261 cat confdefs.h >>conftest.$ac_ext
49262 cat >>conftest.$ac_ext <<_ACEOF
49263 /* end confdefs.h. */
49264
49265 int
49266 main ()
49267 {
49268
49269 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49270 There is no PCH support
49271 #endif
49272 #if (__GNUC__ < 3)
49273 There is no PCH support
49274 #endif
49275 #if (__GNUC__ == 3) && \
49276 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49277 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49278 ( defined(__INTEL_COMPILER) )
49279 There is no PCH support
49280 #endif
49281
49282 ;
49283 return 0;
49284 }
49285 _ACEOF
49286 rm -f conftest.$ac_objext
49287 if { (ac_try="$ac_compile"
49288 case "(($ac_try" in
49289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49290 *) ac_try_echo=$ac_try;;
49291 esac
49292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49293 (eval "$ac_compile") 2>conftest.er1
49294 ac_status=$?
49295 grep -v '^ *+' conftest.er1 >conftest.err
49296 rm -f conftest.er1
49297 cat conftest.err >&5
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); } && {
49300 test -z "$ac_c_werror_flag" ||
49301 test ! -s conftest.err
49302 } && test -s conftest.$ac_objext; then
49303
49304 { echo "$as_me:$LINENO: result: yes" >&5
49305 echo "${ECHO_T}yes" >&6; }
49306 GCC_PCH=1
49307
49308 else
49309 echo "$as_me: failed program was:" >&5
49310 sed 's/^/| /' conftest.$ac_ext >&5
49311
49312
49313 cat >conftest.$ac_ext <<_ACEOF
49314 /* confdefs.h. */
49315 _ACEOF
49316 cat confdefs.h >>conftest.$ac_ext
49317 cat >>conftest.$ac_ext <<_ACEOF
49318 /* end confdefs.h. */
49319
49320 int
49321 main ()
49322 {
49323
49324 #if !defined(__INTEL_COMPILER) || \
49325 (__INTEL_COMPILER < 800)
49326 There is no PCH support
49327 #endif
49328
49329 ;
49330 return 0;
49331 }
49332 _ACEOF
49333 rm -f conftest.$ac_objext
49334 if { (ac_try="$ac_compile"
49335 case "(($ac_try" in
49336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49337 *) ac_try_echo=$ac_try;;
49338 esac
49339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49340 (eval "$ac_compile") 2>conftest.er1
49341 ac_status=$?
49342 grep -v '^ *+' conftest.er1 >conftest.err
49343 rm -f conftest.er1
49344 cat conftest.err >&5
49345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49346 (exit $ac_status); } && {
49347 test -z "$ac_c_werror_flag" ||
49348 test ! -s conftest.err
49349 } && test -s conftest.$ac_objext; then
49350
49351 { echo "$as_me:$LINENO: result: yes" >&5
49352 echo "${ECHO_T}yes" >&6; }
49353 ICC_PCH=1
49354
49355 else
49356 echo "$as_me: failed program was:" >&5
49357 sed 's/^/| /' conftest.$ac_ext >&5
49358
49359
49360 { echo "$as_me:$LINENO: result: no" >&5
49361 echo "${ECHO_T}no" >&6; }
49362
49363 fi
49364
49365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49366
49367 fi
49368
49369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49370 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49371 USE_PCH=1
49372
49373 D='$'
49374 cat <<EOF >bk-make-pch
49375 #!/bin/sh
49376
49377 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49378 # script. It is used to generated precompiled headers.
49379 #
49380 # Permission is given to use this file in any way.
49381
49382 outfile="${D}{1}"
49383 header="${D}{2}"
49384 shift
49385 shift
49386
49387 compiler=""
49388 headerfile=""
49389
49390 while test ${D}{#} -gt 0; do
49391 add_to_cmdline=1
49392 case "${D}{1}" in
49393 -I* )
49394 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49395 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49396 headerfile="${D}{incdir}/${D}{header}"
49397 fi
49398 ;;
49399 -use-pch|-use_pch )
49400 shift
49401 add_to_cmdline=0
49402 ;;
49403 esac
49404 if test ${D}add_to_cmdline = 1 ; then
49405 compiler="${D}{compiler} ${D}{1}"
49406 fi
49407 shift
49408 done
49409
49410 if test "x${D}{headerfile}" = "x" ; then
49411 echo "error: can't find header ${D}{header} in include paths" >&2
49412 else
49413 if test -f ${D}{outfile} ; then
49414 rm -f ${D}{outfile}
49415 else
49416 mkdir -p \`dirname ${D}{outfile}\`
49417 fi
49418 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49419 mkdir -p .deps
49420 if test "x${GCC_PCH}" = "x1" ; then
49421 # can do this because gcc is >= 3.4:
49422 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49423 elif test "x${ICC_PCH}" = "x1" ; then
49424 filename=pch_gen-${D}${D}
49425 file=${D}{filename}.c
49426 dfile=${D}{filename}.d
49427 cat > ${D}file <<EOT
49428 #include "${D}header"
49429 EOT
49430 # using -MF icc complains about differing command lines in creation/use
49431 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49432 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49433 rm -f ${D}file ${D}dfile ${D}{filename}.o
49434 fi
49435 exit ${D}{?}
49436 fi
49437 EOF
49438
49439 chmod +x bk-make-pch
49440 BK_MAKE_PCH="`pwd`/bk-make-pch"
49441 fi
49442 fi
49443 fi
49444
49445
49446
49447
49448
49449 COND_BUILD_DEBUG="#"
49450 if test "x$BUILD" = "xdebug" ; then
49451 COND_BUILD_DEBUG=""
49452 fi
49453
49454 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49455 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49456 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49457 fi
49458
49459 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49460 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49461 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49462 fi
49463
49464 COND_BUILD_DEBUG_UNICODE_0="#"
49465 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49466 COND_BUILD_DEBUG_UNICODE_0=""
49467 fi
49468
49469 COND_BUILD_DEBUG_UNICODE_1="#"
49470 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49471 COND_BUILD_DEBUG_UNICODE_1=""
49472 fi
49473
49474 COND_BUILD_RELEASE="#"
49475 if test "x$BUILD" = "xrelease" ; then
49476 COND_BUILD_RELEASE=""
49477 fi
49478
49479 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49480 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49481 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49482 fi
49483
49484 COND_BUILD_RELEASE_UNICODE_0="#"
49485 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49486 COND_BUILD_RELEASE_UNICODE_0=""
49487 fi
49488
49489 COND_BUILD_RELEASE_UNICODE_1="#"
49490 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49491 COND_BUILD_RELEASE_UNICODE_1=""
49492 fi
49493
49494 COND_DEBUG_FLAG_1="#"
49495 if test "x$DEBUG_FLAG" = "x1" ; then
49496 COND_DEBUG_FLAG_1=""
49497 fi
49498
49499 COND_DEBUG_INFO_0="#"
49500 if test "x$DEBUG_INFO" = "x0" ; then
49501 COND_DEBUG_INFO_0=""
49502 fi
49503
49504 COND_DEBUG_INFO_1="#"
49505 if test "x$DEBUG_INFO" = "x1" ; then
49506 COND_DEBUG_INFO_1=""
49507 fi
49508
49509 COND_DEPS_TRACKING_0="#"
49510 if test "x$DEPS_TRACKING" = "x0" ; then
49511 COND_DEPS_TRACKING_0=""
49512 fi
49513
49514 COND_DEPS_TRACKING_1="#"
49515 if test "x$DEPS_TRACKING" = "x1" ; then
49516 COND_DEPS_TRACKING_1=""
49517 fi
49518
49519 COND_GCC_PCH_1="#"
49520 if test "x$GCC_PCH" = "x1" ; then
49521 COND_GCC_PCH_1=""
49522 fi
49523
49524 COND_ICC_PCH_1="#"
49525 if test "x$ICC_PCH" = "x1" ; then
49526 COND_ICC_PCH_1=""
49527 fi
49528
49529 COND_MONOLITHIC_0="#"
49530 if test "x$MONOLITHIC" = "x0" ; then
49531 COND_MONOLITHIC_0=""
49532 fi
49533
49534 COND_MONOLITHIC_0_SHARED_0="#"
49535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49536 COND_MONOLITHIC_0_SHARED_0=""
49537 fi
49538
49539 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49541 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49542 fi
49543
49544 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49547 fi
49548
49549 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49552 fi
49553
49554 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49556 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49557 fi
49558
49559 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49561 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49562 fi
49563
49564 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49566 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49567 fi
49568
49569 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49570 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49571 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49572 fi
49573
49574 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49575 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49576 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49577 fi
49578
49579 COND_MONOLITHIC_0_SHARED_1="#"
49580 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49581 COND_MONOLITHIC_0_SHARED_1=""
49582 fi
49583
49584 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49585 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49586 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49587 fi
49588
49589 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49590 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49591 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49592 fi
49593
49594 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49595 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49597 fi
49598
49599 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49600 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49602 fi
49603
49604 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49605 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49607 fi
49608
49609 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49610 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49611 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49612 fi
49613
49614 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49615 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49616 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49617 fi
49618
49619 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49620 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49621 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49622 fi
49623
49624 COND_MONOLITHIC_0_USE_AUI_1="#"
49625 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49626 COND_MONOLITHIC_0_USE_AUI_1=""
49627 fi
49628
49629 COND_MONOLITHIC_0_USE_GUI_1="#"
49630 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49631 COND_MONOLITHIC_0_USE_GUI_1=""
49632 fi
49633
49634 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49635 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49636 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49637 fi
49638
49639 COND_MONOLITHIC_0_USE_HTML_1="#"
49640 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49641 COND_MONOLITHIC_0_USE_HTML_1=""
49642 fi
49643
49644 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49645 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49646 COND_MONOLITHIC_0_USE_MEDIA_1=""
49647 fi
49648
49649 COND_MONOLITHIC_0_USE_QA_1="#"
49650 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49651 COND_MONOLITHIC_0_USE_QA_1=""
49652 fi
49653
49654 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49655 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49656 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49657 fi
49658
49659 COND_MONOLITHIC_0_USE_STC_1="#"
49660 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49661 COND_MONOLITHIC_0_USE_STC_1=""
49662 fi
49663
49664 COND_MONOLITHIC_0_USE_XRC_1="#"
49665 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49666 COND_MONOLITHIC_0_USE_XRC_1=""
49667 fi
49668
49669 COND_MONOLITHIC_1="#"
49670 if test "x$MONOLITHIC" = "x1" ; then
49671 COND_MONOLITHIC_1=""
49672 fi
49673
49674 COND_MONOLITHIC_1_SHARED_0="#"
49675 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49676 COND_MONOLITHIC_1_SHARED_0=""
49677 fi
49678
49679 COND_MONOLITHIC_1_SHARED_1="#"
49680 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49681 COND_MONOLITHIC_1_SHARED_1=""
49682 fi
49683
49684 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49685 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49686 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49687 fi
49688
49689 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49690 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49691 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49692 fi
49693
49694 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49695 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49696 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49697 fi
49698
49699 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49700 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49701 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49702 fi
49703
49704 COND_PLATFORM_MACOSX_1="#"
49705 if test "x$PLATFORM_MACOSX" = "x1" ; then
49706 COND_PLATFORM_MACOSX_1=""
49707 fi
49708
49709 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49710 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49711 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49712 fi
49713
49714 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49715 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49716 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49717 fi
49718
49719 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49720 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49721 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49722 fi
49723
49724 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49725 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49726 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49727 fi
49728
49729 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49730 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49731 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49732 fi
49733
49734 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49735 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49736 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49737 fi
49738
49739 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49740 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49741 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49742 fi
49743
49744 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49745 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49746 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49747 fi
49748
49749 COND_PLATFORM_MACOS_1="#"
49750 if test "x$PLATFORM_MACOS" = "x1" ; then
49751 COND_PLATFORM_MACOS_1=""
49752 fi
49753
49754 COND_PLATFORM_MAC_0="#"
49755 if test "x$PLATFORM_MAC" = "x0" ; then
49756 COND_PLATFORM_MAC_0=""
49757 fi
49758
49759 COND_PLATFORM_MAC_1="#"
49760 if test "x$PLATFORM_MAC" = "x1" ; then
49761 COND_PLATFORM_MAC_1=""
49762 fi
49763
49764 COND_PLATFORM_MSDOS_0="#"
49765 if test "x$PLATFORM_MSDOS" = "x0" ; then
49766 COND_PLATFORM_MSDOS_0=""
49767 fi
49768
49769 COND_PLATFORM_MSDOS_1="#"
49770 if test "x$PLATFORM_MSDOS" = "x1" ; then
49771 COND_PLATFORM_MSDOS_1=""
49772 fi
49773
49774 COND_PLATFORM_OS2_1="#"
49775 if test "x$PLATFORM_OS2" = "x1" ; then
49776 COND_PLATFORM_OS2_1=""
49777 fi
49778
49779 COND_PLATFORM_UNIX_0="#"
49780 if test "x$PLATFORM_UNIX" = "x0" ; then
49781 COND_PLATFORM_UNIX_0=""
49782 fi
49783
49784 COND_PLATFORM_UNIX_1="#"
49785 if test "x$PLATFORM_UNIX" = "x1" ; then
49786 COND_PLATFORM_UNIX_1=""
49787 fi
49788
49789 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49790 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49791 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49792 fi
49793
49794 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49795 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49796 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49797 fi
49798
49799 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49800 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49801 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49802 fi
49803
49804 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49805 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49806 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49807 fi
49808
49809 COND_PLATFORM_WIN32_0="#"
49810 if test "x$PLATFORM_WIN32" = "x0" ; then
49811 COND_PLATFORM_WIN32_0=""
49812 fi
49813
49814 COND_PLATFORM_WIN32_1="#"
49815 if test "x$PLATFORM_WIN32" = "x1" ; then
49816 COND_PLATFORM_WIN32_1=""
49817 fi
49818
49819 COND_SHARED_0="#"
49820 if test "x$SHARED" = "x0" ; then
49821 COND_SHARED_0=""
49822 fi
49823
49824 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49825 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49826 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49827 fi
49828
49829 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49830 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49831 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49832 fi
49833
49834 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49835 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49836 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49837 fi
49838
49839 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49840 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49841 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49842 fi
49843
49844 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49845 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49846 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49847 fi
49848
49849 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49850 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49851 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49852 fi
49853
49854 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49855 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49856 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49857 fi
49858
49859 COND_SHARED_0_USE_STC_1="#"
49860 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49861 COND_SHARED_0_USE_STC_1=""
49862 fi
49863
49864 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49865 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49866 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49867 fi
49868
49869 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49870 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49871 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49872 fi
49873
49874 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49875 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49876 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49877 fi
49878
49879 COND_SHARED_1="#"
49880 if test "x$SHARED" = "x1" ; then
49881 COND_SHARED_1=""
49882 fi
49883
49884 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49885 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49886 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49887 fi
49888
49889 COND_TOOLKIT_="#"
49890 if test "x$TOOLKIT" = "x" ; then
49891 COND_TOOLKIT_=""
49892 fi
49893
49894 COND_TOOLKIT_COCOA="#"
49895 if test "x$TOOLKIT" = "xCOCOA" ; then
49896 COND_TOOLKIT_COCOA=""
49897 fi
49898
49899 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49900 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49901 COND_TOOLKIT_COCOA_USE_GUI_1=""
49902 fi
49903
49904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49905 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49907 fi
49908
49909 COND_TOOLKIT_DFB="#"
49910 if test "x$TOOLKIT" = "xDFB" ; then
49911 COND_TOOLKIT_DFB=""
49912 fi
49913
49914 COND_TOOLKIT_DFB_USE_GUI_1="#"
49915 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49916 COND_TOOLKIT_DFB_USE_GUI_1=""
49917 fi
49918
49919 COND_TOOLKIT_GTK="#"
49920 if test "x$TOOLKIT" = "xGTK" ; then
49921 COND_TOOLKIT_GTK=""
49922 fi
49923
49924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49925 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49927 fi
49928
49929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49930 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49932 fi
49933
49934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49935 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49937 fi
49938
49939 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49940 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49941 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49942 fi
49943
49944 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49945 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49946 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49947 fi
49948
49949 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49950 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49951 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49952 fi
49953
49954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49955 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49956 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49957 fi
49958
49959 COND_TOOLKIT_GTK_USE_GUI_1="#"
49960 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49961 COND_TOOLKIT_GTK_USE_GUI_1=""
49962 fi
49963
49964 COND_TOOLKIT_MAC="#"
49965 if test "x$TOOLKIT" = "xMAC" ; then
49966 COND_TOOLKIT_MAC=""
49967 fi
49968
49969 COND_TOOLKIT_MGL="#"
49970 if test "x$TOOLKIT" = "xMGL" ; then
49971 COND_TOOLKIT_MGL=""
49972 fi
49973
49974 COND_TOOLKIT_MGL_USE_GUI_1="#"
49975 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49976 COND_TOOLKIT_MGL_USE_GUI_1=""
49977 fi
49978
49979 COND_TOOLKIT_MOTIF="#"
49980 if test "x$TOOLKIT" = "xMOTIF" ; then
49981 COND_TOOLKIT_MOTIF=""
49982 fi
49983
49984 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49985 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49986 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49987 fi
49988
49989 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49990 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49991 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49992 fi
49993
49994 COND_TOOLKIT_MSW="#"
49995 if test "x$TOOLKIT" = "xMSW" ; then
49996 COND_TOOLKIT_MSW=""
49997 fi
49998
49999 COND_TOOLKIT_MSW_USE_GUI_1="#"
50000 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50001 COND_TOOLKIT_MSW_USE_GUI_1=""
50002 fi
50003
50004 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50005 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50006 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50007 fi
50008
50009 COND_TOOLKIT_MSW_WXUNIV_0="#"
50010 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50011 COND_TOOLKIT_MSW_WXUNIV_0=""
50012 fi
50013
50014 COND_TOOLKIT_OSX_CARBON="#"
50015 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50016 COND_TOOLKIT_OSX_CARBON=""
50017 fi
50018
50019 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50020 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50021 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50022 fi
50023
50024 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50025 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50026 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50027 fi
50028
50029 COND_TOOLKIT_OSX_COCOA="#"
50030 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50031 COND_TOOLKIT_OSX_COCOA=""
50032 fi
50033
50034 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50035 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50036 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50037 fi
50038
50039 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50040 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50041 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50042 fi
50043
50044 COND_TOOLKIT_OSX_IPHONE="#"
50045 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50046 COND_TOOLKIT_OSX_IPHONE=""
50047 fi
50048
50049 COND_TOOLKIT_PM="#"
50050 if test "x$TOOLKIT" = "xPM" ; then
50051 COND_TOOLKIT_PM=""
50052 fi
50053
50054 COND_TOOLKIT_PM_USE_GUI_1="#"
50055 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50056 COND_TOOLKIT_PM_USE_GUI_1=""
50057 fi
50058
50059 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50060 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50061 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50062 fi
50063
50064 COND_TOOLKIT_WINCE="#"
50065 if test "x$TOOLKIT" = "xWINCE" ; then
50066 COND_TOOLKIT_WINCE=""
50067 fi
50068
50069 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50070 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50071 COND_TOOLKIT_WINCE_USE_GUI_1=""
50072 fi
50073
50074 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50075 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50076 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50077 fi
50078
50079 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50080 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50081 COND_TOOLKIT_WINCE_WXUNIV_0=""
50082 fi
50083
50084 COND_TOOLKIT_X11="#"
50085 if test "x$TOOLKIT" = "xX11" ; then
50086 COND_TOOLKIT_X11=""
50087 fi
50088
50089 COND_TOOLKIT_X11_USE_GUI_1="#"
50090 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50091 COND_TOOLKIT_X11_USE_GUI_1=""
50092 fi
50093
50094 COND_UNICODE_1="#"
50095 if test "x$UNICODE" = "x1" ; then
50096 COND_UNICODE_1=""
50097 fi
50098
50099 COND_USE_EXCEPTIONS_0="#"
50100 if test "x$USE_EXCEPTIONS" = "x0" ; then
50101 COND_USE_EXCEPTIONS_0=""
50102 fi
50103
50104 COND_USE_EXCEPTIONS_1="#"
50105 if test "x$USE_EXCEPTIONS" = "x1" ; then
50106 COND_USE_EXCEPTIONS_1=""
50107 fi
50108
50109 COND_USE_GUI_0="#"
50110 if test "x$USE_GUI" = "x0" ; then
50111 COND_USE_GUI_0=""
50112 fi
50113
50114 COND_USE_GUI_1="#"
50115 if test "x$USE_GUI" = "x1" ; then
50116 COND_USE_GUI_1=""
50117 fi
50118
50119 COND_USE_GUI_1_USE_OPENGL_1="#"
50120 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50121 COND_USE_GUI_1_USE_OPENGL_1=""
50122 fi
50123
50124 COND_USE_GUI_1_WXUNIV_0="#"
50125 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50126 COND_USE_GUI_1_WXUNIV_0=""
50127 fi
50128
50129 COND_USE_GUI_1_WXUNIV_1="#"
50130 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50131 COND_USE_GUI_1_WXUNIV_1=""
50132 fi
50133
50134 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50135 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50136 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50137 fi
50138
50139 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50140 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50141 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50142 fi
50143
50144 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50145 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50146 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50147 fi
50148
50149 COND_USE_OPENGL_1="#"
50150 if test "x$USE_OPENGL" = "x1" ; then
50151 COND_USE_OPENGL_1=""
50152 fi
50153
50154 COND_USE_PCH_1="#"
50155 if test "x$USE_PCH" = "x1" ; then
50156 COND_USE_PCH_1=""
50157 fi
50158
50159 COND_USE_PLUGINS_0="#"
50160 if test "x$USE_PLUGINS" = "x0" ; then
50161 COND_USE_PLUGINS_0=""
50162 fi
50163
50164 COND_USE_RTTI_0="#"
50165 if test "x$USE_RTTI" = "x0" ; then
50166 COND_USE_RTTI_0=""
50167 fi
50168
50169 COND_USE_RTTI_1="#"
50170 if test "x$USE_RTTI" = "x1" ; then
50171 COND_USE_RTTI_1=""
50172 fi
50173
50174 COND_USE_SOSYMLINKS_1="#"
50175 if test "x$USE_SOSYMLINKS" = "x1" ; then
50176 COND_USE_SOSYMLINKS_1=""
50177 fi
50178
50179 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50180 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50181 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50182 fi
50183
50184 COND_USE_SOVERLINUX_1="#"
50185 if test "x$USE_SOVERLINUX" = "x1" ; then
50186 COND_USE_SOVERLINUX_1=""
50187 fi
50188
50189 COND_USE_SOVERSION_0="#"
50190 if test "x$USE_SOVERSION" = "x0" ; then
50191 COND_USE_SOVERSION_0=""
50192 fi
50193
50194 COND_USE_SOVERSOLARIS_1="#"
50195 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50196 COND_USE_SOVERSOLARIS_1=""
50197 fi
50198
50199 COND_USE_STC_1="#"
50200 if test "x$USE_STC" = "x1" ; then
50201 COND_USE_STC_1=""
50202 fi
50203
50204 COND_USE_THREADS_0="#"
50205 if test "x$USE_THREADS" = "x0" ; then
50206 COND_USE_THREADS_0=""
50207 fi
50208
50209 COND_USE_THREADS_1="#"
50210 if test "x$USE_THREADS" = "x1" ; then
50211 COND_USE_THREADS_1=""
50212 fi
50213
50214 COND_USE_XRC_1="#"
50215 if test "x$USE_XRC" = "x1" ; then
50216 COND_USE_XRC_1=""
50217 fi
50218
50219 COND_WINDOWS_IMPLIB_1="#"
50220 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50221 COND_WINDOWS_IMPLIB_1=""
50222 fi
50223
50224 COND_WITH_PLUGIN_SDL_1="#"
50225 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50226 COND_WITH_PLUGIN_SDL_1=""
50227 fi
50228
50229 COND_WXUNIV_0="#"
50230 if test "x$WXUNIV" = "x0" ; then
50231 COND_WXUNIV_0=""
50232 fi
50233
50234 COND_WXUNIV_1="#"
50235 if test "x$WXUNIV" = "x1" ; then
50236 COND_WXUNIV_1=""
50237 fi
50238
50239 COND_WXUSE_EXPAT_BUILTIN="#"
50240 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50241 COND_WXUSE_EXPAT_BUILTIN=""
50242 fi
50243
50244 COND_WXUSE_LIBJPEG_BUILTIN="#"
50245 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50246 COND_WXUSE_LIBJPEG_BUILTIN=""
50247 fi
50248
50249 COND_WXUSE_LIBPNG_BUILTIN="#"
50250 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50251 COND_WXUSE_LIBPNG_BUILTIN=""
50252 fi
50253
50254 COND_WXUSE_LIBTIFF_BUILTIN="#"
50255 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50256 COND_WXUSE_LIBTIFF_BUILTIN=""
50257 fi
50258
50259 COND_WXUSE_REGEX_BUILTIN="#"
50260 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50261 COND_WXUSE_REGEX_BUILTIN=""
50262 fi
50263
50264 COND_WXUSE_ZLIB_BUILTIN="#"
50265 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50266 COND_WXUSE_ZLIB_BUILTIN=""
50267 fi
50268
50269
50270
50271 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50272 { { 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
50273 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;}
50274 { (exit 1); exit 1; }; }
50275 fi
50276
50277 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50278 { { 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
50279 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;}
50280 { (exit 1); exit 1; }; }
50281 fi
50282
50283
50284 case ${INSTALL} in
50285 /* ) # Absolute
50286 ;;
50287 ?:* ) # Drive letter, considered as absolute.
50288 ;;
50289 *)
50290 INSTALL=`pwd`/${INSTALL} ;;
50291 esac
50292
50293 if test "$wxUSE_GUI" = "yes"; then
50294
50295 if test "$wxUSE_MSW" = 1 ; then
50296 if test "x$WINDRES" = "x"; then
50297 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50298 echo "$as_me: error: Required windres program not found" >&2;}
50299 { (exit 1); exit 1; }; }
50300 fi
50301
50302 RESCOMP="$WINDRES"
50303 fi
50304
50305 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50306 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50307 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50308
50309 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50310
50311 # Extract the first word of "DeRez", so it can be a program name with args.
50312 set dummy DeRez; ac_word=$2
50313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50315 if test "${ac_cv_prog_DEREZ+set}" = set; then
50316 echo $ECHO_N "(cached) $ECHO_C" >&6
50317 else
50318 if test -n "$DEREZ"; then
50319 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50320 else
50321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50322 for as_dir in $PATH
50323 do
50324 IFS=$as_save_IFS
50325 test -z "$as_dir" && as_dir=.
50326 for ac_exec_ext in '' $ac_executable_extensions; do
50327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50328 ac_cv_prog_DEREZ="DeRez"
50329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50330 break 2
50331 fi
50332 done
50333 done
50334 IFS=$as_save_IFS
50335
50336 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50337 fi
50338 fi
50339 DEREZ=$ac_cv_prog_DEREZ
50340 if test -n "$DEREZ"; then
50341 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50342 echo "${ECHO_T}$DEREZ" >&6; }
50343 else
50344 { echo "$as_me:$LINENO: result: no" >&5
50345 echo "${ECHO_T}no" >&6; }
50346 fi
50347
50348
50349
50350 MACSETFILE="\$(SETFILE)"
50351
50352 if test "$wxUSE_OSX_CARBON" = 1; then
50353 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50354 RESCOMP="$REZ"
50355 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50356 else
50357 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50358 RESCOMP="cat /dev/null \| $REZ"
50359 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50360 fi
50361
50362 else
50363 MACSETFILE="@true"
50364
50365 if test "$wxUSE_PM" = 1; then
50366 RESCOMP="emxbind"
50367 WXCONFIG_RESFLAGS="-ep"
50368
50369 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50370 else
50371 POSTLINK_COMMAND="@true"
50372 fi
50373 fi
50374
50375 fi
50376
50377
50378 if test $GCC_PCH = 1
50379 then
50380 if test "$wx_cv_gcc_pch_bug" = yes; then
50381 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50382 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50383 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50384 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50385 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50386 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50387 fi
50388
50389 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50390 # the headers that benefit from precompilation are mostly C++ headers.
50391 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50392 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50393 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50394 fi
50395
50396
50397 if test "$wxUSE_MAC" = 1 ; then
50398 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50399 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50400 mv temp bk-deps
50401 chmod +x bk-deps
50402 fi
50403 fi
50404
50405 if test "$wxUSE_SHARED" = "yes"; then
50406 case "${host}" in
50407 *-pc-os2_emx | *-pc-os2-emx )
50408 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50409 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50410 cp -p ${srcdir}/src/os2/dllnames.sh .
50411 cp -p ${srcdir}/src/os2/dllar.sh .
50412 ;;
50413 esac
50414 fi
50415 if test "$wxUSE_OMF" = "yes"; then
50416 case "${host}" in
50417 *-pc-os2_emx | *-pc-os2-emx )
50418 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50419 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50420 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50421 ;;
50422 esac
50423 fi
50424
50425 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50426
50427
50428 case "${host}" in
50429 *-*-solaris2* )
50430 if test "$GCC" = yes; then
50431 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50432 LIBS=`echo $LIBS | sed 's/-mt//'`
50433 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50434 fi
50435 ;;
50436
50437 *-*-linux* )
50438 if test "x$SUNCXX" = xyes; then
50439 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50440 LIBS=`echo $LIBS | sed 's/-pthread//'`
50441 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50442 fi
50443 ;;
50444 esac
50445
50446 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50447 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50448
50449 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50450
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50511 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50512 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50513 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50514 echo $ECHO_N "(cached) $ECHO_C" >&6
50515 else
50516 cat >conftest.make <<\_ACEOF
50517 SHELL = /bin/sh
50518 all:
50519 @echo '@@@%%%=$(MAKE)=@@@%%%'
50520 _ACEOF
50521 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50522 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50523 *@@@%%%=?*=@@@%%%*)
50524 eval ac_cv_prog_make_${ac_make}_set=yes;;
50525 *)
50526 eval ac_cv_prog_make_${ac_make}_set=no;;
50527 esac
50528 rm -f conftest.make
50529 fi
50530 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50531 { echo "$as_me:$LINENO: result: yes" >&5
50532 echo "${ECHO_T}yes" >&6; }
50533 SET_MAKE=
50534 else
50535 { echo "$as_me:$LINENO: result: no" >&5
50536 echo "${ECHO_T}no" >&6; }
50537 SET_MAKE="MAKE=${MAKE-make}"
50538 fi
50539
50540
50541
50542 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50543
50544
50545 if test "$USE_WIN32" = 1; then
50546 ac_config_commands="$ac_config_commands
50547 rcdefs.h
50548 "
50549
50550 fi
50551
50552 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50553
50554
50555 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50556
50557
50558 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50559
50560
50561 if test "$wx_cv_version_script" = "yes"; then
50562 ac_config_files="$ac_config_files version-script"
50563
50564 fi
50565 ac_config_files="$ac_config_files Makefile"
50566
50567
50568 ac_config_commands="$ac_config_commands wx-config"
50569
50570
50571
50572 if test "$wxWITH_SUBDIRS" != "no"; then
50573 if test "$wxUSE_GUI" = "yes"; then
50574 SUBDIRS="samples demos utils"
50575 else
50576 SUBDIRS="samples utils"
50577 fi
50578
50579
50580
50581 # Check whether --with-cppunit-prefix was given.
50582 if test "${with_cppunit_prefix+set}" = set; then
50583 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50584 else
50585 cppunit_config_prefix=""
50586 fi
50587
50588
50589 # Check whether --with-cppunit-exec-prefix was given.
50590 if test "${with_cppunit_exec_prefix+set}" = set; then
50591 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50592 else
50593 cppunit_config_exec_prefix=""
50594 fi
50595
50596
50597 if test x$cppunit_config_exec_prefix != x ; then
50598 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50599 if test x${CPPUNIT_CONFIG+set} != xset ; then
50600 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50601 fi
50602 fi
50603 if test x$cppunit_config_prefix != x ; then
50604 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50605 if test x${CPPUNIT_CONFIG+set} != xset ; then
50606 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50607 fi
50608 fi
50609
50610 # Extract the first word of "cppunit-config", so it can be a program name with args.
50611 set dummy cppunit-config; ac_word=$2
50612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50614 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50615 echo $ECHO_N "(cached) $ECHO_C" >&6
50616 else
50617 case $CPPUNIT_CONFIG in
50618 [\\/]* | ?:[\\/]*)
50619 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50620 ;;
50621 *)
50622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50623 for as_dir in $PATH
50624 do
50625 IFS=$as_save_IFS
50626 test -z "$as_dir" && as_dir=.
50627 for ac_exec_ext in '' $ac_executable_extensions; do
50628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50629 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50631 break 2
50632 fi
50633 done
50634 done
50635 IFS=$as_save_IFS
50636
50637 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50638 ;;
50639 esac
50640 fi
50641 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50642 if test -n "$CPPUNIT_CONFIG"; then
50643 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50644 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50645 else
50646 { echo "$as_me:$LINENO: result: no" >&5
50647 echo "${ECHO_T}no" >&6; }
50648 fi
50649
50650
50651 cppunit_version_min=1.8.0
50652
50653 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50654 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50655 no_cppunit=""
50656 if test "$CPPUNIT_CONFIG" = "no" ; then
50657 { echo "$as_me:$LINENO: result: no" >&5
50658 echo "${ECHO_T}no" >&6; }
50659 no_cppunit=yes
50660 else
50661 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50662 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50663 cppunit_version=`$CPPUNIT_CONFIG --version`
50664
50665 cppunit_major_version=`echo $cppunit_version | \
50666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50667 cppunit_minor_version=`echo $cppunit_version | \
50668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50669 cppunit_micro_version=`echo $cppunit_version | \
50670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50671
50672 cppunit_major_min=`echo $cppunit_version_min | \
50673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50674 cppunit_minor_min=`echo $cppunit_version_min | \
50675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50676 cppunit_micro_min=`echo $cppunit_version_min | \
50677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50678
50679 cppunit_version_proper=`expr \
50680 $cppunit_major_version \> $cppunit_major_min \| \
50681 $cppunit_major_version \= $cppunit_major_min \& \
50682 $cppunit_minor_version \> $cppunit_minor_min \| \
50683 $cppunit_major_version \= $cppunit_major_min \& \
50684 $cppunit_minor_version \= $cppunit_minor_min \& \
50685 $cppunit_micro_version \>= $cppunit_micro_min `
50686
50687 if test "$cppunit_version_proper" = "1" ; then
50688 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50689 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50690 else
50691 { echo "$as_me:$LINENO: result: no" >&5
50692 echo "${ECHO_T}no" >&6; }
50693 no_cppunit=yes
50694 fi
50695 fi
50696
50697 if test "x$no_cppunit" = x ; then
50698 SUBDIRS="$SUBDIRS tests"
50699 else
50700 CPPUNIT_CFLAGS=""
50701 CPPUNIT_LIBS=""
50702 :
50703 fi
50704
50705
50706
50707
50708
50709 for subdir in $SUBDIRS; do
50710 if test -d ${srcdir}/${subdir} ; then
50711 if test "$wxUSE_GUI" = "yes"; then
50712 if test ${subdir} = "samples"; then
50713 makefiles="samples/Makefile.in $makefiles"
50714 for sample in $SAMPLES_SUBDIRS; do
50715 if test -d $srcdir/samples/$sample; then
50716 makefiles="samples/$sample/Makefile.in $makefiles"
50717 fi
50718 done
50719 else
50720 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50721 eval "disabled=\$$disabled_var"
50722 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50723 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50724 fi
50725 else
50726 if test ${subdir} = "samples"; then
50727 makefiles="samples/Makefile.in $makefiles"
50728 for sample in `echo $SAMPLES_SUBDIRS`; do
50729 if test -d $srcdir/samples/$sample; then
50730 makefiles="samples/$sample/Makefile.in $makefiles"
50731 fi
50732 done
50733 elif test ${subdir} = "utils"; then
50734 makefiles=""
50735 for util in ifacecheck ; do
50736 if test -d $srcdir/utils/$util ; then
50737 makefiles="utils/$util/src/Makefile.in \
50738 $makefiles"
50739 fi
50740 done
50741 else
50742 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50743 fi
50744 fi
50745
50746 for mkin in $makefiles ; do
50747 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50748 ac_config_files="$ac_config_files $mk"
50749
50750 done
50751 fi
50752 done
50753 fi
50754 cat >confcache <<\_ACEOF
50755 # This file is a shell script that caches the results of configure
50756 # tests run on this system so they can be shared between configure
50757 # scripts and configure runs, see configure's option --config-cache.
50758 # It is not useful on other systems. If it contains results you don't
50759 # want to keep, you may remove or edit it.
50760 #
50761 # config.status only pays attention to the cache file if you give it
50762 # the --recheck option to rerun configure.
50763 #
50764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50766 # following values.
50767
50768 _ACEOF
50769
50770 # The following way of writing the cache mishandles newlines in values,
50771 # but we know of no workaround that is simple, portable, and efficient.
50772 # So, we kill variables containing newlines.
50773 # Ultrix sh set writes to stderr and can't be redirected directly,
50774 # and sets the high bit in the cache file unless we assign to the vars.
50775 (
50776 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50777 eval ac_val=\$$ac_var
50778 case $ac_val in #(
50779 *${as_nl}*)
50780 case $ac_var in #(
50781 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50782 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50783 esac
50784 case $ac_var in #(
50785 _ | IFS | as_nl) ;; #(
50786 *) $as_unset $ac_var ;;
50787 esac ;;
50788 esac
50789 done
50790
50791 (set) 2>&1 |
50792 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50793 *${as_nl}ac_space=\ *)
50794 # `set' does not quote correctly, so add quotes (double-quote
50795 # substitution turns \\\\ into \\, and sed turns \\ into \).
50796 sed -n \
50797 "s/'/'\\\\''/g;
50798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50799 ;; #(
50800 *)
50801 # `set' quotes correctly as required by POSIX, so do not add quotes.
50802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50803 ;;
50804 esac |
50805 sort
50806 ) |
50807 sed '
50808 /^ac_cv_env_/b end
50809 t clear
50810 :clear
50811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50812 t end
50813 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50814 :end' >>confcache
50815 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50816 if test -w "$cache_file"; then
50817 test "x$cache_file" != "x/dev/null" &&
50818 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50819 echo "$as_me: updating cache $cache_file" >&6;}
50820 cat confcache >$cache_file
50821 else
50822 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50823 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50824 fi
50825 fi
50826 rm -f confcache
50827
50828 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50829 # Let make expand exec_prefix.
50830 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50831
50832 DEFS=-DHAVE_CONFIG_H
50833
50834 ac_libobjs=
50835 ac_ltlibobjs=
50836 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50837 # 1. Remove the extension, and $U if already installed.
50838 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50839 ac_i=`echo "$ac_i" | sed "$ac_script"`
50840 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50841 # will be set to the directory where LIBOBJS objects are built.
50842 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50843 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50844 done
50845 LIBOBJS=$ac_libobjs
50846
50847 LTLIBOBJS=$ac_ltlibobjs
50848
50849
50850
50851 : ${CONFIG_STATUS=./config.status}
50852 ac_clean_files_save=$ac_clean_files
50853 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50854 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50855 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50856 cat >$CONFIG_STATUS <<_ACEOF
50857 #! $SHELL
50858 # Generated by $as_me.
50859 # Run this file to recreate the current configuration.
50860 # Compiler output produced by configure, useful for debugging
50861 # configure, is in config.log if it exists.
50862
50863 debug=false
50864 ac_cs_recheck=false
50865 ac_cs_silent=false
50866 SHELL=\${CONFIG_SHELL-$SHELL}
50867 _ACEOF
50868
50869 cat >>$CONFIG_STATUS <<\_ACEOF
50870 ## --------------------- ##
50871 ## M4sh Initialization. ##
50872 ## --------------------- ##
50873
50874 # Be more Bourne compatible
50875 DUALCASE=1; export DUALCASE # for MKS sh
50876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50877 emulate sh
50878 NULLCMD=:
50879 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50880 # is contrary to our usage. Disable this feature.
50881 alias -g '${1+"$@"}'='"$@"'
50882 setopt NO_GLOB_SUBST
50883 else
50884 case `(set -o) 2>/dev/null` in
50885 *posix*) set -o posix ;;
50886 esac
50887
50888 fi
50889
50890
50891
50892
50893 # PATH needs CR
50894 # Avoid depending upon Character Ranges.
50895 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50896 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50897 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50898 as_cr_digits='0123456789'
50899 as_cr_alnum=$as_cr_Letters$as_cr_digits
50900
50901 # The user is always right.
50902 if test "${PATH_SEPARATOR+set}" != set; then
50903 echo "#! /bin/sh" >conf$$.sh
50904 echo "exit 0" >>conf$$.sh
50905 chmod +x conf$$.sh
50906 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50907 PATH_SEPARATOR=';'
50908 else
50909 PATH_SEPARATOR=:
50910 fi
50911 rm -f conf$$.sh
50912 fi
50913
50914 # Support unset when possible.
50915 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50916 as_unset=unset
50917 else
50918 as_unset=false
50919 fi
50920
50921
50922 # IFS
50923 # We need space, tab and new line, in precisely that order. Quoting is
50924 # there to prevent editors from complaining about space-tab.
50925 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50926 # splitting by setting IFS to empty value.)
50927 as_nl='
50928 '
50929 IFS=" "" $as_nl"
50930
50931 # Find who we are. Look in the path if we contain no directory separator.
50932 case $0 in
50933 *[\\/]* ) as_myself=$0 ;;
50934 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50935 for as_dir in $PATH
50936 do
50937 IFS=$as_save_IFS
50938 test -z "$as_dir" && as_dir=.
50939 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50940 done
50941 IFS=$as_save_IFS
50942
50943 ;;
50944 esac
50945 # We did not find ourselves, most probably we were run as `sh COMMAND'
50946 # in which case we are not to be found in the path.
50947 if test "x$as_myself" = x; then
50948 as_myself=$0
50949 fi
50950 if test ! -f "$as_myself"; then
50951 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50952 { (exit 1); exit 1; }
50953 fi
50954
50955 # Work around bugs in pre-3.0 UWIN ksh.
50956 for as_var in ENV MAIL MAILPATH
50957 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50958 done
50959 PS1='$ '
50960 PS2='> '
50961 PS4='+ '
50962
50963 # NLS nuisances.
50964 for as_var in \
50965 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50966 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50967 LC_TELEPHONE LC_TIME
50968 do
50969 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50970 eval $as_var=C; export $as_var
50971 else
50972 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50973 fi
50974 done
50975
50976 # Required to use basename.
50977 if expr a : '\(a\)' >/dev/null 2>&1 &&
50978 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50979 as_expr=expr
50980 else
50981 as_expr=false
50982 fi
50983
50984 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50985 as_basename=basename
50986 else
50987 as_basename=false
50988 fi
50989
50990
50991 # Name of the executable.
50992 as_me=`$as_basename -- "$0" ||
50993 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50994 X"$0" : 'X\(//\)$' \| \
50995 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50996 echo X/"$0" |
50997 sed '/^.*\/\([^/][^/]*\)\/*$/{
50998 s//\1/
50999 q
51000 }
51001 /^X\/\(\/\/\)$/{
51002 s//\1/
51003 q
51004 }
51005 /^X\/\(\/\).*/{
51006 s//\1/
51007 q
51008 }
51009 s/.*/./; q'`
51010
51011 # CDPATH.
51012 $as_unset CDPATH
51013
51014
51015
51016 as_lineno_1=$LINENO
51017 as_lineno_2=$LINENO
51018 test "x$as_lineno_1" != "x$as_lineno_2" &&
51019 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51020
51021 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51022 # uniformly replaced by the line number. The first 'sed' inserts a
51023 # line-number line after each line using $LINENO; the second 'sed'
51024 # does the real work. The second script uses 'N' to pair each
51025 # line-number line with the line containing $LINENO, and appends
51026 # trailing '-' during substitution so that $LINENO is not a special
51027 # case at line end.
51028 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51029 # scripts with optimization help from Paolo Bonzini. Blame Lee
51030 # E. McMahon (1931-1989) for sed's syntax. :-)
51031 sed -n '
51032 p
51033 /[$]LINENO/=
51034 ' <$as_myself |
51035 sed '
51036 s/[$]LINENO.*/&-/
51037 t lineno
51038 b
51039 :lineno
51040 N
51041 :loop
51042 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51043 t loop
51044 s/-\n.*//
51045 ' >$as_me.lineno &&
51046 chmod +x "$as_me.lineno" ||
51047 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51048 { (exit 1); exit 1; }; }
51049
51050 # Don't try to exec as it changes $[0], causing all sort of problems
51051 # (the dirname of $[0] is not the place where we might find the
51052 # original and so on. Autoconf is especially sensitive to this).
51053 . "./$as_me.lineno"
51054 # Exit status is that of the last command.
51055 exit
51056 }
51057
51058
51059 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51060 as_dirname=dirname
51061 else
51062 as_dirname=false
51063 fi
51064
51065 ECHO_C= ECHO_N= ECHO_T=
51066 case `echo -n x` in
51067 -n*)
51068 case `echo 'x\c'` in
51069 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51070 *) ECHO_C='\c';;
51071 esac;;
51072 *)
51073 ECHO_N='-n';;
51074 esac
51075
51076 if expr a : '\(a\)' >/dev/null 2>&1 &&
51077 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51078 as_expr=expr
51079 else
51080 as_expr=false
51081 fi
51082
51083 rm -f conf$$ conf$$.exe conf$$.file
51084 if test -d conf$$.dir; then
51085 rm -f conf$$.dir/conf$$.file
51086 else
51087 rm -f conf$$.dir
51088 mkdir conf$$.dir
51089 fi
51090 echo >conf$$.file
51091 if ln -s conf$$.file conf$$ 2>/dev/null; then
51092 as_ln_s='ln -s'
51093 # ... but there are two gotchas:
51094 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51095 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51096 # In both cases, we have to default to `cp -p'.
51097 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51098 as_ln_s='cp -p'
51099 elif ln conf$$.file conf$$ 2>/dev/null; then
51100 as_ln_s=ln
51101 else
51102 as_ln_s='cp -p'
51103 fi
51104 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51105 rmdir conf$$.dir 2>/dev/null
51106
51107 if mkdir -p . 2>/dev/null; then
51108 as_mkdir_p=:
51109 else
51110 test -d ./-p && rmdir ./-p
51111 as_mkdir_p=false
51112 fi
51113
51114 if test -x / >/dev/null 2>&1; then
51115 as_test_x='test -x'
51116 else
51117 if ls -dL / >/dev/null 2>&1; then
51118 as_ls_L_option=L
51119 else
51120 as_ls_L_option=
51121 fi
51122 as_test_x='
51123 eval sh -c '\''
51124 if test -d "$1"; then
51125 test -d "$1/.";
51126 else
51127 case $1 in
51128 -*)set "./$1";;
51129 esac;
51130 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51131 ???[sx]*):;;*)false;;esac;fi
51132 '\'' sh
51133 '
51134 fi
51135 as_executable_p=$as_test_x
51136
51137 # Sed expression to map a string onto a valid CPP name.
51138 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51139
51140 # Sed expression to map a string onto a valid variable name.
51141 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51142
51143
51144 exec 6>&1
51145
51146 # Save the log message, to keep $[0] and so on meaningful, and to
51147 # report actual input values of CONFIG_FILES etc. instead of their
51148 # values after options handling.
51149 ac_log="
51150 This file was extended by wxWidgets $as_me 2.9.0, which was
51151 generated by GNU Autoconf 2.61. Invocation command line was
51152
51153 CONFIG_FILES = $CONFIG_FILES
51154 CONFIG_HEADERS = $CONFIG_HEADERS
51155 CONFIG_LINKS = $CONFIG_LINKS
51156 CONFIG_COMMANDS = $CONFIG_COMMANDS
51157 $ $0 $@
51158
51159 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51160 "
51161
51162 _ACEOF
51163
51164 cat >>$CONFIG_STATUS <<_ACEOF
51165 # Files that config.status was made for.
51166 config_files="$ac_config_files"
51167 config_headers="$ac_config_headers"
51168 config_commands="$ac_config_commands"
51169
51170 _ACEOF
51171
51172 cat >>$CONFIG_STATUS <<\_ACEOF
51173 ac_cs_usage="\
51174 \`$as_me' instantiates files from templates according to the
51175 current configuration.
51176
51177 Usage: $0 [OPTIONS] [FILE]...
51178
51179 -h, --help print this help, then exit
51180 -V, --version print version number and configuration settings, then exit
51181 -q, --quiet do not print progress messages
51182 -d, --debug don't remove temporary files
51183 --recheck update $as_me by reconfiguring in the same conditions
51184 --file=FILE[:TEMPLATE]
51185 instantiate the configuration file FILE
51186 --header=FILE[:TEMPLATE]
51187 instantiate the configuration header FILE
51188
51189 Configuration files:
51190 $config_files
51191
51192 Configuration headers:
51193 $config_headers
51194
51195 Configuration commands:
51196 $config_commands
51197
51198 Report bugs to <bug-autoconf@gnu.org>."
51199
51200 _ACEOF
51201 cat >>$CONFIG_STATUS <<_ACEOF
51202 ac_cs_version="\\
51203 wxWidgets config.status 2.9.0
51204 configured by $0, generated by GNU Autoconf 2.61,
51205 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51206
51207 Copyright (C) 2006 Free Software Foundation, Inc.
51208 This config.status script is free software; the Free Software Foundation
51209 gives unlimited permission to copy, distribute and modify it."
51210
51211 ac_pwd='$ac_pwd'
51212 srcdir='$srcdir'
51213 INSTALL='$INSTALL'
51214 _ACEOF
51215
51216 cat >>$CONFIG_STATUS <<\_ACEOF
51217 # If no file are specified by the user, then we need to provide default
51218 # value. By we need to know if files were specified by the user.
51219 ac_need_defaults=:
51220 while test $# != 0
51221 do
51222 case $1 in
51223 --*=*)
51224 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51225 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51226 ac_shift=:
51227 ;;
51228 *)
51229 ac_option=$1
51230 ac_optarg=$2
51231 ac_shift=shift
51232 ;;
51233 esac
51234
51235 case $ac_option in
51236 # Handling of the options.
51237 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51238 ac_cs_recheck=: ;;
51239 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51240 echo "$ac_cs_version"; exit ;;
51241 --debug | --debu | --deb | --de | --d | -d )
51242 debug=: ;;
51243 --file | --fil | --fi | --f )
51244 $ac_shift
51245 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51246 ac_need_defaults=false;;
51247 --header | --heade | --head | --hea )
51248 $ac_shift
51249 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51250 ac_need_defaults=false;;
51251 --he | --h)
51252 # Conflict between --help and --header
51253 { echo "$as_me: error: ambiguous option: $1
51254 Try \`$0 --help' for more information." >&2
51255 { (exit 1); exit 1; }; };;
51256 --help | --hel | -h )
51257 echo "$ac_cs_usage"; exit ;;
51258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51259 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51260 ac_cs_silent=: ;;
51261
51262 # This is an error.
51263 -*) { echo "$as_me: error: unrecognized option: $1
51264 Try \`$0 --help' for more information." >&2
51265 { (exit 1); exit 1; }; } ;;
51266
51267 *) ac_config_targets="$ac_config_targets $1"
51268 ac_need_defaults=false ;;
51269
51270 esac
51271 shift
51272 done
51273
51274 ac_configure_extra_args=
51275
51276 if $ac_cs_silent; then
51277 exec 6>/dev/null
51278 ac_configure_extra_args="$ac_configure_extra_args --silent"
51279 fi
51280
51281 _ACEOF
51282 cat >>$CONFIG_STATUS <<_ACEOF
51283 if \$ac_cs_recheck; then
51284 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51285 CONFIG_SHELL=$SHELL
51286 export CONFIG_SHELL
51287 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51288 fi
51289
51290 _ACEOF
51291 cat >>$CONFIG_STATUS <<\_ACEOF
51292 exec 5>>config.log
51293 {
51294 echo
51295 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51296 ## Running $as_me. ##
51297 _ASBOX
51298 echo "$ac_log"
51299 } >&5
51300
51301 _ACEOF
51302 cat >>$CONFIG_STATUS <<_ACEOF
51303 #
51304 # INIT-COMMANDS
51305 #
51306
51307 CPP="$CPP"
51308 infile="$srcdir/include/wx/msw/genrcdefs.h"
51309 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51310
51311
51312 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51313 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51314 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51315 LN_S="${LN_S}"
51316
51317
51318 _ACEOF
51319
51320 cat >>$CONFIG_STATUS <<\_ACEOF
51321
51322 # Handling of arguments.
51323 for ac_config_target in $ac_config_targets
51324 do
51325 case $ac_config_target in
51326 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51327 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51328 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51329 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51330 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51331 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51332 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51333 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51334 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51335
51336 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51337 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51338 { (exit 1); exit 1; }; };;
51339 esac
51340 done
51341
51342
51343 # If the user did not use the arguments to specify the items to instantiate,
51344 # then the envvar interface is used. Set only those that are not.
51345 # We use the long form for the default assignment because of an extremely
51346 # bizarre bug on SunOS 4.1.3.
51347 if $ac_need_defaults; then
51348 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51349 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51350 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51351 fi
51352
51353 # Have a temporary directory for convenience. Make it in the build tree
51354 # simply because there is no reason against having it here, and in addition,
51355 # creating and moving files from /tmp can sometimes cause problems.
51356 # Hook for its removal unless debugging.
51357 # Note that there is a small window in which the directory will not be cleaned:
51358 # after its creation but before its name has been assigned to `$tmp'.
51359 $debug ||
51360 {
51361 tmp=
51362 trap 'exit_status=$?
51363 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51364 ' 0
51365 trap '{ (exit 1); exit 1; }' 1 2 13 15
51366 }
51367 # Create a (secure) tmp directory for tmp files.
51368
51369 {
51370 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51371 test -n "$tmp" && test -d "$tmp"
51372 } ||
51373 {
51374 tmp=./conf$$-$RANDOM
51375 (umask 077 && mkdir "$tmp")
51376 } ||
51377 {
51378 echo "$me: cannot create a temporary directory in ." >&2
51379 { (exit 1); exit 1; }
51380 }
51381
51382 #
51383 # Set up the sed scripts for CONFIG_FILES section.
51384 #
51385
51386 # No need to generate the scripts if there are no CONFIG_FILES.
51387 # This happens for instance when ./config.status config.h
51388 if test -n "$CONFIG_FILES"; then
51389
51390 _ACEOF
51391
51392
51393
51394 ac_delim='%!_!# '
51395 for ac_last_try in false false false false false :; do
51396 cat >conf$$subs.sed <<_ACEOF
51397 SHELL!$SHELL$ac_delim
51398 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51399 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51400 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51401 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51402 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51403 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51404 exec_prefix!$exec_prefix$ac_delim
51405 prefix!$prefix$ac_delim
51406 program_transform_name!$program_transform_name$ac_delim
51407 bindir!$bindir$ac_delim
51408 sbindir!$sbindir$ac_delim
51409 libexecdir!$libexecdir$ac_delim
51410 datarootdir!$datarootdir$ac_delim
51411 datadir!$datadir$ac_delim
51412 sysconfdir!$sysconfdir$ac_delim
51413 sharedstatedir!$sharedstatedir$ac_delim
51414 localstatedir!$localstatedir$ac_delim
51415 includedir!$includedir$ac_delim
51416 oldincludedir!$oldincludedir$ac_delim
51417 docdir!$docdir$ac_delim
51418 infodir!$infodir$ac_delim
51419 htmldir!$htmldir$ac_delim
51420 dvidir!$dvidir$ac_delim
51421 pdfdir!$pdfdir$ac_delim
51422 psdir!$psdir$ac_delim
51423 libdir!$libdir$ac_delim
51424 localedir!$localedir$ac_delim
51425 mandir!$mandir$ac_delim
51426 DEFS!$DEFS$ac_delim
51427 ECHO_C!$ECHO_C$ac_delim
51428 ECHO_N!$ECHO_N$ac_delim
51429 ECHO_T!$ECHO_T$ac_delim
51430 LIBS!$LIBS$ac_delim
51431 build_alias!$build_alias$ac_delim
51432 host_alias!$host_alias$ac_delim
51433 target_alias!$target_alias$ac_delim
51434 build!$build$ac_delim
51435 build_cpu!$build_cpu$ac_delim
51436 build_vendor!$build_vendor$ac_delim
51437 build_os!$build_os$ac_delim
51438 host!$host$ac_delim
51439 host_cpu!$host_cpu$ac_delim
51440 host_vendor!$host_vendor$ac_delim
51441 host_os!$host_os$ac_delim
51442 target!$target$ac_delim
51443 target_cpu!$target_cpu$ac_delim
51444 target_vendor!$target_vendor$ac_delim
51445 target_os!$target_os$ac_delim
51446 wx_top_builddir!$wx_top_builddir$ac_delim
51447 CC!$CC$ac_delim
51448 CFLAGS!$CFLAGS$ac_delim
51449 LDFLAGS!$LDFLAGS$ac_delim
51450 CPPFLAGS!$CPPFLAGS$ac_delim
51451 ac_ct_CC!$ac_ct_CC$ac_delim
51452 EXEEXT!$EXEEXT$ac_delim
51453 OBJEXT!$OBJEXT$ac_delim
51454 CPP!$CPP$ac_delim
51455 GREP!$GREP$ac_delim
51456 EGREP!$EGREP$ac_delim
51457 CXX!$CXX$ac_delim
51458 CXXFLAGS!$CXXFLAGS$ac_delim
51459 ac_ct_CXX!$ac_ct_CXX$ac_delim
51460 AR!$AR$ac_delim
51461 subdirs!$subdirs$ac_delim
51462 PKG_CONFIG!$PKG_CONFIG$ac_delim
51463 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51464 GTK_LIBS!$GTK_LIBS$ac_delim
51465 GTK_CONFIG!$GTK_CONFIG$ac_delim
51466 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51467 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51468 XMKMF!$XMKMF$ac_delim
51469 X_CFLAGS!$X_CFLAGS$ac_delim
51470 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51471 X_LIBS!$X_LIBS$ac_delim
51472 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51473 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51474 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51475 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51476 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51477 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51478 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51479 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51480 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51481 LIBICONV!$LIBICONV$ac_delim
51482 SDL_CONFIG!$SDL_CONFIG$ac_delim
51483 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51484 SDL_LIBS!$SDL_LIBS$ac_delim
51485 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51486 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51487 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51488 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51489 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51490 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51491 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51492 HILDON_LIBS!$HILDON_LIBS$ac_delim
51493 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51494 _ACEOF
51495
51496 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51497 break
51498 elif $ac_last_try; then
51499 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51500 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51501 { (exit 1); exit 1; }; }
51502 else
51503 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51504 fi
51505 done
51506
51507 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51508 if test -n "$ac_eof"; then
51509 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51510 ac_eof=`expr $ac_eof + 1`
51511 fi
51512
51513 cat >>$CONFIG_STATUS <<_ACEOF
51514 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51516 _ACEOF
51517 sed '
51518 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51519 s/^/s,@/; s/!/@,|#_!!_#|/
51520 :n
51521 t n
51522 s/'"$ac_delim"'$/,g/; t
51523 s/$/\\/; p
51524 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51525 ' >>$CONFIG_STATUS <conf$$subs.sed
51526 rm -f conf$$subs.sed
51527 cat >>$CONFIG_STATUS <<_ACEOF
51528 CEOF$ac_eof
51529 _ACEOF
51530
51531
51532 ac_delim='%!_!# '
51533 for ac_last_try in false false false false false :; do
51534 cat >conf$$subs.sed <<_ACEOF
51535 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51536 GST_CFLAGS!$GST_CFLAGS$ac_delim
51537 GST_LIBS!$GST_LIBS$ac_delim
51538 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51539 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51540 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51541 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51542 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51543 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51544 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51545 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51546 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51547 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51548 VENDOR!$VENDOR$ac_delim
51549 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51550 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51551 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51552 WXUNIV!$WXUNIV$ac_delim
51553 MONOLITHIC!$MONOLITHIC$ac_delim
51554 USE_PLUGINS!$USE_PLUGINS$ac_delim
51555 CXXWARNINGS!$CXXWARNINGS$ac_delim
51556 EXTRALIBS!$EXTRALIBS$ac_delim
51557 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51558 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51559 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51560 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51561 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51562 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51563 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51564 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51565 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51566 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51567 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51568 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51569 UNICODE!$UNICODE$ac_delim
51570 BUILD!$BUILD$ac_delim
51571 DEBUG_INFO!$DEBUG_INFO$ac_delim
51572 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51573 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51574 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51575 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51576 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51577 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51578 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51579 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51580 RANLIB!$RANLIB$ac_delim
51581 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51582 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51583 INSTALL_DATA!$INSTALL_DATA$ac_delim
51584 LN_S!$LN_S$ac_delim
51585 SET_MAKE!$SET_MAKE$ac_delim
51586 MAKE_SET!$MAKE_SET$ac_delim
51587 AROPTIONS!$AROPTIONS$ac_delim
51588 STRIP!$STRIP$ac_delim
51589 NM!$NM$ac_delim
51590 INSTALL_DIR!$INSTALL_DIR$ac_delim
51591 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51592 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51593 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51594 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51595 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51596 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51597 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51598 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51599 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51600 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51601 SO_SUFFIX!$SO_SUFFIX$ac_delim
51602 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51603 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51604 LIBPREFIX!$LIBPREFIX$ac_delim
51605 LIBEXT!$LIBEXT$ac_delim
51606 DLLPREFIX!$DLLPREFIX$ac_delim
51607 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51608 dlldir!$dlldir$ac_delim
51609 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51610 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51611 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51612 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51613 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51614 PIC_FLAG!$PIC_FLAG$ac_delim
51615 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51616 USE_SOVERSION!$USE_SOVERSION$ac_delim
51617 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51618 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51619 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51620 USE_MACVERSION!$USE_MACVERSION$ac_delim
51621 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51622 SONAME_FLAG!$SONAME_FLAG$ac_delim
51623 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51624 BK_DEPS!$BK_DEPS$ac_delim
51625 WINDRES!$WINDRES$ac_delim
51626 REZ!$REZ$ac_delim
51627 SETFILE!$SETFILE$ac_delim
51628 GCC_PCH!$GCC_PCH$ac_delim
51629 ICC_PCH!$ICC_PCH$ac_delim
51630 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51631 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51632 _ACEOF
51633
51634 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51635 break
51636 elif $ac_last_try; then
51637 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51638 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51639 { (exit 1); exit 1; }; }
51640 else
51641 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51642 fi
51643 done
51644
51645 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51646 if test -n "$ac_eof"; then
51647 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51648 ac_eof=`expr $ac_eof + 1`
51649 fi
51650
51651 cat >>$CONFIG_STATUS <<_ACEOF
51652 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51654 _ACEOF
51655 sed '
51656 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51657 s/^/s,@/; s/!/@,|#_!!_#|/
51658 :n
51659 t n
51660 s/'"$ac_delim"'$/,g/; t
51661 s/$/\\/; p
51662 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51663 ' >>$CONFIG_STATUS <conf$$subs.sed
51664 rm -f conf$$subs.sed
51665 cat >>$CONFIG_STATUS <<_ACEOF
51666 CEOF$ac_eof
51667 _ACEOF
51668
51669
51670 ac_delim='%!_!# '
51671 for ac_last_try in false false false false false :; do
51672 cat >conf$$subs.sed <<_ACEOF
51673 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51674 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51675 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51676 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51677 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51678 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51679 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51680 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51681 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51682 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51683 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51684 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51685 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51686 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51687 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51688 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51689 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51690 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51691 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51692 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51693 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51694 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51695 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51696 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51697 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51698 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51699 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51700 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51704 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51705 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51706 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51707 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51708 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51709 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51710 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51711 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51712 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51713 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51714 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51715 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51716 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51717 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51718 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51719 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51720 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51721 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51722 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51723 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51724 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51726 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
51727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51728 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
51729 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51730 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51731 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51732 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51733 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51734 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51735 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51736 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51737 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51738 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51739 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51740 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51741 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51742 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51743 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51744 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51745 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51746 COND_SHARED_0!$COND_SHARED_0$ac_delim
51747 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51748 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51749 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51750 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51751 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51752 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51753 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51754 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51755 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51756 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51757 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51758 COND_SHARED_1!$COND_SHARED_1$ac_delim
51759 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51760 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51761 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51762 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51763 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51764 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51765 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51766 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51767 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51768 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51769 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51770 _ACEOF
51771
51772 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51773 break
51774 elif $ac_last_try; then
51775 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51776 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51777 { (exit 1); exit 1; }; }
51778 else
51779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51780 fi
51781 done
51782
51783 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51784 if test -n "$ac_eof"; then
51785 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51786 ac_eof=`expr $ac_eof + 1`
51787 fi
51788
51789 cat >>$CONFIG_STATUS <<_ACEOF
51790 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51792 _ACEOF
51793 sed '
51794 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51795 s/^/s,@/; s/!/@,|#_!!_#|/
51796 :n
51797 t n
51798 s/'"$ac_delim"'$/,g/; t
51799 s/$/\\/; p
51800 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51801 ' >>$CONFIG_STATUS <conf$$subs.sed
51802 rm -f conf$$subs.sed
51803 cat >>$CONFIG_STATUS <<_ACEOF
51804 CEOF$ac_eof
51805 _ACEOF
51806
51807
51808 ac_delim='%!_!# '
51809 for ac_last_try in false false false false false :; do
51810 cat >conf$$subs.sed <<_ACEOF
51811 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51813 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51814 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51815 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51816 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51817 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51818 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51819 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51820 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51821 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51822 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51823 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51824 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51825 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51826 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
51827 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51828 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51829 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
51830 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51831 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51832 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
51833 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51834 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51835 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51836 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51837 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51838 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51839 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51840 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51841 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51842 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51843 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51844 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51845 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51846 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51847 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51848 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51849 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51850 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51851 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51852 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51853 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51854 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51855 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51856 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51857 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51858 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51859 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51860 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51861 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51862 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51863 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51864 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51865 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51866 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51867 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51868 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51869 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51870 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51871 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51872 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51873 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51874 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51875 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51876 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51877 DEREZ!$DEREZ$ac_delim
51878 SHARED!$SHARED$ac_delim
51879 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51880 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51881 USE_GUI!$USE_GUI$ac_delim
51882 AFMINSTALL!$AFMINSTALL$ac_delim
51883 WIN32INSTALL!$WIN32INSTALL$ac_delim
51884 TOOLKIT!$TOOLKIT$ac_delim
51885 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51886 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51887 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51888 cross_compiling!$cross_compiling$ac_delim
51889 WIDGET_SET!$WIDGET_SET$ac_delim
51890 WX_RELEASE!$WX_RELEASE$ac_delim
51891 WX_VERSION!$WX_VERSION$ac_delim
51892 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51893 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51894 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51895 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51896 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51897 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51898 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51899 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51900 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51901 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51902 GUIDIST!$GUIDIST$ac_delim
51903 DISTDIR!$DISTDIR$ac_delim
51904 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51905 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51906 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51907 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51908 _ACEOF
51909
51910 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51911 break
51912 elif $ac_last_try; then
51913 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51914 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51915 { (exit 1); exit 1; }; }
51916 else
51917 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51918 fi
51919 done
51920
51921 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51922 if test -n "$ac_eof"; then
51923 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51924 ac_eof=`expr $ac_eof + 1`
51925 fi
51926
51927 cat >>$CONFIG_STATUS <<_ACEOF
51928 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51930 _ACEOF
51931 sed '
51932 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51933 s/^/s,@/; s/!/@,|#_!!_#|/
51934 :n
51935 t n
51936 s/'"$ac_delim"'$/,g/; t
51937 s/$/\\/; p
51938 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51939 ' >>$CONFIG_STATUS <conf$$subs.sed
51940 rm -f conf$$subs.sed
51941 cat >>$CONFIG_STATUS <<_ACEOF
51942 CEOF$ac_eof
51943 _ACEOF
51944
51945
51946 ac_delim='%!_!# '
51947 for ac_last_try in false false false false false :; do
51948 cat >conf$$subs.sed <<_ACEOF
51949 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51950 RESCOMP!$RESCOMP$ac_delim
51951 RESFLAGS!$RESFLAGS$ac_delim
51952 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51953 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51954 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51955 LIBWXMACRES!$LIBWXMACRES$ac_delim
51956 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51957 MACSETFILE!$MACSETFILE$ac_delim
51958 GCC!$GCC$ac_delim
51959 DLLTOOL!$DLLTOOL$ac_delim
51960 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51961 LIBOBJS!$LIBOBJS$ac_delim
51962 LTLIBOBJS!$LTLIBOBJS$ac_delim
51963 _ACEOF
51964
51965 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
51966 break
51967 elif $ac_last_try; then
51968 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51969 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51970 { (exit 1); exit 1; }; }
51971 else
51972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51973 fi
51974 done
51975
51976 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51977 if test -n "$ac_eof"; then
51978 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51979 ac_eof=`expr $ac_eof + 1`
51980 fi
51981
51982 cat >>$CONFIG_STATUS <<_ACEOF
51983 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51985 _ACEOF
51986 sed '
51987 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51988 s/^/s,@/; s/!/@,|#_!!_#|/
51989 :n
51990 t n
51991 s/'"$ac_delim"'$/,g/; t
51992 s/$/\\/; p
51993 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51994 ' >>$CONFIG_STATUS <conf$$subs.sed
51995 rm -f conf$$subs.sed
51996 cat >>$CONFIG_STATUS <<_ACEOF
51997 :end
51998 s/|#_!!_#|//g
51999 CEOF$ac_eof
52000 _ACEOF
52001
52002
52003 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52004 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52005 # trailing colons and then remove the whole line if VPATH becomes empty
52006 # (actually we leave an empty line to preserve line numbers).
52007 if test "x$srcdir" = x.; then
52008 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52009 s/:*\$(srcdir):*/:/
52010 s/:*\${srcdir}:*/:/
52011 s/:*@srcdir@:*/:/
52012 s/^\([^=]*=[ ]*\):*/\1/
52013 s/:*$//
52014 s/^[^=]*=[ ]*$//
52015 }'
52016 fi
52017
52018 cat >>$CONFIG_STATUS <<\_ACEOF
52019 fi # test -n "$CONFIG_FILES"
52020
52021
52022 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52023 do
52024 case $ac_tag in
52025 :[FHLC]) ac_mode=$ac_tag; continue;;
52026 esac
52027 case $ac_mode$ac_tag in
52028 :[FHL]*:*);;
52029 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52030 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52031 { (exit 1); exit 1; }; };;
52032 :[FH]-) ac_tag=-:-;;
52033 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52034 esac
52035 ac_save_IFS=$IFS
52036 IFS=:
52037 set x $ac_tag
52038 IFS=$ac_save_IFS
52039 shift
52040 ac_file=$1
52041 shift
52042
52043 case $ac_mode in
52044 :L) ac_source=$1;;
52045 :[FH])
52046 ac_file_inputs=
52047 for ac_f
52048 do
52049 case $ac_f in
52050 -) ac_f="$tmp/stdin";;
52051 *) # Look for the file first in the build tree, then in the source tree
52052 # (if the path is not absolute). The absolute path cannot be DOS-style,
52053 # because $ac_f cannot contain `:'.
52054 test -f "$ac_f" ||
52055 case $ac_f in
52056 [\\/$]*) false;;
52057 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52058 esac ||
52059 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52060 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52061 { (exit 1); exit 1; }; };;
52062 esac
52063 ac_file_inputs="$ac_file_inputs $ac_f"
52064 done
52065
52066 # Let's still pretend it is `configure' which instantiates (i.e., don't
52067 # use $as_me), people would be surprised to read:
52068 # /* config.h. Generated by config.status. */
52069 configure_input="Generated from "`IFS=:
52070 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52071 if test x"$ac_file" != x-; then
52072 configure_input="$ac_file. $configure_input"
52073 { echo "$as_me:$LINENO: creating $ac_file" >&5
52074 echo "$as_me: creating $ac_file" >&6;}
52075 fi
52076
52077 case $ac_tag in
52078 *:-:* | *:-) cat >"$tmp/stdin";;
52079 esac
52080 ;;
52081 esac
52082
52083 ac_dir=`$as_dirname -- "$ac_file" ||
52084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52085 X"$ac_file" : 'X\(//\)[^/]' \| \
52086 X"$ac_file" : 'X\(//\)$' \| \
52087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52088 echo X"$ac_file" |
52089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52090 s//\1/
52091 q
52092 }
52093 /^X\(\/\/\)[^/].*/{
52094 s//\1/
52095 q
52096 }
52097 /^X\(\/\/\)$/{
52098 s//\1/
52099 q
52100 }
52101 /^X\(\/\).*/{
52102 s//\1/
52103 q
52104 }
52105 s/.*/./; q'`
52106 { as_dir="$ac_dir"
52107 case $as_dir in #(
52108 -*) as_dir=./$as_dir;;
52109 esac
52110 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52111 as_dirs=
52112 while :; do
52113 case $as_dir in #(
52114 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52115 *) as_qdir=$as_dir;;
52116 esac
52117 as_dirs="'$as_qdir' $as_dirs"
52118 as_dir=`$as_dirname -- "$as_dir" ||
52119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52120 X"$as_dir" : 'X\(//\)[^/]' \| \
52121 X"$as_dir" : 'X\(//\)$' \| \
52122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52123 echo X"$as_dir" |
52124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52125 s//\1/
52126 q
52127 }
52128 /^X\(\/\/\)[^/].*/{
52129 s//\1/
52130 q
52131 }
52132 /^X\(\/\/\)$/{
52133 s//\1/
52134 q
52135 }
52136 /^X\(\/\).*/{
52137 s//\1/
52138 q
52139 }
52140 s/.*/./; q'`
52141 test -d "$as_dir" && break
52142 done
52143 test -z "$as_dirs" || eval "mkdir $as_dirs"
52144 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52145 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52146 { (exit 1); exit 1; }; }; }
52147 ac_builddir=.
52148
52149 case "$ac_dir" in
52150 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52151 *)
52152 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52153 # A ".." for each directory in $ac_dir_suffix.
52154 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52155 case $ac_top_builddir_sub in
52156 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52157 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52158 esac ;;
52159 esac
52160 ac_abs_top_builddir=$ac_pwd
52161 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52162 # for backward compatibility:
52163 ac_top_builddir=$ac_top_build_prefix
52164
52165 case $srcdir in
52166 .) # We are building in place.
52167 ac_srcdir=.
52168 ac_top_srcdir=$ac_top_builddir_sub
52169 ac_abs_top_srcdir=$ac_pwd ;;
52170 [\\/]* | ?:[\\/]* ) # Absolute name.
52171 ac_srcdir=$srcdir$ac_dir_suffix;
52172 ac_top_srcdir=$srcdir
52173 ac_abs_top_srcdir=$srcdir ;;
52174 *) # Relative name.
52175 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52176 ac_top_srcdir=$ac_top_build_prefix$srcdir
52177 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52178 esac
52179 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52180
52181
52182 case $ac_mode in
52183 :F)
52184 #
52185 # CONFIG_FILE
52186 #
52187
52188 case $INSTALL in
52189 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52190 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52191 esac
52192 _ACEOF
52193
52194 cat >>$CONFIG_STATUS <<\_ACEOF
52195 # If the template does not know about datarootdir, expand it.
52196 # FIXME: This hack should be removed a few years after 2.60.
52197 ac_datarootdir_hack=; ac_datarootdir_seen=
52198
52199 case `sed -n '/datarootdir/ {
52200 p
52201 q
52202 }
52203 /@datadir@/p
52204 /@docdir@/p
52205 /@infodir@/p
52206 /@localedir@/p
52207 /@mandir@/p
52208 ' $ac_file_inputs` in
52209 *datarootdir*) ac_datarootdir_seen=yes;;
52210 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52211 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52212 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52213 _ACEOF
52214 cat >>$CONFIG_STATUS <<_ACEOF
52215 ac_datarootdir_hack='
52216 s&@datadir@&$datadir&g
52217 s&@docdir@&$docdir&g
52218 s&@infodir@&$infodir&g
52219 s&@localedir@&$localedir&g
52220 s&@mandir@&$mandir&g
52221 s&\\\${datarootdir}&$datarootdir&g' ;;
52222 esac
52223 _ACEOF
52224
52225 # Neutralize VPATH when `$srcdir' = `.'.
52226 # Shell code in configure.ac might set extrasub.
52227 # FIXME: do we really want to maintain this feature?
52228 cat >>$CONFIG_STATUS <<_ACEOF
52229 sed "$ac_vpsub
52230 $extrasub
52231 _ACEOF
52232 cat >>$CONFIG_STATUS <<\_ACEOF
52233 :t
52234 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52235 s&@configure_input@&$configure_input&;t t
52236 s&@top_builddir@&$ac_top_builddir_sub&;t t
52237 s&@srcdir@&$ac_srcdir&;t t
52238 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52239 s&@top_srcdir@&$ac_top_srcdir&;t t
52240 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52241 s&@builddir@&$ac_builddir&;t t
52242 s&@abs_builddir@&$ac_abs_builddir&;t t
52243 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52244 s&@INSTALL@&$ac_INSTALL&;t t
52245 $ac_datarootdir_hack
52246 " $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
52247
52248 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52249 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52250 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52251 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52252 which seems to be undefined. Please make sure it is defined." >&5
52253 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52254 which seems to be undefined. Please make sure it is defined." >&2;}
52255
52256 rm -f "$tmp/stdin"
52257 case $ac_file in
52258 -) cat "$tmp/out"; rm -f "$tmp/out";;
52259 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52260 esac
52261 ;;
52262 :H)
52263 #
52264 # CONFIG_HEADER
52265 #
52266 _ACEOF
52267
52268 # Transform confdefs.h into a sed script `conftest.defines', that
52269 # substitutes the proper values into config.h.in to produce config.h.
52270 rm -f conftest.defines conftest.tail
52271 # First, append a space to every undef/define line, to ease matching.
52272 echo 's/$/ /' >conftest.defines
52273 # Then, protect against being on the right side of a sed subst, or in
52274 # an unquoted here document, in config.status. If some macros were
52275 # called several times there might be several #defines for the same
52276 # symbol, which is useless. But do not sort them, since the last
52277 # AC_DEFINE must be honored.
52278 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52279 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52280 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52281 # PARAMS is the parameter list in the macro definition--in most cases, it's
52282 # just an empty string.
52283 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52284 ac_dB='\\)[ (].*,\\1define\\2'
52285 ac_dC=' '
52286 ac_dD=' ,'
52287
52288 uniq confdefs.h |
52289 sed -n '
52290 t rset
52291 :rset
52292 s/^[ ]*#[ ]*define[ ][ ]*//
52293 t ok
52294 d
52295 :ok
52296 s/[\\&,]/\\&/g
52297 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52298 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52299 ' >>conftest.defines
52300
52301 # Remove the space that was appended to ease matching.
52302 # Then replace #undef with comments. This is necessary, for
52303 # example, in the case of _POSIX_SOURCE, which is predefined and required
52304 # on some systems where configure will not decide to define it.
52305 # (The regexp can be short, since the line contains either #define or #undef.)
52306 echo 's/ $//
52307 s,^[ #]*u.*,/* & */,' >>conftest.defines
52308
52309 # Break up conftest.defines:
52310 ac_max_sed_lines=50
52311
52312 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52313 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52314 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52315 # et cetera.
52316 ac_in='$ac_file_inputs'
52317 ac_out='"$tmp/out1"'
52318 ac_nxt='"$tmp/out2"'
52319
52320 while :
52321 do
52322 # Write a here document:
52323 cat >>$CONFIG_STATUS <<_ACEOF
52324 # First, check the format of the line:
52325 cat >"\$tmp/defines.sed" <<\\CEOF
52326 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52327 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52328 b
52329 :def
52330 _ACEOF
52331 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52332 echo 'CEOF
52333 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52334 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52335 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52336 grep . conftest.tail >/dev/null || break
52337 rm -f conftest.defines
52338 mv conftest.tail conftest.defines
52339 done
52340 rm -f conftest.defines conftest.tail
52341
52342 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52343 cat >>$CONFIG_STATUS <<\_ACEOF
52344 if test x"$ac_file" != x-; then
52345 echo "/* $configure_input */" >"$tmp/config.h"
52346 cat "$ac_result" >>"$tmp/config.h"
52347 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52348 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52349 echo "$as_me: $ac_file is unchanged" >&6;}
52350 else
52351 rm -f $ac_file
52352 mv "$tmp/config.h" $ac_file
52353 fi
52354 else
52355 echo "/* $configure_input */"
52356 cat "$ac_result"
52357 fi
52358 rm -f "$tmp/out12"
52359 ;;
52360
52361 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52362 echo "$as_me: executing $ac_file commands" >&6;}
52363 ;;
52364 esac
52365
52366
52367 case $ac_file$ac_mode in
52368 "rcdefs.h":C)
52369 mkdir -p $outdir &&
52370 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52371 ;;
52372 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52373 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52374 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52375 "wx-config":C) rm -f wx-config
52376 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52377 ;;
52378
52379 esac
52380 done # for ac_tag
52381
52382
52383 { (exit 0); exit 0; }
52384 _ACEOF
52385 chmod +x $CONFIG_STATUS
52386 ac_clean_files=$ac_clean_files_save
52387
52388
52389 # configure is writing to config.log, and then calls config.status.
52390 # config.status does its own redirection, appending to config.log.
52391 # Unfortunately, on DOS this fails, as config.log is still kept open
52392 # by configure, so config.status won't be able to write to it; its
52393 # output is simply discarded. So we exec the FD to /dev/null,
52394 # effectively closing config.log, so it can be properly (re)opened and
52395 # appended to by config.status. When coming back to configure, we
52396 # need to make the FD available again.
52397 if test "$no_create" != yes; then
52398 ac_cs_success=:
52399 ac_config_status_args=
52400 test "$silent" = yes &&
52401 ac_config_status_args="$ac_config_status_args --quiet"
52402 exec 5>/dev/null
52403 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52404 exec 5>>config.log
52405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52406 # would make configure fail if this is the last instruction.
52407 $ac_cs_success || { (exit 1); exit 1; }
52408 fi
52409
52410 #
52411 # CONFIG_SUBDIRS section.
52412 #
52413 if test "$no_recursion" != yes; then
52414
52415 # Remove --cache-file and --srcdir arguments so they do not pile up.
52416 ac_sub_configure_args=
52417 ac_prev=
52418 eval "set x $ac_configure_args"
52419 shift
52420 for ac_arg
52421 do
52422 if test -n "$ac_prev"; then
52423 ac_prev=
52424 continue
52425 fi
52426 case $ac_arg in
52427 -cache-file | --cache-file | --cache-fil | --cache-fi \
52428 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52429 ac_prev=cache_file ;;
52430 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52431 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52432 | --c=*)
52433 ;;
52434 --config-cache | -C)
52435 ;;
52436 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52437 ac_prev=srcdir ;;
52438 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52439 ;;
52440 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52441 ac_prev=prefix ;;
52442 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52443 ;;
52444 *)
52445 case $ac_arg in
52446 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52447 esac
52448 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52449 esac
52450 done
52451
52452 # Always prepend --prefix to ensure using the same prefix
52453 # in subdir configurations.
52454 ac_arg="--prefix=$prefix"
52455 case $ac_arg in
52456 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52457 esac
52458 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52459
52460 # Pass --silent
52461 if test "$silent" = yes; then
52462 ac_sub_configure_args="--silent $ac_sub_configure_args"
52463 fi
52464
52465 ac_popdir=`pwd`
52466 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52467
52468 # Do not complain, so a configure script can configure whichever
52469 # parts of a large source tree are present.
52470 test -d "$srcdir/$ac_dir" || continue
52471
52472 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52473 echo "$as_me:$LINENO: $ac_msg" >&5
52474 echo "$ac_msg" >&6
52475 { as_dir="$ac_dir"
52476 case $as_dir in #(
52477 -*) as_dir=./$as_dir;;
52478 esac
52479 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52480 as_dirs=
52481 while :; do
52482 case $as_dir in #(
52483 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52484 *) as_qdir=$as_dir;;
52485 esac
52486 as_dirs="'$as_qdir' $as_dirs"
52487 as_dir=`$as_dirname -- "$as_dir" ||
52488 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52489 X"$as_dir" : 'X\(//\)[^/]' \| \
52490 X"$as_dir" : 'X\(//\)$' \| \
52491 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52492 echo X"$as_dir" |
52493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52494 s//\1/
52495 q
52496 }
52497 /^X\(\/\/\)[^/].*/{
52498 s//\1/
52499 q
52500 }
52501 /^X\(\/\/\)$/{
52502 s//\1/
52503 q
52504 }
52505 /^X\(\/\).*/{
52506 s//\1/
52507 q
52508 }
52509 s/.*/./; q'`
52510 test -d "$as_dir" && break
52511 done
52512 test -z "$as_dirs" || eval "mkdir $as_dirs"
52513 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52514 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52515 { (exit 1); exit 1; }; }; }
52516 ac_builddir=.
52517
52518 case "$ac_dir" in
52519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52520 *)
52521 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52522 # A ".." for each directory in $ac_dir_suffix.
52523 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52524 case $ac_top_builddir_sub in
52525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52527 esac ;;
52528 esac
52529 ac_abs_top_builddir=$ac_pwd
52530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52531 # for backward compatibility:
52532 ac_top_builddir=$ac_top_build_prefix
52533
52534 case $srcdir in
52535 .) # We are building in place.
52536 ac_srcdir=.
52537 ac_top_srcdir=$ac_top_builddir_sub
52538 ac_abs_top_srcdir=$ac_pwd ;;
52539 [\\/]* | ?:[\\/]* ) # Absolute name.
52540 ac_srcdir=$srcdir$ac_dir_suffix;
52541 ac_top_srcdir=$srcdir
52542 ac_abs_top_srcdir=$srcdir ;;
52543 *) # Relative name.
52544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52545 ac_top_srcdir=$ac_top_build_prefix$srcdir
52546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52547 esac
52548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52549
52550
52551 cd "$ac_dir"
52552
52553 # Check for guested configure; otherwise get Cygnus style configure.
52554 if test -f "$ac_srcdir/configure.gnu"; then
52555 ac_sub_configure=$ac_srcdir/configure.gnu
52556 elif test -f "$ac_srcdir/configure"; then
52557 ac_sub_configure=$ac_srcdir/configure
52558 elif test -f "$ac_srcdir/configure.in"; then
52559 # This should be Cygnus configure.
52560 ac_sub_configure=$ac_aux_dir/configure
52561 else
52562 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52563 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52564 ac_sub_configure=
52565 fi
52566
52567 # The recursion is here.
52568 if test -n "$ac_sub_configure"; then
52569 # Make the cache file name correct relative to the subdirectory.
52570 case $cache_file in
52571 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52572 *) # Relative name.
52573 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52574 esac
52575
52576 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52577 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52578 # The eval makes quoting arguments work.
52579 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52580 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52581 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52582 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52583 { (exit 1); exit 1; }; }
52584 fi
52585
52586 cd "$ac_popdir"
52587 done
52588 fi
52589
52590
52591 echo
52592 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52593 echo ""
52594 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52595 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52596
52597 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52598 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52599 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52600 if test "$wxUSE_UNICODE" = "yes"; then
52601 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52602 echo " (using UTF-8)"
52603 else
52604 echo " (using wchar_t)"
52605 fi
52606 else
52607 echo
52608 fi
52609
52610 echo " What level of wxWidgets compatibility should be enabled?"
52611 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52612 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52613
52614 echo " Which libraries should wxWidgets use?"
52615 echo " STL ${wxUSE_STL}"
52616 echo " jpeg ${wxUSE_LIBJPEG-none}"
52617 echo " png ${wxUSE_LIBPNG-none}"
52618 echo " regex ${wxUSE_REGEX}"
52619 echo " tiff ${wxUSE_LIBTIFF-none}"
52620 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52621 echo " xpm ${wxUSE_LIBXPM-none}"
52622 fi
52623 echo " zlib ${wxUSE_ZLIB}"
52624 echo " expat ${wxUSE_EXPAT}"
52625 echo " libmspack ${wxUSE_LIBMSPACK}"
52626 echo " sdl ${wxUSE_LIBSDL}"
52627
52628 echo ""
52629