]> git.saurik.com Git - wxWidgets.git/blob - configure
add wxUSE_WEAKREF (modified partially applied patch 1870445)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 51582 2008-02-07 20:59:50Z DE .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_0
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
899 COND_SHARED_1
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_TOOLKIT_
902 COND_TOOLKIT_COCOA
903 COND_TOOLKIT_COCOA_USE_GUI_1
904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_DFB
906 COND_TOOLKIT_DFB_USE_GUI_1
907 COND_TOOLKIT_GTK
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
916 COND_TOOLKIT_MAC
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MGL
920 COND_TOOLKIT_MGL_USE_GUI_1
921 COND_TOOLKIT_MOTIF
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
928 COND_TOOLKIT_PM
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
935 COND_TOOLKIT_X11
936 COND_TOOLKIT_X11_USE_GUI_1
937 COND_UNICODE_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_0
941 COND_USE_GUI_1
942 COND_USE_GUI_1_USE_OPENGL_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
948 COND_USE_OPENGL_1
949 COND_USE_PCH_1
950 COND_USE_PLUGINS_0
951 COND_USE_RTTI_0
952 COND_USE_RTTI_1
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
956 COND_USE_SOVERSION_0
957 COND_USE_SOVERSOLARIS_1
958 COND_USE_STC_1
959 COND_USE_THREADS_0
960 COND_USE_THREADS_1
961 COND_USE_XRC_1
962 COND_WINDOWS_IMPLIB_1
963 COND_WITH_PLUGIN_SDL_1
964 COND_WXUNIV_0
965 COND_WXUNIV_1
966 COND_WXUSE_EXPAT_BUILTIN
967 COND_WXUSE_LIBJPEG_BUILTIN
968 COND_WXUSE_LIBPNG_BUILTIN
969 COND_WXUSE_LIBTIFF_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
972 DEREZ
973 SHARED
974 WX_LIBRARY_BASENAME_NOGUI
975 WX_LIBRARY_BASENAME_GUI
976 USE_GUI
977 AFMINSTALL
978 WIN32INSTALL
979 TOOLKIT
980 TOOLKIT_DIR
981 TOOLCHAIN_NAME
982 TOOLCHAIN_FULLNAME
983 cross_compiling
984 WIDGET_SET
985 WX_RELEASE
986 WX_VERSION
987 WX_SUBVERSION
988 WX_CHARTYPE
989 WX_DEBUGTYPE
990 WXCONFIG_CPPFLAGS
991 WXCONFIG_CFLAGS
992 WXCONFIG_CXXFLAGS
993 WXCONFIG_LIBS
994 WXCONFIG_RPATH
995 WXCONFIG_LDFLAGS_GUI
996 WXCONFIG_RESFLAGS
997 GUIDIST
998 DISTDIR
999 SAMPLES_SUBDIRS
1000 LDFLAGS_GL
1001 OPENGL_LIBS
1002 DMALLOC_LIBS
1003 WX_VERSION_TAG
1004 RESCOMP
1005 RESFLAGS
1006 RESPROGRAMOBJ
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1009 LIBWXMACRES
1010 POSTLINK_COMMAND
1011 MACSETFILE
1012 GCC
1013 DLLTOOL
1014 CPPUNIT_CONFIG
1015 LIBOBJS
1016 LTLIBOBJS'
1017 ac_subst_files=''
1018 ac_precious_vars='build_alias
1019 host_alias
1020 target_alias
1021 CC
1022 CFLAGS
1023 LDFLAGS
1024 LIBS
1025 CPPFLAGS
1026 CPP
1027 CXX
1028 CXXFLAGS
1029 CCC
1030 PKG_CONFIG
1031 DIRECTFB_CFLAGS
1032 DIRECTFB_LIBS
1033 XMKMF
1034 PANGOX_CFLAGS
1035 PANGOX_LIBS
1036 PANGOFT2_CFLAGS
1037 PANGOFT2_LIBS
1038 PANGOXFT_CFLAGS
1039 PANGOXFT_LIBS
1040 GTKPRINT_CFLAGS
1041 GTKPRINT_LIBS
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1044 GNOMEVFS_CFLAGS
1045 GNOMEVFS_LIBS
1046 HILDON_CFLAGS
1047 HILDON_LIBS
1048 CAIRO_CFLAGS
1049 CAIRO_LIBS
1050 GST_CFLAGS
1051 GST_LIBS'
1052 ac_subdirs_all='src/tiff
1053 src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --disable-gui don't build GUI parts of the library
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-official_build official build of wxWidgets (win32 DLL only)
1636 --enable-vendor=VENDOR vendor name (win32 DLL only)
1637 --disable-all-features disable all optional features to build minimal library
1638 --enable-universal use wxWidgets GUI controls instead of native ones
1639 --enable-nanox use NanoX
1640 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1641 --enable-gpe use GNOME PDA Environment features if possible
1642 --disable-shared create static library instead of shared
1643 --disable-optimise create optimised code
1644 --enable-debug same as debug_flag and debug_info
1645 --enable-stl use STL for containers
1646 --enable-std_iostreams use standard C++ stream classes
1647 --enable-std_string use standard C++ string classes
1648 --disable-unicode compile without Unicode support
1649 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1650 --enable-utf8 use UTF-8 representation for strings (Unix only)
1651 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1652 --enable-extended_rtti use extended RTTI (XTI)
1653 --enable-omf use OMF object format
1654 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1655 --enable-debug_info create code with debugging information
1656 --enable-debug_gdb create code with extra GDB debugging information
1657 --enable-debug_cntxt use wxDebugContext
1658 --enable-mem_tracing create code with memory tracing
1659 --enable-profile create code with profiling information
1660 --enable-no_rtti create code without RTTI information
1661 --enable-no_exceptions create code without C++ exceptions handling
1662 --enable-permissive compile code disregarding strict ANSI
1663 --enable-no_deps create code without dependency information
1664 --disable-vararg_macros don't use vararg macros, even if they are supported
1665 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1666 --enable-compat26 enable wxWidgets 2.6 compatibility
1667 --disable-compat28 disable wxWidgets 2.8 compatibility
1668 --disable-rpath disable use of rpath for uninstalled builds
1669 --enable-objc_uniquifying enable Objective-C class name uniquifying
1670 --disable-visibility disable use of ELF symbols visibility even if supported
1671 --enable-intl use internationalization system
1672 --enable-config use wxConfig (and derived) classes
1673 --enable-protocols use wxProtocol and derived classes
1674 --enable-ftp use wxFTP (requires wxProtocol
1675 --enable-http use wxHTTP (requires wxProtocol
1676 --enable-fileproto use wxFileProto class (requires wxProtocol
1677 --enable-sockets use socket/network classes
1678 --enable-ipv6 enable IPv6 support in wxSocket
1679 --enable-ole use OLE classes (Win32 only)
1680 --enable-dataobj use data object classes
1681 --enable-ipc use interprocess communication (wxSocket etc.)
1682 --enable-baseevtloop use event loop in console programs too
1683 --enable-epollloop use wxEpollDispatcher class (Linux only)
1684 --enable-selectloop use wxSelectDispatcher class
1685 --enable-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding/decoding functions
1688 --enable-backtrace use wxStackWalker class for getting backtraces
1689 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class for DLL loading
1695 --enable-dynamicloader use (new) wxDynamicLibrary class
1696 --enable-exceptions build exception-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual file systems classes
1700 --enable-fontenum use wxFontEnumerator class
1701 --enable-fontmap use font encodings conversion classes
1702 --enable-fs_archive use virtual archive filesystems
1703 --enable-fs_inet use virtual HTTP/FTP filesystems
1704 --enable-fs_zip now replaced by fs_archive
1705 --enable-geometry use geometry class
1706 --enable-log use logging system
1707 --enable-longlong use wxLongLong class
1708 --enable-mimetype use wxMimeTypesManager
1709 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1710 --enable-snglinst use wxSingleInstanceChecker class
1711 --enable-sound use wxSound class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-variant use wxVariant class
1721 --enable-weakref make wxEvtHandler trackable with wxWeakRef<>
1722 --enable-zipstream use wxZip streams
1723 --enable-url use wxURL class
1724 --enable-protocol use wxProtocol class
1725 --enable-protocol-http HTTP support in wxProtocol
1726 --enable-protocol-ftp FTP support in wxProtocol
1727 --enable-protocol-file FILE support in wxProtocol
1728 --enable-threads use threads
1729 --enable-iniconf use wxIniConfig (Win32 only)
1730 --enable-regkey use wxRegKey class (Win32 only)
1731 --enable-docview use document view architecture
1732 --enable-help use help subsystem
1733 --enable-mshtmlhelp use MS HTML Help (win32)
1734 --enable-html use wxHTML sub-library
1735 --enable-htmlhelp use wxHTML-based help
1736 --enable-xrc use XRC resources sub-library
1737 --enable-aui use AUI docking library
1738 --enable-stc use wxStyledTextCtrl library
1739 --enable-constraints use layout-constraints system
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-mediactrl use wxMediaCtrl class
1746 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-printarch use printing architecture
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-filectrl use wxFileCtrl class
1779 --enable-fontpicker use wxFontPickerCtrl class
1780 --enable-gauge use wxGauge class
1781 --enable-grid use wxGrid class
1782 --enable-dataviewctrl use wxDataViewCtrl class
1783 --enable-hyperlink use wxHyperlinkCtrl class
1784 --enable-imaglist use wxImageList class
1785 --enable-listbook use wxListbook class
1786 --enable-listbox use wxListBox class
1787 --enable-listctrl use wxListCtrl class
1788 --enable-notebook use wxNotebook class
1789 --enable-notifmsg use wxNotificationMessage class
1790 --enable-odcombobox use wxOwnerDrawnComboBox class
1791 --enable-radiobox use wxRadioBox class
1792 --enable-radiobtn use wxRadioButton class
1793 --enable-sash use wxSashWindow class
1794 --enable-scrollbar use wxScrollBar class and scrollable windows
1795 --enable-searchctrl use wxSearchCtrl class
1796 --enable-slider use wxSlider class
1797 --enable-spinbtn use wxSpinButton class
1798 --enable-spinctrl use wxSpinCtrl class
1799 --enable-splitter use wxSplitterWindow class
1800 --enable-statbmp use wxStaticBitmap class
1801 --enable-statbox use wxStaticBox class
1802 --enable-statline use wxStaticLine class
1803 --enable-stattext use wxStaticText class
1804 --enable-statusbar use wxStatusBar class
1805 --enable-tabdialog use wxTabControl class
1806 --enable-taskbaricon use wxTaskBarIcon class
1807 --enable-textctrl use wxTextCtrl class
1808 --enable-togglebtn use wxToggleButton class
1809 --enable-toolbar use wxToolBar class
1810 --enable-tbarnative use native wxToolBar class
1811 --enable-treebook use wxTreebook class
1812 --enable-toolbook use wxToolbook class
1813 --enable-treectrl use wxTreeCtrl class
1814 --enable-tipwindow use wxTipWindow class
1815 --enable-popupwin use wxPopUpWindow class
1816 --enable-commondlg use all common dialogs
1817 --enable-aboutdlg use wxAboutBox
1818 --enable-choicedlg use wxChoiceDialog
1819 --enable-coldlg use wxColourDialog
1820 --enable-filedlg use wxFileDialog
1821 --enable-finddlg use wxFindReplaceDialog
1822 --enable-fontdlg use wxFontDialog
1823 --enable-dirdlg use wxDirDialog
1824 --enable-msgdlg use wxMessageDialog
1825 --enable-numberdlg use wxNumberEntryDialog
1826 --enable-splash use wxSplashScreen
1827 --enable-textdlg use wxTextDialog
1828 --enable-tipdlg use startup tips
1829 --enable-progressdlg use wxProgressDialog
1830 --enable-wizarddlg use wxWizard
1831 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1832 --enable-miniframe use wxMiniFrame class
1833 --enable-tooltips use wxToolTip class
1834 --enable-splines use spline drawing code
1835 --enable-mousewheel use mousewheel
1836 --enable-validators use wxValidator and derived classes
1837 --enable-busyinfo use wxBusyInfo
1838 --enable-joystick use wxJoystick
1839 --enable-metafiles use wxMetaFile (Win32 only)
1840 --enable-dragimage use wxDragImage
1841 --enable-accessibility enable accessibility support
1842 --enable-palette use wxPalette class
1843 --enable-image use wxImage class
1844 --enable-gif use gif images (GIF file format)
1845 --enable-pcx use pcx images (PCX file format)
1846 --enable-tga use tga images (TGA file format)
1847 --enable-iff use iff images (IFF file format)
1848 --enable-pnm use pnm images (PNM file format)
1849 --enable-xpm use xpm images (XPM file format)
1850 --enable-ico_cur use Windows ICO and CUR formats
1851 --enable-dccache cache temporary wxDC objects (Win32 only)
1852 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1853 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1854 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1855 --enable-wxdib use wxDIB class (Win32 only)
1856 --enable-autoidman use automatic ids management
1857 --disable-largefile omit support for large files
1858 --disable-gtktest do not try to compile and run a test GTK+ program
1859 --disable-gtktest Do not try to compile and run a test GTK program
1860 --disable-sdltest Do not try to compile and run a test SDL program
1861 --enable-omf use OMF object format (OS/2)
1862 --disable-dependency-tracking
1863 don't use dependency tracking even if the compiler
1864 can
1865 --disable-precomp-headers
1866 don't use precompiled headers even if compiler can
1867
1868 Optional Packages:
1869 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1870 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1871 --without-subdirs don't generate makefiles for samples/demos/...
1872 --with-flavour=NAME specify a name to identify this build
1873 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1874 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1875 --with-motif use Motif/Lesstif
1876 --with-mac use Mac OS X
1877 --with-cocoa use Cocoa
1878 --with-wine use Wine
1879 --with-msw use MS-Windows
1880 --with-pm use OS/2 Presentation Manager
1881 --with-mgl use SciTech MGL
1882 --with-directfb use DirectFB
1883 --with-microwin use MicroWindows
1884 --with-x11 use X11
1885 --with-libpng use libpng (PNG image format)
1886 --with-libjpeg use libjpeg (JPEG file format)
1887 --with-libtiff use libtiff (TIFF file format)
1888 --with-libxpm use libxpm (XPM file format)
1889 --with-libiconv use libiconv (character conversion)
1890 --with-libmspack use libmspack (CHM help files loading)
1891 --without-gtkprint don't use GTK printing support
1892 --without-gnomeprint don't use GNOME printing libraries
1893 --with-gnomevfs use GNOME VFS for associating MIME types
1894 --with-hildon use Hildon framework for Nokia 770
1895 --with-opengl use OpenGL (or Mesa)
1896 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1897 --with-sdl use SDL for audio on Unix
1898 --with-regex enable support for wxRegEx class
1899 --with-zlib use zlib for LZW compression
1900 --with-expat enable XML support using expat parser
1901 --with-macosx-sdk=PATH use an OS X SDK at PATH
1902 --with-macosx-version-min=VER build binaries which require at least this OS X version
1903 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1904 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1905 --with-x use the X Window System
1906 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1907 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1908 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1909 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1910 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1911
1912 Some influential environment variables:
1913 CC C compiler command
1914 CFLAGS C compiler flags
1915 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1916 nonstandard directory <lib dir>
1917 LIBS libraries to pass to the linker, e.g. -l<library>
1918 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1919 you have headers in a nonstandard directory <include dir>
1920 CPP C preprocessor
1921 CXX C++ compiler command
1922 CXXFLAGS C++ compiler flags
1923 PKG_CONFIG path to pkg-config utility
1924 DIRECTFB_CFLAGS
1925 C compiler flags for DIRECTFB, overriding pkg-config
1926 DIRECTFB_LIBS
1927 linker flags for DIRECTFB, overriding pkg-config
1928 XMKMF Path to xmkmf, Makefile generator for X Window System
1929 PANGOX_CFLAGS
1930 C compiler flags for PANGOX, overriding pkg-config
1931 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1932 PANGOFT2_CFLAGS
1933 C compiler flags for PANGOFT2, overriding pkg-config
1934 PANGOFT2_LIBS
1935 linker flags for PANGOFT2, overriding pkg-config
1936 PANGOXFT_CFLAGS
1937 C compiler flags for PANGOXFT, overriding pkg-config
1938 PANGOXFT_LIBS
1939 linker flags for PANGOXFT, overriding pkg-config
1940 GTKPRINT_CFLAGS
1941 C compiler flags for GTKPRINT, overriding pkg-config
1942 GTKPRINT_LIBS
1943 linker flags for GTKPRINT, overriding pkg-config
1944 LIBGNOMEPRINTUI_CFLAGS
1945 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1946 LIBGNOMEPRINTUI_LIBS
1947 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 GNOMEVFS_CFLAGS
1949 C compiler flags for GNOMEVFS, overriding pkg-config
1950 GNOMEVFS_LIBS
1951 linker flags for GNOMEVFS, overriding pkg-config
1952 HILDON_CFLAGS
1953 C compiler flags for HILDON, overriding pkg-config
1954 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1955 CAIRO_CFLAGS
1956 C compiler flags for CAIRO, overriding pkg-config
1957 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1958 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1959 GST_LIBS linker flags for GST, overriding pkg-config
1960
1961 Use these variables to override the choices made by `configure' or to help
1962 it to find libraries and programs with nonstandard names/locations.
1963
1964 Report bugs to <wx-dev@lists.wxwidgets.org>.
1965 _ACEOF
1966 ac_status=$?
1967 fi
1968
1969 if test "$ac_init_help" = "recursive"; then
1970 # If there are subdirs, report their specific --help.
1971 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1972 test -d "$ac_dir" || continue
1973 ac_builddir=.
1974
1975 case "$ac_dir" in
1976 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *)
1978 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1979 # A ".." for each directory in $ac_dir_suffix.
1980 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1981 case $ac_top_builddir_sub in
1982 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1983 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1984 esac ;;
1985 esac
1986 ac_abs_top_builddir=$ac_pwd
1987 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1988 # for backward compatibility:
1989 ac_top_builddir=$ac_top_build_prefix
1990
1991 case $srcdir in
1992 .) # We are building in place.
1993 ac_srcdir=.
1994 ac_top_srcdir=$ac_top_builddir_sub
1995 ac_abs_top_srcdir=$ac_pwd ;;
1996 [\\/]* | ?:[\\/]* ) # Absolute name.
1997 ac_srcdir=$srcdir$ac_dir_suffix;
1998 ac_top_srcdir=$srcdir
1999 ac_abs_top_srcdir=$srcdir ;;
2000 *) # Relative name.
2001 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2002 ac_top_srcdir=$ac_top_build_prefix$srcdir
2003 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2004 esac
2005 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2006
2007 cd "$ac_dir" || { ac_status=$?; continue; }
2008 # Check for guested configure.
2009 if test -f "$ac_srcdir/configure.gnu"; then
2010 echo &&
2011 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2012 elif test -f "$ac_srcdir/configure"; then
2013 echo &&
2014 $SHELL "$ac_srcdir/configure" --help=recursive
2015 else
2016 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2017 fi || ac_status=$?
2018 cd "$ac_pwd" || { ac_status=$?; break; }
2019 done
2020 fi
2021
2022 test -n "$ac_init_help" && exit $ac_status
2023 if $ac_init_version; then
2024 cat <<\_ACEOF
2025 wxWidgets configure 2.9.0
2026 generated by GNU Autoconf 2.61
2027
2028 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2029 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2030 This configure script is free software; the Free Software Foundation
2031 gives unlimited permission to copy, distribute and modify it.
2032 _ACEOF
2033 exit
2034 fi
2035 cat >config.log <<_ACEOF
2036 This file contains any messages produced by compilers while
2037 running configure, to aid debugging if configure makes a mistake.
2038
2039 It was created by wxWidgets $as_me 2.9.0, which was
2040 generated by GNU Autoconf 2.61. Invocation command line was
2041
2042 $ $0 $@
2043
2044 _ACEOF
2045 exec 5>>config.log
2046 {
2047 cat <<_ASUNAME
2048 ## --------- ##
2049 ## Platform. ##
2050 ## --------- ##
2051
2052 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2053 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2054 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2055 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2056 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2057
2058 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2059 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2060
2061 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2062 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2063 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2064 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2065 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2066 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2067 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2068
2069 _ASUNAME
2070
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 echo "PATH: $as_dir"
2077 done
2078 IFS=$as_save_IFS
2079
2080 } >&5
2081
2082 cat >&5 <<_ACEOF
2083
2084
2085 ## ----------- ##
2086 ## Core tests. ##
2087 ## ----------- ##
2088
2089 _ACEOF
2090
2091
2092 # Keep a trace of the command line.
2093 # Strip out --no-create and --no-recursion so they do not pile up.
2094 # Strip out --silent because we don't want to record it for future runs.
2095 # Also quote any args containing shell meta-characters.
2096 # Make two passes to allow for proper duplicate-argument suppression.
2097 ac_configure_args=
2098 ac_configure_args0=
2099 ac_configure_args1=
2100 ac_must_keep_next=false
2101 for ac_pass in 1 2
2102 do
2103 for ac_arg
2104 do
2105 case $ac_arg in
2106 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2108 | -silent | --silent | --silen | --sile | --sil)
2109 continue ;;
2110 *\'*)
2111 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2112 esac
2113 case $ac_pass in
2114 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2115 2)
2116 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2117 if test $ac_must_keep_next = true; then
2118 ac_must_keep_next=false # Got value, back to normal.
2119 else
2120 case $ac_arg in
2121 *=* | --config-cache | -C | -disable-* | --disable-* \
2122 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2123 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2124 | -with-* | --with-* | -without-* | --without-* | --x)
2125 case "$ac_configure_args0 " in
2126 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2127 esac
2128 ;;
2129 -* ) ac_must_keep_next=true ;;
2130 esac
2131 fi
2132 ac_configure_args="$ac_configure_args '$ac_arg'"
2133 ;;
2134 esac
2135 done
2136 done
2137 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2138 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2139
2140 # When interrupted or exit'd, cleanup temporary files, and complete
2141 # config.log. We remove comments because anyway the quotes in there
2142 # would cause problems or look ugly.
2143 # WARNING: Use '\'' to represent an apostrophe within the trap.
2144 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2145 trap 'exit_status=$?
2146 # Save into config.log some information that might help in debugging.
2147 {
2148 echo
2149
2150 cat <<\_ASBOX
2151 ## ---------------- ##
2152 ## Cache variables. ##
2153 ## ---------------- ##
2154 _ASBOX
2155 echo
2156 # The following way of writing the cache mishandles newlines in values,
2157 (
2158 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2159 eval ac_val=\$$ac_var
2160 case $ac_val in #(
2161 *${as_nl}*)
2162 case $ac_var in #(
2163 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2164 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2165 esac
2166 case $ac_var in #(
2167 _ | IFS | as_nl) ;; #(
2168 *) $as_unset $ac_var ;;
2169 esac ;;
2170 esac
2171 done
2172 (set) 2>&1 |
2173 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2174 *${as_nl}ac_space=\ *)
2175 sed -n \
2176 "s/'\''/'\''\\\\'\'''\''/g;
2177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2178 ;; #(
2179 *)
2180 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 ;;
2182 esac |
2183 sort
2184 )
2185 echo
2186
2187 cat <<\_ASBOX
2188 ## ----------------- ##
2189 ## Output variables. ##
2190 ## ----------------- ##
2191 _ASBOX
2192 echo
2193 for ac_var in $ac_subst_vars
2194 do
2195 eval ac_val=\$$ac_var
2196 case $ac_val in
2197 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2198 esac
2199 echo "$ac_var='\''$ac_val'\''"
2200 done | sort
2201 echo
2202
2203 if test -n "$ac_subst_files"; then
2204 cat <<\_ASBOX
2205 ## ------------------- ##
2206 ## File substitutions. ##
2207 ## ------------------- ##
2208 _ASBOX
2209 echo
2210 for ac_var in $ac_subst_files
2211 do
2212 eval ac_val=\$$ac_var
2213 case $ac_val in
2214 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215 esac
2216 echo "$ac_var='\''$ac_val'\''"
2217 done | sort
2218 echo
2219 fi
2220
2221 if test -s confdefs.h; then
2222 cat <<\_ASBOX
2223 ## ----------- ##
2224 ## confdefs.h. ##
2225 ## ----------- ##
2226 _ASBOX
2227 echo
2228 cat confdefs.h
2229 echo
2230 fi
2231 test "$ac_signal" != 0 &&
2232 echo "$as_me: caught signal $ac_signal"
2233 echo "$as_me: exit $exit_status"
2234 } >&5
2235 rm -f core *.core core.conftest.* &&
2236 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2237 exit $exit_status
2238 ' 0
2239 for ac_signal in 1 2 13 15; do
2240 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2241 done
2242 ac_signal=0
2243
2244 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2245 rm -f -r conftest* confdefs.h
2246
2247 # Predefined preprocessor variables.
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_NAME "$PACKAGE_NAME"
2251 _ACEOF
2252
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2256 _ACEOF
2257
2258
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2261 _ACEOF
2262
2263
2264 cat >>confdefs.h <<_ACEOF
2265 #define PACKAGE_STRING "$PACKAGE_STRING"
2266 _ACEOF
2267
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271 _ACEOF
2272
2273
2274 # Let the site file select an alternate cache file if it wants to.
2275 # Prefer explicitly selected file to automatically selected ones.
2276 if test -n "$CONFIG_SITE"; then
2277 set x "$CONFIG_SITE"
2278 elif test "x$prefix" != xNONE; then
2279 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2280 else
2281 set x "$ac_default_prefix/share/config.site" \
2282 "$ac_default_prefix/etc/config.site"
2283 fi
2284 shift
2285 for ac_site_file
2286 do
2287 if test -r "$ac_site_file"; then
2288 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2289 echo "$as_me: loading site script $ac_site_file" >&6;}
2290 sed 's/^/| /' "$ac_site_file" >&5
2291 . "$ac_site_file"
2292 fi
2293 done
2294
2295 if test -r "$cache_file"; then
2296 # Some versions of bash will fail to source /dev/null (special
2297 # files actually), so we avoid doing that.
2298 if test -f "$cache_file"; then
2299 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2300 echo "$as_me: loading cache $cache_file" >&6;}
2301 case $cache_file in
2302 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2303 *) . "./$cache_file";;
2304 esac
2305 fi
2306 else
2307 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2308 echo "$as_me: creating cache $cache_file" >&6;}
2309 >$cache_file
2310 fi
2311
2312 # Check that the precious variables saved in the cache have kept the same
2313 # value.
2314 ac_cache_corrupted=false
2315 for ac_var in $ac_precious_vars; do
2316 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2317 eval ac_new_set=\$ac_env_${ac_var}_set
2318 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2319 eval ac_new_val=\$ac_env_${ac_var}_value
2320 case $ac_old_set,$ac_new_set in
2321 set,)
2322 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2323 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2325 ,set)
2326 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2327 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2329 ,);;
2330 *)
2331 if test "x$ac_old_val" != "x$ac_new_val"; then
2332 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2333 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2334 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2335 echo "$as_me: former value: $ac_old_val" >&2;}
2336 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2337 echo "$as_me: current value: $ac_new_val" >&2;}
2338 ac_cache_corrupted=:
2339 fi;;
2340 esac
2341 # Pass precious variables to config.status.
2342 if test "$ac_new_set" = set; then
2343 case $ac_new_val in
2344 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2345 *) ac_arg=$ac_var=$ac_new_val ;;
2346 esac
2347 case " $ac_configure_args " in
2348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2349 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2350 esac
2351 fi
2352 done
2353 if $ac_cache_corrupted; then
2354 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2355 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2356 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2357 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2358 { (exit 1); exit 1; }; }
2359 fi
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385 ac_ext=c
2386 ac_cpp='$CPP $CPPFLAGS'
2387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390
2391
2392
2393
2394
2395 ac_aux_dir=
2396 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2397 if test -f "$ac_dir/install-sh"; then
2398 ac_aux_dir=$ac_dir
2399 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 break
2401 elif test -f "$ac_dir/install.sh"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 break
2405 elif test -f "$ac_dir/shtool"; then
2406 ac_aux_dir=$ac_dir
2407 ac_install_sh="$ac_aux_dir/shtool install -c"
2408 break
2409 fi
2410 done
2411 if test -z "$ac_aux_dir"; then
2412 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2413 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2414 { (exit 1); exit 1; }; }
2415 fi
2416
2417 # These three variables are undocumented and unsupported,
2418 # and are intended to be withdrawn in a future Autoconf release.
2419 # They can cause serious problems if a builder's source tree is in a directory
2420 # whose full name contains unusual characters.
2421 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2422 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2423 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2424
2425
2426 # Make sure we can run config.sub.
2427 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2428 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2429 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2430 { (exit 1); exit 1; }; }
2431
2432 { echo "$as_me:$LINENO: checking build system type" >&5
2433 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2434 if test "${ac_cv_build+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 else
2437 ac_build_alias=$build_alias
2438 test "x$ac_build_alias" = x &&
2439 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2440 test "x$ac_build_alias" = x &&
2441 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2442 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2443 { (exit 1); exit 1; }; }
2444 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2445 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2446 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2447 { (exit 1); exit 1; }; }
2448
2449 fi
2450 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2451 echo "${ECHO_T}$ac_cv_build" >&6; }
2452 case $ac_cv_build in
2453 *-*-*) ;;
2454 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2455 echo "$as_me: error: invalid value of canonical build" >&2;}
2456 { (exit 1); exit 1; }; };;
2457 esac
2458 build=$ac_cv_build
2459 ac_save_IFS=$IFS; IFS='-'
2460 set x $ac_cv_build
2461 shift
2462 build_cpu=$1
2463 build_vendor=$2
2464 shift; shift
2465 # Remember, the first character of IFS is used to create $*,
2466 # except with old shells:
2467 build_os=$*
2468 IFS=$ac_save_IFS
2469 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2470
2471
2472 { echo "$as_me:$LINENO: checking host system type" >&5
2473 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2474 if test "${ac_cv_host+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 else
2477 if test "x$host_alias" = x; then
2478 ac_cv_host=$ac_cv_build
2479 else
2480 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2481 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2482 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2483 { (exit 1); exit 1; }; }
2484 fi
2485
2486 fi
2487 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2488 echo "${ECHO_T}$ac_cv_host" >&6; }
2489 case $ac_cv_host in
2490 *-*-*) ;;
2491 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2492 echo "$as_me: error: invalid value of canonical host" >&2;}
2493 { (exit 1); exit 1; }; };;
2494 esac
2495 host=$ac_cv_host
2496 ac_save_IFS=$IFS; IFS='-'
2497 set x $ac_cv_host
2498 shift
2499 host_cpu=$1
2500 host_vendor=$2
2501 shift; shift
2502 # Remember, the first character of IFS is used to create $*,
2503 # except with old shells:
2504 host_os=$*
2505 IFS=$ac_save_IFS
2506 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2507
2508
2509 { echo "$as_me:$LINENO: checking target system type" >&5
2510 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2511 if test "${ac_cv_target+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 if test "x$target_alias" = x; then
2515 ac_cv_target=$ac_cv_host
2516 else
2517 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2521 fi
2522
2523 fi
2524 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2525 echo "${ECHO_T}$ac_cv_target" >&6; }
2526 case $ac_cv_target in
2527 *-*-*) ;;
2528 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2529 echo "$as_me: error: invalid value of canonical target" >&2;}
2530 { (exit 1); exit 1; }; };;
2531 esac
2532 target=$ac_cv_target
2533 ac_save_IFS=$IFS; IFS='-'
2534 set x $ac_cv_target
2535 shift
2536 target_cpu=$1
2537 target_vendor=$2
2538 shift; shift
2539 # Remember, the first character of IFS is used to create $*,
2540 # except with old shells:
2541 target_os=$*
2542 IFS=$ac_save_IFS
2543 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2544
2545
2546 # The aliases save the names the user supplied, while $host etc.
2547 # will get canonicalized.
2548 test -n "$target_alias" &&
2549 test "$program_prefix$program_suffix$program_transform_name" = \
2550 NONENONEs,x,x, &&
2551 program_prefix=${target_alias}-
2552
2553
2554
2555 wx_major_version_number=2
2556 wx_minor_version_number=9
2557 wx_release_number=0
2558 wx_subrelease_number=0
2559
2560 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2561 WX_VERSION=$WX_RELEASE.$wx_release_number
2562 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2563
2564 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2565
2566
2567 wx_top_builddir="`pwd`"
2568
2569
2570
2571
2572 USE_UNIX=1
2573 USE_OS2=0
2574 USE_WIN32=0
2575 USE_DOS=0
2576 USE_BEOS=0
2577 USE_MAC=0
2578
2579 USE_AIX=
2580 USE_BSD= USE_DARWIN= USE_FREEBSD=
2581 USE_GNU= USE_HPUX=
2582 USE_LINUX=
2583 USE_NETBSD=
2584 USE_OPENBSD=
2585 USE_OSF= USE_SGI=
2586 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2587 USE_ULTRIX=
2588 USE_UNIXWARE=
2589
2590 USE_ALPHA=
2591
2592 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2593
2594 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2595
2596 DEFAULT_wxUSE_COCOA=0
2597 DEFAULT_wxUSE_GTK=0
2598 DEFAULT_wxUSE_MAC=0
2599 DEFAULT_wxUSE_MGL=0
2600 DEFAULT_wxUSE_MICROWIN=0
2601 DEFAULT_wxUSE_MOTIF=0
2602 DEFAULT_wxUSE_MSW=0
2603 DEFAULT_wxUSE_PM=0
2604 DEFAULT_wxUSE_X11=0
2605 DEFAULT_wxUSE_DFB=0
2606
2607 DEFAULT_DEFAULT_wxUSE_COCOA=0
2608 DEFAULT_DEFAULT_wxUSE_GTK=0
2609 DEFAULT_DEFAULT_wxUSE_MAC=0
2610 DEFAULT_DEFAULT_wxUSE_MGL=0
2611 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2612 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2613 DEFAULT_DEFAULT_wxUSE_MSW=0
2614 DEFAULT_DEFAULT_wxUSE_PM=0
2615 DEFAULT_DEFAULT_wxUSE_X11=0
2616 DEFAULT_DEFAULT_wxUSE_DFB=0
2617
2618 PROGRAM_EXT=
2619 SO_SUFFIX=so
2620 SAMPLES_RPATH_FLAG=
2621 SAMPLES_RPATH_POSTLINK=
2622
2623 DEFAULT_STD_FLAG=yes
2624
2625 case "${host}" in
2626 *-hp-hpux* )
2627 USE_HPUX=1
2628 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2630 SO_SUFFIX=sl
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __HPUX__ 1
2633 _ACEOF
2634
2635
2636 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2637 ;;
2638 *-*-linux* )
2639 USE_LINUX=1
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __LINUX__ 1
2642 _ACEOF
2643
2644 TMP=`uname -m`
2645 if test "x$TMP" = "xalpha"; then
2646 USE_ALPHA=1
2647 cat >>confdefs.h <<\_ACEOF
2648 #define __ALPHA__ 1
2649 _ACEOF
2650
2651 fi
2652 DEFAULT_DEFAULT_wxUSE_GTK=1
2653 ;;
2654 *-*-gnu* | *-*-k*bsd*-gnu )
2655 USE_GNU=1
2656 TMP=`uname -m`
2657 if test "x$TMP" = "xalpha"; then
2658 USE_ALPHA=1
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __ALPHA__ 1
2661 _ACEOF
2662
2663 fi
2664 DEFAULT_DEFAULT_wxUSE_GTK=1
2665 ;;
2666 *-*-irix5* | *-*-irix6* )
2667 USE_SGI=1
2668 USE_SVR4=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SGI__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SVR4__ 1
2675 _ACEOF
2676
2677 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2678 ;;
2679 *-*-solaris2* )
2680 USE_SUN=1
2681 USE_SOLARIS=1
2682 USE_SVR4=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SUN__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SOLARIS__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SVR4__ 1
2693 _ACEOF
2694
2695 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2696 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2697 ;;
2698 *-*-sunos4* )
2699 USE_SUN=1
2700 USE_SUNOS=1
2701 USE_BSD=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SUN__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __SUNOS__ 1
2708 _ACEOF
2709
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __BSD__ 1
2712 _ACEOF
2713
2714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2715 ;;
2716 *-*-freebsd*)
2717 USE_BSD=1
2718 USE_FREEBSD=1
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __FREEBSD__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __BSD__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_GTK=1
2728 ;;
2729 *-*-openbsd*|*-*-mirbsd*)
2730 USE_BSD=1
2731 USE_OPENBSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __OPENBSD__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __BSD__ 1
2738 _ACEOF
2739
2740 DEFAULT_DEFAULT_wxUSE_GTK=1
2741 ;;
2742 *-*-netbsd*)
2743 USE_BSD=1
2744 USE_NETBSD=1
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __NETBSD__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __BSD__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_GTK=1
2754 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2755
2756 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2757 ;;
2758 *-*-osf* )
2759 USE_ALPHA=1
2760 USE_OSF=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __ALPHA__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __OSF__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2771 ;;
2772 *-*-dgux5* )
2773 USE_ALPHA=1
2774 USE_SVR4=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __ALPHA__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SVR4__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2784 ;;
2785 *-*-sysv5* )
2786 USE_SYSV=1
2787 USE_SVR4=1
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __SYSV__ 1
2790 _ACEOF
2791
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __SVR4__ 1
2794 _ACEOF
2795
2796 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 ;;
2798 *-*-aix* )
2799 USE_AIX=1
2800 USE_SYSV=1
2801 USE_SVR4=1
2802 SO_SUFFIX=a
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __AIX__ 1
2805 _ACEOF
2806
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __SYSV__ 1
2809 _ACEOF
2810
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __SVR4__ 1
2813 _ACEOF
2814
2815 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 ;;
2817
2818 *-*-*UnixWare*)
2819 USE_SYSV=1
2820 USE_SVR4=1
2821 USE_UNIXWARE=1
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __UNIXWARE__ 1
2824 _ACEOF
2825
2826 ;;
2827
2828 *-*-cygwin* | *-*-mingw32* )
2829 SO_SUFFIX=dll
2830 PROGRAM_EXT=".exe"
2831 DEFAULT_DEFAULT_wxUSE_MSW=1
2832 ;;
2833
2834 *-pc-msdosdjgpp )
2835 USE_UNIX=0
2836 USE_DOS=1
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __DOS__ 1
2839 _ACEOF
2840
2841 PROGRAM_EXT=".exe"
2842 DEFAULT_DEFAULT_wxUSE_MGL=1
2843 ;;
2844
2845 *-pc-os2_emx | *-pc-os2-emx )
2846 cat >>confdefs.h <<\_ACEOF
2847 #define __EMX__ 1
2848 _ACEOF
2849
2850 USE_OS2=1
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __OS2__ 1
2853 _ACEOF
2854
2855 PROGRAM_EXT=".exe"
2856 DEFAULT_DEFAULT_wxUSE_PM=1
2857 CXX=gcc
2858 LDFLAGS="$LDFLAGS -Zcrtdll"
2859 ac_executable_extensions=".exe"
2860 export ac_executable_extensions
2861 ac_save_IFS="$IFS"
2862 IFS='\\'
2863 ac_TEMP_PATH=
2864 for ac_dir in $PATH; do
2865 IFS=$ac_save_IFS
2866 if test -z "$ac_TEMP_PATH"; then
2867 ac_TEMP_PATH="$ac_dir"
2868 else
2869 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2870 fi
2871 done
2872 export PATH="$ac_TEMP_PATH"
2873 unset ac_TEMP_PATH
2874 DEFAULT_STD_FLAG=no
2875 ;;
2876
2877 *-*-darwin* )
2878 USE_BSD=1
2879 USE_DARWIN=1
2880 SO_SUFFIX=dylib
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __BSD__ 1
2883 _ACEOF
2884
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __DARWIN__ 1
2887 _ACEOF
2888
2889 cat >>confdefs.h <<\_ACEOF
2890 #define TARGET_CARBON 1
2891 _ACEOF
2892
2893 DEFAULT_DEFAULT_wxUSE_MAC=1
2894 DEFAULT_STD_FLAG=no
2895 ;;
2896 powerpc-apple-macos* )
2897 USE_UNIX=0
2898 ac_cv_c_bigendian=yes
2899 SO_SUFFIX=shlib
2900 DEFAULT_DEFAULT_wxUSE_MAC=1
2901 DEFAULT_STD_FLAG=no
2902 ;;
2903
2904 *-*-beos* )
2905 USE_BEOS=1
2906 cat >>confdefs.h <<\_ACEOF
2907 #define __BEOS__ 1
2908 _ACEOF
2909
2910 ;;
2911
2912 *)
2913 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2914 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2915 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2916 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2917
2918 DEFAULT_DEFAULT_wxUSE_X11=1
2919 DEFAULT_wxUSE_SHARED=no
2920 esac
2921
2922
2923
2924 DEFAULT_wxUSE_ALL_FEATURES=yes
2925
2926 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2927 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2928
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_LIBGNOMEVFS=no
2931 DEFAULT_wxUSE_LIBHILDON=no
2932 DEFAULT_wxUSE_LIBMSPACK=no
2933 DEFAULT_wxUSE_LIBSDL=no
2934 DEFAULT_wxUSE_OPENGL=no
2935
2936 DEFAULT_wxUSE_ACCESSIBILITY=no
2937 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2938 DEFAULT_wxUSE_IPV6=no
2939 DEFAULT_wxUSE_MEDIACTRL=no
2940 DEFAULT_wxUSE_TAB_DIALOG=no
2941 DEFAULT_wxUSE_GSTREAMER8=no
2942
2943 DEFAULT_wxUSE_UNICODE_UTF8=auto
2944 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2945
2946 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2947
2948 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2949
2950 DEFAULT_wxUSE_GTK2=yes
2951
2952 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2953
2954
2955
2956
2957
2958 enablestring=disable
2959 defaultval=
2960 if test -z "$defaultval"; then
2961 if test x"$enablestring" = xdisable; then
2962 defaultval=yes
2963 else
2964 defaultval=no
2965 fi
2966 fi
2967
2968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2969 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2970 # Check whether --enable-gui was given.
2971 if test "${enable_gui+set}" = set; then
2972 enableval=$enable_gui;
2973 if test "$enableval" = yes; then
2974 wx_cv_use_gui='wxUSE_GUI=yes'
2975 else
2976 wx_cv_use_gui='wxUSE_GUI=no'
2977 fi
2978
2979 else
2980
2981 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2982
2983 fi
2984
2985
2986 eval "$wx_cv_use_gui"
2987
2988 if test x"$enablestring" = xdisable; then
2989 if test $wxUSE_GUI = yes; then
2990 result=no
2991 else
2992 result=yes
2993 fi
2994 else
2995 result=$wxUSE_GUI
2996 fi
2997
2998 { echo "$as_me:$LINENO: result: $result" >&5
2999 echo "${ECHO_T}$result" >&6; }
3000
3001
3002 enablestring=
3003 defaultval=
3004 if test -z "$defaultval"; then
3005 if test x"$enablestring" = xdisable; then
3006 defaultval=yes
3007 else
3008 defaultval=no
3009 fi
3010 fi
3011
3012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3014 # Check whether --enable-monolithic was given.
3015 if test "${enable_monolithic+set}" = set; then
3016 enableval=$enable_monolithic;
3017 if test "$enableval" = yes; then
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3019 else
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3021 fi
3022
3023 else
3024
3025 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3026
3027 fi
3028
3029
3030 eval "$wx_cv_use_monolithic"
3031
3032 if test x"$enablestring" = xdisable; then
3033 if test $wxUSE_MONOLITHIC = yes; then
3034 result=no
3035 else
3036 result=yes
3037 fi
3038 else
3039 result=$wxUSE_MONOLITHIC
3040 fi
3041
3042 { echo "$as_me:$LINENO: result: $result" >&5
3043 echo "${ECHO_T}$result" >&6; }
3044
3045
3046 enablestring=
3047 defaultval=
3048 if test -z "$defaultval"; then
3049 if test x"$enablestring" = xdisable; then
3050 defaultval=yes
3051 else
3052 defaultval=no
3053 fi
3054 fi
3055
3056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3058 # Check whether --enable-plugins was given.
3059 if test "${enable_plugins+set}" = set; then
3060 enableval=$enable_plugins;
3061 if test "$enableval" = yes; then
3062 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3063 else
3064 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3065 fi
3066
3067 else
3068
3069 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3070
3071 fi
3072
3073
3074 eval "$wx_cv_use_plugins"
3075
3076 if test x"$enablestring" = xdisable; then
3077 if test $wxUSE_PLUGINS = yes; then
3078 result=no
3079 else
3080 result=yes
3081 fi
3082 else
3083 result=$wxUSE_PLUGINS
3084 fi
3085
3086 { echo "$as_me:$LINENO: result: $result" >&5
3087 echo "${ECHO_T}$result" >&6; }
3088
3089
3090 withstring=without
3091 defaultval=$wxUSE_ALL_FEATURES
3092 if test -z "$defaultval"; then
3093 if test x"$withstring" = xwithout; then
3094 defaultval=yes
3095 else
3096 defaultval=no
3097 fi
3098 fi
3099 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3100 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3101
3102 # Check whether --with-subdirs was given.
3103 if test "${with_subdirs+set}" = set; then
3104 withval=$with_subdirs;
3105 if test "$withval" = yes; then
3106 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3107 else
3108 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3109 fi
3110
3111 else
3112
3113 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3114
3115 fi
3116
3117
3118 eval "$wx_cv_use_subdirs"
3119
3120 if test x"$withstring" = xwithout; then
3121 if test $wxWITH_SUBDIRS = yes; then
3122 result=no
3123 else
3124 result=yes
3125 fi
3126 else
3127 result=$wxWITH_SUBDIRS
3128 fi
3129
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3132
3133
3134 # Check whether --with-flavour was given.
3135 if test "${with_flavour+set}" = set; then
3136 withval=$with_flavour; WX_FLAVOUR="$withval"
3137 fi
3138
3139
3140 enablestring=
3141 defaultval=
3142 if test -z "$defaultval"; then
3143 if test x"$enablestring" = xdisable; then
3144 defaultval=yes
3145 else
3146 defaultval=no
3147 fi
3148 fi
3149
3150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3151 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3152 # Check whether --enable-official_build was given.
3153 if test "${enable_official_build+set}" = set; then
3154 enableval=$enable_official_build;
3155 if test "$enableval" = yes; then
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3157 else
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3159 fi
3160
3161 else
3162
3163 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3164
3165 fi
3166
3167
3168 eval "$wx_cv_use_official_build"
3169
3170 if test x"$enablestring" = xdisable; then
3171 if test $wxUSE_OFFICIAL_BUILD = yes; then
3172 result=no
3173 else
3174 result=yes
3175 fi
3176 else
3177 result=$wxUSE_OFFICIAL_BUILD
3178 fi
3179
3180 { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3182
3183 # Check whether --enable-vendor was given.
3184 if test "${enable_vendor+set}" = set; then
3185 enableval=$enable_vendor; VENDOR="$enableval"
3186 fi
3187
3188 if test "x$VENDOR" = "x"; then
3189 VENDOR="custom"
3190 fi
3191
3192
3193 enablestring=disable
3194 defaultval=
3195 if test -z "$defaultval"; then
3196 if test x"$enablestring" = xdisable; then
3197 defaultval=yes
3198 else
3199 defaultval=no
3200 fi
3201 fi
3202
3203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3204 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3205 # Check whether --enable-all-features was given.
3206 if test "${enable_all_features+set}" = set; then
3207 enableval=$enable_all_features;
3208 if test "$enableval" = yes; then
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3210 else
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3212 fi
3213
3214 else
3215
3216 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3217
3218 fi
3219
3220
3221 eval "$wx_cv_use_all_features"
3222
3223 if test x"$enablestring" = xdisable; then
3224 if test $wxUSE_ALL_FEATURES = yes; then
3225 result=no
3226 else
3227 result=yes
3228 fi
3229 else
3230 result=$wxUSE_ALL_FEATURES
3231 fi
3232
3233 { echo "$as_me:$LINENO: result: $result" >&5
3234 echo "${ECHO_T}$result" >&6; }
3235
3236
3237
3238 if test "$wxUSE_GUI" = "yes"; then
3239
3240
3241 enablestring=
3242 defaultval=
3243 if test -z "$defaultval"; then
3244 if test x"$enablestring" = xdisable; then
3245 defaultval=yes
3246 else
3247 defaultval=no
3248 fi
3249 fi
3250
3251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3252 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3253 # Check whether --enable-universal was given.
3254 if test "${enable_universal+set}" = set; then
3255 enableval=$enable_universal;
3256 if test "$enableval" = yes; then
3257 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3258 else
3259 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3260 fi
3261
3262 else
3263
3264 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3265
3266 fi
3267
3268
3269 eval "$wx_cv_use_universal"
3270
3271 if test x"$enablestring" = xdisable; then
3272 if test $wxUSE_UNIVERSAL = yes; then
3273 result=no
3274 else
3275 result=yes
3276 fi
3277 else
3278 result=$wxUSE_UNIVERSAL
3279 fi
3280
3281 { echo "$as_me:$LINENO: result: $result" >&5
3282 echo "${ECHO_T}$result" >&6; }
3283
3284 if test "$wxUSE_UNIVERSAL" = "yes"; then
3285
3286 # Check whether --with-themes was given.
3287 if test "${with_themes+set}" = set; then
3288 withval=$with_themes; wxUNIV_THEMES="$withval"
3289 fi
3290
3291 fi
3292
3293
3294 # Check whether --with-gtk was given.
3295 if test "${with_gtk+set}" = set; then
3296 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3297 fi
3298
3299
3300 # Check whether --with-motif was given.
3301 if test "${with_motif+set}" = set; then
3302 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3303 fi
3304
3305
3306 # Check whether --with-mac was given.
3307 if test "${with_mac+set}" = set; then
3308 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3309 fi
3310
3311
3312 # Check whether --with-cocoa was given.
3313 if test "${with_cocoa+set}" = set; then
3314 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3315 fi
3316
3317
3318 # Check whether --with-wine was given.
3319 if test "${with_wine+set}" = set; then
3320 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3321 fi
3322
3323
3324 # Check whether --with-msw was given.
3325 if test "${with_msw+set}" = set; then
3326 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-pm was given.
3331 if test "${with_pm+set}" = set; then
3332 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-mgl was given.
3337 if test "${with_mgl+set}" = set; then
3338 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-directfb was given.
3343 if test "${with_directfb+set}" = set; then
3344 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-microwin was given.
3349 if test "${with_microwin+set}" = set; then
3350 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-x11 was given.
3355 if test "${with_x11+set}" = set; then
3356 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 enablestring=
3361 defaultval=
3362 if test -z "$defaultval"; then
3363 if test x"$enablestring" = xdisable; then
3364 defaultval=yes
3365 else
3366 defaultval=no
3367 fi
3368 fi
3369
3370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3371 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3372 # Check whether --enable-nanox was given.
3373 if test "${enable_nanox+set}" = set; then
3374 enableval=$enable_nanox;
3375 if test "$enableval" = yes; then
3376 wx_cv_use_nanox='wxUSE_NANOX=yes'
3377 else
3378 wx_cv_use_nanox='wxUSE_NANOX=no'
3379 fi
3380
3381 else
3382
3383 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3384
3385 fi
3386
3387
3388 eval "$wx_cv_use_nanox"
3389
3390 if test x"$enablestring" = xdisable; then
3391 if test $wxUSE_NANOX = yes; then
3392 result=no
3393 else
3394 result=yes
3395 fi
3396 else
3397 result=$wxUSE_NANOX
3398 fi
3399
3400 { echo "$as_me:$LINENO: result: $result" >&5
3401 echo "${ECHO_T}$result" >&6; }
3402
3403
3404 # Check whether --enable-gtk2 was given.
3405 if test "${enable_gtk2+set}" = set; then
3406 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3407 fi
3408
3409
3410 enablestring=
3411 defaultval=
3412 if test -z "$defaultval"; then
3413 if test x"$enablestring" = xdisable; then
3414 defaultval=yes
3415 else
3416 defaultval=no
3417 fi
3418 fi
3419
3420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3421 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3422 # Check whether --enable-gpe was given.
3423 if test "${enable_gpe+set}" = set; then
3424 enableval=$enable_gpe;
3425 if test "$enableval" = yes; then
3426 wx_cv_use_gpe='wxUSE_GPE=yes'
3427 else
3428 wx_cv_use_gpe='wxUSE_GPE=no'
3429 fi
3430
3431 else
3432
3433 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3434
3435 fi
3436
3437
3438 eval "$wx_cv_use_gpe"
3439
3440 if test x"$enablestring" = xdisable; then
3441 if test $wxUSE_GPE = yes; then
3442 result=no
3443 else
3444 result=yes
3445 fi
3446 else
3447 result=$wxUSE_GPE
3448 fi
3449
3450 { echo "$as_me:$LINENO: result: $result" >&5
3451 echo "${ECHO_T}$result" >&6; }
3452
3453
3454
3455 { echo "$as_me:$LINENO: checking for toolkit" >&5
3456 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3457
3458 # In Wine, we need to default to MSW, not GTK or MOTIF
3459 if test "$wxUSE_WINE" = "yes"; then
3460 DEFAULT_DEFAULT_wxUSE_GTK=0
3461 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3462 DEFAULT_DEFAULT_wxUSE_MSW=1
3463 wxUSE_SHARED=no
3464 CC=${CC:-winegcc}
3465 CXX=${CXX:-wineg++}
3466 fi
3467
3468
3469 if test "$wxUSE_GUI" = "yes"; then
3470
3471 if test "$USE_BEOS" = 1; then
3472 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3473 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3474 { (exit 1); exit 1; }; }
3475 fi
3476
3477 if test "$TOOLKIT_GIVEN" = 1; then
3478 for toolkit in $ALL_TOOLKITS; do
3479 var=wxUSE_$toolkit
3480 eval "value=\$${var}"
3481 if test "x$value" = "xno"; then
3482 eval "$var=0"
3483 elif test "x$value" != "x"; then
3484 eval "$var=1"
3485 fi
3486
3487 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3488 eval "wx${toolkit}_VERSION=$value"
3489 fi
3490 done
3491 else
3492 for toolkit in $ALL_TOOLKITS; do
3493 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3494 eval "wxUSE_$toolkit=\$${var}"
3495 done
3496 fi
3497
3498 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3499 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3500 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3501
3502 case "${host}" in
3503 *-pc-os2_emx | *-pc-os2-emx )
3504 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3505 esac
3506
3507 case "$NUM_TOOLKITS" in
3508 1)
3509 ;;
3510 0)
3511 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3512 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3513 { (exit 1); exit 1; }; }
3514 ;;
3515 *)
3516 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3517 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3518 { (exit 1); exit 1; }; }
3519 esac
3520
3521 # to be removed when --disable-gtk2 isn't needed
3522 if test "x$wxUSE_GTK2" = "xyes"; then
3523 wxGTK_VERSION=2
3524 elif test "x$wxUSE_GTK2" = "xno"; then
3525 wxGTK_VERSION=1
3526 fi
3527
3528 for toolkit in $ALL_TOOLKITS; do
3529 var=wxUSE_$toolkit
3530 eval "value=\$${var}"
3531 if test "$value" = 1; then
3532 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3533 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3534 echo "${ECHO_T}$toolkit_echo" >&6; }
3535 fi
3536 done
3537 else
3538 if test "x$host_alias" != "x"; then
3539 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3540 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3541 else
3542 { echo "$as_me:$LINENO: result: base only" >&5
3543 echo "${ECHO_T}base only" >&6; }
3544 fi
3545 fi
3546
3547
3548
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval=$with_libpng;
3555 if test "$withval" = yes; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 else
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569 else
3570
3571 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3572
3573 fi
3574
3575
3576 eval "$wx_cv_use_libpng"
3577
3578 if test "$wxUSE_LIBPNG" = yes; then
3579 { echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6; }
3581 elif test "$wxUSE_LIBPNG" = no; then
3582 { echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6; }
3584 elif test "$wxUSE_LIBPNG" = sys; then
3585 { echo "$as_me:$LINENO: result: system version" >&5
3586 echo "${ECHO_T}system version" >&6; }
3587 elif test "$wxUSE_LIBPNG" = builtin; then
3588 { echo "$as_me:$LINENO: result: builtin version" >&5
3589 echo "${ECHO_T}builtin version" >&6; }
3590 else
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3594 fi
3595
3596
3597 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3598 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3599
3600 # Check whether --with-libjpeg was given.
3601 if test "${with_libjpeg+set}" = set; then
3602 withval=$with_libjpeg;
3603 if test "$withval" = yes; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3605 elif test "$withval" = no; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3607 elif test "$withval" = sys; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3609 elif test "$withval" = builtin; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3611 else
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3615 fi
3616
3617 else
3618
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3620
3621 fi
3622
3623
3624 eval "$wx_cv_use_libjpeg"
3625
3626 if test "$wxUSE_LIBJPEG" = yes; then
3627 { echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6; }
3629 elif test "$wxUSE_LIBJPEG" = no; then
3630 { echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6; }
3632 elif test "$wxUSE_LIBJPEG" = sys; then
3633 { echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = builtin; then
3636 { echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6; }
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644
3645 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3646 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3647
3648 # Check whether --with-libtiff was given.
3649 if test "${with_libtiff+set}" = set; then
3650 withval=$with_libtiff;
3651 if test "$withval" = yes; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3653 elif test "$withval" = no; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3655 elif test "$withval" = sys; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3657 elif test "$withval" = builtin; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3659 else
3660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3661 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3663 fi
3664
3665 else
3666
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3668
3669 fi
3670
3671
3672 eval "$wx_cv_use_libtiff"
3673
3674 if test "$wxUSE_LIBTIFF" = yes; then
3675 { echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6; }
3677 elif test "$wxUSE_LIBTIFF" = no; then
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3680 elif test "$wxUSE_LIBTIFF" = sys; then
3681 { echo "$as_me:$LINENO: result: system version" >&5
3682 echo "${ECHO_T}system version" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = builtin; then
3684 { echo "$as_me:$LINENO: result: builtin version" >&5
3685 echo "${ECHO_T}builtin version" >&6; }
3686 else
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3690 fi
3691
3692
3693 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3694 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3695
3696 # Check whether --with-libxpm was given.
3697 if test "${with_libxpm+set}" = set; then
3698 withval=$with_libxpm;
3699 if test "$withval" = yes; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3701 elif test "$withval" = no; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3703 elif test "$withval" = sys; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3705 elif test "$withval" = builtin; then
3706 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713 else
3714
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3716
3717 fi
3718
3719
3720 eval "$wx_cv_use_libxpm"
3721
3722 if test "$wxUSE_LIBXPM" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3725 elif test "$wxUSE_LIBXPM" = no; then
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 elif test "$wxUSE_LIBXPM" = sys; then
3729 { echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6; }
3731 elif test "$wxUSE_LIBXPM" = builtin; then
3732 { echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6; }
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740
3741 withstring=
3742 defaultval=$wxUSE_ALL_FEATURES
3743 if test -z "$defaultval"; then
3744 if test x"$withstring" = xwithout; then
3745 defaultval=yes
3746 else
3747 defaultval=no
3748 fi
3749 fi
3750 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3751 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3752
3753 # Check whether --with-libiconv was given.
3754 if test "${with_libiconv+set}" = set; then
3755 withval=$with_libiconv;
3756 if test "$withval" = yes; then
3757 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3758 else
3759 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3760 fi
3761
3762 else
3763
3764 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3765
3766 fi
3767
3768
3769 eval "$wx_cv_use_libiconv"
3770
3771 if test x"$withstring" = xwithout; then
3772 if test $wxUSE_LIBICONV = yes; then
3773 result=no
3774 else
3775 result=yes
3776 fi
3777 else
3778 result=$wxUSE_LIBICONV
3779 fi
3780
3781 { echo "$as_me:$LINENO: result: $result" >&5
3782 echo "${ECHO_T}$result" >&6; }
3783
3784
3785 withstring=
3786 defaultval=$wxUSE_ALL_FEATURES
3787 if test -z "$defaultval"; then
3788 if test x"$withstring" = xwithout; then
3789 defaultval=yes
3790 else
3791 defaultval=no
3792 fi
3793 fi
3794 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3795 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3796
3797 # Check whether --with-libmspack was given.
3798 if test "${with_libmspack+set}" = set; then
3799 withval=$with_libmspack;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3802 else
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3804 fi
3805
3806 else
3807
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3809
3810 fi
3811
3812
3813 eval "$wx_cv_use_libmspack"
3814
3815 if test x"$withstring" = xwithout; then
3816 if test $wxUSE_LIBMSPACK = yes; then
3817 result=no
3818 else
3819 result=yes
3820 fi
3821 else
3822 result=$wxUSE_LIBMSPACK
3823 fi
3824
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3827
3828
3829 withstring=without
3830 defaultval=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x"$withstring" = xwithout; then
3833 defaultval=yes
3834 else
3835 defaultval=no
3836 fi
3837 fi
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3840
3841 # Check whether --with-gtkprint was given.
3842 if test "${with_gtkprint+set}" = set; then
3843 withval=$with_gtkprint;
3844 if test "$withval" = yes; then
3845 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3846 else
3847 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3848 fi
3849
3850 else
3851
3852 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3853
3854 fi
3855
3856
3857 eval "$wx_cv_use_gtkprint"
3858
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_GTKPRINT = yes; then
3861 result=no
3862 else
3863 result=yes
3864 fi
3865 else
3866 result=$wxUSE_GTKPRINT
3867 fi
3868
3869 { echo "$as_me:$LINENO: result: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3871
3872
3873 withstring=without
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3877 defaultval=yes
3878 else
3879 defaultval=no
3880 fi
3881 fi
3882 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3883 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3884
3885 # Check whether --with-gnomeprint was given.
3886 if test "${with_gnomeprint+set}" = set; then
3887 withval=$with_gnomeprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3890 else
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3892 fi
3893
3894 else
3895
3896 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3897
3898 fi
3899
3900
3901 eval "$wx_cv_use_gnomeprint"
3902
3903 if test x"$withstring" = xwithout; then
3904 if test $wxUSE_LIBGNOMEPRINT = yes; then
3905 result=no
3906 else
3907 result=yes
3908 fi
3909 else
3910 result=$wxUSE_LIBGNOMEPRINT
3911 fi
3912
3913 { echo "$as_me:$LINENO: result: $result" >&5
3914 echo "${ECHO_T}$result" >&6; }
3915
3916
3917 withstring=
3918 defaultval=$wxUSE_ALL_FEATURES
3919 if test -z "$defaultval"; then
3920 if test x"$withstring" = xwithout; then
3921 defaultval=yes
3922 else
3923 defaultval=no
3924 fi
3925 fi
3926 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3927 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3928
3929 # Check whether --with-gnomevfs was given.
3930 if test "${with_gnomevfs+set}" = set; then
3931 withval=$with_gnomevfs;
3932 if test "$withval" = yes; then
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3934 else
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3936 fi
3937
3938 else
3939
3940 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3941
3942 fi
3943
3944
3945 eval "$wx_cv_use_gnomevfs"
3946
3947 if test x"$withstring" = xwithout; then
3948 if test $wxUSE_LIBGNOMEVFS = yes; then
3949 result=no
3950 else
3951 result=yes
3952 fi
3953 else
3954 result=$wxUSE_LIBGNOMEVFS
3955 fi
3956
3957 { echo "$as_me:$LINENO: result: $result" >&5
3958 echo "${ECHO_T}$result" >&6; }
3959
3960
3961 withstring=
3962 defaultval=$wxUSE_ALL_FEATURES
3963 if test -z "$defaultval"; then
3964 if test x"$withstring" = xwithout; then
3965 defaultval=yes
3966 else
3967 defaultval=no
3968 fi
3969 fi
3970 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3971 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3972
3973 # Check whether --with-hildon was given.
3974 if test "${with_hildon+set}" = set; then
3975 withval=$with_hildon;
3976 if test "$withval" = yes; then
3977 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3978 else
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3980 fi
3981
3982 else
3983
3984 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3985
3986 fi
3987
3988
3989 eval "$wx_cv_use_hildon"
3990
3991 if test x"$withstring" = xwithout; then
3992 if test $wxUSE_LIBHILDON = yes; then
3993 result=no
3994 else
3995 result=yes
3996 fi
3997 else
3998 result=$wxUSE_LIBHILDON
3999 fi
4000
4001 { echo "$as_me:$LINENO: result: $result" >&5
4002 echo "${ECHO_T}$result" >&6; }
4003
4004
4005 withstring=
4006 defaultval=$wxUSE_ALL_FEATURES
4007 if test -z "$defaultval"; then
4008 if test x"$withstring" = xwithout; then
4009 defaultval=yes
4010 else
4011 defaultval=no
4012 fi
4013 fi
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4016
4017 # Check whether --with-opengl was given.
4018 if test "${with_opengl+set}" = set; then
4019 withval=$with_opengl;
4020 if test "$withval" = yes; then
4021 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4022 else
4023 wx_cv_use_opengl='wxUSE_OPENGL=no'
4024 fi
4025
4026 else
4027
4028 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4029
4030 fi
4031
4032
4033 eval "$wx_cv_use_opengl"
4034
4035 if test x"$withstring" = xwithout; then
4036 if test $wxUSE_OPENGL = yes; then
4037 result=no
4038 else
4039 result=yes
4040 fi
4041 else
4042 result=$wxUSE_OPENGL
4043 fi
4044
4045 { echo "$as_me:$LINENO: result: $result" >&5
4046 echo "${ECHO_T}$result" >&6; }
4047
4048
4049 fi
4050
4051
4052 withstring=
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4056 defaultval=yes
4057 else
4058 defaultval=no
4059 fi
4060 fi
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4063
4064 # Check whether --with-dmalloc was given.
4065 if test "${with_dmalloc+set}" = set; then
4066 withval=$with_dmalloc;
4067 if test "$withval" = yes; then
4068 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4069 else
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4071 fi
4072
4073 else
4074
4075 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4076
4077 fi
4078
4079
4080 eval "$wx_cv_use_dmalloc"
4081
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_DMALLOC = yes; then
4084 result=no
4085 else
4086 result=yes
4087 fi
4088 else
4089 result=$wxUSE_DMALLOC
4090 fi
4091
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4094
4095
4096 withstring=
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4100 defaultval=yes
4101 else
4102 defaultval=no
4103 fi
4104 fi
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then
4110 withval=$with_sdl;
4111 if test "$withval" = yes; then
4112 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4113 else
4114 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4115 fi
4116
4117 else
4118
4119 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4120
4121 fi
4122
4123
4124 eval "$wx_cv_use_sdl"
4125
4126 if test x"$withstring" = xwithout; then
4127 if test $wxUSE_LIBSDL = yes; then
4128 result=no
4129 else
4130 result=yes
4131 fi
4132 else
4133 result=$wxUSE_LIBSDL
4134 fi
4135
4136 { echo "$as_me:$LINENO: result: $result" >&5
4137 echo "${ECHO_T}$result" >&6; }
4138
4139
4140 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4141 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4142
4143 # Check whether --with-regex was given.
4144 if test "${with_regex+set}" = set; then
4145 withval=$with_regex;
4146 if test "$withval" = yes; then
4147 wx_cv_use_regex='wxUSE_REGEX=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_regex='wxUSE_REGEX=no'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_regex='wxUSE_REGEX=sys'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_regex='wxUSE_REGEX=builtin'
4154 else
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4158 fi
4159
4160 else
4161
4162 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_regex"
4168
4169 if test "$wxUSE_REGEX" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_REGEX" = no; then
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 elif test "$wxUSE_REGEX" = sys; then
4176 { echo "$as_me:$LINENO: result: system version" >&5
4177 echo "${ECHO_T}system version" >&6; }
4178 elif test "$wxUSE_REGEX" = builtin; then
4179 { echo "$as_me:$LINENO: result: builtin version" >&5
4180 echo "${ECHO_T}builtin version" >&6; }
4181 else
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4185 fi
4186
4187
4188 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4189 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4190
4191 # Check whether --with-zlib was given.
4192 if test "${with_zlib+set}" = set; then
4193 withval=$with_zlib;
4194 if test "$withval" = yes; then
4195 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4211
4212 fi
4213
4214
4215 eval "$wx_cv_use_zlib"
4216
4217 if test "$wxUSE_ZLIB" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_ZLIB" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_ZLIB" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_ZLIB" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235
4236 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4237 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4238
4239 # Check whether --with-expat was given.
4240 if test "${with_expat+set}" = set; then
4241 withval=$with_expat;
4242 if test "$withval" = yes; then
4243 wx_cv_use_expat='wxUSE_EXPAT=yes'
4244 elif test "$withval" = no; then
4245 wx_cv_use_expat='wxUSE_EXPAT=no'
4246 elif test "$withval" = sys; then
4247 wx_cv_use_expat='wxUSE_EXPAT=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4250 else
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 else
4257
4258 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_expat"
4264
4265 if test "$wxUSE_EXPAT" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4268 elif test "$wxUSE_EXPAT" = no; then
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4271 elif test "$wxUSE_EXPAT" = sys; then
4272 { echo "$as_me:$LINENO: result: system version" >&5
4273 echo "${ECHO_T}system version" >&6; }
4274 elif test "$wxUSE_EXPAT" = builtin; then
4275 { echo "$as_me:$LINENO: result: builtin version" >&5
4276 echo "${ECHO_T}builtin version" >&6; }
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283
4284 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4285 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4286
4287 # Check whether --with-macosx-sdk was given.
4288 if test "${with_macosx_sdk+set}" = set; then
4289 withval=$with_macosx_sdk;
4290 wxUSE_MACOSX_SDK=$withval
4291 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4292
4293 fi
4294
4295 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4296 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4297
4298 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4299 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4300
4301 # Check whether --with-macosx-version-min was given.
4302 if test "${with_macosx_version_min+set}" = set; then
4303 withval=$with_macosx_version_min;
4304 wxUSE_MACOSX_VERSION_MIN=$withval
4305 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4306
4307 fi
4308
4309 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4310 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4311
4312
4313
4314 enablestring=disable
4315 defaultval=
4316 if test -z "$defaultval"; then
4317 if test x"$enablestring" = xdisable; then
4318 defaultval=yes
4319 else
4320 defaultval=no
4321 fi
4322 fi
4323
4324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4325 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4326 # Check whether --enable-shared was given.
4327 if test "${enable_shared+set}" = set; then
4328 enableval=$enable_shared;
4329 if test "$enableval" = yes; then
4330 wx_cv_use_shared='wxUSE_SHARED=yes'
4331 else
4332 wx_cv_use_shared='wxUSE_SHARED=no'
4333 fi
4334
4335 else
4336
4337 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4338
4339 fi
4340
4341
4342 eval "$wx_cv_use_shared"
4343
4344 if test x"$enablestring" = xdisable; then
4345 if test $wxUSE_SHARED = yes; then
4346 result=no
4347 else
4348 result=yes
4349 fi
4350 else
4351 result=$wxUSE_SHARED
4352 fi
4353
4354 { echo "$as_me:$LINENO: result: $result" >&5
4355 echo "${ECHO_T}$result" >&6; }
4356
4357
4358 enablestring=disable
4359 defaultval=
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4362 defaultval=yes
4363 else
4364 defaultval=no
4365 fi
4366 fi
4367
4368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4370 # Check whether --enable-optimise was given.
4371 if test "${enable_optimise+set}" = set; then
4372 enableval=$enable_optimise;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4375 else
4376 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4377 fi
4378
4379 else
4380
4381 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4382
4383 fi
4384
4385
4386 eval "$wx_cv_use_optimise"
4387
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_OPTIMISE = yes; then
4390 result=no
4391 else
4392 result=yes
4393 fi
4394 else
4395 result=$wxUSE_OPTIMISE
4396 fi
4397
4398 { echo "$as_me:$LINENO: result: $result" >&5
4399 echo "${ECHO_T}$result" >&6; }
4400
4401
4402 enablestring=
4403 defaultval=
4404 if test -z "$defaultval"; then
4405 if test x"$enablestring" = xdisable; then
4406 defaultval=yes
4407 else
4408 defaultval=no
4409 fi
4410 fi
4411
4412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4414 # Check whether --enable-debug was given.
4415 if test "${enable_debug+set}" = set; then
4416 enableval=$enable_debug;
4417 if test "$enableval" = yes; then
4418 wx_cv_use_debug='wxUSE_DEBUG=yes'
4419 else
4420 wx_cv_use_debug='wxUSE_DEBUG=no'
4421 fi
4422
4423 else
4424
4425 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4426
4427 fi
4428
4429
4430 eval "$wx_cv_use_debug"
4431
4432 if test x"$enablestring" = xdisable; then
4433 if test $wxUSE_DEBUG = yes; then
4434 result=no
4435 else
4436 result=yes
4437 fi
4438 else
4439 result=$wxUSE_DEBUG
4440 fi
4441
4442 { echo "$as_me:$LINENO: result: $result" >&5
4443 echo "${ECHO_T}$result" >&6; }
4444
4445
4446 enablestring=
4447 defaultval=
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4450 defaultval=yes
4451 else
4452 defaultval=no
4453 fi
4454 fi
4455
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4458 # Check whether --enable-stl was given.
4459 if test "${enable_stl+set}" = set; then
4460 enableval=$enable_stl;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_stl='wxUSE_STL=yes'
4463 else
4464 wx_cv_use_stl='wxUSE_STL=no'
4465 fi
4466
4467 else
4468
4469 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4470
4471 fi
4472
4473
4474 eval "$wx_cv_use_stl"
4475
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_STL = yes; then
4478 result=no
4479 else
4480 result=yes
4481 fi
4482 else
4483 result=$wxUSE_STL
4484 fi
4485
4486 { echo "$as_me:$LINENO: result: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4488
4489
4490 enablestring=
4491 defaultval=
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4494 defaultval=yes
4495 else
4496 defaultval=no
4497 fi
4498 fi
4499
4500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4501 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4502 # Check whether --enable-std_iostreams was given.
4503 if test "${enable_std_iostreams+set}" = set; then
4504 enableval=$enable_std_iostreams;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4507 else
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4509 fi
4510
4511 else
4512
4513 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4514
4515 fi
4516
4517
4518 eval "$wx_cv_use_std_iostreams"
4519
4520 if test x"$enablestring" = xdisable; then
4521 if test $wxUSE_STD_IOSTREAM = yes; then
4522 result=no
4523 else
4524 result=yes
4525 fi
4526 else
4527 result=$wxUSE_STD_IOSTREAM
4528 fi
4529
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4532
4533
4534 enablestring=
4535 defaultval=
4536 if test -z "$defaultval"; then
4537 if test x"$enablestring" = xdisable; then
4538 defaultval=yes
4539 else
4540 defaultval=no
4541 fi
4542 fi
4543
4544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4546 # Check whether --enable-std_string was given.
4547 if test "${enable_std_string+set}" = set; then
4548 enableval=$enable_std_string;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4551 else
4552 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4553 fi
4554
4555 else
4556
4557 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4558
4559 fi
4560
4561
4562 eval "$wx_cv_use_std_string"
4563
4564 if test x"$enablestring" = xdisable; then
4565 if test $wxUSE_STD_STRING = yes; then
4566 result=no
4567 else
4568 result=yes
4569 fi
4570 else
4571 result=$wxUSE_STD_STRING
4572 fi
4573
4574 { echo "$as_me:$LINENO: result: $result" >&5
4575 echo "${ECHO_T}$result" >&6; }
4576
4577
4578 enablestring=disable
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4590 # Check whether --enable-unicode was given.
4591 if test "${enable_unicode+set}" = set; then
4592 enableval=$enable_unicode;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4595 else
4596 wx_cv_use_unicode='wxUSE_UNICODE=no'
4597 fi
4598
4599 else
4600
4601 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4602
4603 fi
4604
4605
4606 eval "$wx_cv_use_unicode"
4607
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_UNICODE = yes; then
4610 result=no
4611 else
4612 result=yes
4613 fi
4614 else
4615 result=$wxUSE_UNICODE
4616 fi
4617
4618 { echo "$as_me:$LINENO: result: $result" >&5
4619 echo "${ECHO_T}$result" >&6; }
4620
4621
4622 enablestring=
4623 defaultval=
4624 if test -z "$defaultval"; then
4625 if test x"$enablestring" = xdisable; then
4626 defaultval=yes
4627 else
4628 defaultval=no
4629 fi
4630 fi
4631
4632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4634 # Check whether --enable-mslu was given.
4635 if test "${enable_mslu+set}" = set; then
4636 enableval=$enable_mslu;
4637 if test "$enableval" = yes; then
4638 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4639 else
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4641 fi
4642
4643 else
4644
4645 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4646
4647 fi
4648
4649
4650 eval "$wx_cv_use_mslu"
4651
4652 if test x"$enablestring" = xdisable; then
4653 if test $wxUSE_UNICODE_MSLU = yes; then
4654 result=no
4655 else
4656 result=yes
4657 fi
4658 else
4659 result=$wxUSE_UNICODE_MSLU
4660 fi
4661
4662 { echo "$as_me:$LINENO: result: $result" >&5
4663 echo "${ECHO_T}$result" >&6; }
4664
4665
4666 enablestring=
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4669 # Check whether --enable-utf8 was given.
4670 if test "${enable_utf8+set}" = set; then
4671 enableval=$enable_utf8;
4672 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4673
4674 else
4675
4676 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4677
4678 fi
4679
4680
4681 eval "$wx_cv_use_utf8"
4682
4683 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4684 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4685
4686
4687 enablestring=
4688 defaultval=
4689 if test -z "$defaultval"; then
4690 if test x"$enablestring" = xdisable; then
4691 defaultval=yes
4692 else
4693 defaultval=no
4694 fi
4695 fi
4696
4697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4699 # Check whether --enable-utf8only was given.
4700 if test "${enable_utf8only+set}" = set; then
4701 enableval=$enable_utf8only;
4702 if test "$enableval" = yes; then
4703 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4704 else
4705 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4706 fi
4707
4708 else
4709
4710 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4711
4712 fi
4713
4714
4715 eval "$wx_cv_use_utf8only"
4716
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4719 result=no
4720 else
4721 result=yes
4722 fi
4723 else
4724 result=$wxUSE_UNICODE_UTF8_LOCALE
4725 fi
4726
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4729
4730
4731 enablestring=
4732 defaultval=
4733 if test -z "$defaultval"; then
4734 if test x"$enablestring" = xdisable; then
4735 defaultval=yes
4736 else
4737 defaultval=no
4738 fi
4739 fi
4740
4741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4742 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4743 # Check whether --enable-extended_rtti was given.
4744 if test "${enable_extended_rtti+set}" = set; then
4745 enableval=$enable_extended_rtti;
4746 if test "$enableval" = yes; then
4747 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4748 else
4749 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4750 fi
4751
4752 else
4753
4754 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4755
4756 fi
4757
4758
4759 eval "$wx_cv_use_extended_rtti"
4760
4761 if test x"$enablestring" = xdisable; then
4762 if test $wxUSE_EXTENDED_RTTI = yes; then
4763 result=no
4764 else
4765 result=yes
4766 fi
4767 else
4768 result=$wxUSE_EXTENDED_RTTI
4769 fi
4770
4771 { echo "$as_me:$LINENO: result: $result" >&5
4772 echo "${ECHO_T}$result" >&6; }
4773
4774 if test "$USE_OS2" = 1; then
4775 DEFAULT_wxUSE_OMF=no
4776
4777 enablestring=
4778 defaultval=
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4781 defaultval=yes
4782 else
4783 defaultval=no
4784 fi
4785 fi
4786
4787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4789 # Check whether --enable-omf was given.
4790 if test "${enable_omf+set}" = set; then
4791 enableval=$enable_omf;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_omf='wxUSE_OMF=yes'
4794 else
4795 wx_cv_use_omf='wxUSE_OMF=no'
4796 fi
4797
4798 else
4799
4800 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4801
4802 fi
4803
4804
4805 eval "$wx_cv_use_omf"
4806
4807 if test x"$enablestring" = xdisable; then
4808 if test $wxUSE_OMF = yes; then
4809 result=no
4810 else
4811 result=yes
4812 fi
4813 else
4814 result=$wxUSE_OMF
4815 fi
4816
4817 { echo "$as_me:$LINENO: result: $result" >&5
4818 echo "${ECHO_T}$result" >&6; }
4819
4820 fi
4821
4822 if test "$wxUSE_DEBUG" = "yes"; then
4823 DEFAULT_wxUSE_DEBUG_FLAG=yes
4824 DEFAULT_wxUSE_DEBUG_INFO=yes
4825 BUILD=debug
4826 elif test "$wxUSE_DEBUG" = "no"; then
4827 DEFAULT_wxUSE_DEBUG_FLAG=no
4828 DEFAULT_wxUSE_DEBUG_INFO=no
4829 BUILD=release
4830 fi
4831
4832
4833 enablestring=
4834 defaultval=
4835 if test -z "$defaultval"; then
4836 if test x"$enablestring" = xdisable; then
4837 defaultval=yes
4838 else
4839 defaultval=no
4840 fi
4841 fi
4842
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4845 # Check whether --enable-debug_flag was given.
4846 if test "${enable_debug_flag+set}" = set; then
4847 enableval=$enable_debug_flag;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4850 else
4851 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4852 fi
4853
4854 else
4855
4856 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4857
4858 fi
4859
4860
4861 eval "$wx_cv_use_debug_flag"
4862
4863 if test x"$enablestring" = xdisable; then
4864 if test $wxUSE_DEBUG_FLAG = yes; then
4865 result=no
4866 else
4867 result=yes
4868 fi
4869 else
4870 result=$wxUSE_DEBUG_FLAG
4871 fi
4872
4873 { echo "$as_me:$LINENO: result: $result" >&5
4874 echo "${ECHO_T}$result" >&6; }
4875
4876
4877 enablestring=
4878 defaultval=
4879 if test -z "$defaultval"; then
4880 if test x"$enablestring" = xdisable; then
4881 defaultval=yes
4882 else
4883 defaultval=no
4884 fi
4885 fi
4886
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4889 # Check whether --enable-debug_info was given.
4890 if test "${enable_debug_info+set}" = set; then
4891 enableval=$enable_debug_info;
4892 if test "$enableval" = yes; then
4893 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4894 else
4895 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4896 fi
4897
4898 else
4899
4900 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4901
4902 fi
4903
4904
4905 eval "$wx_cv_use_debug_info"
4906
4907 if test x"$enablestring" = xdisable; then
4908 if test $wxUSE_DEBUG_INFO = yes; then
4909 result=no
4910 else
4911 result=yes
4912 fi
4913 else
4914 result=$wxUSE_DEBUG_INFO
4915 fi
4916
4917 { echo "$as_me:$LINENO: result: $result" >&5
4918 echo "${ECHO_T}$result" >&6; }
4919
4920
4921 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4922 wxUSE_DEBUG=yes
4923 BUILD=debug
4924 fi
4925
4926
4927 enablestring=
4928 defaultval=
4929 if test -z "$defaultval"; then
4930 if test x"$enablestring" = xdisable; then
4931 defaultval=yes
4932 else
4933 defaultval=no
4934 fi
4935 fi
4936
4937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4939 # Check whether --enable-debug_gdb was given.
4940 if test "${enable_debug_gdb+set}" = set; then
4941 enableval=$enable_debug_gdb;
4942 if test "$enableval" = yes; then
4943 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4944 else
4945 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4946 fi
4947
4948 else
4949
4950 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4951
4952 fi
4953
4954
4955 eval "$wx_cv_use_debug_gdb"
4956
4957 if test x"$enablestring" = xdisable; then
4958 if test $wxUSE_DEBUG_GDB = yes; then
4959 result=no
4960 else
4961 result=yes
4962 fi
4963 else
4964 result=$wxUSE_DEBUG_GDB
4965 fi
4966
4967 { echo "$as_me:$LINENO: result: $result" >&5
4968 echo "${ECHO_T}$result" >&6; }
4969
4970
4971 enablestring=
4972 defaultval=
4973 if test -z "$defaultval"; then
4974 if test x"$enablestring" = xdisable; then
4975 defaultval=yes
4976 else
4977 defaultval=no
4978 fi
4979 fi
4980
4981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4983 # Check whether --enable-debug_cntxt was given.
4984 if test "${enable_debug_cntxt+set}" = set; then
4985 enableval=$enable_debug_cntxt;
4986 if test "$enableval" = yes; then
4987 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4988 else
4989 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4990 fi
4991
4992 else
4993
4994 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4995
4996 fi
4997
4998
4999 eval "$wx_cv_use_debug_cntxt"
5000
5001 if test x"$enablestring" = xdisable; then
5002 if test $wxUSE_DEBUG_CONTEXT = yes; then
5003 result=no
5004 else
5005 result=yes
5006 fi
5007 else
5008 result=$wxUSE_DEBUG_CONTEXT
5009 fi
5010
5011 { echo "$as_me:$LINENO: result: $result" >&5
5012 echo "${ECHO_T}$result" >&6; }
5013
5014
5015 enablestring=
5016 defaultval=
5017 if test -z "$defaultval"; then
5018 if test x"$enablestring" = xdisable; then
5019 defaultval=yes
5020 else
5021 defaultval=no
5022 fi
5023 fi
5024
5025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5027 # Check whether --enable-mem_tracing was given.
5028 if test "${enable_mem_tracing+set}" = set; then
5029 enableval=$enable_mem_tracing;
5030 if test "$enableval" = yes; then
5031 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5032 else
5033 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5034 fi
5035
5036 else
5037
5038 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5039
5040 fi
5041
5042
5043 eval "$wx_cv_use_mem_tracing"
5044
5045 if test x"$enablestring" = xdisable; then
5046 if test $wxUSE_MEM_TRACING = yes; then
5047 result=no
5048 else
5049 result=yes
5050 fi
5051 else
5052 result=$wxUSE_MEM_TRACING
5053 fi
5054
5055 { echo "$as_me:$LINENO: result: $result" >&5
5056 echo "${ECHO_T}$result" >&6; }
5057
5058
5059 enablestring=
5060 defaultval=
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5063 defaultval=yes
5064 else
5065 defaultval=no
5066 fi
5067 fi
5068
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5071 # Check whether --enable-profile was given.
5072 if test "${enable_profile+set}" = set; then
5073 enableval=$enable_profile;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_profile='wxUSE_PROFILE=yes'
5076 else
5077 wx_cv_use_profile='wxUSE_PROFILE=no'
5078 fi
5079
5080 else
5081
5082 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5083
5084 fi
5085
5086
5087 eval "$wx_cv_use_profile"
5088
5089 if test x"$enablestring" = xdisable; then
5090 if test $wxUSE_PROFILE = yes; then
5091 result=no
5092 else
5093 result=yes
5094 fi
5095 else
5096 result=$wxUSE_PROFILE
5097 fi
5098
5099 { echo "$as_me:$LINENO: result: $result" >&5
5100 echo "${ECHO_T}$result" >&6; }
5101
5102
5103 enablestring=
5104 defaultval=
5105 if test -z "$defaultval"; then
5106 if test x"$enablestring" = xdisable; then
5107 defaultval=yes
5108 else
5109 defaultval=no
5110 fi
5111 fi
5112
5113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5115 # Check whether --enable-no_rtti was given.
5116 if test "${enable_no_rtti+set}" = set; then
5117 enableval=$enable_no_rtti;
5118 if test "$enableval" = yes; then
5119 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5120 else
5121 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5122 fi
5123
5124 else
5125
5126 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5127
5128 fi
5129
5130
5131 eval "$wx_cv_use_no_rtti"
5132
5133 if test x"$enablestring" = xdisable; then
5134 if test $wxUSE_NO_RTTI = yes; then
5135 result=no
5136 else
5137 result=yes
5138 fi
5139 else
5140 result=$wxUSE_NO_RTTI
5141 fi
5142
5143 { echo "$as_me:$LINENO: result: $result" >&5
5144 echo "${ECHO_T}$result" >&6; }
5145
5146
5147 enablestring=
5148 defaultval=
5149 if test -z "$defaultval"; then
5150 if test x"$enablestring" = xdisable; then
5151 defaultval=yes
5152 else
5153 defaultval=no
5154 fi
5155 fi
5156
5157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5158 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5159 # Check whether --enable-no_exceptions was given.
5160 if test "${enable_no_exceptions+set}" = set; then
5161 enableval=$enable_no_exceptions;
5162 if test "$enableval" = yes; then
5163 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5164 else
5165 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5166 fi
5167
5168 else
5169
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5171
5172 fi
5173
5174
5175 eval "$wx_cv_use_no_exceptions"
5176
5177 if test x"$enablestring" = xdisable; then
5178 if test $wxUSE_NO_EXCEPTIONS = yes; then
5179 result=no
5180 else
5181 result=yes
5182 fi
5183 else
5184 result=$wxUSE_NO_EXCEPTIONS
5185 fi
5186
5187 { echo "$as_me:$LINENO: result: $result" >&5
5188 echo "${ECHO_T}$result" >&6; }
5189
5190
5191 enablestring=
5192 defaultval=
5193 if test -z "$defaultval"; then
5194 if test x"$enablestring" = xdisable; then
5195 defaultval=yes
5196 else
5197 defaultval=no
5198 fi
5199 fi
5200
5201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5202 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5203 # Check whether --enable-permissive was given.
5204 if test "${enable_permissive+set}" = set; then
5205 enableval=$enable_permissive;
5206 if test "$enableval" = yes; then
5207 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5208 else
5209 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5210 fi
5211
5212 else
5213
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5215
5216 fi
5217
5218
5219 eval "$wx_cv_use_permissive"
5220
5221 if test x"$enablestring" = xdisable; then
5222 if test $wxUSE_PERMISSIVE = yes; then
5223 result=no
5224 else
5225 result=yes
5226 fi
5227 else
5228 result=$wxUSE_PERMISSIVE
5229 fi
5230
5231 { echo "$as_me:$LINENO: result: $result" >&5
5232 echo "${ECHO_T}$result" >&6; }
5233
5234
5235 enablestring=
5236 defaultval=
5237 if test -z "$defaultval"; then
5238 if test x"$enablestring" = xdisable; then
5239 defaultval=yes
5240 else
5241 defaultval=no
5242 fi
5243 fi
5244
5245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5247 # Check whether --enable-no_deps was given.
5248 if test "${enable_no_deps+set}" = set; then
5249 enableval=$enable_no_deps;
5250 if test "$enableval" = yes; then
5251 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5252 else
5253 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5254 fi
5255
5256 else
5257
5258 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5259
5260 fi
5261
5262
5263 eval "$wx_cv_use_no_deps"
5264
5265 if test x"$enablestring" = xdisable; then
5266 if test $wxUSE_NO_DEPS = yes; then
5267 result=no
5268 else
5269 result=yes
5270 fi
5271 else
5272 result=$wxUSE_NO_DEPS
5273 fi
5274
5275 { echo "$as_me:$LINENO: result: $result" >&5
5276 echo "${ECHO_T}$result" >&6; }
5277
5278
5279 enablestring=disable
5280 defaultval=
5281 if test -z "$defaultval"; then
5282 if test x"$enablestring" = xdisable; then
5283 defaultval=yes
5284 else
5285 defaultval=no
5286 fi
5287 fi
5288
5289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5290 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5291 # Check whether --enable-vararg_macros was given.
5292 if test "${enable_vararg_macros+set}" = set; then
5293 enableval=$enable_vararg_macros;
5294 if test "$enableval" = yes; then
5295 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5296 else
5297 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5298 fi
5299
5300 else
5301
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5303
5304 fi
5305
5306
5307 eval "$wx_cv_use_vararg_macros"
5308
5309 if test x"$enablestring" = xdisable; then
5310 if test $wxUSE_VARARG_MACROS = yes; then
5311 result=no
5312 else
5313 result=yes
5314 fi
5315 else
5316 result=$wxUSE_VARARG_MACROS
5317 fi
5318
5319 { echo "$as_me:$LINENO: result: $result" >&5
5320 echo "${ECHO_T}$result" >&6; }
5321
5322
5323 enablestring=
5324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5325 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5326 # Check whether --enable-universal_binary was given.
5327 if test "${enable_universal_binary+set}" = set; then
5328 enableval=$enable_universal_binary;
5329 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5330
5331 else
5332
5333 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5334
5335 fi
5336
5337
5338 eval "$wx_cv_use_universal_binary"
5339
5340 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5341 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5342
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5357 # Check whether --enable-compat26 was given.
5358 if test "${enable_compat26+set}" = set; then
5359 enableval=$enable_compat26;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5362 else
5363 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5364 fi
5365
5366 else
5367
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_compat26"
5374
5375 if test x"$enablestring" = xdisable; then
5376 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5377 result=no
5378 else
5379 result=yes
5380 fi
5381 else
5382 result=$WXWIN_COMPATIBILITY_2_6
5383 fi
5384
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389 enablestring=disable
5390 defaultval=
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5393 defaultval=yes
5394 else
5395 defaultval=no
5396 fi
5397 fi
5398
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5401 # Check whether --enable-compat28 was given.
5402 if test "${enable_compat28+set}" = set; then
5403 enableval=$enable_compat28;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5406 else
5407 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5408 fi
5409
5410 else
5411
5412 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5413
5414 fi
5415
5416
5417 eval "$wx_cv_use_compat28"
5418
5419 if test x"$enablestring" = xdisable; then
5420 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5421 result=no
5422 else
5423 result=yes
5424 fi
5425 else
5426 result=$WXWIN_COMPATIBILITY_2_8
5427 fi
5428
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433
5434 enablestring=disable
5435 defaultval=
5436 if test -z "$defaultval"; then
5437 if test x"$enablestring" = xdisable; then
5438 defaultval=yes
5439 else
5440 defaultval=no
5441 fi
5442 fi
5443
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5446 # Check whether --enable-rpath was given.
5447 if test "${enable_rpath+set}" = set; then
5448 enableval=$enable_rpath;
5449 if test "$enableval" = yes; then
5450 wx_cv_use_rpath='wxUSE_RPATH=yes'
5451 else
5452 wx_cv_use_rpath='wxUSE_RPATH=no'
5453 fi
5454
5455 else
5456
5457 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5458
5459 fi
5460
5461
5462 eval "$wx_cv_use_rpath"
5463
5464 if test x"$enablestring" = xdisable; then
5465 if test $wxUSE_RPATH = yes; then
5466 result=no
5467 else
5468 result=yes
5469 fi
5470 else
5471 result=$wxUSE_RPATH
5472 fi
5473
5474 { echo "$as_me:$LINENO: result: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5476
5477
5478
5479 enablestring=
5480 defaultval=
5481 if test -z "$defaultval"; then
5482 if test x"$enablestring" = xdisable; then
5483 defaultval=yes
5484 else
5485 defaultval=no
5486 fi
5487 fi
5488
5489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5490 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5491 # Check whether --enable-objc_uniquifying was given.
5492 if test "${enable_objc_uniquifying+set}" = set; then
5493 enableval=$enable_objc_uniquifying;
5494 if test "$enableval" = yes; then
5495 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5496 else
5497 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5498 fi
5499
5500 else
5501
5502 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5503
5504 fi
5505
5506
5507 eval "$wx_cv_use_objc_uniquifying"
5508
5509 if test x"$enablestring" = xdisable; then
5510 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5511 result=no
5512 else
5513 result=yes
5514 fi
5515 else
5516 result=$wxUSE_OBJC_UNIQUIFYING
5517 fi
5518
5519 { echo "$as_me:$LINENO: result: $result" >&5
5520 echo "${ECHO_T}$result" >&6; }
5521
5522
5523
5524 enablestring=disable
5525 defaultval=
5526 if test -z "$defaultval"; then
5527 if test x"$enablestring" = xdisable; then
5528 defaultval=yes
5529 else
5530 defaultval=no
5531 fi
5532 fi
5533
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5536 # Check whether --enable-visibility was given.
5537 if test "${enable_visibility+set}" = set; then
5538 enableval=$enable_visibility;
5539 if test "$enableval" = yes; then
5540 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5541 else
5542 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5543 fi
5544
5545 else
5546
5547 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5548
5549 fi
5550
5551
5552 eval "$wx_cv_use_visibility"
5553
5554 if test x"$enablestring" = xdisable; then
5555 if test $wxUSE_VISIBILITY = yes; then
5556 result=no
5557 else
5558 result=yes
5559 fi
5560 else
5561 result=$wxUSE_VISIBILITY
5562 fi
5563
5564 { echo "$as_me:$LINENO: result: $result" >&5
5565 echo "${ECHO_T}$result" >&6; }
5566
5567
5568
5569
5570 enablestring=
5571 defaultval=$wxUSE_ALL_FEATURES
5572 if test -z "$defaultval"; then
5573 if test x"$enablestring" = xdisable; then
5574 defaultval=yes
5575 else
5576 defaultval=no
5577 fi
5578 fi
5579
5580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5582 # Check whether --enable-intl was given.
5583 if test "${enable_intl+set}" = set; then
5584 enableval=$enable_intl;
5585 if test "$enableval" = yes; then
5586 wx_cv_use_intl='wxUSE_INTL=yes'
5587 else
5588 wx_cv_use_intl='wxUSE_INTL=no'
5589 fi
5590
5591 else
5592
5593 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5594
5595 fi
5596
5597
5598 eval "$wx_cv_use_intl"
5599
5600 if test x"$enablestring" = xdisable; then
5601 if test $wxUSE_INTL = yes; then
5602 result=no
5603 else
5604 result=yes
5605 fi
5606 else
5607 result=$wxUSE_INTL
5608 fi
5609
5610 { echo "$as_me:$LINENO: result: $result" >&5
5611 echo "${ECHO_T}$result" >&6; }
5612
5613
5614 enablestring=
5615 defaultval=$wxUSE_ALL_FEATURES
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5618 defaultval=yes
5619 else
5620 defaultval=no
5621 fi
5622 fi
5623
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5626 # Check whether --enable-config was given.
5627 if test "${enable_config+set}" = set; then
5628 enableval=$enable_config;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_config='wxUSE_CONFIG=yes'
5631 else
5632 wx_cv_use_config='wxUSE_CONFIG=no'
5633 fi
5634
5635 else
5636
5637 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5638
5639 fi
5640
5641
5642 eval "$wx_cv_use_config"
5643
5644 if test x"$enablestring" = xdisable; then
5645 if test $wxUSE_CONFIG = yes; then
5646 result=no
5647 else
5648 result=yes
5649 fi
5650 else
5651 result=$wxUSE_CONFIG
5652 fi
5653
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5656
5657
5658
5659 enablestring=
5660 defaultval=$wxUSE_ALL_FEATURES
5661 if test -z "$defaultval"; then
5662 if test x"$enablestring" = xdisable; then
5663 defaultval=yes
5664 else
5665 defaultval=no
5666 fi
5667 fi
5668
5669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5671 # Check whether --enable-protocols was given.
5672 if test "${enable_protocols+set}" = set; then
5673 enableval=$enable_protocols;
5674 if test "$enableval" = yes; then
5675 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5676 else
5677 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5678 fi
5679
5680 else
5681
5682 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5683
5684 fi
5685
5686
5687 eval "$wx_cv_use_protocols"
5688
5689 if test x"$enablestring" = xdisable; then
5690 if test $wxUSE_PROTOCOL = yes; then
5691 result=no
5692 else
5693 result=yes
5694 fi
5695 else
5696 result=$wxUSE_PROTOCOL
5697 fi
5698
5699 { echo "$as_me:$LINENO: result: $result" >&5
5700 echo "${ECHO_T}$result" >&6; }
5701
5702
5703 enablestring=
5704 defaultval=$wxUSE_ALL_FEATURES
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5707 defaultval=yes
5708 else
5709 defaultval=no
5710 fi
5711 fi
5712
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5715 # Check whether --enable-ftp was given.
5716 if test "${enable_ftp+set}" = set; then
5717 enableval=$enable_ftp;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5720 else
5721 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5722 fi
5723
5724 else
5725
5726 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5727
5728 fi
5729
5730
5731 eval "$wx_cv_use_ftp"
5732
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_PROTOCOL_FTP = yes; then
5735 result=no
5736 else
5737 result=yes
5738 fi
5739 else
5740 result=$wxUSE_PROTOCOL_FTP
5741 fi
5742
5743 { echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5745
5746
5747 enablestring=
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5751 defaultval=yes
5752 else
5753 defaultval=no
5754 fi
5755 fi
5756
5757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5759 # Check whether --enable-http was given.
5760 if test "${enable_http+set}" = set; then
5761 enableval=$enable_http;
5762 if test "$enableval" = yes; then
5763 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5764 else
5765 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5766 fi
5767
5768 else
5769
5770 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5771
5772 fi
5773
5774
5775 eval "$wx_cv_use_http"
5776
5777 if test x"$enablestring" = xdisable; then
5778 if test $wxUSE_PROTOCOL_HTTP = yes; then
5779 result=no
5780 else
5781 result=yes
5782 fi
5783 else
5784 result=$wxUSE_PROTOCOL_HTTP
5785 fi
5786
5787 { echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6; }
5789
5790
5791 enablestring=
5792 defaultval=$wxUSE_ALL_FEATURES
5793 if test -z "$defaultval"; then
5794 if test x"$enablestring" = xdisable; then
5795 defaultval=yes
5796 else
5797 defaultval=no
5798 fi
5799 fi
5800
5801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5803 # Check whether --enable-fileproto was given.
5804 if test "${enable_fileproto+set}" = set; then
5805 enableval=$enable_fileproto;
5806 if test "$enableval" = yes; then
5807 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5808 else
5809 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5810 fi
5811
5812 else
5813
5814 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5815
5816 fi
5817
5818
5819 eval "$wx_cv_use_fileproto"
5820
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_PROTOCOL_FILE = yes; then
5823 result=no
5824 else
5825 result=yes
5826 fi
5827 else
5828 result=$wxUSE_PROTOCOL_FILE
5829 fi
5830
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5833
5834
5835 enablestring=
5836 defaultval=$wxUSE_ALL_FEATURES
5837 if test -z "$defaultval"; then
5838 if test x"$enablestring" = xdisable; then
5839 defaultval=yes
5840 else
5841 defaultval=no
5842 fi
5843 fi
5844
5845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5847 # Check whether --enable-sockets was given.
5848 if test "${enable_sockets+set}" = set; then
5849 enableval=$enable_sockets;
5850 if test "$enableval" = yes; then
5851 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5852 else
5853 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5854 fi
5855
5856 else
5857
5858 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5859
5860 fi
5861
5862
5863 eval "$wx_cv_use_sockets"
5864
5865 if test x"$enablestring" = xdisable; then
5866 if test $wxUSE_SOCKETS = yes; then
5867 result=no
5868 else
5869 result=yes
5870 fi
5871 else
5872 result=$wxUSE_SOCKETS
5873 fi
5874
5875 { echo "$as_me:$LINENO: result: $result" >&5
5876 echo "${ECHO_T}$result" >&6; }
5877
5878
5879 enablestring=
5880 defaultval=$wxUSE_ALL_FEATURES
5881 if test -z "$defaultval"; then
5882 if test x"$enablestring" = xdisable; then
5883 defaultval=yes
5884 else
5885 defaultval=no
5886 fi
5887 fi
5888
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5891 # Check whether --enable-ipv6 was given.
5892 if test "${enable_ipv6+set}" = set; then
5893 enableval=$enable_ipv6;
5894 if test "$enableval" = yes; then
5895 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5896 else
5897 wx_cv_use_ipv6='wxUSE_IPV6=no'
5898 fi
5899
5900 else
5901
5902 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5903
5904 fi
5905
5906
5907 eval "$wx_cv_use_ipv6"
5908
5909 if test x"$enablestring" = xdisable; then
5910 if test $wxUSE_IPV6 = yes; then
5911 result=no
5912 else
5913 result=yes
5914 fi
5915 else
5916 result=$wxUSE_IPV6
5917 fi
5918
5919 { echo "$as_me:$LINENO: result: $result" >&5
5920 echo "${ECHO_T}$result" >&6; }
5921
5922
5923 enablestring=
5924 defaultval=$wxUSE_ALL_FEATURES
5925 if test -z "$defaultval"; then
5926 if test x"$enablestring" = xdisable; then
5927 defaultval=yes
5928 else
5929 defaultval=no
5930 fi
5931 fi
5932
5933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5935 # Check whether --enable-ole was given.
5936 if test "${enable_ole+set}" = set; then
5937 enableval=$enable_ole;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_ole='wxUSE_OLE=yes'
5940 else
5941 wx_cv_use_ole='wxUSE_OLE=no'
5942 fi
5943
5944 else
5945
5946 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5947
5948 fi
5949
5950
5951 eval "$wx_cv_use_ole"
5952
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_OLE = yes; then
5955 result=no
5956 else
5957 result=yes
5958 fi
5959 else
5960 result=$wxUSE_OLE
5961 fi
5962
5963 { echo "$as_me:$LINENO: result: $result" >&5
5964 echo "${ECHO_T}$result" >&6; }
5965
5966
5967 enablestring=
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5979 # Check whether --enable-dataobj was given.
5980 if test "${enable_dataobj+set}" = set; then
5981 enableval=$enable_dataobj;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5984 else
5985 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5986 fi
5987
5988 else
5989
5990 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5991
5992 fi
5993
5994
5995 eval "$wx_cv_use_dataobj"
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_DATAOBJ = yes; then
5999 result=no
6000 else
6001 result=yes
6002 fi
6003 else
6004 result=$wxUSE_DATAOBJ
6005 fi
6006
6007 { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6009
6010
6011
6012 enablestring=
6013 defaultval=$wxUSE_ALL_FEATURES
6014 if test -z "$defaultval"; then
6015 if test x"$enablestring" = xdisable; then
6016 defaultval=yes
6017 else
6018 defaultval=no
6019 fi
6020 fi
6021
6022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6023 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6024 # Check whether --enable-ipc was given.
6025 if test "${enable_ipc+set}" = set; then
6026 enableval=$enable_ipc;
6027 if test "$enableval" = yes; then
6028 wx_cv_use_ipc='wxUSE_IPC=yes'
6029 else
6030 wx_cv_use_ipc='wxUSE_IPC=no'
6031 fi
6032
6033 else
6034
6035 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6036
6037 fi
6038
6039
6040 eval "$wx_cv_use_ipc"
6041
6042 if test x"$enablestring" = xdisable; then
6043 if test $wxUSE_IPC = yes; then
6044 result=no
6045 else
6046 result=yes
6047 fi
6048 else
6049 result=$wxUSE_IPC
6050 fi
6051
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6054
6055
6056
6057 enablestring=
6058 defaultval=$wxUSE_ALL_FEATURES
6059 if test -z "$defaultval"; then
6060 if test x"$enablestring" = xdisable; then
6061 defaultval=yes
6062 else
6063 defaultval=no
6064 fi
6065 fi
6066
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6069 # Check whether --enable-baseevtloop was given.
6070 if test "${enable_baseevtloop+set}" = set; then
6071 enableval=$enable_baseevtloop;
6072 if test "$enableval" = yes; then
6073 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6074 else
6075 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6076 fi
6077
6078 else
6079
6080 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_baseevtloop"
6086
6087 if test x"$enablestring" = xdisable; then
6088 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6089 result=no
6090 else
6091 result=yes
6092 fi
6093 else
6094 result=$wxUSE_CONSOLE_EVENTLOOP
6095 fi
6096
6097 { echo "$as_me:$LINENO: result: $result" >&5
6098 echo "${ECHO_T}$result" >&6; }
6099
6100
6101 enablestring=
6102 defaultval=$wxUSE_ALL_FEATURES
6103 if test -z "$defaultval"; then
6104 if test x"$enablestring" = xdisable; then
6105 defaultval=yes
6106 else
6107 defaultval=no
6108 fi
6109 fi
6110
6111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6113 # Check whether --enable-epollloop was given.
6114 if test "${enable_epollloop+set}" = set; then
6115 enableval=$enable_epollloop;
6116 if test "$enableval" = yes; then
6117 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6118 else
6119 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6120 fi
6121
6122 else
6123
6124 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6125
6126 fi
6127
6128
6129 eval "$wx_cv_use_epollloop"
6130
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6133 result=no
6134 else
6135 result=yes
6136 fi
6137 else
6138 result=$wxUSE_EPOLL_DISPATCHER
6139 fi
6140
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6143
6144
6145 enablestring=
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6149 defaultval=yes
6150 else
6151 defaultval=no
6152 fi
6153 fi
6154
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6157 # Check whether --enable-selectloop was given.
6158 if test "${enable_selectloop+set}" = set; then
6159 enableval=$enable_selectloop;
6160 if test "$enableval" = yes; then
6161 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6162 else
6163 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6164 fi
6165
6166 else
6167
6168 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6169
6170 fi
6171
6172
6173 eval "$wx_cv_use_selectloop"
6174
6175 if test x"$enablestring" = xdisable; then
6176 if test $wxUSE_SELECT_DISPATCHER = yes; then
6177 result=no
6178 else
6179 result=yes
6180 fi
6181 else
6182 result=$wxUSE_SELECT_DISPATCHER
6183 fi
6184
6185 { echo "$as_me:$LINENO: result: $result" >&5
6186 echo "${ECHO_T}$result" >&6; }
6187
6188
6189
6190 enablestring=
6191 defaultval=$wxUSE_ALL_FEATURES
6192 if test -z "$defaultval"; then
6193 if test x"$enablestring" = xdisable; then
6194 defaultval=yes
6195 else
6196 defaultval=no
6197 fi
6198 fi
6199
6200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6202 # Check whether --enable-apple_ieee was given.
6203 if test "${enable_apple_ieee+set}" = set; then
6204 enableval=$enable_apple_ieee;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6207 else
6208 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6209 fi
6210
6211 else
6212
6213 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6214
6215 fi
6216
6217
6218 eval "$wx_cv_use_apple_ieee"
6219
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_APPLE_IEEE = yes; then
6222 result=no
6223 else
6224 result=yes
6225 fi
6226 else
6227 result=$wxUSE_APPLE_IEEE
6228 fi
6229
6230 { echo "$as_me:$LINENO: result: $result" >&5
6231 echo "${ECHO_T}$result" >&6; }
6232
6233
6234 enablestring=
6235 defaultval=$wxUSE_ALL_FEATURES
6236 if test -z "$defaultval"; then
6237 if test x"$enablestring" = xdisable; then
6238 defaultval=yes
6239 else
6240 defaultval=no
6241 fi
6242 fi
6243
6244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6245 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6246 # Check whether --enable-arcstream was given.
6247 if test "${enable_arcstream+set}" = set; then
6248 enableval=$enable_arcstream;
6249 if test "$enableval" = yes; then
6250 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6251 else
6252 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6253 fi
6254
6255 else
6256
6257 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6258
6259 fi
6260
6261
6262 eval "$wx_cv_use_arcstream"
6263
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6266 result=no
6267 else
6268 result=yes
6269 fi
6270 else
6271 result=$wxUSE_ARCHIVE_STREAMS
6272 fi
6273
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6276
6277
6278 enablestring=
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6282 defaultval=yes
6283 else
6284 defaultval=no
6285 fi
6286 fi
6287
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6290 # Check whether --enable-base64 was given.
6291 if test "${enable_base64+set}" = set; then
6292 enableval=$enable_base64;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_base64='wxUSE_BASE64=yes'
6295 else
6296 wx_cv_use_base64='wxUSE_BASE64=no'
6297 fi
6298
6299 else
6300
6301 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6302
6303 fi
6304
6305
6306 eval "$wx_cv_use_base64"
6307
6308 if test x"$enablestring" = xdisable; then
6309 if test $wxUSE_BASE64 = yes; then
6310 result=no
6311 else
6312 result=yes
6313 fi
6314 else
6315 result=$wxUSE_BASE64
6316 fi
6317
6318 { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6320
6321
6322 enablestring=
6323 defaultval=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x"$enablestring" = xdisable; then
6326 defaultval=yes
6327 else
6328 defaultval=no
6329 fi
6330 fi
6331
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6334 # Check whether --enable-backtrace was given.
6335 if test "${enable_backtrace+set}" = set; then
6336 enableval=$enable_backtrace;
6337 if test "$enableval" = yes; then
6338 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6339 else
6340 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6341 fi
6342
6343 else
6344
6345 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6346
6347 fi
6348
6349
6350 eval "$wx_cv_use_backtrace"
6351
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_STACKWALKER = yes; then
6354 result=no
6355 else
6356 result=yes
6357 fi
6358 else
6359 result=$wxUSE_STACKWALKER
6360 fi
6361
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6364
6365
6366 enablestring=
6367 defaultval=$wxUSE_ALL_FEATURES
6368 if test -z "$defaultval"; then
6369 if test x"$enablestring" = xdisable; then
6370 defaultval=yes
6371 else
6372 defaultval=no
6373 fi
6374 fi
6375
6376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6377 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6378 # Check whether --enable-catch_segvs was given.
6379 if test "${enable_catch_segvs+set}" = set; then
6380 enableval=$enable_catch_segvs;
6381 if test "$enableval" = yes; then
6382 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6383 else
6384 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6385 fi
6386
6387 else
6388
6389 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6390
6391 fi
6392
6393
6394 eval "$wx_cv_use_catch_segvs"
6395
6396 if test x"$enablestring" = xdisable; then
6397 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6398 result=no
6399 else
6400 result=yes
6401 fi
6402 else
6403 result=$wxUSE_ON_FATAL_EXCEPTION
6404 fi
6405
6406 { echo "$as_me:$LINENO: result: $result" >&5
6407 echo "${ECHO_T}$result" >&6; }
6408
6409
6410 enablestring=
6411 defaultval=$wxUSE_ALL_FEATURES
6412 if test -z "$defaultval"; then
6413 if test x"$enablestring" = xdisable; then
6414 defaultval=yes
6415 else
6416 defaultval=no
6417 fi
6418 fi
6419
6420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6421 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6422 # Check whether --enable-cmdline was given.
6423 if test "${enable_cmdline+set}" = set; then
6424 enableval=$enable_cmdline;
6425 if test "$enableval" = yes; then
6426 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6427 else
6428 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6429 fi
6430
6431 else
6432
6433 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6434
6435 fi
6436
6437
6438 eval "$wx_cv_use_cmdline"
6439
6440 if test x"$enablestring" = xdisable; then
6441 if test $wxUSE_CMDLINE_PARSER = yes; then
6442 result=no
6443 else
6444 result=yes
6445 fi
6446 else
6447 result=$wxUSE_CMDLINE_PARSER
6448 fi
6449
6450 { echo "$as_me:$LINENO: result: $result" >&5
6451 echo "${ECHO_T}$result" >&6; }
6452
6453
6454 enablestring=
6455 defaultval=$wxUSE_ALL_FEATURES
6456 if test -z "$defaultval"; then
6457 if test x"$enablestring" = xdisable; then
6458 defaultval=yes
6459 else
6460 defaultval=no
6461 fi
6462 fi
6463
6464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6465 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6466 # Check whether --enable-datetime was given.
6467 if test "${enable_datetime+set}" = set; then
6468 enableval=$enable_datetime;
6469 if test "$enableval" = yes; then
6470 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6471 else
6472 wx_cv_use_datetime='wxUSE_DATETIME=no'
6473 fi
6474
6475 else
6476
6477 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6478
6479 fi
6480
6481
6482 eval "$wx_cv_use_datetime"
6483
6484 if test x"$enablestring" = xdisable; then
6485 if test $wxUSE_DATETIME = yes; then
6486 result=no
6487 else
6488 result=yes
6489 fi
6490 else
6491 result=$wxUSE_DATETIME
6492 fi
6493
6494 { echo "$as_me:$LINENO: result: $result" >&5
6495 echo "${ECHO_T}$result" >&6; }
6496
6497
6498 enablestring=
6499 defaultval=$wxUSE_ALL_FEATURES
6500 if test -z "$defaultval"; then
6501 if test x"$enablestring" = xdisable; then
6502 defaultval=yes
6503 else
6504 defaultval=no
6505 fi
6506 fi
6507
6508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6510 # Check whether --enable-debugreport was given.
6511 if test "${enable_debugreport+set}" = set; then
6512 enableval=$enable_debugreport;
6513 if test "$enableval" = yes; then
6514 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6515 else
6516 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6517 fi
6518
6519 else
6520
6521 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6522
6523 fi
6524
6525
6526 eval "$wx_cv_use_debugreport"
6527
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_DEBUGREPORT = yes; then
6530 result=no
6531 else
6532 result=yes
6533 fi
6534 else
6535 result=$wxUSE_DEBUGREPORT
6536 fi
6537
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6554 # Check whether --enable-dialupman was given.
6555 if test "${enable_dialupman+set}" = set; then
6556 enableval=$enable_dialupman;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6559 else
6560 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6561 fi
6562
6563 else
6564
6565 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6566
6567 fi
6568
6569
6570 eval "$wx_cv_use_dialupman"
6571
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_DIALUP_MANAGER = yes; then
6574 result=no
6575 else
6576 result=yes
6577 fi
6578 else
6579 result=$wxUSE_DIALUP_MANAGER
6580 fi
6581
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586 enablestring=
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6590 defaultval=yes
6591 else
6592 defaultval=no
6593 fi
6594 fi
6595
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6598 # Check whether --enable-dynlib was given.
6599 if test "${enable_dynlib+set}" = set; then
6600 enableval=$enable_dynlib;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6603 else
6604 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6605 fi
6606
6607 else
6608
6609 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6610
6611 fi
6612
6613
6614 eval "$wx_cv_use_dynlib"
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_DYNLIB_CLASS = yes; then
6618 result=no
6619 else
6620 result=yes
6621 fi
6622 else
6623 result=$wxUSE_DYNLIB_CLASS
6624 fi
6625
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6642 # Check whether --enable-dynamicloader was given.
6643 if test "${enable_dynamicloader+set}" = set; then
6644 enableval=$enable_dynamicloader;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6647 else
6648 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6649 fi
6650
6651 else
6652
6653 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6654
6655 fi
6656
6657
6658 eval "$wx_cv_use_dynamicloader"
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_DYNAMIC_LOADER = yes; then
6662 result=no
6663 else
6664 result=yes
6665 fi
6666 else
6667 result=$wxUSE_DYNAMIC_LOADER
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674 enablestring=
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6678 defaultval=yes
6679 else
6680 defaultval=no
6681 fi
6682 fi
6683
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6686 # Check whether --enable-exceptions was given.
6687 if test "${enable_exceptions+set}" = set; then
6688 enableval=$enable_exceptions;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6691 else
6692 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6693 fi
6694
6695 else
6696
6697 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_exceptions"
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_EXCEPTIONS = yes; then
6706 result=no
6707 else
6708 result=yes
6709 fi
6710 else
6711 result=$wxUSE_EXCEPTIONS
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6730 # Check whether --enable-ffile was given.
6731 if test "${enable_ffile+set}" = set; then
6732 enableval=$enable_ffile;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_ffile='wxUSE_FFILE=yes'
6735 else
6736 wx_cv_use_ffile='wxUSE_FFILE=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_ffile"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_FFILE = yes; then
6750 result=no
6751 else
6752 result=yes
6753 fi
6754 else
6755 result=$wxUSE_FFILE
6756 fi
6757
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762 enablestring=
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6774 # Check whether --enable-file was given.
6775 if test "${enable_file+set}" = set; then
6776 enableval=$enable_file;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_file='wxUSE_FILE=yes'
6779 else
6780 wx_cv_use_file='wxUSE_FILE=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_file"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_FILE = yes; then
6794 result=no
6795 else
6796 result=yes
6797 fi
6798 else
6799 result=$wxUSE_FILE
6800 fi
6801
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806 enablestring=
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6810 defaultval=yes
6811 else
6812 defaultval=no
6813 fi
6814 fi
6815
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6818 # Check whether --enable-filesystem was given.
6819 if test "${enable_filesystem+set}" = set; then
6820 enableval=$enable_filesystem;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6823 else
6824 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6825 fi
6826
6827 else
6828
6829 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6830
6831 fi
6832
6833
6834 eval "$wx_cv_use_filesystem"
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_FILESYSTEM = yes; then
6838 result=no
6839 else
6840 result=yes
6841 fi
6842 else
6843 result=$wxUSE_FILESYSTEM
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6862 # Check whether --enable-fontenum was given.
6863 if test "${enable_fontenum+set}" = set; then
6864 enableval=$enable_fontenum;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6867 else
6868 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6869 fi
6870
6871 else
6872
6873 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_fontenum"
6879
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_FONTENUM = yes; then
6882 result=no
6883 else
6884 result=yes
6885 fi
6886 else
6887 result=$wxUSE_FONTENUM
6888 fi
6889
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894 enablestring=
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6898 defaultval=yes
6899 else
6900 defaultval=no
6901 fi
6902 fi
6903
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6906 # Check whether --enable-fontmap was given.
6907 if test "${enable_fontmap+set}" = set; then
6908 enableval=$enable_fontmap;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6911 else
6912 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6913 fi
6914
6915 else
6916
6917 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6918
6919 fi
6920
6921
6922 eval "$wx_cv_use_fontmap"
6923
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_FONTMAP = yes; then
6926 result=no
6927 else
6928 result=yes
6929 fi
6930 else
6931 result=$wxUSE_FONTMAP
6932 fi
6933
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938 enablestring=
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6942 defaultval=yes
6943 else
6944 defaultval=no
6945 fi
6946 fi
6947
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6950 # Check whether --enable-fs_archive was given.
6951 if test "${enable_fs_archive+set}" = set; then
6952 enableval=$enable_fs_archive;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6955 else
6956 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6957 fi
6958
6959 else
6960
6961 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6962
6963 fi
6964
6965
6966 eval "$wx_cv_use_fs_archive"
6967
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_FS_ARCHIVE = yes; then
6970 result=no
6971 else
6972 result=yes
6973 fi
6974 else
6975 result=$wxUSE_FS_ARCHIVE
6976 fi
6977
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6994 # Check whether --enable-fs_inet was given.
6995 if test "${enable_fs_inet+set}" = set; then
6996 enableval=$enable_fs_inet;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6999 else
7000 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_fs_inet"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_FS_INET = yes; then
7014 result=no
7015 else
7016 result=yes
7017 fi
7018 else
7019 result=$wxUSE_FS_INET
7020 fi
7021
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7038 # Check whether --enable-fs_zip was given.
7039 if test "${enable_fs_zip+set}" = set; then
7040 enableval=$enable_fs_zip;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7043 else
7044 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_fs_zip"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_FS_ZIP = yes; then
7058 result=no
7059 else
7060 result=yes
7061 fi
7062 else
7063 result=$wxUSE_FS_ZIP
7064 fi
7065
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7082 # Check whether --enable-geometry was given.
7083 if test "${enable_geometry+set}" = set; then
7084 enableval=$enable_geometry;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7087 else
7088 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_geometry"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_GEOMETRY = yes; then
7102 result=no
7103 else
7104 result=yes
7105 fi
7106 else
7107 result=$wxUSE_GEOMETRY
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7126 # Check whether --enable-log was given.
7127 if test "${enable_log+set}" = set; then
7128 enableval=$enable_log;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_log='wxUSE_LOG=yes'
7131 else
7132 wx_cv_use_log='wxUSE_LOG=no'
7133 fi
7134
7135 else
7136
7137 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7138
7139 fi
7140
7141
7142 eval "$wx_cv_use_log"
7143
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_LOG = yes; then
7146 result=no
7147 else
7148 result=yes
7149 fi
7150 else
7151 result=$wxUSE_LOG
7152 fi
7153
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158 enablestring=
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7162 defaultval=yes
7163 else
7164 defaultval=no
7165 fi
7166 fi
7167
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7170 # Check whether --enable-longlong was given.
7171 if test "${enable_longlong+set}" = set; then
7172 enableval=$enable_longlong;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7175 else
7176 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7177 fi
7178
7179 else
7180
7181 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7182
7183 fi
7184
7185
7186 eval "$wx_cv_use_longlong"
7187
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_LONGLONG = yes; then
7190 result=no
7191 else
7192 result=yes
7193 fi
7194 else
7195 result=$wxUSE_LONGLONG
7196 fi
7197
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202 enablestring=
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7206 defaultval=yes
7207 else
7208 defaultval=no
7209 fi
7210 fi
7211
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7214 # Check whether --enable-mimetype was given.
7215 if test "${enable_mimetype+set}" = set; then
7216 enableval=$enable_mimetype;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7219 else
7220 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7221 fi
7222
7223 else
7224
7225 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7226
7227 fi
7228
7229
7230 eval "$wx_cv_use_mimetype"
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_MIMETYPE = yes; then
7234 result=no
7235 else
7236 result=yes
7237 fi
7238 else
7239 result=$wxUSE_MIMETYPE
7240 fi
7241
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7258 # Check whether --enable-printfposparam was given.
7259 if test "${enable_printfposparam+set}" = set; then
7260 enableval=$enable_printfposparam;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7263 else
7264 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7265 fi
7266
7267 else
7268
7269 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7270
7271 fi
7272
7273
7274 eval "$wx_cv_use_printfposparam"
7275
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7278 result=no
7279 else
7280 result=yes
7281 fi
7282 else
7283 result=$wxUSE_PRINTF_POS_PARAMS
7284 fi
7285
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290 enablestring=
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7294 defaultval=yes
7295 else
7296 defaultval=no
7297 fi
7298 fi
7299
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7302 # Check whether --enable-snglinst was given.
7303 if test "${enable_snglinst+set}" = set; then
7304 enableval=$enable_snglinst;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7307 else
7308 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7309 fi
7310
7311 else
7312
7313 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_snglinst"
7319
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_SNGLINST_CHECKER = yes; then
7322 result=no
7323 else
7324 result=yes
7325 fi
7326 else
7327 result=$wxUSE_SNGLINST_CHECKER
7328 fi
7329
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334 enablestring=
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7338 defaultval=yes
7339 else
7340 defaultval=no
7341 fi
7342 fi
7343
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7346 # Check whether --enable-sound was given.
7347 if test "${enable_sound+set}" = set; then
7348 enableval=$enable_sound;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_sound='wxUSE_SOUND=yes'
7351 else
7352 wx_cv_use_sound='wxUSE_SOUND=no'
7353 fi
7354
7355 else
7356
7357 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7358
7359 fi
7360
7361
7362 eval "$wx_cv_use_sound"
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_SOUND = yes; then
7366 result=no
7367 else
7368 result=yes
7369 fi
7370 else
7371 result=$wxUSE_SOUND
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7390 # Check whether --enable-stdpaths was given.
7391 if test "${enable_stdpaths+set}" = set; then
7392 enableval=$enable_stdpaths;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7395 else
7396 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7397 fi
7398
7399 else
7400
7401 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7402
7403 fi
7404
7405
7406 eval "$wx_cv_use_stdpaths"
7407
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_STDPATHS = yes; then
7410 result=no
7411 else
7412 result=yes
7413 fi
7414 else
7415 result=$wxUSE_STDPATHS
7416 fi
7417
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422 enablestring=
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7426 defaultval=yes
7427 else
7428 defaultval=no
7429 fi
7430 fi
7431
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7434 # Check whether --enable-stopwatch was given.
7435 if test "${enable_stopwatch+set}" = set; then
7436 enableval=$enable_stopwatch;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7439 else
7440 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7441 fi
7442
7443 else
7444
7445 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_stopwatch"
7451
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_STOPWATCH = yes; then
7454 result=no
7455 else
7456 result=yes
7457 fi
7458 else
7459 result=$wxUSE_STOPWATCH
7460 fi
7461
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466 enablestring=
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7470 defaultval=yes
7471 else
7472 defaultval=no
7473 fi
7474 fi
7475
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7478 # Check whether --enable-streams was given.
7479 if test "${enable_streams+set}" = set; then
7480 enableval=$enable_streams;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_streams='wxUSE_STREAMS=yes'
7483 else
7484 wx_cv_use_streams='wxUSE_STREAMS=no'
7485 fi
7486
7487 else
7488
7489 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_streams"
7495
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_STREAMS = yes; then
7498 result=no
7499 else
7500 result=yes
7501 fi
7502 else
7503 result=$wxUSE_STREAMS
7504 fi
7505
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510 enablestring=
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7514 defaultval=yes
7515 else
7516 defaultval=no
7517 fi
7518 fi
7519
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7522 # Check whether --enable-system_options was given.
7523 if test "${enable_system_options+set}" = set; then
7524 enableval=$enable_system_options;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7527 else
7528 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7529 fi
7530
7531 else
7532
7533 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7534
7535 fi
7536
7537
7538 eval "$wx_cv_use_system_options"
7539
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7542 result=no
7543 else
7544 result=yes
7545 fi
7546 else
7547 result=$wxUSE_SYSTEM_OPTIONS
7548 fi
7549
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554 enablestring=
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7558 defaultval=yes
7559 else
7560 defaultval=no
7561 fi
7562 fi
7563
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7566 # Check whether --enable-tarstream was given.
7567 if test "${enable_tarstream+set}" = set; then
7568 enableval=$enable_tarstream;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7571 else
7572 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7573 fi
7574
7575 else
7576
7577 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7578
7579 fi
7580
7581
7582 eval "$wx_cv_use_tarstream"
7583
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_TARSTREAM = yes; then
7586 result=no
7587 else
7588 result=yes
7589 fi
7590 else
7591 result=$wxUSE_TARSTREAM
7592 fi
7593
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598 enablestring=
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7602 defaultval=yes
7603 else
7604 defaultval=no
7605 fi
7606 fi
7607
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7610 # Check whether --enable-textbuf was given.
7611 if test "${enable_textbuf+set}" = set; then
7612 enableval=$enable_textbuf;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7615 else
7616 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7617 fi
7618
7619 else
7620
7621 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_textbuf"
7627
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_TEXTBUFFER = yes; then
7630 result=no
7631 else
7632 result=yes
7633 fi
7634 else
7635 result=$wxUSE_TEXTBUFFER
7636 fi
7637
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642 enablestring=
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7646 defaultval=yes
7647 else
7648 defaultval=no
7649 fi
7650 fi
7651
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7654 # Check whether --enable-textfile was given.
7655 if test "${enable_textfile+set}" = set; then
7656 enableval=$enable_textfile;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7659 else
7660 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7661 fi
7662
7663 else
7664
7665 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7666
7667 fi
7668
7669
7670 eval "$wx_cv_use_textfile"
7671
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_TEXTFILE = yes; then
7674 result=no
7675 else
7676 result=yes
7677 fi
7678 else
7679 result=$wxUSE_TEXTFILE
7680 fi
7681
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686 enablestring=
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7690 defaultval=yes
7691 else
7692 defaultval=no
7693 fi
7694 fi
7695
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7698 # Check whether --enable-timer was given.
7699 if test "${enable_timer+set}" = set; then
7700 enableval=$enable_timer;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_timer='wxUSE_TIMER=yes'
7703 else
7704 wx_cv_use_timer='wxUSE_TIMER=no'
7705 fi
7706
7707 else
7708
7709 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_timer"
7715
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_TIMER = yes; then
7718 result=no
7719 else
7720 result=yes
7721 fi
7722 else
7723 result=$wxUSE_TIMER
7724 fi
7725
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730 enablestring=
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7734 defaultval=yes
7735 else
7736 defaultval=no
7737 fi
7738 fi
7739
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7742 # Check whether --enable-variant was given.
7743 if test "${enable_variant+set}" = set; then
7744 enableval=$enable_variant;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_variant='wxUSE_VARIANT=yes'
7747 else
7748 wx_cv_use_variant='wxUSE_VARIANT=no'
7749 fi
7750
7751 else
7752
7753 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7754
7755 fi
7756
7757
7758 eval "$wx_cv_use_variant"
7759
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_VARIANT = yes; then
7762 result=no
7763 else
7764 result=yes
7765 fi
7766 else
7767 result=$wxUSE_VARIANT
7768 fi
7769
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774 enablestring=
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7778 defaultval=yes
7779 else
7780 defaultval=no
7781 fi
7782 fi
7783
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-weakref" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-weakref... $ECHO_C" >&6; }
7786 # Check whether --enable-weakref was given.
7787 if test "${enable_weakref+set}" = set; then
7788 enableval=$enable_weakref;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_weakref='wxUSE_WEAKREF=yes'
7791 else
7792 wx_cv_use_weakref='wxUSE_WEAKREF=no'
7793 fi
7794
7795 else
7796
7797 wx_cv_use_weakref='wxUSE_WEAKREF=${'DEFAULT_wxUSE_WEAKREF":-$defaultval}"
7798
7799 fi
7800
7801
7802 eval "$wx_cv_use_weakref"
7803
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_WEAKREF = yes; then
7806 result=no
7807 else
7808 result=yes
7809 fi
7810 else
7811 result=$wxUSE_WEAKREF
7812 fi
7813
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818 enablestring=
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7822 defaultval=yes
7823 else
7824 defaultval=no
7825 fi
7826 fi
7827
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7830 # Check whether --enable-zipstream was given.
7831 if test "${enable_zipstream+set}" = set; then
7832 enableval=$enable_zipstream;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7835 else
7836 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7837 fi
7838
7839 else
7840
7841 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7842
7843 fi
7844
7845
7846 eval "$wx_cv_use_zipstream"
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_ZIPSTREAM = yes; then
7850 result=no
7851 else
7852 result=yes
7853 fi
7854 else
7855 result=$wxUSE_ZIPSTREAM
7856 fi
7857
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862
7863 enablestring=
7864 defaultval=$wxUSE_ALL_FEATURES
7865 if test -z "$defaultval"; then
7866 if test x"$enablestring" = xdisable; then
7867 defaultval=yes
7868 else
7869 defaultval=no
7870 fi
7871 fi
7872
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7875 # Check whether --enable-url was given.
7876 if test "${enable_url+set}" = set; then
7877 enableval=$enable_url;
7878 if test "$enableval" = yes; then
7879 wx_cv_use_url='wxUSE_URL=yes'
7880 else
7881 wx_cv_use_url='wxUSE_URL=no'
7882 fi
7883
7884 else
7885
7886 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7887
7888 fi
7889
7890
7891 eval "$wx_cv_use_url"
7892
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_URL = yes; then
7895 result=no
7896 else
7897 result=yes
7898 fi
7899 else
7900 result=$wxUSE_URL
7901 fi
7902
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7905
7906
7907 enablestring=
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7911 defaultval=yes
7912 else
7913 defaultval=no
7914 fi
7915 fi
7916
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7919 # Check whether --enable-protocol was given.
7920 if test "${enable_protocol+set}" = set; then
7921 enableval=$enable_protocol;
7922 if test "$enableval" = yes; then
7923 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7924 else
7925 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7926 fi
7927
7928 else
7929
7930 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7931
7932 fi
7933
7934
7935 eval "$wx_cv_use_protocol"
7936
7937 if test x"$enablestring" = xdisable; then
7938 if test $wxUSE_PROTOCOL = yes; then
7939 result=no
7940 else
7941 result=yes
7942 fi
7943 else
7944 result=$wxUSE_PROTOCOL
7945 fi
7946
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7949
7950
7951 enablestring=
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7955 defaultval=yes
7956 else
7957 defaultval=no
7958 fi
7959 fi
7960
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7963 # Check whether --enable-protocol_http was given.
7964 if test "${enable_protocol_http+set}" = set; then
7965 enableval=$enable_protocol_http;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7968 else
7969 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7970 fi
7971
7972 else
7973
7974 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7975
7976 fi
7977
7978
7979 eval "$wx_cv_use_protocol_http"
7980
7981 if test x"$enablestring" = xdisable; then
7982 if test $wxUSE_PROTOCOL_HTTP = yes; then
7983 result=no
7984 else
7985 result=yes
7986 fi
7987 else
7988 result=$wxUSE_PROTOCOL_HTTP
7989 fi
7990
7991 { echo "$as_me:$LINENO: result: $result" >&5
7992 echo "${ECHO_T}$result" >&6; }
7993
7994
7995 enablestring=
7996 defaultval=$wxUSE_ALL_FEATURES
7997 if test -z "$defaultval"; then
7998 if test x"$enablestring" = xdisable; then
7999 defaultval=yes
8000 else
8001 defaultval=no
8002 fi
8003 fi
8004
8005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8007 # Check whether --enable-protocol_ftp was given.
8008 if test "${enable_protocol_ftp+set}" = set; then
8009 enableval=$enable_protocol_ftp;
8010 if test "$enableval" = yes; then
8011 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8012 else
8013 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8014 fi
8015
8016 else
8017
8018 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8019
8020 fi
8021
8022
8023 eval "$wx_cv_use_protocol_ftp"
8024
8025 if test x"$enablestring" = xdisable; then
8026 if test $wxUSE_PROTOCOL_FTP = yes; then
8027 result=no
8028 else
8029 result=yes
8030 fi
8031 else
8032 result=$wxUSE_PROTOCOL_FTP
8033 fi
8034
8035 { echo "$as_me:$LINENO: result: $result" >&5
8036 echo "${ECHO_T}$result" >&6; }
8037
8038
8039 enablestring=
8040 defaultval=$wxUSE_ALL_FEATURES
8041 if test -z "$defaultval"; then
8042 if test x"$enablestring" = xdisable; then
8043 defaultval=yes
8044 else
8045 defaultval=no
8046 fi
8047 fi
8048
8049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8051 # Check whether --enable-protocol_file was given.
8052 if test "${enable_protocol_file+set}" = set; then
8053 enableval=$enable_protocol_file;
8054 if test "$enableval" = yes; then
8055 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8056 else
8057 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8058 fi
8059
8060 else
8061
8062 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8063
8064 fi
8065
8066
8067 eval "$wx_cv_use_protocol_file"
8068
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_PROTOCOL_FILE = yes; then
8071 result=no
8072 else
8073 result=yes
8074 fi
8075 else
8076 result=$wxUSE_PROTOCOL_FILE
8077 fi
8078
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8081
8082
8083
8084 enablestring=
8085 defaultval=$wxUSE_ALL_FEATURES
8086 if test -z "$defaultval"; then
8087 if test x"$enablestring" = xdisable; then
8088 defaultval=yes
8089 else
8090 defaultval=no
8091 fi
8092 fi
8093
8094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8096 # Check whether --enable-threads was given.
8097 if test "${enable_threads+set}" = set; then
8098 enableval=$enable_threads;
8099 if test "$enableval" = yes; then
8100 wx_cv_use_threads='wxUSE_THREADS=yes'
8101 else
8102 wx_cv_use_threads='wxUSE_THREADS=no'
8103 fi
8104
8105 else
8106
8107 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8108
8109 fi
8110
8111
8112 eval "$wx_cv_use_threads"
8113
8114 if test x"$enablestring" = xdisable; then
8115 if test $wxUSE_THREADS = yes; then
8116 result=no
8117 else
8118 result=yes
8119 fi
8120 else
8121 result=$wxUSE_THREADS
8122 fi
8123
8124 { echo "$as_me:$LINENO: result: $result" >&5
8125 echo "${ECHO_T}$result" >&6; }
8126
8127
8128
8129 enablestring=
8130 defaultval=
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8141 # Check whether --enable-iniconf was given.
8142 if test "${enable_iniconf+set}" = set; then
8143 enableval=$enable_iniconf;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8146 else
8147 wx_cv_use_iniconf='wxUSE_INICONF=no'
8148 fi
8149
8150 else
8151
8152 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8153
8154 fi
8155
8156
8157 eval "$wx_cv_use_iniconf"
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_INICONF = yes; then
8161 result=no
8162 else
8163 result=yes
8164 fi
8165 else
8166 result=$wxUSE_INICONF
8167 fi
8168
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8171
8172
8173 enablestring=
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8177 defaultval=yes
8178 else
8179 defaultval=no
8180 fi
8181 fi
8182
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8185 # Check whether --enable-regkey was given.
8186 if test "${enable_regkey+set}" = set; then
8187 enableval=$enable_regkey;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8190 else
8191 wx_cv_use_regkey='wxUSE_REGKEY=no'
8192 fi
8193
8194 else
8195
8196 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8197
8198 fi
8199
8200
8201 eval "$wx_cv_use_regkey"
8202
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_REGKEY = yes; then
8205 result=no
8206 else
8207 result=yes
8208 fi
8209 else
8210 result=$wxUSE_REGKEY
8211 fi
8212
8213 { echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6; }
8215
8216
8217 if test "$wxUSE_GUI" = "yes"; then
8218
8219
8220
8221 enablestring=
8222 defaultval=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x"$enablestring" = xdisable; then
8225 defaultval=yes
8226 else
8227 defaultval=no
8228 fi
8229 fi
8230
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8233 # Check whether --enable-docview was given.
8234 if test "${enable_docview+set}" = set; then
8235 enableval=$enable_docview;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8238 else
8239 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8240 fi
8241
8242 else
8243
8244 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8245
8246 fi
8247
8248
8249 eval "$wx_cv_use_docview"
8250
8251 if test x"$enablestring" = xdisable; then
8252 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8253 result=no
8254 else
8255 result=yes
8256 fi
8257 else
8258 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8259 fi
8260
8261 { echo "$as_me:$LINENO: result: $result" >&5
8262 echo "${ECHO_T}$result" >&6; }
8263
8264
8265 enablestring=
8266 defaultval=$wxUSE_ALL_FEATURES
8267 if test -z "$defaultval"; then
8268 if test x"$enablestring" = xdisable; then
8269 defaultval=yes
8270 else
8271 defaultval=no
8272 fi
8273 fi
8274
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8277 # Check whether --enable-help was given.
8278 if test "${enable_help+set}" = set; then
8279 enableval=$enable_help;
8280 if test "$enableval" = yes; then
8281 wx_cv_use_help='wxUSE_HELP=yes'
8282 else
8283 wx_cv_use_help='wxUSE_HELP=no'
8284 fi
8285
8286 else
8287
8288 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8289
8290 fi
8291
8292
8293 eval "$wx_cv_use_help"
8294
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_HELP = yes; then
8297 result=no
8298 else
8299 result=yes
8300 fi
8301 else
8302 result=$wxUSE_HELP
8303 fi
8304
8305 { echo "$as_me:$LINENO: result: $result" >&5
8306 echo "${ECHO_T}$result" >&6; }
8307
8308
8309 enablestring=
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8313 defaultval=yes
8314 else
8315 defaultval=no
8316 fi
8317 fi
8318
8319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8321 # Check whether --enable-mshtmlhelp was given.
8322 if test "${enable_mshtmlhelp+set}" = set; then
8323 enableval=$enable_mshtmlhelp;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8326 else
8327 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8328 fi
8329
8330 else
8331
8332 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8333
8334 fi
8335
8336
8337 eval "$wx_cv_use_mshtmlhelp"
8338
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_MS_HTML_HELP = yes; then
8341 result=no
8342 else
8343 result=yes
8344 fi
8345 else
8346 result=$wxUSE_MS_HTML_HELP
8347 fi
8348
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8351
8352
8353 enablestring=
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8357 defaultval=yes
8358 else
8359 defaultval=no
8360 fi
8361 fi
8362
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8365 # Check whether --enable-html was given.
8366 if test "${enable_html+set}" = set; then
8367 enableval=$enable_html;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_html='wxUSE_HTML=yes'
8370 else
8371 wx_cv_use_html='wxUSE_HTML=no'
8372 fi
8373
8374 else
8375
8376 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8377
8378 fi
8379
8380
8381 eval "$wx_cv_use_html"
8382
8383 if test x"$enablestring" = xdisable; then
8384 if test $wxUSE_HTML = yes; then
8385 result=no
8386 else
8387 result=yes
8388 fi
8389 else
8390 result=$wxUSE_HTML
8391 fi
8392
8393 { echo "$as_me:$LINENO: result: $result" >&5
8394 echo "${ECHO_T}$result" >&6; }
8395
8396
8397 enablestring=
8398 defaultval=$wxUSE_ALL_FEATURES
8399 if test -z "$defaultval"; then
8400 if test x"$enablestring" = xdisable; then
8401 defaultval=yes
8402 else
8403 defaultval=no
8404 fi
8405 fi
8406
8407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8409 # Check whether --enable-htmlhelp was given.
8410 if test "${enable_htmlhelp+set}" = set; then
8411 enableval=$enable_htmlhelp;
8412 if test "$enableval" = yes; then
8413 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8414 else
8415 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8416 fi
8417
8418 else
8419
8420 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8421
8422 fi
8423
8424
8425 eval "$wx_cv_use_htmlhelp"
8426
8427 if test x"$enablestring" = xdisable; then
8428 if test $wxUSE_WXHTML_HELP = yes; then
8429 result=no
8430 else
8431 result=yes
8432 fi
8433 else
8434 result=$wxUSE_WXHTML_HELP
8435 fi
8436
8437 { echo "$as_me:$LINENO: result: $result" >&5
8438 echo "${ECHO_T}$result" >&6; }
8439
8440
8441 enablestring=
8442 defaultval=$wxUSE_ALL_FEATURES
8443 if test -z "$defaultval"; then
8444 if test x"$enablestring" = xdisable; then
8445 defaultval=yes
8446 else
8447 defaultval=no
8448 fi
8449 fi
8450
8451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8453 # Check whether --enable-xrc was given.
8454 if test "${enable_xrc+set}" = set; then
8455 enableval=$enable_xrc;
8456 if test "$enableval" = yes; then
8457 wx_cv_use_xrc='wxUSE_XRC=yes'
8458 else
8459 wx_cv_use_xrc='wxUSE_XRC=no'
8460 fi
8461
8462 else
8463
8464 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8465
8466 fi
8467
8468
8469 eval "$wx_cv_use_xrc"
8470
8471 if test x"$enablestring" = xdisable; then
8472 if test $wxUSE_XRC = yes; then
8473 result=no
8474 else
8475 result=yes
8476 fi
8477 else
8478 result=$wxUSE_XRC
8479 fi
8480
8481 { echo "$as_me:$LINENO: result: $result" >&5
8482 echo "${ECHO_T}$result" >&6; }
8483
8484
8485 enablestring=
8486 defaultval=$wxUSE_ALL_FEATURES
8487 if test -z "$defaultval"; then
8488 if test x"$enablestring" = xdisable; then
8489 defaultval=yes
8490 else
8491 defaultval=no
8492 fi
8493 fi
8494
8495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8497 # Check whether --enable-aui was given.
8498 if test "${enable_aui+set}" = set; then
8499 enableval=$enable_aui;
8500 if test "$enableval" = yes; then
8501 wx_cv_use_aui='wxUSE_AUI=yes'
8502 else
8503 wx_cv_use_aui='wxUSE_AUI=no'
8504 fi
8505
8506 else
8507
8508 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8509
8510 fi
8511
8512
8513 eval "$wx_cv_use_aui"
8514
8515 if test x"$enablestring" = xdisable; then
8516 if test $wxUSE_AUI = yes; then
8517 result=no
8518 else
8519 result=yes
8520 fi
8521 else
8522 result=$wxUSE_AUI
8523 fi
8524
8525 { echo "$as_me:$LINENO: result: $result" >&5
8526 echo "${ECHO_T}$result" >&6; }
8527
8528
8529 enablestring=
8530 defaultval=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x"$enablestring" = xdisable; then
8533 defaultval=yes
8534 else
8535 defaultval=no
8536 fi
8537 fi
8538
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8541 # Check whether --enable-stc was given.
8542 if test "${enable_stc+set}" = set; then
8543 enableval=$enable_stc;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_stc='wxUSE_STC=yes'
8546 else
8547 wx_cv_use_stc='wxUSE_STC=no'
8548 fi
8549
8550 else
8551
8552 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8553
8554 fi
8555
8556
8557 eval "$wx_cv_use_stc"
8558
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_STC = yes; then
8561 result=no
8562 else
8563 result=yes
8564 fi
8565 else
8566 result=$wxUSE_STC
8567 fi
8568
8569 { echo "$as_me:$LINENO: result: $result" >&5
8570 echo "${ECHO_T}$result" >&6; }
8571
8572
8573 enablestring=
8574 defaultval=$wxUSE_ALL_FEATURES
8575 if test -z "$defaultval"; then
8576 if test x"$enablestring" = xdisable; then
8577 defaultval=yes
8578 else
8579 defaultval=no
8580 fi
8581 fi
8582
8583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8585 # Check whether --enable-constraints was given.
8586 if test "${enable_constraints+set}" = set; then
8587 enableval=$enable_constraints;
8588 if test "$enableval" = yes; then
8589 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8590 else
8591 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8592 fi
8593
8594 else
8595
8596 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8597
8598 fi
8599
8600
8601 eval "$wx_cv_use_constraints"
8602
8603 if test x"$enablestring" = xdisable; then
8604 if test $wxUSE_CONSTRAINTS = yes; then
8605 result=no
8606 else
8607 result=yes
8608 fi
8609 else
8610 result=$wxUSE_CONSTRAINTS
8611 fi
8612
8613 { echo "$as_me:$LINENO: result: $result" >&5
8614 echo "${ECHO_T}$result" >&6; }
8615
8616
8617 enablestring=
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8621 defaultval=yes
8622 else
8623 defaultval=no
8624 fi
8625 fi
8626
8627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8629 # Check whether --enable-loggui was given.
8630 if test "${enable_loggui+set}" = set; then
8631 enableval=$enable_loggui;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8634 else
8635 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8636 fi
8637
8638 else
8639
8640 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8641
8642 fi
8643
8644
8645 eval "$wx_cv_use_loggui"
8646
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_LOGGUI = yes; then
8649 result=no
8650 else
8651 result=yes
8652 fi
8653 else
8654 result=$wxUSE_LOGGUI
8655 fi
8656
8657 { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8673 # Check whether --enable-logwin was given.
8674 if test "${enable_logwin+set}" = set; then
8675 enableval=$enable_logwin;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8678 else
8679 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_logwin"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_LOGWINDOW = yes; then
8693 result=no
8694 else
8695 result=yes
8696 fi
8697 else
8698 result=$wxUSE_LOGWINDOW
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8717 # Check whether --enable-logdialog was given.
8718 if test "${enable_logdialog+set}" = set; then
8719 enableval=$enable_logdialog;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8722 else
8723 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_logdialog"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_LOGDIALOG = yes; then
8737 result=no
8738 else
8739 result=yes
8740 fi
8741 else
8742 result=$wxUSE_LOGDIALOG
8743 fi
8744
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8761 # Check whether --enable-mdi was given.
8762 if test "${enable_mdi+set}" = set; then
8763 enableval=$enable_mdi;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_mdi='wxUSE_MDI=yes'
8766 else
8767 wx_cv_use_mdi='wxUSE_MDI=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_mdi"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_MDI = yes; then
8781 result=no
8782 else
8783 result=yes
8784 fi
8785 else
8786 result=$wxUSE_MDI
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8805 # Check whether --enable-mdidoc was given.
8806 if test "${enable_mdidoc+set}" = set; then
8807 enableval=$enable_mdidoc;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8810 else
8811 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_mdidoc"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8825 result=no
8826 else
8827 result=yes
8828 fi
8829 else
8830 result=$wxUSE_MDI_ARCHITECTURE
8831 fi
8832
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8849 # Check whether --enable-mediactrl was given.
8850 if test "${enable_mediactrl+set}" = set; then
8851 enableval=$enable_mediactrl;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8854 else
8855 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_mediactrl"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_MEDIACTRL = yes; then
8869 result=no
8870 else
8871 result=yes
8872 fi
8873 else
8874 result=$wxUSE_MEDIACTRL
8875 fi
8876
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8893 # Check whether --enable-gstreamer8 was given.
8894 if test "${enable_gstreamer8+set}" = set; then
8895 enableval=$enable_gstreamer8;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8898 else
8899 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_gstreamer8"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_GSTREAMER8 = yes; then
8913 result=no
8914 else
8915 result=yes
8916 fi
8917 else
8918 result=$wxUSE_GSTREAMER8
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8937 # Check whether --enable-webkit was given.
8938 if test "${enable_webkit+set}" = set; then
8939 enableval=$enable_webkit;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8942 else
8943 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_webkit"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_WEBKIT = yes; then
8957 result=no
8958 else
8959 result=yes
8960 fi
8961 else
8962 result=$wxUSE_WEBKIT
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8981 # Check whether --enable-richtext was given.
8982 if test "${enable_richtext+set}" = set; then
8983 enableval=$enable_richtext;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8986 else
8987 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_richtext"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_RICHTEXT = yes; then
9001 result=no
9002 else
9003 result=yes
9004 fi
9005 else
9006 result=$wxUSE_RICHTEXT
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9025 # Check whether --enable-graphics_ctx was given.
9026 if test "${enable_graphics_ctx+set}" = set; then
9027 enableval=$enable_graphics_ctx;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9030 else
9031 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_graphics_ctx"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9045 result=no
9046 else
9047 result=yes
9048 fi
9049 else
9050 result=$wxUSE_GRAPHICS_CONTEXT
9051 fi
9052
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9069 # Check whether --enable-postscript was given.
9070 if test "${enable_postscript+set}" = set; then
9071 enableval=$enable_postscript;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9074 else
9075 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_postscript"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_POSTSCRIPT = yes; then
9089 result=no
9090 else
9091 result=yes
9092 fi
9093 else
9094 result=$wxUSE_POSTSCRIPT
9095 fi
9096
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9113 # Check whether --enable-printarch was given.
9114 if test "${enable_printarch+set}" = set; then
9115 enableval=$enable_printarch;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9118 else
9119 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_printarch"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9133 result=no
9134 else
9135 result=yes
9136 fi
9137 else
9138 result=$wxUSE_PRINTING_ARCHITECTURE
9139 fi
9140
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9157 # Check whether --enable-svg was given.
9158 if test "${enable_svg+set}" = set; then
9159 enableval=$enable_svg;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_svg='wxUSE_SVG=yes'
9162 else
9163 wx_cv_use_svg='wxUSE_SVG=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_svg"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_SVG = yes; then
9177 result=no
9178 else
9179 result=yes
9180 fi
9181 else
9182 result=$wxUSE_SVG
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189
9190
9191 enablestring=
9192 defaultval=$wxUSE_ALL_FEATURES
9193 if test -z "$defaultval"; then
9194 if test x"$enablestring" = xdisable; then
9195 defaultval=yes
9196 else
9197 defaultval=no
9198 fi
9199 fi
9200
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9203 # Check whether --enable-clipboard was given.
9204 if test "${enable_clipboard+set}" = set; then
9205 enableval=$enable_clipboard;
9206 if test "$enableval" = yes; then
9207 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9208 else
9209 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9210 fi
9211
9212 else
9213
9214 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9215
9216 fi
9217
9218
9219 eval "$wx_cv_use_clipboard"
9220
9221 if test x"$enablestring" = xdisable; then
9222 if test $wxUSE_CLIPBOARD = yes; then
9223 result=no
9224 else
9225 result=yes
9226 fi
9227 else
9228 result=$wxUSE_CLIPBOARD
9229 fi
9230
9231 { echo "$as_me:$LINENO: result: $result" >&5
9232 echo "${ECHO_T}$result" >&6; }
9233
9234
9235 enablestring=
9236 defaultval=$wxUSE_ALL_FEATURES
9237 if test -z "$defaultval"; then
9238 if test x"$enablestring" = xdisable; then
9239 defaultval=yes
9240 else
9241 defaultval=no
9242 fi
9243 fi
9244
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9247 # Check whether --enable-dnd was given.
9248 if test "${enable_dnd+set}" = set; then
9249 enableval=$enable_dnd;
9250 if test "$enableval" = yes; then
9251 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9252 else
9253 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9254 fi
9255
9256 else
9257
9258 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9259
9260 fi
9261
9262
9263 eval "$wx_cv_use_dnd"
9264
9265 if test x"$enablestring" = xdisable; then
9266 if test $wxUSE_DRAG_AND_DROP = yes; then
9267 result=no
9268 else
9269 result=yes
9270 fi
9271 else
9272 result=$wxUSE_DRAG_AND_DROP
9273 fi
9274
9275 { echo "$as_me:$LINENO: result: $result" >&5
9276 echo "${ECHO_T}$result" >&6; }
9277
9278
9279 enablestring=
9280 defaultval=$wxUSE_ALL_FEATURES
9281 if test -z "$defaultval"; then
9282 if test x"$enablestring" = xdisable; then
9283 defaultval=yes
9284 else
9285 defaultval=no
9286 fi
9287 fi
9288
9289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9290 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9291 # Check whether --enable-metafile was given.
9292 if test "${enable_metafile+set}" = set; then
9293 enableval=$enable_metafile;
9294 if test "$enableval" = yes; then
9295 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9296 else
9297 wx_cv_use_metafile='wxUSE_METAFILE=no'
9298 fi
9299
9300 else
9301
9302 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9303
9304 fi
9305
9306
9307 eval "$wx_cv_use_metafile"
9308
9309 if test x"$enablestring" = xdisable; then
9310 if test $wxUSE_METAFILE = yes; then
9311 result=no
9312 else
9313 result=yes
9314 fi
9315 else
9316 result=$wxUSE_METAFILE
9317 fi
9318
9319 { echo "$as_me:$LINENO: result: $result" >&5
9320 echo "${ECHO_T}$result" >&6; }
9321
9322
9323
9324 DEFAULT_wxUSE_CONTROLS=none
9325
9326 enablestring=disable
9327 defaultval=
9328 if test -z "$defaultval"; then
9329 if test x"$enablestring" = xdisable; then
9330 defaultval=yes
9331 else
9332 defaultval=no
9333 fi
9334 fi
9335
9336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9338 # Check whether --enable-controls was given.
9339 if test "${enable_controls+set}" = set; then
9340 enableval=$enable_controls;
9341 if test "$enableval" = yes; then
9342 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9343 else
9344 wx_cv_use_controls='wxUSE_CONTROLS=no'
9345 fi
9346
9347 else
9348
9349 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9350
9351 fi
9352
9353
9354 eval "$wx_cv_use_controls"
9355
9356 if test x"$enablestring" = xdisable; then
9357 if test $wxUSE_CONTROLS = yes; then
9358 result=no
9359 else
9360 result=yes
9361 fi
9362 else
9363 result=$wxUSE_CONTROLS
9364 fi
9365
9366 { echo "$as_me:$LINENO: result: $result" >&5
9367 echo "${ECHO_T}$result" >&6; }
9368
9369
9370 if test "$wxUSE_CONTROLS" = "yes"; then
9371 DEFAULT_wxUSE_ACCEL=yes
9372 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9373 DEFAULT_wxUSE_BMPBUTTON=yes
9374 DEFAULT_wxUSE_BUTTON=yes
9375 DEFAULT_wxUSE_CALCTRL=yes
9376 DEFAULT_wxUSE_CARET=yes
9377 DEFAULT_wxUSE_COMBOBOX=yes
9378 DEFAULT_wxUSE_CHECKBOX=yes
9379 DEFAULT_wxUSE_CHECKLISTBOX=yes
9380 DEFAULT_wxUSE_CHOICE=yes
9381 DEFAULT_wxUSE_CHOICEBOOK=yes
9382 DEFAULT_wxUSE_COLLPANE=yes
9383 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9384 DEFAULT_wxUSE_COMBOBOX=yes
9385 DEFAULT_wxUSE_DATEPICKCTRL=yes
9386 DEFAULT_wxUSE_DISPLAY=yes
9387 DEFAULT_wxUSE_DETECT_SM=yes
9388 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9389 DEFAULT_wxUSE_FILECTRL=yes
9390 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9391 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9392 DEFAULT_wxUSE_GAUGE=yes
9393 DEFAULT_wxUSE_GRID=yes
9394 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9395 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9396 DEFAULT_wxUSE_IMAGLIST=yes
9397 DEFAULT_wxUSE_LISTBOOK=yes
9398 DEFAULT_wxUSE_LISTBOX=yes
9399 DEFAULT_wxUSE_LISTCTRL=yes
9400 DEFAULT_wxUSE_NOTEBOOK=yes
9401 DEFAULT_wxUSE_RADIOBOX=yes
9402 DEFAULT_wxUSE_RADIOBTN=yes
9403 DEFAULT_wxUSE_SASH=yes
9404 DEFAULT_wxUSE_SCROLLBAR=yes
9405 DEFAULT_wxUSE_SEARCHCTRL=yes
9406 DEFAULT_wxUSE_SLIDER=yes
9407 DEFAULT_wxUSE_SPINBTN=yes
9408 DEFAULT_wxUSE_SPINCTRL=yes
9409 DEFAULT_wxUSE_SPLITTER=yes
9410 DEFAULT_wxUSE_STATBMP=yes
9411 DEFAULT_wxUSE_STATBOX=yes
9412 DEFAULT_wxUSE_STATLINE=yes
9413 DEFAULT_wxUSE_STATUSBAR=yes
9414 DEFAULT_wxUSE_TAB_DIALOG=yes
9415 DEFAULT_wxUSE_TOGGLEBTN=yes
9416 DEFAULT_wxUSE_TOOLBAR=yes
9417 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9418 DEFAULT_wxUSE_TOOLTIPS=yes
9419 DEFAULT_wxUSE_TREEBOOK=yes
9420 DEFAULT_wxUSE_TOOLBOOK=yes
9421 DEFAULT_wxUSE_TREECTRL=yes
9422 DEFAULT_wxUSE_POPUPWIN=yes
9423 DEFAULT_wxUSE_TIPWINDOW=yes
9424 elif test "$wxUSE_CONTROLS" = "no"; then
9425 DEFAULT_wxUSE_ACCEL=no
9426 DEFAULT_wxUSE_ANIMATIONCTRL=no
9427 DEFAULT_wxUSE_BMPBUTTON=no
9428 DEFAULT_wxUSE_BUTTON=no
9429 DEFAULT_wxUSE_CALCTRL=no
9430 DEFAULT_wxUSE_CARET=no
9431 DEFAULT_wxUSE_COLLPANE=no
9432 DEFAULT_wxUSE_COMBOBOX=no
9433 DEFAULT_wxUSE_CHECKBOX=no
9434 DEFAULT_wxUSE_CHECKLISTBOX=no
9435 DEFAULT_wxUSE_CHOICE=no
9436 DEFAULT_wxUSE_CHOICEBOOK=no
9437 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9438 DEFAULT_wxUSE_COMBOBOX=no
9439 DEFAULT_wxUSE_DATEPICKCTRL=no
9440 DEFAULT_wxUSE_DISPLAY=no
9441 DEFAULT_wxUSE_DETECT_SM=no
9442 DEFAULT_wxUSE_DIRPICKERCTRL=no
9443 DEFAULT_wxUSE_FILECTRL=no
9444 DEFAULT_wxUSE_FILEPICKERCTRL=no
9445 DEFAULT_wxUSE_FONTPICKERCTRL=no
9446 DEFAULT_wxUSE_GAUGE=no
9447 DEFAULT_wxUSE_GRID=no
9448 DEFAULT_wxUSE_HYPERLINKCTRL=no
9449 DEFAULT_wxUSE_DATAVIEWCTRL=no
9450 DEFAULT_wxUSE_IMAGLIST=no
9451 DEFAULT_wxUSE_LISTBOOK=no
9452 DEFAULT_wxUSE_LISTBOX=no
9453 DEFAULT_wxUSE_LISTCTRL=no
9454 DEFAULT_wxUSE_NOTEBOOK=no
9455 DEFAULT_wxUSE_RADIOBOX=no
9456 DEFAULT_wxUSE_RADIOBTN=no
9457 DEFAULT_wxUSE_SASH=no
9458 DEFAULT_wxUSE_SCROLLBAR=no
9459 DEFAULT_wxUSE_SEARCHCTRL=no
9460 DEFAULT_wxUSE_SLIDER=no
9461 DEFAULT_wxUSE_SPINBTN=no
9462 DEFAULT_wxUSE_SPINCTRL=no
9463 DEFAULT_wxUSE_SPLITTER=no
9464 DEFAULT_wxUSE_STATBMP=no
9465 DEFAULT_wxUSE_STATBOX=no
9466 DEFAULT_wxUSE_STATLINE=no
9467 DEFAULT_wxUSE_STATUSBAR=no
9468 DEFAULT_wxUSE_TAB_DIALOG=no
9469 DEFAULT_wxUSE_TOGGLEBTN=no
9470 DEFAULT_wxUSE_TOOLBAR=no
9471 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9472 DEFAULT_wxUSE_TOOLTIPS=no
9473 DEFAULT_wxUSE_TREEBOOK=no
9474 DEFAULT_wxUSE_TOOLBOOK=no
9475 DEFAULT_wxUSE_TREECTRL=no
9476 DEFAULT_wxUSE_POPUPWIN=no
9477 DEFAULT_wxUSE_TIPWINDOW=no
9478 fi
9479
9480
9481 enablestring=
9482 defaultval=$wxUSE_ALL_FEATURES
9483 if test -z "$defaultval"; then
9484 if test x"$enablestring" = xdisable; then
9485 defaultval=yes
9486 else
9487 defaultval=no
9488 fi
9489 fi
9490
9491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9493 # Check whether --enable-accel was given.
9494 if test "${enable_accel+set}" = set; then
9495 enableval=$enable_accel;
9496 if test "$enableval" = yes; then
9497 wx_cv_use_accel='wxUSE_ACCEL=yes'
9498 else
9499 wx_cv_use_accel='wxUSE_ACCEL=no'
9500 fi
9501
9502 else
9503
9504 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9505
9506 fi
9507
9508
9509 eval "$wx_cv_use_accel"
9510
9511 if test x"$enablestring" = xdisable; then
9512 if test $wxUSE_ACCEL = yes; then
9513 result=no
9514 else
9515 result=yes
9516 fi
9517 else
9518 result=$wxUSE_ACCEL
9519 fi
9520
9521 { echo "$as_me:$LINENO: result: $result" >&5
9522 echo "${ECHO_T}$result" >&6; }
9523
9524
9525 enablestring=
9526 defaultval=$wxUSE_ALL_FEATURES
9527 if test -z "$defaultval"; then
9528 if test x"$enablestring" = xdisable; then
9529 defaultval=yes
9530 else
9531 defaultval=no
9532 fi
9533 fi
9534
9535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9536 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9537 # Check whether --enable-animatectrl was given.
9538 if test "${enable_animatectrl+set}" = set; then
9539 enableval=$enable_animatectrl;
9540 if test "$enableval" = yes; then
9541 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9542 else
9543 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9544 fi
9545
9546 else
9547
9548 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9549
9550 fi
9551
9552
9553 eval "$wx_cv_use_animatectrl"
9554
9555 if test x"$enablestring" = xdisable; then
9556 if test $wxUSE_ANIMATIONCTRL = yes; then
9557 result=no
9558 else
9559 result=yes
9560 fi
9561 else
9562 result=$wxUSE_ANIMATIONCTRL
9563 fi
9564
9565 { echo "$as_me:$LINENO: result: $result" >&5
9566 echo "${ECHO_T}$result" >&6; }
9567
9568
9569 enablestring=
9570 defaultval=$wxUSE_ALL_FEATURES
9571 if test -z "$defaultval"; then
9572 if test x"$enablestring" = xdisable; then
9573 defaultval=yes
9574 else
9575 defaultval=no
9576 fi
9577 fi
9578
9579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9580 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9581 # Check whether --enable-button was given.
9582 if test "${enable_button+set}" = set; then
9583 enableval=$enable_button;
9584 if test "$enableval" = yes; then
9585 wx_cv_use_button='wxUSE_BUTTON=yes'
9586 else
9587 wx_cv_use_button='wxUSE_BUTTON=no'
9588 fi
9589
9590 else
9591
9592 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9593
9594 fi
9595
9596
9597 eval "$wx_cv_use_button"
9598
9599 if test x"$enablestring" = xdisable; then
9600 if test $wxUSE_BUTTON = yes; then
9601 result=no
9602 else
9603 result=yes
9604 fi
9605 else
9606 result=$wxUSE_BUTTON
9607 fi
9608
9609 { echo "$as_me:$LINENO: result: $result" >&5
9610 echo "${ECHO_T}$result" >&6; }
9611
9612
9613 enablestring=
9614 defaultval=$wxUSE_ALL_FEATURES
9615 if test -z "$defaultval"; then
9616 if test x"$enablestring" = xdisable; then
9617 defaultval=yes
9618 else
9619 defaultval=no
9620 fi
9621 fi
9622
9623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9624 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9625 # Check whether --enable-bmpbutton was given.
9626 if test "${enable_bmpbutton+set}" = set; then
9627 enableval=$enable_bmpbutton;
9628 if test "$enableval" = yes; then
9629 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9630 else
9631 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9632 fi
9633
9634 else
9635
9636 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9637
9638 fi
9639
9640
9641 eval "$wx_cv_use_bmpbutton"
9642
9643 if test x"$enablestring" = xdisable; then
9644 if test $wxUSE_BMPBUTTON = yes; then
9645 result=no
9646 else
9647 result=yes
9648 fi
9649 else
9650 result=$wxUSE_BMPBUTTON
9651 fi
9652
9653 { echo "$as_me:$LINENO: result: $result" >&5
9654 echo "${ECHO_T}$result" >&6; }
9655
9656
9657 enablestring=
9658 defaultval=$wxUSE_ALL_FEATURES
9659 if test -z "$defaultval"; then
9660 if test x"$enablestring" = xdisable; then
9661 defaultval=yes
9662 else
9663 defaultval=no
9664 fi
9665 fi
9666
9667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9668 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9669 # Check whether --enable-bmpcombobox was given.
9670 if test "${enable_bmpcombobox+set}" = set; then
9671 enableval=$enable_bmpcombobox;
9672 if test "$enableval" = yes; then
9673 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9674 else
9675 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9676 fi
9677
9678 else
9679
9680 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9681
9682 fi
9683
9684
9685 eval "$wx_cv_use_bmpcombobox"
9686
9687 if test x"$enablestring" = xdisable; then
9688 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9689 result=no
9690 else
9691 result=yes
9692 fi
9693 else
9694 result=$wxUSE_BITMAPCOMBOBOX
9695 fi
9696
9697 { echo "$as_me:$LINENO: result: $result" >&5
9698 echo "${ECHO_T}$result" >&6; }
9699
9700
9701 enablestring=
9702 defaultval=$wxUSE_ALL_FEATURES
9703 if test -z "$defaultval"; then
9704 if test x"$enablestring" = xdisable; then
9705 defaultval=yes
9706 else
9707 defaultval=no
9708 fi
9709 fi
9710
9711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9713 # Check whether --enable-calendar was given.
9714 if test "${enable_calendar+set}" = set; then
9715 enableval=$enable_calendar;
9716 if test "$enableval" = yes; then
9717 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9718 else
9719 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9720 fi
9721
9722 else
9723
9724 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9725
9726 fi
9727
9728
9729 eval "$wx_cv_use_calendar"
9730
9731 if test x"$enablestring" = xdisable; then
9732 if test $wxUSE_CALCTRL = yes; then
9733 result=no
9734 else
9735 result=yes
9736 fi
9737 else
9738 result=$wxUSE_CALCTRL
9739 fi
9740
9741 { echo "$as_me:$LINENO: result: $result" >&5
9742 echo "${ECHO_T}$result" >&6; }
9743
9744
9745 enablestring=
9746 defaultval=$wxUSE_ALL_FEATURES
9747 if test -z "$defaultval"; then
9748 if test x"$enablestring" = xdisable; then
9749 defaultval=yes
9750 else
9751 defaultval=no
9752 fi
9753 fi
9754
9755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9757 # Check whether --enable-caret was given.
9758 if test "${enable_caret+set}" = set; then
9759 enableval=$enable_caret;
9760 if test "$enableval" = yes; then
9761 wx_cv_use_caret='wxUSE_CARET=yes'
9762 else
9763 wx_cv_use_caret='wxUSE_CARET=no'
9764 fi
9765
9766 else
9767
9768 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9769
9770 fi
9771
9772
9773 eval "$wx_cv_use_caret"
9774
9775 if test x"$enablestring" = xdisable; then
9776 if test $wxUSE_CARET = yes; then
9777 result=no
9778 else
9779 result=yes
9780 fi
9781 else
9782 result=$wxUSE_CARET
9783 fi
9784
9785 { echo "$as_me:$LINENO: result: $result" >&5
9786 echo "${ECHO_T}$result" >&6; }
9787
9788
9789 enablestring=
9790 defaultval=$wxUSE_ALL_FEATURES
9791 if test -z "$defaultval"; then
9792 if test x"$enablestring" = xdisable; then
9793 defaultval=yes
9794 else
9795 defaultval=no
9796 fi
9797 fi
9798
9799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9801 # Check whether --enable-checkbox was given.
9802 if test "${enable_checkbox+set}" = set; then
9803 enableval=$enable_checkbox;
9804 if test "$enableval" = yes; then
9805 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9806 else
9807 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9808 fi
9809
9810 else
9811
9812 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9813
9814 fi
9815
9816
9817 eval "$wx_cv_use_checkbox"
9818
9819 if test x"$enablestring" = xdisable; then
9820 if test $wxUSE_CHECKBOX = yes; then
9821 result=no
9822 else
9823 result=yes
9824 fi
9825 else
9826 result=$wxUSE_CHECKBOX
9827 fi
9828
9829 { echo "$as_me:$LINENO: result: $result" >&5
9830 echo "${ECHO_T}$result" >&6; }
9831
9832
9833 enablestring=
9834 defaultval=$wxUSE_ALL_FEATURES
9835 if test -z "$defaultval"; then
9836 if test x"$enablestring" = xdisable; then
9837 defaultval=yes
9838 else
9839 defaultval=no
9840 fi
9841 fi
9842
9843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9845 # Check whether --enable-checklst was given.
9846 if test "${enable_checklst+set}" = set; then
9847 enableval=$enable_checklst;
9848 if test "$enableval" = yes; then
9849 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9850 else
9851 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9852 fi
9853
9854 else
9855
9856 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9857
9858 fi
9859
9860
9861 eval "$wx_cv_use_checklst"
9862
9863 if test x"$enablestring" = xdisable; then
9864 if test $wxUSE_CHECKLST = yes; then
9865 result=no
9866 else
9867 result=yes
9868 fi
9869 else
9870 result=$wxUSE_CHECKLST
9871 fi
9872
9873 { echo "$as_me:$LINENO: result: $result" >&5
9874 echo "${ECHO_T}$result" >&6; }
9875
9876
9877 enablestring=
9878 defaultval=$wxUSE_ALL_FEATURES
9879 if test -z "$defaultval"; then
9880 if test x"$enablestring" = xdisable; then
9881 defaultval=yes
9882 else
9883 defaultval=no
9884 fi
9885 fi
9886
9887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9889 # Check whether --enable-choice was given.
9890 if test "${enable_choice+set}" = set; then
9891 enableval=$enable_choice;
9892 if test "$enableval" = yes; then
9893 wx_cv_use_choice='wxUSE_CHOICE=yes'
9894 else
9895 wx_cv_use_choice='wxUSE_CHOICE=no'
9896 fi
9897
9898 else
9899
9900 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9901
9902 fi
9903
9904
9905 eval "$wx_cv_use_choice"
9906
9907 if test x"$enablestring" = xdisable; then
9908 if test $wxUSE_CHOICE = yes; then
9909 result=no
9910 else
9911 result=yes
9912 fi
9913 else
9914 result=$wxUSE_CHOICE
9915 fi
9916
9917 { echo "$as_me:$LINENO: result: $result" >&5
9918 echo "${ECHO_T}$result" >&6; }
9919
9920
9921 enablestring=
9922 defaultval=$wxUSE_ALL_FEATURES
9923 if test -z "$defaultval"; then
9924 if test x"$enablestring" = xdisable; then
9925 defaultval=yes
9926 else
9927 defaultval=no
9928 fi
9929 fi
9930
9931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9933 # Check whether --enable-choicebook was given.
9934 if test "${enable_choicebook+set}" = set; then
9935 enableval=$enable_choicebook;
9936 if test "$enableval" = yes; then
9937 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9938 else
9939 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9940 fi
9941
9942 else
9943
9944 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9945
9946 fi
9947
9948
9949 eval "$wx_cv_use_choicebook"
9950
9951 if test x"$enablestring" = xdisable; then
9952 if test $wxUSE_CHOICEBOOK = yes; then
9953 result=no
9954 else
9955 result=yes
9956 fi
9957 else
9958 result=$wxUSE_CHOICEBOOK
9959 fi
9960
9961 { echo "$as_me:$LINENO: result: $result" >&5
9962 echo "${ECHO_T}$result" >&6; }
9963
9964
9965 enablestring=
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9969 defaultval=yes
9970 else
9971 defaultval=no
9972 fi
9973 fi
9974
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9977 # Check whether --enable-collpane was given.
9978 if test "${enable_collpane+set}" = set; then
9979 enableval=$enable_collpane;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9982 else
9983 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9984 fi
9985
9986 else
9987
9988 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9989
9990 fi
9991
9992
9993 eval "$wx_cv_use_collpane"
9994
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_COLLPANE = yes; then
9997 result=no
9998 else
9999 result=yes
10000 fi
10001 else
10002 result=$wxUSE_COLLPANE
10003 fi
10004
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10007
10008
10009 enablestring=
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10013 defaultval=yes
10014 else
10015 defaultval=no
10016 fi
10017 fi
10018
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10021 # Check whether --enable-colourpicker was given.
10022 if test "${enable_colourpicker+set}" = set; then
10023 enableval=$enable_colourpicker;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10026 else
10027 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10028 fi
10029
10030 else
10031
10032 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10033
10034 fi
10035
10036
10037 eval "$wx_cv_use_colourpicker"
10038
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_COLOURPICKERCTRL = yes; then
10041 result=no
10042 else
10043 result=yes
10044 fi
10045 else
10046 result=$wxUSE_COLOURPICKERCTRL
10047 fi
10048
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10051
10052
10053 enablestring=
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10057 defaultval=yes
10058 else
10059 defaultval=no
10060 fi
10061 fi
10062
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10065 # Check whether --enable-combobox was given.
10066 if test "${enable_combobox+set}" = set; then
10067 enableval=$enable_combobox;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10070 else
10071 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10072 fi
10073
10074 else
10075
10076 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10077
10078 fi
10079
10080
10081 eval "$wx_cv_use_combobox"
10082
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_COMBOBOX = yes; then
10085 result=no
10086 else
10087 result=yes
10088 fi
10089 else
10090 result=$wxUSE_COMBOBOX
10091 fi
10092
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10095
10096
10097 enablestring=
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10101 defaultval=yes
10102 else
10103 defaultval=no
10104 fi
10105 fi
10106
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10109 # Check whether --enable-comboctrl was given.
10110 if test "${enable_comboctrl+set}" = set; then
10111 enableval=$enable_comboctrl;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10114 else
10115 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10116 fi
10117
10118 else
10119
10120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10121
10122 fi
10123
10124
10125 eval "$wx_cv_use_comboctrl"
10126
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_COMBOCTRL = yes; then
10129 result=no
10130 else
10131 result=yes
10132 fi
10133 else
10134 result=$wxUSE_COMBOCTRL
10135 fi
10136
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10139
10140
10141 enablestring=
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10145 defaultval=yes
10146 else
10147 defaultval=no
10148 fi
10149 fi
10150
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10153 # Check whether --enable-datepick was given.
10154 if test "${enable_datepick+set}" = set; then
10155 enableval=$enable_datepick;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10158 else
10159 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10160 fi
10161
10162 else
10163
10164 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10165
10166 fi
10167
10168
10169 eval "$wx_cv_use_datepick"
10170
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_DATEPICKCTRL = yes; then
10173 result=no
10174 else
10175 result=yes
10176 fi
10177 else
10178 result=$wxUSE_DATEPICKCTRL
10179 fi
10180
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10183
10184
10185 enablestring=
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10189 defaultval=yes
10190 else
10191 defaultval=no
10192 fi
10193 fi
10194
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10197 # Check whether --enable-dirpicker was given.
10198 if test "${enable_dirpicker+set}" = set; then
10199 enableval=$enable_dirpicker;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10202 else
10203 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10204 fi
10205
10206 else
10207
10208 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10209
10210 fi
10211
10212
10213 eval "$wx_cv_use_dirpicker"
10214
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_DIRPICKERCTRL = yes; then
10217 result=no
10218 else
10219 result=yes
10220 fi
10221 else
10222 result=$wxUSE_DIRPICKERCTRL
10223 fi
10224
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10227
10228
10229 enablestring=
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10233 defaultval=yes
10234 else
10235 defaultval=no
10236 fi
10237 fi
10238
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10241 # Check whether --enable-display was given.
10242 if test "${enable_display+set}" = set; then
10243 enableval=$enable_display;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_display='wxUSE_DISPLAY=yes'
10246 else
10247 wx_cv_use_display='wxUSE_DISPLAY=no'
10248 fi
10249
10250 else
10251
10252 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10253
10254 fi
10255
10256
10257 eval "$wx_cv_use_display"
10258
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_DISPLAY = yes; then
10261 result=no
10262 else
10263 result=yes
10264 fi
10265 else
10266 result=$wxUSE_DISPLAY
10267 fi
10268
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10271
10272
10273 enablestring=
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10277 defaultval=yes
10278 else
10279 defaultval=no
10280 fi
10281 fi
10282
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10285 # Check whether --enable-detect_sm was given.
10286 if test "${enable_detect_sm+set}" = set; then
10287 enableval=$enable_detect_sm;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10290 else
10291 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10292 fi
10293
10294 else
10295
10296 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10297
10298 fi
10299
10300
10301 eval "$wx_cv_use_detect_sm"
10302
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_DETECT_SM = yes; then
10305 result=no
10306 else
10307 result=yes
10308 fi
10309 else
10310 result=$wxUSE_DETECT_SM
10311 fi
10312
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10315
10316
10317 enablestring=
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10321 defaultval=yes
10322 else
10323 defaultval=no
10324 fi
10325 fi
10326
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10329 # Check whether --enable-editablebox was given.
10330 if test "${enable_editablebox+set}" = set; then
10331 enableval=$enable_editablebox;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10334 else
10335 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10336 fi
10337
10338 else
10339
10340 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10341
10342 fi
10343
10344
10345 eval "$wx_cv_use_editablebox"
10346
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_EDITABLELISTBOX = yes; then
10349 result=no
10350 else
10351 result=yes
10352 fi
10353 else
10354 result=$wxUSE_EDITABLELISTBOX
10355 fi
10356
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10359
10360
10361 enablestring=
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10365 defaultval=yes
10366 else
10367 defaultval=no
10368 fi
10369 fi
10370
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10373 # Check whether --enable-filepicker was given.
10374 if test "${enable_filepicker+set}" = set; then
10375 enableval=$enable_filepicker;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10378 else
10379 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10380 fi
10381
10382 else
10383
10384 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10385
10386 fi
10387
10388
10389 eval "$wx_cv_use_filepicker"
10390
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_FILEPICKERCTRL = yes; then
10393 result=no
10394 else
10395 result=yes
10396 fi
10397 else
10398 result=$wxUSE_FILEPICKERCTRL
10399 fi
10400
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10403
10404
10405 enablestring=
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10409 defaultval=yes
10410 else
10411 defaultval=no
10412 fi
10413 fi
10414
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10417 # Check whether --enable-filectrl was given.
10418 if test "${enable_filectrl+set}" = set; then
10419 enableval=$enable_filectrl;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10422 else
10423 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10424 fi
10425
10426 else
10427
10428 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10429
10430 fi
10431
10432
10433 eval "$wx_cv_use_filectrl"
10434
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_FILECTRL = yes; then
10437 result=no
10438 else
10439 result=yes
10440 fi
10441 else
10442 result=$wxUSE_FILECTRL
10443 fi
10444
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10447
10448
10449 enablestring=
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10453 defaultval=yes
10454 else
10455 defaultval=no
10456 fi
10457 fi
10458
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10461 # Check whether --enable-fontpicker was given.
10462 if test "${enable_fontpicker+set}" = set; then
10463 enableval=$enable_fontpicker;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10466 else
10467 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10468 fi
10469
10470 else
10471
10472 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10473
10474 fi
10475
10476
10477 eval "$wx_cv_use_fontpicker"
10478
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_FONTPICKERCTRL = yes; then
10481 result=no
10482 else
10483 result=yes
10484 fi
10485 else
10486 result=$wxUSE_FONTPICKERCTRL
10487 fi
10488
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10491
10492
10493 enablestring=
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10497 defaultval=yes
10498 else
10499 defaultval=no
10500 fi
10501 fi
10502
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10505 # Check whether --enable-gauge was given.
10506 if test "${enable_gauge+set}" = set; then
10507 enableval=$enable_gauge;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10510 else
10511 wx_cv_use_gauge='wxUSE_GAUGE=no'
10512 fi
10513
10514 else
10515
10516 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10517
10518 fi
10519
10520
10521 eval "$wx_cv_use_gauge"
10522
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_GAUGE = yes; then
10525 result=no
10526 else
10527 result=yes
10528 fi
10529 else
10530 result=$wxUSE_GAUGE
10531 fi
10532
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10535
10536
10537 enablestring=
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10541 defaultval=yes
10542 else
10543 defaultval=no
10544 fi
10545 fi
10546
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10549 # Check whether --enable-grid was given.
10550 if test "${enable_grid+set}" = set; then
10551 enableval=$enable_grid;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_grid='wxUSE_GRID=yes'
10554 else
10555 wx_cv_use_grid='wxUSE_GRID=no'
10556 fi
10557
10558 else
10559
10560 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10561
10562 fi
10563
10564
10565 eval "$wx_cv_use_grid"
10566
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_GRID = yes; then
10569 result=no
10570 else
10571 result=yes
10572 fi
10573 else
10574 result=$wxUSE_GRID
10575 fi
10576
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10579
10580
10581 enablestring=
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10585 defaultval=yes
10586 else
10587 defaultval=no
10588 fi
10589 fi
10590
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10593 # Check whether --enable-dataviewctrl was given.
10594 if test "${enable_dataviewctrl+set}" = set; then
10595 enableval=$enable_dataviewctrl;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10598 else
10599 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10600 fi
10601
10602 else
10603
10604 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10605
10606 fi
10607
10608
10609 eval "$wx_cv_use_dataviewctrl"
10610
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_DATAVIEWCTRL = yes; then
10613 result=no
10614 else
10615 result=yes
10616 fi
10617 else
10618 result=$wxUSE_DATAVIEWCTRL
10619 fi
10620
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10623
10624
10625 enablestring=
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10629 defaultval=yes
10630 else
10631 defaultval=no
10632 fi
10633 fi
10634
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10637 # Check whether --enable-hyperlink was given.
10638 if test "${enable_hyperlink+set}" = set; then
10639 enableval=$enable_hyperlink;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10642 else
10643 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10644 fi
10645
10646 else
10647
10648 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10649
10650 fi
10651
10652
10653 eval "$wx_cv_use_hyperlink"
10654
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_HYPERLINKCTRL = yes; then
10657 result=no
10658 else
10659 result=yes
10660 fi
10661 else
10662 result=$wxUSE_HYPERLINKCTRL
10663 fi
10664
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10667
10668
10669 enablestring=
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10673 defaultval=yes
10674 else
10675 defaultval=no
10676 fi
10677 fi
10678
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10681 # Check whether --enable-imaglist was given.
10682 if test "${enable_imaglist+set}" = set; then
10683 enableval=$enable_imaglist;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10686 else
10687 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10688 fi
10689
10690 else
10691
10692 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10693
10694 fi
10695
10696
10697 eval "$wx_cv_use_imaglist"
10698
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_IMAGLIST = yes; then
10701 result=no
10702 else
10703 result=yes
10704 fi
10705 else
10706 result=$wxUSE_IMAGLIST
10707 fi
10708
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10711
10712
10713 enablestring=
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10717 defaultval=yes
10718 else
10719 defaultval=no
10720 fi
10721 fi
10722
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10725 # Check whether --enable-listbook was given.
10726 if test "${enable_listbook+set}" = set; then
10727 enableval=$enable_listbook;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10730 else
10731 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10732 fi
10733
10734 else
10735
10736 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10737
10738 fi
10739
10740
10741 eval "$wx_cv_use_listbook"
10742
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_LISTBOOK = yes; then
10745 result=no
10746 else
10747 result=yes
10748 fi
10749 else
10750 result=$wxUSE_LISTBOOK
10751 fi
10752
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10755
10756
10757 enablestring=
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10761 defaultval=yes
10762 else
10763 defaultval=no
10764 fi
10765 fi
10766
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10769 # Check whether --enable-listbox was given.
10770 if test "${enable_listbox+set}" = set; then
10771 enableval=$enable_listbox;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10774 else
10775 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10776 fi
10777
10778 else
10779
10780 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10781
10782 fi
10783
10784
10785 eval "$wx_cv_use_listbox"
10786
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_LISTBOX = yes; then
10789 result=no
10790 else
10791 result=yes
10792 fi
10793 else
10794 result=$wxUSE_LISTBOX
10795 fi
10796
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10799
10800
10801 enablestring=
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10805 defaultval=yes
10806 else
10807 defaultval=no
10808 fi
10809 fi
10810
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10813 # Check whether --enable-listctrl was given.
10814 if test "${enable_listctrl+set}" = set; then
10815 enableval=$enable_listctrl;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10818 else
10819 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10820 fi
10821
10822 else
10823
10824 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10825
10826 fi
10827
10828
10829 eval "$wx_cv_use_listctrl"
10830
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_LISTCTRL = yes; then
10833 result=no
10834 else
10835 result=yes
10836 fi
10837 else
10838 result=$wxUSE_LISTCTRL
10839 fi
10840
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10843
10844
10845 enablestring=
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10849 defaultval=yes
10850 else
10851 defaultval=no
10852 fi
10853 fi
10854
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10857 # Check whether --enable-notebook was given.
10858 if test "${enable_notebook+set}" = set; then
10859 enableval=$enable_notebook;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10862 else
10863 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10864 fi
10865
10866 else
10867
10868 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10869
10870 fi
10871
10872
10873 eval "$wx_cv_use_notebook"
10874
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_NOTEBOOK = yes; then
10877 result=no
10878 else
10879 result=yes
10880 fi
10881 else
10882 result=$wxUSE_NOTEBOOK
10883 fi
10884
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10887
10888
10889 enablestring=
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10893 defaultval=yes
10894 else
10895 defaultval=no
10896 fi
10897 fi
10898
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10901 # Check whether --enable-notifmsg was given.
10902 if test "${enable_notifmsg+set}" = set; then
10903 enableval=$enable_notifmsg;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10906 else
10907 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10908 fi
10909
10910 else
10911
10912 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10913
10914 fi
10915
10916
10917 eval "$wx_cv_use_notifmsg"
10918
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10921 result=no
10922 else
10923 result=yes
10924 fi
10925 else
10926 result=$wxUSE_NOTIFICATION_MESSAGE
10927 fi
10928
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10931
10932
10933 enablestring=
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10937 defaultval=yes
10938 else
10939 defaultval=no
10940 fi
10941 fi
10942
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10945 # Check whether --enable-odcombobox was given.
10946 if test "${enable_odcombobox+set}" = set; then
10947 enableval=$enable_odcombobox;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10950 else
10951 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10952 fi
10953
10954 else
10955
10956 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10957
10958 fi
10959
10960
10961 eval "$wx_cv_use_odcombobox"
10962
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_ODCOMBOBOX = yes; then
10965 result=no
10966 else
10967 result=yes
10968 fi
10969 else
10970 result=$wxUSE_ODCOMBOBOX
10971 fi
10972
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10975
10976
10977 enablestring=
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10981 defaultval=yes
10982 else
10983 defaultval=no
10984 fi
10985 fi
10986
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10989 # Check whether --enable-radiobox was given.
10990 if test "${enable_radiobox+set}" = set; then
10991 enableval=$enable_radiobox;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10994 else
10995 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10996 fi
10997
10998 else
10999
11000 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11001
11002 fi
11003
11004
11005 eval "$wx_cv_use_radiobox"
11006
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_RADIOBOX = yes; then
11009 result=no
11010 else
11011 result=yes
11012 fi
11013 else
11014 result=$wxUSE_RADIOBOX
11015 fi
11016
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11019
11020
11021 enablestring=
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11025 defaultval=yes
11026 else
11027 defaultval=no
11028 fi
11029 fi
11030
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11033 # Check whether --enable-radiobtn was given.
11034 if test "${enable_radiobtn+set}" = set; then
11035 enableval=$enable_radiobtn;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11038 else
11039 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11040 fi
11041
11042 else
11043
11044 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11045
11046 fi
11047
11048
11049 eval "$wx_cv_use_radiobtn"
11050
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_RADIOBTN = yes; then
11053 result=no
11054 else
11055 result=yes
11056 fi
11057 else
11058 result=$wxUSE_RADIOBTN
11059 fi
11060
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11063
11064
11065 enablestring=
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11069 defaultval=yes
11070 else
11071 defaultval=no
11072 fi
11073 fi
11074
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11077 # Check whether --enable-sash was given.
11078 if test "${enable_sash+set}" = set; then
11079 enableval=$enable_sash;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_sash='wxUSE_SASH=yes'
11082 else
11083 wx_cv_use_sash='wxUSE_SASH=no'
11084 fi
11085
11086 else
11087
11088 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11089
11090 fi
11091
11092
11093 eval "$wx_cv_use_sash"
11094
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_SASH = yes; then
11097 result=no
11098 else
11099 result=yes
11100 fi
11101 else
11102 result=$wxUSE_SASH
11103 fi
11104
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11107
11108
11109 enablestring=
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11113 defaultval=yes
11114 else
11115 defaultval=no
11116 fi
11117 fi
11118
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11121 # Check whether --enable-scrollbar was given.
11122 if test "${enable_scrollbar+set}" = set; then
11123 enableval=$enable_scrollbar;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11126 else
11127 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11128 fi
11129
11130 else
11131
11132 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_scrollbar"
11138
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_SCROLLBAR = yes; then
11141 result=no
11142 else
11143 result=yes
11144 fi
11145 else
11146 result=$wxUSE_SCROLLBAR
11147 fi
11148
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11151
11152
11153 enablestring=
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11157 defaultval=yes
11158 else
11159 defaultval=no
11160 fi
11161 fi
11162
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11165 # Check whether --enable-searchctrl was given.
11166 if test "${enable_searchctrl+set}" = set; then
11167 enableval=$enable_searchctrl;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11170 else
11171 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11172 fi
11173
11174 else
11175
11176 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11177
11178 fi
11179
11180
11181 eval "$wx_cv_use_searchctrl"
11182
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_SEARCHCTRL = yes; then
11185 result=no
11186 else
11187 result=yes
11188 fi
11189 else
11190 result=$wxUSE_SEARCHCTRL
11191 fi
11192
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11195
11196
11197 enablestring=
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11201 defaultval=yes
11202 else
11203 defaultval=no
11204 fi
11205 fi
11206
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11209 # Check whether --enable-slider was given.
11210 if test "${enable_slider+set}" = set; then
11211 enableval=$enable_slider;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_slider='wxUSE_SLIDER=yes'
11214 else
11215 wx_cv_use_slider='wxUSE_SLIDER=no'
11216 fi
11217
11218 else
11219
11220 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11221
11222 fi
11223
11224
11225 eval "$wx_cv_use_slider"
11226
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_SLIDER = yes; then
11229 result=no
11230 else
11231 result=yes
11232 fi
11233 else
11234 result=$wxUSE_SLIDER
11235 fi
11236
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11239
11240
11241 enablestring=
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11245 defaultval=yes
11246 else
11247 defaultval=no
11248 fi
11249 fi
11250
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11253 # Check whether --enable-spinbtn was given.
11254 if test "${enable_spinbtn+set}" = set; then
11255 enableval=$enable_spinbtn;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11258 else
11259 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11260 fi
11261
11262 else
11263
11264 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_spinbtn"
11270
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_SPINBTN = yes; then
11273 result=no
11274 else
11275 result=yes
11276 fi
11277 else
11278 result=$wxUSE_SPINBTN
11279 fi
11280
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11283
11284
11285 enablestring=
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11289 defaultval=yes
11290 else
11291 defaultval=no
11292 fi
11293 fi
11294
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11297 # Check whether --enable-spinctrl was given.
11298 if test "${enable_spinctrl+set}" = set; then
11299 enableval=$enable_spinctrl;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11302 else
11303 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11304 fi
11305
11306 else
11307
11308 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11309
11310 fi
11311
11312
11313 eval "$wx_cv_use_spinctrl"
11314
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_SPINCTRL = yes; then
11317 result=no
11318 else
11319 result=yes
11320 fi
11321 else
11322 result=$wxUSE_SPINCTRL
11323 fi
11324
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11327
11328
11329 enablestring=
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11333 defaultval=yes
11334 else
11335 defaultval=no
11336 fi
11337 fi
11338
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11341 # Check whether --enable-splitter was given.
11342 if test "${enable_splitter+set}" = set; then
11343 enableval=$enable_splitter;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11346 else
11347 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11348 fi
11349
11350 else
11351
11352 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11353
11354 fi
11355
11356
11357 eval "$wx_cv_use_splitter"
11358
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_SPLITTER = yes; then
11361 result=no
11362 else
11363 result=yes
11364 fi
11365 else
11366 result=$wxUSE_SPLITTER
11367 fi
11368
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11371
11372
11373 enablestring=
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11377 defaultval=yes
11378 else
11379 defaultval=no
11380 fi
11381 fi
11382
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11385 # Check whether --enable-statbmp was given.
11386 if test "${enable_statbmp+set}" = set; then
11387 enableval=$enable_statbmp;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11390 else
11391 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11392 fi
11393
11394 else
11395
11396 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11397
11398 fi
11399
11400
11401 eval "$wx_cv_use_statbmp"
11402
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_STATBMP = yes; then
11405 result=no
11406 else
11407 result=yes
11408 fi
11409 else
11410 result=$wxUSE_STATBMP
11411 fi
11412
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11415
11416
11417 enablestring=
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11421 defaultval=yes
11422 else
11423 defaultval=no
11424 fi
11425 fi
11426
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11429 # Check whether --enable-statbox was given.
11430 if test "${enable_statbox+set}" = set; then
11431 enableval=$enable_statbox;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11434 else
11435 wx_cv_use_statbox='wxUSE_STATBOX=no'
11436 fi
11437
11438 else
11439
11440 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11441
11442 fi
11443
11444
11445 eval "$wx_cv_use_statbox"
11446
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_STATBOX = yes; then
11449 result=no
11450 else
11451 result=yes
11452 fi
11453 else
11454 result=$wxUSE_STATBOX
11455 fi
11456
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11459
11460
11461 enablestring=
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11465 defaultval=yes
11466 else
11467 defaultval=no
11468 fi
11469 fi
11470
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11473 # Check whether --enable-statline was given.
11474 if test "${enable_statline+set}" = set; then
11475 enableval=$enable_statline;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_statline='wxUSE_STATLINE=yes'
11478 else
11479 wx_cv_use_statline='wxUSE_STATLINE=no'
11480 fi
11481
11482 else
11483
11484 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_statline"
11490
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_STATLINE = yes; then
11493 result=no
11494 else
11495 result=yes
11496 fi
11497 else
11498 result=$wxUSE_STATLINE
11499 fi
11500
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11503
11504
11505 enablestring=
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11509 defaultval=yes
11510 else
11511 defaultval=no
11512 fi
11513 fi
11514
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11517 # Check whether --enable-stattext was given.
11518 if test "${enable_stattext+set}" = set; then
11519 enableval=$enable_stattext;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11522 else
11523 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11524 fi
11525
11526 else
11527
11528 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11529
11530 fi
11531
11532
11533 eval "$wx_cv_use_stattext"
11534
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_STATTEXT = yes; then
11537 result=no
11538 else
11539 result=yes
11540 fi
11541 else
11542 result=$wxUSE_STATTEXT
11543 fi
11544
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11547
11548
11549 enablestring=
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11553 defaultval=yes
11554 else
11555 defaultval=no
11556 fi
11557 fi
11558
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11561 # Check whether --enable-statusbar was given.
11562 if test "${enable_statusbar+set}" = set; then
11563 enableval=$enable_statusbar;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11566 else
11567 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11568 fi
11569
11570 else
11571
11572 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11573
11574 fi
11575
11576
11577 eval "$wx_cv_use_statusbar"
11578
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_STATUSBAR = yes; then
11581 result=no
11582 else
11583 result=yes
11584 fi
11585 else
11586 result=$wxUSE_STATUSBAR
11587 fi
11588
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11591
11592
11593 enablestring=
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11597 defaultval=yes
11598 else
11599 defaultval=no
11600 fi
11601 fi
11602
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11605 # Check whether --enable-tabdialog was given.
11606 if test "${enable_tabdialog+set}" = set; then
11607 enableval=$enable_tabdialog;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11610 else
11611 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11612 fi
11613
11614 else
11615
11616 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11617
11618 fi
11619
11620
11621 eval "$wx_cv_use_tabdialog"
11622
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_TAB_DIALOG = yes; then
11625 result=no
11626 else
11627 result=yes
11628 fi
11629 else
11630 result=$wxUSE_TAB_DIALOG
11631 fi
11632
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11635
11636
11637 enablestring=
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11641 defaultval=yes
11642 else
11643 defaultval=no
11644 fi
11645 fi
11646
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11649 # Check whether --enable-taskbaricon was given.
11650 if test "${enable_taskbaricon+set}" = set; then
11651 enableval=$enable_taskbaricon;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11654 else
11655 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11656 fi
11657
11658 else
11659
11660 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11661
11662 fi
11663
11664
11665 eval "$wx_cv_use_taskbaricon"
11666
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_TASKBARICON = yes; then
11669 result=no
11670 else
11671 result=yes
11672 fi
11673 else
11674 result=$wxUSE_TASKBARICON
11675 fi
11676
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11679
11680
11681 enablestring=
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11685 defaultval=yes
11686 else
11687 defaultval=no
11688 fi
11689 fi
11690
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11693 # Check whether --enable-textctrl was given.
11694 if test "${enable_textctrl+set}" = set; then
11695 enableval=$enable_textctrl;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11698 else
11699 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11700 fi
11701
11702 else
11703
11704 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11705
11706 fi
11707
11708
11709 eval "$wx_cv_use_textctrl"
11710
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_TEXTCTRL = yes; then
11713 result=no
11714 else
11715 result=yes
11716 fi
11717 else
11718 result=$wxUSE_TEXTCTRL
11719 fi
11720
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11723
11724
11725 enablestring=
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11729 defaultval=yes
11730 else
11731 defaultval=no
11732 fi
11733 fi
11734
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11737 # Check whether --enable-togglebtn was given.
11738 if test "${enable_togglebtn+set}" = set; then
11739 enableval=$enable_togglebtn;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11742 else
11743 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11744 fi
11745
11746 else
11747
11748 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11749
11750 fi
11751
11752
11753 eval "$wx_cv_use_togglebtn"
11754
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_TOGGLEBTN = yes; then
11757 result=no
11758 else
11759 result=yes
11760 fi
11761 else
11762 result=$wxUSE_TOGGLEBTN
11763 fi
11764
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11767
11768
11769 enablestring=
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11773 defaultval=yes
11774 else
11775 defaultval=no
11776 fi
11777 fi
11778
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11781 # Check whether --enable-toolbar was given.
11782 if test "${enable_toolbar+set}" = set; then
11783 enableval=$enable_toolbar;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11786 else
11787 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11788 fi
11789
11790 else
11791
11792 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11793
11794 fi
11795
11796
11797 eval "$wx_cv_use_toolbar"
11798
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_TOOLBAR = yes; then
11801 result=no
11802 else
11803 result=yes
11804 fi
11805 else
11806 result=$wxUSE_TOOLBAR
11807 fi
11808
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11811
11812
11813 enablestring=
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11817 defaultval=yes
11818 else
11819 defaultval=no
11820 fi
11821 fi
11822
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11825 # Check whether --enable-tbarnative was given.
11826 if test "${enable_tbarnative+set}" = set; then
11827 enableval=$enable_tbarnative;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11830 else
11831 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11832 fi
11833
11834 else
11835
11836 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11837
11838 fi
11839
11840
11841 eval "$wx_cv_use_tbarnative"
11842
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11845 result=no
11846 else
11847 result=yes
11848 fi
11849 else
11850 result=$wxUSE_TOOLBAR_NATIVE
11851 fi
11852
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11855
11856
11857 enablestring=
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11861 defaultval=yes
11862 else
11863 defaultval=no
11864 fi
11865 fi
11866
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11869 # Check whether --enable-treebook was given.
11870 if test "${enable_treebook+set}" = set; then
11871 enableval=$enable_treebook;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11874 else
11875 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11876 fi
11877
11878 else
11879
11880 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11881
11882 fi
11883
11884
11885 eval "$wx_cv_use_treebook"
11886
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_TREEBOOK = yes; then
11889 result=no
11890 else
11891 result=yes
11892 fi
11893 else
11894 result=$wxUSE_TREEBOOK
11895 fi
11896
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11899
11900
11901 enablestring=
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11905 defaultval=yes
11906 else
11907 defaultval=no
11908 fi
11909 fi
11910
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11913 # Check whether --enable-toolbook was given.
11914 if test "${enable_toolbook+set}" = set; then
11915 enableval=$enable_toolbook;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11918 else
11919 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11920 fi
11921
11922 else
11923
11924 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_toolbook"
11930
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_TOOLBOOK = yes; then
11933 result=no
11934 else
11935 result=yes
11936 fi
11937 else
11938 result=$wxUSE_TOOLBOOK
11939 fi
11940
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11943
11944
11945 enablestring=
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11949 defaultval=yes
11950 else
11951 defaultval=no
11952 fi
11953 fi
11954
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11957 # Check whether --enable-treectrl was given.
11958 if test "${enable_treectrl+set}" = set; then
11959 enableval=$enable_treectrl;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11962 else
11963 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11964 fi
11965
11966 else
11967
11968 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11969
11970 fi
11971
11972
11973 eval "$wx_cv_use_treectrl"
11974
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_TREECTRL = yes; then
11977 result=no
11978 else
11979 result=yes
11980 fi
11981 else
11982 result=$wxUSE_TREECTRL
11983 fi
11984
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11987
11988
11989 enablestring=
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11993 defaultval=yes
11994 else
11995 defaultval=no
11996 fi
11997 fi
11998
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12001 # Check whether --enable-tipwindow was given.
12002 if test "${enable_tipwindow+set}" = set; then
12003 enableval=$enable_tipwindow;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12006 else
12007 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12008 fi
12009
12010 else
12011
12012 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12013
12014 fi
12015
12016
12017 eval "$wx_cv_use_tipwindow"
12018
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_TIPWINDOW = yes; then
12021 result=no
12022 else
12023 result=yes
12024 fi
12025 else
12026 result=$wxUSE_TIPWINDOW
12027 fi
12028
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12031
12032
12033 enablestring=
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12037 defaultval=yes
12038 else
12039 defaultval=no
12040 fi
12041 fi
12042
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12045 # Check whether --enable-popupwin was given.
12046 if test "${enable_popupwin+set}" = set; then
12047 enableval=$enable_popupwin;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12050 else
12051 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12052 fi
12053
12054 else
12055
12056 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12057
12058 fi
12059
12060
12061 eval "$wx_cv_use_popupwin"
12062
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_POPUPWIN = yes; then
12065 result=no
12066 else
12067 result=yes
12068 fi
12069 else
12070 result=$wxUSE_POPUPWIN
12071 fi
12072
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12075
12076
12077
12078
12079 enablestring=
12080 defaultval=$wxUSE_ALL_FEATURES
12081 if test -z "$defaultval"; then
12082 if test x"$enablestring" = xdisable; then
12083 defaultval=yes
12084 else
12085 defaultval=no
12086 fi
12087 fi
12088
12089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12090 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12091 # Check whether --enable-commondlg was given.
12092 if test "${enable_commondlg+set}" = set; then
12093 enableval=$enable_commondlg;
12094 if test "$enableval" = yes; then
12095 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12096 else
12097 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12098 fi
12099
12100 else
12101
12102 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12103
12104 fi
12105
12106
12107 eval "$wx_cv_use_commondlg"
12108
12109 if test x"$enablestring" = xdisable; then
12110 if test $wxUSE_COMMONDLGS = yes; then
12111 result=no
12112 else
12113 result=yes
12114 fi
12115 else
12116 result=$wxUSE_COMMONDLGS
12117 fi
12118
12119 { echo "$as_me:$LINENO: result: $result" >&5
12120 echo "${ECHO_T}$result" >&6; }
12121
12122
12123 enablestring=
12124 defaultval=$wxUSE_ALL_FEATURES
12125 if test -z "$defaultval"; then
12126 if test x"$enablestring" = xdisable; then
12127 defaultval=yes
12128 else
12129 defaultval=no
12130 fi
12131 fi
12132
12133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12134 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12135 # Check whether --enable-aboutdlg was given.
12136 if test "${enable_aboutdlg+set}" = set; then
12137 enableval=$enable_aboutdlg;
12138 if test "$enableval" = yes; then
12139 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12140 else
12141 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12142 fi
12143
12144 else
12145
12146 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12147
12148 fi
12149
12150
12151 eval "$wx_cv_use_aboutdlg"
12152
12153 if test x"$enablestring" = xdisable; then
12154 if test $wxUSE_ABOUTDLG = yes; then
12155 result=no
12156 else
12157 result=yes
12158 fi
12159 else
12160 result=$wxUSE_ABOUTDLG
12161 fi
12162
12163 { echo "$as_me:$LINENO: result: $result" >&5
12164 echo "${ECHO_T}$result" >&6; }
12165
12166
12167 enablestring=
12168 defaultval=$wxUSE_ALL_FEATURES
12169 if test -z "$defaultval"; then
12170 if test x"$enablestring" = xdisable; then
12171 defaultval=yes
12172 else
12173 defaultval=no
12174 fi
12175 fi
12176
12177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12179 # Check whether --enable-choicedlg was given.
12180 if test "${enable_choicedlg+set}" = set; then
12181 enableval=$enable_choicedlg;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12184 else
12185 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12186 fi
12187
12188 else
12189
12190 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12191
12192 fi
12193
12194
12195 eval "$wx_cv_use_choicedlg"
12196
12197 if test x"$enablestring" = xdisable; then
12198 if test $wxUSE_CHOICEDLG = yes; then
12199 result=no
12200 else
12201 result=yes
12202 fi
12203 else
12204 result=$wxUSE_CHOICEDLG
12205 fi
12206
12207 { echo "$as_me:$LINENO: result: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12209
12210
12211 enablestring=
12212 defaultval=$wxUSE_ALL_FEATURES
12213 if test -z "$defaultval"; then
12214 if test x"$enablestring" = xdisable; then
12215 defaultval=yes
12216 else
12217 defaultval=no
12218 fi
12219 fi
12220
12221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12222 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12223 # Check whether --enable-coldlg was given.
12224 if test "${enable_coldlg+set}" = set; then
12225 enableval=$enable_coldlg;
12226 if test "$enableval" = yes; then
12227 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12228 else
12229 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12230 fi
12231
12232 else
12233
12234 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12235
12236 fi
12237
12238
12239 eval "$wx_cv_use_coldlg"
12240
12241 if test x"$enablestring" = xdisable; then
12242 if test $wxUSE_COLOURDLG = yes; then
12243 result=no
12244 else
12245 result=yes
12246 fi
12247 else
12248 result=$wxUSE_COLOURDLG
12249 fi
12250
12251 { echo "$as_me:$LINENO: result: $result" >&5
12252 echo "${ECHO_T}$result" >&6; }
12253
12254
12255 enablestring=
12256 defaultval=$wxUSE_ALL_FEATURES
12257 if test -z "$defaultval"; then
12258 if test x"$enablestring" = xdisable; then
12259 defaultval=yes
12260 else
12261 defaultval=no
12262 fi
12263 fi
12264
12265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12266 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12267 # Check whether --enable-filedlg was given.
12268 if test "${enable_filedlg+set}" = set; then
12269 enableval=$enable_filedlg;
12270 if test "$enableval" = yes; then
12271 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12272 else
12273 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12274 fi
12275
12276 else
12277
12278 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12279
12280 fi
12281
12282
12283 eval "$wx_cv_use_filedlg"
12284
12285 if test x"$enablestring" = xdisable; then
12286 if test $wxUSE_FILEDLG = yes; then
12287 result=no
12288 else
12289 result=yes
12290 fi
12291 else
12292 result=$wxUSE_FILEDLG
12293 fi
12294
12295 { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12297
12298
12299 enablestring=
12300 defaultval=$wxUSE_ALL_FEATURES
12301 if test -z "$defaultval"; then
12302 if test x"$enablestring" = xdisable; then
12303 defaultval=yes
12304 else
12305 defaultval=no
12306 fi
12307 fi
12308
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12311 # Check whether --enable-finddlg was given.
12312 if test "${enable_finddlg+set}" = set; then
12313 enableval=$enable_finddlg;
12314 if test "$enableval" = yes; then
12315 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12316 else
12317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12318 fi
12319
12320 else
12321
12322 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12323
12324 fi
12325
12326
12327 eval "$wx_cv_use_finddlg"
12328
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_FINDREPLDLG = yes; then
12331 result=no
12332 else
12333 result=yes
12334 fi
12335 else
12336 result=$wxUSE_FINDREPLDLG
12337 fi
12338
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12341
12342
12343 enablestring=
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12347 defaultval=yes
12348 else
12349 defaultval=no
12350 fi
12351 fi
12352
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12355 # Check whether --enable-fontdlg was given.
12356 if test "${enable_fontdlg+set}" = set; then
12357 enableval=$enable_fontdlg;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12360 else
12361 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12362 fi
12363
12364 else
12365
12366 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12367
12368 fi
12369
12370
12371 eval "$wx_cv_use_fontdlg"
12372
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_FONTDLG = yes; then
12375 result=no
12376 else
12377 result=yes
12378 fi
12379 else
12380 result=$wxUSE_FONTDLG
12381 fi
12382
12383 { echo "$as_me:$LINENO: result: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12385
12386
12387 enablestring=
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12391 defaultval=yes
12392 else
12393 defaultval=no
12394 fi
12395 fi
12396
12397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12399 # Check whether --enable-dirdlg was given.
12400 if test "${enable_dirdlg+set}" = set; then
12401 enableval=$enable_dirdlg;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12404 else
12405 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12406 fi
12407
12408 else
12409
12410 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12411
12412 fi
12413
12414
12415 eval "$wx_cv_use_dirdlg"
12416
12417 if test x"$enablestring" = xdisable; then
12418 if test $wxUSE_DIRDLG = yes; then
12419 result=no
12420 else
12421 result=yes
12422 fi
12423 else
12424 result=$wxUSE_DIRDLG
12425 fi
12426
12427 { echo "$as_me:$LINENO: result: $result" >&5
12428 echo "${ECHO_T}$result" >&6; }
12429
12430
12431 enablestring=
12432 defaultval=$wxUSE_ALL_FEATURES
12433 if test -z "$defaultval"; then
12434 if test x"$enablestring" = xdisable; then
12435 defaultval=yes
12436 else
12437 defaultval=no
12438 fi
12439 fi
12440
12441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12442 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12443 # Check whether --enable-msgdlg was given.
12444 if test "${enable_msgdlg+set}" = set; then
12445 enableval=$enable_msgdlg;
12446 if test "$enableval" = yes; then
12447 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12448 else
12449 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12450 fi
12451
12452 else
12453
12454 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12455
12456 fi
12457
12458
12459 eval "$wx_cv_use_msgdlg"
12460
12461 if test x"$enablestring" = xdisable; then
12462 if test $wxUSE_MSGDLG = yes; then
12463 result=no
12464 else
12465 result=yes
12466 fi
12467 else
12468 result=$wxUSE_MSGDLG
12469 fi
12470
12471 { echo "$as_me:$LINENO: result: $result" >&5
12472 echo "${ECHO_T}$result" >&6; }
12473
12474
12475 enablestring=
12476 defaultval=$wxUSE_ALL_FEATURES
12477 if test -z "$defaultval"; then
12478 if test x"$enablestring" = xdisable; then
12479 defaultval=yes
12480 else
12481 defaultval=no
12482 fi
12483 fi
12484
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12487 # Check whether --enable-numberdlg was given.
12488 if test "${enable_numberdlg+set}" = set; then
12489 enableval=$enable_numberdlg;
12490 if test "$enableval" = yes; then
12491 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12492 else
12493 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12494 fi
12495
12496 else
12497
12498 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12499
12500 fi
12501
12502
12503 eval "$wx_cv_use_numberdlg"
12504
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_NUMBERDLG = yes; then
12507 result=no
12508 else
12509 result=yes
12510 fi
12511 else
12512 result=$wxUSE_NUMBERDLG
12513 fi
12514
12515 { echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12517
12518
12519 enablestring=
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12523 defaultval=yes
12524 else
12525 defaultval=no
12526 fi
12527 fi
12528
12529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12531 # Check whether --enable-splash was given.
12532 if test "${enable_splash+set}" = set; then
12533 enableval=$enable_splash;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_splash='wxUSE_SPLASH=yes'
12536 else
12537 wx_cv_use_splash='wxUSE_SPLASH=no'
12538 fi
12539
12540 else
12541
12542 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12543
12544 fi
12545
12546
12547 eval "$wx_cv_use_splash"
12548
12549 if test x"$enablestring" = xdisable; then
12550 if test $wxUSE_SPLASH = yes; then
12551 result=no
12552 else
12553 result=yes
12554 fi
12555 else
12556 result=$wxUSE_SPLASH
12557 fi
12558
12559 { echo "$as_me:$LINENO: result: $result" >&5
12560 echo "${ECHO_T}$result" >&6; }
12561
12562
12563 enablestring=
12564 defaultval=$wxUSE_ALL_FEATURES
12565 if test -z "$defaultval"; then
12566 if test x"$enablestring" = xdisable; then
12567 defaultval=yes
12568 else
12569 defaultval=no
12570 fi
12571 fi
12572
12573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12574 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12575 # Check whether --enable-textdlg was given.
12576 if test "${enable_textdlg+set}" = set; then
12577 enableval=$enable_textdlg;
12578 if test "$enableval" = yes; then
12579 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12580 else
12581 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12582 fi
12583
12584 else
12585
12586 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12587
12588 fi
12589
12590
12591 eval "$wx_cv_use_textdlg"
12592
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_TEXTDLG = yes; then
12595 result=no
12596 else
12597 result=yes
12598 fi
12599 else
12600 result=$wxUSE_TEXTDLG
12601 fi
12602
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12605
12606
12607 enablestring=
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12611 defaultval=yes
12612 else
12613 defaultval=no
12614 fi
12615 fi
12616
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12619 # Check whether --enable-tipdlg was given.
12620 if test "${enable_tipdlg+set}" = set; then
12621 enableval=$enable_tipdlg;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12624 else
12625 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12626 fi
12627
12628 else
12629
12630 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12631
12632 fi
12633
12634
12635 eval "$wx_cv_use_tipdlg"
12636
12637 if test x"$enablestring" = xdisable; then
12638 if test $wxUSE_STARTUP_TIPS = yes; then
12639 result=no
12640 else
12641 result=yes
12642 fi
12643 else
12644 result=$wxUSE_STARTUP_TIPS
12645 fi
12646
12647 { echo "$as_me:$LINENO: result: $result" >&5
12648 echo "${ECHO_T}$result" >&6; }
12649
12650
12651 enablestring=
12652 defaultval=$wxUSE_ALL_FEATURES
12653 if test -z "$defaultval"; then
12654 if test x"$enablestring" = xdisable; then
12655 defaultval=yes
12656 else
12657 defaultval=no
12658 fi
12659 fi
12660
12661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12662 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12663 # Check whether --enable-progressdlg was given.
12664 if test "${enable_progressdlg+set}" = set; then
12665 enableval=$enable_progressdlg;
12666 if test "$enableval" = yes; then
12667 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12668 else
12669 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12670 fi
12671
12672 else
12673
12674 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12675
12676 fi
12677
12678
12679 eval "$wx_cv_use_progressdlg"
12680
12681 if test x"$enablestring" = xdisable; then
12682 if test $wxUSE_PROGRESSDLG = yes; then
12683 result=no
12684 else
12685 result=yes
12686 fi
12687 else
12688 result=$wxUSE_PROGRESSDLG
12689 fi
12690
12691 { echo "$as_me:$LINENO: result: $result" >&5
12692 echo "${ECHO_T}$result" >&6; }
12693
12694
12695 enablestring=
12696 defaultval=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x"$enablestring" = xdisable; then
12699 defaultval=yes
12700 else
12701 defaultval=no
12702 fi
12703 fi
12704
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12707 # Check whether --enable-wizarddlg was given.
12708 if test "${enable_wizarddlg+set}" = set; then
12709 enableval=$enable_wizarddlg;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12712 else
12713 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12714 fi
12715
12716 else
12717
12718 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12719
12720 fi
12721
12722
12723 eval "$wx_cv_use_wizarddlg"
12724
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_WIZARDDLG = yes; then
12727 result=no
12728 else
12729 result=yes
12730 fi
12731 else
12732 result=$wxUSE_WIZARDDLG
12733 fi
12734
12735 { echo "$as_me:$LINENO: result: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12737
12738
12739
12740
12741 enablestring=
12742 defaultval=$wxUSE_ALL_FEATURES
12743 if test -z "$defaultval"; then
12744 if test x"$enablestring" = xdisable; then
12745 defaultval=yes
12746 else
12747 defaultval=no
12748 fi
12749 fi
12750
12751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12752 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12753 # Check whether --enable-menus was given.
12754 if test "${enable_menus+set}" = set; then
12755 enableval=$enable_menus;
12756 if test "$enableval" = yes; then
12757 wx_cv_use_menus='wxUSE_MENUS=yes'
12758 else
12759 wx_cv_use_menus='wxUSE_MENUS=no'
12760 fi
12761
12762 else
12763
12764 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12765
12766 fi
12767
12768
12769 eval "$wx_cv_use_menus"
12770
12771 if test x"$enablestring" = xdisable; then
12772 if test $wxUSE_MENUS = yes; then
12773 result=no
12774 else
12775 result=yes
12776 fi
12777 else
12778 result=$wxUSE_MENUS
12779 fi
12780
12781 { echo "$as_me:$LINENO: result: $result" >&5
12782 echo "${ECHO_T}$result" >&6; }
12783
12784
12785 enablestring=
12786 defaultval=$wxUSE_ALL_FEATURES
12787 if test -z "$defaultval"; then
12788 if test x"$enablestring" = xdisable; then
12789 defaultval=yes
12790 else
12791 defaultval=no
12792 fi
12793 fi
12794
12795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12796 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12797 # Check whether --enable-miniframe was given.
12798 if test "${enable_miniframe+set}" = set; then
12799 enableval=$enable_miniframe;
12800 if test "$enableval" = yes; then
12801 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12802 else
12803 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12804 fi
12805
12806 else
12807
12808 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12809
12810 fi
12811
12812
12813 eval "$wx_cv_use_miniframe"
12814
12815 if test x"$enablestring" = xdisable; then
12816 if test $wxUSE_MINIFRAME = yes; then
12817 result=no
12818 else
12819 result=yes
12820 fi
12821 else
12822 result=$wxUSE_MINIFRAME
12823 fi
12824
12825 { echo "$as_me:$LINENO: result: $result" >&5
12826 echo "${ECHO_T}$result" >&6; }
12827
12828
12829 enablestring=
12830 defaultval=$wxUSE_ALL_FEATURES
12831 if test -z "$defaultval"; then
12832 if test x"$enablestring" = xdisable; then
12833 defaultval=yes
12834 else
12835 defaultval=no
12836 fi
12837 fi
12838
12839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12840 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12841 # Check whether --enable-tooltips was given.
12842 if test "${enable_tooltips+set}" = set; then
12843 enableval=$enable_tooltips;
12844 if test "$enableval" = yes; then
12845 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12846 else
12847 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12848 fi
12849
12850 else
12851
12852 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12853
12854 fi
12855
12856
12857 eval "$wx_cv_use_tooltips"
12858
12859 if test x"$enablestring" = xdisable; then
12860 if test $wxUSE_TOOLTIPS = yes; then
12861 result=no
12862 else
12863 result=yes
12864 fi
12865 else
12866 result=$wxUSE_TOOLTIPS
12867 fi
12868
12869 { echo "$as_me:$LINENO: result: $result" >&5
12870 echo "${ECHO_T}$result" >&6; }
12871
12872
12873 enablestring=
12874 defaultval=$wxUSE_ALL_FEATURES
12875 if test -z "$defaultval"; then
12876 if test x"$enablestring" = xdisable; then
12877 defaultval=yes
12878 else
12879 defaultval=no
12880 fi
12881 fi
12882
12883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12884 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12885 # Check whether --enable-splines was given.
12886 if test "${enable_splines+set}" = set; then
12887 enableval=$enable_splines;
12888 if test "$enableval" = yes; then
12889 wx_cv_use_splines='wxUSE_SPLINES=yes'
12890 else
12891 wx_cv_use_splines='wxUSE_SPLINES=no'
12892 fi
12893
12894 else
12895
12896 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12897
12898 fi
12899
12900
12901 eval "$wx_cv_use_splines"
12902
12903 if test x"$enablestring" = xdisable; then
12904 if test $wxUSE_SPLINES = yes; then
12905 result=no
12906 else
12907 result=yes
12908 fi
12909 else
12910 result=$wxUSE_SPLINES
12911 fi
12912
12913 { echo "$as_me:$LINENO: result: $result" >&5
12914 echo "${ECHO_T}$result" >&6; }
12915
12916
12917 enablestring=
12918 defaultval=$wxUSE_ALL_FEATURES
12919 if test -z "$defaultval"; then
12920 if test x"$enablestring" = xdisable; then
12921 defaultval=yes
12922 else
12923 defaultval=no
12924 fi
12925 fi
12926
12927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12928 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12929 # Check whether --enable-mousewheel was given.
12930 if test "${enable_mousewheel+set}" = set; then
12931 enableval=$enable_mousewheel;
12932 if test "$enableval" = yes; then
12933 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12934 else
12935 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12936 fi
12937
12938 else
12939
12940 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12941
12942 fi
12943
12944
12945 eval "$wx_cv_use_mousewheel"
12946
12947 if test x"$enablestring" = xdisable; then
12948 if test $wxUSE_MOUSEWHEEL = yes; then
12949 result=no
12950 else
12951 result=yes
12952 fi
12953 else
12954 result=$wxUSE_MOUSEWHEEL
12955 fi
12956
12957 { echo "$as_me:$LINENO: result: $result" >&5
12958 echo "${ECHO_T}$result" >&6; }
12959
12960
12961 enablestring=
12962 defaultval=$wxUSE_ALL_FEATURES
12963 if test -z "$defaultval"; then
12964 if test x"$enablestring" = xdisable; then
12965 defaultval=yes
12966 else
12967 defaultval=no
12968 fi
12969 fi
12970
12971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12972 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12973 # Check whether --enable-validators was given.
12974 if test "${enable_validators+set}" = set; then
12975 enableval=$enable_validators;
12976 if test "$enableval" = yes; then
12977 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12978 else
12979 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12980 fi
12981
12982 else
12983
12984 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12985
12986 fi
12987
12988
12989 eval "$wx_cv_use_validators"
12990
12991 if test x"$enablestring" = xdisable; then
12992 if test $wxUSE_VALIDATORS = yes; then
12993 result=no
12994 else
12995 result=yes
12996 fi
12997 else
12998 result=$wxUSE_VALIDATORS
12999 fi
13000
13001 { echo "$as_me:$LINENO: result: $result" >&5
13002 echo "${ECHO_T}$result" >&6; }
13003
13004
13005 enablestring=
13006 defaultval=$wxUSE_ALL_FEATURES
13007 if test -z "$defaultval"; then
13008 if test x"$enablestring" = xdisable; then
13009 defaultval=yes
13010 else
13011 defaultval=no
13012 fi
13013 fi
13014
13015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13016 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13017 # Check whether --enable-busyinfo was given.
13018 if test "${enable_busyinfo+set}" = set; then
13019 enableval=$enable_busyinfo;
13020 if test "$enableval" = yes; then
13021 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13022 else
13023 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13024 fi
13025
13026 else
13027
13028 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13029
13030 fi
13031
13032
13033 eval "$wx_cv_use_busyinfo"
13034
13035 if test x"$enablestring" = xdisable; then
13036 if test $wxUSE_BUSYINFO = yes; then
13037 result=no
13038 else
13039 result=yes
13040 fi
13041 else
13042 result=$wxUSE_BUSYINFO
13043 fi
13044
13045 { echo "$as_me:$LINENO: result: $result" >&5
13046 echo "${ECHO_T}$result" >&6; }
13047
13048
13049 enablestring=
13050 defaultval=$wxUSE_ALL_FEATURES
13051 if test -z "$defaultval"; then
13052 if test x"$enablestring" = xdisable; then
13053 defaultval=yes
13054 else
13055 defaultval=no
13056 fi
13057 fi
13058
13059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13060 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13061 # Check whether --enable-joystick was given.
13062 if test "${enable_joystick+set}" = set; then
13063 enableval=$enable_joystick;
13064 if test "$enableval" = yes; then
13065 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13066 else
13067 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13068 fi
13069
13070 else
13071
13072 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13073
13074 fi
13075
13076
13077 eval "$wx_cv_use_joystick"
13078
13079 if test x"$enablestring" = xdisable; then
13080 if test $wxUSE_JOYSTICK = yes; then
13081 result=no
13082 else
13083 result=yes
13084 fi
13085 else
13086 result=$wxUSE_JOYSTICK
13087 fi
13088
13089 { echo "$as_me:$LINENO: result: $result" >&5
13090 echo "${ECHO_T}$result" >&6; }
13091
13092
13093 enablestring=
13094 defaultval=$wxUSE_ALL_FEATURES
13095 if test -z "$defaultval"; then
13096 if test x"$enablestring" = xdisable; then
13097 defaultval=yes
13098 else
13099 defaultval=no
13100 fi
13101 fi
13102
13103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13104 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13105 # Check whether --enable-metafile was given.
13106 if test "${enable_metafile+set}" = set; then
13107 enableval=$enable_metafile;
13108 if test "$enableval" = yes; then
13109 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13110 else
13111 wx_cv_use_metafile='wxUSE_METAFILE=no'
13112 fi
13113
13114 else
13115
13116 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13117
13118 fi
13119
13120
13121 eval "$wx_cv_use_metafile"
13122
13123 if test x"$enablestring" = xdisable; then
13124 if test $wxUSE_METAFILE = yes; then
13125 result=no
13126 else
13127 result=yes
13128 fi
13129 else
13130 result=$wxUSE_METAFILE
13131 fi
13132
13133 { echo "$as_me:$LINENO: result: $result" >&5
13134 echo "${ECHO_T}$result" >&6; }
13135
13136
13137 enablestring=
13138 defaultval=$wxUSE_ALL_FEATURES
13139 if test -z "$defaultval"; then
13140 if test x"$enablestring" = xdisable; then
13141 defaultval=yes
13142 else
13143 defaultval=no
13144 fi
13145 fi
13146
13147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13148 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13149 # Check whether --enable-dragimage was given.
13150 if test "${enable_dragimage+set}" = set; then
13151 enableval=$enable_dragimage;
13152 if test "$enableval" = yes; then
13153 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13154 else
13155 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13156 fi
13157
13158 else
13159
13160 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13161
13162 fi
13163
13164
13165 eval "$wx_cv_use_dragimage"
13166
13167 if test x"$enablestring" = xdisable; then
13168 if test $wxUSE_DRAGIMAGE = yes; then
13169 result=no
13170 else
13171 result=yes
13172 fi
13173 else
13174 result=$wxUSE_DRAGIMAGE
13175 fi
13176
13177 { echo "$as_me:$LINENO: result: $result" >&5
13178 echo "${ECHO_T}$result" >&6; }
13179
13180
13181 enablestring=
13182 defaultval=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x"$enablestring" = xdisable; then
13185 defaultval=yes
13186 else
13187 defaultval=no
13188 fi
13189 fi
13190
13191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13192 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13193 # Check whether --enable-accessibility was given.
13194 if test "${enable_accessibility+set}" = set; then
13195 enableval=$enable_accessibility;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13198 else
13199 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13200 fi
13201
13202 else
13203
13204 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13205
13206 fi
13207
13208
13209 eval "$wx_cv_use_accessibility"
13210
13211 if test x"$enablestring" = xdisable; then
13212 if test $wxUSE_ACCESSIBILITY = yes; then
13213 result=no
13214 else
13215 result=yes
13216 fi
13217 else
13218 result=$wxUSE_ACCESSIBILITY
13219 fi
13220
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13223
13224
13225
13226
13227 enablestring=
13228 defaultval=$wxUSE_ALL_FEATURES
13229 if test -z "$defaultval"; then
13230 if test x"$enablestring" = xdisable; then
13231 defaultval=yes
13232 else
13233 defaultval=no
13234 fi
13235 fi
13236
13237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13238 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13239 # Check whether --enable-palette was given.
13240 if test "${enable_palette+set}" = set; then
13241 enableval=$enable_palette;
13242 if test "$enableval" = yes; then
13243 wx_cv_use_palette='wxUSE_PALETTE=yes'
13244 else
13245 wx_cv_use_palette='wxUSE_PALETTE=no'
13246 fi
13247
13248 else
13249
13250 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13251
13252 fi
13253
13254
13255 eval "$wx_cv_use_palette"
13256
13257 if test x"$enablestring" = xdisable; then
13258 if test $wxUSE_PALETTE = yes; then
13259 result=no
13260 else
13261 result=yes
13262 fi
13263 else
13264 result=$wxUSE_PALETTE
13265 fi
13266
13267 { echo "$as_me:$LINENO: result: $result" >&5
13268 echo "${ECHO_T}$result" >&6; }
13269
13270
13271 enablestring=
13272 defaultval=$wxUSE_ALL_FEATURES
13273 if test -z "$defaultval"; then
13274 if test x"$enablestring" = xdisable; then
13275 defaultval=yes
13276 else
13277 defaultval=no
13278 fi
13279 fi
13280
13281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13282 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13283 # Check whether --enable-image was given.
13284 if test "${enable_image+set}" = set; then
13285 enableval=$enable_image;
13286 if test "$enableval" = yes; then
13287 wx_cv_use_image='wxUSE_IMAGE=yes'
13288 else
13289 wx_cv_use_image='wxUSE_IMAGE=no'
13290 fi
13291
13292 else
13293
13294 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13295
13296 fi
13297
13298
13299 eval "$wx_cv_use_image"
13300
13301 if test x"$enablestring" = xdisable; then
13302 if test $wxUSE_IMAGE = yes; then
13303 result=no
13304 else
13305 result=yes
13306 fi
13307 else
13308 result=$wxUSE_IMAGE
13309 fi
13310
13311 { echo "$as_me:$LINENO: result: $result" >&5
13312 echo "${ECHO_T}$result" >&6; }
13313
13314
13315 enablestring=
13316 defaultval=$wxUSE_ALL_FEATURES
13317 if test -z "$defaultval"; then
13318 if test x"$enablestring" = xdisable; then
13319 defaultval=yes
13320 else
13321 defaultval=no
13322 fi
13323 fi
13324
13325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13326 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13327 # Check whether --enable-gif was given.
13328 if test "${enable_gif+set}" = set; then
13329 enableval=$enable_gif;
13330 if test "$enableval" = yes; then
13331 wx_cv_use_gif='wxUSE_GIF=yes'
13332 else
13333 wx_cv_use_gif='wxUSE_GIF=no'
13334 fi
13335
13336 else
13337
13338 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13339
13340 fi
13341
13342
13343 eval "$wx_cv_use_gif"
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_GIF = yes; then
13347 result=no
13348 else
13349 result=yes
13350 fi
13351 else
13352 result=$wxUSE_GIF
13353 fi
13354
13355 { echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6; }
13357
13358
13359 enablestring=
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13363 defaultval=yes
13364 else
13365 defaultval=no
13366 fi
13367 fi
13368
13369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13371 # Check whether --enable-pcx was given.
13372 if test "${enable_pcx+set}" = set; then
13373 enableval=$enable_pcx;
13374 if test "$enableval" = yes; then
13375 wx_cv_use_pcx='wxUSE_PCX=yes'
13376 else
13377 wx_cv_use_pcx='wxUSE_PCX=no'
13378 fi
13379
13380 else
13381
13382 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13383
13384 fi
13385
13386
13387 eval "$wx_cv_use_pcx"
13388
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_PCX = yes; then
13391 result=no
13392 else
13393 result=yes
13394 fi
13395 else
13396 result=$wxUSE_PCX
13397 fi
13398
13399 { echo "$as_me:$LINENO: result: $result" >&5
13400 echo "${ECHO_T}$result" >&6; }
13401
13402
13403 enablestring=
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13407 defaultval=yes
13408 else
13409 defaultval=no
13410 fi
13411 fi
13412
13413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13414 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13415 # Check whether --enable-tga was given.
13416 if test "${enable_tga+set}" = set; then
13417 enableval=$enable_tga;
13418 if test "$enableval" = yes; then
13419 wx_cv_use_tga='wxUSE_TGA=yes'
13420 else
13421 wx_cv_use_tga='wxUSE_TGA=no'
13422 fi
13423
13424 else
13425
13426 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13427
13428 fi
13429
13430
13431 eval "$wx_cv_use_tga"
13432
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_TGA = yes; then
13435 result=no
13436 else
13437 result=yes
13438 fi
13439 else
13440 result=$wxUSE_TGA
13441 fi
13442
13443 { echo "$as_me:$LINENO: result: $result" >&5
13444 echo "${ECHO_T}$result" >&6; }
13445
13446
13447 enablestring=
13448 defaultval=$wxUSE_ALL_FEATURES
13449 if test -z "$defaultval"; then
13450 if test x"$enablestring" = xdisable; then
13451 defaultval=yes
13452 else
13453 defaultval=no
13454 fi
13455 fi
13456
13457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13458 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13459 # Check whether --enable-iff was given.
13460 if test "${enable_iff+set}" = set; then
13461 enableval=$enable_iff;
13462 if test "$enableval" = yes; then
13463 wx_cv_use_iff='wxUSE_IFF=yes'
13464 else
13465 wx_cv_use_iff='wxUSE_IFF=no'
13466 fi
13467
13468 else
13469
13470 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13471
13472 fi
13473
13474
13475 eval "$wx_cv_use_iff"
13476
13477 if test x"$enablestring" = xdisable; then
13478 if test $wxUSE_IFF = yes; then
13479 result=no
13480 else
13481 result=yes
13482 fi
13483 else
13484 result=$wxUSE_IFF
13485 fi
13486
13487 { echo "$as_me:$LINENO: result: $result" >&5
13488 echo "${ECHO_T}$result" >&6; }
13489
13490
13491 enablestring=
13492 defaultval=$wxUSE_ALL_FEATURES
13493 if test -z "$defaultval"; then
13494 if test x"$enablestring" = xdisable; then
13495 defaultval=yes
13496 else
13497 defaultval=no
13498 fi
13499 fi
13500
13501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13502 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13503 # Check whether --enable-pnm was given.
13504 if test "${enable_pnm+set}" = set; then
13505 enableval=$enable_pnm;
13506 if test "$enableval" = yes; then
13507 wx_cv_use_pnm='wxUSE_PNM=yes'
13508 else
13509 wx_cv_use_pnm='wxUSE_PNM=no'
13510 fi
13511
13512 else
13513
13514 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13515
13516 fi
13517
13518
13519 eval "$wx_cv_use_pnm"
13520
13521 if test x"$enablestring" = xdisable; then
13522 if test $wxUSE_PNM = yes; then
13523 result=no
13524 else
13525 result=yes
13526 fi
13527 else
13528 result=$wxUSE_PNM
13529 fi
13530
13531 { echo "$as_me:$LINENO: result: $result" >&5
13532 echo "${ECHO_T}$result" >&6; }
13533
13534
13535 enablestring=
13536 defaultval=$wxUSE_ALL_FEATURES
13537 if test -z "$defaultval"; then
13538 if test x"$enablestring" = xdisable; then
13539 defaultval=yes
13540 else
13541 defaultval=no
13542 fi
13543 fi
13544
13545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13546 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13547 # Check whether --enable-xpm was given.
13548 if test "${enable_xpm+set}" = set; then
13549 enableval=$enable_xpm;
13550 if test "$enableval" = yes; then
13551 wx_cv_use_xpm='wxUSE_XPM=yes'
13552 else
13553 wx_cv_use_xpm='wxUSE_XPM=no'
13554 fi
13555
13556 else
13557
13558 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13559
13560 fi
13561
13562
13563 eval "$wx_cv_use_xpm"
13564
13565 if test x"$enablestring" = xdisable; then
13566 if test $wxUSE_XPM = yes; then
13567 result=no
13568 else
13569 result=yes
13570 fi
13571 else
13572 result=$wxUSE_XPM
13573 fi
13574
13575 { echo "$as_me:$LINENO: result: $result" >&5
13576 echo "${ECHO_T}$result" >&6; }
13577
13578
13579 enablestring=
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13583 defaultval=yes
13584 else
13585 defaultval=no
13586 fi
13587 fi
13588
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13591 # Check whether --enable-ico_cur was given.
13592 if test "${enable_ico_cur+set}" = set; then
13593 enableval=$enable_ico_cur;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13596 else
13597 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13598 fi
13599
13600 else
13601
13602 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13603
13604 fi
13605
13606
13607 eval "$wx_cv_use_ico_cur"
13608
13609 if test x"$enablestring" = xdisable; then
13610 if test $wxUSE_ICO_CUR = yes; then
13611 result=no
13612 else
13613 result=yes
13614 fi
13615 else
13616 result=$wxUSE_ICO_CUR
13617 fi
13618
13619 { echo "$as_me:$LINENO: result: $result" >&5
13620 echo "${ECHO_T}$result" >&6; }
13621
13622
13623
13624
13625 enablestring=
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13629 defaultval=yes
13630 else
13631 defaultval=no
13632 fi
13633 fi
13634
13635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13637 # Check whether --enable-dccache was given.
13638 if test "${enable_dccache+set}" = set; then
13639 enableval=$enable_dccache;
13640 if test "$enableval" = yes; then
13641 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13642 else
13643 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13644 fi
13645
13646 else
13647
13648 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13649
13650 fi
13651
13652
13653 eval "$wx_cv_use_dccache"
13654
13655 if test x"$enablestring" = xdisable; then
13656 if test $wxUSE_DC_CACHEING = yes; then
13657 result=no
13658 else
13659 result=yes
13660 fi
13661 else
13662 result=$wxUSE_DC_CACHEING
13663 fi
13664
13665 { echo "$as_me:$LINENO: result: $result" >&5
13666 echo "${ECHO_T}$result" >&6; }
13667
13668
13669 enablestring=
13670 defaultval=$wxUSE_ALL_FEATURES
13671 if test -z "$defaultval"; then
13672 if test x"$enablestring" = xdisable; then
13673 defaultval=yes
13674 else
13675 defaultval=no
13676 fi
13677 fi
13678
13679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13680 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13681 # Check whether --enable-ps-in-msw was given.
13682 if test "${enable_ps_in_msw+set}" = set; then
13683 enableval=$enable_ps_in_msw;
13684 if test "$enableval" = yes; then
13685 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13686 else
13687 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13688 fi
13689
13690 else
13691
13692 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13693
13694 fi
13695
13696
13697 eval "$wx_cv_use_ps_in_msw"
13698
13699 if test x"$enablestring" = xdisable; then
13700 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13701 result=no
13702 else
13703 result=yes
13704 fi
13705 else
13706 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13707 fi
13708
13709 { echo "$as_me:$LINENO: result: $result" >&5
13710 echo "${ECHO_T}$result" >&6; }
13711
13712
13713 enablestring=
13714 defaultval=$wxUSE_ALL_FEATURES
13715 if test -z "$defaultval"; then
13716 if test x"$enablestring" = xdisable; then
13717 defaultval=yes
13718 else
13719 defaultval=no
13720 fi
13721 fi
13722
13723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13724 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13725 # Check whether --enable-ownerdrawn was given.
13726 if test "${enable_ownerdrawn+set}" = set; then
13727 enableval=$enable_ownerdrawn;
13728 if test "$enableval" = yes; then
13729 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13730 else
13731 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13732 fi
13733
13734 else
13735
13736 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13737
13738 fi
13739
13740
13741 eval "$wx_cv_use_ownerdrawn"
13742
13743 if test x"$enablestring" = xdisable; then
13744 if test $wxUSE_OWNER_DRAWN = yes; then
13745 result=no
13746 else
13747 result=yes
13748 fi
13749 else
13750 result=$wxUSE_OWNER_DRAWN
13751 fi
13752
13753 { echo "$as_me:$LINENO: result: $result" >&5
13754 echo "${ECHO_T}$result" >&6; }
13755
13756
13757 enablestring=
13758 defaultval=$wxUSE_ALL_FEATURES
13759 if test -z "$defaultval"; then
13760 if test x"$enablestring" = xdisable; then
13761 defaultval=yes
13762 else
13763 defaultval=no
13764 fi
13765 fi
13766
13767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13768 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13769 # Check whether --enable-uxtheme was given.
13770 if test "${enable_uxtheme+set}" = set; then
13771 enableval=$enable_uxtheme;
13772 if test "$enableval" = yes; then
13773 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13774 else
13775 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13776 fi
13777
13778 else
13779
13780 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13781
13782 fi
13783
13784
13785 eval "$wx_cv_use_uxtheme"
13786
13787 if test x"$enablestring" = xdisable; then
13788 if test $wxUSE_UXTHEME = yes; then
13789 result=no
13790 else
13791 result=yes
13792 fi
13793 else
13794 result=$wxUSE_UXTHEME
13795 fi
13796
13797 { echo "$as_me:$LINENO: result: $result" >&5
13798 echo "${ECHO_T}$result" >&6; }
13799
13800
13801 enablestring=
13802 defaultval=$wxUSE_ALL_FEATURES
13803 if test -z "$defaultval"; then
13804 if test x"$enablestring" = xdisable; then
13805 defaultval=yes
13806 else
13807 defaultval=no
13808 fi
13809 fi
13810
13811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13812 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13813 # Check whether --enable-wxdib was given.
13814 if test "${enable_wxdib+set}" = set; then
13815 enableval=$enable_wxdib;
13816 if test "$enableval" = yes; then
13817 wx_cv_use_wxdib='wxUSE_DIB=yes'
13818 else
13819 wx_cv_use_wxdib='wxUSE_DIB=no'
13820 fi
13821
13822 else
13823
13824 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13825
13826 fi
13827
13828
13829 eval "$wx_cv_use_wxdib"
13830
13831 if test x"$enablestring" = xdisable; then
13832 if test $wxUSE_DIB = yes; then
13833 result=no
13834 else
13835 result=yes
13836 fi
13837 else
13838 result=$wxUSE_DIB
13839 fi
13840
13841 { echo "$as_me:$LINENO: result: $result" >&5
13842 echo "${ECHO_T}$result" >&6; }
13843
13844
13845 if test "$wxUSE_MSW" != 1; then
13846 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13847 fi
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13862 # Check whether --enable-autoidman was given.
13863 if test "${enable_autoidman+set}" = set; then
13864 enableval=$enable_autoidman;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13867 else
13868 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13869 fi
13870
13871 else
13872
13873 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13874
13875 fi
13876
13877
13878 eval "$wx_cv_use_autoidman"
13879
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13882 result=no
13883 else
13884 result=yes
13885 fi
13886 else
13887 result=$wxUSE_AUTOID_MANAGEMENT
13888 fi
13889
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 echo "${ECHO_T}$result" >&6; }
13892
13893
13894 fi
13895
13896
13897 cat >confcache <<\_ACEOF
13898 # This file is a shell script that caches the results of configure
13899 # tests run on this system so they can be shared between configure
13900 # scripts and configure runs, see configure's option --config-cache.
13901 # It is not useful on other systems. If it contains results you don't
13902 # want to keep, you may remove or edit it.
13903 #
13904 # config.status only pays attention to the cache file if you give it
13905 # the --recheck option to rerun configure.
13906 #
13907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13909 # following values.
13910
13911 _ACEOF
13912
13913 # The following way of writing the cache mishandles newlines in values,
13914 # but we know of no workaround that is simple, portable, and efficient.
13915 # So, we kill variables containing newlines.
13916 # Ultrix sh set writes to stderr and can't be redirected directly,
13917 # and sets the high bit in the cache file unless we assign to the vars.
13918 (
13919 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13920 eval ac_val=\$$ac_var
13921 case $ac_val in #(
13922 *${as_nl}*)
13923 case $ac_var in #(
13924 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13925 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13926 esac
13927 case $ac_var in #(
13928 _ | IFS | as_nl) ;; #(
13929 *) $as_unset $ac_var ;;
13930 esac ;;
13931 esac
13932 done
13933
13934 (set) 2>&1 |
13935 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13936 *${as_nl}ac_space=\ *)
13937 # `set' does not quote correctly, so add quotes (double-quote
13938 # substitution turns \\\\ into \\, and sed turns \\ into \).
13939 sed -n \
13940 "s/'/'\\\\''/g;
13941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13942 ;; #(
13943 *)
13944 # `set' quotes correctly as required by POSIX, so do not add quotes.
13945 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13946 ;;
13947 esac |
13948 sort
13949 ) |
13950 sed '
13951 /^ac_cv_env_/b end
13952 t clear
13953 :clear
13954 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13955 t end
13956 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13957 :end' >>confcache
13958 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13959 if test -w "$cache_file"; then
13960 test "x$cache_file" != "x/dev/null" &&
13961 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13962 echo "$as_me: updating cache $cache_file" >&6;}
13963 cat confcache >$cache_file
13964 else
13965 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13966 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13967 fi
13968 fi
13969 rm -f confcache
13970
13971 CFLAGS=${CFLAGS:=}
13972
13973
13974
13975 ac_ext=c
13976 ac_cpp='$CPP $CPPFLAGS'
13977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13980 if test -n "$ac_tool_prefix"; then
13981 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13982 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13985 if test "${ac_cv_prog_CC+set}" = set; then
13986 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 else
13988 if test -n "$CC"; then
13989 ac_cv_prog_CC="$CC" # Let the user override the test.
13990 else
13991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13992 for as_dir in $PATH
13993 do
13994 IFS=$as_save_IFS
13995 test -z "$as_dir" && as_dir=.
13996 for ac_exec_ext in '' $ac_executable_extensions; do
13997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13998 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14000 break 2
14001 fi
14002 done
14003 done
14004 IFS=$as_save_IFS
14005
14006 fi
14007 fi
14008 CC=$ac_cv_prog_CC
14009 if test -n "$CC"; then
14010 { echo "$as_me:$LINENO: result: $CC" >&5
14011 echo "${ECHO_T}$CC" >&6; }
14012 else
14013 { echo "$as_me:$LINENO: result: no" >&5
14014 echo "${ECHO_T}no" >&6; }
14015 fi
14016
14017
14018 fi
14019 if test -z "$ac_cv_prog_CC"; then
14020 ac_ct_CC=$CC
14021 # Extract the first word of "gcc", so it can be a program name with args.
14022 set dummy gcc; ac_word=$2
14023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14026 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 else
14028 if test -n "$ac_ct_CC"; then
14029 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14030 else
14031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14032 for as_dir in $PATH
14033 do
14034 IFS=$as_save_IFS
14035 test -z "$as_dir" && as_dir=.
14036 for ac_exec_ext in '' $ac_executable_extensions; do
14037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14038 ac_cv_prog_ac_ct_CC="gcc"
14039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14040 break 2
14041 fi
14042 done
14043 done
14044 IFS=$as_save_IFS
14045
14046 fi
14047 fi
14048 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14049 if test -n "$ac_ct_CC"; then
14050 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14051 echo "${ECHO_T}$ac_ct_CC" >&6; }
14052 else
14053 { echo "$as_me:$LINENO: result: no" >&5
14054 echo "${ECHO_T}no" >&6; }
14055 fi
14056
14057 if test "x$ac_ct_CC" = x; then
14058 CC=""
14059 else
14060 case $cross_compiling:$ac_tool_warned in
14061 yes:)
14062 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14063 whose name does not start with the host triplet. If you think this
14064 configuration is useful to you, please write to autoconf@gnu.org." >&5
14065 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14066 whose name does not start with the host triplet. If you think this
14067 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14068 ac_tool_warned=yes ;;
14069 esac
14070 CC=$ac_ct_CC
14071 fi
14072 else
14073 CC="$ac_cv_prog_CC"
14074 fi
14075
14076 if test -z "$CC"; then
14077 if test -n "$ac_tool_prefix"; then
14078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14079 set dummy ${ac_tool_prefix}cc; ac_word=$2
14080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14082 if test "${ac_cv_prog_CC+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 else
14085 if test -n "$CC"; then
14086 ac_cv_prog_CC="$CC" # Let the user override the test.
14087 else
14088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14089 for as_dir in $PATH
14090 do
14091 IFS=$as_save_IFS
14092 test -z "$as_dir" && as_dir=.
14093 for ac_exec_ext in '' $ac_executable_extensions; do
14094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14095 ac_cv_prog_CC="${ac_tool_prefix}cc"
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14097 break 2
14098 fi
14099 done
14100 done
14101 IFS=$as_save_IFS
14102
14103 fi
14104 fi
14105 CC=$ac_cv_prog_CC
14106 if test -n "$CC"; then
14107 { echo "$as_me:$LINENO: result: $CC" >&5
14108 echo "${ECHO_T}$CC" >&6; }
14109 else
14110 { echo "$as_me:$LINENO: result: no" >&5
14111 echo "${ECHO_T}no" >&6; }
14112 fi
14113
14114
14115 fi
14116 fi
14117 if test -z "$CC"; then
14118 # Extract the first word of "cc", so it can be a program name with args.
14119 set dummy cc; ac_word=$2
14120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14122 if test "${ac_cv_prog_CC+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 if test -n "$CC"; then
14126 ac_cv_prog_CC="$CC" # Let the user override the test.
14127 else
14128 ac_prog_rejected=no
14129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14130 for as_dir in $PATH
14131 do
14132 IFS=$as_save_IFS
14133 test -z "$as_dir" && as_dir=.
14134 for ac_exec_ext in '' $ac_executable_extensions; do
14135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14136 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14137 ac_prog_rejected=yes
14138 continue
14139 fi
14140 ac_cv_prog_CC="cc"
14141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14142 break 2
14143 fi
14144 done
14145 done
14146 IFS=$as_save_IFS
14147
14148 if test $ac_prog_rejected = yes; then
14149 # We found a bogon in the path, so make sure we never use it.
14150 set dummy $ac_cv_prog_CC
14151 shift
14152 if test $# != 0; then
14153 # We chose a different compiler from the bogus one.
14154 # However, it has the same basename, so the bogon will be chosen
14155 # first if we set CC to just the basename; use the full file name.
14156 shift
14157 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14158 fi
14159 fi
14160 fi
14161 fi
14162 CC=$ac_cv_prog_CC
14163 if test -n "$CC"; then
14164 { echo "$as_me:$LINENO: result: $CC" >&5
14165 echo "${ECHO_T}$CC" >&6; }
14166 else
14167 { echo "$as_me:$LINENO: result: no" >&5
14168 echo "${ECHO_T}no" >&6; }
14169 fi
14170
14171
14172 fi
14173 if test -z "$CC"; then
14174 if test -n "$ac_tool_prefix"; then
14175 for ac_prog in cl.exe
14176 do
14177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14181 if test "${ac_cv_prog_CC+set}" = set; then
14182 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 else
14184 if test -n "$CC"; then
14185 ac_cv_prog_CC="$CC" # Let the user override the test.
14186 else
14187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14188 for as_dir in $PATH
14189 do
14190 IFS=$as_save_IFS
14191 test -z "$as_dir" && as_dir=.
14192 for ac_exec_ext in '' $ac_executable_extensions; do
14193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14194 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14196 break 2
14197 fi
14198 done
14199 done
14200 IFS=$as_save_IFS
14201
14202 fi
14203 fi
14204 CC=$ac_cv_prog_CC
14205 if test -n "$CC"; then
14206 { echo "$as_me:$LINENO: result: $CC" >&5
14207 echo "${ECHO_T}$CC" >&6; }
14208 else
14209 { echo "$as_me:$LINENO: result: no" >&5
14210 echo "${ECHO_T}no" >&6; }
14211 fi
14212
14213
14214 test -n "$CC" && break
14215 done
14216 fi
14217 if test -z "$CC"; then
14218 ac_ct_CC=$CC
14219 for ac_prog in cl.exe
14220 do
14221 # Extract the first word of "$ac_prog", so it can be a program name with args.
14222 set dummy $ac_prog; ac_word=$2
14223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 else
14228 if test -n "$ac_ct_CC"; then
14229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14230 else
14231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14232 for as_dir in $PATH
14233 do
14234 IFS=$as_save_IFS
14235 test -z "$as_dir" && as_dir=.
14236 for ac_exec_ext in '' $ac_executable_extensions; do
14237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14238 ac_cv_prog_ac_ct_CC="$ac_prog"
14239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 break 2
14241 fi
14242 done
14243 done
14244 IFS=$as_save_IFS
14245
14246 fi
14247 fi
14248 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14249 if test -n "$ac_ct_CC"; then
14250 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14251 echo "${ECHO_T}$ac_ct_CC" >&6; }
14252 else
14253 { echo "$as_me:$LINENO: result: no" >&5
14254 echo "${ECHO_T}no" >&6; }
14255 fi
14256
14257
14258 test -n "$ac_ct_CC" && break
14259 done
14260
14261 if test "x$ac_ct_CC" = x; then
14262 CC=""
14263 else
14264 case $cross_compiling:$ac_tool_warned in
14265 yes:)
14266 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14267 whose name does not start with the host triplet. If you think this
14268 configuration is useful to you, please write to autoconf@gnu.org." >&5
14269 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14270 whose name does not start with the host triplet. If you think this
14271 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14272 ac_tool_warned=yes ;;
14273 esac
14274 CC=$ac_ct_CC
14275 fi
14276 fi
14277
14278 fi
14279
14280
14281 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14282 See \`config.log' for more details." >&5
14283 echo "$as_me: error: no acceptable C compiler found in \$PATH
14284 See \`config.log' for more details." >&2;}
14285 { (exit 1); exit 1; }; }
14286
14287 # Provide some information about the compiler.
14288 echo "$as_me:$LINENO: checking for C compiler version" >&5
14289 ac_compiler=`set X $ac_compile; echo $2`
14290 { (ac_try="$ac_compiler --version >&5"
14291 case "(($ac_try" in
14292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14293 *) ac_try_echo=$ac_try;;
14294 esac
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_compiler --version >&5") 2>&5
14297 ac_status=$?
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }
14300 { (ac_try="$ac_compiler -v >&5"
14301 case "(($ac_try" in
14302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14303 *) ac_try_echo=$ac_try;;
14304 esac
14305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14306 (eval "$ac_compiler -v >&5") 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }
14310 { (ac_try="$ac_compiler -V >&5"
14311 case "(($ac_try" in
14312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14313 *) ac_try_echo=$ac_try;;
14314 esac
14315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 (eval "$ac_compiler -V >&5") 2>&5
14317 ac_status=$?
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }
14320
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h. */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327
14328 int
14329 main ()
14330 {
14331
14332 ;
14333 return 0;
14334 }
14335 _ACEOF
14336 ac_clean_files_save=$ac_clean_files
14337 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14338 # Try to create an executable without -o first, disregard a.out.
14339 # It will help us diagnose broken compilers, and finding out an intuition
14340 # of exeext.
14341 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14342 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14343 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14344 #
14345 # List of possible output files, starting from the most likely.
14346 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14347 # only as a last resort. b.out is created by i960 compilers.
14348 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14349 #
14350 # The IRIX 6 linker writes into existing files which may not be
14351 # executable, retaining their permissions. Remove them first so a
14352 # subsequent execution test works.
14353 ac_rmfiles=
14354 for ac_file in $ac_files
14355 do
14356 case $ac_file in
14357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14358 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14359 esac
14360 done
14361 rm -f $ac_rmfiles
14362
14363 if { (ac_try="$ac_link_default"
14364 case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14367 esac
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_link_default") 2>&5
14370 ac_status=$?
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; then
14373 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14374 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14375 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14376 # so that the user can short-circuit this test for compilers unknown to
14377 # Autoconf.
14378 for ac_file in $ac_files ''
14379 do
14380 test -f "$ac_file" || continue
14381 case $ac_file in
14382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14383 ;;
14384 [ab].out )
14385 # We found the default executable, but exeext='' is most
14386 # certainly right.
14387 break;;
14388 *.* )
14389 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14390 then :; else
14391 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14392 fi
14393 # We set ac_cv_exeext here because the later test for it is not
14394 # safe: cross compilers may not add the suffix if given an `-o'
14395 # argument, so we may need to know it at that point already.
14396 # Even if this section looks crufty: it has the advantage of
14397 # actually working.
14398 break;;
14399 * )
14400 break;;
14401 esac
14402 done
14403 test "$ac_cv_exeext" = no && ac_cv_exeext=
14404
14405 else
14406 ac_file=''
14407 fi
14408
14409 { echo "$as_me:$LINENO: result: $ac_file" >&5
14410 echo "${ECHO_T}$ac_file" >&6; }
14411 if test -z "$ac_file"; then
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14414
14415 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14416 See \`config.log' for more details." >&5
14417 echo "$as_me: error: C compiler cannot create executables
14418 See \`config.log' for more details." >&2;}
14419 { (exit 77); exit 77; }; }
14420 fi
14421
14422 ac_exeext=$ac_cv_exeext
14423
14424 # Check that the compiler produces executables we can run. If not, either
14425 # the compiler is broken, or we cross compile.
14426 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14427 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14428 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14429 # If not cross compiling, check that we can run a simple program.
14430 if test "$cross_compiling" != yes; then
14431 if { ac_try='./$ac_file'
14432 { (case "(($ac_try" in
14433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14434 *) ac_try_echo=$ac_try;;
14435 esac
14436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14437 (eval "$ac_try") 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 cross_compiling=no
14442 else
14443 if test "$cross_compiling" = maybe; then
14444 cross_compiling=yes
14445 else
14446 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14447 If you meant to cross compile, use \`--host'.
14448 See \`config.log' for more details." >&5
14449 echo "$as_me: error: cannot run C compiled programs.
14450 If you meant to cross compile, use \`--host'.
14451 See \`config.log' for more details." >&2;}
14452 { (exit 1); exit 1; }; }
14453 fi
14454 fi
14455 fi
14456 { echo "$as_me:$LINENO: result: yes" >&5
14457 echo "${ECHO_T}yes" >&6; }
14458
14459 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14460 ac_clean_files=$ac_clean_files_save
14461 # Check that the compiler produces executables we can run. If not, either
14462 # the compiler is broken, or we cross compile.
14463 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14464 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14465 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14466 echo "${ECHO_T}$cross_compiling" >&6; }
14467
14468 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14469 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14470 if { (ac_try="$ac_link"
14471 case "(($ac_try" in
14472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14473 *) ac_try_echo=$ac_try;;
14474 esac
14475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14476 (eval "$ac_link") 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; then
14480 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14481 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14482 # work properly (i.e., refer to `conftest.exe'), while it won't with
14483 # `rm'.
14484 for ac_file in conftest.exe conftest conftest.*; do
14485 test -f "$ac_file" || continue
14486 case $ac_file in
14487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14488 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14489 break;;
14490 * ) break;;
14491 esac
14492 done
14493 else
14494 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14495 See \`config.log' for more details." >&5
14496 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14497 See \`config.log' for more details." >&2;}
14498 { (exit 1); exit 1; }; }
14499 fi
14500
14501 rm -f conftest$ac_cv_exeext
14502 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14503 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14504
14505 rm -f conftest.$ac_ext
14506 EXEEXT=$ac_cv_exeext
14507 ac_exeext=$EXEEXT
14508 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14509 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14510 if test "${ac_cv_objext+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 else
14513 cat >conftest.$ac_ext <<_ACEOF
14514 /* confdefs.h. */
14515 _ACEOF
14516 cat confdefs.h >>conftest.$ac_ext
14517 cat >>conftest.$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14519
14520 int
14521 main ()
14522 {
14523
14524 ;
14525 return 0;
14526 }
14527 _ACEOF
14528 rm -f conftest.o conftest.obj
14529 if { (ac_try="$ac_compile"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14533 esac
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_compile") 2>&5
14536 ac_status=$?
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; then
14539 for ac_file in conftest.o conftest.obj conftest.*; do
14540 test -f "$ac_file" || continue;
14541 case $ac_file in
14542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14543 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14544 break;;
14545 esac
14546 done
14547 else
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.$ac_ext >&5
14550
14551 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14552 See \`config.log' for more details." >&5
14553 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14554 See \`config.log' for more details." >&2;}
14555 { (exit 1); exit 1; }; }
14556 fi
14557
14558 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14559 fi
14560 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14561 echo "${ECHO_T}$ac_cv_objext" >&6; }
14562 OBJEXT=$ac_cv_objext
14563 ac_objext=$OBJEXT
14564 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14565 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14566 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 cat >conftest.$ac_ext <<_ACEOF
14570 /* confdefs.h. */
14571 _ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575
14576 int
14577 main ()
14578 {
14579 #ifndef __GNUC__
14580 choke me
14581 #endif
14582
14583 ;
14584 return 0;
14585 }
14586 _ACEOF
14587 rm -f conftest.$ac_objext
14588 if { (ac_try="$ac_compile"
14589 case "(($ac_try" in
14590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14591 *) ac_try_echo=$ac_try;;
14592 esac
14593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14594 (eval "$ac_compile") 2>conftest.er1
14595 ac_status=$?
14596 grep -v '^ *+' conftest.er1 >conftest.err
14597 rm -f conftest.er1
14598 cat conftest.err >&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); } && {
14601 test -z "$ac_c_werror_flag" ||
14602 test ! -s conftest.err
14603 } && test -s conftest.$ac_objext; then
14604 ac_compiler_gnu=yes
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14608
14609 ac_compiler_gnu=no
14610 fi
14611
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14614
14615 fi
14616 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14617 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14618 GCC=`test $ac_compiler_gnu = yes && echo yes`
14619 ac_test_CFLAGS=${CFLAGS+set}
14620 ac_save_CFLAGS=$CFLAGS
14621 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14622 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14623 if test "${ac_cv_prog_cc_g+set}" = set; then
14624 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 else
14626 ac_save_c_werror_flag=$ac_c_werror_flag
14627 ac_c_werror_flag=yes
14628 ac_cv_prog_cc_g=no
14629 CFLAGS="-g"
14630 cat >conftest.$ac_ext <<_ACEOF
14631 /* confdefs.h. */
14632 _ACEOF
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14636
14637 int
14638 main ()
14639 {
14640
14641 ;
14642 return 0;
14643 }
14644 _ACEOF
14645 rm -f conftest.$ac_objext
14646 if { (ac_try="$ac_compile"
14647 case "(($ac_try" in
14648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14649 *) ac_try_echo=$ac_try;;
14650 esac
14651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14652 (eval "$ac_compile") 2>conftest.er1
14653 ac_status=$?
14654 grep -v '^ *+' conftest.er1 >conftest.err
14655 rm -f conftest.er1
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } && {
14659 test -z "$ac_c_werror_flag" ||
14660 test ! -s conftest.err
14661 } && test -s conftest.$ac_objext; then
14662 ac_cv_prog_cc_g=yes
14663 else
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14666
14667 CFLAGS=""
14668 cat >conftest.$ac_ext <<_ACEOF
14669 /* confdefs.h. */
14670 _ACEOF
14671 cat confdefs.h >>conftest.$ac_ext
14672 cat >>conftest.$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674
14675 int
14676 main ()
14677 {
14678
14679 ;
14680 return 0;
14681 }
14682 _ACEOF
14683 rm -f conftest.$ac_objext
14684 if { (ac_try="$ac_compile"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_compile") 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } && {
14697 test -z "$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 } && test -s conftest.$ac_objext; then
14700 :
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14704
14705 ac_c_werror_flag=$ac_save_c_werror_flag
14706 CFLAGS="-g"
14707 cat >conftest.$ac_ext <<_ACEOF
14708 /* confdefs.h. */
14709 _ACEOF
14710 cat confdefs.h >>conftest.$ac_ext
14711 cat >>conftest.$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14713
14714 int
14715 main ()
14716 {
14717
14718 ;
14719 return 0;
14720 }
14721 _ACEOF
14722 rm -f conftest.$ac_objext
14723 if { (ac_try="$ac_compile"
14724 case "(($ac_try" in
14725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14726 *) ac_try_echo=$ac_try;;
14727 esac
14728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14729 (eval "$ac_compile") 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } && {
14736 test -z "$ac_c_werror_flag" ||
14737 test ! -s conftest.err
14738 } && test -s conftest.$ac_objext; then
14739 ac_cv_prog_cc_g=yes
14740 else
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.$ac_ext >&5
14743
14744
14745 fi
14746
14747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14748 fi
14749
14750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14751 fi
14752
14753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14754 ac_c_werror_flag=$ac_save_c_werror_flag
14755 fi
14756 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14757 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14758 if test "$ac_test_CFLAGS" = set; then
14759 CFLAGS=$ac_save_CFLAGS
14760 elif test $ac_cv_prog_cc_g = yes; then
14761 if test "$GCC" = yes; then
14762 CFLAGS="-g -O2"
14763 else
14764 CFLAGS="-g"
14765 fi
14766 else
14767 if test "$GCC" = yes; then
14768 CFLAGS="-O2"
14769 else
14770 CFLAGS=
14771 fi
14772 fi
14773 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14774 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14775 if test "${ac_cv_prog_cc_c89+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 ac_cv_prog_cc_c89=no
14779 ac_save_CC=$CC
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14786 #include <stdarg.h>
14787 #include <stdio.h>
14788 #include <sys/types.h>
14789 #include <sys/stat.h>
14790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14791 struct buf { int x; };
14792 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14793 static char *e (p, i)
14794 char **p;
14795 int i;
14796 {
14797 return p[i];
14798 }
14799 static char *f (char * (*g) (char **, int), char **p, ...)
14800 {
14801 char *s;
14802 va_list v;
14803 va_start (v,p);
14804 s = g (p, va_arg (v,int));
14805 va_end (v);
14806 return s;
14807 }
14808
14809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14810 function prototypes and stuff, but not '\xHH' hex character constants.
14811 These don't provoke an error unfortunately, instead are silently treated
14812 as 'x'. The following induces an error, until -std is added to get
14813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14814 array size at least. It's necessary to write '\x00'==0 to get something
14815 that's true only with -std. */
14816 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14817
14818 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14819 inside strings and character constants. */
14820 #define FOO(x) 'x'
14821 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14822
14823 int test (int i, double x);
14824 struct s1 {int (*f) (int a);};
14825 struct s2 {int (*f) (double a);};
14826 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14827 int argc;
14828 char **argv;
14829 int
14830 main ()
14831 {
14832 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14833 ;
14834 return 0;
14835 }
14836 _ACEOF
14837 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14838 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14839 do
14840 CC="$ac_save_CC $ac_arg"
14841 rm -f conftest.$ac_objext
14842 if { (ac_try="$ac_compile"
14843 case "(($ac_try" in
14844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14845 *) ac_try_echo=$ac_try;;
14846 esac
14847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14848 (eval "$ac_compile") 2>conftest.er1
14849 ac_status=$?
14850 grep -v '^ *+' conftest.er1 >conftest.err
14851 rm -f conftest.er1
14852 cat conftest.err >&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } && {
14855 test -z "$ac_c_werror_flag" ||
14856 test ! -s conftest.err
14857 } && test -s conftest.$ac_objext; then
14858 ac_cv_prog_cc_c89=$ac_arg
14859 else
14860 echo "$as_me: failed program was:" >&5
14861 sed 's/^/| /' conftest.$ac_ext >&5
14862
14863
14864 fi
14865
14866 rm -f core conftest.err conftest.$ac_objext
14867 test "x$ac_cv_prog_cc_c89" != "xno" && break
14868 done
14869 rm -f conftest.$ac_ext
14870 CC=$ac_save_CC
14871
14872 fi
14873 # AC_CACHE_VAL
14874 case "x$ac_cv_prog_cc_c89" in
14875 x)
14876 { echo "$as_me:$LINENO: result: none needed" >&5
14877 echo "${ECHO_T}none needed" >&6; } ;;
14878 xno)
14879 { echo "$as_me:$LINENO: result: unsupported" >&5
14880 echo "${ECHO_T}unsupported" >&6; } ;;
14881 *)
14882 CC="$CC $ac_cv_prog_cc_c89"
14883 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14884 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14885 esac
14886
14887
14888 ac_ext=c
14889 ac_cpp='$CPP $CPPFLAGS'
14890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14893
14894
14895
14896
14897 ac_ext=c
14898 ac_cpp='$CPP $CPPFLAGS'
14899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902
14903 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14904 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14905 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 cat >conftest.$ac_ext <<_ACEOF
14909 /* confdefs.h. */
14910 _ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14914
14915 int
14916 main ()
14917 {
14918
14919 #ifndef __INTEL_COMPILER
14920 choke me
14921 #endif
14922
14923 ;
14924 return 0;
14925 }
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (ac_try="$ac_compile"
14929 case "(($ac_try" in
14930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14931 *) ac_try_echo=$ac_try;;
14932 esac
14933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14934 (eval "$ac_compile") 2>conftest.er1
14935 ac_status=$?
14936 grep -v '^ *+' conftest.er1 >conftest.err
14937 rm -f conftest.er1
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } && {
14941 test -z "$ac_c_werror_flag" ||
14942 test ! -s conftest.err
14943 } && test -s conftest.$ac_objext; then
14944 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14945 else
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.$ac_ext >&5
14948
14949 bakefile_cv_c_compiler___INTEL_COMPILER=no
14950
14951 fi
14952
14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954
14955
14956 fi
14957 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14958 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14959 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14960 :; INTELCC=yes
14961 else
14962 :;
14963 fi
14964 ac_ext=c
14965 ac_cpp='$CPP $CPPFLAGS'
14966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14969
14970
14971
14972
14973 if test "x$GCC" != "xyes"; then
14974 if test "xCC" = "xC"; then
14975 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14976 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14977 if test "${bakefile_cv_c_exto+set}" = set; then
14978 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 else
14980 cat >conftest.$ac_ext <<_ACEOF
14981 /* confdefs.h. */
14982 _ACEOF
14983 cat confdefs.h >>conftest.$ac_ext
14984 cat >>conftest.$ac_ext <<_ACEOF
14985 /* end confdefs.h. */
14986
14987 int
14988 main ()
14989 {
14990
14991 ;
14992 return 0;
14993 }
14994 _ACEOF
14995 rm -f conftest.$ac_objext conftest.$ac_ext.o
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>&5
14998 ac_status=$?
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; then
15001 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15002 case $ac_file in
15003 conftest.$ac_ext.o)
15004 bakefile_cv_c_exto="-ext o"
15005 ;;
15006 *)
15007 ;;
15008 esac
15009 done
15010 else
15011 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15012 See \`config.log' for more details." >&5
15013 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15014 See \`config.log' for more details." >&2;}
15015 { (exit 1); exit 1; }; }
15016
15017 fi
15018
15019 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15020
15021 fi
15022 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15023 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15024 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15025 if test "c" = "c"; then
15026 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15027 fi
15028 if test "c" = "cxx"; then
15029 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15030 fi
15031 fi
15032
15033 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15034 unset ac_cv_prog_cc_g
15035 ac_test_CFLAGS=${CFLAGS+set}
15036 ac_save_CFLAGS=$CFLAGS
15037 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15038 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15039 if test "${ac_cv_prog_cc_g+set}" = set; then
15040 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 else
15042 ac_save_c_werror_flag=$ac_c_werror_flag
15043 ac_c_werror_flag=yes
15044 ac_cv_prog_cc_g=no
15045 CFLAGS="-g"
15046 cat >conftest.$ac_ext <<_ACEOF
15047 /* confdefs.h. */
15048 _ACEOF
15049 cat confdefs.h >>conftest.$ac_ext
15050 cat >>conftest.$ac_ext <<_ACEOF
15051 /* end confdefs.h. */
15052
15053 int
15054 main ()
15055 {
15056
15057 ;
15058 return 0;
15059 }
15060 _ACEOF
15061 rm -f conftest.$ac_objext
15062 if { (ac_try="$ac_compile"
15063 case "(($ac_try" in
15064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15065 *) ac_try_echo=$ac_try;;
15066 esac
15067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15068 (eval "$ac_compile") 2>conftest.er1
15069 ac_status=$?
15070 grep -v '^ *+' conftest.er1 >conftest.err
15071 rm -f conftest.er1
15072 cat conftest.err >&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); } && {
15075 test -z "$ac_c_werror_flag" ||
15076 test ! -s conftest.err
15077 } && test -s conftest.$ac_objext; then
15078 ac_cv_prog_cc_g=yes
15079 else
15080 echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.$ac_ext >&5
15082
15083 CFLAGS=""
15084 cat >conftest.$ac_ext <<_ACEOF
15085 /* confdefs.h. */
15086 _ACEOF
15087 cat confdefs.h >>conftest.$ac_ext
15088 cat >>conftest.$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15090
15091 int
15092 main ()
15093 {
15094
15095 ;
15096 return 0;
15097 }
15098 _ACEOF
15099 rm -f conftest.$ac_objext
15100 if { (ac_try="$ac_compile"
15101 case "(($ac_try" in
15102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15104 esac
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_compile") 2>conftest.er1
15107 ac_status=$?
15108 grep -v '^ *+' conftest.er1 >conftest.err
15109 rm -f conftest.er1
15110 cat conftest.err >&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } && {
15113 test -z "$ac_c_werror_flag" ||
15114 test ! -s conftest.err
15115 } && test -s conftest.$ac_objext; then
15116 :
15117 else
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15120
15121 ac_c_werror_flag=$ac_save_c_werror_flag
15122 CFLAGS="-g"
15123 cat >conftest.$ac_ext <<_ACEOF
15124 /* confdefs.h. */
15125 _ACEOF
15126 cat confdefs.h >>conftest.$ac_ext
15127 cat >>conftest.$ac_ext <<_ACEOF
15128 /* end confdefs.h. */
15129
15130 int
15131 main ()
15132 {
15133
15134 ;
15135 return 0;
15136 }
15137 _ACEOF
15138 rm -f conftest.$ac_objext
15139 if { (ac_try="$ac_compile"
15140 case "(($ac_try" in
15141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15142 *) ac_try_echo=$ac_try;;
15143 esac
15144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15145 (eval "$ac_compile") 2>conftest.er1
15146 ac_status=$?
15147 grep -v '^ *+' conftest.er1 >conftest.err
15148 rm -f conftest.er1
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } && {
15152 test -z "$ac_c_werror_flag" ||
15153 test ! -s conftest.err
15154 } && test -s conftest.$ac_objext; then
15155 ac_cv_prog_cc_g=yes
15156 else
15157 echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.$ac_ext >&5
15159
15160
15161 fi
15162
15163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 fi
15165
15166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15167 fi
15168
15169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15170 ac_c_werror_flag=$ac_save_c_werror_flag
15171 fi
15172 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15173 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15174 if test "$ac_test_CFLAGS" = set; then
15175 CFLAGS=$ac_save_CFLAGS
15176 elif test $ac_cv_prog_cc_g = yes; then
15177 if test "$GCC" = yes; then
15178 CFLAGS="-g -O2"
15179 else
15180 CFLAGS="-g"
15181 fi
15182 else
15183 if test "$GCC" = yes; then
15184 CFLAGS="-O2"
15185 else
15186 CFLAGS=
15187 fi
15188 fi
15189 fi
15190 fi
15191
15192 case `uname -s` in
15193 AIX*)
15194
15195
15196 ac_ext=c
15197 ac_cpp='$CPP $CPPFLAGS'
15198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15201
15202 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15203 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15204 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 else
15207 cat >conftest.$ac_ext <<_ACEOF
15208 /* confdefs.h. */
15209 _ACEOF
15210 cat confdefs.h >>conftest.$ac_ext
15211 cat >>conftest.$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213
15214 int
15215 main ()
15216 {
15217
15218 #ifndef __xlC__
15219 choke me
15220 #endif
15221
15222 ;
15223 return 0;
15224 }
15225 _ACEOF
15226 rm -f conftest.$ac_objext
15227 if { (ac_try="$ac_compile"
15228 case "(($ac_try" in
15229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15230 *) ac_try_echo=$ac_try;;
15231 esac
15232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15233 (eval "$ac_compile") 2>conftest.er1
15234 ac_status=$?
15235 grep -v '^ *+' conftest.er1 >conftest.err
15236 rm -f conftest.er1
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } && {
15240 test -z "$ac_c_werror_flag" ||
15241 test ! -s conftest.err
15242 } && test -s conftest.$ac_objext; then
15243 bakefile_cv_c_compiler___xlC__=yes
15244 else
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.$ac_ext >&5
15247
15248 bakefile_cv_c_compiler___xlC__=no
15249
15250 fi
15251
15252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253
15254
15255 fi
15256 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15257 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15258 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15259 :; XLCC=yes
15260 else
15261 :;
15262 fi
15263 ac_ext=c
15264 ac_cpp='$CPP $CPPFLAGS'
15265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15268
15269
15270
15271 ;;
15272
15273 Darwin)
15274
15275
15276 ac_ext=c
15277 ac_cpp='$CPP $CPPFLAGS'
15278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15281
15282 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15283 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15284 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 else
15287 cat >conftest.$ac_ext <<_ACEOF
15288 /* confdefs.h. */
15289 _ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293
15294 int
15295 main ()
15296 {
15297
15298 #ifndef __MWERKS__
15299 choke me
15300 #endif
15301
15302 ;
15303 return 0;
15304 }
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (ac_try="$ac_compile"
15308 case "(($ac_try" in
15309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15310 *) ac_try_echo=$ac_try;;
15311 esac
15312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15313 (eval "$ac_compile") 2>conftest.er1
15314 ac_status=$?
15315 grep -v '^ *+' conftest.er1 >conftest.err
15316 rm -f conftest.er1
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } && {
15320 test -z "$ac_c_werror_flag" ||
15321 test ! -s conftest.err
15322 } && test -s conftest.$ac_objext; then
15323 bakefile_cv_c_compiler___MWERKS__=yes
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15327
15328 bakefile_cv_c_compiler___MWERKS__=no
15329
15330 fi
15331
15332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15333
15334
15335 fi
15336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15337 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15338 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15339 :; MWCC=yes
15340 else
15341 :;
15342 fi
15343 ac_ext=c
15344 ac_cpp='$CPP $CPPFLAGS'
15345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15348
15349
15350
15351
15352
15353 ac_ext=c
15354 ac_cpp='$CPP $CPPFLAGS'
15355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15358
15359 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15360 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15361 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 else
15364 cat >conftest.$ac_ext <<_ACEOF
15365 /* confdefs.h. */
15366 _ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15370
15371 int
15372 main ()
15373 {
15374
15375 #ifndef __xlC__
15376 choke me
15377 #endif
15378
15379 ;
15380 return 0;
15381 }
15382 _ACEOF
15383 rm -f conftest.$ac_objext
15384 if { (ac_try="$ac_compile"
15385 case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15388 esac
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compile") 2>conftest.er1
15391 ac_status=$?
15392 grep -v '^ *+' conftest.er1 >conftest.err
15393 rm -f conftest.er1
15394 cat conftest.err >&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } && {
15397 test -z "$ac_c_werror_flag" ||
15398 test ! -s conftest.err
15399 } && test -s conftest.$ac_objext; then
15400 bakefile_cv_c_compiler___xlC__=yes
15401 else
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15404
15405 bakefile_cv_c_compiler___xlC__=no
15406
15407 fi
15408
15409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15410
15411
15412 fi
15413 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15414 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15415 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15416 :; XLCC=yes
15417 else
15418 :;
15419 fi
15420 ac_ext=c
15421 ac_cpp='$CPP $CPPFLAGS'
15422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15425
15426
15427
15428 ;;
15429
15430 IRIX*)
15431
15432
15433 ac_ext=c
15434 ac_cpp='$CPP $CPPFLAGS'
15435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15438
15439 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15440 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15441 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 else
15444 cat >conftest.$ac_ext <<_ACEOF
15445 /* confdefs.h. */
15446 _ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15450
15451 int
15452 main ()
15453 {
15454
15455 #ifndef _SGI_COMPILER_VERSION
15456 choke me
15457 #endif
15458
15459 ;
15460 return 0;
15461 }
15462 _ACEOF
15463 rm -f conftest.$ac_objext
15464 if { (ac_try="$ac_compile"
15465 case "(($ac_try" in
15466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15467 *) ac_try_echo=$ac_try;;
15468 esac
15469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15470 (eval "$ac_compile") 2>conftest.er1
15471 ac_status=$?
15472 grep -v '^ *+' conftest.er1 >conftest.err
15473 rm -f conftest.er1
15474 cat conftest.err >&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } && {
15477 test -z "$ac_c_werror_flag" ||
15478 test ! -s conftest.err
15479 } && test -s conftest.$ac_objext; then
15480 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15481 else
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.$ac_ext >&5
15484
15485 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15486
15487 fi
15488
15489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15490
15491
15492 fi
15493 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15494 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15495 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15496 :; SGICC=yes
15497 else
15498 :;
15499 fi
15500 ac_ext=c
15501 ac_cpp='$CPP $CPPFLAGS'
15502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15505
15506
15507
15508 ;;
15509
15510 Linux*)
15511
15512
15513 ac_ext=c
15514 ac_cpp='$CPP $CPPFLAGS'
15515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15518
15519 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15520 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15521 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 else
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h. */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530
15531 int
15532 main ()
15533 {
15534
15535 #ifndef __SUNPRO_C
15536 choke me
15537 #endif
15538
15539 ;
15540 return 0;
15541 }
15542 _ACEOF
15543 rm -f conftest.$ac_objext
15544 if { (ac_try="$ac_compile"
15545 case "(($ac_try" in
15546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15547 *) ac_try_echo=$ac_try;;
15548 esac
15549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15550 (eval "$ac_compile") 2>conftest.er1
15551 ac_status=$?
15552 grep -v '^ *+' conftest.er1 >conftest.err
15553 rm -f conftest.er1
15554 cat conftest.err >&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } && {
15557 test -z "$ac_c_werror_flag" ||
15558 test ! -s conftest.err
15559 } && test -s conftest.$ac_objext; then
15560 bakefile_cv_c_compiler___SUNPRO_C=yes
15561 else
15562 echo "$as_me: failed program was:" >&5
15563 sed 's/^/| /' conftest.$ac_ext >&5
15564
15565 bakefile_cv_c_compiler___SUNPRO_C=no
15566
15567 fi
15568
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15570
15571
15572 fi
15573 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15574 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15575 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15576 :; SUNCC=yes
15577 else
15578 :;
15579 fi
15580 ac_ext=c
15581 ac_cpp='$CPP $CPPFLAGS'
15582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15585
15586
15587
15588 ;;
15589
15590 HP-UX*)
15591
15592
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15600 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15601 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15602 echo $ECHO_N "(cached) $ECHO_C" >&6
15603 else
15604 cat >conftest.$ac_ext <<_ACEOF
15605 /* confdefs.h. */
15606 _ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15610
15611 int
15612 main ()
15613 {
15614
15615 #ifndef __HP_cc
15616 choke me
15617 #endif
15618
15619 ;
15620 return 0;
15621 }
15622 _ACEOF
15623 rm -f conftest.$ac_objext
15624 if { (ac_try="$ac_compile"
15625 case "(($ac_try" in
15626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15628 esac
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_compile") 2>conftest.er1
15631 ac_status=$?
15632 grep -v '^ *+' conftest.er1 >conftest.err
15633 rm -f conftest.er1
15634 cat conftest.err >&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } && {
15637 test -z "$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15639 } && test -s conftest.$ac_objext; then
15640 bakefile_cv_c_compiler___HP_cc=yes
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15644
15645 bakefile_cv_c_compiler___HP_cc=no
15646
15647 fi
15648
15649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15650
15651
15652 fi
15653 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15654 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15655 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15656 :; HPCC=yes
15657 else
15658 :;
15659 fi
15660 ac_ext=c
15661 ac_cpp='$CPP $CPPFLAGS'
15662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15665
15666
15667
15668 ;;
15669
15670 OSF1)
15671
15672
15673 ac_ext=c
15674 ac_cpp='$CPP $CPPFLAGS'
15675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15678
15679 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15680 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15681 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15682 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 else
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h. */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690
15691 int
15692 main ()
15693 {
15694
15695 #ifndef __DECC
15696 choke me
15697 #endif
15698
15699 ;
15700 return 0;
15701 }
15702 _ACEOF
15703 rm -f conftest.$ac_objext
15704 if { (ac_try="$ac_compile"
15705 case "(($ac_try" in
15706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707 *) ac_try_echo=$ac_try;;
15708 esac
15709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15710 (eval "$ac_compile") 2>conftest.er1
15711 ac_status=$?
15712 grep -v '^ *+' conftest.er1 >conftest.err
15713 rm -f conftest.er1
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_c_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest.$ac_objext; then
15720 bakefile_cv_c_compiler___DECC=yes
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15724
15725 bakefile_cv_c_compiler___DECC=no
15726
15727 fi
15728
15729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15730
15731
15732 fi
15733 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15734 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15735 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15736 :; COMPAQCC=yes
15737 else
15738 :;
15739 fi
15740 ac_ext=c
15741 ac_cpp='$CPP $CPPFLAGS'
15742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15745
15746
15747
15748 ;;
15749
15750 SunOS)
15751
15752
15753 ac_ext=c
15754 ac_cpp='$CPP $CPPFLAGS'
15755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15758
15759 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15760 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15761 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 else
15764 cat >conftest.$ac_ext <<_ACEOF
15765 /* confdefs.h. */
15766 _ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770
15771 int
15772 main ()
15773 {
15774
15775 #ifndef __SUNPRO_C
15776 choke me
15777 #endif
15778
15779 ;
15780 return 0;
15781 }
15782 _ACEOF
15783 rm -f conftest.$ac_objext
15784 if { (ac_try="$ac_compile"
15785 case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15788 esac
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_compile") 2>conftest.er1
15791 ac_status=$?
15792 grep -v '^ *+' conftest.er1 >conftest.err
15793 rm -f conftest.er1
15794 cat conftest.err >&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); } && {
15797 test -z "$ac_c_werror_flag" ||
15798 test ! -s conftest.err
15799 } && test -s conftest.$ac_objext; then
15800 bakefile_cv_c_compiler___SUNPRO_C=yes
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15804
15805 bakefile_cv_c_compiler___SUNPRO_C=no
15806
15807 fi
15808
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15810
15811
15812 fi
15813 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15814 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15815 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15816 :; SUNCC=yes
15817 else
15818 :;
15819 fi
15820 ac_ext=c
15821 ac_cpp='$CPP $CPPFLAGS'
15822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15825
15826
15827
15828 ;;
15829 esac
15830 fi
15831
15832
15833
15834 ac_ext=c
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15839 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15840 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15841 # On Suns, sometimes $CPP names a directory.
15842 if test -n "$CPP" && test -d "$CPP"; then
15843 CPP=
15844 fi
15845 if test -z "$CPP"; then
15846 if test "${ac_cv_prog_CPP+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 else
15849 # Double quotes because CPP needs to be expanded
15850 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15851 do
15852 ac_preproc_ok=false
15853 for ac_c_preproc_warn_flag in '' yes
15854 do
15855 # Use a header file that comes with gcc, so configuring glibc
15856 # with a fresh cross-compiler works.
15857 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15858 # <limits.h> exists even on freestanding compilers.
15859 # On the NeXT, cc -E runs the code through the compiler's parser,
15860 # not just through cpp. "Syntax error" is here to catch this case.
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 #ifdef __STDC__
15868 # include <limits.h>
15869 #else
15870 # include <assert.h>
15871 #endif
15872 Syntax error
15873 _ACEOF
15874 if { (ac_try="$ac_cpp conftest.$ac_ext"
15875 case "(($ac_try" in
15876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15877 *) ac_try_echo=$ac_try;;
15878 esac
15879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15881 ac_status=$?
15882 grep -v '^ *+' conftest.er1 >conftest.err
15883 rm -f conftest.er1
15884 cat conftest.err >&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } >/dev/null && {
15887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15888 test ! -s conftest.err
15889 }; then
15890 :
15891 else
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15894
15895 # Broken: fails on valid input.
15896 continue
15897 fi
15898
15899 rm -f conftest.err conftest.$ac_ext
15900
15901 # OK, works on sane cases. Now check whether nonexistent headers
15902 # can be detected and how.
15903 cat >conftest.$ac_ext <<_ACEOF
15904 /* confdefs.h. */
15905 _ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15909 #include <ac_nonexistent.h>
15910 _ACEOF
15911 if { (ac_try="$ac_cpp conftest.$ac_ext"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15915 esac
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } >/dev/null && {
15924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15925 test ! -s conftest.err
15926 }; then
15927 # Broken: success on invalid input.
15928 continue
15929 else
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15932
15933 # Passes both tests.
15934 ac_preproc_ok=:
15935 break
15936 fi
15937
15938 rm -f conftest.err conftest.$ac_ext
15939
15940 done
15941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15942 rm -f conftest.err conftest.$ac_ext
15943 if $ac_preproc_ok; then
15944 break
15945 fi
15946
15947 done
15948 ac_cv_prog_CPP=$CPP
15949
15950 fi
15951 CPP=$ac_cv_prog_CPP
15952 else
15953 ac_cv_prog_CPP=$CPP
15954 fi
15955 { echo "$as_me:$LINENO: result: $CPP" >&5
15956 echo "${ECHO_T}$CPP" >&6; }
15957 ac_preproc_ok=false
15958 for ac_c_preproc_warn_flag in '' yes
15959 do
15960 # Use a header file that comes with gcc, so configuring glibc
15961 # with a fresh cross-compiler works.
15962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15963 # <limits.h> exists even on freestanding compilers.
15964 # On the NeXT, cc -E runs the code through the compiler's parser,
15965 # not just through cpp. "Syntax error" is here to catch this case.
15966 cat >conftest.$ac_ext <<_ACEOF
15967 /* confdefs.h. */
15968 _ACEOF
15969 cat confdefs.h >>conftest.$ac_ext
15970 cat >>conftest.$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 #ifdef __STDC__
15973 # include <limits.h>
15974 #else
15975 # include <assert.h>
15976 #endif
15977 Syntax error
15978 _ACEOF
15979 if { (ac_try="$ac_cpp conftest.$ac_ext"
15980 case "(($ac_try" in
15981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15982 *) ac_try_echo=$ac_try;;
15983 esac
15984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15986 ac_status=$?
15987 grep -v '^ *+' conftest.er1 >conftest.err
15988 rm -f conftest.er1
15989 cat conftest.err >&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } >/dev/null && {
15992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15993 test ! -s conftest.err
15994 }; then
15995 :
15996 else
15997 echo "$as_me: failed program was:" >&5
15998 sed 's/^/| /' conftest.$ac_ext >&5
15999
16000 # Broken: fails on valid input.
16001 continue
16002 fi
16003
16004 rm -f conftest.err conftest.$ac_ext
16005
16006 # OK, works on sane cases. Now check whether nonexistent headers
16007 # can be detected and how.
16008 cat >conftest.$ac_ext <<_ACEOF
16009 /* confdefs.h. */
16010 _ACEOF
16011 cat confdefs.h >>conftest.$ac_ext
16012 cat >>conftest.$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 #include <ac_nonexistent.h>
16015 _ACEOF
16016 if { (ac_try="$ac_cpp conftest.$ac_ext"
16017 case "(($ac_try" in
16018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16019 *) ac_try_echo=$ac_try;;
16020 esac
16021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16023 ac_status=$?
16024 grep -v '^ *+' conftest.er1 >conftest.err
16025 rm -f conftest.er1
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } >/dev/null && {
16029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16030 test ! -s conftest.err
16031 }; then
16032 # Broken: success on invalid input.
16033 continue
16034 else
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16037
16038 # Passes both tests.
16039 ac_preproc_ok=:
16040 break
16041 fi
16042
16043 rm -f conftest.err conftest.$ac_ext
16044
16045 done
16046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16047 rm -f conftest.err conftest.$ac_ext
16048 if $ac_preproc_ok; then
16049 :
16050 else
16051 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16052 See \`config.log' for more details." >&5
16053 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16054 See \`config.log' for more details." >&2;}
16055 { (exit 1); exit 1; }; }
16056 fi
16057
16058 ac_ext=c
16059 ac_cpp='$CPP $CPPFLAGS'
16060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16063
16064
16065 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16066 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16067 if test "${ac_cv_path_GREP+set}" = set; then
16068 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 else
16070 # Extract the first word of "grep ggrep" to use in msg output
16071 if test -z "$GREP"; then
16072 set dummy grep ggrep; ac_prog_name=$2
16073 if test "${ac_cv_path_GREP+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 else
16076 ac_path_GREP_found=false
16077 # Loop through the user's path and test for each of PROGNAME-LIST
16078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16079 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16080 do
16081 IFS=$as_save_IFS
16082 test -z "$as_dir" && as_dir=.
16083 for ac_prog in grep ggrep; do
16084 for ac_exec_ext in '' $ac_executable_extensions; do
16085 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16086 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16087 # Check for GNU ac_path_GREP and select it if it is found.
16088 # Check for GNU $ac_path_GREP
16089 case `"$ac_path_GREP" --version 2>&1` in
16090 *GNU*)
16091 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16092 *)
16093 ac_count=0
16094 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16095 while :
16096 do
16097 cat "conftest.in" "conftest.in" >"conftest.tmp"
16098 mv "conftest.tmp" "conftest.in"
16099 cp "conftest.in" "conftest.nl"
16100 echo 'GREP' >> "conftest.nl"
16101 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16102 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16103 ac_count=`expr $ac_count + 1`
16104 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16105 # Best one so far, save it but keep looking for a better one
16106 ac_cv_path_GREP="$ac_path_GREP"
16107 ac_path_GREP_max=$ac_count
16108 fi
16109 # 10*(2^10) chars as input seems more than enough
16110 test $ac_count -gt 10 && break
16111 done
16112 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16113 esac
16114
16115
16116 $ac_path_GREP_found && break 3
16117 done
16118 done
16119
16120 done
16121 IFS=$as_save_IFS
16122
16123
16124 fi
16125
16126 GREP="$ac_cv_path_GREP"
16127 if test -z "$GREP"; then
16128 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16129 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16130 { (exit 1); exit 1; }; }
16131 fi
16132
16133 else
16134 ac_cv_path_GREP=$GREP
16135 fi
16136
16137
16138 fi
16139 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16140 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16141 GREP="$ac_cv_path_GREP"
16142
16143
16144 { echo "$as_me:$LINENO: checking for egrep" >&5
16145 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16146 if test "${ac_cv_path_EGREP+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16148 else
16149 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16150 then ac_cv_path_EGREP="$GREP -E"
16151 else
16152 # Extract the first word of "egrep" to use in msg output
16153 if test -z "$EGREP"; then
16154 set dummy egrep; ac_prog_name=$2
16155 if test "${ac_cv_path_EGREP+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158 ac_path_EGREP_found=false
16159 # Loop through the user's path and test for each of PROGNAME-LIST
16160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16162 do
16163 IFS=$as_save_IFS
16164 test -z "$as_dir" && as_dir=.
16165 for ac_prog in egrep; do
16166 for ac_exec_ext in '' $ac_executable_extensions; do
16167 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16168 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16169 # Check for GNU ac_path_EGREP and select it if it is found.
16170 # Check for GNU $ac_path_EGREP
16171 case `"$ac_path_EGREP" --version 2>&1` in
16172 *GNU*)
16173 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16174 *)
16175 ac_count=0
16176 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16177 while :
16178 do
16179 cat "conftest.in" "conftest.in" >"conftest.tmp"
16180 mv "conftest.tmp" "conftest.in"
16181 cp "conftest.in" "conftest.nl"
16182 echo 'EGREP' >> "conftest.nl"
16183 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16185 ac_count=`expr $ac_count + 1`
16186 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16187 # Best one so far, save it but keep looking for a better one
16188 ac_cv_path_EGREP="$ac_path_EGREP"
16189 ac_path_EGREP_max=$ac_count
16190 fi
16191 # 10*(2^10) chars as input seems more than enough
16192 test $ac_count -gt 10 && break
16193 done
16194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16195 esac
16196
16197
16198 $ac_path_EGREP_found && break 3
16199 done
16200 done
16201
16202 done
16203 IFS=$as_save_IFS
16204
16205
16206 fi
16207
16208 EGREP="$ac_cv_path_EGREP"
16209 if test -z "$EGREP"; then
16210 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16211 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16212 { (exit 1); exit 1; }; }
16213 fi
16214
16215 else
16216 ac_cv_path_EGREP=$EGREP
16217 fi
16218
16219
16220 fi
16221 fi
16222 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16223 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16224 EGREP="$ac_cv_path_EGREP"
16225
16226
16227 if test $ac_cv_c_compiler_gnu = yes; then
16228 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16229 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16230 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 else
16233 ac_pattern="Autoconf.*'x'"
16234 cat >conftest.$ac_ext <<_ACEOF
16235 /* confdefs.h. */
16236 _ACEOF
16237 cat confdefs.h >>conftest.$ac_ext
16238 cat >>conftest.$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16240 #include <sgtty.h>
16241 Autoconf TIOCGETP
16242 _ACEOF
16243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16244 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16245 ac_cv_prog_gcc_traditional=yes
16246 else
16247 ac_cv_prog_gcc_traditional=no
16248 fi
16249 rm -f conftest*
16250
16251
16252 if test $ac_cv_prog_gcc_traditional = no; then
16253 cat >conftest.$ac_ext <<_ACEOF
16254 /* confdefs.h. */
16255 _ACEOF
16256 cat confdefs.h >>conftest.$ac_ext
16257 cat >>conftest.$ac_ext <<_ACEOF
16258 /* end confdefs.h. */
16259 #include <termio.h>
16260 Autoconf TCGETA
16261 _ACEOF
16262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16263 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16264 ac_cv_prog_gcc_traditional=yes
16265 fi
16266 rm -f conftest*
16267
16268 fi
16269 fi
16270 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16271 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16272 if test $ac_cv_prog_gcc_traditional = yes; then
16273 CC="$CC -traditional"
16274 fi
16275 fi
16276
16277
16278 CXXFLAGS=${CXXFLAGS:=}
16279
16280
16281
16282 ac_ext=cpp
16283 ac_cpp='$CXXCPP $CPPFLAGS'
16284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16287 if test -z "$CXX"; then
16288 if test -n "$CCC"; then
16289 CXX=$CCC
16290 else
16291 if test -n "$ac_tool_prefix"; then
16292 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16293 do
16294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16295 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16298 if test "${ac_cv_prog_CXX+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 else
16301 if test -n "$CXX"; then
16302 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16303 else
16304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16305 for as_dir in $PATH
16306 do
16307 IFS=$as_save_IFS
16308 test -z "$as_dir" && as_dir=.
16309 for ac_exec_ext in '' $ac_executable_extensions; do
16310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16311 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16313 break 2
16314 fi
16315 done
16316 done
16317 IFS=$as_save_IFS
16318
16319 fi
16320 fi
16321 CXX=$ac_cv_prog_CXX
16322 if test -n "$CXX"; then
16323 { echo "$as_me:$LINENO: result: $CXX" >&5
16324 echo "${ECHO_T}$CXX" >&6; }
16325 else
16326 { echo "$as_me:$LINENO: result: no" >&5
16327 echo "${ECHO_T}no" >&6; }
16328 fi
16329
16330
16331 test -n "$CXX" && break
16332 done
16333 fi
16334 if test -z "$CXX"; then
16335 ac_ct_CXX=$CXX
16336 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16337 do
16338 # Extract the first word of "$ac_prog", so it can be a program name with args.
16339 set dummy $ac_prog; ac_word=$2
16340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16342 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 else
16345 if test -n "$ac_ct_CXX"; then
16346 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16347 else
16348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16349 for as_dir in $PATH
16350 do
16351 IFS=$as_save_IFS
16352 test -z "$as_dir" && as_dir=.
16353 for ac_exec_ext in '' $ac_executable_extensions; do
16354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16355 ac_cv_prog_ac_ct_CXX="$ac_prog"
16356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16357 break 2
16358 fi
16359 done
16360 done
16361 IFS=$as_save_IFS
16362
16363 fi
16364 fi
16365 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16366 if test -n "$ac_ct_CXX"; then
16367 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16368 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16369 else
16370 { echo "$as_me:$LINENO: result: no" >&5
16371 echo "${ECHO_T}no" >&6; }
16372 fi
16373
16374
16375 test -n "$ac_ct_CXX" && break
16376 done
16377
16378 if test "x$ac_ct_CXX" = x; then
16379 CXX="g++"
16380 else
16381 case $cross_compiling:$ac_tool_warned in
16382 yes:)
16383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16384 whose name does not start with the host triplet. If you think this
16385 configuration is useful to you, please write to autoconf@gnu.org." >&5
16386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16387 whose name does not start with the host triplet. If you think this
16388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16389 ac_tool_warned=yes ;;
16390 esac
16391 CXX=$ac_ct_CXX
16392 fi
16393 fi
16394
16395 fi
16396 fi
16397 # Provide some information about the compiler.
16398 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16399 ac_compiler=`set X $ac_compile; echo $2`
16400 { (ac_try="$ac_compiler --version >&5"
16401 case "(($ac_try" in
16402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16403 *) ac_try_echo=$ac_try;;
16404 esac
16405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16406 (eval "$ac_compiler --version >&5") 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }
16410 { (ac_try="$ac_compiler -v >&5"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16414 esac
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compiler -v >&5") 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }
16420 { (ac_try="$ac_compiler -V >&5"
16421 case "(($ac_try" in
16422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16423 *) ac_try_echo=$ac_try;;
16424 esac
16425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16426 (eval "$ac_compiler -V >&5") 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }
16430
16431 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16432 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16433 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16434 echo $ECHO_N "(cached) $ECHO_C" >&6
16435 else
16436 cat >conftest.$ac_ext <<_ACEOF
16437 /* confdefs.h. */
16438 _ACEOF
16439 cat confdefs.h >>conftest.$ac_ext
16440 cat >>conftest.$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16442
16443 int
16444 main ()
16445 {
16446 #ifndef __GNUC__
16447 choke me
16448 #endif
16449
16450 ;
16451 return 0;
16452 }
16453 _ACEOF
16454 rm -f conftest.$ac_objext
16455 if { (ac_try="$ac_compile"
16456 case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16459 esac
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_compile") 2>conftest.er1
16462 ac_status=$?
16463 grep -v '^ *+' conftest.er1 >conftest.err
16464 rm -f conftest.er1
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && {
16468 test -z "$ac_cxx_werror_flag" ||
16469 test ! -s conftest.err
16470 } && test -s conftest.$ac_objext; then
16471 ac_compiler_gnu=yes
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16475
16476 ac_compiler_gnu=no
16477 fi
16478
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16481
16482 fi
16483 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16484 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16485 GXX=`test $ac_compiler_gnu = yes && echo yes`
16486 ac_test_CXXFLAGS=${CXXFLAGS+set}
16487 ac_save_CXXFLAGS=$CXXFLAGS
16488 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16489 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16490 if test "${ac_cv_prog_cxx_g+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 else
16493 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16494 ac_cxx_werror_flag=yes
16495 ac_cv_prog_cxx_g=no
16496 CXXFLAGS="-g"
16497 cat >conftest.$ac_ext <<_ACEOF
16498 /* confdefs.h. */
16499 _ACEOF
16500 cat confdefs.h >>conftest.$ac_ext
16501 cat >>conftest.$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16503
16504 int
16505 main ()
16506 {
16507
16508 ;
16509 return 0;
16510 }
16511 _ACEOF
16512 rm -f conftest.$ac_objext
16513 if { (ac_try="$ac_compile"
16514 case "(($ac_try" in
16515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16516 *) ac_try_echo=$ac_try;;
16517 esac
16518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16519 (eval "$ac_compile") 2>conftest.er1
16520 ac_status=$?
16521 grep -v '^ *+' conftest.er1 >conftest.err
16522 rm -f conftest.er1
16523 cat conftest.err >&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } && {
16526 test -z "$ac_cxx_werror_flag" ||
16527 test ! -s conftest.err
16528 } && test -s conftest.$ac_objext; then
16529 ac_cv_prog_cxx_g=yes
16530 else
16531 echo "$as_me: failed program was:" >&5
16532 sed 's/^/| /' conftest.$ac_ext >&5
16533
16534 CXXFLAGS=""
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541
16542 int
16543 main ()
16544 {
16545
16546 ;
16547 return 0;
16548 }
16549 _ACEOF
16550 rm -f conftest.$ac_objext
16551 if { (ac_try="$ac_compile"
16552 case "(($ac_try" in
16553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16554 *) ac_try_echo=$ac_try;;
16555 esac
16556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16557 (eval "$ac_compile") 2>conftest.er1
16558 ac_status=$?
16559 grep -v '^ *+' conftest.er1 >conftest.err
16560 rm -f conftest.er1
16561 cat conftest.err >&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && {
16564 test -z "$ac_cxx_werror_flag" ||
16565 test ! -s conftest.err
16566 } && test -s conftest.$ac_objext; then
16567 :
16568 else
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16571
16572 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16573 CXXFLAGS="-g"
16574 cat >conftest.$ac_ext <<_ACEOF
16575 /* confdefs.h. */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580
16581 int
16582 main ()
16583 {
16584
16585 ;
16586 return 0;
16587 }
16588 _ACEOF
16589 rm -f conftest.$ac_objext
16590 if { (ac_try="$ac_compile"
16591 case "(($ac_try" in
16592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16593 *) ac_try_echo=$ac_try;;
16594 esac
16595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16596 (eval "$ac_compile") 2>conftest.er1
16597 ac_status=$?
16598 grep -v '^ *+' conftest.er1 >conftest.err
16599 rm -f conftest.er1
16600 cat conftest.err >&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } && {
16603 test -z "$ac_cxx_werror_flag" ||
16604 test ! -s conftest.err
16605 } && test -s conftest.$ac_objext; then
16606 ac_cv_prog_cxx_g=yes
16607 else
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.$ac_ext >&5
16610
16611
16612 fi
16613
16614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16615 fi
16616
16617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16618 fi
16619
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16622 fi
16623 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16624 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16625 if test "$ac_test_CXXFLAGS" = set; then
16626 CXXFLAGS=$ac_save_CXXFLAGS
16627 elif test $ac_cv_prog_cxx_g = yes; then
16628 if test "$GXX" = yes; then
16629 CXXFLAGS="-g -O2"
16630 else
16631 CXXFLAGS="-g"
16632 fi
16633 else
16634 if test "$GXX" = yes; then
16635 CXXFLAGS="-O2"
16636 else
16637 CXXFLAGS=
16638 fi
16639 fi
16640 ac_ext=c
16641 ac_cpp='$CPP $CPPFLAGS'
16642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16645
16646
16647
16648
16649 ac_ext=cpp
16650 ac_cpp='$CXXCPP $CPPFLAGS'
16651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16654
16655 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16656 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16657 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16658 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 else
16660 cat >conftest.$ac_ext <<_ACEOF
16661 /* confdefs.h. */
16662 _ACEOF
16663 cat confdefs.h >>conftest.$ac_ext
16664 cat >>conftest.$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666
16667 int
16668 main ()
16669 {
16670
16671 #ifndef __INTEL_COMPILER
16672 choke me
16673 #endif
16674
16675 ;
16676 return 0;
16677 }
16678 _ACEOF
16679 rm -f conftest.$ac_objext
16680 if { (ac_try="$ac_compile"
16681 case "(($ac_try" in
16682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16683 *) ac_try_echo=$ac_try;;
16684 esac
16685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16686 (eval "$ac_compile") 2>conftest.er1
16687 ac_status=$?
16688 grep -v '^ *+' conftest.er1 >conftest.err
16689 rm -f conftest.er1
16690 cat conftest.err >&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); } && {
16693 test -z "$ac_cxx_werror_flag" ||
16694 test ! -s conftest.err
16695 } && test -s conftest.$ac_objext; then
16696 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16697 else
16698 echo "$as_me: failed program was:" >&5
16699 sed 's/^/| /' conftest.$ac_ext >&5
16700
16701 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16702
16703 fi
16704
16705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706
16707
16708 fi
16709 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16710 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16711 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16712 :; INTELCXX=yes
16713 else
16714 :;
16715 fi
16716 ac_ext=c
16717 ac_cpp='$CPP $CPPFLAGS'
16718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16721
16722
16723
16724
16725 if test "x$GCXX" != "xyes"; then
16726 if test "xCXX" = "xC"; then
16727 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16728 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16729 if test "${bakefile_cv_c_exto+set}" = set; then
16730 echo $ECHO_N "(cached) $ECHO_C" >&6
16731 else
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738
16739 int
16740 main ()
16741 {
16742
16743 ;
16744 return 0;
16745 }
16746 _ACEOF
16747 rm -f conftest.$ac_objext conftest.$ac_ext.o
16748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16749 (eval $ac_compile) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; then
16753 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16754 case $ac_file in
16755 conftest.$ac_ext.o)
16756 bakefile_cv_c_exto="-ext o"
16757 ;;
16758 *)
16759 ;;
16760 esac
16761 done
16762 else
16763 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16764 See \`config.log' for more details." >&5
16765 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16766 See \`config.log' for more details." >&2;}
16767 { (exit 1); exit 1; }; }
16768
16769 fi
16770
16771 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16772
16773 fi
16774 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16775 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16776 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16777 if test "c" = "c"; then
16778 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16779 fi
16780 if test "c" = "cxx"; then
16781 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16782 fi
16783 fi
16784
16785 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16786 unset ac_cv_prog_cc_g
16787 ac_test_CFLAGS=${CFLAGS+set}
16788 ac_save_CFLAGS=$CFLAGS
16789 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16790 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16791 if test "${ac_cv_prog_cc_g+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 ac_save_c_werror_flag=$ac_c_werror_flag
16795 ac_c_werror_flag=yes
16796 ac_cv_prog_cc_g=no
16797 CFLAGS="-g"
16798 cat >conftest.$ac_ext <<_ACEOF
16799 /* confdefs.h. */
16800 _ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804
16805 int
16806 main ()
16807 {
16808
16809 ;
16810 return 0;
16811 }
16812 _ACEOF
16813 rm -f conftest.$ac_objext
16814 if { (ac_try="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16818 esac
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 ac_cv_prog_cc_g=yes
16831 else
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16834
16835 CFLAGS=""
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842
16843 int
16844 main ()
16845 {
16846
16847 ;
16848 return 0;
16849 }
16850 _ACEOF
16851 rm -f conftest.$ac_objext
16852 if { (ac_try="$ac_compile"
16853 case "(($ac_try" in
16854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16855 *) ac_try_echo=$ac_try;;
16856 esac
16857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16858 (eval "$ac_compile") 2>conftest.er1
16859 ac_status=$?
16860 grep -v '^ *+' conftest.er1 >conftest.err
16861 rm -f conftest.er1
16862 cat conftest.err >&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } && {
16865 test -z "$ac_c_werror_flag" ||
16866 test ! -s conftest.err
16867 } && test -s conftest.$ac_objext; then
16868 :
16869 else
16870 echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.$ac_ext >&5
16872
16873 ac_c_werror_flag=$ac_save_c_werror_flag
16874 CFLAGS="-g"
16875 cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881
16882 int
16883 main ()
16884 {
16885
16886 ;
16887 return 0;
16888 }
16889 _ACEOF
16890 rm -f conftest.$ac_objext
16891 if { (ac_try="$ac_compile"
16892 case "(($ac_try" in
16893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16894 *) ac_try_echo=$ac_try;;
16895 esac
16896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16897 (eval "$ac_compile") 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } && {
16904 test -z "$ac_c_werror_flag" ||
16905 test ! -s conftest.err
16906 } && test -s conftest.$ac_objext; then
16907 ac_cv_prog_cc_g=yes
16908 else
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.$ac_ext >&5
16911
16912
16913 fi
16914
16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16916 fi
16917
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16919 fi
16920
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16922 ac_c_werror_flag=$ac_save_c_werror_flag
16923 fi
16924 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16925 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16926 if test "$ac_test_CFLAGS" = set; then
16927 CFLAGS=$ac_save_CFLAGS
16928 elif test $ac_cv_prog_cc_g = yes; then
16929 if test "$GCC" = yes; then
16930 CFLAGS="-g -O2"
16931 else
16932 CFLAGS="-g"
16933 fi
16934 else
16935 if test "$GCC" = yes; then
16936 CFLAGS="-O2"
16937 else
16938 CFLAGS=
16939 fi
16940 fi
16941 fi
16942 fi
16943
16944 case `uname -s` in
16945 AIX*)
16946
16947
16948 ac_ext=cpp
16949 ac_cpp='$CXXCPP $CPPFLAGS'
16950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16953
16954 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16955 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16956 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 else
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965
16966 int
16967 main ()
16968 {
16969
16970 #ifndef __xlC__
16971 choke me
16972 #endif
16973
16974 ;
16975 return 0;
16976 }
16977 _ACEOF
16978 rm -f conftest.$ac_objext
16979 if { (ac_try="$ac_compile"
16980 case "(($ac_try" in
16981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16982 *) ac_try_echo=$ac_try;;
16983 esac
16984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16985 (eval "$ac_compile") 2>conftest.er1
16986 ac_status=$?
16987 grep -v '^ *+' conftest.er1 >conftest.err
16988 rm -f conftest.er1
16989 cat conftest.err >&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } && {
16992 test -z "$ac_cxx_werror_flag" ||
16993 test ! -s conftest.err
16994 } && test -s conftest.$ac_objext; then
16995 bakefile_cv_cxx_compiler___xlC__=yes
16996 else
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
16999
17000 bakefile_cv_cxx_compiler___xlC__=no
17001
17002 fi
17003
17004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17005
17006
17007 fi
17008 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17009 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17010 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17011 :; XLCXX=yes
17012 else
17013 :;
17014 fi
17015 ac_ext=c
17016 ac_cpp='$CPP $CPPFLAGS'
17017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17020
17021
17022
17023 ;;
17024
17025 Darwin)
17026
17027
17028 ac_ext=cpp
17029 ac_cpp='$CXXCPP $CPPFLAGS'
17030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17033
17034 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17035 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17036 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17038 else
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045
17046 int
17047 main ()
17048 {
17049
17050 #ifndef __MWERKS__
17051 choke me
17052 #endif
17053
17054 ;
17055 return 0;
17056 }
17057 _ACEOF
17058 rm -f conftest.$ac_objext
17059 if { (ac_try="$ac_compile"
17060 case "(($ac_try" in
17061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17062 *) ac_try_echo=$ac_try;;
17063 esac
17064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17065 (eval "$ac_compile") 2>conftest.er1
17066 ac_status=$?
17067 grep -v '^ *+' conftest.er1 >conftest.err
17068 rm -f conftest.er1
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } && {
17072 test -z "$ac_cxx_werror_flag" ||
17073 test ! -s conftest.err
17074 } && test -s conftest.$ac_objext; then
17075 bakefile_cv_cxx_compiler___MWERKS__=yes
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 bakefile_cv_cxx_compiler___MWERKS__=no
17081
17082 fi
17083
17084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17085
17086
17087 fi
17088 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17089 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17090 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17091 :; MWCXX=yes
17092 else
17093 :;
17094 fi
17095 ac_ext=c
17096 ac_cpp='$CPP $CPPFLAGS'
17097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17100
17101
17102
17103
17104
17105 ac_ext=cpp
17106 ac_cpp='$CXXCPP $CPPFLAGS'
17107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17110
17111 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17112 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17113 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 else
17116 cat >conftest.$ac_ext <<_ACEOF
17117 /* confdefs.h. */
17118 _ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122
17123 int
17124 main ()
17125 {
17126
17127 #ifndef __xlC__
17128 choke me
17129 #endif
17130
17131 ;
17132 return 0;
17133 }
17134 _ACEOF
17135 rm -f conftest.$ac_objext
17136 if { (ac_try="$ac_compile"
17137 case "(($ac_try" in
17138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17139 *) ac_try_echo=$ac_try;;
17140 esac
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_compile") 2>conftest.er1
17143 ac_status=$?
17144 grep -v '^ *+' conftest.er1 >conftest.err
17145 rm -f conftest.er1
17146 cat conftest.err >&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } && {
17149 test -z "$ac_cxx_werror_flag" ||
17150 test ! -s conftest.err
17151 } && test -s conftest.$ac_objext; then
17152 bakefile_cv_cxx_compiler___xlC__=yes
17153 else
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17156
17157 bakefile_cv_cxx_compiler___xlC__=no
17158
17159 fi
17160
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162
17163
17164 fi
17165 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17166 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17167 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17168 :; XLCXX=yes
17169 else
17170 :;
17171 fi
17172 ac_ext=c
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17177
17178
17179
17180 ;;
17181
17182 IRIX*)
17183
17184
17185 ac_ext=cpp
17186 ac_cpp='$CXXCPP $CPPFLAGS'
17187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17190
17191 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17192 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17193 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202
17203 int
17204 main ()
17205 {
17206
17207 #ifndef _SGI_COMPILER_VERSION
17208 choke me
17209 #endif
17210
17211 ;
17212 return 0;
17213 }
17214 _ACEOF
17215 rm -f conftest.$ac_objext
17216 if { (ac_try="$ac_compile"
17217 case "(($ac_try" in
17218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17220 esac
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_compile") 2>conftest.er1
17223 ac_status=$?
17224 grep -v '^ *+' conftest.er1 >conftest.err
17225 rm -f conftest.er1
17226 cat conftest.err >&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_cxx_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest.$ac_objext; then
17232 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17233 else
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17236
17237 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17238
17239 fi
17240
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17242
17243
17244 fi
17245 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17246 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17247 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17248 :; SGICXX=yes
17249 else
17250 :;
17251 fi
17252 ac_ext=c
17253 ac_cpp='$CPP $CPPFLAGS'
17254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17257
17258
17259
17260 ;;
17261
17262 Linux*)
17263
17264
17265 ac_ext=cpp
17266 ac_cpp='$CXXCPP $CPPFLAGS'
17267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17270
17271 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17272 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17273 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17274 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 else
17276 cat >conftest.$ac_ext <<_ACEOF
17277 /* confdefs.h. */
17278 _ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282
17283 int
17284 main ()
17285 {
17286
17287 #ifndef __SUNPRO_CC
17288 choke me
17289 #endif
17290
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext
17296 if { (ac_try="$ac_compile"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17300 esac
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_compile") 2>conftest.er1
17303 ac_status=$?
17304 grep -v '^ *+' conftest.er1 >conftest.err
17305 rm -f conftest.er1
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_cxx_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest.$ac_objext; then
17312 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17313 else
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17316
17317 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17318
17319 fi
17320
17321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322
17323
17324 fi
17325 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17326 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17327 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17328 :; SUNCXX=yes
17329 else
17330 :;
17331 fi
17332 ac_ext=c
17333 ac_cpp='$CPP $CPPFLAGS'
17334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17337
17338
17339
17340 ;;
17341
17342 HP-UX*)
17343
17344
17345 ac_ext=cpp
17346 ac_cpp='$CXXCPP $CPPFLAGS'
17347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17350
17351 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17352 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17353 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 else
17356 cat >conftest.$ac_ext <<_ACEOF
17357 /* confdefs.h. */
17358 _ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362
17363 int
17364 main ()
17365 {
17366
17367 #ifndef __HP_aCC
17368 choke me
17369 #endif
17370
17371 ;
17372 return 0;
17373 }
17374 _ACEOF
17375 rm -f conftest.$ac_objext
17376 if { (ac_try="$ac_compile"
17377 case "(($ac_try" in
17378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17379 *) ac_try_echo=$ac_try;;
17380 esac
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_compile") 2>conftest.er1
17383 ac_status=$?
17384 grep -v '^ *+' conftest.er1 >conftest.err
17385 rm -f conftest.er1
17386 cat conftest.err >&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && {
17389 test -z "$ac_cxx_werror_flag" ||
17390 test ! -s conftest.err
17391 } && test -s conftest.$ac_objext; then
17392 bakefile_cv_cxx_compiler___HP_aCC=yes
17393 else
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17396
17397 bakefile_cv_cxx_compiler___HP_aCC=no
17398
17399 fi
17400
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17402
17403
17404 fi
17405 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17406 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17407 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17408 :; HPCXX=yes
17409 else
17410 :;
17411 fi
17412 ac_ext=c
17413 ac_cpp='$CPP $CPPFLAGS'
17414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17417
17418
17419
17420 ;;
17421
17422 OSF1)
17423
17424
17425 ac_ext=cpp
17426 ac_cpp='$CXXCPP $CPPFLAGS'
17427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17430
17431 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17432 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17433 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 else
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442
17443 int
17444 main ()
17445 {
17446
17447 #ifndef __DECCXX
17448 choke me
17449 #endif
17450
17451 ;
17452 return 0;
17453 }
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (ac_try="$ac_compile"
17457 case "(($ac_try" in
17458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17459 *) ac_try_echo=$ac_try;;
17460 esac
17461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17462 (eval "$ac_compile") 2>conftest.er1
17463 ac_status=$?
17464 grep -v '^ *+' conftest.er1 >conftest.err
17465 rm -f conftest.er1
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } && {
17469 test -z "$ac_cxx_werror_flag" ||
17470 test ! -s conftest.err
17471 } && test -s conftest.$ac_objext; then
17472 bakefile_cv_cxx_compiler___DECCXX=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 bakefile_cv_cxx_compiler___DECCXX=no
17478
17479 fi
17480
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482
17483
17484 fi
17485 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17486 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17487 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17488 :; COMPAQCXX=yes
17489 else
17490 :;
17491 fi
17492 ac_ext=c
17493 ac_cpp='$CPP $CPPFLAGS'
17494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17497
17498
17499
17500 ;;
17501
17502 SunOS)
17503
17504
17505 ac_ext=cpp
17506 ac_cpp='$CXXCPP $CPPFLAGS'
17507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17510
17511 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17512 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17513 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 else
17516 cat >conftest.$ac_ext <<_ACEOF
17517 /* confdefs.h. */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17522
17523 int
17524 main ()
17525 {
17526
17527 #ifndef __SUNPRO_CC
17528 choke me
17529 #endif
17530
17531 ;
17532 return 0;
17533 }
17534 _ACEOF
17535 rm -f conftest.$ac_objext
17536 if { (ac_try="$ac_compile"
17537 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17539 *) ac_try_echo=$ac_try;;
17540 esac
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_compile") 2>conftest.er1
17543 ac_status=$?
17544 grep -v '^ *+' conftest.er1 >conftest.err
17545 rm -f conftest.er1
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } && {
17549 test -z "$ac_cxx_werror_flag" ||
17550 test ! -s conftest.err
17551 } && test -s conftest.$ac_objext; then
17552 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17553 else
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17556
17557 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17558
17559 fi
17560
17561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17562
17563
17564 fi
17565 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17566 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17567 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17568 :; SUNCXX=yes
17569 else
17570 :;
17571 fi
17572 ac_ext=c
17573 ac_cpp='$CPP $CPPFLAGS'
17574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17577
17578
17579
17580 ;;
17581 esac
17582 fi
17583
17584
17585
17586 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17587 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17588 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17589 { (exit 1); exit 1; }; }
17590 fi
17591
17592 if test "x$SUNCXX" != xyes; then
17593 if test -n "$ac_tool_prefix"; then
17594 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17595 set dummy ${ac_tool_prefix}ar; ac_word=$2
17596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17598 if test "${ac_cv_prog_AR+set}" = set; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 else
17601 if test -n "$AR"; then
17602 ac_cv_prog_AR="$AR" # Let the user override the test.
17603 else
17604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17605 for as_dir in $PATH
17606 do
17607 IFS=$as_save_IFS
17608 test -z "$as_dir" && as_dir=.
17609 for ac_exec_ext in '' $ac_executable_extensions; do
17610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17611 ac_cv_prog_AR="${ac_tool_prefix}ar"
17612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17613 break 2
17614 fi
17615 done
17616 done
17617 IFS=$as_save_IFS
17618
17619 fi
17620 fi
17621 AR=$ac_cv_prog_AR
17622 if test -n "$AR"; then
17623 { echo "$as_me:$LINENO: result: $AR" >&5
17624 echo "${ECHO_T}$AR" >&6; }
17625 else
17626 { echo "$as_me:$LINENO: result: no" >&5
17627 echo "${ECHO_T}no" >&6; }
17628 fi
17629
17630
17631 fi
17632 if test -z "$ac_cv_prog_AR"; then
17633 ac_ct_AR=$AR
17634 # Extract the first word of "ar", so it can be a program name with args.
17635 set dummy ar; ac_word=$2
17636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17638 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17639 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 else
17641 if test -n "$ac_ct_AR"; then
17642 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17643 else
17644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17645 for as_dir in $PATH
17646 do
17647 IFS=$as_save_IFS
17648 test -z "$as_dir" && as_dir=.
17649 for ac_exec_ext in '' $ac_executable_extensions; do
17650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17651 ac_cv_prog_ac_ct_AR="ar"
17652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17653 break 2
17654 fi
17655 done
17656 done
17657 IFS=$as_save_IFS
17658
17659 fi
17660 fi
17661 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17662 if test -n "$ac_ct_AR"; then
17663 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17664 echo "${ECHO_T}$ac_ct_AR" >&6; }
17665 else
17666 { echo "$as_me:$LINENO: result: no" >&5
17667 echo "${ECHO_T}no" >&6; }
17668 fi
17669
17670 if test "x$ac_ct_AR" = x; then
17671 AR=""
17672 else
17673 case $cross_compiling:$ac_tool_warned in
17674 yes:)
17675 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17676 whose name does not start with the host triplet. If you think this
17677 configuration is useful to you, please write to autoconf@gnu.org." >&5
17678 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17679 whose name does not start with the host triplet. If you think this
17680 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17681 ac_tool_warned=yes ;;
17682 esac
17683 AR=$ac_ct_AR
17684 fi
17685 else
17686 AR="$ac_cv_prog_AR"
17687 fi
17688
17689 if test "x$AR" = "x" ; then
17690 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17691 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17692 { (exit 1); exit 1; }; }
17693 fi
17694 fi
17695
17696 retest_macosx_linking=no
17697
17698 #if test "$wxUSE_MAC" = 1; then
17699 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17700 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17701 # Implicitly turn on the new --with-macosx-sdk using the default
17702 # SDK which provides the behavior this option has always had.
17703 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17704 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17705 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17706 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17707 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17708 wxUSE_MACOSX_SDK=yes
17709 fi
17710 else
17711 # Complain to user if he specified an argument to --enable-universal_binary
17712 # and also 1) specified --with-macosx-sdk using the default (yes) or
17713 # 2) specified --with-macosx-sdk using a path or 3) specified
17714 # --without-macosx-sdk (no).
17715 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17716 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17717 See \`config.log' for more details." >&5
17718 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17719 See \`config.log' for more details." >&2;}
17720 { (exit 1); exit 1; }; }
17721 else
17722 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17723 # special-case the empty string because the below test simply
17724 # converts "no" to the empty string anyway.
17725 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17726 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17727 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17728 fi
17729 fi
17730 OSX_UNIV_OPTS="-arch ppc -arch i386"
17731 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17732 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17733 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17734 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17735 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17736 retest_macosx_linking=yes
17737
17738 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17739 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17740 bk_use_pch=no
17741 fi
17742 #fi
17743
17744 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17745 wxUSE_MACOSX_SDK=
17746 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17747 # TODO: Search for most recent SDK and use it.
17748 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17749 fi
17750
17751
17752 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17753 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17754 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17755 if ! test -d "$wxUSE_MACOSX_SDK"; then
17756 { { echo "$as_me:$LINENO: error: not found
17757 See \`config.log' for more details." >&5
17758 echo "$as_me: error: not found
17759 See \`config.log' for more details." >&2;}
17760 { (exit 1); exit 1; }; }
17761 else
17762 { echo "$as_me:$LINENO: result: exists" >&5
17763 echo "${ECHO_T}exists" >&6; }
17764 fi
17765 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17766 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17767 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17768 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17769 retest_macosx_linking=yes
17770 fi
17771
17772 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17773 wxUSE_MACOSX_VERSION_MIN=
17774 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17775 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17776 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17777 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17778
17779 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/'`
17780
17781 # If that failed, try again with the new key
17782 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17783
17784 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/'`
17785
17786 fi
17787
17788 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17789 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17790 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17791 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17792 else
17793 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17794 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17795 wxUSE_MACOSX_VERSION_MIN=
17796 fi
17797 else
17798 wxUSE_MACOSX_VERSION_MIN=
17799 fi
17800 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17801 if test "$wxUSE_MAC" = 1; then
17802 # otherwise configure stops on leopard for universal_binary
17803 wxUSE_MACOSX_VERSION_MIN=10.4
17804 fi
17805 fi
17806
17807 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17808 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17809 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17810 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17811 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17812 retest_macosx_linking=yes
17813 fi
17814
17815 if test "x$retest_macosx_linking" = "xyes"; then
17816 ac_ext=c
17817 ac_cpp='$CPP $CPPFLAGS'
17818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17821
17822 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17823 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830
17831 int
17832 main ()
17833 {
17834
17835 ;
17836 return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest.$ac_objext conftest$ac_exeext
17840 if { (ac_try="$ac_link"
17841 case "(($ac_try" in
17842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17843 *) ac_try_echo=$ac_try;;
17844 esac
17845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17846 (eval "$ac_link") 2>conftest.er1
17847 ac_status=$?
17848 grep -v '^ *+' conftest.er1 >conftest.err
17849 rm -f conftest.er1
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } && {
17853 test -z "$ac_c_werror_flag" ||
17854 test ! -s conftest.err
17855 } && test -s conftest$ac_exeext &&
17856 $as_test_x conftest$ac_exeext; then
17857 { echo "$as_me:$LINENO: result: yes" >&5
17858 echo "${ECHO_T}yes" >&6; }
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17862
17863 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17864 See \`config.log' for more details." >&5
17865 echo "$as_me: error: no. Try a different SDK
17866 See \`config.log' for more details." >&2;}
17867 { (exit 1); exit 1; }; }; exit 1
17868 fi
17869
17870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17871 conftest$ac_exeext conftest.$ac_ext
17872 ac_ext=c
17873 ac_cpp='$CPP $CPPFLAGS'
17874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17877
17878
17879 ac_ext=cpp
17880 ac_cpp='$CXXCPP $CPPFLAGS'
17881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17884
17885 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17886 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893
17894 int
17895 main ()
17896 {
17897
17898 ;
17899 return 0;
17900 }
17901 _ACEOF
17902 rm -f conftest.$ac_objext conftest$ac_exeext
17903 if { (ac_try="$ac_link"
17904 case "(($ac_try" in
17905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17906 *) ac_try_echo=$ac_try;;
17907 esac
17908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17909 (eval "$ac_link") 2>conftest.er1
17910 ac_status=$?
17911 grep -v '^ *+' conftest.er1 >conftest.err
17912 rm -f conftest.er1
17913 cat conftest.err >&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); } && {
17916 test -z "$ac_cxx_werror_flag" ||
17917 test ! -s conftest.err
17918 } && test -s conftest$ac_exeext &&
17919 $as_test_x conftest$ac_exeext; then
17920 { echo "$as_me:$LINENO: result: yes" >&5
17921 echo "${ECHO_T}yes" >&6; }
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17927 See \`config.log' for more details." >&5
17928 echo "$as_me: error: no. Try a different SDK
17929 See \`config.log' for more details." >&2;}
17930 { (exit 1); exit 1; }; }; exit 1
17931 fi
17932
17933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17934 conftest$ac_exeext conftest.$ac_ext
17935 ac_ext=c
17936 ac_cpp='$CPP $CPPFLAGS'
17937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17940
17941 fi
17942
17943
17944 case "${host}" in
17945
17946 *-*-darwin* )
17947 INSTALL_PROGRAM="cp -fp"
17948 INSTALL_DATA="cp -fp"
17949 ;;
17950 *)
17951 ;;
17952 esac
17953
17954
17955 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17956 CXXFLAGS="-qunique $CXXFLAGS"
17957 fi
17958
17959 case "${host}" in
17960 powerpc-*-darwin* )
17961 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17962 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969
17970 int
17971 main ()
17972 {
17973 #ifndef __POWERPC__
17974 choke me for lack of PowerPC
17975 #endif
17976
17977 ;
17978 return 0;
17979 }
17980 _ACEOF
17981 rm -f conftest.$ac_objext
17982 if { (ac_try="$ac_compile"
17983 case "(($ac_try" in
17984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17985 *) ac_try_echo=$ac_try;;
17986 esac
17987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17988 (eval "$ac_compile") 2>conftest.er1
17989 ac_status=$?
17990 grep -v '^ *+' conftest.er1 >conftest.err
17991 rm -f conftest.er1
17992 cat conftest.err >&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } && {
17995 test -z "$ac_c_werror_flag" ||
17996 test ! -s conftest.err
17997 } && test -s conftest.$ac_objext; then
17998 { echo "$as_me:$LINENO: result: yes" >&5
17999 echo "${ECHO_T}yes" >&6; }
18000 else
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18003
18004 { echo "$as_me:$LINENO: result: no" >&5
18005 echo "${ECHO_T}no" >&6; }
18006 cat >>confdefs.h <<\_ACEOF
18007 #define __POWERPC__ 1
18008 _ACEOF
18009
18010
18011 fi
18012
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014 ;;
18015 esac
18016
18017 case "${host}" in
18018 *-*-darwin* )
18019 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18020 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18021 cat >conftest.$ac_ext <<_ACEOF
18022 /* confdefs.h. */
18023 _ACEOF
18024 cat confdefs.h >>conftest.$ac_ext
18025 cat >>conftest.$ac_ext <<_ACEOF
18026 /* end confdefs.h. */
18027 #include <CoreFoundation/CFBase.h>
18028
18029 int
18030 main ()
18031 {
18032
18033 ;
18034 return 0;
18035 }
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18041 *) ac_try_echo=$ac_try;;
18042 esac
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_c_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.$ac_objext; then
18054 { echo "$as_me:$LINENO: result: yes" >&5
18055 echo "${ECHO_T}yes" >&6; }
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18059
18060 { echo "$as_me:$LINENO: result: no" >&5
18061 echo "${ECHO_T}no" >&6; }
18062 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18063 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18064 cat >conftest.$ac_ext <<_ACEOF
18065 /* confdefs.h. */
18066 _ACEOF
18067 cat confdefs.h >>conftest.$ac_ext
18068 cat >>conftest.$ac_ext <<_ACEOF
18069 /* end confdefs.h. */
18070 #define __CF_USE_FRAMEWORK_INCLUDES__
18071 #include <CoreFoundation/CFBase.h>
18072
18073 int
18074 main ()
18075 {
18076
18077 ;
18078 return 0;
18079 }
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (ac_try="$ac_compile"
18083 case "(($ac_try" in
18084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085 *) ac_try_echo=$ac_try;;
18086 esac
18087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088 (eval "$ac_compile") 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && {
18095 test -z "$ac_c_werror_flag" ||
18096 test ! -s conftest.err
18097 } && test -s conftest.$ac_objext; then
18098 { echo "$as_me:$LINENO: result: yes" >&5
18099 echo "${ECHO_T}yes" >&6; }
18100 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18101 else
18102 echo "$as_me: failed program was:" >&5
18103 sed 's/^/| /' conftest.$ac_ext >&5
18104
18105 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18106 See \`config.log' for more details." >&5
18107 echo "$as_me: error: no. CoreFoundation not available.
18108 See \`config.log' for more details." >&2;}
18109 { (exit 1); exit 1; }; }
18110
18111 fi
18112
18113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18114
18115
18116 fi
18117
18118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 ;;
18120 esac
18121
18122 wants_win32=0
18123 doesnt_want_win32=0
18124 case "${host}" in
18125 *-*-cygwin*)
18126 if test "$wxUSE_MSW" = 1 ; then
18127 wants_win32=1
18128 else
18129 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18130 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18131 if test "${wx_cv_nocygwin+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 else
18134
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141
18142 int
18143 main ()
18144 {
18145
18146 #ifdef __MINGW32__
18147 choke me
18148 #endif
18149
18150 ;
18151 return 0;
18152 }
18153 _ACEOF
18154 rm -f conftest.$ac_objext
18155 if { (ac_try="$ac_compile"
18156 case "(($ac_try" in
18157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158 *) ac_try_echo=$ac_try;;
18159 esac
18160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18161 (eval "$ac_compile") 2>conftest.er1
18162 ac_status=$?
18163 grep -v '^ *+' conftest.er1 >conftest.err
18164 rm -f conftest.er1
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } && {
18168 test -z "$ac_c_werror_flag" ||
18169 test ! -s conftest.err
18170 } && test -s conftest.$ac_objext; then
18171 wx_cv_nocygwin=no
18172 else
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18175
18176 wx_cv_nocygwin=yes
18177
18178 fi
18179
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181
18182
18183 fi
18184 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18185 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18186
18187 if test "$wx_cv_nocygwin" = "yes"; then
18188 wants_win32=1
18189 else
18190 doesnt_want_win32=1
18191 fi
18192 fi
18193 if test "$wants_win32" = 1 ; then
18194 BAKEFILE_FORCE_PLATFORM=win32
18195 fi
18196 ;;
18197 *-*-mingw*)
18198 wants_win32=1
18199 ;;
18200 esac
18201
18202 if test "$wxUSE_WINE" = "yes"; then
18203 wants_win32=1
18204 LDFLAGS_GUI="-mwindows"
18205 fi
18206
18207 if test "$wants_win32" = 1 ; then
18208 USE_UNIX=0
18209 USE_WIN32=1
18210 cat >>confdefs.h <<\_ACEOF
18211 #define __WIN32__ 1
18212 _ACEOF
18213
18214 cat >>confdefs.h <<\_ACEOF
18215 #define __WIN95__ 1
18216 _ACEOF
18217
18218 cat >>confdefs.h <<\_ACEOF
18219 #define __WINDOWS__ 1
18220 _ACEOF
18221
18222 cat >>confdefs.h <<\_ACEOF
18223 #define __GNUWIN32__ 1
18224 _ACEOF
18225
18226 cat >>confdefs.h <<\_ACEOF
18227 #define STRICT 1
18228 _ACEOF
18229
18230 fi
18231 if test "$doesnt_want_win32" = 1 ; then
18232 USE_UNIX=1
18233 USE_WIN32=0
18234 fi
18235
18236 if test "$USE_UNIX" = 1 ; then
18237 wxUSE_UNIX=yes
18238 cat >>confdefs.h <<\_ACEOF
18239 #define __UNIX__ 1
18240 _ACEOF
18241
18242 fi
18243
18244 case "${host}" in
18245 *-pc-os2_emx | *-pc-os2-emx )
18246 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18247 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18248 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18249 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 else
18252 ac_check_lib_save_LIBS=$LIBS
18253 LIBS="-lcExt $LIBS"
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260
18261 /* Override any GCC internal prototype to avoid an error.
18262 Use char because int might match the return type of a GCC
18263 builtin and then its argument prototype would still apply. */
18264 #ifdef __cplusplus
18265 extern "C"
18266 #endif
18267 char drand48 ();
18268 int
18269 main ()
18270 {
18271 return drand48 ();
18272 ;
18273 return 0;
18274 }
18275 _ACEOF
18276 rm -f conftest.$ac_objext conftest$ac_exeext
18277 if { (ac_try="$ac_link"
18278 case "(($ac_try" in
18279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18280 *) ac_try_echo=$ac_try;;
18281 esac
18282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18283 (eval "$ac_link") 2>conftest.er1
18284 ac_status=$?
18285 grep -v '^ *+' conftest.er1 >conftest.err
18286 rm -f conftest.er1
18287 cat conftest.err >&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); } && {
18290 test -z "$ac_c_werror_flag" ||
18291 test ! -s conftest.err
18292 } && test -s conftest$ac_exeext &&
18293 $as_test_x conftest$ac_exeext; then
18294 ac_cv_lib_cExt_drand48=yes
18295 else
18296 echo "$as_me: failed program was:" >&5
18297 sed 's/^/| /' conftest.$ac_ext >&5
18298
18299 ac_cv_lib_cExt_drand48=no
18300 fi
18301
18302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18303 conftest$ac_exeext conftest.$ac_ext
18304 LIBS=$ac_check_lib_save_LIBS
18305 fi
18306 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18307 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18308 if test $ac_cv_lib_cExt_drand48 = yes; then
18309 LIBS="$LIBS -lcExt"
18310 fi
18311
18312 else
18313 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18314 fi
18315 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18316 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18317 if test "${wx_cv_gccversion+set}" = set; then
18318 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 else
18320
18321 if test "$cross_compiling" = yes; then
18322 wx_cv_gccversion="EMX2"
18323
18324 else
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331
18332 #include <stdio.h>
18333
18334 int main()
18335 {
18336 FILE *f=fopen("conftestval", "w");
18337 if (!f) exit(1);
18338 fprintf(f,
18339 #if (__GNUC__ < 3)
18340 "EMX2"
18341 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18342 "EMX3"
18343 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18344 "Innotek5"
18345 #else
18346 "Innotek6"
18347 #endif
18348 );
18349 exit(0);
18350 }
18351
18352 _ACEOF
18353 rm -f conftest$ac_exeext
18354 if { (ac_try="$ac_link"
18355 case "(($ac_try" in
18356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18357 *) ac_try_echo=$ac_try;;
18358 esac
18359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18360 (eval "$ac_link") 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18364 { (case "(($ac_try" in
18365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18366 *) ac_try_echo=$ac_try;;
18367 esac
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18369 (eval "$ac_try") 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 wx_cv_gccversion=`cat conftestval`
18374 else
18375 echo "$as_me: program exited with status $ac_status" >&5
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18378
18379 ( exit $ac_status )
18380 wx_cv_gccversion="EMX2"
18381 fi
18382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18383 fi
18384
18385
18386
18387 fi
18388 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18389 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18390 if test "$wx_cv_gccversion" = "EMX2"; then
18391 LIBS="$LIBS -lstdcpp"
18392 LDFLAGS="$LDFLAGS -Zsysv-signals"
18393 else
18394 if test "$wx_cv_gccversion" = "EMX3"; then
18395 LIBS="$LIBS -lstdcxx -lgcc"
18396 LDFLAGS="$LDFLAGS -Zsysv-signals"
18397 else
18398 LIBS="$LIBS -lstdc++"
18399 fi
18400 fi
18401 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18402 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18403 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18404 wxUSE_OMF=yes
18405 enable_omf=yes
18406 fi
18407 ;;
18408 *)
18409
18410 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18411 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18412 if test "${ac_cv_string_strcasecmp+set}" = set; then
18413 echo $ECHO_N "(cached) $ECHO_C" >&6
18414 else
18415
18416 cat >conftest.$ac_ext <<_ACEOF
18417 /* confdefs.h. */
18418 _ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18422
18423 #include <string.h>
18424
18425 int
18426 main ()
18427 {
18428
18429 strcasecmp("foo", "bar");
18430
18431 ;
18432 return 0;
18433 }
18434 _ACEOF
18435 rm -f conftest.$ac_objext conftest$ac_exeext
18436 if { (ac_try="$ac_link"
18437 case "(($ac_try" in
18438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18439 *) ac_try_echo=$ac_try;;
18440 esac
18441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18442 (eval "$ac_link") 2>conftest.er1
18443 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && {
18449 test -z "$ac_c_werror_flag" ||
18450 test ! -s conftest.err
18451 } && test -s conftest$ac_exeext &&
18452 $as_test_x conftest$ac_exeext; then
18453 ac_cv_string_strcasecmp=yes
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18457
18458 ac_cv_string_strcasecmp=no
18459
18460 fi
18461
18462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18463 conftest$ac_exeext conftest.$ac_ext
18464
18465 fi
18466 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18467 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18468
18469 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18470 cat >>confdefs.h <<\_ACEOF
18471 #define HAVE_STRCASECMP_IN_STRING_H 1
18472 _ACEOF
18473
18474 else
18475 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18476 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18477 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 else
18480
18481 cat >conftest.$ac_ext <<_ACEOF
18482 /* confdefs.h. */
18483 _ACEOF
18484 cat confdefs.h >>conftest.$ac_ext
18485 cat >>conftest.$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18487
18488 #include <strings.h>
18489
18490 int
18491 main ()
18492 {
18493
18494 strcasecmp("foo", "bar");
18495
18496 ;
18497 return 0;
18498 }
18499 _ACEOF
18500 rm -f conftest.$ac_objext conftest$ac_exeext
18501 if { (ac_try="$ac_link"
18502 case "(($ac_try" in
18503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18504 *) ac_try_echo=$ac_try;;
18505 esac
18506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18507 (eval "$ac_link") 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } && {
18514 test -z "$ac_c_werror_flag" ||
18515 test ! -s conftest.err
18516 } && test -s conftest$ac_exeext &&
18517 $as_test_x conftest$ac_exeext; then
18518 ac_cv_strings_strcasecmp=yes
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 ac_cv_strings_strcasecmp=no
18524
18525 fi
18526
18527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18528 conftest$ac_exeext conftest.$ac_ext
18529
18530 fi
18531 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18532 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18533
18534 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18535 cat >>confdefs.h <<\_ACEOF
18536 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18537 _ACEOF
18538
18539 else
18540 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18541 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18542 { (exit 1); exit 1; }; }
18543 fi
18544 fi
18545
18546 ;;
18547 esac
18548
18549
18550 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18551 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18552 if test "${ac_cv_header_stdc+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <stdlib.h>
18562 #include <stdarg.h>
18563 #include <string.h>
18564 #include <float.h>
18565
18566 int
18567 main ()
18568 {
18569
18570 ;
18571 return 0;
18572 }
18573 _ACEOF
18574 rm -f conftest.$ac_objext
18575 if { (ac_try="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18579 esac
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18591 ac_cv_header_stdc=yes
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 ac_cv_header_stdc=no
18597 fi
18598
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600
18601 if test $ac_cv_header_stdc = yes; then
18602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18603 cat >conftest.$ac_ext <<_ACEOF
18604 /* confdefs.h. */
18605 _ACEOF
18606 cat confdefs.h >>conftest.$ac_ext
18607 cat >>conftest.$ac_ext <<_ACEOF
18608 /* end confdefs.h. */
18609 #include <string.h>
18610
18611 _ACEOF
18612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18613 $EGREP "memchr" >/dev/null 2>&1; then
18614 :
18615 else
18616 ac_cv_header_stdc=no
18617 fi
18618 rm -f conftest*
18619
18620 fi
18621
18622 if test $ac_cv_header_stdc = yes; then
18623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18624 cat >conftest.$ac_ext <<_ACEOF
18625 /* confdefs.h. */
18626 _ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 #include <stdlib.h>
18631
18632 _ACEOF
18633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18634 $EGREP "free" >/dev/null 2>&1; then
18635 :
18636 else
18637 ac_cv_header_stdc=no
18638 fi
18639 rm -f conftest*
18640
18641 fi
18642
18643 if test $ac_cv_header_stdc = yes; then
18644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18645 if test "$cross_compiling" = yes; then
18646 :
18647 else
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <ctype.h>
18655 #include <stdlib.h>
18656 #if ((' ' & 0x0FF) == 0x020)
18657 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18658 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18659 #else
18660 # define ISLOWER(c) \
18661 (('a' <= (c) && (c) <= 'i') \
18662 || ('j' <= (c) && (c) <= 'r') \
18663 || ('s' <= (c) && (c) <= 'z'))
18664 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18665 #endif
18666
18667 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18668 int
18669 main ()
18670 {
18671 int i;
18672 for (i = 0; i < 256; i++)
18673 if (XOR (islower (i), ISLOWER (i))
18674 || toupper (i) != TOUPPER (i))
18675 return 2;
18676 return 0;
18677 }
18678 _ACEOF
18679 rm -f conftest$ac_exeext
18680 if { (ac_try="$ac_link"
18681 case "(($ac_try" in
18682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18683 *) ac_try_echo=$ac_try;;
18684 esac
18685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18686 (eval "$ac_link") 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18690 { (case "(($ac_try" in
18691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18693 esac
18694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_try") 2>&5
18696 ac_status=$?
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; }; then
18699 :
18700 else
18701 echo "$as_me: program exited with status $ac_status" >&5
18702 echo "$as_me: failed program was:" >&5
18703 sed 's/^/| /' conftest.$ac_ext >&5
18704
18705 ( exit $ac_status )
18706 ac_cv_header_stdc=no
18707 fi
18708 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18709 fi
18710
18711
18712 fi
18713 fi
18714 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18715 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18716 if test $ac_cv_header_stdc = yes; then
18717
18718 cat >>confdefs.h <<\_ACEOF
18719 #define STDC_HEADERS 1
18720 _ACEOF
18721
18722 fi
18723
18724 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18735 inttypes.h stdint.h unistd.h
18736 do
18737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18740 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18741 echo $ECHO_N "(cached) $ECHO_C" >&6
18742 else
18743 cat >conftest.$ac_ext <<_ACEOF
18744 /* confdefs.h. */
18745 _ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18749 $ac_includes_default
18750
18751 #include <$ac_header>
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18757 *) ac_try_echo=$ac_try;;
18758 esac
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.$ac_objext; then
18770 eval "$as_ac_Header=yes"
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18774
18775 eval "$as_ac_Header=no"
18776 fi
18777
18778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 fi
18780 ac_res=`eval echo '${'$as_ac_Header'}'`
18781 { echo "$as_me:$LINENO: result: $ac_res" >&5
18782 echo "${ECHO_T}$ac_res" >&6; }
18783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18784 cat >>confdefs.h <<_ACEOF
18785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18786 _ACEOF
18787
18788 fi
18789
18790 done
18791
18792
18793
18794
18795 for ac_header in langinfo.h wchar.h
18796 do
18797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18798 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 else
18803 cat >conftest.$ac_ext <<_ACEOF
18804 /* confdefs.h. */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 $ac_includes_default
18810
18811 #include <$ac_header>
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (ac_try="$ac_compile"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_compile") 2>conftest.er1
18821 ac_status=$?
18822 grep -v '^ *+' conftest.er1 >conftest.err
18823 rm -f conftest.er1
18824 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_c_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest.$ac_objext; then
18830 eval "$as_ac_Header=yes"
18831 else
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.$ac_ext >&5
18834
18835 eval "$as_ac_Header=no"
18836 fi
18837
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839 fi
18840 ac_res=`eval echo '${'$as_ac_Header'}'`
18841 { echo "$as_me:$LINENO: result: $ac_res" >&5
18842 echo "${ECHO_T}$ac_res" >&6; }
18843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18844 cat >>confdefs.h <<_ACEOF
18845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18846 _ACEOF
18847
18848 fi
18849
18850 done
18851
18852
18853 if test "$ac_cv_header_wchar_h" != "yes"; then
18854
18855 for ac_header in wcstr.h
18856 do
18857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18858 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 else
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870
18871 #include <$ac_header>
18872 _ACEOF
18873 rm -f conftest.$ac_objext
18874 if { (ac_try="$ac_compile"
18875 case "(($ac_try" in
18876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18877 *) ac_try_echo=$ac_try;;
18878 esac
18879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18880 (eval "$ac_compile") 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } && {
18887 test -z "$ac_c_werror_flag" ||
18888 test ! -s conftest.err
18889 } && test -s conftest.$ac_objext; then
18890 eval "$as_ac_Header=yes"
18891 else
18892 echo "$as_me: failed program was:" >&5
18893 sed 's/^/| /' conftest.$ac_ext >&5
18894
18895 eval "$as_ac_Header=no"
18896 fi
18897
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18899 fi
18900 ac_res=`eval echo '${'$as_ac_Header'}'`
18901 { echo "$as_me:$LINENO: result: $ac_res" >&5
18902 echo "${ECHO_T}$ac_res" >&6; }
18903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18904 cat >>confdefs.h <<_ACEOF
18905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18906 _ACEOF
18907
18908 fi
18909
18910 done
18911
18912 fi
18913
18914 case "${host}" in
18915 *-pc-os2_emx | *-pc-os2-emx )
18916 if test $ac_cv_header_langinfo_h = "yes" \
18917 -a \( "$wx_cv_gccversion" = "EMX2" \
18918 -o "$wx_cv_gccversion" = "EMX3" \
18919 -o "$wx_cv_gccversion" = "Innotek5" \); then
18920 LIBS="$LIBS -lintl"
18921 fi
18922 ;;
18923 esac
18924
18925 if test "$USE_UNIX" = 1 ; then
18926
18927 for ac_header in sys/select.h
18928 do
18929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 else
18935 cat >conftest.$ac_ext <<_ACEOF
18936 /* confdefs.h. */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18942
18943 #include <$ac_header>
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (ac_try="$ac_compile"
18947 case "(($ac_try" in
18948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18949 *) ac_try_echo=$ac_try;;
18950 esac
18951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18952 (eval "$ac_compile") 2>conftest.er1
18953 ac_status=$?
18954 grep -v '^ *+' conftest.er1 >conftest.err
18955 rm -f conftest.er1
18956 cat conftest.err >&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); } && {
18959 test -z "$ac_c_werror_flag" ||
18960 test ! -s conftest.err
18961 } && test -s conftest.$ac_objext; then
18962 eval "$as_ac_Header=yes"
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18966
18967 eval "$as_ac_Header=no"
18968 fi
18969
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971 fi
18972 ac_res=`eval echo '${'$as_ac_Header'}'`
18973 { echo "$as_me:$LINENO: result: $ac_res" >&5
18974 echo "${ECHO_T}$ac_res" >&6; }
18975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18976 cat >>confdefs.h <<_ACEOF
18977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18978 _ACEOF
18979
18980 fi
18981
18982 done
18983
18984 fi
18985
18986
18987 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18988 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18989 if test "${ac_cv_c_const+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 else
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998
18999 int
19000 main ()
19001 {
19002 /* FIXME: Include the comments suggested by Paul. */
19003 #ifndef __cplusplus
19004 /* Ultrix mips cc rejects this. */
19005 typedef int charset[2];
19006 const charset cs;
19007 /* SunOS 4.1.1 cc rejects this. */
19008 char const *const *pcpcc;
19009 char **ppc;
19010 /* NEC SVR4.0.2 mips cc rejects this. */
19011 struct point {int x, y;};
19012 static struct point const zero = {0,0};
19013 /* AIX XL C 1.02.0.0 rejects this.
19014 It does not let you subtract one const X* pointer from another in
19015 an arm of an if-expression whose if-part is not a constant
19016 expression */
19017 const char *g = "string";
19018 pcpcc = &g + (g ? g-g : 0);
19019 /* HPUX 7.0 cc rejects these. */
19020 ++pcpcc;
19021 ppc = (char**) pcpcc;
19022 pcpcc = (char const *const *) ppc;
19023 { /* SCO 3.2v4 cc rejects this. */
19024 char *t;
19025 char const *s = 0 ? (char *) 0 : (char const *) 0;
19026
19027 *t++ = 0;
19028 if (s) return 0;
19029 }
19030 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19031 int x[] = {25, 17};
19032 const int *foo = &x[0];
19033 ++foo;
19034 }
19035 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19036 typedef const int *iptr;
19037 iptr p = 0;
19038 ++p;
19039 }
19040 { /* AIX XL C 1.02.0.0 rejects this saying
19041 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19042 struct s { int j; const int *ap[3]; };
19043 struct s *b; b->j = 5;
19044 }
19045 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19046 const int foo = 10;
19047 if (!foo) return 0;
19048 }
19049 return !cs[0] && !zero.x;
19050 #endif
19051
19052 ;
19053 return 0;
19054 }
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_cv_c_const=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078 ac_cv_c_const=no
19079 fi
19080
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082 fi
19083 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19084 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19085 if test $ac_cv_c_const = no; then
19086
19087 cat >>confdefs.h <<\_ACEOF
19088 #define const
19089 _ACEOF
19090
19091 fi
19092
19093 { echo "$as_me:$LINENO: checking for inline" >&5
19094 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19095 if test "${ac_cv_c_inline+set}" = set; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 else
19098 ac_cv_c_inline=no
19099 for ac_kw in inline __inline__ __inline; do
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 #ifndef __cplusplus
19107 typedef int foo_t;
19108 static $ac_kw foo_t static_foo () {return 0; }
19109 $ac_kw foo_t foo () {return 0; }
19110 #endif
19111
19112 _ACEOF
19113 rm -f conftest.$ac_objext
19114 if { (ac_try="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19118 esac
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_c_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_c_inline=$ac_kw
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19134
19135
19136 fi
19137
19138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19139 test "$ac_cv_c_inline" != no && break
19140 done
19141
19142 fi
19143 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19144 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19145
19146
19147 case $ac_cv_c_inline in
19148 inline | yes) ;;
19149 *)
19150 case $ac_cv_c_inline in
19151 no) ac_val=;;
19152 *) ac_val=$ac_cv_c_inline;;
19153 esac
19154 cat >>confdefs.h <<_ACEOF
19155 #ifndef __cplusplus
19156 #define inline $ac_val
19157 #endif
19158 _ACEOF
19159 ;;
19160 esac
19161
19162
19163 { echo "$as_me:$LINENO: checking for short" >&5
19164 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19165 if test "${ac_cv_type_short+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19167 else
19168 cat >conftest.$ac_ext <<_ACEOF
19169 /* confdefs.h. */
19170 _ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19174 $ac_includes_default
19175 typedef short ac__type_new_;
19176 int
19177 main ()
19178 {
19179 if ((ac__type_new_ *) 0)
19180 return 0;
19181 if (sizeof (ac__type_new_))
19182 return 0;
19183 ;
19184 return 0;
19185 }
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19192 esac
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_compile") 2>conftest.er1
19195 ac_status=$?
19196 grep -v '^ *+' conftest.er1 >conftest.err
19197 rm -f conftest.er1
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } && {
19201 test -z "$ac_c_werror_flag" ||
19202 test ! -s conftest.err
19203 } && test -s conftest.$ac_objext; then
19204 ac_cv_type_short=yes
19205 else
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19208
19209 ac_cv_type_short=no
19210 fi
19211
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 fi
19214 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19215 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19216
19217 # The cast to long int works around a bug in the HP C Compiler
19218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19220 # This bug is HP SR number 8606223364.
19221 { echo "$as_me:$LINENO: checking size of short" >&5
19222 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19223 if test "${ac_cv_sizeof_short+set}" = set; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 else
19226 if test "$cross_compiling" = yes; then
19227 # Depending upon the size, compute the lo and hi bounds.
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19235 typedef short ac__type_sizeof_;
19236 int
19237 main ()
19238 {
19239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19240 test_array [0] = 0
19241
19242 ;
19243 return 0;
19244 }
19245 _ACEOF
19246 rm -f conftest.$ac_objext
19247 if { (ac_try="$ac_compile"
19248 case "(($ac_try" in
19249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19250 *) ac_try_echo=$ac_try;;
19251 esac
19252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19253 (eval "$ac_compile") 2>conftest.er1
19254 ac_status=$?
19255 grep -v '^ *+' conftest.er1 >conftest.err
19256 rm -f conftest.er1
19257 cat conftest.err >&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); } && {
19260 test -z "$ac_c_werror_flag" ||
19261 test ! -s conftest.err
19262 } && test -s conftest.$ac_objext; then
19263 ac_lo=0 ac_mid=0
19264 while :; do
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef short ac__type_sizeof_;
19273 int
19274 main ()
19275 {
19276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19277 test_array [0] = 0
19278
19279 ;
19280 return 0;
19281 }
19282 _ACEOF
19283 rm -f conftest.$ac_objext
19284 if { (ac_try="$ac_compile"
19285 case "(($ac_try" in
19286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19288 esac
19289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19290 (eval "$ac_compile") 2>conftest.er1
19291 ac_status=$?
19292 grep -v '^ *+' conftest.er1 >conftest.err
19293 rm -f conftest.er1
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && {
19297 test -z "$ac_c_werror_flag" ||
19298 test ! -s conftest.err
19299 } && test -s conftest.$ac_objext; then
19300 ac_hi=$ac_mid; break
19301 else
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19304
19305 ac_lo=`expr $ac_mid + 1`
19306 if test $ac_lo -le $ac_mid; then
19307 ac_lo= ac_hi=
19308 break
19309 fi
19310 ac_mid=`expr 2 '*' $ac_mid + 1`
19311 fi
19312
19313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 done
19315 else
19316 echo "$as_me: failed program was:" >&5
19317 sed 's/^/| /' conftest.$ac_ext >&5
19318
19319 cat >conftest.$ac_ext <<_ACEOF
19320 /* confdefs.h. */
19321 _ACEOF
19322 cat confdefs.h >>conftest.$ac_ext
19323 cat >>conftest.$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 $ac_includes_default
19326 typedef short ac__type_sizeof_;
19327 int
19328 main ()
19329 {
19330 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19331 test_array [0] = 0
19332
19333 ;
19334 return 0;
19335 }
19336 _ACEOF
19337 rm -f conftest.$ac_objext
19338 if { (ac_try="$ac_compile"
19339 case "(($ac_try" in
19340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19341 *) ac_try_echo=$ac_try;;
19342 esac
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344 (eval "$ac_compile") 2>conftest.er1
19345 ac_status=$?
19346 grep -v '^ *+' conftest.er1 >conftest.err
19347 rm -f conftest.er1
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } && {
19351 test -z "$ac_c_werror_flag" ||
19352 test ! -s conftest.err
19353 } && test -s conftest.$ac_objext; then
19354 ac_hi=-1 ac_mid=-1
19355 while :; do
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19363 typedef short ac__type_sizeof_;
19364 int
19365 main ()
19366 {
19367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19368 test_array [0] = 0
19369
19370 ;
19371 return 0;
19372 }
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19379 esac
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19382 ac_status=$?
19383 grep -v '^ *+' conftest.er1 >conftest.err
19384 rm -f conftest.er1
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_c_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 ac_lo=$ac_mid; break
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19395
19396 ac_hi=`expr '(' $ac_mid ')' - 1`
19397 if test $ac_mid -le $ac_hi; then
19398 ac_lo= ac_hi=
19399 break
19400 fi
19401 ac_mid=`expr 2 '*' $ac_mid`
19402 fi
19403
19404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19405 done
19406 else
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19409
19410 ac_lo= ac_hi=
19411 fi
19412
19413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19414 fi
19415
19416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19417 # Binary search between lo and hi bounds.
19418 while test "x$ac_lo" != "x$ac_hi"; do
19419 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 $ac_includes_default
19427 typedef short ac__type_sizeof_;
19428 int
19429 main ()
19430 {
19431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19432 test_array [0] = 0
19433
19434 ;
19435 return 0;
19436 }
19437 _ACEOF
19438 rm -f conftest.$ac_objext
19439 if { (ac_try="$ac_compile"
19440 case "(($ac_try" in
19441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19442 *) ac_try_echo=$ac_try;;
19443 esac
19444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19445 (eval "$ac_compile") 2>conftest.er1
19446 ac_status=$?
19447 grep -v '^ *+' conftest.er1 >conftest.err
19448 rm -f conftest.er1
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } && {
19452 test -z "$ac_c_werror_flag" ||
19453 test ! -s conftest.err
19454 } && test -s conftest.$ac_objext; then
19455 ac_hi=$ac_mid
19456 else
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19459
19460 ac_lo=`expr '(' $ac_mid ')' + 1`
19461 fi
19462
19463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464 done
19465 case $ac_lo in
19466 ?*) ac_cv_sizeof_short=$ac_lo;;
19467 '') if test "$ac_cv_type_short" = yes; then
19468 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19469 See \`config.log' for more details." >&5
19470 echo "$as_me: error: cannot compute sizeof (short)
19471 See \`config.log' for more details." >&2;}
19472 { (exit 77); exit 77; }; }
19473 else
19474 ac_cv_sizeof_short=0
19475 fi ;;
19476 esac
19477 else
19478 cat >conftest.$ac_ext <<_ACEOF
19479 /* confdefs.h. */
19480 _ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 $ac_includes_default
19485 typedef short ac__type_sizeof_;
19486 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19487 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19488 #include <stdio.h>
19489 #include <stdlib.h>
19490 int
19491 main ()
19492 {
19493
19494 FILE *f = fopen ("conftest.val", "w");
19495 if (! f)
19496 return 1;
19497 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19498 {
19499 long int i = longval ();
19500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19501 return 1;
19502 fprintf (f, "%ld\n", i);
19503 }
19504 else
19505 {
19506 unsigned long int i = ulongval ();
19507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19508 return 1;
19509 fprintf (f, "%lu\n", i);
19510 }
19511 return ferror (f) || fclose (f) != 0;
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest$ac_exeext
19518 if { (ac_try="$ac_link"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19522 esac
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_link") 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19528 { (case "(($ac_try" in
19529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19530 *) ac_try_echo=$ac_try;;
19531 esac
19532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19533 (eval "$ac_try") 2>&5
19534 ac_status=$?
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19537 ac_cv_sizeof_short=`cat conftest.val`
19538 else
19539 echo "$as_me: program exited with status $ac_status" >&5
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19542
19543 ( exit $ac_status )
19544 if test "$ac_cv_type_short" = yes; then
19545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19546 See \`config.log' for more details." >&5
19547 echo "$as_me: error: cannot compute sizeof (short)
19548 See \`config.log' for more details." >&2;}
19549 { (exit 77); exit 77; }; }
19550 else
19551 ac_cv_sizeof_short=0
19552 fi
19553 fi
19554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19555 fi
19556 rm -f conftest.val
19557 fi
19558 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19559 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19560
19561
19562
19563 cat >>confdefs.h <<_ACEOF
19564 #define SIZEOF_SHORT $ac_cv_sizeof_short
19565 _ACEOF
19566
19567
19568 { echo "$as_me:$LINENO: checking for void *" >&5
19569 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19570 if test "${ac_cv_type_void_p+set}" = set; then
19571 echo $ECHO_N "(cached) $ECHO_C" >&6
19572 else
19573 cat >conftest.$ac_ext <<_ACEOF
19574 /* confdefs.h. */
19575 _ACEOF
19576 cat confdefs.h >>conftest.$ac_ext
19577 cat >>conftest.$ac_ext <<_ACEOF
19578 /* end confdefs.h. */
19579 $ac_includes_default
19580 typedef void * ac__type_new_;
19581 int
19582 main ()
19583 {
19584 if ((ac__type_new_ *) 0)
19585 return 0;
19586 if (sizeof (ac__type_new_))
19587 return 0;
19588 ;
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19597 esac
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 ac_cv_type_void_p=yes
19610 else
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19613
19614 ac_cv_type_void_p=no
19615 fi
19616
19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 fi
19619 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19620 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19621
19622 # The cast to long int works around a bug in the HP C Compiler
19623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19625 # This bug is HP SR number 8606223364.
19626 { echo "$as_me:$LINENO: checking size of void *" >&5
19627 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19628 if test "${ac_cv_sizeof_void_p+set}" = set; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19630 else
19631 if test "$cross_compiling" = yes; then
19632 # Depending upon the size, compute the lo and hi bounds.
19633 cat >conftest.$ac_ext <<_ACEOF
19634 /* confdefs.h. */
19635 _ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 $ac_includes_default
19640 typedef void * ac__type_sizeof_;
19641 int
19642 main ()
19643 {
19644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19645 test_array [0] = 0
19646
19647 ;
19648 return 0;
19649 }
19650 _ACEOF
19651 rm -f conftest.$ac_objext
19652 if { (ac_try="$ac_compile"
19653 case "(($ac_try" in
19654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19655 *) ac_try_echo=$ac_try;;
19656 esac
19657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19658 (eval "$ac_compile") 2>conftest.er1
19659 ac_status=$?
19660 grep -v '^ *+' conftest.er1 >conftest.err
19661 rm -f conftest.er1
19662 cat conftest.err >&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } && {
19665 test -z "$ac_c_werror_flag" ||
19666 test ! -s conftest.err
19667 } && test -s conftest.$ac_objext; then
19668 ac_lo=0 ac_mid=0
19669 while :; do
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef void * ac__type_sizeof_;
19678 int
19679 main ()
19680 {
19681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19682 test_array [0] = 0
19683
19684 ;
19685 return 0;
19686 }
19687 _ACEOF
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19693 esac
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_c_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.$ac_objext; then
19705 ac_hi=$ac_mid; break
19706 else
19707 echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.$ac_ext >&5
19709
19710 ac_lo=`expr $ac_mid + 1`
19711 if test $ac_lo -le $ac_mid; then
19712 ac_lo= ac_hi=
19713 break
19714 fi
19715 ac_mid=`expr 2 '*' $ac_mid + 1`
19716 fi
19717
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 done
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19723
19724 cat >conftest.$ac_ext <<_ACEOF
19725 /* confdefs.h. */
19726 _ACEOF
19727 cat confdefs.h >>conftest.$ac_ext
19728 cat >>conftest.$ac_ext <<_ACEOF
19729 /* end confdefs.h. */
19730 $ac_includes_default
19731 typedef void * ac__type_sizeof_;
19732 int
19733 main ()
19734 {
19735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19736 test_array [0] = 0
19737
19738 ;
19739 return 0;
19740 }
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (ac_try="$ac_compile"
19744 case "(($ac_try" in
19745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;;
19747 esac
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_compile") 2>conftest.er1
19750 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err
19758 } && test -s conftest.$ac_objext; then
19759 ac_hi=-1 ac_mid=-1
19760 while :; do
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 $ac_includes_default
19768 typedef void * ac__type_sizeof_;
19769 int
19770 main ()
19771 {
19772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19773 test_array [0] = 0
19774
19775 ;
19776 return 0;
19777 }
19778 _ACEOF
19779 rm -f conftest.$ac_objext
19780 if { (ac_try="$ac_compile"
19781 case "(($ac_try" in
19782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19783 *) ac_try_echo=$ac_try;;
19784 esac
19785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19786 (eval "$ac_compile") 2>conftest.er1
19787 ac_status=$?
19788 grep -v '^ *+' conftest.er1 >conftest.err
19789 rm -f conftest.er1
19790 cat conftest.err >&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); } && {
19793 test -z "$ac_c_werror_flag" ||
19794 test ! -s conftest.err
19795 } && test -s conftest.$ac_objext; then
19796 ac_lo=$ac_mid; break
19797 else
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.$ac_ext >&5
19800
19801 ac_hi=`expr '(' $ac_mid ')' - 1`
19802 if test $ac_mid -le $ac_hi; then
19803 ac_lo= ac_hi=
19804 break
19805 fi
19806 ac_mid=`expr 2 '*' $ac_mid`
19807 fi
19808
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19810 done
19811 else
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.$ac_ext >&5
19814
19815 ac_lo= ac_hi=
19816 fi
19817
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 fi
19820
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 # Binary search between lo and hi bounds.
19823 while test "x$ac_lo" != "x$ac_hi"; do
19824 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 $ac_includes_default
19832 typedef void * ac__type_sizeof_;
19833 int
19834 main ()
19835 {
19836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19837 test_array [0] = 0
19838
19839 ;
19840 return 0;
19841 }
19842 _ACEOF
19843 rm -f conftest.$ac_objext
19844 if { (ac_try="$ac_compile"
19845 case "(($ac_try" in
19846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19847 *) ac_try_echo=$ac_try;;
19848 esac
19849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19850 (eval "$ac_compile") 2>conftest.er1
19851 ac_status=$?
19852 grep -v '^ *+' conftest.er1 >conftest.err
19853 rm -f conftest.er1
19854 cat conftest.err >&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } && {
19857 test -z "$ac_c_werror_flag" ||
19858 test ! -s conftest.err
19859 } && test -s conftest.$ac_objext; then
19860 ac_hi=$ac_mid
19861 else
19862 echo "$as_me: failed program was:" >&5
19863 sed 's/^/| /' conftest.$ac_ext >&5
19864
19865 ac_lo=`expr '(' $ac_mid ')' + 1`
19866 fi
19867
19868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19869 done
19870 case $ac_lo in
19871 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19872 '') if test "$ac_cv_type_void_p" = yes; then
19873 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19874 See \`config.log' for more details." >&5
19875 echo "$as_me: error: cannot compute sizeof (void *)
19876 See \`config.log' for more details." >&2;}
19877 { (exit 77); exit 77; }; }
19878 else
19879 ac_cv_sizeof_void_p=0
19880 fi ;;
19881 esac
19882 else
19883 cat >conftest.$ac_ext <<_ACEOF
19884 /* confdefs.h. */
19885 _ACEOF
19886 cat confdefs.h >>conftest.$ac_ext
19887 cat >>conftest.$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19889 $ac_includes_default
19890 typedef void * ac__type_sizeof_;
19891 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19892 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19893 #include <stdio.h>
19894 #include <stdlib.h>
19895 int
19896 main ()
19897 {
19898
19899 FILE *f = fopen ("conftest.val", "w");
19900 if (! f)
19901 return 1;
19902 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19903 {
19904 long int i = longval ();
19905 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19906 return 1;
19907 fprintf (f, "%ld\n", i);
19908 }
19909 else
19910 {
19911 unsigned long int i = ulongval ();
19912 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19913 return 1;
19914 fprintf (f, "%lu\n", i);
19915 }
19916 return ferror (f) || fclose (f) != 0;
19917
19918 ;
19919 return 0;
19920 }
19921 _ACEOF
19922 rm -f conftest$ac_exeext
19923 if { (ac_try="$ac_link"
19924 case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19927 esac
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_link") 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19933 { (case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19936 esac
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_try") 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_cv_sizeof_void_p=`cat conftest.val`
19943 else
19944 echo "$as_me: program exited with status $ac_status" >&5
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19947
19948 ( exit $ac_status )
19949 if test "$ac_cv_type_void_p" = yes; then
19950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19951 See \`config.log' for more details." >&5
19952 echo "$as_me: error: cannot compute sizeof (void *)
19953 See \`config.log' for more details." >&2;}
19954 { (exit 77); exit 77; }; }
19955 else
19956 ac_cv_sizeof_void_p=0
19957 fi
19958 fi
19959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19960 fi
19961 rm -f conftest.val
19962 fi
19963 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19964 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19965
19966
19967
19968 cat >>confdefs.h <<_ACEOF
19969 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19970 _ACEOF
19971
19972
19973 { echo "$as_me:$LINENO: checking for int" >&5
19974 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19975 if test "${ac_cv_type_int+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 else
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 $ac_includes_default
19985 typedef int ac__type_new_;
19986 int
19987 main ()
19988 {
19989 if ((ac__type_new_ *) 0)
19990 return 0;
19991 if (sizeof (ac__type_new_))
19992 return 0;
19993 ;
19994 return 0;
19995 }
19996 _ACEOF
19997 rm -f conftest.$ac_objext
19998 if { (ac_try="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20002 esac
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20005 ac_status=$?
20006 grep -v '^ *+' conftest.er1 >conftest.err
20007 rm -f conftest.er1
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && {
20011 test -z "$ac_c_werror_flag" ||
20012 test ! -s conftest.err
20013 } && test -s conftest.$ac_objext; then
20014 ac_cv_type_int=yes
20015 else
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20018
20019 ac_cv_type_int=no
20020 fi
20021
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 fi
20024 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20025 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20026
20027 # The cast to long int works around a bug in the HP C Compiler
20028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20030 # This bug is HP SR number 8606223364.
20031 { echo "$as_me:$LINENO: checking size of int" >&5
20032 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20033 if test "${ac_cv_sizeof_int+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036 if test "$cross_compiling" = yes; then
20037 # Depending upon the size, compute the lo and hi bounds.
20038 cat >conftest.$ac_ext <<_ACEOF
20039 /* confdefs.h. */
20040 _ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044 $ac_includes_default
20045 typedef int ac__type_sizeof_;
20046 int
20047 main ()
20048 {
20049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20050 test_array [0] = 0
20051
20052 ;
20053 return 0;
20054 }
20055 _ACEOF
20056 rm -f conftest.$ac_objext
20057 if { (ac_try="$ac_compile"
20058 case "(($ac_try" in
20059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20060 *) ac_try_echo=$ac_try;;
20061 esac
20062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063 (eval "$ac_compile") 2>conftest.er1
20064 ac_status=$?
20065 grep -v '^ *+' conftest.er1 >conftest.err
20066 rm -f conftest.er1
20067 cat conftest.err >&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } && {
20070 test -z "$ac_c_werror_flag" ||
20071 test ! -s conftest.err
20072 } && test -s conftest.$ac_objext; then
20073 ac_lo=0 ac_mid=0
20074 while :; do
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef int ac__type_sizeof_;
20083 int
20084 main ()
20085 {
20086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20087 test_array [0] = 0
20088
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (ac_try="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20098 esac
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20101 ac_status=$?
20102 grep -v '^ *+' conftest.er1 >conftest.err
20103 rm -f conftest.er1
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20110 ac_hi=$ac_mid; break
20111 else
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20114
20115 ac_lo=`expr $ac_mid + 1`
20116 if test $ac_lo -le $ac_mid; then
20117 ac_lo= ac_hi=
20118 break
20119 fi
20120 ac_mid=`expr 2 '*' $ac_mid + 1`
20121 fi
20122
20123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20124 done
20125 else
20126 echo "$as_me: failed program was:" >&5
20127 sed 's/^/| /' conftest.$ac_ext >&5
20128
20129 cat >conftest.$ac_ext <<_ACEOF
20130 /* confdefs.h. */
20131 _ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 $ac_includes_default
20136 typedef int ac__type_sizeof_;
20137 int
20138 main ()
20139 {
20140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20141 test_array [0] = 0
20142
20143 ;
20144 return 0;
20145 }
20146 _ACEOF
20147 rm -f conftest.$ac_objext
20148 if { (ac_try="$ac_compile"
20149 case "(($ac_try" in
20150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20151 *) ac_try_echo=$ac_try;;
20152 esac
20153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20154 (eval "$ac_compile") 2>conftest.er1
20155 ac_status=$?
20156 grep -v '^ *+' conftest.er1 >conftest.err
20157 rm -f conftest.er1
20158 cat conftest.err >&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); } && {
20161 test -z "$ac_c_werror_flag" ||
20162 test ! -s conftest.err
20163 } && test -s conftest.$ac_objext; then
20164 ac_hi=-1 ac_mid=-1
20165 while :; do
20166 cat >conftest.$ac_ext <<_ACEOF
20167 /* confdefs.h. */
20168 _ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 $ac_includes_default
20173 typedef int ac__type_sizeof_;
20174 int
20175 main ()
20176 {
20177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20178 test_array [0] = 0
20179
20180 ;
20181 return 0;
20182 }
20183 _ACEOF
20184 rm -f conftest.$ac_objext
20185 if { (ac_try="$ac_compile"
20186 case "(($ac_try" in
20187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20188 *) ac_try_echo=$ac_try;;
20189 esac
20190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20191 (eval "$ac_compile") 2>conftest.er1
20192 ac_status=$?
20193 grep -v '^ *+' conftest.er1 >conftest.err
20194 rm -f conftest.er1
20195 cat conftest.err >&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } && {
20198 test -z "$ac_c_werror_flag" ||
20199 test ! -s conftest.err
20200 } && test -s conftest.$ac_objext; then
20201 ac_lo=$ac_mid; break
20202 else
20203 echo "$as_me: failed program was:" >&5
20204 sed 's/^/| /' conftest.$ac_ext >&5
20205
20206 ac_hi=`expr '(' $ac_mid ')' - 1`
20207 if test $ac_mid -le $ac_hi; then
20208 ac_lo= ac_hi=
20209 break
20210 fi
20211 ac_mid=`expr 2 '*' $ac_mid`
20212 fi
20213
20214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20215 done
20216 else
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20219
20220 ac_lo= ac_hi=
20221 fi
20222
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20224 fi
20225
20226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 # Binary search between lo and hi bounds.
20228 while test "x$ac_lo" != "x$ac_hi"; do
20229 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20230 cat >conftest.$ac_ext <<_ACEOF
20231 /* confdefs.h. */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 $ac_includes_default
20237 typedef int ac__type_sizeof_;
20238 int
20239 main ()
20240 {
20241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20242 test_array [0] = 0
20243
20244 ;
20245 return 0;
20246 }
20247 _ACEOF
20248 rm -f conftest.$ac_objext
20249 if { (ac_try="$ac_compile"
20250 case "(($ac_try" in
20251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20252 *) ac_try_echo=$ac_try;;
20253 esac
20254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20255 (eval "$ac_compile") 2>conftest.er1
20256 ac_status=$?
20257 grep -v '^ *+' conftest.er1 >conftest.err
20258 rm -f conftest.er1
20259 cat conftest.err >&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); } && {
20262 test -z "$ac_c_werror_flag" ||
20263 test ! -s conftest.err
20264 } && test -s conftest.$ac_objext; then
20265 ac_hi=$ac_mid
20266 else
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20269
20270 ac_lo=`expr '(' $ac_mid ')' + 1`
20271 fi
20272
20273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20274 done
20275 case $ac_lo in
20276 ?*) ac_cv_sizeof_int=$ac_lo;;
20277 '') if test "$ac_cv_type_int" = yes; then
20278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20279 See \`config.log' for more details." >&5
20280 echo "$as_me: error: cannot compute sizeof (int)
20281 See \`config.log' for more details." >&2;}
20282 { (exit 77); exit 77; }; }
20283 else
20284 ac_cv_sizeof_int=0
20285 fi ;;
20286 esac
20287 else
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 $ac_includes_default
20295 typedef int ac__type_sizeof_;
20296 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20297 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20298 #include <stdio.h>
20299 #include <stdlib.h>
20300 int
20301 main ()
20302 {
20303
20304 FILE *f = fopen ("conftest.val", "w");
20305 if (! f)
20306 return 1;
20307 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20308 {
20309 long int i = longval ();
20310 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20311 return 1;
20312 fprintf (f, "%ld\n", i);
20313 }
20314 else
20315 {
20316 unsigned long int i = ulongval ();
20317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20318 return 1;
20319 fprintf (f, "%lu\n", i);
20320 }
20321 return ferror (f) || fclose (f) != 0;
20322
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 rm -f conftest$ac_exeext
20328 if { (ac_try="$ac_link"
20329 case "(($ac_try" in
20330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20331 *) ac_try_echo=$ac_try;;
20332 esac
20333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20334 (eval "$ac_link") 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20338 { (case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20341 esac
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_try") 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_cv_sizeof_int=`cat conftest.val`
20348 else
20349 echo "$as_me: program exited with status $ac_status" >&5
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20352
20353 ( exit $ac_status )
20354 if test "$ac_cv_type_int" = yes; then
20355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20356 See \`config.log' for more details." >&5
20357 echo "$as_me: error: cannot compute sizeof (int)
20358 See \`config.log' for more details." >&2;}
20359 { (exit 77); exit 77; }; }
20360 else
20361 ac_cv_sizeof_int=0
20362 fi
20363 fi
20364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20365 fi
20366 rm -f conftest.val
20367 fi
20368 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20369 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20370
20371
20372
20373 cat >>confdefs.h <<_ACEOF
20374 #define SIZEOF_INT $ac_cv_sizeof_int
20375 _ACEOF
20376
20377
20378 { echo "$as_me:$LINENO: checking for long" >&5
20379 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20380 if test "${ac_cv_type_long+set}" = set; then
20381 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 else
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20390 typedef long ac__type_new_;
20391 int
20392 main ()
20393 {
20394 if ((ac__type_new_ *) 0)
20395 return 0;
20396 if (sizeof (ac__type_new_))
20397 return 0;
20398 ;
20399 return 0;
20400 }
20401 _ACEOF
20402 rm -f conftest.$ac_objext
20403 if { (ac_try="$ac_compile"
20404 case "(($ac_try" in
20405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20406 *) ac_try_echo=$ac_try;;
20407 esac
20408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20409 (eval "$ac_compile") 2>conftest.er1
20410 ac_status=$?
20411 grep -v '^ *+' conftest.er1 >conftest.err
20412 rm -f conftest.er1
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); } && {
20416 test -z "$ac_c_werror_flag" ||
20417 test ! -s conftest.err
20418 } && test -s conftest.$ac_objext; then
20419 ac_cv_type_long=yes
20420 else
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20423
20424 ac_cv_type_long=no
20425 fi
20426
20427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20428 fi
20429 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20430 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20431
20432 # The cast to long int works around a bug in the HP C Compiler
20433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20435 # This bug is HP SR number 8606223364.
20436 { echo "$as_me:$LINENO: checking size of long" >&5
20437 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20438 if test "${ac_cv_sizeof_long+set}" = set; then
20439 echo $ECHO_N "(cached) $ECHO_C" >&6
20440 else
20441 if test "$cross_compiling" = yes; then
20442 # Depending upon the size, compute the lo and hi bounds.
20443 cat >conftest.$ac_ext <<_ACEOF
20444 /* confdefs.h. */
20445 _ACEOF
20446 cat confdefs.h >>conftest.$ac_ext
20447 cat >>conftest.$ac_ext <<_ACEOF
20448 /* end confdefs.h. */
20449 $ac_includes_default
20450 typedef long ac__type_sizeof_;
20451 int
20452 main ()
20453 {
20454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20455 test_array [0] = 0
20456
20457 ;
20458 return 0;
20459 }
20460 _ACEOF
20461 rm -f conftest.$ac_objext
20462 if { (ac_try="$ac_compile"
20463 case "(($ac_try" in
20464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20465 *) ac_try_echo=$ac_try;;
20466 esac
20467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20468 (eval "$ac_compile") 2>conftest.er1
20469 ac_status=$?
20470 grep -v '^ *+' conftest.er1 >conftest.err
20471 rm -f conftest.er1
20472 cat conftest.err >&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); } && {
20475 test -z "$ac_c_werror_flag" ||
20476 test ! -s conftest.err
20477 } && test -s conftest.$ac_objext; then
20478 ac_lo=0 ac_mid=0
20479 while :; do
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef long ac__type_sizeof_;
20488 int
20489 main ()
20490 {
20491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20492 test_array [0] = 0
20493
20494 ;
20495 return 0;
20496 }
20497 _ACEOF
20498 rm -f conftest.$ac_objext
20499 if { (ac_try="$ac_compile"
20500 case "(($ac_try" in
20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20503 esac
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_compile") 2>conftest.er1
20506 ac_status=$?
20507 grep -v '^ *+' conftest.er1 >conftest.err
20508 rm -f conftest.er1
20509 cat conftest.err >&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && {
20512 test -z "$ac_c_werror_flag" ||
20513 test ! -s conftest.err
20514 } && test -s conftest.$ac_objext; then
20515 ac_hi=$ac_mid; break
20516 else
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.$ac_ext >&5
20519
20520 ac_lo=`expr $ac_mid + 1`
20521 if test $ac_lo -le $ac_mid; then
20522 ac_lo= ac_hi=
20523 break
20524 fi
20525 ac_mid=`expr 2 '*' $ac_mid + 1`
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529 done
20530 else
20531 echo "$as_me: failed program was:" >&5
20532 sed 's/^/| /' conftest.$ac_ext >&5
20533
20534 cat >conftest.$ac_ext <<_ACEOF
20535 /* confdefs.h. */
20536 _ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20541 typedef long ac__type_sizeof_;
20542 int
20543 main ()
20544 {
20545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20546 test_array [0] = 0
20547
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 rm -f conftest.$ac_objext
20553 if { (ac_try="$ac_compile"
20554 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20557 esac
20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_compile") 2>conftest.er1
20560 ac_status=$?
20561 grep -v '^ *+' conftest.er1 >conftest.err
20562 rm -f conftest.er1
20563 cat conftest.err >&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); } && {
20566 test -z "$ac_c_werror_flag" ||
20567 test ! -s conftest.err
20568 } && test -s conftest.$ac_objext; then
20569 ac_hi=-1 ac_mid=-1
20570 while :; do
20571 cat >conftest.$ac_ext <<_ACEOF
20572 /* confdefs.h. */
20573 _ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577 $ac_includes_default
20578 typedef long ac__type_sizeof_;
20579 int
20580 main ()
20581 {
20582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20583 test_array [0] = 0
20584
20585 ;
20586 return 0;
20587 }
20588 _ACEOF
20589 rm -f conftest.$ac_objext
20590 if { (ac_try="$ac_compile"
20591 case "(($ac_try" in
20592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20593 *) ac_try_echo=$ac_try;;
20594 esac
20595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20596 (eval "$ac_compile") 2>conftest.er1
20597 ac_status=$?
20598 grep -v '^ *+' conftest.er1 >conftest.err
20599 rm -f conftest.er1
20600 cat conftest.err >&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } && {
20603 test -z "$ac_c_werror_flag" ||
20604 test ! -s conftest.err
20605 } && test -s conftest.$ac_objext; then
20606 ac_lo=$ac_mid; break
20607 else
20608 echo "$as_me: failed program was:" >&5
20609 sed 's/^/| /' conftest.$ac_ext >&5
20610
20611 ac_hi=`expr '(' $ac_mid ')' - 1`
20612 if test $ac_mid -le $ac_hi; then
20613 ac_lo= ac_hi=
20614 break
20615 fi
20616 ac_mid=`expr 2 '*' $ac_mid`
20617 fi
20618
20619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20620 done
20621 else
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.$ac_ext >&5
20624
20625 ac_lo= ac_hi=
20626 fi
20627
20628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20629 fi
20630
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20632 # Binary search between lo and hi bounds.
20633 while test "x$ac_lo" != "x$ac_hi"; do
20634 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20635 cat >conftest.$ac_ext <<_ACEOF
20636 /* confdefs.h. */
20637 _ACEOF
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 $ac_includes_default
20642 typedef long ac__type_sizeof_;
20643 int
20644 main ()
20645 {
20646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20647 test_array [0] = 0
20648
20649 ;
20650 return 0;
20651 }
20652 _ACEOF
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658 esac
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20661 ac_status=$?
20662 grep -v '^ *+' conftest.er1 >conftest.err
20663 rm -f conftest.er1
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
20670 ac_hi=$ac_mid
20671 else
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20674
20675 ac_lo=`expr '(' $ac_mid ')' + 1`
20676 fi
20677
20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20679 done
20680 case $ac_lo in
20681 ?*) ac_cv_sizeof_long=$ac_lo;;
20682 '') if test "$ac_cv_type_long" = yes; then
20683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20684 See \`config.log' for more details." >&5
20685 echo "$as_me: error: cannot compute sizeof (long)
20686 See \`config.log' for more details." >&2;}
20687 { (exit 77); exit 77; }; }
20688 else
20689 ac_cv_sizeof_long=0
20690 fi ;;
20691 esac
20692 else
20693 cat >conftest.$ac_ext <<_ACEOF
20694 /* confdefs.h. */
20695 _ACEOF
20696 cat confdefs.h >>conftest.$ac_ext
20697 cat >>conftest.$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20699 $ac_includes_default
20700 typedef long ac__type_sizeof_;
20701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20703 #include <stdio.h>
20704 #include <stdlib.h>
20705 int
20706 main ()
20707 {
20708
20709 FILE *f = fopen ("conftest.val", "w");
20710 if (! f)
20711 return 1;
20712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20713 {
20714 long int i = longval ();
20715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20716 return 1;
20717 fprintf (f, "%ld\n", i);
20718 }
20719 else
20720 {
20721 unsigned long int i = ulongval ();
20722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20723 return 1;
20724 fprintf (f, "%lu\n", i);
20725 }
20726 return ferror (f) || fclose (f) != 0;
20727
20728 ;
20729 return 0;
20730 }
20731 _ACEOF
20732 rm -f conftest$ac_exeext
20733 if { (ac_try="$ac_link"
20734 case "(($ac_try" in
20735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20736 *) ac_try_echo=$ac_try;;
20737 esac
20738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20739 (eval "$ac_link") 2>&5
20740 ac_status=$?
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20743 { (case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20746 esac
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_try") 2>&5
20749 ac_status=$?
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); }; }; then
20752 ac_cv_sizeof_long=`cat conftest.val`
20753 else
20754 echo "$as_me: program exited with status $ac_status" >&5
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20757
20758 ( exit $ac_status )
20759 if test "$ac_cv_type_long" = yes; then
20760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20761 See \`config.log' for more details." >&5
20762 echo "$as_me: error: cannot compute sizeof (long)
20763 See \`config.log' for more details." >&2;}
20764 { (exit 77); exit 77; }; }
20765 else
20766 ac_cv_sizeof_long=0
20767 fi
20768 fi
20769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20770 fi
20771 rm -f conftest.val
20772 fi
20773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20774 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20775
20776
20777
20778 cat >>confdefs.h <<_ACEOF
20779 #define SIZEOF_LONG $ac_cv_sizeof_long
20780 _ACEOF
20781
20782
20783 { echo "$as_me:$LINENO: checking for size_t" >&5
20784 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20785 if test "${ac_cv_type_size_t+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 else
20788 cat >conftest.$ac_ext <<_ACEOF
20789 /* confdefs.h. */
20790 _ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 $ac_includes_default
20795 typedef size_t ac__type_new_;
20796 int
20797 main ()
20798 {
20799 if ((ac__type_new_ *) 0)
20800 return 0;
20801 if (sizeof (ac__type_new_))
20802 return 0;
20803 ;
20804 return 0;
20805 }
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (ac_try="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20812 esac
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20815 ac_status=$?
20816 grep -v '^ *+' conftest.er1 >conftest.err
20817 rm -f conftest.er1
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && {
20821 test -z "$ac_c_werror_flag" ||
20822 test ! -s conftest.err
20823 } && test -s conftest.$ac_objext; then
20824 ac_cv_type_size_t=yes
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 ac_cv_type_size_t=no
20830 fi
20831
20832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20833 fi
20834 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20835 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20836
20837 # The cast to long int works around a bug in the HP C Compiler
20838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20840 # This bug is HP SR number 8606223364.
20841 { echo "$as_me:$LINENO: checking size of size_t" >&5
20842 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20843 if test "${ac_cv_sizeof_size_t+set}" = set; then
20844 echo $ECHO_N "(cached) $ECHO_C" >&6
20845 else
20846 if test "$cross_compiling" = yes; then
20847 # Depending upon the size, compute the lo and hi bounds.
20848 cat >conftest.$ac_ext <<_ACEOF
20849 /* confdefs.h. */
20850 _ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20855 typedef size_t ac__type_sizeof_;
20856 int
20857 main ()
20858 {
20859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20860 test_array [0] = 0
20861
20862 ;
20863 return 0;
20864 }
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (ac_try="$ac_compile"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20871 esac
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_compile") 2>conftest.er1
20874 ac_status=$?
20875 grep -v '^ *+' conftest.er1 >conftest.err
20876 rm -f conftest.er1
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } && {
20880 test -z "$ac_c_werror_flag" ||
20881 test ! -s conftest.err
20882 } && test -s conftest.$ac_objext; then
20883 ac_lo=0 ac_mid=0
20884 while :; do
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 $ac_includes_default
20892 typedef size_t ac__type_sizeof_;
20893 int
20894 main ()
20895 {
20896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20897 test_array [0] = 0
20898
20899 ;
20900 return 0;
20901 }
20902 _ACEOF
20903 rm -f conftest.$ac_objext
20904 if { (ac_try="$ac_compile"
20905 case "(($ac_try" in
20906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20907 *) ac_try_echo=$ac_try;;
20908 esac
20909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20910 (eval "$ac_compile") 2>conftest.er1
20911 ac_status=$?
20912 grep -v '^ *+' conftest.er1 >conftest.err
20913 rm -f conftest.er1
20914 cat conftest.err >&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); } && {
20917 test -z "$ac_c_werror_flag" ||
20918 test ! -s conftest.err
20919 } && test -s conftest.$ac_objext; then
20920 ac_hi=$ac_mid; break
20921 else
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.$ac_ext >&5
20924
20925 ac_lo=`expr $ac_mid + 1`
20926 if test $ac_lo -le $ac_mid; then
20927 ac_lo= ac_hi=
20928 break
20929 fi
20930 ac_mid=`expr 2 '*' $ac_mid + 1`
20931 fi
20932
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 done
20935 else
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20938
20939 cat >conftest.$ac_ext <<_ACEOF
20940 /* confdefs.h. */
20941 _ACEOF
20942 cat confdefs.h >>conftest.$ac_ext
20943 cat >>conftest.$ac_ext <<_ACEOF
20944 /* end confdefs.h. */
20945 $ac_includes_default
20946 typedef size_t ac__type_sizeof_;
20947 int
20948 main ()
20949 {
20950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20951 test_array [0] = 0
20952
20953 ;
20954 return 0;
20955 }
20956 _ACEOF
20957 rm -f conftest.$ac_objext
20958 if { (ac_try="$ac_compile"
20959 case "(($ac_try" in
20960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20961 *) ac_try_echo=$ac_try;;
20962 esac
20963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20964 (eval "$ac_compile") 2>conftest.er1
20965 ac_status=$?
20966 grep -v '^ *+' conftest.er1 >conftest.err
20967 rm -f conftest.er1
20968 cat conftest.err >&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } && {
20971 test -z "$ac_c_werror_flag" ||
20972 test ! -s conftest.err
20973 } && test -s conftest.$ac_objext; then
20974 ac_hi=-1 ac_mid=-1
20975 while :; do
20976 cat >conftest.$ac_ext <<_ACEOF
20977 /* confdefs.h. */
20978 _ACEOF
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 $ac_includes_default
20983 typedef size_t ac__type_sizeof_;
20984 int
20985 main ()
20986 {
20987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20988 test_array [0] = 0
20989
20990 ;
20991 return 0;
20992 }
20993 _ACEOF
20994 rm -f conftest.$ac_objext
20995 if { (ac_try="$ac_compile"
20996 case "(($ac_try" in
20997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20998 *) ac_try_echo=$ac_try;;
20999 esac
21000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21001 (eval "$ac_compile") 2>conftest.er1
21002 ac_status=$?
21003 grep -v '^ *+' conftest.er1 >conftest.err
21004 rm -f conftest.er1
21005 cat conftest.err >&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } && {
21008 test -z "$ac_c_werror_flag" ||
21009 test ! -s conftest.err
21010 } && test -s conftest.$ac_objext; then
21011 ac_lo=$ac_mid; break
21012 else
21013 echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.$ac_ext >&5
21015
21016 ac_hi=`expr '(' $ac_mid ')' - 1`
21017 if test $ac_mid -le $ac_hi; then
21018 ac_lo= ac_hi=
21019 break
21020 fi
21021 ac_mid=`expr 2 '*' $ac_mid`
21022 fi
21023
21024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21025 done
21026 else
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21029
21030 ac_lo= ac_hi=
21031 fi
21032
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 fi
21035
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 # Binary search between lo and hi bounds.
21038 while test "x$ac_lo" != "x$ac_hi"; do
21039 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21040 cat >conftest.$ac_ext <<_ACEOF
21041 /* confdefs.h. */
21042 _ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef size_t ac__type_sizeof_;
21048 int
21049 main ()
21050 {
21051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21052 test_array [0] = 0
21053
21054 ;
21055 return 0;
21056 }
21057 _ACEOF
21058 rm -f conftest.$ac_objext
21059 if { (ac_try="$ac_compile"
21060 case "(($ac_try" in
21061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21063 esac
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_compile") 2>conftest.er1
21066 ac_status=$?
21067 grep -v '^ *+' conftest.er1 >conftest.err
21068 rm -f conftest.er1
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest.$ac_objext; then
21075 ac_hi=$ac_mid
21076 else
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21079
21080 ac_lo=`expr '(' $ac_mid ')' + 1`
21081 fi
21082
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 done
21085 case $ac_lo in
21086 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21087 '') if test "$ac_cv_type_size_t" = yes; then
21088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21089 See \`config.log' for more details." >&5
21090 echo "$as_me: error: cannot compute sizeof (size_t)
21091 See \`config.log' for more details." >&2;}
21092 { (exit 77); exit 77; }; }
21093 else
21094 ac_cv_sizeof_size_t=0
21095 fi ;;
21096 esac
21097 else
21098 cat >conftest.$ac_ext <<_ACEOF
21099 /* confdefs.h. */
21100 _ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21104 $ac_includes_default
21105 typedef size_t ac__type_sizeof_;
21106 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21107 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21108 #include <stdio.h>
21109 #include <stdlib.h>
21110 int
21111 main ()
21112 {
21113
21114 FILE *f = fopen ("conftest.val", "w");
21115 if (! f)
21116 return 1;
21117 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21118 {
21119 long int i = longval ();
21120 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21121 return 1;
21122 fprintf (f, "%ld\n", i);
21123 }
21124 else
21125 {
21126 unsigned long int i = ulongval ();
21127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21128 return 1;
21129 fprintf (f, "%lu\n", i);
21130 }
21131 return ferror (f) || fclose (f) != 0;
21132
21133 ;
21134 return 0;
21135 }
21136 _ACEOF
21137 rm -f conftest$ac_exeext
21138 if { (ac_try="$ac_link"
21139 case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21141 *) ac_try_echo=$ac_try;;
21142 esac
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_link") 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21148 { (case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21151 esac
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_try") 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; }; then
21157 ac_cv_sizeof_size_t=`cat conftest.val`
21158 else
21159 echo "$as_me: program exited with status $ac_status" >&5
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 ( exit $ac_status )
21164 if test "$ac_cv_type_size_t" = yes; then
21165 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21166 See \`config.log' for more details." >&5
21167 echo "$as_me: error: cannot compute sizeof (size_t)
21168 See \`config.log' for more details." >&2;}
21169 { (exit 77); exit 77; }; }
21170 else
21171 ac_cv_sizeof_size_t=0
21172 fi
21173 fi
21174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21175 fi
21176 rm -f conftest.val
21177 fi
21178 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21179 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21180
21181
21182
21183 cat >>confdefs.h <<_ACEOF
21184 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21185 _ACEOF
21186
21187
21188
21189 case "${host}" in
21190 arm-*-linux* )
21191 { echo "$as_me:$LINENO: checking for long long" >&5
21192 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21193 if test "${ac_cv_type_long_long+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 else
21196 cat >conftest.$ac_ext <<_ACEOF
21197 /* confdefs.h. */
21198 _ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef long long ac__type_new_;
21204 int
21205 main ()
21206 {
21207 if ((ac__type_new_ *) 0)
21208 return 0;
21209 if (sizeof (ac__type_new_))
21210 return 0;
21211 ;
21212 return 0;
21213 }
21214 _ACEOF
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21220 esac
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21223 ac_status=$?
21224 grep -v '^ *+' conftest.er1 >conftest.err
21225 rm -f conftest.er1
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21232 ac_cv_type_long_long=yes
21233 else
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.$ac_ext >&5
21236
21237 ac_cv_type_long_long=no
21238 fi
21239
21240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21241 fi
21242 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21243 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21244
21245 # The cast to long int works around a bug in the HP C Compiler
21246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21248 # This bug is HP SR number 8606223364.
21249 { echo "$as_me:$LINENO: checking size of long long" >&5
21250 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21251 if test "${ac_cv_sizeof_long_long+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21253 else
21254 if test "$cross_compiling" = yes; then
21255 # Depending upon the size, compute the lo and hi bounds.
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 $ac_includes_default
21263 typedef long long ac__type_sizeof_;
21264 int
21265 main ()
21266 {
21267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21268 test_array [0] = 0
21269
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 rm -f conftest.$ac_objext
21275 if { (ac_try="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21279 esac
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21282 ac_status=$?
21283 grep -v '^ *+' conftest.er1 >conftest.err
21284 rm -f conftest.er1
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.$ac_objext; then
21291 ac_lo=0 ac_mid=0
21292 while :; do
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 typedef long long ac__type_sizeof_;
21301 int
21302 main ()
21303 {
21304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21305 test_array [0] = 0
21306
21307 ;
21308 return 0;
21309 }
21310 _ACEOF
21311 rm -f conftest.$ac_objext
21312 if { (ac_try="$ac_compile"
21313 case "(($ac_try" in
21314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21315 *) ac_try_echo=$ac_try;;
21316 esac
21317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21318 (eval "$ac_compile") 2>conftest.er1
21319 ac_status=$?
21320 grep -v '^ *+' conftest.er1 >conftest.err
21321 rm -f conftest.er1
21322 cat conftest.err >&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } && {
21325 test -z "$ac_c_werror_flag" ||
21326 test ! -s conftest.err
21327 } && test -s conftest.$ac_objext; then
21328 ac_hi=$ac_mid; break
21329 else
21330 echo "$as_me: failed program was:" >&5
21331 sed 's/^/| /' conftest.$ac_ext >&5
21332
21333 ac_lo=`expr $ac_mid + 1`
21334 if test $ac_lo -le $ac_mid; then
21335 ac_lo= ac_hi=
21336 break
21337 fi
21338 ac_mid=`expr 2 '*' $ac_mid + 1`
21339 fi
21340
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 done
21343 else
21344 echo "$as_me: failed program was:" >&5
21345 sed 's/^/| /' conftest.$ac_ext >&5
21346
21347 cat >conftest.$ac_ext <<_ACEOF
21348 /* confdefs.h. */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 typedef long long ac__type_sizeof_;
21355 int
21356 main ()
21357 {
21358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21359 test_array [0] = 0
21360
21361 ;
21362 return 0;
21363 }
21364 _ACEOF
21365 rm -f conftest.$ac_objext
21366 if { (ac_try="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21370 esac
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21373 ac_status=$?
21374 grep -v '^ *+' conftest.er1 >conftest.err
21375 rm -f conftest.er1
21376 cat conftest.err >&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } && {
21379 test -z "$ac_c_werror_flag" ||
21380 test ! -s conftest.err
21381 } && test -s conftest.$ac_objext; then
21382 ac_hi=-1 ac_mid=-1
21383 while :; do
21384 cat >conftest.$ac_ext <<_ACEOF
21385 /* confdefs.h. */
21386 _ACEOF
21387 cat confdefs.h >>conftest.$ac_ext
21388 cat >>conftest.$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21390 $ac_includes_default
21391 typedef long long ac__type_sizeof_;
21392 int
21393 main ()
21394 {
21395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21396 test_array [0] = 0
21397
21398 ;
21399 return 0;
21400 }
21401 _ACEOF
21402 rm -f conftest.$ac_objext
21403 if { (ac_try="$ac_compile"
21404 case "(($ac_try" in
21405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21406 *) ac_try_echo=$ac_try;;
21407 esac
21408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21409 (eval "$ac_compile") 2>conftest.er1
21410 ac_status=$?
21411 grep -v '^ *+' conftest.er1 >conftest.err
21412 rm -f conftest.er1
21413 cat conftest.err >&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } && {
21416 test -z "$ac_c_werror_flag" ||
21417 test ! -s conftest.err
21418 } && test -s conftest.$ac_objext; then
21419 ac_lo=$ac_mid; break
21420 else
21421 echo "$as_me: failed program was:" >&5
21422 sed 's/^/| /' conftest.$ac_ext >&5
21423
21424 ac_hi=`expr '(' $ac_mid ')' - 1`
21425 if test $ac_mid -le $ac_hi; then
21426 ac_lo= ac_hi=
21427 break
21428 fi
21429 ac_mid=`expr 2 '*' $ac_mid`
21430 fi
21431
21432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21433 done
21434 else
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.$ac_ext >&5
21437
21438 ac_lo= ac_hi=
21439 fi
21440
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 fi
21443
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 # Binary search between lo and hi bounds.
21446 while test "x$ac_lo" != "x$ac_hi"; do
21447 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21455 typedef long long ac__type_sizeof_;
21456 int
21457 main ()
21458 {
21459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21460 test_array [0] = 0
21461
21462 ;
21463 return 0;
21464 }
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21471 esac
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_hi=$ac_mid
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21487
21488 ac_lo=`expr '(' $ac_mid ')' + 1`
21489 fi
21490
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21492 done
21493 case $ac_lo in
21494 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21495 '') if test "$ac_cv_type_long_long" = yes; then
21496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21497 See \`config.log' for more details." >&5
21498 echo "$as_me: error: cannot compute sizeof (long long)
21499 See \`config.log' for more details." >&2;}
21500 { (exit 77); exit 77; }; }
21501 else
21502 ac_cv_sizeof_long_long=0
21503 fi ;;
21504 esac
21505 else
21506 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21513 typedef long long ac__type_sizeof_;
21514 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21515 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21516 #include <stdio.h>
21517 #include <stdlib.h>
21518 int
21519 main ()
21520 {
21521
21522 FILE *f = fopen ("conftest.val", "w");
21523 if (! f)
21524 return 1;
21525 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21526 {
21527 long int i = longval ();
21528 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21529 return 1;
21530 fprintf (f, "%ld\n", i);
21531 }
21532 else
21533 {
21534 unsigned long int i = ulongval ();
21535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21536 return 1;
21537 fprintf (f, "%lu\n", i);
21538 }
21539 return ferror (f) || fclose (f) != 0;
21540
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 rm -f conftest$ac_exeext
21546 if { (ac_try="$ac_link"
21547 case "(($ac_try" in
21548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549 *) ac_try_echo=$ac_try;;
21550 esac
21551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21552 (eval "$ac_link") 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21556 { (case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_try") 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_cv_sizeof_long_long=`cat conftest.val`
21566 else
21567 echo "$as_me: program exited with status $ac_status" >&5
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 ( exit $ac_status )
21572 if test "$ac_cv_type_long_long" = yes; then
21573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21574 See \`config.log' for more details." >&5
21575 echo "$as_me: error: cannot compute sizeof (long long)
21576 See \`config.log' for more details." >&2;}
21577 { (exit 77); exit 77; }; }
21578 else
21579 ac_cv_sizeof_long_long=0
21580 fi
21581 fi
21582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21583 fi
21584 rm -f conftest.val
21585 fi
21586 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21587 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21588
21589
21590
21591 cat >>confdefs.h <<_ACEOF
21592 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21593 _ACEOF
21594
21595
21596 ;;
21597 *-hp-hpux* )
21598 { echo "$as_me:$LINENO: checking for long long" >&5
21599 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21600 if test "${ac_cv_type_long_long+set}" = set; then
21601 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 else
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 $ac_includes_default
21610 typedef long long ac__type_new_;
21611 int
21612 main ()
21613 {
21614 if ((ac__type_new_ *) 0)
21615 return 0;
21616 if (sizeof (ac__type_new_))
21617 return 0;
21618 ;
21619 return 0;
21620 }
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21627 esac
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21639 ac_cv_type_long_long=yes
21640 else
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21643
21644 ac_cv_type_long_long=no
21645 fi
21646
21647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648 fi
21649 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21650 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21651
21652 # The cast to long int works around a bug in the HP C Compiler
21653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21655 # This bug is HP SR number 8606223364.
21656 { echo "$as_me:$LINENO: checking size of long long" >&5
21657 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21658 if test "${ac_cv_sizeof_long_long+set}" = set; then
21659 echo $ECHO_N "(cached) $ECHO_C" >&6
21660 else
21661 if test "$cross_compiling" = yes; then
21662 # Depending upon the size, compute the lo and hi bounds.
21663 cat >conftest.$ac_ext <<_ACEOF
21664 /* confdefs.h. */
21665 _ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 typedef long long ac__type_sizeof_;
21671 int
21672 main ()
21673 {
21674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21675 test_array [0] = 0
21676
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 rm -f conftest.$ac_objext
21682 if { (ac_try="$ac_compile"
21683 case "(($ac_try" in
21684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21686 esac
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_compile") 2>conftest.er1
21689 ac_status=$?
21690 grep -v '^ *+' conftest.er1 >conftest.err
21691 rm -f conftest.er1
21692 cat conftest.err >&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && {
21695 test -z "$ac_c_werror_flag" ||
21696 test ! -s conftest.err
21697 } && test -s conftest.$ac_objext; then
21698 ac_lo=0 ac_mid=0
21699 while :; do
21700 cat >conftest.$ac_ext <<_ACEOF
21701 /* confdefs.h. */
21702 _ACEOF
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 $ac_includes_default
21707 typedef long long ac__type_sizeof_;
21708 int
21709 main ()
21710 {
21711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21712 test_array [0] = 0
21713
21714 ;
21715 return 0;
21716 }
21717 _ACEOF
21718 rm -f conftest.$ac_objext
21719 if { (ac_try="$ac_compile"
21720 case "(($ac_try" in
21721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21722 *) ac_try_echo=$ac_try;;
21723 esac
21724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21725 (eval "$ac_compile") 2>conftest.er1
21726 ac_status=$?
21727 grep -v '^ *+' conftest.er1 >conftest.err
21728 rm -f conftest.er1
21729 cat conftest.err >&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } && {
21732 test -z "$ac_c_werror_flag" ||
21733 test ! -s conftest.err
21734 } && test -s conftest.$ac_objext; then
21735 ac_hi=$ac_mid; break
21736 else
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.$ac_ext >&5
21739
21740 ac_lo=`expr $ac_mid + 1`
21741 if test $ac_lo -le $ac_mid; then
21742 ac_lo= ac_hi=
21743 break
21744 fi
21745 ac_mid=`expr 2 '*' $ac_mid + 1`
21746 fi
21747
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 done
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21753
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 $ac_includes_default
21761 typedef long long ac__type_sizeof_;
21762 int
21763 main ()
21764 {
21765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21766 test_array [0] = 0
21767
21768 ;
21769 return 0;
21770 }
21771 _ACEOF
21772 rm -f conftest.$ac_objext
21773 if { (ac_try="$ac_compile"
21774 case "(($ac_try" in
21775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21776 *) ac_try_echo=$ac_try;;
21777 esac
21778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779 (eval "$ac_compile") 2>conftest.er1
21780 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1
21783 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } && {
21786 test -z "$ac_c_werror_flag" ||
21787 test ! -s conftest.err
21788 } && test -s conftest.$ac_objext; then
21789 ac_hi=-1 ac_mid=-1
21790 while :; do
21791 cat >conftest.$ac_ext <<_ACEOF
21792 /* confdefs.h. */
21793 _ACEOF
21794 cat confdefs.h >>conftest.$ac_ext
21795 cat >>conftest.$ac_ext <<_ACEOF
21796 /* end confdefs.h. */
21797 $ac_includes_default
21798 typedef long long ac__type_sizeof_;
21799 int
21800 main ()
21801 {
21802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21803 test_array [0] = 0
21804
21805 ;
21806 return 0;
21807 }
21808 _ACEOF
21809 rm -f conftest.$ac_objext
21810 if { (ac_try="$ac_compile"
21811 case "(($ac_try" in
21812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21813 *) ac_try_echo=$ac_try;;
21814 esac
21815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21816 (eval "$ac_compile") 2>conftest.er1
21817 ac_status=$?
21818 grep -v '^ *+' conftest.er1 >conftest.err
21819 rm -f conftest.er1
21820 cat conftest.err >&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } && {
21823 test -z "$ac_c_werror_flag" ||
21824 test ! -s conftest.err
21825 } && test -s conftest.$ac_objext; then
21826 ac_lo=$ac_mid; break
21827 else
21828 echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.$ac_ext >&5
21830
21831 ac_hi=`expr '(' $ac_mid ')' - 1`
21832 if test $ac_mid -le $ac_hi; then
21833 ac_lo= ac_hi=
21834 break
21835 fi
21836 ac_mid=`expr 2 '*' $ac_mid`
21837 fi
21838
21839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21840 done
21841 else
21842 echo "$as_me: failed program was:" >&5
21843 sed 's/^/| /' conftest.$ac_ext >&5
21844
21845 ac_lo= ac_hi=
21846 fi
21847
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849 fi
21850
21851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21852 # Binary search between lo and hi bounds.
21853 while test "x$ac_lo" != "x$ac_hi"; do
21854 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21855 cat >conftest.$ac_ext <<_ACEOF
21856 /* confdefs.h. */
21857 _ACEOF
21858 cat confdefs.h >>conftest.$ac_ext
21859 cat >>conftest.$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21861 $ac_includes_default
21862 typedef long long ac__type_sizeof_;
21863 int
21864 main ()
21865 {
21866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21867 test_array [0] = 0
21868
21869 ;
21870 return 0;
21871 }
21872 _ACEOF
21873 rm -f conftest.$ac_objext
21874 if { (ac_try="$ac_compile"
21875 case "(($ac_try" in
21876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21877 *) ac_try_echo=$ac_try;;
21878 esac
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_compile") 2>conftest.er1
21881 ac_status=$?
21882 grep -v '^ *+' conftest.er1 >conftest.err
21883 rm -f conftest.er1
21884 cat conftest.err >&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } && {
21887 test -z "$ac_c_werror_flag" ||
21888 test ! -s conftest.err
21889 } && test -s conftest.$ac_objext; then
21890 ac_hi=$ac_mid
21891 else
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21894
21895 ac_lo=`expr '(' $ac_mid ')' + 1`
21896 fi
21897
21898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899 done
21900 case $ac_lo in
21901 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21902 '') if test "$ac_cv_type_long_long" = yes; then
21903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21904 See \`config.log' for more details." >&5
21905 echo "$as_me: error: cannot compute sizeof (long long)
21906 See \`config.log' for more details." >&2;}
21907 { (exit 77); exit 77; }; }
21908 else
21909 ac_cv_sizeof_long_long=0
21910 fi ;;
21911 esac
21912 else
21913 cat >conftest.$ac_ext <<_ACEOF
21914 /* confdefs.h. */
21915 _ACEOF
21916 cat confdefs.h >>conftest.$ac_ext
21917 cat >>conftest.$ac_ext <<_ACEOF
21918 /* end confdefs.h. */
21919 $ac_includes_default
21920 typedef long long ac__type_sizeof_;
21921 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21922 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21923 #include <stdio.h>
21924 #include <stdlib.h>
21925 int
21926 main ()
21927 {
21928
21929 FILE *f = fopen ("conftest.val", "w");
21930 if (! f)
21931 return 1;
21932 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21933 {
21934 long int i = longval ();
21935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21936 return 1;
21937 fprintf (f, "%ld\n", i);
21938 }
21939 else
21940 {
21941 unsigned long int i = ulongval ();
21942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21943 return 1;
21944 fprintf (f, "%lu\n", i);
21945 }
21946 return ferror (f) || fclose (f) != 0;
21947
21948 ;
21949 return 0;
21950 }
21951 _ACEOF
21952 rm -f conftest$ac_exeext
21953 if { (ac_try="$ac_link"
21954 case "(($ac_try" in
21955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21956 *) ac_try_echo=$ac_try;;
21957 esac
21958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21959 (eval "$ac_link") 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21963 { (case "(($ac_try" in
21964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21965 *) ac_try_echo=$ac_try;;
21966 esac
21967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21968 (eval "$ac_try") 2>&5
21969 ac_status=$?
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 ac_cv_sizeof_long_long=`cat conftest.val`
21973 else
21974 echo "$as_me: program exited with status $ac_status" >&5
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21977
21978 ( exit $ac_status )
21979 if test "$ac_cv_type_long_long" = yes; then
21980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21981 See \`config.log' for more details." >&5
21982 echo "$as_me: error: cannot compute sizeof (long long)
21983 See \`config.log' for more details." >&2;}
21984 { (exit 77); exit 77; }; }
21985 else
21986 ac_cv_sizeof_long_long=0
21987 fi
21988 fi
21989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21990 fi
21991 rm -f conftest.val
21992 fi
21993 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21994 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21995
21996
21997
21998 cat >>confdefs.h <<_ACEOF
21999 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22000 _ACEOF
22001
22002
22003 if test "$ac_cv_sizeof_long_long" != 0; then
22004 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22005 fi
22006 ;;
22007 * )
22008 { echo "$as_me:$LINENO: checking for long long" >&5
22009 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22010 if test "${ac_cv_type_long_long+set}" = set; then
22011 echo $ECHO_N "(cached) $ECHO_C" >&6
22012 else
22013 cat >conftest.$ac_ext <<_ACEOF
22014 /* confdefs.h. */
22015 _ACEOF
22016 cat confdefs.h >>conftest.$ac_ext
22017 cat >>conftest.$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22019 $ac_includes_default
22020 typedef long long ac__type_new_;
22021 int
22022 main ()
22023 {
22024 if ((ac__type_new_ *) 0)
22025 return 0;
22026 if (sizeof (ac__type_new_))
22027 return 0;
22028 ;
22029 return 0;
22030 }
22031 _ACEOF
22032 rm -f conftest.$ac_objext
22033 if { (ac_try="$ac_compile"
22034 case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22037 esac
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_compile") 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && {
22046 test -z "$ac_c_werror_flag" ||
22047 test ! -s conftest.err
22048 } && test -s conftest.$ac_objext; then
22049 ac_cv_type_long_long=yes
22050 else
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 ac_cv_type_long_long=no
22055 fi
22056
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058 fi
22059 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22060 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22061
22062 # The cast to long int works around a bug in the HP C Compiler
22063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22065 # This bug is HP SR number 8606223364.
22066 { echo "$as_me:$LINENO: checking size of long long" >&5
22067 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22068 if test "${ac_cv_sizeof_long_long+set}" = set; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22070 else
22071 if test "$cross_compiling" = yes; then
22072 # Depending upon the size, compute the lo and hi bounds.
22073 cat >conftest.$ac_ext <<_ACEOF
22074 /* confdefs.h. */
22075 _ACEOF
22076 cat confdefs.h >>conftest.$ac_ext
22077 cat >>conftest.$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22079 $ac_includes_default
22080 typedef long long ac__type_sizeof_;
22081 int
22082 main ()
22083 {
22084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22085 test_array [0] = 0
22086
22087 ;
22088 return 0;
22089 }
22090 _ACEOF
22091 rm -f conftest.$ac_objext
22092 if { (ac_try="$ac_compile"
22093 case "(($ac_try" in
22094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22095 *) ac_try_echo=$ac_try;;
22096 esac
22097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22098 (eval "$ac_compile") 2>conftest.er1
22099 ac_status=$?
22100 grep -v '^ *+' conftest.er1 >conftest.err
22101 rm -f conftest.er1
22102 cat conftest.err >&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } && {
22105 test -z "$ac_c_werror_flag" ||
22106 test ! -s conftest.err
22107 } && test -s conftest.$ac_objext; then
22108 ac_lo=0 ac_mid=0
22109 while :; do
22110 cat >conftest.$ac_ext <<_ACEOF
22111 /* confdefs.h. */
22112 _ACEOF
22113 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 $ac_includes_default
22117 typedef long long ac__type_sizeof_;
22118 int
22119 main ()
22120 {
22121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22122 test_array [0] = 0
22123
22124 ;
22125 return 0;
22126 }
22127 _ACEOF
22128 rm -f conftest.$ac_objext
22129 if { (ac_try="$ac_compile"
22130 case "(($ac_try" in
22131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22133 esac
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_compile") 2>conftest.er1
22136 ac_status=$?
22137 grep -v '^ *+' conftest.er1 >conftest.err
22138 rm -f conftest.er1
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && {
22142 test -z "$ac_c_werror_flag" ||
22143 test ! -s conftest.err
22144 } && test -s conftest.$ac_objext; then
22145 ac_hi=$ac_mid; break
22146 else
22147 echo "$as_me: failed program was:" >&5
22148 sed 's/^/| /' conftest.$ac_ext >&5
22149
22150 ac_lo=`expr $ac_mid + 1`
22151 if test $ac_lo -le $ac_mid; then
22152 ac_lo= ac_hi=
22153 break
22154 fi
22155 ac_mid=`expr 2 '*' $ac_mid + 1`
22156 fi
22157
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159 done
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 cat >conftest.$ac_ext <<_ACEOF
22165 /* confdefs.h. */
22166 _ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef long long ac__type_sizeof_;
22172 int
22173 main ()
22174 {
22175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22176 test_array [0] = 0
22177
22178 ;
22179 return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22187 esac
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22190 ac_status=$?
22191 grep -v '^ *+' conftest.er1 >conftest.err
22192 rm -f conftest.er1
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } && {
22196 test -z "$ac_c_werror_flag" ||
22197 test ! -s conftest.err
22198 } && test -s conftest.$ac_objext; then
22199 ac_hi=-1 ac_mid=-1
22200 while :; do
22201 cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h. */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 $ac_includes_default
22208 typedef long long ac__type_sizeof_;
22209 int
22210 main ()
22211 {
22212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22213 test_array [0] = 0
22214
22215 ;
22216 return 0;
22217 }
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (ac_try="$ac_compile"
22221 case "(($ac_try" in
22222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22223 *) ac_try_echo=$ac_try;;
22224 esac
22225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22226 (eval "$ac_compile") 2>conftest.er1
22227 ac_status=$?
22228 grep -v '^ *+' conftest.er1 >conftest.err
22229 rm -f conftest.er1
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && {
22233 test -z "$ac_c_werror_flag" ||
22234 test ! -s conftest.err
22235 } && test -s conftest.$ac_objext; then
22236 ac_lo=$ac_mid; break
22237 else
22238 echo "$as_me: failed program was:" >&5
22239 sed 's/^/| /' conftest.$ac_ext >&5
22240
22241 ac_hi=`expr '(' $ac_mid ')' - 1`
22242 if test $ac_mid -le $ac_hi; then
22243 ac_lo= ac_hi=
22244 break
22245 fi
22246 ac_mid=`expr 2 '*' $ac_mid`
22247 fi
22248
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22250 done
22251 else
22252 echo "$as_me: failed program was:" >&5
22253 sed 's/^/| /' conftest.$ac_ext >&5
22254
22255 ac_lo= ac_hi=
22256 fi
22257
22258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259 fi
22260
22261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22262 # Binary search between lo and hi bounds.
22263 while test "x$ac_lo" != "x$ac_hi"; do
22264 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22265 cat >conftest.$ac_ext <<_ACEOF
22266 /* confdefs.h. */
22267 _ACEOF
22268 cat confdefs.h >>conftest.$ac_ext
22269 cat >>conftest.$ac_ext <<_ACEOF
22270 /* end confdefs.h. */
22271 $ac_includes_default
22272 typedef long long ac__type_sizeof_;
22273 int
22274 main ()
22275 {
22276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22277 test_array [0] = 0
22278
22279 ;
22280 return 0;
22281 }
22282 _ACEOF
22283 rm -f conftest.$ac_objext
22284 if { (ac_try="$ac_compile"
22285 case "(($ac_try" in
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22287 *) ac_try_echo=$ac_try;;
22288 esac
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22290 (eval "$ac_compile") 2>conftest.er1
22291 ac_status=$?
22292 grep -v '^ *+' conftest.er1 >conftest.err
22293 rm -f conftest.er1
22294 cat conftest.err >&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } && {
22297 test -z "$ac_c_werror_flag" ||
22298 test ! -s conftest.err
22299 } && test -s conftest.$ac_objext; then
22300 ac_hi=$ac_mid
22301 else
22302 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.$ac_ext >&5
22304
22305 ac_lo=`expr '(' $ac_mid ')' + 1`
22306 fi
22307
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 done
22310 case $ac_lo in
22311 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22312 '') if test "$ac_cv_type_long_long" = yes; then
22313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22314 See \`config.log' for more details." >&5
22315 echo "$as_me: error: cannot compute sizeof (long long)
22316 See \`config.log' for more details." >&2;}
22317 { (exit 77); exit 77; }; }
22318 else
22319 ac_cv_sizeof_long_long=0
22320 fi ;;
22321 esac
22322 else
22323 cat >conftest.$ac_ext <<_ACEOF
22324 /* confdefs.h. */
22325 _ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 $ac_includes_default
22330 typedef long long ac__type_sizeof_;
22331 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22332 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22333 #include <stdio.h>
22334 #include <stdlib.h>
22335 int
22336 main ()
22337 {
22338
22339 FILE *f = fopen ("conftest.val", "w");
22340 if (! f)
22341 return 1;
22342 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22343 {
22344 long int i = longval ();
22345 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22346 return 1;
22347 fprintf (f, "%ld\n", i);
22348 }
22349 else
22350 {
22351 unsigned long int i = ulongval ();
22352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22353 return 1;
22354 fprintf (f, "%lu\n", i);
22355 }
22356 return ferror (f) || fclose (f) != 0;
22357
22358 ;
22359 return 0;
22360 }
22361 _ACEOF
22362 rm -f conftest$ac_exeext
22363 if { (ac_try="$ac_link"
22364 case "(($ac_try" in
22365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22366 *) ac_try_echo=$ac_try;;
22367 esac
22368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22369 (eval "$ac_link") 2>&5
22370 ac_status=$?
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22373 { (case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22376 esac
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_try") 2>&5
22379 ac_status=$?
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; }; then
22382 ac_cv_sizeof_long_long=`cat conftest.val`
22383 else
22384 echo "$as_me: program exited with status $ac_status" >&5
22385 echo "$as_me: failed program was:" >&5
22386 sed 's/^/| /' conftest.$ac_ext >&5
22387
22388 ( exit $ac_status )
22389 if test "$ac_cv_type_long_long" = yes; then
22390 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22391 See \`config.log' for more details." >&5
22392 echo "$as_me: error: cannot compute sizeof (long long)
22393 See \`config.log' for more details." >&2;}
22394 { (exit 77); exit 77; }; }
22395 else
22396 ac_cv_sizeof_long_long=0
22397 fi
22398 fi
22399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22400 fi
22401 rm -f conftest.val
22402 fi
22403 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22404 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22405
22406
22407
22408 cat >>confdefs.h <<_ACEOF
22409 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22410 _ACEOF
22411
22412
22413 esac
22414
22415 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22416 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22417 if test "${ac_cv_type_wchar_t+set}" = set; then
22418 echo $ECHO_N "(cached) $ECHO_C" >&6
22419 else
22420 cat >conftest.$ac_ext <<_ACEOF
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426
22427 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22428 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22429 # error "fake wchar_t"
22430 #endif
22431 #ifdef HAVE_WCHAR_H
22432 # ifdef __CYGWIN__
22433 # include <stddef.h>
22434 # endif
22435 # include <wchar.h>
22436 #endif
22437 #ifdef HAVE_STDLIB_H
22438 # include <stdlib.h>
22439 #endif
22440 #include <stdio.h>
22441
22442
22443
22444 typedef wchar_t ac__type_new_;
22445 int
22446 main ()
22447 {
22448 if ((ac__type_new_ *) 0)
22449 return 0;
22450 if (sizeof (ac__type_new_))
22451 return 0;
22452 ;
22453 return 0;
22454 }
22455 _ACEOF
22456 rm -f conftest.$ac_objext
22457 if { (ac_try="$ac_compile"
22458 case "(($ac_try" in
22459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22460 *) ac_try_echo=$ac_try;;
22461 esac
22462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22463 (eval "$ac_compile") 2>conftest.er1
22464 ac_status=$?
22465 grep -v '^ *+' conftest.er1 >conftest.err
22466 rm -f conftest.er1
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && {
22470 test -z "$ac_c_werror_flag" ||
22471 test ! -s conftest.err
22472 } && test -s conftest.$ac_objext; then
22473 ac_cv_type_wchar_t=yes
22474 else
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22477
22478 ac_cv_type_wchar_t=no
22479 fi
22480
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482 fi
22483 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22484 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22485
22486 # The cast to long int works around a bug in the HP C Compiler
22487 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22488 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22489 # This bug is HP SR number 8606223364.
22490 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22491 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22492 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22493 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 else
22495 if test "$cross_compiling" = yes; then
22496 # Depending upon the size, compute the lo and hi bounds.
22497 cat >conftest.$ac_ext <<_ACEOF
22498 /* confdefs.h. */
22499 _ACEOF
22500 cat confdefs.h >>conftest.$ac_ext
22501 cat >>conftest.$ac_ext <<_ACEOF
22502 /* end confdefs.h. */
22503
22504 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22505 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22506 # error "fake wchar_t"
22507 #endif
22508 #ifdef HAVE_WCHAR_H
22509 # ifdef __CYGWIN__
22510 # include <stddef.h>
22511 # endif
22512 # include <wchar.h>
22513 #endif
22514 #ifdef HAVE_STDLIB_H
22515 # include <stdlib.h>
22516 #endif
22517 #include <stdio.h>
22518
22519
22520
22521 typedef wchar_t ac__type_sizeof_;
22522 int
22523 main ()
22524 {
22525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22526 test_array [0] = 0
22527
22528 ;
22529 return 0;
22530 }
22531 _ACEOF
22532 rm -f conftest.$ac_objext
22533 if { (ac_try="$ac_compile"
22534 case "(($ac_try" in
22535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22536 *) ac_try_echo=$ac_try;;
22537 esac
22538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_compile") 2>conftest.er1
22540 ac_status=$?
22541 grep -v '^ *+' conftest.er1 >conftest.err
22542 rm -f conftest.er1
22543 cat conftest.err >&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } && {
22546 test -z "$ac_c_werror_flag" ||
22547 test ! -s conftest.err
22548 } && test -s conftest.$ac_objext; then
22549 ac_lo=0 ac_mid=0
22550 while :; do
22551 cat >conftest.$ac_ext <<_ACEOF
22552 /* confdefs.h. */
22553 _ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557
22558 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22559 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22560 # error "fake wchar_t"
22561 #endif
22562 #ifdef HAVE_WCHAR_H
22563 # ifdef __CYGWIN__
22564 # include <stddef.h>
22565 # endif
22566 # include <wchar.h>
22567 #endif
22568 #ifdef HAVE_STDLIB_H
22569 # include <stdlib.h>
22570 #endif
22571 #include <stdio.h>
22572
22573
22574
22575 typedef wchar_t ac__type_sizeof_;
22576 int
22577 main ()
22578 {
22579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22580 test_array [0] = 0
22581
22582 ;
22583 return 0;
22584 }
22585 _ACEOF
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22590 *) ac_try_echo=$ac_try;;
22591 esac
22592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22593 (eval "$ac_compile") 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && {
22600 test -z "$ac_c_werror_flag" ||
22601 test ! -s conftest.err
22602 } && test -s conftest.$ac_objext; then
22603 ac_hi=$ac_mid; break
22604 else
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22607
22608 ac_lo=`expr $ac_mid + 1`
22609 if test $ac_lo -le $ac_mid; then
22610 ac_lo= ac_hi=
22611 break
22612 fi
22613 ac_mid=`expr 2 '*' $ac_mid + 1`
22614 fi
22615
22616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22617 done
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628
22629 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22630 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22631 # error "fake wchar_t"
22632 #endif
22633 #ifdef HAVE_WCHAR_H
22634 # ifdef __CYGWIN__
22635 # include <stddef.h>
22636 # endif
22637 # include <wchar.h>
22638 #endif
22639 #ifdef HAVE_STDLIB_H
22640 # include <stdlib.h>
22641 #endif
22642 #include <stdio.h>
22643
22644
22645
22646 typedef wchar_t ac__type_sizeof_;
22647 int
22648 main ()
22649 {
22650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22651 test_array [0] = 0
22652
22653 ;
22654 return 0;
22655 }
22656 _ACEOF
22657 rm -f conftest.$ac_objext
22658 if { (ac_try="$ac_compile"
22659 case "(($ac_try" in
22660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22661 *) ac_try_echo=$ac_try;;
22662 esac
22663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22664 (eval "$ac_compile") 2>conftest.er1
22665 ac_status=$?
22666 grep -v '^ *+' conftest.er1 >conftest.err
22667 rm -f conftest.er1
22668 cat conftest.err >&5
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); } && {
22671 test -z "$ac_c_werror_flag" ||
22672 test ! -s conftest.err
22673 } && test -s conftest.$ac_objext; then
22674 ac_hi=-1 ac_mid=-1
22675 while :; do
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t"
22686 #endif
22687 #ifdef HAVE_WCHAR_H
22688 # ifdef __CYGWIN__
22689 # include <stddef.h>
22690 # endif
22691 # include <wchar.h>
22692 #endif
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22695 #endif
22696 #include <stdio.h>
22697
22698
22699
22700 typedef wchar_t ac__type_sizeof_;
22701 int
22702 main ()
22703 {
22704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22705 test_array [0] = 0
22706
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext
22712 if { (ac_try="$ac_compile"
22713 case "(($ac_try" in
22714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22715 *) ac_try_echo=$ac_try;;
22716 esac
22717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22718 (eval "$ac_compile") 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } && {
22725 test -z "$ac_c_werror_flag" ||
22726 test ! -s conftest.err
22727 } && test -s conftest.$ac_objext; then
22728 ac_lo=$ac_mid; break
22729 else
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.$ac_ext >&5
22732
22733 ac_hi=`expr '(' $ac_mid ')' - 1`
22734 if test $ac_mid -le $ac_hi; then
22735 ac_lo= ac_hi=
22736 break
22737 fi
22738 ac_mid=`expr 2 '*' $ac_mid`
22739 fi
22740
22741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22742 done
22743 else
22744 echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.$ac_ext >&5
22746
22747 ac_lo= ac_hi=
22748 fi
22749
22750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22751 fi
22752
22753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22754 # Binary search between lo and hi bounds.
22755 while test "x$ac_lo" != "x$ac_hi"; do
22756 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22757 cat >conftest.$ac_ext <<_ACEOF
22758 /* confdefs.h. */
22759 _ACEOF
22760 cat confdefs.h >>conftest.$ac_ext
22761 cat >>conftest.$ac_ext <<_ACEOF
22762 /* end confdefs.h. */
22763
22764 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22765 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22766 # error "fake wchar_t"
22767 #endif
22768 #ifdef HAVE_WCHAR_H
22769 # ifdef __CYGWIN__
22770 # include <stddef.h>
22771 # endif
22772 # include <wchar.h>
22773 #endif
22774 #ifdef HAVE_STDLIB_H
22775 # include <stdlib.h>
22776 #endif
22777 #include <stdio.h>
22778
22779
22780
22781 typedef wchar_t ac__type_sizeof_;
22782 int
22783 main ()
22784 {
22785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22786 test_array [0] = 0
22787
22788 ;
22789 return 0;
22790 }
22791 _ACEOF
22792 rm -f conftest.$ac_objext
22793 if { (ac_try="$ac_compile"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_compile") 2>conftest.er1
22800 ac_status=$?
22801 grep -v '^ *+' conftest.er1 >conftest.err
22802 rm -f conftest.er1
22803 cat conftest.err >&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && {
22806 test -z "$ac_c_werror_flag" ||
22807 test ! -s conftest.err
22808 } && test -s conftest.$ac_objext; then
22809 ac_hi=$ac_mid
22810 else
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.$ac_ext >&5
22813
22814 ac_lo=`expr '(' $ac_mid ')' + 1`
22815 fi
22816
22817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22818 done
22819 case $ac_lo in
22820 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22821 '') if test "$ac_cv_type_wchar_t" = yes; then
22822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22823 See \`config.log' for more details." >&5
22824 echo "$as_me: error: cannot compute sizeof (wchar_t)
22825 See \`config.log' for more details." >&2;}
22826 { (exit 77); exit 77; }; }
22827 else
22828 ac_cv_sizeof_wchar_t=0
22829 fi ;;
22830 esac
22831 else
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838
22839 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22840 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22841 # error "fake wchar_t"
22842 #endif
22843 #ifdef HAVE_WCHAR_H
22844 # ifdef __CYGWIN__
22845 # include <stddef.h>
22846 # endif
22847 # include <wchar.h>
22848 #endif
22849 #ifdef HAVE_STDLIB_H
22850 # include <stdlib.h>
22851 #endif
22852 #include <stdio.h>
22853
22854
22855
22856 typedef wchar_t ac__type_sizeof_;
22857 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22858 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22859 #include <stdio.h>
22860 #include <stdlib.h>
22861 int
22862 main ()
22863 {
22864
22865 FILE *f = fopen ("conftest.val", "w");
22866 if (! f)
22867 return 1;
22868 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22869 {
22870 long int i = longval ();
22871 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22872 return 1;
22873 fprintf (f, "%ld\n", i);
22874 }
22875 else
22876 {
22877 unsigned long int i = ulongval ();
22878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22879 return 1;
22880 fprintf (f, "%lu\n", i);
22881 }
22882 return ferror (f) || fclose (f) != 0;
22883
22884 ;
22885 return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest$ac_exeext
22889 if { (ac_try="$ac_link"
22890 case "(($ac_try" in
22891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22892 *) ac_try_echo=$ac_try;;
22893 esac
22894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22895 (eval "$ac_link") 2>&5
22896 ac_status=$?
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22899 { (case "(($ac_try" in
22900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22901 *) ac_try_echo=$ac_try;;
22902 esac
22903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22904 (eval "$ac_try") 2>&5
22905 ac_status=$?
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; }; then
22908 ac_cv_sizeof_wchar_t=`cat conftest.val`
22909 else
22910 echo "$as_me: program exited with status $ac_status" >&5
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22913
22914 ( exit $ac_status )
22915 if test "$ac_cv_type_wchar_t" = yes; then
22916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22917 See \`config.log' for more details." >&5
22918 echo "$as_me: error: cannot compute sizeof (wchar_t)
22919 See \`config.log' for more details." >&2;}
22920 { (exit 77); exit 77; }; }
22921 else
22922 ac_cv_sizeof_wchar_t=0
22923 fi
22924 fi
22925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22926 fi
22927 rm -f conftest.val
22928 fi
22929 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22930 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22931
22932
22933
22934 cat >>confdefs.h <<_ACEOF
22935 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22936 _ACEOF
22937
22938
22939 if test "$ac_cv_sizeof_wchar_t" != 0; then
22940 wxUSE_WCHAR_T=yes
22941 else
22942 wxUSE_WCHAR_T=no
22943 fi
22944
22945 { echo "$as_me:$LINENO: checking for va_copy" >&5
22946 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22947 if test "${wx_cv_func_va_copy+set}" = set; then
22948 echo $ECHO_N "(cached) $ECHO_C" >&6
22949 else
22950
22951 ac_ext=cpp
22952 ac_cpp='$CXXCPP $CPPFLAGS'
22953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22956
22957 cat >conftest.$ac_ext <<_ACEOF
22958
22959 #include <stdarg.h>
22960 void foo(char *f, ...)
22961 {
22962 va_list ap1, ap2;
22963 va_start(ap1, f);
22964 va_copy(ap2, ap1);
22965 va_end(ap2);
22966 va_end(ap1);
22967 }
22968 int main()
22969 {
22970 foo("hi", 17);
22971 return 0;
22972 }
22973 _ACEOF
22974 rm -f conftest.$ac_objext conftest$ac_exeext
22975 if { (ac_try="$ac_link"
22976 case "(($ac_try" in
22977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22978 *) ac_try_echo=$ac_try;;
22979 esac
22980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22981 (eval "$ac_link") 2>conftest.er1
22982 ac_status=$?
22983 grep -v '^ *+' conftest.er1 >conftest.err
22984 rm -f conftest.er1
22985 cat conftest.err >&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } && {
22988 test -z "$ac_cxx_werror_flag" ||
22989 test ! -s conftest.err
22990 } && test -s conftest$ac_exeext &&
22991 $as_test_x conftest$ac_exeext; then
22992 wx_cv_func_va_copy=yes
22993 else
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.$ac_ext >&5
22996
22997 wx_cv_func_va_copy=no
22998
22999 fi
23000
23001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23002 conftest$ac_exeext conftest.$ac_ext
23003 ac_ext=c
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008
23009
23010
23011 fi
23012 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23013 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23014
23015 if test $wx_cv_func_va_copy = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VA_COPY 1
23018 _ACEOF
23019
23020 else
23021 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23022 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23023 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23024 echo $ECHO_N "(cached) $ECHO_C" >&6
23025 else
23026
23027 if test "$cross_compiling" = yes; then
23028 wx_cv_type_va_list_lvalue=yes
23029
23030 else
23031 cat >conftest.$ac_ext <<_ACEOF
23032
23033 #include <stdarg.h>
23034 int foo(char *f, ...)
23035 {
23036 va_list ap1, ap2;
23037 va_start(ap1, f);
23038 ap2 = ap1;
23039 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23040 return 1;
23041 va_end(ap2);
23042 va_end(ap1);
23043 return 0;
23044 }
23045 int main()
23046 {
23047 return foo("hi", 17);
23048 }
23049 _ACEOF
23050 rm -f conftest$ac_exeext
23051 if { (ac_try="$ac_link"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23055 esac
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_link") 2>&5
23058 ac_status=$?
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23061 { (case "(($ac_try" in
23062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23063 *) ac_try_echo=$ac_try;;
23064 esac
23065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23066 (eval "$ac_try") 2>&5
23067 ac_status=$?
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; }; then
23070 wx_cv_type_va_list_lvalue=yes
23071 else
23072 echo "$as_me: program exited with status $ac_status" >&5
23073 echo "$as_me: failed program was:" >&5
23074 sed 's/^/| /' conftest.$ac_ext >&5
23075
23076 ( exit $ac_status )
23077 wx_cv_type_va_list_lvalue=no
23078 fi
23079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23080 fi
23081
23082
23083
23084
23085 fi
23086 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23087 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23088
23089 if test $wx_cv_type_va_list_lvalue != "yes"; then
23090 cat >>confdefs.h <<\_ACEOF
23091 #define VA_LIST_IS_ARRAY 1
23092 _ACEOF
23093
23094 fi
23095 fi
23096
23097 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23098
23099 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23100 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23101 if test "${wx_cv_have_variadic_macros+set}" = set; then
23102 echo $ECHO_N "(cached) $ECHO_C" >&6
23103 else
23104
23105 ac_ext=cpp
23106 ac_cpp='$CXXCPP $CPPFLAGS'
23107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23110
23111 cat >conftest.$ac_ext <<_ACEOF
23112 /* confdefs.h. */
23113 _ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117
23118 #include <stdio.h>
23119 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23120
23121 int
23122 main ()
23123 {
23124
23125 test("%s %d %p", "test", 1, 0);
23126
23127
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 rm -f conftest.$ac_objext
23133 if { (ac_try="$ac_compile"
23134 case "(($ac_try" in
23135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23136 *) ac_try_echo=$ac_try;;
23137 esac
23138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23139 (eval "$ac_compile") 2>conftest.er1
23140 ac_status=$?
23141 grep -v '^ *+' conftest.er1 >conftest.err
23142 rm -f conftest.er1
23143 cat conftest.err >&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && {
23146 test -z "$ac_cxx_werror_flag" ||
23147 test ! -s conftest.err
23148 } && test -s conftest.$ac_objext; then
23149 wx_cv_have_variadic_macros=yes
23150 else
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23153
23154 wx_cv_have_variadic_macros=no
23155
23156 fi
23157
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23159 ac_ext=c
23160 ac_cpp='$CPP $CPPFLAGS'
23161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164
23165
23166
23167 fi
23168 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23169 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23170
23171 if test $wx_cv_have_variadic_macros = "yes"; then
23172 cat >>confdefs.h <<\_ACEOF
23173 #define HAVE_VARIADIC_MACROS 1
23174 _ACEOF
23175
23176 fi
23177
23178 fi
23179 # Check whether --enable-largefile was given.
23180 if test "${enable_largefile+set}" = set; then
23181 enableval=$enable_largefile;
23182 fi
23183
23184 if test "$enable_largefile" != no; then
23185 wx_largefile=no
23186
23187 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23188 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23189 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23190 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 else
23192
23193 cat >conftest.$ac_ext <<_ACEOF
23194 /* confdefs.h. */
23195 _ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23199 #define _FILE_OFFSET_BITS 64
23200 #include <sys/types.h>
23201 int
23202 main ()
23203 {
23204 typedef struct {
23205 unsigned int field: sizeof(off_t) == 8;
23206 } wxlf;
23207
23208 ;
23209 return 0;
23210 }
23211 _ACEOF
23212 rm -f conftest.$ac_objext
23213 if { (ac_try="$ac_compile"
23214 case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23217 esac
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_compile") 2>conftest.er1
23220 ac_status=$?
23221 grep -v '^ *+' conftest.er1 >conftest.err
23222 rm -f conftest.er1
23223 cat conftest.err >&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } && {
23226 test -z "$ac_c_werror_flag" ||
23227 test ! -s conftest.err
23228 } && test -s conftest.$ac_objext; then
23229 ac_cv_sys_file_offset_bits=64
23230 else
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.$ac_ext >&5
23233
23234 ac_cv_sys_file_offset_bits=no
23235 fi
23236
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238
23239
23240 fi
23241 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23242 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23243
23244 if test "$ac_cv_sys_file_offset_bits" != no; then
23245 wx_largefile=yes
23246 cat >>confdefs.h <<_ACEOF
23247 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23248 _ACEOF
23249
23250 fi
23251
23252 if test "x$wx_largefile" != "xyes"; then
23253
23254 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23255 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23256 if test "${ac_cv_sys_large_files+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 else
23259
23260 cat >conftest.$ac_ext <<_ACEOF
23261 /* confdefs.h. */
23262 _ACEOF
23263 cat confdefs.h >>conftest.$ac_ext
23264 cat >>conftest.$ac_ext <<_ACEOF
23265 /* end confdefs.h. */
23266 #define _LARGE_FILES 1
23267 #include <sys/types.h>
23268 int
23269 main ()
23270 {
23271 typedef struct {
23272 unsigned int field: sizeof(off_t) == 8;
23273 } wxlf;
23274
23275 ;
23276 return 0;
23277 }
23278 _ACEOF
23279 rm -f conftest.$ac_objext
23280 if { (ac_try="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23284 esac
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_compile") 2>conftest.er1
23287 ac_status=$?
23288 grep -v '^ *+' conftest.er1 >conftest.err
23289 rm -f conftest.er1
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } && {
23293 test -z "$ac_c_werror_flag" ||
23294 test ! -s conftest.err
23295 } && test -s conftest.$ac_objext; then
23296 ac_cv_sys_large_files=1
23297 else
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23300
23301 ac_cv_sys_large_files=no
23302 fi
23303
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305
23306
23307 fi
23308 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23309 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23310
23311 if test "$ac_cv_sys_large_files" != no; then
23312 wx_largefile=yes
23313 cat >>confdefs.h <<_ACEOF
23314 #define _LARGE_FILES $ac_cv_sys_large_files
23315 _ACEOF
23316
23317 fi
23318
23319 fi
23320
23321 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23322 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23323 if test "x$wx_largefile" = "xyes"; then
23324 cat >>confdefs.h <<\_ACEOF
23325 #define HAVE_LARGEFILE_SUPPORT 1
23326 _ACEOF
23327
23328 fi
23329 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23330 echo "${ECHO_T}$wx_largefile" >&6; }
23331 fi
23332
23333
23334 if test "x$wx_largefile" = "xyes"; then
23335 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23336 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23337
23338 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23339 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23340 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23341 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23342 echo $ECHO_N "(cached) $ECHO_C" >&6
23343 else
23344
23345 ac_ext=cpp
23346 ac_cpp='$CXXCPP $CPPFLAGS'
23347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23350
23351 cat >conftest.$ac_ext <<_ACEOF
23352 /* confdefs.h. */
23353 _ACEOF
23354 cat confdefs.h >>conftest.$ac_ext
23355 cat >>conftest.$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357
23358 int
23359 main ()
23360 {
23361
23362 #ifndef __STDC_EXT__
23363 choke me
23364 #endif
23365
23366 ;
23367 return 0;
23368 }
23369 _ACEOF
23370 rm -f conftest.$ac_objext
23371 if { (ac_try="$ac_compile"
23372 case "(($ac_try" in
23373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23374 *) ac_try_echo=$ac_try;;
23375 esac
23376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23377 (eval "$ac_compile") 2>conftest.er1
23378 ac_status=$?
23379 grep -v '^ *+' conftest.er1 >conftest.err
23380 rm -f conftest.er1
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } && {
23384 test -z "$ac_cxx_werror_flag" ||
23385 test ! -s conftest.err
23386 } && test -s conftest.$ac_objext; then
23387 wx_cv_STDC_EXT_required=no
23388 else
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 wx_cv_STDC_EXT_required=yes
23393
23394 fi
23395
23396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23397 ac_ext=c
23398 ac_cpp='$CPP $CPPFLAGS'
23399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23402
23403
23404
23405 fi
23406 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23407 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23408 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23409 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23410 fi
23411 fi
23412 else
23413 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23414 fi
23415 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23416 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23417 if test "${ac_cv_sys_largefile_source+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23419 else
23420 while :; do
23421 cat >conftest.$ac_ext <<_ACEOF
23422 /* confdefs.h. */
23423 _ACEOF
23424 cat confdefs.h >>conftest.$ac_ext
23425 cat >>conftest.$ac_ext <<_ACEOF
23426 /* end confdefs.h. */
23427 #include <sys/types.h> /* for off_t */
23428 #include <stdio.h>
23429 int
23430 main ()
23431 {
23432 int (*fp) (FILE *, off_t, int) = fseeko;
23433 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23434 ;
23435 return 0;
23436 }
23437 _ACEOF
23438 rm -f conftest.$ac_objext conftest$ac_exeext
23439 if { (ac_try="$ac_link"
23440 case "(($ac_try" in
23441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 *) ac_try_echo=$ac_try;;
23443 esac
23444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 (eval "$ac_link") 2>conftest.er1
23446 ac_status=$?
23447 grep -v '^ *+' conftest.er1 >conftest.err
23448 rm -f conftest.er1
23449 cat conftest.err >&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } && {
23452 test -z "$ac_c_werror_flag" ||
23453 test ! -s conftest.err
23454 } && test -s conftest$ac_exeext &&
23455 $as_test_x conftest$ac_exeext; then
23456 ac_cv_sys_largefile_source=no; break
23457 else
23458 echo "$as_me: failed program was:" >&5
23459 sed 's/^/| /' conftest.$ac_ext >&5
23460
23461
23462 fi
23463
23464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23465 conftest$ac_exeext conftest.$ac_ext
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #define _LARGEFILE_SOURCE 1
23473 #include <sys/types.h> /* for off_t */
23474 #include <stdio.h>
23475 int
23476 main ()
23477 {
23478 int (*fp) (FILE *, off_t, int) = fseeko;
23479 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23480 ;
23481 return 0;
23482 }
23483 _ACEOF
23484 rm -f conftest.$ac_objext conftest$ac_exeext
23485 if { (ac_try="$ac_link"
23486 case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23489 esac
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_link") 2>conftest.er1
23492 ac_status=$?
23493 grep -v '^ *+' conftest.er1 >conftest.err
23494 rm -f conftest.er1
23495 cat conftest.err >&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); } && {
23498 test -z "$ac_c_werror_flag" ||
23499 test ! -s conftest.err
23500 } && test -s conftest$ac_exeext &&
23501 $as_test_x conftest$ac_exeext; then
23502 ac_cv_sys_largefile_source=1; break
23503 else
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507
23508 fi
23509
23510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23511 conftest$ac_exeext conftest.$ac_ext
23512 ac_cv_sys_largefile_source=unknown
23513 break
23514 done
23515 fi
23516 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23517 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23518 case $ac_cv_sys_largefile_source in #(
23519 no | unknown) ;;
23520 *)
23521 cat >>confdefs.h <<_ACEOF
23522 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23523 _ACEOF
23524 ;;
23525 esac
23526 rm -f conftest*
23527
23528 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23529 # in glibc 2.1.3, but that breaks too many other things.
23530 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23531 if test $ac_cv_sys_largefile_source != unknown; then
23532
23533 cat >>confdefs.h <<\_ACEOF
23534 #define HAVE_FSEEKO 1
23535 _ACEOF
23536
23537 fi
23538
23539 if test "$ac_cv_sys_largefile_source" != no; then
23540 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23541 fi
23542 fi
23543
23544 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23545 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23546 if test "${ac_cv_c_bigendian+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 else
23549 ac_cv_c_bigendian=unknown
23550 # See if sys/param.h defines the BYTE_ORDER macro.
23551 cat >conftest.$ac_ext <<_ACEOF
23552 /* confdefs.h. */
23553 _ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 #include <sys/types.h>
23558 #include <sys/param.h>
23559 int
23560 main ()
23561 {
23562
23563 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23564 bogus endian macros
23565 #endif
23566 ;
23567 return 0;
23568 }
23569 _ACEOF
23570 rm -f conftest.$ac_objext
23571 if { (ac_try="$ac_compile"
23572 case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23575 esac
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_compile") 2>conftest.er1
23578 ac_status=$?
23579 grep -v '^ *+' conftest.er1 >conftest.err
23580 rm -f conftest.er1
23581 cat conftest.err >&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } && {
23584 test -z "$ac_c_werror_flag" ||
23585 test ! -s conftest.err
23586 } && test -s conftest.$ac_objext; then
23587 # It does; now see whether it defined to BIG_ENDIAN or not.
23588 cat >conftest.$ac_ext <<_ACEOF
23589 /* confdefs.h. */
23590 _ACEOF
23591 cat confdefs.h >>conftest.$ac_ext
23592 cat >>conftest.$ac_ext <<_ACEOF
23593 /* end confdefs.h. */
23594 #include <sys/types.h>
23595 #include <sys/param.h>
23596 int
23597 main ()
23598 {
23599
23600 #if BYTE_ORDER != BIG_ENDIAN
23601 not big endian
23602 #endif
23603 ;
23604 return 0;
23605 }
23606 _ACEOF
23607 rm -f conftest.$ac_objext
23608 if { (ac_try="$ac_compile"
23609 case "(($ac_try" in
23610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23611 *) ac_try_echo=$ac_try;;
23612 esac
23613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23614 (eval "$ac_compile") 2>conftest.er1
23615 ac_status=$?
23616 grep -v '^ *+' conftest.er1 >conftest.err
23617 rm -f conftest.er1
23618 cat conftest.err >&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); } && {
23621 test -z "$ac_c_werror_flag" ||
23622 test ! -s conftest.err
23623 } && test -s conftest.$ac_objext; then
23624 ac_cv_c_bigendian=yes
23625 else
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23628
23629 ac_cv_c_bigendian=no
23630 fi
23631
23632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23633 else
23634 echo "$as_me: failed program was:" >&5
23635 sed 's/^/| /' conftest.$ac_ext >&5
23636
23637
23638 fi
23639
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641 if test $ac_cv_c_bigendian = unknown; then
23642 if test "$cross_compiling" = yes; then
23643 ac_cv_c_bigendian=unknown
23644 else
23645 cat >conftest.$ac_ext <<_ACEOF
23646 /* confdefs.h. */
23647 _ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651 main () {
23652 /* Are we little or big endian? From Harbison&Steele. */
23653 union
23654 {
23655 long l;
23656 char c[sizeof (long)];
23657 } u;
23658 u.l = 1;
23659 exit (u.c[sizeof (long) - 1] == 1);
23660 }
23661 _ACEOF
23662 rm -f conftest$ac_exeext
23663 if { (ac_try="$ac_link"
23664 case "(($ac_try" in
23665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23666 *) ac_try_echo=$ac_try;;
23667 esac
23668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23669 (eval "$ac_link") 2>&5
23670 ac_status=$?
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23673 { (case "(($ac_try" in
23674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23675 *) ac_try_echo=$ac_try;;
23676 esac
23677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23678 (eval "$ac_try") 2>&5
23679 ac_status=$?
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; }; then
23682 ac_cv_c_bigendian=no
23683 else
23684 echo "$as_me: program exited with status $ac_status" >&5
23685 echo "$as_me: failed program was:" >&5
23686 sed 's/^/| /' conftest.$ac_ext >&5
23687
23688 ( exit $ac_status )
23689 ac_cv_c_bigendian=yes
23690 fi
23691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23692 fi
23693
23694
23695 fi
23696 fi
23697 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23698 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23699 if test $ac_cv_c_bigendian = unknown; then
23700 { 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
23701 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;}
23702 fi
23703 if test $ac_cv_c_bigendian = yes; then
23704 cat >>confdefs.h <<\_ACEOF
23705 #define WORDS_BIGENDIAN 1
23706 _ACEOF
23707
23708 fi
23709
23710
23711
23712
23713 ac_ext=cpp
23714 ac_cpp='$CXXCPP $CPPFLAGS'
23715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23718
23719
23720
23721 for ac_header in iostream
23722 do
23723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23727 echo $ECHO_N "(cached) $ECHO_C" >&6
23728 else
23729 cat >conftest.$ac_ext <<_ACEOF
23730 /* confdefs.h. */
23731 _ACEOF
23732 cat confdefs.h >>conftest.$ac_ext
23733 cat >>conftest.$ac_ext <<_ACEOF
23734 /* end confdefs.h. */
23735
23736
23737 #include <$ac_header>
23738 _ACEOF
23739 rm -f conftest.$ac_objext
23740 if { (ac_try="$ac_compile"
23741 case "(($ac_try" in
23742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23743 *) ac_try_echo=$ac_try;;
23744 esac
23745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23746 (eval "$ac_compile") 2>conftest.er1
23747 ac_status=$?
23748 grep -v '^ *+' conftest.er1 >conftest.err
23749 rm -f conftest.er1
23750 cat conftest.err >&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } && {
23753 test -z "$ac_cxx_werror_flag" ||
23754 test ! -s conftest.err
23755 } && test -s conftest.$ac_objext; then
23756 eval "$as_ac_Header=yes"
23757 else
23758 echo "$as_me: failed program was:" >&5
23759 sed 's/^/| /' conftest.$ac_ext >&5
23760
23761 eval "$as_ac_Header=no"
23762 fi
23763
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 fi
23766 ac_res=`eval echo '${'$as_ac_Header'}'`
23767 { echo "$as_me:$LINENO: result: $ac_res" >&5
23768 echo "${ECHO_T}$ac_res" >&6; }
23769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23770 cat >>confdefs.h <<_ACEOF
23771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23772 _ACEOF
23773
23774 fi
23775
23776 done
23777
23778
23779 if test "$ac_cv_header_iostream" = "yes" ; then
23780 :
23781 else
23782 cat >>confdefs.h <<\_ACEOF
23783 #define wxUSE_IOSTREAMH 1
23784 _ACEOF
23785
23786 fi
23787
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23793
23794
23795
23796
23797 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23798 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23799 if test "${wx_cv_cpp_bool+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 else
23802
23803
23804 ac_ext=cpp
23805 ac_cpp='$CXXCPP $CPPFLAGS'
23806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23809
23810
23811 cat >conftest.$ac_ext <<_ACEOF
23812 /* confdefs.h. */
23813 _ACEOF
23814 cat confdefs.h >>conftest.$ac_ext
23815 cat >>conftest.$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817
23818
23819 int
23820 main ()
23821 {
23822
23823 bool b = true;
23824
23825 return 0;
23826
23827 ;
23828 return 0;
23829 }
23830 _ACEOF
23831 rm -f conftest.$ac_objext
23832 if { (ac_try="$ac_compile"
23833 case "(($ac_try" in
23834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23835 *) ac_try_echo=$ac_try;;
23836 esac
23837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23838 (eval "$ac_compile") 2>conftest.er1
23839 ac_status=$?
23840 grep -v '^ *+' conftest.er1 >conftest.err
23841 rm -f conftest.er1
23842 cat conftest.err >&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } && {
23845 test -z "$ac_cxx_werror_flag" ||
23846 test ! -s conftest.err
23847 } && test -s conftest.$ac_objext; then
23848
23849 wx_cv_cpp_bool=yes
23850
23851 else
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.$ac_ext >&5
23854
23855
23856 wx_cv_cpp_bool=no
23857
23858
23859 fi
23860
23861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23862
23863 ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868
23869
23870 fi
23871 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23872 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23873
23874 if test "$wx_cv_cpp_bool" = "yes"; then
23875 cat >>confdefs.h <<\_ACEOF
23876 #define HAVE_BOOL 1
23877 _ACEOF
23878
23879 fi
23880
23881
23882
23883 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23884 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23885 if test "${wx_cv_explicit+set}" = set; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23887 else
23888
23889
23890 ac_ext=cpp
23891 ac_cpp='$CXXCPP $CPPFLAGS'
23892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23895
23896
23897 cat >conftest.$ac_ext <<_ACEOF
23898 /* confdefs.h. */
23899 _ACEOF
23900 cat confdefs.h >>conftest.$ac_ext
23901 cat >>conftest.$ac_ext <<_ACEOF
23902 /* end confdefs.h. */
23903
23904 class Foo { public: explicit Foo(int) {} };
23905
23906 int
23907 main ()
23908 {
23909
23910 return 0;
23911
23912 ;
23913 return 0;
23914 }
23915 _ACEOF
23916 rm -f conftest.$ac_objext
23917 if { (ac_try="$ac_compile"
23918 case "(($ac_try" in
23919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23920 *) ac_try_echo=$ac_try;;
23921 esac
23922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23923 (eval "$ac_compile") 2>conftest.er1
23924 ac_status=$?
23925 grep -v '^ *+' conftest.er1 >conftest.err
23926 rm -f conftest.er1
23927 cat conftest.err >&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } && {
23930 test -z "$ac_cxx_werror_flag" ||
23931 test ! -s conftest.err
23932 } && test -s conftest.$ac_objext; then
23933
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940
23941 class Foo { public: explicit Foo(int) {} };
23942 static void TakeFoo(const Foo& foo) { }
23943
23944 int
23945 main ()
23946 {
23947
23948 TakeFoo(17);
23949 return 0;
23950
23951 ;
23952 return 0;
23953 }
23954 _ACEOF
23955 rm -f conftest.$ac_objext
23956 if { (ac_try="$ac_compile"
23957 case "(($ac_try" in
23958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23959 *) ac_try_echo=$ac_try;;
23960 esac
23961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23962 (eval "$ac_compile") 2>conftest.er1
23963 ac_status=$?
23964 grep -v '^ *+' conftest.er1 >conftest.err
23965 rm -f conftest.er1
23966 cat conftest.err >&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); } && {
23969 test -z "$ac_cxx_werror_flag" ||
23970 test ! -s conftest.err
23971 } && test -s conftest.$ac_objext; then
23972 wx_cv_explicit=no
23973 else
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23976
23977 wx_cv_explicit=yes
23978
23979 fi
23980
23981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982
23983 else
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.$ac_ext >&5
23986
23987 wx_cv_explicit=no
23988
23989 fi
23990
23991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23992
23993 ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23998
23999
24000 fi
24001 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24002 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24003
24004 if test "$wx_cv_explicit" = "yes"; then
24005 cat >>confdefs.h <<\_ACEOF
24006 #define HAVE_EXPLICIT 1
24007 _ACEOF
24008
24009 fi
24010
24011
24012 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24013 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24014 if test "${ac_cv_cxx_const_cast+set}" = set; then
24015 echo $ECHO_N "(cached) $ECHO_C" >&6
24016 else
24017
24018 ac_ext=cpp
24019 ac_cpp='$CXXCPP $CPPFLAGS'
24020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24023
24024 cat >conftest.$ac_ext <<_ACEOF
24025 /* confdefs.h. */
24026 _ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030
24031 int
24032 main ()
24033 {
24034 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24035 ;
24036 return 0;
24037 }
24038 _ACEOF
24039 rm -f conftest.$ac_objext
24040 if { (ac_try="$ac_compile"
24041 case "(($ac_try" in
24042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24043 *) ac_try_echo=$ac_try;;
24044 esac
24045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24046 (eval "$ac_compile") 2>conftest.er1
24047 ac_status=$?
24048 grep -v '^ *+' conftest.er1 >conftest.err
24049 rm -f conftest.er1
24050 cat conftest.err >&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } && {
24053 test -z "$ac_cxx_werror_flag" ||
24054 test ! -s conftest.err
24055 } && test -s conftest.$ac_objext; then
24056 ac_cv_cxx_const_cast=yes
24057 else
24058 echo "$as_me: failed program was:" >&5
24059 sed 's/^/| /' conftest.$ac_ext >&5
24060
24061 ac_cv_cxx_const_cast=no
24062 fi
24063
24064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24065 ac_ext=c
24066 ac_cpp='$CPP $CPPFLAGS'
24067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24070
24071
24072 fi
24073 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24074 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24075 if test "$ac_cv_cxx_const_cast" = yes; then
24076
24077 cat >>confdefs.h <<\_ACEOF
24078 #define HAVE_CONST_CAST
24079 _ACEOF
24080
24081 fi
24082
24083 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24084 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24085 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24087 else
24088
24089 ac_ext=cpp
24090 ac_cpp='$CXXCPP $CPPFLAGS'
24091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24094
24095 cat >conftest.$ac_ext <<_ACEOF
24096 /* confdefs.h. */
24097 _ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24101 #include <typeinfo>
24102 class Base { public : Base () {} virtual void f () = 0;};
24103 class Derived : public Base { public : Derived () {} virtual void f () {} };
24104 class Unrelated { public : Unrelated () {} };
24105 int g (Unrelated&) { return 0; }
24106 int
24107 main ()
24108 {
24109
24110 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24111 ;
24112 return 0;
24113 }
24114 _ACEOF
24115 rm -f conftest.$ac_objext
24116 if { (ac_try="$ac_compile"
24117 case "(($ac_try" in
24118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24119 *) ac_try_echo=$ac_try;;
24120 esac
24121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24122 (eval "$ac_compile") 2>conftest.er1
24123 ac_status=$?
24124 grep -v '^ *+' conftest.er1 >conftest.err
24125 rm -f conftest.er1
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } && {
24129 test -z "$ac_cxx_werror_flag" ||
24130 test ! -s conftest.err
24131 } && test -s conftest.$ac_objext; then
24132 ac_cv_cxx_reinterpret_cast=yes
24133 else
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.$ac_ext >&5
24136
24137 ac_cv_cxx_reinterpret_cast=no
24138 fi
24139
24140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24141 ac_ext=c
24142 ac_cpp='$CPP $CPPFLAGS'
24143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24146
24147
24148 fi
24149 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24150 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24151 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24152
24153 cat >>confdefs.h <<\_ACEOF
24154 #define HAVE_REINTERPRET_CAST
24155 _ACEOF
24156
24157 fi
24158
24159 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24160 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24161 if test "${ac_cv_cxx_static_cast+set}" = set; then
24162 echo $ECHO_N "(cached) $ECHO_C" >&6
24163 else
24164
24165 ac_ext=cpp
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24170
24171 cat >conftest.$ac_ext <<_ACEOF
24172 /* confdefs.h. */
24173 _ACEOF
24174 cat confdefs.h >>conftest.$ac_ext
24175 cat >>conftest.$ac_ext <<_ACEOF
24176 /* end confdefs.h. */
24177 #include <typeinfo>
24178 class Base { public : Base () {} virtual void f () = 0; };
24179 class Derived : public Base { public : Derived () {} virtual void f () {} };
24180 int g (Derived&) { return 0; }
24181 int
24182 main ()
24183 {
24184
24185 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24186 ;
24187 return 0;
24188 }
24189 _ACEOF
24190 rm -f conftest.$ac_objext
24191 if { (ac_try="$ac_compile"
24192 case "(($ac_try" in
24193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24194 *) ac_try_echo=$ac_try;;
24195 esac
24196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24197 (eval "$ac_compile") 2>conftest.er1
24198 ac_status=$?
24199 grep -v '^ *+' conftest.er1 >conftest.err
24200 rm -f conftest.er1
24201 cat conftest.err >&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } && {
24204 test -z "$ac_cxx_werror_flag" ||
24205 test ! -s conftest.err
24206 } && test -s conftest.$ac_objext; then
24207 ac_cv_cxx_static_cast=yes
24208 else
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.$ac_ext >&5
24211
24212 ac_cv_cxx_static_cast=no
24213 fi
24214
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216 ac_ext=c
24217 ac_cpp='$CPP $CPPFLAGS'
24218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24221
24222
24223 fi
24224 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24225 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24226 if test "$ac_cv_cxx_static_cast" = yes; then
24227
24228 cat >>confdefs.h <<\_ACEOF
24229 #define HAVE_STATIC_CAST
24230 _ACEOF
24231
24232 fi
24233
24234
24235 if test "x$SUNCXX" = xyes; then
24236 CXXFLAGS="-features=tmplife $CXXFLAGS"
24237 fi
24238
24239 if test "x$SUNCC" = xyes; then
24240 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24241 fi
24242
24243 if test "x$SGICC" = "xyes"; then
24244 CFLAGS="-woff 3970 $CFLAGS"
24245 fi
24246 if test "x$SGICXX" = "xyes"; then
24247 CXXFLAGS="-woff 3970 $CXXFLAGS"
24248 fi
24249
24250 if test "x$HPCC" = "xyes"; then
24251 CFLAGS="+W 2011,2450 $CFLAGS"
24252 fi
24253 if test "x$HPCXX" = "xyes"; then
24254 CXXFLAGS="+W 2340 $CXXFLAGS"
24255 fi
24256
24257 if test "x$COMPAQCXX" = "xyes"; then
24258 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24259 fi
24260
24261 ac_ext=cpp
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24266
24267
24268 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24269 if test "$wxUSE_UNICODE" = "yes"; then
24270 std_string="std::wstring"
24271 char_type="wchar_t"
24272 else
24273 std_string="std::string"
24274 char_type="char"
24275 fi
24276
24277 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24278 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24279 if test "${wx_cv_class_stdstring+set}" = set; then
24280 echo $ECHO_N "(cached) $ECHO_C" >&6
24281 else
24282
24283 cat >conftest.$ac_ext <<_ACEOF
24284 /* confdefs.h. */
24285 _ACEOF
24286 cat confdefs.h >>conftest.$ac_ext
24287 cat >>conftest.$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289 #include <string>
24290 int
24291 main ()
24292 {
24293 $std_string foo;
24294 ;
24295 return 0;
24296 }
24297 _ACEOF
24298 rm -f conftest.$ac_objext
24299 if { (ac_try="$ac_compile"
24300 case "(($ac_try" in
24301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24302 *) ac_try_echo=$ac_try;;
24303 esac
24304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24305 (eval "$ac_compile") 2>conftest.er1
24306 ac_status=$?
24307 grep -v '^ *+' conftest.er1 >conftest.err
24308 rm -f conftest.er1
24309 cat conftest.err >&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); } && {
24312 test -z "$ac_cxx_werror_flag" ||
24313 test ! -s conftest.err
24314 } && test -s conftest.$ac_objext; then
24315 wx_cv_class_stdstring=yes
24316 else
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24319
24320 wx_cv_class_stdstring=no
24321
24322 fi
24323
24324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24325
24326
24327 fi
24328 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24329 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24330
24331 if test "$wx_cv_class_stdstring" = yes; then
24332 if test "$wxUSE_UNICODE" = "yes"; then
24333 cat >>confdefs.h <<\_ACEOF
24334 #define HAVE_STD_WSTRING 1
24335 _ACEOF
24336
24337 fi
24338 else
24339 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24340 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24341 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24343 else
24344
24345 cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h. */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351
24352 #ifdef HAVE_WCHAR_H
24353 # ifdef __CYGWIN__
24354 # include <stddef.h>
24355 # endif
24356 # include <wchar.h>
24357 #endif
24358 #ifdef HAVE_STDLIB_H
24359 # include <stdlib.h>
24360 #endif
24361 #include <stdio.h>
24362 #include <string>
24363
24364 int
24365 main ()
24366 {
24367 std::basic_string<$char_type> foo;
24368 const $char_type* dummy = foo.c_str();
24369 ;
24370 return 0;
24371 }
24372 _ACEOF
24373 rm -f conftest.$ac_objext
24374 if { (ac_try="$ac_compile"
24375 case "(($ac_try" in
24376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24377 *) ac_try_echo=$ac_try;;
24378 esac
24379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24380 (eval "$ac_compile") 2>conftest.er1
24381 ac_status=$?
24382 grep -v '^ *+' conftest.er1 >conftest.err
24383 rm -f conftest.er1
24384 cat conftest.err >&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } && {
24387 test -z "$ac_cxx_werror_flag" ||
24388 test ! -s conftest.err
24389 } && test -s conftest.$ac_objext; then
24390 wx_cv_class_stdbasicstring=yes
24391 else
24392 echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.$ac_ext >&5
24394
24395 wx_cv_class_stdbasicstring=no
24396
24397 fi
24398
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400
24401
24402 fi
24403 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24404 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24405
24406 if test "$wx_cv_class_stdbasicstring" != yes; then
24407 if test "$wxUSE_STL" = "yes"; then
24408 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24409 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24410 { (exit 1); exit 1; }; }
24411 elif test "$wxUSE_STD_STRING" = "yes"; then
24412 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24413 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24414 { (exit 1); exit 1; }; }
24415 else
24416 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24417 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24418 wxUSE_STD_STRING=no
24419 fi
24420 fi
24421 fi
24422 fi
24423
24424 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24425 { echo "$as_me:$LINENO: checking for std::istream" >&5
24426 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24427 if test "${ac_cv_type_std__istream+set}" = set; then
24428 echo $ECHO_N "(cached) $ECHO_C" >&6
24429 else
24430 cat >conftest.$ac_ext <<_ACEOF
24431 /* confdefs.h. */
24432 _ACEOF
24433 cat confdefs.h >>conftest.$ac_ext
24434 cat >>conftest.$ac_ext <<_ACEOF
24435 /* end confdefs.h. */
24436 #include <iostream>
24437
24438 typedef std::istream ac__type_new_;
24439 int
24440 main ()
24441 {
24442 if ((ac__type_new_ *) 0)
24443 return 0;
24444 if (sizeof (ac__type_new_))
24445 return 0;
24446 ;
24447 return 0;
24448 }
24449 _ACEOF
24450 rm -f conftest.$ac_objext
24451 if { (ac_try="$ac_compile"
24452 case "(($ac_try" in
24453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24454 *) ac_try_echo=$ac_try;;
24455 esac
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_compile") 2>conftest.er1
24458 ac_status=$?
24459 grep -v '^ *+' conftest.er1 >conftest.err
24460 rm -f conftest.er1
24461 cat conftest.err >&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } && {
24464 test -z "$ac_cxx_werror_flag" ||
24465 test ! -s conftest.err
24466 } && test -s conftest.$ac_objext; then
24467 ac_cv_type_std__istream=yes
24468 else
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.$ac_ext >&5
24471
24472 ac_cv_type_std__istream=no
24473 fi
24474
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 fi
24477 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24478 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24479 if test $ac_cv_type_std__istream = yes; then
24480
24481 cat >>confdefs.h <<_ACEOF
24482 #define HAVE_STD__ISTREAM 1
24483 _ACEOF
24484
24485
24486 else
24487 wxUSE_STD_IOSTREAM=no
24488 fi
24489 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24490 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24491 if test "${ac_cv_type_std__ostream+set}" = set; then
24492 echo $ECHO_N "(cached) $ECHO_C" >&6
24493 else
24494 cat >conftest.$ac_ext <<_ACEOF
24495 /* confdefs.h. */
24496 _ACEOF
24497 cat confdefs.h >>conftest.$ac_ext
24498 cat >>conftest.$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 #include <iostream>
24501
24502 typedef std::ostream ac__type_new_;
24503 int
24504 main ()
24505 {
24506 if ((ac__type_new_ *) 0)
24507 return 0;
24508 if (sizeof (ac__type_new_))
24509 return 0;
24510 ;
24511 return 0;
24512 }
24513 _ACEOF
24514 rm -f conftest.$ac_objext
24515 if { (ac_try="$ac_compile"
24516 case "(($ac_try" in
24517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24518 *) ac_try_echo=$ac_try;;
24519 esac
24520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24521 (eval "$ac_compile") 2>conftest.er1
24522 ac_status=$?
24523 grep -v '^ *+' conftest.er1 >conftest.err
24524 rm -f conftest.er1
24525 cat conftest.err >&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } && {
24528 test -z "$ac_cxx_werror_flag" ||
24529 test ! -s conftest.err
24530 } && test -s conftest.$ac_objext; then
24531 ac_cv_type_std__ostream=yes
24532 else
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.$ac_ext >&5
24535
24536 ac_cv_type_std__ostream=no
24537 fi
24538
24539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24540 fi
24541 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24542 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24543 if test $ac_cv_type_std__ostream = yes; then
24544
24545 cat >>confdefs.h <<_ACEOF
24546 #define HAVE_STD__OSTREAM 1
24547 _ACEOF
24548
24549
24550 else
24551 wxUSE_STD_IOSTREAM=no
24552 fi
24553
24554
24555 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24556 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24557 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24558 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24559 { (exit 1); exit 1; }; }
24560 else
24561 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24562 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24563 fi
24564 fi
24565 fi
24566
24567 if test "$wxUSE_STL" = "yes"; then
24568 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24569 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24570 if test "${wx_cv_lib_stl+set}" = set; then
24571 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 else
24573 cat >conftest.$ac_ext <<_ACEOF
24574 /* confdefs.h. */
24575 _ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24579 #include <string>
24580 #include <functional>
24581 #include <algorithm>
24582 #include <vector>
24583 #include <list>
24584 int
24585 main ()
24586 {
24587 std::vector<int> moo;
24588 std::list<int> foo;
24589 std::vector<int>::iterator it =
24590 std::find_if(moo.begin(), moo.end(),
24591 std::bind2nd(std::less<int>(), 3));
24592 ;
24593 return 0;
24594 }
24595 _ACEOF
24596 rm -f conftest.$ac_objext
24597 if { (ac_try="$ac_compile"
24598 case "(($ac_try" in
24599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24600 *) ac_try_echo=$ac_try;;
24601 esac
24602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24603 (eval "$ac_compile") 2>conftest.er1
24604 ac_status=$?
24605 grep -v '^ *+' conftest.er1 >conftest.err
24606 rm -f conftest.er1
24607 cat conftest.err >&5
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); } && {
24610 test -z "$ac_cxx_werror_flag" ||
24611 test ! -s conftest.err
24612 } && test -s conftest.$ac_objext; then
24613 wx_cv_lib_stl=yes
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24617
24618 wx_cv_lib_stl=no
24619
24620 fi
24621
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623
24624 fi
24625 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24626 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24627
24628 if test "$wx_cv_lib_stl" != yes; then
24629 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24630 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24631 { (exit 1); exit 1; }; }
24632 fi
24633
24634 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24635 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24636 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24637 echo $ECHO_N "(cached) $ECHO_C" >&6
24638 else
24639 cat >conftest.$ac_ext <<_ACEOF
24640 /* confdefs.h. */
24641 _ACEOF
24642 cat confdefs.h >>conftest.$ac_ext
24643 cat >>conftest.$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24645 #include <string>
24646 int
24647 main ()
24648 {
24649 std::string foo, bar;
24650 foo.compare(bar);
24651 foo.compare(1, 1, bar);
24652 foo.compare(1, 1, bar, 1, 1);
24653 foo.compare("");
24654 foo.compare(1, 1, "");
24655 foo.compare(1, 1, "", 2);
24656 ;
24657 return 0;
24658 }
24659 _ACEOF
24660 rm -f conftest.$ac_objext
24661 if { (ac_try="$ac_compile"
24662 case "(($ac_try" in
24663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24664 *) ac_try_echo=$ac_try;;
24665 esac
24666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24667 (eval "$ac_compile") 2>conftest.er1
24668 ac_status=$?
24669 grep -v '^ *+' conftest.er1 >conftest.err
24670 rm -f conftest.er1
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } && {
24674 test -z "$ac_cxx_werror_flag" ||
24675 test ! -s conftest.err
24676 } && test -s conftest.$ac_objext; then
24677 wx_cv_func_stdstring_compare=yes
24678 else
24679 echo "$as_me: failed program was:" >&5
24680 sed 's/^/| /' conftest.$ac_ext >&5
24681
24682 wx_cv_func_stdstring_compare=no
24683
24684 fi
24685
24686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24687
24688 fi
24689 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24690 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24691
24692 if test "$wx_cv_func_stdstring_compare" = yes; then
24693 cat >>confdefs.h <<\_ACEOF
24694 #define HAVE_STD_STRING_COMPARE 1
24695 _ACEOF
24696
24697 fi
24698
24699 { echo "$as_me:$LINENO: checking for hash_map" >&5
24700 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24701 if test "${ac_cv_header_hash_map+set}" = set; then
24702 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 else
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710
24711
24712
24713 #include <hash_map>
24714 _ACEOF
24715 rm -f conftest.$ac_objext
24716 if { (ac_try="$ac_compile"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24720 esac
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_compile") 2>conftest.er1
24723 ac_status=$?
24724 grep -v '^ *+' conftest.er1 >conftest.err
24725 rm -f conftest.er1
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } && {
24729 test -z "$ac_cxx_werror_flag" ||
24730 test ! -s conftest.err
24731 } && test -s conftest.$ac_objext; then
24732 ac_cv_header_hash_map=yes
24733 else
24734 echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24736
24737 ac_cv_header_hash_map=no
24738 fi
24739
24740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24741 fi
24742 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24743 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24744 if test $ac_cv_header_hash_map = yes; then
24745 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24746 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24747 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24748 echo $ECHO_N "(cached) $ECHO_C" >&6
24749 else
24750 cat >conftest.$ac_ext <<_ACEOF
24751 /* confdefs.h. */
24752 _ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756 #include <hash_map>
24757 #include <hash_set>
24758 int
24759 main ()
24760 {
24761 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24762 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24763 ;
24764 return 0;
24765 }
24766 _ACEOF
24767 rm -f conftest.$ac_objext
24768 if { (ac_try="$ac_compile"
24769 case "(($ac_try" in
24770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24771 *) ac_try_echo=$ac_try;;
24772 esac
24773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24774 (eval "$ac_compile") 2>conftest.er1
24775 ac_status=$?
24776 grep -v '^ *+' conftest.er1 >conftest.err
24777 rm -f conftest.er1
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } && {
24781 test -z "$ac_cxx_werror_flag" ||
24782 test ! -s conftest.err
24783 } && test -s conftest.$ac_objext; then
24784 wx_cv_class_stdhashmapset=yes
24785 else
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
24788
24789 wx_cv_class_stdhashmapset=no
24790 fi
24791
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793
24794
24795 fi
24796 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24797 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24798 fi
24799
24800
24801
24802 if test "$wx_cv_class_stdhashmapset" = yes; then
24803 cat >>confdefs.h <<\_ACEOF
24804 #define HAVE_HASH_MAP 1
24805 _ACEOF
24806
24807 cat >>confdefs.h <<\_ACEOF
24808 #define HAVE_STD_HASH_MAP 1
24809 _ACEOF
24810
24811 fi
24812
24813 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24814 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24815 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24816 echo $ECHO_N "(cached) $ECHO_C" >&6
24817 else
24818 cat >conftest.$ac_ext <<_ACEOF
24819 /* confdefs.h. */
24820 _ACEOF
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24824
24825
24826
24827 #include <ext/hash_map>
24828 _ACEOF
24829 rm -f conftest.$ac_objext
24830 if { (ac_try="$ac_compile"
24831 case "(($ac_try" in
24832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24833 *) ac_try_echo=$ac_try;;
24834 esac
24835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24836 (eval "$ac_compile") 2>conftest.er1
24837 ac_status=$?
24838 grep -v '^ *+' conftest.er1 >conftest.err
24839 rm -f conftest.er1
24840 cat conftest.err >&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } && {
24843 test -z "$ac_cxx_werror_flag" ||
24844 test ! -s conftest.err
24845 } && test -s conftest.$ac_objext; then
24846 ac_cv_header_ext_hash_map=yes
24847 else
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24850
24851 ac_cv_header_ext_hash_map=no
24852 fi
24853
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 fi
24856 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24857 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24858 if test $ac_cv_header_ext_hash_map = yes; then
24859 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24860 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24861 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24862 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 else
24864 cat >conftest.$ac_ext <<_ACEOF
24865 /* confdefs.h. */
24866 _ACEOF
24867 cat confdefs.h >>conftest.$ac_ext
24868 cat >>conftest.$ac_ext <<_ACEOF
24869 /* end confdefs.h. */
24870 #include <ext/hash_map>
24871 #include <ext/hash_set>
24872 int
24873 main ()
24874 {
24875 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24876 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24877 ;
24878 return 0;
24879 }
24880 _ACEOF
24881 rm -f conftest.$ac_objext
24882 if { (ac_try="$ac_compile"
24883 case "(($ac_try" in
24884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24885 *) ac_try_echo=$ac_try;;
24886 esac
24887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24888 (eval "$ac_compile") 2>conftest.er1
24889 ac_status=$?
24890 grep -v '^ *+' conftest.er1 >conftest.err
24891 rm -f conftest.er1
24892 cat conftest.err >&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); } && {
24895 test -z "$ac_cxx_werror_flag" ||
24896 test ! -s conftest.err
24897 } && test -s conftest.$ac_objext; then
24898 wx_cv_class_gnuhashmapset=yes
24899 else
24900 echo "$as_me: failed program was:" >&5
24901 sed 's/^/| /' conftest.$ac_ext >&5
24902
24903 wx_cv_class_gnuhashmapset=no
24904 fi
24905
24906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24907
24908
24909 fi
24910 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24911 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24912 fi
24913
24914
24915
24916 if test "$wx_cv_class_gnuhashmapset" = yes; then
24917 cat >>confdefs.h <<\_ACEOF
24918 #define HAVE_EXT_HASH_MAP 1
24919 _ACEOF
24920
24921 cat >>confdefs.h <<\_ACEOF
24922 #define HAVE_GNU_CXX_HASH_MAP 1
24923 _ACEOF
24924
24925 fi
24926 fi
24927
24928
24929
24930 if test -n "$GCC"; then
24931 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24932 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24933 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24935 else
24936
24937 cat >conftest.$ac_ext <<_ACEOF
24938 /* confdefs.h. */
24939 _ACEOF
24940 cat confdefs.h >>conftest.$ac_ext
24941 cat >>conftest.$ac_ext <<_ACEOF
24942 /* end confdefs.h. */
24943
24944 int
24945 main ()
24946 {
24947
24948 unsigned int value=0;
24949 /* wxAtomicInc doesn't use return value here */
24950 __sync_fetch_and_add(&value, 2);
24951 __sync_sub_and_fetch(&value, 1);
24952 /* but wxAtomicDec does, so mimic that: */
24953 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24954
24955 ;
24956 return 0;
24957 }
24958 _ACEOF
24959 rm -f conftest.$ac_objext conftest$ac_exeext
24960 if { (ac_try="$ac_link"
24961 case "(($ac_try" in
24962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24963 *) ac_try_echo=$ac_try;;
24964 esac
24965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24966 (eval "$ac_link") 2>conftest.er1
24967 ac_status=$?
24968 grep -v '^ *+' conftest.er1 >conftest.err
24969 rm -f conftest.er1
24970 cat conftest.err >&5
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } && {
24973 test -z "$ac_cxx_werror_flag" ||
24974 test ! -s conftest.err
24975 } && test -s conftest$ac_exeext &&
24976 $as_test_x conftest$ac_exeext; then
24977 wx_cv_cc_gcc_atomic_builtins=yes
24978 else
24979 echo "$as_me: failed program was:" >&5
24980 sed 's/^/| /' conftest.$ac_ext >&5
24981
24982 wx_cv_cc_gcc_atomic_builtins=no
24983 fi
24984
24985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24986 conftest$ac_exeext conftest.$ac_ext
24987
24988 fi
24989
24990 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24991 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24992 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24993 cat >>confdefs.h <<\_ACEOF
24994 #define HAVE_GCC_ATOMIC_BUILTINS 1
24995 _ACEOF
24996
24997 fi
24998 fi
24999
25000
25001 ac_ext=c
25002 ac_cpp='$CPP $CPPFLAGS'
25003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25006
25007
25008
25009 SEARCH_INCLUDE="\
25010 /usr/local/include \
25011 \
25012 /usr/Motif-2.1/include \
25013 /usr/Motif-1.2/include \
25014 /usr/include/Motif1.2 \
25015 \
25016 /usr/dt/include \
25017 /usr/openwin/include \
25018 \
25019 /usr/include/Xm \
25020 \
25021 /usr/X11R6/include \
25022 /usr/X11R6.4/include \
25023 /usr/X11R5/include \
25024 /usr/X11R4/include \
25025 \
25026 /usr/include/X11R6 \
25027 /usr/include/X11R5 \
25028 /usr/include/X11R4 \
25029 \
25030 /usr/local/X11R6/include \
25031 /usr/local/X11R5/include \
25032 /usr/local/X11R4/include \
25033 \
25034 /usr/local/include/X11R6 \
25035 /usr/local/include/X11R5 \
25036 /usr/local/include/X11R4 \
25037 \
25038 /usr/X11/include \
25039 /usr/include/X11 \
25040 /usr/local/X11/include \
25041 /usr/local/include/X11 \
25042 \
25043 /usr/XFree86/include/X11 \
25044 /usr/pkg/include \
25045 \
25046 /usr/openwin/share/include"
25047
25048 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25049 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25050
25051 case "${host}" in
25052 *-*-irix6* )
25053 if test "${wx_cv_std_libpath+set}" = set; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25055 else
25056
25057 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25058 for e in a so sl dylib dll.a; do
25059 libc="$d/libc.$e"
25060 if test -f $libc; then
25061 save_LIBS="$LIBS"
25062 LIBS="$libc"
25063 cat >conftest.$ac_ext <<_ACEOF
25064 int main() { return 0; }
25065 _ACEOF
25066 rm -f conftest.$ac_objext conftest$ac_exeext
25067 if { (ac_try="$ac_link"
25068 case "(($ac_try" in
25069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25070 *) ac_try_echo=$ac_try;;
25071 esac
25072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25073 (eval "$ac_link") 2>conftest.er1
25074 ac_status=$?
25075 grep -v '^ *+' conftest.er1 >conftest.err
25076 rm -f conftest.er1
25077 cat conftest.err >&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } && {
25080 test -z "$ac_c_werror_flag" ||
25081 test ! -s conftest.err
25082 } && test -s conftest$ac_exeext &&
25083 $as_test_x conftest$ac_exeext; then
25084 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25085 else
25086 echo "$as_me: failed program was:" >&5
25087 sed 's/^/| /' conftest.$ac_ext >&5
25088
25089
25090 fi
25091
25092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25093 conftest$ac_exeext conftest.$ac_ext
25094 LIBS="$save_LIBS"
25095 if test "x$wx_cv_std_libpath" != "x"; then
25096 break 2
25097 fi
25098 fi
25099 done
25100 done
25101 if test "x$wx_cv_std_libpath" = "x"; then
25102 wx_cv_std_libpath="lib"
25103 fi
25104
25105
25106 fi
25107
25108 ;;
25109
25110 *-*-solaris2* )
25111 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25112 wx_cv_std_libpath="lib/64"
25113 else
25114 wx_cv_std_libpath="lib"
25115 fi
25116 ;;
25117
25118 *-*-linux* )
25119 if test "$ac_cv_sizeof_void_p" = 8 -a \
25120 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25121 wx_cv_std_libpath="lib64"
25122 else
25123 wx_cv_std_libpath="lib"
25124 fi
25125 ;;
25126
25127 *)
25128 wx_cv_std_libpath="lib";
25129 ;;
25130 esac
25131
25132 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25133 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25134
25135 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25136
25137 if test "$build" != "$host" -a "$GCC" = yes; then
25138 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25139 cross_root=`dirname $cross_root`
25140 cross_root=`dirname $cross_root`
25141
25142 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25143 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25144 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25145
25146 if test -z "$PKG_CONFIG_PATH"; then
25147 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25148 export PKG_CONFIG_PATH
25149 fi
25150
25151 if test -z "$x_includes" -o "$x_includes" = NONE; then
25152
25153 ac_find_includes=
25154 for ac_dir in $SEARCH_INCLUDE /usr/include;
25155 do
25156 if test -f "$ac_dir/X11/Intrinsic.h"; then
25157 ac_find_includes=$ac_dir
25158 break
25159 fi
25160 done
25161
25162 x_includes=$ac_find_includes
25163 fi
25164 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25165
25166 ac_find_libraries=
25167 for ac_dir in $SEARCH_LIB;
25168 do
25169 for ac_extension in a so sl dylib dll.a; do
25170 if test -f "$ac_dir/libXt.$ac_extension"; then
25171 ac_find_libraries=$ac_dir
25172 break 2
25173 fi
25174 done
25175 done
25176
25177 x_libraries=$ac_find_libraries
25178 fi
25179 fi
25180 fi
25181
25182
25183 cat >confcache <<\_ACEOF
25184 # This file is a shell script that caches the results of configure
25185 # tests run on this system so they can be shared between configure
25186 # scripts and configure runs, see configure's option --config-cache.
25187 # It is not useful on other systems. If it contains results you don't
25188 # want to keep, you may remove or edit it.
25189 #
25190 # config.status only pays attention to the cache file if you give it
25191 # the --recheck option to rerun configure.
25192 #
25193 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25194 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25195 # following values.
25196
25197 _ACEOF
25198
25199 # The following way of writing the cache mishandles newlines in values,
25200 # but we know of no workaround that is simple, portable, and efficient.
25201 # So, we kill variables containing newlines.
25202 # Ultrix sh set writes to stderr and can't be redirected directly,
25203 # and sets the high bit in the cache file unless we assign to the vars.
25204 (
25205 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25206 eval ac_val=\$$ac_var
25207 case $ac_val in #(
25208 *${as_nl}*)
25209 case $ac_var in #(
25210 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25211 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25212 esac
25213 case $ac_var in #(
25214 _ | IFS | as_nl) ;; #(
25215 *) $as_unset $ac_var ;;
25216 esac ;;
25217 esac
25218 done
25219
25220 (set) 2>&1 |
25221 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25222 *${as_nl}ac_space=\ *)
25223 # `set' does not quote correctly, so add quotes (double-quote
25224 # substitution turns \\\\ into \\, and sed turns \\ into \).
25225 sed -n \
25226 "s/'/'\\\\''/g;
25227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25228 ;; #(
25229 *)
25230 # `set' quotes correctly as required by POSIX, so do not add quotes.
25231 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25232 ;;
25233 esac |
25234 sort
25235 ) |
25236 sed '
25237 /^ac_cv_env_/b end
25238 t clear
25239 :clear
25240 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25241 t end
25242 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25243 :end' >>confcache
25244 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25245 if test -w "$cache_file"; then
25246 test "x$cache_file" != "x/dev/null" &&
25247 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25248 echo "$as_me: updating cache $cache_file" >&6;}
25249 cat confcache >$cache_file
25250 else
25251 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25252 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25253 fi
25254 fi
25255 rm -f confcache
25256
25257 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25258 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25259 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25260 if test "${wx_cv_lib_glibc21+set}" = set; then
25261 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 else
25263
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h. */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 #include <features.h>
25271 int
25272 main ()
25273 {
25274
25275 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25276 not glibc 2.1
25277 #endif
25278
25279 ;
25280 return 0;
25281 }
25282 _ACEOF
25283 rm -f conftest.$ac_objext
25284 if { (ac_try="$ac_compile"
25285 case "(($ac_try" in
25286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25287 *) ac_try_echo=$ac_try;;
25288 esac
25289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25290 (eval "$ac_compile") 2>conftest.er1
25291 ac_status=$?
25292 grep -v '^ *+' conftest.er1 >conftest.err
25293 rm -f conftest.er1
25294 cat conftest.err >&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } && {
25297 test -z "$ac_c_werror_flag" ||
25298 test ! -s conftest.err
25299 } && test -s conftest.$ac_objext; then
25300
25301 wx_cv_lib_glibc21=yes
25302
25303 else
25304 echo "$as_me: failed program was:" >&5
25305 sed 's/^/| /' conftest.$ac_ext >&5
25306
25307
25308 wx_cv_lib_glibc21=no
25309
25310
25311 fi
25312
25313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25314
25315 fi
25316 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25317 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25318 if test "$wx_cv_lib_glibc21" = "yes"; then
25319 cat >>confdefs.h <<\_ACEOF
25320 #define wxHAVE_GLIBC2 1
25321 _ACEOF
25322
25323 fi
25324 fi
25325
25326 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25327 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25328 cat >>confdefs.h <<\_ACEOF
25329 #define _GNU_SOURCE 1
25330 _ACEOF
25331
25332 fi
25333 fi
25334
25335 have_cos=0
25336 have_floor=0
25337
25338 for ac_func in cos
25339 do
25340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 else
25346 cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h. */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25354 #define $ac_func innocuous_$ac_func
25355
25356 /* System header to define __stub macros and hopefully few prototypes,
25357 which can conflict with char $ac_func (); below.
25358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25359 <limits.h> exists even on freestanding compilers. */
25360
25361 #ifdef __STDC__
25362 # include <limits.h>
25363 #else
25364 # include <assert.h>
25365 #endif
25366
25367 #undef $ac_func
25368
25369 /* Override any GCC internal prototype to avoid an error.
25370 Use char because int might match the return type of a GCC
25371 builtin and then its argument prototype would still apply. */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 char $ac_func ();
25376 /* The GNU C library defines this for functions which it implements
25377 to always fail with ENOSYS. Some functions are actually named
25378 something starting with __ and the normal name is an alias. */
25379 #if defined __stub_$ac_func || defined __stub___$ac_func
25380 choke me
25381 #endif
25382
25383 int
25384 main ()
25385 {
25386 return $ac_func ();
25387 ;
25388 return 0;
25389 }
25390 _ACEOF
25391 rm -f conftest.$ac_objext conftest$ac_exeext
25392 if { (ac_try="$ac_link"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25396 esac
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_link") 2>conftest.er1
25399 ac_status=$?
25400 grep -v '^ *+' conftest.er1 >conftest.err
25401 rm -f conftest.er1
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } && {
25405 test -z "$ac_c_werror_flag" ||
25406 test ! -s conftest.err
25407 } && test -s conftest$ac_exeext &&
25408 $as_test_x conftest$ac_exeext; then
25409 eval "$as_ac_var=yes"
25410 else
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25413
25414 eval "$as_ac_var=no"
25415 fi
25416
25417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25418 conftest$ac_exeext conftest.$ac_ext
25419 fi
25420 ac_res=`eval echo '${'$as_ac_var'}'`
25421 { echo "$as_me:$LINENO: result: $ac_res" >&5
25422 echo "${ECHO_T}$ac_res" >&6; }
25423 if test `eval echo '${'$as_ac_var'}'` = yes; then
25424 cat >>confdefs.h <<_ACEOF
25425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25426 _ACEOF
25427 have_cos=1
25428 fi
25429 done
25430
25431
25432 for ac_func in floor
25433 do
25434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 else
25440 cat >conftest.$ac_ext <<_ACEOF
25441 /* confdefs.h. */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25448 #define $ac_func innocuous_$ac_func
25449
25450 /* System header to define __stub macros and hopefully few prototypes,
25451 which can conflict with char $ac_func (); below.
25452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25453 <limits.h> exists even on freestanding compilers. */
25454
25455 #ifdef __STDC__
25456 # include <limits.h>
25457 #else
25458 # include <assert.h>
25459 #endif
25460
25461 #undef $ac_func
25462
25463 /* Override any GCC internal prototype to avoid an error.
25464 Use char because int might match the return type of a GCC
25465 builtin and then its argument prototype would still apply. */
25466 #ifdef __cplusplus
25467 extern "C"
25468 #endif
25469 char $ac_func ();
25470 /* The GNU C library defines this for functions which it implements
25471 to always fail with ENOSYS. Some functions are actually named
25472 something starting with __ and the normal name is an alias. */
25473 #if defined __stub_$ac_func || defined __stub___$ac_func
25474 choke me
25475 #endif
25476
25477 int
25478 main ()
25479 {
25480 return $ac_func ();
25481 ;
25482 return 0;
25483 }
25484 _ACEOF
25485 rm -f conftest.$ac_objext conftest$ac_exeext
25486 if { (ac_try="$ac_link"
25487 case "(($ac_try" in
25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25490 esac
25491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492 (eval "$ac_link") 2>conftest.er1
25493 ac_status=$?
25494 grep -v '^ *+' conftest.er1 >conftest.err
25495 rm -f conftest.er1
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } && {
25499 test -z "$ac_c_werror_flag" ||
25500 test ! -s conftest.err
25501 } && test -s conftest$ac_exeext &&
25502 $as_test_x conftest$ac_exeext; then
25503 eval "$as_ac_var=yes"
25504 else
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.$ac_ext >&5
25507
25508 eval "$as_ac_var=no"
25509 fi
25510
25511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25512 conftest$ac_exeext conftest.$ac_ext
25513 fi
25514 ac_res=`eval echo '${'$as_ac_var'}'`
25515 { echo "$as_me:$LINENO: result: $ac_res" >&5
25516 echo "${ECHO_T}$ac_res" >&6; }
25517 if test `eval echo '${'$as_ac_var'}'` = yes; then
25518 cat >>confdefs.h <<_ACEOF
25519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25520 _ACEOF
25521 have_floor=1
25522 fi
25523 done
25524
25525 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25526 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25527 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25528 { echo "$as_me:$LINENO: result: yes" >&5
25529 echo "${ECHO_T}yes" >&6; }
25530 else
25531 { echo "$as_me:$LINENO: result: no" >&5
25532 echo "${ECHO_T}no" >&6; }
25533 LIBS="$LIBS -lm"
25534 # use different functions to avoid configure caching
25535 have_sin=0
25536 have_ceil=0
25537
25538 for ac_func in sin
25539 do
25540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546 cat >conftest.$ac_ext <<_ACEOF
25547 /* confdefs.h. */
25548 _ACEOF
25549 cat confdefs.h >>conftest.$ac_ext
25550 cat >>conftest.$ac_ext <<_ACEOF
25551 /* end confdefs.h. */
25552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25554 #define $ac_func innocuous_$ac_func
25555
25556 /* System header to define __stub macros and hopefully few prototypes,
25557 which can conflict with char $ac_func (); below.
25558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25559 <limits.h> exists even on freestanding compilers. */
25560
25561 #ifdef __STDC__
25562 # include <limits.h>
25563 #else
25564 # include <assert.h>
25565 #endif
25566
25567 #undef $ac_func
25568
25569 /* Override any GCC internal prototype to avoid an error.
25570 Use char because int might match the return type of a GCC
25571 builtin and then its argument prototype would still apply. */
25572 #ifdef __cplusplus
25573 extern "C"
25574 #endif
25575 char $ac_func ();
25576 /* The GNU C library defines this for functions which it implements
25577 to always fail with ENOSYS. Some functions are actually named
25578 something starting with __ and the normal name is an alias. */
25579 #if defined __stub_$ac_func || defined __stub___$ac_func
25580 choke me
25581 #endif
25582
25583 int
25584 main ()
25585 {
25586 return $ac_func ();
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 rm -f conftest.$ac_objext conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25596 esac
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>conftest.er1
25599 ac_status=$?
25600 grep -v '^ *+' conftest.er1 >conftest.err
25601 rm -f conftest.er1
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest$ac_exeext &&
25608 $as_test_x conftest$ac_exeext; then
25609 eval "$as_ac_var=yes"
25610 else
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.$ac_ext >&5
25613
25614 eval "$as_ac_var=no"
25615 fi
25616
25617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25618 conftest$ac_exeext conftest.$ac_ext
25619 fi
25620 ac_res=`eval echo '${'$as_ac_var'}'`
25621 { echo "$as_me:$LINENO: result: $ac_res" >&5
25622 echo "${ECHO_T}$ac_res" >&6; }
25623 if test `eval echo '${'$as_ac_var'}'` = yes; then
25624 cat >>confdefs.h <<_ACEOF
25625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25626 _ACEOF
25627 have_sin=1
25628 fi
25629 done
25630
25631
25632 for ac_func in ceil
25633 do
25634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 else
25640 cat >conftest.$ac_ext <<_ACEOF
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25648 #define $ac_func innocuous_$ac_func
25649
25650 /* System header to define __stub macros and hopefully few prototypes,
25651 which can conflict with char $ac_func (); below.
25652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25653 <limits.h> exists even on freestanding compilers. */
25654
25655 #ifdef __STDC__
25656 # include <limits.h>
25657 #else
25658 # include <assert.h>
25659 #endif
25660
25661 #undef $ac_func
25662
25663 /* Override any GCC internal prototype to avoid an error.
25664 Use char because int might match the return type of a GCC
25665 builtin and then its argument prototype would still apply. */
25666 #ifdef __cplusplus
25667 extern "C"
25668 #endif
25669 char $ac_func ();
25670 /* The GNU C library defines this for functions which it implements
25671 to always fail with ENOSYS. Some functions are actually named
25672 something starting with __ and the normal name is an alias. */
25673 #if defined __stub_$ac_func || defined __stub___$ac_func
25674 choke me
25675 #endif
25676
25677 int
25678 main ()
25679 {
25680 return $ac_func ();
25681 ;
25682 return 0;
25683 }
25684 _ACEOF
25685 rm -f conftest.$ac_objext conftest$ac_exeext
25686 if { (ac_try="$ac_link"
25687 case "(($ac_try" in
25688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25689 *) ac_try_echo=$ac_try;;
25690 esac
25691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25692 (eval "$ac_link") 2>conftest.er1
25693 ac_status=$?
25694 grep -v '^ *+' conftest.er1 >conftest.err
25695 rm -f conftest.er1
25696 cat conftest.err >&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } && {
25699 test -z "$ac_c_werror_flag" ||
25700 test ! -s conftest.err
25701 } && test -s conftest$ac_exeext &&
25702 $as_test_x conftest$ac_exeext; then
25703 eval "$as_ac_var=yes"
25704 else
25705 echo "$as_me: failed program was:" >&5
25706 sed 's/^/| /' conftest.$ac_ext >&5
25707
25708 eval "$as_ac_var=no"
25709 fi
25710
25711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25712 conftest$ac_exeext conftest.$ac_ext
25713 fi
25714 ac_res=`eval echo '${'$as_ac_var'}'`
25715 { echo "$as_me:$LINENO: result: $ac_res" >&5
25716 echo "${ECHO_T}$ac_res" >&6; }
25717 if test `eval echo '${'$as_ac_var'}'` = yes; then
25718 cat >>confdefs.h <<_ACEOF
25719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25720 _ACEOF
25721 have_ceil=1
25722 fi
25723 done
25724
25725 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25726 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25727 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25728 { echo "$as_me:$LINENO: result: yes" >&5
25729 echo "${ECHO_T}yes" >&6; }
25730 else
25731 { echo "$as_me:$LINENO: result: no" >&5
25732 echo "${ECHO_T}no" >&6; }
25733 # not sure we should warn the user, crash, etc.
25734 fi
25735 fi
25736
25737 ac_ext=cpp
25738 ac_cpp='$CXXCPP $CPPFLAGS'
25739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25742
25743 if test "wxUSE_UNICODE" = "yes"; then
25744
25745 for wx_func in wcstoull
25746 do
25747 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25748 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25749 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 else
25752
25753 cat >conftest.$ac_ext <<_ACEOF
25754
25755 /* confdefs.h. */
25756 _ACEOF
25757 cat confdefs.h >>conftest.$ac_ext
25758 cat >>conftest.$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25760
25761
25762 $ac_includes_default
25763
25764 int
25765 main ()
25766 {
25767
25768 #ifndef $wx_func
25769 &$wx_func;
25770 #endif
25771
25772
25773 ;
25774 return 0;
25775 }
25776
25777 _ACEOF
25778 rm -f conftest.$ac_objext conftest$ac_exeext
25779 if { (ac_try="$ac_link"
25780 case "(($ac_try" in
25781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25782 *) ac_try_echo=$ac_try;;
25783 esac
25784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25785 (eval "$ac_link") 2>conftest.er1
25786 ac_status=$?
25787 grep -v '^ *+' conftest.er1 >conftest.err
25788 rm -f conftest.er1
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } && {
25792 test -z "$ac_cxx_werror_flag" ||
25793 test ! -s conftest.err
25794 } && test -s conftest$ac_exeext &&
25795 $as_test_x conftest$ac_exeext; then
25796 eval wx_cv_func_$wx_func=yes
25797 else
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.$ac_ext >&5
25800
25801 eval wx_cv_func_$wx_func=no
25802 fi
25803
25804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25805 conftest$ac_exeext conftest.$ac_ext
25806
25807 fi
25808 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25809 { echo "$as_me:$LINENO: result: $ac_res" >&5
25810 echo "${ECHO_T}$ac_res" >&6; }
25811
25812 if eval test \$wx_cv_func_$wx_func = yes
25813 then
25814 cat >>confdefs.h <<_ACEOF
25815 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25816 _ACEOF
25817
25818
25819 else
25820 :
25821
25822 fi
25823 done
25824
25825 else
25826
25827 for wx_func in strtoull
25828 do
25829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 else
25834
25835 cat >conftest.$ac_ext <<_ACEOF
25836
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842
25843
25844 $ac_includes_default
25845
25846 int
25847 main ()
25848 {
25849
25850 #ifndef $wx_func
25851 &$wx_func;
25852 #endif
25853
25854
25855 ;
25856 return 0;
25857 }
25858
25859 _ACEOF
25860 rm -f conftest.$ac_objext conftest$ac_exeext
25861 if { (ac_try="$ac_link"
25862 case "(($ac_try" in
25863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25864 *) ac_try_echo=$ac_try;;
25865 esac
25866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25867 (eval "$ac_link") 2>conftest.er1
25868 ac_status=$?
25869 grep -v '^ *+' conftest.er1 >conftest.err
25870 rm -f conftest.er1
25871 cat conftest.err >&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } && {
25874 test -z "$ac_cxx_werror_flag" ||
25875 test ! -s conftest.err
25876 } && test -s conftest$ac_exeext &&
25877 $as_test_x conftest$ac_exeext; then
25878 eval wx_cv_func_$wx_func=yes
25879 else
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 eval wx_cv_func_$wx_func=no
25884 fi
25885
25886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25887 conftest$ac_exeext conftest.$ac_ext
25888
25889 fi
25890 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25891 { echo "$as_me:$LINENO: result: $ac_res" >&5
25892 echo "${ECHO_T}$ac_res" >&6; }
25893
25894 if eval test \$wx_cv_func_$wx_func = yes
25895 then
25896 cat >>confdefs.h <<_ACEOF
25897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25898 _ACEOF
25899
25900
25901 else
25902 :
25903
25904 fi
25905 done
25906
25907 fi
25908 ac_ext=c
25909 ac_cpp='$CPP $CPPFLAGS'
25910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25913
25914
25915
25916
25917 if test "$wxUSE_REGEX" != "no"; then
25918 cat >>confdefs.h <<\_ACEOF
25919 #define wxUSE_REGEX 1
25920 _ACEOF
25921
25922
25923 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25924 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
25925 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
25926 wxUSE_REGEX=builtin
25927 fi
25928
25929 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25930 { echo "$as_me:$LINENO: checking for regex.h" >&5
25931 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25932 if test "${ac_cv_header_regex_h+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25934 else
25935 cat >conftest.$ac_ext <<_ACEOF
25936 /* confdefs.h. */
25937 _ACEOF
25938 cat confdefs.h >>conftest.$ac_ext
25939 cat >>conftest.$ac_ext <<_ACEOF
25940 /* end confdefs.h. */
25941
25942
25943 #include <regex.h>
25944 _ACEOF
25945 rm -f conftest.$ac_objext
25946 if { (ac_try="$ac_compile"
25947 case "(($ac_try" in
25948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25949 *) ac_try_echo=$ac_try;;
25950 esac
25951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25952 (eval "$ac_compile") 2>conftest.er1
25953 ac_status=$?
25954 grep -v '^ *+' conftest.er1 >conftest.err
25955 rm -f conftest.er1
25956 cat conftest.err >&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } && {
25959 test -z "$ac_c_werror_flag" ||
25960 test ! -s conftest.err
25961 } && test -s conftest.$ac_objext; then
25962 ac_cv_header_regex_h=yes
25963 else
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.$ac_ext >&5
25966
25967 ac_cv_header_regex_h=no
25968 fi
25969
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971 fi
25972 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25973 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25974 if test $ac_cv_header_regex_h = yes; then
25975
25976
25977 for ac_func in regcomp re_search
25978 do
25979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25980 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25982 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 else
25985 cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h. */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25993 #define $ac_func innocuous_$ac_func
25994
25995 /* System header to define __stub macros and hopefully few prototypes,
25996 which can conflict with char $ac_func (); below.
25997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25998 <limits.h> exists even on freestanding compilers. */
25999
26000 #ifdef __STDC__
26001 # include <limits.h>
26002 #else
26003 # include <assert.h>
26004 #endif
26005
26006 #undef $ac_func
26007
26008 /* Override any GCC internal prototype to avoid an error.
26009 Use char because int might match the return type of a GCC
26010 builtin and then its argument prototype would still apply. */
26011 #ifdef __cplusplus
26012 extern "C"
26013 #endif
26014 char $ac_func ();
26015 /* The GNU C library defines this for functions which it implements
26016 to always fail with ENOSYS. Some functions are actually named
26017 something starting with __ and the normal name is an alias. */
26018 #if defined __stub_$ac_func || defined __stub___$ac_func
26019 choke me
26020 #endif
26021
26022 int
26023 main ()
26024 {
26025 return $ac_func ();
26026 ;
26027 return 0;
26028 }
26029 _ACEOF
26030 rm -f conftest.$ac_objext conftest$ac_exeext
26031 if { (ac_try="$ac_link"
26032 case "(($ac_try" in
26033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26034 *) ac_try_echo=$ac_try;;
26035 esac
26036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26037 (eval "$ac_link") 2>conftest.er1
26038 ac_status=$?
26039 grep -v '^ *+' conftest.er1 >conftest.err
26040 rm -f conftest.er1
26041 cat conftest.err >&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); } && {
26044 test -z "$ac_c_werror_flag" ||
26045 test ! -s conftest.err
26046 } && test -s conftest$ac_exeext &&
26047 $as_test_x conftest$ac_exeext; then
26048 eval "$as_ac_var=yes"
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053 eval "$as_ac_var=no"
26054 fi
26055
26056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26057 conftest$ac_exeext conftest.$ac_ext
26058 fi
26059 ac_res=`eval echo '${'$as_ac_var'}'`
26060 { echo "$as_me:$LINENO: result: $ac_res" >&5
26061 echo "${ECHO_T}$ac_res" >&6; }
26062 if test `eval echo '${'$as_ac_var'}'` = yes; then
26063 cat >>confdefs.h <<_ACEOF
26064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26065 _ACEOF
26066
26067 fi
26068 done
26069
26070 fi
26071
26072
26073
26074 if test "x$ac_cv_func_regcomp" != "xyes"; then
26075 if test "$wxUSE_REGEX" = "sys" ; then
26076 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26077 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26078 { (exit 1); exit 1; }; }
26079 else
26080 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26081 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26082 wxUSE_REGEX=builtin
26083 fi
26084 else
26085 wxUSE_REGEX=sys
26086 cat >>confdefs.h <<\_ACEOF
26087 #define WX_NO_REGEX_ADVANCED 1
26088 _ACEOF
26089
26090 fi
26091 fi
26092 fi
26093
26094
26095 ZLIB_LINK=
26096 if test "$wxUSE_ZLIB" != "no" ; then
26097 cat >>confdefs.h <<\_ACEOF
26098 #define wxUSE_ZLIB 1
26099 _ACEOF
26100
26101
26102 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26103 if test "$USE_DARWIN" = 1; then
26104 system_zlib_h_ok="yes"
26105 else
26106 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26107 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26108 if test "${ac_cv_header_zlib_h+set}" = set; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26111 if test "$cross_compiling" = yes; then
26112 unset ac_cv_header_zlib_h
26113
26114 else
26115 cat >conftest.$ac_ext <<_ACEOF
26116 /* confdefs.h. */
26117 _ACEOF
26118 cat confdefs.h >>conftest.$ac_ext
26119 cat >>conftest.$ac_ext <<_ACEOF
26120 /* end confdefs.h. */
26121
26122 #include <zlib.h>
26123 #include <stdio.h>
26124
26125 int main()
26126 {
26127 FILE *f=fopen("conftestval", "w");
26128 if (!f) exit(1);
26129 fprintf(f, "%s",
26130 ZLIB_VERSION[0] == '1' &&
26131 (ZLIB_VERSION[2] > '1' ||
26132 (ZLIB_VERSION[2] == '1' &&
26133 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26134 exit(0);
26135 }
26136
26137 _ACEOF
26138 rm -f conftest$ac_exeext
26139 if { (ac_try="$ac_link"
26140 case "(($ac_try" in
26141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26142 *) ac_try_echo=$ac_try;;
26143 esac
26144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26145 (eval "$ac_link") 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26149 { (case "(($ac_try" in
26150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26151 *) ac_try_echo=$ac_try;;
26152 esac
26153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26154 (eval "$ac_try") 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; }; then
26158 ac_cv_header_zlib_h=`cat conftestval`
26159 else
26160 echo "$as_me: program exited with status $ac_status" >&5
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164 ( exit $ac_status )
26165 ac_cv_header_zlib_h=no
26166 fi
26167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26168 fi
26169
26170
26171
26172 fi
26173 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26174 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26175 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26176 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26177 if test "${ac_cv_header_zlib_h+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 else
26180 cat >conftest.$ac_ext <<_ACEOF
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186
26187
26188 #include <zlib.h>
26189 _ACEOF
26190 rm -f conftest.$ac_objext
26191 if { (ac_try="$ac_compile"
26192 case "(($ac_try" in
26193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26194 *) ac_try_echo=$ac_try;;
26195 esac
26196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26197 (eval "$ac_compile") 2>conftest.er1
26198 ac_status=$?
26199 grep -v '^ *+' conftest.er1 >conftest.err
26200 rm -f conftest.er1
26201 cat conftest.err >&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } && {
26204 test -z "$ac_c_werror_flag" ||
26205 test ! -s conftest.err
26206 } && test -s conftest.$ac_objext; then
26207 ac_cv_header_zlib_h=yes
26208 else
26209 echo "$as_me: failed program was:" >&5
26210 sed 's/^/| /' conftest.$ac_ext >&5
26211
26212 ac_cv_header_zlib_h=no
26213 fi
26214
26215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26216 fi
26217 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26218 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26219
26220
26221
26222 system_zlib_h_ok=$ac_cv_header_zlib_h
26223 fi
26224
26225 if test "$system_zlib_h_ok" = "yes"; then
26226 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26227 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26228 if test "${ac_cv_lib_z_deflate+set}" = set; then
26229 echo $ECHO_N "(cached) $ECHO_C" >&6
26230 else
26231 ac_check_lib_save_LIBS=$LIBS
26232 LIBS="-lz $LIBS"
26233 cat >conftest.$ac_ext <<_ACEOF
26234 /* confdefs.h. */
26235 _ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239
26240 /* Override any GCC internal prototype to avoid an error.
26241 Use char because int might match the return type of a GCC
26242 builtin and then its argument prototype would still apply. */
26243 #ifdef __cplusplus
26244 extern "C"
26245 #endif
26246 char deflate ();
26247 int
26248 main ()
26249 {
26250 return deflate ();
26251 ;
26252 return 0;
26253 }
26254 _ACEOF
26255 rm -f conftest.$ac_objext conftest$ac_exeext
26256 if { (ac_try="$ac_link"
26257 case "(($ac_try" in
26258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26259 *) ac_try_echo=$ac_try;;
26260 esac
26261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26262 (eval "$ac_link") 2>conftest.er1
26263 ac_status=$?
26264 grep -v '^ *+' conftest.er1 >conftest.err
26265 rm -f conftest.er1
26266 cat conftest.err >&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } && {
26269 test -z "$ac_c_werror_flag" ||
26270 test ! -s conftest.err
26271 } && test -s conftest$ac_exeext &&
26272 $as_test_x conftest$ac_exeext; then
26273 ac_cv_lib_z_deflate=yes
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 ac_cv_lib_z_deflate=no
26279 fi
26280
26281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26282 conftest$ac_exeext conftest.$ac_ext
26283 LIBS=$ac_check_lib_save_LIBS
26284 fi
26285 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26286 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26287 if test $ac_cv_lib_z_deflate = yes; then
26288 ZLIB_LINK=" -lz"
26289 fi
26290
26291 fi
26292
26293 if test "x$ZLIB_LINK" = "x" ; then
26294 if test "$wxUSE_ZLIB" = "sys" ; then
26295 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26296 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26297 { (exit 1); exit 1; }; }
26298 else
26299 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26300 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26301 wxUSE_ZLIB=builtin
26302 fi
26303 else
26304 wxUSE_ZLIB=sys
26305 fi
26306 fi
26307 fi
26308
26309
26310 PNG_LINK=
26311 if test "$wxUSE_LIBPNG" != "no" ; then
26312 cat >>confdefs.h <<\_ACEOF
26313 #define wxUSE_LIBPNG 1
26314 _ACEOF
26315
26316
26317 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26318 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26319 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26320 wxUSE_LIBPNG=sys
26321 fi
26322
26323 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26324 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26325 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26326 wxUSE_LIBPNG=builtin
26327 fi
26328
26329 if test "$wxUSE_MGL" != 1 ; then
26330 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26331 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26332 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26333 if test "${ac_cv_header_png_h+set}" = set; then
26334 echo $ECHO_N "(cached) $ECHO_C" >&6
26335 else
26336 if test "$cross_compiling" = yes; then
26337 unset ac_cv_header_png_h
26338
26339 else
26340 cat >conftest.$ac_ext <<_ACEOF
26341 /* confdefs.h. */
26342 _ACEOF
26343 cat confdefs.h >>conftest.$ac_ext
26344 cat >>conftest.$ac_ext <<_ACEOF
26345 /* end confdefs.h. */
26346
26347 #include <png.h>
26348 #include <stdio.h>
26349
26350 int main()
26351 {
26352 FILE *f=fopen("conftestval", "w");
26353 if (!f) exit(1);
26354 fprintf(f, "%s",
26355 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26356 exit(0);
26357 }
26358
26359 _ACEOF
26360 rm -f conftest$ac_exeext
26361 if { (ac_try="$ac_link"
26362 case "(($ac_try" in
26363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26364 *) ac_try_echo=$ac_try;;
26365 esac
26366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26367 (eval "$ac_link") 2>&5
26368 ac_status=$?
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26371 { (case "(($ac_try" in
26372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26373 *) ac_try_echo=$ac_try;;
26374 esac
26375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26376 (eval "$ac_try") 2>&5
26377 ac_status=$?
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); }; }; then
26380 ac_cv_header_png_h=`cat conftestval`
26381 else
26382 echo "$as_me: program exited with status $ac_status" >&5
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.$ac_ext >&5
26385
26386 ( exit $ac_status )
26387 ac_cv_header_png_h=no
26388 fi
26389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26390 fi
26391
26392
26393
26394 fi
26395 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26396 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26397 { echo "$as_me:$LINENO: checking for png.h" >&5
26398 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26399 if test "${ac_cv_header_png_h+set}" = set; then
26400 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 else
26402 cat >conftest.$ac_ext <<_ACEOF
26403 /* confdefs.h. */
26404 _ACEOF
26405 cat confdefs.h >>conftest.$ac_ext
26406 cat >>conftest.$ac_ext <<_ACEOF
26407 /* end confdefs.h. */
26408
26409
26410 #include <png.h>
26411 _ACEOF
26412 rm -f conftest.$ac_objext
26413 if { (ac_try="$ac_compile"
26414 case "(($ac_try" in
26415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26416 *) ac_try_echo=$ac_try;;
26417 esac
26418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26419 (eval "$ac_compile") 2>conftest.er1
26420 ac_status=$?
26421 grep -v '^ *+' conftest.er1 >conftest.err
26422 rm -f conftest.er1
26423 cat conftest.err >&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } && {
26426 test -z "$ac_c_werror_flag" ||
26427 test ! -s conftest.err
26428 } && test -s conftest.$ac_objext; then
26429 ac_cv_header_png_h=yes
26430 else
26431 echo "$as_me: failed program was:" >&5
26432 sed 's/^/| /' conftest.$ac_ext >&5
26433
26434 ac_cv_header_png_h=no
26435 fi
26436
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438 fi
26439 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26441
26442
26443
26444 if test "$ac_cv_header_png_h" = "yes"; then
26445 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26446 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26447 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26449 else
26450 ac_check_lib_save_LIBS=$LIBS
26451 LIBS="-lpng -lz -lm $LIBS"
26452 cat >conftest.$ac_ext <<_ACEOF
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458
26459 /* Override any GCC internal prototype to avoid an error.
26460 Use char because int might match the return type of a GCC
26461 builtin and then its argument prototype would still apply. */
26462 #ifdef __cplusplus
26463 extern "C"
26464 #endif
26465 char png_check_sig ();
26466 int
26467 main ()
26468 {
26469 return png_check_sig ();
26470 ;
26471 return 0;
26472 }
26473 _ACEOF
26474 rm -f conftest.$ac_objext conftest$ac_exeext
26475 if { (ac_try="$ac_link"
26476 case "(($ac_try" in
26477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26478 *) ac_try_echo=$ac_try;;
26479 esac
26480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26481 (eval "$ac_link") 2>conftest.er1
26482 ac_status=$?
26483 grep -v '^ *+' conftest.er1 >conftest.err
26484 rm -f conftest.er1
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } && {
26488 test -z "$ac_c_werror_flag" ||
26489 test ! -s conftest.err
26490 } && test -s conftest$ac_exeext &&
26491 $as_test_x conftest$ac_exeext; then
26492 ac_cv_lib_png_png_check_sig=yes
26493 else
26494 echo "$as_me: failed program was:" >&5
26495 sed 's/^/| /' conftest.$ac_ext >&5
26496
26497 ac_cv_lib_png_png_check_sig=no
26498 fi
26499
26500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26501 conftest$ac_exeext conftest.$ac_ext
26502 LIBS=$ac_check_lib_save_LIBS
26503 fi
26504 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26505 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26506 if test $ac_cv_lib_png_png_check_sig = yes; then
26507 PNG_LINK=" -lpng -lz"
26508 fi
26509
26510 fi
26511
26512 if test "x$PNG_LINK" = "x" ; then
26513 if test "$wxUSE_LIBPNG" = "sys" ; then
26514 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26515 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26516 { (exit 1); exit 1; }; }
26517 else
26518 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26519 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26520 wxUSE_LIBPNG=builtin
26521 fi
26522 else
26523 wxUSE_LIBPNG=sys
26524 fi
26525 fi
26526 fi
26527 fi
26528
26529
26530 JPEG_LINK=
26531 if test "$wxUSE_LIBJPEG" != "no" ; then
26532 cat >>confdefs.h <<\_ACEOF
26533 #define wxUSE_LIBJPEG 1
26534 _ACEOF
26535
26536
26537 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26538 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26539 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26540 wxUSE_LIBJPEG=sys
26541 fi
26542
26543 if test "$wxUSE_MGL" != 1 ; then
26544 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26545 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26546 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26547 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26548 echo $ECHO_N "(cached) $ECHO_C" >&6
26549 else
26550 cat >conftest.$ac_ext <<_ACEOF
26551 /* confdefs.h. */
26552 _ACEOF
26553 cat confdefs.h >>conftest.$ac_ext
26554 cat >>conftest.$ac_ext <<_ACEOF
26555 /* end confdefs.h. */
26556
26557 #undef HAVE_STDLIB_H
26558 #include <stdio.h>
26559 #include <jpeglib.h>
26560
26561 int
26562 main ()
26563 {
26564
26565
26566 ;
26567 return 0;
26568 }
26569 _ACEOF
26570 rm -f conftest.$ac_objext
26571 if { (ac_try="$ac_compile"
26572 case "(($ac_try" in
26573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26574 *) ac_try_echo=$ac_try;;
26575 esac
26576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26577 (eval "$ac_compile") 2>conftest.er1
26578 ac_status=$?
26579 grep -v '^ *+' conftest.er1 >conftest.err
26580 rm -f conftest.er1
26581 cat conftest.err >&5
26582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26583 (exit $ac_status); } && {
26584 test -z "$ac_c_werror_flag" ||
26585 test ! -s conftest.err
26586 } && test -s conftest.$ac_objext; then
26587 ac_cv_header_jpeglib_h=yes
26588 else
26589 echo "$as_me: failed program was:" >&5
26590 sed 's/^/| /' conftest.$ac_ext >&5
26591
26592 ac_cv_header_jpeglib_h=no
26593
26594 fi
26595
26596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26597
26598 fi
26599
26600 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26601 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26602
26603 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26604 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26605 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26606 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 else
26609 ac_check_lib_save_LIBS=$LIBS
26610 LIBS="-ljpeg $LIBS"
26611 cat >conftest.$ac_ext <<_ACEOF
26612 /* confdefs.h. */
26613 _ACEOF
26614 cat confdefs.h >>conftest.$ac_ext
26615 cat >>conftest.$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26617
26618 /* Override any GCC internal prototype to avoid an error.
26619 Use char because int might match the return type of a GCC
26620 builtin and then its argument prototype would still apply. */
26621 #ifdef __cplusplus
26622 extern "C"
26623 #endif
26624 char jpeg_read_header ();
26625 int
26626 main ()
26627 {
26628 return jpeg_read_header ();
26629 ;
26630 return 0;
26631 }
26632 _ACEOF
26633 rm -f conftest.$ac_objext conftest$ac_exeext
26634 if { (ac_try="$ac_link"
26635 case "(($ac_try" in
26636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26637 *) ac_try_echo=$ac_try;;
26638 esac
26639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26640 (eval "$ac_link") 2>conftest.er1
26641 ac_status=$?
26642 grep -v '^ *+' conftest.er1 >conftest.err
26643 rm -f conftest.er1
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } && {
26647 test -z "$ac_c_werror_flag" ||
26648 test ! -s conftest.err
26649 } && test -s conftest$ac_exeext &&
26650 $as_test_x conftest$ac_exeext; then
26651 ac_cv_lib_jpeg_jpeg_read_header=yes
26652 else
26653 echo "$as_me: failed program was:" >&5
26654 sed 's/^/| /' conftest.$ac_ext >&5
26655
26656 ac_cv_lib_jpeg_jpeg_read_header=no
26657 fi
26658
26659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26660 conftest$ac_exeext conftest.$ac_ext
26661 LIBS=$ac_check_lib_save_LIBS
26662 fi
26663 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26664 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26665 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26666 JPEG_LINK=" -ljpeg"
26667 fi
26668
26669 fi
26670
26671 if test "x$JPEG_LINK" = "x" ; then
26672 if test "$wxUSE_LIBJPEG" = "sys" ; then
26673 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26674 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26675 { (exit 1); exit 1; }; }
26676 else
26677 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26678 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26679 wxUSE_LIBJPEG=builtin
26680 fi
26681 else
26682 wxUSE_LIBJPEG=sys
26683
26684 if test "$wxUSE_MSW" = 1; then
26685 { echo "$as_me:$LINENO: checking for boolean" >&5
26686 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26687 if test "${ac_cv_type_boolean+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 else
26690 cat >conftest.$ac_ext <<_ACEOF
26691 /* confdefs.h. */
26692 _ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26696 #include <windows.h>
26697
26698 typedef boolean ac__type_new_;
26699 int
26700 main ()
26701 {
26702 if ((ac__type_new_ *) 0)
26703 return 0;
26704 if (sizeof (ac__type_new_))
26705 return 0;
26706 ;
26707 return 0;
26708 }
26709 _ACEOF
26710 rm -f conftest.$ac_objext
26711 if { (ac_try="$ac_compile"
26712 case "(($ac_try" in
26713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26714 *) ac_try_echo=$ac_try;;
26715 esac
26716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26717 (eval "$ac_compile") 2>conftest.er1
26718 ac_status=$?
26719 grep -v '^ *+' conftest.er1 >conftest.err
26720 rm -f conftest.er1
26721 cat conftest.err >&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } && {
26724 test -z "$ac_c_werror_flag" ||
26725 test ! -s conftest.err
26726 } && test -s conftest.$ac_objext; then
26727 ac_cv_type_boolean=yes
26728 else
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.$ac_ext >&5
26731
26732 ac_cv_type_boolean=no
26733 fi
26734
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26736 fi
26737 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26738 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26739 if test $ac_cv_type_boolean = yes; then
26740
26741 cat >>confdefs.h <<_ACEOF
26742 #define HAVE_BOOLEAN 1
26743 _ACEOF
26744
26745
26746 { echo "$as_me:$LINENO: checking for boolean" >&5
26747 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26748 if test "${ac_cv_type_boolean+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 else
26751 cat >conftest.$ac_ext <<_ACEOF
26752 /* confdefs.h. */
26753 _ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757
26758 #undef HAVE_BOOLEAN
26759 #include <stdio.h>
26760 #include <jpeglib.h>
26761
26762
26763 typedef boolean ac__type_new_;
26764 int
26765 main ()
26766 {
26767 if ((ac__type_new_ *) 0)
26768 return 0;
26769 if (sizeof (ac__type_new_))
26770 return 0;
26771 ;
26772 return 0;
26773 }
26774 _ACEOF
26775 rm -f conftest.$ac_objext
26776 if { (ac_try="$ac_compile"
26777 case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26779 *) ac_try_echo=$ac_try;;
26780 esac
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_compile") 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } && {
26789 test -z "$ac_c_werror_flag" ||
26790 test ! -s conftest.err
26791 } && test -s conftest.$ac_objext; then
26792 ac_cv_type_boolean=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 ac_cv_type_boolean=no
26798 fi
26799
26800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26801 fi
26802 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26803 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26804
26805 # The cast to long int works around a bug in the HP C Compiler
26806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26808 # This bug is HP SR number 8606223364.
26809 { echo "$as_me:$LINENO: checking size of boolean" >&5
26810 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26811 if test "${ac_cv_sizeof_boolean+set}" = set; then
26812 echo $ECHO_N "(cached) $ECHO_C" >&6
26813 else
26814 if test "$cross_compiling" = yes; then
26815 # Depending upon the size, compute the lo and hi bounds.
26816 cat >conftest.$ac_ext <<_ACEOF
26817 /* confdefs.h. */
26818 _ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822
26823 #undef HAVE_BOOLEAN
26824 #include <stdio.h>
26825 #include <jpeglib.h>
26826
26827
26828 typedef boolean ac__type_sizeof_;
26829 int
26830 main ()
26831 {
26832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26833 test_array [0] = 0
26834
26835 ;
26836 return 0;
26837 }
26838 _ACEOF
26839 rm -f conftest.$ac_objext
26840 if { (ac_try="$ac_compile"
26841 case "(($ac_try" in
26842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26843 *) ac_try_echo=$ac_try;;
26844 esac
26845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26846 (eval "$ac_compile") 2>conftest.er1
26847 ac_status=$?
26848 grep -v '^ *+' conftest.er1 >conftest.err
26849 rm -f conftest.er1
26850 cat conftest.err >&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } && {
26853 test -z "$ac_c_werror_flag" ||
26854 test ! -s conftest.err
26855 } && test -s conftest.$ac_objext; then
26856 ac_lo=0 ac_mid=0
26857 while :; do
26858 cat >conftest.$ac_ext <<_ACEOF
26859 /* confdefs.h. */
26860 _ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26864
26865 #undef HAVE_BOOLEAN
26866 #include <stdio.h>
26867 #include <jpeglib.h>
26868
26869
26870 typedef boolean ac__type_sizeof_;
26871 int
26872 main ()
26873 {
26874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26875 test_array [0] = 0
26876
26877 ;
26878 return 0;
26879 }
26880 _ACEOF
26881 rm -f conftest.$ac_objext
26882 if { (ac_try="$ac_compile"
26883 case "(($ac_try" in
26884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26885 *) ac_try_echo=$ac_try;;
26886 esac
26887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26888 (eval "$ac_compile") 2>conftest.er1
26889 ac_status=$?
26890 grep -v '^ *+' conftest.er1 >conftest.err
26891 rm -f conftest.er1
26892 cat conftest.err >&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); } && {
26895 test -z "$ac_c_werror_flag" ||
26896 test ! -s conftest.err
26897 } && test -s conftest.$ac_objext; then
26898 ac_hi=$ac_mid; break
26899 else
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26902
26903 ac_lo=`expr $ac_mid + 1`
26904 if test $ac_lo -le $ac_mid; then
26905 ac_lo= ac_hi=
26906 break
26907 fi
26908 ac_mid=`expr 2 '*' $ac_mid + 1`
26909 fi
26910
26911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26912 done
26913 else
26914 echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.$ac_ext >&5
26916
26917 cat >conftest.$ac_ext <<_ACEOF
26918 /* confdefs.h. */
26919 _ACEOF
26920 cat confdefs.h >>conftest.$ac_ext
26921 cat >>conftest.$ac_ext <<_ACEOF
26922 /* end confdefs.h. */
26923
26924 #undef HAVE_BOOLEAN
26925 #include <stdio.h>
26926 #include <jpeglib.h>
26927
26928
26929 typedef boolean ac__type_sizeof_;
26930 int
26931 main ()
26932 {
26933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26934 test_array [0] = 0
26935
26936 ;
26937 return 0;
26938 }
26939 _ACEOF
26940 rm -f conftest.$ac_objext
26941 if { (ac_try="$ac_compile"
26942 case "(($ac_try" in
26943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26944 *) ac_try_echo=$ac_try;;
26945 esac
26946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26947 (eval "$ac_compile") 2>conftest.er1
26948 ac_status=$?
26949 grep -v '^ *+' conftest.er1 >conftest.err
26950 rm -f conftest.er1
26951 cat conftest.err >&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } && {
26954 test -z "$ac_c_werror_flag" ||
26955 test ! -s conftest.err
26956 } && test -s conftest.$ac_objext; then
26957 ac_hi=-1 ac_mid=-1
26958 while :; do
26959 cat >conftest.$ac_ext <<_ACEOF
26960 /* confdefs.h. */
26961 _ACEOF
26962 cat confdefs.h >>conftest.$ac_ext
26963 cat >>conftest.$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26965
26966 #undef HAVE_BOOLEAN
26967 #include <stdio.h>
26968 #include <jpeglib.h>
26969
26970
26971 typedef boolean ac__type_sizeof_;
26972 int
26973 main ()
26974 {
26975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26976 test_array [0] = 0
26977
26978 ;
26979 return 0;
26980 }
26981 _ACEOF
26982 rm -f conftest.$ac_objext
26983 if { (ac_try="$ac_compile"
26984 case "(($ac_try" in
26985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26986 *) ac_try_echo=$ac_try;;
26987 esac
26988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26989 (eval "$ac_compile") 2>conftest.er1
26990 ac_status=$?
26991 grep -v '^ *+' conftest.er1 >conftest.err
26992 rm -f conftest.er1
26993 cat conftest.err >&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } && {
26996 test -z "$ac_c_werror_flag" ||
26997 test ! -s conftest.err
26998 } && test -s conftest.$ac_objext; then
26999 ac_lo=$ac_mid; break
27000 else
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.$ac_ext >&5
27003
27004 ac_hi=`expr '(' $ac_mid ')' - 1`
27005 if test $ac_mid -le $ac_hi; then
27006 ac_lo= ac_hi=
27007 break
27008 fi
27009 ac_mid=`expr 2 '*' $ac_mid`
27010 fi
27011
27012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27013 done
27014 else
27015 echo "$as_me: failed program was:" >&5
27016 sed 's/^/| /' conftest.$ac_ext >&5
27017
27018 ac_lo= ac_hi=
27019 fi
27020
27021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27022 fi
27023
27024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27025 # Binary search between lo and hi bounds.
27026 while test "x$ac_lo" != "x$ac_hi"; do
27027 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27028 cat >conftest.$ac_ext <<_ACEOF
27029 /* confdefs.h. */
27030 _ACEOF
27031 cat confdefs.h >>conftest.$ac_ext
27032 cat >>conftest.$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27034
27035 #undef HAVE_BOOLEAN
27036 #include <stdio.h>
27037 #include <jpeglib.h>
27038
27039
27040 typedef boolean ac__type_sizeof_;
27041 int
27042 main ()
27043 {
27044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27045 test_array [0] = 0
27046
27047 ;
27048 return 0;
27049 }
27050 _ACEOF
27051 rm -f conftest.$ac_objext
27052 if { (ac_try="$ac_compile"
27053 case "(($ac_try" in
27054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27055 *) ac_try_echo=$ac_try;;
27056 esac
27057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27058 (eval "$ac_compile") 2>conftest.er1
27059 ac_status=$?
27060 grep -v '^ *+' conftest.er1 >conftest.err
27061 rm -f conftest.er1
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } && {
27065 test -z "$ac_c_werror_flag" ||
27066 test ! -s conftest.err
27067 } && test -s conftest.$ac_objext; then
27068 ac_hi=$ac_mid
27069 else
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27072
27073 ac_lo=`expr '(' $ac_mid ')' + 1`
27074 fi
27075
27076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27077 done
27078 case $ac_lo in
27079 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27080 '') if test "$ac_cv_type_boolean" = yes; then
27081 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27082 See \`config.log' for more details." >&5
27083 echo "$as_me: error: cannot compute sizeof (boolean)
27084 See \`config.log' for more details." >&2;}
27085 { (exit 77); exit 77; }; }
27086 else
27087 ac_cv_sizeof_boolean=0
27088 fi ;;
27089 esac
27090 else
27091 cat >conftest.$ac_ext <<_ACEOF
27092 /* confdefs.h. */
27093 _ACEOF
27094 cat confdefs.h >>conftest.$ac_ext
27095 cat >>conftest.$ac_ext <<_ACEOF
27096 /* end confdefs.h. */
27097
27098 #undef HAVE_BOOLEAN
27099 #include <stdio.h>
27100 #include <jpeglib.h>
27101
27102
27103 typedef boolean ac__type_sizeof_;
27104 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27105 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27106 #include <stdio.h>
27107 #include <stdlib.h>
27108 int
27109 main ()
27110 {
27111
27112 FILE *f = fopen ("conftest.val", "w");
27113 if (! f)
27114 return 1;
27115 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27116 {
27117 long int i = longval ();
27118 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27119 return 1;
27120 fprintf (f, "%ld\n", i);
27121 }
27122 else
27123 {
27124 unsigned long int i = ulongval ();
27125 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27126 return 1;
27127 fprintf (f, "%lu\n", i);
27128 }
27129 return ferror (f) || fclose (f) != 0;
27130
27131 ;
27132 return 0;
27133 }
27134 _ACEOF
27135 rm -f conftest$ac_exeext
27136 if { (ac_try="$ac_link"
27137 case "(($ac_try" in
27138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27140 esac
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_link") 2>&5
27143 ac_status=$?
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; }; then
27155 ac_cv_sizeof_boolean=`cat conftest.val`
27156 else
27157 echo "$as_me: program exited with status $ac_status" >&5
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27160
27161 ( exit $ac_status )
27162 if test "$ac_cv_type_boolean" = yes; then
27163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27164 See \`config.log' for more details." >&5
27165 echo "$as_me: error: cannot compute sizeof (boolean)
27166 See \`config.log' for more details." >&2;}
27167 { (exit 77); exit 77; }; }
27168 else
27169 ac_cv_sizeof_boolean=0
27170 fi
27171 fi
27172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27173 fi
27174 rm -f conftest.val
27175 fi
27176 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27177 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27178
27179
27180
27181 cat >>confdefs.h <<_ACEOF
27182 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27183 _ACEOF
27184
27185
27186 cat >>confdefs.h <<_ACEOF
27187 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27188 _ACEOF
27189
27190
27191 fi
27192
27193 fi
27194 fi
27195 fi
27196 fi
27197 fi
27198
27199
27200 TIFF_LINK=
27201 TIFF_PREREQ_LINKS=-lm
27202 if test "$wxUSE_LIBTIFF" != "no" ; then
27203 cat >>confdefs.h <<\_ACEOF
27204 #define wxUSE_LIBTIFF 1
27205 _ACEOF
27206
27207
27208 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27209 if test "$wxUSE_LIBJPEG" = "sys"; then
27210 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27211 fi
27212 if test "$wxUSE_ZLIB" = "sys"; then
27213 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27214 fi
27215 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27216 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27217 if test "${ac_cv_header_tiffio_h+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220 cat >conftest.$ac_ext <<_ACEOF
27221 /* confdefs.h. */
27222 _ACEOF
27223 cat confdefs.h >>conftest.$ac_ext
27224 cat >>conftest.$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27226
27227
27228
27229 #include <tiffio.h>
27230 _ACEOF
27231 rm -f conftest.$ac_objext
27232 if { (ac_try="$ac_compile"
27233 case "(($ac_try" in
27234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27235 *) ac_try_echo=$ac_try;;
27236 esac
27237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27238 (eval "$ac_compile") 2>conftest.er1
27239 ac_status=$?
27240 grep -v '^ *+' conftest.er1 >conftest.err
27241 rm -f conftest.er1
27242 cat conftest.err >&5
27243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27244 (exit $ac_status); } && {
27245 test -z "$ac_c_werror_flag" ||
27246 test ! -s conftest.err
27247 } && test -s conftest.$ac_objext; then
27248 ac_cv_header_tiffio_h=yes
27249 else
27250 echo "$as_me: failed program was:" >&5
27251 sed 's/^/| /' conftest.$ac_ext >&5
27252
27253 ac_cv_header_tiffio_h=no
27254 fi
27255
27256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27257 fi
27258 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27259 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27260 if test $ac_cv_header_tiffio_h = yes; then
27261
27262 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27263 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27264 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27266 else
27267 ac_check_lib_save_LIBS=$LIBS
27268 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27269 cat >conftest.$ac_ext <<_ACEOF
27270 /* confdefs.h. */
27271 _ACEOF
27272 cat confdefs.h >>conftest.$ac_ext
27273 cat >>conftest.$ac_ext <<_ACEOF
27274 /* end confdefs.h. */
27275
27276 /* Override any GCC internal prototype to avoid an error.
27277 Use char because int might match the return type of a GCC
27278 builtin and then its argument prototype would still apply. */
27279 #ifdef __cplusplus
27280 extern "C"
27281 #endif
27282 char TIFFError ();
27283 int
27284 main ()
27285 {
27286 return TIFFError ();
27287 ;
27288 return 0;
27289 }
27290 _ACEOF
27291 rm -f conftest.$ac_objext conftest$ac_exeext
27292 if { (ac_try="$ac_link"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27296 esac
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_link") 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_c_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest$ac_exeext &&
27308 $as_test_x conftest$ac_exeext; then
27309 ac_cv_lib_tiff_TIFFError=yes
27310 else
27311 echo "$as_me: failed program was:" >&5
27312 sed 's/^/| /' conftest.$ac_ext >&5
27313
27314 ac_cv_lib_tiff_TIFFError=no
27315 fi
27316
27317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27318 conftest$ac_exeext conftest.$ac_ext
27319 LIBS=$ac_check_lib_save_LIBS
27320 fi
27321 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27322 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27323 if test $ac_cv_lib_tiff_TIFFError = yes; then
27324 TIFF_LINK=" -ltiff"
27325 fi
27326
27327
27328 fi
27329
27330
27331
27332 if test "x$TIFF_LINK" = "x" ; then
27333 if test "$wxUSE_LIBTIFF" = "sys" ; then
27334 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27335 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27336 { (exit 1); exit 1; }; }
27337 else
27338 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27339 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27340 wxUSE_LIBTIFF=builtin
27341 fi
27342 else
27343 wxUSE_LIBTIFF=sys
27344 fi
27345 fi
27346 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27347 if test "$wxUSE_LIBJPEG" = "no"; then
27348 ac_configure_args="$ac_configure_args --disable-jpeg"
27349 fi
27350 subdirs="$subdirs src/tiff"
27351
27352 fi
27353 fi
27354
27355
27356 if test "$wxUSE_WCHAR_T" != "yes"; then
27357 if test "$wxUSE_EXPAT" != "no"; then
27358 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27359 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27360 wxUSE_EXPAT=no
27361 fi
27362 if test "$wxUSE_XML" != "no"; then
27363 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27364 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27365 wxUSE_XML=no
27366 fi
27367 fi
27368
27369 if test "$wxUSE_EXPAT" != "no"; then
27370 wxUSE_XML=yes
27371 cat >>confdefs.h <<\_ACEOF
27372 #define wxUSE_EXPAT 1
27373 _ACEOF
27374
27375 cat >>confdefs.h <<\_ACEOF
27376 #define wxUSE_XML 1
27377 _ACEOF
27378
27379
27380 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27381 { echo "$as_me:$LINENO: checking for expat.h" >&5
27382 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27383 if test "${ac_cv_header_expat_h+set}" = set; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 else
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392
27393
27394 #include <expat.h>
27395 _ACEOF
27396 rm -f conftest.$ac_objext
27397 if { (ac_try="$ac_compile"
27398 case "(($ac_try" in
27399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27400 *) ac_try_echo=$ac_try;;
27401 esac
27402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27403 (eval "$ac_compile") 2>conftest.er1
27404 ac_status=$?
27405 grep -v '^ *+' conftest.er1 >conftest.err
27406 rm -f conftest.er1
27407 cat conftest.err >&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } && {
27410 test -z "$ac_c_werror_flag" ||
27411 test ! -s conftest.err
27412 } && test -s conftest.$ac_objext; then
27413 ac_cv_header_expat_h=yes
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 ac_cv_header_expat_h=no
27419 fi
27420
27421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27422 fi
27423 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27424 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27425 if test $ac_cv_header_expat_h = yes; then
27426 found_expat_h=1
27427 fi
27428
27429
27430 if test "x$found_expat_h" = "x1"; then
27431 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27432 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27433 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27435 else
27436
27437 ac_ext=cpp
27438 ac_cpp='$CXXCPP $CPPFLAGS'
27439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27442
27443 cat >conftest.$ac_ext <<_ACEOF
27444 /* confdefs.h. */
27445 _ACEOF
27446 cat confdefs.h >>conftest.$ac_ext
27447 cat >>conftest.$ac_ext <<_ACEOF
27448 /* end confdefs.h. */
27449 #include <expat.h>
27450 int
27451 main ()
27452 {
27453
27454 ;
27455 return 0;
27456 }
27457 _ACEOF
27458 rm -f conftest.$ac_objext
27459 if { (ac_try="$ac_compile"
27460 case "(($ac_try" in
27461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27462 *) ac_try_echo=$ac_try;;
27463 esac
27464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27465 (eval "$ac_compile") 2>conftest.er1
27466 ac_status=$?
27467 grep -v '^ *+' conftest.er1 >conftest.err
27468 rm -f conftest.er1
27469 cat conftest.err >&5
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); } && {
27472 test -z "$ac_cxx_werror_flag" ||
27473 test ! -s conftest.err
27474 } && test -s conftest.$ac_objext; then
27475 wx_cv_expat_is_not_broken=yes
27476 else
27477 echo "$as_me: failed program was:" >&5
27478 sed 's/^/| /' conftest.$ac_ext >&5
27479
27480 wx_cv_expat_is_not_broken=no
27481
27482 fi
27483
27484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27485 ac_ext=c
27486 ac_cpp='$CPP $CPPFLAGS'
27487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27490
27491
27492
27493 fi
27494 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27495 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27496 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27497 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27498 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27499 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27500 echo $ECHO_N "(cached) $ECHO_C" >&6
27501 else
27502 ac_check_lib_save_LIBS=$LIBS
27503 LIBS="-lexpat $LIBS"
27504 cat >conftest.$ac_ext <<_ACEOF
27505 /* confdefs.h. */
27506 _ACEOF
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510
27511 /* Override any GCC internal prototype to avoid an error.
27512 Use char because int might match the return type of a GCC
27513 builtin and then its argument prototype would still apply. */
27514 #ifdef __cplusplus
27515 extern "C"
27516 #endif
27517 char XML_ParserCreate ();
27518 int
27519 main ()
27520 {
27521 return XML_ParserCreate ();
27522 ;
27523 return 0;
27524 }
27525 _ACEOF
27526 rm -f conftest.$ac_objext conftest$ac_exeext
27527 if { (ac_try="$ac_link"
27528 case "(($ac_try" in
27529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27530 *) ac_try_echo=$ac_try;;
27531 esac
27532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27533 (eval "$ac_link") 2>conftest.er1
27534 ac_status=$?
27535 grep -v '^ *+' conftest.er1 >conftest.err
27536 rm -f conftest.er1
27537 cat conftest.err >&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } && {
27540 test -z "$ac_c_werror_flag" ||
27541 test ! -s conftest.err
27542 } && test -s conftest$ac_exeext &&
27543 $as_test_x conftest$ac_exeext; then
27544 ac_cv_lib_expat_XML_ParserCreate=yes
27545 else
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.$ac_ext >&5
27548
27549 ac_cv_lib_expat_XML_ParserCreate=no
27550 fi
27551
27552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27553 conftest$ac_exeext conftest.$ac_ext
27554 LIBS=$ac_check_lib_save_LIBS
27555 fi
27556 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27557 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27558 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27559 EXPAT_LINK=" -lexpat"
27560 fi
27561
27562 fi
27563 fi
27564 if test "x$EXPAT_LINK" = "x" ; then
27565 if test "$wxUSE_EXPAT" = "sys" ; then
27566 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27567 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27568 { (exit 1); exit 1; }; }
27569 else
27570 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27571 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27572 wxUSE_EXPAT=builtin
27573 fi
27574 else
27575 wxUSE_EXPAT=sys
27576 fi
27577 fi
27578 if test "$wxUSE_EXPAT" = "builtin" ; then
27579 subdirs="$subdirs src/expat"
27580
27581 fi
27582 fi
27583
27584
27585
27586 if test "$wxUSE_LIBMSPACK" != "no"; then
27587 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27588 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27589 if test "${ac_cv_header_mspack_h+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 else
27592 cat >conftest.$ac_ext <<_ACEOF
27593 /* confdefs.h. */
27594 _ACEOF
27595 cat confdefs.h >>conftest.$ac_ext
27596 cat >>conftest.$ac_ext <<_ACEOF
27597 /* end confdefs.h. */
27598
27599
27600 #include <mspack.h>
27601 _ACEOF
27602 rm -f conftest.$ac_objext
27603 if { (ac_try="$ac_compile"
27604 case "(($ac_try" in
27605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27606 *) ac_try_echo=$ac_try;;
27607 esac
27608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27609 (eval "$ac_compile") 2>conftest.er1
27610 ac_status=$?
27611 grep -v '^ *+' conftest.er1 >conftest.err
27612 rm -f conftest.er1
27613 cat conftest.err >&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } && {
27616 test -z "$ac_c_werror_flag" ||
27617 test ! -s conftest.err
27618 } && test -s conftest.$ac_objext; then
27619 ac_cv_header_mspack_h=yes
27620 else
27621 echo "$as_me: failed program was:" >&5
27622 sed 's/^/| /' conftest.$ac_ext >&5
27623
27624 ac_cv_header_mspack_h=no
27625 fi
27626
27627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27628 fi
27629 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27630 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27631 if test $ac_cv_header_mspack_h = yes; then
27632 found_mspack_h=1
27633 fi
27634
27635
27636 if test "x$found_mspack_h" = "x1"; then
27637 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27638 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27639 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27641 else
27642 ac_check_lib_save_LIBS=$LIBS
27643 LIBS="-lmspack $LIBS"
27644 cat >conftest.$ac_ext <<_ACEOF
27645 /* confdefs.h. */
27646 _ACEOF
27647 cat confdefs.h >>conftest.$ac_ext
27648 cat >>conftest.$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27650
27651 /* Override any GCC internal prototype to avoid an error.
27652 Use char because int might match the return type of a GCC
27653 builtin and then its argument prototype would still apply. */
27654 #ifdef __cplusplus
27655 extern "C"
27656 #endif
27657 char mspack_create_chm_decompressor ();
27658 int
27659 main ()
27660 {
27661 return mspack_create_chm_decompressor ();
27662 ;
27663 return 0;
27664 }
27665 _ACEOF
27666 rm -f conftest.$ac_objext conftest$ac_exeext
27667 if { (ac_try="$ac_link"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27670 *) ac_try_echo=$ac_try;;
27671 esac
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_link") 2>conftest.er1
27674 ac_status=$?
27675 grep -v '^ *+' conftest.er1 >conftest.err
27676 rm -f conftest.er1
27677 cat conftest.err >&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && {
27680 test -z "$ac_c_werror_flag" ||
27681 test ! -s conftest.err
27682 } && test -s conftest$ac_exeext &&
27683 $as_test_x conftest$ac_exeext; then
27684 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27685 else
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27690 fi
27691
27692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27693 conftest$ac_exeext conftest.$ac_ext
27694 LIBS=$ac_check_lib_save_LIBS
27695 fi
27696 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27697 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27698 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27699 MSPACK_LINK=" -lmspack"
27700 fi
27701
27702 fi
27703 if test "x$MSPACK_LINK" = "x" ; then
27704 wxUSE_LIBMSPACK=no
27705 fi
27706 fi
27707
27708 if test "$wxUSE_LIBMSPACK" != "no"; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define wxUSE_LIBMSPACK 1
27711 _ACEOF
27712
27713 fi
27714
27715
27716
27717 AFMINSTALL=
27718 WIN32INSTALL=
27719
27720 TOOLKIT=
27721 TOOLKIT_INCLUDE=
27722 WIDGET_SET=
27723
27724 if test "$USE_WIN32" = 1 ; then
27725
27726 for ac_header in w32api.h
27727 do
27728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27732 echo $ECHO_N "(cached) $ECHO_C" >&6
27733 else
27734 cat >conftest.$ac_ext <<_ACEOF
27735 /* confdefs.h. */
27736 _ACEOF
27737 cat confdefs.h >>conftest.$ac_ext
27738 cat >>conftest.$ac_ext <<_ACEOF
27739 /* end confdefs.h. */
27740
27741
27742 #include <$ac_header>
27743 _ACEOF
27744 rm -f conftest.$ac_objext
27745 if { (ac_try="$ac_compile"
27746 case "(($ac_try" in
27747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27748 *) ac_try_echo=$ac_try;;
27749 esac
27750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27751 (eval "$ac_compile") 2>conftest.er1
27752 ac_status=$?
27753 grep -v '^ *+' conftest.er1 >conftest.err
27754 rm -f conftest.er1
27755 cat conftest.err >&5
27756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27757 (exit $ac_status); } && {
27758 test -z "$ac_c_werror_flag" ||
27759 test ! -s conftest.err
27760 } && test -s conftest.$ac_objext; then
27761 eval "$as_ac_Header=yes"
27762 else
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27765
27766 eval "$as_ac_Header=no"
27767 fi
27768
27769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27770 fi
27771 ac_res=`eval echo '${'$as_ac_Header'}'`
27772 { echo "$as_me:$LINENO: result: $ac_res" >&5
27773 echo "${ECHO_T}$ac_res" >&6; }
27774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27775 cat >>confdefs.h <<_ACEOF
27776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27777 _ACEOF
27778
27779 fi
27780
27781 done
27782
27783 { echo "$as_me:$LINENO: checking for windows.h" >&5
27784 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27785 if test "${ac_cv_header_windows_h+set}" = set; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 else
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794
27795
27796 #include <windows.h>
27797 _ACEOF
27798 rm -f conftest.$ac_objext
27799 if { (ac_try="$ac_compile"
27800 case "(($ac_try" in
27801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27802 *) ac_try_echo=$ac_try;;
27803 esac
27804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27805 (eval "$ac_compile") 2>conftest.er1
27806 ac_status=$?
27807 grep -v '^ *+' conftest.er1 >conftest.err
27808 rm -f conftest.er1
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } && {
27812 test -z "$ac_c_werror_flag" ||
27813 test ! -s conftest.err
27814 } && test -s conftest.$ac_objext; then
27815 ac_cv_header_windows_h=yes
27816 else
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.$ac_ext >&5
27819
27820 ac_cv_header_windows_h=no
27821 fi
27822
27823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824 fi
27825 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27826 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27827 if test $ac_cv_header_windows_h = yes; then
27828 :
27829 else
27830
27831 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27832 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27833 { (exit 1); exit 1; }; }
27834
27835 fi
27836
27837
27838
27839 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27840
27841 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27842 LIBS="$LIBS -loleacc"
27843 fi
27844
27845 case "${host}" in
27846 *-*-cygwin* )
27847 LIBS="$LIBS -lkernel32 -luser32"
27848 esac
27849
27850 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27851 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27852
27853 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27854
27855 WIN32INSTALL=win32install
27856
27857 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27858 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27859 if test "${ac_cv_header_pbt_h+set}" = set; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27861 else
27862 cat >conftest.$ac_ext <<_ACEOF
27863 /* confdefs.h. */
27864 _ACEOF
27865 cat confdefs.h >>conftest.$ac_ext
27866 cat >>conftest.$ac_ext <<_ACEOF
27867 /* end confdefs.h. */
27868
27869
27870 #include <pbt.h>
27871 _ACEOF
27872 rm -f conftest.$ac_objext
27873 if { (ac_try="$ac_compile"
27874 case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27877 esac
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_compile") 2>conftest.er1
27880 ac_status=$?
27881 grep -v '^ *+' conftest.er1 >conftest.err
27882 rm -f conftest.er1
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_c_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest.$ac_objext; then
27889 ac_cv_header_pbt_h=yes
27890 else
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 ac_cv_header_pbt_h=no
27895 fi
27896
27897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27898 fi
27899 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27900 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27901 if test $ac_cv_header_pbt_h = yes; then
27902 :
27903 else
27904 cat >>confdefs.h <<\_ACEOF
27905 #define NEED_PBT_H 1
27906 _ACEOF
27907
27908 fi
27909
27910
27911 fi
27912
27913 if test "$wxUSE_GUI" = "yes"; then
27914 USE_GUI=1
27915
27916 GUI_TK_LIBRARY=
27917
27918 WXGTK12=
27919 WXGTK127=
27920 WXGTK2=
27921 WXGPE=
27922
27923 if test "$wxUSE_COCOA" = 1 ; then
27924 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27925 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27926 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27927 wxUSE_PRINTING_ARCHITECTURE=no
27928 fi
27929 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27930 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27931 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27932 wxUSE_DRAG_AND_DROP=no
27933 fi
27934 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27935 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27936 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27937 wxUSE_DRAGIMAGE=no
27938 fi
27939 fi
27940
27941 if test "$wxUSE_MSW" = 1 ; then
27942 TOOLKIT=MSW
27943 GUIDIST=MSW_DIST
27944
27945 case "${host}" in
27946 *-*-mingw32* )
27947 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27948 esac
27949 fi
27950
27951 if test "$wxUSE_GTK" = 1; then
27952 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27953 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27954
27955 gtk_version_cached=1
27956 if test "${wx_cv_lib_gtk+set}" = set; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959
27960 gtk_version_cached=0
27961 { echo "$as_me:$LINENO: result: " >&5
27962 echo "${ECHO_T}" >&6; }
27963
27964 GTK_MODULES=
27965 if test "$wxUSE_THREADS" = "yes"; then
27966 GTK_MODULES=gthread
27967 fi
27968
27969 wx_cv_lib_gtk=
27970 if test "x$wxGTK_VERSION" != "x1"
27971 then
27972 case "${host}" in
27973 *-*-solaris2* )
27974 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27975 enable_gtktest=no
27976 fi
27977 esac
27978
27979 # Check whether --enable-gtktest was given.
27980 if test "${enable_gtktest+set}" = set; then
27981 enableval=$enable_gtktest;
27982 else
27983 enable_gtktest=yes
27984 fi
27985
27986
27987 pkg_config_args=gtk+-2.0
27988 for module in . $GTK_MODULES
27989 do
27990 case "$module" in
27991 gthread)
27992 pkg_config_args="$pkg_config_args gthread-2.0"
27993 ;;
27994 esac
27995 done
27996
27997 no_gtk=""
27998
27999 # Extract the first word of "pkg-config", so it can be a program name with args.
28000 set dummy pkg-config; ac_word=$2
28001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28003 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006 case $PKG_CONFIG in
28007 [\\/]* | ?:[\\/]*)
28008 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28009 ;;
28010 *)
28011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28012 for as_dir in $PATH
28013 do
28014 IFS=$as_save_IFS
28015 test -z "$as_dir" && as_dir=.
28016 for ac_exec_ext in '' $ac_executable_extensions; do
28017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28018 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28020 break 2
28021 fi
28022 done
28023 done
28024 IFS=$as_save_IFS
28025
28026 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28027 ;;
28028 esac
28029 fi
28030 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28031 if test -n "$PKG_CONFIG"; then
28032 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28033 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28034 else
28035 { echo "$as_me:$LINENO: result: no" >&5
28036 echo "${ECHO_T}no" >&6; }
28037 fi
28038
28039
28040
28041 if test x$PKG_CONFIG != xno ; then
28042 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28043 :
28044 else
28045 echo "*** pkg-config too old; version 0.7 or better required."
28046 no_gtk=yes
28047 PKG_CONFIG=no
28048 fi
28049 else
28050 no_gtk=yes
28051 fi
28052
28053 min_gtk_version=2.4.0
28054 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28055 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28056
28057 if test x$PKG_CONFIG != xno ; then
28058 ## don't try to run the test against uninstalled libtool libs
28059 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28060 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28061 enable_gtktest=no
28062 fi
28063
28064 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28065 :
28066 else
28067 no_gtk=yes
28068 fi
28069 fi
28070
28071 if test x"$no_gtk" = x ; then
28072 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28073 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28074 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28076 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28078 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28080 if test "x$enable_gtktest" = "xyes" ; then
28081 ac_save_CFLAGS="$CFLAGS"
28082 ac_save_LIBS="$LIBS"
28083 CFLAGS="$CFLAGS $GTK_CFLAGS"
28084 LIBS="$GTK_LIBS $LIBS"
28085 rm -f conf.gtktest
28086 if test "$cross_compiling" = yes; then
28087 echo $ac_n "cross compiling; assumed OK... $ac_c"
28088 else
28089 cat >conftest.$ac_ext <<_ACEOF
28090 /* confdefs.h. */
28091 _ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28095
28096 #include <gtk/gtk.h>
28097 #include <stdio.h>
28098 #include <stdlib.h>
28099
28100 int
28101 main ()
28102 {
28103 int major, minor, micro;
28104 char *tmp_version;
28105
28106 system ("touch conf.gtktest");
28107
28108 /* HP/UX 9 (%@#!) writes to sscanf strings */
28109 tmp_version = g_strdup("$min_gtk_version");
28110 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28111 printf("%s, bad version string\n", "$min_gtk_version");
28112 exit(1);
28113 }
28114
28115 if ((gtk_major_version != $gtk_config_major_version) ||
28116 (gtk_minor_version != $gtk_config_minor_version) ||
28117 (gtk_micro_version != $gtk_config_micro_version))
28118 {
28119 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28120 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28121 gtk_major_version, gtk_minor_version, gtk_micro_version);
28122 printf ("*** was found! If pkg-config was correct, then it is best\n");
28123 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28124 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28125 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28126 printf("*** required on your system.\n");
28127 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28128 printf("*** to point to the correct configuration files\n");
28129 }
28130 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28131 (gtk_minor_version != GTK_MINOR_VERSION) ||
28132 (gtk_micro_version != GTK_MICRO_VERSION))
28133 {
28134 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28135 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28136 printf("*** library (version %d.%d.%d)\n",
28137 gtk_major_version, gtk_minor_version, gtk_micro_version);
28138 }
28139 else
28140 {
28141 if ((gtk_major_version > major) ||
28142 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28143 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28144 {
28145 return 0;
28146 }
28147 else
28148 {
28149 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28150 gtk_major_version, gtk_minor_version, gtk_micro_version);
28151 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28152 major, minor, micro);
28153 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28154 printf("***\n");
28155 printf("*** If you have already installed a sufficiently new version, this error\n");
28156 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28157 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28158 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28159 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28160 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28161 printf("*** so that the correct libraries are found at run-time))\n");
28162 }
28163 }
28164 return 1;
28165 }
28166
28167 _ACEOF
28168 rm -f conftest$ac_exeext
28169 if { (ac_try="$ac_link"
28170 case "(($ac_try" in
28171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28172 *) ac_try_echo=$ac_try;;
28173 esac
28174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28175 (eval "$ac_link") 2>&5
28176 ac_status=$?
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28179 { (case "(($ac_try" in
28180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28181 *) ac_try_echo=$ac_try;;
28182 esac
28183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28184 (eval "$ac_try") 2>&5
28185 ac_status=$?
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; }; then
28188 :
28189 else
28190 echo "$as_me: program exited with status $ac_status" >&5
28191 echo "$as_me: failed program was:" >&5
28192 sed 's/^/| /' conftest.$ac_ext >&5
28193
28194 ( exit $ac_status )
28195 no_gtk=yes
28196 fi
28197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28198 fi
28199
28200
28201 CFLAGS="$ac_save_CFLAGS"
28202 LIBS="$ac_save_LIBS"
28203 fi
28204 fi
28205 if test "x$no_gtk" = x ; then
28206 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28207 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28208 wx_cv_lib_gtk=2.0
28209 else
28210 { echo "$as_me:$LINENO: result: no" >&5
28211 echo "${ECHO_T}no" >&6; }
28212 if test "$PKG_CONFIG" = "no" ; then
28213 echo "*** A new enough version of pkg-config was not found."
28214 echo "*** See http://pkgconfig.sourceforge.net"
28215 else
28216 if test -f conf.gtktest ; then
28217 :
28218 else
28219 echo "*** Could not run GTK+ test program, checking why..."
28220 ac_save_CFLAGS="$CFLAGS"
28221 ac_save_LIBS="$LIBS"
28222 CFLAGS="$CFLAGS $GTK_CFLAGS"
28223 LIBS="$LIBS $GTK_LIBS"
28224 cat >conftest.$ac_ext <<_ACEOF
28225 /* confdefs.h. */
28226 _ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230
28231 #include <gtk/gtk.h>
28232 #include <stdio.h>
28233
28234 int
28235 main ()
28236 {
28237 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28238 ;
28239 return 0;
28240 }
28241 _ACEOF
28242 rm -f conftest.$ac_objext conftest$ac_exeext
28243 if { (ac_try="$ac_link"
28244 case "(($ac_try" in
28245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246 *) ac_try_echo=$ac_try;;
28247 esac
28248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249 (eval "$ac_link") 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } && {
28256 test -z "$ac_c_werror_flag" ||
28257 test ! -s conftest.err
28258 } && test -s conftest$ac_exeext &&
28259 $as_test_x conftest$ac_exeext; then
28260 echo "*** The test program compiled, but did not run. This usually means"
28261 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28262 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28263 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28264 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28265 echo "*** is required on your system"
28266 echo "***"
28267 echo "*** If you have an old version installed, it is best to remove it, although"
28268 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28269 else
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.$ac_ext >&5
28272
28273 echo "*** The test program failed to compile or link. See the file config.log for the"
28274 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28275 fi
28276
28277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28278 conftest$ac_exeext conftest.$ac_ext
28279 CFLAGS="$ac_save_CFLAGS"
28280 LIBS="$ac_save_LIBS"
28281 fi
28282 fi
28283 GTK_CFLAGS=""
28284 GTK_LIBS=""
28285 :
28286 fi
28287
28288
28289 rm -f conf.gtktest
28290
28291
28292 case "${host}" in
28293 *-*-solaris2* )
28294 if test "$wxUSE_SHARED" != "yes"; then
28295 GTK_LIBS="$GTK_LIBS -lX11"
28296 fi
28297 esac
28298 fi
28299
28300 if test -z "$wx_cv_lib_gtk"; then
28301 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28302
28303 # Check whether --with-gtk-prefix was given.
28304 if test "${with_gtk_prefix+set}" = set; then
28305 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28306 else
28307 gtk_config_prefix=""
28308 fi
28309
28310
28311 # Check whether --with-gtk-exec-prefix was given.
28312 if test "${with_gtk_exec_prefix+set}" = set; then
28313 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28314 else
28315 gtk_config_exec_prefix=""
28316 fi
28317
28318 # Check whether --enable-gtktest was given.
28319 if test "${enable_gtktest+set}" = set; then
28320 enableval=$enable_gtktest;
28321 else
28322 enable_gtktest=yes
28323 fi
28324
28325
28326 for module in . $GTK_MODULES
28327 do
28328 case "$module" in
28329 gthread)
28330 gtk_config_args="$gtk_config_args gthread"
28331 ;;
28332 esac
28333 done
28334
28335 if test x$gtk_config_exec_prefix != x ; then
28336 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28337 if test x${GTK_CONFIG+set} != xset ; then
28338 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28339 fi
28340 fi
28341 if test x$gtk_config_prefix != x ; then
28342 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28343 if test x${GTK_CONFIG+set} != xset ; then
28344 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28345 fi
28346 fi
28347
28348 # Extract the first word of "gtk-config", so it can be a program name with args.
28349 set dummy gtk-config; ac_word=$2
28350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28352 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355 case $GTK_CONFIG in
28356 [\\/]* | ?:[\\/]*)
28357 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28358 ;;
28359 *)
28360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28361 for as_dir in $PATH
28362 do
28363 IFS=$as_save_IFS
28364 test -z "$as_dir" && as_dir=.
28365 for ac_exec_ext in '' $ac_executable_extensions; do
28366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28367 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28369 break 2
28370 fi
28371 done
28372 done
28373 IFS=$as_save_IFS
28374
28375 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28376 ;;
28377 esac
28378 fi
28379 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28380 if test -n "$GTK_CONFIG"; then
28381 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28382 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28383 else
28384 { echo "$as_me:$LINENO: result: no" >&5
28385 echo "${ECHO_T}no" >&6; }
28386 fi
28387
28388
28389 min_gtk_version=1.2.7
28390 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28391 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28392 no_gtk=""
28393 if test "$GTK_CONFIG" = "no" ; then
28394 no_gtk=yes
28395 else
28396 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28397 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28398 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28400 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28402 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28404 if test "x$enable_gtktest" = "xyes" ; then
28405 ac_save_CFLAGS="$CFLAGS"
28406 ac_save_LIBS="$LIBS"
28407 CFLAGS="$CFLAGS $GTK_CFLAGS"
28408 LIBS="$GTK_LIBS $LIBS"
28409 rm -f conf.gtktest
28410 if test "$cross_compiling" = yes; then
28411 echo $ac_n "cross compiling; assumed OK... $ac_c"
28412 else
28413 cat >conftest.$ac_ext <<_ACEOF
28414 /* confdefs.h. */
28415 _ACEOF
28416 cat confdefs.h >>conftest.$ac_ext
28417 cat >>conftest.$ac_ext <<_ACEOF
28418 /* end confdefs.h. */
28419
28420 #include <gtk/gtk.h>
28421 #include <stdio.h>
28422 #include <stdlib.h>
28423
28424 int
28425 main ()
28426 {
28427 int major, minor, micro;
28428 char *tmp_version;
28429
28430 system ("touch conf.gtktest");
28431
28432 /* HP/UX 9 (%@#!) writes to sscanf strings */
28433 tmp_version = g_strdup("$min_gtk_version");
28434 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28435 printf("%s, bad version string\n", "$min_gtk_version");
28436 exit(1);
28437 }
28438
28439 if ((gtk_major_version != $gtk_config_major_version) ||
28440 (gtk_minor_version != $gtk_config_minor_version) ||
28441 (gtk_micro_version != $gtk_config_micro_version))
28442 {
28443 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28444 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28445 gtk_major_version, gtk_minor_version, gtk_micro_version);
28446 printf ("*** was found! If gtk-config was correct, then it is best\n");
28447 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28448 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28449 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28450 printf("*** required on your system.\n");
28451 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28452 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28453 printf("*** before re-running configure\n");
28454 }
28455 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28456 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28457 (gtk_minor_version != GTK_MINOR_VERSION) ||
28458 (gtk_micro_version != GTK_MICRO_VERSION))
28459 {
28460 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28461 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28462 printf("*** library (version %d.%d.%d)\n",
28463 gtk_major_version, gtk_minor_version, gtk_micro_version);
28464 }
28465 #endif /* defined (GTK_MAJOR_VERSION) ... */
28466 else
28467 {
28468 if ((gtk_major_version > major) ||
28469 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28470 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28471 {
28472 return 0;
28473 }
28474 else
28475 {
28476 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28477 gtk_major_version, gtk_minor_version, gtk_micro_version);
28478 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28479 major, minor, micro);
28480 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28481 printf("***\n");
28482 printf("*** If you have already installed a sufficiently new version, this error\n");
28483 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28484 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28485 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28486 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28487 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28488 printf("*** so that the correct libraries are found at run-time))\n");
28489 }
28490 }
28491 return 1;
28492 }
28493
28494 _ACEOF
28495 rm -f conftest$ac_exeext
28496 if { (ac_try="$ac_link"
28497 case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28500 esac
28501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_link") 2>&5
28503 ac_status=$?
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28506 { (case "(($ac_try" in
28507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28508 *) ac_try_echo=$ac_try;;
28509 esac
28510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28511 (eval "$ac_try") 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; }; then
28515 :
28516 else
28517 echo "$as_me: program exited with status $ac_status" >&5
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28520
28521 ( exit $ac_status )
28522 no_gtk=yes
28523 fi
28524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28525 fi
28526
28527
28528 CFLAGS="$ac_save_CFLAGS"
28529 LIBS="$ac_save_LIBS"
28530 fi
28531 fi
28532 if test "x$no_gtk" = x ; then
28533 { echo "$as_me:$LINENO: result: yes" >&5
28534 echo "${ECHO_T}yes" >&6; }
28535 wx_cv_lib_gtk=1.2.7
28536 else
28537 { echo "$as_me:$LINENO: result: no" >&5
28538 echo "${ECHO_T}no" >&6; }
28539 if test "$GTK_CONFIG" = "no" ; then
28540 echo "*** The gtk-config script installed by GTK could not be found"
28541 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28542 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28543 echo "*** full path to gtk-config."
28544 else
28545 if test -f conf.gtktest ; then
28546 :
28547 else
28548 echo "*** Could not run GTK test program, checking why..."
28549 CFLAGS="$CFLAGS $GTK_CFLAGS"
28550 LIBS="$LIBS $GTK_LIBS"
28551 cat >conftest.$ac_ext <<_ACEOF
28552 /* confdefs.h. */
28553 _ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28557
28558 #include <gtk/gtk.h>
28559 #include <stdio.h>
28560
28561 int
28562 main ()
28563 {
28564 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28565 ;
28566 return 0;
28567 }
28568 _ACEOF
28569 rm -f conftest.$ac_objext conftest$ac_exeext
28570 if { (ac_try="$ac_link"
28571 case "(($ac_try" in
28572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28573 *) ac_try_echo=$ac_try;;
28574 esac
28575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28576 (eval "$ac_link") 2>conftest.er1
28577 ac_status=$?
28578 grep -v '^ *+' conftest.er1 >conftest.err
28579 rm -f conftest.er1
28580 cat conftest.err >&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); } && {
28583 test -z "$ac_c_werror_flag" ||
28584 test ! -s conftest.err
28585 } && test -s conftest$ac_exeext &&
28586 $as_test_x conftest$ac_exeext; then
28587 echo "*** The test program compiled, but did not run. This usually means"
28588 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28589 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28590 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28591 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28592 echo "*** is required on your system"
28593 echo "***"
28594 echo "*** If you have an old version installed, it is best to remove it, although"
28595 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28596 echo "***"
28597 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28598 echo "*** came with the system with the command"
28599 echo "***"
28600 echo "*** rpm --erase --nodeps gtk gtk-devel"
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 echo "*** The test program failed to compile or link. See the file config.log for the"
28606 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28607 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28608 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28609 fi
28610
28611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28612 conftest$ac_exeext conftest.$ac_ext
28613 CFLAGS="$ac_save_CFLAGS"
28614 LIBS="$ac_save_LIBS"
28615 fi
28616 fi
28617 GTK_CFLAGS=""
28618 GTK_LIBS=""
28619 :
28620 fi
28621
28622
28623 rm -f conf.gtktest
28624
28625
28626 if test -z "$wx_cv_lib_gtk"; then
28627
28628 # Check whether --with-gtk-prefix was given.
28629 if test "${with_gtk_prefix+set}" = set; then
28630 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28631 else
28632 gtk_config_prefix=""
28633 fi
28634
28635
28636 # Check whether --with-gtk-exec-prefix was given.
28637 if test "${with_gtk_exec_prefix+set}" = set; then
28638 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28639 else
28640 gtk_config_exec_prefix=""
28641 fi
28642
28643 # Check whether --enable-gtktest was given.
28644 if test "${enable_gtktest+set}" = set; then
28645 enableval=$enable_gtktest;
28646 else
28647 enable_gtktest=yes
28648 fi
28649
28650
28651 for module in . $GTK_MODULES
28652 do
28653 case "$module" in
28654 gthread)
28655 gtk_config_args="$gtk_config_args gthread"
28656 ;;
28657 esac
28658 done
28659
28660 if test x$gtk_config_exec_prefix != x ; then
28661 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28662 if test x${GTK_CONFIG+set} != xset ; then
28663 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28664 fi
28665 fi
28666 if test x$gtk_config_prefix != x ; then
28667 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28668 if test x${GTK_CONFIG+set} != xset ; then
28669 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28670 fi
28671 fi
28672
28673 # Extract the first word of "gtk-config", so it can be a program name with args.
28674 set dummy gtk-config; ac_word=$2
28675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28677 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28678 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 else
28680 case $GTK_CONFIG in
28681 [\\/]* | ?:[\\/]*)
28682 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28683 ;;
28684 *)
28685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28686 for as_dir in $PATH
28687 do
28688 IFS=$as_save_IFS
28689 test -z "$as_dir" && as_dir=.
28690 for ac_exec_ext in '' $ac_executable_extensions; do
28691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28692 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28694 break 2
28695 fi
28696 done
28697 done
28698 IFS=$as_save_IFS
28699
28700 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28701 ;;
28702 esac
28703 fi
28704 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28705 if test -n "$GTK_CONFIG"; then
28706 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28707 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28708 else
28709 { echo "$as_me:$LINENO: result: no" >&5
28710 echo "${ECHO_T}no" >&6; }
28711 fi
28712
28713
28714 min_gtk_version=1.2.3
28715 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28716 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28717 no_gtk=""
28718 if test "$GTK_CONFIG" = "no" ; then
28719 no_gtk=yes
28720 else
28721 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28722 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28723 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28725 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28727 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28729 if test "x$enable_gtktest" = "xyes" ; then
28730 ac_save_CFLAGS="$CFLAGS"
28731 ac_save_LIBS="$LIBS"
28732 CFLAGS="$CFLAGS $GTK_CFLAGS"
28733 LIBS="$GTK_LIBS $LIBS"
28734 rm -f conf.gtktest
28735 if test "$cross_compiling" = yes; then
28736 echo $ac_n "cross compiling; assumed OK... $ac_c"
28737 else
28738 cat >conftest.$ac_ext <<_ACEOF
28739 /* confdefs.h. */
28740 _ACEOF
28741 cat confdefs.h >>conftest.$ac_ext
28742 cat >>conftest.$ac_ext <<_ACEOF
28743 /* end confdefs.h. */
28744
28745 #include <gtk/gtk.h>
28746 #include <stdio.h>
28747 #include <stdlib.h>
28748
28749 int
28750 main ()
28751 {
28752 int major, minor, micro;
28753 char *tmp_version;
28754
28755 system ("touch conf.gtktest");
28756
28757 /* HP/UX 9 (%@#!) writes to sscanf strings */
28758 tmp_version = g_strdup("$min_gtk_version");
28759 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28760 printf("%s, bad version string\n", "$min_gtk_version");
28761 exit(1);
28762 }
28763
28764 if ((gtk_major_version != $gtk_config_major_version) ||
28765 (gtk_minor_version != $gtk_config_minor_version) ||
28766 (gtk_micro_version != $gtk_config_micro_version))
28767 {
28768 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28769 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28770 gtk_major_version, gtk_minor_version, gtk_micro_version);
28771 printf ("*** was found! If gtk-config was correct, then it is best\n");
28772 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28773 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28774 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28775 printf("*** required on your system.\n");
28776 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28777 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28778 printf("*** before re-running configure\n");
28779 }
28780 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28781 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28782 (gtk_minor_version != GTK_MINOR_VERSION) ||
28783 (gtk_micro_version != GTK_MICRO_VERSION))
28784 {
28785 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28786 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28787 printf("*** library (version %d.%d.%d)\n",
28788 gtk_major_version, gtk_minor_version, gtk_micro_version);
28789 }
28790 #endif /* defined (GTK_MAJOR_VERSION) ... */
28791 else
28792 {
28793 if ((gtk_major_version > major) ||
28794 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28795 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28796 {
28797 return 0;
28798 }
28799 else
28800 {
28801 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28802 gtk_major_version, gtk_minor_version, gtk_micro_version);
28803 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28804 major, minor, micro);
28805 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28806 printf("***\n");
28807 printf("*** If you have already installed a sufficiently new version, this error\n");
28808 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28809 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28810 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28811 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28812 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28813 printf("*** so that the correct libraries are found at run-time))\n");
28814 }
28815 }
28816 return 1;
28817 }
28818
28819 _ACEOF
28820 rm -f conftest$ac_exeext
28821 if { (ac_try="$ac_link"
28822 case "(($ac_try" in
28823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28824 *) ac_try_echo=$ac_try;;
28825 esac
28826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28827 (eval "$ac_link") 2>&5
28828 ac_status=$?
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28831 { (case "(($ac_try" in
28832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28833 *) ac_try_echo=$ac_try;;
28834 esac
28835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28836 (eval "$ac_try") 2>&5
28837 ac_status=$?
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); }; }; then
28840 :
28841 else
28842 echo "$as_me: program exited with status $ac_status" >&5
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.$ac_ext >&5
28845
28846 ( exit $ac_status )
28847 no_gtk=yes
28848 fi
28849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28850 fi
28851
28852
28853 CFLAGS="$ac_save_CFLAGS"
28854 LIBS="$ac_save_LIBS"
28855 fi
28856 fi
28857 if test "x$no_gtk" = x ; then
28858 { echo "$as_me:$LINENO: result: yes" >&5
28859 echo "${ECHO_T}yes" >&6; }
28860 wx_cv_lib_gtk=1.2.3
28861 else
28862 { echo "$as_me:$LINENO: result: no" >&5
28863 echo "${ECHO_T}no" >&6; }
28864 if test "$GTK_CONFIG" = "no" ; then
28865 echo "*** The gtk-config script installed by GTK could not be found"
28866 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28867 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28868 echo "*** full path to gtk-config."
28869 else
28870 if test -f conf.gtktest ; then
28871 :
28872 else
28873 echo "*** Could not run GTK test program, checking why..."
28874 CFLAGS="$CFLAGS $GTK_CFLAGS"
28875 LIBS="$LIBS $GTK_LIBS"
28876 cat >conftest.$ac_ext <<_ACEOF
28877 /* confdefs.h. */
28878 _ACEOF
28879 cat confdefs.h >>conftest.$ac_ext
28880 cat >>conftest.$ac_ext <<_ACEOF
28881 /* end confdefs.h. */
28882
28883 #include <gtk/gtk.h>
28884 #include <stdio.h>
28885
28886 int
28887 main ()
28888 {
28889 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28890 ;
28891 return 0;
28892 }
28893 _ACEOF
28894 rm -f conftest.$ac_objext conftest$ac_exeext
28895 if { (ac_try="$ac_link"
28896 case "(($ac_try" in
28897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28898 *) ac_try_echo=$ac_try;;
28899 esac
28900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28901 (eval "$ac_link") 2>conftest.er1
28902 ac_status=$?
28903 grep -v '^ *+' conftest.er1 >conftest.err
28904 rm -f conftest.er1
28905 cat conftest.err >&5
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); } && {
28908 test -z "$ac_c_werror_flag" ||
28909 test ! -s conftest.err
28910 } && test -s conftest$ac_exeext &&
28911 $as_test_x conftest$ac_exeext; then
28912 echo "*** The test program compiled, but did not run. This usually means"
28913 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28914 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28915 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28916 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28917 echo "*** is required on your system"
28918 echo "***"
28919 echo "*** If you have an old version installed, it is best to remove it, although"
28920 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28921 echo "***"
28922 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28923 echo "*** came with the system with the command"
28924 echo "***"
28925 echo "*** rpm --erase --nodeps gtk gtk-devel"
28926 else
28927 echo "$as_me: failed program was:" >&5
28928 sed 's/^/| /' conftest.$ac_ext >&5
28929
28930 echo "*** The test program failed to compile or link. See the file config.log for the"
28931 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28932 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28933 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28934 fi
28935
28936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28937 conftest$ac_exeext conftest.$ac_ext
28938 CFLAGS="$ac_save_CFLAGS"
28939 LIBS="$ac_save_LIBS"
28940 fi
28941 fi
28942 GTK_CFLAGS=""
28943 GTK_LIBS=""
28944 :
28945 fi
28946
28947
28948 rm -f conf.gtktest
28949
28950 fi
28951 fi
28952 fi
28953
28954 if test -z "$wx_cv_lib_gtk"; then
28955 wx_cv_lib_gtk=none
28956 else
28957 wx_cv_cflags_gtk=$GTK_CFLAGS
28958 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28959 fi
28960
28961
28962 fi
28963
28964
28965 if test "$gtk_version_cached" = 1; then
28966 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28967 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28968 fi
28969
28970 case "$wx_cv_lib_gtk" in
28971 2.0) WXGTK2=1
28972 TOOLKIT_VERSION=2
28973 ;;
28974 1.2.7) WXGTK127=1
28975 WXGTK12=1
28976 ;;
28977 1.2.3) WXGTK12=1
28978 ;;
28979 *) { { echo "$as_me:$LINENO: error:
28980 The development files for GTK+ were not found. For GTK+ 2, please
28981 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28982 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28983 and that the version is 1.2.3 or above. Also check that the
28984 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28985 --libs' are in the LD_LIBRARY_PATH or equivalent.
28986 " >&5
28987 echo "$as_me: error:
28988 The development files for GTK+ were not found. For GTK+ 2, please
28989 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28990 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28991 and that the version is 1.2.3 or above. Also check that the
28992 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28993 --libs' are in the LD_LIBRARY_PATH or equivalent.
28994 " >&2;}
28995 { (exit 1); exit 1; }; }
28996 ;;
28997 esac
28998
28999 if test "$WXGTK2" = 1; then
29000 save_CFLAGS="$CFLAGS"
29001 save_LIBS="$LIBS"
29002 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29003 LIBS="$LIBS $wx_cv_libs_gtk"
29004
29005 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29006 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
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
29016 int
29017 main ()
29018 {
29019
29020 #if !GTK_CHECK_VERSION(2,10,0)
29021 Not GTK+ 2.10
29022 #endif
29023
29024 ;
29025 return 0;
29026 }
29027 _ACEOF
29028 rm -f conftest.$ac_objext
29029 if { (ac_try="$ac_compile"
29030 case "(($ac_try" in
29031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29032 *) ac_try_echo=$ac_try;;
29033 esac
29034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29035 (eval "$ac_compile") 2>conftest.er1
29036 ac_status=$?
29037 grep -v '^ *+' conftest.er1 >conftest.err
29038 rm -f conftest.er1
29039 cat conftest.err >&5
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); } && {
29042 test -z "$ac_c_werror_flag" ||
29043 test ! -s conftest.err
29044 } && test -s conftest.$ac_objext; then
29045
29046 cat >>confdefs.h <<\_ACEOF
29047 #define __WXGTK210__ 1
29048 _ACEOF
29049
29050 cat >>confdefs.h <<\_ACEOF
29051 #define __WXGTK26__ 1
29052 _ACEOF
29053
29054 { echo "$as_me:$LINENO: result: yes" >&5
29055 echo "${ECHO_T}yes" >&6; }
29056 ac_wxgtk210=1
29057
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29061
29062
29063 { echo "$as_me:$LINENO: result: no" >&5
29064 echo "${ECHO_T}no" >&6; }
29065 ac_wxgtk210=0
29066
29067 fi
29068
29069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29070
29071 if test "$ac_wxgtk210" = 0; then
29072 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29073 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29074 cat >conftest.$ac_ext <<_ACEOF
29075 /* confdefs.h. */
29076 _ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29080
29081 #include <gtk/gtk.h>
29082
29083 int
29084 main ()
29085 {
29086
29087 #if !GTK_CHECK_VERSION(2,6,0)
29088 Not GTK+ 2.6
29089 #endif
29090
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 rm -f conftest.$ac_objext
29096 if { (ac_try="$ac_compile"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29100 esac
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_compile") 2>conftest.er1
29103 ac_status=$?
29104 grep -v '^ *+' conftest.er1 >conftest.err
29105 rm -f conftest.er1
29106 cat conftest.err >&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } && {
29109 test -z "$ac_c_werror_flag" ||
29110 test ! -s conftest.err
29111 } && test -s conftest.$ac_objext; then
29112
29113 cat >>confdefs.h <<\_ACEOF
29114 #define __WXGTK26__ 1
29115 _ACEOF
29116
29117 { echo "$as_me:$LINENO: result: yes" >&5
29118 echo "${ECHO_T}yes" >&6; }
29119 ac_wxgtk26=1
29120
29121 else
29122 echo "$as_me: failed program was:" >&5
29123 sed 's/^/| /' conftest.$ac_ext >&5
29124
29125
29126 { echo "$as_me:$LINENO: result: no" >&5
29127 echo "${ECHO_T}no" >&6; }
29128 ac_wxgtk26=0
29129
29130 fi
29131
29132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29133 fi
29134
29135 CFLAGS="$save_CFLAGS"
29136 LIBS="$save_LIBS"
29137 else
29138 if test "$wxUSE_UNICODE" = "yes"; then
29139 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29140 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29141 wxUSE_UNICODE=no
29142 fi
29143
29144 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29145 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29146 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29147 echo $ECHO_N "(cached) $ECHO_C" >&6
29148 else
29149 ac_check_lib_save_LIBS=$LIBS
29150 LIBS="-lgdk $LIBS"
29151 cat >conftest.$ac_ext <<_ACEOF
29152 /* confdefs.h. */
29153 _ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157
29158 /* Override any GCC internal prototype to avoid an error.
29159 Use char because int might match the return type of a GCC
29160 builtin and then its argument prototype would still apply. */
29161 #ifdef __cplusplus
29162 extern "C"
29163 #endif
29164 char gdk_im_open ();
29165 int
29166 main ()
29167 {
29168 return gdk_im_open ();
29169 ;
29170 return 0;
29171 }
29172 _ACEOF
29173 rm -f conftest.$ac_objext conftest$ac_exeext
29174 if { (ac_try="$ac_link"
29175 case "(($ac_try" in
29176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29177 *) ac_try_echo=$ac_try;;
29178 esac
29179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29180 (eval "$ac_link") 2>conftest.er1
29181 ac_status=$?
29182 grep -v '^ *+' conftest.er1 >conftest.err
29183 rm -f conftest.er1
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } && {
29187 test -z "$ac_c_werror_flag" ||
29188 test ! -s conftest.err
29189 } && test -s conftest$ac_exeext &&
29190 $as_test_x conftest$ac_exeext; then
29191 ac_cv_lib_gdk_gdk_im_open=yes
29192 else
29193 echo "$as_me: failed program was:" >&5
29194 sed 's/^/| /' conftest.$ac_ext >&5
29195
29196 ac_cv_lib_gdk_gdk_im_open=no
29197 fi
29198
29199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29200 conftest$ac_exeext conftest.$ac_ext
29201 LIBS=$ac_check_lib_save_LIBS
29202 fi
29203 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29204 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29205 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29206 cat >>confdefs.h <<\_ACEOF
29207 #define HAVE_XIM 1
29208 _ACEOF
29209
29210 fi
29211
29212
29213 if test "$USE_DARWIN" != 1; then
29214
29215 for ac_func in poll
29216 do
29217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29221 echo $ECHO_N "(cached) $ECHO_C" >&6
29222 else
29223 cat >conftest.$ac_ext <<_ACEOF
29224 /* confdefs.h. */
29225 _ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29231 #define $ac_func innocuous_$ac_func
29232
29233 /* System header to define __stub macros and hopefully few prototypes,
29234 which can conflict with char $ac_func (); below.
29235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29236 <limits.h> exists even on freestanding compilers. */
29237
29238 #ifdef __STDC__
29239 # include <limits.h>
29240 #else
29241 # include <assert.h>
29242 #endif
29243
29244 #undef $ac_func
29245
29246 /* Override any GCC internal prototype to avoid an error.
29247 Use char because int might match the return type of a GCC
29248 builtin and then its argument prototype would still apply. */
29249 #ifdef __cplusplus
29250 extern "C"
29251 #endif
29252 char $ac_func ();
29253 /* The GNU C library defines this for functions which it implements
29254 to always fail with ENOSYS. Some functions are actually named
29255 something starting with __ and the normal name is an alias. */
29256 #if defined __stub_$ac_func || defined __stub___$ac_func
29257 choke me
29258 #endif
29259
29260 int
29261 main ()
29262 {
29263 return $ac_func ();
29264 ;
29265 return 0;
29266 }
29267 _ACEOF
29268 rm -f conftest.$ac_objext conftest$ac_exeext
29269 if { (ac_try="$ac_link"
29270 case "(($ac_try" in
29271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29272 *) ac_try_echo=$ac_try;;
29273 esac
29274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29275 (eval "$ac_link") 2>conftest.er1
29276 ac_status=$?
29277 grep -v '^ *+' conftest.er1 >conftest.err
29278 rm -f conftest.er1
29279 cat conftest.err >&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } && {
29282 test -z "$ac_c_werror_flag" ||
29283 test ! -s conftest.err
29284 } && test -s conftest$ac_exeext &&
29285 $as_test_x conftest$ac_exeext; then
29286 eval "$as_ac_var=yes"
29287 else
29288 echo "$as_me: failed program was:" >&5
29289 sed 's/^/| /' conftest.$ac_ext >&5
29290
29291 eval "$as_ac_var=no"
29292 fi
29293
29294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29295 conftest$ac_exeext conftest.$ac_ext
29296 fi
29297 ac_res=`eval echo '${'$as_ac_var'}'`
29298 { echo "$as_me:$LINENO: result: $ac_res" >&5
29299 echo "${ECHO_T}$ac_res" >&6; }
29300 if test `eval echo '${'$as_ac_var'}'` = yes; then
29301 cat >>confdefs.h <<_ACEOF
29302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29303 _ACEOF
29304
29305 fi
29306 done
29307
29308 fi
29309 fi
29310
29311 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29312 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29313
29314 AFMINSTALL=afminstall
29315 TOOLKIT=GTK
29316 GUIDIST=GTK_DIST
29317
29318 if test "$wxUSE_GPE" = "yes"; then
29319 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29320 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29321
29322 ac_find_libraries=
29323 for ac_dir in $SEARCH_LIB;
29324 do
29325 for ac_extension in a so sl dylib dll.a; do
29326 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29327 ac_find_libraries=$ac_dir
29328 break 2
29329 fi
29330 done
29331 done
29332
29333 if test "$ac_find_libraries" != "" ; then
29334
29335 if test "$ac_find_libraries" = "default location"; then
29336 ac_path_to_link=""
29337 else
29338 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29339 result=$?
29340 if test $result = 0; then
29341 ac_path_to_link=""
29342 else
29343 ac_path_to_link=" -L$ac_find_libraries"
29344 fi
29345 fi
29346
29347 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29348 WXGPE=1
29349 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29350 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29351 else
29352 { echo "$as_me:$LINENO: result: not found" >&5
29353 echo "${ECHO_T}not found" >&6; }
29354 fi
29355
29356 fi
29357 fi
29358
29359 if test "$wxUSE_MGL" = 1; then
29360 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29361 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29362 if test "x$MGL_ROOT" = x ; then
29363 { echo "$as_me:$LINENO: result: not found" >&5
29364 echo "${ECHO_T}not found" >&6; }
29365 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29366 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29367 { (exit 1); exit 1; }; }
29368 else
29369 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29370 echo "${ECHO_T}$MGL_ROOT" >&6; }
29371 fi
29372
29373 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29374 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29375 case "${host}" in
29376 *-*-linux* )
29377 if test "x$wxUSE_SHARED" = xyes ; then
29378 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29379 else
29380 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29381 fi
29382 ;;
29383 *-pc-msdosdjgpp )
29384 mgl_os_candidates="dos32/dj2"
29385 ;;
29386 *)
29387 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29388 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29389 { (exit 1); exit 1; }; }
29390 esac
29391
29392 mgl_lib_type=""
29393 mgl_os=""
29394
29395 for mgl_os_i in $mgl_os_candidates ; do
29396 if test "x$mgl_os" = x ; then
29397 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29398 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29399 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29400 mgl_lib_type=debug
29401 mgl_os=$mgl_os_i
29402 fi
29403 fi
29404 if test "x$mgl_lib_type" = x ; then
29405 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29406 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29407 mgl_lib_type=release
29408 mgl_os=$mgl_os_i
29409 fi
29410 fi
29411 fi
29412 done
29413
29414 if test "x$mgl_os" = x ; then
29415 { echo "$as_me:$LINENO: result: not found" >&5
29416 echo "${ECHO_T}not found" >&6; }
29417 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29418 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29419 { (exit 1); exit 1; }; }
29420 fi
29421 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29422 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29423
29424 wxUSE_UNIVERSAL="yes"
29425
29426 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29427 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29428
29429 AFMINSTALL=afminstall
29430 TOOLKIT=MGL
29431 GUIDIST=MGL_DIST
29432 fi
29433
29434 if test "$wxUSE_DFB" = 1; then
29435
29436
29437 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29438 if test -n "$ac_tool_prefix"; then
29439 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29440 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29443 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29444 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 else
29446 case $PKG_CONFIG in
29447 [\\/]* | ?:[\\/]*)
29448 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29449 ;;
29450 *)
29451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29452 for as_dir in $PATH
29453 do
29454 IFS=$as_save_IFS
29455 test -z "$as_dir" && as_dir=.
29456 for ac_exec_ext in '' $ac_executable_extensions; do
29457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29458 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29460 break 2
29461 fi
29462 done
29463 done
29464 IFS=$as_save_IFS
29465
29466 ;;
29467 esac
29468 fi
29469 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29470 if test -n "$PKG_CONFIG"; then
29471 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29472 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29473 else
29474 { echo "$as_me:$LINENO: result: no" >&5
29475 echo "${ECHO_T}no" >&6; }
29476 fi
29477
29478
29479 fi
29480 if test -z "$ac_cv_path_PKG_CONFIG"; then
29481 ac_pt_PKG_CONFIG=$PKG_CONFIG
29482 # Extract the first word of "pkg-config", so it can be a program name with args.
29483 set dummy pkg-config; ac_word=$2
29484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29486 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29489 case $ac_pt_PKG_CONFIG in
29490 [\\/]* | ?:[\\/]*)
29491 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29492 ;;
29493 *)
29494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29495 for as_dir in $PATH
29496 do
29497 IFS=$as_save_IFS
29498 test -z "$as_dir" && as_dir=.
29499 for ac_exec_ext in '' $ac_executable_extensions; do
29500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29501 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29503 break 2
29504 fi
29505 done
29506 done
29507 IFS=$as_save_IFS
29508
29509 ;;
29510 esac
29511 fi
29512 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29513 if test -n "$ac_pt_PKG_CONFIG"; then
29514 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29515 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29516 else
29517 { echo "$as_me:$LINENO: result: no" >&5
29518 echo "${ECHO_T}no" >&6; }
29519 fi
29520
29521 if test "x$ac_pt_PKG_CONFIG" = x; then
29522 PKG_CONFIG=""
29523 else
29524 case $cross_compiling:$ac_tool_warned in
29525 yes:)
29526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29527 whose name does not start with the host triplet. If you think this
29528 configuration is useful to you, please write to autoconf@gnu.org." >&5
29529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29530 whose name does not start with the host triplet. If you think this
29531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29532 ac_tool_warned=yes ;;
29533 esac
29534 PKG_CONFIG=$ac_pt_PKG_CONFIG
29535 fi
29536 else
29537 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29538 fi
29539
29540 fi
29541 if test -n "$PKG_CONFIG"; then
29542 _pkg_min_version=0.9.0
29543 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29544 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29545 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29546 { echo "$as_me:$LINENO: result: yes" >&5
29547 echo "${ECHO_T}yes" >&6; }
29548 else
29549 { echo "$as_me:$LINENO: result: no" >&5
29550 echo "${ECHO_T}no" >&6; }
29551 PKG_CONFIG=""
29552 fi
29553
29554 fi
29555
29556
29557 pkg_failed=no
29558 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29559 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29560
29561 if test -n "$PKG_CONFIG"; then
29562 if test -n "$DIRECTFB_CFLAGS"; then
29563 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29564 else
29565 if test -n "$PKG_CONFIG" && \
29566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29567 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29568 ac_status=$?
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; then
29571 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29572 else
29573 pkg_failed=yes
29574 fi
29575 fi
29576 else
29577 pkg_failed=untried
29578 fi
29579 if test -n "$PKG_CONFIG"; then
29580 if test -n "$DIRECTFB_LIBS"; then
29581 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29582 else
29583 if test -n "$PKG_CONFIG" && \
29584 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29585 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29586 ac_status=$?
29587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588 (exit $ac_status); }; then
29589 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29590 else
29591 pkg_failed=yes
29592 fi
29593 fi
29594 else
29595 pkg_failed=untried
29596 fi
29597
29598
29599
29600 if test $pkg_failed = yes; then
29601
29602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29603 _pkg_short_errors_supported=yes
29604 else
29605 _pkg_short_errors_supported=no
29606 fi
29607 if test $_pkg_short_errors_supported = yes; then
29608 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29609 else
29610 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29611 fi
29612 # Put the nasty error message in config.log where it belongs
29613 echo "$DIRECTFB_PKG_ERRORS" >&5
29614
29615
29616 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29617 echo "$as_me: error: DirectFB not found." >&2;}
29618 { (exit 1); exit 1; }; }
29619
29620
29621 elif test $pkg_failed = untried; then
29622
29623 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29624 echo "$as_me: error: DirectFB not found." >&2;}
29625 { (exit 1); exit 1; }; }
29626
29627
29628 else
29629 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29630 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29631 { echo "$as_me:$LINENO: result: yes" >&5
29632 echo "${ECHO_T}yes" >&6; }
29633
29634 wxUSE_UNIVERSAL="yes"
29635 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29636 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29637 TOOLKIT=DFB
29638 GUIDIST=DFB_DIST
29639
29640 fi
29641 fi
29642
29643 if test "$wxUSE_MICROWIN" = 1; then
29644 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29645 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29646 if test "x$MICROWINDOWS" = x ; then
29647 { echo "$as_me:$LINENO: result: not found" >&5
29648 echo "${ECHO_T}not found" >&6; }
29649 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29650 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29651 { (exit 1); exit 1; }; }
29652 else
29653 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29654 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29655 fi
29656
29657 if test -f $MICROWINDOWS/lib/libmwin.a; then
29658 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29659 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29660 else
29661 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29662 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29663 { (exit 1); exit 1; }; }
29664 fi
29665
29666 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29667 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29668
29669 wxUSE_UNIVERSAL="yes"
29670
29671 AFMINSTALL=afminstall
29672 TOOLKIT=MICROWIN
29673 GUIDIST=MICROWIN_DIST
29674
29675 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29676 fi
29677
29678 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29679 { echo "$as_me:$LINENO: checking for X" >&5
29680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29681
29682
29683 # Check whether --with-x was given.
29684 if test "${with_x+set}" = set; then
29685 withval=$with_x;
29686 fi
29687
29688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29689 if test "x$with_x" = xno; then
29690 # The user explicitly disabled X.
29691 have_x=disabled
29692 else
29693 case $x_includes,$x_libraries in #(
29694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29696 { (exit 1); exit 1; }; };; #(
29697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29699 else
29700 # One or both of the vars are not set, and there is no cached value.
29701 ac_x_includes=no ac_x_libraries=no
29702 rm -f -r conftest.dir
29703 if mkdir conftest.dir; then
29704 cd conftest.dir
29705 cat >Imakefile <<'_ACEOF'
29706 incroot:
29707 @echo incroot='${INCROOT}'
29708 usrlibdir:
29709 @echo usrlibdir='${USRLIBDIR}'
29710 libdir:
29711 @echo libdir='${LIBDIR}'
29712 _ACEOF
29713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29715 for ac_var in incroot usrlibdir libdir; do
29716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29717 done
29718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29719 for ac_extension in a so sl; do
29720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29722 ac_im_usrlibdir=$ac_im_libdir; break
29723 fi
29724 done
29725 # Screen out bogus values from the imake configuration. They are
29726 # bogus both because they are the default anyway, and because
29727 # using them would break gcc on systems where it needs fixed includes.
29728 case $ac_im_incroot in
29729 /usr/include) ac_x_includes= ;;
29730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29731 esac
29732 case $ac_im_usrlibdir in
29733 /usr/lib | /lib) ;;
29734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29735 esac
29736 fi
29737 cd ..
29738 rm -f -r conftest.dir
29739 fi
29740
29741 # Standard set of common directories for X headers.
29742 # Check X11 before X11Rn because it is often a symlink to the current release.
29743 ac_x_header_dirs='
29744 /usr/X11/include
29745 /usr/X11R6/include
29746 /usr/X11R5/include
29747 /usr/X11R4/include
29748
29749 /usr/include/X11
29750 /usr/include/X11R6
29751 /usr/include/X11R5
29752 /usr/include/X11R4
29753
29754 /usr/local/X11/include
29755 /usr/local/X11R6/include
29756 /usr/local/X11R5/include
29757 /usr/local/X11R4/include
29758
29759 /usr/local/include/X11
29760 /usr/local/include/X11R6
29761 /usr/local/include/X11R5
29762 /usr/local/include/X11R4
29763
29764 /usr/X386/include
29765 /usr/x386/include
29766 /usr/XFree86/include/X11
29767
29768 /usr/include
29769 /usr/local/include
29770 /usr/unsupported/include
29771 /usr/athena/include
29772 /usr/local/x11r5/include
29773 /usr/lpp/Xamples/include
29774
29775 /usr/openwin/include
29776 /usr/openwin/share/include'
29777
29778 if test "$ac_x_includes" = no; then
29779 # Guess where to find include files, by looking for Xlib.h.
29780 # First, try using that file with no special directory specified.
29781 cat >conftest.$ac_ext <<_ACEOF
29782 /* confdefs.h. */
29783 _ACEOF
29784 cat confdefs.h >>conftest.$ac_ext
29785 cat >>conftest.$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 #include <X11/Xlib.h>
29788 _ACEOF
29789 if { (ac_try="$ac_cpp conftest.$ac_ext"
29790 case "(($ac_try" in
29791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29792 *) ac_try_echo=$ac_try;;
29793 esac
29794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29796 ac_status=$?
29797 grep -v '^ *+' conftest.er1 >conftest.err
29798 rm -f conftest.er1
29799 cat conftest.err >&5
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); } >/dev/null && {
29802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29803 test ! -s conftest.err
29804 }; then
29805 # We can compile using X headers with no special include directory.
29806 ac_x_includes=
29807 else
29808 echo "$as_me: failed program was:" >&5
29809 sed 's/^/| /' conftest.$ac_ext >&5
29810
29811 for ac_dir in $ac_x_header_dirs; do
29812 if test -r "$ac_dir/X11/Xlib.h"; then
29813 ac_x_includes=$ac_dir
29814 break
29815 fi
29816 done
29817 fi
29818
29819 rm -f conftest.err conftest.$ac_ext
29820 fi # $ac_x_includes = no
29821
29822 if test "$ac_x_libraries" = no; then
29823 # Check for the libraries.
29824 # See if we find them without any special options.
29825 # Don't add to $LIBS permanently.
29826 ac_save_LIBS=$LIBS
29827 LIBS="-lX11 $LIBS"
29828 cat >conftest.$ac_ext <<_ACEOF
29829 /* confdefs.h. */
29830 _ACEOF
29831 cat confdefs.h >>conftest.$ac_ext
29832 cat >>conftest.$ac_ext <<_ACEOF
29833 /* end confdefs.h. */
29834 #include <X11/Xlib.h>
29835 int
29836 main ()
29837 {
29838 XrmInitialize ()
29839 ;
29840 return 0;
29841 }
29842 _ACEOF
29843 rm -f conftest.$ac_objext conftest$ac_exeext
29844 if { (ac_try="$ac_link"
29845 case "(($ac_try" in
29846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29847 *) ac_try_echo=$ac_try;;
29848 esac
29849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29850 (eval "$ac_link") 2>conftest.er1
29851 ac_status=$?
29852 grep -v '^ *+' conftest.er1 >conftest.err
29853 rm -f conftest.er1
29854 cat conftest.err >&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } && {
29857 test -z "$ac_c_werror_flag" ||
29858 test ! -s conftest.err
29859 } && test -s conftest$ac_exeext &&
29860 $as_test_x conftest$ac_exeext; then
29861 LIBS=$ac_save_LIBS
29862 # We can link X programs with no special library path.
29863 ac_x_libraries=
29864 else
29865 echo "$as_me: failed program was:" >&5
29866 sed 's/^/| /' conftest.$ac_ext >&5
29867
29868 LIBS=$ac_save_LIBS
29869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29870 do
29871 # Don't even attempt the hair of trying to link an X program!
29872 for ac_extension in a so sl; do
29873 if test -r "$ac_dir/libX11.$ac_extension"; then
29874 ac_x_libraries=$ac_dir
29875 break 2
29876 fi
29877 done
29878 done
29879 fi
29880
29881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29882 conftest$ac_exeext conftest.$ac_ext
29883 fi # $ac_x_libraries = no
29884
29885 case $ac_x_includes,$ac_x_libraries in #(
29886 no,* | *,no | *\'*)
29887 # Didn't find X, or a directory has "'" in its name.
29888 ac_cv_have_x="have_x=no";; #(
29889 *)
29890 # Record where we found X for the cache.
29891 ac_cv_have_x="have_x=yes\
29892 ac_x_includes='$ac_x_includes'\
29893 ac_x_libraries='$ac_x_libraries'"
29894 esac
29895 fi
29896 ;; #(
29897 *) have_x=yes;;
29898 esac
29899 eval "$ac_cv_have_x"
29900 fi # $with_x != no
29901
29902 if test "$have_x" != yes; then
29903 { echo "$as_me:$LINENO: result: $have_x" >&5
29904 echo "${ECHO_T}$have_x" >&6; }
29905 no_x=yes
29906 else
29907 # If each of the values was on the command line, it overrides each guess.
29908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29910 # Update the cache value to reflect the command line values.
29911 ac_cv_have_x="have_x=yes\
29912 ac_x_includes='$x_includes'\
29913 ac_x_libraries='$x_libraries'"
29914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29916 fi
29917
29918 if test "$no_x" = yes; then
29919 # Not all programs may use this symbol, but it does not hurt to define it.
29920
29921 cat >>confdefs.h <<\_ACEOF
29922 #define X_DISPLAY_MISSING 1
29923 _ACEOF
29924
29925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29926 else
29927 if test -n "$x_includes"; then
29928 X_CFLAGS="$X_CFLAGS -I$x_includes"
29929 fi
29930
29931 # It would also be nice to do this for all -L options, not just this one.
29932 if test -n "$x_libraries"; then
29933 X_LIBS="$X_LIBS -L$x_libraries"
29934 # For Solaris; some versions of Sun CC require a space after -R and
29935 # others require no space. Words are not sufficient . . . .
29936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29939 ac_xsave_c_werror_flag=$ac_c_werror_flag
29940 ac_c_werror_flag=yes
29941 cat >conftest.$ac_ext <<_ACEOF
29942 /* confdefs.h. */
29943 _ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947
29948 int
29949 main ()
29950 {
29951
29952 ;
29953 return 0;
29954 }
29955 _ACEOF
29956 rm -f conftest.$ac_objext conftest$ac_exeext
29957 if { (ac_try="$ac_link"
29958 case "(($ac_try" in
29959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29960 *) ac_try_echo=$ac_try;;
29961 esac
29962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29963 (eval "$ac_link") 2>conftest.er1
29964 ac_status=$?
29965 grep -v '^ *+' conftest.er1 >conftest.err
29966 rm -f conftest.er1
29967 cat conftest.err >&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } && {
29970 test -z "$ac_c_werror_flag" ||
29971 test ! -s conftest.err
29972 } && test -s conftest$ac_exeext &&
29973 $as_test_x conftest$ac_exeext; then
29974 { echo "$as_me:$LINENO: result: no" >&5
29975 echo "${ECHO_T}no" >&6; }
29976 X_LIBS="$X_LIBS -R$x_libraries"
29977 else
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29980
29981 LIBS="$ac_xsave_LIBS -R $x_libraries"
29982 cat >conftest.$ac_ext <<_ACEOF
29983 /* confdefs.h. */
29984 _ACEOF
29985 cat confdefs.h >>conftest.$ac_ext
29986 cat >>conftest.$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29988
29989 int
29990 main ()
29991 {
29992
29993 ;
29994 return 0;
29995 }
29996 _ACEOF
29997 rm -f conftest.$ac_objext conftest$ac_exeext
29998 if { (ac_try="$ac_link"
29999 case "(($ac_try" in
30000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30001 *) ac_try_echo=$ac_try;;
30002 esac
30003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004 (eval "$ac_link") 2>conftest.er1
30005 ac_status=$?
30006 grep -v '^ *+' conftest.er1 >conftest.err
30007 rm -f conftest.er1
30008 cat conftest.err >&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); } && {
30011 test -z "$ac_c_werror_flag" ||
30012 test ! -s conftest.err
30013 } && test -s conftest$ac_exeext &&
30014 $as_test_x conftest$ac_exeext; then
30015 { echo "$as_me:$LINENO: result: yes" >&5
30016 echo "${ECHO_T}yes" >&6; }
30017 X_LIBS="$X_LIBS -R $x_libraries"
30018 else
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30021
30022 { echo "$as_me:$LINENO: result: neither works" >&5
30023 echo "${ECHO_T}neither works" >&6; }
30024 fi
30025
30026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30027 conftest$ac_exeext conftest.$ac_ext
30028 fi
30029
30030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30031 conftest$ac_exeext conftest.$ac_ext
30032 ac_c_werror_flag=$ac_xsave_c_werror_flag
30033 LIBS=$ac_xsave_LIBS
30034 fi
30035
30036 # Check for system-dependent libraries X programs must link with.
30037 # Do this before checking for the system-independent R6 libraries
30038 # (-lICE), since we may need -lsocket or whatever for X linking.
30039
30040 if test "$ISC" = yes; then
30041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30042 else
30043 # Martyn Johnson says this is needed for Ultrix, if the X
30044 # libraries were built with DECnet support. And Karl Berry says
30045 # the Alpha needs dnet_stub (dnet does not exist).
30046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30047 cat >conftest.$ac_ext <<_ACEOF
30048 /* confdefs.h. */
30049 _ACEOF
30050 cat confdefs.h >>conftest.$ac_ext
30051 cat >>conftest.$ac_ext <<_ACEOF
30052 /* end confdefs.h. */
30053
30054 /* Override any GCC internal prototype to avoid an error.
30055 Use char because int might match the return type of a GCC
30056 builtin and then its argument prototype would still apply. */
30057 #ifdef __cplusplus
30058 extern "C"
30059 #endif
30060 char XOpenDisplay ();
30061 int
30062 main ()
30063 {
30064 return XOpenDisplay ();
30065 ;
30066 return 0;
30067 }
30068 _ACEOF
30069 rm -f conftest.$ac_objext conftest$ac_exeext
30070 if { (ac_try="$ac_link"
30071 case "(($ac_try" in
30072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30073 *) ac_try_echo=$ac_try;;
30074 esac
30075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30076 (eval "$ac_link") 2>conftest.er1
30077 ac_status=$?
30078 grep -v '^ *+' conftest.er1 >conftest.err
30079 rm -f conftest.er1
30080 cat conftest.err >&5
30081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082 (exit $ac_status); } && {
30083 test -z "$ac_c_werror_flag" ||
30084 test ! -s conftest.err
30085 } && test -s conftest$ac_exeext &&
30086 $as_test_x conftest$ac_exeext; then
30087 :
30088 else
30089 echo "$as_me: failed program was:" >&5
30090 sed 's/^/| /' conftest.$ac_ext >&5
30091
30092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30095 echo $ECHO_N "(cached) $ECHO_C" >&6
30096 else
30097 ac_check_lib_save_LIBS=$LIBS
30098 LIBS="-ldnet $LIBS"
30099 cat >conftest.$ac_ext <<_ACEOF
30100 /* confdefs.h. */
30101 _ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105
30106 /* Override any GCC internal prototype to avoid an error.
30107 Use char because int might match the return type of a GCC
30108 builtin and then its argument prototype would still apply. */
30109 #ifdef __cplusplus
30110 extern "C"
30111 #endif
30112 char dnet_ntoa ();
30113 int
30114 main ()
30115 {
30116 return dnet_ntoa ();
30117 ;
30118 return 0;
30119 }
30120 _ACEOF
30121 rm -f conftest.$ac_objext conftest$ac_exeext
30122 if { (ac_try="$ac_link"
30123 case "(($ac_try" in
30124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30125 *) ac_try_echo=$ac_try;;
30126 esac
30127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30128 (eval "$ac_link") 2>conftest.er1
30129 ac_status=$?
30130 grep -v '^ *+' conftest.er1 >conftest.err
30131 rm -f conftest.er1
30132 cat conftest.err >&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); } && {
30135 test -z "$ac_c_werror_flag" ||
30136 test ! -s conftest.err
30137 } && test -s conftest$ac_exeext &&
30138 $as_test_x conftest$ac_exeext; then
30139 ac_cv_lib_dnet_dnet_ntoa=yes
30140 else
30141 echo "$as_me: failed program was:" >&5
30142 sed 's/^/| /' conftest.$ac_ext >&5
30143
30144 ac_cv_lib_dnet_dnet_ntoa=no
30145 fi
30146
30147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30148 conftest$ac_exeext conftest.$ac_ext
30149 LIBS=$ac_check_lib_save_LIBS
30150 fi
30151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30155 fi
30156
30157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30161 echo $ECHO_N "(cached) $ECHO_C" >&6
30162 else
30163 ac_check_lib_save_LIBS=$LIBS
30164 LIBS="-ldnet_stub $LIBS"
30165 cat >conftest.$ac_ext <<_ACEOF
30166 /* confdefs.h. */
30167 _ACEOF
30168 cat confdefs.h >>conftest.$ac_ext
30169 cat >>conftest.$ac_ext <<_ACEOF
30170 /* end confdefs.h. */
30171
30172 /* Override any GCC internal prototype to avoid an error.
30173 Use char because int might match the return type of a GCC
30174 builtin and then its argument prototype would still apply. */
30175 #ifdef __cplusplus
30176 extern "C"
30177 #endif
30178 char dnet_ntoa ();
30179 int
30180 main ()
30181 {
30182 return dnet_ntoa ();
30183 ;
30184 return 0;
30185 }
30186 _ACEOF
30187 rm -f conftest.$ac_objext conftest$ac_exeext
30188 if { (ac_try="$ac_link"
30189 case "(($ac_try" in
30190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30191 *) ac_try_echo=$ac_try;;
30192 esac
30193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30194 (eval "$ac_link") 2>conftest.er1
30195 ac_status=$?
30196 grep -v '^ *+' conftest.er1 >conftest.err
30197 rm -f conftest.er1
30198 cat conftest.err >&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } && {
30201 test -z "$ac_c_werror_flag" ||
30202 test ! -s conftest.err
30203 } && test -s conftest$ac_exeext &&
30204 $as_test_x conftest$ac_exeext; then
30205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30206 else
30207 echo "$as_me: failed program was:" >&5
30208 sed 's/^/| /' conftest.$ac_ext >&5
30209
30210 ac_cv_lib_dnet_stub_dnet_ntoa=no
30211 fi
30212
30213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30214 conftest$ac_exeext conftest.$ac_ext
30215 LIBS=$ac_check_lib_save_LIBS
30216 fi
30217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30221 fi
30222
30223 fi
30224 fi
30225
30226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30227 conftest$ac_exeext conftest.$ac_ext
30228 LIBS="$ac_xsave_LIBS"
30229
30230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30231 # to get the SysV transport functions.
30232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30233 # needs -lnsl.
30234 # The nsl library prevents programs from opening the X display
30235 # on Irix 5.2, according to T.E. Dickey.
30236 # The functions gethostbyname, getservbyname, and inet_addr are
30237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30240 if test "${ac_cv_func_gethostbyname+set}" = set; then
30241 echo $ECHO_N "(cached) $ECHO_C" >&6
30242 else
30243 cat >conftest.$ac_ext <<_ACEOF
30244 /* confdefs.h. */
30245 _ACEOF
30246 cat confdefs.h >>conftest.$ac_ext
30247 cat >>conftest.$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30251 #define gethostbyname innocuous_gethostbyname
30252
30253 /* System header to define __stub macros and hopefully few prototypes,
30254 which can conflict with char gethostbyname (); below.
30255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30256 <limits.h> exists even on freestanding compilers. */
30257
30258 #ifdef __STDC__
30259 # include <limits.h>
30260 #else
30261 # include <assert.h>
30262 #endif
30263
30264 #undef gethostbyname
30265
30266 /* Override any GCC internal prototype to avoid an error.
30267 Use char because int might match the return type of a GCC
30268 builtin and then its argument prototype would still apply. */
30269 #ifdef __cplusplus
30270 extern "C"
30271 #endif
30272 char gethostbyname ();
30273 /* The GNU C library defines this for functions which it implements
30274 to always fail with ENOSYS. Some functions are actually named
30275 something starting with __ and the normal name is an alias. */
30276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30277 choke me
30278 #endif
30279
30280 int
30281 main ()
30282 {
30283 return gethostbyname ();
30284 ;
30285 return 0;
30286 }
30287 _ACEOF
30288 rm -f conftest.$ac_objext conftest$ac_exeext
30289 if { (ac_try="$ac_link"
30290 case "(($ac_try" in
30291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30292 *) ac_try_echo=$ac_try;;
30293 esac
30294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30295 (eval "$ac_link") 2>conftest.er1
30296 ac_status=$?
30297 grep -v '^ *+' conftest.er1 >conftest.err
30298 rm -f conftest.er1
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } && {
30302 test -z "$ac_c_werror_flag" ||
30303 test ! -s conftest.err
30304 } && test -s conftest$ac_exeext &&
30305 $as_test_x conftest$ac_exeext; then
30306 ac_cv_func_gethostbyname=yes
30307 else
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30310
30311 ac_cv_func_gethostbyname=no
30312 fi
30313
30314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30315 conftest$ac_exeext conftest.$ac_ext
30316 fi
30317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30319
30320 if test $ac_cv_func_gethostbyname = no; then
30321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30324 echo $ECHO_N "(cached) $ECHO_C" >&6
30325 else
30326 ac_check_lib_save_LIBS=$LIBS
30327 LIBS="-lnsl $LIBS"
30328 cat >conftest.$ac_ext <<_ACEOF
30329 /* confdefs.h. */
30330 _ACEOF
30331 cat confdefs.h >>conftest.$ac_ext
30332 cat >>conftest.$ac_ext <<_ACEOF
30333 /* end confdefs.h. */
30334
30335 /* Override any GCC internal prototype to avoid an error.
30336 Use char because int might match the return type of a GCC
30337 builtin and then its argument prototype would still apply. */
30338 #ifdef __cplusplus
30339 extern "C"
30340 #endif
30341 char gethostbyname ();
30342 int
30343 main ()
30344 {
30345 return gethostbyname ();
30346 ;
30347 return 0;
30348 }
30349 _ACEOF
30350 rm -f conftest.$ac_objext conftest$ac_exeext
30351 if { (ac_try="$ac_link"
30352 case "(($ac_try" in
30353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30354 *) ac_try_echo=$ac_try;;
30355 esac
30356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30357 (eval "$ac_link") 2>conftest.er1
30358 ac_status=$?
30359 grep -v '^ *+' conftest.er1 >conftest.err
30360 rm -f conftest.er1
30361 cat conftest.err >&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); } && {
30364 test -z "$ac_c_werror_flag" ||
30365 test ! -s conftest.err
30366 } && test -s conftest$ac_exeext &&
30367 $as_test_x conftest$ac_exeext; then
30368 ac_cv_lib_nsl_gethostbyname=yes
30369 else
30370 echo "$as_me: failed program was:" >&5
30371 sed 's/^/| /' conftest.$ac_ext >&5
30372
30373 ac_cv_lib_nsl_gethostbyname=no
30374 fi
30375
30376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30377 conftest$ac_exeext conftest.$ac_ext
30378 LIBS=$ac_check_lib_save_LIBS
30379 fi
30380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30384 fi
30385
30386 if test $ac_cv_lib_nsl_gethostbyname = no; then
30387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 else
30392 ac_check_lib_save_LIBS=$LIBS
30393 LIBS="-lbsd $LIBS"
30394 cat >conftest.$ac_ext <<_ACEOF
30395 /* confdefs.h. */
30396 _ACEOF
30397 cat confdefs.h >>conftest.$ac_ext
30398 cat >>conftest.$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400
30401 /* Override any GCC internal prototype to avoid an error.
30402 Use char because int might match the return type of a GCC
30403 builtin and then its argument prototype would still apply. */
30404 #ifdef __cplusplus
30405 extern "C"
30406 #endif
30407 char gethostbyname ();
30408 int
30409 main ()
30410 {
30411 return gethostbyname ();
30412 ;
30413 return 0;
30414 }
30415 _ACEOF
30416 rm -f conftest.$ac_objext conftest$ac_exeext
30417 if { (ac_try="$ac_link"
30418 case "(($ac_try" in
30419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30420 *) ac_try_echo=$ac_try;;
30421 esac
30422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30423 (eval "$ac_link") 2>conftest.er1
30424 ac_status=$?
30425 grep -v '^ *+' conftest.er1 >conftest.err
30426 rm -f conftest.er1
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } && {
30430 test -z "$ac_c_werror_flag" ||
30431 test ! -s conftest.err
30432 } && test -s conftest$ac_exeext &&
30433 $as_test_x conftest$ac_exeext; then
30434 ac_cv_lib_bsd_gethostbyname=yes
30435 else
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30438
30439 ac_cv_lib_bsd_gethostbyname=no
30440 fi
30441
30442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30443 conftest$ac_exeext conftest.$ac_ext
30444 LIBS=$ac_check_lib_save_LIBS
30445 fi
30446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30450 fi
30451
30452 fi
30453 fi
30454
30455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30456 # socket/setsockopt and other routines are undefined under SCO ODT
30457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30458 # on later versions), says Simon Leinen: it contains gethostby*
30459 # variants that don't use the name server (or something). -lsocket
30460 # must be given before -lnsl if both are needed. We assume that
30461 # if connect needs -lnsl, so does gethostbyname.
30462 { echo "$as_me:$LINENO: checking for connect" >&5
30463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30464 if test "${ac_cv_func_connect+set}" = set; then
30465 echo $ECHO_N "(cached) $ECHO_C" >&6
30466 else
30467 cat >conftest.$ac_ext <<_ACEOF
30468 /* confdefs.h. */
30469 _ACEOF
30470 cat confdefs.h >>conftest.$ac_ext
30471 cat >>conftest.$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30475 #define connect innocuous_connect
30476
30477 /* System header to define __stub macros and hopefully few prototypes,
30478 which can conflict with char connect (); below.
30479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30480 <limits.h> exists even on freestanding compilers. */
30481
30482 #ifdef __STDC__
30483 # include <limits.h>
30484 #else
30485 # include <assert.h>
30486 #endif
30487
30488 #undef connect
30489
30490 /* Override any GCC internal prototype to avoid an error.
30491 Use char because int might match the return type of a GCC
30492 builtin and then its argument prototype would still apply. */
30493 #ifdef __cplusplus
30494 extern "C"
30495 #endif
30496 char connect ();
30497 /* The GNU C library defines this for functions which it implements
30498 to always fail with ENOSYS. Some functions are actually named
30499 something starting with __ and the normal name is an alias. */
30500 #if defined __stub_connect || defined __stub___connect
30501 choke me
30502 #endif
30503
30504 int
30505 main ()
30506 {
30507 return connect ();
30508 ;
30509 return 0;
30510 }
30511 _ACEOF
30512 rm -f conftest.$ac_objext conftest$ac_exeext
30513 if { (ac_try="$ac_link"
30514 case "(($ac_try" in
30515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30516 *) ac_try_echo=$ac_try;;
30517 esac
30518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30519 (eval "$ac_link") 2>conftest.er1
30520 ac_status=$?
30521 grep -v '^ *+' conftest.er1 >conftest.err
30522 rm -f conftest.er1
30523 cat conftest.err >&5
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); } && {
30526 test -z "$ac_c_werror_flag" ||
30527 test ! -s conftest.err
30528 } && test -s conftest$ac_exeext &&
30529 $as_test_x conftest$ac_exeext; then
30530 ac_cv_func_connect=yes
30531 else
30532 echo "$as_me: failed program was:" >&5
30533 sed 's/^/| /' conftest.$ac_ext >&5
30534
30535 ac_cv_func_connect=no
30536 fi
30537
30538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30539 conftest$ac_exeext conftest.$ac_ext
30540 fi
30541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30543
30544 if test $ac_cv_func_connect = no; then
30545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30547 if test "${ac_cv_lib_socket_connect+set}" = set; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30549 else
30550 ac_check_lib_save_LIBS=$LIBS
30551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30552 cat >conftest.$ac_ext <<_ACEOF
30553 /* confdefs.h. */
30554 _ACEOF
30555 cat confdefs.h >>conftest.$ac_ext
30556 cat >>conftest.$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30558
30559 /* Override any GCC internal prototype to avoid an error.
30560 Use char because int might match the return type of a GCC
30561 builtin and then its argument prototype would still apply. */
30562 #ifdef __cplusplus
30563 extern "C"
30564 #endif
30565 char connect ();
30566 int
30567 main ()
30568 {
30569 return connect ();
30570 ;
30571 return 0;
30572 }
30573 _ACEOF
30574 rm -f conftest.$ac_objext conftest$ac_exeext
30575 if { (ac_try="$ac_link"
30576 case "(($ac_try" in
30577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30578 *) ac_try_echo=$ac_try;;
30579 esac
30580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30581 (eval "$ac_link") 2>conftest.er1
30582 ac_status=$?
30583 grep -v '^ *+' conftest.er1 >conftest.err
30584 rm -f conftest.er1
30585 cat conftest.err >&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); } && {
30588 test -z "$ac_c_werror_flag" ||
30589 test ! -s conftest.err
30590 } && test -s conftest$ac_exeext &&
30591 $as_test_x conftest$ac_exeext; then
30592 ac_cv_lib_socket_connect=yes
30593 else
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30596
30597 ac_cv_lib_socket_connect=no
30598 fi
30599
30600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30601 conftest$ac_exeext conftest.$ac_ext
30602 LIBS=$ac_check_lib_save_LIBS
30603 fi
30604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30606 if test $ac_cv_lib_socket_connect = yes; then
30607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30608 fi
30609
30610 fi
30611
30612 # Guillermo Gomez says -lposix is necessary on A/UX.
30613 { echo "$as_me:$LINENO: checking for remove" >&5
30614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30615 if test "${ac_cv_func_remove+set}" = set; then
30616 echo $ECHO_N "(cached) $ECHO_C" >&6
30617 else
30618 cat >conftest.$ac_ext <<_ACEOF
30619 /* confdefs.h. */
30620 _ACEOF
30621 cat confdefs.h >>conftest.$ac_ext
30622 cat >>conftest.$ac_ext <<_ACEOF
30623 /* end confdefs.h. */
30624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30626 #define remove innocuous_remove
30627
30628 /* System header to define __stub macros and hopefully few prototypes,
30629 which can conflict with char remove (); below.
30630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30631 <limits.h> exists even on freestanding compilers. */
30632
30633 #ifdef __STDC__
30634 # include <limits.h>
30635 #else
30636 # include <assert.h>
30637 #endif
30638
30639 #undef remove
30640
30641 /* Override any GCC internal prototype to avoid an error.
30642 Use char because int might match the return type of a GCC
30643 builtin and then its argument prototype would still apply. */
30644 #ifdef __cplusplus
30645 extern "C"
30646 #endif
30647 char remove ();
30648 /* The GNU C library defines this for functions which it implements
30649 to always fail with ENOSYS. Some functions are actually named
30650 something starting with __ and the normal name is an alias. */
30651 #if defined __stub_remove || defined __stub___remove
30652 choke me
30653 #endif
30654
30655 int
30656 main ()
30657 {
30658 return remove ();
30659 ;
30660 return 0;
30661 }
30662 _ACEOF
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (ac_try="$ac_link"
30665 case "(($ac_try" in
30666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30667 *) ac_try_echo=$ac_try;;
30668 esac
30669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30670 (eval "$ac_link") 2>conftest.er1
30671 ac_status=$?
30672 grep -v '^ *+' conftest.er1 >conftest.err
30673 rm -f conftest.er1
30674 cat conftest.err >&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && {
30677 test -z "$ac_c_werror_flag" ||
30678 test ! -s conftest.err
30679 } && test -s conftest$ac_exeext &&
30680 $as_test_x conftest$ac_exeext; then
30681 ac_cv_func_remove=yes
30682 else
30683 echo "$as_me: failed program was:" >&5
30684 sed 's/^/| /' conftest.$ac_ext >&5
30685
30686 ac_cv_func_remove=no
30687 fi
30688
30689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30690 conftest$ac_exeext conftest.$ac_ext
30691 fi
30692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30694
30695 if test $ac_cv_func_remove = no; then
30696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30698 if test "${ac_cv_lib_posix_remove+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701 ac_check_lib_save_LIBS=$LIBS
30702 LIBS="-lposix $LIBS"
30703 cat >conftest.$ac_ext <<_ACEOF
30704 /* confdefs.h. */
30705 _ACEOF
30706 cat confdefs.h >>conftest.$ac_ext
30707 cat >>conftest.$ac_ext <<_ACEOF
30708 /* end confdefs.h. */
30709
30710 /* Override any GCC internal prototype to avoid an error.
30711 Use char because int might match the return type of a GCC
30712 builtin and then its argument prototype would still apply. */
30713 #ifdef __cplusplus
30714 extern "C"
30715 #endif
30716 char remove ();
30717 int
30718 main ()
30719 {
30720 return remove ();
30721 ;
30722 return 0;
30723 }
30724 _ACEOF
30725 rm -f conftest.$ac_objext conftest$ac_exeext
30726 if { (ac_try="$ac_link"
30727 case "(($ac_try" in
30728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30729 *) ac_try_echo=$ac_try;;
30730 esac
30731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30732 (eval "$ac_link") 2>conftest.er1
30733 ac_status=$?
30734 grep -v '^ *+' conftest.er1 >conftest.err
30735 rm -f conftest.er1
30736 cat conftest.err >&5
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); } && {
30739 test -z "$ac_c_werror_flag" ||
30740 test ! -s conftest.err
30741 } && test -s conftest$ac_exeext &&
30742 $as_test_x conftest$ac_exeext; then
30743 ac_cv_lib_posix_remove=yes
30744 else
30745 echo "$as_me: failed program was:" >&5
30746 sed 's/^/| /' conftest.$ac_ext >&5
30747
30748 ac_cv_lib_posix_remove=no
30749 fi
30750
30751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30752 conftest$ac_exeext conftest.$ac_ext
30753 LIBS=$ac_check_lib_save_LIBS
30754 fi
30755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30757 if test $ac_cv_lib_posix_remove = yes; then
30758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30759 fi
30760
30761 fi
30762
30763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30764 { echo "$as_me:$LINENO: checking for shmat" >&5
30765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30766 if test "${ac_cv_func_shmat+set}" = set; then
30767 echo $ECHO_N "(cached) $ECHO_C" >&6
30768 else
30769 cat >conftest.$ac_ext <<_ACEOF
30770 /* confdefs.h. */
30771 _ACEOF
30772 cat confdefs.h >>conftest.$ac_ext
30773 cat >>conftest.$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30777 #define shmat innocuous_shmat
30778
30779 /* System header to define __stub macros and hopefully few prototypes,
30780 which can conflict with char shmat (); below.
30781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30782 <limits.h> exists even on freestanding compilers. */
30783
30784 #ifdef __STDC__
30785 # include <limits.h>
30786 #else
30787 # include <assert.h>
30788 #endif
30789
30790 #undef shmat
30791
30792 /* Override any GCC internal prototype to avoid an error.
30793 Use char because int might match the return type of a GCC
30794 builtin and then its argument prototype would still apply. */
30795 #ifdef __cplusplus
30796 extern "C"
30797 #endif
30798 char shmat ();
30799 /* The GNU C library defines this for functions which it implements
30800 to always fail with ENOSYS. Some functions are actually named
30801 something starting with __ and the normal name is an alias. */
30802 #if defined __stub_shmat || defined __stub___shmat
30803 choke me
30804 #endif
30805
30806 int
30807 main ()
30808 {
30809 return shmat ();
30810 ;
30811 return 0;
30812 }
30813 _ACEOF
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (ac_try="$ac_link"
30816 case "(($ac_try" in
30817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30818 *) ac_try_echo=$ac_try;;
30819 esac
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_link") 2>conftest.er1
30822 ac_status=$?
30823 grep -v '^ *+' conftest.er1 >conftest.err
30824 rm -f conftest.er1
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } && {
30828 test -z "$ac_c_werror_flag" ||
30829 test ! -s conftest.err
30830 } && test -s conftest$ac_exeext &&
30831 $as_test_x conftest$ac_exeext; then
30832 ac_cv_func_shmat=yes
30833 else
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.$ac_ext >&5
30836
30837 ac_cv_func_shmat=no
30838 fi
30839
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842 fi
30843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30845
30846 if test $ac_cv_func_shmat = no; then
30847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30850 echo $ECHO_N "(cached) $ECHO_C" >&6
30851 else
30852 ac_check_lib_save_LIBS=$LIBS
30853 LIBS="-lipc $LIBS"
30854 cat >conftest.$ac_ext <<_ACEOF
30855 /* confdefs.h. */
30856 _ACEOF
30857 cat confdefs.h >>conftest.$ac_ext
30858 cat >>conftest.$ac_ext <<_ACEOF
30859 /* end confdefs.h. */
30860
30861 /* Override any GCC internal prototype to avoid an error.
30862 Use char because int might match the return type of a GCC
30863 builtin and then its argument prototype would still apply. */
30864 #ifdef __cplusplus
30865 extern "C"
30866 #endif
30867 char shmat ();
30868 int
30869 main ()
30870 {
30871 return shmat ();
30872 ;
30873 return 0;
30874 }
30875 _ACEOF
30876 rm -f conftest.$ac_objext conftest$ac_exeext
30877 if { (ac_try="$ac_link"
30878 case "(($ac_try" in
30879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30880 *) ac_try_echo=$ac_try;;
30881 esac
30882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30883 (eval "$ac_link") 2>conftest.er1
30884 ac_status=$?
30885 grep -v '^ *+' conftest.er1 >conftest.err
30886 rm -f conftest.er1
30887 cat conftest.err >&5
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); } && {
30890 test -z "$ac_c_werror_flag" ||
30891 test ! -s conftest.err
30892 } && test -s conftest$ac_exeext &&
30893 $as_test_x conftest$ac_exeext; then
30894 ac_cv_lib_ipc_shmat=yes
30895 else
30896 echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.$ac_ext >&5
30898
30899 ac_cv_lib_ipc_shmat=no
30900 fi
30901
30902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30903 conftest$ac_exeext conftest.$ac_ext
30904 LIBS=$ac_check_lib_save_LIBS
30905 fi
30906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30908 if test $ac_cv_lib_ipc_shmat = yes; then
30909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30910 fi
30911
30912 fi
30913 fi
30914
30915 # Check for libraries that X11R6 Xt/Xaw programs need.
30916 ac_save_LDFLAGS=$LDFLAGS
30917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30919 # check for ICE first), but we must link in the order -lSM -lICE or
30920 # we get undefined symbols. So assume we have SM if we have ICE.
30921 # These have to be linked with before -lX11, unlike the other
30922 # libraries we check for below, so use a different variable.
30923 # John Interrante, Karl Berry
30924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30927 echo $ECHO_N "(cached) $ECHO_C" >&6
30928 else
30929 ac_check_lib_save_LIBS=$LIBS
30930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30931 cat >conftest.$ac_ext <<_ACEOF
30932 /* confdefs.h. */
30933 _ACEOF
30934 cat confdefs.h >>conftest.$ac_ext
30935 cat >>conftest.$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30937
30938 /* Override any GCC internal prototype to avoid an error.
30939 Use char because int might match the return type of a GCC
30940 builtin and then its argument prototype would still apply. */
30941 #ifdef __cplusplus
30942 extern "C"
30943 #endif
30944 char IceConnectionNumber ();
30945 int
30946 main ()
30947 {
30948 return IceConnectionNumber ();
30949 ;
30950 return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (ac_try="$ac_link"
30955 case "(($ac_try" in
30956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30957 *) ac_try_echo=$ac_try;;
30958 esac
30959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30960 (eval "$ac_link") 2>conftest.er1
30961 ac_status=$?
30962 grep -v '^ *+' conftest.er1 >conftest.err
30963 rm -f conftest.er1
30964 cat conftest.err >&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); } && {
30967 test -z "$ac_c_werror_flag" ||
30968 test ! -s conftest.err
30969 } && test -s conftest$ac_exeext &&
30970 $as_test_x conftest$ac_exeext; then
30971 ac_cv_lib_ICE_IceConnectionNumber=yes
30972 else
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.$ac_ext >&5
30975
30976 ac_cv_lib_ICE_IceConnectionNumber=no
30977 fi
30978
30979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30980 conftest$ac_exeext conftest.$ac_ext
30981 LIBS=$ac_check_lib_save_LIBS
30982 fi
30983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30987 fi
30988
30989 LDFLAGS=$ac_save_LDFLAGS
30990
30991 fi
30992
30993
30994 if test "$no_x" = "yes"; then
30995 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30996 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30997 { (exit 1); exit 1; }; }
30998 fi
30999
31000 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31001 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31002 AFMINSTALL=afminstall
31003 COMPILED_X_PROGRAM=0
31004
31005 fi
31006
31007 if test "$wxUSE_X11" = 1; then
31008 if test "$wxUSE_NANOX" = "yes"; then
31009 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31010 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31011 if test "x$MICROWIN" = x ; then
31012 { echo "$as_me:$LINENO: result: not found" >&5
31013 echo "${ECHO_T}not found" >&6; }
31014 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31015 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31016 { (exit 1); exit 1; }; }
31017 else
31018 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31019 echo "${ECHO_T}$MICROWIN" >&6; }
31020 cat >>confdefs.h <<\_ACEOF
31021 #define wxUSE_NANOX 1
31022 _ACEOF
31023
31024 fi
31025 fi
31026
31027 if test "$wxUSE_UNICODE" = "yes"; then
31028
31029
31030 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31031 if test -n "$ac_tool_prefix"; then
31032 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31033 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31036 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31037 echo $ECHO_N "(cached) $ECHO_C" >&6
31038 else
31039 case $PKG_CONFIG in
31040 [\\/]* | ?:[\\/]*)
31041 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31042 ;;
31043 *)
31044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31045 for as_dir in $PATH
31046 do
31047 IFS=$as_save_IFS
31048 test -z "$as_dir" && as_dir=.
31049 for ac_exec_ext in '' $ac_executable_extensions; do
31050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31051 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31053 break 2
31054 fi
31055 done
31056 done
31057 IFS=$as_save_IFS
31058
31059 ;;
31060 esac
31061 fi
31062 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31063 if test -n "$PKG_CONFIG"; then
31064 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31065 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31066 else
31067 { echo "$as_me:$LINENO: result: no" >&5
31068 echo "${ECHO_T}no" >&6; }
31069 fi
31070
31071
31072 fi
31073 if test -z "$ac_cv_path_PKG_CONFIG"; then
31074 ac_pt_PKG_CONFIG=$PKG_CONFIG
31075 # Extract the first word of "pkg-config", so it can be a program name with args.
31076 set dummy pkg-config; ac_word=$2
31077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31079 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31080 echo $ECHO_N "(cached) $ECHO_C" >&6
31081 else
31082 case $ac_pt_PKG_CONFIG in
31083 [\\/]* | ?:[\\/]*)
31084 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31085 ;;
31086 *)
31087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31088 for as_dir in $PATH
31089 do
31090 IFS=$as_save_IFS
31091 test -z "$as_dir" && as_dir=.
31092 for ac_exec_ext in '' $ac_executable_extensions; do
31093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31094 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31096 break 2
31097 fi
31098 done
31099 done
31100 IFS=$as_save_IFS
31101
31102 ;;
31103 esac
31104 fi
31105 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31106 if test -n "$ac_pt_PKG_CONFIG"; then
31107 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31108 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31109 else
31110 { echo "$as_me:$LINENO: result: no" >&5
31111 echo "${ECHO_T}no" >&6; }
31112 fi
31113
31114 if test "x$ac_pt_PKG_CONFIG" = x; then
31115 PKG_CONFIG=""
31116 else
31117 case $cross_compiling:$ac_tool_warned in
31118 yes:)
31119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31120 whose name does not start with the host triplet. If you think this
31121 configuration is useful to you, please write to autoconf@gnu.org." >&5
31122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31123 whose name does not start with the host triplet. If you think this
31124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31125 ac_tool_warned=yes ;;
31126 esac
31127 PKG_CONFIG=$ac_pt_PKG_CONFIG
31128 fi
31129 else
31130 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31131 fi
31132
31133 fi
31134 if test -n "$PKG_CONFIG"; then
31135 _pkg_min_version=0.9.0
31136 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31137 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31138 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31139 { echo "$as_me:$LINENO: result: yes" >&5
31140 echo "${ECHO_T}yes" >&6; }
31141 else
31142 { echo "$as_me:$LINENO: result: no" >&5
31143 echo "${ECHO_T}no" >&6; }
31144 PKG_CONFIG=""
31145 fi
31146
31147 fi
31148
31149
31150 pkg_failed=no
31151 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31152 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31153
31154 if test -n "$PKG_CONFIG"; then
31155 if test -n "$PANGOX_CFLAGS"; then
31156 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31157 else
31158 if test -n "$PKG_CONFIG" && \
31159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31160 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31161 ac_status=$?
31162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); }; then
31164 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31165 else
31166 pkg_failed=yes
31167 fi
31168 fi
31169 else
31170 pkg_failed=untried
31171 fi
31172 if test -n "$PKG_CONFIG"; then
31173 if test -n "$PANGOX_LIBS"; then
31174 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31175 else
31176 if test -n "$PKG_CONFIG" && \
31177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31178 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; then
31182 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31183 else
31184 pkg_failed=yes
31185 fi
31186 fi
31187 else
31188 pkg_failed=untried
31189 fi
31190
31191
31192
31193 if test $pkg_failed = yes; then
31194
31195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31196 _pkg_short_errors_supported=yes
31197 else
31198 _pkg_short_errors_supported=no
31199 fi
31200 if test $_pkg_short_errors_supported = yes; then
31201 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31202 else
31203 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31204 fi
31205 # Put the nasty error message in config.log where it belongs
31206 echo "$PANGOX_PKG_ERRORS" >&5
31207
31208
31209 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31210 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31211 { (exit 1); exit 1; }; }
31212
31213
31214 elif test $pkg_failed = untried; then
31215
31216 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31217 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31218 { (exit 1); exit 1; }; }
31219
31220
31221 else
31222 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31223 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31224 { echo "$as_me:$LINENO: result: yes" >&5
31225 echo "${ECHO_T}yes" >&6; }
31226
31227 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31228 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31229 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31230
31231 fi
31232
31233 pkg_failed=no
31234 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31235 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31236
31237 if test -n "$PKG_CONFIG"; then
31238 if test -n "$PANGOFT2_CFLAGS"; then
31239 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31240 else
31241 if test -n "$PKG_CONFIG" && \
31242 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31243 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; then
31247 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31248 else
31249 pkg_failed=yes
31250 fi
31251 fi
31252 else
31253 pkg_failed=untried
31254 fi
31255 if test -n "$PKG_CONFIG"; then
31256 if test -n "$PANGOFT2_LIBS"; then
31257 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31258 else
31259 if test -n "$PKG_CONFIG" && \
31260 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31261 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31262 ac_status=$?
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; then
31265 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31266 else
31267 pkg_failed=yes
31268 fi
31269 fi
31270 else
31271 pkg_failed=untried
31272 fi
31273
31274
31275
31276 if test $pkg_failed = yes; then
31277
31278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31279 _pkg_short_errors_supported=yes
31280 else
31281 _pkg_short_errors_supported=no
31282 fi
31283 if test $_pkg_short_errors_supported = yes; then
31284 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31285 else
31286 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31287 fi
31288 # Put the nasty error message in config.log where it belongs
31289 echo "$PANGOFT2_PKG_ERRORS" >&5
31290
31291
31292 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31293 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31294 wxUSE_PRINTING_ARCHITECTURE="no"
31295
31296
31297 elif test $pkg_failed = untried; then
31298
31299 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31300 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31301 wxUSE_PRINTING_ARCHITECTURE="no"
31302
31303
31304 else
31305 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31306 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31307 { echo "$as_me:$LINENO: result: yes" >&5
31308 echo "${ECHO_T}yes" >&6; }
31309
31310 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31311 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31312 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31313
31314 fi
31315
31316 pkg_failed=no
31317 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31318 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31319
31320 if test -n "$PKG_CONFIG"; then
31321 if test -n "$PANGOXFT_CFLAGS"; then
31322 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31323 else
31324 if test -n "$PKG_CONFIG" && \
31325 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31326 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31327 ac_status=$?
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; then
31330 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31331 else
31332 pkg_failed=yes
31333 fi
31334 fi
31335 else
31336 pkg_failed=untried
31337 fi
31338 if test -n "$PKG_CONFIG"; then
31339 if test -n "$PANGOXFT_LIBS"; then
31340 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31341 else
31342 if test -n "$PKG_CONFIG" && \
31343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31344 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31345 ac_status=$?
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); }; then
31348 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31349 else
31350 pkg_failed=yes
31351 fi
31352 fi
31353 else
31354 pkg_failed=untried
31355 fi
31356
31357
31358
31359 if test $pkg_failed = yes; then
31360
31361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31362 _pkg_short_errors_supported=yes
31363 else
31364 _pkg_short_errors_supported=no
31365 fi
31366 if test $_pkg_short_errors_supported = yes; then
31367 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31368 else
31369 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31370 fi
31371 # Put the nasty error message in config.log where it belongs
31372 echo "$PANGOXFT_PKG_ERRORS" >&5
31373
31374
31375 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31376 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31377
31378
31379 elif test $pkg_failed = untried; then
31380
31381 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31382 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31383
31384
31385 else
31386 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31387 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31388 { echo "$as_me:$LINENO: result: yes" >&5
31389 echo "${ECHO_T}yes" >&6; }
31390
31391 cat >>confdefs.h <<\_ACEOF
31392 #define HAVE_PANGO_XFT 1
31393 _ACEOF
31394
31395 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31396 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31397 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31398
31399 fi
31400 save_LIBS="$LIBS"
31401 LIBS="$LIBS $PANGOX_LIBS"
31402
31403 for ac_func in pango_font_family_is_monospace
31404 do
31405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31406 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31408 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 else
31411 cat >conftest.$ac_ext <<_ACEOF
31412 /* confdefs.h. */
31413 _ACEOF
31414 cat confdefs.h >>conftest.$ac_ext
31415 cat >>conftest.$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31419 #define $ac_func innocuous_$ac_func
31420
31421 /* System header to define __stub macros and hopefully few prototypes,
31422 which can conflict with char $ac_func (); below.
31423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31424 <limits.h> exists even on freestanding compilers. */
31425
31426 #ifdef __STDC__
31427 # include <limits.h>
31428 #else
31429 # include <assert.h>
31430 #endif
31431
31432 #undef $ac_func
31433
31434 /* Override any GCC internal prototype to avoid an error.
31435 Use char because int might match the return type of a GCC
31436 builtin and then its argument prototype would still apply. */
31437 #ifdef __cplusplus
31438 extern "C"
31439 #endif
31440 char $ac_func ();
31441 /* The GNU C library defines this for functions which it implements
31442 to always fail with ENOSYS. Some functions are actually named
31443 something starting with __ and the normal name is an alias. */
31444 #if defined __stub_$ac_func || defined __stub___$ac_func
31445 choke me
31446 #endif
31447
31448 int
31449 main ()
31450 {
31451 return $ac_func ();
31452 ;
31453 return 0;
31454 }
31455 _ACEOF
31456 rm -f conftest.$ac_objext conftest$ac_exeext
31457 if { (ac_try="$ac_link"
31458 case "(($ac_try" in
31459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31460 *) ac_try_echo=$ac_try;;
31461 esac
31462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31463 (eval "$ac_link") 2>conftest.er1
31464 ac_status=$?
31465 grep -v '^ *+' conftest.er1 >conftest.err
31466 rm -f conftest.er1
31467 cat conftest.err >&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } && {
31470 test -z "$ac_c_werror_flag" ||
31471 test ! -s conftest.err
31472 } && test -s conftest$ac_exeext &&
31473 $as_test_x conftest$ac_exeext; then
31474 eval "$as_ac_var=yes"
31475 else
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.$ac_ext >&5
31478
31479 eval "$as_ac_var=no"
31480 fi
31481
31482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31483 conftest$ac_exeext conftest.$ac_ext
31484 fi
31485 ac_res=`eval echo '${'$as_ac_var'}'`
31486 { echo "$as_me:$LINENO: result: $ac_res" >&5
31487 echo "${ECHO_T}$ac_res" >&6; }
31488 if test `eval echo '${'$as_ac_var'}'` = yes; then
31489 cat >>confdefs.h <<_ACEOF
31490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31491 _ACEOF
31492
31493 fi
31494 done
31495
31496 LIBS="$save_LIBS"
31497 fi
31498
31499 wxUSE_UNIVERSAL="yes"
31500
31501 if test "$wxUSE_NANOX" = "yes"; then
31502 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31503 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"
31504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31505 else
31506 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31507 fi
31508
31509 TOOLKIT=X11
31510 GUIDIST=X11_DIST
31511 fi
31512
31513 if test "$wxUSE_MOTIF" = 1; then
31514 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31515 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31516
31517 ac_find_includes=
31518 for ac_dir in $SEARCH_INCLUDE /usr/include;
31519 do
31520 if test -f "$ac_dir/Xm/Xm.h"; then
31521 ac_find_includes=$ac_dir
31522 break
31523 fi
31524 done
31525
31526 if test "$ac_find_includes" != "" ; then
31527 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31528 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31529
31530 if test "x$ac_find_includes" = "x/usr/include"; then
31531 ac_path_to_include=""
31532 else
31533 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31534 result=$?
31535 if test $result = 0; then
31536 ac_path_to_include=""
31537 else
31538 ac_path_to_include=" -I$ac_find_includes"
31539 fi
31540 fi
31541
31542 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31543 else
31544 save_CFLAGS=$CFLAGS
31545 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31546
31547 cat >conftest.$ac_ext <<_ACEOF
31548 /* confdefs.h. */
31549 _ACEOF
31550 cat confdefs.h >>conftest.$ac_ext
31551 cat >>conftest.$ac_ext <<_ACEOF
31552 /* end confdefs.h. */
31553
31554 #include <Xm/Xm.h>
31555
31556 int
31557 main ()
31558 {
31559
31560 int version;
31561 version = xmUseVersion;
31562
31563 ;
31564 return 0;
31565 }
31566 _ACEOF
31567 rm -f conftest.$ac_objext
31568 if { (ac_try="$ac_compile"
31569 case "(($ac_try" in
31570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31571 *) ac_try_echo=$ac_try;;
31572 esac
31573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31574 (eval "$ac_compile") 2>conftest.er1
31575 ac_status=$?
31576 grep -v '^ *+' conftest.er1 >conftest.err
31577 rm -f conftest.er1
31578 cat conftest.err >&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } && {
31581 test -z "$ac_c_werror_flag" ||
31582 test ! -s conftest.err
31583 } && test -s conftest.$ac_objext; then
31584
31585 { echo "$as_me:$LINENO: result: found in default search path" >&5
31586 echo "${ECHO_T}found in default search path" >&6; }
31587 COMPILED_X_PROGRAM=1
31588
31589 else
31590 echo "$as_me: failed program was:" >&5
31591 sed 's/^/| /' conftest.$ac_ext >&5
31592
31593
31594 { echo "$as_me:$LINENO: result: no" >&5
31595 echo "${ECHO_T}no" >&6; }
31596 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31597 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31598 { (exit 1); exit 1; }; }
31599
31600
31601 fi
31602
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604
31605 CFLAGS=$save_CFLAGS
31606 fi
31607
31608
31609 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31610 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31611
31612 ac_find_libraries=
31613 for ac_dir in $SEARCH_LIB;
31614 do
31615 for ac_extension in a so sl dylib dll.a; do
31616 if test -f "$ac_dir/libXm.$ac_extension"; then
31617 ac_find_libraries=$ac_dir
31618 break 2
31619 fi
31620 done
31621 done
31622
31623
31624 if test "x$ac_find_libraries" != "x" ; then
31625 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31626 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31627
31628
31629 if test "$ac_find_libraries" = "default location"; then
31630 ac_path_to_link=""
31631 else
31632 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31633 result=$?
31634 if test $result = 0; then
31635 ac_path_to_link=""
31636 else
31637 ac_path_to_link=" -L$ac_find_libraries"
31638 fi
31639 fi
31640
31641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31642 else
31643 save_CFLAGS=$CFLAGS
31644 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31645 save_LIBS="$LIBS"
31646 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31647
31648 cat >conftest.$ac_ext <<_ACEOF
31649 /* confdefs.h. */
31650 _ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654
31655 #include <Xm/Xm.h>
31656
31657 int
31658 main ()
31659 {
31660
31661 int version;
31662 version = xmUseVersion;
31663
31664 ;
31665 return 0;
31666 }
31667 _ACEOF
31668 rm -f conftest.$ac_objext conftest$ac_exeext
31669 if { (ac_try="$ac_link"
31670 case "(($ac_try" in
31671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31672 *) ac_try_echo=$ac_try;;
31673 esac
31674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31675 (eval "$ac_link") 2>conftest.er1
31676 ac_status=$?
31677 grep -v '^ *+' conftest.er1 >conftest.err
31678 rm -f conftest.er1
31679 cat conftest.err >&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } && {
31682 test -z "$ac_c_werror_flag" ||
31683 test ! -s conftest.err
31684 } && test -s conftest$ac_exeext &&
31685 $as_test_x conftest$ac_exeext; then
31686
31687 { echo "$as_me:$LINENO: result: found in default search path" >&5
31688 echo "${ECHO_T}found in default search path" >&6; }
31689 COMPILED_X_PROGRAM=1
31690
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31694
31695
31696 { echo "$as_me:$LINENO: result: no" >&5
31697 echo "${ECHO_T}no" >&6; }
31698 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31699 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31700 { (exit 1); exit 1; }; }
31701
31702
31703 fi
31704
31705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31706 conftest$ac_exeext conftest.$ac_ext
31707
31708 CFLAGS=$save_CFLAGS
31709 LIBS="$save_LIBS"
31710 fi
31711
31712 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31713 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31714 libp_link=""
31715 libsm_ice_link=""
31716 libs_found=0
31717 for libp in "" " -lXp"; do
31718 if test "$libs_found" = 0; then
31719 for libsm_ice in "" " -lSM -lICE"; do
31720 if test "$libs_found" = 0; then
31721 save_LIBS="$LIBS"
31722 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31723 save_CFLAGS=$CFLAGS
31724 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31725
31726 cat >conftest.$ac_ext <<_ACEOF
31727 /* confdefs.h. */
31728 _ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732
31733 #include <Xm/Xm.h>
31734 #include <Xm/List.h>
31735
31736 int
31737 main ()
31738 {
31739
31740 XmString string = NULL;
31741 Widget w = NULL;
31742 int position = 0;
31743 XmListAddItem(w, string, position);
31744
31745 ;
31746 return 0;
31747 }
31748 _ACEOF
31749 rm -f conftest.$ac_objext conftest$ac_exeext
31750 if { (ac_try="$ac_link"
31751 case "(($ac_try" in
31752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31753 *) ac_try_echo=$ac_try;;
31754 esac
31755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31756 (eval "$ac_link") 2>conftest.er1
31757 ac_status=$?
31758 grep -v '^ *+' conftest.er1 >conftest.err
31759 rm -f conftest.er1
31760 cat conftest.err >&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); } && {
31763 test -z "$ac_c_werror_flag" ||
31764 test ! -s conftest.err
31765 } && test -s conftest$ac_exeext &&
31766 $as_test_x conftest$ac_exeext; then
31767
31768 libp_link="$libp"
31769 libsm_ice_link="$libsm_ice"
31770 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31771 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31772 libs_found=1
31773
31774 else
31775 echo "$as_me: failed program was:" >&5
31776 sed 's/^/| /' conftest.$ac_ext >&5
31777
31778
31779
31780 fi
31781
31782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31783 conftest$ac_exeext conftest.$ac_ext
31784
31785 LIBS="$save_LIBS"
31786 CFLAGS=$save_CFLAGS
31787 fi
31788 done
31789 fi
31790 done
31791
31792 if test "$libs_found" = 0; then
31793 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31794 echo "${ECHO_T}can't find the right libraries" >&6; }
31795 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31796 echo "$as_me: error: can't link a simple motif program" >&2;}
31797 { (exit 1); exit 1; }; }
31798 fi
31799
31800 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31801 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31802 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31804 else
31805 ac_check_lib_save_LIBS=$LIBS
31806 LIBS="-lSgm $LIBS"
31807 cat >conftest.$ac_ext <<_ACEOF
31808 /* confdefs.h. */
31809 _ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31813
31814 /* Override any GCC internal prototype to avoid an error.
31815 Use char because int might match the return type of a GCC
31816 builtin and then its argument prototype would still apply. */
31817 #ifdef __cplusplus
31818 extern "C"
31819 #endif
31820 char SgCreateList ();
31821 int
31822 main ()
31823 {
31824 return SgCreateList ();
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 rm -f conftest.$ac_objext conftest$ac_exeext
31830 if { (ac_try="$ac_link"
31831 case "(($ac_try" in
31832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31833 *) ac_try_echo=$ac_try;;
31834 esac
31835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31836 (eval "$ac_link") 2>conftest.er1
31837 ac_status=$?
31838 grep -v '^ *+' conftest.er1 >conftest.err
31839 rm -f conftest.er1
31840 cat conftest.err >&5
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); } && {
31843 test -z "$ac_c_werror_flag" ||
31844 test ! -s conftest.err
31845 } && test -s conftest$ac_exeext &&
31846 $as_test_x conftest$ac_exeext; then
31847 ac_cv_lib_Sgm_SgCreateList=yes
31848 else
31849 echo "$as_me: failed program was:" >&5
31850 sed 's/^/| /' conftest.$ac_ext >&5
31851
31852 ac_cv_lib_Sgm_SgCreateList=no
31853 fi
31854
31855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31856 conftest$ac_exeext conftest.$ac_ext
31857 LIBS=$ac_check_lib_save_LIBS
31858 fi
31859 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31860 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31861 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31862 libsgm_link=" -lSgm"
31863 fi
31864
31865
31866 save_CFLAGS=$CFLAGS
31867 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31868
31869 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31870 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31871 if test "${wx_cv_lib_motif2+set}" = set; then
31872 echo $ECHO_N "(cached) $ECHO_C" >&6
31873 else
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880
31881 #include <Xm/Xm.h>
31882
31883 int
31884 main ()
31885 {
31886
31887 #if XmVersion < 2000
31888 Not Motif 2
31889 #endif
31890
31891 ;
31892 return 0;
31893 }
31894 _ACEOF
31895 rm -f conftest.$ac_objext
31896 if { (ac_try="$ac_compile"
31897 case "(($ac_try" in
31898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31899 *) ac_try_echo=$ac_try;;
31900 esac
31901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31902 (eval "$ac_compile") 2>conftest.er1
31903 ac_status=$?
31904 grep -v '^ *+' conftest.er1 >conftest.err
31905 rm -f conftest.er1
31906 cat conftest.err >&5
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); } && {
31909 test -z "$ac_c_werror_flag" ||
31910 test ! -s conftest.err
31911 } && test -s conftest.$ac_objext; then
31912 wx_cv_lib_motif2="yes"
31913 else
31914 echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.$ac_ext >&5
31916
31917 wx_cv_lib_motif2="no"
31918 fi
31919
31920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31921 fi
31922 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31923 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31924 if test "$wx_cv_lib_motif2" = "yes"; then
31925 cat >>confdefs.h <<\_ACEOF
31926 #define __WXMOTIF20__ 1
31927 _ACEOF
31928
31929 else
31930 cat >>confdefs.h <<\_ACEOF
31931 #define __WXMOTIF20__ 0
31932 _ACEOF
31933
31934 fi
31935
31936 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31937 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31938 if test "${wx_cv_lib_lesstif+set}" = set; then
31939 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 else
31941 cat >conftest.$ac_ext <<_ACEOF
31942 /* confdefs.h. */
31943 _ACEOF
31944 cat confdefs.h >>conftest.$ac_ext
31945 cat >>conftest.$ac_ext <<_ACEOF
31946 /* end confdefs.h. */
31947
31948 #include <Xm/Xm.h>
31949
31950 int
31951 main ()
31952 {
31953
31954 #if !defined(LesstifVersion) || LesstifVersion <= 0
31955 Not Lesstif
31956 #endif
31957
31958 ;
31959 return 0;
31960 }
31961 _ACEOF
31962 rm -f conftest.$ac_objext
31963 if { (ac_try="$ac_compile"
31964 case "(($ac_try" in
31965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31966 *) ac_try_echo=$ac_try;;
31967 esac
31968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31969 (eval "$ac_compile") 2>conftest.er1
31970 ac_status=$?
31971 grep -v '^ *+' conftest.er1 >conftest.err
31972 rm -f conftest.er1
31973 cat conftest.err >&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } && {
31976 test -z "$ac_c_werror_flag" ||
31977 test ! -s conftest.err
31978 } && test -s conftest.$ac_objext; then
31979 wx_cv_lib_lesstif="yes"
31980 else
31981 echo "$as_me: failed program was:" >&5
31982 sed 's/^/| /' conftest.$ac_ext >&5
31983
31984 wx_cv_lib_lesstif="no"
31985 fi
31986
31987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31988
31989 fi
31990 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31991 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31992 if test "$wx_cv_lib_lesstif" = "yes"; then
31993 cat >>confdefs.h <<\_ACEOF
31994 #define __WXLESSTIF__ 1
31995 _ACEOF
31996
31997 else
31998 cat >>confdefs.h <<\_ACEOF
31999 #define __WXLESSTIF__ 0
32000 _ACEOF
32001
32002 fi
32003
32004 CFLAGS=$save_CFLAGS
32005
32006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32007 TOOLKIT=MOTIF
32008 GUIDIST=MOTIF_DIST
32009 fi
32010
32011 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32012 if test "$wxUSE_LIBXPM" = "sys"; then
32013 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32014 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32015
32016 ac_find_libraries=
32017 for ac_dir in $SEARCH_LIB;
32018 do
32019 for ac_extension in a so sl dylib dll.a; do
32020 if test -f "$ac_dir/libXpm.$ac_extension"; then
32021 ac_find_libraries=$ac_dir
32022 break 2
32023 fi
32024 done
32025 done
32026
32027 if test "$ac_find_libraries" != "" ; then
32028
32029 if test "$ac_find_libraries" = "default location"; then
32030 ac_path_to_link=""
32031 else
32032 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32033 result=$?
32034 if test $result = 0; then
32035 ac_path_to_link=""
32036 else
32037 ac_path_to_link=" -L$ac_find_libraries"
32038 fi
32039 fi
32040
32041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32042 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32043 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32044
32045 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32046 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32047 if test "${wx_cv_x11_xpm_h+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 else
32050
32051 save_CFLAGS=$CFLAGS
32052 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32053
32054 cat >conftest.$ac_ext <<_ACEOF
32055 /* confdefs.h. */
32056 _ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h. */
32060
32061 #include <X11/xpm.h>
32062
32063 int
32064 main ()
32065 {
32066
32067 int version;
32068 version = XpmLibraryVersion();
32069
32070 ;
32071 return 0;
32072 }
32073 _ACEOF
32074 rm -f conftest.$ac_objext
32075 if { (ac_try="$ac_compile"
32076 case "(($ac_try" in
32077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32078 *) ac_try_echo=$ac_try;;
32079 esac
32080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32081 (eval "$ac_compile") 2>conftest.er1
32082 ac_status=$?
32083 grep -v '^ *+' conftest.er1 >conftest.err
32084 rm -f conftest.er1
32085 cat conftest.err >&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } && {
32088 test -z "$ac_c_werror_flag" ||
32089 test ! -s conftest.err
32090 } && test -s conftest.$ac_objext; then
32091 wx_cv_x11_xpm_h=yes
32092 else
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.$ac_ext >&5
32095
32096 wx_cv_x11_xpm_h=no
32097
32098 fi
32099
32100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32101
32102 CFLAGS=$save_CFLAGS
32103
32104
32105 fi
32106 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32107 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32108
32109 if test $wx_cv_x11_xpm_h = "yes"; then
32110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32111 cat >>confdefs.h <<\_ACEOF
32112 #define wxHAVE_LIB_XPM 1
32113 _ACEOF
32114
32115 else
32116 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32117 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32118 fi
32119 fi
32120
32121 fi
32122
32123 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32124 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32125 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32126 echo $ECHO_N "(cached) $ECHO_C" >&6
32127 else
32128 ac_check_lib_save_LIBS=$LIBS
32129 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32130 cat >conftest.$ac_ext <<_ACEOF
32131 /* confdefs.h. */
32132 _ACEOF
32133 cat confdefs.h >>conftest.$ac_ext
32134 cat >>conftest.$ac_ext <<_ACEOF
32135 /* end confdefs.h. */
32136
32137 /* Override any GCC internal prototype to avoid an error.
32138 Use char because int might match the return type of a GCC
32139 builtin and then its argument prototype would still apply. */
32140 #ifdef __cplusplus
32141 extern "C"
32142 #endif
32143 char XShapeQueryExtension ();
32144 int
32145 main ()
32146 {
32147 return XShapeQueryExtension ();
32148 ;
32149 return 0;
32150 }
32151 _ACEOF
32152 rm -f conftest.$ac_objext conftest$ac_exeext
32153 if { (ac_try="$ac_link"
32154 case "(($ac_try" in
32155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32156 *) ac_try_echo=$ac_try;;
32157 esac
32158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32159 (eval "$ac_link") 2>conftest.er1
32160 ac_status=$?
32161 grep -v '^ *+' conftest.er1 >conftest.err
32162 rm -f conftest.er1
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } && {
32166 test -z "$ac_c_werror_flag" ||
32167 test ! -s conftest.err
32168 } && test -s conftest$ac_exeext &&
32169 $as_test_x conftest$ac_exeext; then
32170 ac_cv_lib_Xext_XShapeQueryExtension=yes
32171 else
32172 echo "$as_me: failed program was:" >&5
32173 sed 's/^/| /' conftest.$ac_ext >&5
32174
32175 ac_cv_lib_Xext_XShapeQueryExtension=no
32176 fi
32177
32178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32179 conftest$ac_exeext conftest.$ac_ext
32180 LIBS=$ac_check_lib_save_LIBS
32181 fi
32182 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32183 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32184 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32185
32186 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32187 wxHAVE_XEXT_LIB=1
32188
32189 fi
32190
32191
32192 if test "$wxHAVE_XEXT_LIB" = 1; then
32193 save_CFLAGS="$CFLAGS"
32194 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32195
32196 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32197 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32198 cat >conftest.$ac_ext <<_ACEOF
32199 /* confdefs.h. */
32200 _ACEOF
32201 cat confdefs.h >>conftest.$ac_ext
32202 cat >>conftest.$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204
32205 #include <X11/Xlib.h>
32206 #include <X11/extensions/shape.h>
32207
32208 int
32209 main ()
32210 {
32211
32212 int dummy1, dummy2;
32213 XShapeQueryExtension((Display*)NULL,
32214 (int*)NULL, (int*)NULL);
32215
32216 ;
32217 return 0;
32218 }
32219 _ACEOF
32220 rm -f conftest.$ac_objext
32221 if { (ac_try="$ac_compile"
32222 case "(($ac_try" in
32223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32224 *) ac_try_echo=$ac_try;;
32225 esac
32226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32227 (eval "$ac_compile") 2>conftest.er1
32228 ac_status=$?
32229 grep -v '^ *+' conftest.er1 >conftest.err
32230 rm -f conftest.er1
32231 cat conftest.err >&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); } && {
32234 test -z "$ac_c_werror_flag" ||
32235 test ! -s conftest.err
32236 } && test -s conftest.$ac_objext; then
32237
32238 cat >>confdefs.h <<\_ACEOF
32239 #define HAVE_XSHAPE 1
32240 _ACEOF
32241
32242 { echo "$as_me:$LINENO: result: found" >&5
32243 echo "${ECHO_T}found" >&6; }
32244
32245 else
32246 echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.$ac_ext >&5
32248
32249
32250 { echo "$as_me:$LINENO: result: not found" >&5
32251 echo "${ECHO_T}not found" >&6; }
32252
32253 fi
32254
32255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256 CFLAGS="$save_CFLAGS"
32257
32258 fi
32259 fi
32260
32261 if test "$wxUSE_MAC" = 1; then
32262 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32263 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32264 if test "$GCC" = yes; then
32265 { echo "$as_me:$LINENO: result: gcc" >&5
32266 echo "${ECHO_T}gcc" >&6; }
32267 CPPFLAGS_PASCAL="-fpascal-strings"
32268 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32269 { echo "$as_me:$LINENO: result: xlc" >&5
32270 echo "${ECHO_T}xlc" >&6; }
32271 CPPFLAGS_PASCAL="-qmacpstr"
32272 else
32273 { echo "$as_me:$LINENO: result: none" >&5
32274 echo "${ECHO_T}none" >&6; }
32275 fi
32276
32277 if test "x$wxUSE_UNIX" = "xyes"; then
32278 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32279 else
32280 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32281 fi
32282
32283 TOOLKIT=MAC
32284 GUIDIST=MACX_DIST
32285 WXBASEPORT="_carbon"
32286 fi
32287
32288 if test "$wxUSE_COCOA" = 1; then
32289 TOOLKIT=COCOA
32290 GUIDIST=COCOA_DIST
32291 fi
32292
32293 if test "$wxUSE_PM" = 1; then
32294 TOOLKIT=PM
32295 GUIDIST=PM_DIST
32296 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32297 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32298 if test "${wx_cv_spbcdata+set}" = set; then
32299 echo $ECHO_N "(cached) $ECHO_C" >&6
32300 else
32301
32302 cat >conftest.$ac_ext <<_ACEOF
32303 /* confdefs.h. */
32304 _ACEOF
32305 cat confdefs.h >>conftest.$ac_ext
32306 cat >>conftest.$ac_ext <<_ACEOF
32307 /* end confdefs.h. */
32308
32309 #define INCL_PM
32310 #include <os2.h>
32311
32312 int
32313 main ()
32314 {
32315
32316 SPBCDATA test;
32317
32318 ;
32319 return 0;
32320 }
32321 _ACEOF
32322 rm -f conftest.$ac_objext
32323 if { (ac_try="$ac_compile"
32324 case "(($ac_try" in
32325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32326 *) ac_try_echo=$ac_try;;
32327 esac
32328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32329 (eval "$ac_compile") 2>conftest.er1
32330 ac_status=$?
32331 grep -v '^ *+' conftest.er1 >conftest.err
32332 rm -f conftest.er1
32333 cat conftest.err >&5
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); } && {
32336 test -z "$ac_c_werror_flag" ||
32337 test ! -s conftest.err
32338 } && test -s conftest.$ac_objext; then
32339 wx_cv_spbcdata=yes
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 wx_cv_spbcdata=no
32345
32346 fi
32347
32348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32349
32350
32351 fi
32352 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32353 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32354
32355 if test $wx_cv_spbcdata = "yes"; then
32356 cat >>confdefs.h <<\_ACEOF
32357 #define HAVE_SPBCDATA 1
32358 _ACEOF
32359
32360 fi
32361 fi
32362
32363 if test "$TOOLKIT" = "PM" ; then
32364 TOOLKIT_DIR="os2"
32365 else
32366 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32367 fi
32368
32369 if test "$wxUSE_UNIVERSAL" = "yes"; then
32370 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32371 WIDGET_SET=univ
32372 fi
32373
32374 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32375 DISTDIR="wx\$(TOOLKIT)"
32376 else
32377 USE_GUI=0
32378
32379 TOOLKIT_DIR="base"
32380
32381 if test "$USE_WIN32" = 1 ; then
32382 TOOLKIT="MSW"
32383 fi
32384
32385 GUIDIST="BASE_DIST"
32386 DISTDIR="wxBase"
32387 fi
32388
32389
32390
32391 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32392 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32393 wxUSE_UNICODE_UTF8=yes
32394 elif test "$USE_OS2" = 1 ; then
32395 wxUSE_UNICODE_UTF8=yes
32396 else
32397 wxUSE_UNICODE_UTF8=no
32398 fi
32399 fi
32400
32401
32402 if test "$wxUSE_GUI" = "yes"; then
32403 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32404
32405 for ac_header in X11/Xlib.h
32406 do
32407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32408 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32411 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 else
32413 cat >conftest.$ac_ext <<_ACEOF
32414 /* confdefs.h. */
32415 _ACEOF
32416 cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32419
32420
32421 #include <$ac_header>
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 if { (ac_try="$ac_compile"
32425 case "(($ac_try" in
32426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32427 *) ac_try_echo=$ac_try;;
32428 esac
32429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32430 (eval "$ac_compile") 2>conftest.er1
32431 ac_status=$?
32432 grep -v '^ *+' conftest.er1 >conftest.err
32433 rm -f conftest.er1
32434 cat conftest.err >&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); } && {
32437 test -z "$ac_c_werror_flag" ||
32438 test ! -s conftest.err
32439 } && test -s conftest.$ac_objext; then
32440 eval "$as_ac_Header=yes"
32441 else
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32444
32445 eval "$as_ac_Header=no"
32446 fi
32447
32448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32449 fi
32450 ac_res=`eval echo '${'$as_ac_Header'}'`
32451 { echo "$as_me:$LINENO: result: $ac_res" >&5
32452 echo "${ECHO_T}$ac_res" >&6; }
32453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32454 cat >>confdefs.h <<_ACEOF
32455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32456 _ACEOF
32457
32458 fi
32459
32460 done
32461
32462
32463 for ac_header in X11/XKBlib.h
32464 do
32465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32466 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471 cat >conftest.$ac_ext <<_ACEOF
32472 /* confdefs.h. */
32473 _ACEOF
32474 cat confdefs.h >>conftest.$ac_ext
32475 cat >>conftest.$ac_ext <<_ACEOF
32476 /* end confdefs.h. */
32477
32478 #if HAVE_X11_XLIB_H
32479 #include <X11/Xlib.h>
32480 #endif
32481
32482
32483 #include <$ac_header>
32484 _ACEOF
32485 rm -f conftest.$ac_objext
32486 if { (ac_try="$ac_compile"
32487 case "(($ac_try" in
32488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32489 *) ac_try_echo=$ac_try;;
32490 esac
32491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32492 (eval "$ac_compile") 2>conftest.er1
32493 ac_status=$?
32494 grep -v '^ *+' conftest.er1 >conftest.err
32495 rm -f conftest.er1
32496 cat conftest.err >&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); } && {
32499 test -z "$ac_c_werror_flag" ||
32500 test ! -s conftest.err
32501 } && test -s conftest.$ac_objext; then
32502 eval "$as_ac_Header=yes"
32503 else
32504 echo "$as_me: failed program was:" >&5
32505 sed 's/^/| /' conftest.$ac_ext >&5
32506
32507 eval "$as_ac_Header=no"
32508 fi
32509
32510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32511 fi
32512 ac_res=`eval echo '${'$as_ac_Header'}'`
32513 { echo "$as_me:$LINENO: result: $ac_res" >&5
32514 echo "${ECHO_T}$ac_res" >&6; }
32515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32516 cat >>confdefs.h <<_ACEOF
32517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32518 _ACEOF
32519
32520 fi
32521
32522 done
32523
32524 fi
32525 fi
32526
32527
32528
32529 if test "$wxUSE_DISPLAY" = "yes"; then
32530 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32531 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32532 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32533
32534 ac_find_libraries=
32535 for ac_dir in $SEARCH_LIB;
32536 do
32537 for ac_extension in a so sl dylib dll.a; do
32538 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32539 ac_find_libraries=$ac_dir
32540 break 2
32541 fi
32542 done
32543 done
32544
32545 if test "$ac_find_libraries" != "" ; then
32546
32547 if test "$ac_find_libraries" = "default location"; then
32548 ac_path_to_link=""
32549 else
32550 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32551 result=$?
32552 if test $result = 0; then
32553 ac_path_to_link=""
32554 else
32555 ac_path_to_link=" -L$ac_find_libraries"
32556 fi
32557 fi
32558
32559 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32560 LDFLAGS="$LDFLAGS $ac_path_to_link"
32561 fi
32562 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32563 { echo "$as_me:$LINENO: result: yes" >&5
32564 echo "${ECHO_T}yes" >&6; }
32565
32566 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32567 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32568
32569 ac_find_libraries=
32570 for ac_dir in $SEARCH_LIB;
32571 do
32572 for ac_extension in a so sl dylib dll.a; do
32573 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32574 ac_find_libraries=$ac_dir
32575 break 2
32576 fi
32577 done
32578 done
32579
32580 if test "$ac_find_libraries" != "" ; then
32581 { echo "$as_me:$LINENO: result: yes" >&5
32582 echo "${ECHO_T}yes" >&6; }
32583
32584 for ac_header in X11/extensions/xf86vmode.h
32585 do
32586 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32587 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32590 echo $ECHO_N "(cached) $ECHO_C" >&6
32591 else
32592 cat >conftest.$ac_ext <<_ACEOF
32593 /* confdefs.h. */
32594 _ACEOF
32595 cat confdefs.h >>conftest.$ac_ext
32596 cat >>conftest.$ac_ext <<_ACEOF
32597 /* end confdefs.h. */
32598
32599 #if HAVE_X11_XLIB_H
32600 #include <X11/Xlib.h>
32601 #endif
32602
32603
32604 #include <$ac_header>
32605 _ACEOF
32606 rm -f conftest.$ac_objext
32607 if { (ac_try="$ac_compile"
32608 case "(($ac_try" in
32609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32610 *) ac_try_echo=$ac_try;;
32611 esac
32612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32613 (eval "$ac_compile") 2>conftest.er1
32614 ac_status=$?
32615 grep -v '^ *+' conftest.er1 >conftest.err
32616 rm -f conftest.er1
32617 cat conftest.err >&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); } && {
32620 test -z "$ac_c_werror_flag" ||
32621 test ! -s conftest.err
32622 } && test -s conftest.$ac_objext; then
32623 eval "$as_ac_Header=yes"
32624 else
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.$ac_ext >&5
32627
32628 eval "$as_ac_Header=no"
32629 fi
32630
32631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32632 fi
32633 ac_res=`eval echo '${'$as_ac_Header'}'`
32634 { echo "$as_me:$LINENO: result: $ac_res" >&5
32635 echo "${ECHO_T}$ac_res" >&6; }
32636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32637 cat >>confdefs.h <<_ACEOF
32638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32639 _ACEOF
32640
32641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32642
32643 fi
32644
32645 done
32646
32647 else
32648 { echo "$as_me:$LINENO: result: no" >&5
32649 echo "${ECHO_T}no" >&6; }
32650 fi
32651
32652 else
32653 { echo "$as_me:$LINENO: result: no" >&5
32654 echo "${ECHO_T}no" >&6; }
32655 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32656 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32657 wxUSE_DISPLAY="no"
32658 fi
32659 elif test "$wxUSE_MSW" = 1; then
32660 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32661 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32662 if test "${ac_cv_header_ddraw_h+set}" = set; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32664 else
32665 cat >conftest.$ac_ext <<_ACEOF
32666 /* confdefs.h. */
32667 _ACEOF
32668 cat confdefs.h >>conftest.$ac_ext
32669 cat >>conftest.$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32671 #include <windows.h>
32672
32673 #include <ddraw.h>
32674 _ACEOF
32675 rm -f conftest.$ac_objext
32676 if { (ac_try="$ac_compile"
32677 case "(($ac_try" in
32678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32679 *) ac_try_echo=$ac_try;;
32680 esac
32681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32682 (eval "$ac_compile") 2>conftest.er1
32683 ac_status=$?
32684 grep -v '^ *+' conftest.er1 >conftest.err
32685 rm -f conftest.er1
32686 cat conftest.err >&5
32687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32688 (exit $ac_status); } && {
32689 test -z "$ac_c_werror_flag" ||
32690 test ! -s conftest.err
32691 } && test -s conftest.$ac_objext; then
32692 ac_cv_header_ddraw_h=yes
32693 else
32694 echo "$as_me: failed program was:" >&5
32695 sed 's/^/| /' conftest.$ac_ext >&5
32696
32697 ac_cv_header_ddraw_h=no
32698 fi
32699
32700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32701 fi
32702 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32703 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32704
32705
32706 fi
32707 fi
32708
32709 if test "$wxUSE_DETECT_SM" = "yes"; then
32710 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32711 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32712 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32713
32714 ac_find_libraries=
32715 for ac_dir in $SEARCH_LIB;
32716 do
32717 for ac_extension in a so sl dylib dll.a; do
32718 if test -f "$ac_dir/libSM.$ac_extension"; then
32719 ac_find_libraries=$ac_dir
32720 break 2
32721 fi
32722 done
32723 done
32724
32725 if test "$ac_find_libraries" != "" ; then
32726
32727 if test "$ac_find_libraries" = "default location"; then
32728 ac_path_to_link=""
32729 else
32730 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32731 result=$?
32732 if test $result = 0; then
32733 ac_path_to_link=""
32734 else
32735 ac_path_to_link=" -L$ac_find_libraries"
32736 fi
32737 fi
32738
32739 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32740 LDFLAGS="$LDFLAGS $ac_path_to_link"
32741 fi
32742 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32743 { echo "$as_me:$LINENO: result: yes" >&5
32744 echo "${ECHO_T}yes" >&6; }
32745 else
32746 { echo "$as_me:$LINENO: result: no" >&5
32747 echo "${ECHO_T}no" >&6; }
32748 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32749 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32750 wxUSE_DETECT_SM="no"
32751 fi
32752 else
32753 wxUSE_DETECT_SM="no"
32754 fi
32755 fi
32756
32757
32758
32759 USE_OPENGL=0
32760 if test "$wxUSE_OPENGL" = "yes"; then
32761 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32762 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32763 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32764 wxUSE_OPENGL="no"
32765 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32766 OPENGL_LIBS="-framework OpenGL -framework AGL"
32767 elif test "$wxUSE_MSW" = 1; then
32768 OPENGL_LIBS="-lopengl32 -lglu32"
32769 else
32770 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32771 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32772
32773 ac_find_includes=
32774 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32775 do
32776 if test -f "$ac_dir/GL/gl.h"; then
32777 ac_find_includes=$ac_dir
32778 break
32779 fi
32780 done
32781
32782 if test "$ac_find_includes" != "" ; then
32783 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32784 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32785
32786 if test "x$ac_find_includes" = "x/usr/include"; then
32787 ac_path_to_include=""
32788 else
32789 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32790 result=$?
32791 if test $result = 0; then
32792 ac_path_to_include=""
32793 else
32794 ac_path_to_include=" -I$ac_find_includes"
32795 fi
32796 fi
32797
32798 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32799 else
32800 { echo "$as_me:$LINENO: result: not found" >&5
32801 echo "${ECHO_T}not found" >&6; }
32802 fi
32803
32804 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32805 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32806 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 else
32809 cat >conftest.$ac_ext <<_ACEOF
32810 /* confdefs.h. */
32811 _ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815
32816
32817 #include <GL/gl.h>
32818 _ACEOF
32819 rm -f conftest.$ac_objext
32820 if { (ac_try="$ac_compile"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32823 *) ac_try_echo=$ac_try;;
32824 esac
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_compile") 2>conftest.er1
32827 ac_status=$?
32828 grep -v '^ *+' conftest.er1 >conftest.err
32829 rm -f conftest.er1
32830 cat conftest.err >&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest.$ac_objext; then
32836 ac_cv_header_GL_gl_h=yes
32837 else
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.$ac_ext >&5
32840
32841 ac_cv_header_GL_gl_h=no
32842 fi
32843
32844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 fi
32846 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32847 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32848 if test $ac_cv_header_GL_gl_h = yes; then
32849
32850 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32851 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32852 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32853 echo $ECHO_N "(cached) $ECHO_C" >&6
32854 else
32855 cat >conftest.$ac_ext <<_ACEOF
32856 /* confdefs.h. */
32857 _ACEOF
32858 cat confdefs.h >>conftest.$ac_ext
32859 cat >>conftest.$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32861
32862
32863 #include <GL/glu.h>
32864 _ACEOF
32865 rm -f conftest.$ac_objext
32866 if { (ac_try="$ac_compile"
32867 case "(($ac_try" in
32868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32869 *) ac_try_echo=$ac_try;;
32870 esac
32871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32872 (eval "$ac_compile") 2>conftest.er1
32873 ac_status=$?
32874 grep -v '^ *+' conftest.er1 >conftest.err
32875 rm -f conftest.er1
32876 cat conftest.err >&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); } && {
32879 test -z "$ac_c_werror_flag" ||
32880 test ! -s conftest.err
32881 } && test -s conftest.$ac_objext; then
32882 ac_cv_header_GL_glu_h=yes
32883 else
32884 echo "$as_me: failed program was:" >&5
32885 sed 's/^/| /' conftest.$ac_ext >&5
32886
32887 ac_cv_header_GL_glu_h=no
32888 fi
32889
32890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32891 fi
32892 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32893 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32894 if test $ac_cv_header_GL_glu_h = yes; then
32895
32896 found_gl=0
32897
32898 { echo "$as_me:$LINENO: checking for -lGL" >&5
32899 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32900
32901 ac_find_libraries=
32902 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32903 do
32904 for ac_extension in a so sl dylib dll.a; do
32905 if test -f "$ac_dir/libGL.$ac_extension"; then
32906 ac_find_libraries=$ac_dir
32907 break 2
32908 fi
32909 done
32910 done
32911
32912 if test "$ac_find_libraries" != "" ; then
32913 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32914 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32915
32916
32917 if test "$ac_find_libraries" = "default location"; then
32918 ac_path_to_link=""
32919 else
32920 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32921 result=$?
32922 if test $result = 0; then
32923 ac_path_to_link=""
32924 else
32925 ac_path_to_link=" -L$ac_find_libraries"
32926 fi
32927 fi
32928
32929 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32930 LDFLAGS_GL="$ac_path_to_link"
32931 fi
32932
32933 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32934 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32935
32936 ac_find_libraries=
32937 for ac_dir in $SEARCH_LIB;
32938 do
32939 for ac_extension in a so sl dylib dll.a; do
32940 if test -f "$ac_dir/libGLU.$ac_extension"; then
32941 ac_find_libraries=$ac_dir
32942 break 2
32943 fi
32944 done
32945 done
32946
32947 if test "$ac_find_libraries" != "" ; then
32948
32949 if test "$ac_find_libraries" = "default location"; then
32950 ac_path_to_link=""
32951 else
32952 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32953 result=$?
32954 if test $result = 0; then
32955 ac_path_to_link=""
32956 else
32957 ac_path_to_link=" -L$ac_find_libraries"
32958 fi
32959 fi
32960
32961 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32962 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32963 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32964 fi
32965
32966 found_gl=1
32967 OPENGL_LIBS="-lGL -lGLU"
32968 { echo "$as_me:$LINENO: result: yes" >&5
32969 echo "${ECHO_T}yes" >&6; }
32970 else
32971 { echo "$as_me:$LINENO: result: no" >&5
32972 echo "${ECHO_T}no" >&6; }
32973 fi
32974 else
32975 { echo "$as_me:$LINENO: result: no" >&5
32976 echo "${ECHO_T}no" >&6; }
32977 fi
32978
32979 if test "$found_gl" != 1; then
32980 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32981 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32982
32983 ac_find_libraries=
32984 for ac_dir in $SEARCH_LIB;
32985 do
32986 for ac_extension in a so sl dylib dll.a; do
32987 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32988 ac_find_libraries=$ac_dir
32989 break 2
32990 fi
32991 done
32992 done
32993
32994 if test "$ac_find_libraries" != "" ; then
32995
32996 if test "$ac_find_libraries" = "default location"; then
32997 ac_path_to_link=""
32998 else
32999 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33000 result=$?
33001 if test $result = 0; then
33002 ac_path_to_link=""
33003 else
33004 ac_path_to_link=" -L$ac_find_libraries"
33005 fi
33006 fi
33007
33008 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33009 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33010 { echo "$as_me:$LINENO: result: yes" >&5
33011 echo "${ECHO_T}yes" >&6; }
33012 else
33013 { echo "$as_me:$LINENO: result: no" >&5
33014 echo "${ECHO_T}no" >&6; }
33015 fi
33016 fi
33017
33018 fi
33019
33020
33021
33022 fi
33023
33024
33025
33026 if test "x$OPENGL_LIBS" = "x"; then
33027 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33028 echo "$as_me: error: OpenGL libraries not available" >&2;}
33029 { (exit 1); exit 1; }; }
33030 fi
33031 fi
33032
33033 if test "$wxUSE_OPENGL" = "yes"; then
33034 USE_OPENGL=1
33035 cat >>confdefs.h <<\_ACEOF
33036 #define wxUSE_OPENGL 1
33037 _ACEOF
33038
33039 cat >>confdefs.h <<\_ACEOF
33040 #define wxUSE_GLCANVAS 1
33041 _ACEOF
33042
33043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33044 fi
33045 fi
33046
33047
33048 if test -n "$TOOLKIT" ; then
33049 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33050 fi
33051
33052
33053
33054 if test "$wxUSE_SHARED" = "yes"; then
33055 case "${host}" in
33056 *-pc-msdosdjgpp )
33057 wxUSE_SHARED=no
33058 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33059 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33060 ;;
33061 esac
33062 fi
33063
33064 if test "$wxUSE_SHARED" = "yes"; then
33065
33066
33067 case "${host}" in
33068 *-*-cygwin* | *-*-mingw* )
33069 wx_cv_version_script=no
33070 ;;
33071
33072 *)
33073 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33074 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33075 if test "${wx_cv_version_script+set}" = set; then
33076 echo $ECHO_N "(cached) $ECHO_C" >&6
33077 else
33078
33079 echo "VER_1 { *; };" >conftest.sym
33080 echo "int main() { return 0; }" >conftest.cpp
33081
33082 if { ac_try='
33083 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33084 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33086 (eval $ac_try) 2>&5
33087 ac_status=$?
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); }; } ; then
33090 if test -s conftest.stderr ; then
33091 wx_cv_version_script=no
33092 else
33093 wx_cv_version_script=yes
33094 fi
33095 else
33096 wx_cv_version_script=no
33097 fi
33098
33099 if test $wx_cv_version_script = yes
33100 then
33101 echo "struct B { virtual ~B() { } }; \
33102 struct D : public B { }; \
33103 void F() { D d; }" > conftest.cpp
33104
33105 if { ac_try='
33106 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33107 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33109 (eval $ac_try) 2>&5
33110 ac_status=$?
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); }; } &&
33113 { ac_try='
33114 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33115 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33118 ac_status=$?
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; }
33121 then
33122 if { ac_try='
33123 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33124 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126 (eval $ac_try) 2>&5
33127 ac_status=$?
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; }
33130 then
33131 wx_cv_version_script=yes
33132 else
33133 wx_cv_version_script=no
33134 fi
33135 fi
33136 fi
33137
33138 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33139 rm -f conftest1.output conftest2.output conftest3.output
33140
33141 fi
33142 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33143 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33144
33145 if test $wx_cv_version_script = yes ; then
33146 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33147 fi
33148 ;;
33149 esac
33150
33151
33152 if test "$wxUSE_VISIBILITY" != "no"; then
33153
33154
33155 if test -n "$GCC"; then
33156 CFLAGS_VISIBILITY="-fvisibility=hidden"
33157 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33158 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33159 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33160 if test "${wx_cv_cc_visibility+set}" = set; then
33161 echo $ECHO_N "(cached) $ECHO_C" >&6
33162 else
33163
33164 wx_save_CXXFLAGS="$CXXFLAGS"
33165 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33166 ac_ext=cpp
33167 ac_cpp='$CXXCPP $CPPFLAGS'
33168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33171
33172 cat >conftest.$ac_ext <<_ACEOF
33173 /* confdefs.h. */
33174 _ACEOF
33175 cat confdefs.h >>conftest.$ac_ext
33176 cat >>conftest.$ac_ext <<_ACEOF
33177 /* end confdefs.h. */
33178
33179 /* we need gcc >= 4.0, older versions with visibility support
33180 didn't have class visibility: */
33181 #if defined(__GNUC__) && __GNUC__ < 4
33182 error this gcc is too old;
33183 #endif
33184
33185 /* visibility only makes sense for ELF shared libs: */
33186 #if !defined(__ELF__) && !defined(__APPLE__)
33187 error this platform has no visibility;
33188 #endif
33189
33190 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33191 extern __attribute__((__visibility__("default"))) int exportedvar;
33192 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33193 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33194 class __attribute__((__visibility__("default"))) Foo {
33195 Foo() {}
33196 };
33197
33198 int
33199 main ()
33200 {
33201
33202 ;
33203 return 0;
33204 }
33205 _ACEOF
33206 rm -f conftest.$ac_objext
33207 if { (ac_try="$ac_compile"
33208 case "(($ac_try" in
33209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33210 *) ac_try_echo=$ac_try;;
33211 esac
33212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33213 (eval "$ac_compile") 2>conftest.er1
33214 ac_status=$?
33215 grep -v '^ *+' conftest.er1 >conftest.err
33216 rm -f conftest.er1
33217 cat conftest.err >&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); } && {
33220 test -z "$ac_cxx_werror_flag" ||
33221 test ! -s conftest.err
33222 } && test -s conftest.$ac_objext; then
33223 wx_cv_cc_visibility=yes
33224 else
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33227
33228 wx_cv_cc_visibility=no
33229 fi
33230
33231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33232 ac_ext=c
33233 ac_cpp='$CPP $CPPFLAGS'
33234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33237
33238 CXXFLAGS="$wx_save_CXXFLAGS"
33239 fi
33240
33241 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33242 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33243 if test $wx_cv_cc_visibility = yes; then
33244 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33245 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33246 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33247 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 else
33249
33250 wx_save_CXXFLAGS="$CXXFLAGS"
33251 wx_save_LDFLAGS="$LDFLAGS"
33252 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33253 LDFLAGS="$LDFLAGS -shared -fPIC"
33254 ac_ext=cpp
33255 ac_cpp='$CXXCPP $CPPFLAGS'
33256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33259
33260 cat >conftest.$ac_ext <<_ACEOF
33261 /* confdefs.h. */
33262 _ACEOF
33263 cat confdefs.h >>conftest.$ac_ext
33264 cat >>conftest.$ac_ext <<_ACEOF
33265 /* end confdefs.h. */
33266
33267 #include <string>
33268
33269 int
33270 main ()
33271 {
33272
33273 std::string s("hello");
33274 return s.length();
33275
33276 ;
33277 return 0;
33278 }
33279 _ACEOF
33280 rm -f conftest.$ac_objext conftest$ac_exeext
33281 if { (ac_try="$ac_link"
33282 case "(($ac_try" in
33283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33284 *) ac_try_echo=$ac_try;;
33285 esac
33286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33287 (eval "$ac_link") 2>conftest.er1
33288 ac_status=$?
33289 grep -v '^ *+' conftest.er1 >conftest.err
33290 rm -f conftest.er1
33291 cat conftest.err >&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); } && {
33294 test -z "$ac_cxx_werror_flag" ||
33295 test ! -s conftest.err
33296 } && test -s conftest$ac_exeext &&
33297 $as_test_x conftest$ac_exeext; then
33298 wx_cv_cc_broken_libstdcxx_visibility=no
33299 else
33300 echo "$as_me: failed program was:" >&5
33301 sed 's/^/| /' conftest.$ac_ext >&5
33302
33303 wx_cv_cc_broken_libstdcxx_visibility=yes
33304 fi
33305
33306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33307 conftest$ac_exeext conftest.$ac_ext
33308 ac_ext=c
33309 ac_cpp='$CPP $CPPFLAGS'
33310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33313
33314 CXXFLAGS="$wx_save_CXXFLAGS"
33315 LDFLAGS="$wx_save_LDFLAGS"
33316 fi
33317
33318 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33319 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33320
33321 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33322 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33323 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33324 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33325 echo $ECHO_N "(cached) $ECHO_C" >&6
33326 else
33327
33328 ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33333
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340
33341 #pragma GCC visibility push(default)
33342 #include <string>
33343 #pragma GCC visibility pop
33344
33345 int
33346 main ()
33347 {
33348
33349 std::string s("hello");
33350 return s.length();
33351
33352 ;
33353 return 0;
33354 }
33355 _ACEOF
33356 rm -f conftest.$ac_objext conftest$ac_exeext
33357 if { (ac_try="$ac_link"
33358 case "(($ac_try" in
33359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33360 *) ac_try_echo=$ac_try;;
33361 esac
33362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33363 (eval "$ac_link") 2>conftest.er1
33364 ac_status=$?
33365 grep -v '^ *+' conftest.er1 >conftest.err
33366 rm -f conftest.er1
33367 cat conftest.err >&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } && {
33370 test -z "$ac_cxx_werror_flag" ||
33371 test ! -s conftest.err
33372 } && test -s conftest$ac_exeext &&
33373 $as_test_x conftest$ac_exeext; then
33374 wx_cv_cc_visibility_workaround=no
33375 else
33376 echo "$as_me: failed program was:" >&5
33377 sed 's/^/| /' conftest.$ac_ext >&5
33378
33379 wx_cv_cc_visibility_workaround=yes
33380 fi
33381
33382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33383 conftest$ac_exeext conftest.$ac_ext
33384 ac_ext=c
33385 ac_cpp='$CPP $CPPFLAGS'
33386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33389
33390
33391 fi
33392
33393 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33394 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33395
33396 if test $wx_cv_cc_visibility_workaround = no; then
33397 wx_cv_cc_visibility=no
33398 fi
33399 fi
33400 fi
33401
33402 if test $wx_cv_cc_visibility = yes; then
33403 cat >>confdefs.h <<\_ACEOF
33404 #define HAVE_VISIBILITY 1
33405 _ACEOF
33406
33407 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33408 cat >>confdefs.h <<\_ACEOF
33409 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33410 _ACEOF
33411
33412 fi
33413 else
33414 CFLAGS_VISIBILITY=""
33415 CXXFLAGS_VISIBILITY=""
33416 fi
33417
33418
33419 fi
33420
33421 fi
33422
33423 if test "x$SUNCXX" = xyes; then
33424 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33425 WXCONFIG_RPATH="-R\$libdir"
33426 else
33427 case "${host}" in
33428 *-*-linux* | *-*-gnu* )
33429 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33430 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33431 ;;
33432
33433 *-*-solaris2* )
33434
33435 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33436
33437 saveLdflags="$LDFLAGS"
33438 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33439 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33440 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33441 cat >conftest.$ac_ext <<_ACEOF
33442 /* confdefs.h. */
33443 _ACEOF
33444 cat confdefs.h >>conftest.$ac_ext
33445 cat >>conftest.$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33447
33448 int
33449 main ()
33450 {
33451
33452 ;
33453 return 0;
33454 }
33455 _ACEOF
33456 rm -f conftest.$ac_objext conftest$ac_exeext
33457 if { (ac_try="$ac_link"
33458 case "(($ac_try" in
33459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33460 *) ac_try_echo=$ac_try;;
33461 esac
33462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33463 (eval "$ac_link") 2>conftest.er1
33464 ac_status=$?
33465 grep -v '^ *+' conftest.er1 >conftest.err
33466 rm -f conftest.er1
33467 cat conftest.err >&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); } && {
33470 test -z "$ac_c_werror_flag" ||
33471 test ! -s conftest.err
33472 } && test -s conftest$ac_exeext &&
33473 $as_test_x conftest$ac_exeext; then
33474
33475 { echo "$as_me:$LINENO: result: yes" >&5
33476 echo "${ECHO_T}yes" >&6; }
33477 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33478 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33479
33480 else
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.$ac_ext >&5
33483
33484
33485 { echo "$as_me:$LINENO: result: no" >&5
33486 echo "${ECHO_T}no" >&6; }
33487 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33488 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33489 LDFLAGS="$saveLdflags -Wl,-R,/"
33490 cat >conftest.$ac_ext <<_ACEOF
33491 /* confdefs.h. */
33492 _ACEOF
33493 cat confdefs.h >>conftest.$ac_ext
33494 cat >>conftest.$ac_ext <<_ACEOF
33495 /* end confdefs.h. */
33496
33497 int
33498 main ()
33499 {
33500
33501 ;
33502 return 0;
33503 }
33504 _ACEOF
33505 rm -f conftest.$ac_objext conftest$ac_exeext
33506 if { (ac_try="$ac_link"
33507 case "(($ac_try" in
33508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33509 *) ac_try_echo=$ac_try;;
33510 esac
33511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33512 (eval "$ac_link") 2>conftest.er1
33513 ac_status=$?
33514 grep -v '^ *+' conftest.er1 >conftest.err
33515 rm -f conftest.er1
33516 cat conftest.err >&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); } && {
33519 test -z "$ac_c_werror_flag" ||
33520 test ! -s conftest.err
33521 } && test -s conftest$ac_exeext &&
33522 $as_test_x conftest$ac_exeext; then
33523
33524 { echo "$as_me:$LINENO: result: yes" >&5
33525 echo "${ECHO_T}yes" >&6; }
33526 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33527 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33528
33529 else
33530 echo "$as_me: failed program was:" >&5
33531 sed 's/^/| /' conftest.$ac_ext >&5
33532
33533
33534 { echo "$as_me:$LINENO: result: no" >&5
33535 echo "${ECHO_T}no" >&6; }
33536
33537 fi
33538
33539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33540 conftest$ac_exeext conftest.$ac_ext
33541
33542 fi
33543
33544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33545 conftest$ac_exeext conftest.$ac_ext
33546 LDFLAGS="$saveLdflags"
33547 ;;
33548
33549 *-*-darwin* )
33550 install_name_tool=`which install_name_tool`
33551 if test "$install_name_tool" -a -x "$install_name_tool"; then
33552 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33553 cat <<EOF >change-install-names
33554 #!/bin/sh
33555 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33556 inst_cmd="install_name_tool "
33557 for i in \${libnames} ; do
33558 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33559 done
33560 \${inst_cmd} \${3}
33561 EOF
33562 chmod +x change-install-names
33563 fi
33564 ;;
33565
33566 *-*-cygwin* | *-*-mingw32* )
33567 ;;
33568
33569 *-*-hpux* )
33570 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33571 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33572 ;;
33573
33574 esac
33575 fi
33576
33577 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33578
33579 if test $wxUSE_RPATH = "no"; then
33580 SAMPLES_RPATH_FLAG=''
33581 SAMPLES_RPATH_POSTLINK=''
33582 WXCONFIG_RPATH=''
33583 fi
33584
33585 SHARED=1
33586
33587 else
33588
33589 config_linkage_component="-static"
33590 SHARED=0
33591
33592 fi
33593
33594
33595 UNICODE=0
33596 lib_unicode_suffix=
33597 WX_CHARTYPE="ansi"
33598 if test "$wxUSE_UNICODE" = "yes"; then
33599 lib_unicode_suffix=u
33600 WX_CHARTYPE="unicode"
33601 UNICODE=1
33602 fi
33603
33604 lib_debug_suffix=
33605 WX_DEBUGTYPE="release"
33606 DEBUG_FLAG=0
33607 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33608 lib_debug_suffix=d
33609 WX_DEBUGTYPE="debug"
33610 DEBUG_FLAG=1
33611 fi
33612
33613 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33614 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33615
33616 DEBUG_INFO=0
33617 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33618 DEBUG_INFO=1
33619 fi
33620
33621 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33622
33623 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33624
33625 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33626
33627 if test "$cross_compiling" = "yes"; then
33628 HOST_SUFFIX="-$host_alias"
33629 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33630 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33631 fi
33632
33633 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33634 if test "${TOOLKIT_DIR}" = "os2"; then
33635 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33636 else
33637 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33638 fi
33639
33640
33641
33642 if test "$wxUSE_COCOA" = 1; then
33643
33644 ac_ext=c
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649
33650 ac_ext=m
33651
33652 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33653 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33654 cat >conftest.$ac_ext <<_ACEOF
33655 /* confdefs.h. */
33656 _ACEOF
33657 cat confdefs.h >>conftest.$ac_ext
33658 cat >>conftest.$ac_ext <<_ACEOF
33659 /* end confdefs.h. */
33660 #include <AppKit/NSEvent.h>
33661 #include <CoreFoundation/CoreFoundation.h>
33662
33663 int
33664 main ()
33665 {
33666
33667 ;
33668 return 0;
33669 }
33670 _ACEOF
33671 rm -f conftest.$ac_objext
33672 if { (ac_try="$ac_compile"
33673 case "(($ac_try" in
33674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33675 *) ac_try_echo=$ac_try;;
33676 esac
33677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33678 (eval "$ac_compile") 2>conftest.er1
33679 ac_status=$?
33680 grep -v '^ *+' conftest.er1 >conftest.err
33681 rm -f conftest.er1
33682 cat conftest.err >&5
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); } && {
33685 test -z "$ac_c_werror_flag" ||
33686 test ! -s conftest.err
33687 } && test -s conftest.$ac_objext; then
33688 { echo "$as_me:$LINENO: result: no" >&5
33689 echo "${ECHO_T}no" >&6; }
33690 else
33691 echo "$as_me: failed program was:" >&5
33692 sed 's/^/| /' conftest.$ac_ext >&5
33693
33694 { echo "$as_me:$LINENO: result: yes" >&5
33695 echo "${ECHO_T}yes" >&6; }
33696 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33697 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33698 cat >conftest.$ac_ext <<_ACEOF
33699 /* confdefs.h. */
33700 _ACEOF
33701 cat confdefs.h >>conftest.$ac_ext
33702 cat >>conftest.$ac_ext <<_ACEOF
33703 /* end confdefs.h. */
33704 #define __Point__ 1
33705 #include <AppKit/NSEvent.h>
33706 #include <CoreFoundation/CoreFoundation.h>
33707
33708 int
33709 main ()
33710 {
33711
33712 ;
33713 return 0;
33714 }
33715 _ACEOF
33716 rm -f conftest.$ac_objext
33717 if { (ac_try="$ac_compile"
33718 case "(($ac_try" in
33719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33720 *) ac_try_echo=$ac_try;;
33721 esac
33722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33723 (eval "$ac_compile") 2>conftest.er1
33724 ac_status=$?
33725 grep -v '^ *+' conftest.er1 >conftest.err
33726 rm -f conftest.er1
33727 cat conftest.err >&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } && {
33730 test -z "$ac_c_werror_flag" ||
33731 test ! -s conftest.err
33732 } && test -s conftest.$ac_objext; then
33733 { echo "$as_me:$LINENO: result: yes" >&5
33734 echo "${ECHO_T}yes" >&6; }
33735 cat >>confdefs.h <<\_ACEOF
33736 #define __Point__ 1
33737 _ACEOF
33738
33739
33740 else
33741 echo "$as_me: failed program was:" >&5
33742 sed 's/^/| /' conftest.$ac_ext >&5
33743
33744 { { echo "$as_me:$LINENO: error: no
33745 See \`config.log' for more details." >&5
33746 echo "$as_me: error: no
33747 See \`config.log' for more details." >&2;}
33748 { (exit 1); exit 1; }; }
33749
33750 fi
33751
33752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33753
33754 fi
33755
33756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762
33763 fi
33764
33765
33766 { echo "$as_me:$LINENO: checking for mode_t" >&5
33767 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33768 if test "${ac_cv_type_mode_t+set}" = set; then
33769 echo $ECHO_N "(cached) $ECHO_C" >&6
33770 else
33771 cat >conftest.$ac_ext <<_ACEOF
33772 /* confdefs.h. */
33773 _ACEOF
33774 cat confdefs.h >>conftest.$ac_ext
33775 cat >>conftest.$ac_ext <<_ACEOF
33776 /* end confdefs.h. */
33777 $ac_includes_default
33778 typedef mode_t ac__type_new_;
33779 int
33780 main ()
33781 {
33782 if ((ac__type_new_ *) 0)
33783 return 0;
33784 if (sizeof (ac__type_new_))
33785 return 0;
33786 ;
33787 return 0;
33788 }
33789 _ACEOF
33790 rm -f conftest.$ac_objext
33791 if { (ac_try="$ac_compile"
33792 case "(($ac_try" in
33793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33794 *) ac_try_echo=$ac_try;;
33795 esac
33796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33797 (eval "$ac_compile") 2>conftest.er1
33798 ac_status=$?
33799 grep -v '^ *+' conftest.er1 >conftest.err
33800 rm -f conftest.er1
33801 cat conftest.err >&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); } && {
33804 test -z "$ac_c_werror_flag" ||
33805 test ! -s conftest.err
33806 } && test -s conftest.$ac_objext; then
33807 ac_cv_type_mode_t=yes
33808 else
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33811
33812 ac_cv_type_mode_t=no
33813 fi
33814
33815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33816 fi
33817 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33818 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33819 if test $ac_cv_type_mode_t = yes; then
33820 :
33821 else
33822
33823 cat >>confdefs.h <<_ACEOF
33824 #define mode_t int
33825 _ACEOF
33826
33827 fi
33828
33829 { echo "$as_me:$LINENO: checking for off_t" >&5
33830 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33831 if test "${ac_cv_type_off_t+set}" = set; then
33832 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 else
33834 cat >conftest.$ac_ext <<_ACEOF
33835 /* confdefs.h. */
33836 _ACEOF
33837 cat confdefs.h >>conftest.$ac_ext
33838 cat >>conftest.$ac_ext <<_ACEOF
33839 /* end confdefs.h. */
33840 $ac_includes_default
33841 typedef off_t ac__type_new_;
33842 int
33843 main ()
33844 {
33845 if ((ac__type_new_ *) 0)
33846 return 0;
33847 if (sizeof (ac__type_new_))
33848 return 0;
33849 ;
33850 return 0;
33851 }
33852 _ACEOF
33853 rm -f conftest.$ac_objext
33854 if { (ac_try="$ac_compile"
33855 case "(($ac_try" in
33856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33857 *) ac_try_echo=$ac_try;;
33858 esac
33859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33860 (eval "$ac_compile") 2>conftest.er1
33861 ac_status=$?
33862 grep -v '^ *+' conftest.er1 >conftest.err
33863 rm -f conftest.er1
33864 cat conftest.err >&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); } && {
33867 test -z "$ac_c_werror_flag" ||
33868 test ! -s conftest.err
33869 } && test -s conftest.$ac_objext; then
33870 ac_cv_type_off_t=yes
33871 else
33872 echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33874
33875 ac_cv_type_off_t=no
33876 fi
33877
33878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33879 fi
33880 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33881 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33882 if test $ac_cv_type_off_t = yes; then
33883 :
33884 else
33885
33886 cat >>confdefs.h <<_ACEOF
33887 #define off_t long int
33888 _ACEOF
33889
33890 fi
33891
33892 { echo "$as_me:$LINENO: checking for pid_t" >&5
33893 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33894 if test "${ac_cv_type_pid_t+set}" = set; then
33895 echo $ECHO_N "(cached) $ECHO_C" >&6
33896 else
33897 cat >conftest.$ac_ext <<_ACEOF
33898 /* confdefs.h. */
33899 _ACEOF
33900 cat confdefs.h >>conftest.$ac_ext
33901 cat >>conftest.$ac_ext <<_ACEOF
33902 /* end confdefs.h. */
33903 $ac_includes_default
33904 typedef pid_t ac__type_new_;
33905 int
33906 main ()
33907 {
33908 if ((ac__type_new_ *) 0)
33909 return 0;
33910 if (sizeof (ac__type_new_))
33911 return 0;
33912 ;
33913 return 0;
33914 }
33915 _ACEOF
33916 rm -f conftest.$ac_objext
33917 if { (ac_try="$ac_compile"
33918 case "(($ac_try" in
33919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33920 *) ac_try_echo=$ac_try;;
33921 esac
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_compile") 2>conftest.er1
33924 ac_status=$?
33925 grep -v '^ *+' conftest.er1 >conftest.err
33926 rm -f conftest.er1
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest.$ac_objext; then
33933 ac_cv_type_pid_t=yes
33934 else
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.$ac_ext >&5
33937
33938 ac_cv_type_pid_t=no
33939 fi
33940
33941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33942 fi
33943 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33944 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33945 if test $ac_cv_type_pid_t = yes; then
33946 :
33947 else
33948
33949 cat >>confdefs.h <<_ACEOF
33950 #define pid_t int
33951 _ACEOF
33952
33953 fi
33954
33955 { echo "$as_me:$LINENO: checking for size_t" >&5
33956 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33957 if test "${ac_cv_type_size_t+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 else
33960 cat >conftest.$ac_ext <<_ACEOF
33961 /* confdefs.h. */
33962 _ACEOF
33963 cat confdefs.h >>conftest.$ac_ext
33964 cat >>conftest.$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33966 $ac_includes_default
33967 typedef size_t ac__type_new_;
33968 int
33969 main ()
33970 {
33971 if ((ac__type_new_ *) 0)
33972 return 0;
33973 if (sizeof (ac__type_new_))
33974 return 0;
33975 ;
33976 return 0;
33977 }
33978 _ACEOF
33979 rm -f conftest.$ac_objext
33980 if { (ac_try="$ac_compile"
33981 case "(($ac_try" in
33982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33983 *) ac_try_echo=$ac_try;;
33984 esac
33985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33986 (eval "$ac_compile") 2>conftest.er1
33987 ac_status=$?
33988 grep -v '^ *+' conftest.er1 >conftest.err
33989 rm -f conftest.er1
33990 cat conftest.err >&5
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); } && {
33993 test -z "$ac_c_werror_flag" ||
33994 test ! -s conftest.err
33995 } && test -s conftest.$ac_objext; then
33996 ac_cv_type_size_t=yes
33997 else
33998 echo "$as_me: failed program was:" >&5
33999 sed 's/^/| /' conftest.$ac_ext >&5
34000
34001 ac_cv_type_size_t=no
34002 fi
34003
34004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34005 fi
34006 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34007 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34008 if test $ac_cv_type_size_t = yes; then
34009 :
34010 else
34011
34012 cat >>confdefs.h <<_ACEOF
34013 #define size_t unsigned int
34014 _ACEOF
34015
34016 fi
34017
34018
34019 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34020 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34021 if test "${ac_cv_type_ssize_t+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34024 cat >conftest.$ac_ext <<_ACEOF
34025 /* confdefs.h. */
34026 _ACEOF
34027 cat confdefs.h >>conftest.$ac_ext
34028 cat >>conftest.$ac_ext <<_ACEOF
34029 /* end confdefs.h. */
34030 $ac_includes_default
34031 typedef ssize_t ac__type_new_;
34032 int
34033 main ()
34034 {
34035 if ((ac__type_new_ *) 0)
34036 return 0;
34037 if (sizeof (ac__type_new_))
34038 return 0;
34039 ;
34040 return 0;
34041 }
34042 _ACEOF
34043 rm -f conftest.$ac_objext
34044 if { (ac_try="$ac_compile"
34045 case "(($ac_try" in
34046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34047 *) ac_try_echo=$ac_try;;
34048 esac
34049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34050 (eval "$ac_compile") 2>conftest.er1
34051 ac_status=$?
34052 grep -v '^ *+' conftest.er1 >conftest.err
34053 rm -f conftest.er1
34054 cat conftest.err >&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); } && {
34057 test -z "$ac_c_werror_flag" ||
34058 test ! -s conftest.err
34059 } && test -s conftest.$ac_objext; then
34060 ac_cv_type_ssize_t=yes
34061 else
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34064
34065 ac_cv_type_ssize_t=no
34066 fi
34067
34068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34069 fi
34070 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34071 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34072 if test $ac_cv_type_ssize_t = yes; then
34073
34074 cat >>confdefs.h <<_ACEOF
34075 #define HAVE_SSIZE_T 1
34076 _ACEOF
34077
34078
34079 fi
34080
34081
34082 ac_ext=cpp
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34087 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34088 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34089 if test "${wx_cv_size_t_is_uint+set}" = set; then
34090 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 else
34092
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h. */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099 #include <stddef.h>
34100 int
34101 main ()
34102 {
34103
34104 return 0; }
34105
34106 struct Foo { void foo(size_t); void foo(unsigned int); };
34107
34108 int bar() {
34109
34110 ;
34111 return 0;
34112 }
34113 _ACEOF
34114 rm -f conftest.$ac_objext
34115 if { (ac_try="$ac_compile"
34116 case "(($ac_try" in
34117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34118 *) ac_try_echo=$ac_try;;
34119 esac
34120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34121 (eval "$ac_compile") 2>conftest.er1
34122 ac_status=$?
34123 grep -v '^ *+' conftest.er1 >conftest.err
34124 rm -f conftest.er1
34125 cat conftest.err >&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); } && {
34128 test -z "$ac_cxx_werror_flag" ||
34129 test ! -s conftest.err
34130 } && test -s conftest.$ac_objext; then
34131 wx_cv_size_t_is_uint=no
34132 else
34133 echo "$as_me: failed program was:" >&5
34134 sed 's/^/| /' conftest.$ac_ext >&5
34135
34136 wx_cv_size_t_is_uint=yes
34137
34138 fi
34139
34140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34141
34142
34143 fi
34144 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34145 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34146
34147 if test "$wx_cv_size_t_is_uint" = "yes"; then
34148 cat >>confdefs.h <<\_ACEOF
34149 #define wxSIZE_T_IS_UINT 1
34150 _ACEOF
34151
34152 else
34153 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34154 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34155 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 else
34158 cat >conftest.$ac_ext <<_ACEOF
34159 /* confdefs.h. */
34160 _ACEOF
34161 cat confdefs.h >>conftest.$ac_ext
34162 cat >>conftest.$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 #include <stddef.h>
34165 int
34166 main ()
34167 {
34168
34169 return 0; }
34170
34171 struct Foo { void foo(size_t); void foo(unsigned long); };
34172
34173 int bar() {
34174
34175 ;
34176 return 0;
34177 }
34178 _ACEOF
34179 rm -f conftest.$ac_objext
34180 if { (ac_try="$ac_compile"
34181 case "(($ac_try" in
34182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34183 *) ac_try_echo=$ac_try;;
34184 esac
34185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34186 (eval "$ac_compile") 2>conftest.er1
34187 ac_status=$?
34188 grep -v '^ *+' conftest.er1 >conftest.err
34189 rm -f conftest.er1
34190 cat conftest.err >&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } && {
34193 test -z "$ac_cxx_werror_flag" ||
34194 test ! -s conftest.err
34195 } && test -s conftest.$ac_objext; then
34196 wx_cv_size_t_is_ulong=no
34197 else
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.$ac_ext >&5
34200
34201 wx_cv_size_t_is_ulong=yes
34202
34203 fi
34204
34205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34206
34207 fi
34208 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34209 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34210
34211 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34212 cat >>confdefs.h <<\_ACEOF
34213 #define wxSIZE_T_IS_ULONG 1
34214 _ACEOF
34215
34216 fi
34217 fi
34218
34219 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34220 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34221 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34222 echo $ECHO_N "(cached) $ECHO_C" >&6
34223 else
34224 cat >conftest.$ac_ext <<_ACEOF
34225 /* confdefs.h. */
34226 _ACEOF
34227 cat confdefs.h >>conftest.$ac_ext
34228 cat >>conftest.$ac_ext <<_ACEOF
34229 /* end confdefs.h. */
34230 #include <wchar.h>
34231 int
34232 main ()
34233 {
34234
34235 return 0; }
34236
34237 struct Foo { void foo(wchar_t);
34238 void foo(unsigned short);
34239 void foo(unsigned int);
34240 void foo(unsigned long); };
34241
34242 int bar() {
34243
34244 ;
34245 return 0;
34246 }
34247 _ACEOF
34248 rm -f conftest.$ac_objext
34249 if { (ac_try="$ac_compile"
34250 case "(($ac_try" in
34251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34252 *) ac_try_echo=$ac_try;;
34253 esac
34254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34255 (eval "$ac_compile") 2>conftest.er1
34256 ac_status=$?
34257 grep -v '^ *+' conftest.er1 >conftest.err
34258 rm -f conftest.er1
34259 cat conftest.err >&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } && {
34262 test -z "$ac_cxx_werror_flag" ||
34263 test ! -s conftest.err
34264 } && test -s conftest.$ac_objext; then
34265 wx_cv_wchar_t_is_separate_type=yes
34266 else
34267 echo "$as_me: failed program was:" >&5
34268 sed 's/^/| /' conftest.$ac_ext >&5
34269
34270 wx_cv_wchar_t_is_separate_type=no
34271
34272 fi
34273
34274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34275
34276 fi
34277 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34278 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34279
34280 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34281 cat >>confdefs.h <<\_ACEOF
34282 #define wxWCHAR_T_IS_REAL_TYPE 1
34283 _ACEOF
34284
34285 else
34286 cat >>confdefs.h <<\_ACEOF
34287 #define wxWCHAR_T_IS_REAL_TYPE 0
34288 _ACEOF
34289
34290 fi
34291
34292 ac_ext=c
34293 ac_cpp='$CPP $CPPFLAGS'
34294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297
34298
34299 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34300 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34301 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34302 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 else
34304
34305 cat >conftest.$ac_ext <<_ACEOF
34306 /* confdefs.h. */
34307 _ACEOF
34308 cat confdefs.h >>conftest.$ac_ext
34309 cat >>conftest.$ac_ext <<_ACEOF
34310 /* end confdefs.h. */
34311 #include <pwd.h>
34312 int
34313 main ()
34314 {
34315
34316 char *p;
34317 struct passwd *pw;
34318 p = pw->pw_gecos;
34319
34320 ;
34321 return 0;
34322 }
34323 _ACEOF
34324 rm -f conftest.$ac_objext
34325 if { (ac_try="$ac_compile"
34326 case "(($ac_try" in
34327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34328 *) ac_try_echo=$ac_try;;
34329 esac
34330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34331 (eval "$ac_compile") 2>conftest.er1
34332 ac_status=$?
34333 grep -v '^ *+' conftest.er1 >conftest.err
34334 rm -f conftest.er1
34335 cat conftest.err >&5
34336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337 (exit $ac_status); } && {
34338 test -z "$ac_c_werror_flag" ||
34339 test ! -s conftest.err
34340 } && test -s conftest.$ac_objext; then
34341
34342 wx_cv_struct_pw_gecos=yes
34343
34344 else
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.$ac_ext >&5
34347
34348
34349 wx_cv_struct_pw_gecos=no
34350
34351
34352 fi
34353
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355
34356
34357 fi
34358 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34359 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34360
34361 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34362 cat >>confdefs.h <<\_ACEOF
34363 #define HAVE_PW_GECOS 1
34364 _ACEOF
34365
34366 fi
34367
34368
34369 if test "$wxUSE_WCHAR_T" = "yes"; then
34370 cat >>confdefs.h <<\_ACEOF
34371 #define wxUSE_WCHAR_T 1
34372 _ACEOF
34373
34374
34375 WCSLEN_FOUND=0
34376 WCHAR_LINK=
34377
34378 for ac_func in wcslen
34379 do
34380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34394 #define $ac_func innocuous_$ac_func
34395
34396 /* System header to define __stub macros and hopefully few prototypes,
34397 which can conflict with char $ac_func (); below.
34398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34399 <limits.h> exists even on freestanding compilers. */
34400
34401 #ifdef __STDC__
34402 # include <limits.h>
34403 #else
34404 # include <assert.h>
34405 #endif
34406
34407 #undef $ac_func
34408
34409 /* Override any GCC internal prototype to avoid an error.
34410 Use char because int might match the return type of a GCC
34411 builtin and then its argument prototype would still apply. */
34412 #ifdef __cplusplus
34413 extern "C"
34414 #endif
34415 char $ac_func ();
34416 /* The GNU C library defines this for functions which it implements
34417 to always fail with ENOSYS. Some functions are actually named
34418 something starting with __ and the normal name is an alias. */
34419 #if defined __stub_$ac_func || defined __stub___$ac_func
34420 choke me
34421 #endif
34422
34423 int
34424 main ()
34425 {
34426 return $ac_func ();
34427 ;
34428 return 0;
34429 }
34430 _ACEOF
34431 rm -f conftest.$ac_objext conftest$ac_exeext
34432 if { (ac_try="$ac_link"
34433 case "(($ac_try" in
34434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34435 *) ac_try_echo=$ac_try;;
34436 esac
34437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34438 (eval "$ac_link") 2>conftest.er1
34439 ac_status=$?
34440 grep -v '^ *+' conftest.er1 >conftest.err
34441 rm -f conftest.er1
34442 cat conftest.err >&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); } && {
34445 test -z "$ac_c_werror_flag" ||
34446 test ! -s conftest.err
34447 } && test -s conftest$ac_exeext &&
34448 $as_test_x conftest$ac_exeext; then
34449 eval "$as_ac_var=yes"
34450 else
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.$ac_ext >&5
34453
34454 eval "$as_ac_var=no"
34455 fi
34456
34457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34458 conftest$ac_exeext conftest.$ac_ext
34459 fi
34460 ac_res=`eval echo '${'$as_ac_var'}'`
34461 { echo "$as_me:$LINENO: result: $ac_res" >&5
34462 echo "${ECHO_T}$ac_res" >&6; }
34463 if test `eval echo '${'$as_ac_var'}'` = yes; then
34464 cat >>confdefs.h <<_ACEOF
34465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34466 _ACEOF
34467 WCSLEN_FOUND=1
34468 fi
34469 done
34470
34471
34472 if test "$WCSLEN_FOUND" = 0; then
34473 if test "$TOOLKIT" = "MSW"; then
34474 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34475 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34476 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34478 else
34479 ac_check_lib_save_LIBS=$LIBS
34480 LIBS="-lmsvcrt $LIBS"
34481 cat >conftest.$ac_ext <<_ACEOF
34482 /* confdefs.h. */
34483 _ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487
34488 /* Override any GCC internal prototype to avoid an error.
34489 Use char because int might match the return type of a GCC
34490 builtin and then its argument prototype would still apply. */
34491 #ifdef __cplusplus
34492 extern "C"
34493 #endif
34494 char wcslen ();
34495 int
34496 main ()
34497 {
34498 return wcslen ();
34499 ;
34500 return 0;
34501 }
34502 _ACEOF
34503 rm -f conftest.$ac_objext conftest$ac_exeext
34504 if { (ac_try="$ac_link"
34505 case "(($ac_try" in
34506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34507 *) ac_try_echo=$ac_try;;
34508 esac
34509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34510 (eval "$ac_link") 2>conftest.er1
34511 ac_status=$?
34512 grep -v '^ *+' conftest.er1 >conftest.err
34513 rm -f conftest.er1
34514 cat conftest.err >&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } && {
34517 test -z "$ac_c_werror_flag" ||
34518 test ! -s conftest.err
34519 } && test -s conftest$ac_exeext &&
34520 $as_test_x conftest$ac_exeext; then
34521 ac_cv_lib_msvcrt_wcslen=yes
34522 else
34523 echo "$as_me: failed program was:" >&5
34524 sed 's/^/| /' conftest.$ac_ext >&5
34525
34526 ac_cv_lib_msvcrt_wcslen=no
34527 fi
34528
34529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34530 conftest$ac_exeext conftest.$ac_ext
34531 LIBS=$ac_check_lib_save_LIBS
34532 fi
34533 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34534 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34535 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34536 WCHAR_OK=1
34537 fi
34538
34539 else
34540 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34541 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34542 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34545 ac_check_lib_save_LIBS=$LIBS
34546 LIBS="-lw $LIBS"
34547 cat >conftest.$ac_ext <<_ACEOF
34548 /* confdefs.h. */
34549 _ACEOF
34550 cat confdefs.h >>conftest.$ac_ext
34551 cat >>conftest.$ac_ext <<_ACEOF
34552 /* end confdefs.h. */
34553
34554 /* Override any GCC internal prototype to avoid an error.
34555 Use char because int might match the return type of a GCC
34556 builtin and then its argument prototype would still apply. */
34557 #ifdef __cplusplus
34558 extern "C"
34559 #endif
34560 char wcslen ();
34561 int
34562 main ()
34563 {
34564 return wcslen ();
34565 ;
34566 return 0;
34567 }
34568 _ACEOF
34569 rm -f conftest.$ac_objext conftest$ac_exeext
34570 if { (ac_try="$ac_link"
34571 case "(($ac_try" in
34572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34573 *) ac_try_echo=$ac_try;;
34574 esac
34575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34576 (eval "$ac_link") 2>conftest.er1
34577 ac_status=$?
34578 grep -v '^ *+' conftest.er1 >conftest.err
34579 rm -f conftest.er1
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } && {
34583 test -z "$ac_c_werror_flag" ||
34584 test ! -s conftest.err
34585 } && test -s conftest$ac_exeext &&
34586 $as_test_x conftest$ac_exeext; then
34587 ac_cv_lib_w_wcslen=yes
34588 else
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.$ac_ext >&5
34591
34592 ac_cv_lib_w_wcslen=no
34593 fi
34594
34595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34596 conftest$ac_exeext conftest.$ac_ext
34597 LIBS=$ac_check_lib_save_LIBS
34598 fi
34599 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34600 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34601 if test $ac_cv_lib_w_wcslen = yes; then
34602
34603 WCHAR_LINK=" -lw"
34604 WCSLEN_FOUND=1
34605
34606 fi
34607
34608 fi
34609 fi
34610
34611 if test "$WCSLEN_FOUND" = 1; then
34612 cat >>confdefs.h <<\_ACEOF
34613 #define HAVE_WCSLEN 1
34614 _ACEOF
34615
34616 fi
34617
34618
34619 for ac_func in wcsdup
34620 do
34621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34625 echo $ECHO_N "(cached) $ECHO_C" >&6
34626 else
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34635 #define $ac_func innocuous_$ac_func
34636
34637 /* System header to define __stub macros and hopefully few prototypes,
34638 which can conflict with char $ac_func (); below.
34639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34640 <limits.h> exists even on freestanding compilers. */
34641
34642 #ifdef __STDC__
34643 # include <limits.h>
34644 #else
34645 # include <assert.h>
34646 #endif
34647
34648 #undef $ac_func
34649
34650 /* Override any GCC internal prototype to avoid an error.
34651 Use char because int might match the return type of a GCC
34652 builtin and then its argument prototype would still apply. */
34653 #ifdef __cplusplus
34654 extern "C"
34655 #endif
34656 char $ac_func ();
34657 /* The GNU C library defines this for functions which it implements
34658 to always fail with ENOSYS. Some functions are actually named
34659 something starting with __ and the normal name is an alias. */
34660 #if defined __stub_$ac_func || defined __stub___$ac_func
34661 choke me
34662 #endif
34663
34664 int
34665 main ()
34666 {
34667 return $ac_func ();
34668 ;
34669 return 0;
34670 }
34671 _ACEOF
34672 rm -f conftest.$ac_objext conftest$ac_exeext
34673 if { (ac_try="$ac_link"
34674 case "(($ac_try" in
34675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34676 *) ac_try_echo=$ac_try;;
34677 esac
34678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34679 (eval "$ac_link") 2>conftest.er1
34680 ac_status=$?
34681 grep -v '^ *+' conftest.er1 >conftest.err
34682 rm -f conftest.er1
34683 cat conftest.err >&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); } && {
34686 test -z "$ac_c_werror_flag" ||
34687 test ! -s conftest.err
34688 } && test -s conftest$ac_exeext &&
34689 $as_test_x conftest$ac_exeext; then
34690 eval "$as_ac_var=yes"
34691 else
34692 echo "$as_me: failed program was:" >&5
34693 sed 's/^/| /' conftest.$ac_ext >&5
34694
34695 eval "$as_ac_var=no"
34696 fi
34697
34698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34699 conftest$ac_exeext conftest.$ac_ext
34700 fi
34701 ac_res=`eval echo '${'$as_ac_var'}'`
34702 { echo "$as_me:$LINENO: result: $ac_res" >&5
34703 echo "${ECHO_T}$ac_res" >&6; }
34704 if test `eval echo '${'$as_ac_var'}'` = yes; then
34705 cat >>confdefs.h <<_ACEOF
34706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34707 _ACEOF
34708
34709 fi
34710 done
34711
34712
34713 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34714 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34715 fi
34716
34717 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34718 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34719 if test "${ac_cv_type_mbstate_t+set}" = set; then
34720 echo $ECHO_N "(cached) $ECHO_C" >&6
34721 else
34722 cat >conftest.$ac_ext <<_ACEOF
34723 /* confdefs.h. */
34724 _ACEOF
34725 cat confdefs.h >>conftest.$ac_ext
34726 cat >>conftest.$ac_ext <<_ACEOF
34727 /* end confdefs.h. */
34728 #include <wchar.h>
34729
34730 typedef mbstate_t ac__type_new_;
34731 int
34732 main ()
34733 {
34734 if ((ac__type_new_ *) 0)
34735 return 0;
34736 if (sizeof (ac__type_new_))
34737 return 0;
34738 ;
34739 return 0;
34740 }
34741 _ACEOF
34742 rm -f conftest.$ac_objext
34743 if { (ac_try="$ac_compile"
34744 case "(($ac_try" in
34745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34746 *) ac_try_echo=$ac_try;;
34747 esac
34748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34749 (eval "$ac_compile") 2>conftest.er1
34750 ac_status=$?
34751 grep -v '^ *+' conftest.er1 >conftest.err
34752 rm -f conftest.er1
34753 cat conftest.err >&5
34754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34755 (exit $ac_status); } && {
34756 test -z "$ac_c_werror_flag" ||
34757 test ! -s conftest.err
34758 } && test -s conftest.$ac_objext; then
34759 ac_cv_type_mbstate_t=yes
34760 else
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.$ac_ext >&5
34763
34764 ac_cv_type_mbstate_t=no
34765 fi
34766
34767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34768 fi
34769 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34770 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34771 if test $ac_cv_type_mbstate_t = yes; then
34772
34773 cat >>confdefs.h <<_ACEOF
34774 #define HAVE_MBSTATE_T 1
34775 _ACEOF
34776
34777
34778 for ac_func in wcsrtombs
34779 do
34780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34784 echo $ECHO_N "(cached) $ECHO_C" >&6
34785 else
34786 cat >conftest.$ac_ext <<_ACEOF
34787 /* confdefs.h. */
34788 _ACEOF
34789 cat confdefs.h >>conftest.$ac_ext
34790 cat >>conftest.$ac_ext <<_ACEOF
34791 /* end confdefs.h. */
34792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34794 #define $ac_func innocuous_$ac_func
34795
34796 /* System header to define __stub macros and hopefully few prototypes,
34797 which can conflict with char $ac_func (); below.
34798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34799 <limits.h> exists even on freestanding compilers. */
34800
34801 #ifdef __STDC__
34802 # include <limits.h>
34803 #else
34804 # include <assert.h>
34805 #endif
34806
34807 #undef $ac_func
34808
34809 /* Override any GCC internal prototype to avoid an error.
34810 Use char because int might match the return type of a GCC
34811 builtin and then its argument prototype would still apply. */
34812 #ifdef __cplusplus
34813 extern "C"
34814 #endif
34815 char $ac_func ();
34816 /* The GNU C library defines this for functions which it implements
34817 to always fail with ENOSYS. Some functions are actually named
34818 something starting with __ and the normal name is an alias. */
34819 #if defined __stub_$ac_func || defined __stub___$ac_func
34820 choke me
34821 #endif
34822
34823 int
34824 main ()
34825 {
34826 return $ac_func ();
34827 ;
34828 return 0;
34829 }
34830 _ACEOF
34831 rm -f conftest.$ac_objext conftest$ac_exeext
34832 if { (ac_try="$ac_link"
34833 case "(($ac_try" in
34834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34835 *) ac_try_echo=$ac_try;;
34836 esac
34837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34838 (eval "$ac_link") 2>conftest.er1
34839 ac_status=$?
34840 grep -v '^ *+' conftest.er1 >conftest.err
34841 rm -f conftest.er1
34842 cat conftest.err >&5
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); } && {
34845 test -z "$ac_c_werror_flag" ||
34846 test ! -s conftest.err
34847 } && test -s conftest$ac_exeext &&
34848 $as_test_x conftest$ac_exeext; then
34849 eval "$as_ac_var=yes"
34850 else
34851 echo "$as_me: failed program was:" >&5
34852 sed 's/^/| /' conftest.$ac_ext >&5
34853
34854 eval "$as_ac_var=no"
34855 fi
34856
34857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34858 conftest$ac_exeext conftest.$ac_ext
34859 fi
34860 ac_res=`eval echo '${'$as_ac_var'}'`
34861 { echo "$as_me:$LINENO: result: $ac_res" >&5
34862 echo "${ECHO_T}$ac_res" >&6; }
34863 if test `eval echo '${'$as_ac_var'}'` = yes; then
34864 cat >>confdefs.h <<_ACEOF
34865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34866 _ACEOF
34867
34868 fi
34869 done
34870
34871 fi
34872
34873 else
34874 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34875 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34876 fi
34877
34878
34879
34880 for ac_func in snprintf vsnprintf
34881 do
34882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34883 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34885 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 else
34888 cat >conftest.$ac_ext <<_ACEOF
34889 /* confdefs.h. */
34890 _ACEOF
34891 cat confdefs.h >>conftest.$ac_ext
34892 cat >>conftest.$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34896 #define $ac_func innocuous_$ac_func
34897
34898 /* System header to define __stub macros and hopefully few prototypes,
34899 which can conflict with char $ac_func (); below.
34900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34901 <limits.h> exists even on freestanding compilers. */
34902
34903 #ifdef __STDC__
34904 # include <limits.h>
34905 #else
34906 # include <assert.h>
34907 #endif
34908
34909 #undef $ac_func
34910
34911 /* Override any GCC internal prototype to avoid an error.
34912 Use char because int might match the return type of a GCC
34913 builtin and then its argument prototype would still apply. */
34914 #ifdef __cplusplus
34915 extern "C"
34916 #endif
34917 char $ac_func ();
34918 /* The GNU C library defines this for functions which it implements
34919 to always fail with ENOSYS. Some functions are actually named
34920 something starting with __ and the normal name is an alias. */
34921 #if defined __stub_$ac_func || defined __stub___$ac_func
34922 choke me
34923 #endif
34924
34925 int
34926 main ()
34927 {
34928 return $ac_func ();
34929 ;
34930 return 0;
34931 }
34932 _ACEOF
34933 rm -f conftest.$ac_objext conftest$ac_exeext
34934 if { (ac_try="$ac_link"
34935 case "(($ac_try" in
34936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34937 *) ac_try_echo=$ac_try;;
34938 esac
34939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34940 (eval "$ac_link") 2>conftest.er1
34941 ac_status=$?
34942 grep -v '^ *+' conftest.er1 >conftest.err
34943 rm -f conftest.er1
34944 cat conftest.err >&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); } && {
34947 test -z "$ac_c_werror_flag" ||
34948 test ! -s conftest.err
34949 } && test -s conftest$ac_exeext &&
34950 $as_test_x conftest$ac_exeext; then
34951 eval "$as_ac_var=yes"
34952 else
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.$ac_ext >&5
34955
34956 eval "$as_ac_var=no"
34957 fi
34958
34959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34960 conftest$ac_exeext conftest.$ac_ext
34961 fi
34962 ac_res=`eval echo '${'$as_ac_var'}'`
34963 { echo "$as_me:$LINENO: result: $ac_res" >&5
34964 echo "${ECHO_T}$ac_res" >&6; }
34965 if test `eval echo '${'$as_ac_var'}'` = yes; then
34966 cat >>confdefs.h <<_ACEOF
34967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34968 _ACEOF
34969
34970 fi
34971 done
34972
34973
34974 if test "$ac_cv_func_vsnprintf" = "yes"; then
34975 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34976 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34977 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34978 echo $ECHO_N "(cached) $ECHO_C" >&6
34979 else
34980
34981 cat >conftest.$ac_ext <<_ACEOF
34982 /* confdefs.h. */
34983 _ACEOF
34984 cat confdefs.h >>conftest.$ac_ext
34985 cat >>conftest.$ac_ext <<_ACEOF
34986 /* end confdefs.h. */
34987
34988 #include <stdio.h>
34989 #include <stdarg.h>
34990 #ifdef __MSL__
34991 #if __MSL__ >= 0x6000
34992 namespace std {}
34993 using namespace std;
34994 #endif
34995 #endif
34996
34997 int
34998 main ()
34999 {
35000
35001 char *buf;
35002 va_list ap;
35003 vsnprintf(buf, 10u, "%s", ap);
35004
35005 ;
35006 return 0;
35007 }
35008 _ACEOF
35009 rm -f conftest.$ac_objext
35010 if { (ac_try="$ac_compile"
35011 case "(($ac_try" in
35012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35013 *) ac_try_echo=$ac_try;;
35014 esac
35015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35016 (eval "$ac_compile") 2>conftest.er1
35017 ac_status=$?
35018 grep -v '^ *+' conftest.er1 >conftest.err
35019 rm -f conftest.er1
35020 cat conftest.err >&5
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); } && {
35023 test -z "$ac_c_werror_flag" ||
35024 test ! -s conftest.err
35025 } && test -s conftest.$ac_objext; then
35026 wx_cv_func_vsnprintf_decl=yes
35027 else
35028 echo "$as_me: failed program was:" >&5
35029 sed 's/^/| /' conftest.$ac_ext >&5
35030
35031 wx_cv_func_vsnprintf_decl=no
35032
35033 fi
35034
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036
35037
35038 fi
35039 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35040 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35041
35042 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35043 cat >>confdefs.h <<\_ACEOF
35044 #define HAVE_VSNPRINTF_DECL 1
35045 _ACEOF
35046
35047
35048 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35049 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35050 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35051 echo $ECHO_N "(cached) $ECHO_C" >&6
35052 else
35053
35054 cat >conftest.$ac_ext <<_ACEOF
35055 /* confdefs.h. */
35056 _ACEOF
35057 cat confdefs.h >>conftest.$ac_ext
35058 cat >>conftest.$ac_ext <<_ACEOF
35059 /* end confdefs.h. */
35060
35061 #include <stdio.h>
35062 #include <stdarg.h>
35063 #ifdef __MSL__
35064 #if __MSL__ >= 0x6000
35065 namespace std {}
35066 using namespace std;
35067 #endif
35068 #endif
35069
35070 int
35071 main ()
35072 {
35073
35074 char *buf;
35075 va_list ap;
35076 const char *fmt = "%s";
35077 vsnprintf(buf, 10u, fmt, ap);
35078
35079 ;
35080 return 0;
35081 }
35082 _ACEOF
35083 rm -f conftest.$ac_objext
35084 if { (ac_try="$ac_compile"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35087 *) ac_try_echo=$ac_try;;
35088 esac
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_compile") 2>conftest.er1
35091 ac_status=$?
35092 grep -v '^ *+' conftest.er1 >conftest.err
35093 rm -f conftest.er1
35094 cat conftest.err >&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && {
35097 test -z "$ac_c_werror_flag" ||
35098 test ! -s conftest.err
35099 } && test -s conftest.$ac_objext; then
35100 wx_cv_func_broken_vsnprintf_decl=no
35101 else
35102 echo "$as_me: failed program was:" >&5
35103 sed 's/^/| /' conftest.$ac_ext >&5
35104
35105 wx_cv_func_broken_vsnprintf_decl=yes
35106
35107 fi
35108
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35110
35111
35112 fi
35113 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35114 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35115
35116 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35117 cat >>confdefs.h <<\_ACEOF
35118 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35119 _ACEOF
35120
35121 fi
35122 fi
35123 fi
35124
35125 if test "$ac_cv_func_snprintf" = "yes"; then
35126 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35127 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35128 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35129 echo $ECHO_N "(cached) $ECHO_C" >&6
35130 else
35131
35132 cat >conftest.$ac_ext <<_ACEOF
35133 /* confdefs.h. */
35134 _ACEOF
35135 cat confdefs.h >>conftest.$ac_ext
35136 cat >>conftest.$ac_ext <<_ACEOF
35137 /* end confdefs.h. */
35138
35139 #include <stdio.h>
35140 #include <stdarg.h>
35141 #ifdef __MSL__
35142 #if __MSL__ >= 0x6000
35143 namespace std {}
35144 using namespace std;
35145 #endif
35146 #endif
35147
35148 int
35149 main ()
35150 {
35151
35152 char *buf;
35153 snprintf(buf, 10u, "%s", "wx");
35154
35155 ;
35156 return 0;
35157 }
35158 _ACEOF
35159 rm -f conftest.$ac_objext
35160 if { (ac_try="$ac_compile"
35161 case "(($ac_try" in
35162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35163 *) ac_try_echo=$ac_try;;
35164 esac
35165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35166 (eval "$ac_compile") 2>conftest.er1
35167 ac_status=$?
35168 grep -v '^ *+' conftest.er1 >conftest.err
35169 rm -f conftest.er1
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } && {
35173 test -z "$ac_c_werror_flag" ||
35174 test ! -s conftest.err
35175 } && test -s conftest.$ac_objext; then
35176 wx_cv_func_snprintf_decl=yes
35177 else
35178 echo "$as_me: failed program was:" >&5
35179 sed 's/^/| /' conftest.$ac_ext >&5
35180
35181 wx_cv_func_snprintf_decl=no
35182
35183 fi
35184
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186
35187
35188 fi
35189 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35190 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35191
35192 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35193 cat >>confdefs.h <<\_ACEOF
35194 #define HAVE_SNPRINTF_DECL 1
35195 _ACEOF
35196
35197 fi
35198
35199 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35200
35201 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35202 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35203 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 else
35206
35207 if test "$cross_compiling" = yes; then
35208
35209 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35210 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35211 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35212 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35213 wx_cv_func_snprintf_pos_params=no
35214
35215
35216 else
35217 cat >conftest.$ac_ext <<_ACEOF
35218 /* confdefs.h. */
35219 _ACEOF
35220 cat confdefs.h >>conftest.$ac_ext
35221 cat >>conftest.$ac_ext <<_ACEOF
35222 /* end confdefs.h. */
35223
35224 #include <stdio.h>
35225
35226 int main (void)
35227 {
35228 char buffer[128];
35229 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35230 if (strcmp ("2 3 1", buffer) == 0)
35231 exit (0);
35232 exit (1);
35233 }
35234
35235 _ACEOF
35236 rm -f conftest$ac_exeext
35237 if { (ac_try="$ac_link"
35238 case "(($ac_try" in
35239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35240 *) ac_try_echo=$ac_try;;
35241 esac
35242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35243 (eval "$ac_link") 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35247 { (case "(($ac_try" in
35248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35249 *) ac_try_echo=$ac_try;;
35250 esac
35251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35252 (eval "$ac_try") 2>&5
35253 ac_status=$?
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; }; then
35256 wx_cv_func_snprintf_pos_params=no
35257 else
35258 echo "$as_me: program exited with status $ac_status" >&5
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35261
35262 ( exit $ac_status )
35263 wx_cv_func_snprintf_pos_params=yes
35264 fi
35265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35266 fi
35267
35268
35269
35270
35271 fi
35272 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35273 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35274
35275 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35276 cat >>confdefs.h <<\_ACEOF
35277 #define HAVE_UNIX98_PRINTF 1
35278 _ACEOF
35279
35280 fi
35281 fi
35282 fi
35283
35284 if test "$wxUSE_UNICODE" = yes; then
35285
35286 wchar_headers="#include <stdio.h>
35287 #include <wchar.h>"
35288 case "${host}" in
35289 *-*-solaris2* )
35290
35291 for ac_header in widec.h
35292 do
35293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35297 echo $ECHO_N "(cached) $ECHO_C" >&6
35298 else
35299 cat >conftest.$ac_ext <<_ACEOF
35300 /* confdefs.h. */
35301 _ACEOF
35302 cat confdefs.h >>conftest.$ac_ext
35303 cat >>conftest.$ac_ext <<_ACEOF
35304 /* end confdefs.h. */
35305 $ac_includes_default
35306
35307 #include <$ac_header>
35308 _ACEOF
35309 rm -f conftest.$ac_objext
35310 if { (ac_try="$ac_compile"
35311 case "(($ac_try" in
35312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35313 *) ac_try_echo=$ac_try;;
35314 esac
35315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35316 (eval "$ac_compile") 2>conftest.er1
35317 ac_status=$?
35318 grep -v '^ *+' conftest.er1 >conftest.err
35319 rm -f conftest.er1
35320 cat conftest.err >&5
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); } && {
35323 test -z "$ac_c_werror_flag" ||
35324 test ! -s conftest.err
35325 } && test -s conftest.$ac_objext; then
35326 eval "$as_ac_Header=yes"
35327 else
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.$ac_ext >&5
35330
35331 eval "$as_ac_Header=no"
35332 fi
35333
35334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35335 fi
35336 ac_res=`eval echo '${'$as_ac_Header'}'`
35337 { echo "$as_me:$LINENO: result: $ac_res" >&5
35338 echo "${ECHO_T}$ac_res" >&6; }
35339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35340 cat >>confdefs.h <<_ACEOF
35341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35342 _ACEOF
35343
35344 fi
35345
35346 done
35347
35348 if test "$ac_cv_header_widec_h" = "yes"; then
35349 wchar_headers="$wchar_headers
35350 #include <widec.h>"
35351 fi
35352 esac
35353
35354
35355 for wx_func in putws fputws wprintf vswprintf vswscanf
35356 do
35357 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35358 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35359 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 else
35362
35363 cat >conftest.$ac_ext <<_ACEOF
35364
35365 /* confdefs.h. */
35366 _ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35370
35371 $wchar_headers
35372 $ac_includes_default
35373
35374 int
35375 main ()
35376 {
35377
35378 #ifndef $wx_func
35379 &$wx_func;
35380 #endif
35381
35382
35383 ;
35384 return 0;
35385 }
35386
35387 _ACEOF
35388 rm -f conftest.$ac_objext conftest$ac_exeext
35389 if { (ac_try="$ac_link"
35390 case "(($ac_try" in
35391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35392 *) ac_try_echo=$ac_try;;
35393 esac
35394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35395 (eval "$ac_link") 2>conftest.er1
35396 ac_status=$?
35397 grep -v '^ *+' conftest.er1 >conftest.err
35398 rm -f conftest.er1
35399 cat conftest.err >&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } && {
35402 test -z "$ac_c_werror_flag" ||
35403 test ! -s conftest.err
35404 } && test -s conftest$ac_exeext &&
35405 $as_test_x conftest$ac_exeext; then
35406 eval wx_cv_func_$wx_func=yes
35407 else
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.$ac_ext >&5
35410
35411 eval wx_cv_func_$wx_func=no
35412 fi
35413
35414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35415 conftest$ac_exeext conftest.$ac_ext
35416
35417 fi
35418 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35419 { echo "$as_me:$LINENO: result: $ac_res" >&5
35420 echo "${ECHO_T}$ac_res" >&6; }
35421
35422 if eval test \$wx_cv_func_$wx_func = yes
35423 then
35424 cat >>confdefs.h <<_ACEOF
35425 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35426 _ACEOF
35427
35428
35429 else
35430 :
35431
35432 fi
35433 done
35434
35435
35436 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35437 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35438 cat >conftest.$ac_ext <<_ACEOF
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 #include <wchar.h>
35445 int
35446 main ()
35447 {
35448 &_vsnwprintf;
35449 ;
35450 return 0;
35451 }
35452 _ACEOF
35453 rm -f conftest.$ac_objext
35454 if { (ac_try="$ac_compile"
35455 case "(($ac_try" in
35456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35457 *) ac_try_echo=$ac_try;;
35458 esac
35459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35460 (eval "$ac_compile") 2>conftest.er1
35461 ac_status=$?
35462 grep -v '^ *+' conftest.er1 >conftest.err
35463 rm -f conftest.er1
35464 cat conftest.err >&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } && {
35467 test -z "$ac_c_werror_flag" ||
35468 test ! -s conftest.err
35469 } && test -s conftest.$ac_objext; then
35470 { echo "$as_me:$LINENO: result: yes" >&5
35471 echo "${ECHO_T}yes" >&6; }
35472 cat >>confdefs.h <<\_ACEOF
35473 #define HAVE__VSNWPRINTF 1
35474 _ACEOF
35475
35476 else
35477 echo "$as_me: failed program was:" >&5
35478 sed 's/^/| /' conftest.$ac_ext >&5
35479
35480 { echo "$as_me:$LINENO: result: no" >&5
35481 echo "${ECHO_T}no" >&6; }
35482 fi
35483
35484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35485 fi
35486
35487 if test "$wxUSE_FILE" = "yes"; then
35488
35489 for wx_func in fsync
35490 do
35491 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35492 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35493 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35494 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 else
35496
35497 cat >conftest.$ac_ext <<_ACEOF
35498
35499 /* confdefs.h. */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h. */
35504
35505
35506 $ac_includes_default
35507
35508 int
35509 main ()
35510 {
35511
35512 #ifndef $wx_func
35513 &$wx_func;
35514 #endif
35515
35516
35517 ;
35518 return 0;
35519 }
35520
35521 _ACEOF
35522 rm -f conftest.$ac_objext conftest$ac_exeext
35523 if { (ac_try="$ac_link"
35524 case "(($ac_try" in
35525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35526 *) ac_try_echo=$ac_try;;
35527 esac
35528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35529 (eval "$ac_link") 2>conftest.er1
35530 ac_status=$?
35531 grep -v '^ *+' conftest.er1 >conftest.err
35532 rm -f conftest.er1
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } && {
35536 test -z "$ac_c_werror_flag" ||
35537 test ! -s conftest.err
35538 } && test -s conftest$ac_exeext &&
35539 $as_test_x conftest$ac_exeext; then
35540 eval wx_cv_func_$wx_func=yes
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35544
35545 eval wx_cv_func_$wx_func=no
35546 fi
35547
35548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35549 conftest$ac_exeext conftest.$ac_ext
35550
35551 fi
35552 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35553 { echo "$as_me:$LINENO: result: $ac_res" >&5
35554 echo "${ECHO_T}$ac_res" >&6; }
35555
35556 if eval test \$wx_cv_func_$wx_func = yes
35557 then
35558 cat >>confdefs.h <<_ACEOF
35559 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35560 _ACEOF
35561
35562
35563 else
35564 :
35565
35566 fi
35567 done
35568
35569 fi
35570
35571 ac_ext=cpp
35572 ac_cpp='$CXXCPP $CPPFLAGS'
35573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35576
35577
35578 for wx_func in round
35579 do
35580 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35581 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35582 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585
35586 cat >conftest.$ac_ext <<_ACEOF
35587
35588 /* confdefs.h. */
35589 _ACEOF
35590 cat confdefs.h >>conftest.$ac_ext
35591 cat >>conftest.$ac_ext <<_ACEOF
35592 /* end confdefs.h. */
35593
35594 #include <math.h>
35595 $ac_includes_default
35596
35597 int
35598 main ()
35599 {
35600
35601 #ifndef $wx_func
35602 &$wx_func;
35603 #endif
35604
35605
35606 ;
35607 return 0;
35608 }
35609
35610 _ACEOF
35611 rm -f conftest.$ac_objext conftest$ac_exeext
35612 if { (ac_try="$ac_link"
35613 case "(($ac_try" in
35614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35615 *) ac_try_echo=$ac_try;;
35616 esac
35617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35618 (eval "$ac_link") 2>conftest.er1
35619 ac_status=$?
35620 grep -v '^ *+' conftest.er1 >conftest.err
35621 rm -f conftest.er1
35622 cat conftest.err >&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); } && {
35625 test -z "$ac_cxx_werror_flag" ||
35626 test ! -s conftest.err
35627 } && test -s conftest$ac_exeext &&
35628 $as_test_x conftest$ac_exeext; then
35629 eval wx_cv_func_$wx_func=yes
35630 else
35631 echo "$as_me: failed program was:" >&5
35632 sed 's/^/| /' conftest.$ac_ext >&5
35633
35634 eval wx_cv_func_$wx_func=no
35635 fi
35636
35637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35638 conftest$ac_exeext conftest.$ac_ext
35639
35640 fi
35641 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35642 { echo "$as_me:$LINENO: result: $ac_res" >&5
35643 echo "${ECHO_T}$ac_res" >&6; }
35644
35645 if eval test \$wx_cv_func_$wx_func = yes
35646 then
35647 cat >>confdefs.h <<_ACEOF
35648 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35649 _ACEOF
35650
35651
35652 else
35653 :
35654
35655 fi
35656 done
35657
35658 ac_ext=c
35659 ac_cpp='$CPP $CPPFLAGS'
35660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35663
35664
35665 if test "$TOOLKIT" != "MSW"; then
35666
35667 if test "$wxUSE_LIBICONV" != "no" ; then
35668
35669
35670
35671 # Check whether --with-libiconv-prefix was given.
35672 if test "${with_libiconv_prefix+set}" = set; then
35673 withval=$with_libiconv_prefix;
35674 for dir in `echo "$withval" | tr : ' '`; do
35675 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35676 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35677 done
35678
35679 fi
35680
35681
35682 { echo "$as_me:$LINENO: checking for iconv" >&5
35683 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35684 if test "${am_cv_func_iconv+set}" = set; then
35685 echo $ECHO_N "(cached) $ECHO_C" >&6
35686 else
35687
35688 am_cv_func_iconv="no, consider installing GNU libiconv"
35689 am_cv_lib_iconv=no
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h. */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 #include <stdlib.h>
35697 #include <iconv.h>
35698 int
35699 main ()
35700 {
35701 iconv_t cd = iconv_open("","");
35702 iconv(cd,NULL,NULL,NULL,NULL);
35703 iconv_close(cd);
35704 ;
35705 return 0;
35706 }
35707 _ACEOF
35708 rm -f conftest.$ac_objext conftest$ac_exeext
35709 if { (ac_try="$ac_link"
35710 case "(($ac_try" in
35711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35712 *) ac_try_echo=$ac_try;;
35713 esac
35714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35715 (eval "$ac_link") 2>conftest.er1
35716 ac_status=$?
35717 grep -v '^ *+' conftest.er1 >conftest.err
35718 rm -f conftest.er1
35719 cat conftest.err >&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); } && {
35722 test -z "$ac_c_werror_flag" ||
35723 test ! -s conftest.err
35724 } && test -s conftest$ac_exeext &&
35725 $as_test_x conftest$ac_exeext; then
35726 am_cv_func_iconv=yes
35727 else
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.$ac_ext >&5
35730
35731
35732 fi
35733
35734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35735 conftest$ac_exeext conftest.$ac_ext
35736 if test "$am_cv_func_iconv" != yes; then
35737 am_save_LIBS="$LIBS"
35738 LIBS="$LIBS -liconv"
35739 cat >conftest.$ac_ext <<_ACEOF
35740 /* confdefs.h. */
35741 _ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35745 #include <stdlib.h>
35746 #include <iconv.h>
35747 int
35748 main ()
35749 {
35750 iconv_t cd = iconv_open("","");
35751 iconv(cd,NULL,NULL,NULL,NULL);
35752 iconv_close(cd);
35753 ;
35754 return 0;
35755 }
35756 _ACEOF
35757 rm -f conftest.$ac_objext conftest$ac_exeext
35758 if { (ac_try="$ac_link"
35759 case "(($ac_try" in
35760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35761 *) ac_try_echo=$ac_try;;
35762 esac
35763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35764 (eval "$ac_link") 2>conftest.er1
35765 ac_status=$?
35766 grep -v '^ *+' conftest.er1 >conftest.err
35767 rm -f conftest.er1
35768 cat conftest.err >&5
35769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); } && {
35771 test -z "$ac_c_werror_flag" ||
35772 test ! -s conftest.err
35773 } && test -s conftest$ac_exeext &&
35774 $as_test_x conftest$ac_exeext; then
35775 am_cv_lib_iconv=yes
35776 am_cv_func_iconv=yes
35777 else
35778 echo "$as_me: failed program was:" >&5
35779 sed 's/^/| /' conftest.$ac_ext >&5
35780
35781
35782 fi
35783
35784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35785 conftest$ac_exeext conftest.$ac_ext
35786 LIBS="$am_save_LIBS"
35787 fi
35788
35789 fi
35790 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35791 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35792 if test "$am_cv_func_iconv" = yes; then
35793
35794 cat >>confdefs.h <<\_ACEOF
35795 #define HAVE_ICONV 1
35796 _ACEOF
35797
35798 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35799 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35800 if test "${wx_cv_func_iconv_const+set}" = set; then
35801 echo $ECHO_N "(cached) $ECHO_C" >&6
35802 else
35803 cat >conftest.$ac_ext <<_ACEOF
35804 /* confdefs.h. */
35805 _ACEOF
35806 cat confdefs.h >>conftest.$ac_ext
35807 cat >>conftest.$ac_ext <<_ACEOF
35808 /* end confdefs.h. */
35809
35810 #include <stdlib.h>
35811 #include <iconv.h>
35812 extern
35813 #ifdef __cplusplus
35814 "C"
35815 #endif
35816 #if defined(__STDC__) || defined(__cplusplus)
35817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35818 #else
35819 size_t iconv();
35820 #endif
35821
35822 int
35823 main ()
35824 {
35825
35826 ;
35827 return 0;
35828 }
35829 _ACEOF
35830 rm -f conftest.$ac_objext
35831 if { (ac_try="$ac_compile"
35832 case "(($ac_try" in
35833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35834 *) ac_try_echo=$ac_try;;
35835 esac
35836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35837 (eval "$ac_compile") 2>conftest.er1
35838 ac_status=$?
35839 grep -v '^ *+' conftest.er1 >conftest.err
35840 rm -f conftest.er1
35841 cat conftest.err >&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } && {
35844 test -z "$ac_c_werror_flag" ||
35845 test ! -s conftest.err
35846 } && test -s conftest.$ac_objext; then
35847 wx_cv_func_iconv_const="no"
35848 else
35849 echo "$as_me: failed program was:" >&5
35850 sed 's/^/| /' conftest.$ac_ext >&5
35851
35852 wx_cv_func_iconv_const="yes"
35853
35854 fi
35855
35856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857
35858 fi
35859 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35860 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35861
35862 iconv_const=
35863 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35864 iconv_const="const"
35865 fi
35866
35867
35868 cat >>confdefs.h <<_ACEOF
35869 #define ICONV_CONST $iconv_const
35870 _ACEOF
35871
35872 fi
35873 LIBICONV=
35874 if test "$am_cv_lib_iconv" = yes; then
35875 LIBICONV="-liconv"
35876 fi
35877
35878
35879 LIBS="$LIBICONV $LIBS"
35880 fi
35881
35882 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35883
35884 for ac_func in sigaction
35885 do
35886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35890 echo $ECHO_N "(cached) $ECHO_C" >&6
35891 else
35892 cat >conftest.$ac_ext <<_ACEOF
35893 /* confdefs.h. */
35894 _ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35900 #define $ac_func innocuous_$ac_func
35901
35902 /* System header to define __stub macros and hopefully few prototypes,
35903 which can conflict with char $ac_func (); below.
35904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35905 <limits.h> exists even on freestanding compilers. */
35906
35907 #ifdef __STDC__
35908 # include <limits.h>
35909 #else
35910 # include <assert.h>
35911 #endif
35912
35913 #undef $ac_func
35914
35915 /* Override any GCC internal prototype to avoid an error.
35916 Use char because int might match the return type of a GCC
35917 builtin and then its argument prototype would still apply. */
35918 #ifdef __cplusplus
35919 extern "C"
35920 #endif
35921 char $ac_func ();
35922 /* The GNU C library defines this for functions which it implements
35923 to always fail with ENOSYS. Some functions are actually named
35924 something starting with __ and the normal name is an alias. */
35925 #if defined __stub_$ac_func || defined __stub___$ac_func
35926 choke me
35927 #endif
35928
35929 int
35930 main ()
35931 {
35932 return $ac_func ();
35933 ;
35934 return 0;
35935 }
35936 _ACEOF
35937 rm -f conftest.$ac_objext conftest$ac_exeext
35938 if { (ac_try="$ac_link"
35939 case "(($ac_try" in
35940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35941 *) ac_try_echo=$ac_try;;
35942 esac
35943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35944 (eval "$ac_link") 2>conftest.er1
35945 ac_status=$?
35946 grep -v '^ *+' conftest.er1 >conftest.err
35947 rm -f conftest.er1
35948 cat conftest.err >&5
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); } && {
35951 test -z "$ac_c_werror_flag" ||
35952 test ! -s conftest.err
35953 } && test -s conftest$ac_exeext &&
35954 $as_test_x conftest$ac_exeext; then
35955 eval "$as_ac_var=yes"
35956 else
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.$ac_ext >&5
35959
35960 eval "$as_ac_var=no"
35961 fi
35962
35963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35964 conftest$ac_exeext conftest.$ac_ext
35965 fi
35966 ac_res=`eval echo '${'$as_ac_var'}'`
35967 { echo "$as_me:$LINENO: result: $ac_res" >&5
35968 echo "${ECHO_T}$ac_res" >&6; }
35969 if test `eval echo '${'$as_ac_var'}'` = yes; then
35970 cat >>confdefs.h <<_ACEOF
35971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35972 _ACEOF
35973
35974 fi
35975 done
35976
35977
35978 if test "$ac_cv_func_sigaction" = "no"; then
35979 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35980 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35981 wxUSE_ON_FATAL_EXCEPTION=no
35982 fi
35983
35984 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35985 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35986 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35987 if test "${wx_cv_type_sa_handler+set}" = set; then
35988 echo $ECHO_N "(cached) $ECHO_C" >&6
35989 else
35990
35991 ac_ext=cpp
35992 ac_cpp='$CXXCPP $CPPFLAGS'
35993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996
35997 cat >conftest.$ac_ext <<_ACEOF
35998 /* confdefs.h. */
35999 _ACEOF
36000 cat confdefs.h >>conftest.$ac_ext
36001 cat >>conftest.$ac_ext <<_ACEOF
36002 /* end confdefs.h. */
36003 #include <signal.h>
36004 int
36005 main ()
36006 {
36007
36008 extern void testSigHandler(int);
36009
36010 struct sigaction sa;
36011 sa.sa_handler = testSigHandler;
36012
36013 ;
36014 return 0;
36015 }
36016 _ACEOF
36017 rm -f conftest.$ac_objext
36018 if { (ac_try="$ac_compile"
36019 case "(($ac_try" in
36020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36021 *) ac_try_echo=$ac_try;;
36022 esac
36023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36024 (eval "$ac_compile") 2>conftest.er1
36025 ac_status=$?
36026 grep -v '^ *+' conftest.er1 >conftest.err
36027 rm -f conftest.er1
36028 cat conftest.err >&5
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); } && {
36031 test -z "$ac_cxx_werror_flag" ||
36032 test ! -s conftest.err
36033 } && test -s conftest.$ac_objext; then
36034
36035 wx_cv_type_sa_handler=int
36036
36037 else
36038 echo "$as_me: failed program was:" >&5
36039 sed 's/^/| /' conftest.$ac_ext >&5
36040
36041
36042 wx_cv_type_sa_handler=void
36043
36044 fi
36045
36046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36047 ac_ext=c
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36052
36053
36054 fi
36055 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36056 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36057
36058 cat >>confdefs.h <<_ACEOF
36059 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36060 _ACEOF
36061
36062 fi
36063 fi
36064
36065 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36066 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36067 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36068 if test "${wx_cv_func_backtrace+set}" = set; then
36069 echo $ECHO_N "(cached) $ECHO_C" >&6
36070 else
36071
36072 ac_ext=cpp
36073 ac_cpp='$CXXCPP $CPPFLAGS'
36074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36077
36078 cat >conftest.$ac_ext <<_ACEOF
36079 /* confdefs.h. */
36080 _ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 #include <execinfo.h>
36085 int
36086 main ()
36087 {
36088
36089 void *trace[1];
36090 char **messages;
36091
36092 backtrace(trace, 1);
36093 messages = backtrace_symbols(trace, 1);
36094
36095 ;
36096 return 0;
36097 }
36098 _ACEOF
36099 rm -f conftest.$ac_objext
36100 if { (ac_try="$ac_compile"
36101 case "(($ac_try" in
36102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36103 *) ac_try_echo=$ac_try;;
36104 esac
36105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36106 (eval "$ac_compile") 2>conftest.er1
36107 ac_status=$?
36108 grep -v '^ *+' conftest.er1 >conftest.err
36109 rm -f conftest.er1
36110 cat conftest.err >&5
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); } && {
36113 test -z "$ac_cxx_werror_flag" ||
36114 test ! -s conftest.err
36115 } && test -s conftest.$ac_objext; then
36116 wx_cv_func_backtrace=yes
36117 else
36118 echo "$as_me: failed program was:" >&5
36119 sed 's/^/| /' conftest.$ac_ext >&5
36120
36121 wx_cv_func_backtrace=no
36122
36123 fi
36124
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126 ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131
36132
36133
36134 fi
36135 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36136 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36137
36138
36139 if test "$wx_cv_func_backtrace" = "no"; then
36140 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36141 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36142 wxUSE_STACKWALKER=no
36143 else
36144 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36145 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36146 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36147 echo $ECHO_N "(cached) $ECHO_C" >&6
36148 else
36149
36150 ac_ext=cpp
36151 ac_cpp='$CXXCPP $CPPFLAGS'
36152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155
36156 cat >conftest.$ac_ext <<_ACEOF
36157 /* confdefs.h. */
36158 _ACEOF
36159 cat confdefs.h >>conftest.$ac_ext
36160 cat >>conftest.$ac_ext <<_ACEOF
36161 /* end confdefs.h. */
36162 #include <cxxabi.h>
36163 int
36164 main ()
36165 {
36166
36167 int rc;
36168 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36169
36170 ;
36171 return 0;
36172 }
36173 _ACEOF
36174 rm -f conftest.$ac_objext conftest$ac_exeext
36175 if { (ac_try="$ac_link"
36176 case "(($ac_try" in
36177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36178 *) ac_try_echo=$ac_try;;
36179 esac
36180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36181 (eval "$ac_link") 2>conftest.er1
36182 ac_status=$?
36183 grep -v '^ *+' conftest.er1 >conftest.err
36184 rm -f conftest.er1
36185 cat conftest.err >&5
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); } && {
36188 test -z "$ac_cxx_werror_flag" ||
36189 test ! -s conftest.err
36190 } && test -s conftest$ac_exeext &&
36191 $as_test_x conftest$ac_exeext; then
36192 wx_cv_func_cxa_demangle=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36196
36197 wx_cv_func_cxa_demangle=no
36198
36199 fi
36200
36201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36202 conftest$ac_exeext conftest.$ac_ext
36203 ac_ext=c
36204 ac_cpp='$CPP $CPPFLAGS'
36205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36208
36209
36210
36211 fi
36212 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36213 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36214
36215 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36216 cat >>confdefs.h <<\_ACEOF
36217 #define HAVE_CXA_DEMANGLE 1
36218 _ACEOF
36219
36220 fi
36221 fi
36222 fi
36223
36224 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36225 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36226 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36227 wxUSE_STACKWALKER=no
36228 fi
36229
36230
36231
36232
36233 for ac_func in mkstemp mktemp
36234 do
36235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36236 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36238 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36239 echo $ECHO_N "(cached) $ECHO_C" >&6
36240 else
36241 cat >conftest.$ac_ext <<_ACEOF
36242 /* confdefs.h. */
36243 _ACEOF
36244 cat confdefs.h >>conftest.$ac_ext
36245 cat >>conftest.$ac_ext <<_ACEOF
36246 /* end confdefs.h. */
36247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36249 #define $ac_func innocuous_$ac_func
36250
36251 /* System header to define __stub macros and hopefully few prototypes,
36252 which can conflict with char $ac_func (); below.
36253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36254 <limits.h> exists even on freestanding compilers. */
36255
36256 #ifdef __STDC__
36257 # include <limits.h>
36258 #else
36259 # include <assert.h>
36260 #endif
36261
36262 #undef $ac_func
36263
36264 /* Override any GCC internal prototype to avoid an error.
36265 Use char because int might match the return type of a GCC
36266 builtin and then its argument prototype would still apply. */
36267 #ifdef __cplusplus
36268 extern "C"
36269 #endif
36270 char $ac_func ();
36271 /* The GNU C library defines this for functions which it implements
36272 to always fail with ENOSYS. Some functions are actually named
36273 something starting with __ and the normal name is an alias. */
36274 #if defined __stub_$ac_func || defined __stub___$ac_func
36275 choke me
36276 #endif
36277
36278 int
36279 main ()
36280 {
36281 return $ac_func ();
36282 ;
36283 return 0;
36284 }
36285 _ACEOF
36286 rm -f conftest.$ac_objext conftest$ac_exeext
36287 if { (ac_try="$ac_link"
36288 case "(($ac_try" in
36289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36290 *) ac_try_echo=$ac_try;;
36291 esac
36292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36293 (eval "$ac_link") 2>conftest.er1
36294 ac_status=$?
36295 grep -v '^ *+' conftest.er1 >conftest.err
36296 rm -f conftest.er1
36297 cat conftest.err >&5
36298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36299 (exit $ac_status); } && {
36300 test -z "$ac_c_werror_flag" ||
36301 test ! -s conftest.err
36302 } && test -s conftest$ac_exeext &&
36303 $as_test_x conftest$ac_exeext; then
36304 eval "$as_ac_var=yes"
36305 else
36306 echo "$as_me: failed program was:" >&5
36307 sed 's/^/| /' conftest.$ac_ext >&5
36308
36309 eval "$as_ac_var=no"
36310 fi
36311
36312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36313 conftest$ac_exeext conftest.$ac_ext
36314 fi
36315 ac_res=`eval echo '${'$as_ac_var'}'`
36316 { echo "$as_me:$LINENO: result: $ac_res" >&5
36317 echo "${ECHO_T}$ac_res" >&6; }
36318 if test `eval echo '${'$as_ac_var'}'` = yes; then
36319 cat >>confdefs.h <<_ACEOF
36320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36321 _ACEOF
36322 break
36323 fi
36324 done
36325
36326
36327 { echo "$as_me:$LINENO: checking for statfs" >&5
36328 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36329 if test "${wx_cv_func_statfs+set}" = set; then
36330 echo $ECHO_N "(cached) $ECHO_C" >&6
36331 else
36332 cat >conftest.$ac_ext <<_ACEOF
36333 /* confdefs.h. */
36334 _ACEOF
36335 cat confdefs.h >>conftest.$ac_ext
36336 cat >>conftest.$ac_ext <<_ACEOF
36337 /* end confdefs.h. */
36338
36339 #if defined(__BSD__)
36340 #include <sys/param.h>
36341 #include <sys/mount.h>
36342 #else
36343 #include <sys/vfs.h>
36344 #endif
36345
36346 int
36347 main ()
36348 {
36349
36350 long l;
36351 struct statfs fs;
36352 statfs("/", &fs);
36353 l = fs.f_bsize;
36354 l += fs.f_blocks;
36355 l += fs.f_bavail;
36356
36357 ;
36358 return 0;
36359 }
36360 _ACEOF
36361 rm -f conftest.$ac_objext
36362 if { (ac_try="$ac_compile"
36363 case "(($ac_try" in
36364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36365 *) ac_try_echo=$ac_try;;
36366 esac
36367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36368 (eval "$ac_compile") 2>conftest.er1
36369 ac_status=$?
36370 grep -v '^ *+' conftest.er1 >conftest.err
36371 rm -f conftest.er1
36372 cat conftest.err >&5
36373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374 (exit $ac_status); } && {
36375 test -z "$ac_c_werror_flag" ||
36376 test ! -s conftest.err
36377 } && test -s conftest.$ac_objext; then
36378 wx_cv_func_statfs=yes
36379 else
36380 echo "$as_me: failed program was:" >&5
36381 sed 's/^/| /' conftest.$ac_ext >&5
36382
36383 wx_cv_func_statfs=no
36384
36385 fi
36386
36387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36388
36389 fi
36390 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36391 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36392
36393 if test "$wx_cv_func_statfs" = "yes"; then
36394 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36395 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36396 if test "${wx_cv_func_statfs_decl+set}" = set; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 else
36399 ac_ext=cpp
36400 ac_cpp='$CXXCPP $CPPFLAGS'
36401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36404
36405 cat >conftest.$ac_ext <<_ACEOF
36406 /* confdefs.h. */
36407 _ACEOF
36408 cat confdefs.h >>conftest.$ac_ext
36409 cat >>conftest.$ac_ext <<_ACEOF
36410 /* end confdefs.h. */
36411
36412 #if defined(__BSD__)
36413 #include <sys/param.h>
36414 #include <sys/mount.h>
36415 #else
36416 #include <sys/vfs.h>
36417 #endif
36418
36419 int
36420 main ()
36421 {
36422
36423 struct statfs fs;
36424 statfs("", &fs);
36425
36426 ;
36427 return 0;
36428 }
36429 _ACEOF
36430 rm -f conftest.$ac_objext
36431 if { (ac_try="$ac_compile"
36432 case "(($ac_try" in
36433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36434 *) ac_try_echo=$ac_try;;
36435 esac
36436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36437 (eval "$ac_compile") 2>conftest.er1
36438 ac_status=$?
36439 grep -v '^ *+' conftest.er1 >conftest.err
36440 rm -f conftest.er1
36441 cat conftest.err >&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } && {
36444 test -z "$ac_cxx_werror_flag" ||
36445 test ! -s conftest.err
36446 } && test -s conftest.$ac_objext; then
36447 wx_cv_func_statfs_decl=yes
36448 else
36449 echo "$as_me: failed program was:" >&5
36450 sed 's/^/| /' conftest.$ac_ext >&5
36451
36452 wx_cv_func_statfs_decl=no
36453
36454 fi
36455
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457 ac_ext=c
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462
36463
36464 fi
36465 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36466 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36467
36468 if test "$wx_cv_func_statfs_decl" = "yes"; then
36469 cat >>confdefs.h <<\_ACEOF
36470 #define HAVE_STATFS_DECL 1
36471 _ACEOF
36472
36473 fi
36474
36475 wx_cv_type_statvfs_t="struct statfs"
36476 cat >>confdefs.h <<\_ACEOF
36477 #define HAVE_STATFS 1
36478 _ACEOF
36479
36480 else
36481 { echo "$as_me:$LINENO: checking for statvfs" >&5
36482 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36483 if test "${wx_cv_func_statvfs+set}" = set; then
36484 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 else
36486 cat >conftest.$ac_ext <<_ACEOF
36487 /* confdefs.h. */
36488 _ACEOF
36489 cat confdefs.h >>conftest.$ac_ext
36490 cat >>conftest.$ac_ext <<_ACEOF
36491 /* end confdefs.h. */
36492
36493 #include <stddef.h>
36494 #include <sys/statvfs.h>
36495
36496 int
36497 main ()
36498 {
36499
36500 statvfs("/", NULL);
36501
36502 ;
36503 return 0;
36504 }
36505 _ACEOF
36506 rm -f conftest.$ac_objext
36507 if { (ac_try="$ac_compile"
36508 case "(($ac_try" in
36509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36510 *) ac_try_echo=$ac_try;;
36511 esac
36512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36513 (eval "$ac_compile") 2>conftest.er1
36514 ac_status=$?
36515 grep -v '^ *+' conftest.er1 >conftest.err
36516 rm -f conftest.er1
36517 cat conftest.err >&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } && {
36520 test -z "$ac_c_werror_flag" ||
36521 test ! -s conftest.err
36522 } && test -s conftest.$ac_objext; then
36523 wx_cv_func_statvfs=yes
36524 else
36525 echo "$as_me: failed program was:" >&5
36526 sed 's/^/| /' conftest.$ac_ext >&5
36527
36528 wx_cv_func_statvfs=no
36529
36530 fi
36531
36532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36533
36534 fi
36535 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36536 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36537
36538 if test "$wx_cv_func_statvfs" = "yes"; then
36539 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36540 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36541 if test "${wx_cv_type_statvfs_t+set}" = set; then
36542 echo $ECHO_N "(cached) $ECHO_C" >&6
36543 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549
36550 cat >conftest.$ac_ext <<_ACEOF
36551 /* confdefs.h. */
36552 _ACEOF
36553 cat confdefs.h >>conftest.$ac_ext
36554 cat >>conftest.$ac_ext <<_ACEOF
36555 /* end confdefs.h. */
36556
36557 #include <sys/statvfs.h>
36558
36559 int
36560 main ()
36561 {
36562
36563 long l;
36564 statvfs_t fs;
36565 statvfs("/", &fs);
36566 l = fs.f_bsize;
36567 l += fs.f_blocks;
36568 l += fs.f_bavail;
36569
36570 ;
36571 return 0;
36572 }
36573 _ACEOF
36574 rm -f conftest.$ac_objext
36575 if { (ac_try="$ac_compile"
36576 case "(($ac_try" in
36577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36578 *) ac_try_echo=$ac_try;;
36579 esac
36580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36581 (eval "$ac_compile") 2>conftest.er1
36582 ac_status=$?
36583 grep -v '^ *+' conftest.er1 >conftest.err
36584 rm -f conftest.er1
36585 cat conftest.err >&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } && {
36588 test -z "$ac_cxx_werror_flag" ||
36589 test ! -s conftest.err
36590 } && test -s conftest.$ac_objext; then
36591 wx_cv_type_statvfs_t=statvfs_t
36592 else
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36595
36596
36597 cat >conftest.$ac_ext <<_ACEOF
36598 /* confdefs.h. */
36599 _ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603
36604 #include <sys/statvfs.h>
36605
36606 int
36607 main ()
36608 {
36609
36610 long l;
36611 struct statvfs fs;
36612 statvfs("/", &fs);
36613 l = fs.f_bsize;
36614 l += fs.f_blocks;
36615 l += fs.f_bavail;
36616
36617 ;
36618 return 0;
36619 }
36620 _ACEOF
36621 rm -f conftest.$ac_objext
36622 if { (ac_try="$ac_compile"
36623 case "(($ac_try" in
36624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36625 *) ac_try_echo=$ac_try;;
36626 esac
36627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36628 (eval "$ac_compile") 2>conftest.er1
36629 ac_status=$?
36630 grep -v '^ *+' conftest.er1 >conftest.err
36631 rm -f conftest.er1
36632 cat conftest.err >&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } && {
36635 test -z "$ac_cxx_werror_flag" ||
36636 test ! -s conftest.err
36637 } && test -s conftest.$ac_objext; then
36638 wx_cv_type_statvfs_t="struct statvfs"
36639 else
36640 echo "$as_me: failed program was:" >&5
36641 sed 's/^/| /' conftest.$ac_ext >&5
36642
36643 wx_cv_type_statvfs_t="unknown"
36644
36645 fi
36646
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648
36649
36650 fi
36651
36652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36653 ac_ext=c
36654 ac_cpp='$CPP $CPPFLAGS'
36655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36658
36659
36660 fi
36661 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36662 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36663
36664 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36665 cat >>confdefs.h <<\_ACEOF
36666 #define HAVE_STATVFS 1
36667 _ACEOF
36668
36669 fi
36670 else
36671 wx_cv_type_statvfs_t="unknown"
36672 fi
36673 fi
36674
36675 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36676 cat >>confdefs.h <<_ACEOF
36677 #define WX_STATFS_T $wx_cv_type_statvfs_t
36678 _ACEOF
36679
36680 else
36681 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36682 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36683 fi
36684
36685 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36686
36687
36688 for ac_func in fcntl flock
36689 do
36690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 else
36696 cat >conftest.$ac_ext <<_ACEOF
36697 /* confdefs.h. */
36698 _ACEOF
36699 cat confdefs.h >>conftest.$ac_ext
36700 cat >>conftest.$ac_ext <<_ACEOF
36701 /* end confdefs.h. */
36702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36704 #define $ac_func innocuous_$ac_func
36705
36706 /* System header to define __stub macros and hopefully few prototypes,
36707 which can conflict with char $ac_func (); below.
36708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36709 <limits.h> exists even on freestanding compilers. */
36710
36711 #ifdef __STDC__
36712 # include <limits.h>
36713 #else
36714 # include <assert.h>
36715 #endif
36716
36717 #undef $ac_func
36718
36719 /* Override any GCC internal prototype to avoid an error.
36720 Use char because int might match the return type of a GCC
36721 builtin and then its argument prototype would still apply. */
36722 #ifdef __cplusplus
36723 extern "C"
36724 #endif
36725 char $ac_func ();
36726 /* The GNU C library defines this for functions which it implements
36727 to always fail with ENOSYS. Some functions are actually named
36728 something starting with __ and the normal name is an alias. */
36729 #if defined __stub_$ac_func || defined __stub___$ac_func
36730 choke me
36731 #endif
36732
36733 int
36734 main ()
36735 {
36736 return $ac_func ();
36737 ;
36738 return 0;
36739 }
36740 _ACEOF
36741 rm -f conftest.$ac_objext conftest$ac_exeext
36742 if { (ac_try="$ac_link"
36743 case "(($ac_try" in
36744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36745 *) ac_try_echo=$ac_try;;
36746 esac
36747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36748 (eval "$ac_link") 2>conftest.er1
36749 ac_status=$?
36750 grep -v '^ *+' conftest.er1 >conftest.err
36751 rm -f conftest.er1
36752 cat conftest.err >&5
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); } && {
36755 test -z "$ac_c_werror_flag" ||
36756 test ! -s conftest.err
36757 } && test -s conftest$ac_exeext &&
36758 $as_test_x conftest$ac_exeext; then
36759 eval "$as_ac_var=yes"
36760 else
36761 echo "$as_me: failed program was:" >&5
36762 sed 's/^/| /' conftest.$ac_ext >&5
36763
36764 eval "$as_ac_var=no"
36765 fi
36766
36767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36768 conftest$ac_exeext conftest.$ac_ext
36769 fi
36770 ac_res=`eval echo '${'$as_ac_var'}'`
36771 { echo "$as_me:$LINENO: result: $ac_res" >&5
36772 echo "${ECHO_T}$ac_res" >&6; }
36773 if test `eval echo '${'$as_ac_var'}'` = yes; then
36774 cat >>confdefs.h <<_ACEOF
36775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36776 _ACEOF
36777 break
36778 fi
36779 done
36780
36781
36782 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36783 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36784 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36785 wxUSE_SNGLINST_CHECKER=no
36786 fi
36787 fi
36788
36789
36790
36791 for ac_func in setenv putenv
36792 do
36793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36797 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 else
36799 cat >conftest.$ac_ext <<_ACEOF
36800 /* confdefs.h. */
36801 _ACEOF
36802 cat confdefs.h >>conftest.$ac_ext
36803 cat >>conftest.$ac_ext <<_ACEOF
36804 /* end confdefs.h. */
36805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36807 #define $ac_func innocuous_$ac_func
36808
36809 /* System header to define __stub macros and hopefully few prototypes,
36810 which can conflict with char $ac_func (); below.
36811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36812 <limits.h> exists even on freestanding compilers. */
36813
36814 #ifdef __STDC__
36815 # include <limits.h>
36816 #else
36817 # include <assert.h>
36818 #endif
36819
36820 #undef $ac_func
36821
36822 /* Override any GCC internal prototype to avoid an error.
36823 Use char because int might match the return type of a GCC
36824 builtin and then its argument prototype would still apply. */
36825 #ifdef __cplusplus
36826 extern "C"
36827 #endif
36828 char $ac_func ();
36829 /* The GNU C library defines this for functions which it implements
36830 to always fail with ENOSYS. Some functions are actually named
36831 something starting with __ and the normal name is an alias. */
36832 #if defined __stub_$ac_func || defined __stub___$ac_func
36833 choke me
36834 #endif
36835
36836 int
36837 main ()
36838 {
36839 return $ac_func ();
36840 ;
36841 return 0;
36842 }
36843 _ACEOF
36844 rm -f conftest.$ac_objext conftest$ac_exeext
36845 if { (ac_try="$ac_link"
36846 case "(($ac_try" in
36847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36848 *) ac_try_echo=$ac_try;;
36849 esac
36850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36851 (eval "$ac_link") 2>conftest.er1
36852 ac_status=$?
36853 grep -v '^ *+' conftest.er1 >conftest.err
36854 rm -f conftest.er1
36855 cat conftest.err >&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); } && {
36858 test -z "$ac_c_werror_flag" ||
36859 test ! -s conftest.err
36860 } && test -s conftest$ac_exeext &&
36861 $as_test_x conftest$ac_exeext; then
36862 eval "$as_ac_var=yes"
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 eval "$as_ac_var=no"
36868 fi
36869
36870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36871 conftest$ac_exeext conftest.$ac_ext
36872 fi
36873 ac_res=`eval echo '${'$as_ac_var'}'`
36874 { echo "$as_me:$LINENO: result: $ac_res" >&5
36875 echo "${ECHO_T}$ac_res" >&6; }
36876 if test `eval echo '${'$as_ac_var'}'` = yes; then
36877 cat >>confdefs.h <<_ACEOF
36878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 _ACEOF
36880 break
36881 fi
36882 done
36883
36884 if test "$ac_cv_func_setenv" = "yes"; then
36885
36886 for ac_func in unsetenv
36887 do
36888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36889 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36891 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36892 echo $ECHO_N "(cached) $ECHO_C" >&6
36893 else
36894 cat >conftest.$ac_ext <<_ACEOF
36895 /* confdefs.h. */
36896 _ACEOF
36897 cat confdefs.h >>conftest.$ac_ext
36898 cat >>conftest.$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36902 #define $ac_func innocuous_$ac_func
36903
36904 /* System header to define __stub macros and hopefully few prototypes,
36905 which can conflict with char $ac_func (); below.
36906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36907 <limits.h> exists even on freestanding compilers. */
36908
36909 #ifdef __STDC__
36910 # include <limits.h>
36911 #else
36912 # include <assert.h>
36913 #endif
36914
36915 #undef $ac_func
36916
36917 /* Override any GCC internal prototype to avoid an error.
36918 Use char because int might match the return type of a GCC
36919 builtin and then its argument prototype would still apply. */
36920 #ifdef __cplusplus
36921 extern "C"
36922 #endif
36923 char $ac_func ();
36924 /* The GNU C library defines this for functions which it implements
36925 to always fail with ENOSYS. Some functions are actually named
36926 something starting with __ and the normal name is an alias. */
36927 #if defined __stub_$ac_func || defined __stub___$ac_func
36928 choke me
36929 #endif
36930
36931 int
36932 main ()
36933 {
36934 return $ac_func ();
36935 ;
36936 return 0;
36937 }
36938 _ACEOF
36939 rm -f conftest.$ac_objext conftest$ac_exeext
36940 if { (ac_try="$ac_link"
36941 case "(($ac_try" in
36942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36943 *) ac_try_echo=$ac_try;;
36944 esac
36945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36946 (eval "$ac_link") 2>conftest.er1
36947 ac_status=$?
36948 grep -v '^ *+' conftest.er1 >conftest.err
36949 rm -f conftest.er1
36950 cat conftest.err >&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); } && {
36953 test -z "$ac_c_werror_flag" ||
36954 test ! -s conftest.err
36955 } && test -s conftest$ac_exeext &&
36956 $as_test_x conftest$ac_exeext; then
36957 eval "$as_ac_var=yes"
36958 else
36959 echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.$ac_ext >&5
36961
36962 eval "$as_ac_var=no"
36963 fi
36964
36965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36966 conftest$ac_exeext conftest.$ac_ext
36967 fi
36968 ac_res=`eval echo '${'$as_ac_var'}'`
36969 { echo "$as_me:$LINENO: result: $ac_res" >&5
36970 echo "${ECHO_T}$ac_res" >&6; }
36971 if test `eval echo '${'$as_ac_var'}'` = yes; then
36972 cat >>confdefs.h <<_ACEOF
36973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36974 _ACEOF
36975
36976 fi
36977 done
36978
36979 fi
36980
36981 HAVE_SOME_SLEEP_FUNC=0
36982 if test "$USE_BEOS" = 1; then
36983 cat >>confdefs.h <<\_ACEOF
36984 #define HAVE_SLEEP 1
36985 _ACEOF
36986
36987 HAVE_SOME_SLEEP_FUNC=1
36988 fi
36989
36990 if test "$USE_DARWIN" = 1; then
36991 cat >>confdefs.h <<\_ACEOF
36992 #define HAVE_USLEEP 1
36993 _ACEOF
36994
36995 HAVE_SOME_SLEEP_FUNC=1
36996 fi
36997
36998 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36999 POSIX4_LINK=
37000
37001 for ac_func in nanosleep
37002 do
37003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37004 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37006 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37007 echo $ECHO_N "(cached) $ECHO_C" >&6
37008 else
37009 cat >conftest.$ac_ext <<_ACEOF
37010 /* confdefs.h. */
37011 _ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37017 #define $ac_func innocuous_$ac_func
37018
37019 /* System header to define __stub macros and hopefully few prototypes,
37020 which can conflict with char $ac_func (); below.
37021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37022 <limits.h> exists even on freestanding compilers. */
37023
37024 #ifdef __STDC__
37025 # include <limits.h>
37026 #else
37027 # include <assert.h>
37028 #endif
37029
37030 #undef $ac_func
37031
37032 /* Override any GCC internal prototype to avoid an error.
37033 Use char because int might match the return type of a GCC
37034 builtin and then its argument prototype would still apply. */
37035 #ifdef __cplusplus
37036 extern "C"
37037 #endif
37038 char $ac_func ();
37039 /* The GNU C library defines this for functions which it implements
37040 to always fail with ENOSYS. Some functions are actually named
37041 something starting with __ and the normal name is an alias. */
37042 #if defined __stub_$ac_func || defined __stub___$ac_func
37043 choke me
37044 #endif
37045
37046 int
37047 main ()
37048 {
37049 return $ac_func ();
37050 ;
37051 return 0;
37052 }
37053 _ACEOF
37054 rm -f conftest.$ac_objext conftest$ac_exeext
37055 if { (ac_try="$ac_link"
37056 case "(($ac_try" in
37057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37058 *) ac_try_echo=$ac_try;;
37059 esac
37060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37061 (eval "$ac_link") 2>conftest.er1
37062 ac_status=$?
37063 grep -v '^ *+' conftest.er1 >conftest.err
37064 rm -f conftest.er1
37065 cat conftest.err >&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); } && {
37068 test -z "$ac_c_werror_flag" ||
37069 test ! -s conftest.err
37070 } && test -s conftest$ac_exeext &&
37071 $as_test_x conftest$ac_exeext; then
37072 eval "$as_ac_var=yes"
37073 else
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37076
37077 eval "$as_ac_var=no"
37078 fi
37079
37080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37081 conftest$ac_exeext conftest.$ac_ext
37082 fi
37083 ac_res=`eval echo '${'$as_ac_var'}'`
37084 { echo "$as_me:$LINENO: result: $ac_res" >&5
37085 echo "${ECHO_T}$ac_res" >&6; }
37086 if test `eval echo '${'$as_ac_var'}'` = yes; then
37087 cat >>confdefs.h <<_ACEOF
37088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37089 _ACEOF
37090 cat >>confdefs.h <<\_ACEOF
37091 #define HAVE_NANOSLEEP 1
37092 _ACEOF
37093
37094 else
37095
37096 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37097 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37098 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 else
37101 ac_check_lib_save_LIBS=$LIBS
37102 LIBS="-lposix4 $LIBS"
37103 cat >conftest.$ac_ext <<_ACEOF
37104 /* confdefs.h. */
37105 _ACEOF
37106 cat confdefs.h >>conftest.$ac_ext
37107 cat >>conftest.$ac_ext <<_ACEOF
37108 /* end confdefs.h. */
37109
37110 /* Override any GCC internal prototype to avoid an error.
37111 Use char because int might match the return type of a GCC
37112 builtin and then its argument prototype would still apply. */
37113 #ifdef __cplusplus
37114 extern "C"
37115 #endif
37116 char nanosleep ();
37117 int
37118 main ()
37119 {
37120 return nanosleep ();
37121 ;
37122 return 0;
37123 }
37124 _ACEOF
37125 rm -f conftest.$ac_objext conftest$ac_exeext
37126 if { (ac_try="$ac_link"
37127 case "(($ac_try" in
37128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37129 *) ac_try_echo=$ac_try;;
37130 esac
37131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37132 (eval "$ac_link") 2>conftest.er1
37133 ac_status=$?
37134 grep -v '^ *+' conftest.er1 >conftest.err
37135 rm -f conftest.er1
37136 cat conftest.err >&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); } && {
37139 test -z "$ac_c_werror_flag" ||
37140 test ! -s conftest.err
37141 } && test -s conftest$ac_exeext &&
37142 $as_test_x conftest$ac_exeext; then
37143 ac_cv_lib_posix4_nanosleep=yes
37144 else
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.$ac_ext >&5
37147
37148 ac_cv_lib_posix4_nanosleep=no
37149 fi
37150
37151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37152 conftest$ac_exeext conftest.$ac_ext
37153 LIBS=$ac_check_lib_save_LIBS
37154 fi
37155 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37156 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37157 if test $ac_cv_lib_posix4_nanosleep = yes; then
37158
37159 cat >>confdefs.h <<\_ACEOF
37160 #define HAVE_NANOSLEEP 1
37161 _ACEOF
37162
37163 POSIX4_LINK=" -lposix4"
37164
37165 else
37166
37167
37168 for wx_func in usleep
37169 do
37170 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37171 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37172 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37173 echo $ECHO_N "(cached) $ECHO_C" >&6
37174 else
37175
37176 cat >conftest.$ac_ext <<_ACEOF
37177
37178 /* confdefs.h. */
37179 _ACEOF
37180 cat confdefs.h >>conftest.$ac_ext
37181 cat >>conftest.$ac_ext <<_ACEOF
37182 /* end confdefs.h. */
37183
37184
37185 $ac_includes_default
37186
37187 int
37188 main ()
37189 {
37190
37191 #ifndef $wx_func
37192 &$wx_func;
37193 #endif
37194
37195
37196 ;
37197 return 0;
37198 }
37199
37200 _ACEOF
37201 rm -f conftest.$ac_objext conftest$ac_exeext
37202 if { (ac_try="$ac_link"
37203 case "(($ac_try" in
37204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37205 *) ac_try_echo=$ac_try;;
37206 esac
37207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37208 (eval "$ac_link") 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } && {
37215 test -z "$ac_c_werror_flag" ||
37216 test ! -s conftest.err
37217 } && test -s conftest$ac_exeext &&
37218 $as_test_x conftest$ac_exeext; then
37219 eval wx_cv_func_$wx_func=yes
37220 else
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.$ac_ext >&5
37223
37224 eval wx_cv_func_$wx_func=no
37225 fi
37226
37227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37228 conftest$ac_exeext conftest.$ac_ext
37229
37230 fi
37231 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37232 { echo "$as_me:$LINENO: result: $ac_res" >&5
37233 echo "${ECHO_T}$ac_res" >&6; }
37234
37235 if eval test \$wx_cv_func_$wx_func = yes
37236 then
37237 cat >>confdefs.h <<_ACEOF
37238 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37239 _ACEOF
37240
37241
37242 else
37243 :
37244 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37245 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37246
37247 fi
37248 done
37249
37250
37251
37252 fi
37253
37254
37255
37256 fi
37257 done
37258
37259 fi
37260
37261
37262 for wx_func in uname
37263 do
37264 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37265 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37266 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37267 echo $ECHO_N "(cached) $ECHO_C" >&6
37268 else
37269
37270 cat >conftest.$ac_ext <<_ACEOF
37271
37272 /* confdefs.h. */
37273 _ACEOF
37274 cat confdefs.h >>conftest.$ac_ext
37275 cat >>conftest.$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37277
37278 #include <sys/utsname.h>
37279 $ac_includes_default
37280
37281 int
37282 main ()
37283 {
37284
37285 #ifndef $wx_func
37286 &$wx_func;
37287 #endif
37288
37289
37290 ;
37291 return 0;
37292 }
37293
37294 _ACEOF
37295 rm -f conftest.$ac_objext conftest$ac_exeext
37296 if { (ac_try="$ac_link"
37297 case "(($ac_try" in
37298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37299 *) ac_try_echo=$ac_try;;
37300 esac
37301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37302 (eval "$ac_link") 2>conftest.er1
37303 ac_status=$?
37304 grep -v '^ *+' conftest.er1 >conftest.err
37305 rm -f conftest.er1
37306 cat conftest.err >&5
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); } && {
37309 test -z "$ac_c_werror_flag" ||
37310 test ! -s conftest.err
37311 } && test -s conftest$ac_exeext &&
37312 $as_test_x conftest$ac_exeext; then
37313 eval wx_cv_func_$wx_func=yes
37314 else
37315 echo "$as_me: failed program was:" >&5
37316 sed 's/^/| /' conftest.$ac_ext >&5
37317
37318 eval wx_cv_func_$wx_func=no
37319 fi
37320
37321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37322 conftest$ac_exeext conftest.$ac_ext
37323
37324 fi
37325 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37326 { echo "$as_me:$LINENO: result: $ac_res" >&5
37327 echo "${ECHO_T}$ac_res" >&6; }
37328
37329 if eval test \$wx_cv_func_$wx_func = yes
37330 then
37331 cat >>confdefs.h <<_ACEOF
37332 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37333 _ACEOF
37334
37335
37336 else
37337 :
37338
37339 fi
37340 done
37341
37342 if test "$wx_cv_func_uname" != yes; then
37343
37344 for wx_func in gethostname
37345 do
37346 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37347 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37348 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37349 echo $ECHO_N "(cached) $ECHO_C" >&6
37350 else
37351
37352 cat >conftest.$ac_ext <<_ACEOF
37353
37354 /* confdefs.h. */
37355 _ACEOF
37356 cat confdefs.h >>conftest.$ac_ext
37357 cat >>conftest.$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37359
37360
37361 $ac_includes_default
37362
37363 int
37364 main ()
37365 {
37366
37367 #ifndef $wx_func
37368 &$wx_func;
37369 #endif
37370
37371
37372 ;
37373 return 0;
37374 }
37375
37376 _ACEOF
37377 rm -f conftest.$ac_objext conftest$ac_exeext
37378 if { (ac_try="$ac_link"
37379 case "(($ac_try" in
37380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37381 *) ac_try_echo=$ac_try;;
37382 esac
37383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37384 (eval "$ac_link") 2>conftest.er1
37385 ac_status=$?
37386 grep -v '^ *+' conftest.er1 >conftest.err
37387 rm -f conftest.er1
37388 cat conftest.err >&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } && {
37391 test -z "$ac_c_werror_flag" ||
37392 test ! -s conftest.err
37393 } && test -s conftest$ac_exeext &&
37394 $as_test_x conftest$ac_exeext; then
37395 eval wx_cv_func_$wx_func=yes
37396 else
37397 echo "$as_me: failed program was:" >&5
37398 sed 's/^/| /' conftest.$ac_ext >&5
37399
37400 eval wx_cv_func_$wx_func=no
37401 fi
37402
37403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37404 conftest$ac_exeext conftest.$ac_ext
37405
37406 fi
37407 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37408 { echo "$as_me:$LINENO: result: $ac_res" >&5
37409 echo "${ECHO_T}$ac_res" >&6; }
37410
37411 if eval test \$wx_cv_func_$wx_func = yes
37412 then
37413 cat >>confdefs.h <<_ACEOF
37414 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37415 _ACEOF
37416
37417
37418 else
37419 :
37420
37421 fi
37422 done
37423
37424 fi
37425
37426
37427 for wx_func in strtok_r
37428 do
37429 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37430 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37431 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37432 echo $ECHO_N "(cached) $ECHO_C" >&6
37433 else
37434
37435 cat >conftest.$ac_ext <<_ACEOF
37436
37437 /* confdefs.h. */
37438 _ACEOF
37439 cat confdefs.h >>conftest.$ac_ext
37440 cat >>conftest.$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37442
37443 #define _REENTRANT
37444 $ac_includes_default
37445
37446 int
37447 main ()
37448 {
37449
37450 #ifndef $wx_func
37451 &$wx_func;
37452 #endif
37453
37454
37455 ;
37456 return 0;
37457 }
37458
37459 _ACEOF
37460 rm -f conftest.$ac_objext conftest$ac_exeext
37461 if { (ac_try="$ac_link"
37462 case "(($ac_try" in
37463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37464 *) ac_try_echo=$ac_try;;
37465 esac
37466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37467 (eval "$ac_link") 2>conftest.er1
37468 ac_status=$?
37469 grep -v '^ *+' conftest.er1 >conftest.err
37470 rm -f conftest.er1
37471 cat conftest.err >&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); } && {
37474 test -z "$ac_c_werror_flag" ||
37475 test ! -s conftest.err
37476 } && test -s conftest$ac_exeext &&
37477 $as_test_x conftest$ac_exeext; then
37478 eval wx_cv_func_$wx_func=yes
37479 else
37480 echo "$as_me: failed program was:" >&5
37481 sed 's/^/| /' conftest.$ac_ext >&5
37482
37483 eval wx_cv_func_$wx_func=no
37484 fi
37485
37486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37487 conftest$ac_exeext conftest.$ac_ext
37488
37489 fi
37490 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37491 { echo "$as_me:$LINENO: result: $ac_res" >&5
37492 echo "${ECHO_T}$ac_res" >&6; }
37493
37494 if eval test \$wx_cv_func_$wx_func = yes
37495 then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37498 _ACEOF
37499
37500
37501 else
37502 :
37503
37504 fi
37505 done
37506
37507
37508 INET_LINK=
37509
37510 for ac_func in inet_addr
37511 do
37512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37513 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37515 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37516 echo $ECHO_N "(cached) $ECHO_C" >&6
37517 else
37518 cat >conftest.$ac_ext <<_ACEOF
37519 /* confdefs.h. */
37520 _ACEOF
37521 cat confdefs.h >>conftest.$ac_ext
37522 cat >>conftest.$ac_ext <<_ACEOF
37523 /* end confdefs.h. */
37524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37526 #define $ac_func innocuous_$ac_func
37527
37528 /* System header to define __stub macros and hopefully few prototypes,
37529 which can conflict with char $ac_func (); below.
37530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37531 <limits.h> exists even on freestanding compilers. */
37532
37533 #ifdef __STDC__
37534 # include <limits.h>
37535 #else
37536 # include <assert.h>
37537 #endif
37538
37539 #undef $ac_func
37540
37541 /* Override any GCC internal prototype to avoid an error.
37542 Use char because int might match the return type of a GCC
37543 builtin and then its argument prototype would still apply. */
37544 #ifdef __cplusplus
37545 extern "C"
37546 #endif
37547 char $ac_func ();
37548 /* The GNU C library defines this for functions which it implements
37549 to always fail with ENOSYS. Some functions are actually named
37550 something starting with __ and the normal name is an alias. */
37551 #if defined __stub_$ac_func || defined __stub___$ac_func
37552 choke me
37553 #endif
37554
37555 int
37556 main ()
37557 {
37558 return $ac_func ();
37559 ;
37560 return 0;
37561 }
37562 _ACEOF
37563 rm -f conftest.$ac_objext conftest$ac_exeext
37564 if { (ac_try="$ac_link"
37565 case "(($ac_try" in
37566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37567 *) ac_try_echo=$ac_try;;
37568 esac
37569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37570 (eval "$ac_link") 2>conftest.er1
37571 ac_status=$?
37572 grep -v '^ *+' conftest.er1 >conftest.err
37573 rm -f conftest.er1
37574 cat conftest.err >&5
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); } && {
37577 test -z "$ac_c_werror_flag" ||
37578 test ! -s conftest.err
37579 } && test -s conftest$ac_exeext &&
37580 $as_test_x conftest$ac_exeext; then
37581 eval "$as_ac_var=yes"
37582 else
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.$ac_ext >&5
37585
37586 eval "$as_ac_var=no"
37587 fi
37588
37589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37590 conftest$ac_exeext conftest.$ac_ext
37591 fi
37592 ac_res=`eval echo '${'$as_ac_var'}'`
37593 { echo "$as_me:$LINENO: result: $ac_res" >&5
37594 echo "${ECHO_T}$ac_res" >&6; }
37595 if test `eval echo '${'$as_ac_var'}'` = yes; then
37596 cat >>confdefs.h <<_ACEOF
37597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37599 cat >>confdefs.h <<\_ACEOF
37600 #define HAVE_INET_ADDR 1
37601 _ACEOF
37602
37603 else
37604
37605 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37606 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37607 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37609 else
37610 ac_check_lib_save_LIBS=$LIBS
37611 LIBS="-lnsl $LIBS"
37612 cat >conftest.$ac_ext <<_ACEOF
37613 /* confdefs.h. */
37614 _ACEOF
37615 cat confdefs.h >>conftest.$ac_ext
37616 cat >>conftest.$ac_ext <<_ACEOF
37617 /* end confdefs.h. */
37618
37619 /* Override any GCC internal prototype to avoid an error.
37620 Use char because int might match the return type of a GCC
37621 builtin and then its argument prototype would still apply. */
37622 #ifdef __cplusplus
37623 extern "C"
37624 #endif
37625 char inet_addr ();
37626 int
37627 main ()
37628 {
37629 return inet_addr ();
37630 ;
37631 return 0;
37632 }
37633 _ACEOF
37634 rm -f conftest.$ac_objext conftest$ac_exeext
37635 if { (ac_try="$ac_link"
37636 case "(($ac_try" in
37637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37638 *) ac_try_echo=$ac_try;;
37639 esac
37640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37641 (eval "$ac_link") 2>conftest.er1
37642 ac_status=$?
37643 grep -v '^ *+' conftest.er1 >conftest.err
37644 rm -f conftest.er1
37645 cat conftest.err >&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } && {
37648 test -z "$ac_c_werror_flag" ||
37649 test ! -s conftest.err
37650 } && test -s conftest$ac_exeext &&
37651 $as_test_x conftest$ac_exeext; then
37652 ac_cv_lib_nsl_inet_addr=yes
37653 else
37654 echo "$as_me: failed program was:" >&5
37655 sed 's/^/| /' conftest.$ac_ext >&5
37656
37657 ac_cv_lib_nsl_inet_addr=no
37658 fi
37659
37660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37661 conftest$ac_exeext conftest.$ac_ext
37662 LIBS=$ac_check_lib_save_LIBS
37663 fi
37664 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37665 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37666 if test $ac_cv_lib_nsl_inet_addr = yes; then
37667 INET_LINK="nsl"
37668 else
37669
37670 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37671 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37672 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37673 echo $ECHO_N "(cached) $ECHO_C" >&6
37674 else
37675 ac_check_lib_save_LIBS=$LIBS
37676 LIBS="-lresolv $LIBS"
37677 cat >conftest.$ac_ext <<_ACEOF
37678 /* confdefs.h. */
37679 _ACEOF
37680 cat confdefs.h >>conftest.$ac_ext
37681 cat >>conftest.$ac_ext <<_ACEOF
37682 /* end confdefs.h. */
37683
37684 /* Override any GCC internal prototype to avoid an error.
37685 Use char because int might match the return type of a GCC
37686 builtin and then its argument prototype would still apply. */
37687 #ifdef __cplusplus
37688 extern "C"
37689 #endif
37690 char inet_addr ();
37691 int
37692 main ()
37693 {
37694 return inet_addr ();
37695 ;
37696 return 0;
37697 }
37698 _ACEOF
37699 rm -f conftest.$ac_objext conftest$ac_exeext
37700 if { (ac_try="$ac_link"
37701 case "(($ac_try" in
37702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37703 *) ac_try_echo=$ac_try;;
37704 esac
37705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37706 (eval "$ac_link") 2>conftest.er1
37707 ac_status=$?
37708 grep -v '^ *+' conftest.er1 >conftest.err
37709 rm -f conftest.er1
37710 cat conftest.err >&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); } && {
37713 test -z "$ac_c_werror_flag" ||
37714 test ! -s conftest.err
37715 } && test -s conftest$ac_exeext &&
37716 $as_test_x conftest$ac_exeext; then
37717 ac_cv_lib_resolv_inet_addr=yes
37718 else
37719 echo "$as_me: failed program was:" >&5
37720 sed 's/^/| /' conftest.$ac_ext >&5
37721
37722 ac_cv_lib_resolv_inet_addr=no
37723 fi
37724
37725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37726 conftest$ac_exeext conftest.$ac_ext
37727 LIBS=$ac_check_lib_save_LIBS
37728 fi
37729 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37730 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37731 if test $ac_cv_lib_resolv_inet_addr = yes; then
37732 INET_LINK="resolv"
37733 else
37734
37735 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37736 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37737 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37738 echo $ECHO_N "(cached) $ECHO_C" >&6
37739 else
37740 ac_check_lib_save_LIBS=$LIBS
37741 LIBS="-lsocket $LIBS"
37742 cat >conftest.$ac_ext <<_ACEOF
37743 /* confdefs.h. */
37744 _ACEOF
37745 cat confdefs.h >>conftest.$ac_ext
37746 cat >>conftest.$ac_ext <<_ACEOF
37747 /* end confdefs.h. */
37748
37749 /* Override any GCC internal prototype to avoid an error.
37750 Use char because int might match the return type of a GCC
37751 builtin and then its argument prototype would still apply. */
37752 #ifdef __cplusplus
37753 extern "C"
37754 #endif
37755 char inet_addr ();
37756 int
37757 main ()
37758 {
37759 return inet_addr ();
37760 ;
37761 return 0;
37762 }
37763 _ACEOF
37764 rm -f conftest.$ac_objext conftest$ac_exeext
37765 if { (ac_try="$ac_link"
37766 case "(($ac_try" in
37767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37768 *) ac_try_echo=$ac_try;;
37769 esac
37770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37771 (eval "$ac_link") 2>conftest.er1
37772 ac_status=$?
37773 grep -v '^ *+' conftest.er1 >conftest.err
37774 rm -f conftest.er1
37775 cat conftest.err >&5
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); } && {
37778 test -z "$ac_c_werror_flag" ||
37779 test ! -s conftest.err
37780 } && test -s conftest$ac_exeext &&
37781 $as_test_x conftest$ac_exeext; then
37782 ac_cv_lib_socket_inet_addr=yes
37783 else
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.$ac_ext >&5
37786
37787 ac_cv_lib_socket_inet_addr=no
37788 fi
37789
37790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37791 conftest$ac_exeext conftest.$ac_ext
37792 LIBS=$ac_check_lib_save_LIBS
37793 fi
37794 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37795 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37796 if test $ac_cv_lib_socket_inet_addr = yes; then
37797 INET_LINK="socket"
37798
37799 fi
37800
37801
37802
37803 fi
37804
37805
37806
37807 fi
37808
37809
37810
37811 fi
37812 done
37813
37814
37815
37816 for ac_func in inet_aton
37817 do
37818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37823 else
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define $ac_func innocuous_$ac_func
37833
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37838
37839 #ifdef __STDC__
37840 # include <limits.h>
37841 #else
37842 # include <assert.h>
37843 #endif
37844
37845 #undef $ac_func
37846
37847 /* Override any GCC internal prototype to avoid an error.
37848 Use char because int might match the return type of a GCC
37849 builtin and then its argument prototype would still apply. */
37850 #ifdef __cplusplus
37851 extern "C"
37852 #endif
37853 char $ac_func ();
37854 /* The GNU C library defines this for functions which it implements
37855 to always fail with ENOSYS. Some functions are actually named
37856 something starting with __ and the normal name is an alias. */
37857 #if defined __stub_$ac_func || defined __stub___$ac_func
37858 choke me
37859 #endif
37860
37861 int
37862 main ()
37863 {
37864 return $ac_func ();
37865 ;
37866 return 0;
37867 }
37868 _ACEOF
37869 rm -f conftest.$ac_objext conftest$ac_exeext
37870 if { (ac_try="$ac_link"
37871 case "(($ac_try" in
37872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37873 *) ac_try_echo=$ac_try;;
37874 esac
37875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37876 (eval "$ac_link") 2>conftest.er1
37877 ac_status=$?
37878 grep -v '^ *+' conftest.er1 >conftest.err
37879 rm -f conftest.er1
37880 cat conftest.err >&5
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); } && {
37883 test -z "$ac_c_werror_flag" ||
37884 test ! -s conftest.err
37885 } && test -s conftest$ac_exeext &&
37886 $as_test_x conftest$ac_exeext; then
37887 eval "$as_ac_var=yes"
37888 else
37889 echo "$as_me: failed program was:" >&5
37890 sed 's/^/| /' conftest.$ac_ext >&5
37891
37892 eval "$as_ac_var=no"
37893 fi
37894
37895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37896 conftest$ac_exeext conftest.$ac_ext
37897 fi
37898 ac_res=`eval echo '${'$as_ac_var'}'`
37899 { echo "$as_me:$LINENO: result: $ac_res" >&5
37900 echo "${ECHO_T}$ac_res" >&6; }
37901 if test `eval echo '${'$as_ac_var'}'` = yes; then
37902 cat >>confdefs.h <<_ACEOF
37903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37904 _ACEOF
37905 cat >>confdefs.h <<\_ACEOF
37906 #define HAVE_INET_ATON 1
37907 _ACEOF
37908
37909 else
37910
37911 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37912 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37913 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37914 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37915 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 else
37917 ac_check_lib_save_LIBS=$LIBS
37918 LIBS="-l$INET_LINK $LIBS"
37919 cat >conftest.$ac_ext <<_ACEOF
37920 /* confdefs.h. */
37921 _ACEOF
37922 cat confdefs.h >>conftest.$ac_ext
37923 cat >>conftest.$ac_ext <<_ACEOF
37924 /* end confdefs.h. */
37925
37926 /* Override any GCC internal prototype to avoid an error.
37927 Use char because int might match the return type of a GCC
37928 builtin and then its argument prototype would still apply. */
37929 #ifdef __cplusplus
37930 extern "C"
37931 #endif
37932 char inet_aton ();
37933 int
37934 main ()
37935 {
37936 return inet_aton ();
37937 ;
37938 return 0;
37939 }
37940 _ACEOF
37941 rm -f conftest.$ac_objext conftest$ac_exeext
37942 if { (ac_try="$ac_link"
37943 case "(($ac_try" in
37944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37945 *) ac_try_echo=$ac_try;;
37946 esac
37947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37948 (eval "$ac_link") 2>conftest.er1
37949 ac_status=$?
37950 grep -v '^ *+' conftest.er1 >conftest.err
37951 rm -f conftest.er1
37952 cat conftest.err >&5
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); } && {
37955 test -z "$ac_c_werror_flag" ||
37956 test ! -s conftest.err
37957 } && test -s conftest$ac_exeext &&
37958 $as_test_x conftest$ac_exeext; then
37959 eval "$as_ac_Lib=yes"
37960 else
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37963
37964 eval "$as_ac_Lib=no"
37965 fi
37966
37967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37968 conftest$ac_exeext conftest.$ac_ext
37969 LIBS=$ac_check_lib_save_LIBS
37970 fi
37971 ac_res=`eval echo '${'$as_ac_Lib'}'`
37972 { echo "$as_me:$LINENO: result: $ac_res" >&5
37973 echo "${ECHO_T}$ac_res" >&6; }
37974 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37975 cat >>confdefs.h <<\_ACEOF
37976 #define HAVE_INET_ATON 1
37977 _ACEOF
37978
37979 fi
37980
37981
37982 fi
37983 done
37984
37985
37986 if test "x$INET_LINK" != "x"; then
37987 cat >>confdefs.h <<\_ACEOF
37988 #define HAVE_INET_ADDR 1
37989 _ACEOF
37990
37991 INET_LINK=" -l$INET_LINK"
37992 fi
37993
37994
37995 for wx_func in fdopen
37996 do
37997 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37998 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37999 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38000 echo $ECHO_N "(cached) $ECHO_C" >&6
38001 else
38002
38003 cat >conftest.$ac_ext <<_ACEOF
38004
38005 /* confdefs.h. */
38006 _ACEOF
38007 cat confdefs.h >>conftest.$ac_ext
38008 cat >>conftest.$ac_ext <<_ACEOF
38009 /* end confdefs.h. */
38010
38011
38012 $ac_includes_default
38013
38014 int
38015 main ()
38016 {
38017
38018 #ifndef $wx_func
38019 &$wx_func;
38020 #endif
38021
38022
38023 ;
38024 return 0;
38025 }
38026
38027 _ACEOF
38028 rm -f conftest.$ac_objext conftest$ac_exeext
38029 if { (ac_try="$ac_link"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38033 esac
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_link") 2>conftest.er1
38036 ac_status=$?
38037 grep -v '^ *+' conftest.er1 >conftest.err
38038 rm -f conftest.er1
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_c_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest$ac_exeext &&
38045 $as_test_x conftest$ac_exeext; then
38046 eval wx_cv_func_$wx_func=yes
38047 else
38048 echo "$as_me: failed program was:" >&5
38049 sed 's/^/| /' conftest.$ac_ext >&5
38050
38051 eval wx_cv_func_$wx_func=no
38052 fi
38053
38054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38055 conftest$ac_exeext conftest.$ac_ext
38056
38057 fi
38058 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38059 { echo "$as_me:$LINENO: result: $ac_res" >&5
38060 echo "${ECHO_T}$ac_res" >&6; }
38061
38062 if eval test \$wx_cv_func_$wx_func = yes
38063 then
38064 cat >>confdefs.h <<_ACEOF
38065 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38066 _ACEOF
38067
38068
38069 else
38070 :
38071
38072 fi
38073 done
38074
38075
38076 if test "$wxUSE_TARSTREAM" = "yes"; then
38077
38078 for wx_func in sysconf
38079 do
38080 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38081 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38082 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38085
38086 cat >conftest.$ac_ext <<_ACEOF
38087
38088 /* confdefs.h. */
38089 _ACEOF
38090 cat confdefs.h >>conftest.$ac_ext
38091 cat >>conftest.$ac_ext <<_ACEOF
38092 /* end confdefs.h. */
38093
38094
38095 $ac_includes_default
38096
38097 int
38098 main ()
38099 {
38100
38101 #ifndef $wx_func
38102 &$wx_func;
38103 #endif
38104
38105
38106 ;
38107 return 0;
38108 }
38109
38110 _ACEOF
38111 rm -f conftest.$ac_objext conftest$ac_exeext
38112 if { (ac_try="$ac_link"
38113 case "(($ac_try" in
38114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38115 *) ac_try_echo=$ac_try;;
38116 esac
38117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38118 (eval "$ac_link") 2>conftest.er1
38119 ac_status=$?
38120 grep -v '^ *+' conftest.er1 >conftest.err
38121 rm -f conftest.er1
38122 cat conftest.err >&5
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); } && {
38125 test -z "$ac_c_werror_flag" ||
38126 test ! -s conftest.err
38127 } && test -s conftest$ac_exeext &&
38128 $as_test_x conftest$ac_exeext; then
38129 eval wx_cv_func_$wx_func=yes
38130 else
38131 echo "$as_me: failed program was:" >&5
38132 sed 's/^/| /' conftest.$ac_ext >&5
38133
38134 eval wx_cv_func_$wx_func=no
38135 fi
38136
38137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38138 conftest$ac_exeext conftest.$ac_ext
38139
38140 fi
38141 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38142 { echo "$as_me:$LINENO: result: $ac_res" >&5
38143 echo "${ECHO_T}$ac_res" >&6; }
38144
38145 if eval test \$wx_cv_func_$wx_func = yes
38146 then
38147 cat >>confdefs.h <<_ACEOF
38148 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38149 _ACEOF
38150
38151
38152 else
38153 :
38154
38155 fi
38156 done
38157
38158
38159
38160 for wx_func in getpwuid_r
38161 do
38162 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38163 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38164 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38166 else
38167
38168 cat >conftest.$ac_ext <<_ACEOF
38169
38170 /* confdefs.h. */
38171 _ACEOF
38172 cat confdefs.h >>conftest.$ac_ext
38173 cat >>conftest.$ac_ext <<_ACEOF
38174 /* end confdefs.h. */
38175
38176
38177 #define _REENTRANT
38178 #include <pwd.h>
38179
38180 $ac_includes_default
38181
38182 int
38183 main ()
38184 {
38185
38186 #ifndef $wx_func
38187 &$wx_func;
38188 #endif
38189
38190 struct passwd pw, *ppw;
38191 char buf[1024];
38192 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38193
38194
38195 ;
38196 return 0;
38197 }
38198
38199 _ACEOF
38200 rm -f conftest.$ac_objext conftest$ac_exeext
38201 if { (ac_try="$ac_link"
38202 case "(($ac_try" in
38203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38205 esac
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_link") 2>conftest.er1
38208 ac_status=$?
38209 grep -v '^ *+' conftest.er1 >conftest.err
38210 rm -f conftest.er1
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest$ac_exeext &&
38217 $as_test_x conftest$ac_exeext; then
38218 eval wx_cv_func_$wx_func=yes
38219 else
38220 echo "$as_me: failed program was:" >&5
38221 sed 's/^/| /' conftest.$ac_ext >&5
38222
38223 eval wx_cv_func_$wx_func=no
38224 fi
38225
38226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38227 conftest$ac_exeext conftest.$ac_ext
38228
38229 fi
38230 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38231 { echo "$as_me:$LINENO: result: $ac_res" >&5
38232 echo "${ECHO_T}$ac_res" >&6; }
38233
38234 if eval test \$wx_cv_func_$wx_func = yes
38235 then
38236 cat >>confdefs.h <<_ACEOF
38237 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38238 _ACEOF
38239
38240
38241 else
38242 :
38243
38244 fi
38245 done
38246
38247
38248
38249 for wx_func in getgrgid_r
38250 do
38251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38255 else
38256
38257 cat >conftest.$ac_ext <<_ACEOF
38258
38259 /* confdefs.h. */
38260 _ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264
38265
38266 #define _REENTRANT
38267 #include <grp.h>
38268
38269 $ac_includes_default
38270
38271 int
38272 main ()
38273 {
38274
38275 #ifndef $wx_func
38276 &$wx_func;
38277 #endif
38278
38279 struct group grp, *pgrp;
38280 char buf[1024];
38281 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38282
38283
38284 ;
38285 return 0;
38286 }
38287
38288 _ACEOF
38289 rm -f conftest.$ac_objext conftest$ac_exeext
38290 if { (ac_try="$ac_link"
38291 case "(($ac_try" in
38292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38293 *) ac_try_echo=$ac_try;;
38294 esac
38295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38296 (eval "$ac_link") 2>conftest.er1
38297 ac_status=$?
38298 grep -v '^ *+' conftest.er1 >conftest.err
38299 rm -f conftest.er1
38300 cat conftest.err >&5
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); } && {
38303 test -z "$ac_c_werror_flag" ||
38304 test ! -s conftest.err
38305 } && test -s conftest$ac_exeext &&
38306 $as_test_x conftest$ac_exeext; then
38307 eval wx_cv_func_$wx_func=yes
38308 else
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38311
38312 eval wx_cv_func_$wx_func=no
38313 fi
38314
38315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38316 conftest$ac_exeext conftest.$ac_ext
38317
38318 fi
38319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38320 { echo "$as_me:$LINENO: result: $ac_res" >&5
38321 echo "${ECHO_T}$ac_res" >&6; }
38322
38323 if eval test \$wx_cv_func_$wx_func = yes
38324 then
38325 cat >>confdefs.h <<_ACEOF
38326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38327 _ACEOF
38328
38329
38330 else
38331 :
38332
38333 fi
38334 done
38335
38336 fi
38337
38338 fi
38339
38340
38341
38342 cat >confcache <<\_ACEOF
38343 # This file is a shell script that caches the results of configure
38344 # tests run on this system so they can be shared between configure
38345 # scripts and configure runs, see configure's option --config-cache.
38346 # It is not useful on other systems. If it contains results you don't
38347 # want to keep, you may remove or edit it.
38348 #
38349 # config.status only pays attention to the cache file if you give it
38350 # the --recheck option to rerun configure.
38351 #
38352 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38354 # following values.
38355
38356 _ACEOF
38357
38358 # The following way of writing the cache mishandles newlines in values,
38359 # but we know of no workaround that is simple, portable, and efficient.
38360 # So, we kill variables containing newlines.
38361 # Ultrix sh set writes to stderr and can't be redirected directly,
38362 # and sets the high bit in the cache file unless we assign to the vars.
38363 (
38364 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38365 eval ac_val=\$$ac_var
38366 case $ac_val in #(
38367 *${as_nl}*)
38368 case $ac_var in #(
38369 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38370 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38371 esac
38372 case $ac_var in #(
38373 _ | IFS | as_nl) ;; #(
38374 *) $as_unset $ac_var ;;
38375 esac ;;
38376 esac
38377 done
38378
38379 (set) 2>&1 |
38380 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38381 *${as_nl}ac_space=\ *)
38382 # `set' does not quote correctly, so add quotes (double-quote
38383 # substitution turns \\\\ into \\, and sed turns \\ into \).
38384 sed -n \
38385 "s/'/'\\\\''/g;
38386 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38387 ;; #(
38388 *)
38389 # `set' quotes correctly as required by POSIX, so do not add quotes.
38390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38391 ;;
38392 esac |
38393 sort
38394 ) |
38395 sed '
38396 /^ac_cv_env_/b end
38397 t clear
38398 :clear
38399 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38400 t end
38401 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38402 :end' >>confcache
38403 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38404 if test -w "$cache_file"; then
38405 test "x$cache_file" != "x/dev/null" &&
38406 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38407 echo "$as_me: updating cache $cache_file" >&6;}
38408 cat confcache >$cache_file
38409 else
38410 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38411 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38412 fi
38413 fi
38414 rm -f confcache
38415
38416
38417 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38418
38419
38420 THREADS_LINK=
38421 THREADS_CFLAGS=
38422
38423 if test "$wxUSE_THREADS" = "yes" ; then
38424 if test "$USE_BEOS" = 1; then
38425 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38426 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38427 wxUSE_THREADS="no"
38428 fi
38429 fi
38430
38431 if test "$wxUSE_THREADS" = "yes" ; then
38432
38433
38434 THREAD_OPTS="-pthread"
38435 if test "x$SUNCXX" = xyes; then
38436 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38437 fi
38438
38439 case "${host}" in
38440 *-*-solaris2* | *-*-sunos4* )
38441 if test "x$GCC" = "xyes"; then
38442 THREAD_OPTS="-pthreads $THREAD_OPTS"
38443 fi
38444 ;;
38445 *-*-freebsd*)
38446 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38447 ;;
38448 *-*-darwin* | *-*-cygwin* )
38449 THREAD_OPTS=""
38450 ;;
38451 *-*-aix*)
38452 THREAD_OPTS="pthreads"
38453 ;;
38454 *-hp-hpux* )
38455 if test "x$GCC" = "xyes"; then
38456 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38457 THREAD_OPTS=""
38458 else
38459 THREAD_OPTS="-mt"
38460 fi
38461 ;;
38462
38463 *-*-irix* )
38464 if test "x$GCC" = "xyes"; then
38465 THREAD_OPTS=""
38466 fi
38467 ;;
38468
38469 *-*-*UnixWare*)
38470 if test "x$GCC" != "xyes"; then
38471 THREAD_OPTS="-Ethread"
38472 fi
38473 ;;
38474 esac
38475
38476 THREAD_OPTS="$THREAD_OPTS pthread none"
38477
38478 THREADS_OK=no
38479 for flag in $THREAD_OPTS; do
38480 case $flag in
38481 none)
38482 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38483 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38484 ;;
38485
38486 -*)
38487 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38488 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38489 THREADS_CFLAGS="$flag"
38490 ;;
38491
38492 *)
38493 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38494 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38495 THREADS_LINK="-l$flag"
38496 ;;
38497 esac
38498
38499 save_LIBS="$LIBS"
38500 save_CFLAGS="$CFLAGS"
38501 LIBS="$THREADS_LINK $LIBS"
38502 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38503
38504 cat >conftest.$ac_ext <<_ACEOF
38505 /* confdefs.h. */
38506 _ACEOF
38507 cat confdefs.h >>conftest.$ac_ext
38508 cat >>conftest.$ac_ext <<_ACEOF
38509 /* end confdefs.h. */
38510 #include <pthread.h>
38511 int
38512 main ()
38513 {
38514 pthread_create(0,0,0,0);
38515 ;
38516 return 0;
38517 }
38518 _ACEOF
38519 rm -f conftest.$ac_objext conftest$ac_exeext
38520 if { (ac_try="$ac_link"
38521 case "(($ac_try" in
38522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38523 *) ac_try_echo=$ac_try;;
38524 esac
38525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38526 (eval "$ac_link") 2>conftest.er1
38527 ac_status=$?
38528 grep -v '^ *+' conftest.er1 >conftest.err
38529 rm -f conftest.er1
38530 cat conftest.err >&5
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); } && {
38533 test -z "$ac_c_werror_flag" ||
38534 test ! -s conftest.err
38535 } && test -s conftest$ac_exeext &&
38536 $as_test_x conftest$ac_exeext; then
38537 THREADS_OK=yes
38538 else
38539 echo "$as_me: failed program was:" >&5
38540 sed 's/^/| /' conftest.$ac_ext >&5
38541
38542
38543 fi
38544
38545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38546 conftest$ac_exeext conftest.$ac_ext
38547
38548 LIBS="$save_LIBS"
38549 CFLAGS="$save_CFLAGS"
38550
38551 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38552 echo "${ECHO_T}$THREADS_OK" >&6; }
38553 if test "x$THREADS_OK" = "xyes"; then
38554 break;
38555 fi
38556
38557 THREADS_LINK=""
38558 THREADS_CFLAGS=""
38559 done
38560
38561 if test "x$THREADS_OK" != "xyes"; then
38562 wxUSE_THREADS=no
38563 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38564 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38565 else
38566 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38567 LIBS="$THREADS_LINK $LIBS"
38568
38569 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38570 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38571 flag=no
38572 case "${host}" in
38573 *-aix*)
38574 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38575 flag="-D_THREAD_SAFE"
38576 ;;
38577 *-freebsd*)
38578 flag="-D_THREAD_SAFE"
38579 ;;
38580 *-hp-hpux* )
38581 flag="-D_REENTRANT"
38582 if test "x$GCC" != "xyes"; then
38583 flag="$flag -D_RWSTD_MULTI_THREAD"
38584 fi
38585 ;;
38586 *solaris* | alpha*-osf*)
38587 flag="-D_REENTRANT"
38588 ;;
38589 esac
38590 { echo "$as_me:$LINENO: result: ${flag}" >&5
38591 echo "${ECHO_T}${flag}" >&6; }
38592 if test "x$flag" != xno; then
38593 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38594 fi
38595
38596 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38597 fi
38598 fi
38599
38600 if test "$wxUSE_THREADS" = "yes" ; then
38601
38602 for ac_func in thr_setconcurrency
38603 do
38604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38608 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 else
38610 cat >conftest.$ac_ext <<_ACEOF
38611 /* confdefs.h. */
38612 _ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38618 #define $ac_func innocuous_$ac_func
38619
38620 /* System header to define __stub macros and hopefully few prototypes,
38621 which can conflict with char $ac_func (); below.
38622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38623 <limits.h> exists even on freestanding compilers. */
38624
38625 #ifdef __STDC__
38626 # include <limits.h>
38627 #else
38628 # include <assert.h>
38629 #endif
38630
38631 #undef $ac_func
38632
38633 /* Override any GCC internal prototype to avoid an error.
38634 Use char because int might match the return type of a GCC
38635 builtin and then its argument prototype would still apply. */
38636 #ifdef __cplusplus
38637 extern "C"
38638 #endif
38639 char $ac_func ();
38640 /* The GNU C library defines this for functions which it implements
38641 to always fail with ENOSYS. Some functions are actually named
38642 something starting with __ and the normal name is an alias. */
38643 #if defined __stub_$ac_func || defined __stub___$ac_func
38644 choke me
38645 #endif
38646
38647 int
38648 main ()
38649 {
38650 return $ac_func ();
38651 ;
38652 return 0;
38653 }
38654 _ACEOF
38655 rm -f conftest.$ac_objext conftest$ac_exeext
38656 if { (ac_try="$ac_link"
38657 case "(($ac_try" in
38658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38659 *) ac_try_echo=$ac_try;;
38660 esac
38661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38662 (eval "$ac_link") 2>conftest.er1
38663 ac_status=$?
38664 grep -v '^ *+' conftest.er1 >conftest.err
38665 rm -f conftest.er1
38666 cat conftest.err >&5
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } && {
38669 test -z "$ac_c_werror_flag" ||
38670 test ! -s conftest.err
38671 } && test -s conftest$ac_exeext &&
38672 $as_test_x conftest$ac_exeext; then
38673 eval "$as_ac_var=yes"
38674 else
38675 echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38677
38678 eval "$as_ac_var=no"
38679 fi
38680
38681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38682 conftest$ac_exeext conftest.$ac_ext
38683 fi
38684 ac_res=`eval echo '${'$as_ac_var'}'`
38685 { echo "$as_me:$LINENO: result: $ac_res" >&5
38686 echo "${ECHO_T}$ac_res" >&6; }
38687 if test `eval echo '${'$as_ac_var'}'` = yes; then
38688 cat >>confdefs.h <<_ACEOF
38689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38690 _ACEOF
38691
38692 fi
38693 done
38694
38695
38696 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38697 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38698 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38700 else
38701
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708 cat >conftest.$ac_ext <<_ACEOF
38709 /* confdefs.h. */
38710 _ACEOF
38711 cat confdefs.h >>conftest.$ac_ext
38712 cat >>conftest.$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 #include <pthread.h>
38715 void ThreadCleanupFunc(void *p);
38716
38717 int
38718 main ()
38719 {
38720
38721 void *p;
38722 pthread_cleanup_push(ThreadCleanupFunc, p);
38723 pthread_cleanup_pop(0);
38724
38725 ;
38726 return 0;
38727 }
38728 _ACEOF
38729 rm -f conftest.$ac_objext
38730 if { (ac_try="$ac_compile"
38731 case "(($ac_try" in
38732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38733 *) ac_try_echo=$ac_try;;
38734 esac
38735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38736 (eval "$ac_compile") 2>conftest.er1
38737 ac_status=$?
38738 grep -v '^ *+' conftest.er1 >conftest.err
38739 rm -f conftest.er1
38740 cat conftest.err >&5
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); } && {
38743 test -z "$ac_cxx_werror_flag" ||
38744 test ! -s conftest.err
38745 } && test -s conftest.$ac_objext; then
38746
38747 wx_cv_func_pthread_cleanup=yes
38748
38749 else
38750 echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.$ac_ext >&5
38752
38753
38754 wx_cv_func_pthread_cleanup=no
38755
38756
38757 fi
38758
38759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38760 ac_ext=c
38761 ac_cpp='$CPP $CPPFLAGS'
38762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38765
38766
38767 fi
38768 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38769 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38770 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38771 cat >>confdefs.h <<\_ACEOF
38772 #define wxHAVE_PTHREAD_CLEANUP 1
38773 _ACEOF
38774
38775 fi
38776
38777
38778 for ac_header in sched.h
38779 do
38780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38785 else
38786 cat >conftest.$ac_ext <<_ACEOF
38787 /* confdefs.h. */
38788 _ACEOF
38789 cat confdefs.h >>conftest.$ac_ext
38790 cat >>conftest.$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38792 $ac_includes_default
38793
38794 #include <$ac_header>
38795 _ACEOF
38796 rm -f conftest.$ac_objext
38797 if { (ac_try="$ac_compile"
38798 case "(($ac_try" in
38799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38800 *) ac_try_echo=$ac_try;;
38801 esac
38802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38803 (eval "$ac_compile") 2>conftest.er1
38804 ac_status=$?
38805 grep -v '^ *+' conftest.er1 >conftest.err
38806 rm -f conftest.er1
38807 cat conftest.err >&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); } && {
38810 test -z "$ac_c_werror_flag" ||
38811 test ! -s conftest.err
38812 } && test -s conftest.$ac_objext; then
38813 eval "$as_ac_Header=yes"
38814 else
38815 echo "$as_me: failed program was:" >&5
38816 sed 's/^/| /' conftest.$ac_ext >&5
38817
38818 eval "$as_ac_Header=no"
38819 fi
38820
38821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38822 fi
38823 ac_res=`eval echo '${'$as_ac_Header'}'`
38824 { echo "$as_me:$LINENO: result: $ac_res" >&5
38825 echo "${ECHO_T}$ac_res" >&6; }
38826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38827 cat >>confdefs.h <<_ACEOF
38828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38829 _ACEOF
38830
38831 fi
38832
38833 done
38834
38835 if test "$ac_cv_header_sched_h" = "yes"; then
38836 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38837 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38838 if test "${ac_cv_func_sched_yield+set}" = set; then
38839 echo $ECHO_N "(cached) $ECHO_C" >&6
38840 else
38841 cat >conftest.$ac_ext <<_ACEOF
38842 /* confdefs.h. */
38843 _ACEOF
38844 cat confdefs.h >>conftest.$ac_ext
38845 cat >>conftest.$ac_ext <<_ACEOF
38846 /* end confdefs.h. */
38847 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38849 #define sched_yield innocuous_sched_yield
38850
38851 /* System header to define __stub macros and hopefully few prototypes,
38852 which can conflict with char sched_yield (); below.
38853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38854 <limits.h> exists even on freestanding compilers. */
38855
38856 #ifdef __STDC__
38857 # include <limits.h>
38858 #else
38859 # include <assert.h>
38860 #endif
38861
38862 #undef sched_yield
38863
38864 /* Override any GCC internal prototype to avoid an error.
38865 Use char because int might match the return type of a GCC
38866 builtin and then its argument prototype would still apply. */
38867 #ifdef __cplusplus
38868 extern "C"
38869 #endif
38870 char sched_yield ();
38871 /* The GNU C library defines this for functions which it implements
38872 to always fail with ENOSYS. Some functions are actually named
38873 something starting with __ and the normal name is an alias. */
38874 #if defined __stub_sched_yield || defined __stub___sched_yield
38875 choke me
38876 #endif
38877
38878 int
38879 main ()
38880 {
38881 return sched_yield ();
38882 ;
38883 return 0;
38884 }
38885 _ACEOF
38886 rm -f conftest.$ac_objext conftest$ac_exeext
38887 if { (ac_try="$ac_link"
38888 case "(($ac_try" in
38889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38890 *) ac_try_echo=$ac_try;;
38891 esac
38892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38893 (eval "$ac_link") 2>conftest.er1
38894 ac_status=$?
38895 grep -v '^ *+' conftest.er1 >conftest.err
38896 rm -f conftest.er1
38897 cat conftest.err >&5
38898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899 (exit $ac_status); } && {
38900 test -z "$ac_c_werror_flag" ||
38901 test ! -s conftest.err
38902 } && test -s conftest$ac_exeext &&
38903 $as_test_x conftest$ac_exeext; then
38904 ac_cv_func_sched_yield=yes
38905 else
38906 echo "$as_me: failed program was:" >&5
38907 sed 's/^/| /' conftest.$ac_ext >&5
38908
38909 ac_cv_func_sched_yield=no
38910 fi
38911
38912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38913 conftest$ac_exeext conftest.$ac_ext
38914 fi
38915 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38916 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38917 if test $ac_cv_func_sched_yield = yes; then
38918 cat >>confdefs.h <<\_ACEOF
38919 #define HAVE_SCHED_YIELD 1
38920 _ACEOF
38921
38922 else
38923
38924 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38925 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38926 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 else
38929 ac_check_lib_save_LIBS=$LIBS
38930 LIBS="-lposix4 $LIBS"
38931 cat >conftest.$ac_ext <<_ACEOF
38932 /* confdefs.h. */
38933 _ACEOF
38934 cat confdefs.h >>conftest.$ac_ext
38935 cat >>conftest.$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38937
38938 /* Override any GCC internal prototype to avoid an error.
38939 Use char because int might match the return type of a GCC
38940 builtin and then its argument prototype would still apply. */
38941 #ifdef __cplusplus
38942 extern "C"
38943 #endif
38944 char sched_yield ();
38945 int
38946 main ()
38947 {
38948 return sched_yield ();
38949 ;
38950 return 0;
38951 }
38952 _ACEOF
38953 rm -f conftest.$ac_objext conftest$ac_exeext
38954 if { (ac_try="$ac_link"
38955 case "(($ac_try" in
38956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38957 *) ac_try_echo=$ac_try;;
38958 esac
38959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38960 (eval "$ac_link") 2>conftest.er1
38961 ac_status=$?
38962 grep -v '^ *+' conftest.er1 >conftest.err
38963 rm -f conftest.er1
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } && {
38967 test -z "$ac_c_werror_flag" ||
38968 test ! -s conftest.err
38969 } && test -s conftest$ac_exeext &&
38970 $as_test_x conftest$ac_exeext; then
38971 ac_cv_lib_posix4_sched_yield=yes
38972 else
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38975
38976 ac_cv_lib_posix4_sched_yield=no
38977 fi
38978
38979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38980 conftest$ac_exeext conftest.$ac_ext
38981 LIBS=$ac_check_lib_save_LIBS
38982 fi
38983 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38984 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38985 if test $ac_cv_lib_posix4_sched_yield = yes; then
38986 cat >>confdefs.h <<\_ACEOF
38987 #define HAVE_SCHED_YIELD 1
38988 _ACEOF
38989 POSIX4_LINK=" -lposix4"
38990 else
38991 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38992 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38993
38994 fi
38995
38996
38997
38998 fi
38999
39000 fi
39001
39002 HAVE_PRIOR_FUNCS=0
39003 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39004 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39005 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39006 echo $ECHO_N "(cached) $ECHO_C" >&6
39007 else
39008 cat >conftest.$ac_ext <<_ACEOF
39009 /* confdefs.h. */
39010 _ACEOF
39011 cat confdefs.h >>conftest.$ac_ext
39012 cat >>conftest.$ac_ext <<_ACEOF
39013 /* end confdefs.h. */
39014 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39016 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39017
39018 /* System header to define __stub macros and hopefully few prototypes,
39019 which can conflict with char pthread_attr_getschedpolicy (); below.
39020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39021 <limits.h> exists even on freestanding compilers. */
39022
39023 #ifdef __STDC__
39024 # include <limits.h>
39025 #else
39026 # include <assert.h>
39027 #endif
39028
39029 #undef pthread_attr_getschedpolicy
39030
39031 /* Override any GCC internal prototype to avoid an error.
39032 Use char because int might match the return type of a GCC
39033 builtin and then its argument prototype would still apply. */
39034 #ifdef __cplusplus
39035 extern "C"
39036 #endif
39037 char pthread_attr_getschedpolicy ();
39038 /* The GNU C library defines this for functions which it implements
39039 to always fail with ENOSYS. Some functions are actually named
39040 something starting with __ and the normal name is an alias. */
39041 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39042 choke me
39043 #endif
39044
39045 int
39046 main ()
39047 {
39048 return pthread_attr_getschedpolicy ();
39049 ;
39050 return 0;
39051 }
39052 _ACEOF
39053 rm -f conftest.$ac_objext conftest$ac_exeext
39054 if { (ac_try="$ac_link"
39055 case "(($ac_try" in
39056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39057 *) ac_try_echo=$ac_try;;
39058 esac
39059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39060 (eval "$ac_link") 2>conftest.er1
39061 ac_status=$?
39062 grep -v '^ *+' conftest.er1 >conftest.err
39063 rm -f conftest.er1
39064 cat conftest.err >&5
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); } && {
39067 test -z "$ac_c_werror_flag" ||
39068 test ! -s conftest.err
39069 } && test -s conftest$ac_exeext &&
39070 $as_test_x conftest$ac_exeext; then
39071 ac_cv_func_pthread_attr_getschedpolicy=yes
39072 else
39073 echo "$as_me: failed program was:" >&5
39074 sed 's/^/| /' conftest.$ac_ext >&5
39075
39076 ac_cv_func_pthread_attr_getschedpolicy=no
39077 fi
39078
39079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39080 conftest$ac_exeext conftest.$ac_ext
39081 fi
39082 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39083 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39084 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39085 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39086 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39087 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39088 echo $ECHO_N "(cached) $ECHO_C" >&6
39089 else
39090 cat >conftest.$ac_ext <<_ACEOF
39091 /* confdefs.h. */
39092 _ACEOF
39093 cat confdefs.h >>conftest.$ac_ext
39094 cat >>conftest.$ac_ext <<_ACEOF
39095 /* end confdefs.h. */
39096 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39098 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39099
39100 /* System header to define __stub macros and hopefully few prototypes,
39101 which can conflict with char pthread_attr_setschedparam (); below.
39102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39103 <limits.h> exists even on freestanding compilers. */
39104
39105 #ifdef __STDC__
39106 # include <limits.h>
39107 #else
39108 # include <assert.h>
39109 #endif
39110
39111 #undef pthread_attr_setschedparam
39112
39113 /* Override any GCC internal prototype to avoid an error.
39114 Use char because int might match the return type of a GCC
39115 builtin and then its argument prototype would still apply. */
39116 #ifdef __cplusplus
39117 extern "C"
39118 #endif
39119 char pthread_attr_setschedparam ();
39120 /* The GNU C library defines this for functions which it implements
39121 to always fail with ENOSYS. Some functions are actually named
39122 something starting with __ and the normal name is an alias. */
39123 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39124 choke me
39125 #endif
39126
39127 int
39128 main ()
39129 {
39130 return pthread_attr_setschedparam ();
39131 ;
39132 return 0;
39133 }
39134 _ACEOF
39135 rm -f conftest.$ac_objext conftest$ac_exeext
39136 if { (ac_try="$ac_link"
39137 case "(($ac_try" in
39138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39139 *) ac_try_echo=$ac_try;;
39140 esac
39141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39142 (eval "$ac_link") 2>conftest.er1
39143 ac_status=$?
39144 grep -v '^ *+' conftest.er1 >conftest.err
39145 rm -f conftest.er1
39146 cat conftest.err >&5
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); } && {
39149 test -z "$ac_c_werror_flag" ||
39150 test ! -s conftest.err
39151 } && test -s conftest$ac_exeext &&
39152 $as_test_x conftest$ac_exeext; then
39153 ac_cv_func_pthread_attr_setschedparam=yes
39154 else
39155 echo "$as_me: failed program was:" >&5
39156 sed 's/^/| /' conftest.$ac_ext >&5
39157
39158 ac_cv_func_pthread_attr_setschedparam=no
39159 fi
39160
39161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39162 conftest$ac_exeext conftest.$ac_ext
39163 fi
39164 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39165 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39166 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39167 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39168 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39169 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39170 echo $ECHO_N "(cached) $ECHO_C" >&6
39171 else
39172 cat >conftest.$ac_ext <<_ACEOF
39173 /* confdefs.h. */
39174 _ACEOF
39175 cat confdefs.h >>conftest.$ac_ext
39176 cat >>conftest.$ac_ext <<_ACEOF
39177 /* end confdefs.h. */
39178 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39180 #define sched_get_priority_max innocuous_sched_get_priority_max
39181
39182 /* System header to define __stub macros and hopefully few prototypes,
39183 which can conflict with char sched_get_priority_max (); below.
39184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39185 <limits.h> exists even on freestanding compilers. */
39186
39187 #ifdef __STDC__
39188 # include <limits.h>
39189 #else
39190 # include <assert.h>
39191 #endif
39192
39193 #undef sched_get_priority_max
39194
39195 /* Override any GCC internal prototype to avoid an error.
39196 Use char because int might match the return type of a GCC
39197 builtin and then its argument prototype would still apply. */
39198 #ifdef __cplusplus
39199 extern "C"
39200 #endif
39201 char sched_get_priority_max ();
39202 /* The GNU C library defines this for functions which it implements
39203 to always fail with ENOSYS. Some functions are actually named
39204 something starting with __ and the normal name is an alias. */
39205 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39206 choke me
39207 #endif
39208
39209 int
39210 main ()
39211 {
39212 return sched_get_priority_max ();
39213 ;
39214 return 0;
39215 }
39216 _ACEOF
39217 rm -f conftest.$ac_objext conftest$ac_exeext
39218 if { (ac_try="$ac_link"
39219 case "(($ac_try" in
39220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39221 *) ac_try_echo=$ac_try;;
39222 esac
39223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39224 (eval "$ac_link") 2>conftest.er1
39225 ac_status=$?
39226 grep -v '^ *+' conftest.er1 >conftest.err
39227 rm -f conftest.er1
39228 cat conftest.err >&5
39229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39230 (exit $ac_status); } && {
39231 test -z "$ac_c_werror_flag" ||
39232 test ! -s conftest.err
39233 } && test -s conftest$ac_exeext &&
39234 $as_test_x conftest$ac_exeext; then
39235 ac_cv_func_sched_get_priority_max=yes
39236 else
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.$ac_ext >&5
39239
39240 ac_cv_func_sched_get_priority_max=no
39241 fi
39242
39243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39244 conftest$ac_exeext conftest.$ac_ext
39245 fi
39246 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39247 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39248 if test $ac_cv_func_sched_get_priority_max = yes; then
39249 HAVE_PRIOR_FUNCS=1
39250 else
39251 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39252 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39253 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39255 else
39256 ac_check_lib_save_LIBS=$LIBS
39257 LIBS="-lposix4 $LIBS"
39258 cat >conftest.$ac_ext <<_ACEOF
39259 /* confdefs.h. */
39260 _ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264
39265 /* Override any GCC internal prototype to avoid an error.
39266 Use char because int might match the return type of a GCC
39267 builtin and then its argument prototype would still apply. */
39268 #ifdef __cplusplus
39269 extern "C"
39270 #endif
39271 char sched_get_priority_max ();
39272 int
39273 main ()
39274 {
39275 return sched_get_priority_max ();
39276 ;
39277 return 0;
39278 }
39279 _ACEOF
39280 rm -f conftest.$ac_objext conftest$ac_exeext
39281 if { (ac_try="$ac_link"
39282 case "(($ac_try" in
39283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39284 *) ac_try_echo=$ac_try;;
39285 esac
39286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39287 (eval "$ac_link") 2>conftest.er1
39288 ac_status=$?
39289 grep -v '^ *+' conftest.er1 >conftest.err
39290 rm -f conftest.er1
39291 cat conftest.err >&5
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); } && {
39294 test -z "$ac_c_werror_flag" ||
39295 test ! -s conftest.err
39296 } && test -s conftest$ac_exeext &&
39297 $as_test_x conftest$ac_exeext; then
39298 ac_cv_lib_posix4_sched_get_priority_max=yes
39299 else
39300 echo "$as_me: failed program was:" >&5
39301 sed 's/^/| /' conftest.$ac_ext >&5
39302
39303 ac_cv_lib_posix4_sched_get_priority_max=no
39304 fi
39305
39306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39307 conftest$ac_exeext conftest.$ac_ext
39308 LIBS=$ac_check_lib_save_LIBS
39309 fi
39310 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39311 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39312 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39313
39314 HAVE_PRIOR_FUNCS=1
39315 POSIX4_LINK=" -lposix4"
39316
39317 fi
39318
39319
39320 fi
39321
39322
39323 fi
39324
39325
39326 fi
39327
39328
39329 if test "$HAVE_PRIOR_FUNCS" = 1; then
39330 cat >>confdefs.h <<\_ACEOF
39331 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39332 _ACEOF
39333
39334 else
39335 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39336 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39337 fi
39338
39339 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39340 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39341 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39342 echo $ECHO_N "(cached) $ECHO_C" >&6
39343 else
39344 cat >conftest.$ac_ext <<_ACEOF
39345 /* confdefs.h. */
39346 _ACEOF
39347 cat confdefs.h >>conftest.$ac_ext
39348 cat >>conftest.$ac_ext <<_ACEOF
39349 /* end confdefs.h. */
39350 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39352 #define pthread_cancel innocuous_pthread_cancel
39353
39354 /* System header to define __stub macros and hopefully few prototypes,
39355 which can conflict with char pthread_cancel (); below.
39356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39357 <limits.h> exists even on freestanding compilers. */
39358
39359 #ifdef __STDC__
39360 # include <limits.h>
39361 #else
39362 # include <assert.h>
39363 #endif
39364
39365 #undef pthread_cancel
39366
39367 /* Override any GCC internal prototype to avoid an error.
39368 Use char because int might match the return type of a GCC
39369 builtin and then its argument prototype would still apply. */
39370 #ifdef __cplusplus
39371 extern "C"
39372 #endif
39373 char pthread_cancel ();
39374 /* The GNU C library defines this for functions which it implements
39375 to always fail with ENOSYS. Some functions are actually named
39376 something starting with __ and the normal name is an alias. */
39377 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39378 choke me
39379 #endif
39380
39381 int
39382 main ()
39383 {
39384 return pthread_cancel ();
39385 ;
39386 return 0;
39387 }
39388 _ACEOF
39389 rm -f conftest.$ac_objext conftest$ac_exeext
39390 if { (ac_try="$ac_link"
39391 case "(($ac_try" in
39392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39393 *) ac_try_echo=$ac_try;;
39394 esac
39395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39396 (eval "$ac_link") 2>conftest.er1
39397 ac_status=$?
39398 grep -v '^ *+' conftest.er1 >conftest.err
39399 rm -f conftest.er1
39400 cat conftest.err >&5
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); } && {
39403 test -z "$ac_c_werror_flag" ||
39404 test ! -s conftest.err
39405 } && test -s conftest$ac_exeext &&
39406 $as_test_x conftest$ac_exeext; then
39407 ac_cv_func_pthread_cancel=yes
39408 else
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.$ac_ext >&5
39411
39412 ac_cv_func_pthread_cancel=no
39413 fi
39414
39415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39416 conftest$ac_exeext conftest.$ac_ext
39417 fi
39418 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39419 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39420 if test $ac_cv_func_pthread_cancel = yes; then
39421 cat >>confdefs.h <<\_ACEOF
39422 #define HAVE_PTHREAD_CANCEL 1
39423 _ACEOF
39424
39425 else
39426 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39427 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39428 fi
39429
39430
39431 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39432 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39433 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39434 echo $ECHO_N "(cached) $ECHO_C" >&6
39435 else
39436 cat >conftest.$ac_ext <<_ACEOF
39437 /* confdefs.h. */
39438 _ACEOF
39439 cat confdefs.h >>conftest.$ac_ext
39440 cat >>conftest.$ac_ext <<_ACEOF
39441 /* end confdefs.h. */
39442 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39444 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39445
39446 /* System header to define __stub macros and hopefully few prototypes,
39447 which can conflict with char pthread_mutex_timedlock (); below.
39448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39449 <limits.h> exists even on freestanding compilers. */
39450
39451 #ifdef __STDC__
39452 # include <limits.h>
39453 #else
39454 # include <assert.h>
39455 #endif
39456
39457 #undef pthread_mutex_timedlock
39458
39459 /* Override any GCC internal prototype to avoid an error.
39460 Use char because int might match the return type of a GCC
39461 builtin and then its argument prototype would still apply. */
39462 #ifdef __cplusplus
39463 extern "C"
39464 #endif
39465 char pthread_mutex_timedlock ();
39466 /* The GNU C library defines this for functions which it implements
39467 to always fail with ENOSYS. Some functions are actually named
39468 something starting with __ and the normal name is an alias. */
39469 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39470 choke me
39471 #endif
39472
39473 int
39474 main ()
39475 {
39476 return pthread_mutex_timedlock ();
39477 ;
39478 return 0;
39479 }
39480 _ACEOF
39481 rm -f conftest.$ac_objext conftest$ac_exeext
39482 if { (ac_try="$ac_link"
39483 case "(($ac_try" in
39484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39485 *) ac_try_echo=$ac_try;;
39486 esac
39487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39488 (eval "$ac_link") 2>conftest.er1
39489 ac_status=$?
39490 grep -v '^ *+' conftest.er1 >conftest.err
39491 rm -f conftest.er1
39492 cat conftest.err >&5
39493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39494 (exit $ac_status); } && {
39495 test -z "$ac_c_werror_flag" ||
39496 test ! -s conftest.err
39497 } && test -s conftest$ac_exeext &&
39498 $as_test_x conftest$ac_exeext; then
39499 ac_cv_func_pthread_mutex_timedlock=yes
39500 else
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39503
39504 ac_cv_func_pthread_mutex_timedlock=no
39505 fi
39506
39507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39508 conftest$ac_exeext conftest.$ac_ext
39509 fi
39510 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39511 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39512 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39513 cat >>confdefs.h <<\_ACEOF
39514 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39515 _ACEOF
39516
39517 else
39518 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39519 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39520 fi
39521
39522
39523 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39524 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39525 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39526 echo $ECHO_N "(cached) $ECHO_C" >&6
39527 else
39528 cat >conftest.$ac_ext <<_ACEOF
39529 /* confdefs.h. */
39530 _ACEOF
39531 cat confdefs.h >>conftest.$ac_ext
39532 cat >>conftest.$ac_ext <<_ACEOF
39533 /* end confdefs.h. */
39534 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39536 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39537
39538 /* System header to define __stub macros and hopefully few prototypes,
39539 which can conflict with char pthread_attr_setstacksize (); below.
39540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39541 <limits.h> exists even on freestanding compilers. */
39542
39543 #ifdef __STDC__
39544 # include <limits.h>
39545 #else
39546 # include <assert.h>
39547 #endif
39548
39549 #undef pthread_attr_setstacksize
39550
39551 /* Override any GCC internal prototype to avoid an error.
39552 Use char because int might match the return type of a GCC
39553 builtin and then its argument prototype would still apply. */
39554 #ifdef __cplusplus
39555 extern "C"
39556 #endif
39557 char pthread_attr_setstacksize ();
39558 /* The GNU C library defines this for functions which it implements
39559 to always fail with ENOSYS. Some functions are actually named
39560 something starting with __ and the normal name is an alias. */
39561 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39562 choke me
39563 #endif
39564
39565 int
39566 main ()
39567 {
39568 return pthread_attr_setstacksize ();
39569 ;
39570 return 0;
39571 }
39572 _ACEOF
39573 rm -f conftest.$ac_objext conftest$ac_exeext
39574 if { (ac_try="$ac_link"
39575 case "(($ac_try" in
39576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39577 *) ac_try_echo=$ac_try;;
39578 esac
39579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39580 (eval "$ac_link") 2>conftest.er1
39581 ac_status=$?
39582 grep -v '^ *+' conftest.er1 >conftest.err
39583 rm -f conftest.er1
39584 cat conftest.err >&5
39585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39586 (exit $ac_status); } && {
39587 test -z "$ac_c_werror_flag" ||
39588 test ! -s conftest.err
39589 } && test -s conftest$ac_exeext &&
39590 $as_test_x conftest$ac_exeext; then
39591 ac_cv_func_pthread_attr_setstacksize=yes
39592 else
39593 echo "$as_me: failed program was:" >&5
39594 sed 's/^/| /' conftest.$ac_ext >&5
39595
39596 ac_cv_func_pthread_attr_setstacksize=no
39597 fi
39598
39599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39600 conftest$ac_exeext conftest.$ac_ext
39601 fi
39602 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39603 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39604 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39605 cat >>confdefs.h <<\_ACEOF
39606 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39607 _ACEOF
39608
39609 fi
39610
39611
39612
39613 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39614 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39615 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39616 echo $ECHO_N "(cached) $ECHO_C" >&6
39617 else
39618
39619 cat >conftest.$ac_ext <<_ACEOF
39620 /* confdefs.h. */
39621 _ACEOF
39622 cat confdefs.h >>conftest.$ac_ext
39623 cat >>conftest.$ac_ext <<_ACEOF
39624 /* end confdefs.h. */
39625 #include <pthread.h>
39626 int
39627 main ()
39628 {
39629
39630 pthread_mutexattr_t attr;
39631 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39632
39633 ;
39634 return 0;
39635 }
39636 _ACEOF
39637 rm -f conftest.$ac_objext
39638 if { (ac_try="$ac_compile"
39639 case "(($ac_try" in
39640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39641 *) ac_try_echo=$ac_try;;
39642 esac
39643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39644 (eval "$ac_compile") 2>conftest.er1
39645 ac_status=$?
39646 grep -v '^ *+' conftest.er1 >conftest.err
39647 rm -f conftest.er1
39648 cat conftest.err >&5
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); } && {
39651 test -z "$ac_c_werror_flag" ||
39652 test ! -s conftest.err
39653 } && test -s conftest.$ac_objext; then
39654 wx_cv_type_pthread_mutexattr_t=yes
39655 else
39656 echo "$as_me: failed program was:" >&5
39657 sed 's/^/| /' conftest.$ac_ext >&5
39658
39659 wx_cv_type_pthread_mutexattr_t=no
39660
39661 fi
39662
39663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39664
39665 fi
39666 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39667 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39668
39669 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39670 cat >>confdefs.h <<\_ACEOF
39671 #define HAVE_PTHREAD_MUTEXATTR_T 1
39672 _ACEOF
39673
39674
39675 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39676 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39677 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39678 echo $ECHO_N "(cached) $ECHO_C" >&6
39679 else
39680
39681 cat >conftest.$ac_ext <<_ACEOF
39682 /* confdefs.h. */
39683 _ACEOF
39684 cat confdefs.h >>conftest.$ac_ext
39685 cat >>conftest.$ac_ext <<_ACEOF
39686 /* end confdefs.h. */
39687 #include <pthread.h>
39688 int
39689 main ()
39690 {
39691
39692 pthread_mutexattr_t attr;
39693 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39694
39695 ;
39696 return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext
39700 if { (ac_try="$ac_compile"
39701 case "(($ac_try" in
39702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39703 *) ac_try_echo=$ac_try;;
39704 esac
39705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39706 (eval "$ac_compile") 2>conftest.er1
39707 ac_status=$?
39708 grep -v '^ *+' conftest.er1 >conftest.err
39709 rm -f conftest.er1
39710 cat conftest.err >&5
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); } && {
39713 test -z "$ac_c_werror_flag" ||
39714 test ! -s conftest.err
39715 } && test -s conftest.$ac_objext; then
39716 wx_cv_func_pthread_mutexattr_settype_decl=yes
39717 else
39718 echo "$as_me: failed program was:" >&5
39719 sed 's/^/| /' conftest.$ac_ext >&5
39720
39721 wx_cv_func_pthread_mutexattr_settype_decl=no
39722
39723 fi
39724
39725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39726
39727 fi
39728 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39729 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39730 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39731 cat >>confdefs.h <<\_ACEOF
39732 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39733 _ACEOF
39734
39735 fi
39736 else
39737 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39738 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39739 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39740 echo $ECHO_N "(cached) $ECHO_C" >&6
39741 else
39742
39743 cat >conftest.$ac_ext <<_ACEOF
39744 /* confdefs.h. */
39745 _ACEOF
39746 cat confdefs.h >>conftest.$ac_ext
39747 cat >>conftest.$ac_ext <<_ACEOF
39748 /* end confdefs.h. */
39749 #include <pthread.h>
39750 int
39751 main ()
39752 {
39753
39754 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39755
39756 ;
39757 return 0;
39758 }
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (ac_try="$ac_compile"
39762 case "(($ac_try" in
39763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39764 *) ac_try_echo=$ac_try;;
39765 esac
39766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39767 (eval "$ac_compile") 2>conftest.er1
39768 ac_status=$?
39769 grep -v '^ *+' conftest.er1 >conftest.err
39770 rm -f conftest.er1
39771 cat conftest.err >&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } && {
39774 test -z "$ac_c_werror_flag" ||
39775 test ! -s conftest.err
39776 } && test -s conftest.$ac_objext; then
39777
39778 wx_cv_type_pthread_rec_mutex_init=yes
39779
39780 else
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39783
39784
39785 wx_cv_type_pthread_rec_mutex_init=no
39786
39787
39788 fi
39789
39790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39791
39792 fi
39793 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39794 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39795 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39796 cat >>confdefs.h <<\_ACEOF
39797 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39798 _ACEOF
39799
39800 else
39801 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39802 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39803 fi
39804 fi
39805 fi
39806
39807 else
39808 if test "$wxUSE_THREADS" = "yes" ; then
39809 case "${host}" in
39810 *-*-mingw32* )
39811 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39812 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39813 if test "${wx_cv_cflags_mthread+set}" = set; then
39814 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 else
39816
39817 CFLAGS_OLD="$CFLAGS"
39818 CFLAGS="-mthreads $CFLAGS"
39819 cat >conftest.$ac_ext <<_ACEOF
39820 /* confdefs.h. */
39821 _ACEOF
39822 cat confdefs.h >>conftest.$ac_ext
39823 cat >>conftest.$ac_ext <<_ACEOF
39824 /* end confdefs.h. */
39825
39826 int
39827 main ()
39828 {
39829
39830 ;
39831 return 0;
39832 }
39833 _ACEOF
39834 rm -f conftest.$ac_objext
39835 if { (ac_try="$ac_compile"
39836 case "(($ac_try" in
39837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39838 *) ac_try_echo=$ac_try;;
39839 esac
39840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39841 (eval "$ac_compile") 2>conftest.er1
39842 ac_status=$?
39843 grep -v '^ *+' conftest.er1 >conftest.err
39844 rm -f conftest.er1
39845 cat conftest.err >&5
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); } && {
39848 test -z "$ac_c_werror_flag" ||
39849 test ! -s conftest.err
39850 } && test -s conftest.$ac_objext; then
39851 wx_cv_cflags_mthread=yes
39852 else
39853 echo "$as_me: failed program was:" >&5
39854 sed 's/^/| /' conftest.$ac_ext >&5
39855
39856 wx_cv_cflags_mthread=no
39857
39858 fi
39859
39860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39861
39862
39863 fi
39864 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39865 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39866
39867 if test "$wx_cv_cflags_mthread" = "yes"; then
39868 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39869 LDFLAGS="$LDFLAGS -mthreads"
39870 else
39871 CFLAGS="$CFLAGS_OLD"
39872 fi
39873 ;;
39874 *-pc-os2*emx )
39875 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39876 LDFLAGS="$LDFLAGS -Zmt"
39877 ;;
39878 esac
39879 fi
39880 fi
39881
39882 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39883 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39884 if test "${ac_cv_func_localtime_r+set}" = set; then
39885 echo $ECHO_N "(cached) $ECHO_C" >&6
39886 else
39887 cat >conftest.$ac_ext <<_ACEOF
39888 /* confdefs.h. */
39889 _ACEOF
39890 cat confdefs.h >>conftest.$ac_ext
39891 cat >>conftest.$ac_ext <<_ACEOF
39892 /* end confdefs.h. */
39893 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39895 #define localtime_r innocuous_localtime_r
39896
39897 /* System header to define __stub macros and hopefully few prototypes,
39898 which can conflict with char localtime_r (); below.
39899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39900 <limits.h> exists even on freestanding compilers. */
39901
39902 #ifdef __STDC__
39903 # include <limits.h>
39904 #else
39905 # include <assert.h>
39906 #endif
39907
39908 #undef localtime_r
39909
39910 /* Override any GCC internal prototype to avoid an error.
39911 Use char because int might match the return type of a GCC
39912 builtin and then its argument prototype would still apply. */
39913 #ifdef __cplusplus
39914 extern "C"
39915 #endif
39916 char localtime_r ();
39917 /* The GNU C library defines this for functions which it implements
39918 to always fail with ENOSYS. Some functions are actually named
39919 something starting with __ and the normal name is an alias. */
39920 #if defined __stub_localtime_r || defined __stub___localtime_r
39921 choke me
39922 #endif
39923
39924 int
39925 main ()
39926 {
39927 return localtime_r ();
39928 ;
39929 return 0;
39930 }
39931 _ACEOF
39932 rm -f conftest.$ac_objext conftest$ac_exeext
39933 if { (ac_try="$ac_link"
39934 case "(($ac_try" in
39935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39936 *) ac_try_echo=$ac_try;;
39937 esac
39938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39939 (eval "$ac_link") 2>conftest.er1
39940 ac_status=$?
39941 grep -v '^ *+' conftest.er1 >conftest.err
39942 rm -f conftest.er1
39943 cat conftest.err >&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } && {
39946 test -z "$ac_c_werror_flag" ||
39947 test ! -s conftest.err
39948 } && test -s conftest$ac_exeext &&
39949 $as_test_x conftest$ac_exeext; then
39950 ac_cv_func_localtime_r=yes
39951 else
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39954
39955 ac_cv_func_localtime_r=no
39956 fi
39957
39958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39959 conftest$ac_exeext conftest.$ac_ext
39960 fi
39961 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39962 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39963 if test $ac_cv_func_localtime_r = yes; then
39964 cat >>confdefs.h <<\_ACEOF
39965 #define HAVE_LOCALTIME_R 1
39966 _ACEOF
39967
39968 fi
39969
39970 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39971 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39972 if test "${ac_cv_func_gmtime_r+set}" = set; then
39973 echo $ECHO_N "(cached) $ECHO_C" >&6
39974 else
39975 cat >conftest.$ac_ext <<_ACEOF
39976 /* confdefs.h. */
39977 _ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39981 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39983 #define gmtime_r innocuous_gmtime_r
39984
39985 /* System header to define __stub macros and hopefully few prototypes,
39986 which can conflict with char gmtime_r (); below.
39987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39988 <limits.h> exists even on freestanding compilers. */
39989
39990 #ifdef __STDC__
39991 # include <limits.h>
39992 #else
39993 # include <assert.h>
39994 #endif
39995
39996 #undef gmtime_r
39997
39998 /* Override any GCC internal prototype to avoid an error.
39999 Use char because int might match the return type of a GCC
40000 builtin and then its argument prototype would still apply. */
40001 #ifdef __cplusplus
40002 extern "C"
40003 #endif
40004 char gmtime_r ();
40005 /* The GNU C library defines this for functions which it implements
40006 to always fail with ENOSYS. Some functions are actually named
40007 something starting with __ and the normal name is an alias. */
40008 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40009 choke me
40010 #endif
40011
40012 int
40013 main ()
40014 {
40015 return gmtime_r ();
40016 ;
40017 return 0;
40018 }
40019 _ACEOF
40020 rm -f conftest.$ac_objext conftest$ac_exeext
40021 if { (ac_try="$ac_link"
40022 case "(($ac_try" in
40023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40024 *) ac_try_echo=$ac_try;;
40025 esac
40026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40027 (eval "$ac_link") 2>conftest.er1
40028 ac_status=$?
40029 grep -v '^ *+' conftest.er1 >conftest.err
40030 rm -f conftest.er1
40031 cat conftest.err >&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } && {
40034 test -z "$ac_c_werror_flag" ||
40035 test ! -s conftest.err
40036 } && test -s conftest$ac_exeext &&
40037 $as_test_x conftest$ac_exeext; then
40038 ac_cv_func_gmtime_r=yes
40039 else
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40042
40043 ac_cv_func_gmtime_r=no
40044 fi
40045
40046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40047 conftest$ac_exeext conftest.$ac_ext
40048 fi
40049 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40050 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40051 if test $ac_cv_func_gmtime_r = yes; then
40052 cat >>confdefs.h <<\_ACEOF
40053 #define HAVE_GMTIME_R 1
40054 _ACEOF
40055
40056 fi
40057
40058
40059
40060
40061 ac_ext=c
40062 ac_cpp='$CPP $CPPFLAGS'
40063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40066
40067 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40068 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40069
40070 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40073
40074
40075 ################################################################
40076
40077 ac_cv_func_which_gethostbyname_r=unknown
40078
40079 #
40080 # ONE ARGUMENT (sanity check)
40081 #
40082
40083 # This should fail, as there is no variant of gethostbyname_r() that takes
40084 # a single argument. If it actually compiles, then we can assume that
40085 # netdb.h is not declaring the function, and the compiler is thereby
40086 # assuming an implicit prototype. In which case, we're out of luck.
40087 #
40088 cat >conftest.$ac_ext <<_ACEOF
40089 /* confdefs.h. */
40090 _ACEOF
40091 cat confdefs.h >>conftest.$ac_ext
40092 cat >>conftest.$ac_ext <<_ACEOF
40093 /* end confdefs.h. */
40094 #include <netdb.h>
40095 int
40096 main ()
40097 {
40098
40099 char *name = "www.gnu.org";
40100 (void)gethostbyname_r(name) /* ; */
40101
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext
40107 if { (ac_try="$ac_compile"
40108 case "(($ac_try" in
40109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40110 *) ac_try_echo=$ac_try;;
40111 esac
40112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40113 (eval "$ac_compile") 2>conftest.er1
40114 ac_status=$?
40115 grep -v '^ *+' conftest.er1 >conftest.err
40116 rm -f conftest.er1
40117 cat conftest.err >&5
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); } && {
40120 test -z "$ac_c_werror_flag" ||
40121 test ! -s conftest.err
40122 } && test -s conftest.$ac_objext; then
40123 ac_cv_func_which_gethostbyname_r=no
40124 else
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40127
40128
40129 fi
40130
40131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40132
40133 #
40134 # SIX ARGUMENTS
40135 # (e.g. Linux)
40136 #
40137
40138 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40139
40140 cat >conftest.$ac_ext <<_ACEOF
40141 /* confdefs.h. */
40142 _ACEOF
40143 cat confdefs.h >>conftest.$ac_ext
40144 cat >>conftest.$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40146 #include <netdb.h>
40147 int
40148 main ()
40149 {
40150
40151 char *name = "www.gnu.org";
40152 struct hostent ret, *retp;
40153 char buf[1024];
40154 int buflen = 1024;
40155 int my_h_errno;
40156 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40157
40158 ;
40159 return 0;
40160 }
40161 _ACEOF
40162 rm -f conftest.$ac_objext
40163 if { (ac_try="$ac_compile"
40164 case "(($ac_try" in
40165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40166 *) ac_try_echo=$ac_try;;
40167 esac
40168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40169 (eval "$ac_compile") 2>conftest.er1
40170 ac_status=$?
40171 grep -v '^ *+' conftest.er1 >conftest.err
40172 rm -f conftest.er1
40173 cat conftest.err >&5
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); } && {
40176 test -z "$ac_c_werror_flag" ||
40177 test ! -s conftest.err
40178 } && test -s conftest.$ac_objext; then
40179 ac_cv_func_which_gethostbyname_r=six
40180 else
40181 echo "$as_me: failed program was:" >&5
40182 sed 's/^/| /' conftest.$ac_ext >&5
40183
40184
40185 fi
40186
40187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40188
40189 fi
40190
40191 #
40192 # FIVE ARGUMENTS
40193 # (e.g. Solaris)
40194 #
40195
40196 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40197
40198 cat >conftest.$ac_ext <<_ACEOF
40199 /* confdefs.h. */
40200 _ACEOF
40201 cat confdefs.h >>conftest.$ac_ext
40202 cat >>conftest.$ac_ext <<_ACEOF
40203 /* end confdefs.h. */
40204 #include <netdb.h>
40205 int
40206 main ()
40207 {
40208
40209 char *name = "www.gnu.org";
40210 struct hostent ret;
40211 char buf[1024];
40212 int buflen = 1024;
40213 int my_h_errno;
40214 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40215
40216 ;
40217 return 0;
40218 }
40219 _ACEOF
40220 rm -f conftest.$ac_objext
40221 if { (ac_try="$ac_compile"
40222 case "(($ac_try" in
40223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40224 *) ac_try_echo=$ac_try;;
40225 esac
40226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40227 (eval "$ac_compile") 2>conftest.er1
40228 ac_status=$?
40229 grep -v '^ *+' conftest.er1 >conftest.err
40230 rm -f conftest.er1
40231 cat conftest.err >&5
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); } && {
40234 test -z "$ac_c_werror_flag" ||
40235 test ! -s conftest.err
40236 } && test -s conftest.$ac_objext; then
40237 ac_cv_func_which_gethostbyname_r=five
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242
40243 fi
40244
40245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40246
40247 fi
40248
40249 #
40250 # THREE ARGUMENTS
40251 # (e.g. AIX, HP-UX, Tru64)
40252 #
40253
40254 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40255
40256 cat >conftest.$ac_ext <<_ACEOF
40257 /* confdefs.h. */
40258 _ACEOF
40259 cat confdefs.h >>conftest.$ac_ext
40260 cat >>conftest.$ac_ext <<_ACEOF
40261 /* end confdefs.h. */
40262 #include <netdb.h>
40263 int
40264 main ()
40265 {
40266
40267 char *name = "www.gnu.org";
40268 struct hostent ret;
40269 struct hostent_data data;
40270 (void)gethostbyname_r(name, &ret, &data) /* ; */
40271
40272 ;
40273 return 0;
40274 }
40275 _ACEOF
40276 rm -f conftest.$ac_objext
40277 if { (ac_try="$ac_compile"
40278 case "(($ac_try" in
40279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40280 *) ac_try_echo=$ac_try;;
40281 esac
40282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40283 (eval "$ac_compile") 2>conftest.er1
40284 ac_status=$?
40285 grep -v '^ *+' conftest.er1 >conftest.err
40286 rm -f conftest.er1
40287 cat conftest.err >&5
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); } && {
40290 test -z "$ac_c_werror_flag" ||
40291 test ! -s conftest.err
40292 } && test -s conftest.$ac_objext; then
40293 ac_cv_func_which_gethostbyname_r=three
40294 else
40295 echo "$as_me: failed program was:" >&5
40296 sed 's/^/| /' conftest.$ac_ext >&5
40297
40298
40299 fi
40300
40301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40302
40303 fi
40304
40305 ################################################################
40306
40307
40308 fi
40309
40310 case "$ac_cv_func_which_gethostbyname_r" in
40311 three)
40312 { echo "$as_me:$LINENO: result: three" >&5
40313 echo "${ECHO_T}three" >&6; }
40314 cat >>confdefs.h <<\_ACEOF
40315 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40316 _ACEOF
40317
40318 ;;
40319
40320 five)
40321 { echo "$as_me:$LINENO: result: five" >&5
40322 echo "${ECHO_T}five" >&6; }
40323 cat >>confdefs.h <<\_ACEOF
40324 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40325 _ACEOF
40326
40327 ;;
40328
40329 six)
40330 { echo "$as_me:$LINENO: result: six" >&5
40331 echo "${ECHO_T}six" >&6; }
40332 cat >>confdefs.h <<\_ACEOF
40333 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40334 _ACEOF
40335
40336 ;;
40337
40338 no)
40339 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40340 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40341 ;;
40342
40343 unknown)
40344 { echo "$as_me:$LINENO: result: can't tell" >&5
40345 echo "${ECHO_T}can't tell" >&6; }
40346 ;;
40347
40348 *)
40349 { { echo "$as_me:$LINENO: error: internal error" >&5
40350 echo "$as_me: error: internal error" >&2;}
40351 { (exit 1); exit 1; }; }
40352 ;;
40353 esac
40354
40355 ac_ext=c
40356 ac_cpp='$CPP $CPPFLAGS'
40357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40360
40361
40362
40363 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40364 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40365 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40366 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40367 if test "${ac_cv_func_gethostbyname+set}" = set; then
40368 echo $ECHO_N "(cached) $ECHO_C" >&6
40369 else
40370 cat >conftest.$ac_ext <<_ACEOF
40371 /* confdefs.h. */
40372 _ACEOF
40373 cat confdefs.h >>conftest.$ac_ext
40374 cat >>conftest.$ac_ext <<_ACEOF
40375 /* end confdefs.h. */
40376 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40378 #define gethostbyname innocuous_gethostbyname
40379
40380 /* System header to define __stub macros and hopefully few prototypes,
40381 which can conflict with char gethostbyname (); below.
40382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40383 <limits.h> exists even on freestanding compilers. */
40384
40385 #ifdef __STDC__
40386 # include <limits.h>
40387 #else
40388 # include <assert.h>
40389 #endif
40390
40391 #undef gethostbyname
40392
40393 /* Override any GCC internal prototype to avoid an error.
40394 Use char because int might match the return type of a GCC
40395 builtin and then its argument prototype would still apply. */
40396 #ifdef __cplusplus
40397 extern "C"
40398 #endif
40399 char gethostbyname ();
40400 /* The GNU C library defines this for functions which it implements
40401 to always fail with ENOSYS. Some functions are actually named
40402 something starting with __ and the normal name is an alias. */
40403 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40404 choke me
40405 #endif
40406
40407 int
40408 main ()
40409 {
40410 return gethostbyname ();
40411 ;
40412 return 0;
40413 }
40414 _ACEOF
40415 rm -f conftest.$ac_objext conftest$ac_exeext
40416 if { (ac_try="$ac_link"
40417 case "(($ac_try" in
40418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40419 *) ac_try_echo=$ac_try;;
40420 esac
40421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40422 (eval "$ac_link") 2>conftest.er1
40423 ac_status=$?
40424 grep -v '^ *+' conftest.er1 >conftest.err
40425 rm -f conftest.er1
40426 cat conftest.err >&5
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); } && {
40429 test -z "$ac_c_werror_flag" ||
40430 test ! -s conftest.err
40431 } && test -s conftest$ac_exeext &&
40432 $as_test_x conftest$ac_exeext; then
40433 ac_cv_func_gethostbyname=yes
40434 else
40435 echo "$as_me: failed program was:" >&5
40436 sed 's/^/| /' conftest.$ac_ext >&5
40437
40438 ac_cv_func_gethostbyname=no
40439 fi
40440
40441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40442 conftest$ac_exeext conftest.$ac_ext
40443 fi
40444 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40445 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40446 if test $ac_cv_func_gethostbyname = yes; then
40447 cat >>confdefs.h <<\_ACEOF
40448 #define HAVE_GETHOSTBYNAME 1
40449 _ACEOF
40450
40451 fi
40452
40453 fi
40454
40455 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40456 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40457 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40458 echo $ECHO_N "(cached) $ECHO_C" >&6
40459 else
40460
40461 ac_ext=cpp
40462 ac_cpp='$CXXCPP $CPPFLAGS'
40463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40466
40467
40468 cat >conftest.$ac_ext <<_ACEOF
40469 /* confdefs.h. */
40470 _ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40474 #include <netdb.h>
40475 int
40476 main ()
40477 {
40478
40479 char *name;
40480 char *proto;
40481 struct servent *se, *res;
40482 char buffer[2048];
40483 int buflen = 2048;
40484 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40485
40486 ;
40487 return 0;
40488 }
40489 _ACEOF
40490 rm -f conftest.$ac_objext
40491 if { (ac_try="$ac_compile"
40492 case "(($ac_try" in
40493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40494 *) ac_try_echo=$ac_try;;
40495 esac
40496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40497 (eval "$ac_compile") 2>conftest.er1
40498 ac_status=$?
40499 grep -v '^ *+' conftest.er1 >conftest.err
40500 rm -f conftest.er1
40501 cat conftest.err >&5
40502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40503 (exit $ac_status); } && {
40504 test -z "$ac_cxx_werror_flag" ||
40505 test ! -s conftest.err
40506 } && test -s conftest.$ac_objext; then
40507 ac_cv_func_which_getservbyname_r=six
40508 else
40509 echo "$as_me: failed program was:" >&5
40510 sed 's/^/| /' conftest.$ac_ext >&5
40511
40512
40513 cat >conftest.$ac_ext <<_ACEOF
40514 /* confdefs.h. */
40515 _ACEOF
40516 cat confdefs.h >>conftest.$ac_ext
40517 cat >>conftest.$ac_ext <<_ACEOF
40518 /* end confdefs.h. */
40519 #include <netdb.h>
40520 int
40521 main ()
40522 {
40523
40524 char *name;
40525 char *proto;
40526 struct servent *se;
40527 char buffer[2048];
40528 int buflen = 2048;
40529 (void) getservbyname_r(name, proto, se, buffer, buflen)
40530
40531 ;
40532 return 0;
40533 }
40534 _ACEOF
40535 rm -f conftest.$ac_objext
40536 if { (ac_try="$ac_compile"
40537 case "(($ac_try" in
40538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40539 *) ac_try_echo=$ac_try;;
40540 esac
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_compile") 2>conftest.er1
40543 ac_status=$?
40544 grep -v '^ *+' conftest.er1 >conftest.err
40545 rm -f conftest.er1
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_cxx_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest.$ac_objext; then
40552 ac_cv_func_which_getservbyname_r=five
40553 else
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40556
40557
40558 cat >conftest.$ac_ext <<_ACEOF
40559 /* confdefs.h. */
40560 _ACEOF
40561 cat confdefs.h >>conftest.$ac_ext
40562 cat >>conftest.$ac_ext <<_ACEOF
40563 /* end confdefs.h. */
40564 #include <netdb.h>
40565 int
40566 main ()
40567 {
40568
40569 char *name;
40570 char *proto;
40571 struct servent *se;
40572 struct servent_data data;
40573 (void) getservbyname_r(name, proto, se, &data);
40574
40575 ;
40576 return 0;
40577 }
40578 _ACEOF
40579 rm -f conftest.$ac_objext
40580 if { (ac_try="$ac_compile"
40581 case "(($ac_try" in
40582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40583 *) ac_try_echo=$ac_try;;
40584 esac
40585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40586 (eval "$ac_compile") 2>conftest.er1
40587 ac_status=$?
40588 grep -v '^ *+' conftest.er1 >conftest.err
40589 rm -f conftest.er1
40590 cat conftest.err >&5
40591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40592 (exit $ac_status); } && {
40593 test -z "$ac_cxx_werror_flag" ||
40594 test ! -s conftest.err
40595 } && test -s conftest.$ac_objext; then
40596 ac_cv_func_which_getservbyname_r=four
40597 else
40598 echo "$as_me: failed program was:" >&5
40599 sed 's/^/| /' conftest.$ac_ext >&5
40600
40601 ac_cv_func_which_getservbyname_r=no
40602
40603 fi
40604
40605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40606
40607
40608 fi
40609
40610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40611
40612
40613 fi
40614
40615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40616 ac_ext=c
40617 ac_cpp='$CPP $CPPFLAGS'
40618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40621
40622
40623
40624 fi
40625 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40626 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40627
40628 if test $ac_cv_func_which_getservbyname_r = six; then
40629 cat >>confdefs.h <<\_ACEOF
40630 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40631 _ACEOF
40632
40633 elif test $ac_cv_func_which_getservbyname_r = five; then
40634 cat >>confdefs.h <<\_ACEOF
40635 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40636 _ACEOF
40637
40638 elif test $ac_cv_func_which_getservbyname_r = four; then
40639 cat >>confdefs.h <<\_ACEOF
40640 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40641 _ACEOF
40642
40643 fi
40644
40645
40646 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40647 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40648
40649 for ac_func in getservbyname
40650 do
40651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 else
40657 cat >conftest.$ac_ext <<_ACEOF
40658 /* confdefs.h. */
40659 _ACEOF
40660 cat confdefs.h >>conftest.$ac_ext
40661 cat >>conftest.$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40665 #define $ac_func innocuous_$ac_func
40666
40667 /* System header to define __stub macros and hopefully few prototypes,
40668 which can conflict with char $ac_func (); below.
40669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40670 <limits.h> exists even on freestanding compilers. */
40671
40672 #ifdef __STDC__
40673 # include <limits.h>
40674 #else
40675 # include <assert.h>
40676 #endif
40677
40678 #undef $ac_func
40679
40680 /* Override any GCC internal prototype to avoid an error.
40681 Use char because int might match the return type of a GCC
40682 builtin and then its argument prototype would still apply. */
40683 #ifdef __cplusplus
40684 extern "C"
40685 #endif
40686 char $ac_func ();
40687 /* The GNU C library defines this for functions which it implements
40688 to always fail with ENOSYS. Some functions are actually named
40689 something starting with __ and the normal name is an alias. */
40690 #if defined __stub_$ac_func || defined __stub___$ac_func
40691 choke me
40692 #endif
40693
40694 int
40695 main ()
40696 {
40697 return $ac_func ();
40698 ;
40699 return 0;
40700 }
40701 _ACEOF
40702 rm -f conftest.$ac_objext conftest$ac_exeext
40703 if { (ac_try="$ac_link"
40704 case "(($ac_try" in
40705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40706 *) ac_try_echo=$ac_try;;
40707 esac
40708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40709 (eval "$ac_link") 2>conftest.er1
40710 ac_status=$?
40711 grep -v '^ *+' conftest.er1 >conftest.err
40712 rm -f conftest.er1
40713 cat conftest.err >&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } && {
40716 test -z "$ac_c_werror_flag" ||
40717 test ! -s conftest.err
40718 } && test -s conftest$ac_exeext &&
40719 $as_test_x conftest$ac_exeext; then
40720 eval "$as_ac_var=yes"
40721 else
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.$ac_ext >&5
40724
40725 eval "$as_ac_var=no"
40726 fi
40727
40728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40729 conftest$ac_exeext conftest.$ac_ext
40730 fi
40731 ac_res=`eval echo '${'$as_ac_var'}'`
40732 { echo "$as_me:$LINENO: result: $ac_res" >&5
40733 echo "${ECHO_T}$ac_res" >&6; }
40734 if test `eval echo '${'$as_ac_var'}'` = yes; then
40735 cat >>confdefs.h <<_ACEOF
40736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40737 _ACEOF
40738 cat >>confdefs.h <<\_ACEOF
40739 #define HAVE_GETSERVBYNAME 1
40740 _ACEOF
40741
40742 fi
40743 done
40744
40745 fi
40746
40747 if test "$wxUSE_THREADS" = "yes"; then
40748 cat >>confdefs.h <<\_ACEOF
40749 #define wxUSE_THREADS 1
40750 _ACEOF
40751
40752
40753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40754 else
40755 if test "$wx_cv_func_strtok_r" = "yes"; then
40756 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40757 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40758 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40759 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40760 { echo "$as_me:$LINENO: result: yes" >&5
40761 echo "${ECHO_T}yes" >&6; }
40762 else
40763 { echo "$as_me:$LINENO: result: no" >&5
40764 echo "${ECHO_T}no" >&6; }
40765 fi
40766 fi
40767 fi
40768
40769 if test "$WXGTK2" = 1 ; then
40770 cat >>confdefs.h <<_ACEOF
40771 #define __WXGTK20__ $WXGTK2
40772 _ACEOF
40773
40774 WXGTK12=1
40775 fi
40776
40777 if test "$WXGTK12" = 1 ; then
40778 cat >>confdefs.h <<_ACEOF
40779 #define __WXGTK12__ $WXGTK12
40780 _ACEOF
40781
40782 fi
40783
40784 if test "$WXGTK127" = 1 ; then
40785 cat >>confdefs.h <<_ACEOF
40786 #define __WXGTK127__ $WXGTK127
40787 _ACEOF
40788
40789 fi
40790
40791 if test "$WXGPE" = 1 ; then
40792 cat >>confdefs.h <<_ACEOF
40793 #define __WXGPE__ $WXGPE
40794 _ACEOF
40795
40796 fi
40797
40798 DEBUG_CFLAGS=
40799 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40800 DEBUG_CFLAGS="-g"
40801 wxUSE_OPTIMISE=no
40802 fi
40803
40804 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40805 wxUSE_DEBUG_INFO=yes
40806 if test "$GCC" = yes; then
40807 DEBUG_CFLAGS="-ggdb"
40808 fi
40809 fi
40810
40811 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40812 cat >>confdefs.h <<\_ACEOF
40813 #define WXDEBUG 1
40814 _ACEOF
40815
40816 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40817 else
40818 if test "$wxUSE_GTK" = 1 ; then
40819 if test "x$wxGTK_VERSION" = "x1" ; then
40820 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40821 fi
40822 fi
40823 fi
40824
40825 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40826 cat >>confdefs.h <<\_ACEOF
40827 #define wxUSE_MEMORY_TRACING 1
40828 _ACEOF
40829
40830 cat >>confdefs.h <<\_ACEOF
40831 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40832 _ACEOF
40833
40834 cat >>confdefs.h <<\_ACEOF
40835 #define wxUSE_DEBUG_NEW_ALWAYS 1
40836 _ACEOF
40837
40838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40839 fi
40840
40841 if test "$wxUSE_DMALLOC" = "yes" ; then
40842 DMALLOC_LIBS="-ldmallocthcxx"
40843 fi
40844
40845 PROFILE_FLAGS=
40846 if test "$wxUSE_PROFILE" = "yes" ; then
40847 PROFILE_FLAGS=" -pg"
40848 fi
40849
40850 if test "$GCC" = "yes" ; then
40851 if test "$wxUSE_NO_RTTI" = "yes" ; then
40852 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40853 fi
40854 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40855 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40856 fi
40857 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40858 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40859 fi
40860
40861 case "${host}" in
40862 powerpc*-*-aix* )
40863 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40864 ;;
40865 *-hppa* )
40866 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40867 ;;
40868 esac
40869 fi
40870
40871 OPTIMISE_CFLAGS=
40872 if test "$wxUSE_OPTIMISE" = "no" ; then
40873 if test "$GCC" = yes ; then
40874 OPTIMISE_CFLAGS="-O0"
40875 fi
40876 else
40877 if test "$GCC" = yes ; then
40878 case "${host}" in
40879 *-pc-os2_emx | *-pc-os2-emx )
40880 OPTIMISE_CFLAGS="-O2"
40881 ;;
40882 *)
40883 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40884 ;;
40885 esac
40886 else
40887 OPTIMISE_CFLAGS="-O"
40888 fi
40889 fi
40890
40891
40892 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40893 cat >>confdefs.h <<\_ACEOF
40894 #define WXWIN_COMPATIBILITY_2_6 1
40895 _ACEOF
40896
40897
40898 WXWIN_COMPATIBILITY_2_8="yes"
40899 fi
40900
40901 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40902 cat >>confdefs.h <<\_ACEOF
40903 #define WXWIN_COMPATIBILITY_2_8 1
40904 _ACEOF
40905
40906 fi
40907
40908
40909 if test "$wxUSE_GUI" = "yes"; then
40910 cat >>confdefs.h <<\_ACEOF
40911 #define wxUSE_GUI 1
40912 _ACEOF
40913
40914
40915 fi
40916
40917
40918 if test "$wxUSE_UNIX" = "yes"; then
40919 cat >>confdefs.h <<\_ACEOF
40920 #define wxUSE_UNIX 1
40921 _ACEOF
40922
40923 fi
40924
40925
40926 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40927
40928 HAVE_DL_FUNCS=0
40929 HAVE_SHL_FUNCS=0
40930 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40931 if test "$USE_DARWIN" = 1; then
40932 HAVE_DL_FUNCS=1
40933 elif test "$USE_DOS" = 1; then
40934 HAVE_DL_FUNCS=0
40935 else
40936
40937 for ac_func in dlopen
40938 do
40939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 else
40945 cat >conftest.$ac_ext <<_ACEOF
40946 /* confdefs.h. */
40947 _ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h. */
40951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40953 #define $ac_func innocuous_$ac_func
40954
40955 /* System header to define __stub macros and hopefully few prototypes,
40956 which can conflict with char $ac_func (); below.
40957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40958 <limits.h> exists even on freestanding compilers. */
40959
40960 #ifdef __STDC__
40961 # include <limits.h>
40962 #else
40963 # include <assert.h>
40964 #endif
40965
40966 #undef $ac_func
40967
40968 /* Override any GCC internal prototype to avoid an error.
40969 Use char because int might match the return type of a GCC
40970 builtin and then its argument prototype would still apply. */
40971 #ifdef __cplusplus
40972 extern "C"
40973 #endif
40974 char $ac_func ();
40975 /* The GNU C library defines this for functions which it implements
40976 to always fail with ENOSYS. Some functions are actually named
40977 something starting with __ and the normal name is an alias. */
40978 #if defined __stub_$ac_func || defined __stub___$ac_func
40979 choke me
40980 #endif
40981
40982 int
40983 main ()
40984 {
40985 return $ac_func ();
40986 ;
40987 return 0;
40988 }
40989 _ACEOF
40990 rm -f conftest.$ac_objext conftest$ac_exeext
40991 if { (ac_try="$ac_link"
40992 case "(($ac_try" in
40993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40994 *) ac_try_echo=$ac_try;;
40995 esac
40996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40997 (eval "$ac_link") 2>conftest.er1
40998 ac_status=$?
40999 grep -v '^ *+' conftest.er1 >conftest.err
41000 rm -f conftest.er1
41001 cat conftest.err >&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); } && {
41004 test -z "$ac_c_werror_flag" ||
41005 test ! -s conftest.err
41006 } && test -s conftest$ac_exeext &&
41007 $as_test_x conftest$ac_exeext; then
41008 eval "$as_ac_var=yes"
41009 else
41010 echo "$as_me: failed program was:" >&5
41011 sed 's/^/| /' conftest.$ac_ext >&5
41012
41013 eval "$as_ac_var=no"
41014 fi
41015
41016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41017 conftest$ac_exeext conftest.$ac_ext
41018 fi
41019 ac_res=`eval echo '${'$as_ac_var'}'`
41020 { echo "$as_me:$LINENO: result: $ac_res" >&5
41021 echo "${ECHO_T}$ac_res" >&6; }
41022 if test `eval echo '${'$as_ac_var'}'` = yes; then
41023 cat >>confdefs.h <<_ACEOF
41024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41025 _ACEOF
41026
41027 cat >>confdefs.h <<\_ACEOF
41028 #define HAVE_DLOPEN 1
41029 _ACEOF
41030
41031 HAVE_DL_FUNCS=1
41032
41033 else
41034
41035 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41036 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41037 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41038 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 else
41040 ac_check_lib_save_LIBS=$LIBS
41041 LIBS="-ldl $LIBS"
41042 cat >conftest.$ac_ext <<_ACEOF
41043 /* confdefs.h. */
41044 _ACEOF
41045 cat confdefs.h >>conftest.$ac_ext
41046 cat >>conftest.$ac_ext <<_ACEOF
41047 /* end confdefs.h. */
41048
41049 /* Override any GCC internal prototype to avoid an error.
41050 Use char because int might match the return type of a GCC
41051 builtin and then its argument prototype would still apply. */
41052 #ifdef __cplusplus
41053 extern "C"
41054 #endif
41055 char dlopen ();
41056 int
41057 main ()
41058 {
41059 return dlopen ();
41060 ;
41061 return 0;
41062 }
41063 _ACEOF
41064 rm -f conftest.$ac_objext conftest$ac_exeext
41065 if { (ac_try="$ac_link"
41066 case "(($ac_try" in
41067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41068 *) ac_try_echo=$ac_try;;
41069 esac
41070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41071 (eval "$ac_link") 2>conftest.er1
41072 ac_status=$?
41073 grep -v '^ *+' conftest.er1 >conftest.err
41074 rm -f conftest.er1
41075 cat conftest.err >&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } && {
41078 test -z "$ac_c_werror_flag" ||
41079 test ! -s conftest.err
41080 } && test -s conftest$ac_exeext &&
41081 $as_test_x conftest$ac_exeext; then
41082 ac_cv_lib_dl_dlopen=yes
41083 else
41084 echo "$as_me: failed program was:" >&5
41085 sed 's/^/| /' conftest.$ac_ext >&5
41086
41087 ac_cv_lib_dl_dlopen=no
41088 fi
41089
41090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41091 conftest$ac_exeext conftest.$ac_ext
41092 LIBS=$ac_check_lib_save_LIBS
41093 fi
41094 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41095 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41096 if test $ac_cv_lib_dl_dlopen = yes; then
41097
41098 cat >>confdefs.h <<\_ACEOF
41099 #define HAVE_DLOPEN 1
41100 _ACEOF
41101
41102 HAVE_DL_FUNCS=1
41103 DL_LINK=" -ldl$DL_LINK"
41104
41105 else
41106
41107
41108 for ac_func in shl_load
41109 do
41110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41114 echo $ECHO_N "(cached) $ECHO_C" >&6
41115 else
41116 cat >conftest.$ac_ext <<_ACEOF
41117 /* confdefs.h. */
41118 _ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41124 #define $ac_func innocuous_$ac_func
41125
41126 /* System header to define __stub macros and hopefully few prototypes,
41127 which can conflict with char $ac_func (); below.
41128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41129 <limits.h> exists even on freestanding compilers. */
41130
41131 #ifdef __STDC__
41132 # include <limits.h>
41133 #else
41134 # include <assert.h>
41135 #endif
41136
41137 #undef $ac_func
41138
41139 /* Override any GCC internal prototype to avoid an error.
41140 Use char because int might match the return type of a GCC
41141 builtin and then its argument prototype would still apply. */
41142 #ifdef __cplusplus
41143 extern "C"
41144 #endif
41145 char $ac_func ();
41146 /* The GNU C library defines this for functions which it implements
41147 to always fail with ENOSYS. Some functions are actually named
41148 something starting with __ and the normal name is an alias. */
41149 #if defined __stub_$ac_func || defined __stub___$ac_func
41150 choke me
41151 #endif
41152
41153 int
41154 main ()
41155 {
41156 return $ac_func ();
41157 ;
41158 return 0;
41159 }
41160 _ACEOF
41161 rm -f conftest.$ac_objext conftest$ac_exeext
41162 if { (ac_try="$ac_link"
41163 case "(($ac_try" in
41164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41165 *) ac_try_echo=$ac_try;;
41166 esac
41167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41168 (eval "$ac_link") 2>conftest.er1
41169 ac_status=$?
41170 grep -v '^ *+' conftest.er1 >conftest.err
41171 rm -f conftest.er1
41172 cat conftest.err >&5
41173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41174 (exit $ac_status); } && {
41175 test -z "$ac_c_werror_flag" ||
41176 test ! -s conftest.err
41177 } && test -s conftest$ac_exeext &&
41178 $as_test_x conftest$ac_exeext; then
41179 eval "$as_ac_var=yes"
41180 else
41181 echo "$as_me: failed program was:" >&5
41182 sed 's/^/| /' conftest.$ac_ext >&5
41183
41184 eval "$as_ac_var=no"
41185 fi
41186
41187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41188 conftest$ac_exeext conftest.$ac_ext
41189 fi
41190 ac_res=`eval echo '${'$as_ac_var'}'`
41191 { echo "$as_me:$LINENO: result: $ac_res" >&5
41192 echo "${ECHO_T}$ac_res" >&6; }
41193 if test `eval echo '${'$as_ac_var'}'` = yes; then
41194 cat >>confdefs.h <<_ACEOF
41195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41196 _ACEOF
41197
41198 cat >>confdefs.h <<\_ACEOF
41199 #define HAVE_SHL_LOAD 1
41200 _ACEOF
41201
41202 HAVE_SHL_FUNCS=1
41203
41204 else
41205
41206 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41207 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41208 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41209 echo $ECHO_N "(cached) $ECHO_C" >&6
41210 else
41211 ac_check_lib_save_LIBS=$LIBS
41212 LIBS="-lshl_load $LIBS"
41213 cat >conftest.$ac_ext <<_ACEOF
41214 /* confdefs.h. */
41215 _ACEOF
41216 cat confdefs.h >>conftest.$ac_ext
41217 cat >>conftest.$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41219
41220 /* Override any GCC internal prototype to avoid an error.
41221 Use char because int might match the return type of a GCC
41222 builtin and then its argument prototype would still apply. */
41223 #ifdef __cplusplus
41224 extern "C"
41225 #endif
41226 char dld ();
41227 int
41228 main ()
41229 {
41230 return dld ();
41231 ;
41232 return 0;
41233 }
41234 _ACEOF
41235 rm -f conftest.$ac_objext conftest$ac_exeext
41236 if { (ac_try="$ac_link"
41237 case "(($ac_try" in
41238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41239 *) ac_try_echo=$ac_try;;
41240 esac
41241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41242 (eval "$ac_link") 2>conftest.er1
41243 ac_status=$?
41244 grep -v '^ *+' conftest.er1 >conftest.err
41245 rm -f conftest.er1
41246 cat conftest.err >&5
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); } && {
41249 test -z "$ac_c_werror_flag" ||
41250 test ! -s conftest.err
41251 } && test -s conftest$ac_exeext &&
41252 $as_test_x conftest$ac_exeext; then
41253 ac_cv_lib_shl_load_dld=yes
41254 else
41255 echo "$as_me: failed program was:" >&5
41256 sed 's/^/| /' conftest.$ac_ext >&5
41257
41258 ac_cv_lib_shl_load_dld=no
41259 fi
41260
41261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41262 conftest$ac_exeext conftest.$ac_ext
41263 LIBS=$ac_check_lib_save_LIBS
41264 fi
41265 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41266 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41267 if test $ac_cv_lib_shl_load_dld = yes; then
41268
41269 HAVE_SHL_FUNCS=1
41270 DL_LINK=" -ldld$DL_LINK"
41271
41272 fi
41273
41274
41275 fi
41276 done
41277
41278
41279 fi
41280
41281
41282 fi
41283 done
41284
41285
41286 if test "$HAVE_DL_FUNCS" = 1; then
41287
41288 for ac_func in dlerror
41289 do
41290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41294 echo $ECHO_N "(cached) $ECHO_C" >&6
41295 else
41296 cat >conftest.$ac_ext <<_ACEOF
41297 /* confdefs.h. */
41298 _ACEOF
41299 cat confdefs.h >>conftest.$ac_ext
41300 cat >>conftest.$ac_ext <<_ACEOF
41301 /* end confdefs.h. */
41302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41304 #define $ac_func innocuous_$ac_func
41305
41306 /* System header to define __stub macros and hopefully few prototypes,
41307 which can conflict with char $ac_func (); below.
41308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41309 <limits.h> exists even on freestanding compilers. */
41310
41311 #ifdef __STDC__
41312 # include <limits.h>
41313 #else
41314 # include <assert.h>
41315 #endif
41316
41317 #undef $ac_func
41318
41319 /* Override any GCC internal prototype to avoid an error.
41320 Use char because int might match the return type of a GCC
41321 builtin and then its argument prototype would still apply. */
41322 #ifdef __cplusplus
41323 extern "C"
41324 #endif
41325 char $ac_func ();
41326 /* The GNU C library defines this for functions which it implements
41327 to always fail with ENOSYS. Some functions are actually named
41328 something starting with __ and the normal name is an alias. */
41329 #if defined __stub_$ac_func || defined __stub___$ac_func
41330 choke me
41331 #endif
41332
41333 int
41334 main ()
41335 {
41336 return $ac_func ();
41337 ;
41338 return 0;
41339 }
41340 _ACEOF
41341 rm -f conftest.$ac_objext conftest$ac_exeext
41342 if { (ac_try="$ac_link"
41343 case "(($ac_try" in
41344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41345 *) ac_try_echo=$ac_try;;
41346 esac
41347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41348 (eval "$ac_link") 2>conftest.er1
41349 ac_status=$?
41350 grep -v '^ *+' conftest.er1 >conftest.err
41351 rm -f conftest.er1
41352 cat conftest.err >&5
41353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41354 (exit $ac_status); } && {
41355 test -z "$ac_c_werror_flag" ||
41356 test ! -s conftest.err
41357 } && test -s conftest$ac_exeext &&
41358 $as_test_x conftest$ac_exeext; then
41359 eval "$as_ac_var=yes"
41360 else
41361 echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41363
41364 eval "$as_ac_var=no"
41365 fi
41366
41367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41368 conftest$ac_exeext conftest.$ac_ext
41369 fi
41370 ac_res=`eval echo '${'$as_ac_var'}'`
41371 { echo "$as_me:$LINENO: result: $ac_res" >&5
41372 echo "${ECHO_T}$ac_res" >&6; }
41373 if test `eval echo '${'$as_ac_var'}'` = yes; then
41374 cat >>confdefs.h <<_ACEOF
41375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41376 _ACEOF
41377 cat >>confdefs.h <<\_ACEOF
41378 #define HAVE_DLERROR 1
41379 _ACEOF
41380
41381 else
41382
41383 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41384 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41385 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41387 else
41388 ac_check_lib_save_LIBS=$LIBS
41389 LIBS="-ldl $LIBS"
41390 cat >conftest.$ac_ext <<_ACEOF
41391 /* confdefs.h. */
41392 _ACEOF
41393 cat confdefs.h >>conftest.$ac_ext
41394 cat >>conftest.$ac_ext <<_ACEOF
41395 /* end confdefs.h. */
41396
41397 /* Override any GCC internal prototype to avoid an error.
41398 Use char because int might match the return type of a GCC
41399 builtin and then its argument prototype would still apply. */
41400 #ifdef __cplusplus
41401 extern "C"
41402 #endif
41403 char dlerror ();
41404 int
41405 main ()
41406 {
41407 return dlerror ();
41408 ;
41409 return 0;
41410 }
41411 _ACEOF
41412 rm -f conftest.$ac_objext conftest$ac_exeext
41413 if { (ac_try="$ac_link"
41414 case "(($ac_try" in
41415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41416 *) ac_try_echo=$ac_try;;
41417 esac
41418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41419 (eval "$ac_link") 2>conftest.er1
41420 ac_status=$?
41421 grep -v '^ *+' conftest.er1 >conftest.err
41422 rm -f conftest.er1
41423 cat conftest.err >&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); } && {
41426 test -z "$ac_c_werror_flag" ||
41427 test ! -s conftest.err
41428 } && test -s conftest$ac_exeext &&
41429 $as_test_x conftest$ac_exeext; then
41430 ac_cv_lib_dl_dlerror=yes
41431 else
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41434
41435 ac_cv_lib_dl_dlerror=no
41436 fi
41437
41438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41439 conftest$ac_exeext conftest.$ac_ext
41440 LIBS=$ac_check_lib_save_LIBS
41441 fi
41442 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41443 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41444 if test $ac_cv_lib_dl_dlerror = yes; then
41445 cat >>confdefs.h <<\_ACEOF
41446 #define HAVE_DLERROR 1
41447 _ACEOF
41448
41449 fi
41450
41451
41452
41453 fi
41454 done
41455
41456 fi
41457 fi
41458
41459 if test "$HAVE_DL_FUNCS" = 0; then
41460 if test "$HAVE_SHL_FUNCS" = 0; then
41461 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41462 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41463 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41464 wxUSE_DYNAMIC_LOADER=no
41465 wxUSE_DYNLIB_CLASS=no
41466 else
41467 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41468 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41469 fi
41470 fi
41471 fi
41472 fi
41473 fi
41474
41475 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41476 cat >>confdefs.h <<\_ACEOF
41477 #define wxUSE_DYNAMIC_LOADER 1
41478 _ACEOF
41479
41480 fi
41481 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41482 cat >>confdefs.h <<\_ACEOF
41483 #define wxUSE_DYNLIB_CLASS 1
41484 _ACEOF
41485
41486 fi
41487
41488
41489
41490 if test "$wxUSE_PLUGINS" = "yes" ; then
41491 if test "$wxUSE_SHARED" = "no" ; then
41492 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41493 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41494 wxUSE_PLUGINS=no
41495 fi
41496 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41497 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41498 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41499 wxUSE_PLUGINS=no
41500 fi
41501 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41502 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41503 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41504 wxUSE_PLUGINS=no
41505 fi
41506 if test "$wxUSE_PLUGINS" = "yes" ; then
41507 cat >>confdefs.h <<\_ACEOF
41508 #define wxUSE_PLUGINS 1
41509 _ACEOF
41510
41511 fi
41512 fi
41513
41514
41515 if test "$wxUSE_STL" = "yes"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define wxUSE_STL 1
41518 _ACEOF
41519
41520 fi
41521
41522 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41523 cat >>confdefs.h <<\_ACEOF
41524 #define wxUSE_EXTENDED_RTTI 1
41525 _ACEOF
41526
41527 fi
41528
41529 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41530 cat >>confdefs.h <<\_ACEOF
41531 #define wxUSE_APPLE_IEEE 1
41532 _ACEOF
41533
41534 fi
41535
41536 if test "$wxUSE_TIMER" = "yes"; then
41537 cat >>confdefs.h <<\_ACEOF
41538 #define wxUSE_TIMER 1
41539 _ACEOF
41540
41541 fi
41542
41543 if test "$USE_UNIX" = 1 ; then
41544 if test "$wxUSE_MGL" != 1; then
41545 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41546 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41547 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41548 echo $ECHO_N "(cached) $ECHO_C" >&6
41549 else
41550
41551 cat >conftest.$ac_ext <<_ACEOF
41552 /* confdefs.h. */
41553 _ACEOF
41554 cat confdefs.h >>conftest.$ac_ext
41555 cat >>conftest.$ac_ext <<_ACEOF
41556 /* end confdefs.h. */
41557
41558 #include <sys/ioctl.h>
41559 #include <sys/soundcard.h>
41560
41561 int
41562 main ()
41563 {
41564
41565 ioctl(0, SNDCTL_DSP_SPEED, 0);
41566
41567 ;
41568 return 0;
41569 }
41570 _ACEOF
41571 rm -f conftest.$ac_objext conftest$ac_exeext
41572 if { (ac_try="$ac_link"
41573 case "(($ac_try" in
41574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41575 *) ac_try_echo=$ac_try;;
41576 esac
41577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41578 (eval "$ac_link") 2>conftest.er1
41579 ac_status=$?
41580 grep -v '^ *+' conftest.er1 >conftest.err
41581 rm -f conftest.er1
41582 cat conftest.err >&5
41583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584 (exit $ac_status); } && {
41585 test -z "$ac_c_werror_flag" ||
41586 test ! -s conftest.err
41587 } && test -s conftest$ac_exeext &&
41588 $as_test_x conftest$ac_exeext; then
41589 ac_cv_header_sys_soundcard=yes
41590 else
41591 echo "$as_me: failed program was:" >&5
41592 sed 's/^/| /' conftest.$ac_ext >&5
41593
41594
41595 saveLibs="$LIBS"
41596 LIBS="$saveLibs -lossaudio"
41597 cat >conftest.$ac_ext <<_ACEOF
41598 /* confdefs.h. */
41599 _ACEOF
41600 cat confdefs.h >>conftest.$ac_ext
41601 cat >>conftest.$ac_ext <<_ACEOF
41602 /* end confdefs.h. */
41603
41604 #include <sys/ioctl.h>
41605 #include <sys/soundcard.h>
41606
41607 int
41608 main ()
41609 {
41610
41611 ioctl(0, SNDCTL_DSP_SPEED, 0);
41612
41613 ;
41614 return 0;
41615 }
41616 _ACEOF
41617 rm -f conftest.$ac_objext conftest$ac_exeext
41618 if { (ac_try="$ac_link"
41619 case "(($ac_try" in
41620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41621 *) ac_try_echo=$ac_try;;
41622 esac
41623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41624 (eval "$ac_link") 2>conftest.er1
41625 ac_status=$?
41626 grep -v '^ *+' conftest.er1 >conftest.err
41627 rm -f conftest.er1
41628 cat conftest.err >&5
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); } && {
41631 test -z "$ac_c_werror_flag" ||
41632 test ! -s conftest.err
41633 } && test -s conftest$ac_exeext &&
41634 $as_test_x conftest$ac_exeext; then
41635 ac_cv_header_sys_soundcard=yes
41636 else
41637 echo "$as_me: failed program was:" >&5
41638 sed 's/^/| /' conftest.$ac_ext >&5
41639
41640
41641 LIBS="$saveLibs"
41642 ac_cv_header_sys_soundcard=no
41643
41644
41645 fi
41646
41647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41648 conftest$ac_exeext conftest.$ac_ext
41649
41650
41651 fi
41652
41653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41654 conftest$ac_exeext conftest.$ac_ext
41655
41656 fi
41657 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41658 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41659 fi
41660
41661 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41662 cat >>confdefs.h <<\_ACEOF
41663 #define HAVE_SYS_SOUNDCARD_H 1
41664 _ACEOF
41665
41666 fi
41667 fi
41668
41669 WITH_PLUGIN_SDL=0
41670 if test "$wxUSE_SOUND" = "yes"; then
41671 if test "$USE_UNIX" = 1 ; then
41672 if test "$wxUSE_LIBSDL" != "no"; then
41673
41674 # Check whether --with-sdl-prefix was given.
41675 if test "${with_sdl_prefix+set}" = set; then
41676 withval=$with_sdl_prefix; sdl_prefix="$withval"
41677 else
41678 sdl_prefix=""
41679 fi
41680
41681
41682 # Check whether --with-sdl-exec-prefix was given.
41683 if test "${with_sdl_exec_prefix+set}" = set; then
41684 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41685 else
41686 sdl_exec_prefix=""
41687 fi
41688
41689 # Check whether --enable-sdltest was given.
41690 if test "${enable_sdltest+set}" = set; then
41691 enableval=$enable_sdltest;
41692 else
41693 enable_sdltest=yes
41694 fi
41695
41696
41697 if test x$sdl_exec_prefix != x ; then
41698 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41699 if test x${SDL_CONFIG+set} != xset ; then
41700 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41701 fi
41702 fi
41703 if test x$sdl_prefix != x ; then
41704 sdl_args="$sdl_args --prefix=$sdl_prefix"
41705 if test x${SDL_CONFIG+set} != xset ; then
41706 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41707 fi
41708 fi
41709
41710 if test "x$prefix" != xNONE; then
41711 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41712 fi
41713 # Extract the first word of "sdl-config", so it can be a program name with args.
41714 set dummy sdl-config; ac_word=$2
41715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41717 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41719 else
41720 case $SDL_CONFIG in
41721 [\\/]* | ?:[\\/]*)
41722 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41723 ;;
41724 *)
41725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41726 for as_dir in $PATH
41727 do
41728 IFS=$as_save_IFS
41729 test -z "$as_dir" && as_dir=.
41730 for ac_exec_ext in '' $ac_executable_extensions; do
41731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41732 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41734 break 2
41735 fi
41736 done
41737 done
41738 IFS=$as_save_IFS
41739
41740 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41741 ;;
41742 esac
41743 fi
41744 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41745 if test -n "$SDL_CONFIG"; then
41746 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41747 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41748 else
41749 { echo "$as_me:$LINENO: result: no" >&5
41750 echo "${ECHO_T}no" >&6; }
41751 fi
41752
41753
41754 min_sdl_version=1.2.0
41755 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41756 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41757 no_sdl=""
41758 if test "$SDL_CONFIG" = "no" ; then
41759 no_sdl=yes
41760 else
41761 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41762 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41763
41764 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41766 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41768 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41770 if test "x$enable_sdltest" = "xyes" ; then
41771 ac_save_CFLAGS="$CFLAGS"
41772 ac_save_CXXFLAGS="$CXXFLAGS"
41773 ac_save_LIBS="$LIBS"
41774 CFLAGS="$CFLAGS $SDL_CFLAGS"
41775 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41776 LIBS="$LIBS $SDL_LIBS"
41777 rm -f conf.sdltest
41778 if test "$cross_compiling" = yes; then
41779 echo $ac_n "cross compiling; assumed OK... $ac_c"
41780 else
41781 cat >conftest.$ac_ext <<_ACEOF
41782 /* confdefs.h. */
41783 _ACEOF
41784 cat confdefs.h >>conftest.$ac_ext
41785 cat >>conftest.$ac_ext <<_ACEOF
41786 /* end confdefs.h. */
41787
41788 #include <stdio.h>
41789 #include <stdlib.h>
41790 #include <string.h>
41791 #include "SDL.h"
41792
41793 char*
41794 my_strdup (char *str)
41795 {
41796 char *new_str;
41797
41798 if (str)
41799 {
41800 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41801 strcpy (new_str, str);
41802 }
41803 else
41804 new_str = NULL;
41805
41806 return new_str;
41807 }
41808
41809 int main (int argc, char *argv[])
41810 {
41811 int major, minor, micro;
41812 char *tmp_version;
41813
41814 /* This hangs on some systems (?)
41815 system ("touch conf.sdltest");
41816 */
41817 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41818
41819 /* HP/UX 9 (%@#!) writes to sscanf strings */
41820 tmp_version = my_strdup("$min_sdl_version");
41821 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41822 printf("%s, bad version string\n", "$min_sdl_version");
41823 exit(1);
41824 }
41825
41826 if (($sdl_major_version > major) ||
41827 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41828 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41829 {
41830 return 0;
41831 }
41832 else
41833 {
41834 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41835 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41836 printf("*** best to upgrade to the required version.\n");
41837 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41838 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41839 printf("*** config.cache before re-running configure\n");
41840 return 1;
41841 }
41842 }
41843
41844
41845 _ACEOF
41846 rm -f conftest$ac_exeext
41847 if { (ac_try="$ac_link"
41848 case "(($ac_try" in
41849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41850 *) ac_try_echo=$ac_try;;
41851 esac
41852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41853 (eval "$ac_link") 2>&5
41854 ac_status=$?
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41857 { (case "(($ac_try" in
41858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41859 *) ac_try_echo=$ac_try;;
41860 esac
41861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41862 (eval "$ac_try") 2>&5
41863 ac_status=$?
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); }; }; then
41866 :
41867 else
41868 echo "$as_me: program exited with status $ac_status" >&5
41869 echo "$as_me: failed program was:" >&5
41870 sed 's/^/| /' conftest.$ac_ext >&5
41871
41872 ( exit $ac_status )
41873 no_sdl=yes
41874 fi
41875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41876 fi
41877
41878
41879 CFLAGS="$ac_save_CFLAGS"
41880 CXXFLAGS="$ac_save_CXXFLAGS"
41881 LIBS="$ac_save_LIBS"
41882 fi
41883 fi
41884 if test "x$no_sdl" = x ; then
41885 { echo "$as_me:$LINENO: result: yes" >&5
41886 echo "${ECHO_T}yes" >&6; }
41887
41888 EXTRALIBS_SDL="$SDL_LIBS"
41889 CFLAGS="$SDL_CFLAGS $CFLAGS"
41890 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41891 cat >>confdefs.h <<\_ACEOF
41892 #define wxUSE_LIBSDL 1
41893 _ACEOF
41894
41895
41896 else
41897 { echo "$as_me:$LINENO: result: no" >&5
41898 echo "${ECHO_T}no" >&6; }
41899 if test "$SDL_CONFIG" = "no" ; then
41900 echo "*** The sdl-config script installed by SDL could not be found"
41901 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41902 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41903 echo "*** full path to sdl-config."
41904 else
41905 if test -f conf.sdltest ; then
41906 :
41907 else
41908 echo "*** Could not run SDL test program, checking why..."
41909 CFLAGS="$CFLAGS $SDL_CFLAGS"
41910 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41911 LIBS="$LIBS $SDL_LIBS"
41912 cat >conftest.$ac_ext <<_ACEOF
41913 /* confdefs.h. */
41914 _ACEOF
41915 cat confdefs.h >>conftest.$ac_ext
41916 cat >>conftest.$ac_ext <<_ACEOF
41917 /* end confdefs.h. */
41918
41919 #include <stdio.h>
41920 #include "SDL.h"
41921
41922 int main(int argc, char *argv[])
41923 { return 0; }
41924 #undef main
41925 #define main K_and_R_C_main
41926
41927 int
41928 main ()
41929 {
41930 return 0;
41931 ;
41932 return 0;
41933 }
41934 _ACEOF
41935 rm -f conftest.$ac_objext conftest$ac_exeext
41936 if { (ac_try="$ac_link"
41937 case "(($ac_try" in
41938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41939 *) ac_try_echo=$ac_try;;
41940 esac
41941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41942 (eval "$ac_link") 2>conftest.er1
41943 ac_status=$?
41944 grep -v '^ *+' conftest.er1 >conftest.err
41945 rm -f conftest.er1
41946 cat conftest.err >&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); } && {
41949 test -z "$ac_c_werror_flag" ||
41950 test ! -s conftest.err
41951 } && test -s conftest$ac_exeext &&
41952 $as_test_x conftest$ac_exeext; then
41953 echo "*** The test program compiled, but did not run. This usually means"
41954 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41955 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41956 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41957 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41958 echo "*** is required on your system"
41959 echo "***"
41960 echo "*** If you have an old version installed, it is best to remove it, although"
41961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41962 else
41963 echo "$as_me: failed program was:" >&5
41964 sed 's/^/| /' conftest.$ac_ext >&5
41965
41966 echo "*** The test program failed to compile or link. See the file config.log for the"
41967 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41968 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41969 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41970 fi
41971
41972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41973 conftest$ac_exeext conftest.$ac_ext
41974 CFLAGS="$ac_save_CFLAGS"
41975 CXXFLAGS="$ac_save_CXXFLAGS"
41976 LIBS="$ac_save_LIBS"
41977 fi
41978 fi
41979 SDL_CFLAGS=""
41980 SDL_LIBS=""
41981 wxUSE_LIBSDL="no"
41982 fi
41983
41984
41985 rm -f conf.sdltest
41986
41987 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41988 WITH_PLUGIN_SDL=1
41989 fi
41990 fi
41991 else
41992 if test "$wxUSE_MGL" = 1; then
41993 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41994 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41995 wxUSE_SOUND="no"
41996 fi
41997 fi
41998 fi
41999
42000 if test "$wxUSE_SOUND" = "yes"; then
42001 cat >>confdefs.h <<\_ACEOF
42002 #define wxUSE_SOUND 1
42003 _ACEOF
42004
42005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42006 fi
42007
42008 if test "$WXGTK2" = 1; then
42009
42010
42011 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42012 if test -n "$ac_tool_prefix"; then
42013 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42014 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42017 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42018 echo $ECHO_N "(cached) $ECHO_C" >&6
42019 else
42020 case $PKG_CONFIG in
42021 [\\/]* | ?:[\\/]*)
42022 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42023 ;;
42024 *)
42025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42026 for as_dir in $PATH
42027 do
42028 IFS=$as_save_IFS
42029 test -z "$as_dir" && as_dir=.
42030 for ac_exec_ext in '' $ac_executable_extensions; do
42031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42032 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42034 break 2
42035 fi
42036 done
42037 done
42038 IFS=$as_save_IFS
42039
42040 ;;
42041 esac
42042 fi
42043 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42044 if test -n "$PKG_CONFIG"; then
42045 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42046 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42047 else
42048 { echo "$as_me:$LINENO: result: no" >&5
42049 echo "${ECHO_T}no" >&6; }
42050 fi
42051
42052
42053 fi
42054 if test -z "$ac_cv_path_PKG_CONFIG"; then
42055 ac_pt_PKG_CONFIG=$PKG_CONFIG
42056 # Extract the first word of "pkg-config", so it can be a program name with args.
42057 set dummy pkg-config; ac_word=$2
42058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42060 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42062 else
42063 case $ac_pt_PKG_CONFIG in
42064 [\\/]* | ?:[\\/]*)
42065 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42066 ;;
42067 *)
42068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42069 for as_dir in $PATH
42070 do
42071 IFS=$as_save_IFS
42072 test -z "$as_dir" && as_dir=.
42073 for ac_exec_ext in '' $ac_executable_extensions; do
42074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42075 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42077 break 2
42078 fi
42079 done
42080 done
42081 IFS=$as_save_IFS
42082
42083 ;;
42084 esac
42085 fi
42086 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42087 if test -n "$ac_pt_PKG_CONFIG"; then
42088 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42089 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42090 else
42091 { echo "$as_me:$LINENO: result: no" >&5
42092 echo "${ECHO_T}no" >&6; }
42093 fi
42094
42095 if test "x$ac_pt_PKG_CONFIG" = x; then
42096 PKG_CONFIG=""
42097 else
42098 case $cross_compiling:$ac_tool_warned in
42099 yes:)
42100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42101 whose name does not start with the host triplet. If you think this
42102 configuration is useful to you, please write to autoconf@gnu.org." >&5
42103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42104 whose name does not start with the host triplet. If you think this
42105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42106 ac_tool_warned=yes ;;
42107 esac
42108 PKG_CONFIG=$ac_pt_PKG_CONFIG
42109 fi
42110 else
42111 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42112 fi
42113
42114 fi
42115 if test -n "$PKG_CONFIG"; then
42116 _pkg_min_version=0.9.0
42117 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42118 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42119 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42120 { echo "$as_me:$LINENO: result: yes" >&5
42121 echo "${ECHO_T}yes" >&6; }
42122 else
42123 { echo "$as_me:$LINENO: result: no" >&5
42124 echo "${ECHO_T}no" >&6; }
42125 PKG_CONFIG=""
42126 fi
42127
42128 fi
42129
42130 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42131
42132 if test "$wxUSE_GTKPRINT" = "yes" ; then
42133
42134
42135 pkg_failed=no
42136 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42137 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42138
42139 if test -n "$PKG_CONFIG"; then
42140 if test -n "$GTKPRINT_CFLAGS"; then
42141 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42142 else
42143 if test -n "$PKG_CONFIG" && \
42144 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42145 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42146 ac_status=$?
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); }; then
42149 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42150 else
42151 pkg_failed=yes
42152 fi
42153 fi
42154 else
42155 pkg_failed=untried
42156 fi
42157 if test -n "$PKG_CONFIG"; then
42158 if test -n "$GTKPRINT_LIBS"; then
42159 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42160 else
42161 if test -n "$PKG_CONFIG" && \
42162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42163 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42164 ac_status=$?
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); }; then
42167 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42168 else
42169 pkg_failed=yes
42170 fi
42171 fi
42172 else
42173 pkg_failed=untried
42174 fi
42175
42176
42177
42178 if test $pkg_failed = yes; then
42179
42180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42181 _pkg_short_errors_supported=yes
42182 else
42183 _pkg_short_errors_supported=no
42184 fi
42185 if test $_pkg_short_errors_supported = yes; then
42186 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42187 else
42188 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42189 fi
42190 # Put the nasty error message in config.log where it belongs
42191 echo "$GTKPRINT_PKG_ERRORS" >&5
42192
42193
42194 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42195 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42196 wxUSE_GTKPRINT="no"
42197
42198
42199 elif test $pkg_failed = untried; then
42200
42201 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42202 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42203 wxUSE_GTKPRINT="no"
42204
42205
42206 else
42207 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42208 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42209 { echo "$as_me:$LINENO: result: yes" >&5
42210 echo "${ECHO_T}yes" >&6; }
42211
42212 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42213 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42214 cat >>confdefs.h <<\_ACEOF
42215 #define wxUSE_GTKPRINT 1
42216 _ACEOF
42217
42218
42219 fi
42220 fi
42221
42222 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42223
42224
42225 pkg_failed=no
42226 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42227 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42228
42229 if test -n "$PKG_CONFIG"; then
42230 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42231 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42232 else
42233 if test -n "$PKG_CONFIG" && \
42234 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42235 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42236 ac_status=$?
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; then
42239 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42240 else
42241 pkg_failed=yes
42242 fi
42243 fi
42244 else
42245 pkg_failed=untried
42246 fi
42247 if test -n "$PKG_CONFIG"; then
42248 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42249 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42250 else
42251 if test -n "$PKG_CONFIG" && \
42252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42253 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42254 ac_status=$?
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); }; then
42257 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42258 else
42259 pkg_failed=yes
42260 fi
42261 fi
42262 else
42263 pkg_failed=untried
42264 fi
42265
42266
42267
42268 if test $pkg_failed = yes; then
42269
42270 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42271 _pkg_short_errors_supported=yes
42272 else
42273 _pkg_short_errors_supported=no
42274 fi
42275 if test $_pkg_short_errors_supported = yes; then
42276 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42277 else
42278 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42279 fi
42280 # Put the nasty error message in config.log where it belongs
42281 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42282
42283
42284 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42285 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42286 wxUSE_LIBGNOMEPRINT="no"
42287
42288
42289 elif test $pkg_failed = untried; then
42290
42291 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42292 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42293 wxUSE_LIBGNOMEPRINT="no"
42294
42295
42296 else
42297 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42298 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42299 { echo "$as_me:$LINENO: result: yes" >&5
42300 echo "${ECHO_T}yes" >&6; }
42301
42302 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42303 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42304 cat >>confdefs.h <<\_ACEOF
42305 #define wxUSE_LIBGNOMEPRINT 1
42306 _ACEOF
42307
42308
42309 fi
42310 fi
42311 fi
42312
42313 if test "$wxUSE_MIMETYPE" = "yes" ; then
42314 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42315
42316
42317 pkg_failed=no
42318 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42319 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42320
42321 if test -n "$PKG_CONFIG"; then
42322 if test -n "$GNOMEVFS_CFLAGS"; then
42323 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42324 else
42325 if test -n "$PKG_CONFIG" && \
42326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42327 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42328 ac_status=$?
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); }; then
42331 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42332 else
42333 pkg_failed=yes
42334 fi
42335 fi
42336 else
42337 pkg_failed=untried
42338 fi
42339 if test -n "$PKG_CONFIG"; then
42340 if test -n "$GNOMEVFS_LIBS"; then
42341 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42342 else
42343 if test -n "$PKG_CONFIG" && \
42344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42345 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; then
42349 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42350 else
42351 pkg_failed=yes
42352 fi
42353 fi
42354 else
42355 pkg_failed=untried
42356 fi
42357
42358
42359
42360 if test $pkg_failed = yes; then
42361
42362 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42363 _pkg_short_errors_supported=yes
42364 else
42365 _pkg_short_errors_supported=no
42366 fi
42367 if test $_pkg_short_errors_supported = yes; then
42368 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42369 else
42370 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42371 fi
42372 # Put the nasty error message in config.log where it belongs
42373 echo "$GNOMEVFS_PKG_ERRORS" >&5
42374
42375
42376 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42377 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42378 wxUSE_LIBGNOMEVFS="no"
42379
42380
42381 elif test $pkg_failed = untried; then
42382
42383 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42384 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42385 wxUSE_LIBGNOMEVFS="no"
42386
42387
42388 else
42389 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42390 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42391 { echo "$as_me:$LINENO: result: yes" >&5
42392 echo "${ECHO_T}yes" >&6; }
42393
42394 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42395 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42396 cat >>confdefs.h <<\_ACEOF
42397 #define wxUSE_LIBGNOMEVFS 1
42398 _ACEOF
42399
42400
42401 fi
42402 fi
42403 fi
42404
42405 if test "$wxUSE_LIBHILDON" = "yes" ; then
42406
42407 pkg_failed=no
42408 { echo "$as_me:$LINENO: checking for HILDON" >&5
42409 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42410
42411 if test -n "$PKG_CONFIG"; then
42412 if test -n "$HILDON_CFLAGS"; then
42413 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42414 else
42415 if test -n "$PKG_CONFIG" && \
42416 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42417 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42418 ac_status=$?
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); }; then
42421 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42422 else
42423 pkg_failed=yes
42424 fi
42425 fi
42426 else
42427 pkg_failed=untried
42428 fi
42429 if test -n "$PKG_CONFIG"; then
42430 if test -n "$HILDON_LIBS"; then
42431 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42432 else
42433 if test -n "$PKG_CONFIG" && \
42434 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42435 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42436 ac_status=$?
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); }; then
42439 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42440 else
42441 pkg_failed=yes
42442 fi
42443 fi
42444 else
42445 pkg_failed=untried
42446 fi
42447
42448
42449
42450 if test $pkg_failed = yes; then
42451
42452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42453 _pkg_short_errors_supported=yes
42454 else
42455 _pkg_short_errors_supported=no
42456 fi
42457 if test $_pkg_short_errors_supported = yes; then
42458 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42459 else
42460 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42461 fi
42462 # Put the nasty error message in config.log where it belongs
42463 echo "$HILDON_PKG_ERRORS" >&5
42464
42465
42466 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42467 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42468 wxUSE_LIBHILDON="no"
42469
42470
42471 elif test $pkg_failed = untried; then
42472
42473 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42474 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42475 wxUSE_LIBHILDON="no"
42476
42477
42478 else
42479 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42480 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42481 { echo "$as_me:$LINENO: result: yes" >&5
42482 echo "${ECHO_T}yes" >&6; }
42483
42484 EXTRALIBS_HILDON="$HILDON_LIBS"
42485 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42486 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42487 cat >>confdefs.h <<\_ACEOF
42488 #define wxUSE_LIBHILDON 1
42489 _ACEOF
42490
42491
42492 fi
42493 fi
42494 fi
42495
42496 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42497 cat >>confdefs.h <<\_ACEOF
42498 #define wxUSE_CMDLINE_PARSER 1
42499 _ACEOF
42500
42501 fi
42502
42503 if test "$wxUSE_STOPWATCH" = "yes"; then
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_STOPWATCH 1
42506 _ACEOF
42507
42508 fi
42509
42510 if test "$wxUSE_DATETIME" = "yes"; then
42511 cat >>confdefs.h <<\_ACEOF
42512 #define wxUSE_DATETIME 1
42513 _ACEOF
42514
42515 fi
42516
42517 if test "$wxUSE_FILE" = "yes"; then
42518 cat >>confdefs.h <<\_ACEOF
42519 #define wxUSE_FILE 1
42520 _ACEOF
42521
42522 fi
42523
42524 if test "$wxUSE_FFILE" = "yes"; then
42525 cat >>confdefs.h <<\_ACEOF
42526 #define wxUSE_FFILE 1
42527 _ACEOF
42528
42529 fi
42530
42531 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42532 if test "$wxUSE_STREAMS" != yes; then
42533 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42534 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42535 wxUSE_ARCHIVE_STREAMS=no
42536 else
42537 cat >>confdefs.h <<\_ACEOF
42538 #define wxUSE_ARCHIVE_STREAMS 1
42539 _ACEOF
42540
42541 fi
42542 fi
42543
42544 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42545 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42546 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42547 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42548 elif test "$wxUSE_ZLIB" = "no"; then
42549 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42550 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42551 else
42552 cat >>confdefs.h <<\_ACEOF
42553 #define wxUSE_ZIPSTREAM 1
42554 _ACEOF
42555
42556 fi
42557 fi
42558
42559 if test "$wxUSE_TARSTREAM" = "yes"; then
42560 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42561 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42562 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42563 else
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_TARSTREAM 1
42566 _ACEOF
42567
42568 fi
42569 fi
42570
42571 if test "$wxUSE_FILESYSTEM" = "yes"; then
42572 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42573 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42574 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42575 wxUSE_FILESYSTEM=no
42576 else
42577 cat >>confdefs.h <<\_ACEOF
42578 #define wxUSE_FILESYSTEM 1
42579 _ACEOF
42580
42581 fi
42582 fi
42583
42584 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42585 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42586 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42587 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42588 else
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_FS_ARCHIVE 1
42591 _ACEOF
42592
42593 fi
42594 fi
42595
42596 if test "$wxUSE_FS_ZIP" = "yes"; then
42597 if test "$wxUSE_FS_ARCHIVE" != yes; then
42598 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42599 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42600 else
42601 cat >>confdefs.h <<\_ACEOF
42602 #define wxUSE_FS_ZIP 1
42603 _ACEOF
42604
42605 fi
42606 fi
42607
42608 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42609 if test "$USE_UNIX" != 1; then
42610 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42611 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42612 wxUSE_ON_FATAL_EXCEPTION=no
42613 else
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_ON_FATAL_EXCEPTION 1
42616 _ACEOF
42617
42618 fi
42619 fi
42620
42621 if test "$wxUSE_STACKWALKER" = "yes"; then
42622 cat >>confdefs.h <<\_ACEOF
42623 #define wxUSE_STACKWALKER 1
42624 _ACEOF
42625
42626 fi
42627
42628 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42629 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42630 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42631 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42632 wxUSE_DEBUGREPORT=no
42633 else
42634 cat >>confdefs.h <<\_ACEOF
42635 #define wxUSE_DEBUGREPORT 1
42636 _ACEOF
42637
42638 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42640 fi
42641 fi
42642 fi
42643
42644 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42645 cat >>confdefs.h <<\_ACEOF
42646 #define wxUSE_SNGLINST_CHECKER 1
42647 _ACEOF
42648
42649 fi
42650
42651 if test "$wxUSE_BUSYINFO" = "yes"; then
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_BUSYINFO 1
42654 _ACEOF
42655
42656 fi
42657
42658 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_STD_IOSTREAM 1
42661 _ACEOF
42662
42663 fi
42664
42665 if test "$wxUSE_STD_STRING" = "yes"; then
42666 cat >>confdefs.h <<\_ACEOF
42667 #define wxUSE_STD_STRING 1
42668 _ACEOF
42669
42670 fi
42671
42672 if test "$wxUSE_STDPATHS" = "yes"; then
42673 cat >>confdefs.h <<\_ACEOF
42674 #define wxUSE_STDPATHS 1
42675 _ACEOF
42676
42677 fi
42678
42679 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42680 cat >>confdefs.h <<\_ACEOF
42681 #define wxUSE_TEXTBUFFER 1
42682 _ACEOF
42683
42684 fi
42685
42686 if test "$wxUSE_TEXTFILE" = "yes"; then
42687 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42688 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42689 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42690 else
42691 cat >>confdefs.h <<\_ACEOF
42692 #define wxUSE_TEXTFILE 1
42693 _ACEOF
42694
42695 fi
42696 fi
42697
42698 if test "$wxUSE_CONFIG" = "yes" ; then
42699 if test "$wxUSE_TEXTFILE" != "yes"; then
42700 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42701 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42702 else
42703 cat >>confdefs.h <<\_ACEOF
42704 #define wxUSE_CONFIG 1
42705 _ACEOF
42706
42707 cat >>confdefs.h <<\_ACEOF
42708 #define wxUSE_CONFIG_NATIVE 1
42709 _ACEOF
42710
42711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42712 fi
42713 fi
42714
42715 if test "$wxUSE_INTL" = "yes" ; then
42716 if test "$wxUSE_FILE" != "yes"; then
42717 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42718 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42719 else
42720 cat >>confdefs.h <<\_ACEOF
42721 #define wxUSE_INTL 1
42722 _ACEOF
42723
42724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42725 GUIDIST="$GUIDIST INTL_DIST"
42726 fi
42727 fi
42728
42729 if test "$wxUSE_LOG" = "yes"; then
42730 cat >>confdefs.h <<\_ACEOF
42731 #define wxUSE_LOG 1
42732 _ACEOF
42733
42734
42735 if test "$wxUSE_LOGGUI" = "yes"; then
42736 cat >>confdefs.h <<\_ACEOF
42737 #define wxUSE_LOGGUI 1
42738 _ACEOF
42739
42740 fi
42741
42742 if test "$wxUSE_LOGWINDOW" = "yes"; then
42743 cat >>confdefs.h <<\_ACEOF
42744 #define wxUSE_LOGWINDOW 1
42745 _ACEOF
42746
42747 fi
42748
42749 if test "$wxUSE_LOGDIALOG" = "yes"; then
42750 cat >>confdefs.h <<\_ACEOF
42751 #define wxUSE_LOG_DIALOG 1
42752 _ACEOF
42753
42754 fi
42755
42756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42757 fi
42758
42759 if test "$wxUSE_LONGLONG" = "yes"; then
42760 cat >>confdefs.h <<\_ACEOF
42761 #define wxUSE_LONGLONG 1
42762 _ACEOF
42763
42764 fi
42765
42766 if test "$wxUSE_GEOMETRY" = "yes"; then
42767 cat >>confdefs.h <<\_ACEOF
42768 #define wxUSE_GEOMETRY 1
42769 _ACEOF
42770
42771 fi
42772
42773 if test "$wxUSE_BASE64" = "yes"; then
42774 cat >>confdefs.h <<\_ACEOF
42775 #define wxUSE_BASE64 1
42776 _ACEOF
42777
42778 fi
42779
42780 if test "$wxUSE_STREAMS" = "yes" ; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define wxUSE_STREAMS 1
42783 _ACEOF
42784
42785 fi
42786
42787 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42788 cat >>confdefs.h <<\_ACEOF
42789 #define wxUSE_PRINTF_POS_PARAMS 1
42790 _ACEOF
42791
42792 fi
42793
42794 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42795 cat >>confdefs.h <<\_ACEOF
42796 #define wxUSE_OBJC_UNIQUIFYING 1
42797 _ACEOF
42798
42799 fi
42800
42801
42802 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define wxUSE_CONSOLE_EVENTLOOP 1
42805 _ACEOF
42806
42807
42808 if test "$wxUSE_UNIX" = "yes"; then
42809 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42810 cat >>confdefs.h <<\_ACEOF
42811 #define wxUSE_SELECT_DISPATCHER 1
42812 _ACEOF
42813
42814 fi
42815
42816 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42817
42818 for ac_header in sys/epoll.h
42819 do
42820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42824 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 else
42826 cat >conftest.$ac_ext <<_ACEOF
42827 /* confdefs.h. */
42828 _ACEOF
42829 cat confdefs.h >>conftest.$ac_ext
42830 cat >>conftest.$ac_ext <<_ACEOF
42831 /* end confdefs.h. */
42832 $ac_includes_default
42833
42834 #include <$ac_header>
42835 _ACEOF
42836 rm -f conftest.$ac_objext
42837 if { (ac_try="$ac_compile"
42838 case "(($ac_try" in
42839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42840 *) ac_try_echo=$ac_try;;
42841 esac
42842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42843 (eval "$ac_compile") 2>conftest.er1
42844 ac_status=$?
42845 grep -v '^ *+' conftest.er1 >conftest.err
42846 rm -f conftest.er1
42847 cat conftest.err >&5
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); } && {
42850 test -z "$ac_c_werror_flag" ||
42851 test ! -s conftest.err
42852 } && test -s conftest.$ac_objext; then
42853 eval "$as_ac_Header=yes"
42854 else
42855 echo "$as_me: failed program was:" >&5
42856 sed 's/^/| /' conftest.$ac_ext >&5
42857
42858 eval "$as_ac_Header=no"
42859 fi
42860
42861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862 fi
42863 ac_res=`eval echo '${'$as_ac_Header'}'`
42864 { echo "$as_me:$LINENO: result: $ac_res" >&5
42865 echo "${ECHO_T}$ac_res" >&6; }
42866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42867 cat >>confdefs.h <<_ACEOF
42868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42869 _ACEOF
42870
42871 fi
42872
42873 done
42874
42875 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42876 cat >>confdefs.h <<\_ACEOF
42877 #define wxUSE_EPOLL_DISPATCHER 1
42878 _ACEOF
42879
42880 else
42881 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42882 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42883 fi
42884 fi
42885 fi
42886 fi
42887
42888
42889
42890
42891 for ac_func in gettimeofday ftime
42892 do
42893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42897 echo $ECHO_N "(cached) $ECHO_C" >&6
42898 else
42899 cat >conftest.$ac_ext <<_ACEOF
42900 /* confdefs.h. */
42901 _ACEOF
42902 cat confdefs.h >>conftest.$ac_ext
42903 cat >>conftest.$ac_ext <<_ACEOF
42904 /* end confdefs.h. */
42905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42907 #define $ac_func innocuous_$ac_func
42908
42909 /* System header to define __stub macros and hopefully few prototypes,
42910 which can conflict with char $ac_func (); below.
42911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42912 <limits.h> exists even on freestanding compilers. */
42913
42914 #ifdef __STDC__
42915 # include <limits.h>
42916 #else
42917 # include <assert.h>
42918 #endif
42919
42920 #undef $ac_func
42921
42922 /* Override any GCC internal prototype to avoid an error.
42923 Use char because int might match the return type of a GCC
42924 builtin and then its argument prototype would still apply. */
42925 #ifdef __cplusplus
42926 extern "C"
42927 #endif
42928 char $ac_func ();
42929 /* The GNU C library defines this for functions which it implements
42930 to always fail with ENOSYS. Some functions are actually named
42931 something starting with __ and the normal name is an alias. */
42932 #if defined __stub_$ac_func || defined __stub___$ac_func
42933 choke me
42934 #endif
42935
42936 int
42937 main ()
42938 {
42939 return $ac_func ();
42940 ;
42941 return 0;
42942 }
42943 _ACEOF
42944 rm -f conftest.$ac_objext conftest$ac_exeext
42945 if { (ac_try="$ac_link"
42946 case "(($ac_try" in
42947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42948 *) ac_try_echo=$ac_try;;
42949 esac
42950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42951 (eval "$ac_link") 2>conftest.er1
42952 ac_status=$?
42953 grep -v '^ *+' conftest.er1 >conftest.err
42954 rm -f conftest.er1
42955 cat conftest.err >&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); } && {
42958 test -z "$ac_c_werror_flag" ||
42959 test ! -s conftest.err
42960 } && test -s conftest$ac_exeext &&
42961 $as_test_x conftest$ac_exeext; then
42962 eval "$as_ac_var=yes"
42963 else
42964 echo "$as_me: failed program was:" >&5
42965 sed 's/^/| /' conftest.$ac_ext >&5
42966
42967 eval "$as_ac_var=no"
42968 fi
42969
42970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42971 conftest$ac_exeext conftest.$ac_ext
42972 fi
42973 ac_res=`eval echo '${'$as_ac_var'}'`
42974 { echo "$as_me:$LINENO: result: $ac_res" >&5
42975 echo "${ECHO_T}$ac_res" >&6; }
42976 if test `eval echo '${'$as_ac_var'}'` = yes; then
42977 cat >>confdefs.h <<_ACEOF
42978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42979 _ACEOF
42980 break
42981 fi
42982 done
42983
42984
42985 if test "$ac_cv_func_gettimeofday" = "yes"; then
42986 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42987 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42988 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42989 echo $ECHO_N "(cached) $ECHO_C" >&6
42990 else
42991
42992 cat >conftest.$ac_ext <<_ACEOF
42993 /* confdefs.h. */
42994 _ACEOF
42995 cat confdefs.h >>conftest.$ac_ext
42996 cat >>conftest.$ac_ext <<_ACEOF
42997 /* end confdefs.h. */
42998
42999 #include <sys/time.h>
43000 #include <unistd.h>
43001
43002 int
43003 main ()
43004 {
43005
43006 struct timeval tv;
43007 gettimeofday(&tv, NULL);
43008
43009 ;
43010 return 0;
43011 }
43012 _ACEOF
43013 rm -f conftest.$ac_objext
43014 if { (ac_try="$ac_compile"
43015 case "(($ac_try" in
43016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43017 *) ac_try_echo=$ac_try;;
43018 esac
43019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43020 (eval "$ac_compile") 2>conftest.er1
43021 ac_status=$?
43022 grep -v '^ *+' conftest.er1 >conftest.err
43023 rm -f conftest.er1
43024 cat conftest.err >&5
43025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43026 (exit $ac_status); } && {
43027 test -z "$ac_c_werror_flag" ||
43028 test ! -s conftest.err
43029 } && test -s conftest.$ac_objext; then
43030 wx_cv_func_gettimeofday_has_2_args=yes
43031 else
43032 echo "$as_me: failed program was:" >&5
43033 sed 's/^/| /' conftest.$ac_ext >&5
43034
43035 cat >conftest.$ac_ext <<_ACEOF
43036 /* confdefs.h. */
43037 _ACEOF
43038 cat confdefs.h >>conftest.$ac_ext
43039 cat >>conftest.$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43041
43042 #include <sys/time.h>
43043 #include <unistd.h>
43044
43045 int
43046 main ()
43047 {
43048
43049 struct timeval tv;
43050 gettimeofday(&tv);
43051
43052 ;
43053 return 0;
43054 }
43055 _ACEOF
43056 rm -f conftest.$ac_objext
43057 if { (ac_try="$ac_compile"
43058 case "(($ac_try" in
43059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43060 *) ac_try_echo=$ac_try;;
43061 esac
43062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43063 (eval "$ac_compile") 2>conftest.er1
43064 ac_status=$?
43065 grep -v '^ *+' conftest.er1 >conftest.err
43066 rm -f conftest.er1
43067 cat conftest.err >&5
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); } && {
43070 test -z "$ac_c_werror_flag" ||
43071 test ! -s conftest.err
43072 } && test -s conftest.$ac_objext; then
43073 wx_cv_func_gettimeofday_has_2_args=no
43074 else
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.$ac_ext >&5
43077
43078
43079 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43080 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43081 wx_cv_func_gettimeofday_has_2_args=unknown
43082
43083
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43087
43088 fi
43089
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091
43092 fi
43093 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43094 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43095
43096 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define WX_GETTIMEOFDAY_NO_TZ 1
43099 _ACEOF
43100
43101 fi
43102 fi
43103
43104 if test "$wxUSE_DATETIME" = "yes"; then
43105 { echo "$as_me:$LINENO: checking for strptime" >&5
43106 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43107 if test "${ac_cv_func_strptime+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43109 else
43110 cat >conftest.$ac_ext <<_ACEOF
43111 /* confdefs.h. */
43112 _ACEOF
43113 cat confdefs.h >>conftest.$ac_ext
43114 cat >>conftest.$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43116 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43118 #define strptime innocuous_strptime
43119
43120 /* System header to define __stub macros and hopefully few prototypes,
43121 which can conflict with char strptime (); below.
43122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43123 <limits.h> exists even on freestanding compilers. */
43124
43125 #ifdef __STDC__
43126 # include <limits.h>
43127 #else
43128 # include <assert.h>
43129 #endif
43130
43131 #undef strptime
43132
43133 /* Override any GCC internal prototype to avoid an error.
43134 Use char because int might match the return type of a GCC
43135 builtin and then its argument prototype would still apply. */
43136 #ifdef __cplusplus
43137 extern "C"
43138 #endif
43139 char strptime ();
43140 /* The GNU C library defines this for functions which it implements
43141 to always fail with ENOSYS. Some functions are actually named
43142 something starting with __ and the normal name is an alias. */
43143 #if defined __stub_strptime || defined __stub___strptime
43144 choke me
43145 #endif
43146
43147 int
43148 main ()
43149 {
43150 return strptime ();
43151 ;
43152 return 0;
43153 }
43154 _ACEOF
43155 rm -f conftest.$ac_objext conftest$ac_exeext
43156 if { (ac_try="$ac_link"
43157 case "(($ac_try" in
43158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43159 *) ac_try_echo=$ac_try;;
43160 esac
43161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43162 (eval "$ac_link") 2>conftest.er1
43163 ac_status=$?
43164 grep -v '^ *+' conftest.er1 >conftest.err
43165 rm -f conftest.er1
43166 cat conftest.err >&5
43167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168 (exit $ac_status); } && {
43169 test -z "$ac_c_werror_flag" ||
43170 test ! -s conftest.err
43171 } && test -s conftest$ac_exeext &&
43172 $as_test_x conftest$ac_exeext; then
43173 ac_cv_func_strptime=yes
43174 else
43175 echo "$as_me: failed program was:" >&5
43176 sed 's/^/| /' conftest.$ac_ext >&5
43177
43178 ac_cv_func_strptime=no
43179 fi
43180
43181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43182 conftest$ac_exeext conftest.$ac_ext
43183 fi
43184 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43185 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43186
43187 if test "$ac_cv_func_strptime" = "yes"; then
43188 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43189 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43190 if test "${wx_cv_func_strptime_decl+set}" = set; then
43191 echo $ECHO_N "(cached) $ECHO_C" >&6
43192 else
43193
43194 ac_ext=cpp
43195 ac_cpp='$CXXCPP $CPPFLAGS'
43196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199
43200 cat >conftest.$ac_ext <<_ACEOF
43201 /* confdefs.h. */
43202 _ACEOF
43203 cat confdefs.h >>conftest.$ac_ext
43204 cat >>conftest.$ac_ext <<_ACEOF
43205 /* end confdefs.h. */
43206
43207 #include <time.h>
43208
43209 int
43210 main ()
43211 {
43212
43213 struct tm t;
43214 strptime("foo", "bar", &t);
43215
43216 ;
43217 return 0;
43218 }
43219 _ACEOF
43220 rm -f conftest.$ac_objext
43221 if { (ac_try="$ac_compile"
43222 case "(($ac_try" in
43223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43224 *) ac_try_echo=$ac_try;;
43225 esac
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_compile") 2>conftest.er1
43228 ac_status=$?
43229 grep -v '^ *+' conftest.er1 >conftest.err
43230 rm -f conftest.er1
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_cxx_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest.$ac_objext; then
43237 wx_cv_func_strptime_decl=yes
43238 else
43239 echo "$as_me: failed program was:" >&5
43240 sed 's/^/| /' conftest.$ac_ext >&5
43241
43242 wx_cv_func_strptime_decl=no
43243
43244 fi
43245
43246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43247 ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43252
43253
43254
43255 fi
43256 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43257 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43258 fi
43259 if test "$wx_cv_func_strptime_decl" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define HAVE_STRPTIME_DECL 1
43262 _ACEOF
43263
43264 else
43265 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43266 fi
43267 if test "$ac_cv_func_strptime" = "yes"; then
43268 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43269 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43270 if test "${wx_cv_func_strptime_ok+set}" = set; then
43271 echo $ECHO_N "(cached) $ECHO_C" >&6
43272 else
43273 if test "$cross_compiling" = yes; then
43274 wx_cv_func_strptime_ok=no
43275
43276 else
43277 cat >conftest.$ac_ext <<_ACEOF
43278
43279 #include <stdlib.h>
43280 #include <time.h>
43281 #include "confdefs.h"
43282
43283 $wx_strptime_decl
43284
43285 int main()
43286 {
43287 struct tm t;
43288 return !!strptime("", "%x", &t);
43289 }
43290
43291 _ACEOF
43292 rm -f conftest$ac_exeext
43293 if { (ac_try="$ac_link"
43294 case "(($ac_try" in
43295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43296 *) ac_try_echo=$ac_try;;
43297 esac
43298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43299 (eval "$ac_link") 2>&5
43300 ac_status=$?
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43303 { (case "(($ac_try" in
43304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43305 *) ac_try_echo=$ac_try;;
43306 esac
43307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43308 (eval "$ac_try") 2>&5
43309 ac_status=$?
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); }; }; then
43312 wx_cv_func_strptime_ok=yes
43313 else
43314 echo "$as_me: program exited with status $ac_status" >&5
43315 echo "$as_me: failed program was:" >&5
43316 sed 's/^/| /' conftest.$ac_ext >&5
43317
43318 ( exit $ac_status )
43319 wx_cv_func_strptime_ok=no
43320 fi
43321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43322 fi
43323
43324
43325
43326 fi
43327 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43328 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43329
43330 if test "$wx_cv_func_strptime_ok" = "yes"; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define HAVE_STRPTIME 1
43333 _ACEOF
43334
43335 fi
43336 fi
43337
43338 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43339 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43340 if test "${wx_cv_var_timezone+set}" = set; then
43341 echo $ECHO_N "(cached) $ECHO_C" >&6
43342 else
43343
43344 ac_ext=cpp
43345 ac_cpp='$CXXCPP $CPPFLAGS'
43346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43349
43350 cat >conftest.$ac_ext <<_ACEOF
43351 /* confdefs.h. */
43352 _ACEOF
43353 cat confdefs.h >>conftest.$ac_ext
43354 cat >>conftest.$ac_ext <<_ACEOF
43355 /* end confdefs.h. */
43356
43357 #include <time.h>
43358
43359 int
43360 main ()
43361 {
43362
43363 int tz;
43364 tz = timezone;
43365
43366 ;
43367 return 0;
43368 }
43369 _ACEOF
43370 rm -f conftest.$ac_objext
43371 if { (ac_try="$ac_compile"
43372 case "(($ac_try" in
43373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43374 *) ac_try_echo=$ac_try;;
43375 esac
43376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43377 (eval "$ac_compile") 2>conftest.er1
43378 ac_status=$?
43379 grep -v '^ *+' conftest.er1 >conftest.err
43380 rm -f conftest.er1
43381 cat conftest.err >&5
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); } && {
43384 test -z "$ac_cxx_werror_flag" ||
43385 test ! -s conftest.err
43386 } && test -s conftest.$ac_objext; then
43387
43388 wx_cv_var_timezone=timezone
43389
43390 else
43391 echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43393
43394
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h. */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401
43402 #include <time.h>
43403
43404 int
43405 main ()
43406 {
43407
43408 int tz;
43409 tz = _timezone;
43410
43411 ;
43412 return 0;
43413 }
43414 _ACEOF
43415 rm -f conftest.$ac_objext
43416 if { (ac_try="$ac_compile"
43417 case "(($ac_try" in
43418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43419 *) ac_try_echo=$ac_try;;
43420 esac
43421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43422 (eval "$ac_compile") 2>conftest.er1
43423 ac_status=$?
43424 grep -v '^ *+' conftest.er1 >conftest.err
43425 rm -f conftest.er1
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } && {
43429 test -z "$ac_cxx_werror_flag" ||
43430 test ! -s conftest.err
43431 } && test -s conftest.$ac_objext; then
43432
43433 wx_cv_var_timezone=_timezone
43434
43435 else
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43438
43439
43440 cat >conftest.$ac_ext <<_ACEOF
43441 /* confdefs.h. */
43442 _ACEOF
43443 cat confdefs.h >>conftest.$ac_ext
43444 cat >>conftest.$ac_ext <<_ACEOF
43445 /* end confdefs.h. */
43446
43447 #include <time.h>
43448
43449 int
43450 main ()
43451 {
43452
43453 int tz;
43454 tz = __timezone;
43455
43456 ;
43457 return 0;
43458 }
43459 _ACEOF
43460 rm -f conftest.$ac_objext
43461 if { (ac_try="$ac_compile"
43462 case "(($ac_try" in
43463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43464 *) ac_try_echo=$ac_try;;
43465 esac
43466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43467 (eval "$ac_compile") 2>conftest.er1
43468 ac_status=$?
43469 grep -v '^ *+' conftest.er1 >conftest.err
43470 rm -f conftest.er1
43471 cat conftest.err >&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } && {
43474 test -z "$ac_cxx_werror_flag" ||
43475 test ! -s conftest.err
43476 } && test -s conftest.$ac_objext; then
43477
43478 wx_cv_var_timezone=__timezone
43479
43480 else
43481 echo "$as_me: failed program was:" >&5
43482 sed 's/^/| /' conftest.$ac_ext >&5
43483
43484
43485 if test "$USE_DOS" = 0 ; then
43486 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43487 echo "$as_me: WARNING: no timezone variable" >&2;}
43488 fi
43489
43490
43491 fi
43492
43493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43494
43495
43496 fi
43497
43498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43499
43500
43501 fi
43502
43503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43504 ac_ext=c
43505 ac_cpp='$CPP $CPPFLAGS'
43506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43509
43510
43511
43512 fi
43513 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43514 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43515
43516 if test "x$wx_cv_var_timezone" != x ; then
43517 cat >>confdefs.h <<_ACEOF
43518 #define WX_TIMEZONE $wx_cv_var_timezone
43519 _ACEOF
43520
43521 fi
43522
43523
43524 for ac_func in localtime
43525 do
43526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43530 echo $ECHO_N "(cached) $ECHO_C" >&6
43531 else
43532 cat >conftest.$ac_ext <<_ACEOF
43533 /* confdefs.h. */
43534 _ACEOF
43535 cat confdefs.h >>conftest.$ac_ext
43536 cat >>conftest.$ac_ext <<_ACEOF
43537 /* end confdefs.h. */
43538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43540 #define $ac_func innocuous_$ac_func
43541
43542 /* System header to define __stub macros and hopefully few prototypes,
43543 which can conflict with char $ac_func (); below.
43544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43545 <limits.h> exists even on freestanding compilers. */
43546
43547 #ifdef __STDC__
43548 # include <limits.h>
43549 #else
43550 # include <assert.h>
43551 #endif
43552
43553 #undef $ac_func
43554
43555 /* Override any GCC internal prototype to avoid an error.
43556 Use char because int might match the return type of a GCC
43557 builtin and then its argument prototype would still apply. */
43558 #ifdef __cplusplus
43559 extern "C"
43560 #endif
43561 char $ac_func ();
43562 /* The GNU C library defines this for functions which it implements
43563 to always fail with ENOSYS. Some functions are actually named
43564 something starting with __ and the normal name is an alias. */
43565 #if defined __stub_$ac_func || defined __stub___$ac_func
43566 choke me
43567 #endif
43568
43569 int
43570 main ()
43571 {
43572 return $ac_func ();
43573 ;
43574 return 0;
43575 }
43576 _ACEOF
43577 rm -f conftest.$ac_objext conftest$ac_exeext
43578 if { (ac_try="$ac_link"
43579 case "(($ac_try" in
43580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43581 *) ac_try_echo=$ac_try;;
43582 esac
43583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43584 (eval "$ac_link") 2>conftest.er1
43585 ac_status=$?
43586 grep -v '^ *+' conftest.er1 >conftest.err
43587 rm -f conftest.er1
43588 cat conftest.err >&5
43589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590 (exit $ac_status); } && {
43591 test -z "$ac_c_werror_flag" ||
43592 test ! -s conftest.err
43593 } && test -s conftest$ac_exeext &&
43594 $as_test_x conftest$ac_exeext; then
43595 eval "$as_ac_var=yes"
43596 else
43597 echo "$as_me: failed program was:" >&5
43598 sed 's/^/| /' conftest.$ac_ext >&5
43599
43600 eval "$as_ac_var=no"
43601 fi
43602
43603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43604 conftest$ac_exeext conftest.$ac_ext
43605 fi
43606 ac_res=`eval echo '${'$as_ac_var'}'`
43607 { echo "$as_me:$LINENO: result: $ac_res" >&5
43608 echo "${ECHO_T}$ac_res" >&6; }
43609 if test `eval echo '${'$as_ac_var'}'` = yes; then
43610 cat >>confdefs.h <<_ACEOF
43611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43612 _ACEOF
43613
43614 fi
43615 done
43616
43617
43618 if test "$ac_cv_func_localtime" = "yes"; then
43619 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43620 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43621 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43622 echo $ECHO_N "(cached) $ECHO_C" >&6
43623 else
43624
43625 cat >conftest.$ac_ext <<_ACEOF
43626 /* confdefs.h. */
43627 _ACEOF
43628 cat confdefs.h >>conftest.$ac_ext
43629 cat >>conftest.$ac_ext <<_ACEOF
43630 /* end confdefs.h. */
43631
43632 #include <time.h>
43633
43634 int
43635 main ()
43636 {
43637
43638 struct tm tm;
43639 tm.tm_gmtoff++;
43640
43641 ;
43642 return 0;
43643 }
43644 _ACEOF
43645 rm -f conftest.$ac_objext
43646 if { (ac_try="$ac_compile"
43647 case "(($ac_try" in
43648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43649 *) ac_try_echo=$ac_try;;
43650 esac
43651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43652 (eval "$ac_compile") 2>conftest.er1
43653 ac_status=$?
43654 grep -v '^ *+' conftest.er1 >conftest.err
43655 rm -f conftest.er1
43656 cat conftest.err >&5
43657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658 (exit $ac_status); } && {
43659 test -z "$ac_c_werror_flag" ||
43660 test ! -s conftest.err
43661 } && test -s conftest.$ac_objext; then
43662
43663 wx_cv_struct_tm_has_gmtoff=yes
43664
43665 else
43666 echo "$as_me: failed program was:" >&5
43667 sed 's/^/| /' conftest.$ac_ext >&5
43668
43669 wx_cv_struct_tm_has_gmtoff=no
43670
43671 fi
43672
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43674
43675 fi
43676 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43677 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43678 fi
43679
43680 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define WX_GMTOFF_IN_TM 1
43683 _ACEOF
43684
43685 fi
43686
43687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43688 fi
43689
43690
43691 if test "$wxUSE_SOCKETS" = "yes"; then
43692 if test "$wxUSE_MGL" = 1; then
43693 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43694 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43695 wxUSE_SOCKETS="no"
43696 fi
43697 fi
43698
43699 if test "$wxUSE_SOCKETS" = "yes"; then
43700 if test "$TOOLKIT" != "MSW"; then
43701 { echo "$as_me:$LINENO: checking for socket" >&5
43702 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43703 if test "${ac_cv_func_socket+set}" = set; then
43704 echo $ECHO_N "(cached) $ECHO_C" >&6
43705 else
43706 cat >conftest.$ac_ext <<_ACEOF
43707 /* confdefs.h. */
43708 _ACEOF
43709 cat confdefs.h >>conftest.$ac_ext
43710 cat >>conftest.$ac_ext <<_ACEOF
43711 /* end confdefs.h. */
43712 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43714 #define socket innocuous_socket
43715
43716 /* System header to define __stub macros and hopefully few prototypes,
43717 which can conflict with char socket (); below.
43718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43719 <limits.h> exists even on freestanding compilers. */
43720
43721 #ifdef __STDC__
43722 # include <limits.h>
43723 #else
43724 # include <assert.h>
43725 #endif
43726
43727 #undef socket
43728
43729 /* Override any GCC internal prototype to avoid an error.
43730 Use char because int might match the return type of a GCC
43731 builtin and then its argument prototype would still apply. */
43732 #ifdef __cplusplus
43733 extern "C"
43734 #endif
43735 char socket ();
43736 /* The GNU C library defines this for functions which it implements
43737 to always fail with ENOSYS. Some functions are actually named
43738 something starting with __ and the normal name is an alias. */
43739 #if defined __stub_socket || defined __stub___socket
43740 choke me
43741 #endif
43742
43743 int
43744 main ()
43745 {
43746 return socket ();
43747 ;
43748 return 0;
43749 }
43750 _ACEOF
43751 rm -f conftest.$ac_objext conftest$ac_exeext
43752 if { (ac_try="$ac_link"
43753 case "(($ac_try" in
43754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43755 *) ac_try_echo=$ac_try;;
43756 esac
43757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43758 (eval "$ac_link") 2>conftest.er1
43759 ac_status=$?
43760 grep -v '^ *+' conftest.er1 >conftest.err
43761 rm -f conftest.er1
43762 cat conftest.err >&5
43763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43764 (exit $ac_status); } && {
43765 test -z "$ac_c_werror_flag" ||
43766 test ! -s conftest.err
43767 } && test -s conftest$ac_exeext &&
43768 $as_test_x conftest$ac_exeext; then
43769 ac_cv_func_socket=yes
43770 else
43771 echo "$as_me: failed program was:" >&5
43772 sed 's/^/| /' conftest.$ac_ext >&5
43773
43774 ac_cv_func_socket=no
43775 fi
43776
43777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43778 conftest$ac_exeext conftest.$ac_ext
43779 fi
43780 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43781 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43782 if test $ac_cv_func_socket = yes; then
43783 :
43784 else
43785
43786 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43787 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43788 if test "${ac_cv_lib_socket_socket+set}" = set; then
43789 echo $ECHO_N "(cached) $ECHO_C" >&6
43790 else
43791 ac_check_lib_save_LIBS=$LIBS
43792 LIBS="-lsocket $LIBS"
43793 cat >conftest.$ac_ext <<_ACEOF
43794 /* confdefs.h. */
43795 _ACEOF
43796 cat confdefs.h >>conftest.$ac_ext
43797 cat >>conftest.$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43799
43800 /* Override any GCC internal prototype to avoid an error.
43801 Use char because int might match the return type of a GCC
43802 builtin and then its argument prototype would still apply. */
43803 #ifdef __cplusplus
43804 extern "C"
43805 #endif
43806 char socket ();
43807 int
43808 main ()
43809 {
43810 return socket ();
43811 ;
43812 return 0;
43813 }
43814 _ACEOF
43815 rm -f conftest.$ac_objext conftest$ac_exeext
43816 if { (ac_try="$ac_link"
43817 case "(($ac_try" in
43818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43819 *) ac_try_echo=$ac_try;;
43820 esac
43821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43822 (eval "$ac_link") 2>conftest.er1
43823 ac_status=$?
43824 grep -v '^ *+' conftest.er1 >conftest.err
43825 rm -f conftest.er1
43826 cat conftest.err >&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && {
43829 test -z "$ac_c_werror_flag" ||
43830 test ! -s conftest.err
43831 } && test -s conftest$ac_exeext &&
43832 $as_test_x conftest$ac_exeext; then
43833 ac_cv_lib_socket_socket=yes
43834 else
43835 echo "$as_me: failed program was:" >&5
43836 sed 's/^/| /' conftest.$ac_ext >&5
43837
43838 ac_cv_lib_socket_socket=no
43839 fi
43840
43841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43842 conftest$ac_exeext conftest.$ac_ext
43843 LIBS=$ac_check_lib_save_LIBS
43844 fi
43845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43846 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43847 if test $ac_cv_lib_socket_socket = yes; then
43848 if test "$INET_LINK" != " -lsocket"; then
43849 INET_LINK="$INET_LINK -lsocket"
43850 fi
43851 else
43852
43853 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43854 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43855 wxUSE_SOCKETS=no
43856
43857
43858 fi
43859
43860
43861
43862 fi
43863
43864 fi
43865 fi
43866
43867 if test "$wxUSE_SOCKETS" = "yes" ; then
43868 if test "$TOOLKIT" != "MSW"; then
43869 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43870 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43871 if test "${wx_cv_type_getsockname3+set}" = set; then
43872 echo $ECHO_N "(cached) $ECHO_C" >&6
43873 else
43874
43875 ac_ext=cpp
43876 ac_cpp='$CXXCPP $CPPFLAGS'
43877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43880
43881 cat >conftest.$ac_ext <<_ACEOF
43882 /* confdefs.h. */
43883 _ACEOF
43884 cat confdefs.h >>conftest.$ac_ext
43885 cat >>conftest.$ac_ext <<_ACEOF
43886 /* end confdefs.h. */
43887
43888 #include <sys/types.h>
43889 #include <sys/socket.h>
43890
43891 int
43892 main ()
43893 {
43894
43895 socklen_t len;
43896 getsockname(0, 0, &len);
43897
43898 ;
43899 return 0;
43900 }
43901 _ACEOF
43902 rm -f conftest.$ac_objext
43903 if { (ac_try="$ac_compile"
43904 case "(($ac_try" in
43905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43906 *) ac_try_echo=$ac_try;;
43907 esac
43908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43909 (eval "$ac_compile") 2>conftest.er1
43910 ac_status=$?
43911 grep -v '^ *+' conftest.er1 >conftest.err
43912 rm -f conftest.er1
43913 cat conftest.err >&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); } && {
43916 test -z "$ac_cxx_werror_flag" ||
43917 test ! -s conftest.err
43918 } && test -s conftest.$ac_objext; then
43919 wx_cv_type_getsockname3=socklen_t
43920 else
43921 echo "$as_me: failed program was:" >&5
43922 sed 's/^/| /' conftest.$ac_ext >&5
43923
43924
43925 CFLAGS_OLD="$CFLAGS"
43926 if test "$GCC" = yes ; then
43927 CFLAGS="-Werror $CFLAGS"
43928 fi
43929
43930 cat >conftest.$ac_ext <<_ACEOF
43931 /* confdefs.h. */
43932 _ACEOF
43933 cat confdefs.h >>conftest.$ac_ext
43934 cat >>conftest.$ac_ext <<_ACEOF
43935 /* end confdefs.h. */
43936
43937 #include <sys/types.h>
43938 #include <sys/socket.h>
43939
43940 int
43941 main ()
43942 {
43943
43944 size_t len;
43945 getsockname(0, 0, &len);
43946
43947 ;
43948 return 0;
43949 }
43950 _ACEOF
43951 rm -f conftest.$ac_objext
43952 if { (ac_try="$ac_compile"
43953 case "(($ac_try" in
43954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43955 *) ac_try_echo=$ac_try;;
43956 esac
43957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43958 (eval "$ac_compile") 2>conftest.er1
43959 ac_status=$?
43960 grep -v '^ *+' conftest.er1 >conftest.err
43961 rm -f conftest.er1
43962 cat conftest.err >&5
43963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43964 (exit $ac_status); } && {
43965 test -z "$ac_cxx_werror_flag" ||
43966 test ! -s conftest.err
43967 } && test -s conftest.$ac_objext; then
43968 wx_cv_type_getsockname3=size_t
43969 else
43970 echo "$as_me: failed program was:" >&5
43971 sed 's/^/| /' conftest.$ac_ext >&5
43972
43973 cat >conftest.$ac_ext <<_ACEOF
43974 /* confdefs.h. */
43975 _ACEOF
43976 cat confdefs.h >>conftest.$ac_ext
43977 cat >>conftest.$ac_ext <<_ACEOF
43978 /* end confdefs.h. */
43979
43980 #include <sys/types.h>
43981 #include <sys/socket.h>
43982
43983 int
43984 main ()
43985 {
43986
43987 int len;
43988 getsockname(0, 0, &len);
43989
43990 ;
43991 return 0;
43992 }
43993 _ACEOF
43994 rm -f conftest.$ac_objext
43995 if { (ac_try="$ac_compile"
43996 case "(($ac_try" in
43997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43998 *) ac_try_echo=$ac_try;;
43999 esac
44000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44001 (eval "$ac_compile") 2>conftest.er1
44002 ac_status=$?
44003 grep -v '^ *+' conftest.er1 >conftest.err
44004 rm -f conftest.er1
44005 cat conftest.err >&5
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); } && {
44008 test -z "$ac_cxx_werror_flag" ||
44009 test ! -s conftest.err
44010 } && test -s conftest.$ac_objext; then
44011 wx_cv_type_getsockname3=int
44012 else
44013 echo "$as_me: failed program was:" >&5
44014 sed 's/^/| /' conftest.$ac_ext >&5
44015
44016 wx_cv_type_getsockname3=unknown
44017
44018 fi
44019
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021
44022 fi
44023
44024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44025
44026 CFLAGS="$CFLAGS_OLD"
44027
44028
44029 fi
44030
44031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44032 ac_ext=c
44033 ac_cpp='$CPP $CPPFLAGS'
44034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44037
44038
44039 fi
44040 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44041 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44042
44043 if test "$wx_cv_type_getsockname3" = "unknown"; then
44044 wxUSE_SOCKETS=no
44045 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44046 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44047 else
44048 cat >>confdefs.h <<_ACEOF
44049 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44050 _ACEOF
44051
44052 fi
44053 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44054 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44055 if test "${wx_cv_type_getsockopt5+set}" = set; then
44056 echo $ECHO_N "(cached) $ECHO_C" >&6
44057 else
44058
44059 ac_ext=cpp
44060 ac_cpp='$CXXCPP $CPPFLAGS'
44061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44064
44065 cat >conftest.$ac_ext <<_ACEOF
44066 /* confdefs.h. */
44067 _ACEOF
44068 cat confdefs.h >>conftest.$ac_ext
44069 cat >>conftest.$ac_ext <<_ACEOF
44070 /* end confdefs.h. */
44071
44072 #include <sys/types.h>
44073 #include <sys/socket.h>
44074
44075 int
44076 main ()
44077 {
44078
44079 socklen_t len;
44080 getsockopt(0, 0, 0, 0, &len);
44081
44082 ;
44083 return 0;
44084 }
44085 _ACEOF
44086 rm -f conftest.$ac_objext
44087 if { (ac_try="$ac_compile"
44088 case "(($ac_try" in
44089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44090 *) ac_try_echo=$ac_try;;
44091 esac
44092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44093 (eval "$ac_compile") 2>conftest.er1
44094 ac_status=$?
44095 grep -v '^ *+' conftest.er1 >conftest.err
44096 rm -f conftest.er1
44097 cat conftest.err >&5
44098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44099 (exit $ac_status); } && {
44100 test -z "$ac_cxx_werror_flag" ||
44101 test ! -s conftest.err
44102 } && test -s conftest.$ac_objext; then
44103 wx_cv_type_getsockopt5=socklen_t
44104 else
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.$ac_ext >&5
44107
44108
44109 cat >conftest.$ac_ext <<_ACEOF
44110 /* confdefs.h. */
44111 _ACEOF
44112 cat confdefs.h >>conftest.$ac_ext
44113 cat >>conftest.$ac_ext <<_ACEOF
44114 /* end confdefs.h. */
44115
44116 #include <sys/types.h>
44117 #include <sys/socket.h>
44118
44119 int
44120 main ()
44121 {
44122
44123 size_t len;
44124 getsockopt(0, 0, 0, 0, &len);
44125
44126 ;
44127 return 0;
44128 }
44129 _ACEOF
44130 rm -f conftest.$ac_objext
44131 if { (ac_try="$ac_compile"
44132 case "(($ac_try" in
44133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44134 *) ac_try_echo=$ac_try;;
44135 esac
44136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44137 (eval "$ac_compile") 2>conftest.er1
44138 ac_status=$?
44139 grep -v '^ *+' conftest.er1 >conftest.err
44140 rm -f conftest.er1
44141 cat conftest.err >&5
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); } && {
44144 test -z "$ac_cxx_werror_flag" ||
44145 test ! -s conftest.err
44146 } && test -s conftest.$ac_objext; then
44147 wx_cv_type_getsockopt5=size_t
44148 else
44149 echo "$as_me: failed program was:" >&5
44150 sed 's/^/| /' conftest.$ac_ext >&5
44151
44152 cat >conftest.$ac_ext <<_ACEOF
44153 /* confdefs.h. */
44154 _ACEOF
44155 cat confdefs.h >>conftest.$ac_ext
44156 cat >>conftest.$ac_ext <<_ACEOF
44157 /* end confdefs.h. */
44158
44159 #include <sys/types.h>
44160 #include <sys/socket.h>
44161
44162 int
44163 main ()
44164 {
44165
44166 int len;
44167 getsockopt(0, 0, 0, 0, &len);
44168
44169 ;
44170 return 0;
44171 }
44172 _ACEOF
44173 rm -f conftest.$ac_objext
44174 if { (ac_try="$ac_compile"
44175 case "(($ac_try" in
44176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44177 *) ac_try_echo=$ac_try;;
44178 esac
44179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44180 (eval "$ac_compile") 2>conftest.er1
44181 ac_status=$?
44182 grep -v '^ *+' conftest.er1 >conftest.err
44183 rm -f conftest.er1
44184 cat conftest.err >&5
44185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186 (exit $ac_status); } && {
44187 test -z "$ac_cxx_werror_flag" ||
44188 test ! -s conftest.err
44189 } && test -s conftest.$ac_objext; then
44190 wx_cv_type_getsockopt5=int
44191 else
44192 echo "$as_me: failed program was:" >&5
44193 sed 's/^/| /' conftest.$ac_ext >&5
44194
44195 wx_cv_type_getsockopt5=unknown
44196
44197 fi
44198
44199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44200
44201 fi
44202
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44204
44205
44206 fi
44207
44208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44209 ac_ext=c
44210 ac_cpp='$CPP $CPPFLAGS'
44211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44214
44215
44216 fi
44217 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44218 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44219
44220 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44221 wxUSE_SOCKETS=no
44222 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44223 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44224 else
44225 cat >>confdefs.h <<_ACEOF
44226 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44227 _ACEOF
44228
44229 fi
44230 fi
44231 fi
44232
44233 if test "$wxUSE_SOCKETS" = "yes" ; then
44234 if test "$wxUSE_IPV6" = "yes"; then
44235 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44236 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44237 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44238 echo $ECHO_N "(cached) $ECHO_C" >&6
44239 else
44240
44241 cat >conftest.$ac_ext <<_ACEOF
44242 /* confdefs.h. */
44243 _ACEOF
44244 cat confdefs.h >>conftest.$ac_ext
44245 cat >>conftest.$ac_ext <<_ACEOF
44246 /* end confdefs.h. */
44247
44248 #include <sys/types.h>
44249 #include <sys/socket.h>
44250 #include <netinet/in.h>
44251
44252 int
44253 main ()
44254 {
44255
44256 struct sockaddr_in6 sa6;
44257
44258 ;
44259 return 0;
44260 }
44261 _ACEOF
44262 rm -f conftest.$ac_objext
44263 if { (ac_try="$ac_compile"
44264 case "(($ac_try" in
44265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44266 *) ac_try_echo=$ac_try;;
44267 esac
44268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44269 (eval "$ac_compile") 2>conftest.er1
44270 ac_status=$?
44271 grep -v '^ *+' conftest.er1 >conftest.err
44272 rm -f conftest.er1
44273 cat conftest.err >&5
44274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275 (exit $ac_status); } && {
44276 test -z "$ac_c_werror_flag" ||
44277 test ! -s conftest.err
44278 } && test -s conftest.$ac_objext; then
44279 wx_cv_type_sockaddr_in6=yes
44280 else
44281 echo "$as_me: failed program was:" >&5
44282 sed 's/^/| /' conftest.$ac_ext >&5
44283
44284 wx_cv_type_sockaddr_in6=no
44285
44286 fi
44287
44288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44289
44290
44291 fi
44292 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44293 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44294
44295 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44296 cat >>confdefs.h <<\_ACEOF
44297 #define wxUSE_IPV6 1
44298 _ACEOF
44299
44300 else
44301 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44302 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44303 fi
44304 fi
44305
44306 cat >>confdefs.h <<\_ACEOF
44307 #define wxUSE_SOCKETS 1
44308 _ACEOF
44309
44310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44311 fi
44312
44313 if test "$wxUSE_PROTOCOL" = "yes"; then
44314 if test "$wxUSE_SOCKETS" != "yes"; then
44315 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44316 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44317 wxUSE_PROTOCOL=no
44318 fi
44319 fi
44320
44321 if test "$wxUSE_PROTOCOL" = "yes"; then
44322 cat >>confdefs.h <<\_ACEOF
44323 #define wxUSE_PROTOCOL 1
44324 _ACEOF
44325
44326
44327 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_PROTOCOL_HTTP 1
44330 _ACEOF
44331
44332 fi
44333 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_PROTOCOL_FTP 1
44336 _ACEOF
44337
44338 fi
44339 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_PROTOCOL_FILE 1
44342 _ACEOF
44343
44344 fi
44345 else
44346 if test "$wxUSE_FS_INET" = "yes"; then
44347 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44348 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44349 wxUSE_FS_INET="no"
44350 fi
44351 fi
44352
44353 if test "$wxUSE_URL" = "yes"; then
44354 if test "$wxUSE_PROTOCOL" != "yes"; then
44355 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44356 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44357 wxUSE_URL=no
44358 fi
44359 if test "$wxUSE_URL" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_URL 1
44362 _ACEOF
44363
44364 fi
44365 fi
44366
44367 if test "$wxUSE_VARIANT" = "yes"; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_VARIANT 1
44370 _ACEOF
44371
44372 fi
44373
44374 if test "$wxUSE_WEAKREF" = "yes"; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_WEAKREF 1
44377 _ACEOF
44378
44379 fi
44380
44381 if test "$wxUSE_FS_INET" = "yes"; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_FS_INET 1
44384 _ACEOF
44385
44386 fi
44387
44388
44389 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44390 wxUSE_JOYSTICK=no
44391
44392 if test "$TOOLKIT" = "MSW"; then
44393 wxUSE_JOYSTICK=yes
44394
44395 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44396 if test "$USE_DARWIN" = 1; then
44397 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44398 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44399 ac_ext=cpp
44400 ac_cpp='$CXXCPP $CPPFLAGS'
44401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404
44405 cat >conftest.$ac_ext <<_ACEOF
44406 /* confdefs.h. */
44407 _ACEOF
44408 cat confdefs.h >>conftest.$ac_ext
44409 cat >>conftest.$ac_ext <<_ACEOF
44410 /* end confdefs.h. */
44411 #include <IOKit/hid/IOHIDLib.h>
44412 int
44413 main ()
44414 {
44415 IOHIDQueueInterface *qi = NULL;
44416 IOHIDCallbackFunction cb = NULL;
44417 qi->setEventCallout(NULL, cb, NULL, NULL);
44418 ;
44419 return 0;
44420 }
44421 _ACEOF
44422 rm -f conftest.$ac_objext
44423 if { (ac_try="$ac_compile"
44424 case "(($ac_try" in
44425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44426 *) ac_try_echo=$ac_try;;
44427 esac
44428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44429 (eval "$ac_compile") 2>conftest.er1
44430 ac_status=$?
44431 grep -v '^ *+' conftest.er1 >conftest.err
44432 rm -f conftest.er1
44433 cat conftest.err >&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } && {
44436 test -z "$ac_cxx_werror_flag" ||
44437 test ! -s conftest.err
44438 } && test -s conftest.$ac_objext; then
44439 wxUSE_JOYSTICK=yes
44440
44441 else
44442 echo "$as_me: failed program was:" >&5
44443 sed 's/^/| /' conftest.$ac_ext >&5
44444
44445
44446 fi
44447
44448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44449 ac_ext=c
44450 ac_cpp='$CPP $CPPFLAGS'
44451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44454
44455 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44456 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44457 fi
44458
44459 else
44460 if test "$wxUSE_MGL" != 1; then
44461
44462 for ac_header in linux/joystick.h
44463 do
44464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44465 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44469 else
44470 cat >conftest.$ac_ext <<_ACEOF
44471 /* confdefs.h. */
44472 _ACEOF
44473 cat confdefs.h >>conftest.$ac_ext
44474 cat >>conftest.$ac_ext <<_ACEOF
44475 /* end confdefs.h. */
44476 $ac_includes_default
44477
44478 #include <$ac_header>
44479 _ACEOF
44480 rm -f conftest.$ac_objext
44481 if { (ac_try="$ac_compile"
44482 case "(($ac_try" in
44483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44484 *) ac_try_echo=$ac_try;;
44485 esac
44486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44487 (eval "$ac_compile") 2>conftest.er1
44488 ac_status=$?
44489 grep -v '^ *+' conftest.er1 >conftest.err
44490 rm -f conftest.er1
44491 cat conftest.err >&5
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); } && {
44494 test -z "$ac_c_werror_flag" ||
44495 test ! -s conftest.err
44496 } && test -s conftest.$ac_objext; then
44497 eval "$as_ac_Header=yes"
44498 else
44499 echo "$as_me: failed program was:" >&5
44500 sed 's/^/| /' conftest.$ac_ext >&5
44501
44502 eval "$as_ac_Header=no"
44503 fi
44504
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 fi
44507 ac_res=`eval echo '${'$as_ac_Header'}'`
44508 { echo "$as_me:$LINENO: result: $ac_res" >&5
44509 echo "${ECHO_T}$ac_res" >&6; }
44510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44511 cat >>confdefs.h <<_ACEOF
44512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44513 _ACEOF
44514 wxUSE_JOYSTICK=yes
44515 fi
44516
44517 done
44518
44519 fi
44520 fi
44521
44522 if test "$wxUSE_JOYSTICK" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_JOYSTICK 1
44525 _ACEOF
44526
44527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44528 else
44529 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44530 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44531 fi
44532 fi
44533
44534
44535
44536 if test "$wxUSE_FONTENUM" = "yes" ; then
44537 cat >>confdefs.h <<\_ACEOF
44538 #define wxUSE_FONTENUM 1
44539 _ACEOF
44540
44541 fi
44542
44543 if test "$wxUSE_FONTMAP" = "yes" ; then
44544 cat >>confdefs.h <<\_ACEOF
44545 #define wxUSE_FONTMAP 1
44546 _ACEOF
44547
44548 fi
44549
44550 if test "$wxUSE_UNICODE" = "yes" ; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_UNICODE 1
44553 _ACEOF
44554
44555
44556 if test "$USE_WIN32" != 1; then
44557 wxUSE_UNICODE_MSLU=no
44558 fi
44559
44560 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44561 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44562 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44563 if test "${ac_cv_lib_unicows_main+set}" = set; then
44564 echo $ECHO_N "(cached) $ECHO_C" >&6
44565 else
44566 ac_check_lib_save_LIBS=$LIBS
44567 LIBS="-lunicows $LIBS"
44568 cat >conftest.$ac_ext <<_ACEOF
44569 /* confdefs.h. */
44570 _ACEOF
44571 cat confdefs.h >>conftest.$ac_ext
44572 cat >>conftest.$ac_ext <<_ACEOF
44573 /* end confdefs.h. */
44574
44575
44576 int
44577 main ()
44578 {
44579 return main ();
44580 ;
44581 return 0;
44582 }
44583 _ACEOF
44584 rm -f conftest.$ac_objext conftest$ac_exeext
44585 if { (ac_try="$ac_link"
44586 case "(($ac_try" in
44587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44588 *) ac_try_echo=$ac_try;;
44589 esac
44590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44591 (eval "$ac_link") 2>conftest.er1
44592 ac_status=$?
44593 grep -v '^ *+' conftest.er1 >conftest.err
44594 rm -f conftest.er1
44595 cat conftest.err >&5
44596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44597 (exit $ac_status); } && {
44598 test -z "$ac_c_werror_flag" ||
44599 test ! -s conftest.err
44600 } && test -s conftest$ac_exeext &&
44601 $as_test_x conftest$ac_exeext; then
44602 ac_cv_lib_unicows_main=yes
44603 else
44604 echo "$as_me: failed program was:" >&5
44605 sed 's/^/| /' conftest.$ac_ext >&5
44606
44607 ac_cv_lib_unicows_main=no
44608 fi
44609
44610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44611 conftest$ac_exeext conftest.$ac_ext
44612 LIBS=$ac_check_lib_save_LIBS
44613 fi
44614 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44615 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44616 if test $ac_cv_lib_unicows_main = yes; then
44617
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_UNICODE_MSLU 1
44620 _ACEOF
44621
44622
44623 else
44624
44625 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44626 Applications will only run on Windows NT/2000/XP!" >&5
44627 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44628 Applications will only run on Windows NT/2000/XP!" >&2;}
44629 wxUSE_UNICODE_MSLU=no
44630
44631 fi
44632
44633 fi
44634 fi
44635
44636 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_UNICODE_UTF8 1
44639 _ACEOF
44640
44641
44642 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_UTF8_LOCALE_ONLY 1
44645 _ACEOF
44646
44647 fi
44648 fi
44649
44650
44651 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44652 cat >>confdefs.h <<\_ACEOF
44653 #define wxUSE_CONSTRAINTS 1
44654 _ACEOF
44655
44656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44657 fi
44658
44659 if test "$wxUSE_MDI" = "yes"; then
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_MDI 1
44662 _ACEOF
44663
44664
44665 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_MDI_ARCHITECTURE 1
44668 _ACEOF
44669
44670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44671 fi
44672 fi
44673
44674 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44677 _ACEOF
44678
44679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44680 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44682 fi
44683 fi
44684
44685 if test "$wxUSE_HELP" = "yes"; then
44686 cat >>confdefs.h <<\_ACEOF
44687 #define wxUSE_HELP 1
44688 _ACEOF
44689
44690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44691
44692 if test "$wxUSE_MSW" = 1; then
44693 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_MS_HTML_HELP 1
44696 _ACEOF
44697
44698 fi
44699 fi
44700
44701 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44702 if test "$wxUSE_HTML" = "yes"; then
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_WXHTML_HELP 1
44705 _ACEOF
44706
44707 else
44708 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44709 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44710 wxUSE_WXHTML_HELP=no
44711 fi
44712 fi
44713 fi
44714
44715 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44716 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44717 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44718 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44719 else
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_PRINTING_ARCHITECTURE 1
44722 _ACEOF
44723
44724 fi
44725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44726 fi
44727
44728 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_POSTSCRIPT 1
44731 _ACEOF
44732
44733 fi
44734
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44737 _ACEOF
44738
44739
44740 if test "$wxUSE_SVG" = "yes"; then
44741 cat >>confdefs.h <<\_ACEOF
44742 #define wxUSE_SVG 1
44743 _ACEOF
44744
44745 fi
44746
44747
44748 if test "$wxUSE_METAFILE" = "yes"; then
44749 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44750 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44751 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44752 wxUSE_METAFILE=no
44753 fi
44754 fi
44755
44756
44757 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44758 -o "$wxUSE_CLIPBOARD" = "yes" \
44759 -o "$wxUSE_OLE" = "yes" \
44760 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44761 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44762 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44763 if test "${ac_cv_header_ole2_h+set}" = set; then
44764 echo $ECHO_N "(cached) $ECHO_C" >&6
44765 else
44766 cat >conftest.$ac_ext <<_ACEOF
44767 /* confdefs.h. */
44768 _ACEOF
44769 cat confdefs.h >>conftest.$ac_ext
44770 cat >>conftest.$ac_ext <<_ACEOF
44771 /* end confdefs.h. */
44772
44773
44774 #include <ole2.h>
44775 _ACEOF
44776 rm -f conftest.$ac_objext
44777 if { (ac_try="$ac_compile"
44778 case "(($ac_try" in
44779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44780 *) ac_try_echo=$ac_try;;
44781 esac
44782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44783 (eval "$ac_compile") 2>conftest.er1
44784 ac_status=$?
44785 grep -v '^ *+' conftest.er1 >conftest.err
44786 rm -f conftest.er1
44787 cat conftest.err >&5
44788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44789 (exit $ac_status); } && {
44790 test -z "$ac_c_werror_flag" ||
44791 test ! -s conftest.err
44792 } && test -s conftest.$ac_objext; then
44793 ac_cv_header_ole2_h=yes
44794 else
44795 echo "$as_me: failed program was:" >&5
44796 sed 's/^/| /' conftest.$ac_ext >&5
44797
44798 ac_cv_header_ole2_h=no
44799 fi
44800
44801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44802 fi
44803 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44804 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44805
44806
44807
44808 if test "$ac_cv_header_ole2_h" = "yes" ; then
44809 if test "$GCC" = yes ; then
44810 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44811 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44812 cat >conftest.$ac_ext <<_ACEOF
44813 /* confdefs.h. */
44814 _ACEOF
44815 cat confdefs.h >>conftest.$ac_ext
44816 cat >>conftest.$ac_ext <<_ACEOF
44817 /* end confdefs.h. */
44818 #include <windows.h>
44819 #include <ole2.h>
44820 int
44821 main ()
44822 {
44823
44824 ;
44825 return 0;
44826 }
44827 _ACEOF
44828 rm -f conftest.$ac_objext
44829 if { (ac_try="$ac_compile"
44830 case "(($ac_try" in
44831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44832 *) ac_try_echo=$ac_try;;
44833 esac
44834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44835 (eval "$ac_compile") 2>conftest.er1
44836 ac_status=$?
44837 grep -v '^ *+' conftest.er1 >conftest.err
44838 rm -f conftest.er1
44839 cat conftest.err >&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); } && {
44842 test -z "$ac_c_werror_flag" ||
44843 test ! -s conftest.err
44844 } && test -s conftest.$ac_objext; then
44845 { echo "$as_me:$LINENO: result: no" >&5
44846 echo "${ECHO_T}no" >&6; }
44847 else
44848 echo "$as_me: failed program was:" >&5
44849 sed 's/^/| /' conftest.$ac_ext >&5
44850
44851 { echo "$as_me:$LINENO: result: yes" >&5
44852 echo "${ECHO_T}yes" >&6; }
44853 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44854 fi
44855
44856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44857 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44858 if test "$wxUSE_OLE" = "yes" ; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_OLE 1
44861 _ACEOF
44862
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_OLE_AUTOMATION 1
44865 _ACEOF
44866
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_ACTIVEX 1
44869 _ACEOF
44870
44871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44872 fi
44873 fi
44874
44875 if test "$wxUSE_DATAOBJ" = "yes" ; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_DATAOBJ 1
44878 _ACEOF
44879
44880 fi
44881 else
44882 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44883 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44884
44885 wxUSE_CLIPBOARD=no
44886 wxUSE_DRAG_AND_DROP=no
44887 wxUSE_DATAOBJ=no
44888 wxUSE_OLE=no
44889 fi
44890
44891 if test "$wxUSE_METAFILE" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_METAFILE 1
44894 _ACEOF
44895
44896
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_ENH_METAFILE 1
44899 _ACEOF
44900
44901 fi
44902 fi
44903
44904 if test "$wxUSE_IPC" = "yes"; then
44905 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44906 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44907 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44908 wxUSE_IPC=no
44909 fi
44910
44911 if test "$wxUSE_IPC" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_IPC 1
44914 _ACEOF
44915
44916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44917 fi
44918 fi
44919
44920 if test "$wxUSE_DATAOBJ" = "yes"; then
44921 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44922 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44923 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44924 wxUSE_DATAOBJ=no
44925 else
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_DATAOBJ 1
44928 _ACEOF
44929
44930 fi
44931 else
44932 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44933 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44934 wxUSE_CLIPBOARD=no
44935 wxUSE_DRAG_AND_DROP=no
44936 fi
44937
44938 if test "$wxUSE_CLIPBOARD" = "yes"; then
44939 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44940 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44941 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44942 wxUSE_CLIPBOARD=no
44943 fi
44944
44945 if test "$wxUSE_CLIPBOARD" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_CLIPBOARD 1
44948 _ACEOF
44949
44950 fi
44951 fi
44952
44953 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44954 if test "$wxUSE_GTK" = 1; then
44955 if test "$WXGTK12" != 1; then
44956 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44957 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44958 wxUSE_DRAG_AND_DROP=no
44959 fi
44960 fi
44961
44962 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44963 "$wxUSE_DFB" = 1; then
44964 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44965 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44966 wxUSE_DRAG_AND_DROP=no
44967 fi
44968
44969 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44970 cat >>confdefs.h <<\_ACEOF
44971 #define wxUSE_DRAG_AND_DROP 1
44972 _ACEOF
44973
44974 fi
44975
44976 fi
44977
44978 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44980 fi
44981
44982 if test "$wxUSE_SPLINES" = "yes" ; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_SPLINES 1
44985 _ACEOF
44986
44987 fi
44988
44989 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_MOUSEWHEEL 1
44992 _ACEOF
44993
44994 fi
44995
44996
44997 USES_CONTROLS=0
44998 if test "$wxUSE_CONTROLS" = "yes"; then
44999 USES_CONTROLS=1
45000 fi
45001
45002 if test "$wxUSE_ACCEL" = "yes"; then
45003 cat >>confdefs.h <<\_ACEOF
45004 #define wxUSE_ACCEL 1
45005 _ACEOF
45006
45007 USES_CONTROLS=1
45008 fi
45009
45010 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_ANIMATIONCTRL 1
45013 _ACEOF
45014
45015 USES_CONTROLS=1
45016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45017 fi
45018
45019 if test "$wxUSE_BUTTON" = "yes"; then
45020 cat >>confdefs.h <<\_ACEOF
45021 #define wxUSE_BUTTON 1
45022 _ACEOF
45023
45024 USES_CONTROLS=1
45025 fi
45026
45027 if test "$wxUSE_BMPBUTTON" = "yes"; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_BMPBUTTON 1
45030 _ACEOF
45031
45032 USES_CONTROLS=1
45033 fi
45034
45035 if test "$wxUSE_CALCTRL" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_CALENDARCTRL 1
45038 _ACEOF
45039
45040 USES_CONTROLS=1
45041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45042 fi
45043
45044 if test "$wxUSE_CARET" = "yes"; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_CARET 1
45047 _ACEOF
45048
45049 USES_CONTROLS=1
45050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45051 fi
45052
45053 if test "$wxUSE_COLLPANE" = "yes"; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_COLLPANE 1
45056 _ACEOF
45057
45058 USES_CONTROLS=1
45059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45060 fi
45061
45062 if test "$wxUSE_COMBOBOX" = "yes"; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_COMBOBOX 1
45065 _ACEOF
45066
45067 USES_CONTROLS=1
45068 fi
45069
45070 if test "$wxUSE_COMBOCTRL" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_COMBOCTRL 1
45073 _ACEOF
45074
45075 USES_CONTROLS=1
45076 fi
45077
45078 if test "$wxUSE_CHOICE" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_CHOICE 1
45081 _ACEOF
45082
45083 USES_CONTROLS=1
45084 fi
45085
45086 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_CHOICEBOOK 1
45089 _ACEOF
45090
45091 USES_CONTROLS=1
45092 fi
45093
45094 if test "$wxUSE_CHECKBOX" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_CHECKBOX 1
45097 _ACEOF
45098
45099 USES_CONTROLS=1
45100 fi
45101
45102 if test "$wxUSE_CHECKLST" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_CHECKLISTBOX 1
45105 _ACEOF
45106
45107 USES_CONTROLS=1
45108 fi
45109
45110 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_COLOURPICKERCTRL 1
45113 _ACEOF
45114
45115 USES_CONTROLS=1
45116 fi
45117
45118 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_DATEPICKCTRL 1
45121 _ACEOF
45122
45123 USES_CONTROLS=1
45124 fi
45125
45126 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_DIRPICKERCTRL 1
45129 _ACEOF
45130
45131 USES_CONTROLS=1
45132 fi
45133
45134 if test "$wxUSE_FILECTRL" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_FILECTRL 1
45137 _ACEOF
45138
45139 USES_CONTROLS=1
45140 fi
45141
45142 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_FILEPICKERCTRL 1
45145 _ACEOF
45146
45147 USES_CONTROLS=1
45148 fi
45149
45150 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_FONTPICKERCTRL 1
45153 _ACEOF
45154
45155 USES_CONTROLS=1
45156 fi
45157
45158 if test "$wxUSE_DISPLAY" = "yes"; then
45159 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45160 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45161 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45162 wxUSE_DISPLAY=no
45163 else
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_DISPLAY 1
45166 _ACEOF
45167
45168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45169 fi
45170 fi
45171
45172 if test "$wxUSE_DETECT_SM" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_DETECT_SM 1
45175 _ACEOF
45176
45177 fi
45178
45179 if test "$wxUSE_GAUGE" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_GAUGE 1
45182 _ACEOF
45183
45184 USES_CONTROLS=1
45185 fi
45186
45187 if test "$wxUSE_GRID" = "yes"; then
45188 cat >>confdefs.h <<\_ACEOF
45189 #define wxUSE_GRID 1
45190 _ACEOF
45191
45192 USES_CONTROLS=1
45193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45194 fi
45195
45196 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_HYPERLINKCTRL 1
45199 _ACEOF
45200
45201 USES_CONTROLS=1
45202 fi
45203
45204 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_BITMAPCOMBOBOX 1
45207 _ACEOF
45208
45209 USES_CONTROLS=1
45210 fi
45211
45212 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_DATAVIEWCTRL 1
45215 _ACEOF
45216
45217 USES_CONTROLS=1
45218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45219 fi
45220
45221 if test "$wxUSE_IMAGLIST" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_IMAGLIST 1
45224 _ACEOF
45225
45226 fi
45227
45228 if test "$wxUSE_LISTBOOK" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_LISTBOOK 1
45231 _ACEOF
45232
45233 USES_CONTROLS=1
45234 fi
45235
45236 if test "$wxUSE_LISTBOX" = "yes"; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_LISTBOX 1
45239 _ACEOF
45240
45241 USES_CONTROLS=1
45242 fi
45243
45244 if test "$wxUSE_LISTCTRL" = "yes"; then
45245 if test "$wxUSE_IMAGLIST" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_LISTCTRL 1
45248 _ACEOF
45249
45250 USES_CONTROLS=1
45251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45252 else
45253 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45254 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45255 fi
45256 fi
45257
45258 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45259 cat >>confdefs.h <<\_ACEOF
45260 #define wxUSE_EDITABLELISTBOX 1
45261 _ACEOF
45262
45263 USES_CONTROLS=1
45264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45265 fi
45266
45267 if test "$wxUSE_NOTEBOOK" = "yes"; then
45268 cat >>confdefs.h <<\_ACEOF
45269 #define wxUSE_NOTEBOOK 1
45270 _ACEOF
45271
45272 USES_CONTROLS=1
45273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45274 fi
45275
45276 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_NOTIFICATION_MESSAGE 1
45279 _ACEOF
45280
45281 fi
45282
45283 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45284 cat >>confdefs.h <<\_ACEOF
45285 #define wxUSE_ODCOMBOBOX 1
45286 _ACEOF
45287
45288 USES_CONTROLS=1
45289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45290 fi
45291
45292 if test "$wxUSE_RADIOBOX" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_RADIOBOX 1
45295 _ACEOF
45296
45297 USES_CONTROLS=1
45298 fi
45299
45300 if test "$wxUSE_RADIOBTN" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_RADIOBTN 1
45303 _ACEOF
45304
45305 USES_CONTROLS=1
45306 fi
45307
45308 if test "$wxUSE_SASH" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_SASH 1
45311 _ACEOF
45312
45313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45314 fi
45315
45316 if test "$wxUSE_SCROLLBAR" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_SCROLLBAR 1
45319 _ACEOF
45320
45321 USES_CONTROLS=1
45322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45323 fi
45324
45325 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_SEARCHCTRL 1
45328 _ACEOF
45329
45330 USES_CONTROLS=1
45331 fi
45332
45333 if test "$wxUSE_SLIDER" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_SLIDER 1
45336 _ACEOF
45337
45338 USES_CONTROLS=1
45339 fi
45340
45341 if test "$wxUSE_SPINBTN" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_SPINBTN 1
45344 _ACEOF
45345
45346 USES_CONTROLS=1
45347 fi
45348
45349 if test "$wxUSE_SPINCTRL" = "yes"; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_SPINCTRL 1
45352 _ACEOF
45353
45354 USES_CONTROLS=1
45355 fi
45356
45357 if test "$wxUSE_SPLITTER" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_SPLITTER 1
45360 _ACEOF
45361
45362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45363 fi
45364
45365 if test "$wxUSE_STATBMP" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_STATBMP 1
45368 _ACEOF
45369
45370 USES_CONTROLS=1
45371 fi
45372
45373 if test "$wxUSE_STATBOX" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_STATBOX 1
45376 _ACEOF
45377
45378 USES_CONTROLS=1
45379 fi
45380
45381 if test "$wxUSE_STATTEXT" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_STATTEXT 1
45384 _ACEOF
45385
45386 USES_CONTROLS=1
45387 fi
45388
45389 if test "$wxUSE_STATLINE" = "yes"; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_STATLINE 1
45392 _ACEOF
45393
45394 USES_CONTROLS=1
45395 fi
45396
45397 if test "$wxUSE_STATUSBAR" = "yes"; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_NATIVE_STATUSBAR 1
45400 _ACEOF
45401
45402 cat >>confdefs.h <<\_ACEOF
45403 #define wxUSE_STATUSBAR 1
45404 _ACEOF
45405
45406 USES_CONTROLS=1
45407
45408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45409 fi
45410
45411 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_TAB_DIALOG 1
45414 _ACEOF
45415
45416 fi
45417
45418 if test "$wxUSE_TEXTCTRL" = "yes"; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_TEXTCTRL 1
45421 _ACEOF
45422
45423 USES_CONTROLS=1
45424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45425 fi
45426
45427 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45428 if test "$wxUSE_COCOA" = 1 ; then
45429 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45430 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45431 wxUSE_TOGGLEBTN=no
45432 fi
45433
45434 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_TOGGLEBTN 1
45437 _ACEOF
45438
45439 USES_CONTROLS=1
45440 fi
45441 fi
45442
45443 if test "$wxUSE_TOOLBAR" = "yes"; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_TOOLBAR 1
45446 _ACEOF
45447
45448 USES_CONTROLS=1
45449
45450 if test "$wxUSE_UNIVERSAL" = "yes"; then
45451 wxUSE_TOOLBAR_NATIVE="no"
45452 else
45453 wxUSE_TOOLBAR_NATIVE="yes"
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_TOOLBAR_NATIVE 1
45456 _ACEOF
45457
45458 fi
45459
45460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45461 fi
45462
45463 if test "$wxUSE_TOOLTIPS" = "yes"; then
45464 if test "$wxUSE_MOTIF" = 1; then
45465 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45466 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45467 else
45468 if test "$wxUSE_UNIVERSAL" = "yes"; then
45469 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45470 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45471 else
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_TOOLTIPS 1
45474 _ACEOF
45475
45476 fi
45477 fi
45478 fi
45479
45480 if test "$wxUSE_TREEBOOK" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_TREEBOOK 1
45483 _ACEOF
45484
45485 USES_CONTROLS=1
45486 fi
45487
45488 if test "$wxUSE_TOOLBOOK" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_TOOLBOOK 1
45491 _ACEOF
45492
45493 USES_CONTROLS=1
45494 fi
45495
45496 if test "$wxUSE_TREECTRL" = "yes"; then
45497 if test "$wxUSE_IMAGLIST" = "yes"; then
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_TREECTRL 1
45500 _ACEOF
45501
45502 USES_CONTROLS=1
45503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45504 else
45505 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45506 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45507 fi
45508 fi
45509
45510 if test "$wxUSE_POPUPWIN" = "yes"; then
45511 if test "$wxUSE_COCOA" = 1 ; then
45512 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45513 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45514 else
45515 if test "$wxUSE_PM" = 1; then
45516 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45517 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45518 else
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_POPUPWIN 1
45521 _ACEOF
45522
45523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45524
45525 USES_CONTROLS=1
45526 fi
45527 fi
45528 fi
45529
45530 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45531 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45532 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45533 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45534 else
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_DIALUP_MANAGER 1
45537 _ACEOF
45538
45539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45540 fi
45541 fi
45542
45543 if test "$wxUSE_TIPWINDOW" = "yes"; then
45544 if test "$wxUSE_PM" = 1; then
45545 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45546 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45547 else
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_TIPWINDOW 1
45550 _ACEOF
45551
45552 fi
45553 fi
45554
45555 if test "$USES_CONTROLS" = 1; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_CONTROLS 1
45558 _ACEOF
45559
45560 fi
45561
45562
45563 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_ACCESSIBILITY 1
45566 _ACEOF
45567
45568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45569 fi
45570
45571 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_DRAGIMAGE 1
45574 _ACEOF
45575
45576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45577 fi
45578
45579 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45580 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45581 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45582 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45583 else
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_EXCEPTIONS 1
45586 _ACEOF
45587
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45589 fi
45590 fi
45591
45592 USE_HTML=0
45593 if test "$wxUSE_HTML" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_HTML 1
45596 _ACEOF
45597
45598 USE_HTML=1
45599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45600 if test "$wxUSE_MAC" = 1; then
45601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45602 fi
45603 fi
45604 if test "$wxUSE_WEBKIT" = "yes"; then
45605 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45606 old_CPPFLAGS="$CPPFLAGS"
45607 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45608 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45609 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45610 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45611 echo $ECHO_N "(cached) $ECHO_C" >&6
45612 else
45613 cat >conftest.$ac_ext <<_ACEOF
45614 /* confdefs.h. */
45615 _ACEOF
45616 cat confdefs.h >>conftest.$ac_ext
45617 cat >>conftest.$ac_ext <<_ACEOF
45618 /* end confdefs.h. */
45619
45620 #include <Carbon/Carbon.h>
45621 #include <WebKit/WebKit.h>
45622
45623
45624 #include <WebKit/HIWebView.h>
45625 _ACEOF
45626 rm -f conftest.$ac_objext
45627 if { (ac_try="$ac_compile"
45628 case "(($ac_try" in
45629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45630 *) ac_try_echo=$ac_try;;
45631 esac
45632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45633 (eval "$ac_compile") 2>conftest.er1
45634 ac_status=$?
45635 grep -v '^ *+' conftest.er1 >conftest.err
45636 rm -f conftest.er1
45637 cat conftest.err >&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } && {
45640 test -z "$ac_c_werror_flag" ||
45641 test ! -s conftest.err
45642 } && test -s conftest.$ac_objext; then
45643 ac_cv_header_WebKit_HIWebView_h=yes
45644 else
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45647
45648 ac_cv_header_WebKit_HIWebView_h=no
45649 fi
45650
45651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45652 fi
45653 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45654 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45655 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45656
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_WEBKIT 1
45659 _ACEOF
45660
45661 WEBKIT_LINK="-framework WebKit"
45662
45663 else
45664
45665 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45666 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45667 wxUSE_WEBKIT=no
45668
45669 fi
45670
45671
45672 CPPFLAGS="$old_CPPFLAGS"
45673 elif test "$wxUSE_COCOA" = 1; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_WEBKIT 1
45676 _ACEOF
45677
45678 else
45679 wxUSE_WEBKIT=no
45680 fi
45681 fi
45682
45683 USE_XRC=0
45684 if test "$wxUSE_XRC" = "yes"; then
45685 if test "$wxUSE_XML" != "yes"; then
45686 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45687 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45688 wxUSE_XRC=no
45689 else
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_XRC 1
45692 _ACEOF
45693
45694 USE_XRC=1
45695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45696 fi
45697 fi
45698
45699 USE_AUI=0
45700 if test "$wxUSE_AUI" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_AUI 1
45703 _ACEOF
45704
45705 USE_AUI=1
45706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45707 fi
45708
45709 USE_STC=0
45710 if test "$wxUSE_STC" = "yes"; then
45711 cat >>confdefs.h <<\_ACEOF
45712 #define wxUSE_STC 1
45713 _ACEOF
45714
45715 USE_STC=1
45716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45717 fi
45718
45719 if test "$wxUSE_MENUS" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_MENUS 1
45722 _ACEOF
45723
45724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45725 fi
45726
45727 if test "$wxUSE_METAFILE" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_METAFILE 1
45730 _ACEOF
45731
45732 fi
45733
45734 if test "$wxUSE_MIMETYPE" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_MIMETYPE 1
45737 _ACEOF
45738
45739 fi
45740
45741 if test "$wxUSE_MINIFRAME" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_MINIFRAME 1
45744 _ACEOF
45745
45746 fi
45747
45748 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_SYSTEM_OPTIONS 1
45751 _ACEOF
45752
45753 fi
45754
45755 if test "$wxUSE_TASKBARICON" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_TASKBARICON 1
45758 _ACEOF
45759
45760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45761 fi
45762
45763
45764 if test "$wxUSE_VALIDATORS" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_VALIDATORS 1
45767 _ACEOF
45768
45769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45770 fi
45771
45772 if test "$wxUSE_PALETTE" = "yes" ; then
45773 if test "$wxUSE_DFB" = 1; then
45774 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45775 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45776 wxUSE_PALETTE=no
45777 else
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_PALETTE 1
45780 _ACEOF
45781
45782 fi
45783 fi
45784
45785 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45786 LIBS=" -lunicows $LIBS"
45787 fi
45788
45789 USE_RICHTEXT=0
45790 if test "$wxUSE_RICHTEXT" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_RICHTEXT 1
45793 _ACEOF
45794
45795 USE_RICHTEXT=1
45796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45797 fi
45798
45799
45800 if test "$wxUSE_IMAGE" = "yes" ; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_IMAGE 1
45803 _ACEOF
45804
45805
45806 if test "$wxUSE_GIF" = "yes" ; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_GIF 1
45809 _ACEOF
45810
45811 fi
45812
45813 if test "$wxUSE_PCX" = "yes" ; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_PCX 1
45816 _ACEOF
45817
45818 fi
45819
45820 if test "$wxUSE_TGA" = "yes" ; then
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_TGA 1
45823 _ACEOF
45824
45825 fi
45826
45827 if test "$wxUSE_IFF" = "yes" ; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_IFF 1
45830 _ACEOF
45831
45832 fi
45833
45834 if test "$wxUSE_PNM" = "yes" ; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_PNM 1
45837 _ACEOF
45838
45839 fi
45840
45841 if test "$wxUSE_XPM" = "yes" ; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_XPM 1
45844 _ACEOF
45845
45846 fi
45847
45848 if test "$wxUSE_ICO_CUR" = "yes" ; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_ICO_CUR 1
45851 _ACEOF
45852
45853 fi
45854 fi
45855
45856
45857 if test "$wxUSE_ABOUTDLG" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_ABOUTDLG 1
45860 _ACEOF
45861
45862 fi
45863
45864 if test "$wxUSE_CHOICEDLG" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_CHOICEDLG 1
45867 _ACEOF
45868
45869 fi
45870
45871 if test "$wxUSE_COLOURDLG" = "yes"; then
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_COLOURDLG 1
45874 _ACEOF
45875
45876 fi
45877
45878 if test "$wxUSE_FILEDLG" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_FILEDLG 1
45881 _ACEOF
45882
45883 fi
45884
45885 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_FINDREPLDLG 1
45888 _ACEOF
45889
45890 fi
45891
45892 if test "$wxUSE_FONTDLG" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_FONTDLG 1
45895 _ACEOF
45896
45897 fi
45898
45899 if test "$wxUSE_DIRDLG" = "yes"; then
45900 if test "$wxUSE_TREECTRL" != "yes"; then
45901 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45902 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45903 else
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_DIRDLG 1
45906 _ACEOF
45907
45908 fi
45909 fi
45910
45911 if test "$wxUSE_MSGDLG" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_MSGDLG 1
45914 _ACEOF
45915
45916 fi
45917
45918 if test "$wxUSE_NUMBERDLG" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_NUMBERDLG 1
45921 _ACEOF
45922
45923 fi
45924
45925 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45926 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45927 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45928 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45929 else
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_PROGRESSDLG 1
45932 _ACEOF
45933
45934 fi
45935 fi
45936
45937 if test "$wxUSE_SPLASH" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_SPLASH 1
45940 _ACEOF
45941
45942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45943 fi
45944
45945 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45946 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45947 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45948 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45949 else
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_STARTUP_TIPS 1
45952 _ACEOF
45953
45954 fi
45955 fi
45956
45957 if test "$wxUSE_TEXTDLG" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_TEXTDLG 1
45960 _ACEOF
45961
45962 fi
45963
45964 if test "$wxUSE_WIZARDDLG" = "yes"; then
45965 cat >>confdefs.h <<\_ACEOF
45966 #define wxUSE_WIZARDDLG 1
45967 _ACEOF
45968
45969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45970 fi
45971
45972
45973 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45974 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_OWNER_DRAWN 1
45977 _ACEOF
45978
45979 fi
45980 fi
45981
45982
45983 if test "$wxUSE_MSW" = 1 ; then
45984
45985 if test "$wxUSE_DC_CACHEING" = "yes"; then
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_DC_CACHEING 1
45988 _ACEOF
45989
45990 fi
45991
45992 if test "$wxUSE_DIB" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_WXDIB 1
45995 _ACEOF
45996
45997 fi
45998
45999 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46002 _ACEOF
46003
46004 fi
46005
46006 if test "$wxUSE_UXTHEME" = "yes"; then
46007 cat >>confdefs.h <<\_ACEOF
46008 #define wxUSE_UXTHEME 1
46009 _ACEOF
46010
46011 fi
46012
46013 fi
46014
46015 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46016 cat >>confdefs.h <<\_ACEOF
46017 #define wxUSE_AUTOID_MANAGEMENT 1
46018 _ACEOF
46019
46020 fi
46021
46022 if test "$USE_WIN32" = 1 ; then
46023 if test "$wxUSE_INICONF" = "yes"; then
46024 cat >>confdefs.h <<\_ACEOF
46025 #define wxUSE_INICONF 1
46026 _ACEOF
46027
46028 fi
46029
46030 if test "$wxUSE_REGKEY" = "yes"; then
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_REGKEY 1
46033 _ACEOF
46034
46035 fi
46036 fi
46037
46038
46039 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46040 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_GRAPHICS_CONTEXT 1
46043 _ACEOF
46044
46045 elif test "$wxUSE_GTK" != 1; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_GRAPHICS_CONTEXT 1
46048 _ACEOF
46049
46050 else
46051
46052 pkg_failed=no
46053 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46054 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46055
46056 if test -n "$PKG_CONFIG"; then
46057 if test -n "$CAIRO_CFLAGS"; then
46058 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46059 else
46060 if test -n "$PKG_CONFIG" && \
46061 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46062 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46063 ac_status=$?
46064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46065 (exit $ac_status); }; then
46066 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46067 else
46068 pkg_failed=yes
46069 fi
46070 fi
46071 else
46072 pkg_failed=untried
46073 fi
46074 if test -n "$PKG_CONFIG"; then
46075 if test -n "$CAIRO_LIBS"; then
46076 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46077 else
46078 if test -n "$PKG_CONFIG" && \
46079 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46080 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46081 ac_status=$?
46082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083 (exit $ac_status); }; then
46084 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46085 else
46086 pkg_failed=yes
46087 fi
46088 fi
46089 else
46090 pkg_failed=untried
46091 fi
46092
46093
46094
46095 if test $pkg_failed = yes; then
46096
46097 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46098 _pkg_short_errors_supported=yes
46099 else
46100 _pkg_short_errors_supported=no
46101 fi
46102 if test $_pkg_short_errors_supported = yes; then
46103 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46104 else
46105 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46106 fi
46107 # Put the nasty error message in config.log where it belongs
46108 echo "$CAIRO_PKG_ERRORS" >&5
46109
46110 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46111 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46112
46113 elif test $pkg_failed = untried; then
46114 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46115 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46116
46117 else
46118 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46119 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46120 { echo "$as_me:$LINENO: result: yes" >&5
46121 echo "${ECHO_T}yes" >&6; }
46122 cat >>confdefs.h <<\_ACEOF
46123 #define wxUSE_GRAPHICS_CONTEXT 1
46124 _ACEOF
46125
46126 fi
46127 fi
46128 fi
46129
46130
46131 USE_MEDIA=0
46132
46133 if test "$wxUSE_MEDIACTRL" = "yes"; then
46134 USE_MEDIA=1
46135
46136 if test "$wxUSE_GTK" = 1; then
46137 wxUSE_GSTREAMER="no"
46138
46139 GST_VERSION_MAJOR=0
46140 GST_VERSION_MINOR=10
46141 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46142
46143 if test "$wxUSE_GSTREAMER8" = "no"; then
46144
46145 pkg_failed=no
46146 { echo "$as_me:$LINENO: checking for GST" >&5
46147 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46148
46149 if test -n "$PKG_CONFIG"; then
46150 if test -n "$GST_CFLAGS"; then
46151 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46152 else
46153 if test -n "$PKG_CONFIG" && \
46154 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46155 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46156 ac_status=$?
46157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46158 (exit $ac_status); }; then
46159 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46160 else
46161 pkg_failed=yes
46162 fi
46163 fi
46164 else
46165 pkg_failed=untried
46166 fi
46167 if test -n "$PKG_CONFIG"; then
46168 if test -n "$GST_LIBS"; then
46169 pkg_cv_GST_LIBS="$GST_LIBS"
46170 else
46171 if test -n "$PKG_CONFIG" && \
46172 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46173 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46174 ac_status=$?
46175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176 (exit $ac_status); }; then
46177 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46178 else
46179 pkg_failed=yes
46180 fi
46181 fi
46182 else
46183 pkg_failed=untried
46184 fi
46185
46186
46187
46188 if test $pkg_failed = yes; then
46189
46190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46191 _pkg_short_errors_supported=yes
46192 else
46193 _pkg_short_errors_supported=no
46194 fi
46195 if test $_pkg_short_errors_supported = yes; then
46196 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46197 else
46198 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46199 fi
46200 # Put the nasty error message in config.log where it belongs
46201 echo "$GST_PKG_ERRORS" >&5
46202
46203
46204 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46205 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46206 GST_VERSION_MINOR=8
46207
46208
46209 elif test $pkg_failed = untried; then
46210
46211 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46212 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46213 GST_VERSION_MINOR=8
46214
46215
46216 else
46217 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46218 GST_LIBS=$pkg_cv_GST_LIBS
46219 { echo "$as_me:$LINENO: result: yes" >&5
46220 echo "${ECHO_T}yes" >&6; }
46221
46222 wxUSE_GSTREAMER="yes"
46223 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46224
46225 fi
46226 else
46227 GST_VERSION_MINOR=8
46228 fi
46229
46230 if test $GST_VERSION_MINOR = "8"; then
46231 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46232
46233 pkg_failed=no
46234 { echo "$as_me:$LINENO: checking for GST" >&5
46235 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46236
46237 if test -n "$PKG_CONFIG"; then
46238 if test -n "$GST_CFLAGS"; then
46239 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46240 else
46241 if test -n "$PKG_CONFIG" && \
46242 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46243 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46244 ac_status=$?
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; then
46247 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46248 else
46249 pkg_failed=yes
46250 fi
46251 fi
46252 else
46253 pkg_failed=untried
46254 fi
46255 if test -n "$PKG_CONFIG"; then
46256 if test -n "$GST_LIBS"; then
46257 pkg_cv_GST_LIBS="$GST_LIBS"
46258 else
46259 if test -n "$PKG_CONFIG" && \
46260 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46261 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46262 ac_status=$?
46263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46264 (exit $ac_status); }; then
46265 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46266 else
46267 pkg_failed=yes
46268 fi
46269 fi
46270 else
46271 pkg_failed=untried
46272 fi
46273
46274
46275
46276 if test $pkg_failed = yes; then
46277
46278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46279 _pkg_short_errors_supported=yes
46280 else
46281 _pkg_short_errors_supported=no
46282 fi
46283 if test $_pkg_short_errors_supported = yes; then
46284 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46285 else
46286 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46287 fi
46288 # Put the nasty error message in config.log where it belongs
46289 echo "$GST_PKG_ERRORS" >&5
46290
46291
46292 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46293 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46294
46295 elif test $pkg_failed = untried; then
46296
46297 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46298 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46299
46300 else
46301 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46302 GST_LIBS=$pkg_cv_GST_LIBS
46303 { echo "$as_me:$LINENO: result: yes" >&5
46304 echo "${ECHO_T}yes" >&6; }
46305 wxUSE_GSTREAMER="yes"
46306 fi
46307 fi
46308
46309
46310 if test "$wxUSE_GSTREAMER" = "yes"; then
46311 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46312 EXTRALIBS_MEDIA="$GST_LIBS"
46313
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_GSTREAMER 1
46316 _ACEOF
46317
46318 else
46319 USE_MEDIA=0
46320 fi
46321 fi
46322
46323 if test $USE_MEDIA = 1; then
46324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46325 cat >>confdefs.h <<\_ACEOF
46326 #define wxUSE_MEDIACTRL 1
46327 _ACEOF
46328
46329 fi
46330 fi
46331
46332
46333 if test "$cross_compiling" = "yes"; then
46334 OSINFO="\"$host\""
46335 else
46336 OSINFO=`uname -s -r -m`
46337 OSINFO="\"$OSINFO\""
46338 fi
46339
46340 cat >>confdefs.h <<_ACEOF
46341 #define WXWIN_OS_DESCRIPTION $OSINFO
46342 _ACEOF
46343
46344
46345
46346 if test "x$prefix" != "xNONE"; then
46347 wxPREFIX=$prefix
46348 else
46349 wxPREFIX=$ac_default_prefix
46350 fi
46351
46352 cat >>confdefs.h <<_ACEOF
46353 #define wxINSTALL_PREFIX "$wxPREFIX"
46354 _ACEOF
46355
46356
46357
46358
46359 STD_BASE_LIBS="base"
46360 STD_GUI_LIBS=""
46361 BUILT_WX_LIBS="base"
46362 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46363
46364 if test "$wxUSE_SOCKETS" = "yes" ; then
46365 STD_BASE_LIBS="net $STD_BASE_LIBS"
46366 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46367 fi
46368 if test "$wxUSE_XML" = "yes" ; then
46369 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46370 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46371 fi
46372
46373 if test "$wxUSE_GUI" = "yes"; then
46374 STD_GUI_LIBS="adv core"
46375 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46376
46377 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46378 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46379 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46380 fi
46381 if test "$wxUSE_HTML" = "yes" ; then
46382 STD_GUI_LIBS="html $STD_GUI_LIBS"
46383 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46384 fi
46385 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46386 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46387 fi
46388 if test "$wxUSE_OPENGL" = "yes" ; then
46389 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46390 fi
46391 if test "$wxUSE_AUI" = "yes" ; then
46392 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46393 fi
46394 if test "$wxUSE_STC" = "yes" ; then
46395 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46396 fi
46397 if test "$wxUSE_XRC" = "yes" ; then
46398 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46399 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46400 fi
46401 fi
46402
46403
46404
46405
46406
46407
46408
46409
46410 if test "$wxUSE_MAC" = 1 ; then
46411 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46412 if test "$USE_DARWIN" = 1; then
46413 LDFLAGS="$LDFLAGS -framework QuickTime"
46414 else
46415 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46416 fi
46417 fi
46418 if test "$USE_DARWIN" = 1; then
46419 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46420 else
46421 LDFLAGS="$LDFLAGS -lCarbonLib"
46422 fi
46423 fi
46424 if test "$wxUSE_COCOA" = 1 ; then
46425 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46426 if test "$wxUSE_MEDIACTRL" = "yes"; then
46427 LDFLAGS="$LDFLAGS -framework QuickTime"
46428 fi
46429 fi
46430 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46431 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46432 fi
46433
46434 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46435
46436 if test "$wxUSE_GUI" = "yes"; then
46437
46438
46439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46440 erase event exec font image minimal mobile \
46441 mobile/wxedit mobile/styles render \
46442 shaped svg taborder vscroll widgets"
46443
46444 if test "$wxUSE_MONOLITHIC" != "yes"; then
46445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46446 fi
46447 if test "$TOOLKIT" = "MSW"; then
46448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46449 if test "$wxUSE_UNIVERSAL" != "yes"; then
46450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46451 fi
46452 fi
46453 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46455 fi
46456 else
46457 SAMPLES_SUBDIRS="console"
46458 if test "$wxUSE_SOCKETS" = "yes" ; then
46459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46460 fi
46461 if test "$wxUSE_IPC" = "yes" ; then
46462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46463 fi
46464 fi
46465
46466
46467 if test "x$INTELCC" = "xyes" ; then
46468 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46469 elif test "$GCC" = yes ; then
46470 CWARNINGS="-Wall -Wundef"
46471 fi
46472
46473 if test "x$INTELCXX" = "xyes" ; then
46474 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46475 elif test "$GXX" = yes ; then
46476 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46477 fi
46478
46479
46480 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46481 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46482
46483
46484 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46485 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46486 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46487 $CPPFLAGS `
46488
46489 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46490 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46491 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46492 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46493 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46494
46495 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46496
46497
46498 if test "x$MWCC" = "xyes"; then
46499
46500 CC="$CC -cwd source -I-"
46501 CXX="$CXX -cwd source -I-"
46502 fi
46503
46504
46505 LIBS=`echo $LIBS`
46506 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46507 EXTRALIBS_XML="$EXPAT_LINK"
46508 EXTRALIBS_HTML="$MSPACK_LINK"
46509 EXTRALIBS_MEDIA="$GST_LIBS"
46510 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46511 if test "$wxUSE_GUI" = "yes"; then
46512 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46513 fi
46514 if test "$wxUSE_OPENGL" = "yes"; then
46515 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46516 fi
46517
46518 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46519
46520 WXCONFIG_LIBS="$LIBS"
46521
46522 if test "$wxUSE_REGEX" = "builtin" ; then
46523 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46524 fi
46525 if test "$wxUSE_EXPAT" = "builtin" ; then
46526 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46527 fi
46528 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46529 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46530 fi
46531 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46532 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46533 fi
46534 if test "$wxUSE_LIBPNG" = "builtin" ; then
46535 wxconfig_3rdparty="png $wxconfig_3rdparty"
46536 fi
46537 if test "$wxUSE_ZLIB" = "builtin" ; then
46538 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46539 fi
46540
46541 for i in $wxconfig_3rdparty ; do
46542 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46543 done
46544
46545
46546 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46547 WXUNIV=1
46548
46549 case "$wxUNIV_THEMES" in
46550 ''|all)
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_ALL_THEMES 1
46553 _ACEOF
46554
46555 ;;
46556
46557 *)
46558 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46559 cat >>confdefs.h <<_ACEOF
46560 #define wxUSE_THEME_$t 1
46561 _ACEOF
46562
46563 done
46564 esac
46565 else
46566 WXUNIV=0
46567 fi
46568
46569
46570
46571
46572
46573
46574
46575
46576 if test $wxUSE_MONOLITHIC = "yes" ; then
46577 MONOLITHIC=1
46578 else
46579 MONOLITHIC=0
46580 fi
46581
46582 if test $wxUSE_PLUGINS = "yes" ; then
46583 USE_PLUGINS=1
46584 else
46585 USE_PLUGINS=0
46586 fi
46587
46588 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46589 USE_QA=1
46590 else
46591 USE_QA=0
46592 fi
46593
46594 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46595 OFFICIAL_BUILD=1
46596 else
46597 OFFICIAL_BUILD=0
46598 fi
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46628
46629
46630
46631
46632
46633
46634
46635
46636 case "$TOOLKIT" in
46637 GTK)
46638 TOOLKIT_DESC="GTK+"
46639 if test "$WXGTK2" = 1; then
46640 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46641 if test "$wxUSE_GTKPRINT" = "yes" ; then
46642 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46643 fi
46644 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46645 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46646 fi
46647 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46648 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46649 fi
46650 if test "$wxUSE_LIBHILDON" = "yes"; then
46651 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46652 fi
46653
46654 if test "$TOOLKIT_EXTRA" != ""; then
46655 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46656 fi
46657 fi
46658 ;;
46659
46660 ?*)
46661 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46662 ;;
46663
46664 *)
46665 TOOLKIT_DESC="base only"
46666 ;;
46667 esac
46668
46669 if test "$wxUSE_WINE" = "yes"; then
46670 BAKEFILE_FORCE_PLATFORM=win32
46671 fi
46672
46673 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46674 then
46675 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46676 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46677 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46678 echo $ECHO_N "(cached) $ECHO_C" >&6
46679 else
46680
46681 echo '#include <stdio.h>
46682 const wchar_t test_var[] = L"awidetest";' > conftest.h
46683
46684 echo '#include "conftest.h"
46685 int main()
46686 {
46687 printf("%ls", test_var);
46688 return 0;
46689 }' > conftest.cpp
46690
46691 wx_cv_gcc_pch_bug="pch not supported"
46692
46693 if $CXX conftest.h >/dev/null 2>&1
46694 then
46695 wx_cv_gcc_pch_bug=
46696
46697 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46698 then
46699 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46700 grep awidetest >/dev/null
46701 then
46702 wx_cv_gcc_pch_bug=no
46703 else
46704 wx_cv_gcc_pch_bug=yes
46705 fi
46706 fi
46707 fi
46708
46709 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46710
46711 fi
46712 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46713 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46714
46715 if test "$wx_cv_gcc_pch_bug" = yes; then
46716 bk_use_pch=no
46717 fi
46718 fi
46719
46720
46721
46722
46723
46724
46725
46726 if test "x$BAKEFILE_HOST" = "x"; then
46727 if test "x${host}" = "x" ; then
46728 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46729 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46730 { (exit 1); exit 1; }; }
46731 fi
46732
46733 BAKEFILE_HOST="${host}"
46734 fi
46735
46736 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46737
46738 if test -n "$ac_tool_prefix"; then
46739 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46740 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46743 if test "${ac_cv_prog_RANLIB+set}" = set; then
46744 echo $ECHO_N "(cached) $ECHO_C" >&6
46745 else
46746 if test -n "$RANLIB"; then
46747 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46748 else
46749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46750 for as_dir in $PATH
46751 do
46752 IFS=$as_save_IFS
46753 test -z "$as_dir" && as_dir=.
46754 for ac_exec_ext in '' $ac_executable_extensions; do
46755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46756 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46758 break 2
46759 fi
46760 done
46761 done
46762 IFS=$as_save_IFS
46763
46764 fi
46765 fi
46766 RANLIB=$ac_cv_prog_RANLIB
46767 if test -n "$RANLIB"; then
46768 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46769 echo "${ECHO_T}$RANLIB" >&6; }
46770 else
46771 { echo "$as_me:$LINENO: result: no" >&5
46772 echo "${ECHO_T}no" >&6; }
46773 fi
46774
46775
46776 fi
46777 if test -z "$ac_cv_prog_RANLIB"; then
46778 ac_ct_RANLIB=$RANLIB
46779 # Extract the first word of "ranlib", so it can be a program name with args.
46780 set dummy ranlib; ac_word=$2
46781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46783 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46784 echo $ECHO_N "(cached) $ECHO_C" >&6
46785 else
46786 if test -n "$ac_ct_RANLIB"; then
46787 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46788 else
46789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46790 for as_dir in $PATH
46791 do
46792 IFS=$as_save_IFS
46793 test -z "$as_dir" && as_dir=.
46794 for ac_exec_ext in '' $ac_executable_extensions; do
46795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46796 ac_cv_prog_ac_ct_RANLIB="ranlib"
46797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46798 break 2
46799 fi
46800 done
46801 done
46802 IFS=$as_save_IFS
46803
46804 fi
46805 fi
46806 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46807 if test -n "$ac_ct_RANLIB"; then
46808 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46809 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46810 else
46811 { echo "$as_me:$LINENO: result: no" >&5
46812 echo "${ECHO_T}no" >&6; }
46813 fi
46814
46815 if test "x$ac_ct_RANLIB" = x; then
46816 RANLIB=":"
46817 else
46818 case $cross_compiling:$ac_tool_warned in
46819 yes:)
46820 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46821 whose name does not start with the host triplet. If you think this
46822 configuration is useful to you, please write to autoconf@gnu.org." >&5
46823 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46824 whose name does not start with the host triplet. If you think this
46825 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46826 ac_tool_warned=yes ;;
46827 esac
46828 RANLIB=$ac_ct_RANLIB
46829 fi
46830 else
46831 RANLIB="$ac_cv_prog_RANLIB"
46832 fi
46833
46834 # Find a good install program. We prefer a C program (faster),
46835 # so one script is as good as another. But avoid the broken or
46836 # incompatible versions:
46837 # SysV /etc/install, /usr/sbin/install
46838 # SunOS /usr/etc/install
46839 # IRIX /sbin/install
46840 # AIX /bin/install
46841 # AmigaOS /C/install, which installs bootblocks on floppy discs
46842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46845 # OS/2's system install, which has a completely different semantic
46846 # ./install, which can be erroneously created by make from ./install.sh.
46847 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46848 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46849 if test -z "$INSTALL"; then
46850 if test "${ac_cv_path_install+set}" = set; then
46851 echo $ECHO_N "(cached) $ECHO_C" >&6
46852 else
46853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46854 for as_dir in $PATH
46855 do
46856 IFS=$as_save_IFS
46857 test -z "$as_dir" && as_dir=.
46858 # Account for people who put trailing slashes in PATH elements.
46859 case $as_dir/ in
46860 ./ | .// | /cC/* | \
46861 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46862 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46863 /usr/ucb/* ) ;;
46864 *)
46865 # OSF1 and SCO ODT 3.0 have their own names for install.
46866 # Don't use installbsd from OSF since it installs stuff as root
46867 # by default.
46868 for ac_prog in ginstall scoinst install; do
46869 for ac_exec_ext in '' $ac_executable_extensions; do
46870 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46871 if test $ac_prog = install &&
46872 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46873 # AIX install. It has an incompatible calling convention.
46874 :
46875 elif test $ac_prog = install &&
46876 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46877 # program-specific install script used by HP pwplus--don't use.
46878 :
46879 else
46880 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46881 break 3
46882 fi
46883 fi
46884 done
46885 done
46886 ;;
46887 esac
46888 done
46889 IFS=$as_save_IFS
46890
46891
46892 fi
46893 if test "${ac_cv_path_install+set}" = set; then
46894 INSTALL=$ac_cv_path_install
46895 else
46896 # As a last resort, use the slow shell script. Don't cache a
46897 # value for INSTALL within a source directory, because that will
46898 # break other packages using the cache if that directory is
46899 # removed, or if the value is a relative name.
46900 INSTALL=$ac_install_sh
46901 fi
46902 fi
46903 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46904 echo "${ECHO_T}$INSTALL" >&6; }
46905
46906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46907 # It thinks the first close brace ends the variable substitution.
46908 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46909
46910 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46911
46912 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46913
46914 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46915 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46916 LN_S=$as_ln_s
46917 if test "$LN_S" = "ln -s"; then
46918 { echo "$as_me:$LINENO: result: yes" >&5
46919 echo "${ECHO_T}yes" >&6; }
46920 else
46921 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46922 echo "${ECHO_T}no, using $LN_S" >&6; }
46923 fi
46924
46925
46926 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46927 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46928 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46929 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46930 echo $ECHO_N "(cached) $ECHO_C" >&6
46931 else
46932 cat >conftest.make <<\_ACEOF
46933 SHELL = /bin/sh
46934 all:
46935 @echo '@@@%%%=$(MAKE)=@@@%%%'
46936 _ACEOF
46937 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46938 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46939 *@@@%%%=?*=@@@%%%*)
46940 eval ac_cv_prog_make_${ac_make}_set=yes;;
46941 *)
46942 eval ac_cv_prog_make_${ac_make}_set=no;;
46943 esac
46944 rm -f conftest.make
46945 fi
46946 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46947 { echo "$as_me:$LINENO: result: yes" >&5
46948 echo "${ECHO_T}yes" >&6; }
46949 SET_MAKE=
46950 else
46951 { echo "$as_me:$LINENO: result: no" >&5
46952 echo "${ECHO_T}no" >&6; }
46953 SET_MAKE="MAKE=${MAKE-make}"
46954 fi
46955
46956
46957
46958 if test "x$SUNCXX" = "xyes"; then
46959 AR=$CXX
46960 AROPTIONS="-xar -o"
46961
46962 elif test "x$SGICC" = "xyes"; then
46963 AR=$CXX
46964 AROPTIONS="-ar -o"
46965
46966 else
46967 if test -n "$ac_tool_prefix"; then
46968 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46969 set dummy ${ac_tool_prefix}ar; ac_word=$2
46970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46972 if test "${ac_cv_prog_AR+set}" = set; then
46973 echo $ECHO_N "(cached) $ECHO_C" >&6
46974 else
46975 if test -n "$AR"; then
46976 ac_cv_prog_AR="$AR" # Let the user override the test.
46977 else
46978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46979 for as_dir in $PATH
46980 do
46981 IFS=$as_save_IFS
46982 test -z "$as_dir" && as_dir=.
46983 for ac_exec_ext in '' $ac_executable_extensions; do
46984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46985 ac_cv_prog_AR="${ac_tool_prefix}ar"
46986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46987 break 2
46988 fi
46989 done
46990 done
46991 IFS=$as_save_IFS
46992
46993 fi
46994 fi
46995 AR=$ac_cv_prog_AR
46996 if test -n "$AR"; then
46997 { echo "$as_me:$LINENO: result: $AR" >&5
46998 echo "${ECHO_T}$AR" >&6; }
46999 else
47000 { echo "$as_me:$LINENO: result: no" >&5
47001 echo "${ECHO_T}no" >&6; }
47002 fi
47003
47004
47005 fi
47006 if test -z "$ac_cv_prog_AR"; then
47007 ac_ct_AR=$AR
47008 # Extract the first word of "ar", so it can be a program name with args.
47009 set dummy ar; ac_word=$2
47010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47012 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47013 echo $ECHO_N "(cached) $ECHO_C" >&6
47014 else
47015 if test -n "$ac_ct_AR"; then
47016 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47017 else
47018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47019 for as_dir in $PATH
47020 do
47021 IFS=$as_save_IFS
47022 test -z "$as_dir" && as_dir=.
47023 for ac_exec_ext in '' $ac_executable_extensions; do
47024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47025 ac_cv_prog_ac_ct_AR="ar"
47026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47027 break 2
47028 fi
47029 done
47030 done
47031 IFS=$as_save_IFS
47032
47033 fi
47034 fi
47035 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47036 if test -n "$ac_ct_AR"; then
47037 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47038 echo "${ECHO_T}$ac_ct_AR" >&6; }
47039 else
47040 { echo "$as_me:$LINENO: result: no" >&5
47041 echo "${ECHO_T}no" >&6; }
47042 fi
47043
47044 if test "x$ac_ct_AR" = x; then
47045 AR="ar"
47046 else
47047 case $cross_compiling:$ac_tool_warned in
47048 yes:)
47049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47050 whose name does not start with the host triplet. If you think this
47051 configuration is useful to you, please write to autoconf@gnu.org." >&5
47052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47053 whose name does not start with the host triplet. If you think this
47054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47055 ac_tool_warned=yes ;;
47056 esac
47057 AR=$ac_ct_AR
47058 fi
47059 else
47060 AR="$ac_cv_prog_AR"
47061 fi
47062
47063 AROPTIONS=rcu
47064 fi
47065
47066
47067 if test -n "$ac_tool_prefix"; then
47068 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47069 set dummy ${ac_tool_prefix}strip; ac_word=$2
47070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47072 if test "${ac_cv_prog_STRIP+set}" = set; then
47073 echo $ECHO_N "(cached) $ECHO_C" >&6
47074 else
47075 if test -n "$STRIP"; then
47076 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47077 else
47078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47079 for as_dir in $PATH
47080 do
47081 IFS=$as_save_IFS
47082 test -z "$as_dir" && as_dir=.
47083 for ac_exec_ext in '' $ac_executable_extensions; do
47084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47085 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47087 break 2
47088 fi
47089 done
47090 done
47091 IFS=$as_save_IFS
47092
47093 fi
47094 fi
47095 STRIP=$ac_cv_prog_STRIP
47096 if test -n "$STRIP"; then
47097 { echo "$as_me:$LINENO: result: $STRIP" >&5
47098 echo "${ECHO_T}$STRIP" >&6; }
47099 else
47100 { echo "$as_me:$LINENO: result: no" >&5
47101 echo "${ECHO_T}no" >&6; }
47102 fi
47103
47104
47105 fi
47106 if test -z "$ac_cv_prog_STRIP"; then
47107 ac_ct_STRIP=$STRIP
47108 # Extract the first word of "strip", so it can be a program name with args.
47109 set dummy strip; ac_word=$2
47110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47112 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47113 echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115 if test -n "$ac_ct_STRIP"; then
47116 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47117 else
47118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47119 for as_dir in $PATH
47120 do
47121 IFS=$as_save_IFS
47122 test -z "$as_dir" && as_dir=.
47123 for ac_exec_ext in '' $ac_executable_extensions; do
47124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47125 ac_cv_prog_ac_ct_STRIP="strip"
47126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47127 break 2
47128 fi
47129 done
47130 done
47131 IFS=$as_save_IFS
47132
47133 fi
47134 fi
47135 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47136 if test -n "$ac_ct_STRIP"; then
47137 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47138 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47139 else
47140 { echo "$as_me:$LINENO: result: no" >&5
47141 echo "${ECHO_T}no" >&6; }
47142 fi
47143
47144 if test "x$ac_ct_STRIP" = x; then
47145 STRIP=":"
47146 else
47147 case $cross_compiling:$ac_tool_warned in
47148 yes:)
47149 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47150 whose name does not start with the host triplet. If you think this
47151 configuration is useful to you, please write to autoconf@gnu.org." >&5
47152 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47153 whose name does not start with the host triplet. If you think this
47154 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47155 ac_tool_warned=yes ;;
47156 esac
47157 STRIP=$ac_ct_STRIP
47158 fi
47159 else
47160 STRIP="$ac_cv_prog_STRIP"
47161 fi
47162
47163 if test -n "$ac_tool_prefix"; then
47164 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47165 set dummy ${ac_tool_prefix}nm; ac_word=$2
47166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47168 if test "${ac_cv_prog_NM+set}" = set; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47170 else
47171 if test -n "$NM"; then
47172 ac_cv_prog_NM="$NM" # Let the user override the test.
47173 else
47174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47175 for as_dir in $PATH
47176 do
47177 IFS=$as_save_IFS
47178 test -z "$as_dir" && as_dir=.
47179 for ac_exec_ext in '' $ac_executable_extensions; do
47180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47181 ac_cv_prog_NM="${ac_tool_prefix}nm"
47182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47183 break 2
47184 fi
47185 done
47186 done
47187 IFS=$as_save_IFS
47188
47189 fi
47190 fi
47191 NM=$ac_cv_prog_NM
47192 if test -n "$NM"; then
47193 { echo "$as_me:$LINENO: result: $NM" >&5
47194 echo "${ECHO_T}$NM" >&6; }
47195 else
47196 { echo "$as_me:$LINENO: result: no" >&5
47197 echo "${ECHO_T}no" >&6; }
47198 fi
47199
47200
47201 fi
47202 if test -z "$ac_cv_prog_NM"; then
47203 ac_ct_NM=$NM
47204 # Extract the first word of "nm", so it can be a program name with args.
47205 set dummy nm; ac_word=$2
47206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47208 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47210 else
47211 if test -n "$ac_ct_NM"; then
47212 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47213 else
47214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47215 for as_dir in $PATH
47216 do
47217 IFS=$as_save_IFS
47218 test -z "$as_dir" && as_dir=.
47219 for ac_exec_ext in '' $ac_executable_extensions; do
47220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47221 ac_cv_prog_ac_ct_NM="nm"
47222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47223 break 2
47224 fi
47225 done
47226 done
47227 IFS=$as_save_IFS
47228
47229 fi
47230 fi
47231 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47232 if test -n "$ac_ct_NM"; then
47233 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47234 echo "${ECHO_T}$ac_ct_NM" >&6; }
47235 else
47236 { echo "$as_me:$LINENO: result: no" >&5
47237 echo "${ECHO_T}no" >&6; }
47238 fi
47239
47240 if test "x$ac_ct_NM" = x; then
47241 NM=":"
47242 else
47243 case $cross_compiling:$ac_tool_warned in
47244 yes:)
47245 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47246 whose name does not start with the host triplet. If you think this
47247 configuration is useful to you, please write to autoconf@gnu.org." >&5
47248 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47249 whose name does not start with the host triplet. If you think this
47250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47251 ac_tool_warned=yes ;;
47252 esac
47253 NM=$ac_ct_NM
47254 fi
47255 else
47256 NM="$ac_cv_prog_NM"
47257 fi
47258
47259
47260 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47261 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47262 INSTALL_TEST_DIR=acbftest$$
47263 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47264 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47265 rmdir $INSTALL_TEST_DIR
47266 INSTALL_DIR='$(INSTALL) -d'
47267 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47268 echo "${ECHO_T}$INSTALL -d" >&6; }
47269 else
47270 INSTALL_DIR="mkdir -p"
47271 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47272 echo "${ECHO_T}mkdir -p" >&6; }
47273 fi
47274
47275
47276 LDFLAGS_GUI=
47277 case ${BAKEFILE_HOST} in
47278 *-*-cygwin* | *-*-mingw32* )
47279 LDFLAGS_GUI="-mwindows"
47280 esac
47281
47282
47283 fi
47284
47285 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47286 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47287 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47288 echo $ECHO_N "(cached) $ECHO_C" >&6
47289 else
47290
47291 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47292 egrep -s GNU > /dev/null); then
47293 bakefile_cv_prog_makeisgnu="yes"
47294 else
47295 bakefile_cv_prog_makeisgnu="no"
47296 fi
47297
47298 fi
47299 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47300 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47301
47302 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47303 IF_GNU_MAKE=""
47304 else
47305 IF_GNU_MAKE="#"
47306 fi
47307
47308
47309
47310 PLATFORM_UNIX=0
47311 PLATFORM_WIN32=0
47312 PLATFORM_MSDOS=0
47313 PLATFORM_MAC=0
47314 PLATFORM_MACOS=0
47315 PLATFORM_MACOSX=0
47316 PLATFORM_OS2=0
47317 PLATFORM_BEOS=0
47318
47319 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47320 case "${BAKEFILE_HOST}" in
47321 *-*-mingw32* )
47322 PLATFORM_WIN32=1
47323 ;;
47324 *-pc-msdosdjgpp )
47325 PLATFORM_MSDOS=1
47326 ;;
47327 *-pc-os2_emx | *-pc-os2-emx )
47328 PLATFORM_OS2=1
47329 ;;
47330 *-*-darwin* )
47331 PLATFORM_MAC=1
47332 PLATFORM_MACOSX=1
47333 ;;
47334 *-*-beos* )
47335 PLATFORM_BEOS=1
47336 ;;
47337 powerpc-apple-macos* )
47338 PLATFORM_MAC=1
47339 PLATFORM_MACOS=1
47340 ;;
47341 * )
47342 PLATFORM_UNIX=1
47343 ;;
47344 esac
47345 else
47346 case "$BAKEFILE_FORCE_PLATFORM" in
47347 win32 )
47348 PLATFORM_WIN32=1
47349 ;;
47350 msdos )
47351 PLATFORM_MSDOS=1
47352 ;;
47353 os2 )
47354 PLATFORM_OS2=1
47355 ;;
47356 darwin )
47357 PLATFORM_MAC=1
47358 PLATFORM_MACOSX=1
47359 ;;
47360 unix )
47361 PLATFORM_UNIX=1
47362 ;;
47363 beos )
47364 PLATFORM_BEOS=1
47365 ;;
47366 * )
47367 ;;
47368 esac
47369 fi
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381 # Check whether --enable-omf was given.
47382 if test "${enable_omf+set}" = set; then
47383 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47384 fi
47385
47386
47387 case "${BAKEFILE_HOST}" in
47388 *-*-darwin* )
47389 if test "x$GCC" = "xyes"; then
47390 CFLAGS="$CFLAGS -fno-common"
47391 CXXFLAGS="$CXXFLAGS -fno-common"
47392 fi
47393 if test "x$XLCC" = "xyes"; then
47394 CFLAGS="$CFLAGS -qnocommon"
47395 CXXFLAGS="$CXXFLAGS -qnocommon"
47396 fi
47397 ;;
47398
47399 *-pc-os2_emx | *-pc-os2-emx )
47400 if test "x$bk_os2_use_omf" = "xyes" ; then
47401 AR=emxomfar
47402 RANLIB=:
47403 LDFLAGS="-Zomf $LDFLAGS"
47404 CFLAGS="-Zomf $CFLAGS"
47405 CXXFLAGS="-Zomf $CXXFLAGS"
47406 OS2_LIBEXT="lib"
47407 else
47408 OS2_LIBEXT="a"
47409 fi
47410 ;;
47411
47412 i*86-*-beos* )
47413 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47414 ;;
47415 esac
47416
47417
47418 SO_SUFFIX="so"
47419 SO_SUFFIX_MODULE="so"
47420 EXEEXT=""
47421 LIBPREFIX="lib"
47422 LIBEXT=".a"
47423 DLLPREFIX="lib"
47424 DLLPREFIX_MODULE=""
47425 DLLIMP_SUFFIX=""
47426 dlldir="$libdir"
47427
47428 case "${BAKEFILE_HOST}" in
47429 *-hp-hpux* )
47430 SO_SUFFIX="sl"
47431 SO_SUFFIX_MODULE="sl"
47432 ;;
47433 *-*-aix* )
47434 SO_SUFFIX="a"
47435 SO_SUFFIX_MODULE="a"
47436 ;;
47437 *-*-cygwin* )
47438 SO_SUFFIX="dll"
47439 SO_SUFFIX_MODULE="dll"
47440 DLLIMP_SUFFIX="dll.a"
47441 EXEEXT=".exe"
47442 DLLPREFIX="cyg"
47443 dlldir="$bindir"
47444 ;;
47445 *-*-mingw32* )
47446 SO_SUFFIX="dll"
47447 SO_SUFFIX_MODULE="dll"
47448 DLLIMP_SUFFIX="dll.a"
47449 EXEEXT=".exe"
47450 DLLPREFIX=""
47451 dlldir="$bindir"
47452 ;;
47453 *-pc-msdosdjgpp )
47454 EXEEXT=".exe"
47455 DLLPREFIX=""
47456 dlldir="$bindir"
47457 ;;
47458 *-pc-os2_emx | *-pc-os2-emx )
47459 SO_SUFFIX="dll"
47460 SO_SUFFIX_MODULE="dll"
47461 DLLIMP_SUFFIX=$OS2_LIBEXT
47462 EXEEXT=".exe"
47463 DLLPREFIX=""
47464 LIBPREFIX=""
47465 LIBEXT=".$OS2_LIBEXT"
47466 dlldir="$bindir"
47467 ;;
47468 *-*-darwin* )
47469 SO_SUFFIX="dylib"
47470 SO_SUFFIX_MODULE="bundle"
47471 ;;
47472 esac
47473
47474 if test "x$DLLIMP_SUFFIX" = "x" ; then
47475 DLLIMP_SUFFIX="$SO_SUFFIX"
47476 fi
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489 PIC_FLAG=""
47490 if test "x$GCC" = "xyes"; then
47491 PIC_FLAG="-fPIC"
47492 fi
47493
47494 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47495 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47496 WINDOWS_IMPLIB=0
47497
47498 case "${BAKEFILE_HOST}" in
47499 *-hp-hpux* )
47500 if test "x$GCC" != "xyes"; then
47501 LDFLAGS="$LDFLAGS -L/usr/lib"
47502
47503 SHARED_LD_CC="${CC} -b -o"
47504 SHARED_LD_CXX="${CXX} -b -o"
47505 PIC_FLAG="+Z"
47506 fi
47507 ;;
47508
47509 *-*-linux* )
47510 if test "$INTELCC" = "yes"; then
47511 PIC_FLAG="-KPIC"
47512 elif test "x$SUNCXX" = "xyes"; then
47513 SHARED_LD_CC="${CC} -G -o"
47514 SHARED_LD_CXX="${CXX} -G -o"
47515 PIC_FLAG="-KPIC"
47516 fi
47517 ;;
47518
47519 *-*-solaris2* )
47520 if test "x$SUNCXX" = xyes ; then
47521 SHARED_LD_CC="${CC} -G -o"
47522 SHARED_LD_CXX="${CXX} -G -o"
47523 PIC_FLAG="-KPIC"
47524 fi
47525 ;;
47526
47527 *-*-darwin* )
47528
47529 D='$'
47530 cat <<EOF >shared-ld-sh
47531 #!/bin/sh
47532 #-----------------------------------------------------------------------------
47533 #-- Name: distrib/mac/shared-ld-sh
47534 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47535 #-- Author: Gilles Depeyrot
47536 #-- Copyright: (c) 2002 Gilles Depeyrot
47537 #-- Licence: any use permitted
47538 #-----------------------------------------------------------------------------
47539
47540 verbose=0
47541 args=""
47542 objects=""
47543 linking_flag="-dynamiclib"
47544 ldargs="-r -keep_private_externs -nostdlib"
47545
47546 if test "x${D}CXX" = "x"; then
47547 CXX="c++"
47548 fi
47549
47550 while test ${D}# -gt 0; do
47551 case ${D}1 in
47552
47553 -v)
47554 verbose=1
47555 ;;
47556
47557 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47558 # collect these options and values
47559 args="${D}{args} ${D}1 ${D}2"
47560 shift
47561 ;;
47562
47563 -arch|-isysroot)
47564 # collect these options and values
47565 ldargs="${D}{ldargs} ${D}1 ${D}2"
47566 shift
47567 ;;
47568
47569 -s|-Wl,*)
47570 # collect these load args
47571 ldargs="${D}{ldargs} ${D}1"
47572 ;;
47573
47574 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47575 # collect these options
47576 args="${D}{args} ${D}1"
47577 ;;
47578
47579 -dynamiclib|-bundle)
47580 linking_flag="${D}1"
47581 ;;
47582
47583 -*)
47584 echo "shared-ld: unhandled option '${D}1'"
47585 exit 1
47586 ;;
47587
47588 *.o | *.a | *.dylib)
47589 # collect object files
47590 objects="${D}{objects} ${D}1"
47591 ;;
47592
47593 *)
47594 echo "shared-ld: unhandled argument '${D}1'"
47595 exit 1
47596 ;;
47597
47598 esac
47599 shift
47600 done
47601
47602 status=0
47603
47604 #
47605 # Link one module containing all the others
47606 #
47607 if test ${D}{verbose} = 1; then
47608 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47609 fi
47610 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47611 status=${D}?
47612
47613 #
47614 # Link the shared library from the single module created, but only if the
47615 # previous command didn't fail:
47616 #
47617 if test ${D}{status} = 0; then
47618 if test ${D}{verbose} = 1; then
47619 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47620 fi
47621 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47622 status=${D}?
47623 fi
47624
47625 #
47626 # Remove intermediate module
47627 #
47628 rm -f master.${D}${D}.o
47629
47630 exit ${D}status
47631 EOF
47632
47633 chmod +x shared-ld-sh
47634
47635 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47636 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
47637
47638
47639 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47640 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47641 if test "${bakefile_cv_gcc31+set}" = set; then
47642 echo $ECHO_N "(cached) $ECHO_C" >&6
47643 else
47644
47645 cat >conftest.$ac_ext <<_ACEOF
47646 /* confdefs.h. */
47647 _ACEOF
47648 cat confdefs.h >>conftest.$ac_ext
47649 cat >>conftest.$ac_ext <<_ACEOF
47650 /* end confdefs.h. */
47651
47652 int
47653 main ()
47654 {
47655
47656 #if (__GNUC__ < 3) || \
47657 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47658 This is old gcc
47659 #endif
47660
47661 ;
47662 return 0;
47663 }
47664 _ACEOF
47665 rm -f conftest.$ac_objext
47666 if { (ac_try="$ac_compile"
47667 case "(($ac_try" in
47668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47669 *) ac_try_echo=$ac_try;;
47670 esac
47671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47672 (eval "$ac_compile") 2>conftest.er1
47673 ac_status=$?
47674 grep -v '^ *+' conftest.er1 >conftest.err
47675 rm -f conftest.er1
47676 cat conftest.err >&5
47677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47678 (exit $ac_status); } && {
47679 test -z "$ac_c_werror_flag" ||
47680 test ! -s conftest.err
47681 } && test -s conftest.$ac_objext; then
47682
47683 bakefile_cv_gcc31=yes
47684
47685 else
47686 echo "$as_me: failed program was:" >&5
47687 sed 's/^/| /' conftest.$ac_ext >&5
47688
47689
47690 bakefile_cv_gcc31=no
47691
47692
47693 fi
47694
47695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47696
47697 fi
47698 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47699 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47700 if test "$bakefile_cv_gcc31" = "no"; then
47701 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47702 SHARED_LD_CXX="$SHARED_LD_CC"
47703 else
47704 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47705 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47706 fi
47707
47708 if test "x$GCC" == "xyes"; then
47709 PIC_FLAG="-dynamic -fPIC"
47710 fi
47711 if test "x$XLCC" = "xyes"; then
47712 PIC_FLAG="-dynamic -DPIC"
47713 fi
47714 ;;
47715
47716 *-*-aix* )
47717 if test "x$GCC" = "xyes"; then
47718 PIC_FLAG=""
47719
47720 case "${BAKEFILE_HOST}" in
47721 *-*-aix5* )
47722 LD_EXPFULL="-Wl,-bexpfull"
47723 ;;
47724 esac
47725
47726 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47727 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47728 else
47729 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47730 set dummy makeC++SharedLib; ac_word=$2
47731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47733 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 else
47736 if test -n "$AIX_CXX_LD"; then
47737 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47738 else
47739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47740 for as_dir in $PATH
47741 do
47742 IFS=$as_save_IFS
47743 test -z "$as_dir" && as_dir=.
47744 for ac_exec_ext in '' $ac_executable_extensions; do
47745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47746 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47748 break 2
47749 fi
47750 done
47751 done
47752 IFS=$as_save_IFS
47753
47754 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47755 fi
47756 fi
47757 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47758 if test -n "$AIX_CXX_LD"; then
47759 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47760 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47761 else
47762 { echo "$as_me:$LINENO: result: no" >&5
47763 echo "${ECHO_T}no" >&6; }
47764 fi
47765
47766
47767 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47768 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47769 fi
47770 ;;
47771
47772 *-*-beos* )
47773 SHARED_LD_CC="${LD} -nostart -o"
47774 SHARED_LD_CXX="${LD} -nostart -o"
47775 ;;
47776
47777 *-*-irix* )
47778 if test "x$GCC" != "xyes"; then
47779 PIC_FLAG="-KPIC"
47780 fi
47781 ;;
47782
47783 *-*-cygwin* | *-*-mingw32* )
47784 PIC_FLAG=""
47785 SHARED_LD_CC="\$(CC) -shared -o"
47786 SHARED_LD_CXX="\$(CXX) -shared -o"
47787 WINDOWS_IMPLIB=1
47788 ;;
47789
47790 *-pc-os2_emx | *-pc-os2-emx )
47791 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47792 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47793 PIC_FLAG=""
47794
47795 D='$'
47796 cat <<EOF >dllar.sh
47797 #!/bin/sh
47798 #
47799 # dllar - a tool to build both a .dll and an .a file
47800 # from a set of object (.o) files for EMX/OS2.
47801 #
47802 # Written by Andrew Zabolotny, bit@freya.etu.ru
47803 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47804 #
47805 # This script will accept a set of files on the command line.
47806 # All the public symbols from the .o files will be exported into
47807 # a .DEF file, then linker will be run (through gcc) against them to
47808 # build a shared library consisting of all given .o files. All libraries
47809 # (.a) will be first decompressed into component .o files then act as
47810 # described above. You can optionally give a description (-d "description")
47811 # which will be put into .DLL. To see the list of accepted options (as well
47812 # as command-line format) simply run this program without options. The .DLL
47813 # is built to be imported by name (there is no guarantee that new versions
47814 # of the library you build will have same ordinals for same symbols).
47815 #
47816 # dllar is free software; you can redistribute it and/or modify
47817 # it under the terms of the GNU General Public License as published by
47818 # the Free Software Foundation; either version 2, or (at your option)
47819 # any later version.
47820 #
47821 # dllar is distributed in the hope that it will be useful,
47822 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47823 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47824 # GNU General Public License for more details.
47825 #
47826 # You should have received a copy of the GNU General Public License
47827 # along with dllar; see the file COPYING. If not, write to the Free
47828 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47829 # 02111-1307, USA.
47830
47831 # To successfuly run this program you will need:
47832 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47833 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47834 # - gcc
47835 # (used to build the .dll)
47836 # - emxexp
47837 # (used to create .def file from .o files)
47838 # - emximp
47839 # (used to create .a file from .def file)
47840 # - GNU text utilites (cat, sort, uniq)
47841 # used to process emxexp output
47842 # - GNU file utilities (mv, rm)
47843 # - GNU sed
47844 # - lxlite (optional, see flag below)
47845 # (used for general .dll cleanup)
47846 #
47847
47848 flag_USE_LXLITE=1;
47849
47850 #
47851 # helper functions
47852 # basnam, variant of basename, which does _not_ remove the path, _iff_
47853 # second argument (suffix to remove) is given
47854 basnam(){
47855 case ${D}# in
47856 1)
47857 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47858 ;;
47859 2)
47860 echo ${D}1 | sed 's/'${D}2'${D}//'
47861 ;;
47862 *)
47863 echo "error in basnam ${D}*"
47864 exit 8
47865 ;;
47866 esac
47867 }
47868
47869 # Cleanup temporary files and output
47870 CleanUp() {
47871 cd ${D}curDir
47872 for i in ${D}inputFiles ; do
47873 case ${D}i in
47874 *!)
47875 rm -rf \`basnam ${D}i !\`
47876 ;;
47877 *)
47878 ;;
47879 esac
47880 done
47881
47882 # Kill result in case of failure as there is just to many stupid make/nmake
47883 # things out there which doesn't do this.
47884 if [ ${D}# -eq 0 ]; then
47885 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47886 fi
47887 }
47888
47889 # Print usage and exit script with rc=1.
47890 PrintHelp() {
47891 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47892 echo ' [-name-mangler-script script.sh]'
47893 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47894 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47895 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47896 echo ' [*.o] [*.a]'
47897 echo '*> "output_file" should have no extension.'
47898 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47899 echo ' The import library name is derived from this and is set to "name".a,'
47900 echo ' unless overridden by -import'
47901 echo '*> "importlib_name" should have no extension.'
47902 echo ' If it has the .o, or .a extension, it is automatically removed.'
47903 echo ' This name is used as the import library name and may be longer and'
47904 echo ' more descriptive than the DLL name which has to follow the old '
47905 echo ' 8.3 convention of FAT.'
47906 echo '*> "script.sh may be given to override the output_file name by a'
47907 echo ' different name. It is mainly useful if the regular make process'
47908 echo ' of some package does not take into account OS/2 restriction of'
47909 echo ' DLL name lengths. It takes the importlib name as input and is'
47910 echo ' supposed to procude a shorter name as output. The script should'
47911 echo ' expect to get importlib_name without extension and should produce'
47912 echo ' a (max.) 8 letter name without extension.'
47913 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47914 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47915 echo ' These flags will be put at the start of GCC command line.'
47916 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47917 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47918 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47919 echo ' If the last character of a symbol is "*", all symbols beginning'
47920 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47921 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47922 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47923 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47924 echo ' C runtime DLLs.'
47925 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47926 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47927 echo ' unchanged to GCC at the end of command line.'
47928 echo '*> If you create a DLL from a library and you do not specify -o,'
47929 echo ' the basename for DLL and import library will be set to library name,'
47930 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47931 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47932 echo ' library will be renamed into gcc_s.a.'
47933 echo '--------'
47934 echo 'Example:'
47935 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47936 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47937 CleanUp
47938 exit 1
47939 }
47940
47941 # Execute a command.
47942 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47943 # @Uses Whatever CleanUp() uses.
47944 doCommand() {
47945 echo "${D}*"
47946 eval ${D}*
47947 rcCmd=${D}?
47948
47949 if [ ${D}rcCmd -ne 0 ]; then
47950 echo "command failed, exit code="${D}rcCmd
47951 CleanUp
47952 exit ${D}rcCmd
47953 fi
47954 }
47955
47956 # main routine
47957 # setup globals
47958 cmdLine=${D}*
47959 outFile=""
47960 outimpFile=""
47961 inputFiles=""
47962 renameScript=""
47963 description=""
47964 CC=gcc.exe
47965 CFLAGS="-s -Zcrtdll"
47966 EXTRA_CFLAGS=""
47967 EXPORT_BY_ORDINALS=0
47968 exclude_symbols=""
47969 library_flags=""
47970 curDir=\`pwd\`
47971 curDirS=curDir
47972 case ${D}curDirS in
47973 */)
47974 ;;
47975 *)
47976 curDirS=${D}{curDirS}"/"
47977 ;;
47978 esac
47979 # Parse commandline
47980 libsToLink=0
47981 omfLinking=0
47982 while [ ${D}1 ]; do
47983 case ${D}1 in
47984 -ord*)
47985 EXPORT_BY_ORDINALS=1;
47986 ;;
47987 -o*)
47988 shift
47989 outFile=${D}1
47990 ;;
47991 -i*)
47992 shift
47993 outimpFile=${D}1
47994 ;;
47995 -name-mangler-script)
47996 shift
47997 renameScript=${D}1
47998 ;;
47999 -d*)
48000 shift
48001 description=${D}1
48002 ;;
48003 -f*)
48004 shift
48005 CFLAGS=${D}1
48006 ;;
48007 -c*)
48008 shift
48009 CC=${D}1
48010 ;;
48011 -h*)
48012 PrintHelp
48013 ;;
48014 -ex*)
48015 shift
48016 exclude_symbols=${D}{exclude_symbols}${D}1" "
48017 ;;
48018 -libf*)
48019 shift
48020 library_flags=${D}{library_flags}${D}1" "
48021 ;;
48022 -nocrt*)
48023 CFLAGS="-s"
48024 ;;
48025 -nolxl*)
48026 flag_USE_LXLITE=0
48027 ;;
48028 -* | /*)
48029 case ${D}1 in
48030 -L* | -l*)
48031 libsToLink=1
48032 ;;
48033 -Zomf)
48034 omfLinking=1
48035 ;;
48036 *)
48037 ;;
48038 esac
48039 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48040 ;;
48041 *.dll)
48042 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48043 if [ ${D}omfLinking -eq 1 ]; then
48044 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48045 else
48046 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48047 fi
48048 ;;
48049 *)
48050 found=0;
48051 if [ ${D}libsToLink -ne 0 ]; then
48052 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48053 else
48054 for file in ${D}1 ; do
48055 if [ -f ${D}file ]; then
48056 inputFiles="${D}{inputFiles} ${D}file"
48057 found=1
48058 fi
48059 done
48060 if [ ${D}found -eq 0 ]; then
48061 echo "ERROR: No file(s) found: "${D}1
48062 exit 8
48063 fi
48064 fi
48065 ;;
48066 esac
48067 shift
48068 done # iterate cmdline words
48069
48070 #
48071 if [ -z "${D}inputFiles" ]; then
48072 echo "dllar: no input files"
48073 PrintHelp
48074 fi
48075
48076 # Now extract all .o files from .a files
48077 newInputFiles=""
48078 for file in ${D}inputFiles ; do
48079 case ${D}file in
48080 *.a | *.lib)
48081 case ${D}file in
48082 *.a)
48083 suffix=".a"
48084 AR="ar"
48085 ;;
48086 *.lib)
48087 suffix=".lib"
48088 AR="emxomfar"
48089 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48090 ;;
48091 *)
48092 ;;
48093 esac
48094 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48095 mkdir ${D}dirname
48096 if [ ${D}? -ne 0 ]; then
48097 echo "Failed to create subdirectory ./${D}dirname"
48098 CleanUp
48099 exit 8;
48100 fi
48101 # Append '!' to indicate archive
48102 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48103 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48104 cd ${D}curDir
48105 found=0;
48106 for subfile in ${D}dirname/*.o* ; do
48107 if [ -f ${D}subfile ]; then
48108 found=1
48109 if [ -s ${D}subfile ]; then
48110 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48111 newInputFiles="${D}newInputFiles ${D}subfile"
48112 fi
48113 fi
48114 done
48115 if [ ${D}found -eq 0 ]; then
48116 echo "WARNING: there are no files in archive \\'${D}file\\'"
48117 fi
48118 ;;
48119 *)
48120 newInputFiles="${D}{newInputFiles} ${D}file"
48121 ;;
48122 esac
48123 done
48124 inputFiles="${D}newInputFiles"
48125
48126 # Output filename(s).
48127 do_backup=0;
48128 if [ -z ${D}outFile ]; then
48129 do_backup=1;
48130 set outFile ${D}inputFiles; outFile=${D}2
48131 fi
48132
48133 # If it is an archive, remove the '!' and the '_%' suffixes
48134 case ${D}outFile in
48135 *_%!)
48136 outFile=\`basnam ${D}outFile _%!\`
48137 ;;
48138 *)
48139 ;;
48140 esac
48141 case ${D}outFile in
48142 *.dll)
48143 outFile=\`basnam ${D}outFile .dll\`
48144 ;;
48145 *.DLL)
48146 outFile=\`basnam ${D}outFile .DLL\`
48147 ;;
48148 *.o)
48149 outFile=\`basnam ${D}outFile .o\`
48150 ;;
48151 *.obj)
48152 outFile=\`basnam ${D}outFile .obj\`
48153 ;;
48154 *.a)
48155 outFile=\`basnam ${D}outFile .a\`
48156 ;;
48157 *.lib)
48158 outFile=\`basnam ${D}outFile .lib\`
48159 ;;
48160 *)
48161 ;;
48162 esac
48163 case ${D}outimpFile in
48164 *.a)
48165 outimpFile=\`basnam ${D}outimpFile .a\`
48166 ;;
48167 *.lib)
48168 outimpFile=\`basnam ${D}outimpFile .lib\`
48169 ;;
48170 *)
48171 ;;
48172 esac
48173 if [ -z ${D}outimpFile ]; then
48174 outimpFile=${D}outFile
48175 fi
48176 defFile="${D}{outFile}.def"
48177 arcFile="${D}{outimpFile}.a"
48178 arcFile2="${D}{outimpFile}.lib"
48179
48180 #create ${D}dllFile as something matching 8.3 restrictions,
48181 if [ -z ${D}renameScript ] ; then
48182 dllFile="${D}outFile"
48183 else
48184 dllFile=\`${D}renameScript ${D}outimpFile\`
48185 fi
48186
48187 if [ ${D}do_backup -ne 0 ] ; then
48188 if [ -f ${D}arcFile ] ; then
48189 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48190 fi
48191 if [ -f ${D}arcFile2 ] ; then
48192 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48193 fi
48194 fi
48195
48196 # Extract public symbols from all the object files.
48197 tmpdefFile=${D}{defFile}_%
48198 rm -f ${D}tmpdefFile
48199 for file in ${D}inputFiles ; do
48200 case ${D}file in
48201 *!)
48202 ;;
48203 *)
48204 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48205 ;;
48206 esac
48207 done
48208
48209 # Create the def file.
48210 rm -f ${D}defFile
48211 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48212 dllFile="${D}{dllFile}.dll"
48213 if [ ! -z ${D}description ]; then
48214 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48215 fi
48216 echo "EXPORTS" >> ${D}defFile
48217
48218 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48219 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48220
48221 # Checks if the export is ok or not.
48222 for word in ${D}exclude_symbols; do
48223 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48224 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48225 done
48226
48227
48228 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48229 sed "=" < ${D}tmpdefFile | \\
48230 sed '
48231 N
48232 : loop
48233 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48234 t loop
48235 ' > ${D}{tmpdefFile}%
48236 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48237 else
48238 rm -f ${D}{tmpdefFile}%
48239 fi
48240 cat ${D}tmpdefFile >> ${D}defFile
48241 rm -f ${D}tmpdefFile
48242
48243 # Do linking, create implib, and apply lxlite.
48244 gccCmdl="";
48245 for file in ${D}inputFiles ; do
48246 case ${D}file in
48247 *!)
48248 ;;
48249 *)
48250 gccCmdl="${D}gccCmdl ${D}file"
48251 ;;
48252 esac
48253 done
48254 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48255 touch "${D}{outFile}.dll"
48256
48257 doCommand "emximp -o ${D}arcFile ${D}defFile"
48258 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48259 add_flags="";
48260 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48261 add_flags="-ynd"
48262 fi
48263 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48264 fi
48265 doCommand "emxomf -s -l ${D}arcFile"
48266
48267 # Successful exit.
48268 CleanUp 1
48269 exit 0
48270 EOF
48271
48272 chmod +x dllar.sh
48273 ;;
48274
48275 powerpc-apple-macos* | \
48276 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48277 *-*-mirbsd* | \
48278 *-*-sunos4* | \
48279 *-*-osf* | \
48280 *-*-dgux5* | \
48281 *-*-sysv5* | \
48282 *-pc-msdosdjgpp )
48283 ;;
48284
48285 *)
48286 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48287 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48288 { (exit 1); exit 1; }; }
48289 esac
48290
48291 if test "x$PIC_FLAG" != "x" ; then
48292 PIC_FLAG="$PIC_FLAG -DPIC"
48293 fi
48294
48295 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48296 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48297 fi
48298 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48299 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48300 fi
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310 USE_SOVERSION=0
48311 USE_SOVERLINUX=0
48312 USE_SOVERSOLARIS=0
48313 USE_SOVERCYGWIN=0
48314 USE_SOSYMLINKS=0
48315 USE_MACVERSION=0
48316 SONAME_FLAG=
48317
48318 case "${BAKEFILE_HOST}" in
48319 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48320 *-*-k*bsd*-gnu | *-*-mirbsd* )
48321 if test "x$SUNCXX" = "xyes"; then
48322 SONAME_FLAG="-h "
48323 else
48324 SONAME_FLAG="-Wl,-soname,"
48325 fi
48326 USE_SOVERSION=1
48327 USE_SOVERLINUX=1
48328 USE_SOSYMLINKS=1
48329 ;;
48330
48331 *-*-solaris2* )
48332 SONAME_FLAG="-h "
48333 USE_SOVERSION=1
48334 USE_SOVERSOLARIS=1
48335 USE_SOSYMLINKS=1
48336 ;;
48337
48338 *-*-darwin* )
48339 USE_MACVERSION=1
48340 USE_SOVERSION=1
48341 USE_SOSYMLINKS=1
48342 ;;
48343
48344 *-*-cygwin* )
48345 USE_SOVERSION=1
48346 USE_SOVERCYGWIN=1
48347 ;;
48348 esac
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359 # Check whether --enable-dependency-tracking was given.
48360 if test "${enable_dependency_tracking+set}" = set; then
48361 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48362 fi
48363
48364
48365 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48366 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48367
48368 BK_DEPS=""
48369 if test "x$bk_use_trackdeps" = "xno" ; then
48370 DEPS_TRACKING=0
48371 { echo "$as_me:$LINENO: result: disabled" >&5
48372 echo "${ECHO_T}disabled" >&6; }
48373 else
48374 DEPS_TRACKING=1
48375
48376 if test "x$GCC" = "xyes"; then
48377 DEPSMODE=gcc
48378 case "${BAKEFILE_HOST}" in
48379 *-*-darwin* )
48380 DEPSFLAG="-no-cpp-precomp -MMD"
48381 ;;
48382 * )
48383 DEPSFLAG="-MMD"
48384 ;;
48385 esac
48386 { echo "$as_me:$LINENO: result: gcc" >&5
48387 echo "${ECHO_T}gcc" >&6; }
48388 elif test "x$MWCC" = "xyes"; then
48389 DEPSMODE=mwcc
48390 DEPSFLAG="-MM"
48391 { echo "$as_me:$LINENO: result: mwcc" >&5
48392 echo "${ECHO_T}mwcc" >&6; }
48393 elif test "x$SUNCC" = "xyes"; then
48394 DEPSMODE=unixcc
48395 DEPSFLAG="-xM1"
48396 { echo "$as_me:$LINENO: result: Sun cc" >&5
48397 echo "${ECHO_T}Sun cc" >&6; }
48398 elif test "x$SGICC" = "xyes"; then
48399 DEPSMODE=unixcc
48400 DEPSFLAG="-M"
48401 { echo "$as_me:$LINENO: result: SGI cc" >&5
48402 echo "${ECHO_T}SGI cc" >&6; }
48403 elif test "x$HPCC" = "xyes"; then
48404 DEPSMODE=unixcc
48405 DEPSFLAG="+make"
48406 { echo "$as_me:$LINENO: result: HP cc" >&5
48407 echo "${ECHO_T}HP cc" >&6; }
48408 elif test "x$COMPAQCC" = "xyes"; then
48409 DEPSMODE=gcc
48410 DEPSFLAG="-MD"
48411 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48412 echo "${ECHO_T}Compaq cc" >&6; }
48413 else
48414 DEPS_TRACKING=0
48415 { echo "$as_me:$LINENO: result: none" >&5
48416 echo "${ECHO_T}none" >&6; }
48417 fi
48418
48419 if test $DEPS_TRACKING = 1 ; then
48420
48421 D='$'
48422 cat <<EOF >bk-deps
48423 #!/bin/sh
48424
48425 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48426 # script. It is used to track C/C++ files dependencies in portable way.
48427 #
48428 # Permission is given to use this file in any way.
48429
48430 DEPSMODE=${DEPSMODE}
48431 DEPSDIR=.deps
48432 DEPSFLAG="${DEPSFLAG}"
48433
48434 mkdir -p ${D}DEPSDIR
48435
48436 if test ${D}DEPSMODE = gcc ; then
48437 ${D}* ${D}{DEPSFLAG}
48438 status=${D}?
48439
48440 # determine location of created files:
48441 while test ${D}# -gt 0; do
48442 case "${D}1" in
48443 -o )
48444 shift
48445 objfile=${D}1
48446 ;;
48447 -* )
48448 ;;
48449 * )
48450 srcfile=${D}1
48451 ;;
48452 esac
48453 shift
48454 done
48455 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48456 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48457
48458 # if the compiler failed, we're done:
48459 if test ${D}{status} != 0 ; then
48460 rm -f ${D}depfile
48461 exit ${D}{status}
48462 fi
48463
48464 # move created file to the location we want it in:
48465 if test -f ${D}depfile ; then
48466 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48467 rm -f ${D}depfile
48468 else
48469 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48470 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48471 if test ! -f ${D}depfile ; then
48472 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48473 depfile="${D}objfile.d"
48474 fi
48475 if test -f ${D}depfile ; then
48476 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48477 rm -f ${D}depfile
48478 fi
48479 fi
48480 exit 0
48481 elif test ${D}DEPSMODE = mwcc ; then
48482 ${D}* || exit ${D}?
48483 # Run mwcc again with -MM and redirect into the dep file we want
48484 # NOTE: We can't use shift here because we need ${D}* to be valid
48485 prevarg=
48486 for arg in ${D}* ; do
48487 if test "${D}prevarg" = "-o"; then
48488 objfile=${D}arg
48489 else
48490 case "${D}arg" in
48491 -* )
48492 ;;
48493 * )
48494 srcfile=${D}arg
48495 ;;
48496 esac
48497 fi
48498 prevarg="${D}arg"
48499 done
48500 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48501 exit 0
48502 elif test ${D}DEPSMODE = unixcc; then
48503 ${D}* || exit ${D}?
48504 # Run compiler again with deps flag and redirect into the dep file.
48505 # It doesn't work if the '-o FILE' option is used, but without it the
48506 # dependency file will contain the wrong name for the object. So it is
48507 # removed from the command line, and the dep file is fixed with sed.
48508 cmd=""
48509 while test ${D}# -gt 0; do
48510 case "${D}1" in
48511 -o )
48512 shift
48513 objfile=${D}1
48514 ;;
48515 * )
48516 eval arg${D}#=\\${D}1
48517 cmd="${D}cmd \\${D}arg${D}#"
48518 ;;
48519 esac
48520 shift
48521 done
48522 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48523 exit 0
48524 else
48525 ${D}*
48526 exit ${D}?
48527 fi
48528 EOF
48529
48530 chmod +x bk-deps
48531 BK_DEPS="`pwd`/bk-deps"
48532 fi
48533 fi
48534
48535
48536
48537
48538
48539 case ${BAKEFILE_HOST} in
48540 *-*-cygwin* | *-*-mingw32* )
48541 if test -n "$ac_tool_prefix"; then
48542 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48543 set dummy ${ac_tool_prefix}windres; ac_word=$2
48544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48546 if test "${ac_cv_prog_WINDRES+set}" = set; then
48547 echo $ECHO_N "(cached) $ECHO_C" >&6
48548 else
48549 if test -n "$WINDRES"; then
48550 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48551 else
48552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48553 for as_dir in $PATH
48554 do
48555 IFS=$as_save_IFS
48556 test -z "$as_dir" && as_dir=.
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48559 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48561 break 2
48562 fi
48563 done
48564 done
48565 IFS=$as_save_IFS
48566
48567 fi
48568 fi
48569 WINDRES=$ac_cv_prog_WINDRES
48570 if test -n "$WINDRES"; then
48571 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48572 echo "${ECHO_T}$WINDRES" >&6; }
48573 else
48574 { echo "$as_me:$LINENO: result: no" >&5
48575 echo "${ECHO_T}no" >&6; }
48576 fi
48577
48578
48579 fi
48580 if test -z "$ac_cv_prog_WINDRES"; then
48581 ac_ct_WINDRES=$WINDRES
48582 # Extract the first word of "windres", so it can be a program name with args.
48583 set dummy windres; ac_word=$2
48584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48586 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48587 echo $ECHO_N "(cached) $ECHO_C" >&6
48588 else
48589 if test -n "$ac_ct_WINDRES"; then
48590 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48591 else
48592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48593 for as_dir in $PATH
48594 do
48595 IFS=$as_save_IFS
48596 test -z "$as_dir" && as_dir=.
48597 for ac_exec_ext in '' $ac_executable_extensions; do
48598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48599 ac_cv_prog_ac_ct_WINDRES="windres"
48600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48601 break 2
48602 fi
48603 done
48604 done
48605 IFS=$as_save_IFS
48606
48607 fi
48608 fi
48609 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48610 if test -n "$ac_ct_WINDRES"; then
48611 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48612 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48613 else
48614 { echo "$as_me:$LINENO: result: no" >&5
48615 echo "${ECHO_T}no" >&6; }
48616 fi
48617
48618 if test "x$ac_ct_WINDRES" = x; then
48619 WINDRES=""
48620 else
48621 case $cross_compiling:$ac_tool_warned in
48622 yes:)
48623 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48624 whose name does not start with the host triplet. If you think this
48625 configuration is useful to you, please write to autoconf@gnu.org." >&5
48626 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48627 whose name does not start with the host triplet. If you think this
48628 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48629 ac_tool_warned=yes ;;
48630 esac
48631 WINDRES=$ac_ct_WINDRES
48632 fi
48633 else
48634 WINDRES="$ac_cv_prog_WINDRES"
48635 fi
48636
48637 ;;
48638
48639 *-*-darwin* | powerpc-apple-macos* )
48640 # Extract the first word of "Rez", so it can be a program name with args.
48641 set dummy Rez; ac_word=$2
48642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48644 if test "${ac_cv_prog_REZ+set}" = set; then
48645 echo $ECHO_N "(cached) $ECHO_C" >&6
48646 else
48647 if test -n "$REZ"; then
48648 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48649 else
48650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48651 for as_dir in $PATH
48652 do
48653 IFS=$as_save_IFS
48654 test -z "$as_dir" && as_dir=.
48655 for ac_exec_ext in '' $ac_executable_extensions; do
48656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48657 ac_cv_prog_REZ="Rez"
48658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48659 break 2
48660 fi
48661 done
48662 done
48663 IFS=$as_save_IFS
48664
48665 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48666 fi
48667 fi
48668 REZ=$ac_cv_prog_REZ
48669 if test -n "$REZ"; then
48670 { echo "$as_me:$LINENO: result: $REZ" >&5
48671 echo "${ECHO_T}$REZ" >&6; }
48672 else
48673 { echo "$as_me:$LINENO: result: no" >&5
48674 echo "${ECHO_T}no" >&6; }
48675 fi
48676
48677
48678 # Extract the first word of "SetFile", so it can be a program name with args.
48679 set dummy SetFile; ac_word=$2
48680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48682 if test "${ac_cv_prog_SETFILE+set}" = set; then
48683 echo $ECHO_N "(cached) $ECHO_C" >&6
48684 else
48685 if test -n "$SETFILE"; then
48686 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48687 else
48688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48689 for as_dir in $PATH
48690 do
48691 IFS=$as_save_IFS
48692 test -z "$as_dir" && as_dir=.
48693 for ac_exec_ext in '' $ac_executable_extensions; do
48694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48695 ac_cv_prog_SETFILE="SetFile"
48696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48697 break 2
48698 fi
48699 done
48700 done
48701 IFS=$as_save_IFS
48702
48703 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48704 fi
48705 fi
48706 SETFILE=$ac_cv_prog_SETFILE
48707 if test -n "$SETFILE"; then
48708 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48709 echo "${ECHO_T}$SETFILE" >&6; }
48710 else
48711 { echo "$as_me:$LINENO: result: no" >&5
48712 echo "${ECHO_T}no" >&6; }
48713 fi
48714
48715
48716 ;;
48717 esac
48718
48719
48720
48721
48722
48723
48724 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
48725
48726
48727 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
48728
48729
48730
48731 # Check whether --enable-precomp-headers was given.
48732 if test "${enable_precomp_headers+set}" = set; then
48733 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48734 fi
48735
48736
48737 GCC_PCH=0
48738 ICC_PCH=0
48739 USE_PCH=0
48740 BK_MAKE_PCH=""
48741
48742 case ${BAKEFILE_HOST} in
48743 *-*-cygwin* )
48744 bk_use_pch="no"
48745 ;;
48746 esac
48747
48748 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48749 if test "x$GCC" = "xyes"; then
48750 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48751 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48752 cat >conftest.$ac_ext <<_ACEOF
48753 /* confdefs.h. */
48754 _ACEOF
48755 cat confdefs.h >>conftest.$ac_ext
48756 cat >>conftest.$ac_ext <<_ACEOF
48757 /* end confdefs.h. */
48758
48759 int
48760 main ()
48761 {
48762
48763 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48764 There is no PCH support
48765 #endif
48766 #if (__GNUC__ < 3)
48767 There is no PCH support
48768 #endif
48769 #if (__GNUC__ == 3) && \
48770 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48771 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48772 ( defined(__INTEL_COMPILER) )
48773 There is no PCH support
48774 #endif
48775
48776 ;
48777 return 0;
48778 }
48779 _ACEOF
48780 rm -f conftest.$ac_objext
48781 if { (ac_try="$ac_compile"
48782 case "(($ac_try" in
48783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48784 *) ac_try_echo=$ac_try;;
48785 esac
48786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48787 (eval "$ac_compile") 2>conftest.er1
48788 ac_status=$?
48789 grep -v '^ *+' conftest.er1 >conftest.err
48790 rm -f conftest.er1
48791 cat conftest.err >&5
48792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48793 (exit $ac_status); } && {
48794 test -z "$ac_c_werror_flag" ||
48795 test ! -s conftest.err
48796 } && test -s conftest.$ac_objext; then
48797
48798 { echo "$as_me:$LINENO: result: yes" >&5
48799 echo "${ECHO_T}yes" >&6; }
48800 GCC_PCH=1
48801
48802 else
48803 echo "$as_me: failed program was:" >&5
48804 sed 's/^/| /' conftest.$ac_ext >&5
48805
48806
48807 cat >conftest.$ac_ext <<_ACEOF
48808 /* confdefs.h. */
48809 _ACEOF
48810 cat confdefs.h >>conftest.$ac_ext
48811 cat >>conftest.$ac_ext <<_ACEOF
48812 /* end confdefs.h. */
48813
48814 int
48815 main ()
48816 {
48817
48818 #if !defined(__INTEL_COMPILER) || \
48819 (__INTEL_COMPILER < 800)
48820 There is no PCH support
48821 #endif
48822
48823 ;
48824 return 0;
48825 }
48826 _ACEOF
48827 rm -f conftest.$ac_objext
48828 if { (ac_try="$ac_compile"
48829 case "(($ac_try" in
48830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48831 *) ac_try_echo=$ac_try;;
48832 esac
48833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48834 (eval "$ac_compile") 2>conftest.er1
48835 ac_status=$?
48836 grep -v '^ *+' conftest.er1 >conftest.err
48837 rm -f conftest.er1
48838 cat conftest.err >&5
48839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48840 (exit $ac_status); } && {
48841 test -z "$ac_c_werror_flag" ||
48842 test ! -s conftest.err
48843 } && test -s conftest.$ac_objext; then
48844
48845 { echo "$as_me:$LINENO: result: yes" >&5
48846 echo "${ECHO_T}yes" >&6; }
48847 ICC_PCH=1
48848
48849 else
48850 echo "$as_me: failed program was:" >&5
48851 sed 's/^/| /' conftest.$ac_ext >&5
48852
48853
48854 { echo "$as_me:$LINENO: result: no" >&5
48855 echo "${ECHO_T}no" >&6; }
48856
48857 fi
48858
48859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48860
48861 fi
48862
48863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48864 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48865 USE_PCH=1
48866
48867 D='$'
48868 cat <<EOF >bk-make-pch
48869 #!/bin/sh
48870
48871 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48872 # script. It is used to generated precompiled headers.
48873 #
48874 # Permission is given to use this file in any way.
48875
48876 outfile="${D}{1}"
48877 header="${D}{2}"
48878 shift
48879 shift
48880
48881 compiler=""
48882 headerfile=""
48883
48884 while test ${D}{#} -gt 0; do
48885 add_to_cmdline=1
48886 case "${D}{1}" in
48887 -I* )
48888 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48889 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48890 headerfile="${D}{incdir}/${D}{header}"
48891 fi
48892 ;;
48893 -use-pch|-use_pch )
48894 shift
48895 add_to_cmdline=0
48896 ;;
48897 esac
48898 if test ${D}add_to_cmdline = 1 ; then
48899 compiler="${D}{compiler} ${D}{1}"
48900 fi
48901 shift
48902 done
48903
48904 if test "x${D}{headerfile}" = "x" ; then
48905 echo "error: can't find header ${D}{header} in include paths" >&2
48906 else
48907 if test -f ${D}{outfile} ; then
48908 rm -f ${D}{outfile}
48909 else
48910 mkdir -p \`dirname ${D}{outfile}\`
48911 fi
48912 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48913 mkdir -p .deps
48914 if test "x${GCC_PCH}" = "x1" ; then
48915 # can do this because gcc is >= 3.4:
48916 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48917 elif test "x${ICC_PCH}" = "x1" ; then
48918 filename=pch_gen-${D}${D}
48919 file=${D}{filename}.c
48920 dfile=${D}{filename}.d
48921 cat > ${D}file <<EOT
48922 #include "${D}header"
48923 EOT
48924 # using -MF icc complains about differing command lines in creation/use
48925 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48926 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48927 rm -f ${D}file ${D}dfile ${D}{filename}.o
48928 fi
48929 exit ${D}{?}
48930 fi
48931 EOF
48932
48933 chmod +x bk-make-pch
48934 BK_MAKE_PCH="`pwd`/bk-make-pch"
48935 fi
48936 fi
48937 fi
48938
48939
48940
48941
48942
48943 COND_BUILD_DEBUG="#"
48944 if test "x$BUILD" = "xdebug" ; then
48945 COND_BUILD_DEBUG=""
48946 fi
48947
48948 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48949 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48950 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48951 fi
48952
48953 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48954 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48955 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48956 fi
48957
48958 COND_BUILD_DEBUG_UNICODE_0="#"
48959 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48960 COND_BUILD_DEBUG_UNICODE_0=""
48961 fi
48962
48963 COND_BUILD_DEBUG_UNICODE_1="#"
48964 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48965 COND_BUILD_DEBUG_UNICODE_1=""
48966 fi
48967
48968 COND_BUILD_RELEASE="#"
48969 if test "x$BUILD" = "xrelease" ; then
48970 COND_BUILD_RELEASE=""
48971 fi
48972
48973 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48974 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48975 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48976 fi
48977
48978 COND_BUILD_RELEASE_UNICODE_0="#"
48979 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48980 COND_BUILD_RELEASE_UNICODE_0=""
48981 fi
48982
48983 COND_BUILD_RELEASE_UNICODE_1="#"
48984 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48985 COND_BUILD_RELEASE_UNICODE_1=""
48986 fi
48987
48988 COND_DEBUG_FLAG_1="#"
48989 if test "x$DEBUG_FLAG" = "x1" ; then
48990 COND_DEBUG_FLAG_1=""
48991 fi
48992
48993 COND_DEBUG_INFO_0="#"
48994 if test "x$DEBUG_INFO" = "x0" ; then
48995 COND_DEBUG_INFO_0=""
48996 fi
48997
48998 COND_DEBUG_INFO_1="#"
48999 if test "x$DEBUG_INFO" = "x1" ; then
49000 COND_DEBUG_INFO_1=""
49001 fi
49002
49003 COND_DEPS_TRACKING_0="#"
49004 if test "x$DEPS_TRACKING" = "x0" ; then
49005 COND_DEPS_TRACKING_0=""
49006 fi
49007
49008 COND_DEPS_TRACKING_1="#"
49009 if test "x$DEPS_TRACKING" = "x1" ; then
49010 COND_DEPS_TRACKING_1=""
49011 fi
49012
49013 COND_GCC_PCH_1="#"
49014 if test "x$GCC_PCH" = "x1" ; then
49015 COND_GCC_PCH_1=""
49016 fi
49017
49018 COND_ICC_PCH_1="#"
49019 if test "x$ICC_PCH" = "x1" ; then
49020 COND_ICC_PCH_1=""
49021 fi
49022
49023 COND_MONOLITHIC_0="#"
49024 if test "x$MONOLITHIC" = "x0" ; then
49025 COND_MONOLITHIC_0=""
49026 fi
49027
49028 COND_MONOLITHIC_0_SHARED_0="#"
49029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49030 COND_MONOLITHIC_0_SHARED_0=""
49031 fi
49032
49033 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49035 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49036 fi
49037
49038 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49040 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49041 fi
49042
49043 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49046 fi
49047
49048 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49051 fi
49052
49053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49056 fi
49057
49058 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49060 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49061 fi
49062
49063 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49065 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49066 fi
49067
49068 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49070 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49071 fi
49072
49073 COND_MONOLITHIC_0_SHARED_1="#"
49074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49075 COND_MONOLITHIC_0_SHARED_1=""
49076 fi
49077
49078 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49080 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49081 fi
49082
49083 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49086 fi
49087
49088 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49091 fi
49092
49093 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49096 fi
49097
49098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49101 fi
49102
49103 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49105 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49106 fi
49107
49108 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49110 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49111 fi
49112
49113 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49115 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49116 fi
49117
49118 COND_MONOLITHIC_0_USE_AUI_1="#"
49119 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49120 COND_MONOLITHIC_0_USE_AUI_1=""
49121 fi
49122
49123 COND_MONOLITHIC_0_USE_GUI_1="#"
49124 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49125 COND_MONOLITHIC_0_USE_GUI_1=""
49126 fi
49127
49128 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49129 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49130 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49131 fi
49132
49133 COND_MONOLITHIC_0_USE_HTML_1="#"
49134 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49135 COND_MONOLITHIC_0_USE_HTML_1=""
49136 fi
49137
49138 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49139 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49140 COND_MONOLITHIC_0_USE_MEDIA_1=""
49141 fi
49142
49143 COND_MONOLITHIC_0_USE_QA_1="#"
49144 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49145 COND_MONOLITHIC_0_USE_QA_1=""
49146 fi
49147
49148 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49149 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49150 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49151 fi
49152
49153 COND_MONOLITHIC_0_USE_STC_1="#"
49154 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49155 COND_MONOLITHIC_0_USE_STC_1=""
49156 fi
49157
49158 COND_MONOLITHIC_0_USE_XRC_1="#"
49159 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49160 COND_MONOLITHIC_0_USE_XRC_1=""
49161 fi
49162
49163 COND_MONOLITHIC_1="#"
49164 if test "x$MONOLITHIC" = "x1" ; then
49165 COND_MONOLITHIC_1=""
49166 fi
49167
49168 COND_MONOLITHIC_1_SHARED_0="#"
49169 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49170 COND_MONOLITHIC_1_SHARED_0=""
49171 fi
49172
49173 COND_MONOLITHIC_1_SHARED_1="#"
49174 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49175 COND_MONOLITHIC_1_SHARED_1=""
49176 fi
49177
49178 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49179 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49180 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49181 fi
49182
49183 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49184 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49185 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49186 fi
49187
49188 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49189 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49190 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49191 fi
49192
49193 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49194 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49195 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49196 fi
49197
49198 COND_PLATFORM_MACOSX_1="#"
49199 if test "x$PLATFORM_MACOSX" = "x1" ; then
49200 COND_PLATFORM_MACOSX_1=""
49201 fi
49202
49203 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49205 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49206 fi
49207
49208 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49210 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49211 fi
49212
49213 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49215 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49216 fi
49217
49218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49220 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49221 fi
49222
49223 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49225 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49226 fi
49227
49228 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49229 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49230 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49231 fi
49232
49233 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49234 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49235 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49236 fi
49237
49238 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49240 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49241 fi
49242
49243 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49244 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49245 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49246 fi
49247
49248 COND_PLATFORM_MACOS_1="#"
49249 if test "x$PLATFORM_MACOS" = "x1" ; then
49250 COND_PLATFORM_MACOS_1=""
49251 fi
49252
49253 COND_PLATFORM_MAC_0="#"
49254 if test "x$PLATFORM_MAC" = "x0" ; then
49255 COND_PLATFORM_MAC_0=""
49256 fi
49257
49258 COND_PLATFORM_MAC_1="#"
49259 if test "x$PLATFORM_MAC" = "x1" ; then
49260 COND_PLATFORM_MAC_1=""
49261 fi
49262
49263 COND_PLATFORM_MSDOS_0="#"
49264 if test "x$PLATFORM_MSDOS" = "x0" ; then
49265 COND_PLATFORM_MSDOS_0=""
49266 fi
49267
49268 COND_PLATFORM_MSDOS_1="#"
49269 if test "x$PLATFORM_MSDOS" = "x1" ; then
49270 COND_PLATFORM_MSDOS_1=""
49271 fi
49272
49273 COND_PLATFORM_OS2_1="#"
49274 if test "x$PLATFORM_OS2" = "x1" ; then
49275 COND_PLATFORM_OS2_1=""
49276 fi
49277
49278 COND_PLATFORM_UNIX_0="#"
49279 if test "x$PLATFORM_UNIX" = "x0" ; then
49280 COND_PLATFORM_UNIX_0=""
49281 fi
49282
49283 COND_PLATFORM_UNIX_1="#"
49284 if test "x$PLATFORM_UNIX" = "x1" ; then
49285 COND_PLATFORM_UNIX_1=""
49286 fi
49287
49288 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49289 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49290 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49291 fi
49292
49293 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49294 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49295 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49296 fi
49297
49298 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49299 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49300 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49301 fi
49302
49303 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49304 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49305 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49306 fi
49307
49308 COND_PLATFORM_WIN32_0="#"
49309 if test "x$PLATFORM_WIN32" = "x0" ; then
49310 COND_PLATFORM_WIN32_0=""
49311 fi
49312
49313 COND_PLATFORM_WIN32_1="#"
49314 if test "x$PLATFORM_WIN32" = "x1" ; then
49315 COND_PLATFORM_WIN32_1=""
49316 fi
49317
49318 COND_SHARED_0="#"
49319 if test "x$SHARED" = "x0" ; then
49320 COND_SHARED_0=""
49321 fi
49322
49323 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49324 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49325 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49326 fi
49327
49328 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49329 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49330 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49331 fi
49332
49333 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49334 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49335 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49336 fi
49337
49338 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49339 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49340 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49341 fi
49342
49343 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49344 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49345 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49346 fi
49347
49348 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49349 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49350 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49351 fi
49352
49353 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49354 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49355 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49356 fi
49357
49358 COND_SHARED_0_USE_STC_1="#"
49359 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49360 COND_SHARED_0_USE_STC_1=""
49361 fi
49362
49363 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49364 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49365 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49366 fi
49367
49368 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49369 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49370 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49371 fi
49372
49373 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49374 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49375 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49376 fi
49377
49378 COND_SHARED_1="#"
49379 if test "x$SHARED" = "x1" ; then
49380 COND_SHARED_1=""
49381 fi
49382
49383 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49384 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49385 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49386 fi
49387
49388 COND_TOOLKIT_="#"
49389 if test "x$TOOLKIT" = "x" ; then
49390 COND_TOOLKIT_=""
49391 fi
49392
49393 COND_TOOLKIT_COCOA="#"
49394 if test "x$TOOLKIT" = "xCOCOA" ; then
49395 COND_TOOLKIT_COCOA=""
49396 fi
49397
49398 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49399 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49400 COND_TOOLKIT_COCOA_USE_GUI_1=""
49401 fi
49402
49403 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49404 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49405 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49406 fi
49407
49408 COND_TOOLKIT_DFB="#"
49409 if test "x$TOOLKIT" = "xDFB" ; then
49410 COND_TOOLKIT_DFB=""
49411 fi
49412
49413 COND_TOOLKIT_DFB_USE_GUI_1="#"
49414 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49415 COND_TOOLKIT_DFB_USE_GUI_1=""
49416 fi
49417
49418 COND_TOOLKIT_GTK="#"
49419 if test "x$TOOLKIT" = "xGTK" ; then
49420 COND_TOOLKIT_GTK=""
49421 fi
49422
49423 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49424 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49425 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49426 fi
49427
49428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49429 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49430 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49431 fi
49432
49433 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49434 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49435 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49436 fi
49437
49438 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49439 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49440 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49441 fi
49442
49443 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49444 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49445 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49446 fi
49447
49448 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49449 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49450 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49451 fi
49452
49453 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49454 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49455 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49456 fi
49457
49458 COND_TOOLKIT_GTK_USE_GUI_1="#"
49459 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49460 COND_TOOLKIT_GTK_USE_GUI_1=""
49461 fi
49462
49463 COND_TOOLKIT_MAC="#"
49464 if test "x$TOOLKIT" = "xMAC" ; then
49465 COND_TOOLKIT_MAC=""
49466 fi
49467
49468 COND_TOOLKIT_MAC_USE_GUI_1="#"
49469 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49470 COND_TOOLKIT_MAC_USE_GUI_1=""
49471 fi
49472
49473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49474 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49475 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49476 fi
49477
49478 COND_TOOLKIT_MGL="#"
49479 if test "x$TOOLKIT" = "xMGL" ; then
49480 COND_TOOLKIT_MGL=""
49481 fi
49482
49483 COND_TOOLKIT_MGL_USE_GUI_1="#"
49484 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49485 COND_TOOLKIT_MGL_USE_GUI_1=""
49486 fi
49487
49488 COND_TOOLKIT_MOTIF="#"
49489 if test "x$TOOLKIT" = "xMOTIF" ; then
49490 COND_TOOLKIT_MOTIF=""
49491 fi
49492
49493 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49494 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49495 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49496 fi
49497
49498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49499 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49500 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49501 fi
49502
49503 COND_TOOLKIT_MSW="#"
49504 if test "x$TOOLKIT" = "xMSW" ; then
49505 COND_TOOLKIT_MSW=""
49506 fi
49507
49508 COND_TOOLKIT_MSW_USE_GUI_1="#"
49509 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49510 COND_TOOLKIT_MSW_USE_GUI_1=""
49511 fi
49512
49513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49514 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49515 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49516 fi
49517
49518 COND_TOOLKIT_MSW_WXUNIV_0="#"
49519 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49520 COND_TOOLKIT_MSW_WXUNIV_0=""
49521 fi
49522
49523 COND_TOOLKIT_PM="#"
49524 if test "x$TOOLKIT" = "xPM" ; then
49525 COND_TOOLKIT_PM=""
49526 fi
49527
49528 COND_TOOLKIT_PM_USE_GUI_1="#"
49529 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49530 COND_TOOLKIT_PM_USE_GUI_1=""
49531 fi
49532
49533 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49534 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49535 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49536 fi
49537
49538 COND_TOOLKIT_WINCE="#"
49539 if test "x$TOOLKIT" = "xWINCE" ; then
49540 COND_TOOLKIT_WINCE=""
49541 fi
49542
49543 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49544 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49545 COND_TOOLKIT_WINCE_USE_GUI_1=""
49546 fi
49547
49548 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49549 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49550 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49551 fi
49552
49553 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49554 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49555 COND_TOOLKIT_WINCE_WXUNIV_0=""
49556 fi
49557
49558 COND_TOOLKIT_X11="#"
49559 if test "x$TOOLKIT" = "xX11" ; then
49560 COND_TOOLKIT_X11=""
49561 fi
49562
49563 COND_TOOLKIT_X11_USE_GUI_1="#"
49564 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49565 COND_TOOLKIT_X11_USE_GUI_1=""
49566 fi
49567
49568 COND_UNICODE_1="#"
49569 if test "x$UNICODE" = "x1" ; then
49570 COND_UNICODE_1=""
49571 fi
49572
49573 COND_USE_EXCEPTIONS_0="#"
49574 if test "x$USE_EXCEPTIONS" = "x0" ; then
49575 COND_USE_EXCEPTIONS_0=""
49576 fi
49577
49578 COND_USE_EXCEPTIONS_1="#"
49579 if test "x$USE_EXCEPTIONS" = "x1" ; then
49580 COND_USE_EXCEPTIONS_1=""
49581 fi
49582
49583 COND_USE_GUI_0="#"
49584 if test "x$USE_GUI" = "x0" ; then
49585 COND_USE_GUI_0=""
49586 fi
49587
49588 COND_USE_GUI_1="#"
49589 if test "x$USE_GUI" = "x1" ; then
49590 COND_USE_GUI_1=""
49591 fi
49592
49593 COND_USE_GUI_1_USE_OPENGL_1="#"
49594 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49595 COND_USE_GUI_1_USE_OPENGL_1=""
49596 fi
49597
49598 COND_USE_GUI_1_WXUNIV_0="#"
49599 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49600 COND_USE_GUI_1_WXUNIV_0=""
49601 fi
49602
49603 COND_USE_GUI_1_WXUNIV_1="#"
49604 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49605 COND_USE_GUI_1_WXUNIV_1=""
49606 fi
49607
49608 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49609 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49610 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49611 fi
49612
49613 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49614 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49615 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49616 fi
49617
49618 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49619 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49620 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49621 fi
49622
49623 COND_USE_OPENGL_1="#"
49624 if test "x$USE_OPENGL" = "x1" ; then
49625 COND_USE_OPENGL_1=""
49626 fi
49627
49628 COND_USE_PCH_1="#"
49629 if test "x$USE_PCH" = "x1" ; then
49630 COND_USE_PCH_1=""
49631 fi
49632
49633 COND_USE_PLUGINS_0="#"
49634 if test "x$USE_PLUGINS" = "x0" ; then
49635 COND_USE_PLUGINS_0=""
49636 fi
49637
49638 COND_USE_RTTI_0="#"
49639 if test "x$USE_RTTI" = "x0" ; then
49640 COND_USE_RTTI_0=""
49641 fi
49642
49643 COND_USE_RTTI_1="#"
49644 if test "x$USE_RTTI" = "x1" ; then
49645 COND_USE_RTTI_1=""
49646 fi
49647
49648 COND_USE_SOSYMLINKS_1="#"
49649 if test "x$USE_SOSYMLINKS" = "x1" ; then
49650 COND_USE_SOSYMLINKS_1=""
49651 fi
49652
49653 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49654 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49655 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49656 fi
49657
49658 COND_USE_SOVERLINUX_1="#"
49659 if test "x$USE_SOVERLINUX" = "x1" ; then
49660 COND_USE_SOVERLINUX_1=""
49661 fi
49662
49663 COND_USE_SOVERSION_0="#"
49664 if test "x$USE_SOVERSION" = "x0" ; then
49665 COND_USE_SOVERSION_0=""
49666 fi
49667
49668 COND_USE_SOVERSOLARIS_1="#"
49669 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49670 COND_USE_SOVERSOLARIS_1=""
49671 fi
49672
49673 COND_USE_STC_1="#"
49674 if test "x$USE_STC" = "x1" ; then
49675 COND_USE_STC_1=""
49676 fi
49677
49678 COND_USE_THREADS_0="#"
49679 if test "x$USE_THREADS" = "x0" ; then
49680 COND_USE_THREADS_0=""
49681 fi
49682
49683 COND_USE_THREADS_1="#"
49684 if test "x$USE_THREADS" = "x1" ; then
49685 COND_USE_THREADS_1=""
49686 fi
49687
49688 COND_USE_XRC_1="#"
49689 if test "x$USE_XRC" = "x1" ; then
49690 COND_USE_XRC_1=""
49691 fi
49692
49693 COND_WINDOWS_IMPLIB_1="#"
49694 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49695 COND_WINDOWS_IMPLIB_1=""
49696 fi
49697
49698 COND_WITH_PLUGIN_SDL_1="#"
49699 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49700 COND_WITH_PLUGIN_SDL_1=""
49701 fi
49702
49703 COND_WXUNIV_0="#"
49704 if test "x$WXUNIV" = "x0" ; then
49705 COND_WXUNIV_0=""
49706 fi
49707
49708 COND_WXUNIV_1="#"
49709 if test "x$WXUNIV" = "x1" ; then
49710 COND_WXUNIV_1=""
49711 fi
49712
49713 COND_WXUSE_EXPAT_BUILTIN="#"
49714 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49715 COND_WXUSE_EXPAT_BUILTIN=""
49716 fi
49717
49718 COND_WXUSE_LIBJPEG_BUILTIN="#"
49719 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49720 COND_WXUSE_LIBJPEG_BUILTIN=""
49721 fi
49722
49723 COND_WXUSE_LIBPNG_BUILTIN="#"
49724 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49725 COND_WXUSE_LIBPNG_BUILTIN=""
49726 fi
49727
49728 COND_WXUSE_LIBTIFF_BUILTIN="#"
49729 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49730 COND_WXUSE_LIBTIFF_BUILTIN=""
49731 fi
49732
49733 COND_WXUSE_REGEX_BUILTIN="#"
49734 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49735 COND_WXUSE_REGEX_BUILTIN=""
49736 fi
49737
49738 COND_WXUSE_ZLIB_BUILTIN="#"
49739 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49740 COND_WXUSE_ZLIB_BUILTIN=""
49741 fi
49742
49743
49744
49745 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49746 { { 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
49747 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;}
49748 { (exit 1); exit 1; }; }
49749 fi
49750
49751 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49752 { { 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
49753 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;}
49754 { (exit 1); exit 1; }; }
49755 fi
49756
49757
49758 case ${INSTALL} in
49759 /* ) # Absolute
49760 ;;
49761 ?:* ) # Drive letter, considered as absolute.
49762 ;;
49763 *)
49764 INSTALL=`pwd`/${INSTALL} ;;
49765 esac
49766
49767 if test "$wxUSE_GUI" = "yes"; then
49768
49769 if test "$wxUSE_MSW" = 1 ; then
49770 if test "x$WINDRES" = "x"; then
49771 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49772 echo "$as_me: error: Required windres program not found" >&2;}
49773 { (exit 1); exit 1; }; }
49774 fi
49775
49776 RESCOMP="$WINDRES"
49777 fi
49778
49779 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49780 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49781 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49782
49783 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49784
49785 # Extract the first word of "DeRez", so it can be a program name with args.
49786 set dummy DeRez; ac_word=$2
49787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49789 if test "${ac_cv_prog_DEREZ+set}" = set; then
49790 echo $ECHO_N "(cached) $ECHO_C" >&6
49791 else
49792 if test -n "$DEREZ"; then
49793 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49794 else
49795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49796 for as_dir in $PATH
49797 do
49798 IFS=$as_save_IFS
49799 test -z "$as_dir" && as_dir=.
49800 for ac_exec_ext in '' $ac_executable_extensions; do
49801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49802 ac_cv_prog_DEREZ="DeRez"
49803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49804 break 2
49805 fi
49806 done
49807 done
49808 IFS=$as_save_IFS
49809
49810 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49811 fi
49812 fi
49813 DEREZ=$ac_cv_prog_DEREZ
49814 if test -n "$DEREZ"; then
49815 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49816 echo "${ECHO_T}$DEREZ" >&6; }
49817 else
49818 { echo "$as_me:$LINENO: result: no" >&5
49819 echo "${ECHO_T}no" >&6; }
49820 fi
49821
49822
49823
49824 MACSETFILE="\$(SETFILE)"
49825
49826 if test "$wxUSE_MAC" = 1; then
49827 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49828 RESCOMP="$REZ"
49829 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49830 else
49831 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49832 RESCOMP="cat /dev/null \| $REZ"
49833 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49834 fi
49835
49836 else
49837 MACSETFILE="@true"
49838
49839 if test "$wxUSE_PM" = 1; then
49840 RESCOMP="emxbind"
49841 WXCONFIG_RESFLAGS="-ep"
49842
49843 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49844 else
49845 POSTLINK_COMMAND="@true"
49846 fi
49847 fi
49848
49849 fi
49850
49851
49852 if test $GCC_PCH = 1
49853 then
49854 if test "$wx_cv_gcc_pch_bug" = yes; then
49855 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49856 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49857 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49858 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49859 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49860 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49861 fi
49862
49863 # Our WX_PRECOMP flag does not make sense for any language except C++ because
49864 # the headers that benefit from precompilation are mostly C++ headers.
49865 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
49866 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
49867 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
49868 fi
49869
49870
49871 if test "$wxUSE_MAC" = 1 ; then
49872 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49873 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49874 mv temp bk-deps
49875 chmod +x bk-deps
49876 fi
49877 fi
49878
49879 if test "$wxUSE_SHARED" = "yes"; then
49880 case "${host}" in
49881 *-pc-os2_emx | *-pc-os2-emx )
49882 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49883 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49884 cp -p ${srcdir}/src/os2/dllnames.sh .
49885 cp -p ${srcdir}/src/os2/dllar.sh .
49886 ;;
49887 esac
49888 fi
49889 if test "$wxUSE_OMF" = "yes"; then
49890 case "${host}" in
49891 *-pc-os2_emx | *-pc-os2-emx )
49892 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49893 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49894 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49895 ;;
49896 esac
49897 fi
49898
49899 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49900
49901
49902 case "${host}" in
49903 *-*-solaris2* )
49904 if test "$GCC" = yes; then
49905 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49906 LIBS=`echo $LIBS | sed 's/-mt//'`
49907 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49908 fi
49909 ;;
49910
49911 *-*-linux* )
49912 if test "x$SUNCXX" = xyes; then
49913 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49914 LIBS=`echo $LIBS | sed 's/-pthread//'`
49915 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49916 fi
49917 ;;
49918 esac
49919
49920 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49921 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49922
49923 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49985 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49986 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49987 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49988 echo $ECHO_N "(cached) $ECHO_C" >&6
49989 else
49990 cat >conftest.make <<\_ACEOF
49991 SHELL = /bin/sh
49992 all:
49993 @echo '@@@%%%=$(MAKE)=@@@%%%'
49994 _ACEOF
49995 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49996 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49997 *@@@%%%=?*=@@@%%%*)
49998 eval ac_cv_prog_make_${ac_make}_set=yes;;
49999 *)
50000 eval ac_cv_prog_make_${ac_make}_set=no;;
50001 esac
50002 rm -f conftest.make
50003 fi
50004 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50005 { echo "$as_me:$LINENO: result: yes" >&5
50006 echo "${ECHO_T}yes" >&6; }
50007 SET_MAKE=
50008 else
50009 { echo "$as_me:$LINENO: result: no" >&5
50010 echo "${ECHO_T}no" >&6; }
50011 SET_MAKE="MAKE=${MAKE-make}"
50012 fi
50013
50014
50015
50016 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50017
50018
50019 if test "$USE_WIN32" = 1; then
50020 ac_config_commands="$ac_config_commands
50021 rcdefs.h
50022 "
50023
50024 fi
50025
50026 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50027
50028
50029 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50030
50031
50032 if test "$wx_cv_version_script" = "yes"; then
50033 ac_config_files="$ac_config_files version-script"
50034
50035 fi
50036 ac_config_files="$ac_config_files Makefile"
50037
50038
50039 ac_config_commands="$ac_config_commands wx-config"
50040
50041
50042
50043 if test "$wxWITH_SUBDIRS" != "no"; then
50044 if test "$wxUSE_GUI" = "yes"; then
50045 SUBDIRS="samples demos utils"
50046 else
50047 SUBDIRS="samples utils"
50048 fi
50049
50050
50051
50052 # Check whether --with-cppunit-prefix was given.
50053 if test "${with_cppunit_prefix+set}" = set; then
50054 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50055 else
50056 cppunit_config_prefix=""
50057 fi
50058
50059
50060 # Check whether --with-cppunit-exec-prefix was given.
50061 if test "${with_cppunit_exec_prefix+set}" = set; then
50062 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50063 else
50064 cppunit_config_exec_prefix=""
50065 fi
50066
50067
50068 if test x$cppunit_config_exec_prefix != x ; then
50069 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50070 if test x${CPPUNIT_CONFIG+set} != xset ; then
50071 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50072 fi
50073 fi
50074 if test x$cppunit_config_prefix != x ; then
50075 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50076 if test x${CPPUNIT_CONFIG+set} != xset ; then
50077 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50078 fi
50079 fi
50080
50081 # Extract the first word of "cppunit-config", so it can be a program name with args.
50082 set dummy cppunit-config; ac_word=$2
50083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50085 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50086 echo $ECHO_N "(cached) $ECHO_C" >&6
50087 else
50088 case $CPPUNIT_CONFIG in
50089 [\\/]* | ?:[\\/]*)
50090 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50091 ;;
50092 *)
50093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50094 for as_dir in $PATH
50095 do
50096 IFS=$as_save_IFS
50097 test -z "$as_dir" && as_dir=.
50098 for ac_exec_ext in '' $ac_executable_extensions; do
50099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50100 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50102 break 2
50103 fi
50104 done
50105 done
50106 IFS=$as_save_IFS
50107
50108 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50109 ;;
50110 esac
50111 fi
50112 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50113 if test -n "$CPPUNIT_CONFIG"; then
50114 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50115 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50116 else
50117 { echo "$as_me:$LINENO: result: no" >&5
50118 echo "${ECHO_T}no" >&6; }
50119 fi
50120
50121
50122 cppunit_version_min=1.8.0
50123
50124 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50125 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50126 no_cppunit=""
50127 if test "$CPPUNIT_CONFIG" = "no" ; then
50128 { echo "$as_me:$LINENO: result: no" >&5
50129 echo "${ECHO_T}no" >&6; }
50130 no_cppunit=yes
50131 else
50132 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50133 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50134 cppunit_version=`$CPPUNIT_CONFIG --version`
50135
50136 cppunit_major_version=`echo $cppunit_version | \
50137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50138 cppunit_minor_version=`echo $cppunit_version | \
50139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50140 cppunit_micro_version=`echo $cppunit_version | \
50141 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50142
50143 cppunit_major_min=`echo $cppunit_version_min | \
50144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50145 cppunit_minor_min=`echo $cppunit_version_min | \
50146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50147 cppunit_micro_min=`echo $cppunit_version_min | \
50148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50149
50150 cppunit_version_proper=`expr \
50151 $cppunit_major_version \> $cppunit_major_min \| \
50152 $cppunit_major_version \= $cppunit_major_min \& \
50153 $cppunit_minor_version \> $cppunit_minor_min \| \
50154 $cppunit_major_version \= $cppunit_major_min \& \
50155 $cppunit_minor_version \= $cppunit_minor_min \& \
50156 $cppunit_micro_version \>= $cppunit_micro_min `
50157
50158 if test "$cppunit_version_proper" = "1" ; then
50159 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50160 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50161 else
50162 { echo "$as_me:$LINENO: result: no" >&5
50163 echo "${ECHO_T}no" >&6; }
50164 no_cppunit=yes
50165 fi
50166 fi
50167
50168 if test "x$no_cppunit" = x ; then
50169 SUBDIRS="$SUBDIRS tests"
50170 else
50171 CPPUNIT_CFLAGS=""
50172 CPPUNIT_LIBS=""
50173 :
50174 fi
50175
50176
50177
50178
50179
50180 for subdir in $SUBDIRS; do
50181 if test -d ${srcdir}/${subdir} ; then
50182 if test "$wxUSE_GUI" = "yes"; then
50183 if test ${subdir} = "samples"; then
50184 makefiles="samples/Makefile.in $makefiles"
50185 for sample in $SAMPLES_SUBDIRS; do
50186 if test -d $srcdir/samples/$sample; then
50187 makefiles="samples/$sample/Makefile.in $makefiles"
50188 fi
50189 done
50190 else
50191 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50192 eval "disabled=\$$disabled_var"
50193 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50194 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50195 fi
50196 else
50197 if test ${subdir} = "samples"; then
50198 makefiles="samples/Makefile.in $makefiles"
50199 for sample in `echo $SAMPLES_SUBDIRS`; do
50200 if test -d $srcdir/samples/$sample; then
50201 makefiles="samples/$sample/Makefile.in $makefiles"
50202 fi
50203 done
50204 elif test ${subdir} = "utils"; then
50205 makefiles=""
50206 for util in HelpGen tex2rtf ; do
50207 if test -d $srcdir/utils/$util ; then
50208 makefiles="utils/$util/Makefile.in \
50209 utils/$util/src/Makefile.in \
50210 $makefiles"
50211 fi
50212 done
50213 else
50214 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50215 fi
50216 fi
50217
50218 for mkin in $makefiles ; do
50219 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50220 ac_config_files="$ac_config_files $mk"
50221
50222 done
50223 fi
50224 done
50225 fi
50226 cat >confcache <<\_ACEOF
50227 # This file is a shell script that caches the results of configure
50228 # tests run on this system so they can be shared between configure
50229 # scripts and configure runs, see configure's option --config-cache.
50230 # It is not useful on other systems. If it contains results you don't
50231 # want to keep, you may remove or edit it.
50232 #
50233 # config.status only pays attention to the cache file if you give it
50234 # the --recheck option to rerun configure.
50235 #
50236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50238 # following values.
50239
50240 _ACEOF
50241
50242 # The following way of writing the cache mishandles newlines in values,
50243 # but we know of no workaround that is simple, portable, and efficient.
50244 # So, we kill variables containing newlines.
50245 # Ultrix sh set writes to stderr and can't be redirected directly,
50246 # and sets the high bit in the cache file unless we assign to the vars.
50247 (
50248 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50249 eval ac_val=\$$ac_var
50250 case $ac_val in #(
50251 *${as_nl}*)
50252 case $ac_var in #(
50253 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50254 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50255 esac
50256 case $ac_var in #(
50257 _ | IFS | as_nl) ;; #(
50258 *) $as_unset $ac_var ;;
50259 esac ;;
50260 esac
50261 done
50262
50263 (set) 2>&1 |
50264 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50265 *${as_nl}ac_space=\ *)
50266 # `set' does not quote correctly, so add quotes (double-quote
50267 # substitution turns \\\\ into \\, and sed turns \\ into \).
50268 sed -n \
50269 "s/'/'\\\\''/g;
50270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50271 ;; #(
50272 *)
50273 # `set' quotes correctly as required by POSIX, so do not add quotes.
50274 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50275 ;;
50276 esac |
50277 sort
50278 ) |
50279 sed '
50280 /^ac_cv_env_/b end
50281 t clear
50282 :clear
50283 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50284 t end
50285 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50286 :end' >>confcache
50287 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50288 if test -w "$cache_file"; then
50289 test "x$cache_file" != "x/dev/null" &&
50290 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50291 echo "$as_me: updating cache $cache_file" >&6;}
50292 cat confcache >$cache_file
50293 else
50294 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50295 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50296 fi
50297 fi
50298 rm -f confcache
50299
50300 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50301 # Let make expand exec_prefix.
50302 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50303
50304 DEFS=-DHAVE_CONFIG_H
50305
50306 ac_libobjs=
50307 ac_ltlibobjs=
50308 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50309 # 1. Remove the extension, and $U if already installed.
50310 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50311 ac_i=`echo "$ac_i" | sed "$ac_script"`
50312 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50313 # will be set to the directory where LIBOBJS objects are built.
50314 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50315 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50316 done
50317 LIBOBJS=$ac_libobjs
50318
50319 LTLIBOBJS=$ac_ltlibobjs
50320
50321
50322
50323 : ${CONFIG_STATUS=./config.status}
50324 ac_clean_files_save=$ac_clean_files
50325 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50326 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50327 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50328 cat >$CONFIG_STATUS <<_ACEOF
50329 #! $SHELL
50330 # Generated by $as_me.
50331 # Run this file to recreate the current configuration.
50332 # Compiler output produced by configure, useful for debugging
50333 # configure, is in config.log if it exists.
50334
50335 debug=false
50336 ac_cs_recheck=false
50337 ac_cs_silent=false
50338 SHELL=\${CONFIG_SHELL-$SHELL}
50339 _ACEOF
50340
50341 cat >>$CONFIG_STATUS <<\_ACEOF
50342 ## --------------------- ##
50343 ## M4sh Initialization. ##
50344 ## --------------------- ##
50345
50346 # Be more Bourne compatible
50347 DUALCASE=1; export DUALCASE # for MKS sh
50348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50349 emulate sh
50350 NULLCMD=:
50351 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50352 # is contrary to our usage. Disable this feature.
50353 alias -g '${1+"$@"}'='"$@"'
50354 setopt NO_GLOB_SUBST
50355 else
50356 case `(set -o) 2>/dev/null` in
50357 *posix*) set -o posix ;;
50358 esac
50359
50360 fi
50361
50362
50363
50364
50365 # PATH needs CR
50366 # Avoid depending upon Character Ranges.
50367 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50368 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50369 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50370 as_cr_digits='0123456789'
50371 as_cr_alnum=$as_cr_Letters$as_cr_digits
50372
50373 # The user is always right.
50374 if test "${PATH_SEPARATOR+set}" != set; then
50375 echo "#! /bin/sh" >conf$$.sh
50376 echo "exit 0" >>conf$$.sh
50377 chmod +x conf$$.sh
50378 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50379 PATH_SEPARATOR=';'
50380 else
50381 PATH_SEPARATOR=:
50382 fi
50383 rm -f conf$$.sh
50384 fi
50385
50386 # Support unset when possible.
50387 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50388 as_unset=unset
50389 else
50390 as_unset=false
50391 fi
50392
50393
50394 # IFS
50395 # We need space, tab and new line, in precisely that order. Quoting is
50396 # there to prevent editors from complaining about space-tab.
50397 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50398 # splitting by setting IFS to empty value.)
50399 as_nl='
50400 '
50401 IFS=" "" $as_nl"
50402
50403 # Find who we are. Look in the path if we contain no directory separator.
50404 case $0 in
50405 *[\\/]* ) as_myself=$0 ;;
50406 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50407 for as_dir in $PATH
50408 do
50409 IFS=$as_save_IFS
50410 test -z "$as_dir" && as_dir=.
50411 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50412 done
50413 IFS=$as_save_IFS
50414
50415 ;;
50416 esac
50417 # We did not find ourselves, most probably we were run as `sh COMMAND'
50418 # in which case we are not to be found in the path.
50419 if test "x$as_myself" = x; then
50420 as_myself=$0
50421 fi
50422 if test ! -f "$as_myself"; then
50423 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50424 { (exit 1); exit 1; }
50425 fi
50426
50427 # Work around bugs in pre-3.0 UWIN ksh.
50428 for as_var in ENV MAIL MAILPATH
50429 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50430 done
50431 PS1='$ '
50432 PS2='> '
50433 PS4='+ '
50434
50435 # NLS nuisances.
50436 for as_var in \
50437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50439 LC_TELEPHONE LC_TIME
50440 do
50441 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50442 eval $as_var=C; export $as_var
50443 else
50444 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50445 fi
50446 done
50447
50448 # Required to use basename.
50449 if expr a : '\(a\)' >/dev/null 2>&1 &&
50450 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50451 as_expr=expr
50452 else
50453 as_expr=false
50454 fi
50455
50456 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50457 as_basename=basename
50458 else
50459 as_basename=false
50460 fi
50461
50462
50463 # Name of the executable.
50464 as_me=`$as_basename -- "$0" ||
50465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50466 X"$0" : 'X\(//\)$' \| \
50467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50468 echo X/"$0" |
50469 sed '/^.*\/\([^/][^/]*\)\/*$/{
50470 s//\1/
50471 q
50472 }
50473 /^X\/\(\/\/\)$/{
50474 s//\1/
50475 q
50476 }
50477 /^X\/\(\/\).*/{
50478 s//\1/
50479 q
50480 }
50481 s/.*/./; q'`
50482
50483 # CDPATH.
50484 $as_unset CDPATH
50485
50486
50487
50488 as_lineno_1=$LINENO
50489 as_lineno_2=$LINENO
50490 test "x$as_lineno_1" != "x$as_lineno_2" &&
50491 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50492
50493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50494 # uniformly replaced by the line number. The first 'sed' inserts a
50495 # line-number line after each line using $LINENO; the second 'sed'
50496 # does the real work. The second script uses 'N' to pair each
50497 # line-number line with the line containing $LINENO, and appends
50498 # trailing '-' during substitution so that $LINENO is not a special
50499 # case at line end.
50500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50501 # scripts with optimization help from Paolo Bonzini. Blame Lee
50502 # E. McMahon (1931-1989) for sed's syntax. :-)
50503 sed -n '
50504 p
50505 /[$]LINENO/=
50506 ' <$as_myself |
50507 sed '
50508 s/[$]LINENO.*/&-/
50509 t lineno
50510 b
50511 :lineno
50512 N
50513 :loop
50514 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50515 t loop
50516 s/-\n.*//
50517 ' >$as_me.lineno &&
50518 chmod +x "$as_me.lineno" ||
50519 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50520 { (exit 1); exit 1; }; }
50521
50522 # Don't try to exec as it changes $[0], causing all sort of problems
50523 # (the dirname of $[0] is not the place where we might find the
50524 # original and so on. Autoconf is especially sensitive to this).
50525 . "./$as_me.lineno"
50526 # Exit status is that of the last command.
50527 exit
50528 }
50529
50530
50531 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50532 as_dirname=dirname
50533 else
50534 as_dirname=false
50535 fi
50536
50537 ECHO_C= ECHO_N= ECHO_T=
50538 case `echo -n x` in
50539 -n*)
50540 case `echo 'x\c'` in
50541 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50542 *) ECHO_C='\c';;
50543 esac;;
50544 *)
50545 ECHO_N='-n';;
50546 esac
50547
50548 if expr a : '\(a\)' >/dev/null 2>&1 &&
50549 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50550 as_expr=expr
50551 else
50552 as_expr=false
50553 fi
50554
50555 rm -f conf$$ conf$$.exe conf$$.file
50556 if test -d conf$$.dir; then
50557 rm -f conf$$.dir/conf$$.file
50558 else
50559 rm -f conf$$.dir
50560 mkdir conf$$.dir
50561 fi
50562 echo >conf$$.file
50563 if ln -s conf$$.file conf$$ 2>/dev/null; then
50564 as_ln_s='ln -s'
50565 # ... but there are two gotchas:
50566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50568 # In both cases, we have to default to `cp -p'.
50569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50570 as_ln_s='cp -p'
50571 elif ln conf$$.file conf$$ 2>/dev/null; then
50572 as_ln_s=ln
50573 else
50574 as_ln_s='cp -p'
50575 fi
50576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50577 rmdir conf$$.dir 2>/dev/null
50578
50579 if mkdir -p . 2>/dev/null; then
50580 as_mkdir_p=:
50581 else
50582 test -d ./-p && rmdir ./-p
50583 as_mkdir_p=false
50584 fi
50585
50586 if test -x / >/dev/null 2>&1; then
50587 as_test_x='test -x'
50588 else
50589 if ls -dL / >/dev/null 2>&1; then
50590 as_ls_L_option=L
50591 else
50592 as_ls_L_option=
50593 fi
50594 as_test_x='
50595 eval sh -c '\''
50596 if test -d "$1"; then
50597 test -d "$1/.";
50598 else
50599 case $1 in
50600 -*)set "./$1";;
50601 esac;
50602 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50603 ???[sx]*):;;*)false;;esac;fi
50604 '\'' sh
50605 '
50606 fi
50607 as_executable_p=$as_test_x
50608
50609 # Sed expression to map a string onto a valid CPP name.
50610 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50611
50612 # Sed expression to map a string onto a valid variable name.
50613 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50614
50615
50616 exec 6>&1
50617
50618 # Save the log message, to keep $[0] and so on meaningful, and to
50619 # report actual input values of CONFIG_FILES etc. instead of their
50620 # values after options handling.
50621 ac_log="
50622 This file was extended by wxWidgets $as_me 2.9.0, which was
50623 generated by GNU Autoconf 2.61. Invocation command line was
50624
50625 CONFIG_FILES = $CONFIG_FILES
50626 CONFIG_HEADERS = $CONFIG_HEADERS
50627 CONFIG_LINKS = $CONFIG_LINKS
50628 CONFIG_COMMANDS = $CONFIG_COMMANDS
50629 $ $0 $@
50630
50631 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50632 "
50633
50634 _ACEOF
50635
50636 cat >>$CONFIG_STATUS <<_ACEOF
50637 # Files that config.status was made for.
50638 config_files="$ac_config_files"
50639 config_headers="$ac_config_headers"
50640 config_commands="$ac_config_commands"
50641
50642 _ACEOF
50643
50644 cat >>$CONFIG_STATUS <<\_ACEOF
50645 ac_cs_usage="\
50646 \`$as_me' instantiates files from templates according to the
50647 current configuration.
50648
50649 Usage: $0 [OPTIONS] [FILE]...
50650
50651 -h, --help print this help, then exit
50652 -V, --version print version number and configuration settings, then exit
50653 -q, --quiet do not print progress messages
50654 -d, --debug don't remove temporary files
50655 --recheck update $as_me by reconfiguring in the same conditions
50656 --file=FILE[:TEMPLATE]
50657 instantiate the configuration file FILE
50658 --header=FILE[:TEMPLATE]
50659 instantiate the configuration header FILE
50660
50661 Configuration files:
50662 $config_files
50663
50664 Configuration headers:
50665 $config_headers
50666
50667 Configuration commands:
50668 $config_commands
50669
50670 Report bugs to <bug-autoconf@gnu.org>."
50671
50672 _ACEOF
50673 cat >>$CONFIG_STATUS <<_ACEOF
50674 ac_cs_version="\\
50675 wxWidgets config.status 2.9.0
50676 configured by $0, generated by GNU Autoconf 2.61,
50677 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50678
50679 Copyright (C) 2006 Free Software Foundation, Inc.
50680 This config.status script is free software; the Free Software Foundation
50681 gives unlimited permission to copy, distribute and modify it."
50682
50683 ac_pwd='$ac_pwd'
50684 srcdir='$srcdir'
50685 INSTALL='$INSTALL'
50686 _ACEOF
50687
50688 cat >>$CONFIG_STATUS <<\_ACEOF
50689 # If no file are specified by the user, then we need to provide default
50690 # value. By we need to know if files were specified by the user.
50691 ac_need_defaults=:
50692 while test $# != 0
50693 do
50694 case $1 in
50695 --*=*)
50696 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50697 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50698 ac_shift=:
50699 ;;
50700 *)
50701 ac_option=$1
50702 ac_optarg=$2
50703 ac_shift=shift
50704 ;;
50705 esac
50706
50707 case $ac_option in
50708 # Handling of the options.
50709 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50710 ac_cs_recheck=: ;;
50711 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50712 echo "$ac_cs_version"; exit ;;
50713 --debug | --debu | --deb | --de | --d | -d )
50714 debug=: ;;
50715 --file | --fil | --fi | --f )
50716 $ac_shift
50717 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50718 ac_need_defaults=false;;
50719 --header | --heade | --head | --hea )
50720 $ac_shift
50721 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50722 ac_need_defaults=false;;
50723 --he | --h)
50724 # Conflict between --help and --header
50725 { echo "$as_me: error: ambiguous option: $1
50726 Try \`$0 --help' for more information." >&2
50727 { (exit 1); exit 1; }; };;
50728 --help | --hel | -h )
50729 echo "$ac_cs_usage"; exit ;;
50730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50731 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50732 ac_cs_silent=: ;;
50733
50734 # This is an error.
50735 -*) { echo "$as_me: error: unrecognized option: $1
50736 Try \`$0 --help' for more information." >&2
50737 { (exit 1); exit 1; }; } ;;
50738
50739 *) ac_config_targets="$ac_config_targets $1"
50740 ac_need_defaults=false ;;
50741
50742 esac
50743 shift
50744 done
50745
50746 ac_configure_extra_args=
50747
50748 if $ac_cs_silent; then
50749 exec 6>/dev/null
50750 ac_configure_extra_args="$ac_configure_extra_args --silent"
50751 fi
50752
50753 _ACEOF
50754 cat >>$CONFIG_STATUS <<_ACEOF
50755 if \$ac_cs_recheck; then
50756 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50757 CONFIG_SHELL=$SHELL
50758 export CONFIG_SHELL
50759 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50760 fi
50761
50762 _ACEOF
50763 cat >>$CONFIG_STATUS <<\_ACEOF
50764 exec 5>>config.log
50765 {
50766 echo
50767 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50768 ## Running $as_me. ##
50769 _ASBOX
50770 echo "$ac_log"
50771 } >&5
50772
50773 _ACEOF
50774 cat >>$CONFIG_STATUS <<_ACEOF
50775 #
50776 # INIT-COMMANDS
50777 #
50778
50779 CPP="$CPP"
50780 infile="$srcdir/include/wx/msw/genrcdefs.h"
50781 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50782
50783
50784 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50785 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50786 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50787 LN_S="${LN_S}"
50788
50789
50790 _ACEOF
50791
50792 cat >>$CONFIG_STATUS <<\_ACEOF
50793
50794 # Handling of arguments.
50795 for ac_config_target in $ac_config_targets
50796 do
50797 case $ac_config_target in
50798 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50799 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50800 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50801 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50802 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50803 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50804 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50805 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50806
50807 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50808 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50809 { (exit 1); exit 1; }; };;
50810 esac
50811 done
50812
50813
50814 # If the user did not use the arguments to specify the items to instantiate,
50815 # then the envvar interface is used. Set only those that are not.
50816 # We use the long form for the default assignment because of an extremely
50817 # bizarre bug on SunOS 4.1.3.
50818 if $ac_need_defaults; then
50819 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50820 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50821 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50822 fi
50823
50824 # Have a temporary directory for convenience. Make it in the build tree
50825 # simply because there is no reason against having it here, and in addition,
50826 # creating and moving files from /tmp can sometimes cause problems.
50827 # Hook for its removal unless debugging.
50828 # Note that there is a small window in which the directory will not be cleaned:
50829 # after its creation but before its name has been assigned to `$tmp'.
50830 $debug ||
50831 {
50832 tmp=
50833 trap 'exit_status=$?
50834 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50835 ' 0
50836 trap '{ (exit 1); exit 1; }' 1 2 13 15
50837 }
50838 # Create a (secure) tmp directory for tmp files.
50839
50840 {
50841 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50842 test -n "$tmp" && test -d "$tmp"
50843 } ||
50844 {
50845 tmp=./conf$$-$RANDOM
50846 (umask 077 && mkdir "$tmp")
50847 } ||
50848 {
50849 echo "$me: cannot create a temporary directory in ." >&2
50850 { (exit 1); exit 1; }
50851 }
50852
50853 #
50854 # Set up the sed scripts for CONFIG_FILES section.
50855 #
50856
50857 # No need to generate the scripts if there are no CONFIG_FILES.
50858 # This happens for instance when ./config.status config.h
50859 if test -n "$CONFIG_FILES"; then
50860
50861 _ACEOF
50862
50863
50864
50865 ac_delim='%!_!# '
50866 for ac_last_try in false false false false false :; do
50867 cat >conf$$subs.sed <<_ACEOF
50868 SHELL!$SHELL$ac_delim
50869 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50870 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50871 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50872 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50873 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50874 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50875 exec_prefix!$exec_prefix$ac_delim
50876 prefix!$prefix$ac_delim
50877 program_transform_name!$program_transform_name$ac_delim
50878 bindir!$bindir$ac_delim
50879 sbindir!$sbindir$ac_delim
50880 libexecdir!$libexecdir$ac_delim
50881 datarootdir!$datarootdir$ac_delim
50882 datadir!$datadir$ac_delim
50883 sysconfdir!$sysconfdir$ac_delim
50884 sharedstatedir!$sharedstatedir$ac_delim
50885 localstatedir!$localstatedir$ac_delim
50886 includedir!$includedir$ac_delim
50887 oldincludedir!$oldincludedir$ac_delim
50888 docdir!$docdir$ac_delim
50889 infodir!$infodir$ac_delim
50890 htmldir!$htmldir$ac_delim
50891 dvidir!$dvidir$ac_delim
50892 pdfdir!$pdfdir$ac_delim
50893 psdir!$psdir$ac_delim
50894 libdir!$libdir$ac_delim
50895 localedir!$localedir$ac_delim
50896 mandir!$mandir$ac_delim
50897 DEFS!$DEFS$ac_delim
50898 ECHO_C!$ECHO_C$ac_delim
50899 ECHO_N!$ECHO_N$ac_delim
50900 ECHO_T!$ECHO_T$ac_delim
50901 LIBS!$LIBS$ac_delim
50902 build_alias!$build_alias$ac_delim
50903 host_alias!$host_alias$ac_delim
50904 target_alias!$target_alias$ac_delim
50905 build!$build$ac_delim
50906 build_cpu!$build_cpu$ac_delim
50907 build_vendor!$build_vendor$ac_delim
50908 build_os!$build_os$ac_delim
50909 host!$host$ac_delim
50910 host_cpu!$host_cpu$ac_delim
50911 host_vendor!$host_vendor$ac_delim
50912 host_os!$host_os$ac_delim
50913 target!$target$ac_delim
50914 target_cpu!$target_cpu$ac_delim
50915 target_vendor!$target_vendor$ac_delim
50916 target_os!$target_os$ac_delim
50917 wx_top_builddir!$wx_top_builddir$ac_delim
50918 CC!$CC$ac_delim
50919 CFLAGS!$CFLAGS$ac_delim
50920 LDFLAGS!$LDFLAGS$ac_delim
50921 CPPFLAGS!$CPPFLAGS$ac_delim
50922 ac_ct_CC!$ac_ct_CC$ac_delim
50923 EXEEXT!$EXEEXT$ac_delim
50924 OBJEXT!$OBJEXT$ac_delim
50925 CPP!$CPP$ac_delim
50926 GREP!$GREP$ac_delim
50927 EGREP!$EGREP$ac_delim
50928 CXX!$CXX$ac_delim
50929 CXXFLAGS!$CXXFLAGS$ac_delim
50930 ac_ct_CXX!$ac_ct_CXX$ac_delim
50931 AR!$AR$ac_delim
50932 subdirs!$subdirs$ac_delim
50933 PKG_CONFIG!$PKG_CONFIG$ac_delim
50934 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50935 GTK_LIBS!$GTK_LIBS$ac_delim
50936 GTK_CONFIG!$GTK_CONFIG$ac_delim
50937 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50938 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50939 XMKMF!$XMKMF$ac_delim
50940 X_CFLAGS!$X_CFLAGS$ac_delim
50941 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50942 X_LIBS!$X_LIBS$ac_delim
50943 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50944 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50945 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50946 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50947 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50948 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50949 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50950 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50951 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50952 LIBICONV!$LIBICONV$ac_delim
50953 SDL_CONFIG!$SDL_CONFIG$ac_delim
50954 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50955 SDL_LIBS!$SDL_LIBS$ac_delim
50956 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50957 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50958 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50959 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50960 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50961 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50962 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50963 HILDON_LIBS!$HILDON_LIBS$ac_delim
50964 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50965 _ACEOF
50966
50967 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50968 break
50969 elif $ac_last_try; then
50970 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50971 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50972 { (exit 1); exit 1; }; }
50973 else
50974 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50975 fi
50976 done
50977
50978 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50979 if test -n "$ac_eof"; then
50980 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50981 ac_eof=`expr $ac_eof + 1`
50982 fi
50983
50984 cat >>$CONFIG_STATUS <<_ACEOF
50985 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50987 _ACEOF
50988 sed '
50989 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50990 s/^/s,@/; s/!/@,|#_!!_#|/
50991 :n
50992 t n
50993 s/'"$ac_delim"'$/,g/; t
50994 s/$/\\/; p
50995 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50996 ' >>$CONFIG_STATUS <conf$$subs.sed
50997 rm -f conf$$subs.sed
50998 cat >>$CONFIG_STATUS <<_ACEOF
50999 CEOF$ac_eof
51000 _ACEOF
51001
51002
51003 ac_delim='%!_!# '
51004 for ac_last_try in false false false false false :; do
51005 cat >conf$$subs.sed <<_ACEOF
51006 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51007 GST_CFLAGS!$GST_CFLAGS$ac_delim
51008 GST_LIBS!$GST_LIBS$ac_delim
51009 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51010 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51011 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51012 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51013 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51014 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51015 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51016 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51017 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51018 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51019 VENDOR!$VENDOR$ac_delim
51020 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51021 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51022 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51023 WXUNIV!$WXUNIV$ac_delim
51024 MONOLITHIC!$MONOLITHIC$ac_delim
51025 USE_PLUGINS!$USE_PLUGINS$ac_delim
51026 CXXWARNINGS!$CXXWARNINGS$ac_delim
51027 EXTRALIBS!$EXTRALIBS$ac_delim
51028 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51029 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51030 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51031 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51032 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51033 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51034 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51035 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51036 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51037 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51038 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51039 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51040 UNICODE!$UNICODE$ac_delim
51041 BUILD!$BUILD$ac_delim
51042 DEBUG_INFO!$DEBUG_INFO$ac_delim
51043 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51044 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51045 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51046 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51047 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51048 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51049 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51050 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51051 RANLIB!$RANLIB$ac_delim
51052 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51053 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51054 INSTALL_DATA!$INSTALL_DATA$ac_delim
51055 LN_S!$LN_S$ac_delim
51056 SET_MAKE!$SET_MAKE$ac_delim
51057 MAKE_SET!$MAKE_SET$ac_delim
51058 AROPTIONS!$AROPTIONS$ac_delim
51059 STRIP!$STRIP$ac_delim
51060 NM!$NM$ac_delim
51061 INSTALL_DIR!$INSTALL_DIR$ac_delim
51062 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51063 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51064 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51065 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51066 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51067 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51068 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51069 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51070 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51071 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51072 SO_SUFFIX!$SO_SUFFIX$ac_delim
51073 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51074 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51075 LIBPREFIX!$LIBPREFIX$ac_delim
51076 LIBEXT!$LIBEXT$ac_delim
51077 DLLPREFIX!$DLLPREFIX$ac_delim
51078 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51079 dlldir!$dlldir$ac_delim
51080 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51081 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51082 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51083 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51084 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51085 PIC_FLAG!$PIC_FLAG$ac_delim
51086 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51087 USE_SOVERSION!$USE_SOVERSION$ac_delim
51088 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51089 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51090 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51091 USE_MACVERSION!$USE_MACVERSION$ac_delim
51092 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51093 SONAME_FLAG!$SONAME_FLAG$ac_delim
51094 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51095 BK_DEPS!$BK_DEPS$ac_delim
51096 WINDRES!$WINDRES$ac_delim
51097 REZ!$REZ$ac_delim
51098 SETFILE!$SETFILE$ac_delim
51099 GCC_PCH!$GCC_PCH$ac_delim
51100 ICC_PCH!$ICC_PCH$ac_delim
51101 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51102 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51103 _ACEOF
51104
51105 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51106 break
51107 elif $ac_last_try; then
51108 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51109 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51110 { (exit 1); exit 1; }; }
51111 else
51112 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51113 fi
51114 done
51115
51116 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51117 if test -n "$ac_eof"; then
51118 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51119 ac_eof=`expr $ac_eof + 1`
51120 fi
51121
51122 cat >>$CONFIG_STATUS <<_ACEOF
51123 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51124 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51125 _ACEOF
51126 sed '
51127 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51128 s/^/s,@/; s/!/@,|#_!!_#|/
51129 :n
51130 t n
51131 s/'"$ac_delim"'$/,g/; t
51132 s/$/\\/; p
51133 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51134 ' >>$CONFIG_STATUS <conf$$subs.sed
51135 rm -f conf$$subs.sed
51136 cat >>$CONFIG_STATUS <<_ACEOF
51137 CEOF$ac_eof
51138 _ACEOF
51139
51140
51141 ac_delim='%!_!# '
51142 for ac_last_try in false false false false false :; do
51143 cat >conf$$subs.sed <<_ACEOF
51144 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51145 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51146 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51147 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51148 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51149 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51150 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51151 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51152 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51153 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51154 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51155 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51156 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51157 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51158 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51159 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51160 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51161 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51162 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51163 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51164 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51165 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51166 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51167 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51168 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51169 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51170 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51172 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51173 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51174 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51175 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51176 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51177 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51178 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51179 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51180 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51181 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51182 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51183 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51184 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51185 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51186 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51187 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51188 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51189 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51190 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51191 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51192 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51193 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51194 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51195 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51196 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51197 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51199 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51200 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51201 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51202 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51203 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51204 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51205 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51206 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51207 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51208 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51209 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51210 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51211 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51212 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51213 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51214 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51215 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51216 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51217 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51218 COND_SHARED_0!$COND_SHARED_0$ac_delim
51219 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51220 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51221 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51222 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51223 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51224 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51226 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51227 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51228 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51229 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51230 COND_SHARED_1!$COND_SHARED_1$ac_delim
51231 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51232 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51233 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51234 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51235 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51236 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51237 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51238 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51240 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51241 _ACEOF
51242
51243 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51244 break
51245 elif $ac_last_try; then
51246 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51247 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51248 { (exit 1); exit 1; }; }
51249 else
51250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51251 fi
51252 done
51253
51254 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51255 if test -n "$ac_eof"; then
51256 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51257 ac_eof=`expr $ac_eof + 1`
51258 fi
51259
51260 cat >>$CONFIG_STATUS <<_ACEOF
51261 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51263 _ACEOF
51264 sed '
51265 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51266 s/^/s,@/; s/!/@,|#_!!_#|/
51267 :n
51268 t n
51269 s/'"$ac_delim"'$/,g/; t
51270 s/$/\\/; p
51271 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51272 ' >>$CONFIG_STATUS <conf$$subs.sed
51273 rm -f conf$$subs.sed
51274 cat >>$CONFIG_STATUS <<_ACEOF
51275 CEOF$ac_eof
51276 _ACEOF
51277
51278
51279 ac_delim='%!_!# '
51280 for ac_last_try in false false false false false :; do
51281 cat >conf$$subs.sed <<_ACEOF
51282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51283 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51285 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51286 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51287 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51288 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51289 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51290 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51291 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51292 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51293 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51294 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51295 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51296 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51297 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51298 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51299 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51300 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51301 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51302 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51303 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51304 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51305 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51306 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51307 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51308 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51309 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51310 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51311 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51312 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51313 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51314 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51315 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51316 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51317 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51318 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51319 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51320 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51321 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51322 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51323 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51324 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51325 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51326 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51327 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51328 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51329 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51330 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51331 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51332 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51333 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51334 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51335 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51336 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51337 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51338 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51339 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51340 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51341 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51342 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51343 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51344 DEREZ!$DEREZ$ac_delim
51345 SHARED!$SHARED$ac_delim
51346 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51347 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51348 USE_GUI!$USE_GUI$ac_delim
51349 AFMINSTALL!$AFMINSTALL$ac_delim
51350 WIN32INSTALL!$WIN32INSTALL$ac_delim
51351 TOOLKIT!$TOOLKIT$ac_delim
51352 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51353 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51354 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51355 cross_compiling!$cross_compiling$ac_delim
51356 WIDGET_SET!$WIDGET_SET$ac_delim
51357 WX_RELEASE!$WX_RELEASE$ac_delim
51358 WX_VERSION!$WX_VERSION$ac_delim
51359 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51360 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51361 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51362 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51363 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51364 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51365 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51366 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51367 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51368 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51369 GUIDIST!$GUIDIST$ac_delim
51370 DISTDIR!$DISTDIR$ac_delim
51371 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51372 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51373 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51374 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51375 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51376 RESCOMP!$RESCOMP$ac_delim
51377 RESFLAGS!$RESFLAGS$ac_delim
51378 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51379 _ACEOF
51380
51381 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51382 break
51383 elif $ac_last_try; then
51384 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51385 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51386 { (exit 1); exit 1; }; }
51387 else
51388 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51389 fi
51390 done
51391
51392 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51393 if test -n "$ac_eof"; then
51394 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51395 ac_eof=`expr $ac_eof + 1`
51396 fi
51397
51398 cat >>$CONFIG_STATUS <<_ACEOF
51399 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51400 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51401 _ACEOF
51402 sed '
51403 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51404 s/^/s,@/; s/!/@,|#_!!_#|/
51405 :n
51406 t n
51407 s/'"$ac_delim"'$/,g/; t
51408 s/$/\\/; p
51409 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51410 ' >>$CONFIG_STATUS <conf$$subs.sed
51411 rm -f conf$$subs.sed
51412 cat >>$CONFIG_STATUS <<_ACEOF
51413 CEOF$ac_eof
51414 _ACEOF
51415
51416
51417 ac_delim='%!_!# '
51418 for ac_last_try in false false false false false :; do
51419 cat >conf$$subs.sed <<_ACEOF
51420 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51421 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51422 LIBWXMACRES!$LIBWXMACRES$ac_delim
51423 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51424 MACSETFILE!$MACSETFILE$ac_delim
51425 GCC!$GCC$ac_delim
51426 DLLTOOL!$DLLTOOL$ac_delim
51427 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51428 LIBOBJS!$LIBOBJS$ac_delim
51429 LTLIBOBJS!$LTLIBOBJS$ac_delim
51430 _ACEOF
51431
51432 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
51433 break
51434 elif $ac_last_try; then
51435 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51436 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51437 { (exit 1); exit 1; }; }
51438 else
51439 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51440 fi
51441 done
51442
51443 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51444 if test -n "$ac_eof"; then
51445 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51446 ac_eof=`expr $ac_eof + 1`
51447 fi
51448
51449 cat >>$CONFIG_STATUS <<_ACEOF
51450 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51451 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51452 _ACEOF
51453 sed '
51454 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51455 s/^/s,@/; s/!/@,|#_!!_#|/
51456 :n
51457 t n
51458 s/'"$ac_delim"'$/,g/; t
51459 s/$/\\/; p
51460 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51461 ' >>$CONFIG_STATUS <conf$$subs.sed
51462 rm -f conf$$subs.sed
51463 cat >>$CONFIG_STATUS <<_ACEOF
51464 :end
51465 s/|#_!!_#|//g
51466 CEOF$ac_eof
51467 _ACEOF
51468
51469
51470 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51471 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51472 # trailing colons and then remove the whole line if VPATH becomes empty
51473 # (actually we leave an empty line to preserve line numbers).
51474 if test "x$srcdir" = x.; then
51475 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51476 s/:*\$(srcdir):*/:/
51477 s/:*\${srcdir}:*/:/
51478 s/:*@srcdir@:*/:/
51479 s/^\([^=]*=[ ]*\):*/\1/
51480 s/:*$//
51481 s/^[^=]*=[ ]*$//
51482 }'
51483 fi
51484
51485 cat >>$CONFIG_STATUS <<\_ACEOF
51486 fi # test -n "$CONFIG_FILES"
51487
51488
51489 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51490 do
51491 case $ac_tag in
51492 :[FHLC]) ac_mode=$ac_tag; continue;;
51493 esac
51494 case $ac_mode$ac_tag in
51495 :[FHL]*:*);;
51496 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51497 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51498 { (exit 1); exit 1; }; };;
51499 :[FH]-) ac_tag=-:-;;
51500 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51501 esac
51502 ac_save_IFS=$IFS
51503 IFS=:
51504 set x $ac_tag
51505 IFS=$ac_save_IFS
51506 shift
51507 ac_file=$1
51508 shift
51509
51510 case $ac_mode in
51511 :L) ac_source=$1;;
51512 :[FH])
51513 ac_file_inputs=
51514 for ac_f
51515 do
51516 case $ac_f in
51517 -) ac_f="$tmp/stdin";;
51518 *) # Look for the file first in the build tree, then in the source tree
51519 # (if the path is not absolute). The absolute path cannot be DOS-style,
51520 # because $ac_f cannot contain `:'.
51521 test -f "$ac_f" ||
51522 case $ac_f in
51523 [\\/$]*) false;;
51524 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51525 esac ||
51526 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51527 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51528 { (exit 1); exit 1; }; };;
51529 esac
51530 ac_file_inputs="$ac_file_inputs $ac_f"
51531 done
51532
51533 # Let's still pretend it is `configure' which instantiates (i.e., don't
51534 # use $as_me), people would be surprised to read:
51535 # /* config.h. Generated by config.status. */
51536 configure_input="Generated from "`IFS=:
51537 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51538 if test x"$ac_file" != x-; then
51539 configure_input="$ac_file. $configure_input"
51540 { echo "$as_me:$LINENO: creating $ac_file" >&5
51541 echo "$as_me: creating $ac_file" >&6;}
51542 fi
51543
51544 case $ac_tag in
51545 *:-:* | *:-) cat >"$tmp/stdin";;
51546 esac
51547 ;;
51548 esac
51549
51550 ac_dir=`$as_dirname -- "$ac_file" ||
51551 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51552 X"$ac_file" : 'X\(//\)[^/]' \| \
51553 X"$ac_file" : 'X\(//\)$' \| \
51554 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51555 echo X"$ac_file" |
51556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51557 s//\1/
51558 q
51559 }
51560 /^X\(\/\/\)[^/].*/{
51561 s//\1/
51562 q
51563 }
51564 /^X\(\/\/\)$/{
51565 s//\1/
51566 q
51567 }
51568 /^X\(\/\).*/{
51569 s//\1/
51570 q
51571 }
51572 s/.*/./; q'`
51573 { as_dir="$ac_dir"
51574 case $as_dir in #(
51575 -*) as_dir=./$as_dir;;
51576 esac
51577 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51578 as_dirs=
51579 while :; do
51580 case $as_dir in #(
51581 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51582 *) as_qdir=$as_dir;;
51583 esac
51584 as_dirs="'$as_qdir' $as_dirs"
51585 as_dir=`$as_dirname -- "$as_dir" ||
51586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51587 X"$as_dir" : 'X\(//\)[^/]' \| \
51588 X"$as_dir" : 'X\(//\)$' \| \
51589 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51590 echo X"$as_dir" |
51591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51592 s//\1/
51593 q
51594 }
51595 /^X\(\/\/\)[^/].*/{
51596 s//\1/
51597 q
51598 }
51599 /^X\(\/\/\)$/{
51600 s//\1/
51601 q
51602 }
51603 /^X\(\/\).*/{
51604 s//\1/
51605 q
51606 }
51607 s/.*/./; q'`
51608 test -d "$as_dir" && break
51609 done
51610 test -z "$as_dirs" || eval "mkdir $as_dirs"
51611 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51612 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51613 { (exit 1); exit 1; }; }; }
51614 ac_builddir=.
51615
51616 case "$ac_dir" in
51617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51618 *)
51619 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51620 # A ".." for each directory in $ac_dir_suffix.
51621 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51622 case $ac_top_builddir_sub in
51623 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51624 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51625 esac ;;
51626 esac
51627 ac_abs_top_builddir=$ac_pwd
51628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51629 # for backward compatibility:
51630 ac_top_builddir=$ac_top_build_prefix
51631
51632 case $srcdir in
51633 .) # We are building in place.
51634 ac_srcdir=.
51635 ac_top_srcdir=$ac_top_builddir_sub
51636 ac_abs_top_srcdir=$ac_pwd ;;
51637 [\\/]* | ?:[\\/]* ) # Absolute name.
51638 ac_srcdir=$srcdir$ac_dir_suffix;
51639 ac_top_srcdir=$srcdir
51640 ac_abs_top_srcdir=$srcdir ;;
51641 *) # Relative name.
51642 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51643 ac_top_srcdir=$ac_top_build_prefix$srcdir
51644 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51645 esac
51646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51647
51648
51649 case $ac_mode in
51650 :F)
51651 #
51652 # CONFIG_FILE
51653 #
51654
51655 case $INSTALL in
51656 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51657 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51658 esac
51659 _ACEOF
51660
51661 cat >>$CONFIG_STATUS <<\_ACEOF
51662 # If the template does not know about datarootdir, expand it.
51663 # FIXME: This hack should be removed a few years after 2.60.
51664 ac_datarootdir_hack=; ac_datarootdir_seen=
51665
51666 case `sed -n '/datarootdir/ {
51667 p
51668 q
51669 }
51670 /@datadir@/p
51671 /@docdir@/p
51672 /@infodir@/p
51673 /@localedir@/p
51674 /@mandir@/p
51675 ' $ac_file_inputs` in
51676 *datarootdir*) ac_datarootdir_seen=yes;;
51677 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51678 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51679 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51680 _ACEOF
51681 cat >>$CONFIG_STATUS <<_ACEOF
51682 ac_datarootdir_hack='
51683 s&@datadir@&$datadir&g
51684 s&@docdir@&$docdir&g
51685 s&@infodir@&$infodir&g
51686 s&@localedir@&$localedir&g
51687 s&@mandir@&$mandir&g
51688 s&\\\${datarootdir}&$datarootdir&g' ;;
51689 esac
51690 _ACEOF
51691
51692 # Neutralize VPATH when `$srcdir' = `.'.
51693 # Shell code in configure.ac might set extrasub.
51694 # FIXME: do we really want to maintain this feature?
51695 cat >>$CONFIG_STATUS <<_ACEOF
51696 sed "$ac_vpsub
51697 $extrasub
51698 _ACEOF
51699 cat >>$CONFIG_STATUS <<\_ACEOF
51700 :t
51701 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51702 s&@configure_input@&$configure_input&;t t
51703 s&@top_builddir@&$ac_top_builddir_sub&;t t
51704 s&@srcdir@&$ac_srcdir&;t t
51705 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51706 s&@top_srcdir@&$ac_top_srcdir&;t t
51707 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51708 s&@builddir@&$ac_builddir&;t t
51709 s&@abs_builddir@&$ac_abs_builddir&;t t
51710 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51711 s&@INSTALL@&$ac_INSTALL&;t t
51712 $ac_datarootdir_hack
51713 " $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
51714
51715 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51716 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51717 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51718 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51719 which seems to be undefined. Please make sure it is defined." >&5
51720 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51721 which seems to be undefined. Please make sure it is defined." >&2;}
51722
51723 rm -f "$tmp/stdin"
51724 case $ac_file in
51725 -) cat "$tmp/out"; rm -f "$tmp/out";;
51726 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51727 esac
51728 ;;
51729 :H)
51730 #
51731 # CONFIG_HEADER
51732 #
51733 _ACEOF
51734
51735 # Transform confdefs.h into a sed script `conftest.defines', that
51736 # substitutes the proper values into config.h.in to produce config.h.
51737 rm -f conftest.defines conftest.tail
51738 # First, append a space to every undef/define line, to ease matching.
51739 echo 's/$/ /' >conftest.defines
51740 # Then, protect against being on the right side of a sed subst, or in
51741 # an unquoted here document, in config.status. If some macros were
51742 # called several times there might be several #defines for the same
51743 # symbol, which is useless. But do not sort them, since the last
51744 # AC_DEFINE must be honored.
51745 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51746 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51747 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51748 # PARAMS is the parameter list in the macro definition--in most cases, it's
51749 # just an empty string.
51750 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51751 ac_dB='\\)[ (].*,\\1define\\2'
51752 ac_dC=' '
51753 ac_dD=' ,'
51754
51755 uniq confdefs.h |
51756 sed -n '
51757 t rset
51758 :rset
51759 s/^[ ]*#[ ]*define[ ][ ]*//
51760 t ok
51761 d
51762 :ok
51763 s/[\\&,]/\\&/g
51764 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51765 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51766 ' >>conftest.defines
51767
51768 # Remove the space that was appended to ease matching.
51769 # Then replace #undef with comments. This is necessary, for
51770 # example, in the case of _POSIX_SOURCE, which is predefined and required
51771 # on some systems where configure will not decide to define it.
51772 # (The regexp can be short, since the line contains either #define or #undef.)
51773 echo 's/ $//
51774 s,^[ #]*u.*,/* & */,' >>conftest.defines
51775
51776 # Break up conftest.defines:
51777 ac_max_sed_lines=50
51778
51779 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51780 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51781 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51782 # et cetera.
51783 ac_in='$ac_file_inputs'
51784 ac_out='"$tmp/out1"'
51785 ac_nxt='"$tmp/out2"'
51786
51787 while :
51788 do
51789 # Write a here document:
51790 cat >>$CONFIG_STATUS <<_ACEOF
51791 # First, check the format of the line:
51792 cat >"\$tmp/defines.sed" <<\\CEOF
51793 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51794 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51795 b
51796 :def
51797 _ACEOF
51798 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51799 echo 'CEOF
51800 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51801 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51802 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51803 grep . conftest.tail >/dev/null || break
51804 rm -f conftest.defines
51805 mv conftest.tail conftest.defines
51806 done
51807 rm -f conftest.defines conftest.tail
51808
51809 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51810 cat >>$CONFIG_STATUS <<\_ACEOF
51811 if test x"$ac_file" != x-; then
51812 echo "/* $configure_input */" >"$tmp/config.h"
51813 cat "$ac_result" >>"$tmp/config.h"
51814 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51815 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51816 echo "$as_me: $ac_file is unchanged" >&6;}
51817 else
51818 rm -f $ac_file
51819 mv "$tmp/config.h" $ac_file
51820 fi
51821 else
51822 echo "/* $configure_input */"
51823 cat "$ac_result"
51824 fi
51825 rm -f "$tmp/out12"
51826 ;;
51827
51828 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51829 echo "$as_me: executing $ac_file commands" >&6;}
51830 ;;
51831 esac
51832
51833
51834 case $ac_file$ac_mode in
51835 "rcdefs.h":C)
51836 mkdir -p $outdir &&
51837 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51838 ;;
51839 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51840 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51841 "wx-config":C) rm -f wx-config
51842 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51843 ;;
51844
51845 esac
51846 done # for ac_tag
51847
51848
51849 { (exit 0); exit 0; }
51850 _ACEOF
51851 chmod +x $CONFIG_STATUS
51852 ac_clean_files=$ac_clean_files_save
51853
51854
51855 # configure is writing to config.log, and then calls config.status.
51856 # config.status does its own redirection, appending to config.log.
51857 # Unfortunately, on DOS this fails, as config.log is still kept open
51858 # by configure, so config.status won't be able to write to it; its
51859 # output is simply discarded. So we exec the FD to /dev/null,
51860 # effectively closing config.log, so it can be properly (re)opened and
51861 # appended to by config.status. When coming back to configure, we
51862 # need to make the FD available again.
51863 if test "$no_create" != yes; then
51864 ac_cs_success=:
51865 ac_config_status_args=
51866 test "$silent" = yes &&
51867 ac_config_status_args="$ac_config_status_args --quiet"
51868 exec 5>/dev/null
51869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51870 exec 5>>config.log
51871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51872 # would make configure fail if this is the last instruction.
51873 $ac_cs_success || { (exit 1); exit 1; }
51874 fi
51875
51876 #
51877 # CONFIG_SUBDIRS section.
51878 #
51879 if test "$no_recursion" != yes; then
51880
51881 # Remove --cache-file and --srcdir arguments so they do not pile up.
51882 ac_sub_configure_args=
51883 ac_prev=
51884 eval "set x $ac_configure_args"
51885 shift
51886 for ac_arg
51887 do
51888 if test -n "$ac_prev"; then
51889 ac_prev=
51890 continue
51891 fi
51892 case $ac_arg in
51893 -cache-file | --cache-file | --cache-fil | --cache-fi \
51894 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51895 ac_prev=cache_file ;;
51896 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51897 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51898 | --c=*)
51899 ;;
51900 --config-cache | -C)
51901 ;;
51902 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51903 ac_prev=srcdir ;;
51904 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51905 ;;
51906 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51907 ac_prev=prefix ;;
51908 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51909 ;;
51910 *)
51911 case $ac_arg in
51912 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51913 esac
51914 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51915 esac
51916 done
51917
51918 # Always prepend --prefix to ensure using the same prefix
51919 # in subdir configurations.
51920 ac_arg="--prefix=$prefix"
51921 case $ac_arg in
51922 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51923 esac
51924 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51925
51926 # Pass --silent
51927 if test "$silent" = yes; then
51928 ac_sub_configure_args="--silent $ac_sub_configure_args"
51929 fi
51930
51931 ac_popdir=`pwd`
51932 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51933
51934 # Do not complain, so a configure script can configure whichever
51935 # parts of a large source tree are present.
51936 test -d "$srcdir/$ac_dir" || continue
51937
51938 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51939 echo "$as_me:$LINENO: $ac_msg" >&5
51940 echo "$ac_msg" >&6
51941 { as_dir="$ac_dir"
51942 case $as_dir in #(
51943 -*) as_dir=./$as_dir;;
51944 esac
51945 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51946 as_dirs=
51947 while :; do
51948 case $as_dir in #(
51949 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51950 *) as_qdir=$as_dir;;
51951 esac
51952 as_dirs="'$as_qdir' $as_dirs"
51953 as_dir=`$as_dirname -- "$as_dir" ||
51954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51955 X"$as_dir" : 'X\(//\)[^/]' \| \
51956 X"$as_dir" : 'X\(//\)$' \| \
51957 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51958 echo X"$as_dir" |
51959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51960 s//\1/
51961 q
51962 }
51963 /^X\(\/\/\)[^/].*/{
51964 s//\1/
51965 q
51966 }
51967 /^X\(\/\/\)$/{
51968 s//\1/
51969 q
51970 }
51971 /^X\(\/\).*/{
51972 s//\1/
51973 q
51974 }
51975 s/.*/./; q'`
51976 test -d "$as_dir" && break
51977 done
51978 test -z "$as_dirs" || eval "mkdir $as_dirs"
51979 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51980 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51981 { (exit 1); exit 1; }; }; }
51982 ac_builddir=.
51983
51984 case "$ac_dir" in
51985 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51986 *)
51987 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51988 # A ".." for each directory in $ac_dir_suffix.
51989 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51990 case $ac_top_builddir_sub in
51991 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51992 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51993 esac ;;
51994 esac
51995 ac_abs_top_builddir=$ac_pwd
51996 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51997 # for backward compatibility:
51998 ac_top_builddir=$ac_top_build_prefix
51999
52000 case $srcdir in
52001 .) # We are building in place.
52002 ac_srcdir=.
52003 ac_top_srcdir=$ac_top_builddir_sub
52004 ac_abs_top_srcdir=$ac_pwd ;;
52005 [\\/]* | ?:[\\/]* ) # Absolute name.
52006 ac_srcdir=$srcdir$ac_dir_suffix;
52007 ac_top_srcdir=$srcdir
52008 ac_abs_top_srcdir=$srcdir ;;
52009 *) # Relative name.
52010 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52011 ac_top_srcdir=$ac_top_build_prefix$srcdir
52012 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52013 esac
52014 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52015
52016
52017 cd "$ac_dir"
52018
52019 # Check for guested configure; otherwise get Cygnus style configure.
52020 if test -f "$ac_srcdir/configure.gnu"; then
52021 ac_sub_configure=$ac_srcdir/configure.gnu
52022 elif test -f "$ac_srcdir/configure"; then
52023 ac_sub_configure=$ac_srcdir/configure
52024 elif test -f "$ac_srcdir/configure.in"; then
52025 # This should be Cygnus configure.
52026 ac_sub_configure=$ac_aux_dir/configure
52027 else
52028 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52029 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52030 ac_sub_configure=
52031 fi
52032
52033 # The recursion is here.
52034 if test -n "$ac_sub_configure"; then
52035 # Make the cache file name correct relative to the subdirectory.
52036 case $cache_file in
52037 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52038 *) # Relative name.
52039 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52040 esac
52041
52042 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52043 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52044 # The eval makes quoting arguments work.
52045 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52046 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52047 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52048 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52049 { (exit 1); exit 1; }; }
52050 fi
52051
52052 cd "$ac_popdir"
52053 done
52054 fi
52055
52056
52057 echo
52058 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52059 echo ""
52060 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52061 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52062
52063 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52064 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52065 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52066 if test "$wxUSE_UNICODE" = "yes"; then
52067 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52068 echo " (using UTF-8)"
52069 else
52070 echo " (using wchar_t)"
52071 fi
52072 else
52073 echo
52074 fi
52075
52076 echo " What level of wxWidgets compatibility should be enabled?"
52077 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52078 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52079
52080 echo " Which libraries should wxWidgets use?"
52081 echo " STL ${wxUSE_STL}"
52082 echo " jpeg ${wxUSE_LIBJPEG-none}"
52083 echo " png ${wxUSE_LIBPNG-none}"
52084 echo " regex ${wxUSE_REGEX}"
52085 echo " tiff ${wxUSE_LIBTIFF-none}"
52086 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52087 echo " xpm ${wxUSE_LIBXPM-none}"
52088 fi
52089 echo " zlib ${wxUSE_ZLIB}"
52090 echo " expat ${wxUSE_EXPAT}"
52091 echo " libmspack ${wxUSE_LIBMSPACK}"
52092 echo " sdl ${wxUSE_LIBSDL}"
52093
52094 echo ""
52095