]> git.saurik.com Git - wxWidgets.git/blob - configure
add conversion to unspecified_bool_type to allow writing if(weakref)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 51048 2008-01-06 21:01:38Z VZ .
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 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 SAMPLES_RPATH_FLAG
756 SAMPLES_RPATH_POSTLINK
757 HOST_SUFFIX
758 CPPUNIT_CFLAGS
759 CPPUNIT_LIBS
760 RANLIB
761 INSTALL_PROGRAM
762 INSTALL_SCRIPT
763 INSTALL_DATA
764 LN_S
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 STRIP
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 IF_GNU_MAKE
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 WINDRES
806 REZ
807 SETFILE
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_1
874 COND_PLATFORM_MSDOS_0
875 COND_PLATFORM_MSDOS_1
876 COND_PLATFORM_OS2_1
877 COND_PLATFORM_UNIX_0
878 COND_PLATFORM_UNIX_1
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
883 COND_PLATFORM_WIN32_0
884 COND_PLATFORM_WIN32_1
885 COND_SHARED_0
886 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
893 COND_SHARED_0_USE_STC_1
894 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_TOOLKIT_
900 COND_TOOLKIT_COCOA
901 COND_TOOLKIT_COCOA_USE_GUI_1
902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB
904 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL
918 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11
934 COND_TOOLKIT_X11_USE_GUI_1
935 COND_UNICODE_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
938 COND_USE_GUI_0
939 COND_USE_GUI_1
940 COND_USE_GUI_1_USE_OPENGL_1
941 COND_USE_GUI_1_WXUNIV_0
942 COND_USE_GUI_1_WXUNIV_1
943 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
946 COND_USE_OPENGL_1
947 COND_USE_PCH_1
948 COND_USE_PLUGINS_0
949 COND_USE_RTTI_0
950 COND_USE_RTTI_1
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
954 COND_USE_SOVERSION_0
955 COND_USE_SOVERSOLARIS_1
956 COND_USE_STC_1
957 COND_USE_THREADS_0
958 COND_USE_THREADS_1
959 COND_USE_XRC_1
960 COND_WINDOWS_IMPLIB_1
961 COND_WITH_PLUGIN_SDL_1
962 COND_WXUNIV_0
963 COND_WXUNIV_1
964 COND_WXUSE_EXPAT_BUILTIN
965 COND_WXUSE_LIBJPEG_BUILTIN
966 COND_WXUSE_LIBPNG_BUILTIN
967 COND_WXUSE_LIBTIFF_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
970 DEREZ
971 SHARED
972 WX_LIBRARY_BASENAME_NOGUI
973 WX_LIBRARY_BASENAME_GUI
974 USE_GUI
975 AFMINSTALL
976 WIN32INSTALL
977 TOOLKIT
978 TOOLKIT_DIR
979 TOOLCHAIN_NAME
980 TOOLCHAIN_FULLNAME
981 cross_compiling
982 WIDGET_SET
983 WX_RELEASE
984 WX_VERSION
985 WX_SUBVERSION
986 WX_CHARTYPE
987 WX_DEBUGTYPE
988 WXCONFIG_CPPFLAGS
989 WXCONFIG_CFLAGS
990 WXCONFIG_CXXFLAGS
991 WXCONFIG_LIBS
992 WXCONFIG_RPATH
993 WXCONFIG_LDFLAGS_GUI
994 WXCONFIG_RESFLAGS
995 GUIDIST
996 DISTDIR
997 SAMPLES_SUBDIRS
998 LDFLAGS_GL
999 OPENGL_LIBS
1000 DMALLOC_LIBS
1001 WX_VERSION_TAG
1002 RESCOMP
1003 RESFLAGS
1004 RESPROGRAMOBJ
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1007 LIBWXMACRES
1008 POSTLINK_COMMAND
1009 MACSETFILE
1010 GCC
1011 DLLTOOL
1012 CPPUNIT_CONFIG
1013 LIBOBJS
1014 LTLIBOBJS'
1015 ac_subst_files=''
1016 ac_precious_vars='build_alias
1017 host_alias
1018 target_alias
1019 CC
1020 CFLAGS
1021 LDFLAGS
1022 LIBS
1023 CPPFLAGS
1024 CPP
1025 CXX
1026 CXXFLAGS
1027 CCC
1028 PKG_CONFIG
1029 DIRECTFB_CFLAGS
1030 DIRECTFB_LIBS
1031 XMKMF
1032 PANGOX_CFLAGS
1033 PANGOX_LIBS
1034 PANGOFT2_CFLAGS
1035 PANGOFT2_LIBS
1036 PANGOXFT_CFLAGS
1037 PANGOXFT_LIBS
1038 GTKPRINT_CFLAGS
1039 GTKPRINT_LIBS
1040 LIBGNOMEPRINTUI_CFLAGS
1041 LIBGNOMEPRINTUI_LIBS
1042 GNOMEVFS_CFLAGS
1043 GNOMEVFS_LIBS
1044 HILDON_CFLAGS
1045 HILDON_LIBS
1046 CAIRO_CFLAGS
1047 CAIRO_LIBS
1048 GST_CFLAGS
1049 GST_LIBS'
1050 ac_subdirs_all='src/tiff
1051 src/expat'
1052
1053 # Initialize some variables set by options.
1054 ac_init_help=
1055 ac_init_version=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1059 exec_prefix=NONE
1060 no_create=
1061 no_recursion=
1062 prefix=NONE
1063 program_prefix=NONE
1064 program_suffix=NONE
1065 program_transform_name=s,x,x,
1066 silent=
1067 site=
1068 srcdir=
1069 verbose=
1070 x_includes=NONE
1071 x_libraries=NONE
1072
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1091 htmldir='${docdir}'
1092 dvidir='${docdir}'
1093 pdfdir='${docdir}'
1094 psdir='${docdir}'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1098
1099 ac_prev=
1100 ac_dashdash=
1101 for ac_option
1102 do
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\$ac_option
1106 ac_prev=
1107 continue
1108 fi
1109
1110 case $ac_option in
1111 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112 *) ac_optarg=yes ;;
1113 esac
1114
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1116
1117 case $ac_dashdash$ac_option in
1118 --)
1119 ac_dashdash=yes ;;
1120
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1122 ac_prev=bindir ;;
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir=$ac_optarg ;;
1125
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev=build_alias ;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias=$ac_optarg ;;
1130
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev=cache_file ;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file=$ac_optarg ;;
1137
1138 --config-cache | -C)
1139 cache_file=config.cache ;;
1140
1141 -datadir | --datadir | --datadi | --datad)
1142 ac_prev=datadir ;;
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir=$ac_optarg ;;
1145
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev=datarootdir ;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir=$ac_optarg ;;
1152
1153 -disable-* | --disable-*)
1154 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_$ac_feature=no ;;
1161
1162 -docdir | --docdir | --docdi | --doc | --do)
1163 ac_prev=docdir ;;
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir=$ac_optarg ;;
1166
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1168 ac_prev=dvidir ;;
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir=$ac_optarg ;;
1171
1172 -enable-* | --enable-*)
1173 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_$ac_feature=\$ac_optarg ;;
1180
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev=exec_prefix ;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix=$ac_optarg ;;
1189
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1192 with_gas=yes ;;
1193
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help=long ;;
1196 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1197 ac_init_help=recursive ;;
1198 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1199 ac_init_help=short ;;
1200
1201 -host | --host | --hos | --ho)
1202 ac_prev=host_alias ;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias=$ac_optarg ;;
1205
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1207 ac_prev=htmldir ;;
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1209 | --ht=*)
1210 htmldir=$ac_optarg ;;
1211
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev=includedir ;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir=$ac_optarg ;;
1218
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1220 ac_prev=infodir ;;
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir=$ac_optarg ;;
1223
1224 -libdir | --libdir | --libdi | --libd)
1225 ac_prev=libdir ;;
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir=$ac_optarg ;;
1228
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev=libexecdir ;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir=$ac_optarg ;;
1235
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev=localedir ;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir=$ac_optarg ;;
1240
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev=localstatedir ;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir=$ac_optarg ;;
1247
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1249 ac_prev=mandir ;;
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir=$ac_optarg ;;
1252
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1255 with_fp=no ;;
1256
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1259 no_create=yes ;;
1260
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 no_recursion=yes ;;
1264
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev=oldincludedir ;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir=$ac_optarg ;;
1273
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1275 ac_prev=prefix ;;
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix=$ac_optarg ;;
1278
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev=program_prefix ;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix=$ac_optarg ;;
1285
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev=program_suffix ;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix=$ac_optarg ;;
1292
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev=program_transform_name ;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name=$ac_optarg ;;
1309
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1311 ac_prev=pdfdir ;;
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir=$ac_optarg ;;
1314
1315 -psdir | --psdir | --psdi | --psd | --ps)
1316 ac_prev=psdir ;;
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 psdir=$ac_optarg ;;
1319
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1322 silent=yes ;;
1323
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1325 ac_prev=sbindir ;;
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1327 | --sbi=* | --sb=*)
1328 sbindir=$ac_optarg ;;
1329
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1333 | --sha | --sh)
1334 ac_prev=sharedstatedir ;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1338 | --sha=* | --sh=*)
1339 sharedstatedir=$ac_optarg ;;
1340
1341 -site | --site | --sit)
1342 ac_prev=site ;;
1343 -site=* | --site=* | --sit=*)
1344 site=$ac_optarg ;;
1345
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1347 ac_prev=srcdir ;;
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir=$ac_optarg ;;
1350
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev=sysconfdir ;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir=$ac_optarg ;;
1357
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev=target_alias ;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias=$ac_optarg ;;
1362
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 verbose=yes ;;
1365
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version=: ;;
1368
1369 -with-* | --with-*)
1370 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_$ac_package=\$ac_optarg ;;
1377
1378 -without-* | --without-*)
1379 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_$ac_package=no ;;
1386
1387 --x)
1388 # Obsolete; use --with-x.
1389 with_x=yes ;;
1390
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev=x_includes ;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes=$ac_optarg ;;
1397
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev=x_libraries ;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries=$ac_optarg ;;
1404
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1408 ;;
1409
1410 *=*)
1411 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\$ac_optarg
1417 export $ac_envvar ;;
1418
1419 *)
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1425 ;;
1426
1427 esac
1428 done
1429
1430 if test -n "$ac_prev"; then
1431 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1434 fi
1435
1436 # Be sure to have absolute directory names.
1437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1441 do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in
1444 [\\/$]* | ?:[\\/]* ) continue;;
1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1446 esac
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1449 done
1450
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1454 build=$build_alias
1455 host=$host_alias
1456 target=$target_alias
1457
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x; then
1460 if test "x$build_alias" = x; then
1461 cross_compiling=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1465 cross_compiling=yes
1466 fi
1467 fi
1468
1469 ac_tool_prefix=
1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1471
1472 test "$silent" = yes && exec 6>/dev/null
1473
1474
1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di=`ls -di .` &&
1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1483
1484
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1494 echo X"$0" |
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496 s//\1/
1497 q
1498 }
1499 /^X\(\/\/\)[^/].*/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)$/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\).*/{
1508 s//\1/
1509 q
1510 }
1511 s/.*/./; q'`
1512 srcdir=$ac_confdir
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1514 srcdir=..
1515 fi
1516 else
1517 ac_srcdir_defaulted=no
1518 fi
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1523 fi
1524 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1525 ac_abs_confdir=`(
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1528 pwd)`
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 srcdir=.
1532 fi
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1536 case $srcdir in
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1538 esac
1539 for ac_var in $ac_precious_vars; do
1540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_${ac_var}_value=\$${ac_var}
1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1544 done
1545
1546 #
1547 # Report the --help message.
1548 #
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1552 cat <<_ACEOF
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1554
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1556
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1559
1560 Defaults for the options are specified in brackets.
1561
1562 Configuration:
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1572
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 [PREFIX]
1578
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1583
1584 For better control, use the options below.
1585
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1606 _ACEOF
1607
1608 cat <<\_ACEOF
1609
1610 X features:
1611 --x-includes=DIR X include files are in DIR
1612 --x-libraries=DIR X library files are in DIR
1613
1614 System types:
1615 --build=BUILD configure for building on BUILD [guessed]
1616 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1617 --target=TARGET configure for building compilers for TARGET [HOST]
1618 _ACEOF
1619 fi
1620
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1624 esac
1625 cat <<\_ACEOF
1626
1627 Optional Features:
1628 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1629 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1630 --disable-gui don't build GUI parts of the library
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-official_build official build of wxWidgets (win32 DLL only)
1634 --enable-vendor=VENDOR vendor name (win32 DLL only)
1635 --disable-all-features disable all optional features to build minimal library
1636 --enable-universal use wxWidgets GUI controls instead of native ones
1637 --enable-nanox use NanoX
1638 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1639 --enable-gpe use GNOME PDA Environment features if possible
1640 --disable-shared create static library instead of shared
1641 --disable-optimise create optimised code
1642 --enable-debug same as debug_flag and debug_info
1643 --enable-stl use STL for containers
1644 --enable-std_iostreams use standard C++ stream classes
1645 --enable-std_string use standard C++ string classes
1646 --disable-unicode compile without Unicode support
1647 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1648 --enable-utf8 use UTF-8 representation for strings (Unix only)
1649 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1650 --enable-extended_rtti use extended RTTI (XTI)
1651 --enable-omf use OMF object format
1652 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1653 --enable-debug_info create code with debugging information
1654 --enable-debug_gdb create code with extra GDB debugging information
1655 --enable-debug_cntxt use wxDebugContext
1656 --enable-mem_tracing create code with memory tracing
1657 --enable-profile create code with profiling information
1658 --enable-no_rtti create code without RTTI information
1659 --enable-no_exceptions create code without C++ exceptions handling
1660 --enable-permissive compile code disregarding strict ANSI
1661 --enable-no_deps create code without dependency information
1662 --disable-vararg_macros don't use vararg macros, even if they are supported
1663 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1664 --enable-compat26 enable wxWidgets 2.6 compatibility
1665 --disable-compat28 disable wxWidgets 2.8 compatibility
1666 --disable-rpath disable use of rpath for uninstalled builds
1667 --enable-objc_uniquifying enable Objective-C class name uniquifying
1668 --disable-visibility disable use of ELF symbols visibility even if supported
1669 --enable-intl use internationalization system
1670 --enable-config use wxConfig (and derived) classes
1671 --enable-protocols use wxProtocol and derived classes
1672 --enable-ftp use wxFTP (requires wxProtocol
1673 --enable-http use wxHTTP (requires wxProtocol
1674 --enable-fileproto use wxFileProto class (requires wxProtocol
1675 --enable-sockets use socket/network classes
1676 --enable-ipv6 enable IPv6 support in wxSocket
1677 --enable-ole use OLE classes (Win32 only)
1678 --enable-dataobj use data object classes
1679 --enable-ipc use interprocess communication (wxSocket etc.)
1680 --enable-baseevtloop use event loop in console programs too
1681 --enable-epollloop use wxEpollDispatcher class (Linux only)
1682 --enable-selectloop use wxSelectDispatcher class
1683 --enable-apple_ieee use the Apple IEEE codec
1684 --enable-arcstream use wxArchive streams
1685 --enable-base64 use base64 encoding/decoding functions
1686 --enable-backtrace use wxStackWalker class for getting backtraces
1687 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1688 --enable-cmdline use wxCmdLineParser class
1689 --enable-datetime use wxDateTime class
1690 --enable-debugreport use wxDebugReport class
1691 --enable-dialupman use dialup network classes
1692 --enable-dynlib use wxLibrary class for DLL loading
1693 --enable-dynamicloader use (new) wxDynamicLibrary class
1694 --enable-exceptions build exception-safe library
1695 --enable-ffile use wxFFile class
1696 --enable-file use wxFile class
1697 --enable-filesystem use virtual file systems classes
1698 --enable-fontenum use wxFontEnumerator class
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support in wxProtocol
1725 --enable-protocol-ftp FTP support in wxProtocol
1726 --enable-protocol-file FILE support in wxProtocol
1727 --enable-threads use threads
1728 --enable-iniconf use wxIniConfig (Win32 only)
1729 --enable-regkey use wxRegKey class (Win32 only)
1730 --enable-docview use document view architecture
1731 --enable-help use help subsystem
1732 --enable-mshtmlhelp use MS HTML Help (win32)
1733 --enable-html use wxHTML sub-library
1734 --enable-htmlhelp use wxHTML-based help
1735 --enable-xrc use XRC resources sub-library
1736 --enable-aui use AUI docking library
1737 --enable-stc use wxStyledTextCtrl library
1738 --enable-constraints use layout-constraints system
1739 --enable-printarch use printing architecture
1740 --enable-mdi use multiple document interface architecture
1741 --enable-mdidoc use docview architecture with MDI
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-webkit use wxWebKitCtrl (Mac)
1746 --enable-richtext use wxRichTextCtrl
1747 --enable-graphics_ctx use graphics context 2D drawing API
1748 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1749 --enable-svg use wxSVGFileDC device context
1750 --enable-clipboard use wxClipboard class
1751 --enable-dnd use Drag'n'Drop classes
1752 --enable-metafile use win32 metafiles
1753 --disable-controls disable compilation of all standard controls
1754 --enable-accel use accelerators
1755 --enable-animatectrl use wxAnimationCtrl class
1756 --enable-button use wxButton class
1757 --enable-bmpbutton use wxBitmapButton class
1758 --enable-bmpcombobox use wxBitmapComboBox class
1759 --enable-calendar use wxCalendarCtrl class
1760 --enable-caret use wxCaret class
1761 --enable-checkbox use wxCheckBox class
1762 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1763 --enable-choice use wxChoice class
1764 --enable-choicebook use wxChoicebook class
1765 --enable-collpane use wxCollapsiblePane class
1766 --enable-colourpicker use wxColourPickerCtrl class
1767 --enable-combobox use wxComboBox class
1768 --enable-comboctrl use wxComboCtrl class
1769 --enable-datepick use wxDatePickerCtrl class
1770 --enable-dirpicker use wxDirPickerCtrl class
1771 --enable-display use wxDisplay class
1772 --enable-detect_sm use code to detect X11 session manager
1773 --enable-editablebox use wxEditableListBox class
1774 --enable-filepicker use wxFilePickerCtrl class
1775 --enable-filectrl use wxFileCtrl class
1776 --enable-fontpicker use wxFontPickerCtrl class
1777 --enable-gauge use wxGauge class
1778 --enable-grid use wxGrid class
1779 --enable-dataviewctrl use wxDataViewCtrl class
1780 --enable-hyperlink use wxHyperlinkCtrl class
1781 --enable-imaglist use wxImageList class
1782 --enable-listbook use wxListbook class
1783 --enable-listbox use wxListBox class
1784 --enable-listctrl use wxListCtrl class
1785 --enable-notebook use wxNotebook class
1786 --enable-notifmsg use wxNotificationMessage class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-ico_cur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects (Win32 only)
1849 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1850 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1851 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1852 --enable-wxdib use wxDIB class (Win32 only)
1853 --enable-autoidman use automatic ids management
1854 --disable-largefile omit support for large files
1855 --disable-gtktest do not try to compile and run a test GTK+ program
1856 --disable-gtktest Do not try to compile and run a test GTK program
1857 --disable-sdltest Do not try to compile and run a test SDL program
1858 --enable-omf use OMF object format (OS/2)
1859 --disable-dependency-tracking
1860 don't use dependency tracking even if the compiler
1861 can
1862 --disable-precomp-headers
1863 don't use precompiled headers even if compiler can
1864
1865 Optional Packages:
1866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1868 --without-subdirs don't generate makefiles for samples/demos/...
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1872 --with-motif use Motif/Lesstif
1873 --with-mac use Mac OS X
1874 --with-cocoa use Cocoa
1875 --with-wine use Wine
1876 --with-msw use MS-Windows
1877 --with-pm use OS/2 Presentation Manager
1878 --with-mgl use SciTech MGL
1879 --with-directfb use DirectFB
1880 --with-microwin use MicroWindows
1881 --with-x11 use X11
1882 --with-libpng use libpng (PNG image format)
1883 --with-libjpeg use libjpeg (JPEG file format)
1884 --with-libtiff use libtiff (TIFF file format)
1885 --with-libxpm use libxpm (XPM file format)
1886 --with-libmspack use libmspack (CHM help files loading)
1887 --without-gtkprint don't use GTK printing support
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-expat enable XML support using expat parser
1897 --with-macosx-sdk=PATH use an OS X SDK at PATH
1898 --with-macosx-version-min=VER build binaries which require at least this OS X version
1899 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1900 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1901 --with-x use the X Window System
1902 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1903 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1904 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1905 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1906 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1907
1908 Some influential environment variables:
1909 CC C compiler command
1910 CFLAGS C compiler flags
1911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1912 nonstandard directory <lib dir>
1913 LIBS libraries to pass to the linker, e.g. -l<library>
1914 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1915 you have headers in a nonstandard directory <include dir>
1916 CPP C preprocessor
1917 CXX C++ compiler command
1918 CXXFLAGS C++ compiler flags
1919 PKG_CONFIG path to pkg-config utility
1920 DIRECTFB_CFLAGS
1921 C compiler flags for DIRECTFB, overriding pkg-config
1922 DIRECTFB_LIBS
1923 linker flags for DIRECTFB, overriding pkg-config
1924 XMKMF Path to xmkmf, Makefile generator for X Window System
1925 PANGOX_CFLAGS
1926 C compiler flags for PANGOX, overriding pkg-config
1927 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1928 PANGOFT2_CFLAGS
1929 C compiler flags for PANGOFT2, overriding pkg-config
1930 PANGOFT2_LIBS
1931 linker flags for PANGOFT2, overriding pkg-config
1932 PANGOXFT_CFLAGS
1933 C compiler flags for PANGOXFT, overriding pkg-config
1934 PANGOXFT_LIBS
1935 linker flags for PANGOXFT, overriding pkg-config
1936 GTKPRINT_CFLAGS
1937 C compiler flags for GTKPRINT, overriding pkg-config
1938 GTKPRINT_LIBS
1939 linker flags for GTKPRINT, overriding pkg-config
1940 LIBGNOMEPRINTUI_CFLAGS
1941 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 LIBGNOMEPRINTUI_LIBS
1943 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1944 GNOMEVFS_CFLAGS
1945 C compiler flags for GNOMEVFS, overriding pkg-config
1946 GNOMEVFS_LIBS
1947 linker flags for GNOMEVFS, overriding pkg-config
1948 HILDON_CFLAGS
1949 C compiler flags for HILDON, overriding pkg-config
1950 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1951 CAIRO_CFLAGS
1952 C compiler flags for CAIRO, overriding pkg-config
1953 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1954 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1955 GST_LIBS linker flags for GST, overriding pkg-config
1956
1957 Use these variables to override the choices made by `configure' or to help
1958 it to find libraries and programs with nonstandard names/locations.
1959
1960 Report bugs to <wx-dev@lists.wxwidgets.org>.
1961 _ACEOF
1962 ac_status=$?
1963 fi
1964
1965 if test "$ac_init_help" = "recursive"; then
1966 # If there are subdirs, report their specific --help.
1967 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1968 test -d "$ac_dir" || continue
1969 ac_builddir=.
1970
1971 case "$ac_dir" in
1972 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1973 *)
1974 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1975 # A ".." for each directory in $ac_dir_suffix.
1976 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1977 case $ac_top_builddir_sub in
1978 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1980 esac ;;
1981 esac
1982 ac_abs_top_builddir=$ac_pwd
1983 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1984 # for backward compatibility:
1985 ac_top_builddir=$ac_top_build_prefix
1986
1987 case $srcdir in
1988 .) # We are building in place.
1989 ac_srcdir=.
1990 ac_top_srcdir=$ac_top_builddir_sub
1991 ac_abs_top_srcdir=$ac_pwd ;;
1992 [\\/]* | ?:[\\/]* ) # Absolute name.
1993 ac_srcdir=$srcdir$ac_dir_suffix;
1994 ac_top_srcdir=$srcdir
1995 ac_abs_top_srcdir=$srcdir ;;
1996 *) # Relative name.
1997 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1998 ac_top_srcdir=$ac_top_build_prefix$srcdir
1999 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2000 esac
2001 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2002
2003 cd "$ac_dir" || { ac_status=$?; continue; }
2004 # Check for guested configure.
2005 if test -f "$ac_srcdir/configure.gnu"; then
2006 echo &&
2007 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2008 elif test -f "$ac_srcdir/configure"; then
2009 echo &&
2010 $SHELL "$ac_srcdir/configure" --help=recursive
2011 else
2012 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2013 fi || ac_status=$?
2014 cd "$ac_pwd" || { ac_status=$?; break; }
2015 done
2016 fi
2017
2018 test -n "$ac_init_help" && exit $ac_status
2019 if $ac_init_version; then
2020 cat <<\_ACEOF
2021 wxWidgets configure 2.9.0
2022 generated by GNU Autoconf 2.61
2023
2024 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2025 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2026 This configure script is free software; the Free Software Foundation
2027 gives unlimited permission to copy, distribute and modify it.
2028 _ACEOF
2029 exit
2030 fi
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2034
2035 It was created by wxWidgets $as_me 2.9.0, which was
2036 generated by GNU Autoconf 2.61. Invocation command line was
2037
2038 $ $0 $@
2039
2040 _ACEOF
2041 exec 5>>config.log
2042 {
2043 cat <<_ASUNAME
2044 ## --------- ##
2045 ## Platform. ##
2046 ## --------- ##
2047
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2056
2057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064
2065 _ASUNAME
2066
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2069 do
2070 IFS=$as_save_IFS
2071 test -z "$as_dir" && as_dir=.
2072 echo "PATH: $as_dir"
2073 done
2074 IFS=$as_save_IFS
2075
2076 } >&5
2077
2078 cat >&5 <<_ACEOF
2079
2080
2081 ## ----------- ##
2082 ## Core tests. ##
2083 ## ----------- ##
2084
2085 _ACEOF
2086
2087
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_configure_args=
2094 ac_configure_args0=
2095 ac_configure_args1=
2096 ac_must_keep_next=false
2097 for ac_pass in 1 2
2098 do
2099 for ac_arg
2100 do
2101 case $ac_arg in
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2105 continue ;;
2106 *\'*)
2107 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 esac
2109 case $ac_pass in
2110 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2111 2)
2112 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2113 if test $ac_must_keep_next = true; then
2114 ac_must_keep_next=false # Got value, back to normal.
2115 else
2116 case $ac_arg in
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 esac
2124 ;;
2125 -* ) ac_must_keep_next=true ;;
2126 esac
2127 fi
2128 ac_configure_args="$ac_configure_args '$ac_arg'"
2129 ;;
2130 esac
2131 done
2132 done
2133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2135
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2143 {
2144 echo
2145
2146 cat <<\_ASBOX
2147 ## ---------------- ##
2148 ## Cache variables. ##
2149 ## ---------------- ##
2150 _ASBOX
2151 echo
2152 # The following way of writing the cache mishandles newlines in values,
2153 (
2154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2155 eval ac_val=\$$ac_var
2156 case $ac_val in #(
2157 *${as_nl}*)
2158 case $ac_var in #(
2159 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2161 esac
2162 case $ac_var in #(
2163 _ | IFS | as_nl) ;; #(
2164 *) $as_unset $ac_var ;;
2165 esac ;;
2166 esac
2167 done
2168 (set) 2>&1 |
2169 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2170 *${as_nl}ac_space=\ *)
2171 sed -n \
2172 "s/'\''/'\''\\\\'\'''\''/g;
2173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 ;; #(
2175 *)
2176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2177 ;;
2178 esac |
2179 sort
2180 )
2181 echo
2182
2183 cat <<\_ASBOX
2184 ## ----------------- ##
2185 ## Output variables. ##
2186 ## ----------------- ##
2187 _ASBOX
2188 echo
2189 for ac_var in $ac_subst_vars
2190 do
2191 eval ac_val=\$$ac_var
2192 case $ac_val in
2193 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2194 esac
2195 echo "$ac_var='\''$ac_val'\''"
2196 done | sort
2197 echo
2198
2199 if test -n "$ac_subst_files"; then
2200 cat <<\_ASBOX
2201 ## ------------------- ##
2202 ## File substitutions. ##
2203 ## ------------------- ##
2204 _ASBOX
2205 echo
2206 for ac_var in $ac_subst_files
2207 do
2208 eval ac_val=\$$ac_var
2209 case $ac_val in
2210 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2211 esac
2212 echo "$ac_var='\''$ac_val'\''"
2213 done | sort
2214 echo
2215 fi
2216
2217 if test -s confdefs.h; then
2218 cat <<\_ASBOX
2219 ## ----------- ##
2220 ## confdefs.h. ##
2221 ## ----------- ##
2222 _ASBOX
2223 echo
2224 cat confdefs.h
2225 echo
2226 fi
2227 test "$ac_signal" != 0 &&
2228 echo "$as_me: caught signal $ac_signal"
2229 echo "$as_me: exit $exit_status"
2230 } >&5
2231 rm -f core *.core core.conftest.* &&
2232 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 exit $exit_status
2234 ' 0
2235 for ac_signal in 1 2 13 15; do
2236 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 done
2238 ac_signal=0
2239
2240 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2241 rm -f -r conftest* confdefs.h
2242
2243 # Predefined preprocessor variables.
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 _ACEOF
2263
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 _ACEOF
2268
2269
2270 # Let the site file select an alternate cache file if it wants to.
2271 # Prefer explicitly selected file to automatically selected ones.
2272 if test -n "$CONFIG_SITE"; then
2273 set x "$CONFIG_SITE"
2274 elif test "x$prefix" != xNONE; then
2275 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2276 else
2277 set x "$ac_default_prefix/share/config.site" \
2278 "$ac_default_prefix/etc/config.site"
2279 fi
2280 shift
2281 for ac_site_file
2282 do
2283 if test -r "$ac_site_file"; then
2284 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2285 echo "$as_me: loading site script $ac_site_file" >&6;}
2286 sed 's/^/| /' "$ac_site_file" >&5
2287 . "$ac_site_file"
2288 fi
2289 done
2290
2291 if test -r "$cache_file"; then
2292 # Some versions of bash will fail to source /dev/null (special
2293 # files actually), so we avoid doing that.
2294 if test -f "$cache_file"; then
2295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2296 echo "$as_me: loading cache $cache_file" >&6;}
2297 case $cache_file in
2298 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2299 *) . "./$cache_file";;
2300 esac
2301 fi
2302 else
2303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2304 echo "$as_me: creating cache $cache_file" >&6;}
2305 >$cache_file
2306 fi
2307
2308 # Check that the precious variables saved in the cache have kept the same
2309 # value.
2310 ac_cache_corrupted=false
2311 for ac_var in $ac_precious_vars; do
2312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2313 eval ac_new_set=\$ac_env_${ac_var}_set
2314 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2315 eval ac_new_val=\$ac_env_${ac_var}_value
2316 case $ac_old_set,$ac_new_set in
2317 set,)
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2320 ac_cache_corrupted=: ;;
2321 ,set)
2322 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2323 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2325 ,);;
2326 *)
2327 if test "x$ac_old_val" != "x$ac_new_val"; then
2328 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2329 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2330 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2331 echo "$as_me: former value: $ac_old_val" >&2;}
2332 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2333 echo "$as_me: current value: $ac_new_val" >&2;}
2334 ac_cache_corrupted=:
2335 fi;;
2336 esac
2337 # Pass precious variables to config.status.
2338 if test "$ac_new_set" = set; then
2339 case $ac_new_val in
2340 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 *) ac_arg=$ac_var=$ac_new_val ;;
2342 esac
2343 case " $ac_configure_args " in
2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2345 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2346 esac
2347 fi
2348 done
2349 if $ac_cache_corrupted; then
2350 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2351 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2353 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2354 { (exit 1); exit 1; }; }
2355 fi
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381 ac_ext=c
2382 ac_cpp='$CPP $CPPFLAGS'
2383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386
2387
2388
2389
2390
2391 ac_aux_dir=
2392 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2393 if test -f "$ac_dir/install-sh"; then
2394 ac_aux_dir=$ac_dir
2395 ac_install_sh="$ac_aux_dir/install-sh -c"
2396 break
2397 elif 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/shtool"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/shtool install -c"
2404 break
2405 fi
2406 done
2407 if test -z "$ac_aux_dir"; then
2408 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2409 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2410 { (exit 1); exit 1; }; }
2411 fi
2412
2413 # These three variables are undocumented and unsupported,
2414 # and are intended to be withdrawn in a future Autoconf release.
2415 # They can cause serious problems if a builder's source tree is in a directory
2416 # whose full name contains unusual characters.
2417 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2418 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2419 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2420
2421
2422 # Make sure we can run config.sub.
2423 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2424 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2425 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2426 { (exit 1); exit 1; }; }
2427
2428 { echo "$as_me:$LINENO: checking build system type" >&5
2429 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2430 if test "${ac_cv_build+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 else
2433 ac_build_alias=$build_alias
2434 test "x$ac_build_alias" = x &&
2435 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2436 test "x$ac_build_alias" = x &&
2437 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2438 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2439 { (exit 1); exit 1; }; }
2440 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2441 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2442 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2443 { (exit 1); exit 1; }; }
2444
2445 fi
2446 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2447 echo "${ECHO_T}$ac_cv_build" >&6; }
2448 case $ac_cv_build in
2449 *-*-*) ;;
2450 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2451 echo "$as_me: error: invalid value of canonical build" >&2;}
2452 { (exit 1); exit 1; }; };;
2453 esac
2454 build=$ac_cv_build
2455 ac_save_IFS=$IFS; IFS='-'
2456 set x $ac_cv_build
2457 shift
2458 build_cpu=$1
2459 build_vendor=$2
2460 shift; shift
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2463 build_os=$*
2464 IFS=$ac_save_IFS
2465 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466
2467
2468 { echo "$as_me:$LINENO: checking host system type" >&5
2469 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2470 if test "${ac_cv_host+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 else
2473 if test "x$host_alias" = x; then
2474 ac_cv_host=$ac_cv_build
2475 else
2476 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2477 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2478 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2479 { (exit 1); exit 1; }; }
2480 fi
2481
2482 fi
2483 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2484 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 case $ac_cv_host in
2486 *-*-*) ;;
2487 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2488 echo "$as_me: error: invalid value of canonical host" >&2;}
2489 { (exit 1); exit 1; }; };;
2490 esac
2491 host=$ac_cv_host
2492 ac_save_IFS=$IFS; IFS='-'
2493 set x $ac_cv_host
2494 shift
2495 host_cpu=$1
2496 host_vendor=$2
2497 shift; shift
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2500 host_os=$*
2501 IFS=$ac_save_IFS
2502 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503
2504
2505 { echo "$as_me:$LINENO: checking target system type" >&5
2506 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_target+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 else
2510 if test "x$target_alias" = x; then
2511 ac_cv_target=$ac_cv_host
2512 else
2513 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2517 fi
2518
2519 fi
2520 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2521 echo "${ECHO_T}$ac_cv_target" >&6; }
2522 case $ac_cv_target in
2523 *-*-*) ;;
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2525 echo "$as_me: error: invalid value of canonical target" >&2;}
2526 { (exit 1); exit 1; }; };;
2527 esac
2528 target=$ac_cv_target
2529 ac_save_IFS=$IFS; IFS='-'
2530 set x $ac_cv_target
2531 shift
2532 target_cpu=$1
2533 target_vendor=$2
2534 shift; shift
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2537 target_os=$*
2538 IFS=$ac_save_IFS
2539 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540
2541
2542 # The aliases save the names the user supplied, while $host etc.
2543 # will get canonicalized.
2544 test -n "$target_alias" &&
2545 test "$program_prefix$program_suffix$program_transform_name" = \
2546 NONENONEs,x,x, &&
2547 program_prefix=${target_alias}-
2548
2549
2550
2551 wx_major_version_number=2
2552 wx_minor_version_number=9
2553 wx_release_number=0
2554 wx_subrelease_number=0
2555
2556 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2557 WX_VERSION=$WX_RELEASE.$wx_release_number
2558 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2559
2560 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561
2562
2563 wx_top_builddir="`pwd`"
2564
2565
2566
2567
2568 USE_UNIX=1
2569 USE_OS2=0
2570 USE_WIN32=0
2571 USE_DOS=0
2572 USE_BEOS=0
2573 USE_MAC=0
2574
2575 USE_AIX=
2576 USE_BSD= USE_DARWIN= USE_FREEBSD=
2577 USE_GNU= USE_HPUX=
2578 USE_LINUX=
2579 USE_NETBSD=
2580 USE_OPENBSD=
2581 USE_OSF= USE_SGI=
2582 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2583 USE_ULTRIX=
2584 USE_UNIXWARE=
2585
2586 USE_ALPHA=
2587
2588 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2589
2590 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2591
2592 DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_wxUSE_GTK=0
2594 DEFAULT_wxUSE_MAC=0
2595 DEFAULT_wxUSE_MGL=0
2596 DEFAULT_wxUSE_MICROWIN=0
2597 DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_wxUSE_MSW=0
2599 DEFAULT_wxUSE_PM=0
2600 DEFAULT_wxUSE_X11=0
2601 DEFAULT_wxUSE_DFB=0
2602
2603 DEFAULT_DEFAULT_wxUSE_COCOA=0
2604 DEFAULT_DEFAULT_wxUSE_GTK=0
2605 DEFAULT_DEFAULT_wxUSE_MAC=0
2606 DEFAULT_DEFAULT_wxUSE_MGL=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_DEFAULT_wxUSE_MSW=0
2610 DEFAULT_DEFAULT_wxUSE_PM=0
2611 DEFAULT_DEFAULT_wxUSE_X11=0
2612 DEFAULT_DEFAULT_wxUSE_DFB=0
2613
2614 PROGRAM_EXT=
2615 SO_SUFFIX=so
2616 SAMPLES_RPATH_FLAG=
2617 SAMPLES_RPATH_POSTLINK=
2618
2619 DEFAULT_STD_FLAG=yes
2620
2621 case "${host}" in
2622 *-hp-hpux* )
2623 USE_HPUX=1
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2626 SO_SUFFIX=sl
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __HPUX__ 1
2629 _ACEOF
2630
2631
2632 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2633 ;;
2634 *-*-linux* )
2635 USE_LINUX=1
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __LINUX__ 1
2638 _ACEOF
2639
2640 TMP=`uname -m`
2641 if test "x$TMP" = "xalpha"; then
2642 USE_ALPHA=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __ALPHA__ 1
2645 _ACEOF
2646
2647 fi
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2649 ;;
2650 *-*-gnu* | *-*-k*bsd*-gnu )
2651 USE_GNU=1
2652 TMP=`uname -m`
2653 if test "x$TMP" = "xalpha"; then
2654 USE_ALPHA=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __ALPHA__ 1
2657 _ACEOF
2658
2659 fi
2660 DEFAULT_DEFAULT_wxUSE_GTK=1
2661 ;;
2662 *-*-irix5* | *-*-irix6* )
2663 USE_SGI=1
2664 USE_SVR4=1
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __SGI__ 1
2667 _ACEOF
2668
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SVR4__ 1
2671 _ACEOF
2672
2673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 ;;
2675 *-*-solaris2* )
2676 USE_SUN=1
2677 USE_SOLARIS=1
2678 USE_SVR4=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SUN__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SOLARIS__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SVR4__ 1
2689 _ACEOF
2690
2691 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2692 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2693 ;;
2694 *-*-sunos4* )
2695 USE_SUN=1
2696 USE_SUNOS=1
2697 USE_BSD=1
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SUN__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SUNOS__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __BSD__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 ;;
2712 *-*-freebsd*)
2713 USE_BSD=1
2714 USE_FREEBSD=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __FREEBSD__ 1
2717 _ACEOF
2718
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __BSD__ 1
2721 _ACEOF
2722
2723 DEFAULT_DEFAULT_wxUSE_GTK=1
2724 ;;
2725 *-*-openbsd*|*-*-mirbsd*)
2726 USE_BSD=1
2727 USE_OPENBSD=1
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __OPENBSD__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __BSD__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_GTK=1
2737 ;;
2738 *-*-netbsd*)
2739 USE_BSD=1
2740 USE_NETBSD=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __NETBSD__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __BSD__ 1
2747 _ACEOF
2748
2749 DEFAULT_DEFAULT_wxUSE_GTK=1
2750 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2751
2752 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2753 ;;
2754 *-*-osf* )
2755 USE_ALPHA=1
2756 USE_OSF=1
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __ALPHA__ 1
2759 _ACEOF
2760
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __OSF__ 1
2763 _ACEOF
2764
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2767 ;;
2768 *-*-dgux5* )
2769 USE_ALPHA=1
2770 USE_SVR4=1
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __ALPHA__ 1
2773 _ACEOF
2774
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __SVR4__ 1
2777 _ACEOF
2778
2779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2780 ;;
2781 *-*-sysv5* )
2782 USE_SYSV=1
2783 USE_SVR4=1
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SYSV__ 1
2786 _ACEOF
2787
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __SVR4__ 1
2790 _ACEOF
2791
2792 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2793 ;;
2794 *-*-aix* )
2795 USE_AIX=1
2796 USE_SYSV=1
2797 USE_SVR4=1
2798 SO_SUFFIX=a
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __AIX__ 1
2801 _ACEOF
2802
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __SYSV__ 1
2805 _ACEOF
2806
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __SVR4__ 1
2809 _ACEOF
2810
2811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2812 ;;
2813
2814 *-*-*UnixWare*)
2815 USE_SYSV=1
2816 USE_SVR4=1
2817 USE_UNIXWARE=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __UNIXWARE__ 1
2820 _ACEOF
2821
2822 ;;
2823
2824 *-*-cygwin* | *-*-mingw32* )
2825 SO_SUFFIX=dll
2826 PROGRAM_EXT=".exe"
2827 DEFAULT_DEFAULT_wxUSE_MSW=1
2828 ;;
2829
2830 *-pc-msdosdjgpp )
2831 USE_UNIX=0
2832 USE_DOS=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __DOS__ 1
2835 _ACEOF
2836
2837 PROGRAM_EXT=".exe"
2838 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 ;;
2840
2841 *-pc-os2_emx | *-pc-os2-emx )
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __EMX__ 1
2844 _ACEOF
2845
2846 USE_OS2=1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __OS2__ 1
2849 _ACEOF
2850
2851 PROGRAM_EXT=".exe"
2852 DEFAULT_DEFAULT_wxUSE_PM=1
2853 CXX=gcc
2854 LDFLAGS="$LDFLAGS -Zcrtdll"
2855 ac_executable_extensions=".exe"
2856 export ac_executable_extensions
2857 ac_save_IFS="$IFS"
2858 IFS='\\'
2859 ac_TEMP_PATH=
2860 for ac_dir in $PATH; do
2861 IFS=$ac_save_IFS
2862 if test -z "$ac_TEMP_PATH"; then
2863 ac_TEMP_PATH="$ac_dir"
2864 else
2865 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 fi
2867 done
2868 export PATH="$ac_TEMP_PATH"
2869 unset ac_TEMP_PATH
2870 DEFAULT_STD_FLAG=no
2871 ;;
2872
2873 *-*-darwin* )
2874 USE_BSD=1
2875 USE_DARWIN=1
2876 SO_SUFFIX=dylib
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __BSD__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __DARWIN__ 1
2883 _ACEOF
2884
2885 cat >>confdefs.h <<\_ACEOF
2886 #define TARGET_CARBON 1
2887 _ACEOF
2888
2889 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 DEFAULT_STD_FLAG=no
2891 ;;
2892 powerpc-apple-macos* )
2893 USE_UNIX=0
2894 ac_cv_c_bigendian=yes
2895 SO_SUFFIX=shlib
2896 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 DEFAULT_STD_FLAG=no
2898 ;;
2899
2900 *-*-beos* )
2901 USE_BEOS=1
2902 cat >>confdefs.h <<\_ACEOF
2903 #define __BEOS__ 1
2904 _ACEOF
2905
2906 ;;
2907
2908 *)
2909 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2910 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2911 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2912 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2913
2914 DEFAULT_DEFAULT_wxUSE_X11=1
2915 DEFAULT_wxUSE_SHARED=no
2916 esac
2917
2918
2919
2920 DEFAULT_wxUSE_ALL_FEATURES=yes
2921
2922 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2923 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2924
2925 DEFAULT_wxUSE_DMALLOC=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_LIBMSPACK=no
2929 DEFAULT_wxUSE_LIBSDL=no
2930 DEFAULT_wxUSE_OPENGL=no
2931
2932 DEFAULT_wxUSE_ACCESSIBILITY=no
2933 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2934 DEFAULT_wxUSE_IPV6=no
2935 DEFAULT_wxUSE_MEDIACTRL=no
2936 DEFAULT_wxUSE_TAB_DIALOG=no
2937 DEFAULT_wxUSE_GSTREAMER8=no
2938
2939 DEFAULT_wxUSE_UNICODE_UTF8=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2941
2942 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2943
2944 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2945
2946 DEFAULT_wxUSE_GTK2=yes
2947
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2949
2950
2951
2952
2953
2954 enablestring=disable
2955 defaultval=
2956 if test -z "$defaultval"; then
2957 if test x"$enablestring" = xdisable; then
2958 defaultval=yes
2959 else
2960 defaultval=no
2961 fi
2962 fi
2963
2964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2965 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2966 # Check whether --enable-gui was given.
2967 if test "${enable_gui+set}" = set; then
2968 enableval=$enable_gui;
2969 if test "$enableval" = yes; then
2970 wx_cv_use_gui='wxUSE_GUI=yes'
2971 else
2972 wx_cv_use_gui='wxUSE_GUI=no'
2973 fi
2974
2975 else
2976
2977 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2978
2979 fi
2980
2981
2982 eval "$wx_cv_use_gui"
2983
2984 if test x"$enablestring" = xdisable; then
2985 if test $wxUSE_GUI = yes; then
2986 result=no
2987 else
2988 result=yes
2989 fi
2990 else
2991 result=$wxUSE_GUI
2992 fi
2993
2994 { echo "$as_me:$LINENO: result: $result" >&5
2995 echo "${ECHO_T}$result" >&6; }
2996
2997
2998 enablestring=
2999 defaultval=
3000 if test -z "$defaultval"; then
3001 if test x"$enablestring" = xdisable; then
3002 defaultval=yes
3003 else
3004 defaultval=no
3005 fi
3006 fi
3007
3008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3009 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3010 # Check whether --enable-monolithic was given.
3011 if test "${enable_monolithic+set}" = set; then
3012 enableval=$enable_monolithic;
3013 if test "$enableval" = yes; then
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3015 else
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3017 fi
3018
3019 else
3020
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3022
3023 fi
3024
3025
3026 eval "$wx_cv_use_monolithic"
3027
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_MONOLITHIC = yes; then
3030 result=no
3031 else
3032 result=yes
3033 fi
3034 else
3035 result=$wxUSE_MONOLITHIC
3036 fi
3037
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3040
3041
3042 enablestring=
3043 defaultval=
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3046 defaultval=yes
3047 else
3048 defaultval=no
3049 fi
3050 fi
3051
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3054 # Check whether --enable-plugins was given.
3055 if test "${enable_plugins+set}" = set; then
3056 enableval=$enable_plugins;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3059 else
3060 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3061 fi
3062
3063 else
3064
3065 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3066
3067 fi
3068
3069
3070 eval "$wx_cv_use_plugins"
3071
3072 if test x"$enablestring" = xdisable; then
3073 if test $wxUSE_PLUGINS = yes; then
3074 result=no
3075 else
3076 result=yes
3077 fi
3078 else
3079 result=$wxUSE_PLUGINS
3080 fi
3081
3082 { echo "$as_me:$LINENO: result: $result" >&5
3083 echo "${ECHO_T}$result" >&6; }
3084
3085
3086 withstring=without
3087 defaultval=$wxUSE_ALL_FEATURES
3088 if test -z "$defaultval"; then
3089 if test x"$withstring" = xwithout; then
3090 defaultval=yes
3091 else
3092 defaultval=no
3093 fi
3094 fi
3095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3096 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3097
3098 # Check whether --with-subdirs was given.
3099 if test "${with_subdirs+set}" = set; then
3100 withval=$with_subdirs;
3101 if test "$withval" = yes; then
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3103 else
3104 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3105 fi
3106
3107 else
3108
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3110
3111 fi
3112
3113
3114 eval "$wx_cv_use_subdirs"
3115
3116 if test x"$withstring" = xwithout; then
3117 if test $wxWITH_SUBDIRS = yes; then
3118 result=no
3119 else
3120 result=yes
3121 fi
3122 else
3123 result=$wxWITH_SUBDIRS
3124 fi
3125
3126 { echo "$as_me:$LINENO: result: $result" >&5
3127 echo "${ECHO_T}$result" >&6; }
3128
3129
3130 # Check whether --with-flavour was given.
3131 if test "${with_flavour+set}" = set; then
3132 withval=$with_flavour; WX_FLAVOUR="$withval"
3133 fi
3134
3135
3136 enablestring=
3137 defaultval=
3138 if test -z "$defaultval"; then
3139 if test x"$enablestring" = xdisable; then
3140 defaultval=yes
3141 else
3142 defaultval=no
3143 fi
3144 fi
3145
3146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3147 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3148 # Check whether --enable-official_build was given.
3149 if test "${enable_official_build+set}" = set; then
3150 enableval=$enable_official_build;
3151 if test "$enableval" = yes; then
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3153 else
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3155 fi
3156
3157 else
3158
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3160
3161 fi
3162
3163
3164 eval "$wx_cv_use_official_build"
3165
3166 if test x"$enablestring" = xdisable; then
3167 if test $wxUSE_OFFICIAL_BUILD = yes; then
3168 result=no
3169 else
3170 result=yes
3171 fi
3172 else
3173 result=$wxUSE_OFFICIAL_BUILD
3174 fi
3175
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3178
3179 # Check whether --enable-vendor was given.
3180 if test "${enable_vendor+set}" = set; then
3181 enableval=$enable_vendor; VENDOR="$enableval"
3182 fi
3183
3184 if test "x$VENDOR" = "x"; then
3185 VENDOR="custom"
3186 fi
3187
3188
3189 enablestring=disable
3190 defaultval=
3191 if test -z "$defaultval"; then
3192 if test x"$enablestring" = xdisable; then
3193 defaultval=yes
3194 else
3195 defaultval=no
3196 fi
3197 fi
3198
3199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3200 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3201 # Check whether --enable-all-features was given.
3202 if test "${enable_all_features+set}" = set; then
3203 enableval=$enable_all_features;
3204 if test "$enableval" = yes; then
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3206 else
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3208 fi
3209
3210 else
3211
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3213
3214 fi
3215
3216
3217 eval "$wx_cv_use_all_features"
3218
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_ALL_FEATURES = yes; then
3221 result=no
3222 else
3223 result=yes
3224 fi
3225 else
3226 result=$wxUSE_ALL_FEATURES
3227 fi
3228
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3231
3232
3233
3234 if test "$wxUSE_GUI" = "yes"; then
3235
3236
3237 enablestring=
3238 defaultval=
3239 if test -z "$defaultval"; then
3240 if test x"$enablestring" = xdisable; then
3241 defaultval=yes
3242 else
3243 defaultval=no
3244 fi
3245 fi
3246
3247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3248 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3249 # Check whether --enable-universal was given.
3250 if test "${enable_universal+set}" = set; then
3251 enableval=$enable_universal;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3254 else
3255 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3256 fi
3257
3258 else
3259
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3261
3262 fi
3263
3264
3265 eval "$wx_cv_use_universal"
3266
3267 if test x"$enablestring" = xdisable; then
3268 if test $wxUSE_UNIVERSAL = yes; then
3269 result=no
3270 else
3271 result=yes
3272 fi
3273 else
3274 result=$wxUSE_UNIVERSAL
3275 fi
3276
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3279
3280 if test "$wxUSE_UNIVERSAL" = "yes"; then
3281
3282 # Check whether --with-themes was given.
3283 if test "${with_themes+set}" = set; then
3284 withval=$with_themes; wxUNIV_THEMES="$withval"
3285 fi
3286
3287 fi
3288
3289
3290 # Check whether --with-gtk was given.
3291 if test "${with_gtk+set}" = set; then
3292 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3293 fi
3294
3295
3296 # Check whether --with-motif was given.
3297 if test "${with_motif+set}" = set; then
3298 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3299 fi
3300
3301
3302 # Check whether --with-mac was given.
3303 if test "${with_mac+set}" = set; then
3304 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-cocoa was given.
3309 if test "${with_cocoa+set}" = set; then
3310 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-wine was given.
3315 if test "${with_wine+set}" = set; then
3316 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3317 fi
3318
3319
3320 # Check whether --with-msw was given.
3321 if test "${with_msw+set}" = set; then
3322 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-pm was given.
3327 if test "${with_pm+set}" = set; then
3328 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-mgl was given.
3333 if test "${with_mgl+set}" = set; then
3334 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-directfb was given.
3339 if test "${with_directfb+set}" = set; then
3340 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-microwin was given.
3345 if test "${with_microwin+set}" = set; then
3346 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-x11 was given.
3351 if test "${with_x11+set}" = set; then
3352 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 enablestring=
3357 defaultval=
3358 if test -z "$defaultval"; then
3359 if test x"$enablestring" = xdisable; then
3360 defaultval=yes
3361 else
3362 defaultval=no
3363 fi
3364 fi
3365
3366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3367 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3368 # Check whether --enable-nanox was given.
3369 if test "${enable_nanox+set}" = set; then
3370 enableval=$enable_nanox;
3371 if test "$enableval" = yes; then
3372 wx_cv_use_nanox='wxUSE_NANOX=yes'
3373 else
3374 wx_cv_use_nanox='wxUSE_NANOX=no'
3375 fi
3376
3377 else
3378
3379 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3380
3381 fi
3382
3383
3384 eval "$wx_cv_use_nanox"
3385
3386 if test x"$enablestring" = xdisable; then
3387 if test $wxUSE_NANOX = yes; then
3388 result=no
3389 else
3390 result=yes
3391 fi
3392 else
3393 result=$wxUSE_NANOX
3394 fi
3395
3396 { echo "$as_me:$LINENO: result: $result" >&5
3397 echo "${ECHO_T}$result" >&6; }
3398
3399
3400 # Check whether --enable-gtk2 was given.
3401 if test "${enable_gtk2+set}" = set; then
3402 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3403 fi
3404
3405
3406 enablestring=
3407 defaultval=
3408 if test -z "$defaultval"; then
3409 if test x"$enablestring" = xdisable; then
3410 defaultval=yes
3411 else
3412 defaultval=no
3413 fi
3414 fi
3415
3416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3417 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3418 # Check whether --enable-gpe was given.
3419 if test "${enable_gpe+set}" = set; then
3420 enableval=$enable_gpe;
3421 if test "$enableval" = yes; then
3422 wx_cv_use_gpe='wxUSE_GPE=yes'
3423 else
3424 wx_cv_use_gpe='wxUSE_GPE=no'
3425 fi
3426
3427 else
3428
3429 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3430
3431 fi
3432
3433
3434 eval "$wx_cv_use_gpe"
3435
3436 if test x"$enablestring" = xdisable; then
3437 if test $wxUSE_GPE = yes; then
3438 result=no
3439 else
3440 result=yes
3441 fi
3442 else
3443 result=$wxUSE_GPE
3444 fi
3445
3446 { echo "$as_me:$LINENO: result: $result" >&5
3447 echo "${ECHO_T}$result" >&6; }
3448
3449
3450
3451 { echo "$as_me:$LINENO: checking for toolkit" >&5
3452 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3453
3454 # In Wine, we need to default to MSW, not GTK or MOTIF
3455 if test "$wxUSE_WINE" = "yes"; then
3456 DEFAULT_DEFAULT_wxUSE_GTK=0
3457 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3458 DEFAULT_DEFAULT_wxUSE_MSW=1
3459 wxUSE_SHARED=no
3460 CC=${CC:-winegcc}
3461 CXX=${CXX:-wineg++}
3462 fi
3463
3464
3465 if test "$wxUSE_GUI" = "yes"; then
3466
3467 if test "$USE_BEOS" = 1; then
3468 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3469 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3470 { (exit 1); exit 1; }; }
3471 fi
3472
3473 if test "$TOOLKIT_GIVEN" = 1; then
3474 for toolkit in $ALL_TOOLKITS; do
3475 var=wxUSE_$toolkit
3476 eval "value=\$${var}"
3477 if test "x$value" = "xno"; then
3478 eval "$var=0"
3479 elif test "x$value" != "x"; then
3480 eval "$var=1"
3481 fi
3482
3483 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3484 eval "wx${toolkit}_VERSION=$value"
3485 fi
3486 done
3487 else
3488 for toolkit in $ALL_TOOLKITS; do
3489 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3490 eval "wxUSE_$toolkit=\$${var}"
3491 done
3492 fi
3493
3494 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3495 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3496 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3497
3498 case "${host}" in
3499 *-pc-os2_emx | *-pc-os2-emx )
3500 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3501 esac
3502
3503 case "$NUM_TOOLKITS" in
3504 1)
3505 ;;
3506 0)
3507 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3508 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3509 { (exit 1); exit 1; }; }
3510 ;;
3511 *)
3512 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3513 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3514 { (exit 1); exit 1; }; }
3515 esac
3516
3517 # to be removed when --disable-gtk2 isn't needed
3518 if test "x$wxUSE_GTK2" = "xyes"; then
3519 wxGTK_VERSION=2
3520 elif test "x$wxUSE_GTK2" = "xno"; then
3521 wxGTK_VERSION=1
3522 fi
3523
3524 for toolkit in $ALL_TOOLKITS; do
3525 var=wxUSE_$toolkit
3526 eval "value=\$${var}"
3527 if test "$value" = 1; then
3528 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3529 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3530 echo "${ECHO_T}$toolkit_echo" >&6; }
3531 fi
3532 done
3533 else
3534 if test "x$host_alias" != "x"; then
3535 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3536 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3537 else
3538 { echo "$as_me:$LINENO: result: base only" >&5
3539 echo "${ECHO_T}base only" >&6; }
3540 fi
3541 fi
3542
3543
3544
3545 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3546 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3547
3548 # Check whether --with-libpng was given.
3549 if test "${with_libpng+set}" = set; then
3550 withval=$with_libpng;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3553 elif test "$withval" = no; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3555 elif test "$withval" = sys; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3559 else
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3563 fi
3564
3565 else
3566
3567 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3568
3569 fi
3570
3571
3572 eval "$wx_cv_use_libpng"
3573
3574 if test "$wxUSE_LIBPNG" = yes; then
3575 { echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6; }
3577 elif test "$wxUSE_LIBPNG" = no; then
3578 { echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6; }
3580 elif test "$wxUSE_LIBPNG" = sys; then
3581 { echo "$as_me:$LINENO: result: system version" >&5
3582 echo "${ECHO_T}system version" >&6; }
3583 elif test "$wxUSE_LIBPNG" = builtin; then
3584 { echo "$as_me:$LINENO: result: builtin version" >&5
3585 echo "${ECHO_T}builtin version" >&6; }
3586 else
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3590 fi
3591
3592
3593 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3594 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3595
3596 # Check whether --with-libjpeg was given.
3597 if test "${with_libjpeg+set}" = set; then
3598 withval=$with_libjpeg;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3607 else
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3611 fi
3612
3613 else
3614
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3616
3617 fi
3618
3619
3620 eval "$wx_cv_use_libjpeg"
3621
3622 if test "$wxUSE_LIBJPEG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBJPEG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3642 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libtiff was given.
3645 if test "${with_libtiff+set}" = set; then
3646 withval=$with_libtiff;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660
3661 else
3662
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3664
3665 fi
3666
3667
3668 eval "$wx_cv_use_libtiff"
3669
3670 if test "$wxUSE_LIBTIFF" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBTIFF" = no; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = sys; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3682 else
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3686 fi
3687
3688
3689 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3690 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3691
3692 # Check whether --with-libxpm was given.
3693 if test "${with_libxpm+set}" = set; then
3694 withval=$with_libxpm;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3697 elif test "$withval" = no; then
3698 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3699 elif test "$withval" = sys; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3703 else
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3707 fi
3708
3709 else
3710
3711 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3712
3713 fi
3714
3715
3716 eval "$wx_cv_use_libxpm"
3717
3718 if test "$wxUSE_LIBXPM" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBXPM" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBXPM" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBXPM" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 withstring=
3738 defaultval=$wxUSE_ALL_FEATURES
3739 if test -z "$defaultval"; then
3740 if test x"$withstring" = xwithout; then
3741 defaultval=yes
3742 else
3743 defaultval=no
3744 fi
3745 fi
3746 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3747 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3748
3749 # Check whether --with-libmspack was given.
3750 if test "${with_libmspack+set}" = set; then
3751 withval=$with_libmspack;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3754 else
3755 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3756 fi
3757
3758 else
3759
3760 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3761
3762 fi
3763
3764
3765 eval "$wx_cv_use_libmspack"
3766
3767 if test x"$withstring" = xwithout; then
3768 if test $wxUSE_LIBMSPACK = yes; then
3769 result=no
3770 else
3771 result=yes
3772 fi
3773 else
3774 result=$wxUSE_LIBMSPACK
3775 fi
3776
3777 { echo "$as_me:$LINENO: result: $result" >&5
3778 echo "${ECHO_T}$result" >&6; }
3779
3780
3781 withstring=without
3782 defaultval=$wxUSE_ALL_FEATURES
3783 if test -z "$defaultval"; then
3784 if test x"$withstring" = xwithout; then
3785 defaultval=yes
3786 else
3787 defaultval=no
3788 fi
3789 fi
3790 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3791 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3792
3793 # Check whether --with-gtkprint was given.
3794 if test "${with_gtkprint+set}" = set; then
3795 withval=$with_gtkprint;
3796 if test "$withval" = yes; then
3797 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3798 else
3799 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3800 fi
3801
3802 else
3803
3804 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3805
3806 fi
3807
3808
3809 eval "$wx_cv_use_gtkprint"
3810
3811 if test x"$withstring" = xwithout; then
3812 if test $wxUSE_GTKPRINT = yes; then
3813 result=no
3814 else
3815 result=yes
3816 fi
3817 else
3818 result=$wxUSE_GTKPRINT
3819 fi
3820
3821 { echo "$as_me:$LINENO: result: $result" >&5
3822 echo "${ECHO_T}$result" >&6; }
3823
3824
3825 withstring=without
3826 defaultval=$wxUSE_ALL_FEATURES
3827 if test -z "$defaultval"; then
3828 if test x"$withstring" = xwithout; then
3829 defaultval=yes
3830 else
3831 defaultval=no
3832 fi
3833 fi
3834 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3835 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3836
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3842 else
3843 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3844 fi
3845
3846 else
3847
3848 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3849
3850 fi
3851
3852
3853 eval "$wx_cv_use_gnomeprint"
3854
3855 if test x"$withstring" = xwithout; then
3856 if test $wxUSE_LIBGNOMEPRINT = yes; then
3857 result=no
3858 else
3859 result=yes
3860 fi
3861 else
3862 result=$wxUSE_LIBGNOMEPRINT
3863 fi
3864
3865 { echo "$as_me:$LINENO: result: $result" >&5
3866 echo "${ECHO_T}$result" >&6; }
3867
3868
3869 withstring=
3870 defaultval=$wxUSE_ALL_FEATURES
3871 if test -z "$defaultval"; then
3872 if test x"$withstring" = xwithout; then
3873 defaultval=yes
3874 else
3875 defaultval=no
3876 fi
3877 fi
3878 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3879 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3880
3881 # Check whether --with-gnomevfs was given.
3882 if test "${with_gnomevfs+set}" = set; then
3883 withval=$with_gnomevfs;
3884 if test "$withval" = yes; then
3885 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3886 else
3887 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3888 fi
3889
3890 else
3891
3892 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3893
3894 fi
3895
3896
3897 eval "$wx_cv_use_gnomevfs"
3898
3899 if test x"$withstring" = xwithout; then
3900 if test $wxUSE_LIBGNOMEVFS = yes; then
3901 result=no
3902 else
3903 result=yes
3904 fi
3905 else
3906 result=$wxUSE_LIBGNOMEVFS
3907 fi
3908
3909 { echo "$as_me:$LINENO: result: $result" >&5
3910 echo "${ECHO_T}$result" >&6; }
3911
3912
3913 withstring=
3914 defaultval=$wxUSE_ALL_FEATURES
3915 if test -z "$defaultval"; then
3916 if test x"$withstring" = xwithout; then
3917 defaultval=yes
3918 else
3919 defaultval=no
3920 fi
3921 fi
3922 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3923 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3924
3925 # Check whether --with-hildon was given.
3926 if test "${with_hildon+set}" = set; then
3927 withval=$with_hildon;
3928 if test "$withval" = yes; then
3929 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3930 else
3931 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3932 fi
3933
3934 else
3935
3936 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3937
3938 fi
3939
3940
3941 eval "$wx_cv_use_hildon"
3942
3943 if test x"$withstring" = xwithout; then
3944 if test $wxUSE_LIBHILDON = yes; then
3945 result=no
3946 else
3947 result=yes
3948 fi
3949 else
3950 result=$wxUSE_LIBHILDON
3951 fi
3952
3953 { echo "$as_me:$LINENO: result: $result" >&5
3954 echo "${ECHO_T}$result" >&6; }
3955
3956
3957 withstring=
3958 defaultval=$wxUSE_ALL_FEATURES
3959 if test -z "$defaultval"; then
3960 if test x"$withstring" = xwithout; then
3961 defaultval=yes
3962 else
3963 defaultval=no
3964 fi
3965 fi
3966 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3967 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3968
3969 # Check whether --with-opengl was given.
3970 if test "${with_opengl+set}" = set; then
3971 withval=$with_opengl;
3972 if test "$withval" = yes; then
3973 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3974 else
3975 wx_cv_use_opengl='wxUSE_OPENGL=no'
3976 fi
3977
3978 else
3979
3980 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3981
3982 fi
3983
3984
3985 eval "$wx_cv_use_opengl"
3986
3987 if test x"$withstring" = xwithout; then
3988 if test $wxUSE_OPENGL = yes; then
3989 result=no
3990 else
3991 result=yes
3992 fi
3993 else
3994 result=$wxUSE_OPENGL
3995 fi
3996
3997 { echo "$as_me:$LINENO: result: $result" >&5
3998 echo "${ECHO_T}$result" >&6; }
3999
4000
4001 fi
4002
4003
4004 withstring=
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4008 defaultval=yes
4009 else
4010 defaultval=no
4011 fi
4012 fi
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4015
4016 # Check whether --with-dmalloc was given.
4017 if test "${with_dmalloc+set}" = set; then
4018 withval=$with_dmalloc;
4019 if test "$withval" = yes; then
4020 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4021 else
4022 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4023 fi
4024
4025 else
4026
4027 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4028
4029 fi
4030
4031
4032 eval "$wx_cv_use_dmalloc"
4033
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_DMALLOC = yes; then
4036 result=no
4037 else
4038 result=yes
4039 fi
4040 else
4041 result=$wxUSE_DMALLOC
4042 fi
4043
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4046
4047
4048 withstring=
4049 defaultval=$wxUSE_ALL_FEATURES
4050 if test -z "$defaultval"; then
4051 if test x"$withstring" = xwithout; then
4052 defaultval=yes
4053 else
4054 defaultval=no
4055 fi
4056 fi
4057 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4058 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4059
4060 # Check whether --with-sdl was given.
4061 if test "${with_sdl+set}" = set; then
4062 withval=$with_sdl;
4063 if test "$withval" = yes; then
4064 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4065 else
4066 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4067 fi
4068
4069 else
4070
4071 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4072
4073 fi
4074
4075
4076 eval "$wx_cv_use_sdl"
4077
4078 if test x"$withstring" = xwithout; then
4079 if test $wxUSE_LIBSDL = yes; then
4080 result=no
4081 else
4082 result=yes
4083 fi
4084 else
4085 result=$wxUSE_LIBSDL
4086 fi
4087
4088 { echo "$as_me:$LINENO: result: $result" >&5
4089 echo "${ECHO_T}$result" >&6; }
4090
4091
4092 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4093 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4094
4095 # Check whether --with-regex was given.
4096 if test "${with_regex+set}" = set; then
4097 withval=$with_regex;
4098 if test "$withval" = yes; then
4099 wx_cv_use_regex='wxUSE_REGEX=yes'
4100 elif test "$withval" = no; then
4101 wx_cv_use_regex='wxUSE_REGEX=no'
4102 elif test "$withval" = sys; then
4103 wx_cv_use_regex='wxUSE_REGEX=sys'
4104 elif test "$withval" = builtin; then
4105 wx_cv_use_regex='wxUSE_REGEX=builtin'
4106 else
4107 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4108 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4109 { (exit 1); exit 1; }; }
4110 fi
4111
4112 else
4113
4114 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4115
4116 fi
4117
4118
4119 eval "$wx_cv_use_regex"
4120
4121 if test "$wxUSE_REGEX" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 elif test "$wxUSE_REGEX" = no; then
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 elif test "$wxUSE_REGEX" = sys; then
4128 { echo "$as_me:$LINENO: result: system version" >&5
4129 echo "${ECHO_T}system version" >&6; }
4130 elif test "$wxUSE_REGEX" = builtin; then
4131 { echo "$as_me:$LINENO: result: builtin version" >&5
4132 echo "${ECHO_T}builtin version" >&6; }
4133 else
4134 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4135 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4136 { (exit 1); exit 1; }; }
4137 fi
4138
4139
4140 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4141 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4142
4143 # Check whether --with-zlib was given.
4144 if test "${with_zlib+set}" = set; then
4145 withval=$with_zlib;
4146 if test "$withval" = yes; then
4147 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_zlib='wxUSE_ZLIB=no'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4154 else
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4158 fi
4159
4160 else
4161
4162 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_zlib"
4168
4169 if test "$wxUSE_ZLIB" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_ZLIB" = no; then
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 elif test "$wxUSE_ZLIB" = sys; then
4176 { echo "$as_me:$LINENO: result: system version" >&5
4177 echo "${ECHO_T}system version" >&6; }
4178 elif test "$wxUSE_ZLIB" = 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-zlib: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-zlib: 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-expat" >&5
4189 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4190
4191 # Check whether --with-expat was given.
4192 if test "${with_expat+set}" = set; then
4193 withval=$with_expat;
4194 if test "$withval" = yes; then
4195 wx_cv_use_expat='wxUSE_EXPAT=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_expat='wxUSE_EXPAT=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_expat='wxUSE_EXPAT=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4211
4212 fi
4213
4214
4215 eval "$wx_cv_use_expat"
4216
4217 if test "$wxUSE_EXPAT" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_EXPAT" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_EXPAT" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_EXPAT" = 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-expat: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-expat: 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-macosx-sdk" >&5
4237 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4238
4239 # Check whether --with-macosx-sdk was given.
4240 if test "${with_macosx_sdk+set}" = set; then
4241 withval=$with_macosx_sdk;
4242 wxUSE_MACOSX_SDK=$withval
4243 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4244
4245 fi
4246
4247 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4248 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4249
4250 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4251 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4252
4253 # Check whether --with-macosx-version-min was given.
4254 if test "${with_macosx_version_min+set}" = set; then
4255 withval=$with_macosx_version_min;
4256 wxUSE_MACOSX_VERSION_MIN=$withval
4257 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4258
4259 fi
4260
4261 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4262 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4263
4264
4265
4266 enablestring=disable
4267 defaultval=
4268 if test -z "$defaultval"; then
4269 if test x"$enablestring" = xdisable; then
4270 defaultval=yes
4271 else
4272 defaultval=no
4273 fi
4274 fi
4275
4276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4277 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4278 # Check whether --enable-shared was given.
4279 if test "${enable_shared+set}" = set; then
4280 enableval=$enable_shared;
4281 if test "$enableval" = yes; then
4282 wx_cv_use_shared='wxUSE_SHARED=yes'
4283 else
4284 wx_cv_use_shared='wxUSE_SHARED=no'
4285 fi
4286
4287 else
4288
4289 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4290
4291 fi
4292
4293
4294 eval "$wx_cv_use_shared"
4295
4296 if test x"$enablestring" = xdisable; then
4297 if test $wxUSE_SHARED = yes; then
4298 result=no
4299 else
4300 result=yes
4301 fi
4302 else
4303 result=$wxUSE_SHARED
4304 fi
4305
4306 { echo "$as_me:$LINENO: result: $result" >&5
4307 echo "${ECHO_T}$result" >&6; }
4308
4309
4310 enablestring=disable
4311 defaultval=
4312 if test -z "$defaultval"; then
4313 if test x"$enablestring" = xdisable; then
4314 defaultval=yes
4315 else
4316 defaultval=no
4317 fi
4318 fi
4319
4320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4322 # Check whether --enable-optimise was given.
4323 if test "${enable_optimise+set}" = set; then
4324 enableval=$enable_optimise;
4325 if test "$enableval" = yes; then
4326 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4327 else
4328 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4329 fi
4330
4331 else
4332
4333 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4334
4335 fi
4336
4337
4338 eval "$wx_cv_use_optimise"
4339
4340 if test x"$enablestring" = xdisable; then
4341 if test $wxUSE_OPTIMISE = yes; then
4342 result=no
4343 else
4344 result=yes
4345 fi
4346 else
4347 result=$wxUSE_OPTIMISE
4348 fi
4349
4350 { echo "$as_me:$LINENO: result: $result" >&5
4351 echo "${ECHO_T}$result" >&6; }
4352
4353
4354 enablestring=
4355 defaultval=
4356 if test -z "$defaultval"; then
4357 if test x"$enablestring" = xdisable; then
4358 defaultval=yes
4359 else
4360 defaultval=no
4361 fi
4362 fi
4363
4364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4366 # Check whether --enable-debug was given.
4367 if test "${enable_debug+set}" = set; then
4368 enableval=$enable_debug;
4369 if test "$enableval" = yes; then
4370 wx_cv_use_debug='wxUSE_DEBUG=yes'
4371 else
4372 wx_cv_use_debug='wxUSE_DEBUG=no'
4373 fi
4374
4375 else
4376
4377 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4378
4379 fi
4380
4381
4382 eval "$wx_cv_use_debug"
4383
4384 if test x"$enablestring" = xdisable; then
4385 if test $wxUSE_DEBUG = yes; then
4386 result=no
4387 else
4388 result=yes
4389 fi
4390 else
4391 result=$wxUSE_DEBUG
4392 fi
4393
4394 { echo "$as_me:$LINENO: result: $result" >&5
4395 echo "${ECHO_T}$result" >&6; }
4396
4397
4398 enablestring=
4399 defaultval=
4400 if test -z "$defaultval"; then
4401 if test x"$enablestring" = xdisable; then
4402 defaultval=yes
4403 else
4404 defaultval=no
4405 fi
4406 fi
4407
4408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4410 # Check whether --enable-stl was given.
4411 if test "${enable_stl+set}" = set; then
4412 enableval=$enable_stl;
4413 if test "$enableval" = yes; then
4414 wx_cv_use_stl='wxUSE_STL=yes'
4415 else
4416 wx_cv_use_stl='wxUSE_STL=no'
4417 fi
4418
4419 else
4420
4421 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4422
4423 fi
4424
4425
4426 eval "$wx_cv_use_stl"
4427
4428 if test x"$enablestring" = xdisable; then
4429 if test $wxUSE_STL = yes; then
4430 result=no
4431 else
4432 result=yes
4433 fi
4434 else
4435 result=$wxUSE_STL
4436 fi
4437
4438 { echo "$as_me:$LINENO: result: $result" >&5
4439 echo "${ECHO_T}$result" >&6; }
4440
4441
4442 enablestring=
4443 defaultval=
4444 if test -z "$defaultval"; then
4445 if test x"$enablestring" = xdisable; then
4446 defaultval=yes
4447 else
4448 defaultval=no
4449 fi
4450 fi
4451
4452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4454 # Check whether --enable-std_iostreams was given.
4455 if test "${enable_std_iostreams+set}" = set; then
4456 enableval=$enable_std_iostreams;
4457 if test "$enableval" = yes; then
4458 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4459 else
4460 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4461 fi
4462
4463 else
4464
4465 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4466
4467 fi
4468
4469
4470 eval "$wx_cv_use_std_iostreams"
4471
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_STD_IOSTREAM = yes; then
4474 result=no
4475 else
4476 result=yes
4477 fi
4478 else
4479 result=$wxUSE_STD_IOSTREAM
4480 fi
4481
4482 { echo "$as_me:$LINENO: result: $result" >&5
4483 echo "${ECHO_T}$result" >&6; }
4484
4485
4486 enablestring=
4487 defaultval=
4488 if test -z "$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4490 defaultval=yes
4491 else
4492 defaultval=no
4493 fi
4494 fi
4495
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4498 # Check whether --enable-std_string was given.
4499 if test "${enable_std_string+set}" = set; then
4500 enableval=$enable_std_string;
4501 if test "$enableval" = yes; then
4502 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4503 else
4504 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4505 fi
4506
4507 else
4508
4509 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4510
4511 fi
4512
4513
4514 eval "$wx_cv_use_std_string"
4515
4516 if test x"$enablestring" = xdisable; then
4517 if test $wxUSE_STD_STRING = yes; then
4518 result=no
4519 else
4520 result=yes
4521 fi
4522 else
4523 result=$wxUSE_STD_STRING
4524 fi
4525
4526 { echo "$as_me:$LINENO: result: $result" >&5
4527 echo "${ECHO_T}$result" >&6; }
4528
4529
4530 enablestring=disable
4531 defaultval=
4532 if test -z "$defaultval"; then
4533 if test x"$enablestring" = xdisable; then
4534 defaultval=yes
4535 else
4536 defaultval=no
4537 fi
4538 fi
4539
4540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4542 # Check whether --enable-unicode was given.
4543 if test "${enable_unicode+set}" = set; then
4544 enableval=$enable_unicode;
4545 if test "$enableval" = yes; then
4546 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4547 else
4548 wx_cv_use_unicode='wxUSE_UNICODE=no'
4549 fi
4550
4551 else
4552
4553 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4554
4555 fi
4556
4557
4558 eval "$wx_cv_use_unicode"
4559
4560 if test x"$enablestring" = xdisable; then
4561 if test $wxUSE_UNICODE = yes; then
4562 result=no
4563 else
4564 result=yes
4565 fi
4566 else
4567 result=$wxUSE_UNICODE
4568 fi
4569
4570 { echo "$as_me:$LINENO: result: $result" >&5
4571 echo "${ECHO_T}$result" >&6; }
4572
4573
4574 enablestring=
4575 defaultval=
4576 if test -z "$defaultval"; then
4577 if test x"$enablestring" = xdisable; then
4578 defaultval=yes
4579 else
4580 defaultval=no
4581 fi
4582 fi
4583
4584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4586 # Check whether --enable-mslu was given.
4587 if test "${enable_mslu+set}" = set; then
4588 enableval=$enable_mslu;
4589 if test "$enableval" = yes; then
4590 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4591 else
4592 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4593 fi
4594
4595 else
4596
4597 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4598
4599 fi
4600
4601
4602 eval "$wx_cv_use_mslu"
4603
4604 if test x"$enablestring" = xdisable; then
4605 if test $wxUSE_UNICODE_MSLU = yes; then
4606 result=no
4607 else
4608 result=yes
4609 fi
4610 else
4611 result=$wxUSE_UNICODE_MSLU
4612 fi
4613
4614 { echo "$as_me:$LINENO: result: $result" >&5
4615 echo "${ECHO_T}$result" >&6; }
4616
4617
4618 enablestring=
4619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4621 # Check whether --enable-utf8 was given.
4622 if test "${enable_utf8+set}" = set; then
4623 enableval=$enable_utf8;
4624 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4625
4626 else
4627
4628 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4629
4630 fi
4631
4632
4633 eval "$wx_cv_use_utf8"
4634
4635 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4636 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4637
4638
4639 enablestring=
4640 defaultval=
4641 if test -z "$defaultval"; then
4642 if test x"$enablestring" = xdisable; then
4643 defaultval=yes
4644 else
4645 defaultval=no
4646 fi
4647 fi
4648
4649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4651 # Check whether --enable-utf8only was given.
4652 if test "${enable_utf8only+set}" = set; then
4653 enableval=$enable_utf8only;
4654 if test "$enableval" = yes; then
4655 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4656 else
4657 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4658 fi
4659
4660 else
4661
4662 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4663
4664 fi
4665
4666
4667 eval "$wx_cv_use_utf8only"
4668
4669 if test x"$enablestring" = xdisable; then
4670 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4671 result=no
4672 else
4673 result=yes
4674 fi
4675 else
4676 result=$wxUSE_UNICODE_UTF8_LOCALE
4677 fi
4678
4679 { echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6; }
4681
4682
4683 enablestring=
4684 defaultval=
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4687 defaultval=yes
4688 else
4689 defaultval=no
4690 fi
4691 fi
4692
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 # Check whether --enable-extended_rtti was given.
4696 if test "${enable_extended_rtti+set}" = set; then
4697 enableval=$enable_extended_rtti;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4700 else
4701 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4702 fi
4703
4704 else
4705
4706 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4707
4708 fi
4709
4710
4711 eval "$wx_cv_use_extended_rtti"
4712
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_EXTENDED_RTTI = yes; then
4715 result=no
4716 else
4717 result=yes
4718 fi
4719 else
4720 result=$wxUSE_EXTENDED_RTTI
4721 fi
4722
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4725
4726 if test "$USE_OS2" = 1; then
4727 DEFAULT_wxUSE_OMF=no
4728
4729 enablestring=
4730 defaultval=
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4733 defaultval=yes
4734 else
4735 defaultval=no
4736 fi
4737 fi
4738
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 # Check whether --enable-omf was given.
4742 if test "${enable_omf+set}" = set; then
4743 enableval=$enable_omf;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_omf='wxUSE_OMF=yes'
4746 else
4747 wx_cv_use_omf='wxUSE_OMF=no'
4748 fi
4749
4750 else
4751
4752 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4753
4754 fi
4755
4756
4757 eval "$wx_cv_use_omf"
4758
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_OMF = yes; then
4761 result=no
4762 else
4763 result=yes
4764 fi
4765 else
4766 result=$wxUSE_OMF
4767 fi
4768
4769 { echo "$as_me:$LINENO: result: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4771
4772 fi
4773
4774 if test "$wxUSE_DEBUG" = "yes"; then
4775 DEFAULT_wxUSE_DEBUG_FLAG=yes
4776 DEFAULT_wxUSE_DEBUG_INFO=yes
4777 BUILD=debug
4778 elif test "$wxUSE_DEBUG" = "no"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=no
4780 DEFAULT_wxUSE_DEBUG_INFO=no
4781 BUILD=release
4782 fi
4783
4784
4785 enablestring=
4786 defaultval=
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4789 defaultval=yes
4790 else
4791 defaultval=no
4792 fi
4793 fi
4794
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4797 # Check whether --enable-debug_flag was given.
4798 if test "${enable_debug_flag+set}" = set; then
4799 enableval=$enable_debug_flag;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4802 else
4803 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4804 fi
4805
4806 else
4807
4808 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4809
4810 fi
4811
4812
4813 eval "$wx_cv_use_debug_flag"
4814
4815 if test x"$enablestring" = xdisable; then
4816 if test $wxUSE_DEBUG_FLAG = yes; then
4817 result=no
4818 else
4819 result=yes
4820 fi
4821 else
4822 result=$wxUSE_DEBUG_FLAG
4823 fi
4824
4825 { echo "$as_me:$LINENO: result: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4827
4828
4829 enablestring=
4830 defaultval=
4831 if test -z "$defaultval"; then
4832 if test x"$enablestring" = xdisable; then
4833 defaultval=yes
4834 else
4835 defaultval=no
4836 fi
4837 fi
4838
4839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4840 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4841 # Check whether --enable-debug_info was given.
4842 if test "${enable_debug_info+set}" = set; then
4843 enableval=$enable_debug_info;
4844 if test "$enableval" = yes; then
4845 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4846 else
4847 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4848 fi
4849
4850 else
4851
4852 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4853
4854 fi
4855
4856
4857 eval "$wx_cv_use_debug_info"
4858
4859 if test x"$enablestring" = xdisable; then
4860 if test $wxUSE_DEBUG_INFO = yes; then
4861 result=no
4862 else
4863 result=yes
4864 fi
4865 else
4866 result=$wxUSE_DEBUG_INFO
4867 fi
4868
4869 { echo "$as_me:$LINENO: result: $result" >&5
4870 echo "${ECHO_T}$result" >&6; }
4871
4872
4873 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4874 wxUSE_DEBUG=yes
4875 BUILD=debug
4876 fi
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_gdb was given.
4892 if test "${enable_debug_gdb+set}" = set; then
4893 enableval=$enable_debug_gdb;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4896 else
4897 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_debug_gdb"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_GDB = yes; then
4911 result=no
4912 else
4913 result=yes
4914 fi
4915 else
4916 result=$wxUSE_DEBUG_GDB
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4935 # Check whether --enable-debug_cntxt was given.
4936 if test "${enable_debug_cntxt+set}" = set; then
4937 enableval=$enable_debug_cntxt;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4940 else
4941 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_debug_cntxt"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_DEBUG_CONTEXT = yes; then
4955 result=no
4956 else
4957 result=yes
4958 fi
4959 else
4960 result=$wxUSE_DEBUG_CONTEXT
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4979 # Check whether --enable-mem_tracing was given.
4980 if test "${enable_mem_tracing+set}" = set; then
4981 enableval=$enable_mem_tracing;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4984 else
4985 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_mem_tracing"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_MEM_TRACING = yes; then
4999 result=no
5000 else
5001 result=yes
5002 fi
5003 else
5004 result=$wxUSE_MEM_TRACING
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5023 # Check whether --enable-profile was given.
5024 if test "${enable_profile+set}" = set; then
5025 enableval=$enable_profile;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_profile='wxUSE_PROFILE=yes'
5028 else
5029 wx_cv_use_profile='wxUSE_PROFILE=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_profile"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_PROFILE = yes; then
5043 result=no
5044 else
5045 result=yes
5046 fi
5047 else
5048 result=$wxUSE_PROFILE
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 defaultval=
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5059 defaultval=yes
5060 else
5061 defaultval=no
5062 fi
5063 fi
5064
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5067 # Check whether --enable-no_rtti was given.
5068 if test "${enable_no_rtti+set}" = set; then
5069 enableval=$enable_no_rtti;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5072 else
5073 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5074 fi
5075
5076 else
5077
5078 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5079
5080 fi
5081
5082
5083 eval "$wx_cv_use_no_rtti"
5084
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_NO_RTTI = yes; then
5087 result=no
5088 else
5089 result=yes
5090 fi
5091 else
5092 result=$wxUSE_NO_RTTI
5093 fi
5094
5095 { echo "$as_me:$LINENO: result: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5097
5098
5099 enablestring=
5100 defaultval=
5101 if test -z "$defaultval"; then
5102 if test x"$enablestring" = xdisable; then
5103 defaultval=yes
5104 else
5105 defaultval=no
5106 fi
5107 fi
5108
5109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5111 # Check whether --enable-no_exceptions was given.
5112 if test "${enable_no_exceptions+set}" = set; then
5113 enableval=$enable_no_exceptions;
5114 if test "$enableval" = yes; then
5115 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5116 else
5117 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5118 fi
5119
5120 else
5121
5122 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5123
5124 fi
5125
5126
5127 eval "$wx_cv_use_no_exceptions"
5128
5129 if test x"$enablestring" = xdisable; then
5130 if test $wxUSE_NO_EXCEPTIONS = yes; then
5131 result=no
5132 else
5133 result=yes
5134 fi
5135 else
5136 result=$wxUSE_NO_EXCEPTIONS
5137 fi
5138
5139 { echo "$as_me:$LINENO: result: $result" >&5
5140 echo "${ECHO_T}$result" >&6; }
5141
5142
5143 enablestring=
5144 defaultval=
5145 if test -z "$defaultval"; then
5146 if test x"$enablestring" = xdisable; then
5147 defaultval=yes
5148 else
5149 defaultval=no
5150 fi
5151 fi
5152
5153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5155 # Check whether --enable-permissive was given.
5156 if test "${enable_permissive+set}" = set; then
5157 enableval=$enable_permissive;
5158 if test "$enableval" = yes; then
5159 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5160 else
5161 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5162 fi
5163
5164 else
5165
5166 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5167
5168 fi
5169
5170
5171 eval "$wx_cv_use_permissive"
5172
5173 if test x"$enablestring" = xdisable; then
5174 if test $wxUSE_PERMISSIVE = yes; then
5175 result=no
5176 else
5177 result=yes
5178 fi
5179 else
5180 result=$wxUSE_PERMISSIVE
5181 fi
5182
5183 { echo "$as_me:$LINENO: result: $result" >&5
5184 echo "${ECHO_T}$result" >&6; }
5185
5186
5187 enablestring=
5188 defaultval=
5189 if test -z "$defaultval"; then
5190 if test x"$enablestring" = xdisable; then
5191 defaultval=yes
5192 else
5193 defaultval=no
5194 fi
5195 fi
5196
5197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5199 # Check whether --enable-no_deps was given.
5200 if test "${enable_no_deps+set}" = set; then
5201 enableval=$enable_no_deps;
5202 if test "$enableval" = yes; then
5203 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5204 else
5205 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5206 fi
5207
5208 else
5209
5210 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5211
5212 fi
5213
5214
5215 eval "$wx_cv_use_no_deps"
5216
5217 if test x"$enablestring" = xdisable; then
5218 if test $wxUSE_NO_DEPS = yes; then
5219 result=no
5220 else
5221 result=yes
5222 fi
5223 else
5224 result=$wxUSE_NO_DEPS
5225 fi
5226
5227 { echo "$as_me:$LINENO: result: $result" >&5
5228 echo "${ECHO_T}$result" >&6; }
5229
5230
5231 enablestring=disable
5232 defaultval=
5233 if test -z "$defaultval"; then
5234 if test x"$enablestring" = xdisable; then
5235 defaultval=yes
5236 else
5237 defaultval=no
5238 fi
5239 fi
5240
5241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5243 # Check whether --enable-vararg_macros was given.
5244 if test "${enable_vararg_macros+set}" = set; then
5245 enableval=$enable_vararg_macros;
5246 if test "$enableval" = yes; then
5247 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5248 else
5249 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5250 fi
5251
5252 else
5253
5254 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5255
5256 fi
5257
5258
5259 eval "$wx_cv_use_vararg_macros"
5260
5261 if test x"$enablestring" = xdisable; then
5262 if test $wxUSE_VARARG_MACROS = yes; then
5263 result=no
5264 else
5265 result=yes
5266 fi
5267 else
5268 result=$wxUSE_VARARG_MACROS
5269 fi
5270
5271 { echo "$as_me:$LINENO: result: $result" >&5
5272 echo "${ECHO_T}$result" >&6; }
5273
5274
5275 enablestring=
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5278 # Check whether --enable-universal_binary was given.
5279 if test "${enable_universal_binary+set}" = set; then
5280 enableval=$enable_universal_binary;
5281 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5282
5283 else
5284
5285 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5286
5287 fi
5288
5289
5290 eval "$wx_cv_use_universal_binary"
5291
5292 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5293 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5294
5295
5296
5297 enablestring=
5298 defaultval=
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5301 defaultval=yes
5302 else
5303 defaultval=no
5304 fi
5305 fi
5306
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5309 # Check whether --enable-compat26 was given.
5310 if test "${enable_compat26+set}" = set; then
5311 enableval=$enable_compat26;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5314 else
5315 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5316 fi
5317
5318 else
5319
5320 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5321
5322 fi
5323
5324
5325 eval "$wx_cv_use_compat26"
5326
5327 if test x"$enablestring" = xdisable; then
5328 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5329 result=no
5330 else
5331 result=yes
5332 fi
5333 else
5334 result=$WXWIN_COMPATIBILITY_2_6
5335 fi
5336
5337 { echo "$as_me:$LINENO: result: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5339
5340
5341 enablestring=disable
5342 defaultval=
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5345 defaultval=yes
5346 else
5347 defaultval=no
5348 fi
5349 fi
5350
5351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5353 # Check whether --enable-compat28 was given.
5354 if test "${enable_compat28+set}" = set; then
5355 enableval=$enable_compat28;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5358 else
5359 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5360 fi
5361
5362 else
5363
5364 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5365
5366 fi
5367
5368
5369 eval "$wx_cv_use_compat28"
5370
5371 if test x"$enablestring" = xdisable; then
5372 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5373 result=no
5374 else
5375 result=yes
5376 fi
5377 else
5378 result=$WXWIN_COMPATIBILITY_2_8
5379 fi
5380
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5383
5384
5385
5386 enablestring=disable
5387 defaultval=
5388 if test -z "$defaultval"; then
5389 if test x"$enablestring" = xdisable; then
5390 defaultval=yes
5391 else
5392 defaultval=no
5393 fi
5394 fi
5395
5396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5398 # Check whether --enable-rpath was given.
5399 if test "${enable_rpath+set}" = set; then
5400 enableval=$enable_rpath;
5401 if test "$enableval" = yes; then
5402 wx_cv_use_rpath='wxUSE_RPATH=yes'
5403 else
5404 wx_cv_use_rpath='wxUSE_RPATH=no'
5405 fi
5406
5407 else
5408
5409 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5410
5411 fi
5412
5413
5414 eval "$wx_cv_use_rpath"
5415
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_RPATH = yes; then
5418 result=no
5419 else
5420 result=yes
5421 fi
5422 else
5423 result=$wxUSE_RPATH
5424 fi
5425
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5428
5429
5430
5431 enablestring=
5432 defaultval=
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5435 defaultval=yes
5436 else
5437 defaultval=no
5438 fi
5439 fi
5440
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5443 # Check whether --enable-objc_uniquifying was given.
5444 if test "${enable_objc_uniquifying+set}" = set; then
5445 enableval=$enable_objc_uniquifying;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5448 else
5449 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5450 fi
5451
5452 else
5453
5454 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5455
5456 fi
5457
5458
5459 eval "$wx_cv_use_objc_uniquifying"
5460
5461 if test x"$enablestring" = xdisable; then
5462 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5463 result=no
5464 else
5465 result=yes
5466 fi
5467 else
5468 result=$wxUSE_OBJC_UNIQUIFYING
5469 fi
5470
5471 { echo "$as_me:$LINENO: result: $result" >&5
5472 echo "${ECHO_T}$result" >&6; }
5473
5474
5475
5476 enablestring=disable
5477 defaultval=
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5480 defaultval=yes
5481 else
5482 defaultval=no
5483 fi
5484 fi
5485
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5488 # Check whether --enable-visibility was given.
5489 if test "${enable_visibility+set}" = set; then
5490 enableval=$enable_visibility;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5493 else
5494 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5495 fi
5496
5497 else
5498
5499 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5500
5501 fi
5502
5503
5504 eval "$wx_cv_use_visibility"
5505
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_VISIBILITY = yes; then
5508 result=no
5509 else
5510 result=yes
5511 fi
5512 else
5513 result=$wxUSE_VISIBILITY
5514 fi
5515
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5518
5519
5520
5521
5522 enablestring=
5523 defaultval=$wxUSE_ALL_FEATURES
5524 if test -z "$defaultval"; then
5525 if test x"$enablestring" = xdisable; then
5526 defaultval=yes
5527 else
5528 defaultval=no
5529 fi
5530 fi
5531
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5534 # Check whether --enable-intl was given.
5535 if test "${enable_intl+set}" = set; then
5536 enableval=$enable_intl;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_intl='wxUSE_INTL=yes'
5539 else
5540 wx_cv_use_intl='wxUSE_INTL=no'
5541 fi
5542
5543 else
5544
5545 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5546
5547 fi
5548
5549
5550 eval "$wx_cv_use_intl"
5551
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_INTL = yes; then
5554 result=no
5555 else
5556 result=yes
5557 fi
5558 else
5559 result=$wxUSE_INTL
5560 fi
5561
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5564
5565
5566 enablestring=
5567 defaultval=$wxUSE_ALL_FEATURES
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5570 defaultval=yes
5571 else
5572 defaultval=no
5573 fi
5574 fi
5575
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5578 # Check whether --enable-config was given.
5579 if test "${enable_config+set}" = set; then
5580 enableval=$enable_config;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_config='wxUSE_CONFIG=yes'
5583 else
5584 wx_cv_use_config='wxUSE_CONFIG=no'
5585 fi
5586
5587 else
5588
5589 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5590
5591 fi
5592
5593
5594 eval "$wx_cv_use_config"
5595
5596 if test x"$enablestring" = xdisable; then
5597 if test $wxUSE_CONFIG = yes; then
5598 result=no
5599 else
5600 result=yes
5601 fi
5602 else
5603 result=$wxUSE_CONFIG
5604 fi
5605
5606 { echo "$as_me:$LINENO: result: $result" >&5
5607 echo "${ECHO_T}$result" >&6; }
5608
5609
5610
5611 enablestring=
5612 defaultval=$wxUSE_ALL_FEATURES
5613 if test -z "$defaultval"; then
5614 if test x"$enablestring" = xdisable; then
5615 defaultval=yes
5616 else
5617 defaultval=no
5618 fi
5619 fi
5620
5621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5623 # Check whether --enable-protocols was given.
5624 if test "${enable_protocols+set}" = set; then
5625 enableval=$enable_protocols;
5626 if test "$enableval" = yes; then
5627 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5628 else
5629 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5630 fi
5631
5632 else
5633
5634 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5635
5636 fi
5637
5638
5639 eval "$wx_cv_use_protocols"
5640
5641 if test x"$enablestring" = xdisable; then
5642 if test $wxUSE_PROTOCOL = yes; then
5643 result=no
5644 else
5645 result=yes
5646 fi
5647 else
5648 result=$wxUSE_PROTOCOL
5649 fi
5650
5651 { echo "$as_me:$LINENO: result: $result" >&5
5652 echo "${ECHO_T}$result" >&6; }
5653
5654
5655 enablestring=
5656 defaultval=$wxUSE_ALL_FEATURES
5657 if test -z "$defaultval"; then
5658 if test x"$enablestring" = xdisable; then
5659 defaultval=yes
5660 else
5661 defaultval=no
5662 fi
5663 fi
5664
5665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5667 # Check whether --enable-ftp was given.
5668 if test "${enable_ftp+set}" = set; then
5669 enableval=$enable_ftp;
5670 if test "$enableval" = yes; then
5671 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5672 else
5673 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5674 fi
5675
5676 else
5677
5678 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5679
5680 fi
5681
5682
5683 eval "$wx_cv_use_ftp"
5684
5685 if test x"$enablestring" = xdisable; then
5686 if test $wxUSE_PROTOCOL_FTP = yes; then
5687 result=no
5688 else
5689 result=yes
5690 fi
5691 else
5692 result=$wxUSE_PROTOCOL_FTP
5693 fi
5694
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5697
5698
5699 enablestring=
5700 defaultval=$wxUSE_ALL_FEATURES
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5711 # Check whether --enable-http was given.
5712 if test "${enable_http+set}" = set; then
5713 enableval=$enable_http;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5716 else
5717 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5718 fi
5719
5720 else
5721
5722 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_http"
5728
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_PROTOCOL_HTTP = yes; then
5731 result=no
5732 else
5733 result=yes
5734 fi
5735 else
5736 result=$wxUSE_PROTOCOL_HTTP
5737 fi
5738
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5741
5742
5743 enablestring=
5744 defaultval=$wxUSE_ALL_FEATURES
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5747 defaultval=yes
5748 else
5749 defaultval=no
5750 fi
5751 fi
5752
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5755 # Check whether --enable-fileproto was given.
5756 if test "${enable_fileproto+set}" = set; then
5757 enableval=$enable_fileproto;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5760 else
5761 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5762 fi
5763
5764 else
5765
5766 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_fileproto"
5772
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_PROTOCOL_FILE = yes; then
5775 result=no
5776 else
5777 result=yes
5778 fi
5779 else
5780 result=$wxUSE_PROTOCOL_FILE
5781 fi
5782
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5785
5786
5787 enablestring=
5788 defaultval=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x"$enablestring" = xdisable; then
5791 defaultval=yes
5792 else
5793 defaultval=no
5794 fi
5795 fi
5796
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5799 # Check whether --enable-sockets was given.
5800 if test "${enable_sockets+set}" = set; then
5801 enableval=$enable_sockets;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5804 else
5805 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5806 fi
5807
5808 else
5809
5810 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5811
5812 fi
5813
5814
5815 eval "$wx_cv_use_sockets"
5816
5817 if test x"$enablestring" = xdisable; then
5818 if test $wxUSE_SOCKETS = yes; then
5819 result=no
5820 else
5821 result=yes
5822 fi
5823 else
5824 result=$wxUSE_SOCKETS
5825 fi
5826
5827 { echo "$as_me:$LINENO: result: $result" >&5
5828 echo "${ECHO_T}$result" >&6; }
5829
5830
5831 enablestring=
5832 defaultval=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5835 defaultval=yes
5836 else
5837 defaultval=no
5838 fi
5839 fi
5840
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5843 # Check whether --enable-ipv6 was given.
5844 if test "${enable_ipv6+set}" = set; then
5845 enableval=$enable_ipv6;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5848 else
5849 wx_cv_use_ipv6='wxUSE_IPV6=no'
5850 fi
5851
5852 else
5853
5854 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5855
5856 fi
5857
5858
5859 eval "$wx_cv_use_ipv6"
5860
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_IPV6 = yes; then
5863 result=no
5864 else
5865 result=yes
5866 fi
5867 else
5868 result=$wxUSE_IPV6
5869 fi
5870
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5873
5874
5875 enablestring=
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5879 defaultval=yes
5880 else
5881 defaultval=no
5882 fi
5883 fi
5884
5885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5887 # Check whether --enable-ole was given.
5888 if test "${enable_ole+set}" = set; then
5889 enableval=$enable_ole;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_ole='wxUSE_OLE=yes'
5892 else
5893 wx_cv_use_ole='wxUSE_OLE=no'
5894 fi
5895
5896 else
5897
5898 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5899
5900 fi
5901
5902
5903 eval "$wx_cv_use_ole"
5904
5905 if test x"$enablestring" = xdisable; then
5906 if test $wxUSE_OLE = yes; then
5907 result=no
5908 else
5909 result=yes
5910 fi
5911 else
5912 result=$wxUSE_OLE
5913 fi
5914
5915 { echo "$as_me:$LINENO: result: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5917
5918
5919 enablestring=
5920 defaultval=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x"$enablestring" = xdisable; then
5923 defaultval=yes
5924 else
5925 defaultval=no
5926 fi
5927 fi
5928
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5931 # Check whether --enable-dataobj was given.
5932 if test "${enable_dataobj+set}" = set; then
5933 enableval=$enable_dataobj;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5936 else
5937 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5938 fi
5939
5940 else
5941
5942 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5943
5944 fi
5945
5946
5947 eval "$wx_cv_use_dataobj"
5948
5949 if test x"$enablestring" = xdisable; then
5950 if test $wxUSE_DATAOBJ = yes; then
5951 result=no
5952 else
5953 result=yes
5954 fi
5955 else
5956 result=$wxUSE_DATAOBJ
5957 fi
5958
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5961
5962
5963
5964 enablestring=
5965 defaultval=$wxUSE_ALL_FEATURES
5966 if test -z "$defaultval"; then
5967 if test x"$enablestring" = xdisable; then
5968 defaultval=yes
5969 else
5970 defaultval=no
5971 fi
5972 fi
5973
5974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5976 # Check whether --enable-ipc was given.
5977 if test "${enable_ipc+set}" = set; then
5978 enableval=$enable_ipc;
5979 if test "$enableval" = yes; then
5980 wx_cv_use_ipc='wxUSE_IPC=yes'
5981 else
5982 wx_cv_use_ipc='wxUSE_IPC=no'
5983 fi
5984
5985 else
5986
5987 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5988
5989 fi
5990
5991
5992 eval "$wx_cv_use_ipc"
5993
5994 if test x"$enablestring" = xdisable; then
5995 if test $wxUSE_IPC = yes; then
5996 result=no
5997 else
5998 result=yes
5999 fi
6000 else
6001 result=$wxUSE_IPC
6002 fi
6003
6004 { echo "$as_me:$LINENO: result: $result" >&5
6005 echo "${ECHO_T}$result" >&6; }
6006
6007
6008
6009 enablestring=
6010 defaultval=$wxUSE_ALL_FEATURES
6011 if test -z "$defaultval"; then
6012 if test x"$enablestring" = xdisable; then
6013 defaultval=yes
6014 else
6015 defaultval=no
6016 fi
6017 fi
6018
6019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6020 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6021 # Check whether --enable-baseevtloop was given.
6022 if test "${enable_baseevtloop+set}" = set; then
6023 enableval=$enable_baseevtloop;
6024 if test "$enableval" = yes; then
6025 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6026 else
6027 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6028 fi
6029
6030 else
6031
6032 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6033
6034 fi
6035
6036
6037 eval "$wx_cv_use_baseevtloop"
6038
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6041 result=no
6042 else
6043 result=yes
6044 fi
6045 else
6046 result=$wxUSE_CONSOLE_EVENTLOOP
6047 fi
6048
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6051
6052
6053 enablestring=
6054 defaultval=$wxUSE_ALL_FEATURES
6055 if test -z "$defaultval"; then
6056 if test x"$enablestring" = xdisable; then
6057 defaultval=yes
6058 else
6059 defaultval=no
6060 fi
6061 fi
6062
6063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6064 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6065 # Check whether --enable-epollloop was given.
6066 if test "${enable_epollloop+set}" = set; then
6067 enableval=$enable_epollloop;
6068 if test "$enableval" = yes; then
6069 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6070 else
6071 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6072 fi
6073
6074 else
6075
6076 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6077
6078 fi
6079
6080
6081 eval "$wx_cv_use_epollloop"
6082
6083 if test x"$enablestring" = xdisable; then
6084 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6085 result=no
6086 else
6087 result=yes
6088 fi
6089 else
6090 result=$wxUSE_EPOLL_DISPATCHER
6091 fi
6092
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6095
6096
6097 enablestring=
6098 defaultval=$wxUSE_ALL_FEATURES
6099 if test -z "$defaultval"; then
6100 if test x"$enablestring" = xdisable; then
6101 defaultval=yes
6102 else
6103 defaultval=no
6104 fi
6105 fi
6106
6107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6109 # Check whether --enable-selectloop was given.
6110 if test "${enable_selectloop+set}" = set; then
6111 enableval=$enable_selectloop;
6112 if test "$enableval" = yes; then
6113 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6114 else
6115 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6116 fi
6117
6118 else
6119
6120 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6121
6122 fi
6123
6124
6125 eval "$wx_cv_use_selectloop"
6126
6127 if test x"$enablestring" = xdisable; then
6128 if test $wxUSE_SELECT_DISPATCHER = yes; then
6129 result=no
6130 else
6131 result=yes
6132 fi
6133 else
6134 result=$wxUSE_SELECT_DISPATCHER
6135 fi
6136
6137 { echo "$as_me:$LINENO: result: $result" >&5
6138 echo "${ECHO_T}$result" >&6; }
6139
6140
6141
6142 enablestring=
6143 defaultval=$wxUSE_ALL_FEATURES
6144 if test -z "$defaultval"; then
6145 if test x"$enablestring" = xdisable; then
6146 defaultval=yes
6147 else
6148 defaultval=no
6149 fi
6150 fi
6151
6152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6154 # Check whether --enable-apple_ieee was given.
6155 if test "${enable_apple_ieee+set}" = set; then
6156 enableval=$enable_apple_ieee;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6159 else
6160 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6161 fi
6162
6163 else
6164
6165 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6166
6167 fi
6168
6169
6170 eval "$wx_cv_use_apple_ieee"
6171
6172 if test x"$enablestring" = xdisable; then
6173 if test $wxUSE_APPLE_IEEE = yes; then
6174 result=no
6175 else
6176 result=yes
6177 fi
6178 else
6179 result=$wxUSE_APPLE_IEEE
6180 fi
6181
6182 { echo "$as_me:$LINENO: result: $result" >&5
6183 echo "${ECHO_T}$result" >&6; }
6184
6185
6186 enablestring=
6187 defaultval=$wxUSE_ALL_FEATURES
6188 if test -z "$defaultval"; then
6189 if test x"$enablestring" = xdisable; then
6190 defaultval=yes
6191 else
6192 defaultval=no
6193 fi
6194 fi
6195
6196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6198 # Check whether --enable-arcstream was given.
6199 if test "${enable_arcstream+set}" = set; then
6200 enableval=$enable_arcstream;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6203 else
6204 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6205 fi
6206
6207 else
6208
6209 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6210
6211 fi
6212
6213
6214 eval "$wx_cv_use_arcstream"
6215
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6218 result=no
6219 else
6220 result=yes
6221 fi
6222 else
6223 result=$wxUSE_ARCHIVE_STREAMS
6224 fi
6225
6226 { echo "$as_me:$LINENO: result: $result" >&5
6227 echo "${ECHO_T}$result" >&6; }
6228
6229
6230 enablestring=
6231 defaultval=$wxUSE_ALL_FEATURES
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6234 defaultval=yes
6235 else
6236 defaultval=no
6237 fi
6238 fi
6239
6240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6242 # Check whether --enable-base64 was given.
6243 if test "${enable_base64+set}" = set; then
6244 enableval=$enable_base64;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_base64='wxUSE_BASE64=yes'
6247 else
6248 wx_cv_use_base64='wxUSE_BASE64=no'
6249 fi
6250
6251 else
6252
6253 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6254
6255 fi
6256
6257
6258 eval "$wx_cv_use_base64"
6259
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_BASE64 = yes; then
6262 result=no
6263 else
6264 result=yes
6265 fi
6266 else
6267 result=$wxUSE_BASE64
6268 fi
6269
6270 { echo "$as_me:$LINENO: result: $result" >&5
6271 echo "${ECHO_T}$result" >&6; }
6272
6273
6274 enablestring=
6275 defaultval=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x"$enablestring" = xdisable; then
6278 defaultval=yes
6279 else
6280 defaultval=no
6281 fi
6282 fi
6283
6284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6286 # Check whether --enable-backtrace was given.
6287 if test "${enable_backtrace+set}" = set; then
6288 enableval=$enable_backtrace;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6291 else
6292 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6293 fi
6294
6295 else
6296
6297 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6298
6299 fi
6300
6301
6302 eval "$wx_cv_use_backtrace"
6303
6304 if test x"$enablestring" = xdisable; then
6305 if test $wxUSE_STACKWALKER = yes; then
6306 result=no
6307 else
6308 result=yes
6309 fi
6310 else
6311 result=$wxUSE_STACKWALKER
6312 fi
6313
6314 { echo "$as_me:$LINENO: result: $result" >&5
6315 echo "${ECHO_T}$result" >&6; }
6316
6317
6318 enablestring=
6319 defaultval=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x"$enablestring" = xdisable; then
6322 defaultval=yes
6323 else
6324 defaultval=no
6325 fi
6326 fi
6327
6328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6330 # Check whether --enable-catch_segvs was given.
6331 if test "${enable_catch_segvs+set}" = set; then
6332 enableval=$enable_catch_segvs;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6335 else
6336 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6337 fi
6338
6339 else
6340
6341 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6342
6343 fi
6344
6345
6346 eval "$wx_cv_use_catch_segvs"
6347
6348 if test x"$enablestring" = xdisable; then
6349 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6350 result=no
6351 else
6352 result=yes
6353 fi
6354 else
6355 result=$wxUSE_ON_FATAL_EXCEPTION
6356 fi
6357
6358 { echo "$as_me:$LINENO: result: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6360
6361
6362 enablestring=
6363 defaultval=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x"$enablestring" = xdisable; then
6366 defaultval=yes
6367 else
6368 defaultval=no
6369 fi
6370 fi
6371
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6374 # Check whether --enable-cmdline was given.
6375 if test "${enable_cmdline+set}" = set; then
6376 enableval=$enable_cmdline;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6379 else
6380 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6381 fi
6382
6383 else
6384
6385 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6386
6387 fi
6388
6389
6390 eval "$wx_cv_use_cmdline"
6391
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_CMDLINE_PARSER = yes; then
6394 result=no
6395 else
6396 result=yes
6397 fi
6398 else
6399 result=$wxUSE_CMDLINE_PARSER
6400 fi
6401
6402 { echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6404
6405
6406 enablestring=
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6410 defaultval=yes
6411 else
6412 defaultval=no
6413 fi
6414 fi
6415
6416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6418 # Check whether --enable-datetime was given.
6419 if test "${enable_datetime+set}" = set; then
6420 enableval=$enable_datetime;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6423 else
6424 wx_cv_use_datetime='wxUSE_DATETIME=no'
6425 fi
6426
6427 else
6428
6429 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6430
6431 fi
6432
6433
6434 eval "$wx_cv_use_datetime"
6435
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_DATETIME = yes; then
6438 result=no
6439 else
6440 result=yes
6441 fi
6442 else
6443 result=$wxUSE_DATETIME
6444 fi
6445
6446 { echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6448
6449
6450 enablestring=
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6454 defaultval=yes
6455 else
6456 defaultval=no
6457 fi
6458 fi
6459
6460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6462 # Check whether --enable-debugreport was given.
6463 if test "${enable_debugreport+set}" = set; then
6464 enableval=$enable_debugreport;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6467 else
6468 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6469 fi
6470
6471 else
6472
6473 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6474
6475 fi
6476
6477
6478 eval "$wx_cv_use_debugreport"
6479
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_DEBUGREPORT = yes; then
6482 result=no
6483 else
6484 result=yes
6485 fi
6486 else
6487 result=$wxUSE_DEBUGREPORT
6488 fi
6489
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6492
6493
6494 enablestring=
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6498 defaultval=yes
6499 else
6500 defaultval=no
6501 fi
6502 fi
6503
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6506 # Check whether --enable-dialupman was given.
6507 if test "${enable_dialupman+set}" = set; then
6508 enableval=$enable_dialupman;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6511 else
6512 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6513 fi
6514
6515 else
6516
6517 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6518
6519 fi
6520
6521
6522 eval "$wx_cv_use_dialupman"
6523
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_DIALUP_MANAGER = yes; then
6526 result=no
6527 else
6528 result=yes
6529 fi
6530 else
6531 result=$wxUSE_DIALUP_MANAGER
6532 fi
6533
6534 { echo "$as_me:$LINENO: result: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6536
6537
6538 enablestring=
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6542 defaultval=yes
6543 else
6544 defaultval=no
6545 fi
6546 fi
6547
6548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6550 # Check whether --enable-dynlib was given.
6551 if test "${enable_dynlib+set}" = set; then
6552 enableval=$enable_dynlib;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6555 else
6556 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6557 fi
6558
6559 else
6560
6561 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6562
6563 fi
6564
6565
6566 eval "$wx_cv_use_dynlib"
6567
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_DYNLIB_CLASS = yes; then
6570 result=no
6571 else
6572 result=yes
6573 fi
6574 else
6575 result=$wxUSE_DYNLIB_CLASS
6576 fi
6577
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6580
6581
6582 enablestring=
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6586 defaultval=yes
6587 else
6588 defaultval=no
6589 fi
6590 fi
6591
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6594 # Check whether --enable-dynamicloader was given.
6595 if test "${enable_dynamicloader+set}" = set; then
6596 enableval=$enable_dynamicloader;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6599 else
6600 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6601 fi
6602
6603 else
6604
6605 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6606
6607 fi
6608
6609
6610 eval "$wx_cv_use_dynamicloader"
6611
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_DYNAMIC_LOADER = yes; then
6614 result=no
6615 else
6616 result=yes
6617 fi
6618 else
6619 result=$wxUSE_DYNAMIC_LOADER
6620 fi
6621
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6624
6625
6626 enablestring=
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6630 defaultval=yes
6631 else
6632 defaultval=no
6633 fi
6634 fi
6635
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6638 # Check whether --enable-exceptions was given.
6639 if test "${enable_exceptions+set}" = set; then
6640 enableval=$enable_exceptions;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6643 else
6644 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6645 fi
6646
6647 else
6648
6649 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6650
6651 fi
6652
6653
6654 eval "$wx_cv_use_exceptions"
6655
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_EXCEPTIONS = yes; then
6658 result=no
6659 else
6660 result=yes
6661 fi
6662 else
6663 result=$wxUSE_EXCEPTIONS
6664 fi
6665
6666 { echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6668
6669
6670 enablestring=
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6674 defaultval=yes
6675 else
6676 defaultval=no
6677 fi
6678 fi
6679
6680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6682 # Check whether --enable-ffile was given.
6683 if test "${enable_ffile+set}" = set; then
6684 enableval=$enable_ffile;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_ffile='wxUSE_FFILE=yes'
6687 else
6688 wx_cv_use_ffile='wxUSE_FFILE=no'
6689 fi
6690
6691 else
6692
6693 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6694
6695 fi
6696
6697
6698 eval "$wx_cv_use_ffile"
6699
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_FFILE = yes; then
6702 result=no
6703 else
6704 result=yes
6705 fi
6706 else
6707 result=$wxUSE_FFILE
6708 fi
6709
6710 { echo "$as_me:$LINENO: result: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6712
6713
6714 enablestring=
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6718 defaultval=yes
6719 else
6720 defaultval=no
6721 fi
6722 fi
6723
6724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6726 # Check whether --enable-file was given.
6727 if test "${enable_file+set}" = set; then
6728 enableval=$enable_file;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_file='wxUSE_FILE=yes'
6731 else
6732 wx_cv_use_file='wxUSE_FILE=no'
6733 fi
6734
6735 else
6736
6737 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6738
6739 fi
6740
6741
6742 eval "$wx_cv_use_file"
6743
6744 if test x"$enablestring" = xdisable; then
6745 if test $wxUSE_FILE = yes; then
6746 result=no
6747 else
6748 result=yes
6749 fi
6750 else
6751 result=$wxUSE_FILE
6752 fi
6753
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6756
6757
6758 enablestring=
6759 defaultval=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x"$enablestring" = xdisable; then
6762 defaultval=yes
6763 else
6764 defaultval=no
6765 fi
6766 fi
6767
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6770 # Check whether --enable-filesystem was given.
6771 if test "${enable_filesystem+set}" = set; then
6772 enableval=$enable_filesystem;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6775 else
6776 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6777 fi
6778
6779 else
6780
6781 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6782
6783 fi
6784
6785
6786 eval "$wx_cv_use_filesystem"
6787
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_FILESYSTEM = yes; then
6790 result=no
6791 else
6792 result=yes
6793 fi
6794 else
6795 result=$wxUSE_FILESYSTEM
6796 fi
6797
6798 { echo "$as_me:$LINENO: result: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6800
6801
6802 enablestring=
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6806 defaultval=yes
6807 else
6808 defaultval=no
6809 fi
6810 fi
6811
6812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6814 # Check whether --enable-fontenum was given.
6815 if test "${enable_fontenum+set}" = set; then
6816 enableval=$enable_fontenum;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6819 else
6820 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6821 fi
6822
6823 else
6824
6825 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6826
6827 fi
6828
6829
6830 eval "$wx_cv_use_fontenum"
6831
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_FONTENUM = yes; then
6834 result=no
6835 else
6836 result=yes
6837 fi
6838 else
6839 result=$wxUSE_FONTENUM
6840 fi
6841
6842 { echo "$as_me:$LINENO: result: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6844
6845
6846 enablestring=
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6850 defaultval=yes
6851 else
6852 defaultval=no
6853 fi
6854 fi
6855
6856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6858 # Check whether --enable-fontmap was given.
6859 if test "${enable_fontmap+set}" = set; then
6860 enableval=$enable_fontmap;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6863 else
6864 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6865 fi
6866
6867 else
6868
6869 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6870
6871 fi
6872
6873
6874 eval "$wx_cv_use_fontmap"
6875
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_FONTMAP = yes; then
6878 result=no
6879 else
6880 result=yes
6881 fi
6882 else
6883 result=$wxUSE_FONTMAP
6884 fi
6885
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6888
6889
6890 enablestring=
6891 defaultval=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x"$enablestring" = xdisable; then
6894 defaultval=yes
6895 else
6896 defaultval=no
6897 fi
6898 fi
6899
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6902 # Check whether --enable-fs_archive was given.
6903 if test "${enable_fs_archive+set}" = set; then
6904 enableval=$enable_fs_archive;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6907 else
6908 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6909 fi
6910
6911 else
6912
6913 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6914
6915 fi
6916
6917
6918 eval "$wx_cv_use_fs_archive"
6919
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_FS_ARCHIVE = yes; then
6922 result=no
6923 else
6924 result=yes
6925 fi
6926 else
6927 result=$wxUSE_FS_ARCHIVE
6928 fi
6929
6930 { echo "$as_me:$LINENO: result: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6932
6933
6934 enablestring=
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6938 defaultval=yes
6939 else
6940 defaultval=no
6941 fi
6942 fi
6943
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6946 # Check whether --enable-fs_inet was given.
6947 if test "${enable_fs_inet+set}" = set; then
6948 enableval=$enable_fs_inet;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6951 else
6952 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6953 fi
6954
6955 else
6956
6957 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6958
6959 fi
6960
6961
6962 eval "$wx_cv_use_fs_inet"
6963
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_FS_INET = yes; then
6966 result=no
6967 else
6968 result=yes
6969 fi
6970 else
6971 result=$wxUSE_FS_INET
6972 fi
6973
6974 { echo "$as_me:$LINENO: result: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6976
6977
6978 enablestring=
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6982 defaultval=yes
6983 else
6984 defaultval=no
6985 fi
6986 fi
6987
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6990 # Check whether --enable-fs_zip was given.
6991 if test "${enable_fs_zip+set}" = set; then
6992 enableval=$enable_fs_zip;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6995 else
6996 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6997 fi
6998
6999 else
7000
7001 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7002
7003 fi
7004
7005
7006 eval "$wx_cv_use_fs_zip"
7007
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_FS_ZIP = yes; then
7010 result=no
7011 else
7012 result=yes
7013 fi
7014 else
7015 result=$wxUSE_FS_ZIP
7016 fi
7017
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7020
7021
7022 enablestring=
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7026 defaultval=yes
7027 else
7028 defaultval=no
7029 fi
7030 fi
7031
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7034 # Check whether --enable-geometry was given.
7035 if test "${enable_geometry+set}" = set; then
7036 enableval=$enable_geometry;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7039 else
7040 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7041 fi
7042
7043 else
7044
7045 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7046
7047 fi
7048
7049
7050 eval "$wx_cv_use_geometry"
7051
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_GEOMETRY = yes; then
7054 result=no
7055 else
7056 result=yes
7057 fi
7058 else
7059 result=$wxUSE_GEOMETRY
7060 fi
7061
7062 { echo "$as_me:$LINENO: result: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7064
7065
7066 enablestring=
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7070 defaultval=yes
7071 else
7072 defaultval=no
7073 fi
7074 fi
7075
7076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7077 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7078 # Check whether --enable-log was given.
7079 if test "${enable_log+set}" = set; then
7080 enableval=$enable_log;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_log='wxUSE_LOG=yes'
7083 else
7084 wx_cv_use_log='wxUSE_LOG=no'
7085 fi
7086
7087 else
7088
7089 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7090
7091 fi
7092
7093
7094 eval "$wx_cv_use_log"
7095
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_LOG = yes; then
7098 result=no
7099 else
7100 result=yes
7101 fi
7102 else
7103 result=$wxUSE_LOG
7104 fi
7105
7106 { echo "$as_me:$LINENO: result: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7108
7109
7110 enablestring=
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7114 defaultval=yes
7115 else
7116 defaultval=no
7117 fi
7118 fi
7119
7120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7121 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7122 # Check whether --enable-longlong was given.
7123 if test "${enable_longlong+set}" = set; then
7124 enableval=$enable_longlong;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7127 else
7128 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7129 fi
7130
7131 else
7132
7133 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7134
7135 fi
7136
7137
7138 eval "$wx_cv_use_longlong"
7139
7140 if test x"$enablestring" = xdisable; then
7141 if test $wxUSE_LONGLONG = yes; then
7142 result=no
7143 else
7144 result=yes
7145 fi
7146 else
7147 result=$wxUSE_LONGLONG
7148 fi
7149
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7152
7153
7154 enablestring=
7155 defaultval=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x"$enablestring" = xdisable; then
7158 defaultval=yes
7159 else
7160 defaultval=no
7161 fi
7162 fi
7163
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7166 # Check whether --enable-mimetype was given.
7167 if test "${enable_mimetype+set}" = set; then
7168 enableval=$enable_mimetype;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7171 else
7172 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7173 fi
7174
7175 else
7176
7177 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7178
7179 fi
7180
7181
7182 eval "$wx_cv_use_mimetype"
7183
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_MIMETYPE = yes; then
7186 result=no
7187 else
7188 result=yes
7189 fi
7190 else
7191 result=$wxUSE_MIMETYPE
7192 fi
7193
7194 { echo "$as_me:$LINENO: result: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7196
7197
7198 enablestring=
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7202 defaultval=yes
7203 else
7204 defaultval=no
7205 fi
7206 fi
7207
7208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7210 # Check whether --enable-snglinst was given.
7211 if test "${enable_snglinst+set}" = set; then
7212 enableval=$enable_snglinst;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7215 else
7216 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7217 fi
7218
7219 else
7220
7221 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7222
7223 fi
7224
7225
7226 eval "$wx_cv_use_snglinst"
7227
7228 if test x"$enablestring" = xdisable; then
7229 if test $wxUSE_SNGLINST_CHECKER = yes; then
7230 result=no
7231 else
7232 result=yes
7233 fi
7234 else
7235 result=$wxUSE_SNGLINST_CHECKER
7236 fi
7237
7238 { echo "$as_me:$LINENO: result: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7240
7241
7242 enablestring=
7243 defaultval=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x"$enablestring" = xdisable; then
7246 defaultval=yes
7247 else
7248 defaultval=no
7249 fi
7250 fi
7251
7252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7254 # Check whether --enable-stdpaths was given.
7255 if test "${enable_stdpaths+set}" = set; then
7256 enableval=$enable_stdpaths;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7259 else
7260 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7261 fi
7262
7263 else
7264
7265 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7266
7267 fi
7268
7269
7270 eval "$wx_cv_use_stdpaths"
7271
7272 if test x"$enablestring" = xdisable; then
7273 if test $wxUSE_STDPATHS = yes; then
7274 result=no
7275 else
7276 result=yes
7277 fi
7278 else
7279 result=$wxUSE_STDPATHS
7280 fi
7281
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7284
7285
7286 enablestring=
7287 defaultval=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x"$enablestring" = xdisable; then
7290 defaultval=yes
7291 else
7292 defaultval=no
7293 fi
7294 fi
7295
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7298 # Check whether --enable-stopwatch was given.
7299 if test "${enable_stopwatch+set}" = set; then
7300 enableval=$enable_stopwatch;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7303 else
7304 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7305 fi
7306
7307 else
7308
7309 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7310
7311 fi
7312
7313
7314 eval "$wx_cv_use_stopwatch"
7315
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_STOPWATCH = yes; then
7318 result=no
7319 else
7320 result=yes
7321 fi
7322 else
7323 result=$wxUSE_STOPWATCH
7324 fi
7325
7326 { echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7328
7329
7330 enablestring=
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7334 defaultval=yes
7335 else
7336 defaultval=no
7337 fi
7338 fi
7339
7340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7342 # Check whether --enable-streams was given.
7343 if test "${enable_streams+set}" = set; then
7344 enableval=$enable_streams;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_streams='wxUSE_STREAMS=yes'
7347 else
7348 wx_cv_use_streams='wxUSE_STREAMS=no'
7349 fi
7350
7351 else
7352
7353 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7354
7355 fi
7356
7357
7358 eval "$wx_cv_use_streams"
7359
7360 if test x"$enablestring" = xdisable; then
7361 if test $wxUSE_STREAMS = yes; then
7362 result=no
7363 else
7364 result=yes
7365 fi
7366 else
7367 result=$wxUSE_STREAMS
7368 fi
7369
7370 { echo "$as_me:$LINENO: result: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7372
7373
7374 enablestring=
7375 defaultval=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x"$enablestring" = xdisable; then
7378 defaultval=yes
7379 else
7380 defaultval=no
7381 fi
7382 fi
7383
7384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7386 # Check whether --enable-system_options was given.
7387 if test "${enable_system_options+set}" = set; then
7388 enableval=$enable_system_options;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7391 else
7392 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7393 fi
7394
7395 else
7396
7397 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7398
7399 fi
7400
7401
7402 eval "$wx_cv_use_system_options"
7403
7404 if test x"$enablestring" = xdisable; then
7405 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7406 result=no
7407 else
7408 result=yes
7409 fi
7410 else
7411 result=$wxUSE_SYSTEM_OPTIONS
7412 fi
7413
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7416
7417
7418 enablestring=
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7422 defaultval=yes
7423 else
7424 defaultval=no
7425 fi
7426 fi
7427
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7430 # Check whether --enable-tarstream was given.
7431 if test "${enable_tarstream+set}" = set; then
7432 enableval=$enable_tarstream;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7435 else
7436 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7437 fi
7438
7439 else
7440
7441 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7442
7443 fi
7444
7445
7446 eval "$wx_cv_use_tarstream"
7447
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_TARSTREAM = yes; then
7450 result=no
7451 else
7452 result=yes
7453 fi
7454 else
7455 result=$wxUSE_TARSTREAM
7456 fi
7457
7458 { echo "$as_me:$LINENO: result: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7460
7461
7462 enablestring=
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7466 defaultval=yes
7467 else
7468 defaultval=no
7469 fi
7470 fi
7471
7472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7474 # Check whether --enable-textbuf was given.
7475 if test "${enable_textbuf+set}" = set; then
7476 enableval=$enable_textbuf;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7479 else
7480 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7481 fi
7482
7483 else
7484
7485 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7486
7487 fi
7488
7489
7490 eval "$wx_cv_use_textbuf"
7491
7492 if test x"$enablestring" = xdisable; then
7493 if test $wxUSE_TEXTBUFFER = yes; then
7494 result=no
7495 else
7496 result=yes
7497 fi
7498 else
7499 result=$wxUSE_TEXTBUFFER
7500 fi
7501
7502 { echo "$as_me:$LINENO: result: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7504
7505
7506 enablestring=
7507 defaultval=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x"$enablestring" = xdisable; then
7510 defaultval=yes
7511 else
7512 defaultval=no
7513 fi
7514 fi
7515
7516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7518 # Check whether --enable-textfile was given.
7519 if test "${enable_textfile+set}" = set; then
7520 enableval=$enable_textfile;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7523 else
7524 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7525 fi
7526
7527 else
7528
7529 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7530
7531 fi
7532
7533
7534 eval "$wx_cv_use_textfile"
7535
7536 if test x"$enablestring" = xdisable; then
7537 if test $wxUSE_TEXTFILE = yes; then
7538 result=no
7539 else
7540 result=yes
7541 fi
7542 else
7543 result=$wxUSE_TEXTFILE
7544 fi
7545
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7548
7549
7550 enablestring=
7551 defaultval=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x"$enablestring" = xdisable; then
7554 defaultval=yes
7555 else
7556 defaultval=no
7557 fi
7558 fi
7559
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7562 # Check whether --enable-timer was given.
7563 if test "${enable_timer+set}" = set; then
7564 enableval=$enable_timer;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_timer='wxUSE_TIMER=yes'
7567 else
7568 wx_cv_use_timer='wxUSE_TIMER=no'
7569 fi
7570
7571 else
7572
7573 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7574
7575 fi
7576
7577
7578 eval "$wx_cv_use_timer"
7579
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_TIMER = yes; then
7582 result=no
7583 else
7584 result=yes
7585 fi
7586 else
7587 result=$wxUSE_TIMER
7588 fi
7589
7590 { echo "$as_me:$LINENO: result: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7592
7593
7594 enablestring=
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7598 defaultval=yes
7599 else
7600 defaultval=no
7601 fi
7602 fi
7603
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7606 # Check whether --enable-sound was given.
7607 if test "${enable_sound+set}" = set; then
7608 enableval=$enable_sound;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_sound='wxUSE_SOUND=yes'
7611 else
7612 wx_cv_use_sound='wxUSE_SOUND=no'
7613 fi
7614
7615 else
7616
7617 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7618
7619 fi
7620
7621
7622 eval "$wx_cv_use_sound"
7623
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_SOUND = yes; then
7626 result=no
7627 else
7628 result=yes
7629 fi
7630 else
7631 result=$wxUSE_SOUND
7632 fi
7633
7634 { echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7636
7637
7638 enablestring=
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7642 defaultval=yes
7643 else
7644 defaultval=no
7645 fi
7646 fi
7647
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7650 # Check whether --enable-mediactrl was given.
7651 if test "${enable_mediactrl+set}" = set; then
7652 enableval=$enable_mediactrl;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7655 else
7656 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7657 fi
7658
7659 else
7660
7661 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7662
7663 fi
7664
7665
7666 eval "$wx_cv_use_mediactrl"
7667
7668 if test x"$enablestring" = xdisable; then
7669 if test $wxUSE_MEDIACTRL = yes; then
7670 result=no
7671 else
7672 result=yes
7673 fi
7674 else
7675 result=$wxUSE_MEDIACTRL
7676 fi
7677
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7680
7681
7682 enablestring=
7683 defaultval=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x"$enablestring" = xdisable; then
7686 defaultval=yes
7687 else
7688 defaultval=no
7689 fi
7690 fi
7691
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7694 # Check whether --enable-gstreamer8 was given.
7695 if test "${enable_gstreamer8+set}" = set; then
7696 enableval=$enable_gstreamer8;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7699 else
7700 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7701 fi
7702
7703 else
7704
7705 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7706
7707 fi
7708
7709
7710 eval "$wx_cv_use_gstreamer8"
7711
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_GSTREAMER8 = yes; then
7714 result=no
7715 else
7716 result=yes
7717 fi
7718 else
7719 result=$wxUSE_GSTREAMER8
7720 fi
7721
7722 { echo "$as_me:$LINENO: result: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7724
7725
7726 enablestring=
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7730 defaultval=yes
7731 else
7732 defaultval=no
7733 fi
7734 fi
7735
7736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7737 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7738 # Check whether --enable-printfposparam was given.
7739 if test "${enable_printfposparam+set}" = set; then
7740 enableval=$enable_printfposparam;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7743 else
7744 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7745 fi
7746
7747 else
7748
7749 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7750
7751 fi
7752
7753
7754 eval "$wx_cv_use_printfposparam"
7755
7756 if test x"$enablestring" = xdisable; then
7757 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7758 result=no
7759 else
7760 result=yes
7761 fi
7762 else
7763 result=$wxUSE_PRINTF_POS_PARAMS
7764 fi
7765
7766 { echo "$as_me:$LINENO: result: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7768
7769
7770 enablestring=
7771 defaultval=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x"$enablestring" = xdisable; then
7774 defaultval=yes
7775 else
7776 defaultval=no
7777 fi
7778 fi
7779
7780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7782 # Check whether --enable-zipstream was given.
7783 if test "${enable_zipstream+set}" = set; then
7784 enableval=$enable_zipstream;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7787 else
7788 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7789 fi
7790
7791 else
7792
7793 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7794
7795 fi
7796
7797
7798 eval "$wx_cv_use_zipstream"
7799
7800 if test x"$enablestring" = xdisable; then
7801 if test $wxUSE_ZIPSTREAM = yes; then
7802 result=no
7803 else
7804 result=yes
7805 fi
7806 else
7807 result=$wxUSE_ZIPSTREAM
7808 fi
7809
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7812
7813
7814
7815 enablestring=
7816 defaultval=$wxUSE_ALL_FEATURES
7817 if test -z "$defaultval"; then
7818 if test x"$enablestring" = xdisable; then
7819 defaultval=yes
7820 else
7821 defaultval=no
7822 fi
7823 fi
7824
7825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7827 # Check whether --enable-url was given.
7828 if test "${enable_url+set}" = set; then
7829 enableval=$enable_url;
7830 if test "$enableval" = yes; then
7831 wx_cv_use_url='wxUSE_URL=yes'
7832 else
7833 wx_cv_use_url='wxUSE_URL=no'
7834 fi
7835
7836 else
7837
7838 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7839
7840 fi
7841
7842
7843 eval "$wx_cv_use_url"
7844
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_URL = yes; then
7847 result=no
7848 else
7849 result=yes
7850 fi
7851 else
7852 result=$wxUSE_URL
7853 fi
7854
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7857
7858
7859 enablestring=
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7863 defaultval=yes
7864 else
7865 defaultval=no
7866 fi
7867 fi
7868
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7871 # Check whether --enable-variant was given.
7872 if test "${enable_variant+set}" = set; then
7873 enableval=$enable_variant;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_variant='wxUSE_VARIANT=yes'
7876 else
7877 wx_cv_use_variant='wxUSE_VARIANT=no'
7878 fi
7879
7880 else
7881
7882 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7883
7884 fi
7885
7886
7887 eval "$wx_cv_use_variant"
7888
7889 if test x"$enablestring" = xdisable; then
7890 if test $wxUSE_VARIANT = yes; then
7891 result=no
7892 else
7893 result=yes
7894 fi
7895 else
7896 result=$wxUSE_VARIANT
7897 fi
7898
7899 { echo "$as_me:$LINENO: result: $result" >&5
7900 echo "${ECHO_T}$result" >&6; }
7901
7902
7903 enablestring=
7904 defaultval=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x"$enablestring" = xdisable; then
7907 defaultval=yes
7908 else
7909 defaultval=no
7910 fi
7911 fi
7912
7913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7915 # Check whether --enable-protocol was given.
7916 if test "${enable_protocol+set}" = set; then
7917 enableval=$enable_protocol;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7920 else
7921 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7922 fi
7923
7924 else
7925
7926 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7927
7928 fi
7929
7930
7931 eval "$wx_cv_use_protocol"
7932
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_PROTOCOL = yes; then
7935 result=no
7936 else
7937 result=yes
7938 fi
7939 else
7940 result=$wxUSE_PROTOCOL
7941 fi
7942
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7945
7946
7947 enablestring=
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7951 defaultval=yes
7952 else
7953 defaultval=no
7954 fi
7955 fi
7956
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7959 # Check whether --enable-protocol_http was given.
7960 if test "${enable_protocol_http+set}" = set; then
7961 enableval=$enable_protocol_http;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7964 else
7965 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7966 fi
7967
7968 else
7969
7970 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7971
7972 fi
7973
7974
7975 eval "$wx_cv_use_protocol_http"
7976
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_PROTOCOL_HTTP = yes; then
7979 result=no
7980 else
7981 result=yes
7982 fi
7983 else
7984 result=$wxUSE_PROTOCOL_HTTP
7985 fi
7986
7987 { echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7989
7990
7991 enablestring=
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
7995 defaultval=yes
7996 else
7997 defaultval=no
7998 fi
7999 fi
8000
8001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8003 # Check whether --enable-protocol_ftp was given.
8004 if test "${enable_protocol_ftp+set}" = set; then
8005 enableval=$enable_protocol_ftp;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8008 else
8009 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8010 fi
8011
8012 else
8013
8014 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8015
8016 fi
8017
8018
8019 eval "$wx_cv_use_protocol_ftp"
8020
8021 if test x"$enablestring" = xdisable; then
8022 if test $wxUSE_PROTOCOL_FTP = yes; then
8023 result=no
8024 else
8025 result=yes
8026 fi
8027 else
8028 result=$wxUSE_PROTOCOL_FTP
8029 fi
8030
8031 { echo "$as_me:$LINENO: result: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8033
8034
8035 enablestring=
8036 defaultval=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x"$enablestring" = xdisable; then
8039 defaultval=yes
8040 else
8041 defaultval=no
8042 fi
8043 fi
8044
8045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8047 # Check whether --enable-protocol_file was given.
8048 if test "${enable_protocol_file+set}" = set; then
8049 enableval=$enable_protocol_file;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8052 else
8053 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8054 fi
8055
8056 else
8057
8058 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8059
8060 fi
8061
8062
8063 eval "$wx_cv_use_protocol_file"
8064
8065 if test x"$enablestring" = xdisable; then
8066 if test $wxUSE_PROTOCOL_FILE = yes; then
8067 result=no
8068 else
8069 result=yes
8070 fi
8071 else
8072 result=$wxUSE_PROTOCOL_FILE
8073 fi
8074
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8077
8078
8079
8080 enablestring=
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8084 defaultval=yes
8085 else
8086 defaultval=no
8087 fi
8088 fi
8089
8090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8092 # Check whether --enable-threads was given.
8093 if test "${enable_threads+set}" = set; then
8094 enableval=$enable_threads;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_threads='wxUSE_THREADS=yes'
8097 else
8098 wx_cv_use_threads='wxUSE_THREADS=no'
8099 fi
8100
8101 else
8102
8103 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8104
8105 fi
8106
8107
8108 eval "$wx_cv_use_threads"
8109
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_THREADS = yes; then
8112 result=no
8113 else
8114 result=yes
8115 fi
8116 else
8117 result=$wxUSE_THREADS
8118 fi
8119
8120 { echo "$as_me:$LINENO: result: $result" >&5
8121 echo "${ECHO_T}$result" >&6; }
8122
8123
8124
8125 enablestring=
8126 defaultval=
8127 if test -z "$defaultval"; then
8128 if test x"$enablestring" = xdisable; then
8129 defaultval=yes
8130 else
8131 defaultval=no
8132 fi
8133 fi
8134
8135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8137 # Check whether --enable-iniconf was given.
8138 if test "${enable_iniconf+set}" = set; then
8139 enableval=$enable_iniconf;
8140 if test "$enableval" = yes; then
8141 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8142 else
8143 wx_cv_use_iniconf='wxUSE_INICONF=no'
8144 fi
8145
8146 else
8147
8148 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8149
8150 fi
8151
8152
8153 eval "$wx_cv_use_iniconf"
8154
8155 if test x"$enablestring" = xdisable; then
8156 if test $wxUSE_INICONF = yes; then
8157 result=no
8158 else
8159 result=yes
8160 fi
8161 else
8162 result=$wxUSE_INICONF
8163 fi
8164
8165 { echo "$as_me:$LINENO: result: $result" >&5
8166 echo "${ECHO_T}$result" >&6; }
8167
8168
8169 enablestring=
8170 defaultval=$wxUSE_ALL_FEATURES
8171 if test -z "$defaultval"; then
8172 if test x"$enablestring" = xdisable; then
8173 defaultval=yes
8174 else
8175 defaultval=no
8176 fi
8177 fi
8178
8179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8181 # Check whether --enable-regkey was given.
8182 if test "${enable_regkey+set}" = set; then
8183 enableval=$enable_regkey;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8186 else
8187 wx_cv_use_regkey='wxUSE_REGKEY=no'
8188 fi
8189
8190 else
8191
8192 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8193
8194 fi
8195
8196
8197 eval "$wx_cv_use_regkey"
8198
8199 if test x"$enablestring" = xdisable; then
8200 if test $wxUSE_REGKEY = yes; then
8201 result=no
8202 else
8203 result=yes
8204 fi
8205 else
8206 result=$wxUSE_REGKEY
8207 fi
8208
8209 { echo "$as_me:$LINENO: result: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8211
8212
8213 if test "$wxUSE_GUI" = "yes"; then
8214
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8229 # Check whether --enable-docview was given.
8230 if test "${enable_docview+set}" = set; then
8231 enableval=$enable_docview;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8234 else
8235 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8236 fi
8237
8238 else
8239
8240 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8241
8242 fi
8243
8244
8245 eval "$wx_cv_use_docview"
8246
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8249 result=no
8250 else
8251 result=yes
8252 fi
8253 else
8254 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8255 fi
8256
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8259
8260
8261 enablestring=
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8265 defaultval=yes
8266 else
8267 defaultval=no
8268 fi
8269 fi
8270
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8273 # Check whether --enable-help was given.
8274 if test "${enable_help+set}" = set; then
8275 enableval=$enable_help;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_help='wxUSE_HELP=yes'
8278 else
8279 wx_cv_use_help='wxUSE_HELP=no'
8280 fi
8281
8282 else
8283
8284 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_help"
8290
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_HELP = yes; then
8293 result=no
8294 else
8295 result=yes
8296 fi
8297 else
8298 result=$wxUSE_HELP
8299 fi
8300
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8303
8304
8305 enablestring=
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8309 defaultval=yes
8310 else
8311 defaultval=no
8312 fi
8313 fi
8314
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8317 # Check whether --enable-mshtmlhelp was given.
8318 if test "${enable_mshtmlhelp+set}" = set; then
8319 enableval=$enable_mshtmlhelp;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8322 else
8323 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8324 fi
8325
8326 else
8327
8328 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8329
8330 fi
8331
8332
8333 eval "$wx_cv_use_mshtmlhelp"
8334
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_MS_HTML_HELP = yes; then
8337 result=no
8338 else
8339 result=yes
8340 fi
8341 else
8342 result=$wxUSE_MS_HTML_HELP
8343 fi
8344
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8347
8348
8349 enablestring=
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8353 defaultval=yes
8354 else
8355 defaultval=no
8356 fi
8357 fi
8358
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8361 # Check whether --enable-html was given.
8362 if test "${enable_html+set}" = set; then
8363 enableval=$enable_html;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_html='wxUSE_HTML=yes'
8366 else
8367 wx_cv_use_html='wxUSE_HTML=no'
8368 fi
8369
8370 else
8371
8372 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8373
8374 fi
8375
8376
8377 eval "$wx_cv_use_html"
8378
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_HTML = yes; then
8381 result=no
8382 else
8383 result=yes
8384 fi
8385 else
8386 result=$wxUSE_HTML
8387 fi
8388
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8391
8392
8393 enablestring=
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8397 defaultval=yes
8398 else
8399 defaultval=no
8400 fi
8401 fi
8402
8403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8405 # Check whether --enable-htmlhelp was given.
8406 if test "${enable_htmlhelp+set}" = set; then
8407 enableval=$enable_htmlhelp;
8408 if test "$enableval" = yes; then
8409 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8410 else
8411 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8412 fi
8413
8414 else
8415
8416 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8417
8418 fi
8419
8420
8421 eval "$wx_cv_use_htmlhelp"
8422
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_WXHTML_HELP = yes; then
8425 result=no
8426 else
8427 result=yes
8428 fi
8429 else
8430 result=$wxUSE_WXHTML_HELP
8431 fi
8432
8433 { echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8435
8436
8437 enablestring=
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8441 defaultval=yes
8442 else
8443 defaultval=no
8444 fi
8445 fi
8446
8447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8449 # Check whether --enable-xrc was given.
8450 if test "${enable_xrc+set}" = set; then
8451 enableval=$enable_xrc;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_xrc='wxUSE_XRC=yes'
8454 else
8455 wx_cv_use_xrc='wxUSE_XRC=no'
8456 fi
8457
8458 else
8459
8460 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8461
8462 fi
8463
8464
8465 eval "$wx_cv_use_xrc"
8466
8467 if test x"$enablestring" = xdisable; then
8468 if test $wxUSE_XRC = yes; then
8469 result=no
8470 else
8471 result=yes
8472 fi
8473 else
8474 result=$wxUSE_XRC
8475 fi
8476
8477 { echo "$as_me:$LINENO: result: $result" >&5
8478 echo "${ECHO_T}$result" >&6; }
8479
8480
8481 enablestring=
8482 defaultval=$wxUSE_ALL_FEATURES
8483 if test -z "$defaultval"; then
8484 if test x"$enablestring" = xdisable; then
8485 defaultval=yes
8486 else
8487 defaultval=no
8488 fi
8489 fi
8490
8491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8493 # Check whether --enable-aui was given.
8494 if test "${enable_aui+set}" = set; then
8495 enableval=$enable_aui;
8496 if test "$enableval" = yes; then
8497 wx_cv_use_aui='wxUSE_AUI=yes'
8498 else
8499 wx_cv_use_aui='wxUSE_AUI=no'
8500 fi
8501
8502 else
8503
8504 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8505
8506 fi
8507
8508
8509 eval "$wx_cv_use_aui"
8510
8511 if test x"$enablestring" = xdisable; then
8512 if test $wxUSE_AUI = yes; then
8513 result=no
8514 else
8515 result=yes
8516 fi
8517 else
8518 result=$wxUSE_AUI
8519 fi
8520
8521 { echo "$as_me:$LINENO: result: $result" >&5
8522 echo "${ECHO_T}$result" >&6; }
8523
8524
8525 enablestring=
8526 defaultval=$wxUSE_ALL_FEATURES
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8529 defaultval=yes
8530 else
8531 defaultval=no
8532 fi
8533 fi
8534
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8537 # Check whether --enable-stc was given.
8538 if test "${enable_stc+set}" = set; then
8539 enableval=$enable_stc;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_stc='wxUSE_STC=yes'
8542 else
8543 wx_cv_use_stc='wxUSE_STC=no'
8544 fi
8545
8546 else
8547
8548 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8549
8550 fi
8551
8552
8553 eval "$wx_cv_use_stc"
8554
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_STC = yes; then
8557 result=no
8558 else
8559 result=yes
8560 fi
8561 else
8562 result=$wxUSE_STC
8563 fi
8564
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8567
8568
8569 enablestring=
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8581 # Check whether --enable-constraints was given.
8582 if test "${enable_constraints+set}" = set; then
8583 enableval=$enable_constraints;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8586 else
8587 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_constraints"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_CONSTRAINTS = yes; then
8601 result=no
8602 else
8603 result=yes
8604 fi
8605 else
8606 result=$wxUSE_CONSTRAINTS
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 enablestring=
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8617 defaultval=yes
8618 else
8619 defaultval=no
8620 fi
8621 fi
8622
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8625 # Check whether --enable-printarch was given.
8626 if test "${enable_printarch+set}" = set; then
8627 enableval=$enable_printarch;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8630 else
8631 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8632 fi
8633
8634 else
8635
8636 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8637
8638 fi
8639
8640
8641 eval "$wx_cv_use_printarch"
8642
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8645 result=no
8646 else
8647 result=yes
8648 fi
8649 else
8650 result=$wxUSE_PRINTING_ARCHITECTURE
8651 fi
8652
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8655
8656
8657 enablestring=
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8661 defaultval=yes
8662 else
8663 defaultval=no
8664 fi
8665 fi
8666
8667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8669 # Check whether --enable-mdi was given.
8670 if test "${enable_mdi+set}" = set; then
8671 enableval=$enable_mdi;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_mdi='wxUSE_MDI=yes'
8674 else
8675 wx_cv_use_mdi='wxUSE_MDI=no'
8676 fi
8677
8678 else
8679
8680 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8681
8682 fi
8683
8684
8685 eval "$wx_cv_use_mdi"
8686
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_MDI = yes; then
8689 result=no
8690 else
8691 result=yes
8692 fi
8693 else
8694 result=$wxUSE_MDI
8695 fi
8696
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8699
8700
8701 enablestring=
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8705 defaultval=yes
8706 else
8707 defaultval=no
8708 fi
8709 fi
8710
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8713 # Check whether --enable-mdidoc was given.
8714 if test "${enable_mdidoc+set}" = set; then
8715 enableval=$enable_mdidoc;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8718 else
8719 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8720 fi
8721
8722 else
8723
8724 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8725
8726 fi
8727
8728
8729 eval "$wx_cv_use_mdidoc"
8730
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8733 result=no
8734 else
8735 result=yes
8736 fi
8737 else
8738 result=$wxUSE_MDI_ARCHITECTURE
8739 fi
8740
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8743
8744
8745 enablestring=
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8749 defaultval=yes
8750 else
8751 defaultval=no
8752 fi
8753 fi
8754
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8757 # Check whether --enable-loggui was given.
8758 if test "${enable_loggui+set}" = set; then
8759 enableval=$enable_loggui;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8762 else
8763 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8764 fi
8765
8766 else
8767
8768 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8769
8770 fi
8771
8772
8773 eval "$wx_cv_use_loggui"
8774
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_LOGGUI = yes; then
8777 result=no
8778 else
8779 result=yes
8780 fi
8781 else
8782 result=$wxUSE_LOGGUI
8783 fi
8784
8785 { echo "$as_me:$LINENO: result: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8787
8788
8789 enablestring=
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8793 defaultval=yes
8794 else
8795 defaultval=no
8796 fi
8797 fi
8798
8799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8801 # Check whether --enable-logwin was given.
8802 if test "${enable_logwin+set}" = set; then
8803 enableval=$enable_logwin;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8806 else
8807 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8808 fi
8809
8810 else
8811
8812 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8813
8814 fi
8815
8816
8817 eval "$wx_cv_use_logwin"
8818
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_LOGWINDOW = yes; then
8821 result=no
8822 else
8823 result=yes
8824 fi
8825 else
8826 result=$wxUSE_LOGWINDOW
8827 fi
8828
8829 { echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8831
8832
8833 enablestring=
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8837 defaultval=yes
8838 else
8839 defaultval=no
8840 fi
8841 fi
8842
8843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8845 # Check whether --enable-logdialog was given.
8846 if test "${enable_logdialog+set}" = set; then
8847 enableval=$enable_logdialog;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8850 else
8851 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8852 fi
8853
8854 else
8855
8856 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8857
8858 fi
8859
8860
8861 eval "$wx_cv_use_logdialog"
8862
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_LOGDIALOG = yes; then
8865 result=no
8866 else
8867 result=yes
8868 fi
8869 else
8870 result=$wxUSE_LOGDIALOG
8871 fi
8872
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8875
8876
8877 enablestring=
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8881 defaultval=yes
8882 else
8883 defaultval=no
8884 fi
8885 fi
8886
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8889 # Check whether --enable-webkit was given.
8890 if test "${enable_webkit+set}" = set; then
8891 enableval=$enable_webkit;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8894 else
8895 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8896 fi
8897
8898 else
8899
8900 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8901
8902 fi
8903
8904
8905 eval "$wx_cv_use_webkit"
8906
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_WEBKIT = yes; then
8909 result=no
8910 else
8911 result=yes
8912 fi
8913 else
8914 result=$wxUSE_WEBKIT
8915 fi
8916
8917 { echo "$as_me:$LINENO: result: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8919
8920
8921 enablestring=
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8925 defaultval=yes
8926 else
8927 defaultval=no
8928 fi
8929 fi
8930
8931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8933 # Check whether --enable-richtext was given.
8934 if test "${enable_richtext+set}" = set; then
8935 enableval=$enable_richtext;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8938 else
8939 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8940 fi
8941
8942 else
8943
8944 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8945
8946 fi
8947
8948
8949 eval "$wx_cv_use_richtext"
8950
8951 if test x"$enablestring" = xdisable; then
8952 if test $wxUSE_RICHTEXT = yes; then
8953 result=no
8954 else
8955 result=yes
8956 fi
8957 else
8958 result=$wxUSE_RICHTEXT
8959 fi
8960
8961 { echo "$as_me:$LINENO: result: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8963
8964
8965 enablestring=
8966 defaultval=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x"$enablestring" = xdisable; then
8969 defaultval=yes
8970 else
8971 defaultval=no
8972 fi
8973 fi
8974
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8977 # Check whether --enable-graphics_ctx was given.
8978 if test "${enable_graphics_ctx+set}" = set; then
8979 enableval=$enable_graphics_ctx;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8982 else
8983 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8984 fi
8985
8986 else
8987
8988 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8989
8990 fi
8991
8992
8993 eval "$wx_cv_use_graphics_ctx"
8994
8995 if test x"$enablestring" = xdisable; then
8996 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8997 result=no
8998 else
8999 result=yes
9000 fi
9001 else
9002 result=$wxUSE_GRAPHICS_CONTEXT
9003 fi
9004
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9007
9008
9009 enablestring=
9010 defaultval=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x"$enablestring" = xdisable; then
9013 defaultval=yes
9014 else
9015 defaultval=no
9016 fi
9017 fi
9018
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9021 # Check whether --enable-postscript was given.
9022 if test "${enable_postscript+set}" = set; then
9023 enableval=$enable_postscript;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9026 else
9027 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9028 fi
9029
9030 else
9031
9032 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9033
9034 fi
9035
9036
9037 eval "$wx_cv_use_postscript"
9038
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_POSTSCRIPT = yes; then
9041 result=no
9042 else
9043 result=yes
9044 fi
9045 else
9046 result=$wxUSE_POSTSCRIPT
9047 fi
9048
9049 { echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9051
9052
9053 enablestring=
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9057 defaultval=yes
9058 else
9059 defaultval=no
9060 fi
9061 fi
9062
9063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9065 # Check whether --enable-svg was given.
9066 if test "${enable_svg+set}" = set; then
9067 enableval=$enable_svg;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_svg='wxUSE_SVG=yes'
9070 else
9071 wx_cv_use_svg='wxUSE_SVG=no'
9072 fi
9073
9074 else
9075
9076 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9077
9078 fi
9079
9080
9081 eval "$wx_cv_use_svg"
9082
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_SVG = yes; then
9085 result=no
9086 else
9087 result=yes
9088 fi
9089 else
9090 result=$wxUSE_SVG
9091 fi
9092
9093 { echo "$as_me:$LINENO: result: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9095
9096
9097
9098
9099 enablestring=
9100 defaultval=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x"$enablestring" = xdisable; then
9103 defaultval=yes
9104 else
9105 defaultval=no
9106 fi
9107 fi
9108
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9111 # Check whether --enable-clipboard was given.
9112 if test "${enable_clipboard+set}" = set; then
9113 enableval=$enable_clipboard;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9116 else
9117 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9118 fi
9119
9120 else
9121
9122 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9123
9124 fi
9125
9126
9127 eval "$wx_cv_use_clipboard"
9128
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_CLIPBOARD = yes; then
9131 result=no
9132 else
9133 result=yes
9134 fi
9135 else
9136 result=$wxUSE_CLIPBOARD
9137 fi
9138
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9141
9142
9143 enablestring=
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9147 defaultval=yes
9148 else
9149 defaultval=no
9150 fi
9151 fi
9152
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9155 # Check whether --enable-dnd was given.
9156 if test "${enable_dnd+set}" = set; then
9157 enableval=$enable_dnd;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9160 else
9161 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9162 fi
9163
9164 else
9165
9166 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9167
9168 fi
9169
9170
9171 eval "$wx_cv_use_dnd"
9172
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_DRAG_AND_DROP = yes; then
9175 result=no
9176 else
9177 result=yes
9178 fi
9179 else
9180 result=$wxUSE_DRAG_AND_DROP
9181 fi
9182
9183 { echo "$as_me:$LINENO: result: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9185
9186
9187 enablestring=
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9191 defaultval=yes
9192 else
9193 defaultval=no
9194 fi
9195 fi
9196
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9199 # Check whether --enable-metafile was given.
9200 if test "${enable_metafile+set}" = set; then
9201 enableval=$enable_metafile;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9204 else
9205 wx_cv_use_metafile='wxUSE_METAFILE=no'
9206 fi
9207
9208 else
9209
9210 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9211
9212 fi
9213
9214
9215 eval "$wx_cv_use_metafile"
9216
9217 if test x"$enablestring" = xdisable; then
9218 if test $wxUSE_METAFILE = yes; then
9219 result=no
9220 else
9221 result=yes
9222 fi
9223 else
9224 result=$wxUSE_METAFILE
9225 fi
9226
9227 { echo "$as_me:$LINENO: result: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9229
9230
9231
9232 DEFAULT_wxUSE_CONTROLS=none
9233
9234 enablestring=disable
9235 defaultval=
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9238 defaultval=yes
9239 else
9240 defaultval=no
9241 fi
9242 fi
9243
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9246 # Check whether --enable-controls was given.
9247 if test "${enable_controls+set}" = set; then
9248 enableval=$enable_controls;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9251 else
9252 wx_cv_use_controls='wxUSE_CONTROLS=no'
9253 fi
9254
9255 else
9256
9257 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9258
9259 fi
9260
9261
9262 eval "$wx_cv_use_controls"
9263
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_CONTROLS = yes; then
9266 result=no
9267 else
9268 result=yes
9269 fi
9270 else
9271 result=$wxUSE_CONTROLS
9272 fi
9273
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9276
9277
9278 if test "$wxUSE_CONTROLS" = "yes"; then
9279 DEFAULT_wxUSE_ACCEL=yes
9280 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9281 DEFAULT_wxUSE_BMPBUTTON=yes
9282 DEFAULT_wxUSE_BUTTON=yes
9283 DEFAULT_wxUSE_CALCTRL=yes
9284 DEFAULT_wxUSE_CARET=yes
9285 DEFAULT_wxUSE_COMBOBOX=yes
9286 DEFAULT_wxUSE_CHECKBOX=yes
9287 DEFAULT_wxUSE_CHECKLISTBOX=yes
9288 DEFAULT_wxUSE_CHOICE=yes
9289 DEFAULT_wxUSE_CHOICEBOOK=yes
9290 DEFAULT_wxUSE_COLLPANE=yes
9291 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9292 DEFAULT_wxUSE_COMBOBOX=yes
9293 DEFAULT_wxUSE_DATEPICKCTRL=yes
9294 DEFAULT_wxUSE_DISPLAY=yes
9295 DEFAULT_wxUSE_DETECT_SM=yes
9296 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9297 DEFAULT_wxUSE_FILECTRL=yes
9298 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9299 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9300 DEFAULT_wxUSE_GAUGE=yes
9301 DEFAULT_wxUSE_GRID=yes
9302 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9303 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9304 DEFAULT_wxUSE_IMAGLIST=yes
9305 DEFAULT_wxUSE_LISTBOOK=yes
9306 DEFAULT_wxUSE_LISTBOX=yes
9307 DEFAULT_wxUSE_LISTCTRL=yes
9308 DEFAULT_wxUSE_NOTEBOOK=yes
9309 DEFAULT_wxUSE_RADIOBOX=yes
9310 DEFAULT_wxUSE_RADIOBTN=yes
9311 DEFAULT_wxUSE_SASH=yes
9312 DEFAULT_wxUSE_SCROLLBAR=yes
9313 DEFAULT_wxUSE_SEARCHCTRL=yes
9314 DEFAULT_wxUSE_SLIDER=yes
9315 DEFAULT_wxUSE_SPINBTN=yes
9316 DEFAULT_wxUSE_SPINCTRL=yes
9317 DEFAULT_wxUSE_SPLITTER=yes
9318 DEFAULT_wxUSE_STATBMP=yes
9319 DEFAULT_wxUSE_STATBOX=yes
9320 DEFAULT_wxUSE_STATLINE=yes
9321 DEFAULT_wxUSE_STATUSBAR=yes
9322 DEFAULT_wxUSE_TAB_DIALOG=yes
9323 DEFAULT_wxUSE_TOGGLEBTN=yes
9324 DEFAULT_wxUSE_TOOLBAR=yes
9325 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9326 DEFAULT_wxUSE_TOOLTIPS=yes
9327 DEFAULT_wxUSE_TREEBOOK=yes
9328 DEFAULT_wxUSE_TOOLBOOK=yes
9329 DEFAULT_wxUSE_TREECTRL=yes
9330 DEFAULT_wxUSE_POPUPWIN=yes
9331 DEFAULT_wxUSE_TIPWINDOW=yes
9332 elif test "$wxUSE_CONTROLS" = "no"; then
9333 DEFAULT_wxUSE_ACCEL=no
9334 DEFAULT_wxUSE_ANIMATIONCTRL=no
9335 DEFAULT_wxUSE_BMPBUTTON=no
9336 DEFAULT_wxUSE_BUTTON=no
9337 DEFAULT_wxUSE_CALCTRL=no
9338 DEFAULT_wxUSE_CARET=no
9339 DEFAULT_wxUSE_COLLPANE=no
9340 DEFAULT_wxUSE_COMBOBOX=no
9341 DEFAULT_wxUSE_CHECKBOX=no
9342 DEFAULT_wxUSE_CHECKLISTBOX=no
9343 DEFAULT_wxUSE_CHOICE=no
9344 DEFAULT_wxUSE_CHOICEBOOK=no
9345 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9346 DEFAULT_wxUSE_COMBOBOX=no
9347 DEFAULT_wxUSE_DATEPICKCTRL=no
9348 DEFAULT_wxUSE_DISPLAY=no
9349 DEFAULT_wxUSE_DETECT_SM=no
9350 DEFAULT_wxUSE_DIRPICKERCTRL=no
9351 DEFAULT_wxUSE_FILECTRL=no
9352 DEFAULT_wxUSE_FILEPICKERCTRL=no
9353 DEFAULT_wxUSE_FONTPICKERCTRL=no
9354 DEFAULT_wxUSE_GAUGE=no
9355 DEFAULT_wxUSE_GRID=no
9356 DEFAULT_wxUSE_HYPERLINKCTRL=no
9357 DEFAULT_wxUSE_DATAVIEWCTRL=no
9358 DEFAULT_wxUSE_IMAGLIST=no
9359 DEFAULT_wxUSE_LISTBOOK=no
9360 DEFAULT_wxUSE_LISTBOX=no
9361 DEFAULT_wxUSE_LISTCTRL=no
9362 DEFAULT_wxUSE_NOTEBOOK=no
9363 DEFAULT_wxUSE_RADIOBOX=no
9364 DEFAULT_wxUSE_RADIOBTN=no
9365 DEFAULT_wxUSE_SASH=no
9366 DEFAULT_wxUSE_SCROLLBAR=no
9367 DEFAULT_wxUSE_SEARCHCTRL=no
9368 DEFAULT_wxUSE_SLIDER=no
9369 DEFAULT_wxUSE_SPINBTN=no
9370 DEFAULT_wxUSE_SPINCTRL=no
9371 DEFAULT_wxUSE_SPLITTER=no
9372 DEFAULT_wxUSE_STATBMP=no
9373 DEFAULT_wxUSE_STATBOX=no
9374 DEFAULT_wxUSE_STATLINE=no
9375 DEFAULT_wxUSE_STATUSBAR=no
9376 DEFAULT_wxUSE_TAB_DIALOG=no
9377 DEFAULT_wxUSE_TOGGLEBTN=no
9378 DEFAULT_wxUSE_TOOLBAR=no
9379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9380 DEFAULT_wxUSE_TOOLTIPS=no
9381 DEFAULT_wxUSE_TREEBOOK=no
9382 DEFAULT_wxUSE_TOOLBOOK=no
9383 DEFAULT_wxUSE_TREECTRL=no
9384 DEFAULT_wxUSE_POPUPWIN=no
9385 DEFAULT_wxUSE_TIPWINDOW=no
9386 fi
9387
9388
9389 enablestring=
9390 defaultval=$wxUSE_ALL_FEATURES
9391 if test -z "$defaultval"; then
9392 if test x"$enablestring" = xdisable; then
9393 defaultval=yes
9394 else
9395 defaultval=no
9396 fi
9397 fi
9398
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9401 # Check whether --enable-accel was given.
9402 if test "${enable_accel+set}" = set; then
9403 enableval=$enable_accel;
9404 if test "$enableval" = yes; then
9405 wx_cv_use_accel='wxUSE_ACCEL=yes'
9406 else
9407 wx_cv_use_accel='wxUSE_ACCEL=no'
9408 fi
9409
9410 else
9411
9412 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9413
9414 fi
9415
9416
9417 eval "$wx_cv_use_accel"
9418
9419 if test x"$enablestring" = xdisable; then
9420 if test $wxUSE_ACCEL = yes; then
9421 result=no
9422 else
9423 result=yes
9424 fi
9425 else
9426 result=$wxUSE_ACCEL
9427 fi
9428
9429 { echo "$as_me:$LINENO: result: $result" >&5
9430 echo "${ECHO_T}$result" >&6; }
9431
9432
9433 enablestring=
9434 defaultval=$wxUSE_ALL_FEATURES
9435 if test -z "$defaultval"; then
9436 if test x"$enablestring" = xdisable; then
9437 defaultval=yes
9438 else
9439 defaultval=no
9440 fi
9441 fi
9442
9443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9445 # Check whether --enable-animatectrl was given.
9446 if test "${enable_animatectrl+set}" = set; then
9447 enableval=$enable_animatectrl;
9448 if test "$enableval" = yes; then
9449 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9450 else
9451 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9452 fi
9453
9454 else
9455
9456 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9457
9458 fi
9459
9460
9461 eval "$wx_cv_use_animatectrl"
9462
9463 if test x"$enablestring" = xdisable; then
9464 if test $wxUSE_ANIMATIONCTRL = yes; then
9465 result=no
9466 else
9467 result=yes
9468 fi
9469 else
9470 result=$wxUSE_ANIMATIONCTRL
9471 fi
9472
9473 { echo "$as_me:$LINENO: result: $result" >&5
9474 echo "${ECHO_T}$result" >&6; }
9475
9476
9477 enablestring=
9478 defaultval=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x"$enablestring" = xdisable; then
9481 defaultval=yes
9482 else
9483 defaultval=no
9484 fi
9485 fi
9486
9487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9489 # Check whether --enable-button was given.
9490 if test "${enable_button+set}" = set; then
9491 enableval=$enable_button;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_button='wxUSE_BUTTON=yes'
9494 else
9495 wx_cv_use_button='wxUSE_BUTTON=no'
9496 fi
9497
9498 else
9499
9500 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9501
9502 fi
9503
9504
9505 eval "$wx_cv_use_button"
9506
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_BUTTON = yes; then
9509 result=no
9510 else
9511 result=yes
9512 fi
9513 else
9514 result=$wxUSE_BUTTON
9515 fi
9516
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9519
9520
9521 enablestring=
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9525 defaultval=yes
9526 else
9527 defaultval=no
9528 fi
9529 fi
9530
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9533 # Check whether --enable-bmpbutton was given.
9534 if test "${enable_bmpbutton+set}" = set; then
9535 enableval=$enable_bmpbutton;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9538 else
9539 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9540 fi
9541
9542 else
9543
9544 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9545
9546 fi
9547
9548
9549 eval "$wx_cv_use_bmpbutton"
9550
9551 if test x"$enablestring" = xdisable; then
9552 if test $wxUSE_BMPBUTTON = yes; then
9553 result=no
9554 else
9555 result=yes
9556 fi
9557 else
9558 result=$wxUSE_BMPBUTTON
9559 fi
9560
9561 { echo "$as_me:$LINENO: result: $result" >&5
9562 echo "${ECHO_T}$result" >&6; }
9563
9564
9565 enablestring=
9566 defaultval=$wxUSE_ALL_FEATURES
9567 if test -z "$defaultval"; then
9568 if test x"$enablestring" = xdisable; then
9569 defaultval=yes
9570 else
9571 defaultval=no
9572 fi
9573 fi
9574
9575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9577 # Check whether --enable-bmpcombobox was given.
9578 if test "${enable_bmpcombobox+set}" = set; then
9579 enableval=$enable_bmpcombobox;
9580 if test "$enableval" = yes; then
9581 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9582 else
9583 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9584 fi
9585
9586 else
9587
9588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9589
9590 fi
9591
9592
9593 eval "$wx_cv_use_bmpcombobox"
9594
9595 if test x"$enablestring" = xdisable; then
9596 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9597 result=no
9598 else
9599 result=yes
9600 fi
9601 else
9602 result=$wxUSE_BITMAPCOMBOBOX
9603 fi
9604
9605 { echo "$as_me:$LINENO: result: $result" >&5
9606 echo "${ECHO_T}$result" >&6; }
9607
9608
9609 enablestring=
9610 defaultval=$wxUSE_ALL_FEATURES
9611 if test -z "$defaultval"; then
9612 if test x"$enablestring" = xdisable; then
9613 defaultval=yes
9614 else
9615 defaultval=no
9616 fi
9617 fi
9618
9619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9621 # Check whether --enable-calendar was given.
9622 if test "${enable_calendar+set}" = set; then
9623 enableval=$enable_calendar;
9624 if test "$enableval" = yes; then
9625 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9626 else
9627 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9628 fi
9629
9630 else
9631
9632 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9633
9634 fi
9635
9636
9637 eval "$wx_cv_use_calendar"
9638
9639 if test x"$enablestring" = xdisable; then
9640 if test $wxUSE_CALCTRL = yes; then
9641 result=no
9642 else
9643 result=yes
9644 fi
9645 else
9646 result=$wxUSE_CALCTRL
9647 fi
9648
9649 { echo "$as_me:$LINENO: result: $result" >&5
9650 echo "${ECHO_T}$result" >&6; }
9651
9652
9653 enablestring=
9654 defaultval=$wxUSE_ALL_FEATURES
9655 if test -z "$defaultval"; then
9656 if test x"$enablestring" = xdisable; then
9657 defaultval=yes
9658 else
9659 defaultval=no
9660 fi
9661 fi
9662
9663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9665 # Check whether --enable-caret was given.
9666 if test "${enable_caret+set}" = set; then
9667 enableval=$enable_caret;
9668 if test "$enableval" = yes; then
9669 wx_cv_use_caret='wxUSE_CARET=yes'
9670 else
9671 wx_cv_use_caret='wxUSE_CARET=no'
9672 fi
9673
9674 else
9675
9676 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9677
9678 fi
9679
9680
9681 eval "$wx_cv_use_caret"
9682
9683 if test x"$enablestring" = xdisable; then
9684 if test $wxUSE_CARET = yes; then
9685 result=no
9686 else
9687 result=yes
9688 fi
9689 else
9690 result=$wxUSE_CARET
9691 fi
9692
9693 { echo "$as_me:$LINENO: result: $result" >&5
9694 echo "${ECHO_T}$result" >&6; }
9695
9696
9697 enablestring=
9698 defaultval=$wxUSE_ALL_FEATURES
9699 if test -z "$defaultval"; then
9700 if test x"$enablestring" = xdisable; then
9701 defaultval=yes
9702 else
9703 defaultval=no
9704 fi
9705 fi
9706
9707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9708 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9709 # Check whether --enable-checkbox was given.
9710 if test "${enable_checkbox+set}" = set; then
9711 enableval=$enable_checkbox;
9712 if test "$enableval" = yes; then
9713 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9714 else
9715 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9716 fi
9717
9718 else
9719
9720 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9721
9722 fi
9723
9724
9725 eval "$wx_cv_use_checkbox"
9726
9727 if test x"$enablestring" = xdisable; then
9728 if test $wxUSE_CHECKBOX = yes; then
9729 result=no
9730 else
9731 result=yes
9732 fi
9733 else
9734 result=$wxUSE_CHECKBOX
9735 fi
9736
9737 { echo "$as_me:$LINENO: result: $result" >&5
9738 echo "${ECHO_T}$result" >&6; }
9739
9740
9741 enablestring=
9742 defaultval=$wxUSE_ALL_FEATURES
9743 if test -z "$defaultval"; then
9744 if test x"$enablestring" = xdisable; then
9745 defaultval=yes
9746 else
9747 defaultval=no
9748 fi
9749 fi
9750
9751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9753 # Check whether --enable-checklst was given.
9754 if test "${enable_checklst+set}" = set; then
9755 enableval=$enable_checklst;
9756 if test "$enableval" = yes; then
9757 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9758 else
9759 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9760 fi
9761
9762 else
9763
9764 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9765
9766 fi
9767
9768
9769 eval "$wx_cv_use_checklst"
9770
9771 if test x"$enablestring" = xdisable; then
9772 if test $wxUSE_CHECKLST = yes; then
9773 result=no
9774 else
9775 result=yes
9776 fi
9777 else
9778 result=$wxUSE_CHECKLST
9779 fi
9780
9781 { echo "$as_me:$LINENO: result: $result" >&5
9782 echo "${ECHO_T}$result" >&6; }
9783
9784
9785 enablestring=
9786 defaultval=$wxUSE_ALL_FEATURES
9787 if test -z "$defaultval"; then
9788 if test x"$enablestring" = xdisable; then
9789 defaultval=yes
9790 else
9791 defaultval=no
9792 fi
9793 fi
9794
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9797 # Check whether --enable-choice was given.
9798 if test "${enable_choice+set}" = set; then
9799 enableval=$enable_choice;
9800 if test "$enableval" = yes; then
9801 wx_cv_use_choice='wxUSE_CHOICE=yes'
9802 else
9803 wx_cv_use_choice='wxUSE_CHOICE=no'
9804 fi
9805
9806 else
9807
9808 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9809
9810 fi
9811
9812
9813 eval "$wx_cv_use_choice"
9814
9815 if test x"$enablestring" = xdisable; then
9816 if test $wxUSE_CHOICE = yes; then
9817 result=no
9818 else
9819 result=yes
9820 fi
9821 else
9822 result=$wxUSE_CHOICE
9823 fi
9824
9825 { echo "$as_me:$LINENO: result: $result" >&5
9826 echo "${ECHO_T}$result" >&6; }
9827
9828
9829 enablestring=
9830 defaultval=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x"$enablestring" = xdisable; then
9833 defaultval=yes
9834 else
9835 defaultval=no
9836 fi
9837 fi
9838
9839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9841 # Check whether --enable-choicebook was given.
9842 if test "${enable_choicebook+set}" = set; then
9843 enableval=$enable_choicebook;
9844 if test "$enableval" = yes; then
9845 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9846 else
9847 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9848 fi
9849
9850 else
9851
9852 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9853
9854 fi
9855
9856
9857 eval "$wx_cv_use_choicebook"
9858
9859 if test x"$enablestring" = xdisable; then
9860 if test $wxUSE_CHOICEBOOK = yes; then
9861 result=no
9862 else
9863 result=yes
9864 fi
9865 else
9866 result=$wxUSE_CHOICEBOOK
9867 fi
9868
9869 { echo "$as_me:$LINENO: result: $result" >&5
9870 echo "${ECHO_T}$result" >&6; }
9871
9872
9873 enablestring=
9874 defaultval=$wxUSE_ALL_FEATURES
9875 if test -z "$defaultval"; then
9876 if test x"$enablestring" = xdisable; then
9877 defaultval=yes
9878 else
9879 defaultval=no
9880 fi
9881 fi
9882
9883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9885 # Check whether --enable-collpane was given.
9886 if test "${enable_collpane+set}" = set; then
9887 enableval=$enable_collpane;
9888 if test "$enableval" = yes; then
9889 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9890 else
9891 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9892 fi
9893
9894 else
9895
9896 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9897
9898 fi
9899
9900
9901 eval "$wx_cv_use_collpane"
9902
9903 if test x"$enablestring" = xdisable; then
9904 if test $wxUSE_COLLPANE = yes; then
9905 result=no
9906 else
9907 result=yes
9908 fi
9909 else
9910 result=$wxUSE_COLLPANE
9911 fi
9912
9913 { echo "$as_me:$LINENO: result: $result" >&5
9914 echo "${ECHO_T}$result" >&6; }
9915
9916
9917 enablestring=
9918 defaultval=$wxUSE_ALL_FEATURES
9919 if test -z "$defaultval"; then
9920 if test x"$enablestring" = xdisable; then
9921 defaultval=yes
9922 else
9923 defaultval=no
9924 fi
9925 fi
9926
9927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9928 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9929 # Check whether --enable-colourpicker was given.
9930 if test "${enable_colourpicker+set}" = set; then
9931 enableval=$enable_colourpicker;
9932 if test "$enableval" = yes; then
9933 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9934 else
9935 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9936 fi
9937
9938 else
9939
9940 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9941
9942 fi
9943
9944
9945 eval "$wx_cv_use_colourpicker"
9946
9947 if test x"$enablestring" = xdisable; then
9948 if test $wxUSE_COLOURPICKERCTRL = yes; then
9949 result=no
9950 else
9951 result=yes
9952 fi
9953 else
9954 result=$wxUSE_COLOURPICKERCTRL
9955 fi
9956
9957 { echo "$as_me:$LINENO: result: $result" >&5
9958 echo "${ECHO_T}$result" >&6; }
9959
9960
9961 enablestring=
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9965 defaultval=yes
9966 else
9967 defaultval=no
9968 fi
9969 fi
9970
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9973 # Check whether --enable-combobox was given.
9974 if test "${enable_combobox+set}" = set; then
9975 enableval=$enable_combobox;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9978 else
9979 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9980 fi
9981
9982 else
9983
9984 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9985
9986 fi
9987
9988
9989 eval "$wx_cv_use_combobox"
9990
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_COMBOBOX = yes; then
9993 result=no
9994 else
9995 result=yes
9996 fi
9997 else
9998 result=$wxUSE_COMBOBOX
9999 fi
10000
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10017 # Check whether --enable-comboctrl was given.
10018 if test "${enable_comboctrl+set}" = set; then
10019 enableval=$enable_comboctrl;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10022 else
10023 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10024 fi
10025
10026 else
10027
10028 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10029
10030 fi
10031
10032
10033 eval "$wx_cv_use_comboctrl"
10034
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_COMBOCTRL = yes; then
10037 result=no
10038 else
10039 result=yes
10040 fi
10041 else
10042 result=$wxUSE_COMBOCTRL
10043 fi
10044
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10047
10048
10049 enablestring=
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10053 defaultval=yes
10054 else
10055 defaultval=no
10056 fi
10057 fi
10058
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10061 # Check whether --enable-datepick was given.
10062 if test "${enable_datepick+set}" = set; then
10063 enableval=$enable_datepick;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10066 else
10067 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10068 fi
10069
10070 else
10071
10072 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10073
10074 fi
10075
10076
10077 eval "$wx_cv_use_datepick"
10078
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_DATEPICKCTRL = yes; then
10081 result=no
10082 else
10083 result=yes
10084 fi
10085 else
10086 result=$wxUSE_DATEPICKCTRL
10087 fi
10088
10089 { echo "$as_me:$LINENO: result: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10091
10092
10093 enablestring=
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10097 defaultval=yes
10098 else
10099 defaultval=no
10100 fi
10101 fi
10102
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10105 # Check whether --enable-dirpicker was given.
10106 if test "${enable_dirpicker+set}" = set; then
10107 enableval=$enable_dirpicker;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10110 else
10111 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10112 fi
10113
10114 else
10115
10116 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10117
10118 fi
10119
10120
10121 eval "$wx_cv_use_dirpicker"
10122
10123 if test x"$enablestring" = xdisable; then
10124 if test $wxUSE_DIRPICKERCTRL = yes; then
10125 result=no
10126 else
10127 result=yes
10128 fi
10129 else
10130 result=$wxUSE_DIRPICKERCTRL
10131 fi
10132
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10135
10136
10137 enablestring=
10138 defaultval=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x"$enablestring" = xdisable; then
10141 defaultval=yes
10142 else
10143 defaultval=no
10144 fi
10145 fi
10146
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10149 # Check whether --enable-display was given.
10150 if test "${enable_display+set}" = set; then
10151 enableval=$enable_display;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_display='wxUSE_DISPLAY=yes'
10154 else
10155 wx_cv_use_display='wxUSE_DISPLAY=no'
10156 fi
10157
10158 else
10159
10160 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10161
10162 fi
10163
10164
10165 eval "$wx_cv_use_display"
10166
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_DISPLAY = yes; then
10169 result=no
10170 else
10171 result=yes
10172 fi
10173 else
10174 result=$wxUSE_DISPLAY
10175 fi
10176
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10179
10180
10181 enablestring=
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10185 defaultval=yes
10186 else
10187 defaultval=no
10188 fi
10189 fi
10190
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10193 # Check whether --enable-detect_sm was given.
10194 if test "${enable_detect_sm+set}" = set; then
10195 enableval=$enable_detect_sm;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10198 else
10199 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10200 fi
10201
10202 else
10203
10204 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10205
10206 fi
10207
10208
10209 eval "$wx_cv_use_detect_sm"
10210
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_DETECT_SM = yes; then
10213 result=no
10214 else
10215 result=yes
10216 fi
10217 else
10218 result=$wxUSE_DETECT_SM
10219 fi
10220
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10223
10224
10225 enablestring=
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10229 defaultval=yes
10230 else
10231 defaultval=no
10232 fi
10233 fi
10234
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10237 # Check whether --enable-editablebox was given.
10238 if test "${enable_editablebox+set}" = set; then
10239 enableval=$enable_editablebox;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10242 else
10243 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10244 fi
10245
10246 else
10247
10248 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10249
10250 fi
10251
10252
10253 eval "$wx_cv_use_editablebox"
10254
10255 if test x"$enablestring" = xdisable; then
10256 if test $wxUSE_EDITABLELISTBOX = yes; then
10257 result=no
10258 else
10259 result=yes
10260 fi
10261 else
10262 result=$wxUSE_EDITABLELISTBOX
10263 fi
10264
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10267
10268
10269 enablestring=
10270 defaultval=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x"$enablestring" = xdisable; then
10273 defaultval=yes
10274 else
10275 defaultval=no
10276 fi
10277 fi
10278
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10281 # Check whether --enable-filepicker was given.
10282 if test "${enable_filepicker+set}" = set; then
10283 enableval=$enable_filepicker;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10286 else
10287 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10288 fi
10289
10290 else
10291
10292 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10293
10294 fi
10295
10296
10297 eval "$wx_cv_use_filepicker"
10298
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_FILEPICKERCTRL = yes; then
10301 result=no
10302 else
10303 result=yes
10304 fi
10305 else
10306 result=$wxUSE_FILEPICKERCTRL
10307 fi
10308
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10311
10312
10313 enablestring=
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10317 defaultval=yes
10318 else
10319 defaultval=no
10320 fi
10321 fi
10322
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10325 # Check whether --enable-filectrl was given.
10326 if test "${enable_filectrl+set}" = set; then
10327 enableval=$enable_filectrl;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10330 else
10331 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10332 fi
10333
10334 else
10335
10336 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10337
10338 fi
10339
10340
10341 eval "$wx_cv_use_filectrl"
10342
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_FILECTRL = yes; then
10345 result=no
10346 else
10347 result=yes
10348 fi
10349 else
10350 result=$wxUSE_FILECTRL
10351 fi
10352
10353 { echo "$as_me:$LINENO: result: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10355
10356
10357 enablestring=
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10361 defaultval=yes
10362 else
10363 defaultval=no
10364 fi
10365 fi
10366
10367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10369 # Check whether --enable-fontpicker was given.
10370 if test "${enable_fontpicker+set}" = set; then
10371 enableval=$enable_fontpicker;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10374 else
10375 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10376 fi
10377
10378 else
10379
10380 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10381
10382 fi
10383
10384
10385 eval "$wx_cv_use_fontpicker"
10386
10387 if test x"$enablestring" = xdisable; then
10388 if test $wxUSE_FONTPICKERCTRL = yes; then
10389 result=no
10390 else
10391 result=yes
10392 fi
10393 else
10394 result=$wxUSE_FONTPICKERCTRL
10395 fi
10396
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10399
10400
10401 enablestring=
10402 defaultval=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x"$enablestring" = xdisable; then
10405 defaultval=yes
10406 else
10407 defaultval=no
10408 fi
10409 fi
10410
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10413 # Check whether --enable-gauge was given.
10414 if test "${enable_gauge+set}" = set; then
10415 enableval=$enable_gauge;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10418 else
10419 wx_cv_use_gauge='wxUSE_GAUGE=no'
10420 fi
10421
10422 else
10423
10424 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10425
10426 fi
10427
10428
10429 eval "$wx_cv_use_gauge"
10430
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_GAUGE = yes; then
10433 result=no
10434 else
10435 result=yes
10436 fi
10437 else
10438 result=$wxUSE_GAUGE
10439 fi
10440
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10443
10444
10445 enablestring=
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10449 defaultval=yes
10450 else
10451 defaultval=no
10452 fi
10453 fi
10454
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10457 # Check whether --enable-grid was given.
10458 if test "${enable_grid+set}" = set; then
10459 enableval=$enable_grid;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_grid='wxUSE_GRID=yes'
10462 else
10463 wx_cv_use_grid='wxUSE_GRID=no'
10464 fi
10465
10466 else
10467
10468 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10469
10470 fi
10471
10472
10473 eval "$wx_cv_use_grid"
10474
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_GRID = yes; then
10477 result=no
10478 else
10479 result=yes
10480 fi
10481 else
10482 result=$wxUSE_GRID
10483 fi
10484
10485 { echo "$as_me:$LINENO: result: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10487
10488
10489 enablestring=
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10493 defaultval=yes
10494 else
10495 defaultval=no
10496 fi
10497 fi
10498
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10501 # Check whether --enable-dataviewctrl was given.
10502 if test "${enable_dataviewctrl+set}" = set; then
10503 enableval=$enable_dataviewctrl;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10506 else
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10508 fi
10509
10510 else
10511
10512 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10513
10514 fi
10515
10516
10517 eval "$wx_cv_use_dataviewctrl"
10518
10519 if test x"$enablestring" = xdisable; then
10520 if test $wxUSE_DATAVIEWCTRL = yes; then
10521 result=no
10522 else
10523 result=yes
10524 fi
10525 else
10526 result=$wxUSE_DATAVIEWCTRL
10527 fi
10528
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10531
10532
10533 enablestring=
10534 defaultval=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x"$enablestring" = xdisable; then
10537 defaultval=yes
10538 else
10539 defaultval=no
10540 fi
10541 fi
10542
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10545 # Check whether --enable-hyperlink was given.
10546 if test "${enable_hyperlink+set}" = set; then
10547 enableval=$enable_hyperlink;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10550 else
10551 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10552 fi
10553
10554 else
10555
10556 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10557
10558 fi
10559
10560
10561 eval "$wx_cv_use_hyperlink"
10562
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_HYPERLINKCTRL = yes; then
10565 result=no
10566 else
10567 result=yes
10568 fi
10569 else
10570 result=$wxUSE_HYPERLINKCTRL
10571 fi
10572
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10575
10576
10577 enablestring=
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10581 defaultval=yes
10582 else
10583 defaultval=no
10584 fi
10585 fi
10586
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10589 # Check whether --enable-imaglist was given.
10590 if test "${enable_imaglist+set}" = set; then
10591 enableval=$enable_imaglist;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10594 else
10595 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10596 fi
10597
10598 else
10599
10600 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10601
10602 fi
10603
10604
10605 eval "$wx_cv_use_imaglist"
10606
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_IMAGLIST = yes; then
10609 result=no
10610 else
10611 result=yes
10612 fi
10613 else
10614 result=$wxUSE_IMAGLIST
10615 fi
10616
10617 { echo "$as_me:$LINENO: result: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10619
10620
10621 enablestring=
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10625 defaultval=yes
10626 else
10627 defaultval=no
10628 fi
10629 fi
10630
10631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10632 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10633 # Check whether --enable-listbook was given.
10634 if test "${enable_listbook+set}" = set; then
10635 enableval=$enable_listbook;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10638 else
10639 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10640 fi
10641
10642 else
10643
10644 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10645
10646 fi
10647
10648
10649 eval "$wx_cv_use_listbook"
10650
10651 if test x"$enablestring" = xdisable; then
10652 if test $wxUSE_LISTBOOK = yes; then
10653 result=no
10654 else
10655 result=yes
10656 fi
10657 else
10658 result=$wxUSE_LISTBOOK
10659 fi
10660
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10663
10664
10665 enablestring=
10666 defaultval=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x"$enablestring" = xdisable; then
10669 defaultval=yes
10670 else
10671 defaultval=no
10672 fi
10673 fi
10674
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10677 # Check whether --enable-listbox was given.
10678 if test "${enable_listbox+set}" = set; then
10679 enableval=$enable_listbox;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10682 else
10683 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10684 fi
10685
10686 else
10687
10688 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10689
10690 fi
10691
10692
10693 eval "$wx_cv_use_listbox"
10694
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_LISTBOX = yes; then
10697 result=no
10698 else
10699 result=yes
10700 fi
10701 else
10702 result=$wxUSE_LISTBOX
10703 fi
10704
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10707
10708
10709 enablestring=
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10713 defaultval=yes
10714 else
10715 defaultval=no
10716 fi
10717 fi
10718
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10721 # Check whether --enable-listctrl was given.
10722 if test "${enable_listctrl+set}" = set; then
10723 enableval=$enable_listctrl;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10726 else
10727 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10728 fi
10729
10730 else
10731
10732 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10733
10734 fi
10735
10736
10737 eval "$wx_cv_use_listctrl"
10738
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_LISTCTRL = yes; then
10741 result=no
10742 else
10743 result=yes
10744 fi
10745 else
10746 result=$wxUSE_LISTCTRL
10747 fi
10748
10749 { echo "$as_me:$LINENO: result: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10751
10752
10753 enablestring=
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10757 defaultval=yes
10758 else
10759 defaultval=no
10760 fi
10761 fi
10762
10763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10764 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10765 # Check whether --enable-notebook was given.
10766 if test "${enable_notebook+set}" = set; then
10767 enableval=$enable_notebook;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10770 else
10771 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10772 fi
10773
10774 else
10775
10776 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10777
10778 fi
10779
10780
10781 eval "$wx_cv_use_notebook"
10782
10783 if test x"$enablestring" = xdisable; then
10784 if test $wxUSE_NOTEBOOK = yes; then
10785 result=no
10786 else
10787 result=yes
10788 fi
10789 else
10790 result=$wxUSE_NOTEBOOK
10791 fi
10792
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10795
10796
10797 enablestring=
10798 defaultval=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x"$enablestring" = xdisable; then
10801 defaultval=yes
10802 else
10803 defaultval=no
10804 fi
10805 fi
10806
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10809 # Check whether --enable-notifmsg was given.
10810 if test "${enable_notifmsg+set}" = set; then
10811 enableval=$enable_notifmsg;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10814 else
10815 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10816 fi
10817
10818 else
10819
10820 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10821
10822 fi
10823
10824
10825 eval "$wx_cv_use_notifmsg"
10826
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10829 result=no
10830 else
10831 result=yes
10832 fi
10833 else
10834 result=$wxUSE_NOTIFICATION_MESSAGE
10835 fi
10836
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10839
10840
10841 enablestring=
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10845 defaultval=yes
10846 else
10847 defaultval=no
10848 fi
10849 fi
10850
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10853 # Check whether --enable-odcombobox was given.
10854 if test "${enable_odcombobox+set}" = set; then
10855 enableval=$enable_odcombobox;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10858 else
10859 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10860 fi
10861
10862 else
10863
10864 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10865
10866 fi
10867
10868
10869 eval "$wx_cv_use_odcombobox"
10870
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_ODCOMBOBOX = yes; then
10873 result=no
10874 else
10875 result=yes
10876 fi
10877 else
10878 result=$wxUSE_ODCOMBOBOX
10879 fi
10880
10881 { echo "$as_me:$LINENO: result: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10883
10884
10885 enablestring=
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10889 defaultval=yes
10890 else
10891 defaultval=no
10892 fi
10893 fi
10894
10895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10896 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10897 # Check whether --enable-radiobox was given.
10898 if test "${enable_radiobox+set}" = set; then
10899 enableval=$enable_radiobox;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10902 else
10903 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10904 fi
10905
10906 else
10907
10908 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10909
10910 fi
10911
10912
10913 eval "$wx_cv_use_radiobox"
10914
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_RADIOBOX = yes; then
10917 result=no
10918 else
10919 result=yes
10920 fi
10921 else
10922 result=$wxUSE_RADIOBOX
10923 fi
10924
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10927
10928
10929 enablestring=
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10933 defaultval=yes
10934 else
10935 defaultval=no
10936 fi
10937 fi
10938
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10941 # Check whether --enable-radiobtn was given.
10942 if test "${enable_radiobtn+set}" = set; then
10943 enableval=$enable_radiobtn;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10946 else
10947 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10948 fi
10949
10950 else
10951
10952 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10953
10954 fi
10955
10956
10957 eval "$wx_cv_use_radiobtn"
10958
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_RADIOBTN = yes; then
10961 result=no
10962 else
10963 result=yes
10964 fi
10965 else
10966 result=$wxUSE_RADIOBTN
10967 fi
10968
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10971
10972
10973 enablestring=
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10977 defaultval=yes
10978 else
10979 defaultval=no
10980 fi
10981 fi
10982
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10985 # Check whether --enable-sash was given.
10986 if test "${enable_sash+set}" = set; then
10987 enableval=$enable_sash;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_sash='wxUSE_SASH=yes'
10990 else
10991 wx_cv_use_sash='wxUSE_SASH=no'
10992 fi
10993
10994 else
10995
10996 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10997
10998 fi
10999
11000
11001 eval "$wx_cv_use_sash"
11002
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_SASH = yes; then
11005 result=no
11006 else
11007 result=yes
11008 fi
11009 else
11010 result=$wxUSE_SASH
11011 fi
11012
11013 { echo "$as_me:$LINENO: result: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11015
11016
11017 enablestring=
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11021 defaultval=yes
11022 else
11023 defaultval=no
11024 fi
11025 fi
11026
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11029 # Check whether --enable-scrollbar was given.
11030 if test "${enable_scrollbar+set}" = set; then
11031 enableval=$enable_scrollbar;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11034 else
11035 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11036 fi
11037
11038 else
11039
11040 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11041
11042 fi
11043
11044
11045 eval "$wx_cv_use_scrollbar"
11046
11047 if test x"$enablestring" = xdisable; then
11048 if test $wxUSE_SCROLLBAR = yes; then
11049 result=no
11050 else
11051 result=yes
11052 fi
11053 else
11054 result=$wxUSE_SCROLLBAR
11055 fi
11056
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11059
11060
11061 enablestring=
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11065 defaultval=yes
11066 else
11067 defaultval=no
11068 fi
11069 fi
11070
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11073 # Check whether --enable-searchctrl was given.
11074 if test "${enable_searchctrl+set}" = set; then
11075 enableval=$enable_searchctrl;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11078 else
11079 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11080 fi
11081
11082 else
11083
11084 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11085
11086 fi
11087
11088
11089 eval "$wx_cv_use_searchctrl"
11090
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_SEARCHCTRL = yes; then
11093 result=no
11094 else
11095 result=yes
11096 fi
11097 else
11098 result=$wxUSE_SEARCHCTRL
11099 fi
11100
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11103
11104
11105 enablestring=
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11109 defaultval=yes
11110 else
11111 defaultval=no
11112 fi
11113 fi
11114
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11117 # Check whether --enable-slider was given.
11118 if test "${enable_slider+set}" = set; then
11119 enableval=$enable_slider;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_slider='wxUSE_SLIDER=yes'
11122 else
11123 wx_cv_use_slider='wxUSE_SLIDER=no'
11124 fi
11125
11126 else
11127
11128 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11129
11130 fi
11131
11132
11133 eval "$wx_cv_use_slider"
11134
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_SLIDER = yes; then
11137 result=no
11138 else
11139 result=yes
11140 fi
11141 else
11142 result=$wxUSE_SLIDER
11143 fi
11144
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11147
11148
11149 enablestring=
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11153 defaultval=yes
11154 else
11155 defaultval=no
11156 fi
11157 fi
11158
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11161 # Check whether --enable-spinbtn was given.
11162 if test "${enable_spinbtn+set}" = set; then
11163 enableval=$enable_spinbtn;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11166 else
11167 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11168 fi
11169
11170 else
11171
11172 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11173
11174 fi
11175
11176
11177 eval "$wx_cv_use_spinbtn"
11178
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_SPINBTN = yes; then
11181 result=no
11182 else
11183 result=yes
11184 fi
11185 else
11186 result=$wxUSE_SPINBTN
11187 fi
11188
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11191
11192
11193 enablestring=
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11197 defaultval=yes
11198 else
11199 defaultval=no
11200 fi
11201 fi
11202
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11205 # Check whether --enable-spinctrl was given.
11206 if test "${enable_spinctrl+set}" = set; then
11207 enableval=$enable_spinctrl;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11210 else
11211 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11212 fi
11213
11214 else
11215
11216 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11217
11218 fi
11219
11220
11221 eval "$wx_cv_use_spinctrl"
11222
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_SPINCTRL = yes; then
11225 result=no
11226 else
11227 result=yes
11228 fi
11229 else
11230 result=$wxUSE_SPINCTRL
11231 fi
11232
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11235
11236
11237 enablestring=
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11241 defaultval=yes
11242 else
11243 defaultval=no
11244 fi
11245 fi
11246
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11249 # Check whether --enable-splitter was given.
11250 if test "${enable_splitter+set}" = set; then
11251 enableval=$enable_splitter;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11254 else
11255 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11256 fi
11257
11258 else
11259
11260 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11261
11262 fi
11263
11264
11265 eval "$wx_cv_use_splitter"
11266
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_SPLITTER = yes; then
11269 result=no
11270 else
11271 result=yes
11272 fi
11273 else
11274 result=$wxUSE_SPLITTER
11275 fi
11276
11277 { echo "$as_me:$LINENO: result: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11279
11280
11281 enablestring=
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11285 defaultval=yes
11286 else
11287 defaultval=no
11288 fi
11289 fi
11290
11291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11292 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11293 # Check whether --enable-statbmp was given.
11294 if test "${enable_statbmp+set}" = set; then
11295 enableval=$enable_statbmp;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11298 else
11299 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11300 fi
11301
11302 else
11303
11304 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11305
11306 fi
11307
11308
11309 eval "$wx_cv_use_statbmp"
11310
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_STATBMP = yes; then
11313 result=no
11314 else
11315 result=yes
11316 fi
11317 else
11318 result=$wxUSE_STATBMP
11319 fi
11320
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11323
11324
11325 enablestring=
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11329 defaultval=yes
11330 else
11331 defaultval=no
11332 fi
11333 fi
11334
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11337 # Check whether --enable-statbox was given.
11338 if test "${enable_statbox+set}" = set; then
11339 enableval=$enable_statbox;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11342 else
11343 wx_cv_use_statbox='wxUSE_STATBOX=no'
11344 fi
11345
11346 else
11347
11348 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11349
11350 fi
11351
11352
11353 eval "$wx_cv_use_statbox"
11354
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_STATBOX = yes; then
11357 result=no
11358 else
11359 result=yes
11360 fi
11361 else
11362 result=$wxUSE_STATBOX
11363 fi
11364
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11367
11368
11369 enablestring=
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11373 defaultval=yes
11374 else
11375 defaultval=no
11376 fi
11377 fi
11378
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11381 # Check whether --enable-statline was given.
11382 if test "${enable_statline+set}" = set; then
11383 enableval=$enable_statline;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_statline='wxUSE_STATLINE=yes'
11386 else
11387 wx_cv_use_statline='wxUSE_STATLINE=no'
11388 fi
11389
11390 else
11391
11392 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11393
11394 fi
11395
11396
11397 eval "$wx_cv_use_statline"
11398
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_STATLINE = yes; then
11401 result=no
11402 else
11403 result=yes
11404 fi
11405 else
11406 result=$wxUSE_STATLINE
11407 fi
11408
11409 { echo "$as_me:$LINENO: result: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11411
11412
11413 enablestring=
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11417 defaultval=yes
11418 else
11419 defaultval=no
11420 fi
11421 fi
11422
11423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11424 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11425 # Check whether --enable-stattext was given.
11426 if test "${enable_stattext+set}" = set; then
11427 enableval=$enable_stattext;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11430 else
11431 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11432 fi
11433
11434 else
11435
11436 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11437
11438 fi
11439
11440
11441 eval "$wx_cv_use_stattext"
11442
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_STATTEXT = yes; then
11445 result=no
11446 else
11447 result=yes
11448 fi
11449 else
11450 result=$wxUSE_STATTEXT
11451 fi
11452
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11455
11456
11457 enablestring=
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11461 defaultval=yes
11462 else
11463 defaultval=no
11464 fi
11465 fi
11466
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11469 # Check whether --enable-statusbar was given.
11470 if test "${enable_statusbar+set}" = set; then
11471 enableval=$enable_statusbar;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11474 else
11475 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11476 fi
11477
11478 else
11479
11480 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11481
11482 fi
11483
11484
11485 eval "$wx_cv_use_statusbar"
11486
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_STATUSBAR = yes; then
11489 result=no
11490 else
11491 result=yes
11492 fi
11493 else
11494 result=$wxUSE_STATUSBAR
11495 fi
11496
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11499
11500
11501 enablestring=
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11505 defaultval=yes
11506 else
11507 defaultval=no
11508 fi
11509 fi
11510
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11513 # Check whether --enable-tabdialog was given.
11514 if test "${enable_tabdialog+set}" = set; then
11515 enableval=$enable_tabdialog;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11518 else
11519 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11520 fi
11521
11522 else
11523
11524 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11525
11526 fi
11527
11528
11529 eval "$wx_cv_use_tabdialog"
11530
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_TAB_DIALOG = yes; then
11533 result=no
11534 else
11535 result=yes
11536 fi
11537 else
11538 result=$wxUSE_TAB_DIALOG
11539 fi
11540
11541 { echo "$as_me:$LINENO: result: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11543
11544
11545 enablestring=
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11549 defaultval=yes
11550 else
11551 defaultval=no
11552 fi
11553 fi
11554
11555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11557 # Check whether --enable-taskbaricon was given.
11558 if test "${enable_taskbaricon+set}" = set; then
11559 enableval=$enable_taskbaricon;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11562 else
11563 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11564 fi
11565
11566 else
11567
11568 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11569
11570 fi
11571
11572
11573 eval "$wx_cv_use_taskbaricon"
11574
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_TASKBARICON = yes; then
11577 result=no
11578 else
11579 result=yes
11580 fi
11581 else
11582 result=$wxUSE_TASKBARICON
11583 fi
11584
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11587
11588
11589 enablestring=
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11593 defaultval=yes
11594 else
11595 defaultval=no
11596 fi
11597 fi
11598
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11601 # Check whether --enable-textctrl was given.
11602 if test "${enable_textctrl+set}" = set; then
11603 enableval=$enable_textctrl;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11606 else
11607 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11608 fi
11609
11610 else
11611
11612 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11613
11614 fi
11615
11616
11617 eval "$wx_cv_use_textctrl"
11618
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_TEXTCTRL = yes; then
11621 result=no
11622 else
11623 result=yes
11624 fi
11625 else
11626 result=$wxUSE_TEXTCTRL
11627 fi
11628
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11631
11632
11633 enablestring=
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11637 defaultval=yes
11638 else
11639 defaultval=no
11640 fi
11641 fi
11642
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11645 # Check whether --enable-togglebtn was given.
11646 if test "${enable_togglebtn+set}" = set; then
11647 enableval=$enable_togglebtn;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11650 else
11651 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11652 fi
11653
11654 else
11655
11656 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11657
11658 fi
11659
11660
11661 eval "$wx_cv_use_togglebtn"
11662
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_TOGGLEBTN = yes; then
11665 result=no
11666 else
11667 result=yes
11668 fi
11669 else
11670 result=$wxUSE_TOGGLEBTN
11671 fi
11672
11673 { echo "$as_me:$LINENO: result: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11675
11676
11677 enablestring=
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11681 defaultval=yes
11682 else
11683 defaultval=no
11684 fi
11685 fi
11686
11687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11688 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11689 # Check whether --enable-toolbar was given.
11690 if test "${enable_toolbar+set}" = set; then
11691 enableval=$enable_toolbar;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11694 else
11695 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11696 fi
11697
11698 else
11699
11700 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11701
11702 fi
11703
11704
11705 eval "$wx_cv_use_toolbar"
11706
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_TOOLBAR = yes; then
11709 result=no
11710 else
11711 result=yes
11712 fi
11713 else
11714 result=$wxUSE_TOOLBAR
11715 fi
11716
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11719
11720
11721 enablestring=
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11725 defaultval=yes
11726 else
11727 defaultval=no
11728 fi
11729 fi
11730
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11733 # Check whether --enable-tbarnative was given.
11734 if test "${enable_tbarnative+set}" = set; then
11735 enableval=$enable_tbarnative;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11738 else
11739 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11740 fi
11741
11742 else
11743
11744 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11745
11746 fi
11747
11748
11749 eval "$wx_cv_use_tbarnative"
11750
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11753 result=no
11754 else
11755 result=yes
11756 fi
11757 else
11758 result=$wxUSE_TOOLBAR_NATIVE
11759 fi
11760
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11763
11764
11765 enablestring=
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11769 defaultval=yes
11770 else
11771 defaultval=no
11772 fi
11773 fi
11774
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11777 # Check whether --enable-treebook was given.
11778 if test "${enable_treebook+set}" = set; then
11779 enableval=$enable_treebook;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11782 else
11783 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11784 fi
11785
11786 else
11787
11788 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11789
11790 fi
11791
11792
11793 eval "$wx_cv_use_treebook"
11794
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_TREEBOOK = yes; then
11797 result=no
11798 else
11799 result=yes
11800 fi
11801 else
11802 result=$wxUSE_TREEBOOK
11803 fi
11804
11805 { echo "$as_me:$LINENO: result: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11807
11808
11809 enablestring=
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11813 defaultval=yes
11814 else
11815 defaultval=no
11816 fi
11817 fi
11818
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11821 # Check whether --enable-toolbook was given.
11822 if test "${enable_toolbook+set}" = set; then
11823 enableval=$enable_toolbook;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11826 else
11827 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11828 fi
11829
11830 else
11831
11832 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11833
11834 fi
11835
11836
11837 eval "$wx_cv_use_toolbook"
11838
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_TOOLBOOK = yes; then
11841 result=no
11842 else
11843 result=yes
11844 fi
11845 else
11846 result=$wxUSE_TOOLBOOK
11847 fi
11848
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11851
11852
11853 enablestring=
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11857 defaultval=yes
11858 else
11859 defaultval=no
11860 fi
11861 fi
11862
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11865 # Check whether --enable-treectrl was given.
11866 if test "${enable_treectrl+set}" = set; then
11867 enableval=$enable_treectrl;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11870 else
11871 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11872 fi
11873
11874 else
11875
11876 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11877
11878 fi
11879
11880
11881 eval "$wx_cv_use_treectrl"
11882
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_TREECTRL = yes; then
11885 result=no
11886 else
11887 result=yes
11888 fi
11889 else
11890 result=$wxUSE_TREECTRL
11891 fi
11892
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11895
11896
11897 enablestring=
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11901 defaultval=yes
11902 else
11903 defaultval=no
11904 fi
11905 fi
11906
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11909 # Check whether --enable-tipwindow was given.
11910 if test "${enable_tipwindow+set}" = set; then
11911 enableval=$enable_tipwindow;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11914 else
11915 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11916 fi
11917
11918 else
11919
11920 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11921
11922 fi
11923
11924
11925 eval "$wx_cv_use_tipwindow"
11926
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_TIPWINDOW = yes; then
11929 result=no
11930 else
11931 result=yes
11932 fi
11933 else
11934 result=$wxUSE_TIPWINDOW
11935 fi
11936
11937 { echo "$as_me:$LINENO: result: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11939
11940
11941 enablestring=
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11945 defaultval=yes
11946 else
11947 defaultval=no
11948 fi
11949 fi
11950
11951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11952 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11953 # Check whether --enable-popupwin was given.
11954 if test "${enable_popupwin+set}" = set; then
11955 enableval=$enable_popupwin;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11958 else
11959 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11960 fi
11961
11962 else
11963
11964 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11965
11966 fi
11967
11968
11969 eval "$wx_cv_use_popupwin"
11970
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_POPUPWIN = yes; then
11973 result=no
11974 else
11975 result=yes
11976 fi
11977 else
11978 result=$wxUSE_POPUPWIN
11979 fi
11980
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11983
11984
11985
11986
11987 enablestring=
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11991 defaultval=yes
11992 else
11993 defaultval=no
11994 fi
11995 fi
11996
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11999 # Check whether --enable-commondlg was given.
12000 if test "${enable_commondlg+set}" = set; then
12001 enableval=$enable_commondlg;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12004 else
12005 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12006 fi
12007
12008 else
12009
12010 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12011
12012 fi
12013
12014
12015 eval "$wx_cv_use_commondlg"
12016
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_COMMONDLGS = yes; then
12019 result=no
12020 else
12021 result=yes
12022 fi
12023 else
12024 result=$wxUSE_COMMONDLGS
12025 fi
12026
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12029
12030
12031 enablestring=
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12035 defaultval=yes
12036 else
12037 defaultval=no
12038 fi
12039 fi
12040
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12043 # Check whether --enable-aboutdlg was given.
12044 if test "${enable_aboutdlg+set}" = set; then
12045 enableval=$enable_aboutdlg;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12048 else
12049 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12050 fi
12051
12052 else
12053
12054 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12055
12056 fi
12057
12058
12059 eval "$wx_cv_use_aboutdlg"
12060
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_ABOUTDLG = yes; then
12063 result=no
12064 else
12065 result=yes
12066 fi
12067 else
12068 result=$wxUSE_ABOUTDLG
12069 fi
12070
12071 { echo "$as_me:$LINENO: result: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12073
12074
12075 enablestring=
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12079 defaultval=yes
12080 else
12081 defaultval=no
12082 fi
12083 fi
12084
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12087 # Check whether --enable-choicedlg was given.
12088 if test "${enable_choicedlg+set}" = set; then
12089 enableval=$enable_choicedlg;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12092 else
12093 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12094 fi
12095
12096 else
12097
12098 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12099
12100 fi
12101
12102
12103 eval "$wx_cv_use_choicedlg"
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_CHOICEDLG = yes; then
12107 result=no
12108 else
12109 result=yes
12110 fi
12111 else
12112 result=$wxUSE_CHOICEDLG
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12131 # Check whether --enable-coldlg was given.
12132 if test "${enable_coldlg+set}" = set; then
12133 enableval=$enable_coldlg;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12136 else
12137 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12138 fi
12139
12140 else
12141
12142 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_coldlg"
12148
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_COLOURDLG = yes; then
12151 result=no
12152 else
12153 result=yes
12154 fi
12155 else
12156 result=$wxUSE_COLOURDLG
12157 fi
12158
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12161
12162
12163 enablestring=
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12167 defaultval=yes
12168 else
12169 defaultval=no
12170 fi
12171 fi
12172
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12175 # Check whether --enable-filedlg was given.
12176 if test "${enable_filedlg+set}" = set; then
12177 enableval=$enable_filedlg;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12180 else
12181 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12182 fi
12183
12184 else
12185
12186 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12187
12188 fi
12189
12190
12191 eval "$wx_cv_use_filedlg"
12192
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_FILEDLG = yes; then
12195 result=no
12196 else
12197 result=yes
12198 fi
12199 else
12200 result=$wxUSE_FILEDLG
12201 fi
12202
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12205
12206
12207 enablestring=
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12211 defaultval=yes
12212 else
12213 defaultval=no
12214 fi
12215 fi
12216
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12219 # Check whether --enable-finddlg was given.
12220 if test "${enable_finddlg+set}" = set; then
12221 enableval=$enable_finddlg;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12224 else
12225 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12226 fi
12227
12228 else
12229
12230 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12231
12232 fi
12233
12234
12235 eval "$wx_cv_use_finddlg"
12236
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_FINDREPLDLG = yes; then
12239 result=no
12240 else
12241 result=yes
12242 fi
12243 else
12244 result=$wxUSE_FINDREPLDLG
12245 fi
12246
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12249
12250
12251 enablestring=
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12255 defaultval=yes
12256 else
12257 defaultval=no
12258 fi
12259 fi
12260
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12263 # Check whether --enable-fontdlg was given.
12264 if test "${enable_fontdlg+set}" = set; then
12265 enableval=$enable_fontdlg;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12268 else
12269 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12270 fi
12271
12272 else
12273
12274 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12275
12276 fi
12277
12278
12279 eval "$wx_cv_use_fontdlg"
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTDLG = yes; then
12283 result=no
12284 else
12285 result=yes
12286 fi
12287 else
12288 result=$wxUSE_FONTDLG
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12307 # Check whether --enable-dirdlg was given.
12308 if test "${enable_dirdlg+set}" = set; then
12309 enableval=$enable_dirdlg;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12312 else
12313 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12314 fi
12315
12316 else
12317
12318 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12319
12320 fi
12321
12322
12323 eval "$wx_cv_use_dirdlg"
12324
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_DIRDLG = yes; then
12327 result=no
12328 else
12329 result=yes
12330 fi
12331 else
12332 result=$wxUSE_DIRDLG
12333 fi
12334
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12337
12338
12339 enablestring=
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12343 defaultval=yes
12344 else
12345 defaultval=no
12346 fi
12347 fi
12348
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12351 # Check whether --enable-msgdlg was given.
12352 if test "${enable_msgdlg+set}" = set; then
12353 enableval=$enable_msgdlg;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12356 else
12357 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12358 fi
12359
12360 else
12361
12362 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_msgdlg"
12368
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_MSGDLG = yes; then
12371 result=no
12372 else
12373 result=yes
12374 fi
12375 else
12376 result=$wxUSE_MSGDLG
12377 fi
12378
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12381
12382
12383 enablestring=
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12387 defaultval=yes
12388 else
12389 defaultval=no
12390 fi
12391 fi
12392
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12395 # Check whether --enable-numberdlg was given.
12396 if test "${enable_numberdlg+set}" = set; then
12397 enableval=$enable_numberdlg;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12400 else
12401 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12402 fi
12403
12404 else
12405
12406 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12407
12408 fi
12409
12410
12411 eval "$wx_cv_use_numberdlg"
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_NUMBERDLG = yes; then
12415 result=no
12416 else
12417 result=yes
12418 fi
12419 else
12420 result=$wxUSE_NUMBERDLG
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12439 # Check whether --enable-splash was given.
12440 if test "${enable_splash+set}" = set; then
12441 enableval=$enable_splash;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_splash='wxUSE_SPLASH=yes'
12444 else
12445 wx_cv_use_splash='wxUSE_SPLASH=no'
12446 fi
12447
12448 else
12449
12450 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12451
12452 fi
12453
12454
12455 eval "$wx_cv_use_splash"
12456
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_SPLASH = yes; then
12459 result=no
12460 else
12461 result=yes
12462 fi
12463 else
12464 result=$wxUSE_SPLASH
12465 fi
12466
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12469
12470
12471 enablestring=
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12475 defaultval=yes
12476 else
12477 defaultval=no
12478 fi
12479 fi
12480
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12483 # Check whether --enable-textdlg was given.
12484 if test "${enable_textdlg+set}" = set; then
12485 enableval=$enable_textdlg;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12488 else
12489 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12490 fi
12491
12492 else
12493
12494 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12495
12496 fi
12497
12498
12499 eval "$wx_cv_use_textdlg"
12500
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_TEXTDLG = yes; then
12503 result=no
12504 else
12505 result=yes
12506 fi
12507 else
12508 result=$wxUSE_TEXTDLG
12509 fi
12510
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12513
12514
12515 enablestring=
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12519 defaultval=yes
12520 else
12521 defaultval=no
12522 fi
12523 fi
12524
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12527 # Check whether --enable-tipdlg was given.
12528 if test "${enable_tipdlg+set}" = set; then
12529 enableval=$enable_tipdlg;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12532 else
12533 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12534 fi
12535
12536 else
12537
12538 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_tipdlg"
12544
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_STARTUP_TIPS = yes; then
12547 result=no
12548 else
12549 result=yes
12550 fi
12551 else
12552 result=$wxUSE_STARTUP_TIPS
12553 fi
12554
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12557
12558
12559 enablestring=
12560 defaultval=$wxUSE_ALL_FEATURES
12561 if test -z "$defaultval"; then
12562 if test x"$enablestring" = xdisable; then
12563 defaultval=yes
12564 else
12565 defaultval=no
12566 fi
12567 fi
12568
12569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12570 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12571 # Check whether --enable-progressdlg was given.
12572 if test "${enable_progressdlg+set}" = set; then
12573 enableval=$enable_progressdlg;
12574 if test "$enableval" = yes; then
12575 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12576 else
12577 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12578 fi
12579
12580 else
12581
12582 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12583
12584 fi
12585
12586
12587 eval "$wx_cv_use_progressdlg"
12588
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_PROGRESSDLG = yes; then
12591 result=no
12592 else
12593 result=yes
12594 fi
12595 else
12596 result=$wxUSE_PROGRESSDLG
12597 fi
12598
12599 { echo "$as_me:$LINENO: result: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12601
12602
12603 enablestring=
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12607 defaultval=yes
12608 else
12609 defaultval=no
12610 fi
12611 fi
12612
12613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12614 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12615 # Check whether --enable-wizarddlg was given.
12616 if test "${enable_wizarddlg+set}" = set; then
12617 enableval=$enable_wizarddlg;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12620 else
12621 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12622 fi
12623
12624 else
12625
12626 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12627
12628 fi
12629
12630
12631 eval "$wx_cv_use_wizarddlg"
12632
12633 if test x"$enablestring" = xdisable; then
12634 if test $wxUSE_WIZARDDLG = yes; then
12635 result=no
12636 else
12637 result=yes
12638 fi
12639 else
12640 result=$wxUSE_WIZARDDLG
12641 fi
12642
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12645
12646
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12661 # Check whether --enable-menus was given.
12662 if test "${enable_menus+set}" = set; then
12663 enableval=$enable_menus;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_menus='wxUSE_MENUS=yes'
12666 else
12667 wx_cv_use_menus='wxUSE_MENUS=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_menus"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_MENUS = yes; then
12681 result=no
12682 else
12683 result=yes
12684 fi
12685 else
12686 result=$wxUSE_MENUS
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12705 # Check whether --enable-miniframe was given.
12706 if test "${enable_miniframe+set}" = set; then
12707 enableval=$enable_miniframe;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12710 else
12711 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_miniframe"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_MINIFRAME = yes; then
12725 result=no
12726 else
12727 result=yes
12728 fi
12729 else
12730 result=$wxUSE_MINIFRAME
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12749 # Check whether --enable-tooltips was given.
12750 if test "${enable_tooltips+set}" = set; then
12751 enableval=$enable_tooltips;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12754 else
12755 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_tooltips"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TOOLTIPS = yes; then
12769 result=no
12770 else
12771 result=yes
12772 fi
12773 else
12774 result=$wxUSE_TOOLTIPS
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12793 # Check whether --enable-splines was given.
12794 if test "${enable_splines+set}" = set; then
12795 enableval=$enable_splines;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_splines='wxUSE_SPLINES=yes'
12798 else
12799 wx_cv_use_splines='wxUSE_SPLINES=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_splines"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_SPLINES = yes; then
12813 result=no
12814 else
12815 result=yes
12816 fi
12817 else
12818 result=$wxUSE_SPLINES
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12837 # Check whether --enable-mousewheel was given.
12838 if test "${enable_mousewheel+set}" = set; then
12839 enableval=$enable_mousewheel;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12842 else
12843 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_mousewheel"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_MOUSEWHEEL = yes; then
12857 result=no
12858 else
12859 result=yes
12860 fi
12861 else
12862 result=$wxUSE_MOUSEWHEEL
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12881 # Check whether --enable-validators was given.
12882 if test "${enable_validators+set}" = set; then
12883 enableval=$enable_validators;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12886 else
12887 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_validators"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_VALIDATORS = yes; then
12901 result=no
12902 else
12903 result=yes
12904 fi
12905 else
12906 result=$wxUSE_VALIDATORS
12907 fi
12908
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12911
12912
12913 enablestring=
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12917 defaultval=yes
12918 else
12919 defaultval=no
12920 fi
12921 fi
12922
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12925 # Check whether --enable-busyinfo was given.
12926 if test "${enable_busyinfo+set}" = set; then
12927 enableval=$enable_busyinfo;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12930 else
12931 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12932 fi
12933
12934 else
12935
12936 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12937
12938 fi
12939
12940
12941 eval "$wx_cv_use_busyinfo"
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_BUSYINFO = yes; then
12945 result=no
12946 else
12947 result=yes
12948 fi
12949 else
12950 result=$wxUSE_BUSYINFO
12951 fi
12952
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12969 # Check whether --enable-joystick was given.
12970 if test "${enable_joystick+set}" = set; then
12971 enableval=$enable_joystick;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12974 else
12975 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12976 fi
12977
12978 else
12979
12980 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_joystick"
12986
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_JOYSTICK = yes; then
12989 result=no
12990 else
12991 result=yes
12992 fi
12993 else
12994 result=$wxUSE_JOYSTICK
12995 fi
12996
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
12999
13000
13001 enablestring=
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13005 defaultval=yes
13006 else
13007 defaultval=no
13008 fi
13009 fi
13010
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13013 # Check whether --enable-metafile was given.
13014 if test "${enable_metafile+set}" = set; then
13015 enableval=$enable_metafile;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13018 else
13019 wx_cv_use_metafile='wxUSE_METAFILE=no'
13020 fi
13021
13022 else
13023
13024 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_metafile"
13030
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_METAFILE = yes; then
13033 result=no
13034 else
13035 result=yes
13036 fi
13037 else
13038 result=$wxUSE_METAFILE
13039 fi
13040
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13043
13044
13045 enablestring=
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13049 defaultval=yes
13050 else
13051 defaultval=no
13052 fi
13053 fi
13054
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13057 # Check whether --enable-dragimage was given.
13058 if test "${enable_dragimage+set}" = set; then
13059 enableval=$enable_dragimage;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13062 else
13063 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13064 fi
13065
13066 else
13067
13068 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13069
13070 fi
13071
13072
13073 eval "$wx_cv_use_dragimage"
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_DRAGIMAGE = yes; then
13077 result=no
13078 else
13079 result=yes
13080 fi
13081 else
13082 result=$wxUSE_DRAGIMAGE
13083 fi
13084
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13101 # Check whether --enable-accessibility was given.
13102 if test "${enable_accessibility+set}" = set; then
13103 enableval=$enable_accessibility;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13106 else
13107 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13108 fi
13109
13110 else
13111
13112 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_accessibility"
13118
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_ACCESSIBILITY = yes; then
13121 result=no
13122 else
13123 result=yes
13124 fi
13125 else
13126 result=$wxUSE_ACCESSIBILITY
13127 fi
13128
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13131
13132
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13147 # Check whether --enable-palette was given.
13148 if test "${enable_palette+set}" = set; then
13149 enableval=$enable_palette;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_palette='wxUSE_PALETTE=yes'
13152 else
13153 wx_cv_use_palette='wxUSE_PALETTE=no'
13154 fi
13155
13156 else
13157
13158 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13159
13160 fi
13161
13162
13163 eval "$wx_cv_use_palette"
13164
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_PALETTE = yes; then
13167 result=no
13168 else
13169 result=yes
13170 fi
13171 else
13172 result=$wxUSE_PALETTE
13173 fi
13174
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13177
13178
13179 enablestring=
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13183 defaultval=yes
13184 else
13185 defaultval=no
13186 fi
13187 fi
13188
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13191 # Check whether --enable-image was given.
13192 if test "${enable_image+set}" = set; then
13193 enableval=$enable_image;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_image='wxUSE_IMAGE=yes'
13196 else
13197 wx_cv_use_image='wxUSE_IMAGE=no'
13198 fi
13199
13200 else
13201
13202 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13203
13204 fi
13205
13206
13207 eval "$wx_cv_use_image"
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_IMAGE = yes; then
13211 result=no
13212 else
13213 result=yes
13214 fi
13215 else
13216 result=$wxUSE_IMAGE
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13235 # Check whether --enable-gif was given.
13236 if test "${enable_gif+set}" = set; then
13237 enableval=$enable_gif;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_gif='wxUSE_GIF=yes'
13240 else
13241 wx_cv_use_gif='wxUSE_GIF=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_gif"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_GIF = yes; then
13255 result=no
13256 else
13257 result=yes
13258 fi
13259 else
13260 result=$wxUSE_GIF
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13279 # Check whether --enable-pcx was given.
13280 if test "${enable_pcx+set}" = set; then
13281 enableval=$enable_pcx;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_pcx='wxUSE_PCX=yes'
13284 else
13285 wx_cv_use_pcx='wxUSE_PCX=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_pcx"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_PCX = yes; then
13299 result=no
13300 else
13301 result=yes
13302 fi
13303 else
13304 result=$wxUSE_PCX
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13323 # Check whether --enable-tga was given.
13324 if test "${enable_tga+set}" = set; then
13325 enableval=$enable_tga;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tga='wxUSE_TGA=yes'
13328 else
13329 wx_cv_use_tga='wxUSE_TGA=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_tga"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TGA = yes; then
13343 result=no
13344 else
13345 result=yes
13346 fi
13347 else
13348 result=$wxUSE_TGA
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13367 # Check whether --enable-iff was given.
13368 if test "${enable_iff+set}" = set; then
13369 enableval=$enable_iff;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_iff='wxUSE_IFF=yes'
13372 else
13373 wx_cv_use_iff='wxUSE_IFF=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_iff"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_IFF = yes; then
13387 result=no
13388 else
13389 result=yes
13390 fi
13391 else
13392 result=$wxUSE_IFF
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13411 # Check whether --enable-pnm was given.
13412 if test "${enable_pnm+set}" = set; then
13413 enableval=$enable_pnm;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_pnm='wxUSE_PNM=yes'
13416 else
13417 wx_cv_use_pnm='wxUSE_PNM=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_pnm"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_PNM = yes; then
13431 result=no
13432 else
13433 result=yes
13434 fi
13435 else
13436 result=$wxUSE_PNM
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13455 # Check whether --enable-xpm was given.
13456 if test "${enable_xpm+set}" = set; then
13457 enableval=$enable_xpm;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_xpm='wxUSE_XPM=yes'
13460 else
13461 wx_cv_use_xpm='wxUSE_XPM=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_xpm"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_XPM = yes; then
13475 result=no
13476 else
13477 result=yes
13478 fi
13479 else
13480 result=$wxUSE_XPM
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13499 # Check whether --enable-ico_cur was given.
13500 if test "${enable_ico_cur+set}" = set; then
13501 enableval=$enable_ico_cur;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13504 else
13505 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_ico_cur"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_ICO_CUR = yes; then
13519 result=no
13520 else
13521 result=yes
13522 fi
13523 else
13524 result=$wxUSE_ICO_CUR
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13545 # Check whether --enable-dccache was given.
13546 if test "${enable_dccache+set}" = set; then
13547 enableval=$enable_dccache;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13550 else
13551 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_dccache"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_DC_CACHEING = yes; then
13565 result=no
13566 else
13567 result=yes
13568 fi
13569 else
13570 result=$wxUSE_DC_CACHEING
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13589 # Check whether --enable-ps-in-msw was given.
13590 if test "${enable_ps_in_msw+set}" = set; then
13591 enableval=$enable_ps_in_msw;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13594 else
13595 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_ps_in_msw"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13609 result=no
13610 else
13611 result=yes
13612 fi
13613 else
13614 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13633 # Check whether --enable-ownerdrawn was given.
13634 if test "${enable_ownerdrawn+set}" = set; then
13635 enableval=$enable_ownerdrawn;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13638 else
13639 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_ownerdrawn"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_OWNER_DRAWN = yes; then
13653 result=no
13654 else
13655 result=yes
13656 fi
13657 else
13658 result=$wxUSE_OWNER_DRAWN
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13677 # Check whether --enable-uxtheme was given.
13678 if test "${enable_uxtheme+set}" = set; then
13679 enableval=$enable_uxtheme;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13682 else
13683 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_uxtheme"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_UXTHEME = yes; then
13697 result=no
13698 else
13699 result=yes
13700 fi
13701 else
13702 result=$wxUSE_UXTHEME
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709 enablestring=
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13713 defaultval=yes
13714 else
13715 defaultval=no
13716 fi
13717 fi
13718
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13721 # Check whether --enable-wxdib was given.
13722 if test "${enable_wxdib+set}" = set; then
13723 enableval=$enable_wxdib;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_wxdib='wxUSE_DIB=yes'
13726 else
13727 wx_cv_use_wxdib='wxUSE_DIB=no'
13728 fi
13729
13730 else
13731
13732 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_wxdib"
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_DIB = yes; then
13741 result=no
13742 else
13743 result=yes
13744 fi
13745 else
13746 result=$wxUSE_DIB
13747 fi
13748
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13751
13752
13753 if test "$wxUSE_MSW" != 1; then
13754 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13755 fi
13756
13757
13758 enablestring=
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13762 defaultval=yes
13763 else
13764 defaultval=no
13765 fi
13766 fi
13767
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13770 # Check whether --enable-autoidman was given.
13771 if test "${enable_autoidman+set}" = set; then
13772 enableval=$enable_autoidman;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13775 else
13776 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13777 fi
13778
13779 else
13780
13781 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_autoidman"
13787
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13790 result=no
13791 else
13792 result=yes
13793 fi
13794 else
13795 result=$wxUSE_AUTOID_MANAGEMENT
13796 fi
13797
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13800
13801
13802 fi
13803
13804
13805 cat >confcache <<\_ACEOF
13806 # This file is a shell script that caches the results of configure
13807 # tests run on this system so they can be shared between configure
13808 # scripts and configure runs, see configure's option --config-cache.
13809 # It is not useful on other systems. If it contains results you don't
13810 # want to keep, you may remove or edit it.
13811 #
13812 # config.status only pays attention to the cache file if you give it
13813 # the --recheck option to rerun configure.
13814 #
13815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13817 # following values.
13818
13819 _ACEOF
13820
13821 # The following way of writing the cache mishandles newlines in values,
13822 # but we know of no workaround that is simple, portable, and efficient.
13823 # So, we kill variables containing newlines.
13824 # Ultrix sh set writes to stderr and can't be redirected directly,
13825 # and sets the high bit in the cache file unless we assign to the vars.
13826 (
13827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13828 eval ac_val=\$$ac_var
13829 case $ac_val in #(
13830 *${as_nl}*)
13831 case $ac_var in #(
13832 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13834 esac
13835 case $ac_var in #(
13836 _ | IFS | as_nl) ;; #(
13837 *) $as_unset $ac_var ;;
13838 esac ;;
13839 esac
13840 done
13841
13842 (set) 2>&1 |
13843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13844 *${as_nl}ac_space=\ *)
13845 # `set' does not quote correctly, so add quotes (double-quote
13846 # substitution turns \\\\ into \\, and sed turns \\ into \).
13847 sed -n \
13848 "s/'/'\\\\''/g;
13849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13850 ;; #(
13851 *)
13852 # `set' quotes correctly as required by POSIX, so do not add quotes.
13853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13854 ;;
13855 esac |
13856 sort
13857 ) |
13858 sed '
13859 /^ac_cv_env_/b end
13860 t clear
13861 :clear
13862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13863 t end
13864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13865 :end' >>confcache
13866 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13867 if test -w "$cache_file"; then
13868 test "x$cache_file" != "x/dev/null" &&
13869 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13870 echo "$as_me: updating cache $cache_file" >&6;}
13871 cat confcache >$cache_file
13872 else
13873 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13874 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13875 fi
13876 fi
13877 rm -f confcache
13878
13879 CFLAGS=${CFLAGS:=}
13880
13881
13882
13883 ac_ext=c
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13888 if test -n "$ac_tool_prefix"; then
13889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13893 if test "${ac_cv_prog_CC+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 if test -n "$CC"; then
13897 ac_cv_prog_CC="$CC" # Let the user override the test.
13898 else
13899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13900 for as_dir in $PATH
13901 do
13902 IFS=$as_save_IFS
13903 test -z "$as_dir" && as_dir=.
13904 for ac_exec_ext in '' $ac_executable_extensions; do
13905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13908 break 2
13909 fi
13910 done
13911 done
13912 IFS=$as_save_IFS
13913
13914 fi
13915 fi
13916 CC=$ac_cv_prog_CC
13917 if test -n "$CC"; then
13918 { echo "$as_me:$LINENO: result: $CC" >&5
13919 echo "${ECHO_T}$CC" >&6; }
13920 else
13921 { echo "$as_me:$LINENO: result: no" >&5
13922 echo "${ECHO_T}no" >&6; }
13923 fi
13924
13925
13926 fi
13927 if test -z "$ac_cv_prog_CC"; then
13928 ac_ct_CC=$CC
13929 # Extract the first word of "gcc", so it can be a program name with args.
13930 set dummy gcc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 else
13936 if test -n "$ac_ct_CC"; then
13937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13938 else
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13941 do
13942 IFS=$as_save_IFS
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_ac_ct_CC="gcc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13948 break 2
13949 fi
13950 done
13951 done
13952 IFS=$as_save_IFS
13953
13954 fi
13955 fi
13956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13957 if test -n "$ac_ct_CC"; then
13958 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13959 echo "${ECHO_T}$ac_ct_CC" >&6; }
13960 else
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13963 fi
13964
13965 if test "x$ac_ct_CC" = x; then
13966 CC=""
13967 else
13968 case $cross_compiling:$ac_tool_warned in
13969 yes:)
13970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13971 whose name does not start with the host triplet. If you think this
13972 configuration is useful to you, please write to autoconf@gnu.org." >&5
13973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13974 whose name does not start with the host triplet. If you think this
13975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13976 ac_tool_warned=yes ;;
13977 esac
13978 CC=$ac_ct_CC
13979 fi
13980 else
13981 CC="$ac_cv_prog_CC"
13982 fi
13983
13984 if test -z "$CC"; then
13985 if test -n "$ac_tool_prefix"; then
13986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13987 set dummy ${ac_tool_prefix}cc; ac_word=$2
13988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13990 if test "${ac_cv_prog_CC+set}" = set; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13993 if test -n "$CC"; then
13994 ac_cv_prog_CC="$CC" # Let the user override the test.
13995 else
13996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13997 for as_dir in $PATH
13998 do
13999 IFS=$as_save_IFS
14000 test -z "$as_dir" && as_dir=.
14001 for ac_exec_ext in '' $ac_executable_extensions; do
14002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14003 ac_cv_prog_CC="${ac_tool_prefix}cc"
14004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14005 break 2
14006 fi
14007 done
14008 done
14009 IFS=$as_save_IFS
14010
14011 fi
14012 fi
14013 CC=$ac_cv_prog_CC
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14017 else
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14020 fi
14021
14022
14023 fi
14024 fi
14025 if test -z "$CC"; then
14026 # Extract the first word of "cc", so it can be a program name with args.
14027 set dummy cc; ac_word=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC="$CC" # Let the user override the test.
14035 else
14036 ac_prog_rejected=no
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14039 do
14040 IFS=$as_save_IFS
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14045 ac_prog_rejected=yes
14046 continue
14047 fi
14048 ac_cv_prog_CC="cc"
14049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 break 2
14051 fi
14052 done
14053 done
14054 IFS=$as_save_IFS
14055
14056 if test $ac_prog_rejected = yes; then
14057 # We found a bogon in the path, so make sure we never use it.
14058 set dummy $ac_cv_prog_CC
14059 shift
14060 if test $# != 0; then
14061 # We chose a different compiler from the bogus one.
14062 # However, it has the same basename, so the bogon will be chosen
14063 # first if we set CC to just the basename; use the full file name.
14064 shift
14065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14066 fi
14067 fi
14068 fi
14069 fi
14070 CC=$ac_cv_prog_CC
14071 if test -n "$CC"; then
14072 { echo "$as_me:$LINENO: result: $CC" >&5
14073 echo "${ECHO_T}$CC" >&6; }
14074 else
14075 { echo "$as_me:$LINENO: result: no" >&5
14076 echo "${ECHO_T}no" >&6; }
14077 fi
14078
14079
14080 fi
14081 if test -z "$CC"; then
14082 if test -n "$ac_tool_prefix"; then
14083 for ac_prog in cl.exe
14084 do
14085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14089 if test "${ac_cv_prog_CC+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 else
14092 if test -n "$CC"; then
14093 ac_cv_prog_CC="$CC" # Let the user override the test.
14094 else
14095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14096 for as_dir in $PATH
14097 do
14098 IFS=$as_save_IFS
14099 test -z "$as_dir" && as_dir=.
14100 for ac_exec_ext in '' $ac_executable_extensions; do
14101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14104 break 2
14105 fi
14106 done
14107 done
14108 IFS=$as_save_IFS
14109
14110 fi
14111 fi
14112 CC=$ac_cv_prog_CC
14113 if test -n "$CC"; then
14114 { echo "$as_me:$LINENO: result: $CC" >&5
14115 echo "${ECHO_T}$CC" >&6; }
14116 else
14117 { echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6; }
14119 fi
14120
14121
14122 test -n "$CC" && break
14123 done
14124 fi
14125 if test -z "$CC"; then
14126 ac_ct_CC=$CC
14127 for ac_prog in cl.exe
14128 do
14129 # Extract the first word of "$ac_prog", so it can be a program name with args.
14130 set dummy $ac_prog; ac_word=$2
14131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 else
14136 if test -n "$ac_ct_CC"; then
14137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14138 else
14139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14140 for as_dir in $PATH
14141 do
14142 IFS=$as_save_IFS
14143 test -z "$as_dir" && as_dir=.
14144 for ac_exec_ext in '' $ac_executable_extensions; do
14145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14146 ac_cv_prog_ac_ct_CC="$ac_prog"
14147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14148 break 2
14149 fi
14150 done
14151 done
14152 IFS=$as_save_IFS
14153
14154 fi
14155 fi
14156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14157 if test -n "$ac_ct_CC"; then
14158 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14159 echo "${ECHO_T}$ac_ct_CC" >&6; }
14160 else
14161 { echo "$as_me:$LINENO: result: no" >&5
14162 echo "${ECHO_T}no" >&6; }
14163 fi
14164
14165
14166 test -n "$ac_ct_CC" && break
14167 done
14168
14169 if test "x$ac_ct_CC" = x; then
14170 CC=""
14171 else
14172 case $cross_compiling:$ac_tool_warned in
14173 yes:)
14174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14175 whose name does not start with the host triplet. If you think this
14176 configuration is useful to you, please write to autoconf@gnu.org." >&5
14177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14178 whose name does not start with the host triplet. If you think this
14179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14180 ac_tool_warned=yes ;;
14181 esac
14182 CC=$ac_ct_CC
14183 fi
14184 fi
14185
14186 fi
14187
14188
14189 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14190 See \`config.log' for more details." >&5
14191 echo "$as_me: error: no acceptable C compiler found in \$PATH
14192 See \`config.log' for more details." >&2;}
14193 { (exit 1); exit 1; }; }
14194
14195 # Provide some information about the compiler.
14196 echo "$as_me:$LINENO: checking for C compiler version" >&5
14197 ac_compiler=`set X $ac_compile; echo $2`
14198 { (ac_try="$ac_compiler --version >&5"
14199 case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14202 esac
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_compiler --version >&5") 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }
14208 { (ac_try="$ac_compiler -v >&5"
14209 case "(($ac_try" in
14210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14211 *) ac_try_echo=$ac_try;;
14212 esac
14213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14214 (eval "$ac_compiler -v >&5") 2>&5
14215 ac_status=$?
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }
14218 { (ac_try="$ac_compiler -V >&5"
14219 case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14222 esac
14223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_compiler -V >&5") 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }
14228
14229 cat >conftest.$ac_ext <<_ACEOF
14230 /* confdefs.h. */
14231 _ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235
14236 int
14237 main ()
14238 {
14239
14240 ;
14241 return 0;
14242 }
14243 _ACEOF
14244 ac_clean_files_save=$ac_clean_files
14245 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14246 # Try to create an executable without -o first, disregard a.out.
14247 # It will help us diagnose broken compilers, and finding out an intuition
14248 # of exeext.
14249 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14250 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14251 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14252 #
14253 # List of possible output files, starting from the most likely.
14254 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14255 # only as a last resort. b.out is created by i960 compilers.
14256 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14257 #
14258 # The IRIX 6 linker writes into existing files which may not be
14259 # executable, retaining their permissions. Remove them first so a
14260 # subsequent execution test works.
14261 ac_rmfiles=
14262 for ac_file in $ac_files
14263 do
14264 case $ac_file in
14265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14267 esac
14268 done
14269 rm -f $ac_rmfiles
14270
14271 if { (ac_try="$ac_link_default"
14272 case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14275 esac
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link_default") 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; then
14281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14284 # so that the user can short-circuit this test for compilers unknown to
14285 # Autoconf.
14286 for ac_file in $ac_files ''
14287 do
14288 test -f "$ac_file" || continue
14289 case $ac_file in
14290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14291 ;;
14292 [ab].out )
14293 # We found the default executable, but exeext='' is most
14294 # certainly right.
14295 break;;
14296 *.* )
14297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14298 then :; else
14299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14300 fi
14301 # We set ac_cv_exeext here because the later test for it is not
14302 # safe: cross compilers may not add the suffix if given an `-o'
14303 # argument, so we may need to know it at that point already.
14304 # Even if this section looks crufty: it has the advantage of
14305 # actually working.
14306 break;;
14307 * )
14308 break;;
14309 esac
14310 done
14311 test "$ac_cv_exeext" = no && ac_cv_exeext=
14312
14313 else
14314 ac_file=''
14315 fi
14316
14317 { echo "$as_me:$LINENO: result: $ac_file" >&5
14318 echo "${ECHO_T}$ac_file" >&6; }
14319 if test -z "$ac_file"; then
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.$ac_ext >&5
14322
14323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14324 See \`config.log' for more details." >&5
14325 echo "$as_me: error: C compiler cannot create executables
14326 See \`config.log' for more details." >&2;}
14327 { (exit 77); exit 77; }; }
14328 fi
14329
14330 ac_exeext=$ac_cv_exeext
14331
14332 # Check that the compiler produces executables we can run. If not, either
14333 # the compiler is broken, or we cross compile.
14334 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14335 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14336 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14337 # If not cross compiling, check that we can run a simple program.
14338 if test "$cross_compiling" != yes; then
14339 if { ac_try='./$ac_file'
14340 { (case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14343 esac
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_try") 2>&5
14346 ac_status=$?
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; }; then
14349 cross_compiling=no
14350 else
14351 if test "$cross_compiling" = maybe; then
14352 cross_compiling=yes
14353 else
14354 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14355 If you meant to cross compile, use \`--host'.
14356 See \`config.log' for more details." >&5
14357 echo "$as_me: error: cannot run C compiled programs.
14358 If you meant to cross compile, use \`--host'.
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14361 fi
14362 fi
14363 fi
14364 { echo "$as_me:$LINENO: result: yes" >&5
14365 echo "${ECHO_T}yes" >&6; }
14366
14367 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14368 ac_clean_files=$ac_clean_files_save
14369 # Check that the compiler produces executables we can run. If not, either
14370 # the compiler is broken, or we cross compile.
14371 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14372 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14373 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14374 echo "${ECHO_T}$cross_compiling" >&6; }
14375
14376 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14377 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14378 if { (ac_try="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14382 esac
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_link") 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; then
14388 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14389 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14390 # work properly (i.e., refer to `conftest.exe'), while it won't with
14391 # `rm'.
14392 for ac_file in conftest.exe conftest conftest.*; do
14393 test -f "$ac_file" || continue
14394 case $ac_file in
14395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14397 break;;
14398 * ) break;;
14399 esac
14400 done
14401 else
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14407 fi
14408
14409 rm -f conftest$ac_cv_exeext
14410 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14411 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14412
14413 rm -f conftest.$ac_ext
14414 EXEEXT=$ac_cv_exeext
14415 ac_exeext=$EXEEXT
14416 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14417 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14418 if test "${ac_cv_objext+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 else
14421 cat >conftest.$ac_ext <<_ACEOF
14422 /* confdefs.h. */
14423 _ACEOF
14424 cat confdefs.h >>conftest.$ac_ext
14425 cat >>conftest.$ac_ext <<_ACEOF
14426 /* end confdefs.h. */
14427
14428 int
14429 main ()
14430 {
14431
14432 ;
14433 return 0;
14434 }
14435 _ACEOF
14436 rm -f conftest.o conftest.obj
14437 if { (ac_try="$ac_compile"
14438 case "(($ac_try" in
14439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14440 *) ac_try_echo=$ac_try;;
14441 esac
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14443 (eval "$ac_compile") 2>&5
14444 ac_status=$?
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; then
14447 for ac_file in conftest.o conftest.obj conftest.*; do
14448 test -f "$ac_file" || continue;
14449 case $ac_file in
14450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14452 break;;
14453 esac
14454 done
14455 else
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14458
14459 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14460 See \`config.log' for more details." >&5
14461 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14462 See \`config.log' for more details." >&2;}
14463 { (exit 1); exit 1; }; }
14464 fi
14465
14466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14467 fi
14468 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14469 echo "${ECHO_T}$ac_cv_objext" >&6; }
14470 OBJEXT=$ac_cv_objext
14471 ac_objext=$OBJEXT
14472 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14473 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14474 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 else
14477 cat >conftest.$ac_ext <<_ACEOF
14478 /* confdefs.h. */
14479 _ACEOF
14480 cat confdefs.h >>conftest.$ac_ext
14481 cat >>conftest.$ac_ext <<_ACEOF
14482 /* end confdefs.h. */
14483
14484 int
14485 main ()
14486 {
14487 #ifndef __GNUC__
14488 choke me
14489 #endif
14490
14491 ;
14492 return 0;
14493 }
14494 _ACEOF
14495 rm -f conftest.$ac_objext
14496 if { (ac_try="$ac_compile"
14497 case "(($ac_try" in
14498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499 *) ac_try_echo=$ac_try;;
14500 esac
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_compile") 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } && {
14509 test -z "$ac_c_werror_flag" ||
14510 test ! -s conftest.err
14511 } && test -s conftest.$ac_objext; then
14512 ac_compiler_gnu=yes
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ac_compiler_gnu=no
14518 fi
14519
14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14522
14523 fi
14524 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14525 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14526 GCC=`test $ac_compiler_gnu = yes && echo yes`
14527 ac_test_CFLAGS=${CFLAGS+set}
14528 ac_save_CFLAGS=$CFLAGS
14529 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14530 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14531 if test "${ac_cv_prog_cc_g+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 else
14534 ac_save_c_werror_flag=$ac_c_werror_flag
14535 ac_c_werror_flag=yes
14536 ac_cv_prog_cc_g=no
14537 CFLAGS="-g"
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544
14545 int
14546 main ()
14547 {
14548
14549 ;
14550 return 0;
14551 }
14552 _ACEOF
14553 rm -f conftest.$ac_objext
14554 if { (ac_try="$ac_compile"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_compile") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest.$ac_objext; then
14570 ac_cv_prog_cc_g=yes
14571 else
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14574
14575 CFLAGS=""
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582
14583 int
14584 main ()
14585 {
14586
14587 ;
14588 return 0;
14589 }
14590 _ACEOF
14591 rm -f conftest.$ac_objext
14592 if { (ac_try="$ac_compile"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14596 esac
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_compile") 2>conftest.er1
14599 ac_status=$?
14600 grep -v '^ *+' conftest.er1 >conftest.err
14601 rm -f conftest.er1
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_c_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest.$ac_objext; then
14608 :
14609 else
14610 echo "$as_me: failed program was:" >&5
14611 sed 's/^/| /' conftest.$ac_ext >&5
14612
14613 ac_c_werror_flag=$ac_save_c_werror_flag
14614 CFLAGS="-g"
14615 cat >conftest.$ac_ext <<_ACEOF
14616 /* confdefs.h. */
14617 _ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621
14622 int
14623 main ()
14624 {
14625
14626 ;
14627 return 0;
14628 }
14629 _ACEOF
14630 rm -f conftest.$ac_objext
14631 if { (ac_try="$ac_compile"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14635 esac
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_compile") 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } && {
14644 test -z "$ac_c_werror_flag" ||
14645 test ! -s conftest.err
14646 } && test -s conftest.$ac_objext; then
14647 ac_cv_prog_cc_g=yes
14648 else
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14651
14652
14653 fi
14654
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14656 fi
14657
14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14659 fi
14660
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_c_werror_flag=$ac_save_c_werror_flag
14663 fi
14664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14666 if test "$ac_test_CFLAGS" = set; then
14667 CFLAGS=$ac_save_CFLAGS
14668 elif test $ac_cv_prog_cc_g = yes; then
14669 if test "$GCC" = yes; then
14670 CFLAGS="-g -O2"
14671 else
14672 CFLAGS="-g"
14673 fi
14674 else
14675 if test "$GCC" = yes; then
14676 CFLAGS="-O2"
14677 else
14678 CFLAGS=
14679 fi
14680 fi
14681 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14682 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14683 if test "${ac_cv_prog_cc_c89+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 else
14686 ac_cv_prog_cc_c89=no
14687 ac_save_CC=$CC
14688 cat >conftest.$ac_ext <<_ACEOF
14689 /* confdefs.h. */
14690 _ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 #include <stdarg.h>
14695 #include <stdio.h>
14696 #include <sys/types.h>
14697 #include <sys/stat.h>
14698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14699 struct buf { int x; };
14700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14701 static char *e (p, i)
14702 char **p;
14703 int i;
14704 {
14705 return p[i];
14706 }
14707 static char *f (char * (*g) (char **, int), char **p, ...)
14708 {
14709 char *s;
14710 va_list v;
14711 va_start (v,p);
14712 s = g (p, va_arg (v,int));
14713 va_end (v);
14714 return s;
14715 }
14716
14717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14718 function prototypes and stuff, but not '\xHH' hex character constants.
14719 These don't provoke an error unfortunately, instead are silently treated
14720 as 'x'. The following induces an error, until -std is added to get
14721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14722 array size at least. It's necessary to write '\x00'==0 to get something
14723 that's true only with -std. */
14724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14725
14726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14727 inside strings and character constants. */
14728 #define FOO(x) 'x'
14729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14730
14731 int test (int i, double x);
14732 struct s1 {int (*f) (int a);};
14733 struct s2 {int (*f) (double a);};
14734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14735 int argc;
14736 char **argv;
14737 int
14738 main ()
14739 {
14740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14741 ;
14742 return 0;
14743 }
14744 _ACEOF
14745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14747 do
14748 CC="$ac_save_CC $ac_arg"
14749 rm -f conftest.$ac_objext
14750 if { (ac_try="$ac_compile"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_compile") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } && {
14763 test -z "$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 } && test -s conftest.$ac_objext; then
14766 ac_cv_prog_cc_c89=$ac_arg
14767 else
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14770
14771
14772 fi
14773
14774 rm -f core conftest.err conftest.$ac_objext
14775 test "x$ac_cv_prog_cc_c89" != "xno" && break
14776 done
14777 rm -f conftest.$ac_ext
14778 CC=$ac_save_CC
14779
14780 fi
14781 # AC_CACHE_VAL
14782 case "x$ac_cv_prog_cc_c89" in
14783 x)
14784 { echo "$as_me:$LINENO: result: none needed" >&5
14785 echo "${ECHO_T}none needed" >&6; } ;;
14786 xno)
14787 { echo "$as_me:$LINENO: result: unsupported" >&5
14788 echo "${ECHO_T}unsupported" >&6; } ;;
14789 *)
14790 CC="$CC $ac_cv_prog_cc_c89"
14791 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14792 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14793 esac
14794
14795
14796 ac_ext=c
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14801
14802
14803
14804
14805 ac_ext=c
14806 ac_cpp='$CPP $CPPFLAGS'
14807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14810
14811 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14812 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14813 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14816 cat >conftest.$ac_ext <<_ACEOF
14817 /* confdefs.h. */
14818 _ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822
14823 int
14824 main ()
14825 {
14826
14827 #ifndef __INTEL_COMPILER
14828 choke me
14829 #endif
14830
14831 ;
14832 return 0;
14833 }
14834 _ACEOF
14835 rm -f conftest.$ac_objext
14836 if { (ac_try="$ac_compile"
14837 case "(($ac_try" in
14838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14839 *) ac_try_echo=$ac_try;;
14840 esac
14841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14842 (eval "$ac_compile") 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } && {
14849 test -z "$ac_c_werror_flag" ||
14850 test ! -s conftest.err
14851 } && test -s conftest.$ac_objext; then
14852 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14856
14857 bakefile_cv_c_compiler___INTEL_COMPILER=no
14858
14859 fi
14860
14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14862
14863
14864 fi
14865 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14866 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14867 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14868 :; INTELCC=yes
14869 else
14870 :;
14871 fi
14872 ac_ext=c
14873 ac_cpp='$CPP $CPPFLAGS'
14874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14877
14878
14879
14880
14881 if test "x$GCC" != "xyes"; then
14882 if test "xCC" = "xC"; then
14883 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14884 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14885 if test "${bakefile_cv_c_exto+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 else
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894
14895 int
14896 main ()
14897 {
14898
14899 ;
14900 return 0;
14901 }
14902 _ACEOF
14903 rm -f conftest.$ac_objext conftest.$ac_ext.o
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>&5
14906 ac_status=$?
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; then
14909 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14910 case $ac_file in
14911 conftest.$ac_ext.o)
14912 bakefile_cv_c_exto="-ext o"
14913 ;;
14914 *)
14915 ;;
14916 esac
14917 done
14918 else
14919 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14920 See \`config.log' for more details." >&5
14921 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14922 See \`config.log' for more details." >&2;}
14923 { (exit 1); exit 1; }; }
14924
14925 fi
14926
14927 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14928
14929 fi
14930 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14931 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14932 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14933 if test "c" = "c"; then
14934 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14935 fi
14936 if test "c" = "cxx"; then
14937 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14938 fi
14939 fi
14940
14941 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14942 unset ac_cv_prog_cc_g
14943 ac_test_CFLAGS=${CFLAGS+set}
14944 ac_save_CFLAGS=$CFLAGS
14945 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14947 if test "${ac_cv_prog_cc_g+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 else
14950 ac_save_c_werror_flag=$ac_c_werror_flag
14951 ac_c_werror_flag=yes
14952 ac_cv_prog_cc_g=no
14953 CFLAGS="-g"
14954 cat >conftest.$ac_ext <<_ACEOF
14955 /* confdefs.h. */
14956 _ACEOF
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960
14961 int
14962 main ()
14963 {
14964
14965 ;
14966 return 0;
14967 }
14968 _ACEOF
14969 rm -f conftest.$ac_objext
14970 if { (ac_try="$ac_compile"
14971 case "(($ac_try" in
14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14973 *) ac_try_echo=$ac_try;;
14974 esac
14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14976 (eval "$ac_compile") 2>conftest.er1
14977 ac_status=$?
14978 grep -v '^ *+' conftest.er1 >conftest.err
14979 rm -f conftest.er1
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest.$ac_objext; then
14986 ac_cv_prog_cc_g=yes
14987 else
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14990
14991 CFLAGS=""
14992 cat >conftest.$ac_ext <<_ACEOF
14993 /* confdefs.h. */
14994 _ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
14998
14999 int
15000 main ()
15001 {
15002
15003 ;
15004 return 0;
15005 }
15006 _ACEOF
15007 rm -f conftest.$ac_objext
15008 if { (ac_try="$ac_compile"
15009 case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
15012 esac
15013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_compile") 2>conftest.er1
15015 ac_status=$?
15016 grep -v '^ *+' conftest.er1 >conftest.err
15017 rm -f conftest.er1
15018 cat conftest.err >&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } && {
15021 test -z "$ac_c_werror_flag" ||
15022 test ! -s conftest.err
15023 } && test -s conftest.$ac_objext; then
15024 :
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 ac_c_werror_flag=$ac_save_c_werror_flag
15030 CFLAGS="-g"
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h. */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037
15038 int
15039 main ()
15040 {
15041
15042 ;
15043 return 0;
15044 }
15045 _ACEOF
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15051 esac
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 ac_cv_prog_cc_g=yes
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15067
15068
15069 fi
15070
15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 fi
15073
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15075 fi
15076
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 ac_c_werror_flag=$ac_save_c_werror_flag
15079 fi
15080 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15081 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15082 if test "$ac_test_CFLAGS" = set; then
15083 CFLAGS=$ac_save_CFLAGS
15084 elif test $ac_cv_prog_cc_g = yes; then
15085 if test "$GCC" = yes; then
15086 CFLAGS="-g -O2"
15087 else
15088 CFLAGS="-g"
15089 fi
15090 else
15091 if test "$GCC" = yes; then
15092 CFLAGS="-O2"
15093 else
15094 CFLAGS=
15095 fi
15096 fi
15097 fi
15098 fi
15099
15100 case `uname -s` in
15101 AIX*)
15102
15103
15104 ac_ext=c
15105 ac_cpp='$CPP $CPPFLAGS'
15106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15109
15110 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15111 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15112 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 else
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121
15122 int
15123 main ()
15124 {
15125
15126 #ifndef __xlC__
15127 choke me
15128 #endif
15129
15130 ;
15131 return 0;
15132 }
15133 _ACEOF
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15139 esac
15140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 bakefile_cv_c_compiler___xlC__=yes
15152 else
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15155
15156 bakefile_cv_c_compiler___xlC__=no
15157
15158 fi
15159
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15161
15162
15163 fi
15164 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15165 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15166 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15167 :; XLCC=yes
15168 else
15169 :;
15170 fi
15171 ac_ext=c
15172 ac_cpp='$CPP $CPPFLAGS'
15173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15176
15177
15178
15179 ;;
15180
15181 Darwin)
15182
15183
15184 ac_ext=c
15185 ac_cpp='$CPP $CPPFLAGS'
15186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15189
15190 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15191 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15192 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 else
15195 cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h. */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201
15202 int
15203 main ()
15204 {
15205
15206 #ifndef __MWERKS__
15207 choke me
15208 #endif
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_c_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 bakefile_cv_c_compiler___MWERKS__=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15235
15236 bakefile_cv_c_compiler___MWERKS__=no
15237
15238 fi
15239
15240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15241
15242
15243 fi
15244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15245 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15246 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15247 :; MWCC=yes
15248 else
15249 :;
15250 fi
15251 ac_ext=c
15252 ac_cpp='$CPP $CPPFLAGS'
15253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15256
15257
15258
15259
15260
15261 ac_ext=c
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15266
15267 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15268 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15269 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 else
15272 cat >conftest.$ac_ext <<_ACEOF
15273 /* confdefs.h. */
15274 _ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278
15279 int
15280 main ()
15281 {
15282
15283 #ifndef __xlC__
15284 choke me
15285 #endif
15286
15287 ;
15288 return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext
15292 if { (ac_try="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15296 esac
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15299 ac_status=$?
15300 grep -v '^ *+' conftest.er1 >conftest.err
15301 rm -f conftest.er1
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_c_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 bakefile_cv_c_compiler___xlC__=yes
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15312
15313 bakefile_cv_c_compiler___xlC__=no
15314
15315 fi
15316
15317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15318
15319
15320 fi
15321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15322 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15323 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15324 :; XLCC=yes
15325 else
15326 :;
15327 fi
15328 ac_ext=c
15329 ac_cpp='$CPP $CPPFLAGS'
15330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15333
15334
15335
15336 ;;
15337
15338 IRIX*)
15339
15340
15341 ac_ext=c
15342 ac_cpp='$CPP $CPPFLAGS'
15343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15346
15347 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15348 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15349 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15352 cat >conftest.$ac_ext <<_ACEOF
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358
15359 int
15360 main ()
15361 {
15362
15363 #ifndef _SGI_COMPILER_VERSION
15364 choke me
15365 #endif
15366
15367 ;
15368 return 0;
15369 }
15370 _ACEOF
15371 rm -f conftest.$ac_objext
15372 if { (ac_try="$ac_compile"
15373 case "(($ac_try" in
15374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15375 *) ac_try_echo=$ac_try;;
15376 esac
15377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15378 (eval "$ac_compile") 2>conftest.er1
15379 ac_status=$?
15380 grep -v '^ *+' conftest.er1 >conftest.err
15381 rm -f conftest.er1
15382 cat conftest.err >&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } && {
15385 test -z "$ac_c_werror_flag" ||
15386 test ! -s conftest.err
15387 } && test -s conftest.$ac_objext; then
15388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15389 else
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5
15392
15393 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15394
15395 fi
15396
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398
15399
15400 fi
15401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15402 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15404 :; SGICC=yes
15405 else
15406 :;
15407 fi
15408 ac_ext=c
15409 ac_cpp='$CPP $CPPFLAGS'
15410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15413
15414
15415
15416 ;;
15417
15418 Linux*)
15419
15420
15421 ac_ext=c
15422 ac_cpp='$CPP $CPPFLAGS'
15423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426
15427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438
15439 int
15440 main ()
15441 {
15442
15443 #ifndef __SUNPRO_C
15444 choke me
15445 #endif
15446
15447 ;
15448 return 0;
15449 }
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (ac_try="$ac_compile"
15453 case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15456 esac
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_compile") 2>conftest.er1
15459 ac_status=$?
15460 grep -v '^ *+' conftest.er1 >conftest.err
15461 rm -f conftest.er1
15462 cat conftest.err >&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } && {
15465 test -z "$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15467 } && test -s conftest.$ac_objext; then
15468 bakefile_cv_c_compiler___SUNPRO_C=yes
15469 else
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15472
15473 bakefile_cv_c_compiler___SUNPRO_C=no
15474
15475 fi
15476
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15478
15479
15480 fi
15481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15484 :; SUNCC=yes
15485 else
15486 :;
15487 fi
15488 ac_ext=c
15489 ac_cpp='$CPP $CPPFLAGS'
15490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15493
15494
15495
15496 ;;
15497
15498 HP-UX*)
15499
15500
15501 ac_ext=c
15502 ac_cpp='$CPP $CPPFLAGS'
15503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15506
15507 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15508 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15509 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 else
15512 cat >conftest.$ac_ext <<_ACEOF
15513 /* confdefs.h. */
15514 _ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15518
15519 int
15520 main ()
15521 {
15522
15523 #ifndef __HP_cc
15524 choke me
15525 #endif
15526
15527 ;
15528 return 0;
15529 }
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15536 esac
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } && {
15545 test -z "$ac_c_werror_flag" ||
15546 test ! -s conftest.err
15547 } && test -s conftest.$ac_objext; then
15548 bakefile_cv_c_compiler___HP_cc=yes
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 bakefile_cv_c_compiler___HP_cc=no
15554
15555 fi
15556
15557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558
15559
15560 fi
15561 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15562 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15563 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15564 :; HPCC=yes
15565 else
15566 :;
15567 fi
15568 ac_ext=c
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15573
15574
15575
15576 ;;
15577
15578 OSF1)
15579
15580
15581 ac_ext=c
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586
15587 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15588 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15589 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 else
15592 cat >conftest.$ac_ext <<_ACEOF
15593 /* confdefs.h. */
15594 _ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598
15599 int
15600 main ()
15601 {
15602
15603 #ifndef __DECC
15604 choke me
15605 #endif
15606
15607 ;
15608 return 0;
15609 }
15610 _ACEOF
15611 rm -f conftest.$ac_objext
15612 if { (ac_try="$ac_compile"
15613 case "(($ac_try" in
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15616 esac
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_compile") 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } && {
15625 test -z "$ac_c_werror_flag" ||
15626 test ! -s conftest.err
15627 } && test -s conftest.$ac_objext; then
15628 bakefile_cv_c_compiler___DECC=yes
15629 else
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15632
15633 bakefile_cv_c_compiler___DECC=no
15634
15635 fi
15636
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15638
15639
15640 fi
15641 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15642 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15643 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15644 :; COMPAQCC=yes
15645 else
15646 :;
15647 fi
15648 ac_ext=c
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15653
15654
15655
15656 ;;
15657
15658 SunOS)
15659
15660
15661 ac_ext=c
15662 ac_cpp='$CPP $CPPFLAGS'
15663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15666
15667 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15668 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15669 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15671 else
15672 cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h. */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678
15679 int
15680 main ()
15681 {
15682
15683 #ifndef __SUNPRO_C
15684 choke me
15685 #endif
15686
15687 ;
15688 return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (ac_try="$ac_compile"
15693 case "(($ac_try" in
15694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695 *) ac_try_echo=$ac_try;;
15696 esac
15697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15698 (eval "$ac_compile") 2>conftest.er1
15699 ac_status=$?
15700 grep -v '^ *+' conftest.er1 >conftest.err
15701 rm -f conftest.er1
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } && {
15705 test -z "$ac_c_werror_flag" ||
15706 test ! -s conftest.err
15707 } && test -s conftest.$ac_objext; then
15708 bakefile_cv_c_compiler___SUNPRO_C=yes
15709 else
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15712
15713 bakefile_cv_c_compiler___SUNPRO_C=no
15714
15715 fi
15716
15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718
15719
15720 fi
15721 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15722 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15723 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15724 :; SUNCC=yes
15725 else
15726 :;
15727 fi
15728 ac_ext=c
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15733
15734
15735
15736 ;;
15737 esac
15738 fi
15739
15740
15741
15742 ac_ext=c
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15747 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15748 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15749 # On Suns, sometimes $CPP names a directory.
15750 if test -n "$CPP" && test -d "$CPP"; then
15751 CPP=
15752 fi
15753 if test -z "$CPP"; then
15754 if test "${ac_cv_prog_CPP+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15756 else
15757 # Double quotes because CPP needs to be expanded
15758 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15759 do
15760 ac_preproc_ok=false
15761 for ac_c_preproc_warn_flag in '' yes
15762 do
15763 # Use a header file that comes with gcc, so configuring glibc
15764 # with a fresh cross-compiler works.
15765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15766 # <limits.h> exists even on freestanding compilers.
15767 # On the NeXT, cc -E runs the code through the compiler's parser,
15768 # not just through cpp. "Syntax error" is here to catch this case.
15769 cat >conftest.$ac_ext <<_ACEOF
15770 /* confdefs.h. */
15771 _ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 #ifdef __STDC__
15776 # include <limits.h>
15777 #else
15778 # include <assert.h>
15779 #endif
15780 Syntax error
15781 _ACEOF
15782 if { (ac_try="$ac_cpp conftest.$ac_ext"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15786 esac
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15789 ac_status=$?
15790 grep -v '^ *+' conftest.er1 >conftest.err
15791 rm -f conftest.er1
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } >/dev/null && {
15795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15797 }; then
15798 :
15799 else
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15802
15803 # Broken: fails on valid input.
15804 continue
15805 fi
15806
15807 rm -f conftest.err conftest.$ac_ext
15808
15809 # OK, works on sane cases. Now check whether nonexistent headers
15810 # can be detected and how.
15811 cat >conftest.$ac_ext <<_ACEOF
15812 /* confdefs.h. */
15813 _ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 #include <ac_nonexistent.h>
15818 _ACEOF
15819 if { (ac_try="$ac_cpp conftest.$ac_ext"
15820 case "(($ac_try" in
15821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15822 *) ac_try_echo=$ac_try;;
15823 esac
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15826 ac_status=$?
15827 grep -v '^ *+' conftest.er1 >conftest.err
15828 rm -f conftest.er1
15829 cat conftest.err >&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } >/dev/null && {
15832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15833 test ! -s conftest.err
15834 }; then
15835 # Broken: success on invalid input.
15836 continue
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 # Passes both tests.
15842 ac_preproc_ok=:
15843 break
15844 fi
15845
15846 rm -f conftest.err conftest.$ac_ext
15847
15848 done
15849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15850 rm -f conftest.err conftest.$ac_ext
15851 if $ac_preproc_ok; then
15852 break
15853 fi
15854
15855 done
15856 ac_cv_prog_CPP=$CPP
15857
15858 fi
15859 CPP=$ac_cv_prog_CPP
15860 else
15861 ac_cv_prog_CPP=$CPP
15862 fi
15863 { echo "$as_me:$LINENO: result: $CPP" >&5
15864 echo "${ECHO_T}$CPP" >&6; }
15865 ac_preproc_ok=false
15866 for ac_c_preproc_warn_flag in '' yes
15867 do
15868 # Use a header file that comes with gcc, so configuring glibc
15869 # with a fresh cross-compiler works.
15870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15871 # <limits.h> exists even on freestanding compilers.
15872 # On the NeXT, cc -E runs the code through the compiler's parser,
15873 # not just through cpp. "Syntax error" is here to catch this case.
15874 cat >conftest.$ac_ext <<_ACEOF
15875 /* confdefs.h. */
15876 _ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 #ifdef __STDC__
15881 # include <limits.h>
15882 #else
15883 # include <assert.h>
15884 #endif
15885 Syntax error
15886 _ACEOF
15887 if { (ac_try="$ac_cpp conftest.$ac_ext"
15888 case "(($ac_try" in
15889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15890 *) ac_try_echo=$ac_try;;
15891 esac
15892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15894 ac_status=$?
15895 grep -v '^ *+' conftest.er1 >conftest.err
15896 rm -f conftest.er1
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } >/dev/null && {
15900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15901 test ! -s conftest.err
15902 }; then
15903 :
15904 else
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15907
15908 # Broken: fails on valid input.
15909 continue
15910 fi
15911
15912 rm -f conftest.err conftest.$ac_ext
15913
15914 # OK, works on sane cases. Now check whether nonexistent headers
15915 # can be detected and how.
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <ac_nonexistent.h>
15923 _ACEOF
15924 if { (ac_try="$ac_cpp conftest.$ac_ext"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15928 esac
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15931 ac_status=$?
15932 grep -v '^ *+' conftest.er1 >conftest.err
15933 rm -f conftest.er1
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } >/dev/null && {
15937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15939 }; then
15940 # Broken: success on invalid input.
15941 continue
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15945
15946 # Passes both tests.
15947 ac_preproc_ok=:
15948 break
15949 fi
15950
15951 rm -f conftest.err conftest.$ac_ext
15952
15953 done
15954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15955 rm -f conftest.err conftest.$ac_ext
15956 if $ac_preproc_ok; then
15957 :
15958 else
15959 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15960 See \`config.log' for more details." >&5
15961 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15962 See \`config.log' for more details." >&2;}
15963 { (exit 1); exit 1; }; }
15964 fi
15965
15966 ac_ext=c
15967 ac_cpp='$CPP $CPPFLAGS'
15968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15971
15972
15973 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15974 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15975 if test "${ac_cv_path_GREP+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 else
15978 # Extract the first word of "grep ggrep" to use in msg output
15979 if test -z "$GREP"; then
15980 set dummy grep ggrep; ac_prog_name=$2
15981 if test "${ac_cv_path_GREP+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 else
15984 ac_path_GREP_found=false
15985 # Loop through the user's path and test for each of PROGNAME-LIST
15986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15988 do
15989 IFS=$as_save_IFS
15990 test -z "$as_dir" && as_dir=.
15991 for ac_prog in grep ggrep; do
15992 for ac_exec_ext in '' $ac_executable_extensions; do
15993 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15994 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15995 # Check for GNU ac_path_GREP and select it if it is found.
15996 # Check for GNU $ac_path_GREP
15997 case `"$ac_path_GREP" --version 2>&1` in
15998 *GNU*)
15999 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16000 *)
16001 ac_count=0
16002 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16003 while :
16004 do
16005 cat "conftest.in" "conftest.in" >"conftest.tmp"
16006 mv "conftest.tmp" "conftest.in"
16007 cp "conftest.in" "conftest.nl"
16008 echo 'GREP' >> "conftest.nl"
16009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16011 ac_count=`expr $ac_count + 1`
16012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16013 # Best one so far, save it but keep looking for a better one
16014 ac_cv_path_GREP="$ac_path_GREP"
16015 ac_path_GREP_max=$ac_count
16016 fi
16017 # 10*(2^10) chars as input seems more than enough
16018 test $ac_count -gt 10 && break
16019 done
16020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16021 esac
16022
16023
16024 $ac_path_GREP_found && break 3
16025 done
16026 done
16027
16028 done
16029 IFS=$as_save_IFS
16030
16031
16032 fi
16033
16034 GREP="$ac_cv_path_GREP"
16035 if test -z "$GREP"; then
16036 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16037 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16038 { (exit 1); exit 1; }; }
16039 fi
16040
16041 else
16042 ac_cv_path_GREP=$GREP
16043 fi
16044
16045
16046 fi
16047 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16048 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16049 GREP="$ac_cv_path_GREP"
16050
16051
16052 { echo "$as_me:$LINENO: checking for egrep" >&5
16053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16054 if test "${ac_cv_path_EGREP+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16058 then ac_cv_path_EGREP="$GREP -E"
16059 else
16060 # Extract the first word of "egrep" to use in msg output
16061 if test -z "$EGREP"; then
16062 set dummy egrep; ac_prog_name=$2
16063 if test "${ac_cv_path_EGREP+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066 ac_path_EGREP_found=false
16067 # Loop through the user's path and test for each of PROGNAME-LIST
16068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16070 do
16071 IFS=$as_save_IFS
16072 test -z "$as_dir" && as_dir=.
16073 for ac_prog in egrep; do
16074 for ac_exec_ext in '' $ac_executable_extensions; do
16075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16076 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16077 # Check for GNU ac_path_EGREP and select it if it is found.
16078 # Check for GNU $ac_path_EGREP
16079 case `"$ac_path_EGREP" --version 2>&1` in
16080 *GNU*)
16081 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16082 *)
16083 ac_count=0
16084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16085 while :
16086 do
16087 cat "conftest.in" "conftest.in" >"conftest.tmp"
16088 mv "conftest.tmp" "conftest.in"
16089 cp "conftest.in" "conftest.nl"
16090 echo 'EGREP' >> "conftest.nl"
16091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16093 ac_count=`expr $ac_count + 1`
16094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16095 # Best one so far, save it but keep looking for a better one
16096 ac_cv_path_EGREP="$ac_path_EGREP"
16097 ac_path_EGREP_max=$ac_count
16098 fi
16099 # 10*(2^10) chars as input seems more than enough
16100 test $ac_count -gt 10 && break
16101 done
16102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16103 esac
16104
16105
16106 $ac_path_EGREP_found && break 3
16107 done
16108 done
16109
16110 done
16111 IFS=$as_save_IFS
16112
16113
16114 fi
16115
16116 EGREP="$ac_cv_path_EGREP"
16117 if test -z "$EGREP"; then
16118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16120 { (exit 1); exit 1; }; }
16121 fi
16122
16123 else
16124 ac_cv_path_EGREP=$EGREP
16125 fi
16126
16127
16128 fi
16129 fi
16130 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16131 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16132 EGREP="$ac_cv_path_EGREP"
16133
16134
16135 if test $ac_cv_c_compiler_gnu = yes; then
16136 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 ac_pattern="Autoconf.*'x'"
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #include <sgtty.h>
16149 Autoconf TIOCGETP
16150 _ACEOF
16151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16152 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16153 ac_cv_prog_gcc_traditional=yes
16154 else
16155 ac_cv_prog_gcc_traditional=no
16156 fi
16157 rm -f conftest*
16158
16159
16160 if test $ac_cv_prog_gcc_traditional = no; then
16161 cat >conftest.$ac_ext <<_ACEOF
16162 /* confdefs.h. */
16163 _ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 #include <termio.h>
16168 Autoconf TCGETA
16169 _ACEOF
16170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16171 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16172 ac_cv_prog_gcc_traditional=yes
16173 fi
16174 rm -f conftest*
16175
16176 fi
16177 fi
16178 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16179 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16180 if test $ac_cv_prog_gcc_traditional = yes; then
16181 CC="$CC -traditional"
16182 fi
16183 fi
16184
16185
16186 CXXFLAGS=${CXXFLAGS:=}
16187
16188
16189
16190 ac_ext=cpp
16191 ac_cpp='$CXXCPP $CPPFLAGS'
16192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16195 if test -z "$CXX"; then
16196 if test -n "$CCC"; then
16197 CXX=$CCC
16198 else
16199 if test -n "$ac_tool_prefix"; then
16200 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16201 do
16202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CXX+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209 if test -n "$CXX"; then
16210 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16211 else
16212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16213 for as_dir in $PATH
16214 do
16215 IFS=$as_save_IFS
16216 test -z "$as_dir" && as_dir=.
16217 for ac_exec_ext in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16221 break 2
16222 fi
16223 done
16224 done
16225 IFS=$as_save_IFS
16226
16227 fi
16228 fi
16229 CXX=$ac_cv_prog_CXX
16230 if test -n "$CXX"; then
16231 { echo "$as_me:$LINENO: result: $CXX" >&5
16232 echo "${ECHO_T}$CXX" >&6; }
16233 else
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16236 fi
16237
16238
16239 test -n "$CXX" && break
16240 done
16241 fi
16242 if test -z "$CXX"; then
16243 ac_ct_CXX=$CXX
16244 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16245 do
16246 # Extract the first word of "$ac_prog", so it can be a program name with args.
16247 set dummy $ac_prog; ac_word=$2
16248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 else
16253 if test -n "$ac_ct_CXX"; then
16254 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16255 else
16256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16257 for as_dir in $PATH
16258 do
16259 IFS=$as_save_IFS
16260 test -z "$as_dir" && as_dir=.
16261 for ac_exec_ext in '' $ac_executable_extensions; do
16262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16263 ac_cv_prog_ac_ct_CXX="$ac_prog"
16264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16265 break 2
16266 fi
16267 done
16268 done
16269 IFS=$as_save_IFS
16270
16271 fi
16272 fi
16273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16274 if test -n "$ac_ct_CXX"; then
16275 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16276 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16277 else
16278 { echo "$as_me:$LINENO: result: no" >&5
16279 echo "${ECHO_T}no" >&6; }
16280 fi
16281
16282
16283 test -n "$ac_ct_CXX" && break
16284 done
16285
16286 if test "x$ac_ct_CXX" = x; then
16287 CXX="g++"
16288 else
16289 case $cross_compiling:$ac_tool_warned in
16290 yes:)
16291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16292 whose name does not start with the host triplet. If you think this
16293 configuration is useful to you, please write to autoconf@gnu.org." >&5
16294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16295 whose name does not start with the host triplet. If you think this
16296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16297 ac_tool_warned=yes ;;
16298 esac
16299 CXX=$ac_ct_CXX
16300 fi
16301 fi
16302
16303 fi
16304 fi
16305 # Provide some information about the compiler.
16306 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16307 ac_compiler=`set X $ac_compile; echo $2`
16308 { (ac_try="$ac_compiler --version >&5"
16309 case "(($ac_try" in
16310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16312 esac
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_compiler --version >&5") 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }
16318 { (ac_try="$ac_compiler -v >&5"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16321 *) ac_try_echo=$ac_try;;
16322 esac
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_compiler -v >&5") 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }
16328 { (ac_try="$ac_compiler -V >&5"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16332 esac
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_compiler -V >&5") 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }
16338
16339 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16340 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16341 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 cat >conftest.$ac_ext <<_ACEOF
16345 /* confdefs.h. */
16346 _ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350
16351 int
16352 main ()
16353 {
16354 #ifndef __GNUC__
16355 choke me
16356 #endif
16357
16358 ;
16359 return 0;
16360 }
16361 _ACEOF
16362 rm -f conftest.$ac_objext
16363 if { (ac_try="$ac_compile"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16367 esac
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_compile") 2>conftest.er1
16370 ac_status=$?
16371 grep -v '^ *+' conftest.er1 >conftest.err
16372 rm -f conftest.er1
16373 cat conftest.err >&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } && {
16376 test -z "$ac_cxx_werror_flag" ||
16377 test ! -s conftest.err
16378 } && test -s conftest.$ac_objext; then
16379 ac_compiler_gnu=yes
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16383
16384 ac_compiler_gnu=no
16385 fi
16386
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16389
16390 fi
16391 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16392 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16393 GXX=`test $ac_compiler_gnu = yes && echo yes`
16394 ac_test_CXXFLAGS=${CXXFLAGS+set}
16395 ac_save_CXXFLAGS=$CXXFLAGS
16396 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16397 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16398 if test "${ac_cv_prog_cxx_g+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16402 ac_cxx_werror_flag=yes
16403 ac_cv_prog_cxx_g=no
16404 CXXFLAGS="-g"
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411
16412 int
16413 main ()
16414 {
16415
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest.$ac_objext
16421 if { (ac_try="$ac_compile"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16425 esac
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_compile") 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_cxx_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest.$ac_objext; then
16437 ac_cv_prog_cxx_g=yes
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16441
16442 CXXFLAGS=""
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449
16450 int
16451 main ()
16452 {
16453
16454 ;
16455 return 0;
16456 }
16457 _ACEOF
16458 rm -f conftest.$ac_objext
16459 if { (ac_try="$ac_compile"
16460 case "(($ac_try" in
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16462 *) ac_try_echo=$ac_try;;
16463 esac
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_compile") 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } && {
16472 test -z "$ac_cxx_werror_flag" ||
16473 test ! -s conftest.err
16474 } && test -s conftest.$ac_objext; then
16475 :
16476 else
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16479
16480 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16481 CXXFLAGS="-g"
16482 cat >conftest.$ac_ext <<_ACEOF
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488
16489 int
16490 main ()
16491 {
16492
16493 ;
16494 return 0;
16495 }
16496 _ACEOF
16497 rm -f conftest.$ac_objext
16498 if { (ac_try="$ac_compile"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16502 esac
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compile") 2>conftest.er1
16505 ac_status=$?
16506 grep -v '^ *+' conftest.er1 >conftest.err
16507 rm -f conftest.er1
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && {
16511 test -z "$ac_cxx_werror_flag" ||
16512 test ! -s conftest.err
16513 } && test -s conftest.$ac_objext; then
16514 ac_cv_prog_cxx_g=yes
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16518
16519
16520 fi
16521
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 fi
16524
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526 fi
16527
16528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16530 fi
16531 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16532 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16533 if test "$ac_test_CXXFLAGS" = set; then
16534 CXXFLAGS=$ac_save_CXXFLAGS
16535 elif test $ac_cv_prog_cxx_g = yes; then
16536 if test "$GXX" = yes; then
16537 CXXFLAGS="-g -O2"
16538 else
16539 CXXFLAGS="-g"
16540 fi
16541 else
16542 if test "$GXX" = yes; then
16543 CXXFLAGS="-O2"
16544 else
16545 CXXFLAGS=
16546 fi
16547 fi
16548 ac_ext=c
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16553
16554
16555
16556
16557 ac_ext=cpp
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16562
16563 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16564 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16565 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16567 else
16568 cat >conftest.$ac_ext <<_ACEOF
16569 /* confdefs.h. */
16570 _ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574
16575 int
16576 main ()
16577 {
16578
16579 #ifndef __INTEL_COMPILER
16580 choke me
16581 #endif
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest.$ac_objext
16588 if { (ac_try="$ac_compile"
16589 case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16591 *) ac_try_echo=$ac_try;;
16592 esac
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_compile") 2>conftest.er1
16595 ac_status=$?
16596 grep -v '^ *+' conftest.er1 >conftest.err
16597 rm -f conftest.er1
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_cxx_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest.$ac_objext; then
16604 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16610
16611 fi
16612
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16614
16615
16616 fi
16617 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16618 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16619 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16620 :; INTELCXX=yes
16621 else
16622 :;
16623 fi
16624 ac_ext=c
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16629
16630
16631
16632
16633 if test "x$GCXX" != "xyes"; then
16634 if test "xCXX" = "xC"; then
16635 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16636 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_exto+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646
16647 int
16648 main ()
16649 {
16650
16651 ;
16652 return 0;
16653 }
16654 _ACEOF
16655 rm -f conftest.$ac_objext conftest.$ac_ext.o
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; then
16661 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16662 case $ac_file in
16663 conftest.$ac_ext.o)
16664 bakefile_cv_c_exto="-ext o"
16665 ;;
16666 *)
16667 ;;
16668 esac
16669 done
16670 else
16671 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16672 See \`config.log' for more details." >&5
16673 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16674 See \`config.log' for more details." >&2;}
16675 { (exit 1); exit 1; }; }
16676
16677 fi
16678
16679 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16680
16681 fi
16682 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16683 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16684 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16685 if test "c" = "c"; then
16686 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16687 fi
16688 if test "c" = "cxx"; then
16689 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16690 fi
16691 fi
16692
16693 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16694 unset ac_cv_prog_cc_g
16695 ac_test_CFLAGS=${CFLAGS+set}
16696 ac_save_CFLAGS=$CFLAGS
16697 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16698 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16699 if test "${ac_cv_prog_cc_g+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 else
16702 ac_save_c_werror_flag=$ac_c_werror_flag
16703 ac_c_werror_flag=yes
16704 ac_cv_prog_cc_g=no
16705 CFLAGS="-g"
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712
16713 int
16714 main ()
16715 {
16716
16717 ;
16718 return 0;
16719 }
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (ac_try="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16726 esac
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_prog_cc_g=yes
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16742
16743 CFLAGS=""
16744 cat >conftest.$ac_ext <<_ACEOF
16745 /* confdefs.h. */
16746 _ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750
16751 int
16752 main ()
16753 {
16754
16755 ;
16756 return 0;
16757 }
16758 _ACEOF
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763 *) ac_try_echo=$ac_try;;
16764 esac
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16767 ac_status=$?
16768 grep -v '^ *+' conftest.er1 >conftest.err
16769 rm -f conftest.er1
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_c_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.$ac_objext; then
16776 :
16777 else
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16780
16781 ac_c_werror_flag=$ac_save_c_werror_flag
16782 CFLAGS="-g"
16783 cat >conftest.$ac_ext <<_ACEOF
16784 /* confdefs.h. */
16785 _ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789
16790 int
16791 main ()
16792 {
16793
16794 ;
16795 return 0;
16796 }
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16803 esac
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_prog_cc_g=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820
16821 fi
16822
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 fi
16825
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 fi
16828
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 ac_c_werror_flag=$ac_save_c_werror_flag
16831 fi
16832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16833 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16834 if test "$ac_test_CFLAGS" = set; then
16835 CFLAGS=$ac_save_CFLAGS
16836 elif test $ac_cv_prog_cc_g = yes; then
16837 if test "$GCC" = yes; then
16838 CFLAGS="-g -O2"
16839 else
16840 CFLAGS="-g"
16841 fi
16842 else
16843 if test "$GCC" = yes; then
16844 CFLAGS="-O2"
16845 else
16846 CFLAGS=
16847 fi
16848 fi
16849 fi
16850 fi
16851
16852 case `uname -s` in
16853 AIX*)
16854
16855
16856 ac_ext=cpp
16857 ac_cpp='$CXXCPP $CPPFLAGS'
16858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16861
16862 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16863 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16864 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 else
16867 cat >conftest.$ac_ext <<_ACEOF
16868 /* confdefs.h. */
16869 _ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873
16874 int
16875 main ()
16876 {
16877
16878 #ifndef __xlC__
16879 choke me
16880 #endif
16881
16882 ;
16883 return 0;
16884 }
16885 _ACEOF
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16890 *) ac_try_echo=$ac_try;;
16891 esac
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_cxx_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.$ac_objext; then
16903 bakefile_cv_cxx_compiler___xlC__=yes
16904 else
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16907
16908 bakefile_cv_cxx_compiler___xlC__=no
16909
16910 fi
16911
16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16913
16914
16915 fi
16916 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16917 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16918 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16919 :; XLCXX=yes
16920 else
16921 :;
16922 fi
16923 ac_ext=c
16924 ac_cpp='$CPP $CPPFLAGS'
16925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16928
16929
16930
16931 ;;
16932
16933 Darwin)
16934
16935
16936 ac_ext=cpp
16937 ac_cpp='$CXXCPP $CPPFLAGS'
16938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16941
16942 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16943 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16944 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 else
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953
16954 int
16955 main ()
16956 {
16957
16958 #ifndef __MWERKS__
16959 choke me
16960 #endif
16961
16962 ;
16963 return 0;
16964 }
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16971 esac
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_cxx_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 bakefile_cv_cxx_compiler___MWERKS__=yes
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 bakefile_cv_cxx_compiler___MWERKS__=no
16989
16990 fi
16991
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16993
16994
16995 fi
16996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16998 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16999 :; MWCXX=yes
17000 else
17001 :;
17002 fi
17003 ac_ext=c
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17008
17009
17010
17011
17012
17013 ac_ext=cpp
17014 ac_cpp='$CXXCPP $CPPFLAGS'
17015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17018
17019 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17020 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17021 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 else
17024 cat >conftest.$ac_ext <<_ACEOF
17025 /* confdefs.h. */
17026 _ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030
17031 int
17032 main ()
17033 {
17034
17035 #ifndef __xlC__
17036 choke me
17037 #endif
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17047 *) ac_try_echo=$ac_try;;
17048 esac
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.$ac_objext; then
17060 bakefile_cv_cxx_compiler___xlC__=yes
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 bakefile_cv_cxx_compiler___xlC__=no
17066
17067 fi
17068
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070
17071
17072 fi
17073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17075 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17076 :; XLCXX=yes
17077 else
17078 :;
17079 fi
17080 ac_ext=c
17081 ac_cpp='$CPP $CPPFLAGS'
17082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17085
17086
17087
17088 ;;
17089
17090 IRIX*)
17091
17092
17093 ac_ext=cpp
17094 ac_cpp='$CXXCPP $CPPFLAGS'
17095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17098
17099 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17100 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17101 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110
17111 int
17112 main ()
17113 {
17114
17115 #ifndef _SGI_COMPILER_VERSION
17116 choke me
17117 #endif
17118
17119 ;
17120 return 0;
17121 }
17122 _ACEOF
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17128 esac
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_cxx_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17141 else
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17144
17145 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17146
17147 fi
17148
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150
17151
17152 fi
17153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17154 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17155 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17156 :; SGICXX=yes
17157 else
17158 :;
17159 fi
17160 ac_ext=c
17161 ac_cpp='$CPP $CPPFLAGS'
17162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17165
17166
17167
17168 ;;
17169
17170 Linux*)
17171
17172
17173 ac_ext=cpp
17174 ac_cpp='$CXXCPP $CPPFLAGS'
17175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17178
17179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 else
17184 cat >conftest.$ac_ext <<_ACEOF
17185 /* confdefs.h. */
17186 _ACEOF
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17190
17191 int
17192 main ()
17193 {
17194
17195 #ifndef __SUNPRO_CC
17196 choke me
17197 #endif
17198
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext
17204 if { (ac_try="$ac_compile"
17205 case "(($ac_try" in
17206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17207 *) ac_try_echo=$ac_try;;
17208 esac
17209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17210 (eval "$ac_compile") 2>conftest.er1
17211 ac_status=$?
17212 grep -v '^ *+' conftest.er1 >conftest.err
17213 rm -f conftest.er1
17214 cat conftest.err >&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } && {
17217 test -z "$ac_cxx_werror_flag" ||
17218 test ! -s conftest.err
17219 } && test -s conftest.$ac_objext; then
17220 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17224
17225 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17226
17227 fi
17228
17229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17230
17231
17232 fi
17233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17236 :; SUNCXX=yes
17237 else
17238 :;
17239 fi
17240 ac_ext=c
17241 ac_cpp='$CPP $CPPFLAGS'
17242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17245
17246
17247
17248 ;;
17249
17250 HP-UX*)
17251
17252
17253 ac_ext=cpp
17254 ac_cpp='$CXXCPP $CPPFLAGS'
17255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17258
17259 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17260 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17261 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264 cat >conftest.$ac_ext <<_ACEOF
17265 /* confdefs.h. */
17266 _ACEOF
17267 cat confdefs.h >>conftest.$ac_ext
17268 cat >>conftest.$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270
17271 int
17272 main ()
17273 {
17274
17275 #ifndef __HP_aCC
17276 choke me
17277 #endif
17278
17279 ;
17280 return 0;
17281 }
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (ac_try="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17288 esac
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17291 ac_status=$?
17292 grep -v '^ *+' conftest.er1 >conftest.err
17293 rm -f conftest.er1
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_cxx_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 bakefile_cv_cxx_compiler___HP_aCC=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17304
17305 bakefile_cv_cxx_compiler___HP_aCC=no
17306
17307 fi
17308
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17310
17311
17312 fi
17313 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17314 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17315 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17316 :; HPCXX=yes
17317 else
17318 :;
17319 fi
17320 ac_ext=c
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17325
17326
17327
17328 ;;
17329
17330 OSF1)
17331
17332
17333 ac_ext=cpp
17334 ac_cpp='$CXXCPP $CPPFLAGS'
17335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17338
17339 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17340 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17341 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350
17351 int
17352 main ()
17353 {
17354
17355 #ifndef __DECCXX
17356 choke me
17357 #endif
17358
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 rm -f conftest.$ac_objext
17364 if { (ac_try="$ac_compile"
17365 case "(($ac_try" in
17366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17367 *) ac_try_echo=$ac_try;;
17368 esac
17369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17370 (eval "$ac_compile") 2>conftest.er1
17371 ac_status=$?
17372 grep -v '^ *+' conftest.er1 >conftest.err
17373 rm -f conftest.er1
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } && {
17377 test -z "$ac_cxx_werror_flag" ||
17378 test ! -s conftest.err
17379 } && test -s conftest.$ac_objext; then
17380 bakefile_cv_cxx_compiler___DECCXX=yes
17381 else
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.$ac_ext >&5
17384
17385 bakefile_cv_cxx_compiler___DECCXX=no
17386
17387 fi
17388
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17390
17391
17392 fi
17393 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17395 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17396 :; COMPAQCXX=yes
17397 else
17398 :;
17399 fi
17400 ac_ext=c
17401 ac_cpp='$CPP $CPPFLAGS'
17402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17405
17406
17407
17408 ;;
17409
17410 SunOS)
17411
17412
17413 ac_ext=cpp
17414 ac_cpp='$CXXCPP $CPPFLAGS'
17415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17418
17419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17423 else
17424 cat >conftest.$ac_ext <<_ACEOF
17425 /* confdefs.h. */
17426 _ACEOF
17427 cat confdefs.h >>conftest.$ac_ext
17428 cat >>conftest.$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17430
17431 int
17432 main ()
17433 {
17434
17435 #ifndef __SUNPRO_CC
17436 choke me
17437 #endif
17438
17439 ;
17440 return 0;
17441 }
17442 _ACEOF
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17448 esac
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_cxx_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17466
17467 fi
17468
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470
17471
17472 fi
17473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17476 :; SUNCXX=yes
17477 else
17478 :;
17479 fi
17480 ac_ext=c
17481 ac_cpp='$CPP $CPPFLAGS'
17482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17485
17486
17487
17488 ;;
17489 esac
17490 fi
17491
17492
17493
17494 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17495 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17496 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17497 { (exit 1); exit 1; }; }
17498 fi
17499
17500 if test "x$SUNCXX" != xyes; then
17501 if test -n "$ac_tool_prefix"; then
17502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17503 set dummy ${ac_tool_prefix}ar; ac_word=$2
17504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17506 if test "${ac_cv_prog_AR+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 if test -n "$AR"; then
17510 ac_cv_prog_AR="$AR" # Let the user override the test.
17511 else
17512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17513 for as_dir in $PATH
17514 do
17515 IFS=$as_save_IFS
17516 test -z "$as_dir" && as_dir=.
17517 for ac_exec_ext in '' $ac_executable_extensions; do
17518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17519 ac_cv_prog_AR="${ac_tool_prefix}ar"
17520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17521 break 2
17522 fi
17523 done
17524 done
17525 IFS=$as_save_IFS
17526
17527 fi
17528 fi
17529 AR=$ac_cv_prog_AR
17530 if test -n "$AR"; then
17531 { echo "$as_me:$LINENO: result: $AR" >&5
17532 echo "${ECHO_T}$AR" >&6; }
17533 else
17534 { echo "$as_me:$LINENO: result: no" >&5
17535 echo "${ECHO_T}no" >&6; }
17536 fi
17537
17538
17539 fi
17540 if test -z "$ac_cv_prog_AR"; then
17541 ac_ct_AR=$AR
17542 # Extract the first word of "ar", so it can be a program name with args.
17543 set dummy ar; ac_word=$2
17544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 else
17549 if test -n "$ac_ct_AR"; then
17550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17551 else
17552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17553 for as_dir in $PATH
17554 do
17555 IFS=$as_save_IFS
17556 test -z "$as_dir" && as_dir=.
17557 for ac_exec_ext in '' $ac_executable_extensions; do
17558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17559 ac_cv_prog_ac_ct_AR="ar"
17560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17561 break 2
17562 fi
17563 done
17564 done
17565 IFS=$as_save_IFS
17566
17567 fi
17568 fi
17569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17570 if test -n "$ac_ct_AR"; then
17571 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17572 echo "${ECHO_T}$ac_ct_AR" >&6; }
17573 else
17574 { echo "$as_me:$LINENO: result: no" >&5
17575 echo "${ECHO_T}no" >&6; }
17576 fi
17577
17578 if test "x$ac_ct_AR" = x; then
17579 AR=""
17580 else
17581 case $cross_compiling:$ac_tool_warned in
17582 yes:)
17583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17584 whose name does not start with the host triplet. If you think this
17585 configuration is useful to you, please write to autoconf@gnu.org." >&5
17586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17587 whose name does not start with the host triplet. If you think this
17588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17589 ac_tool_warned=yes ;;
17590 esac
17591 AR=$ac_ct_AR
17592 fi
17593 else
17594 AR="$ac_cv_prog_AR"
17595 fi
17596
17597 if test "x$AR" = "x" ; then
17598 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17599 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17600 { (exit 1); exit 1; }; }
17601 fi
17602 fi
17603
17604 retest_macosx_linking=no
17605
17606 #if test "$wxUSE_MAC" = 1; then
17607 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17608 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17609 # Implicitly turn on the new --with-macosx-sdk using the default
17610 # SDK which provides the behavior this option has always had.
17611 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17612 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17613 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17614 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17615 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17616 wxUSE_MACOSX_SDK=yes
17617 fi
17618 else
17619 # Complain to user if he specified an argument to --enable-universal_binary
17620 # and also 1) specified --with-macosx-sdk using the default (yes) or
17621 # 2) specified --with-macosx-sdk using a path or 3) specified
17622 # --without-macosx-sdk (no).
17623 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17624 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17625 See \`config.log' for more details." >&5
17626 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17627 See \`config.log' for more details." >&2;}
17628 { (exit 1); exit 1; }; }
17629 else
17630 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17631 # special-case the empty string because the below test simply
17632 # converts "no" to the empty string anyway.
17633 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17634 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17635 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17636 fi
17637 fi
17638 OSX_UNIV_OPTS="-arch ppc -arch i386"
17639 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17640 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17641 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17642 retest_macosx_linking=yes
17643
17644 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17645 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17646 bk_use_pch=no
17647 fi
17648 #fi
17649
17650 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17651 wxUSE_MACOSX_SDK=
17652 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17653 # TODO: Search for most recent SDK and use it.
17654 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17655 fi
17656
17657
17658 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17659 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17660 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17661 if ! test -d "$wxUSE_MACOSX_SDK"; then
17662 { { echo "$as_me:$LINENO: error: not found
17663 See \`config.log' for more details." >&5
17664 echo "$as_me: error: not found
17665 See \`config.log' for more details." >&2;}
17666 { (exit 1); exit 1; }; }
17667 else
17668 { echo "$as_me:$LINENO: result: exists" >&5
17669 echo "${ECHO_T}exists" >&6; }
17670 fi
17671 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17672 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17673 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17674 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17675 retest_macosx_linking=yes
17676 fi
17677
17678 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17679 wxUSE_MACOSX_VERSION_MIN=
17680 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17681 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17682 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17683 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17684
17685 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/'`
17686
17687 # If that failed, try again with the new key
17688 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17689
17690 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/'`
17691
17692 fi
17693
17694 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17695 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17696 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17697 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17698 else
17699 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17700 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17701 wxUSE_MACOSX_VERSION_MIN=
17702 fi
17703 else
17704 wxUSE_MACOSX_VERSION_MIN=
17705 fi
17706 fi
17707
17708 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17709 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17710 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17711 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17712 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17713 retest_macosx_linking=yes
17714 fi
17715
17716 if test "x$retest_macosx_linking" = "xyes"; then
17717 ac_ext=c
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17722
17723 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17724 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731
17732 int
17733 main ()
17734 {
17735
17736 ;
17737 return 0;
17738 }
17739 _ACEOF
17740 rm -f conftest.$ac_objext conftest$ac_exeext
17741 if { (ac_try="$ac_link"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17745 esac
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_link") 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest$ac_exeext &&
17757 $as_test_x conftest$ac_exeext; then
17758 { echo "$as_me:$LINENO: result: yes" >&5
17759 echo "${ECHO_T}yes" >&6; }
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17765 See \`config.log' for more details." >&5
17766 echo "$as_me: error: no. Try a different SDK
17767 See \`config.log' for more details." >&2;}
17768 { (exit 1); exit 1; }; }; exit 1
17769 fi
17770
17771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17772 conftest$ac_exeext conftest.$ac_ext
17773 ac_ext=c
17774 ac_cpp='$CPP $CPPFLAGS'
17775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17778
17779
17780 ac_ext=cpp
17781 ac_cpp='$CXXCPP $CPPFLAGS'
17782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17785
17786 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17787 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17788 cat >conftest.$ac_ext <<_ACEOF
17789 /* confdefs.h. */
17790 _ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794
17795 int
17796 main ()
17797 {
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext conftest$ac_exeext
17804 if { (ac_try="$ac_link"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17807 *) ac_try_echo=$ac_try;;
17808 esac
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_link") 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest$ac_exeext &&
17820 $as_test_x conftest$ac_exeext; then
17821 { echo "$as_me:$LINENO: result: yes" >&5
17822 echo "${ECHO_T}yes" >&6; }
17823 else
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17826
17827 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17828 See \`config.log' for more details." >&5
17829 echo "$as_me: error: no. Try a different SDK
17830 See \`config.log' for more details." >&2;}
17831 { (exit 1); exit 1; }; }; exit 1
17832 fi
17833
17834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17835 conftest$ac_exeext conftest.$ac_ext
17836 ac_ext=c
17837 ac_cpp='$CPP $CPPFLAGS'
17838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17841
17842 fi
17843
17844
17845 case "${host}" in
17846
17847 *-*-darwin* )
17848 INSTALL_PROGRAM="cp -fp"
17849 INSTALL_DATA="cp -fp"
17850 ;;
17851 *)
17852 ;;
17853 esac
17854
17855
17856 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17857 CXXFLAGS="-qunique $CXXFLAGS"
17858 fi
17859
17860 case "${host}" in
17861 powerpc-*-darwin* )
17862 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17863 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17864 cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h. */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870
17871 int
17872 main ()
17873 {
17874 #ifndef __POWERPC__
17875 choke me for lack of PowerPC
17876 #endif
17877
17878 ;
17879 return 0;
17880 }
17881 _ACEOF
17882 rm -f conftest.$ac_objext
17883 if { (ac_try="$ac_compile"
17884 case "(($ac_try" in
17885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17886 *) ac_try_echo=$ac_try;;
17887 esac
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_compile") 2>conftest.er1
17890 ac_status=$?
17891 grep -v '^ *+' conftest.er1 >conftest.err
17892 rm -f conftest.er1
17893 cat conftest.err >&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && {
17896 test -z "$ac_c_werror_flag" ||
17897 test ! -s conftest.err
17898 } && test -s conftest.$ac_objext; then
17899 { echo "$as_me:$LINENO: result: yes" >&5
17900 echo "${ECHO_T}yes" >&6; }
17901 else
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17904
17905 { echo "$as_me:$LINENO: result: no" >&5
17906 echo "${ECHO_T}no" >&6; }
17907 cat >>confdefs.h <<\_ACEOF
17908 #define __POWERPC__ 1
17909 _ACEOF
17910
17911
17912 fi
17913
17914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17915 ;;
17916 esac
17917
17918 case "${host}" in
17919 *-*-darwin* )
17920 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17921 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17922 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 #include <CoreFoundation/CFBase.h>
17929
17930 int
17931 main ()
17932 {
17933
17934 ;
17935 return 0;
17936 }
17937 _ACEOF
17938 rm -f conftest.$ac_objext
17939 if { (ac_try="$ac_compile"
17940 case "(($ac_try" in
17941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17942 *) ac_try_echo=$ac_try;;
17943 esac
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_compile") 2>conftest.er1
17946 ac_status=$?
17947 grep -v '^ *+' conftest.er1 >conftest.err
17948 rm -f conftest.er1
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_c_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest.$ac_objext; then
17955 { echo "$as_me:$LINENO: result: yes" >&5
17956 echo "${ECHO_T}yes" >&6; }
17957 else
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17960
17961 { echo "$as_me:$LINENO: result: no" >&5
17962 echo "${ECHO_T}no" >&6; }
17963 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17964 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17965 cat >conftest.$ac_ext <<_ACEOF
17966 /* confdefs.h. */
17967 _ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971 #define __CF_USE_FRAMEWORK_INCLUDES__
17972 #include <CoreFoundation/CFBase.h>
17973
17974 int
17975 main ()
17976 {
17977
17978 ;
17979 return 0;
17980 }
17981 _ACEOF
17982 rm -f conftest.$ac_objext
17983 if { (ac_try="$ac_compile"
17984 case "(($ac_try" in
17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17986 *) ac_try_echo=$ac_try;;
17987 esac
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_compile") 2>conftest.er1
17990 ac_status=$?
17991 grep -v '^ *+' conftest.er1 >conftest.err
17992 rm -f conftest.er1
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_c_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest.$ac_objext; then
17999 { echo "$as_me:$LINENO: result: yes" >&5
18000 echo "${ECHO_T}yes" >&6; }
18001 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18002 else
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18005
18006 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18007 See \`config.log' for more details." >&5
18008 echo "$as_me: error: no. CoreFoundation not available.
18009 See \`config.log' for more details." >&2;}
18010 { (exit 1); exit 1; }; }
18011
18012 fi
18013
18014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18015
18016
18017 fi
18018
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020 ;;
18021 esac
18022
18023 wants_win32=0
18024 doesnt_want_win32=0
18025 case "${host}" in
18026 *-*-cygwin*)
18027 if test "$wxUSE_MSW" = 1 ; then
18028 wants_win32=1
18029 else
18030 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18031 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18032 if test "${wx_cv_nocygwin+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 else
18035
18036 cat >conftest.$ac_ext <<_ACEOF
18037 /* confdefs.h. */
18038 _ACEOF
18039 cat confdefs.h >>conftest.$ac_ext
18040 cat >>conftest.$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042
18043 int
18044 main ()
18045 {
18046
18047 #ifdef __MINGW32__
18048 choke me
18049 #endif
18050
18051 ;
18052 return 0;
18053 }
18054 _ACEOF
18055 rm -f conftest.$ac_objext
18056 if { (ac_try="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18060 esac
18061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18063 ac_status=$?
18064 grep -v '^ *+' conftest.er1 >conftest.err
18065 rm -f conftest.er1
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18072 wx_cv_nocygwin=no
18073 else
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18076
18077 wx_cv_nocygwin=yes
18078
18079 fi
18080
18081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18082
18083
18084 fi
18085 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18086 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18087
18088 if test "$wx_cv_nocygwin" = "yes"; then
18089 wants_win32=1
18090 else
18091 doesnt_want_win32=1
18092 fi
18093 fi
18094 if test "$wants_win32" = 1 ; then
18095 BAKEFILE_FORCE_PLATFORM=win32
18096 fi
18097 ;;
18098 *-*-mingw*)
18099 wants_win32=1
18100 ;;
18101 esac
18102
18103 if test "$wxUSE_WINE" = "yes"; then
18104 wants_win32=1
18105 LDFLAGS_GUI="-mwindows"
18106 fi
18107
18108 if test "$wants_win32" = 1 ; then
18109 USE_UNIX=0
18110 USE_WIN32=1
18111 cat >>confdefs.h <<\_ACEOF
18112 #define __WIN32__ 1
18113 _ACEOF
18114
18115 cat >>confdefs.h <<\_ACEOF
18116 #define __WIN95__ 1
18117 _ACEOF
18118
18119 cat >>confdefs.h <<\_ACEOF
18120 #define __WINDOWS__ 1
18121 _ACEOF
18122
18123 cat >>confdefs.h <<\_ACEOF
18124 #define __GNUWIN32__ 1
18125 _ACEOF
18126
18127 cat >>confdefs.h <<\_ACEOF
18128 #define STRICT 1
18129 _ACEOF
18130
18131 fi
18132 if test "$doesnt_want_win32" = 1 ; then
18133 USE_UNIX=1
18134 USE_WIN32=0
18135 fi
18136
18137 if test "$USE_UNIX" = 1 ; then
18138 wxUSE_UNIX=yes
18139 cat >>confdefs.h <<\_ACEOF
18140 #define __UNIX__ 1
18141 _ACEOF
18142
18143 fi
18144
18145 case "${host}" in
18146 *-pc-os2_emx | *-pc-os2-emx )
18147 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18148 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18149 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18150 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18151 echo $ECHO_N "(cached) $ECHO_C" >&6
18152 else
18153 ac_check_lib_save_LIBS=$LIBS
18154 LIBS="-lcExt $LIBS"
18155 cat >conftest.$ac_ext <<_ACEOF
18156 /* confdefs.h. */
18157 _ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161
18162 /* Override any GCC internal prototype to avoid an error.
18163 Use char because int might match the return type of a GCC
18164 builtin and then its argument prototype would still apply. */
18165 #ifdef __cplusplus
18166 extern "C"
18167 #endif
18168 char drand48 ();
18169 int
18170 main ()
18171 {
18172 return drand48 ();
18173 ;
18174 return 0;
18175 }
18176 _ACEOF
18177 rm -f conftest.$ac_objext conftest$ac_exeext
18178 if { (ac_try="$ac_link"
18179 case "(($ac_try" in
18180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18181 *) ac_try_echo=$ac_try;;
18182 esac
18183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18184 (eval "$ac_link") 2>conftest.er1
18185 ac_status=$?
18186 grep -v '^ *+' conftest.er1 >conftest.err
18187 rm -f conftest.er1
18188 cat conftest.err >&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } && {
18191 test -z "$ac_c_werror_flag" ||
18192 test ! -s conftest.err
18193 } && test -s conftest$ac_exeext &&
18194 $as_test_x conftest$ac_exeext; then
18195 ac_cv_lib_cExt_drand48=yes
18196 else
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18199
18200 ac_cv_lib_cExt_drand48=no
18201 fi
18202
18203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_check_lib_save_LIBS
18206 fi
18207 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18208 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18209 if test $ac_cv_lib_cExt_drand48 = yes; then
18210 LIBS="$LIBS -lcExt"
18211 fi
18212
18213 else
18214 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18215 fi
18216 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18217 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18218 if test "${wx_cv_gccversion+set}" = set; then
18219 echo $ECHO_N "(cached) $ECHO_C" >&6
18220 else
18221
18222 if test "$cross_compiling" = yes; then
18223 wx_cv_gccversion="EMX2"
18224
18225 else
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232
18233 #include <stdio.h>
18234
18235 int main()
18236 {
18237 FILE *f=fopen("conftestval", "w");
18238 if (!f) exit(1);
18239 fprintf(f,
18240 #if (__GNUC__ < 3)
18241 "EMX2"
18242 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18243 "EMX3"
18244 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18245 "Innotek5"
18246 #else
18247 "Innotek6"
18248 #endif
18249 );
18250 exit(0);
18251 }
18252
18253 _ACEOF
18254 rm -f conftest$ac_exeext
18255 if { (ac_try="$ac_link"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_link") 2>&5
18262 ac_status=$?
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18265 { (case "(($ac_try" in
18266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18267 *) ac_try_echo=$ac_try;;
18268 esac
18269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18270 (eval "$ac_try") 2>&5
18271 ac_status=$?
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; }; then
18274 wx_cv_gccversion=`cat conftestval`
18275 else
18276 echo "$as_me: program exited with status $ac_status" >&5
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.$ac_ext >&5
18279
18280 ( exit $ac_status )
18281 wx_cv_gccversion="EMX2"
18282 fi
18283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18284 fi
18285
18286
18287
18288 fi
18289 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18290 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18291 if test "$wx_cv_gccversion" = "EMX2"; then
18292 LIBS="$LIBS -lstdcpp"
18293 LDFLAGS="$LDFLAGS -Zsysv-signals"
18294 else
18295 if test "$wx_cv_gccversion" = "EMX3"; then
18296 LIBS="$LIBS -lstdcxx -lgcc"
18297 LDFLAGS="$LDFLAGS -Zsysv-signals"
18298 else
18299 LIBS="$LIBS -lstdc++"
18300 fi
18301 fi
18302 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18303 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18304 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18305 wxUSE_OMF=yes
18306 enable_omf=yes
18307 fi
18308 ;;
18309 *)
18310
18311 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18312 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18313 if test "${ac_cv_string_strcasecmp+set}" = set; then
18314 echo $ECHO_N "(cached) $ECHO_C" >&6
18315 else
18316
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323
18324 #include <string.h>
18325
18326 int
18327 main ()
18328 {
18329
18330 strcasecmp("foo", "bar");
18331
18332 ;
18333 return 0;
18334 }
18335 _ACEOF
18336 rm -f conftest.$ac_objext conftest$ac_exeext
18337 if { (ac_try="$ac_link"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18341 esac
18342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_link") 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest$ac_exeext &&
18353 $as_test_x conftest$ac_exeext; then
18354 ac_cv_string_strcasecmp=yes
18355 else
18356 echo "$as_me: failed program was:" >&5
18357 sed 's/^/| /' conftest.$ac_ext >&5
18358
18359 ac_cv_string_strcasecmp=no
18360
18361 fi
18362
18363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18364 conftest$ac_exeext conftest.$ac_ext
18365
18366 fi
18367 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18368 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18369
18370 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18371 cat >>confdefs.h <<\_ACEOF
18372 #define HAVE_STRCASECMP_IN_STRING_H 1
18373 _ACEOF
18374
18375 else
18376 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18377 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18378 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18379 echo $ECHO_N "(cached) $ECHO_C" >&6
18380 else
18381
18382 cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h. */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388
18389 #include <strings.h>
18390
18391 int
18392 main ()
18393 {
18394
18395 strcasecmp("foo", "bar");
18396
18397 ;
18398 return 0;
18399 }
18400 _ACEOF
18401 rm -f conftest.$ac_objext conftest$ac_exeext
18402 if { (ac_try="$ac_link"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18406 esac
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_link") 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest$ac_exeext &&
18418 $as_test_x conftest$ac_exeext; then
18419 ac_cv_strings_strcasecmp=yes
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18423
18424 ac_cv_strings_strcasecmp=no
18425
18426 fi
18427
18428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18429 conftest$ac_exeext conftest.$ac_ext
18430
18431 fi
18432 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18433 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18434
18435 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18436 cat >>confdefs.h <<\_ACEOF
18437 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18438 _ACEOF
18439
18440 else
18441 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18442 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18443 { (exit 1); exit 1; }; }
18444 fi
18445 fi
18446
18447 ;;
18448 esac
18449
18450
18451 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18452 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18453 if test "${ac_cv_header_stdc+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18456 cat >conftest.$ac_ext <<_ACEOF
18457 /* confdefs.h. */
18458 _ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #include <stdlib.h>
18463 #include <stdarg.h>
18464 #include <string.h>
18465 #include <float.h>
18466
18467 int
18468 main ()
18469 {
18470
18471 ;
18472 return 0;
18473 }
18474 _ACEOF
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.$ac_objext; then
18492 ac_cv_header_stdc=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_cv_header_stdc=no
18498 fi
18499
18500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501
18502 if test $ac_cv_header_stdc = yes; then
18503 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18504 cat >conftest.$ac_ext <<_ACEOF
18505 /* confdefs.h. */
18506 _ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <string.h>
18511
18512 _ACEOF
18513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18514 $EGREP "memchr" >/dev/null 2>&1; then
18515 :
18516 else
18517 ac_cv_header_stdc=no
18518 fi
18519 rm -f conftest*
18520
18521 fi
18522
18523 if test $ac_cv_header_stdc = yes; then
18524 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18525 cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h. */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <stdlib.h>
18532
18533 _ACEOF
18534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18535 $EGREP "free" >/dev/null 2>&1; then
18536 :
18537 else
18538 ac_cv_header_stdc=no
18539 fi
18540 rm -f conftest*
18541
18542 fi
18543
18544 if test $ac_cv_header_stdc = yes; then
18545 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18546 if test "$cross_compiling" = yes; then
18547 :
18548 else
18549 cat >conftest.$ac_ext <<_ACEOF
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 #include <ctype.h>
18556 #include <stdlib.h>
18557 #if ((' ' & 0x0FF) == 0x020)
18558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18560 #else
18561 # define ISLOWER(c) \
18562 (('a' <= (c) && (c) <= 'i') \
18563 || ('j' <= (c) && (c) <= 'r') \
18564 || ('s' <= (c) && (c) <= 'z'))
18565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18566 #endif
18567
18568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18569 int
18570 main ()
18571 {
18572 int i;
18573 for (i = 0; i < 256; i++)
18574 if (XOR (islower (i), ISLOWER (i))
18575 || toupper (i) != TOUPPER (i))
18576 return 2;
18577 return 0;
18578 }
18579 _ACEOF
18580 rm -f conftest$ac_exeext
18581 if { (ac_try="$ac_link"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_link") 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18591 { (case "(($ac_try" in
18592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18593 *) ac_try_echo=$ac_try;;
18594 esac
18595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18596 (eval "$ac_try") 2>&5
18597 ac_status=$?
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; }; then
18600 :
18601 else
18602 echo "$as_me: program exited with status $ac_status" >&5
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18605
18606 ( exit $ac_status )
18607 ac_cv_header_stdc=no
18608 fi
18609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18610 fi
18611
18612
18613 fi
18614 fi
18615 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18616 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18617 if test $ac_cv_header_stdc = yes; then
18618
18619 cat >>confdefs.h <<\_ACEOF
18620 #define STDC_HEADERS 1
18621 _ACEOF
18622
18623 fi
18624
18625 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18636 inttypes.h stdint.h unistd.h
18637 do
18638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18651
18652 #include <$ac_header>
18653 _ACEOF
18654 rm -f conftest.$ac_objext
18655 if { (ac_try="$ac_compile"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18659 esac
18660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_compile") 2>conftest.er1
18662 ac_status=$?
18663 grep -v '^ *+' conftest.er1 >conftest.err
18664 rm -f conftest.er1
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } && {
18668 test -z "$ac_c_werror_flag" ||
18669 test ! -s conftest.err
18670 } && test -s conftest.$ac_objext; then
18671 eval "$as_ac_Header=yes"
18672 else
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18675
18676 eval "$as_ac_Header=no"
18677 fi
18678
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 fi
18681 ac_res=`eval echo '${'$as_ac_Header'}'`
18682 { echo "$as_me:$LINENO: result: $ac_res" >&5
18683 echo "${ECHO_T}$ac_res" >&6; }
18684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18685 cat >>confdefs.h <<_ACEOF
18686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18687 _ACEOF
18688
18689 fi
18690
18691 done
18692
18693
18694
18695
18696 for ac_header in langinfo.h wchar.h
18697 do
18698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 else
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h. */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18710 $ac_includes_default
18711
18712 #include <$ac_header>
18713 _ACEOF
18714 rm -f conftest.$ac_objext
18715 if { (ac_try="$ac_compile"
18716 case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18719 esac
18720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_compile") 2>conftest.er1
18722 ac_status=$?
18723 grep -v '^ *+' conftest.er1 >conftest.err
18724 rm -f conftest.er1
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } && {
18728 test -z "$ac_c_werror_flag" ||
18729 test ! -s conftest.err
18730 } && test -s conftest.$ac_objext; then
18731 eval "$as_ac_Header=yes"
18732 else
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18735
18736 eval "$as_ac_Header=no"
18737 fi
18738
18739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18740 fi
18741 ac_res=`eval echo '${'$as_ac_Header'}'`
18742 { echo "$as_me:$LINENO: result: $ac_res" >&5
18743 echo "${ECHO_T}$ac_res" >&6; }
18744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18745 cat >>confdefs.h <<_ACEOF
18746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18747 _ACEOF
18748
18749 fi
18750
18751 done
18752
18753
18754 if test "$ac_cv_header_wchar_h" != "yes"; then
18755
18756 for ac_header in wcstr.h
18757 do
18758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 else
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 $ac_includes_default
18771
18772 #include <$ac_header>
18773 _ACEOF
18774 rm -f conftest.$ac_objext
18775 if { (ac_try="$ac_compile"
18776 case "(($ac_try" in
18777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18778 *) ac_try_echo=$ac_try;;
18779 esac
18780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_compile") 2>conftest.er1
18782 ac_status=$?
18783 grep -v '^ *+' conftest.er1 >conftest.err
18784 rm -f conftest.er1
18785 cat conftest.err >&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } && {
18788 test -z "$ac_c_werror_flag" ||
18789 test ! -s conftest.err
18790 } && test -s conftest.$ac_objext; then
18791 eval "$as_ac_Header=yes"
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18795
18796 eval "$as_ac_Header=no"
18797 fi
18798
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 fi
18801 ac_res=`eval echo '${'$as_ac_Header'}'`
18802 { echo "$as_me:$LINENO: result: $ac_res" >&5
18803 echo "${ECHO_T}$ac_res" >&6; }
18804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18805 cat >>confdefs.h <<_ACEOF
18806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18807 _ACEOF
18808
18809 fi
18810
18811 done
18812
18813 fi
18814
18815 case "${host}" in
18816 *-pc-os2_emx | *-pc-os2-emx )
18817 if test $ac_cv_header_langinfo_h = "yes" \
18818 -a \( "$wx_cv_gccversion" = "EMX2" \
18819 -o "$wx_cv_gccversion" = "EMX3" \
18820 -o "$wx_cv_gccversion" = "Innotek5" \); then
18821 LIBS="$LIBS -lintl"
18822 fi
18823 ;;
18824 esac
18825
18826 if test "$USE_UNIX" = 1 ; then
18827
18828 for ac_header in sys/select.h
18829 do
18830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18831 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18833 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 else
18836 cat >conftest.$ac_ext <<_ACEOF
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 $ac_includes_default
18843
18844 #include <$ac_header>
18845 _ACEOF
18846 rm -f conftest.$ac_objext
18847 if { (ac_try="$ac_compile"
18848 case "(($ac_try" in
18849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18850 *) ac_try_echo=$ac_try;;
18851 esac
18852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_compile") 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } && {
18860 test -z "$ac_c_werror_flag" ||
18861 test ! -s conftest.err
18862 } && test -s conftest.$ac_objext; then
18863 eval "$as_ac_Header=yes"
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18867
18868 eval "$as_ac_Header=no"
18869 fi
18870
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 fi
18873 ac_res=`eval echo '${'$as_ac_Header'}'`
18874 { echo "$as_me:$LINENO: result: $ac_res" >&5
18875 echo "${ECHO_T}$ac_res" >&6; }
18876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18877 cat >>confdefs.h <<_ACEOF
18878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18879 _ACEOF
18880
18881 fi
18882
18883 done
18884
18885 fi
18886
18887
18888 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18889 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18890 if test "${ac_cv_c_const+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18892 else
18893 cat >conftest.$ac_ext <<_ACEOF
18894 /* confdefs.h. */
18895 _ACEOF
18896 cat confdefs.h >>conftest.$ac_ext
18897 cat >>conftest.$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18899
18900 int
18901 main ()
18902 {
18903 /* FIXME: Include the comments suggested by Paul. */
18904 #ifndef __cplusplus
18905 /* Ultrix mips cc rejects this. */
18906 typedef int charset[2];
18907 const charset cs;
18908 /* SunOS 4.1.1 cc rejects this. */
18909 char const *const *pcpcc;
18910 char **ppc;
18911 /* NEC SVR4.0.2 mips cc rejects this. */
18912 struct point {int x, y;};
18913 static struct point const zero = {0,0};
18914 /* AIX XL C 1.02.0.0 rejects this.
18915 It does not let you subtract one const X* pointer from another in
18916 an arm of an if-expression whose if-part is not a constant
18917 expression */
18918 const char *g = "string";
18919 pcpcc = &g + (g ? g-g : 0);
18920 /* HPUX 7.0 cc rejects these. */
18921 ++pcpcc;
18922 ppc = (char**) pcpcc;
18923 pcpcc = (char const *const *) ppc;
18924 { /* SCO 3.2v4 cc rejects this. */
18925 char *t;
18926 char const *s = 0 ? (char *) 0 : (char const *) 0;
18927
18928 *t++ = 0;
18929 if (s) return 0;
18930 }
18931 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18932 int x[] = {25, 17};
18933 const int *foo = &x[0];
18934 ++foo;
18935 }
18936 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18937 typedef const int *iptr;
18938 iptr p = 0;
18939 ++p;
18940 }
18941 { /* AIX XL C 1.02.0.0 rejects this saying
18942 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18943 struct s { int j; const int *ap[3]; };
18944 struct s *b; b->j = 5;
18945 }
18946 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18947 const int foo = 10;
18948 if (!foo) return 0;
18949 }
18950 return !cs[0] && !zero.x;
18951 #endif
18952
18953 ;
18954 return 0;
18955 }
18956 _ACEOF
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18962 esac
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_c_const=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979 ac_cv_c_const=no
18980 fi
18981
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 fi
18984 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18985 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18986 if test $ac_cv_c_const = no; then
18987
18988 cat >>confdefs.h <<\_ACEOF
18989 #define const
18990 _ACEOF
18991
18992 fi
18993
18994 { echo "$as_me:$LINENO: checking for inline" >&5
18995 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18996 if test "${ac_cv_c_inline+set}" = set; then
18997 echo $ECHO_N "(cached) $ECHO_C" >&6
18998 else
18999 ac_cv_c_inline=no
19000 for ac_kw in inline __inline__ __inline; do
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 #ifndef __cplusplus
19008 typedef int foo_t;
19009 static $ac_kw foo_t static_foo () {return 0; }
19010 $ac_kw foo_t foo () {return 0; }
19011 #endif
19012
19013 _ACEOF
19014 rm -f conftest.$ac_objext
19015 if { (ac_try="$ac_compile"
19016 case "(($ac_try" in
19017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19018 *) ac_try_echo=$ac_try;;
19019 esac
19020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19021 (eval "$ac_compile") 2>conftest.er1
19022 ac_status=$?
19023 grep -v '^ *+' conftest.er1 >conftest.err
19024 rm -f conftest.er1
19025 cat conftest.err >&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } && {
19028 test -z "$ac_c_werror_flag" ||
19029 test ! -s conftest.err
19030 } && test -s conftest.$ac_objext; then
19031 ac_cv_c_inline=$ac_kw
19032 else
19033 echo "$as_me: failed program was:" >&5
19034 sed 's/^/| /' conftest.$ac_ext >&5
19035
19036
19037 fi
19038
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 test "$ac_cv_c_inline" != no && break
19041 done
19042
19043 fi
19044 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19045 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19046
19047
19048 case $ac_cv_c_inline in
19049 inline | yes) ;;
19050 *)
19051 case $ac_cv_c_inline in
19052 no) ac_val=;;
19053 *) ac_val=$ac_cv_c_inline;;
19054 esac
19055 cat >>confdefs.h <<_ACEOF
19056 #ifndef __cplusplus
19057 #define inline $ac_val
19058 #endif
19059 _ACEOF
19060 ;;
19061 esac
19062
19063
19064 { echo "$as_me:$LINENO: checking for short" >&5
19065 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19066 if test "${ac_cv_type_short+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 else
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 $ac_includes_default
19076 typedef short ac__type_new_;
19077 int
19078 main ()
19079 {
19080 if ((ac__type_new_ *) 0)
19081 return 0;
19082 if (sizeof (ac__type_new_))
19083 return 0;
19084 ;
19085 return 0;
19086 }
19087 _ACEOF
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19105 ac_cv_type_short=yes
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19109
19110 ac_cv_type_short=no
19111 fi
19112
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 fi
19115 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19116 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19117
19118 # The cast to long int works around a bug in the HP C Compiler
19119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19121 # This bug is HP SR number 8606223364.
19122 { echo "$as_me:$LINENO: checking size of short" >&5
19123 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19124 if test "${ac_cv_sizeof_short+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 else
19127 if test "$cross_compiling" = yes; then
19128 # Depending upon the size, compute the lo and hi bounds.
19129 cat >conftest.$ac_ext <<_ACEOF
19130 /* confdefs.h. */
19131 _ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19136 typedef short ac__type_sizeof_;
19137 int
19138 main ()
19139 {
19140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19141 test_array [0] = 0
19142
19143 ;
19144 return 0;
19145 }
19146 _ACEOF
19147 rm -f conftest.$ac_objext
19148 if { (ac_try="$ac_compile"
19149 case "(($ac_try" in
19150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19151 *) ac_try_echo=$ac_try;;
19152 esac
19153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19154 (eval "$ac_compile") 2>conftest.er1
19155 ac_status=$?
19156 grep -v '^ *+' conftest.er1 >conftest.err
19157 rm -f conftest.er1
19158 cat conftest.err >&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } && {
19161 test -z "$ac_c_werror_flag" ||
19162 test ! -s conftest.err
19163 } && test -s conftest.$ac_objext; then
19164 ac_lo=0 ac_mid=0
19165 while :; do
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 $ac_includes_default
19173 typedef short ac__type_sizeof_;
19174 int
19175 main ()
19176 {
19177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19178 test_array [0] = 0
19179
19180 ;
19181 return 0;
19182 }
19183 _ACEOF
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19189 esac
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19192 ac_status=$?
19193 grep -v '^ *+' conftest.er1 >conftest.err
19194 rm -f conftest.er1
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 ac_hi=$ac_mid; break
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19205
19206 ac_lo=`expr $ac_mid + 1`
19207 if test $ac_lo -le $ac_mid; then
19208 ac_lo= ac_hi=
19209 break
19210 fi
19211 ac_mid=`expr 2 '*' $ac_mid + 1`
19212 fi
19213
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 done
19216 else
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19219
19220 cat >conftest.$ac_ext <<_ACEOF
19221 /* confdefs.h. */
19222 _ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19227 typedef short ac__type_sizeof_;
19228 int
19229 main ()
19230 {
19231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19232 test_array [0] = 0
19233
19234 ;
19235 return 0;
19236 }
19237 _ACEOF
19238 rm -f conftest.$ac_objext
19239 if { (ac_try="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19243 esac
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19246 ac_status=$?
19247 grep -v '^ *+' conftest.er1 >conftest.err
19248 rm -f conftest.er1
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_c_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19255 ac_hi=-1 ac_mid=-1
19256 while :; do
19257 cat >conftest.$ac_ext <<_ACEOF
19258 /* confdefs.h. */
19259 _ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 $ac_includes_default
19264 typedef short ac__type_sizeof_;
19265 int
19266 main ()
19267 {
19268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19269 test_array [0] = 0
19270
19271 ;
19272 return 0;
19273 }
19274 _ACEOF
19275 rm -f conftest.$ac_objext
19276 if { (ac_try="$ac_compile"
19277 case "(($ac_try" in
19278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19279 *) ac_try_echo=$ac_try;;
19280 esac
19281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19282 (eval "$ac_compile") 2>conftest.er1
19283 ac_status=$?
19284 grep -v '^ *+' conftest.er1 >conftest.err
19285 rm -f conftest.er1
19286 cat conftest.err >&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } && {
19289 test -z "$ac_c_werror_flag" ||
19290 test ! -s conftest.err
19291 } && test -s conftest.$ac_objext; then
19292 ac_lo=$ac_mid; break
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19296
19297 ac_hi=`expr '(' $ac_mid ')' - 1`
19298 if test $ac_mid -le $ac_hi; then
19299 ac_lo= ac_hi=
19300 break
19301 fi
19302 ac_mid=`expr 2 '*' $ac_mid`
19303 fi
19304
19305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19306 done
19307 else
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19310
19311 ac_lo= ac_hi=
19312 fi
19313
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 fi
19316
19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 # Binary search between lo and hi bounds.
19319 while test "x$ac_lo" != "x$ac_hi"; do
19320 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19321 cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h. */
19323 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 $ac_includes_default
19328 typedef short ac__type_sizeof_;
19329 int
19330 main ()
19331 {
19332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19333 test_array [0] = 0
19334
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19347 ac_status=$?
19348 grep -v '^ *+' conftest.er1 >conftest.err
19349 rm -f conftest.er1
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19356 ac_hi=$ac_mid
19357 else
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19360
19361 ac_lo=`expr '(' $ac_mid ')' + 1`
19362 fi
19363
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19365 done
19366 case $ac_lo in
19367 ?*) ac_cv_sizeof_short=$ac_lo;;
19368 '') if test "$ac_cv_type_short" = yes; then
19369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19370 See \`config.log' for more details." >&5
19371 echo "$as_me: error: cannot compute sizeof (short)
19372 See \`config.log' for more details." >&2;}
19373 { (exit 77); exit 77; }; }
19374 else
19375 ac_cv_sizeof_short=0
19376 fi ;;
19377 esac
19378 else
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 $ac_includes_default
19386 typedef short ac__type_sizeof_;
19387 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19388 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19389 #include <stdio.h>
19390 #include <stdlib.h>
19391 int
19392 main ()
19393 {
19394
19395 FILE *f = fopen ("conftest.val", "w");
19396 if (! f)
19397 return 1;
19398 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19399 {
19400 long int i = longval ();
19401 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19402 return 1;
19403 fprintf (f, "%ld\n", i);
19404 }
19405 else
19406 {
19407 unsigned long int i = ulongval ();
19408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19409 return 1;
19410 fprintf (f, "%lu\n", i);
19411 }
19412 return ferror (f) || fclose (f) != 0;
19413
19414 ;
19415 return 0;
19416 }
19417 _ACEOF
19418 rm -f conftest$ac_exeext
19419 if { (ac_try="$ac_link"
19420 case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19423 esac
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_link") 2>&5
19426 ac_status=$?
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19429 { (case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19432 esac
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_try") 2>&5
19435 ac_status=$?
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19438 ac_cv_sizeof_short=`cat conftest.val`
19439 else
19440 echo "$as_me: program exited with status $ac_status" >&5
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19443
19444 ( exit $ac_status )
19445 if test "$ac_cv_type_short" = yes; then
19446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19447 See \`config.log' for more details." >&5
19448 echo "$as_me: error: cannot compute sizeof (short)
19449 See \`config.log' for more details." >&2;}
19450 { (exit 77); exit 77; }; }
19451 else
19452 ac_cv_sizeof_short=0
19453 fi
19454 fi
19455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19456 fi
19457 rm -f conftest.val
19458 fi
19459 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19460 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19461
19462
19463
19464 cat >>confdefs.h <<_ACEOF
19465 #define SIZEOF_SHORT $ac_cv_sizeof_short
19466 _ACEOF
19467
19468
19469 { echo "$as_me:$LINENO: checking for void *" >&5
19470 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19471 if test "${ac_cv_type_void_p+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474 cat >conftest.$ac_ext <<_ACEOF
19475 /* confdefs.h. */
19476 _ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 $ac_includes_default
19481 typedef void * ac__type_new_;
19482 int
19483 main ()
19484 {
19485 if ((ac__type_new_ *) 0)
19486 return 0;
19487 if (sizeof (ac__type_new_))
19488 return 0;
19489 ;
19490 return 0;
19491 }
19492 _ACEOF
19493 rm -f conftest.$ac_objext
19494 if { (ac_try="$ac_compile"
19495 case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19498 esac
19499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_compile") 2>conftest.er1
19501 ac_status=$?
19502 grep -v '^ *+' conftest.er1 >conftest.err
19503 rm -f conftest.er1
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } && {
19507 test -z "$ac_c_werror_flag" ||
19508 test ! -s conftest.err
19509 } && test -s conftest.$ac_objext; then
19510 ac_cv_type_void_p=yes
19511 else
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19514
19515 ac_cv_type_void_p=no
19516 fi
19517
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 fi
19520 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19521 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19522
19523 # The cast to long int works around a bug in the HP C Compiler
19524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19526 # This bug is HP SR number 8606223364.
19527 { echo "$as_me:$LINENO: checking size of void *" >&5
19528 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19529 if test "${ac_cv_sizeof_void_p+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19531 else
19532 if test "$cross_compiling" = yes; then
19533 # Depending upon the size, compute the lo and hi bounds.
19534 cat >conftest.$ac_ext <<_ACEOF
19535 /* confdefs.h. */
19536 _ACEOF
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19541 typedef void * ac__type_sizeof_;
19542 int
19543 main ()
19544 {
19545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19546 test_array [0] = 0
19547
19548 ;
19549 return 0;
19550 }
19551 _ACEOF
19552 rm -f conftest.$ac_objext
19553 if { (ac_try="$ac_compile"
19554 case "(($ac_try" in
19555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19556 *) ac_try_echo=$ac_try;;
19557 esac
19558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19559 (eval "$ac_compile") 2>conftest.er1
19560 ac_status=$?
19561 grep -v '^ *+' conftest.er1 >conftest.err
19562 rm -f conftest.er1
19563 cat conftest.err >&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } && {
19566 test -z "$ac_c_werror_flag" ||
19567 test ! -s conftest.err
19568 } && test -s conftest.$ac_objext; then
19569 ac_lo=0 ac_mid=0
19570 while :; do
19571 cat >conftest.$ac_ext <<_ACEOF
19572 /* confdefs.h. */
19573 _ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19578 typedef void * ac__type_sizeof_;
19579 int
19580 main ()
19581 {
19582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19583 test_array [0] = 0
19584
19585 ;
19586 return 0;
19587 }
19588 _ACEOF
19589 rm -f conftest.$ac_objext
19590 if { (ac_try="$ac_compile"
19591 case "(($ac_try" in
19592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19593 *) ac_try_echo=$ac_try;;
19594 esac
19595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19596 (eval "$ac_compile") 2>conftest.er1
19597 ac_status=$?
19598 grep -v '^ *+' conftest.er1 >conftest.err
19599 rm -f conftest.er1
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } && {
19603 test -z "$ac_c_werror_flag" ||
19604 test ! -s conftest.err
19605 } && test -s conftest.$ac_objext; then
19606 ac_hi=$ac_mid; break
19607 else
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19610
19611 ac_lo=`expr $ac_mid + 1`
19612 if test $ac_lo -le $ac_mid; then
19613 ac_lo= ac_hi=
19614 break
19615 fi
19616 ac_mid=`expr 2 '*' $ac_mid + 1`
19617 fi
19618
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 done
19621 else
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19624
19625 cat >conftest.$ac_ext <<_ACEOF
19626 /* confdefs.h. */
19627 _ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19632 typedef void * ac__type_sizeof_;
19633 int
19634 main ()
19635 {
19636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19637 test_array [0] = 0
19638
19639 ;
19640 return 0;
19641 }
19642 _ACEOF
19643 rm -f conftest.$ac_objext
19644 if { (ac_try="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19648 esac
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19651 ac_status=$?
19652 grep -v '^ *+' conftest.er1 >conftest.err
19653 rm -f conftest.er1
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } && {
19657 test -z "$ac_c_werror_flag" ||
19658 test ! -s conftest.err
19659 } && test -s conftest.$ac_objext; then
19660 ac_hi=-1 ac_mid=-1
19661 while :; do
19662 cat >conftest.$ac_ext <<_ACEOF
19663 /* confdefs.h. */
19664 _ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19669 typedef void * ac__type_sizeof_;
19670 int
19671 main ()
19672 {
19673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19674 test_array [0] = 0
19675
19676 ;
19677 return 0;
19678 }
19679 _ACEOF
19680 rm -f conftest.$ac_objext
19681 if { (ac_try="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.$ac_objext; then
19697 ac_lo=$ac_mid; break
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ac_hi=`expr '(' $ac_mid ')' - 1`
19703 if test $ac_mid -le $ac_hi; then
19704 ac_lo= ac_hi=
19705 break
19706 fi
19707 ac_mid=`expr 2 '*' $ac_mid`
19708 fi
19709
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19711 done
19712 else
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_lo= ac_hi=
19717 fi
19718
19719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19720 fi
19721
19722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19723 # Binary search between lo and hi bounds.
19724 while test "x$ac_lo" != "x$ac_hi"; do
19725 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h. */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733 typedef void * ac__type_sizeof_;
19734 int
19735 main ()
19736 {
19737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19738 test_array [0] = 0
19739
19740 ;
19741 return 0;
19742 }
19743 _ACEOF
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19749 esac
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19752 ac_status=$?
19753 grep -v '^ *+' conftest.er1 >conftest.err
19754 rm -f conftest.er1
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19761 ac_hi=$ac_mid
19762 else
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19765
19766 ac_lo=`expr '(' $ac_mid ')' + 1`
19767 fi
19768
19769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 done
19771 case $ac_lo in
19772 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19773 '') if test "$ac_cv_type_void_p" = yes; then
19774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19775 See \`config.log' for more details." >&5
19776 echo "$as_me: error: cannot compute sizeof (void *)
19777 See \`config.log' for more details." >&2;}
19778 { (exit 77); exit 77; }; }
19779 else
19780 ac_cv_sizeof_void_p=0
19781 fi ;;
19782 esac
19783 else
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 $ac_includes_default
19791 typedef void * ac__type_sizeof_;
19792 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19793 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19794 #include <stdio.h>
19795 #include <stdlib.h>
19796 int
19797 main ()
19798 {
19799
19800 FILE *f = fopen ("conftest.val", "w");
19801 if (! f)
19802 return 1;
19803 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19804 {
19805 long int i = longval ();
19806 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19807 return 1;
19808 fprintf (f, "%ld\n", i);
19809 }
19810 else
19811 {
19812 unsigned long int i = ulongval ();
19813 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19814 return 1;
19815 fprintf (f, "%lu\n", i);
19816 }
19817 return ferror (f) || fclose (f) != 0;
19818
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 rm -f conftest$ac_exeext
19824 if { (ac_try="$ac_link"
19825 case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19828 esac
19829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_link") 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19834 { (case "(($ac_try" in
19835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19836 *) ac_try_echo=$ac_try;;
19837 esac
19838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19839 (eval "$ac_try") 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 ac_cv_sizeof_void_p=`cat conftest.val`
19844 else
19845 echo "$as_me: program exited with status $ac_status" >&5
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19848
19849 ( exit $ac_status )
19850 if test "$ac_cv_type_void_p" = yes; then
19851 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19852 See \`config.log' for more details." >&5
19853 echo "$as_me: error: cannot compute sizeof (void *)
19854 See \`config.log' for more details." >&2;}
19855 { (exit 77); exit 77; }; }
19856 else
19857 ac_cv_sizeof_void_p=0
19858 fi
19859 fi
19860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19861 fi
19862 rm -f conftest.val
19863 fi
19864 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19865 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19866
19867
19868
19869 cat >>confdefs.h <<_ACEOF
19870 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19871 _ACEOF
19872
19873
19874 { echo "$as_me:$LINENO: checking for int" >&5
19875 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19876 if test "${ac_cv_type_int+set}" = set; then
19877 echo $ECHO_N "(cached) $ECHO_C" >&6
19878 else
19879 cat >conftest.$ac_ext <<_ACEOF
19880 /* confdefs.h. */
19881 _ACEOF
19882 cat confdefs.h >>conftest.$ac_ext
19883 cat >>conftest.$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19885 $ac_includes_default
19886 typedef int ac__type_new_;
19887 int
19888 main ()
19889 {
19890 if ((ac__type_new_ *) 0)
19891 return 0;
19892 if (sizeof (ac__type_new_))
19893 return 0;
19894 ;
19895 return 0;
19896 }
19897 _ACEOF
19898 rm -f conftest.$ac_objext
19899 if { (ac_try="$ac_compile"
19900 case "(($ac_try" in
19901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19902 *) ac_try_echo=$ac_try;;
19903 esac
19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19905 (eval "$ac_compile") 2>conftest.er1
19906 ac_status=$?
19907 grep -v '^ *+' conftest.er1 >conftest.err
19908 rm -f conftest.er1
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && {
19912 test -z "$ac_c_werror_flag" ||
19913 test ! -s conftest.err
19914 } && test -s conftest.$ac_objext; then
19915 ac_cv_type_int=yes
19916 else
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19919
19920 ac_cv_type_int=no
19921 fi
19922
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19924 fi
19925 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19926 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19927
19928 # The cast to long int works around a bug in the HP C Compiler
19929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19931 # This bug is HP SR number 8606223364.
19932 { echo "$as_me:$LINENO: checking size of int" >&5
19933 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19934 if test "${ac_cv_sizeof_int+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 if test "$cross_compiling" = yes; then
19938 # Depending upon the size, compute the lo and hi bounds.
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 $ac_includes_default
19946 typedef int ac__type_sizeof_;
19947 int
19948 main ()
19949 {
19950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19951 test_array [0] = 0
19952
19953 ;
19954 return 0;
19955 }
19956 _ACEOF
19957 rm -f conftest.$ac_objext
19958 if { (ac_try="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19962 esac
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19965 ac_status=$?
19966 grep -v '^ *+' conftest.er1 >conftest.err
19967 rm -f conftest.er1
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.$ac_objext; then
19974 ac_lo=0 ac_mid=0
19975 while :; do
19976 cat >conftest.$ac_ext <<_ACEOF
19977 /* confdefs.h. */
19978 _ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 $ac_includes_default
19983 typedef int ac__type_sizeof_;
19984 int
19985 main ()
19986 {
19987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19988 test_array [0] = 0
19989
19990 ;
19991 return 0;
19992 }
19993 _ACEOF
19994 rm -f conftest.$ac_objext
19995 if { (ac_try="$ac_compile"
19996 case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
19999 esac
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_compile") 2>conftest.er1
20002 ac_status=$?
20003 grep -v '^ *+' conftest.er1 >conftest.err
20004 rm -f conftest.er1
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest.$ac_objext; then
20011 ac_hi=$ac_mid; break
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20015
20016 ac_lo=`expr $ac_mid + 1`
20017 if test $ac_lo -le $ac_mid; then
20018 ac_lo= ac_hi=
20019 break
20020 fi
20021 ac_mid=`expr 2 '*' $ac_mid + 1`
20022 fi
20023
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 done
20026 else
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20029
20030 cat >conftest.$ac_ext <<_ACEOF
20031 /* confdefs.h. */
20032 _ACEOF
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 $ac_includes_default
20037 typedef int ac__type_sizeof_;
20038 int
20039 main ()
20040 {
20041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20042 test_array [0] = 0
20043
20044 ;
20045 return 0;
20046 }
20047 _ACEOF
20048 rm -f conftest.$ac_objext
20049 if { (ac_try="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20056 ac_status=$?
20057 grep -v '^ *+' conftest.er1 >conftest.err
20058 rm -f conftest.er1
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_hi=-1 ac_mid=-1
20066 while :; do
20067 cat >conftest.$ac_ext <<_ACEOF
20068 /* confdefs.h. */
20069 _ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073 $ac_includes_default
20074 typedef int ac__type_sizeof_;
20075 int
20076 main ()
20077 {
20078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20079 test_array [0] = 0
20080
20081 ;
20082 return 0;
20083 }
20084 _ACEOF
20085 rm -f conftest.$ac_objext
20086 if { (ac_try="$ac_compile"
20087 case "(($ac_try" in
20088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20090 esac
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_compile") 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } && {
20099 test -z "$ac_c_werror_flag" ||
20100 test ! -s conftest.err
20101 } && test -s conftest.$ac_objext; then
20102 ac_lo=$ac_mid; break
20103 else
20104 echo "$as_me: failed program was:" >&5
20105 sed 's/^/| /' conftest.$ac_ext >&5
20106
20107 ac_hi=`expr '(' $ac_mid ')' - 1`
20108 if test $ac_mid -le $ac_hi; then
20109 ac_lo= ac_hi=
20110 break
20111 fi
20112 ac_mid=`expr 2 '*' $ac_mid`
20113 fi
20114
20115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20116 done
20117 else
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 ac_lo= ac_hi=
20122 fi
20123
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20125 fi
20126
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128 # Binary search between lo and hi bounds.
20129 while test "x$ac_lo" != "x$ac_hi"; do
20130 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 $ac_includes_default
20138 typedef int ac__type_sizeof_;
20139 int
20140 main ()
20141 {
20142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20143 test_array [0] = 0
20144
20145 ;
20146 return 0;
20147 }
20148 _ACEOF
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20154 esac
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20157 ac_status=$?
20158 grep -v '^ *+' conftest.er1 >conftest.err
20159 rm -f conftest.er1
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.$ac_objext; then
20166 ac_hi=$ac_mid
20167 else
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20170
20171 ac_lo=`expr '(' $ac_mid ')' + 1`
20172 fi
20173
20174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20175 done
20176 case $ac_lo in
20177 ?*) ac_cv_sizeof_int=$ac_lo;;
20178 '') if test "$ac_cv_type_int" = yes; then
20179 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20180 See \`config.log' for more details." >&5
20181 echo "$as_me: error: cannot compute sizeof (int)
20182 See \`config.log' for more details." >&2;}
20183 { (exit 77); exit 77; }; }
20184 else
20185 ac_cv_sizeof_int=0
20186 fi ;;
20187 esac
20188 else
20189 cat >conftest.$ac_ext <<_ACEOF
20190 /* confdefs.h. */
20191 _ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 $ac_includes_default
20196 typedef int ac__type_sizeof_;
20197 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20198 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20199 #include <stdio.h>
20200 #include <stdlib.h>
20201 int
20202 main ()
20203 {
20204
20205 FILE *f = fopen ("conftest.val", "w");
20206 if (! f)
20207 return 1;
20208 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20209 {
20210 long int i = longval ();
20211 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20212 return 1;
20213 fprintf (f, "%ld\n", i);
20214 }
20215 else
20216 {
20217 unsigned long int i = ulongval ();
20218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20219 return 1;
20220 fprintf (f, "%lu\n", i);
20221 }
20222 return ferror (f) || fclose (f) != 0;
20223
20224 ;
20225 return 0;
20226 }
20227 _ACEOF
20228 rm -f conftest$ac_exeext
20229 if { (ac_try="$ac_link"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20233 esac
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_link") 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20239 { (case "(($ac_try" in
20240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20241 *) ac_try_echo=$ac_try;;
20242 esac
20243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20244 (eval "$ac_try") 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_cv_sizeof_int=`cat conftest.val`
20249 else
20250 echo "$as_me: program exited with status $ac_status" >&5
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20253
20254 ( exit $ac_status )
20255 if test "$ac_cv_type_int" = yes; then
20256 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20257 See \`config.log' for more details." >&5
20258 echo "$as_me: error: cannot compute sizeof (int)
20259 See \`config.log' for more details." >&2;}
20260 { (exit 77); exit 77; }; }
20261 else
20262 ac_cv_sizeof_int=0
20263 fi
20264 fi
20265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20266 fi
20267 rm -f conftest.val
20268 fi
20269 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20270 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20271
20272
20273
20274 cat >>confdefs.h <<_ACEOF
20275 #define SIZEOF_INT $ac_cv_sizeof_int
20276 _ACEOF
20277
20278
20279 { echo "$as_me:$LINENO: checking for long" >&5
20280 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20281 if test "${ac_cv_type_long+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 else
20284 cat >conftest.$ac_ext <<_ACEOF
20285 /* confdefs.h. */
20286 _ACEOF
20287 cat confdefs.h >>conftest.$ac_ext
20288 cat >>conftest.$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 $ac_includes_default
20291 typedef long ac__type_new_;
20292 int
20293 main ()
20294 {
20295 if ((ac__type_new_ *) 0)
20296 return 0;
20297 if (sizeof (ac__type_new_))
20298 return 0;
20299 ;
20300 return 0;
20301 }
20302 _ACEOF
20303 rm -f conftest.$ac_objext
20304 if { (ac_try="$ac_compile"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307 *) ac_try_echo=$ac_try;;
20308 esac
20309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_compile") 2>conftest.er1
20311 ac_status=$?
20312 grep -v '^ *+' conftest.er1 >conftest.err
20313 rm -f conftest.er1
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } && {
20317 test -z "$ac_c_werror_flag" ||
20318 test ! -s conftest.err
20319 } && test -s conftest.$ac_objext; then
20320 ac_cv_type_long=yes
20321 else
20322 echo "$as_me: failed program was:" >&5
20323 sed 's/^/| /' conftest.$ac_ext >&5
20324
20325 ac_cv_type_long=no
20326 fi
20327
20328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329 fi
20330 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20331 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20332
20333 # The cast to long int works around a bug in the HP C Compiler
20334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20336 # This bug is HP SR number 8606223364.
20337 { echo "$as_me:$LINENO: checking size of long" >&5
20338 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20339 if test "${ac_cv_sizeof_long+set}" = set; then
20340 echo $ECHO_N "(cached) $ECHO_C" >&6
20341 else
20342 if test "$cross_compiling" = yes; then
20343 # Depending upon the size, compute the lo and hi bounds.
20344 cat >conftest.$ac_ext <<_ACEOF
20345 /* confdefs.h. */
20346 _ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20350 $ac_includes_default
20351 typedef long ac__type_sizeof_;
20352 int
20353 main ()
20354 {
20355 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20356 test_array [0] = 0
20357
20358 ;
20359 return 0;
20360 }
20361 _ACEOF
20362 rm -f conftest.$ac_objext
20363 if { (ac_try="$ac_compile"
20364 case "(($ac_try" in
20365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20366 *) ac_try_echo=$ac_try;;
20367 esac
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_compile") 2>conftest.er1
20370 ac_status=$?
20371 grep -v '^ *+' conftest.er1 >conftest.err
20372 rm -f conftest.er1
20373 cat conftest.err >&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } && {
20376 test -z "$ac_c_werror_flag" ||
20377 test ! -s conftest.err
20378 } && test -s conftest.$ac_objext; then
20379 ac_lo=0 ac_mid=0
20380 while :; do
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef long ac__type_sizeof_;
20389 int
20390 main ()
20391 {
20392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20393 test_array [0] = 0
20394
20395 ;
20396 return 0;
20397 }
20398 _ACEOF
20399 rm -f conftest.$ac_objext
20400 if { (ac_try="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20404 esac
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.$ac_objext; then
20416 ac_hi=$ac_mid; break
20417 else
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.$ac_ext >&5
20420
20421 ac_lo=`expr $ac_mid + 1`
20422 if test $ac_lo -le $ac_mid; then
20423 ac_lo= ac_hi=
20424 break
20425 fi
20426 ac_mid=`expr 2 '*' $ac_mid + 1`
20427 fi
20428
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20430 done
20431 else
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.$ac_ext >&5
20434
20435 cat >conftest.$ac_ext <<_ACEOF
20436 /* confdefs.h. */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 $ac_includes_default
20442 typedef long ac__type_sizeof_;
20443 int
20444 main ()
20445 {
20446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20447 test_array [0] = 0
20448
20449 ;
20450 return 0;
20451 }
20452 _ACEOF
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20458 esac
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20461 ac_status=$?
20462 grep -v '^ *+' conftest.er1 >conftest.err
20463 rm -f conftest.er1
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20470 ac_hi=-1 ac_mid=-1
20471 while :; do
20472 cat >conftest.$ac_ext <<_ACEOF
20473 /* confdefs.h. */
20474 _ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20479 typedef long ac__type_sizeof_;
20480 int
20481 main ()
20482 {
20483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20484 test_array [0] = 0
20485
20486 ;
20487 return 0;
20488 }
20489 _ACEOF
20490 rm -f conftest.$ac_objext
20491 if { (ac_try="$ac_compile"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20495 esac
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_compile") 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_c_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest.$ac_objext; then
20507 ac_lo=$ac_mid; break
20508 else
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.$ac_ext >&5
20511
20512 ac_hi=`expr '(' $ac_mid ')' - 1`
20513 if test $ac_mid -le $ac_hi; then
20514 ac_lo= ac_hi=
20515 break
20516 fi
20517 ac_mid=`expr 2 '*' $ac_mid`
20518 fi
20519
20520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20521 done
20522 else
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20525
20526 ac_lo= ac_hi=
20527 fi
20528
20529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 fi
20531
20532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20533 # Binary search between lo and hi bounds.
20534 while test "x$ac_lo" != "x$ac_hi"; do
20535 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20536 cat >conftest.$ac_ext <<_ACEOF
20537 /* confdefs.h. */
20538 _ACEOF
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20543 typedef long ac__type_sizeof_;
20544 int
20545 main ()
20546 {
20547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20548 test_array [0] = 0
20549
20550 ;
20551 return 0;
20552 }
20553 _ACEOF
20554 rm -f conftest.$ac_objext
20555 if { (ac_try="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20559 esac
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20562 ac_status=$?
20563 grep -v '^ *+' conftest.er1 >conftest.err
20564 rm -f conftest.er1
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.$ac_objext; then
20571 ac_hi=$ac_mid
20572 else
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20575
20576 ac_lo=`expr '(' $ac_mid ')' + 1`
20577 fi
20578
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 done
20581 case $ac_lo in
20582 ?*) ac_cv_sizeof_long=$ac_lo;;
20583 '') if test "$ac_cv_type_long" = yes; then
20584 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20585 See \`config.log' for more details." >&5
20586 echo "$as_me: error: cannot compute sizeof (long)
20587 See \`config.log' for more details." >&2;}
20588 { (exit 77); exit 77; }; }
20589 else
20590 ac_cv_sizeof_long=0
20591 fi ;;
20592 esac
20593 else
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 $ac_includes_default
20601 typedef long ac__type_sizeof_;
20602 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20603 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20604 #include <stdio.h>
20605 #include <stdlib.h>
20606 int
20607 main ()
20608 {
20609
20610 FILE *f = fopen ("conftest.val", "w");
20611 if (! f)
20612 return 1;
20613 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20614 {
20615 long int i = longval ();
20616 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20617 return 1;
20618 fprintf (f, "%ld\n", i);
20619 }
20620 else
20621 {
20622 unsigned long int i = ulongval ();
20623 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20624 return 1;
20625 fprintf (f, "%lu\n", i);
20626 }
20627 return ferror (f) || fclose (f) != 0;
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest$ac_exeext
20634 if { (ac_try="$ac_link"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20638 esac
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_link") 2>&5
20641 ac_status=$?
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20644 { (case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20647 esac
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_try") 2>&5
20650 ac_status=$?
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); }; }; then
20653 ac_cv_sizeof_long=`cat conftest.val`
20654 else
20655 echo "$as_me: program exited with status $ac_status" >&5
20656 echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.$ac_ext >&5
20658
20659 ( exit $ac_status )
20660 if test "$ac_cv_type_long" = yes; then
20661 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20662 See \`config.log' for more details." >&5
20663 echo "$as_me: error: cannot compute sizeof (long)
20664 See \`config.log' for more details." >&2;}
20665 { (exit 77); exit 77; }; }
20666 else
20667 ac_cv_sizeof_long=0
20668 fi
20669 fi
20670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20671 fi
20672 rm -f conftest.val
20673 fi
20674 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20675 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20676
20677
20678
20679 cat >>confdefs.h <<_ACEOF
20680 #define SIZEOF_LONG $ac_cv_sizeof_long
20681 _ACEOF
20682
20683
20684 { echo "$as_me:$LINENO: checking for size_t" >&5
20685 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20686 if test "${ac_cv_type_size_t+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20688 else
20689 cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h. */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 $ac_includes_default
20696 typedef size_t ac__type_new_;
20697 int
20698 main ()
20699 {
20700 if ((ac__type_new_ *) 0)
20701 return 0;
20702 if (sizeof (ac__type_new_))
20703 return 0;
20704 ;
20705 return 0;
20706 }
20707 _ACEOF
20708 rm -f conftest.$ac_objext
20709 if { (ac_try="$ac_compile"
20710 case "(($ac_try" in
20711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20712 *) ac_try_echo=$ac_try;;
20713 esac
20714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20715 (eval "$ac_compile") 2>conftest.er1
20716 ac_status=$?
20717 grep -v '^ *+' conftest.er1 >conftest.err
20718 rm -f conftest.er1
20719 cat conftest.err >&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); } && {
20722 test -z "$ac_c_werror_flag" ||
20723 test ! -s conftest.err
20724 } && test -s conftest.$ac_objext; then
20725 ac_cv_type_size_t=yes
20726 else
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.$ac_ext >&5
20729
20730 ac_cv_type_size_t=no
20731 fi
20732
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734 fi
20735 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20736 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20737
20738 # The cast to long int works around a bug in the HP C Compiler
20739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20741 # This bug is HP SR number 8606223364.
20742 { echo "$as_me:$LINENO: checking size of size_t" >&5
20743 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20744 if test "${ac_cv_sizeof_size_t+set}" = set; then
20745 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 else
20747 if test "$cross_compiling" = yes; then
20748 # Depending upon the size, compute the lo and hi bounds.
20749 cat >conftest.$ac_ext <<_ACEOF
20750 /* confdefs.h. */
20751 _ACEOF
20752 cat confdefs.h >>conftest.$ac_ext
20753 cat >>conftest.$ac_ext <<_ACEOF
20754 /* end confdefs.h. */
20755 $ac_includes_default
20756 typedef size_t ac__type_sizeof_;
20757 int
20758 main ()
20759 {
20760 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20761 test_array [0] = 0
20762
20763 ;
20764 return 0;
20765 }
20766 _ACEOF
20767 rm -f conftest.$ac_objext
20768 if { (ac_try="$ac_compile"
20769 case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20772 esac
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_compile") 2>conftest.er1
20775 ac_status=$?
20776 grep -v '^ *+' conftest.er1 >conftest.err
20777 rm -f conftest.er1
20778 cat conftest.err >&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } && {
20781 test -z "$ac_c_werror_flag" ||
20782 test ! -s conftest.err
20783 } && test -s conftest.$ac_objext; then
20784 ac_lo=0 ac_mid=0
20785 while :; do
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef size_t ac__type_sizeof_;
20794 int
20795 main ()
20796 {
20797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20798 test_array [0] = 0
20799
20800 ;
20801 return 0;
20802 }
20803 _ACEOF
20804 rm -f conftest.$ac_objext
20805 if { (ac_try="$ac_compile"
20806 case "(($ac_try" in
20807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20808 *) ac_try_echo=$ac_try;;
20809 esac
20810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20811 (eval "$ac_compile") 2>conftest.er1
20812 ac_status=$?
20813 grep -v '^ *+' conftest.er1 >conftest.err
20814 rm -f conftest.er1
20815 cat conftest.err >&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } && {
20818 test -z "$ac_c_werror_flag" ||
20819 test ! -s conftest.err
20820 } && test -s conftest.$ac_objext; then
20821 ac_hi=$ac_mid; break
20822 else
20823 echo "$as_me: failed program was:" >&5
20824 sed 's/^/| /' conftest.$ac_ext >&5
20825
20826 ac_lo=`expr $ac_mid + 1`
20827 if test $ac_lo -le $ac_mid; then
20828 ac_lo= ac_hi=
20829 break
20830 fi
20831 ac_mid=`expr 2 '*' $ac_mid + 1`
20832 fi
20833
20834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835 done
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 cat >conftest.$ac_ext <<_ACEOF
20841 /* confdefs.h. */
20842 _ACEOF
20843 cat confdefs.h >>conftest.$ac_ext
20844 cat >>conftest.$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20846 $ac_includes_default
20847 typedef size_t ac__type_sizeof_;
20848 int
20849 main ()
20850 {
20851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20852 test_array [0] = 0
20853
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 rm -f conftest.$ac_objext
20859 if { (ac_try="$ac_compile"
20860 case "(($ac_try" in
20861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20862 *) ac_try_echo=$ac_try;;
20863 esac
20864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20865 (eval "$ac_compile") 2>conftest.er1
20866 ac_status=$?
20867 grep -v '^ *+' conftest.er1 >conftest.err
20868 rm -f conftest.er1
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } && {
20872 test -z "$ac_c_werror_flag" ||
20873 test ! -s conftest.err
20874 } && test -s conftest.$ac_objext; then
20875 ac_hi=-1 ac_mid=-1
20876 while :; do
20877 cat >conftest.$ac_ext <<_ACEOF
20878 /* confdefs.h. */
20879 _ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef size_t ac__type_sizeof_;
20885 int
20886 main ()
20887 {
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20889 test_array [0] = 0
20890
20891 ;
20892 return 0;
20893 }
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20900 esac
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20903 ac_status=$?
20904 grep -v '^ *+' conftest.er1 >conftest.err
20905 rm -f conftest.er1
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest.$ac_objext; then
20912 ac_lo=$ac_mid; break
20913 else
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.$ac_ext >&5
20916
20917 ac_hi=`expr '(' $ac_mid ')' - 1`
20918 if test $ac_mid -le $ac_hi; then
20919 ac_lo= ac_hi=
20920 break
20921 fi
20922 ac_mid=`expr 2 '*' $ac_mid`
20923 fi
20924
20925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20926 done
20927 else
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20930
20931 ac_lo= ac_hi=
20932 fi
20933
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 fi
20936
20937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20938 # Binary search between lo and hi bounds.
20939 while test "x$ac_lo" != "x$ac_hi"; do
20940 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 $ac_includes_default
20948 typedef size_t ac__type_sizeof_;
20949 int
20950 main ()
20951 {
20952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20953 test_array [0] = 0
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest.$ac_objext
20960 if { (ac_try="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20964 esac
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20967 ac_status=$?
20968 grep -v '^ *+' conftest.er1 >conftest.err
20969 rm -f conftest.er1
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest.$ac_objext; then
20976 ac_hi=$ac_mid
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20980
20981 ac_lo=`expr '(' $ac_mid ')' + 1`
20982 fi
20983
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 done
20986 case $ac_lo in
20987 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20988 '') if test "$ac_cv_type_size_t" = yes; then
20989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20990 See \`config.log' for more details." >&5
20991 echo "$as_me: error: cannot compute sizeof (size_t)
20992 See \`config.log' for more details." >&2;}
20993 { (exit 77); exit 77; }; }
20994 else
20995 ac_cv_sizeof_size_t=0
20996 fi ;;
20997 esac
20998 else
20999 cat >conftest.$ac_ext <<_ACEOF
21000 /* confdefs.h. */
21001 _ACEOF
21002 cat confdefs.h >>conftest.$ac_ext
21003 cat >>conftest.$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 $ac_includes_default
21006 typedef size_t ac__type_sizeof_;
21007 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21008 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21009 #include <stdio.h>
21010 #include <stdlib.h>
21011 int
21012 main ()
21013 {
21014
21015 FILE *f = fopen ("conftest.val", "w");
21016 if (! f)
21017 return 1;
21018 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21019 {
21020 long int i = longval ();
21021 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21022 return 1;
21023 fprintf (f, "%ld\n", i);
21024 }
21025 else
21026 {
21027 unsigned long int i = ulongval ();
21028 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21029 return 1;
21030 fprintf (f, "%lu\n", i);
21031 }
21032 return ferror (f) || fclose (f) != 0;
21033
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest$ac_exeext
21039 if { (ac_try="$ac_link"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21042 *) ac_try_echo=$ac_try;;
21043 esac
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_link") 2>&5
21046 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21049 { (case "(($ac_try" in
21050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21051 *) ac_try_echo=$ac_try;;
21052 esac
21053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21054 (eval "$ac_try") 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_cv_sizeof_size_t=`cat conftest.val`
21059 else
21060 echo "$as_me: program exited with status $ac_status" >&5
21061 echo "$as_me: failed program was:" >&5
21062 sed 's/^/| /' conftest.$ac_ext >&5
21063
21064 ( exit $ac_status )
21065 if test "$ac_cv_type_size_t" = yes; then
21066 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21067 See \`config.log' for more details." >&5
21068 echo "$as_me: error: cannot compute sizeof (size_t)
21069 See \`config.log' for more details." >&2;}
21070 { (exit 77); exit 77; }; }
21071 else
21072 ac_cv_sizeof_size_t=0
21073 fi
21074 fi
21075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21076 fi
21077 rm -f conftest.val
21078 fi
21079 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21080 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21081
21082
21083
21084 cat >>confdefs.h <<_ACEOF
21085 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21086 _ACEOF
21087
21088
21089
21090 case "${host}" in
21091 arm-*-linux* )
21092 { echo "$as_me:$LINENO: checking for long long" >&5
21093 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21094 if test "${ac_cv_type_long_long+set}" = set; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21096 else
21097 cat >conftest.$ac_ext <<_ACEOF
21098 /* confdefs.h. */
21099 _ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h. */
21103 $ac_includes_default
21104 typedef long long ac__type_new_;
21105 int
21106 main ()
21107 {
21108 if ((ac__type_new_ *) 0)
21109 return 0;
21110 if (sizeof (ac__type_new_))
21111 return 0;
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 rm -f conftest.$ac_objext
21117 if { (ac_try="$ac_compile"
21118 case "(($ac_try" in
21119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21120 *) ac_try_echo=$ac_try;;
21121 esac
21122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21123 (eval "$ac_compile") 2>conftest.er1
21124 ac_status=$?
21125 grep -v '^ *+' conftest.er1 >conftest.err
21126 rm -f conftest.er1
21127 cat conftest.err >&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } && {
21130 test -z "$ac_c_werror_flag" ||
21131 test ! -s conftest.err
21132 } && test -s conftest.$ac_objext; then
21133 ac_cv_type_long_long=yes
21134 else
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21137
21138 ac_cv_type_long_long=no
21139 fi
21140
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 fi
21143 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21144 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21145
21146 # The cast to long int works around a bug in the HP C Compiler
21147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21149 # This bug is HP SR number 8606223364.
21150 { echo "$as_me:$LINENO: checking size of long long" >&5
21151 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21152 if test "${ac_cv_sizeof_long_long+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 else
21155 if test "$cross_compiling" = yes; then
21156 # Depending upon the size, compute the lo and hi bounds.
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 $ac_includes_default
21164 typedef long long ac__type_sizeof_;
21165 int
21166 main ()
21167 {
21168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21169 test_array [0] = 0
21170
21171 ;
21172 return 0;
21173 }
21174 _ACEOF
21175 rm -f conftest.$ac_objext
21176 if { (ac_try="$ac_compile"
21177 case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21180 esac
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_compile") 2>conftest.er1
21183 ac_status=$?
21184 grep -v '^ *+' conftest.er1 >conftest.err
21185 rm -f conftest.er1
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && {
21189 test -z "$ac_c_werror_flag" ||
21190 test ! -s conftest.err
21191 } && test -s conftest.$ac_objext; then
21192 ac_lo=0 ac_mid=0
21193 while :; do
21194 cat >conftest.$ac_ext <<_ACEOF
21195 /* confdefs.h. */
21196 _ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 $ac_includes_default
21201 typedef long long ac__type_sizeof_;
21202 int
21203 main ()
21204 {
21205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21206 test_array [0] = 0
21207
21208 ;
21209 return 0;
21210 }
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (ac_try="$ac_compile"
21214 case "(($ac_try" in
21215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21216 *) ac_try_echo=$ac_try;;
21217 esac
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_compile") 2>conftest.er1
21220 ac_status=$?
21221 grep -v '^ *+' conftest.er1 >conftest.err
21222 rm -f conftest.er1
21223 cat conftest.err >&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } && {
21226 test -z "$ac_c_werror_flag" ||
21227 test ! -s conftest.err
21228 } && test -s conftest.$ac_objext; then
21229 ac_hi=$ac_mid; break
21230 else
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.$ac_ext >&5
21233
21234 ac_lo=`expr $ac_mid + 1`
21235 if test $ac_lo -le $ac_mid; then
21236 ac_lo= ac_hi=
21237 break
21238 fi
21239 ac_mid=`expr 2 '*' $ac_mid + 1`
21240 fi
21241
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 done
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h. */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 $ac_includes_default
21255 typedef long long ac__type_sizeof_;
21256 int
21257 main ()
21258 {
21259 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21260 test_array [0] = 0
21261
21262 ;
21263 return 0;
21264 }
21265 _ACEOF
21266 rm -f conftest.$ac_objext
21267 if { (ac_try="$ac_compile"
21268 case "(($ac_try" in
21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21270 *) ac_try_echo=$ac_try;;
21271 esac
21272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21273 (eval "$ac_compile") 2>conftest.er1
21274 ac_status=$?
21275 grep -v '^ *+' conftest.er1 >conftest.err
21276 rm -f conftest.er1
21277 cat conftest.err >&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } && {
21280 test -z "$ac_c_werror_flag" ||
21281 test ! -s conftest.err
21282 } && test -s conftest.$ac_objext; then
21283 ac_hi=-1 ac_mid=-1
21284 while :; do
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21292 typedef long long ac__type_sizeof_;
21293 int
21294 main ()
21295 {
21296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21297 test_array [0] = 0
21298
21299 ;
21300 return 0;
21301 }
21302 _ACEOF
21303 rm -f conftest.$ac_objext
21304 if { (ac_try="$ac_compile"
21305 case "(($ac_try" in
21306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21307 *) ac_try_echo=$ac_try;;
21308 esac
21309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21310 (eval "$ac_compile") 2>conftest.er1
21311 ac_status=$?
21312 grep -v '^ *+' conftest.er1 >conftest.err
21313 rm -f conftest.er1
21314 cat conftest.err >&5
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); } && {
21317 test -z "$ac_c_werror_flag" ||
21318 test ! -s conftest.err
21319 } && test -s conftest.$ac_objext; then
21320 ac_lo=$ac_mid; break
21321 else
21322 echo "$as_me: failed program was:" >&5
21323 sed 's/^/| /' conftest.$ac_ext >&5
21324
21325 ac_hi=`expr '(' $ac_mid ')' - 1`
21326 if test $ac_mid -le $ac_hi; then
21327 ac_lo= ac_hi=
21328 break
21329 fi
21330 ac_mid=`expr 2 '*' $ac_mid`
21331 fi
21332
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334 done
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21338
21339 ac_lo= ac_hi=
21340 fi
21341
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21343 fi
21344
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21346 # Binary search between lo and hi bounds.
21347 while test "x$ac_lo" != "x$ac_hi"; do
21348 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21349 cat >conftest.$ac_ext <<_ACEOF
21350 /* confdefs.h. */
21351 _ACEOF
21352 cat confdefs.h >>conftest.$ac_ext
21353 cat >>conftest.$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 $ac_includes_default
21356 typedef long long ac__type_sizeof_;
21357 int
21358 main ()
21359 {
21360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21361 test_array [0] = 0
21362
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 rm -f conftest.$ac_objext
21368 if { (ac_try="$ac_compile"
21369 case "(($ac_try" in
21370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21371 *) ac_try_echo=$ac_try;;
21372 esac
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_compile") 2>conftest.er1
21375 ac_status=$?
21376 grep -v '^ *+' conftest.er1 >conftest.err
21377 rm -f conftest.er1
21378 cat conftest.err >&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } && {
21381 test -z "$ac_c_werror_flag" ||
21382 test ! -s conftest.err
21383 } && test -s conftest.$ac_objext; then
21384 ac_hi=$ac_mid
21385 else
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.$ac_ext >&5
21388
21389 ac_lo=`expr '(' $ac_mid ')' + 1`
21390 fi
21391
21392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21393 done
21394 case $ac_lo in
21395 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21396 '') if test "$ac_cv_type_long_long" = yes; then
21397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21398 See \`config.log' for more details." >&5
21399 echo "$as_me: error: cannot compute sizeof (long long)
21400 See \`config.log' for more details." >&2;}
21401 { (exit 77); exit 77; }; }
21402 else
21403 ac_cv_sizeof_long_long=0
21404 fi ;;
21405 esac
21406 else
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef long long ac__type_sizeof_;
21415 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21416 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21417 #include <stdio.h>
21418 #include <stdlib.h>
21419 int
21420 main ()
21421 {
21422
21423 FILE *f = fopen ("conftest.val", "w");
21424 if (! f)
21425 return 1;
21426 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21427 {
21428 long int i = longval ();
21429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21430 return 1;
21431 fprintf (f, "%ld\n", i);
21432 }
21433 else
21434 {
21435 unsigned long int i = ulongval ();
21436 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21437 return 1;
21438 fprintf (f, "%lu\n", i);
21439 }
21440 return ferror (f) || fclose (f) != 0;
21441
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 rm -f conftest$ac_exeext
21447 if { (ac_try="$ac_link"
21448 case "(($ac_try" in
21449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21450 *) ac_try_echo=$ac_try;;
21451 esac
21452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_link") 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21457 { (case "(($ac_try" in
21458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21459 *) ac_try_echo=$ac_try;;
21460 esac
21461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21462 (eval "$ac_try") 2>&5
21463 ac_status=$?
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); }; }; then
21466 ac_cv_sizeof_long_long=`cat conftest.val`
21467 else
21468 echo "$as_me: program exited with status $ac_status" >&5
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 ( exit $ac_status )
21473 if test "$ac_cv_type_long_long" = yes; then
21474 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21475 See \`config.log' for more details." >&5
21476 echo "$as_me: error: cannot compute sizeof (long long)
21477 See \`config.log' for more details." >&2;}
21478 { (exit 77); exit 77; }; }
21479 else
21480 ac_cv_sizeof_long_long=0
21481 fi
21482 fi
21483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21484 fi
21485 rm -f conftest.val
21486 fi
21487 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21488 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21489
21490
21491
21492 cat >>confdefs.h <<_ACEOF
21493 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21494 _ACEOF
21495
21496
21497 ;;
21498 *-hp-hpux* )
21499 { echo "$as_me:$LINENO: checking for long long" >&5
21500 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21501 if test "${ac_cv_type_long_long+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21503 else
21504 cat >conftest.$ac_ext <<_ACEOF
21505 /* confdefs.h. */
21506 _ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 $ac_includes_default
21511 typedef long long ac__type_new_;
21512 int
21513 main ()
21514 {
21515 if ((ac__type_new_ *) 0)
21516 return 0;
21517 if (sizeof (ac__type_new_))
21518 return 0;
21519 ;
21520 return 0;
21521 }
21522 _ACEOF
21523 rm -f conftest.$ac_objext
21524 if { (ac_try="$ac_compile"
21525 case "(($ac_try" in
21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21527 *) ac_try_echo=$ac_try;;
21528 esac
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530 (eval "$ac_compile") 2>conftest.er1
21531 ac_status=$?
21532 grep -v '^ *+' conftest.er1 >conftest.err
21533 rm -f conftest.er1
21534 cat conftest.err >&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); } && {
21537 test -z "$ac_c_werror_flag" ||
21538 test ! -s conftest.err
21539 } && test -s conftest.$ac_objext; then
21540 ac_cv_type_long_long=yes
21541 else
21542 echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.$ac_ext >&5
21544
21545 ac_cv_type_long_long=no
21546 fi
21547
21548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21549 fi
21550 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21551 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21552
21553 # The cast to long int works around a bug in the HP C Compiler
21554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21556 # This bug is HP SR number 8606223364.
21557 { echo "$as_me:$LINENO: checking size of long long" >&5
21558 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21559 if test "${ac_cv_sizeof_long_long+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 else
21562 if test "$cross_compiling" = yes; then
21563 # Depending upon the size, compute the lo and hi bounds.
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 $ac_includes_default
21571 typedef long long ac__type_sizeof_;
21572 int
21573 main ()
21574 {
21575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21576 test_array [0] = 0
21577
21578 ;
21579 return 0;
21580 }
21581 _ACEOF
21582 rm -f conftest.$ac_objext
21583 if { (ac_try="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21587 esac
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21590 ac_status=$?
21591 grep -v '^ *+' conftest.er1 >conftest.err
21592 rm -f conftest.er1
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21599 ac_lo=0 ac_mid=0
21600 while :; do
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 typedef long long ac__type_sizeof_;
21609 int
21610 main ()
21611 {
21612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21613 test_array [0] = 0
21614
21615 ;
21616 return 0;
21617 }
21618 _ACEOF
21619 rm -f conftest.$ac_objext
21620 if { (ac_try="$ac_compile"
21621 case "(($ac_try" in
21622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21623 *) ac_try_echo=$ac_try;;
21624 esac
21625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21626 (eval "$ac_compile") 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } && {
21633 test -z "$ac_c_werror_flag" ||
21634 test ! -s conftest.err
21635 } && test -s conftest.$ac_objext; then
21636 ac_hi=$ac_mid; break
21637 else
21638 echo "$as_me: failed program was:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21640
21641 ac_lo=`expr $ac_mid + 1`
21642 if test $ac_lo -le $ac_mid; then
21643 ac_lo= ac_hi=
21644 break
21645 fi
21646 ac_mid=`expr 2 '*' $ac_mid + 1`
21647 fi
21648
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 done
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21654
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662 typedef long long ac__type_sizeof_;
21663 int
21664 main ()
21665 {
21666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21667 test_array [0] = 0
21668
21669 ;
21670 return 0;
21671 }
21672 _ACEOF
21673 rm -f conftest.$ac_objext
21674 if { (ac_try="$ac_compile"
21675 case "(($ac_try" in
21676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21677 *) ac_try_echo=$ac_try;;
21678 esac
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21680 (eval "$ac_compile") 2>conftest.er1
21681 ac_status=$?
21682 grep -v '^ *+' conftest.er1 >conftest.err
21683 rm -f conftest.er1
21684 cat conftest.err >&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } && {
21687 test -z "$ac_c_werror_flag" ||
21688 test ! -s conftest.err
21689 } && test -s conftest.$ac_objext; then
21690 ac_hi=-1 ac_mid=-1
21691 while :; do
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 typedef long long ac__type_sizeof_;
21700 int
21701 main ()
21702 {
21703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21704 test_array [0] = 0
21705
21706 ;
21707 return 0;
21708 }
21709 _ACEOF
21710 rm -f conftest.$ac_objext
21711 if { (ac_try="$ac_compile"
21712 case "(($ac_try" in
21713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21714 *) ac_try_echo=$ac_try;;
21715 esac
21716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21717 (eval "$ac_compile") 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest.$ac_objext; then
21727 ac_lo=$ac_mid; break
21728 else
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.$ac_ext >&5
21731
21732 ac_hi=`expr '(' $ac_mid ')' - 1`
21733 if test $ac_mid -le $ac_hi; then
21734 ac_lo= ac_hi=
21735 break
21736 fi
21737 ac_mid=`expr 2 '*' $ac_mid`
21738 fi
21739
21740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21741 done
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_lo= ac_hi=
21747 fi
21748
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 fi
21751
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 # Binary search between lo and hi bounds.
21754 while test "x$ac_lo" != "x$ac_hi"; do
21755 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21756 cat >conftest.$ac_ext <<_ACEOF
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 typedef long long ac__type_sizeof_;
21764 int
21765 main ()
21766 {
21767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21768 test_array [0] = 0
21769
21770 ;
21771 return 0;
21772 }
21773 _ACEOF
21774 rm -f conftest.$ac_objext
21775 if { (ac_try="$ac_compile"
21776 case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21779 esac
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_compile") 2>conftest.er1
21782 ac_status=$?
21783 grep -v '^ *+' conftest.er1 >conftest.err
21784 rm -f conftest.er1
21785 cat conftest.err >&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } && {
21788 test -z "$ac_c_werror_flag" ||
21789 test ! -s conftest.err
21790 } && test -s conftest.$ac_objext; then
21791 ac_hi=$ac_mid
21792 else
21793 echo "$as_me: failed program was:" >&5
21794 sed 's/^/| /' conftest.$ac_ext >&5
21795
21796 ac_lo=`expr '(' $ac_mid ')' + 1`
21797 fi
21798
21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21800 done
21801 case $ac_lo in
21802 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21803 '') if test "$ac_cv_type_long_long" = yes; then
21804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21805 See \`config.log' for more details." >&5
21806 echo "$as_me: error: cannot compute sizeof (long long)
21807 See \`config.log' for more details." >&2;}
21808 { (exit 77); exit 77; }; }
21809 else
21810 ac_cv_sizeof_long_long=0
21811 fi ;;
21812 esac
21813 else
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 typedef long long ac__type_sizeof_;
21822 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21823 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21824 #include <stdio.h>
21825 #include <stdlib.h>
21826 int
21827 main ()
21828 {
21829
21830 FILE *f = fopen ("conftest.val", "w");
21831 if (! f)
21832 return 1;
21833 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21834 {
21835 long int i = longval ();
21836 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21837 return 1;
21838 fprintf (f, "%ld\n", i);
21839 }
21840 else
21841 {
21842 unsigned long int i = ulongval ();
21843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21844 return 1;
21845 fprintf (f, "%lu\n", i);
21846 }
21847 return ferror (f) || fclose (f) != 0;
21848
21849 ;
21850 return 0;
21851 }
21852 _ACEOF
21853 rm -f conftest$ac_exeext
21854 if { (ac_try="$ac_link"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21858 esac
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_link") 2>&5
21861 ac_status=$?
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21864 { (case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21867 esac
21868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21870 ac_status=$?
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_sizeof_long_long=`cat conftest.val`
21874 else
21875 echo "$as_me: program exited with status $ac_status" >&5
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21878
21879 ( exit $ac_status )
21880 if test "$ac_cv_type_long_long" = yes; then
21881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21882 See \`config.log' for more details." >&5
21883 echo "$as_me: error: cannot compute sizeof (long long)
21884 See \`config.log' for more details." >&2;}
21885 { (exit 77); exit 77; }; }
21886 else
21887 ac_cv_sizeof_long_long=0
21888 fi
21889 fi
21890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21891 fi
21892 rm -f conftest.val
21893 fi
21894 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21895 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21896
21897
21898
21899 cat >>confdefs.h <<_ACEOF
21900 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21901 _ACEOF
21902
21903
21904 if test "$ac_cv_sizeof_long_long" != 0; then
21905 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21906 fi
21907 ;;
21908 * )
21909 { echo "$as_me:$LINENO: checking for long long" >&5
21910 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21911 if test "${ac_cv_type_long_long+set}" = set; then
21912 echo $ECHO_N "(cached) $ECHO_C" >&6
21913 else
21914 cat >conftest.$ac_ext <<_ACEOF
21915 /* confdefs.h. */
21916 _ACEOF
21917 cat confdefs.h >>conftest.$ac_ext
21918 cat >>conftest.$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21920 $ac_includes_default
21921 typedef long long ac__type_new_;
21922 int
21923 main ()
21924 {
21925 if ((ac__type_new_ *) 0)
21926 return 0;
21927 if (sizeof (ac__type_new_))
21928 return 0;
21929 ;
21930 return 0;
21931 }
21932 _ACEOF
21933 rm -f conftest.$ac_objext
21934 if { (ac_try="$ac_compile"
21935 case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21938 esac
21939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_compile") 2>conftest.er1
21941 ac_status=$?
21942 grep -v '^ *+' conftest.er1 >conftest.err
21943 rm -f conftest.er1
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } && {
21947 test -z "$ac_c_werror_flag" ||
21948 test ! -s conftest.err
21949 } && test -s conftest.$ac_objext; then
21950 ac_cv_type_long_long=yes
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21954
21955 ac_cv_type_long_long=no
21956 fi
21957
21958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21959 fi
21960 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21961 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21962
21963 # The cast to long int works around a bug in the HP C Compiler
21964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21966 # This bug is HP SR number 8606223364.
21967 { echo "$as_me:$LINENO: checking size of long long" >&5
21968 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21969 if test "${ac_cv_sizeof_long_long+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21971 else
21972 if test "$cross_compiling" = yes; then
21973 # Depending upon the size, compute the lo and hi bounds.
21974 cat >conftest.$ac_ext <<_ACEOF
21975 /* confdefs.h. */
21976 _ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_sizeof_;
21982 int
21983 main ()
21984 {
21985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21986 test_array [0] = 0
21987
21988 ;
21989 return 0;
21990 }
21991 _ACEOF
21992 rm -f conftest.$ac_objext
21993 if { (ac_try="$ac_compile"
21994 case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21997 esac
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_compile") 2>conftest.er1
22000 ac_status=$?
22001 grep -v '^ *+' conftest.er1 >conftest.err
22002 rm -f conftest.er1
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest.$ac_objext; then
22009 ac_lo=0 ac_mid=0
22010 while :; do
22011 cat >conftest.$ac_ext <<_ACEOF
22012 /* confdefs.h. */
22013 _ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22019 int
22020 main ()
22021 {
22022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22023 test_array [0] = 0
22024
22025 ;
22026 return 0;
22027 }
22028 _ACEOF
22029 rm -f conftest.$ac_objext
22030 if { (ac_try="$ac_compile"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22033 *) ac_try_echo=$ac_try;;
22034 esac
22035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_compile") 2>conftest.er1
22037 ac_status=$?
22038 grep -v '^ *+' conftest.er1 >conftest.err
22039 rm -f conftest.er1
22040 cat conftest.err >&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest.$ac_objext; then
22046 ac_hi=$ac_mid; break
22047 else
22048 echo "$as_me: failed program was:" >&5
22049 sed 's/^/| /' conftest.$ac_ext >&5
22050
22051 ac_lo=`expr $ac_mid + 1`
22052 if test $ac_lo -le $ac_mid; then
22053 ac_lo= ac_hi=
22054 break
22055 fi
22056 ac_mid=`expr 2 '*' $ac_mid + 1`
22057 fi
22058
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22060 done
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 cat >conftest.$ac_ext <<_ACEOF
22066 /* confdefs.h. */
22067 _ACEOF
22068 cat confdefs.h >>conftest.$ac_ext
22069 cat >>conftest.$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 $ac_includes_default
22072 typedef long long ac__type_sizeof_;
22073 int
22074 main ()
22075 {
22076 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22077 test_array [0] = 0
22078
22079 ;
22080 return 0;
22081 }
22082 _ACEOF
22083 rm -f conftest.$ac_objext
22084 if { (ac_try="$ac_compile"
22085 case "(($ac_try" in
22086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22088 esac
22089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_compile") 2>conftest.er1
22091 ac_status=$?
22092 grep -v '^ *+' conftest.er1 >conftest.err
22093 rm -f conftest.er1
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } && {
22097 test -z "$ac_c_werror_flag" ||
22098 test ! -s conftest.err
22099 } && test -s conftest.$ac_objext; then
22100 ac_hi=-1 ac_mid=-1
22101 while :; do
22102 cat >conftest.$ac_ext <<_ACEOF
22103 /* confdefs.h. */
22104 _ACEOF
22105 cat confdefs.h >>conftest.$ac_ext
22106 cat >>conftest.$ac_ext <<_ACEOF
22107 /* end confdefs.h. */
22108 $ac_includes_default
22109 typedef long long ac__type_sizeof_;
22110 int
22111 main ()
22112 {
22113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22114 test_array [0] = 0
22115
22116 ;
22117 return 0;
22118 }
22119 _ACEOF
22120 rm -f conftest.$ac_objext
22121 if { (ac_try="$ac_compile"
22122 case "(($ac_try" in
22123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22124 *) ac_try_echo=$ac_try;;
22125 esac
22126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22127 (eval "$ac_compile") 2>conftest.er1
22128 ac_status=$?
22129 grep -v '^ *+' conftest.er1 >conftest.err
22130 rm -f conftest.er1
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } && {
22134 test -z "$ac_c_werror_flag" ||
22135 test ! -s conftest.err
22136 } && test -s conftest.$ac_objext; then
22137 ac_lo=$ac_mid; break
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22141
22142 ac_hi=`expr '(' $ac_mid ')' - 1`
22143 if test $ac_mid -le $ac_hi; then
22144 ac_lo= ac_hi=
22145 break
22146 fi
22147 ac_mid=`expr 2 '*' $ac_mid`
22148 fi
22149
22150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22151 done
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22155
22156 ac_lo= ac_hi=
22157 fi
22158
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 fi
22161
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 # Binary search between lo and hi bounds.
22164 while test "x$ac_lo" != "x$ac_hi"; do
22165 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22166 cat >conftest.$ac_ext <<_ACEOF
22167 /* confdefs.h. */
22168 _ACEOF
22169 cat confdefs.h >>conftest.$ac_ext
22170 cat >>conftest.$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172 $ac_includes_default
22173 typedef long long ac__type_sizeof_;
22174 int
22175 main ()
22176 {
22177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22178 test_array [0] = 0
22179
22180 ;
22181 return 0;
22182 }
22183 _ACEOF
22184 rm -f conftest.$ac_objext
22185 if { (ac_try="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22189 esac
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22192 ac_status=$?
22193 grep -v '^ *+' conftest.er1 >conftest.err
22194 rm -f conftest.er1
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.$ac_objext; then
22201 ac_hi=$ac_mid
22202 else
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.$ac_ext >&5
22205
22206 ac_lo=`expr '(' $ac_mid ')' + 1`
22207 fi
22208
22209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 done
22211 case $ac_lo in
22212 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22213 '') if test "$ac_cv_type_long_long" = yes; then
22214 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22215 See \`config.log' for more details." >&5
22216 echo "$as_me: error: cannot compute sizeof (long long)
22217 See \`config.log' for more details." >&2;}
22218 { (exit 77); exit 77; }; }
22219 else
22220 ac_cv_sizeof_long_long=0
22221 fi ;;
22222 esac
22223 else
22224 cat >conftest.$ac_ext <<_ACEOF
22225 /* confdefs.h. */
22226 _ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 typedef long long ac__type_sizeof_;
22232 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22233 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22234 #include <stdio.h>
22235 #include <stdlib.h>
22236 int
22237 main ()
22238 {
22239
22240 FILE *f = fopen ("conftest.val", "w");
22241 if (! f)
22242 return 1;
22243 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22244 {
22245 long int i = longval ();
22246 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22247 return 1;
22248 fprintf (f, "%ld\n", i);
22249 }
22250 else
22251 {
22252 unsigned long int i = ulongval ();
22253 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22254 return 1;
22255 fprintf (f, "%lu\n", i);
22256 }
22257 return ferror (f) || fclose (f) != 0;
22258
22259 ;
22260 return 0;
22261 }
22262 _ACEOF
22263 rm -f conftest$ac_exeext
22264 if { (ac_try="$ac_link"
22265 case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22268 esac
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_link") 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22274 { (case "(($ac_try" in
22275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22276 *) ac_try_echo=$ac_try;;
22277 esac
22278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22279 (eval "$ac_try") 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_cv_sizeof_long_long=`cat conftest.val`
22284 else
22285 echo "$as_me: program exited with status $ac_status" >&5
22286 echo "$as_me: failed program was:" >&5
22287 sed 's/^/| /' conftest.$ac_ext >&5
22288
22289 ( exit $ac_status )
22290 if test "$ac_cv_type_long_long" = yes; then
22291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22292 See \`config.log' for more details." >&5
22293 echo "$as_me: error: cannot compute sizeof (long long)
22294 See \`config.log' for more details." >&2;}
22295 { (exit 77); exit 77; }; }
22296 else
22297 ac_cv_sizeof_long_long=0
22298 fi
22299 fi
22300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22301 fi
22302 rm -f conftest.val
22303 fi
22304 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22305 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22306
22307
22308
22309 cat >>confdefs.h <<_ACEOF
22310 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22311 _ACEOF
22312
22313
22314 esac
22315
22316 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22317 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22318 if test "${ac_cv_type_wchar_t+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22321 cat >conftest.$ac_ext <<_ACEOF
22322 /* confdefs.h. */
22323 _ACEOF
22324 cat confdefs.h >>conftest.$ac_ext
22325 cat >>conftest.$ac_ext <<_ACEOF
22326 /* end confdefs.h. */
22327
22328 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22329 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22330 # error "fake wchar_t"
22331 #endif
22332 #ifdef HAVE_WCHAR_H
22333 # ifdef __CYGWIN__
22334 # include <stddef.h>
22335 # endif
22336 # include <wchar.h>
22337 #endif
22338 #ifdef HAVE_STDLIB_H
22339 # include <stdlib.h>
22340 #endif
22341 #include <stdio.h>
22342
22343
22344
22345 typedef wchar_t ac__type_new_;
22346 int
22347 main ()
22348 {
22349 if ((ac__type_new_ *) 0)
22350 return 0;
22351 if (sizeof (ac__type_new_))
22352 return 0;
22353 ;
22354 return 0;
22355 }
22356 _ACEOF
22357 rm -f conftest.$ac_objext
22358 if { (ac_try="$ac_compile"
22359 case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22362 esac
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_compile") 2>conftest.er1
22365 ac_status=$?
22366 grep -v '^ *+' conftest.er1 >conftest.err
22367 rm -f conftest.er1
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } && {
22371 test -z "$ac_c_werror_flag" ||
22372 test ! -s conftest.err
22373 } && test -s conftest.$ac_objext; then
22374 ac_cv_type_wchar_t=yes
22375 else
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.$ac_ext >&5
22378
22379 ac_cv_type_wchar_t=no
22380 fi
22381
22382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22383 fi
22384 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22385 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22386
22387 # The cast to long int works around a bug in the HP C Compiler
22388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22390 # This bug is HP SR number 8606223364.
22391 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22392 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22393 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22395 else
22396 if test "$cross_compiling" = yes; then
22397 # Depending upon the size, compute the lo and hi bounds.
22398 cat >conftest.$ac_ext <<_ACEOF
22399 /* confdefs.h. */
22400 _ACEOF
22401 cat confdefs.h >>conftest.$ac_ext
22402 cat >>conftest.$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22404
22405 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22406 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22407 # error "fake wchar_t"
22408 #endif
22409 #ifdef HAVE_WCHAR_H
22410 # ifdef __CYGWIN__
22411 # include <stddef.h>
22412 # endif
22413 # include <wchar.h>
22414 #endif
22415 #ifdef HAVE_STDLIB_H
22416 # include <stdlib.h>
22417 #endif
22418 #include <stdio.h>
22419
22420
22421
22422 typedef wchar_t ac__type_sizeof_;
22423 int
22424 main ()
22425 {
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22427 test_array [0] = 0
22428
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22438 esac
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22441 ac_status=$?
22442 grep -v '^ *+' conftest.er1 >conftest.err
22443 rm -f conftest.er1
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22450 ac_lo=0 ac_mid=0
22451 while :; do
22452 cat >conftest.$ac_ext <<_ACEOF
22453 /* confdefs.h. */
22454 _ACEOF
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458
22459 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22460 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22461 # error "fake wchar_t"
22462 #endif
22463 #ifdef HAVE_WCHAR_H
22464 # ifdef __CYGWIN__
22465 # include <stddef.h>
22466 # endif
22467 # include <wchar.h>
22468 #endif
22469 #ifdef HAVE_STDLIB_H
22470 # include <stdlib.h>
22471 #endif
22472 #include <stdio.h>
22473
22474
22475
22476 typedef wchar_t ac__type_sizeof_;
22477 int
22478 main ()
22479 {
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22481 test_array [0] = 0
22482
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22492 esac
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22504 ac_hi=$ac_mid; break
22505 else
22506 echo "$as_me: failed program was:" >&5
22507 sed 's/^/| /' conftest.$ac_ext >&5
22508
22509 ac_lo=`expr $ac_mid + 1`
22510 if test $ac_lo -le $ac_mid; then
22511 ac_lo= ac_hi=
22512 break
22513 fi
22514 ac_mid=`expr 2 '*' $ac_mid + 1`
22515 fi
22516
22517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22518 done
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529
22530 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22531 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22532 # error "fake wchar_t"
22533 #endif
22534 #ifdef HAVE_WCHAR_H
22535 # ifdef __CYGWIN__
22536 # include <stddef.h>
22537 # endif
22538 # include <wchar.h>
22539 #endif
22540 #ifdef HAVE_STDLIB_H
22541 # include <stdlib.h>
22542 #endif
22543 #include <stdio.h>
22544
22545
22546
22547 typedef wchar_t ac__type_sizeof_;
22548 int
22549 main ()
22550 {
22551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22552 test_array [0] = 0
22553
22554 ;
22555 return 0;
22556 }
22557 _ACEOF
22558 rm -f conftest.$ac_objext
22559 if { (ac_try="$ac_compile"
22560 case "(($ac_try" in
22561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;;
22563 esac
22564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22565 (eval "$ac_compile") 2>conftest.er1
22566 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } && {
22572 test -z "$ac_c_werror_flag" ||
22573 test ! -s conftest.err
22574 } && test -s conftest.$ac_objext; then
22575 ac_hi=-1 ac_mid=-1
22576 while :; do
22577 cat >conftest.$ac_ext <<_ACEOF
22578 /* confdefs.h. */
22579 _ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22583
22584 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22585 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22586 # error "fake wchar_t"
22587 #endif
22588 #ifdef HAVE_WCHAR_H
22589 # ifdef __CYGWIN__
22590 # include <stddef.h>
22591 # endif
22592 # include <wchar.h>
22593 #endif
22594 #ifdef HAVE_STDLIB_H
22595 # include <stdlib.h>
22596 #endif
22597 #include <stdio.h>
22598
22599
22600
22601 typedef wchar_t ac__type_sizeof_;
22602 int
22603 main ()
22604 {
22605 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22606 test_array [0] = 0
22607
22608 ;
22609 return 0;
22610 }
22611 _ACEOF
22612 rm -f conftest.$ac_objext
22613 if { (ac_try="$ac_compile"
22614 case "(($ac_try" in
22615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22616 *) ac_try_echo=$ac_try;;
22617 esac
22618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22619 (eval "$ac_compile") 2>conftest.er1
22620 ac_status=$?
22621 grep -v '^ *+' conftest.er1 >conftest.err
22622 rm -f conftest.er1
22623 cat conftest.err >&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } && {
22626 test -z "$ac_c_werror_flag" ||
22627 test ! -s conftest.err
22628 } && test -s conftest.$ac_objext; then
22629 ac_lo=$ac_mid; break
22630 else
22631 echo "$as_me: failed program was:" >&5
22632 sed 's/^/| /' conftest.$ac_ext >&5
22633
22634 ac_hi=`expr '(' $ac_mid ')' - 1`
22635 if test $ac_mid -le $ac_hi; then
22636 ac_lo= ac_hi=
22637 break
22638 fi
22639 ac_mid=`expr 2 '*' $ac_mid`
22640 fi
22641
22642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22643 done
22644 else
22645 echo "$as_me: failed program was:" >&5
22646 sed 's/^/| /' conftest.$ac_ext >&5
22647
22648 ac_lo= ac_hi=
22649 fi
22650
22651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22652 fi
22653
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22655 # Binary search between lo and hi bounds.
22656 while test "x$ac_lo" != "x$ac_hi"; do
22657 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22658 cat >conftest.$ac_ext <<_ACEOF
22659 /* confdefs.h. */
22660 _ACEOF
22661 cat confdefs.h >>conftest.$ac_ext
22662 cat >>conftest.$ac_ext <<_ACEOF
22663 /* end confdefs.h. */
22664
22665 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22666 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22667 # error "fake wchar_t"
22668 #endif
22669 #ifdef HAVE_WCHAR_H
22670 # ifdef __CYGWIN__
22671 # include <stddef.h>
22672 # endif
22673 # include <wchar.h>
22674 #endif
22675 #ifdef HAVE_STDLIB_H
22676 # include <stdlib.h>
22677 #endif
22678 #include <stdio.h>
22679
22680
22681
22682 typedef wchar_t ac__type_sizeof_;
22683 int
22684 main ()
22685 {
22686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22687 test_array [0] = 0
22688
22689 ;
22690 return 0;
22691 }
22692 _ACEOF
22693 rm -f conftest.$ac_objext
22694 if { (ac_try="$ac_compile"
22695 case "(($ac_try" in
22696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22698 esac
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_compile") 2>conftest.er1
22701 ac_status=$?
22702 grep -v '^ *+' conftest.er1 >conftest.err
22703 rm -f conftest.er1
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } && {
22707 test -z "$ac_c_werror_flag" ||
22708 test ! -s conftest.err
22709 } && test -s conftest.$ac_objext; then
22710 ac_hi=$ac_mid
22711 else
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22714
22715 ac_lo=`expr '(' $ac_mid ')' + 1`
22716 fi
22717
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719 done
22720 case $ac_lo in
22721 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22722 '') if test "$ac_cv_type_wchar_t" = yes; then
22723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22724 See \`config.log' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (wchar_t)
22726 See \`config.log' for more details." >&2;}
22727 { (exit 77); exit 77; }; }
22728 else
22729 ac_cv_sizeof_wchar_t=0
22730 fi ;;
22731 esac
22732 else
22733 cat >conftest.$ac_ext <<_ACEOF
22734 /* confdefs.h. */
22735 _ACEOF
22736 cat confdefs.h >>conftest.$ac_ext
22737 cat >>conftest.$ac_ext <<_ACEOF
22738 /* end confdefs.h. */
22739
22740 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22741 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22742 # error "fake wchar_t"
22743 #endif
22744 #ifdef HAVE_WCHAR_H
22745 # ifdef __CYGWIN__
22746 # include <stddef.h>
22747 # endif
22748 # include <wchar.h>
22749 #endif
22750 #ifdef HAVE_STDLIB_H
22751 # include <stdlib.h>
22752 #endif
22753 #include <stdio.h>
22754
22755
22756
22757 typedef wchar_t ac__type_sizeof_;
22758 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22759 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22760 #include <stdio.h>
22761 #include <stdlib.h>
22762 int
22763 main ()
22764 {
22765
22766 FILE *f = fopen ("conftest.val", "w");
22767 if (! f)
22768 return 1;
22769 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22770 {
22771 long int i = longval ();
22772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22773 return 1;
22774 fprintf (f, "%ld\n", i);
22775 }
22776 else
22777 {
22778 unsigned long int i = ulongval ();
22779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22780 return 1;
22781 fprintf (f, "%lu\n", i);
22782 }
22783 return ferror (f) || fclose (f) != 0;
22784
22785 ;
22786 return 0;
22787 }
22788 _ACEOF
22789 rm -f conftest$ac_exeext
22790 if { (ac_try="$ac_link"
22791 case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22794 esac
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_link") 2>&5
22797 ac_status=$?
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22800 { (case "(($ac_try" in
22801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22802 *) ac_try_echo=$ac_try;;
22803 esac
22804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22805 (eval "$ac_try") 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; }; then
22809 ac_cv_sizeof_wchar_t=`cat conftest.val`
22810 else
22811 echo "$as_me: program exited with status $ac_status" >&5
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22814
22815 ( exit $ac_status )
22816 if test "$ac_cv_type_wchar_t" = yes; then
22817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22818 See \`config.log' for more details." >&5
22819 echo "$as_me: error: cannot compute sizeof (wchar_t)
22820 See \`config.log' for more details." >&2;}
22821 { (exit 77); exit 77; }; }
22822 else
22823 ac_cv_sizeof_wchar_t=0
22824 fi
22825 fi
22826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22827 fi
22828 rm -f conftest.val
22829 fi
22830 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22831 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22832
22833
22834
22835 cat >>confdefs.h <<_ACEOF
22836 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22837 _ACEOF
22838
22839
22840 if test "$ac_cv_sizeof_wchar_t" != 0; then
22841 wxUSE_WCHAR_T=yes
22842 else
22843 wxUSE_WCHAR_T=no
22844 fi
22845
22846 { echo "$as_me:$LINENO: checking for va_copy" >&5
22847 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22848 if test "${wx_cv_func_va_copy+set}" = set; then
22849 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 else
22851
22852 ac_ext=cpp
22853 ac_cpp='$CXXCPP $CPPFLAGS'
22854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22857
22858 cat >conftest.$ac_ext <<_ACEOF
22859
22860 #include <stdarg.h>
22861 void foo(char *f, ...)
22862 {
22863 va_list ap1, ap2;
22864 va_start(ap1, f);
22865 va_copy(ap2, ap1);
22866 va_end(ap2);
22867 va_end(ap1);
22868 }
22869 int main()
22870 {
22871 foo("hi", 17);
22872 return 0;
22873 }
22874 _ACEOF
22875 rm -f conftest.$ac_objext conftest$ac_exeext
22876 if { (ac_try="$ac_link"
22877 case "(($ac_try" in
22878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22879 *) ac_try_echo=$ac_try;;
22880 esac
22881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22882 (eval "$ac_link") 2>conftest.er1
22883 ac_status=$?
22884 grep -v '^ *+' conftest.er1 >conftest.err
22885 rm -f conftest.er1
22886 cat conftest.err >&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } && {
22889 test -z "$ac_cxx_werror_flag" ||
22890 test ! -s conftest.err
22891 } && test -s conftest$ac_exeext &&
22892 $as_test_x conftest$ac_exeext; then
22893 wx_cv_func_va_copy=yes
22894 else
22895 echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.$ac_ext >&5
22897
22898 wx_cv_func_va_copy=no
22899
22900 fi
22901
22902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22903 conftest$ac_exeext conftest.$ac_ext
22904 ac_ext=c
22905 ac_cpp='$CPP $CPPFLAGS'
22906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22909
22910
22911
22912 fi
22913 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22914 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22915
22916 if test $wx_cv_func_va_copy = "yes"; then
22917 cat >>confdefs.h <<\_ACEOF
22918 #define HAVE_VA_COPY 1
22919 _ACEOF
22920
22921 else
22922 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22923 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22924 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 else
22927
22928 if test "$cross_compiling" = yes; then
22929 wx_cv_type_va_list_lvalue=yes
22930
22931 else
22932 cat >conftest.$ac_ext <<_ACEOF
22933
22934 #include <stdarg.h>
22935 int foo(char *f, ...)
22936 {
22937 va_list ap1, ap2;
22938 va_start(ap1, f);
22939 ap2 = ap1;
22940 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22941 return 1;
22942 va_end(ap2);
22943 va_end(ap1);
22944 return 0;
22945 }
22946 int main()
22947 {
22948 return foo("hi", 17);
22949 }
22950 _ACEOF
22951 rm -f conftest$ac_exeext
22952 if { (ac_try="$ac_link"
22953 case "(($ac_try" in
22954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22955 *) ac_try_echo=$ac_try;;
22956 esac
22957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22958 (eval "$ac_link") 2>&5
22959 ac_status=$?
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22962 { (case "(($ac_try" in
22963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22964 *) ac_try_echo=$ac_try;;
22965 esac
22966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22967 (eval "$ac_try") 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 wx_cv_type_va_list_lvalue=yes
22972 else
22973 echo "$as_me: program exited with status $ac_status" >&5
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22976
22977 ( exit $ac_status )
22978 wx_cv_type_va_list_lvalue=no
22979 fi
22980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22981 fi
22982
22983
22984
22985
22986 fi
22987 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22988 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22989
22990 if test $wx_cv_type_va_list_lvalue != "yes"; then
22991 cat >>confdefs.h <<\_ACEOF
22992 #define VA_LIST_IS_ARRAY 1
22993 _ACEOF
22994
22995 fi
22996 fi
22997
22998 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22999
23000 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23001 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23002 if test "${wx_cv_have_variadic_macros+set}" = set; then
23003 echo $ECHO_N "(cached) $ECHO_C" >&6
23004 else
23005
23006 ac_ext=cpp
23007 ac_cpp='$CXXCPP $CPPFLAGS'
23008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23011
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018
23019 #include <stdio.h>
23020 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23021
23022 int
23023 main ()
23024 {
23025
23026 test("%s %d %p", "test", 1, 0);
23027
23028
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23041 ac_status=$?
23042 grep -v '^ *+' conftest.er1 >conftest.err
23043 rm -f conftest.er1
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_cxx_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23050 wx_cv_have_variadic_macros=yes
23051 else
23052 echo "$as_me: failed program was:" >&5
23053 sed 's/^/| /' conftest.$ac_ext >&5
23054
23055 wx_cv_have_variadic_macros=no
23056
23057 fi
23058
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23060 ac_ext=c
23061 ac_cpp='$CPP $CPPFLAGS'
23062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23065
23066
23067
23068 fi
23069 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23070 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23071
23072 if test $wx_cv_have_variadic_macros = "yes"; then
23073 cat >>confdefs.h <<\_ACEOF
23074 #define HAVE_VARIADIC_MACROS 1
23075 _ACEOF
23076
23077 fi
23078
23079 fi
23080 # Check whether --enable-largefile was given.
23081 if test "${enable_largefile+set}" = set; then
23082 enableval=$enable_largefile;
23083 fi
23084
23085 if test "$enable_largefile" != no; then
23086 wx_largefile=no
23087
23088 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23089 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23090 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23091 echo $ECHO_N "(cached) $ECHO_C" >&6
23092 else
23093
23094 cat >conftest.$ac_ext <<_ACEOF
23095 /* confdefs.h. */
23096 _ACEOF
23097 cat confdefs.h >>conftest.$ac_ext
23098 cat >>conftest.$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23100 #define _FILE_OFFSET_BITS 64
23101 #include <sys/types.h>
23102 int
23103 main ()
23104 {
23105 typedef struct {
23106 unsigned int field: sizeof(off_t) == 8;
23107 } wxlf;
23108
23109 ;
23110 return 0;
23111 }
23112 _ACEOF
23113 rm -f conftest.$ac_objext
23114 if { (ac_try="$ac_compile"
23115 case "(($ac_try" in
23116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23117 *) ac_try_echo=$ac_try;;
23118 esac
23119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23120 (eval "$ac_compile") 2>conftest.er1
23121 ac_status=$?
23122 grep -v '^ *+' conftest.er1 >conftest.err
23123 rm -f conftest.er1
23124 cat conftest.err >&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); } && {
23127 test -z "$ac_c_werror_flag" ||
23128 test ! -s conftest.err
23129 } && test -s conftest.$ac_objext; then
23130 ac_cv_sys_file_offset_bits=64
23131 else
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.$ac_ext >&5
23134
23135 ac_cv_sys_file_offset_bits=no
23136 fi
23137
23138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23139
23140
23141 fi
23142 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23143 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23144
23145 if test "$ac_cv_sys_file_offset_bits" != no; then
23146 wx_largefile=yes
23147 cat >>confdefs.h <<_ACEOF
23148 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23149 _ACEOF
23150
23151 fi
23152
23153 if test "x$wx_largefile" != "xyes"; then
23154
23155 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23156 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23157 if test "${ac_cv_sys_large_files+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 else
23160
23161 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h. */
23163 _ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167 #define _LARGE_FILES 1
23168 #include <sys/types.h>
23169 int
23170 main ()
23171 {
23172 typedef struct {
23173 unsigned int field: sizeof(off_t) == 8;
23174 } wxlf;
23175
23176 ;
23177 return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23185 esac
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_compile") 2>conftest.er1
23188 ac_status=$?
23189 grep -v '^ *+' conftest.er1 >conftest.err
23190 rm -f conftest.er1
23191 cat conftest.err >&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } && {
23194 test -z "$ac_c_werror_flag" ||
23195 test ! -s conftest.err
23196 } && test -s conftest.$ac_objext; then
23197 ac_cv_sys_large_files=1
23198 else
23199 echo "$as_me: failed program was:" >&5
23200 sed 's/^/| /' conftest.$ac_ext >&5
23201
23202 ac_cv_sys_large_files=no
23203 fi
23204
23205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23206
23207
23208 fi
23209 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23210 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23211
23212 if test "$ac_cv_sys_large_files" != no; then
23213 wx_largefile=yes
23214 cat >>confdefs.h <<_ACEOF
23215 #define _LARGE_FILES $ac_cv_sys_large_files
23216 _ACEOF
23217
23218 fi
23219
23220 fi
23221
23222 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23223 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23224 if test "x$wx_largefile" = "xyes"; then
23225 cat >>confdefs.h <<\_ACEOF
23226 #define HAVE_LARGEFILE_SUPPORT 1
23227 _ACEOF
23228
23229 fi
23230 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23231 echo "${ECHO_T}$wx_largefile" >&6; }
23232 fi
23233
23234
23235 if test "x$wx_largefile" = "xyes"; then
23236 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23237 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23238
23239 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23240 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23241 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23242 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 else
23245
23246 ac_ext=cpp
23247 ac_cpp='$CXXCPP $CPPFLAGS'
23248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23251
23252 cat >conftest.$ac_ext <<_ACEOF
23253 /* confdefs.h. */
23254 _ACEOF
23255 cat confdefs.h >>conftest.$ac_ext
23256 cat >>conftest.$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258
23259 int
23260 main ()
23261 {
23262
23263 #ifndef __STDC_EXT__
23264 choke me
23265 #endif
23266
23267 ;
23268 return 0;
23269 }
23270 _ACEOF
23271 rm -f conftest.$ac_objext
23272 if { (ac_try="$ac_compile"
23273 case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23276 esac
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_compile") 2>conftest.er1
23279 ac_status=$?
23280 grep -v '^ *+' conftest.er1 >conftest.err
23281 rm -f conftest.er1
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } && {
23285 test -z "$ac_cxx_werror_flag" ||
23286 test ! -s conftest.err
23287 } && test -s conftest.$ac_objext; then
23288 wx_cv_STDC_EXT_required=no
23289 else
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.$ac_ext >&5
23292
23293 wx_cv_STDC_EXT_required=yes
23294
23295 fi
23296
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23303
23304
23305
23306 fi
23307 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23308 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23309 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23310 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23311 fi
23312 fi
23313 else
23314 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23315 fi
23316 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23317 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23318 if test "${ac_cv_sys_largefile_source+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23320 else
23321 while :; do
23322 cat >conftest.$ac_ext <<_ACEOF
23323 /* confdefs.h. */
23324 _ACEOF
23325 cat confdefs.h >>conftest.$ac_ext
23326 cat >>conftest.$ac_ext <<_ACEOF
23327 /* end confdefs.h. */
23328 #include <sys/types.h> /* for off_t */
23329 #include <stdio.h>
23330 int
23331 main ()
23332 {
23333 int (*fp) (FILE *, off_t, int) = fseeko;
23334 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23335 ;
23336 return 0;
23337 }
23338 _ACEOF
23339 rm -f conftest.$ac_objext conftest$ac_exeext
23340 if { (ac_try="$ac_link"
23341 case "(($ac_try" in
23342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23343 *) ac_try_echo=$ac_try;;
23344 esac
23345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23346 (eval "$ac_link") 2>conftest.er1
23347 ac_status=$?
23348 grep -v '^ *+' conftest.er1 >conftest.err
23349 rm -f conftest.er1
23350 cat conftest.err >&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } && {
23353 test -z "$ac_c_werror_flag" ||
23354 test ! -s conftest.err
23355 } && test -s conftest$ac_exeext &&
23356 $as_test_x conftest$ac_exeext; then
23357 ac_cv_sys_largefile_source=no; break
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362
23363 fi
23364
23365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23366 conftest$ac_exeext conftest.$ac_ext
23367 cat >conftest.$ac_ext <<_ACEOF
23368 /* confdefs.h. */
23369 _ACEOF
23370 cat confdefs.h >>conftest.$ac_ext
23371 cat >>conftest.$ac_ext <<_ACEOF
23372 /* end confdefs.h. */
23373 #define _LARGEFILE_SOURCE 1
23374 #include <sys/types.h> /* for off_t */
23375 #include <stdio.h>
23376 int
23377 main ()
23378 {
23379 int (*fp) (FILE *, off_t, int) = fseeko;
23380 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23381 ;
23382 return 0;
23383 }
23384 _ACEOF
23385 rm -f conftest.$ac_objext conftest$ac_exeext
23386 if { (ac_try="$ac_link"
23387 case "(($ac_try" in
23388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23389 *) ac_try_echo=$ac_try;;
23390 esac
23391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23392 (eval "$ac_link") 2>conftest.er1
23393 ac_status=$?
23394 grep -v '^ *+' conftest.er1 >conftest.err
23395 rm -f conftest.er1
23396 cat conftest.err >&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } && {
23399 test -z "$ac_c_werror_flag" ||
23400 test ! -s conftest.err
23401 } && test -s conftest$ac_exeext &&
23402 $as_test_x conftest$ac_exeext; then
23403 ac_cv_sys_largefile_source=1; break
23404 else
23405 echo "$as_me: failed program was:" >&5
23406 sed 's/^/| /' conftest.$ac_ext >&5
23407
23408
23409 fi
23410
23411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23412 conftest$ac_exeext conftest.$ac_ext
23413 ac_cv_sys_largefile_source=unknown
23414 break
23415 done
23416 fi
23417 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23418 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23419 case $ac_cv_sys_largefile_source in #(
23420 no | unknown) ;;
23421 *)
23422 cat >>confdefs.h <<_ACEOF
23423 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23424 _ACEOF
23425 ;;
23426 esac
23427 rm -f conftest*
23428
23429 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23430 # in glibc 2.1.3, but that breaks too many other things.
23431 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23432 if test $ac_cv_sys_largefile_source != unknown; then
23433
23434 cat >>confdefs.h <<\_ACEOF
23435 #define HAVE_FSEEKO 1
23436 _ACEOF
23437
23438 fi
23439
23440 if test "$ac_cv_sys_largefile_source" != no; then
23441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23442 fi
23443 fi
23444
23445 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23446 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23447 if test "${ac_cv_c_bigendian+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 else
23450 ac_cv_c_bigendian=unknown
23451 # See if sys/param.h defines the BYTE_ORDER macro.
23452 cat >conftest.$ac_ext <<_ACEOF
23453 /* confdefs.h. */
23454 _ACEOF
23455 cat confdefs.h >>conftest.$ac_ext
23456 cat >>conftest.$ac_ext <<_ACEOF
23457 /* end confdefs.h. */
23458 #include <sys/types.h>
23459 #include <sys/param.h>
23460 int
23461 main ()
23462 {
23463
23464 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23465 bogus endian macros
23466 #endif
23467 ;
23468 return 0;
23469 }
23470 _ACEOF
23471 rm -f conftest.$ac_objext
23472 if { (ac_try="$ac_compile"
23473 case "(($ac_try" in
23474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23475 *) ac_try_echo=$ac_try;;
23476 esac
23477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23478 (eval "$ac_compile") 2>conftest.er1
23479 ac_status=$?
23480 grep -v '^ *+' conftest.er1 >conftest.err
23481 rm -f conftest.er1
23482 cat conftest.err >&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } && {
23485 test -z "$ac_c_werror_flag" ||
23486 test ! -s conftest.err
23487 } && test -s conftest.$ac_objext; then
23488 # It does; now see whether it defined to BIG_ENDIAN or not.
23489 cat >conftest.$ac_ext <<_ACEOF
23490 /* confdefs.h. */
23491 _ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495 #include <sys/types.h>
23496 #include <sys/param.h>
23497 int
23498 main ()
23499 {
23500
23501 #if BYTE_ORDER != BIG_ENDIAN
23502 not big endian
23503 #endif
23504 ;
23505 return 0;
23506 }
23507 _ACEOF
23508 rm -f conftest.$ac_objext
23509 if { (ac_try="$ac_compile"
23510 case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23513 esac
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_compile") 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } && {
23522 test -z "$ac_c_werror_flag" ||
23523 test ! -s conftest.err
23524 } && test -s conftest.$ac_objext; then
23525 ac_cv_c_bigendian=yes
23526 else
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.$ac_ext >&5
23529
23530 ac_cv_c_bigendian=no
23531 fi
23532
23533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23534 else
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23537
23538
23539 fi
23540
23541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23542 if test $ac_cv_c_bigendian = unknown; then
23543 if test "$cross_compiling" = yes; then
23544 ac_cv_c_bigendian=unknown
23545 else
23546 cat >conftest.$ac_ext <<_ACEOF
23547 /* confdefs.h. */
23548 _ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 main () {
23553 /* Are we little or big endian? From Harbison&Steele. */
23554 union
23555 {
23556 long l;
23557 char c[sizeof (long)];
23558 } u;
23559 u.l = 1;
23560 exit (u.c[sizeof (long) - 1] == 1);
23561 }
23562 _ACEOF
23563 rm -f conftest$ac_exeext
23564 if { (ac_try="$ac_link"
23565 case "(($ac_try" in
23566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23567 *) ac_try_echo=$ac_try;;
23568 esac
23569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23570 (eval "$ac_link") 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23574 { (case "(($ac_try" in
23575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23576 *) ac_try_echo=$ac_try;;
23577 esac
23578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23579 (eval "$ac_try") 2>&5
23580 ac_status=$?
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 ac_cv_c_bigendian=no
23584 else
23585 echo "$as_me: program exited with status $ac_status" >&5
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.$ac_ext >&5
23588
23589 ( exit $ac_status )
23590 ac_cv_c_bigendian=yes
23591 fi
23592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23593 fi
23594
23595
23596 fi
23597 fi
23598 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23599 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23600 if test $ac_cv_c_bigendian = unknown; then
23601 { 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
23602 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;}
23603 fi
23604 if test $ac_cv_c_bigendian = yes; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define WORDS_BIGENDIAN 1
23607 _ACEOF
23608
23609 fi
23610
23611
23612
23613
23614 ac_ext=cpp
23615 ac_cpp='$CXXCPP $CPPFLAGS'
23616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23619
23620
23621
23622 for ac_header in iostream
23623 do
23624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23628 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 else
23630 cat >conftest.$ac_ext <<_ACEOF
23631 /* confdefs.h. */
23632 _ACEOF
23633 cat confdefs.h >>conftest.$ac_ext
23634 cat >>conftest.$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23636
23637
23638 #include <$ac_header>
23639 _ACEOF
23640 rm -f conftest.$ac_objext
23641 if { (ac_try="$ac_compile"
23642 case "(($ac_try" in
23643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23644 *) ac_try_echo=$ac_try;;
23645 esac
23646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23647 (eval "$ac_compile") 2>conftest.er1
23648 ac_status=$?
23649 grep -v '^ *+' conftest.er1 >conftest.err
23650 rm -f conftest.er1
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } && {
23654 test -z "$ac_cxx_werror_flag" ||
23655 test ! -s conftest.err
23656 } && test -s conftest.$ac_objext; then
23657 eval "$as_ac_Header=yes"
23658 else
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.$ac_ext >&5
23661
23662 eval "$as_ac_Header=no"
23663 fi
23664
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 fi
23667 ac_res=`eval echo '${'$as_ac_Header'}'`
23668 { echo "$as_me:$LINENO: result: $ac_res" >&5
23669 echo "${ECHO_T}$ac_res" >&6; }
23670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23671 cat >>confdefs.h <<_ACEOF
23672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23673 _ACEOF
23674
23675 fi
23676
23677 done
23678
23679
23680 if test "$ac_cv_header_iostream" = "yes" ; then
23681 :
23682 else
23683 cat >>confdefs.h <<\_ACEOF
23684 #define wxUSE_IOSTREAMH 1
23685 _ACEOF
23686
23687 fi
23688
23689 ac_ext=c
23690 ac_cpp='$CPP $CPPFLAGS'
23691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23694
23695
23696
23697
23698 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23699 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23700 if test "${wx_cv_cpp_bool+set}" = set; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 else
23703
23704
23705 ac_ext=cpp
23706 ac_cpp='$CXXCPP $CPPFLAGS'
23707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23710
23711
23712 cat >conftest.$ac_ext <<_ACEOF
23713 /* confdefs.h. */
23714 _ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718
23719
23720 int
23721 main ()
23722 {
23723
23724 bool b = true;
23725
23726 return 0;
23727
23728 ;
23729 return 0;
23730 }
23731 _ACEOF
23732 rm -f conftest.$ac_objext
23733 if { (ac_try="$ac_compile"
23734 case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23737 esac
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_compile") 2>conftest.er1
23740 ac_status=$?
23741 grep -v '^ *+' conftest.er1 >conftest.err
23742 rm -f conftest.er1
23743 cat conftest.err >&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } && {
23746 test -z "$ac_cxx_werror_flag" ||
23747 test ! -s conftest.err
23748 } && test -s conftest.$ac_objext; then
23749
23750 wx_cv_cpp_bool=yes
23751
23752 else
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.$ac_ext >&5
23755
23756
23757 wx_cv_cpp_bool=no
23758
23759
23760 fi
23761
23762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23763
23764 ac_ext=c
23765 ac_cpp='$CPP $CPPFLAGS'
23766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23769
23770
23771 fi
23772 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23773 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23774
23775 if test "$wx_cv_cpp_bool" = "yes"; then
23776 cat >>confdefs.h <<\_ACEOF
23777 #define HAVE_BOOL 1
23778 _ACEOF
23779
23780 fi
23781
23782
23783
23784 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23785 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23786 if test "${wx_cv_explicit+set}" = set; then
23787 echo $ECHO_N "(cached) $ECHO_C" >&6
23788 else
23789
23790
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797
23798 cat >conftest.$ac_ext <<_ACEOF
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23804
23805 class Foo { public: explicit Foo(int) {} };
23806
23807 int
23808 main ()
23809 {
23810
23811 return 0;
23812
23813 ;
23814 return 0;
23815 }
23816 _ACEOF
23817 rm -f conftest.$ac_objext
23818 if { (ac_try="$ac_compile"
23819 case "(($ac_try" in
23820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23821 *) ac_try_echo=$ac_try;;
23822 esac
23823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23824 (eval "$ac_compile") 2>conftest.er1
23825 ac_status=$?
23826 grep -v '^ *+' conftest.er1 >conftest.err
23827 rm -f conftest.er1
23828 cat conftest.err >&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); } && {
23831 test -z "$ac_cxx_werror_flag" ||
23832 test ! -s conftest.err
23833 } && test -s conftest.$ac_objext; then
23834
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841
23842 class Foo { public: explicit Foo(int) {} };
23843 static void TakeFoo(const Foo& foo) { }
23844
23845 int
23846 main ()
23847 {
23848
23849 TakeFoo(17);
23850 return 0;
23851
23852 ;
23853 return 0;
23854 }
23855 _ACEOF
23856 rm -f conftest.$ac_objext
23857 if { (ac_try="$ac_compile"
23858 case "(($ac_try" in
23859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23860 *) ac_try_echo=$ac_try;;
23861 esac
23862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23863 (eval "$ac_compile") 2>conftest.er1
23864 ac_status=$?
23865 grep -v '^ *+' conftest.er1 >conftest.err
23866 rm -f conftest.er1
23867 cat conftest.err >&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); } && {
23870 test -z "$ac_cxx_werror_flag" ||
23871 test ! -s conftest.err
23872 } && test -s conftest.$ac_objext; then
23873 wx_cv_explicit=no
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23877
23878 wx_cv_explicit=yes
23879
23880 fi
23881
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23883
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23887
23888 wx_cv_explicit=no
23889
23890 fi
23891
23892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23893
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899
23900
23901 fi
23902 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23903 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23904
23905 if test "$wx_cv_explicit" = "yes"; then
23906 cat >>confdefs.h <<\_ACEOF
23907 #define HAVE_EXPLICIT 1
23908 _ACEOF
23909
23910 fi
23911
23912
23913 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23914 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23915 if test "${ac_cv_cxx_const_cast+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23917 else
23918
23919 ac_ext=cpp
23920 ac_cpp='$CXXCPP $CPPFLAGS'
23921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23924
23925 cat >conftest.$ac_ext <<_ACEOF
23926 /* confdefs.h. */
23927 _ACEOF
23928 cat confdefs.h >>conftest.$ac_ext
23929 cat >>conftest.$ac_ext <<_ACEOF
23930 /* end confdefs.h. */
23931
23932 int
23933 main ()
23934 {
23935 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23936 ;
23937 return 0;
23938 }
23939 _ACEOF
23940 rm -f conftest.$ac_objext
23941 if { (ac_try="$ac_compile"
23942 case "(($ac_try" in
23943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23944 *) ac_try_echo=$ac_try;;
23945 esac
23946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23947 (eval "$ac_compile") 2>conftest.er1
23948 ac_status=$?
23949 grep -v '^ *+' conftest.er1 >conftest.err
23950 rm -f conftest.er1
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } && {
23954 test -z "$ac_cxx_werror_flag" ||
23955 test ! -s conftest.err
23956 } && test -s conftest.$ac_objext; then
23957 ac_cv_cxx_const_cast=yes
23958 else
23959 echo "$as_me: failed program was:" >&5
23960 sed 's/^/| /' conftest.$ac_ext >&5
23961
23962 ac_cv_cxx_const_cast=no
23963 fi
23964
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 ac_ext=c
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23971
23972
23973 fi
23974 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23975 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23976 if test "$ac_cv_cxx_const_cast" = yes; then
23977
23978 cat >>confdefs.h <<\_ACEOF
23979 #define HAVE_CONST_CAST
23980 _ACEOF
23981
23982 fi
23983
23984 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23985 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23986 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23988 else
23989
23990 ac_ext=cpp
23991 ac_cpp='$CXXCPP $CPPFLAGS'
23992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23995
23996 cat >conftest.$ac_ext <<_ACEOF
23997 /* confdefs.h. */
23998 _ACEOF
23999 cat confdefs.h >>conftest.$ac_ext
24000 cat >>conftest.$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24002 #include <typeinfo>
24003 class Base { public : Base () {} virtual void f () = 0;};
24004 class Derived : public Base { public : Derived () {} virtual void f () {} };
24005 class Unrelated { public : Unrelated () {} };
24006 int g (Unrelated&) { return 0; }
24007 int
24008 main ()
24009 {
24010
24011 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24012 ;
24013 return 0;
24014 }
24015 _ACEOF
24016 rm -f conftest.$ac_objext
24017 if { (ac_try="$ac_compile"
24018 case "(($ac_try" in
24019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24020 *) ac_try_echo=$ac_try;;
24021 esac
24022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24023 (eval "$ac_compile") 2>conftest.er1
24024 ac_status=$?
24025 grep -v '^ *+' conftest.er1 >conftest.err
24026 rm -f conftest.er1
24027 cat conftest.err >&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); } && {
24030 test -z "$ac_cxx_werror_flag" ||
24031 test ! -s conftest.err
24032 } && test -s conftest.$ac_objext; then
24033 ac_cv_cxx_reinterpret_cast=yes
24034 else
24035 echo "$as_me: failed program was:" >&5
24036 sed 's/^/| /' conftest.$ac_ext >&5
24037
24038 ac_cv_cxx_reinterpret_cast=no
24039 fi
24040
24041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24042 ac_ext=c
24043 ac_cpp='$CPP $CPPFLAGS'
24044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24047
24048
24049 fi
24050 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24051 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24052 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24053
24054 cat >>confdefs.h <<\_ACEOF
24055 #define HAVE_REINTERPRET_CAST
24056 _ACEOF
24057
24058 fi
24059
24060 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24061 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24062 if test "${ac_cv_cxx_static_cast+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24064 else
24065
24066 ac_ext=cpp
24067 ac_cpp='$CXXCPP $CPPFLAGS'
24068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24071
24072 cat >conftest.$ac_ext <<_ACEOF
24073 /* confdefs.h. */
24074 _ACEOF
24075 cat confdefs.h >>conftest.$ac_ext
24076 cat >>conftest.$ac_ext <<_ACEOF
24077 /* end confdefs.h. */
24078 #include <typeinfo>
24079 class Base { public : Base () {} virtual void f () = 0; };
24080 class Derived : public Base { public : Derived () {} virtual void f () {} };
24081 int g (Derived&) { return 0; }
24082 int
24083 main ()
24084 {
24085
24086 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24087 ;
24088 return 0;
24089 }
24090 _ACEOF
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24096 esac
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24099 ac_status=$?
24100 grep -v '^ *+' conftest.er1 >conftest.err
24101 rm -f conftest.er1
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_cxx_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_cxx_static_cast=yes
24109 else
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24112
24113 ac_cv_cxx_static_cast=no
24114 fi
24115
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 ac_ext=c
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24122
24123
24124 fi
24125 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24126 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24127 if test "$ac_cv_cxx_static_cast" = yes; then
24128
24129 cat >>confdefs.h <<\_ACEOF
24130 #define HAVE_STATIC_CAST
24131 _ACEOF
24132
24133 fi
24134
24135
24136 if test "x$SUNCXX" = xyes; then
24137 CXXFLAGS="-features=tmplife $CXXFLAGS"
24138 fi
24139
24140 if test "x$SUNCC" = xyes; then
24141 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24142 fi
24143
24144 if test "x$SGICC" = "xyes"; then
24145 CFLAGS="-woff 3970 $CFLAGS"
24146 fi
24147 if test "x$SGICXX" = "xyes"; then
24148 CXXFLAGS="-woff 3970 $CXXFLAGS"
24149 fi
24150
24151 if test "x$HPCC" = "xyes"; then
24152 CFLAGS="+W 2011,2450 $CFLAGS"
24153 fi
24154 if test "x$HPCXX" = "xyes"; then
24155 CXXFLAGS="+W 2340 $CXXFLAGS"
24156 fi
24157
24158 if test "x$COMPAQCXX" = "xyes"; then
24159 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24160 fi
24161
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167
24168
24169 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24170 if test "$wxUSE_UNICODE" = "yes"; then
24171 std_string="std::wstring"
24172 char_type="wchar_t"
24173 else
24174 std_string="std::string"
24175 char_type="char"
24176 fi
24177
24178 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24179 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24180 if test "${wx_cv_class_stdstring+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 else
24183
24184 cat >conftest.$ac_ext <<_ACEOF
24185 /* confdefs.h. */
24186 _ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24190 #include <string>
24191 int
24192 main ()
24193 {
24194 $std_string foo;
24195 ;
24196 return 0;
24197 }
24198 _ACEOF
24199 rm -f conftest.$ac_objext
24200 if { (ac_try="$ac_compile"
24201 case "(($ac_try" in
24202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24203 *) ac_try_echo=$ac_try;;
24204 esac
24205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24206 (eval "$ac_compile") 2>conftest.er1
24207 ac_status=$?
24208 grep -v '^ *+' conftest.er1 >conftest.err
24209 rm -f conftest.er1
24210 cat conftest.err >&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); } && {
24213 test -z "$ac_cxx_werror_flag" ||
24214 test ! -s conftest.err
24215 } && test -s conftest.$ac_objext; then
24216 wx_cv_class_stdstring=yes
24217 else
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.$ac_ext >&5
24220
24221 wx_cv_class_stdstring=no
24222
24223 fi
24224
24225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24226
24227
24228 fi
24229 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24230 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24231
24232 if test "$wx_cv_class_stdstring" = yes; then
24233 if test "$wxUSE_UNICODE" = "yes"; then
24234 cat >>confdefs.h <<\_ACEOF
24235 #define HAVE_STD_WSTRING 1
24236 _ACEOF
24237
24238 fi
24239 else
24240 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24241 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24242 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24244 else
24245
24246 cat >conftest.$ac_ext <<_ACEOF
24247 /* confdefs.h. */
24248 _ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252
24253 #ifdef HAVE_WCHAR_H
24254 # ifdef __CYGWIN__
24255 # include <stddef.h>
24256 # endif
24257 # include <wchar.h>
24258 #endif
24259 #ifdef HAVE_STDLIB_H
24260 # include <stdlib.h>
24261 #endif
24262 #include <stdio.h>
24263 #include <string>
24264
24265 int
24266 main ()
24267 {
24268 std::basic_string<$char_type> foo;
24269 const $char_type* dummy = foo.c_str();
24270 ;
24271 return 0;
24272 }
24273 _ACEOF
24274 rm -f conftest.$ac_objext
24275 if { (ac_try="$ac_compile"
24276 case "(($ac_try" in
24277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24278 *) ac_try_echo=$ac_try;;
24279 esac
24280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24281 (eval "$ac_compile") 2>conftest.er1
24282 ac_status=$?
24283 grep -v '^ *+' conftest.er1 >conftest.err
24284 rm -f conftest.er1
24285 cat conftest.err >&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } && {
24288 test -z "$ac_cxx_werror_flag" ||
24289 test ! -s conftest.err
24290 } && test -s conftest.$ac_objext; then
24291 wx_cv_class_stdbasicstring=yes
24292 else
24293 echo "$as_me: failed program was:" >&5
24294 sed 's/^/| /' conftest.$ac_ext >&5
24295
24296 wx_cv_class_stdbasicstring=no
24297
24298 fi
24299
24300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24301
24302
24303 fi
24304 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24305 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24306
24307 if test "$wx_cv_class_stdbasicstring" != yes; then
24308 if test "$wxUSE_STL" = "yes"; then
24309 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24310 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24311 { (exit 1); exit 1; }; }
24312 elif test "$wxUSE_STD_STRING" = "yes"; then
24313 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24314 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24315 { (exit 1); exit 1; }; }
24316 else
24317 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24318 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24319 wxUSE_STD_STRING=no
24320 fi
24321 fi
24322 fi
24323 fi
24324
24325 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24326 { echo "$as_me:$LINENO: checking for std::istream" >&5
24327 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24328 if test "${ac_cv_type_std__istream+set}" = set; then
24329 echo $ECHO_N "(cached) $ECHO_C" >&6
24330 else
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 #include <iostream>
24338
24339 typedef std::istream ac__type_new_;
24340 int
24341 main ()
24342 {
24343 if ((ac__type_new_ *) 0)
24344 return 0;
24345 if (sizeof (ac__type_new_))
24346 return 0;
24347 ;
24348 return 0;
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext
24352 if { (ac_try="$ac_compile"
24353 case "(($ac_try" in
24354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24356 esac
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_compile") 2>conftest.er1
24359 ac_status=$?
24360 grep -v '^ *+' conftest.er1 >conftest.err
24361 rm -f conftest.er1
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_cxx_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest.$ac_objext; then
24368 ac_cv_type_std__istream=yes
24369 else
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24372
24373 ac_cv_type_std__istream=no
24374 fi
24375
24376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24377 fi
24378 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24379 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24380 if test $ac_cv_type_std__istream = yes; then
24381
24382 cat >>confdefs.h <<_ACEOF
24383 #define HAVE_STD__ISTREAM 1
24384 _ACEOF
24385
24386
24387 else
24388 wxUSE_STD_IOSTREAM=no
24389 fi
24390 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24391 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24392 if test "${ac_cv_type_std__ostream+set}" = set; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24394 else
24395 cat >conftest.$ac_ext <<_ACEOF
24396 /* confdefs.h. */
24397 _ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 #include <iostream>
24402
24403 typedef std::ostream ac__type_new_;
24404 int
24405 main ()
24406 {
24407 if ((ac__type_new_ *) 0)
24408 return 0;
24409 if (sizeof (ac__type_new_))
24410 return 0;
24411 ;
24412 return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest.$ac_objext
24416 if { (ac_try="$ac_compile"
24417 case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24420 esac
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_compile") 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_cxx_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest.$ac_objext; then
24432 ac_cv_type_std__ostream=yes
24433 else
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.$ac_ext >&5
24436
24437 ac_cv_type_std__ostream=no
24438 fi
24439
24440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24441 fi
24442 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24443 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24444 if test $ac_cv_type_std__ostream = yes; then
24445
24446 cat >>confdefs.h <<_ACEOF
24447 #define HAVE_STD__OSTREAM 1
24448 _ACEOF
24449
24450
24451 else
24452 wxUSE_STD_IOSTREAM=no
24453 fi
24454
24455
24456 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24457 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24458 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24459 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24460 { (exit 1); exit 1; }; }
24461 else
24462 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24463 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24464 fi
24465 fi
24466 fi
24467
24468 if test "$wxUSE_STL" = "yes"; then
24469 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24470 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24471 if test "${wx_cv_lib_stl+set}" = set; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474 cat >conftest.$ac_ext <<_ACEOF
24475 /* confdefs.h. */
24476 _ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 #include <string>
24481 #include <functional>
24482 #include <algorithm>
24483 #include <vector>
24484 #include <list>
24485 int
24486 main ()
24487 {
24488 std::vector<int> moo;
24489 std::list<int> foo;
24490 std::vector<int>::iterator it =
24491 std::find_if(moo.begin(), moo.end(),
24492 std::bind2nd(std::less<int>(), 3));
24493 ;
24494 return 0;
24495 }
24496 _ACEOF
24497 rm -f conftest.$ac_objext
24498 if { (ac_try="$ac_compile"
24499 case "(($ac_try" in
24500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24501 *) ac_try_echo=$ac_try;;
24502 esac
24503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24504 (eval "$ac_compile") 2>conftest.er1
24505 ac_status=$?
24506 grep -v '^ *+' conftest.er1 >conftest.err
24507 rm -f conftest.er1
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && {
24511 test -z "$ac_cxx_werror_flag" ||
24512 test ! -s conftest.err
24513 } && test -s conftest.$ac_objext; then
24514 wx_cv_lib_stl=yes
24515 else
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24518
24519 wx_cv_lib_stl=no
24520
24521 fi
24522
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524
24525 fi
24526 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24527 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24528
24529 if test "$wx_cv_lib_stl" != yes; then
24530 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24531 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24532 { (exit 1); exit 1; }; }
24533 fi
24534
24535 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24536 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24537 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24539 else
24540 cat >conftest.$ac_ext <<_ACEOF
24541 /* confdefs.h. */
24542 _ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24546 #include <string>
24547 int
24548 main ()
24549 {
24550 std::string foo, bar;
24551 foo.compare(bar);
24552 foo.compare(1, 1, bar);
24553 foo.compare(1, 1, bar, 1, 1);
24554 foo.compare("");
24555 foo.compare(1, 1, "");
24556 foo.compare(1, 1, "", 2);
24557 ;
24558 return 0;
24559 }
24560 _ACEOF
24561 rm -f conftest.$ac_objext
24562 if { (ac_try="$ac_compile"
24563 case "(($ac_try" in
24564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24565 *) ac_try_echo=$ac_try;;
24566 esac
24567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24568 (eval "$ac_compile") 2>conftest.er1
24569 ac_status=$?
24570 grep -v '^ *+' conftest.er1 >conftest.err
24571 rm -f conftest.er1
24572 cat conftest.err >&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); } && {
24575 test -z "$ac_cxx_werror_flag" ||
24576 test ! -s conftest.err
24577 } && test -s conftest.$ac_objext; then
24578 wx_cv_func_stdstring_compare=yes
24579 else
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24582
24583 wx_cv_func_stdstring_compare=no
24584
24585 fi
24586
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588
24589 fi
24590 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24591 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24592
24593 if test "$wx_cv_func_stdstring_compare" = yes; then
24594 cat >>confdefs.h <<\_ACEOF
24595 #define HAVE_STD_STRING_COMPARE 1
24596 _ACEOF
24597
24598 fi
24599
24600 { echo "$as_me:$LINENO: checking for hash_map" >&5
24601 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24602 if test "${ac_cv_header_hash_map+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 else
24605 cat >conftest.$ac_ext <<_ACEOF
24606 /* confdefs.h. */
24607 _ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611
24612
24613
24614 #include <hash_map>
24615 _ACEOF
24616 rm -f conftest.$ac_objext
24617 if { (ac_try="$ac_compile"
24618 case "(($ac_try" in
24619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24620 *) ac_try_echo=$ac_try;;
24621 esac
24622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24623 (eval "$ac_compile") 2>conftest.er1
24624 ac_status=$?
24625 grep -v '^ *+' conftest.er1 >conftest.err
24626 rm -f conftest.er1
24627 cat conftest.err >&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); } && {
24630 test -z "$ac_cxx_werror_flag" ||
24631 test ! -s conftest.err
24632 } && test -s conftest.$ac_objext; then
24633 ac_cv_header_hash_map=yes
24634 else
24635 echo "$as_me: failed program was:" >&5
24636 sed 's/^/| /' conftest.$ac_ext >&5
24637
24638 ac_cv_header_hash_map=no
24639 fi
24640
24641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24642 fi
24643 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24644 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24645 if test $ac_cv_header_hash_map = yes; then
24646 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24647 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24648 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24649 echo $ECHO_N "(cached) $ECHO_C" >&6
24650 else
24651 cat >conftest.$ac_ext <<_ACEOF
24652 /* confdefs.h. */
24653 _ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 #include <hash_map>
24658 #include <hash_set>
24659 int
24660 main ()
24661 {
24662 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24663 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24673 esac
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24676 ac_status=$?
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 wx_cv_class_stdhashmapset=yes
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24689
24690 wx_cv_class_stdhashmapset=no
24691 fi
24692
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694
24695
24696 fi
24697 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24698 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24699 fi
24700
24701
24702
24703 if test "$wx_cv_class_stdhashmapset" = yes; then
24704 cat >>confdefs.h <<\_ACEOF
24705 #define HAVE_HASH_MAP 1
24706 _ACEOF
24707
24708 cat >>confdefs.h <<\_ACEOF
24709 #define HAVE_STD_HASH_MAP 1
24710 _ACEOF
24711
24712 fi
24713
24714 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24715 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24716 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 else
24719 cat >conftest.$ac_ext <<_ACEOF
24720 /* confdefs.h. */
24721 _ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725
24726
24727
24728 #include <ext/hash_map>
24729 _ACEOF
24730 rm -f conftest.$ac_objext
24731 if { (ac_try="$ac_compile"
24732 case "(($ac_try" in
24733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24734 *) ac_try_echo=$ac_try;;
24735 esac
24736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24737 (eval "$ac_compile") 2>conftest.er1
24738 ac_status=$?
24739 grep -v '^ *+' conftest.er1 >conftest.err
24740 rm -f conftest.er1
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } && {
24744 test -z "$ac_cxx_werror_flag" ||
24745 test ! -s conftest.err
24746 } && test -s conftest.$ac_objext; then
24747 ac_cv_header_ext_hash_map=yes
24748 else
24749 echo "$as_me: failed program was:" >&5
24750 sed 's/^/| /' conftest.$ac_ext >&5
24751
24752 ac_cv_header_ext_hash_map=no
24753 fi
24754
24755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24756 fi
24757 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24758 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24759 if test $ac_cv_header_ext_hash_map = yes; then
24760 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24761 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24762 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765 cat >conftest.$ac_ext <<_ACEOF
24766 /* confdefs.h. */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 #include <ext/hash_map>
24772 #include <ext/hash_set>
24773 int
24774 main ()
24775 {
24776 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24777 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24778 ;
24779 return 0;
24780 }
24781 _ACEOF
24782 rm -f conftest.$ac_objext
24783 if { (ac_try="$ac_compile"
24784 case "(($ac_try" in
24785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 *) ac_try_echo=$ac_try;;
24787 esac
24788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 (eval "$ac_compile") 2>conftest.er1
24790 ac_status=$?
24791 grep -v '^ *+' conftest.er1 >conftest.err
24792 rm -f conftest.er1
24793 cat conftest.err >&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } && {
24796 test -z "$ac_cxx_werror_flag" ||
24797 test ! -s conftest.err
24798 } && test -s conftest.$ac_objext; then
24799 wx_cv_class_gnuhashmapset=yes
24800 else
24801 echo "$as_me: failed program was:" >&5
24802 sed 's/^/| /' conftest.$ac_ext >&5
24803
24804 wx_cv_class_gnuhashmapset=no
24805 fi
24806
24807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24808
24809
24810 fi
24811 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24812 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24813 fi
24814
24815
24816
24817 if test "$wx_cv_class_gnuhashmapset" = yes; then
24818 cat >>confdefs.h <<\_ACEOF
24819 #define HAVE_EXT_HASH_MAP 1
24820 _ACEOF
24821
24822 cat >>confdefs.h <<\_ACEOF
24823 #define HAVE_GNU_CXX_HASH_MAP 1
24824 _ACEOF
24825
24826 fi
24827 fi
24828
24829
24830
24831 if test -n "$GCC"; then
24832 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24833 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24834 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24836 else
24837
24838 cat >conftest.$ac_ext <<_ACEOF
24839 /* confdefs.h. */
24840 _ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844
24845 int
24846 main ()
24847 {
24848
24849 unsigned int value=0;
24850 /* wxAtomicInc doesn't use return value here */
24851 __sync_fetch_and_add(&value, 2);
24852 __sync_sub_and_fetch(&value, 1);
24853 /* but wxAtomicDec does, so mimic that: */
24854 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24855
24856 ;
24857 return 0;
24858 }
24859 _ACEOF
24860 rm -f conftest.$ac_objext conftest$ac_exeext
24861 if { (ac_try="$ac_link"
24862 case "(($ac_try" in
24863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24864 *) ac_try_echo=$ac_try;;
24865 esac
24866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24867 (eval "$ac_link") 2>conftest.er1
24868 ac_status=$?
24869 grep -v '^ *+' conftest.er1 >conftest.err
24870 rm -f conftest.er1
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } && {
24874 test -z "$ac_cxx_werror_flag" ||
24875 test ! -s conftest.err
24876 } && test -s conftest$ac_exeext &&
24877 $as_test_x conftest$ac_exeext; then
24878 wx_cv_cc_gcc_atomic_builtins=yes
24879 else
24880 echo "$as_me: failed program was:" >&5
24881 sed 's/^/| /' conftest.$ac_ext >&5
24882
24883 wx_cv_cc_gcc_atomic_builtins=no
24884 fi
24885
24886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24887 conftest$ac_exeext conftest.$ac_ext
24888
24889 fi
24890
24891 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24892 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24893 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24894 cat >>confdefs.h <<\_ACEOF
24895 #define HAVE_GCC_ATOMIC_BUILTINS 1
24896 _ACEOF
24897
24898 fi
24899 fi
24900
24901
24902 ac_ext=c
24903 ac_cpp='$CPP $CPPFLAGS'
24904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24907
24908
24909
24910 SEARCH_INCLUDE="\
24911 /usr/local/include \
24912 \
24913 /usr/Motif-2.1/include \
24914 /usr/Motif-1.2/include \
24915 /usr/include/Motif1.2 \
24916 \
24917 /usr/dt/include \
24918 /usr/openwin/include \
24919 \
24920 /usr/include/Xm \
24921 \
24922 /usr/X11R6/include \
24923 /usr/X11R6.4/include \
24924 /usr/X11R5/include \
24925 /usr/X11R4/include \
24926 \
24927 /usr/include/X11R6 \
24928 /usr/include/X11R5 \
24929 /usr/include/X11R4 \
24930 \
24931 /usr/local/X11R6/include \
24932 /usr/local/X11R5/include \
24933 /usr/local/X11R4/include \
24934 \
24935 /usr/local/include/X11R6 \
24936 /usr/local/include/X11R5 \
24937 /usr/local/include/X11R4 \
24938 \
24939 /usr/X11/include \
24940 /usr/include/X11 \
24941 /usr/local/X11/include \
24942 /usr/local/include/X11 \
24943 \
24944 /usr/XFree86/include/X11 \
24945 /usr/pkg/include \
24946 \
24947 /usr/openwin/share/include"
24948
24949 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24950 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24951
24952 case "${host}" in
24953 *-*-irix6* )
24954 if test "${wx_cv_std_libpath+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24956 else
24957
24958 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24959 for e in a so sl dylib dll.a; do
24960 libc="$d/libc.$e"
24961 if test -f $libc; then
24962 save_LIBS="$LIBS"
24963 LIBS="$libc"
24964 cat >conftest.$ac_ext <<_ACEOF
24965 int main() { return 0; }
24966 _ACEOF
24967 rm -f conftest.$ac_objext conftest$ac_exeext
24968 if { (ac_try="$ac_link"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24971 *) ac_try_echo=$ac_try;;
24972 esac
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_link") 2>conftest.er1
24975 ac_status=$?
24976 grep -v '^ *+' conftest.er1 >conftest.err
24977 rm -f conftest.er1
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_c_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest$ac_exeext &&
24984 $as_test_x conftest$ac_exeext; then
24985 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24986 else
24987 echo "$as_me: failed program was:" >&5
24988 sed 's/^/| /' conftest.$ac_ext >&5
24989
24990
24991 fi
24992
24993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24994 conftest$ac_exeext conftest.$ac_ext
24995 LIBS="$save_LIBS"
24996 if test "x$wx_cv_std_libpath" != "x"; then
24997 break 2
24998 fi
24999 fi
25000 done
25001 done
25002 if test "x$wx_cv_std_libpath" = "x"; then
25003 wx_cv_std_libpath="lib"
25004 fi
25005
25006
25007 fi
25008
25009 ;;
25010
25011 *-*-solaris2* )
25012 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25013 wx_cv_std_libpath="lib/64"
25014 else
25015 wx_cv_std_libpath="lib"
25016 fi
25017 ;;
25018
25019 *-*-linux* )
25020 if test "$ac_cv_sizeof_void_p" = 8 -a \
25021 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25022 wx_cv_std_libpath="lib64"
25023 else
25024 wx_cv_std_libpath="lib"
25025 fi
25026 ;;
25027
25028 *)
25029 wx_cv_std_libpath="lib";
25030 ;;
25031 esac
25032
25033 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25034 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25035
25036 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25037
25038 if test "$build" != "$host" -a "$GCC" = yes; then
25039 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25040 cross_root=`dirname $cross_root`
25041 cross_root=`dirname $cross_root`
25042
25043 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25044 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25045 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25046
25047 if test -z "$PKG_CONFIG_PATH"; then
25048 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25049 export PKG_CONFIG_PATH
25050 fi
25051
25052 if test -z "$x_includes" -o "$x_includes" = NONE; then
25053
25054 ac_find_includes=
25055 for ac_dir in $SEARCH_INCLUDE /usr/include;
25056 do
25057 if test -f "$ac_dir/X11/Intrinsic.h"; then
25058 ac_find_includes=$ac_dir
25059 break
25060 fi
25061 done
25062
25063 x_includes=$ac_find_includes
25064 fi
25065 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25066
25067 ac_find_libraries=
25068 for ac_dir in $SEARCH_LIB;
25069 do
25070 for ac_extension in a so sl dylib dll.a; do
25071 if test -f "$ac_dir/libXt.$ac_extension"; then
25072 ac_find_libraries=$ac_dir
25073 break 2
25074 fi
25075 done
25076 done
25077
25078 x_libraries=$ac_find_libraries
25079 fi
25080 fi
25081 fi
25082
25083
25084 cat >confcache <<\_ACEOF
25085 # This file is a shell script that caches the results of configure
25086 # tests run on this system so they can be shared between configure
25087 # scripts and configure runs, see configure's option --config-cache.
25088 # It is not useful on other systems. If it contains results you don't
25089 # want to keep, you may remove or edit it.
25090 #
25091 # config.status only pays attention to the cache file if you give it
25092 # the --recheck option to rerun configure.
25093 #
25094 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25095 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25096 # following values.
25097
25098 _ACEOF
25099
25100 # The following way of writing the cache mishandles newlines in values,
25101 # but we know of no workaround that is simple, portable, and efficient.
25102 # So, we kill variables containing newlines.
25103 # Ultrix sh set writes to stderr and can't be redirected directly,
25104 # and sets the high bit in the cache file unless we assign to the vars.
25105 (
25106 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25107 eval ac_val=\$$ac_var
25108 case $ac_val in #(
25109 *${as_nl}*)
25110 case $ac_var in #(
25111 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25112 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25113 esac
25114 case $ac_var in #(
25115 _ | IFS | as_nl) ;; #(
25116 *) $as_unset $ac_var ;;
25117 esac ;;
25118 esac
25119 done
25120
25121 (set) 2>&1 |
25122 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25123 *${as_nl}ac_space=\ *)
25124 # `set' does not quote correctly, so add quotes (double-quote
25125 # substitution turns \\\\ into \\, and sed turns \\ into \).
25126 sed -n \
25127 "s/'/'\\\\''/g;
25128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25129 ;; #(
25130 *)
25131 # `set' quotes correctly as required by POSIX, so do not add quotes.
25132 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25133 ;;
25134 esac |
25135 sort
25136 ) |
25137 sed '
25138 /^ac_cv_env_/b end
25139 t clear
25140 :clear
25141 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25142 t end
25143 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25144 :end' >>confcache
25145 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25146 if test -w "$cache_file"; then
25147 test "x$cache_file" != "x/dev/null" &&
25148 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25149 echo "$as_me: updating cache $cache_file" >&6;}
25150 cat confcache >$cache_file
25151 else
25152 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25153 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25154 fi
25155 fi
25156 rm -f confcache
25157
25158 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25159 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25160 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25161 if test "${wx_cv_lib_glibc21+set}" = set; then
25162 echo $ECHO_N "(cached) $ECHO_C" >&6
25163 else
25164
25165 cat >conftest.$ac_ext <<_ACEOF
25166 /* confdefs.h. */
25167 _ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25171 #include <features.h>
25172 int
25173 main ()
25174 {
25175
25176 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25177 not glibc 2.1
25178 #endif
25179
25180 ;
25181 return 0;
25182 }
25183 _ACEOF
25184 rm -f conftest.$ac_objext
25185 if { (ac_try="$ac_compile"
25186 case "(($ac_try" in
25187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25188 *) ac_try_echo=$ac_try;;
25189 esac
25190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25191 (eval "$ac_compile") 2>conftest.er1
25192 ac_status=$?
25193 grep -v '^ *+' conftest.er1 >conftest.err
25194 rm -f conftest.er1
25195 cat conftest.err >&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } && {
25198 test -z "$ac_c_werror_flag" ||
25199 test ! -s conftest.err
25200 } && test -s conftest.$ac_objext; then
25201
25202 wx_cv_lib_glibc21=yes
25203
25204 else
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.$ac_ext >&5
25207
25208
25209 wx_cv_lib_glibc21=no
25210
25211
25212 fi
25213
25214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25215
25216 fi
25217 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25218 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25219 if test "$wx_cv_lib_glibc21" = "yes"; then
25220 cat >>confdefs.h <<\_ACEOF
25221 #define wxHAVE_GLIBC2 1
25222 _ACEOF
25223
25224 fi
25225 fi
25226
25227 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25228 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25229 cat >>confdefs.h <<\_ACEOF
25230 #define _GNU_SOURCE 1
25231 _ACEOF
25232
25233 fi
25234 fi
25235
25236 have_cos=0
25237 have_floor=0
25238
25239 for ac_func in cos
25240 do
25241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25242 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25244 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 else
25247 cat >conftest.$ac_ext <<_ACEOF
25248 /* confdefs.h. */
25249 _ACEOF
25250 cat confdefs.h >>conftest.$ac_ext
25251 cat >>conftest.$ac_ext <<_ACEOF
25252 /* end confdefs.h. */
25253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25255 #define $ac_func innocuous_$ac_func
25256
25257 /* System header to define __stub macros and hopefully few prototypes,
25258 which can conflict with char $ac_func (); below.
25259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25260 <limits.h> exists even on freestanding compilers. */
25261
25262 #ifdef __STDC__
25263 # include <limits.h>
25264 #else
25265 # include <assert.h>
25266 #endif
25267
25268 #undef $ac_func
25269
25270 /* Override any GCC internal prototype to avoid an error.
25271 Use char because int might match the return type of a GCC
25272 builtin and then its argument prototype would still apply. */
25273 #ifdef __cplusplus
25274 extern "C"
25275 #endif
25276 char $ac_func ();
25277 /* The GNU C library defines this for functions which it implements
25278 to always fail with ENOSYS. Some functions are actually named
25279 something starting with __ and the normal name is an alias. */
25280 #if defined __stub_$ac_func || defined __stub___$ac_func
25281 choke me
25282 #endif
25283
25284 int
25285 main ()
25286 {
25287 return $ac_func ();
25288 ;
25289 return 0;
25290 }
25291 _ACEOF
25292 rm -f conftest.$ac_objext conftest$ac_exeext
25293 if { (ac_try="$ac_link"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25297 esac
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_link") 2>conftest.er1
25300 ac_status=$?
25301 grep -v '^ *+' conftest.er1 >conftest.err
25302 rm -f conftest.er1
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_c_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest$ac_exeext &&
25309 $as_test_x conftest$ac_exeext; then
25310 eval "$as_ac_var=yes"
25311 else
25312 echo "$as_me: failed program was:" >&5
25313 sed 's/^/| /' conftest.$ac_ext >&5
25314
25315 eval "$as_ac_var=no"
25316 fi
25317
25318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25319 conftest$ac_exeext conftest.$ac_ext
25320 fi
25321 ac_res=`eval echo '${'$as_ac_var'}'`
25322 { echo "$as_me:$LINENO: result: $ac_res" >&5
25323 echo "${ECHO_T}$ac_res" >&6; }
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325 cat >>confdefs.h <<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25327 _ACEOF
25328 have_cos=1
25329 fi
25330 done
25331
25332
25333 for ac_func in floor
25334 do
25335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 else
25341 cat >conftest.$ac_ext <<_ACEOF
25342 /* confdefs.h. */
25343 _ACEOF
25344 cat confdefs.h >>conftest.$ac_ext
25345 cat >>conftest.$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25349 #define $ac_func innocuous_$ac_func
25350
25351 /* System header to define __stub macros and hopefully few prototypes,
25352 which can conflict with char $ac_func (); below.
25353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25354 <limits.h> exists even on freestanding compilers. */
25355
25356 #ifdef __STDC__
25357 # include <limits.h>
25358 #else
25359 # include <assert.h>
25360 #endif
25361
25362 #undef $ac_func
25363
25364 /* Override any GCC internal prototype to avoid an error.
25365 Use char because int might match the return type of a GCC
25366 builtin and then its argument prototype would still apply. */
25367 #ifdef __cplusplus
25368 extern "C"
25369 #endif
25370 char $ac_func ();
25371 /* The GNU C library defines this for functions which it implements
25372 to always fail with ENOSYS. Some functions are actually named
25373 something starting with __ and the normal name is an alias. */
25374 #if defined __stub_$ac_func || defined __stub___$ac_func
25375 choke me
25376 #endif
25377
25378 int
25379 main ()
25380 {
25381 return $ac_func ();
25382 ;
25383 return 0;
25384 }
25385 _ACEOF
25386 rm -f conftest.$ac_objext conftest$ac_exeext
25387 if { (ac_try="$ac_link"
25388 case "(($ac_try" in
25389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25390 *) ac_try_echo=$ac_try;;
25391 esac
25392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25393 (eval "$ac_link") 2>conftest.er1
25394 ac_status=$?
25395 grep -v '^ *+' conftest.er1 >conftest.err
25396 rm -f conftest.er1
25397 cat conftest.err >&5
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); } && {
25400 test -z "$ac_c_werror_flag" ||
25401 test ! -s conftest.err
25402 } && test -s conftest$ac_exeext &&
25403 $as_test_x conftest$ac_exeext; then
25404 eval "$as_ac_var=yes"
25405 else
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25408
25409 eval "$as_ac_var=no"
25410 fi
25411
25412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25413 conftest$ac_exeext conftest.$ac_ext
25414 fi
25415 ac_res=`eval echo '${'$as_ac_var'}'`
25416 { echo "$as_me:$LINENO: result: $ac_res" >&5
25417 echo "${ECHO_T}$ac_res" >&6; }
25418 if test `eval echo '${'$as_ac_var'}'` = yes; then
25419 cat >>confdefs.h <<_ACEOF
25420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25421 _ACEOF
25422 have_floor=1
25423 fi
25424 done
25425
25426 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25427 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25428 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25429 { echo "$as_me:$LINENO: result: yes" >&5
25430 echo "${ECHO_T}yes" >&6; }
25431 else
25432 { echo "$as_me:$LINENO: result: no" >&5
25433 echo "${ECHO_T}no" >&6; }
25434 LIBS="$LIBS -lm"
25435 # use different functions to avoid configure caching
25436 have_sin=0
25437 have_ceil=0
25438
25439 for ac_func in sin
25440 do
25441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25442 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25444 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 cat >conftest.$ac_ext <<_ACEOF
25448 /* confdefs.h. */
25449 _ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25455 #define $ac_func innocuous_$ac_func
25456
25457 /* System header to define __stub macros and hopefully few prototypes,
25458 which can conflict with char $ac_func (); below.
25459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25460 <limits.h> exists even on freestanding compilers. */
25461
25462 #ifdef __STDC__
25463 # include <limits.h>
25464 #else
25465 # include <assert.h>
25466 #endif
25467
25468 #undef $ac_func
25469
25470 /* Override any GCC internal prototype to avoid an error.
25471 Use char because int might match the return type of a GCC
25472 builtin and then its argument prototype would still apply. */
25473 #ifdef __cplusplus
25474 extern "C"
25475 #endif
25476 char $ac_func ();
25477 /* The GNU C library defines this for functions which it implements
25478 to always fail with ENOSYS. Some functions are actually named
25479 something starting with __ and the normal name is an alias. */
25480 #if defined __stub_$ac_func || defined __stub___$ac_func
25481 choke me
25482 #endif
25483
25484 int
25485 main ()
25486 {
25487 return $ac_func ();
25488 ;
25489 return 0;
25490 }
25491 _ACEOF
25492 rm -f conftest.$ac_objext conftest$ac_exeext
25493 if { (ac_try="$ac_link"
25494 case "(($ac_try" in
25495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25496 *) ac_try_echo=$ac_try;;
25497 esac
25498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25499 (eval "$ac_link") 2>conftest.er1
25500 ac_status=$?
25501 grep -v '^ *+' conftest.er1 >conftest.err
25502 rm -f conftest.er1
25503 cat conftest.err >&5
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); } && {
25506 test -z "$ac_c_werror_flag" ||
25507 test ! -s conftest.err
25508 } && test -s conftest$ac_exeext &&
25509 $as_test_x conftest$ac_exeext; then
25510 eval "$as_ac_var=yes"
25511 else
25512 echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.$ac_ext >&5
25514
25515 eval "$as_ac_var=no"
25516 fi
25517
25518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25519 conftest$ac_exeext conftest.$ac_ext
25520 fi
25521 ac_res=`eval echo '${'$as_ac_var'}'`
25522 { echo "$as_me:$LINENO: result: $ac_res" >&5
25523 echo "${ECHO_T}$ac_res" >&6; }
25524 if test `eval echo '${'$as_ac_var'}'` = yes; then
25525 cat >>confdefs.h <<_ACEOF
25526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25527 _ACEOF
25528 have_sin=1
25529 fi
25530 done
25531
25532
25533 for ac_func in ceil
25534 do
25535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25540 else
25541 cat >conftest.$ac_ext <<_ACEOF
25542 /* confdefs.h. */
25543 _ACEOF
25544 cat confdefs.h >>conftest.$ac_ext
25545 cat >>conftest.$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25549 #define $ac_func innocuous_$ac_func
25550
25551 /* System header to define __stub macros and hopefully few prototypes,
25552 which can conflict with char $ac_func (); below.
25553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25554 <limits.h> exists even on freestanding compilers. */
25555
25556 #ifdef __STDC__
25557 # include <limits.h>
25558 #else
25559 # include <assert.h>
25560 #endif
25561
25562 #undef $ac_func
25563
25564 /* Override any GCC internal prototype to avoid an error.
25565 Use char because int might match the return type of a GCC
25566 builtin and then its argument prototype would still apply. */
25567 #ifdef __cplusplus
25568 extern "C"
25569 #endif
25570 char $ac_func ();
25571 /* The GNU C library defines this for functions which it implements
25572 to always fail with ENOSYS. Some functions are actually named
25573 something starting with __ and the normal name is an alias. */
25574 #if defined __stub_$ac_func || defined __stub___$ac_func
25575 choke me
25576 #endif
25577
25578 int
25579 main ()
25580 {
25581 return $ac_func ();
25582 ;
25583 return 0;
25584 }
25585 _ACEOF
25586 rm -f conftest.$ac_objext conftest$ac_exeext
25587 if { (ac_try="$ac_link"
25588 case "(($ac_try" in
25589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25590 *) ac_try_echo=$ac_try;;
25591 esac
25592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25593 (eval "$ac_link") 2>conftest.er1
25594 ac_status=$?
25595 grep -v '^ *+' conftest.er1 >conftest.err
25596 rm -f conftest.er1
25597 cat conftest.err >&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } && {
25600 test -z "$ac_c_werror_flag" ||
25601 test ! -s conftest.err
25602 } && test -s conftest$ac_exeext &&
25603 $as_test_x conftest$ac_exeext; then
25604 eval "$as_ac_var=yes"
25605 else
25606 echo "$as_me: failed program was:" >&5
25607 sed 's/^/| /' conftest.$ac_ext >&5
25608
25609 eval "$as_ac_var=no"
25610 fi
25611
25612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25613 conftest$ac_exeext conftest.$ac_ext
25614 fi
25615 ac_res=`eval echo '${'$as_ac_var'}'`
25616 { echo "$as_me:$LINENO: result: $ac_res" >&5
25617 echo "${ECHO_T}$ac_res" >&6; }
25618 if test `eval echo '${'$as_ac_var'}'` = yes; then
25619 cat >>confdefs.h <<_ACEOF
25620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25621 _ACEOF
25622 have_ceil=1
25623 fi
25624 done
25625
25626 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25627 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25628 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25629 { echo "$as_me:$LINENO: result: yes" >&5
25630 echo "${ECHO_T}yes" >&6; }
25631 else
25632 { echo "$as_me:$LINENO: result: no" >&5
25633 echo "${ECHO_T}no" >&6; }
25634 # not sure we should warn the user, crash, etc.
25635 fi
25636 fi
25637
25638 ac_ext=cpp
25639 ac_cpp='$CXXCPP $CPPFLAGS'
25640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25643
25644 if test "wxUSE_UNICODE" = "yes"; then
25645
25646 for wx_func in wcstoull
25647 do
25648 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25649 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25650 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25651 echo $ECHO_N "(cached) $ECHO_C" >&6
25652 else
25653
25654 cat >conftest.$ac_ext <<_ACEOF
25655
25656 /* confdefs.h. */
25657 _ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25661
25662
25663 $ac_includes_default
25664
25665 int
25666 main ()
25667 {
25668
25669 #ifndef $wx_func
25670 &$wx_func;
25671 #endif
25672
25673
25674 ;
25675 return 0;
25676 }
25677
25678 _ACEOF
25679 rm -f conftest.$ac_objext conftest$ac_exeext
25680 if { (ac_try="$ac_link"
25681 case "(($ac_try" in
25682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25683 *) ac_try_echo=$ac_try;;
25684 esac
25685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25686 (eval "$ac_link") 2>conftest.er1
25687 ac_status=$?
25688 grep -v '^ *+' conftest.er1 >conftest.err
25689 rm -f conftest.er1
25690 cat conftest.err >&5
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); } && {
25693 test -z "$ac_cxx_werror_flag" ||
25694 test ! -s conftest.err
25695 } && test -s conftest$ac_exeext &&
25696 $as_test_x conftest$ac_exeext; then
25697 eval wx_cv_func_$wx_func=yes
25698 else
25699 echo "$as_me: failed program was:" >&5
25700 sed 's/^/| /' conftest.$ac_ext >&5
25701
25702 eval wx_cv_func_$wx_func=no
25703 fi
25704
25705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25706 conftest$ac_exeext conftest.$ac_ext
25707
25708 fi
25709 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25710 { echo "$as_me:$LINENO: result: $ac_res" >&5
25711 echo "${ECHO_T}$ac_res" >&6; }
25712
25713 if eval test \$wx_cv_func_$wx_func = yes
25714 then
25715 cat >>confdefs.h <<_ACEOF
25716 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25717 _ACEOF
25718
25719
25720 else
25721 :
25722
25723 fi
25724 done
25725
25726 else
25727
25728 for wx_func in strtoull
25729 do
25730 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25731 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25732 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735
25736 cat >conftest.$ac_ext <<_ACEOF
25737
25738 /* confdefs.h. */
25739 _ACEOF
25740 cat confdefs.h >>conftest.$ac_ext
25741 cat >>conftest.$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25743
25744
25745 $ac_includes_default
25746
25747 int
25748 main ()
25749 {
25750
25751 #ifndef $wx_func
25752 &$wx_func;
25753 #endif
25754
25755
25756 ;
25757 return 0;
25758 }
25759
25760 _ACEOF
25761 rm -f conftest.$ac_objext conftest$ac_exeext
25762 if { (ac_try="$ac_link"
25763 case "(($ac_try" in
25764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25765 *) ac_try_echo=$ac_try;;
25766 esac
25767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25768 (eval "$ac_link") 2>conftest.er1
25769 ac_status=$?
25770 grep -v '^ *+' conftest.er1 >conftest.err
25771 rm -f conftest.er1
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } && {
25775 test -z "$ac_cxx_werror_flag" ||
25776 test ! -s conftest.err
25777 } && test -s conftest$ac_exeext &&
25778 $as_test_x conftest$ac_exeext; then
25779 eval wx_cv_func_$wx_func=yes
25780 else
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.$ac_ext >&5
25783
25784 eval wx_cv_func_$wx_func=no
25785 fi
25786
25787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25788 conftest$ac_exeext conftest.$ac_ext
25789
25790 fi
25791 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25792 { echo "$as_me:$LINENO: result: $ac_res" >&5
25793 echo "${ECHO_T}$ac_res" >&6; }
25794
25795 if eval test \$wx_cv_func_$wx_func = yes
25796 then
25797 cat >>confdefs.h <<_ACEOF
25798 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25799 _ACEOF
25800
25801
25802 else
25803 :
25804
25805 fi
25806 done
25807
25808 fi
25809 ac_ext=c
25810 ac_cpp='$CPP $CPPFLAGS'
25811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25814
25815
25816
25817
25818 if test "$wxUSE_REGEX" != "no"; then
25819 cat >>confdefs.h <<\_ACEOF
25820 #define wxUSE_REGEX 1
25821 _ACEOF
25822
25823
25824 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25825 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25826 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25827 wxUSE_REGEX=builtin
25828 fi
25829
25830 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25831 { echo "$as_me:$LINENO: checking for regex.h" >&5
25832 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25833 if test "${ac_cv_header_regex_h+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25835 else
25836 cat >conftest.$ac_ext <<_ACEOF
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 #include <regex.h>
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (ac_try="$ac_compile"
25848 case "(($ac_try" in
25849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25850 *) ac_try_echo=$ac_try;;
25851 esac
25852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853 (eval "$ac_compile") 2>conftest.er1
25854 ac_status=$?
25855 grep -v '^ *+' conftest.er1 >conftest.err
25856 rm -f conftest.er1
25857 cat conftest.err >&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } && {
25860 test -z "$ac_c_werror_flag" ||
25861 test ! -s conftest.err
25862 } && test -s conftest.$ac_objext; then
25863 ac_cv_header_regex_h=yes
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 ac_cv_header_regex_h=no
25869 fi
25870
25871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25872 fi
25873 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25874 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25875 if test $ac_cv_header_regex_h = yes; then
25876
25877
25878 for ac_func in regcomp re_search
25879 do
25880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25884 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 else
25886 cat >conftest.$ac_ext <<_ACEOF
25887 /* confdefs.h. */
25888 _ACEOF
25889 cat confdefs.h >>conftest.$ac_ext
25890 cat >>conftest.$ac_ext <<_ACEOF
25891 /* end confdefs.h. */
25892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25894 #define $ac_func innocuous_$ac_func
25895
25896 /* System header to define __stub macros and hopefully few prototypes,
25897 which can conflict with char $ac_func (); below.
25898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25899 <limits.h> exists even on freestanding compilers. */
25900
25901 #ifdef __STDC__
25902 # include <limits.h>
25903 #else
25904 # include <assert.h>
25905 #endif
25906
25907 #undef $ac_func
25908
25909 /* Override any GCC internal prototype to avoid an error.
25910 Use char because int might match the return type of a GCC
25911 builtin and then its argument prototype would still apply. */
25912 #ifdef __cplusplus
25913 extern "C"
25914 #endif
25915 char $ac_func ();
25916 /* The GNU C library defines this for functions which it implements
25917 to always fail with ENOSYS. Some functions are actually named
25918 something starting with __ and the normal name is an alias. */
25919 #if defined __stub_$ac_func || defined __stub___$ac_func
25920 choke me
25921 #endif
25922
25923 int
25924 main ()
25925 {
25926 return $ac_func ();
25927 ;
25928 return 0;
25929 }
25930 _ACEOF
25931 rm -f conftest.$ac_objext conftest$ac_exeext
25932 if { (ac_try="$ac_link"
25933 case "(($ac_try" in
25934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25935 *) ac_try_echo=$ac_try;;
25936 esac
25937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25938 (eval "$ac_link") 2>conftest.er1
25939 ac_status=$?
25940 grep -v '^ *+' conftest.er1 >conftest.err
25941 rm -f conftest.er1
25942 cat conftest.err >&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && {
25945 test -z "$ac_c_werror_flag" ||
25946 test ! -s conftest.err
25947 } && test -s conftest$ac_exeext &&
25948 $as_test_x conftest$ac_exeext; then
25949 eval "$as_ac_var=yes"
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 eval "$as_ac_var=no"
25955 fi
25956
25957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25958 conftest$ac_exeext conftest.$ac_ext
25959 fi
25960 ac_res=`eval echo '${'$as_ac_var'}'`
25961 { echo "$as_me:$LINENO: result: $ac_res" >&5
25962 echo "${ECHO_T}$ac_res" >&6; }
25963 if test `eval echo '${'$as_ac_var'}'` = yes; then
25964 cat >>confdefs.h <<_ACEOF
25965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25966 _ACEOF
25967
25968 fi
25969 done
25970
25971 fi
25972
25973
25974
25975 if test "x$ac_cv_func_regcomp" != "xyes"; then
25976 if test "$wxUSE_REGEX" = "sys" ; then
25977 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25978 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25979 { (exit 1); exit 1; }; }
25980 else
25981 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25982 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25983 wxUSE_REGEX=builtin
25984 fi
25985 else
25986 wxUSE_REGEX=sys
25987 cat >>confdefs.h <<\_ACEOF
25988 #define WX_NO_REGEX_ADVANCED 1
25989 _ACEOF
25990
25991 fi
25992 fi
25993 fi
25994
25995
25996 ZLIB_LINK=
25997 if test "$wxUSE_ZLIB" != "no" ; then
25998 cat >>confdefs.h <<\_ACEOF
25999 #define wxUSE_ZLIB 1
26000 _ACEOF
26001
26002
26003 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26004 if test "$USE_DARWIN" = 1; then
26005 system_zlib_h_ok="yes"
26006 else
26007 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26008 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26009 if test "${ac_cv_header_zlib_h+set}" = set; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 else
26012 if test "$cross_compiling" = yes; then
26013 unset ac_cv_header_zlib_h
26014
26015 else
26016 cat >conftest.$ac_ext <<_ACEOF
26017 /* confdefs.h. */
26018 _ACEOF
26019 cat confdefs.h >>conftest.$ac_ext
26020 cat >>conftest.$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26022
26023 #include <zlib.h>
26024 #include <stdio.h>
26025
26026 int main()
26027 {
26028 FILE *f=fopen("conftestval", "w");
26029 if (!f) exit(1);
26030 fprintf(f, "%s",
26031 ZLIB_VERSION[0] == '1' &&
26032 (ZLIB_VERSION[2] > '1' ||
26033 (ZLIB_VERSION[2] == '1' &&
26034 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26035 exit(0);
26036 }
26037
26038 _ACEOF
26039 rm -f conftest$ac_exeext
26040 if { (ac_try="$ac_link"
26041 case "(($ac_try" in
26042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26043 *) ac_try_echo=$ac_try;;
26044 esac
26045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26046 (eval "$ac_link") 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26050 { (case "(($ac_try" in
26051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26053 esac
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_try") 2>&5
26056 ac_status=$?
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26059 ac_cv_header_zlib_h=`cat conftestval`
26060 else
26061 echo "$as_me: program exited with status $ac_status" >&5
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 ( exit $ac_status )
26066 ac_cv_header_zlib_h=no
26067 fi
26068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26069 fi
26070
26071
26072
26073 fi
26074 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26075 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26076 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26077 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26078 if test "${ac_cv_header_zlib_h+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081 cat >conftest.$ac_ext <<_ACEOF
26082 /* confdefs.h. */
26083 _ACEOF
26084 cat confdefs.h >>conftest.$ac_ext
26085 cat >>conftest.$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26087
26088
26089 #include <zlib.h>
26090 _ACEOF
26091 rm -f conftest.$ac_objext
26092 if { (ac_try="$ac_compile"
26093 case "(($ac_try" in
26094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26095 *) ac_try_echo=$ac_try;;
26096 esac
26097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26098 (eval "$ac_compile") 2>conftest.er1
26099 ac_status=$?
26100 grep -v '^ *+' conftest.er1 >conftest.err
26101 rm -f conftest.er1
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } && {
26105 test -z "$ac_c_werror_flag" ||
26106 test ! -s conftest.err
26107 } && test -s conftest.$ac_objext; then
26108 ac_cv_header_zlib_h=yes
26109 else
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.$ac_ext >&5
26112
26113 ac_cv_header_zlib_h=no
26114 fi
26115
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26117 fi
26118 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26119 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26120
26121
26122
26123 system_zlib_h_ok=$ac_cv_header_zlib_h
26124 fi
26125
26126 if test "$system_zlib_h_ok" = "yes"; then
26127 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26128 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26129 if test "${ac_cv_lib_z_deflate+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 ac_check_lib_save_LIBS=$LIBS
26133 LIBS="-lz $LIBS"
26134 cat >conftest.$ac_ext <<_ACEOF
26135 /* confdefs.h. */
26136 _ACEOF
26137 cat confdefs.h >>conftest.$ac_ext
26138 cat >>conftest.$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26140
26141 /* Override any GCC internal prototype to avoid an error.
26142 Use char because int might match the return type of a GCC
26143 builtin and then its argument prototype would still apply. */
26144 #ifdef __cplusplus
26145 extern "C"
26146 #endif
26147 char deflate ();
26148 int
26149 main ()
26150 {
26151 return deflate ();
26152 ;
26153 return 0;
26154 }
26155 _ACEOF
26156 rm -f conftest.$ac_objext conftest$ac_exeext
26157 if { (ac_try="$ac_link"
26158 case "(($ac_try" in
26159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26160 *) ac_try_echo=$ac_try;;
26161 esac
26162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26163 (eval "$ac_link") 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && {
26170 test -z "$ac_c_werror_flag" ||
26171 test ! -s conftest.err
26172 } && test -s conftest$ac_exeext &&
26173 $as_test_x conftest$ac_exeext; then
26174 ac_cv_lib_z_deflate=yes
26175 else
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26178
26179 ac_cv_lib_z_deflate=no
26180 fi
26181
26182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26183 conftest$ac_exeext conftest.$ac_ext
26184 LIBS=$ac_check_lib_save_LIBS
26185 fi
26186 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26187 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26188 if test $ac_cv_lib_z_deflate = yes; then
26189 ZLIB_LINK=" -lz"
26190 fi
26191
26192 fi
26193
26194 if test "x$ZLIB_LINK" = "x" ; then
26195 if test "$wxUSE_ZLIB" = "sys" ; then
26196 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26197 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26198 { (exit 1); exit 1; }; }
26199 else
26200 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26201 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26202 wxUSE_ZLIB=builtin
26203 fi
26204 else
26205 wxUSE_ZLIB=sys
26206 fi
26207 fi
26208 fi
26209
26210
26211 PNG_LINK=
26212 if test "$wxUSE_LIBPNG" != "no" ; then
26213 cat >>confdefs.h <<\_ACEOF
26214 #define wxUSE_LIBPNG 1
26215 _ACEOF
26216
26217
26218 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26219 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26220 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26221 wxUSE_LIBPNG=sys
26222 fi
26223
26224 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26225 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26226 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26227 wxUSE_LIBPNG=builtin
26228 fi
26229
26230 if test "$wxUSE_MGL" != 1 ; then
26231 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26232 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26233 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26234 if test "${ac_cv_header_png_h+set}" = set; then
26235 echo $ECHO_N "(cached) $ECHO_C" >&6
26236 else
26237 if test "$cross_compiling" = yes; then
26238 unset ac_cv_header_png_h
26239
26240 else
26241 cat >conftest.$ac_ext <<_ACEOF
26242 /* confdefs.h. */
26243 _ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26247
26248 #include <png.h>
26249 #include <stdio.h>
26250
26251 int main()
26252 {
26253 FILE *f=fopen("conftestval", "w");
26254 if (!f) exit(1);
26255 fprintf(f, "%s",
26256 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26257 exit(0);
26258 }
26259
26260 _ACEOF
26261 rm -f conftest$ac_exeext
26262 if { (ac_try="$ac_link"
26263 case "(($ac_try" in
26264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26265 *) ac_try_echo=$ac_try;;
26266 esac
26267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26268 (eval "$ac_link") 2>&5
26269 ac_status=$?
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26272 { (case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26275 esac
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_try") 2>&5
26278 ac_status=$?
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_header_png_h=`cat conftestval`
26282 else
26283 echo "$as_me: program exited with status $ac_status" >&5
26284 echo "$as_me: failed program was:" >&5
26285 sed 's/^/| /' conftest.$ac_ext >&5
26286
26287 ( exit $ac_status )
26288 ac_cv_header_png_h=no
26289 fi
26290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26291 fi
26292
26293
26294
26295 fi
26296 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26297 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26298 { echo "$as_me:$LINENO: checking for png.h" >&5
26299 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26300 if test "${ac_cv_header_png_h+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 else
26303 cat >conftest.$ac_ext <<_ACEOF
26304 /* confdefs.h. */
26305 _ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309
26310
26311 #include <png.h>
26312 _ACEOF
26313 rm -f conftest.$ac_objext
26314 if { (ac_try="$ac_compile"
26315 case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26318 esac
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_compile") 2>conftest.er1
26321 ac_status=$?
26322 grep -v '^ *+' conftest.er1 >conftest.err
26323 rm -f conftest.er1
26324 cat conftest.err >&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } && {
26327 test -z "$ac_c_werror_flag" ||
26328 test ! -s conftest.err
26329 } && test -s conftest.$ac_objext; then
26330 ac_cv_header_png_h=yes
26331 else
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.$ac_ext >&5
26334
26335 ac_cv_header_png_h=no
26336 fi
26337
26338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26339 fi
26340 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26341 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26342
26343
26344
26345 if test "$ac_cv_header_png_h" = "yes"; then
26346 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26347 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26348 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351 ac_check_lib_save_LIBS=$LIBS
26352 LIBS="-lpng -lz -lm $LIBS"
26353 cat >conftest.$ac_ext <<_ACEOF
26354 /* confdefs.h. */
26355 _ACEOF
26356 cat confdefs.h >>conftest.$ac_ext
26357 cat >>conftest.$ac_ext <<_ACEOF
26358 /* end confdefs.h. */
26359
26360 /* Override any GCC internal prototype to avoid an error.
26361 Use char because int might match the return type of a GCC
26362 builtin and then its argument prototype would still apply. */
26363 #ifdef __cplusplus
26364 extern "C"
26365 #endif
26366 char png_check_sig ();
26367 int
26368 main ()
26369 {
26370 return png_check_sig ();
26371 ;
26372 return 0;
26373 }
26374 _ACEOF
26375 rm -f conftest.$ac_objext conftest$ac_exeext
26376 if { (ac_try="$ac_link"
26377 case "(($ac_try" in
26378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26380 esac
26381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26382 (eval "$ac_link") 2>conftest.er1
26383 ac_status=$?
26384 grep -v '^ *+' conftest.er1 >conftest.err
26385 rm -f conftest.er1
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && {
26389 test -z "$ac_c_werror_flag" ||
26390 test ! -s conftest.err
26391 } && test -s conftest$ac_exeext &&
26392 $as_test_x conftest$ac_exeext; then
26393 ac_cv_lib_png_png_check_sig=yes
26394 else
26395 echo "$as_me: failed program was:" >&5
26396 sed 's/^/| /' conftest.$ac_ext >&5
26397
26398 ac_cv_lib_png_png_check_sig=no
26399 fi
26400
26401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26402 conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26404 fi
26405 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26406 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26407 if test $ac_cv_lib_png_png_check_sig = yes; then
26408 PNG_LINK=" -lpng -lz"
26409 fi
26410
26411 fi
26412
26413 if test "x$PNG_LINK" = "x" ; then
26414 if test "$wxUSE_LIBPNG" = "sys" ; then
26415 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26416 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26417 { (exit 1); exit 1; }; }
26418 else
26419 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26420 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26421 wxUSE_LIBPNG=builtin
26422 fi
26423 else
26424 wxUSE_LIBPNG=sys
26425 fi
26426 fi
26427 fi
26428 fi
26429
26430
26431 JPEG_LINK=
26432 if test "$wxUSE_LIBJPEG" != "no" ; then
26433 cat >>confdefs.h <<\_ACEOF
26434 #define wxUSE_LIBJPEG 1
26435 _ACEOF
26436
26437
26438 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26439 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26440 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26441 wxUSE_LIBJPEG=sys
26442 fi
26443
26444 if test "$wxUSE_MGL" != 1 ; then
26445 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26446 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26447 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26448 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26449 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 else
26451 cat >conftest.$ac_ext <<_ACEOF
26452 /* confdefs.h. */
26453 _ACEOF
26454 cat confdefs.h >>conftest.$ac_ext
26455 cat >>conftest.$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26457
26458 #undef HAVE_STDLIB_H
26459 #include <stdio.h>
26460 #include <jpeglib.h>
26461
26462 int
26463 main ()
26464 {
26465
26466
26467 ;
26468 return 0;
26469 }
26470 _ACEOF
26471 rm -f conftest.$ac_objext
26472 if { (ac_try="$ac_compile"
26473 case "(($ac_try" in
26474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26475 *) ac_try_echo=$ac_try;;
26476 esac
26477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26478 (eval "$ac_compile") 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } && {
26485 test -z "$ac_c_werror_flag" ||
26486 test ! -s conftest.err
26487 } && test -s conftest.$ac_objext; then
26488 ac_cv_header_jpeglib_h=yes
26489 else
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.$ac_ext >&5
26492
26493 ac_cv_header_jpeglib_h=no
26494
26495 fi
26496
26497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26498
26499 fi
26500
26501 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26502 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26503
26504 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26505 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26506 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26507 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26510 ac_check_lib_save_LIBS=$LIBS
26511 LIBS="-ljpeg $LIBS"
26512 cat >conftest.$ac_ext <<_ACEOF
26513 /* confdefs.h. */
26514 _ACEOF
26515 cat confdefs.h >>conftest.$ac_ext
26516 cat >>conftest.$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26518
26519 /* Override any GCC internal prototype to avoid an error.
26520 Use char because int might match the return type of a GCC
26521 builtin and then its argument prototype would still apply. */
26522 #ifdef __cplusplus
26523 extern "C"
26524 #endif
26525 char jpeg_read_header ();
26526 int
26527 main ()
26528 {
26529 return jpeg_read_header ();
26530 ;
26531 return 0;
26532 }
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (ac_try="$ac_link"
26536 case "(($ac_try" in
26537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26538 *) ac_try_echo=$ac_try;;
26539 esac
26540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26541 (eval "$ac_link") 2>conftest.er1
26542 ac_status=$?
26543 grep -v '^ *+' conftest.er1 >conftest.err
26544 rm -f conftest.er1
26545 cat conftest.err >&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } && {
26548 test -z "$ac_c_werror_flag" ||
26549 test ! -s conftest.err
26550 } && test -s conftest$ac_exeext &&
26551 $as_test_x conftest$ac_exeext; then
26552 ac_cv_lib_jpeg_jpeg_read_header=yes
26553 else
26554 echo "$as_me: failed program was:" >&5
26555 sed 's/^/| /' conftest.$ac_ext >&5
26556
26557 ac_cv_lib_jpeg_jpeg_read_header=no
26558 fi
26559
26560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26561 conftest$ac_exeext conftest.$ac_ext
26562 LIBS=$ac_check_lib_save_LIBS
26563 fi
26564 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26565 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26566 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26567 JPEG_LINK=" -ljpeg"
26568 fi
26569
26570 fi
26571
26572 if test "x$JPEG_LINK" = "x" ; then
26573 if test "$wxUSE_LIBJPEG" = "sys" ; then
26574 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26575 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26576 { (exit 1); exit 1; }; }
26577 else
26578 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26579 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26580 wxUSE_LIBJPEG=builtin
26581 fi
26582 else
26583 wxUSE_LIBJPEG=sys
26584
26585 if test "$wxUSE_MSW" = 1; then
26586 { echo "$as_me:$LINENO: checking for boolean" >&5
26587 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26588 if test "${ac_cv_type_boolean+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591 cat >conftest.$ac_ext <<_ACEOF
26592 /* confdefs.h. */
26593 _ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26597 #include <windows.h>
26598
26599 typedef boolean ac__type_new_;
26600 int
26601 main ()
26602 {
26603 if ((ac__type_new_ *) 0)
26604 return 0;
26605 if (sizeof (ac__type_new_))
26606 return 0;
26607 ;
26608 return 0;
26609 }
26610 _ACEOF
26611 rm -f conftest.$ac_objext
26612 if { (ac_try="$ac_compile"
26613 case "(($ac_try" in
26614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26615 *) ac_try_echo=$ac_try;;
26616 esac
26617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26618 (eval "$ac_compile") 2>conftest.er1
26619 ac_status=$?
26620 grep -v '^ *+' conftest.er1 >conftest.err
26621 rm -f conftest.er1
26622 cat conftest.err >&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } && {
26625 test -z "$ac_c_werror_flag" ||
26626 test ! -s conftest.err
26627 } && test -s conftest.$ac_objext; then
26628 ac_cv_type_boolean=yes
26629 else
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633 ac_cv_type_boolean=no
26634 fi
26635
26636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26637 fi
26638 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26639 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26640 if test $ac_cv_type_boolean = yes; then
26641
26642 cat >>confdefs.h <<_ACEOF
26643 #define HAVE_BOOLEAN 1
26644 _ACEOF
26645
26646
26647 { echo "$as_me:$LINENO: checking for boolean" >&5
26648 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26649 if test "${ac_cv_type_boolean+set}" = set; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 else
26652 cat >conftest.$ac_ext <<_ACEOF
26653 /* confdefs.h. */
26654 _ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658
26659 #undef HAVE_BOOLEAN
26660 #include <stdio.h>
26661 #include <jpeglib.h>
26662
26663
26664 typedef boolean ac__type_new_;
26665 int
26666 main ()
26667 {
26668 if ((ac__type_new_ *) 0)
26669 return 0;
26670 if (sizeof (ac__type_new_))
26671 return 0;
26672 ;
26673 return 0;
26674 }
26675 _ACEOF
26676 rm -f conftest.$ac_objext
26677 if { (ac_try="$ac_compile"
26678 case "(($ac_try" in
26679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26681 esac
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_compile") 2>conftest.er1
26684 ac_status=$?
26685 grep -v '^ *+' conftest.er1 >conftest.err
26686 rm -f conftest.er1
26687 cat conftest.err >&5
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); } && {
26690 test -z "$ac_c_werror_flag" ||
26691 test ! -s conftest.err
26692 } && test -s conftest.$ac_objext; then
26693 ac_cv_type_boolean=yes
26694 else
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 ac_cv_type_boolean=no
26699 fi
26700
26701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26702 fi
26703 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26704 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26705
26706 # The cast to long int works around a bug in the HP C Compiler
26707 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26708 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26709 # This bug is HP SR number 8606223364.
26710 { echo "$as_me:$LINENO: checking size of boolean" >&5
26711 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26712 if test "${ac_cv_sizeof_boolean+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 else
26715 if test "$cross_compiling" = yes; then
26716 # Depending upon the size, compute the lo and hi bounds.
26717 cat >conftest.$ac_ext <<_ACEOF
26718 /* confdefs.h. */
26719 _ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26723
26724 #undef HAVE_BOOLEAN
26725 #include <stdio.h>
26726 #include <jpeglib.h>
26727
26728
26729 typedef boolean ac__type_sizeof_;
26730 int
26731 main ()
26732 {
26733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26734 test_array [0] = 0
26735
26736 ;
26737 return 0;
26738 }
26739 _ACEOF
26740 rm -f conftest.$ac_objext
26741 if { (ac_try="$ac_compile"
26742 case "(($ac_try" in
26743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26744 *) ac_try_echo=$ac_try;;
26745 esac
26746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26747 (eval "$ac_compile") 2>conftest.er1
26748 ac_status=$?
26749 grep -v '^ *+' conftest.er1 >conftest.err
26750 rm -f conftest.er1
26751 cat conftest.err >&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); } && {
26754 test -z "$ac_c_werror_flag" ||
26755 test ! -s conftest.err
26756 } && test -s conftest.$ac_objext; then
26757 ac_lo=0 ac_mid=0
26758 while :; do
26759 cat >conftest.$ac_ext <<_ACEOF
26760 /* confdefs.h. */
26761 _ACEOF
26762 cat confdefs.h >>conftest.$ac_ext
26763 cat >>conftest.$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26765
26766 #undef HAVE_BOOLEAN
26767 #include <stdio.h>
26768 #include <jpeglib.h>
26769
26770
26771 typedef boolean ac__type_sizeof_;
26772 int
26773 main ()
26774 {
26775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26776 test_array [0] = 0
26777
26778 ;
26779 return 0;
26780 }
26781 _ACEOF
26782 rm -f conftest.$ac_objext
26783 if { (ac_try="$ac_compile"
26784 case "(($ac_try" in
26785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26786 *) ac_try_echo=$ac_try;;
26787 esac
26788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26789 (eval "$ac_compile") 2>conftest.er1
26790 ac_status=$?
26791 grep -v '^ *+' conftest.er1 >conftest.err
26792 rm -f conftest.er1
26793 cat conftest.err >&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } && {
26796 test -z "$ac_c_werror_flag" ||
26797 test ! -s conftest.err
26798 } && test -s conftest.$ac_objext; then
26799 ac_hi=$ac_mid; break
26800 else
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.$ac_ext >&5
26803
26804 ac_lo=`expr $ac_mid + 1`
26805 if test $ac_lo -le $ac_mid; then
26806 ac_lo= ac_hi=
26807 break
26808 fi
26809 ac_mid=`expr 2 '*' $ac_mid + 1`
26810 fi
26811
26812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26813 done
26814 else
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26817
26818 cat >conftest.$ac_ext <<_ACEOF
26819 /* confdefs.h. */
26820 _ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824
26825 #undef HAVE_BOOLEAN
26826 #include <stdio.h>
26827 #include <jpeglib.h>
26828
26829
26830 typedef boolean ac__type_sizeof_;
26831 int
26832 main ()
26833 {
26834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26835 test_array [0] = 0
26836
26837 ;
26838 return 0;
26839 }
26840 _ACEOF
26841 rm -f conftest.$ac_objext
26842 if { (ac_try="$ac_compile"
26843 case "(($ac_try" in
26844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26845 *) ac_try_echo=$ac_try;;
26846 esac
26847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26848 (eval "$ac_compile") 2>conftest.er1
26849 ac_status=$?
26850 grep -v '^ *+' conftest.er1 >conftest.err
26851 rm -f conftest.er1
26852 cat conftest.err >&5
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); } && {
26855 test -z "$ac_c_werror_flag" ||
26856 test ! -s conftest.err
26857 } && test -s conftest.$ac_objext; then
26858 ac_hi=-1 ac_mid=-1
26859 while :; do
26860 cat >conftest.$ac_ext <<_ACEOF
26861 /* confdefs.h. */
26862 _ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866
26867 #undef HAVE_BOOLEAN
26868 #include <stdio.h>
26869 #include <jpeglib.h>
26870
26871
26872 typedef boolean ac__type_sizeof_;
26873 int
26874 main ()
26875 {
26876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26877 test_array [0] = 0
26878
26879 ;
26880 return 0;
26881 }
26882 _ACEOF
26883 rm -f conftest.$ac_objext
26884 if { (ac_try="$ac_compile"
26885 case "(($ac_try" in
26886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26887 *) ac_try_echo=$ac_try;;
26888 esac
26889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26890 (eval "$ac_compile") 2>conftest.er1
26891 ac_status=$?
26892 grep -v '^ *+' conftest.er1 >conftest.err
26893 rm -f conftest.er1
26894 cat conftest.err >&5
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); } && {
26897 test -z "$ac_c_werror_flag" ||
26898 test ! -s conftest.err
26899 } && test -s conftest.$ac_objext; then
26900 ac_lo=$ac_mid; break
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_hi=`expr '(' $ac_mid ')' - 1`
26906 if test $ac_mid -le $ac_hi; then
26907 ac_lo= ac_hi=
26908 break
26909 fi
26910 ac_mid=`expr 2 '*' $ac_mid`
26911 fi
26912
26913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26914 done
26915 else
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26918
26919 ac_lo= ac_hi=
26920 fi
26921
26922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26923 fi
26924
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26926 # Binary search between lo and hi bounds.
26927 while test "x$ac_lo" != "x$ac_hi"; do
26928 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26929 cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935
26936 #undef HAVE_BOOLEAN
26937 #include <stdio.h>
26938 #include <jpeglib.h>
26939
26940
26941 typedef boolean ac__type_sizeof_;
26942 int
26943 main ()
26944 {
26945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26946 test_array [0] = 0
26947
26948 ;
26949 return 0;
26950 }
26951 _ACEOF
26952 rm -f conftest.$ac_objext
26953 if { (ac_try="$ac_compile"
26954 case "(($ac_try" in
26955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26956 *) ac_try_echo=$ac_try;;
26957 esac
26958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26959 (eval "$ac_compile") 2>conftest.er1
26960 ac_status=$?
26961 grep -v '^ *+' conftest.er1 >conftest.err
26962 rm -f conftest.er1
26963 cat conftest.err >&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest.$ac_objext; then
26969 ac_hi=$ac_mid
26970 else
26971 echo "$as_me: failed program was:" >&5
26972 sed 's/^/| /' conftest.$ac_ext >&5
26973
26974 ac_lo=`expr '(' $ac_mid ')' + 1`
26975 fi
26976
26977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26978 done
26979 case $ac_lo in
26980 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26981 '') if test "$ac_cv_type_boolean" = yes; then
26982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26983 See \`config.log' for more details." >&5
26984 echo "$as_me: error: cannot compute sizeof (boolean)
26985 See \`config.log' for more details." >&2;}
26986 { (exit 77); exit 77; }; }
26987 else
26988 ac_cv_sizeof_boolean=0
26989 fi ;;
26990 esac
26991 else
26992 cat >conftest.$ac_ext <<_ACEOF
26993 /* confdefs.h. */
26994 _ACEOF
26995 cat confdefs.h >>conftest.$ac_ext
26996 cat >>conftest.$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26998
26999 #undef HAVE_BOOLEAN
27000 #include <stdio.h>
27001 #include <jpeglib.h>
27002
27003
27004 typedef boolean ac__type_sizeof_;
27005 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27006 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27007 #include <stdio.h>
27008 #include <stdlib.h>
27009 int
27010 main ()
27011 {
27012
27013 FILE *f = fopen ("conftest.val", "w");
27014 if (! f)
27015 return 1;
27016 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27017 {
27018 long int i = longval ();
27019 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27020 return 1;
27021 fprintf (f, "%ld\n", i);
27022 }
27023 else
27024 {
27025 unsigned long int i = ulongval ();
27026 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27027 return 1;
27028 fprintf (f, "%lu\n", i);
27029 }
27030 return ferror (f) || fclose (f) != 0;
27031
27032 ;
27033 return 0;
27034 }
27035 _ACEOF
27036 rm -f conftest$ac_exeext
27037 if { (ac_try="$ac_link"
27038 case "(($ac_try" in
27039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27040 *) ac_try_echo=$ac_try;;
27041 esac
27042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27043 (eval "$ac_link") 2>&5
27044 ac_status=$?
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27047 { (case "(($ac_try" in
27048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27049 *) ac_try_echo=$ac_try;;
27050 esac
27051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27052 (eval "$ac_try") 2>&5
27053 ac_status=$?
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27056 ac_cv_sizeof_boolean=`cat conftest.val`
27057 else
27058 echo "$as_me: program exited with status $ac_status" >&5
27059 echo "$as_me: failed program was:" >&5
27060 sed 's/^/| /' conftest.$ac_ext >&5
27061
27062 ( exit $ac_status )
27063 if test "$ac_cv_type_boolean" = yes; then
27064 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27065 See \`config.log' for more details." >&5
27066 echo "$as_me: error: cannot compute sizeof (boolean)
27067 See \`config.log' for more details." >&2;}
27068 { (exit 77); exit 77; }; }
27069 else
27070 ac_cv_sizeof_boolean=0
27071 fi
27072 fi
27073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27074 fi
27075 rm -f conftest.val
27076 fi
27077 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27078 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27079
27080
27081
27082 cat >>confdefs.h <<_ACEOF
27083 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27084 _ACEOF
27085
27086
27087 cat >>confdefs.h <<_ACEOF
27088 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27089 _ACEOF
27090
27091
27092 fi
27093
27094 fi
27095 fi
27096 fi
27097 fi
27098 fi
27099
27100
27101 TIFF_LINK=
27102 TIFF_PREREQ_LINKS=-lm
27103 if test "$wxUSE_LIBTIFF" != "no" ; then
27104 cat >>confdefs.h <<\_ACEOF
27105 #define wxUSE_LIBTIFF 1
27106 _ACEOF
27107
27108
27109 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27110 if test "$wxUSE_LIBJPEG" = "sys"; then
27111 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27112 fi
27113 if test "$wxUSE_ZLIB" = "sys"; then
27114 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27115 fi
27116 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27117 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27118 if test "${ac_cv_header_tiffio_h+set}" = set; then
27119 echo $ECHO_N "(cached) $ECHO_C" >&6
27120 else
27121 cat >conftest.$ac_ext <<_ACEOF
27122 /* confdefs.h. */
27123 _ACEOF
27124 cat confdefs.h >>conftest.$ac_ext
27125 cat >>conftest.$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27127
27128
27129
27130 #include <tiffio.h>
27131 _ACEOF
27132 rm -f conftest.$ac_objext
27133 if { (ac_try="$ac_compile"
27134 case "(($ac_try" in
27135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27136 *) ac_try_echo=$ac_try;;
27137 esac
27138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27139 (eval "$ac_compile") 2>conftest.er1
27140 ac_status=$?
27141 grep -v '^ *+' conftest.er1 >conftest.err
27142 rm -f conftest.er1
27143 cat conftest.err >&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } && {
27146 test -z "$ac_c_werror_flag" ||
27147 test ! -s conftest.err
27148 } && test -s conftest.$ac_objext; then
27149 ac_cv_header_tiffio_h=yes
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27153
27154 ac_cv_header_tiffio_h=no
27155 fi
27156
27157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27158 fi
27159 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27160 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27161 if test $ac_cv_header_tiffio_h = yes; then
27162
27163 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27164 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27165 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27166 echo $ECHO_N "(cached) $ECHO_C" >&6
27167 else
27168 ac_check_lib_save_LIBS=$LIBS
27169 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27170 cat >conftest.$ac_ext <<_ACEOF
27171 /* confdefs.h. */
27172 _ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27176
27177 /* Override any GCC internal prototype to avoid an error.
27178 Use char because int might match the return type of a GCC
27179 builtin and then its argument prototype would still apply. */
27180 #ifdef __cplusplus
27181 extern "C"
27182 #endif
27183 char TIFFError ();
27184 int
27185 main ()
27186 {
27187 return TIFFError ();
27188 ;
27189 return 0;
27190 }
27191 _ACEOF
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (ac_try="$ac_link"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27197 esac
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_link") 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest$ac_exeext &&
27209 $as_test_x conftest$ac_exeext; then
27210 ac_cv_lib_tiff_TIFFError=yes
27211 else
27212 echo "$as_me: failed program was:" >&5
27213 sed 's/^/| /' conftest.$ac_ext >&5
27214
27215 ac_cv_lib_tiff_TIFFError=no
27216 fi
27217
27218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27219 conftest$ac_exeext conftest.$ac_ext
27220 LIBS=$ac_check_lib_save_LIBS
27221 fi
27222 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27223 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27224 if test $ac_cv_lib_tiff_TIFFError = yes; then
27225 TIFF_LINK=" -ltiff"
27226 fi
27227
27228
27229 fi
27230
27231
27232
27233 if test "x$TIFF_LINK" = "x" ; then
27234 if test "$wxUSE_LIBTIFF" = "sys" ; then
27235 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27236 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27237 { (exit 1); exit 1; }; }
27238 else
27239 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27240 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27241 wxUSE_LIBTIFF=builtin
27242 fi
27243 else
27244 wxUSE_LIBTIFF=sys
27245 fi
27246 fi
27247 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27248 if test "$wxUSE_LIBJPEG" = "no"; then
27249 ac_configure_args="$ac_configure_args --disable-jpeg"
27250 fi
27251 subdirs="$subdirs src/tiff"
27252
27253 fi
27254 fi
27255
27256
27257 if test "$wxUSE_WCHAR_T" != "yes"; then
27258 if test "$wxUSE_EXPAT" != "no"; then
27259 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27260 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27261 wxUSE_EXPAT=no
27262 fi
27263 if test "$wxUSE_XML" != "no"; then
27264 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27265 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27266 wxUSE_XML=no
27267 fi
27268 fi
27269
27270 if test "$wxUSE_EXPAT" != "no"; then
27271 wxUSE_XML=yes
27272 cat >>confdefs.h <<\_ACEOF
27273 #define wxUSE_EXPAT 1
27274 _ACEOF
27275
27276 cat >>confdefs.h <<\_ACEOF
27277 #define wxUSE_XML 1
27278 _ACEOF
27279
27280
27281 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27282 { echo "$as_me:$LINENO: checking for expat.h" >&5
27283 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27284 if test "${ac_cv_header_expat_h+set}" = set; then
27285 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 else
27287 cat >conftest.$ac_ext <<_ACEOF
27288 /* confdefs.h. */
27289 _ACEOF
27290 cat confdefs.h >>conftest.$ac_ext
27291 cat >>conftest.$ac_ext <<_ACEOF
27292 /* end confdefs.h. */
27293
27294
27295 #include <expat.h>
27296 _ACEOF
27297 rm -f conftest.$ac_objext
27298 if { (ac_try="$ac_compile"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27302 esac
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_compile") 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 ac_cv_header_expat_h=yes
27315 else
27316 echo "$as_me: failed program was:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27318
27319 ac_cv_header_expat_h=no
27320 fi
27321
27322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27323 fi
27324 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27325 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27326 if test $ac_cv_header_expat_h = yes; then
27327 found_expat_h=1
27328 fi
27329
27330
27331 if test "x$found_expat_h" = "x1"; then
27332 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27333 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27334 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 else
27337
27338 ac_ext=cpp
27339 ac_cpp='$CXXCPP $CPPFLAGS'
27340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27343
27344 cat >conftest.$ac_ext <<_ACEOF
27345 /* confdefs.h. */
27346 _ACEOF
27347 cat confdefs.h >>conftest.$ac_ext
27348 cat >>conftest.$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27350 #include <expat.h>
27351 int
27352 main ()
27353 {
27354
27355 ;
27356 return 0;
27357 }
27358 _ACEOF
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27364 esac
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27367 ac_status=$?
27368 grep -v '^ *+' conftest.er1 >conftest.err
27369 rm -f conftest.er1
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_cxx_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest.$ac_objext; then
27376 wx_cv_expat_is_not_broken=yes
27377 else
27378 echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27380
27381 wx_cv_expat_is_not_broken=no
27382
27383 fi
27384
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27386 ac_ext=c
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27391
27392
27393
27394 fi
27395 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27396 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27397 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27398 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27399 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27400 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27401 echo $ECHO_N "(cached) $ECHO_C" >&6
27402 else
27403 ac_check_lib_save_LIBS=$LIBS
27404 LIBS="-lexpat $LIBS"
27405 cat >conftest.$ac_ext <<_ACEOF
27406 /* confdefs.h. */
27407 _ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411
27412 /* Override any GCC internal prototype to avoid an error.
27413 Use char because int might match the return type of a GCC
27414 builtin and then its argument prototype would still apply. */
27415 #ifdef __cplusplus
27416 extern "C"
27417 #endif
27418 char XML_ParserCreate ();
27419 int
27420 main ()
27421 {
27422 return XML_ParserCreate ();
27423 ;
27424 return 0;
27425 }
27426 _ACEOF
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27432 esac
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 ac_cv_lib_expat_XML_ParserCreate=yes
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 ac_cv_lib_expat_XML_ParserCreate=no
27451 fi
27452
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27455 LIBS=$ac_check_lib_save_LIBS
27456 fi
27457 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27458 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27459 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27460 EXPAT_LINK=" -lexpat"
27461 fi
27462
27463 fi
27464 fi
27465 if test "x$EXPAT_LINK" = "x" ; then
27466 if test "$wxUSE_EXPAT" = "sys" ; then
27467 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27468 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27469 { (exit 1); exit 1; }; }
27470 else
27471 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27472 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27473 wxUSE_EXPAT=builtin
27474 fi
27475 else
27476 wxUSE_EXPAT=sys
27477 fi
27478 fi
27479 if test "$wxUSE_EXPAT" = "builtin" ; then
27480 subdirs="$subdirs src/expat"
27481
27482 fi
27483 fi
27484
27485
27486
27487 if test "$wxUSE_LIBMSPACK" != "no"; then
27488 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27489 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27490 if test "${ac_cv_header_mspack_h+set}" = set; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 else
27493 cat >conftest.$ac_ext <<_ACEOF
27494 /* confdefs.h. */
27495 _ACEOF
27496 cat confdefs.h >>conftest.$ac_ext
27497 cat >>conftest.$ac_ext <<_ACEOF
27498 /* end confdefs.h. */
27499
27500
27501 #include <mspack.h>
27502 _ACEOF
27503 rm -f conftest.$ac_objext
27504 if { (ac_try="$ac_compile"
27505 case "(($ac_try" in
27506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27507 *) ac_try_echo=$ac_try;;
27508 esac
27509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27510 (eval "$ac_compile") 2>conftest.er1
27511 ac_status=$?
27512 grep -v '^ *+' conftest.er1 >conftest.err
27513 rm -f conftest.er1
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } && {
27517 test -z "$ac_c_werror_flag" ||
27518 test ! -s conftest.err
27519 } && test -s conftest.$ac_objext; then
27520 ac_cv_header_mspack_h=yes
27521 else
27522 echo "$as_me: failed program was:" >&5
27523 sed 's/^/| /' conftest.$ac_ext >&5
27524
27525 ac_cv_header_mspack_h=no
27526 fi
27527
27528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27529 fi
27530 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27531 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27532 if test $ac_cv_header_mspack_h = yes; then
27533 found_mspack_h=1
27534 fi
27535
27536
27537 if test "x$found_mspack_h" = "x1"; then
27538 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27539 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27540 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27543 ac_check_lib_save_LIBS=$LIBS
27544 LIBS="-lmspack $LIBS"
27545 cat >conftest.$ac_ext <<_ACEOF
27546 /* confdefs.h. */
27547 _ACEOF
27548 cat confdefs.h >>conftest.$ac_ext
27549 cat >>conftest.$ac_ext <<_ACEOF
27550 /* end confdefs.h. */
27551
27552 /* Override any GCC internal prototype to avoid an error.
27553 Use char because int might match the return type of a GCC
27554 builtin and then its argument prototype would still apply. */
27555 #ifdef __cplusplus
27556 extern "C"
27557 #endif
27558 char mspack_create_chm_decompressor ();
27559 int
27560 main ()
27561 {
27562 return mspack_create_chm_decompressor ();
27563 ;
27564 return 0;
27565 }
27566 _ACEOF
27567 rm -f conftest.$ac_objext conftest$ac_exeext
27568 if { (ac_try="$ac_link"
27569 case "(($ac_try" in
27570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27571 *) ac_try_echo=$ac_try;;
27572 esac
27573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27574 (eval "$ac_link") 2>conftest.er1
27575 ac_status=$?
27576 grep -v '^ *+' conftest.er1 >conftest.err
27577 rm -f conftest.er1
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } && {
27581 test -z "$ac_c_werror_flag" ||
27582 test ! -s conftest.err
27583 } && test -s conftest$ac_exeext &&
27584 $as_test_x conftest$ac_exeext; then
27585 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27586 else
27587 echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.$ac_ext >&5
27589
27590 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27591 fi
27592
27593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27594 conftest$ac_exeext conftest.$ac_ext
27595 LIBS=$ac_check_lib_save_LIBS
27596 fi
27597 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27598 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27599 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27600 MSPACK_LINK=" -lmspack"
27601 fi
27602
27603 fi
27604 if test "x$MSPACK_LINK" = "x" ; then
27605 wxUSE_LIBMSPACK=no
27606 fi
27607 fi
27608
27609 if test "$wxUSE_LIBMSPACK" != "no"; then
27610 cat >>confdefs.h <<\_ACEOF
27611 #define wxUSE_LIBMSPACK 1
27612 _ACEOF
27613
27614 fi
27615
27616
27617
27618 AFMINSTALL=
27619 WIN32INSTALL=
27620
27621 TOOLKIT=
27622 TOOLKIT_INCLUDE=
27623 WIDGET_SET=
27624
27625 if test "$USE_WIN32" = 1 ; then
27626
27627 for ac_header in w32api.h
27628 do
27629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27633 echo $ECHO_N "(cached) $ECHO_C" >&6
27634 else
27635 cat >conftest.$ac_ext <<_ACEOF
27636 /* confdefs.h. */
27637 _ACEOF
27638 cat confdefs.h >>conftest.$ac_ext
27639 cat >>conftest.$ac_ext <<_ACEOF
27640 /* end confdefs.h. */
27641
27642
27643 #include <$ac_header>
27644 _ACEOF
27645 rm -f conftest.$ac_objext
27646 if { (ac_try="$ac_compile"
27647 case "(($ac_try" in
27648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27649 *) ac_try_echo=$ac_try;;
27650 esac
27651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27652 (eval "$ac_compile") 2>conftest.er1
27653 ac_status=$?
27654 grep -v '^ *+' conftest.er1 >conftest.err
27655 rm -f conftest.er1
27656 cat conftest.err >&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } && {
27659 test -z "$ac_c_werror_flag" ||
27660 test ! -s conftest.err
27661 } && test -s conftest.$ac_objext; then
27662 eval "$as_ac_Header=yes"
27663 else
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.$ac_ext >&5
27666
27667 eval "$as_ac_Header=no"
27668 fi
27669
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671 fi
27672 ac_res=`eval echo '${'$as_ac_Header'}'`
27673 { echo "$as_me:$LINENO: result: $ac_res" >&5
27674 echo "${ECHO_T}$ac_res" >&6; }
27675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27676 cat >>confdefs.h <<_ACEOF
27677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27678 _ACEOF
27679
27680 fi
27681
27682 done
27683
27684 { echo "$as_me:$LINENO: checking for windows.h" >&5
27685 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27686 if test "${ac_cv_header_windows_h+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 else
27689 cat >conftest.$ac_ext <<_ACEOF
27690 /* confdefs.h. */
27691 _ACEOF
27692 cat confdefs.h >>conftest.$ac_ext
27693 cat >>conftest.$ac_ext <<_ACEOF
27694 /* end confdefs.h. */
27695
27696
27697 #include <windows.h>
27698 _ACEOF
27699 rm -f conftest.$ac_objext
27700 if { (ac_try="$ac_compile"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27704 esac
27705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_compile") 2>conftest.er1
27707 ac_status=$?
27708 grep -v '^ *+' conftest.er1 >conftest.err
27709 rm -f conftest.er1
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest.$ac_objext; then
27716 ac_cv_header_windows_h=yes
27717 else
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27720
27721 ac_cv_header_windows_h=no
27722 fi
27723
27724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725 fi
27726 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27727 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27728 if test $ac_cv_header_windows_h = yes; then
27729 :
27730 else
27731
27732 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27733 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27734 { (exit 1); exit 1; }; }
27735
27736 fi
27737
27738
27739
27740 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27741
27742 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27743 LIBS="$LIBS -loleacc"
27744 fi
27745
27746 case "${host}" in
27747 *-*-cygwin* )
27748 LIBS="$LIBS -lkernel32 -luser32"
27749 esac
27750
27751 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27752 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27753
27754 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27755
27756 WIN32INSTALL=win32install
27757
27758 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27759 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27760 if test "${ac_cv_header_pbt_h+set}" = set; then
27761 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 else
27763 cat >conftest.$ac_ext <<_ACEOF
27764 /* confdefs.h. */
27765 _ACEOF
27766 cat confdefs.h >>conftest.$ac_ext
27767 cat >>conftest.$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27769
27770
27771 #include <pbt.h>
27772 _ACEOF
27773 rm -f conftest.$ac_objext
27774 if { (ac_try="$ac_compile"
27775 case "(($ac_try" in
27776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27777 *) ac_try_echo=$ac_try;;
27778 esac
27779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27780 (eval "$ac_compile") 2>conftest.er1
27781 ac_status=$?
27782 grep -v '^ *+' conftest.er1 >conftest.err
27783 rm -f conftest.er1
27784 cat conftest.err >&5
27785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27786 (exit $ac_status); } && {
27787 test -z "$ac_c_werror_flag" ||
27788 test ! -s conftest.err
27789 } && test -s conftest.$ac_objext; then
27790 ac_cv_header_pbt_h=yes
27791 else
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795 ac_cv_header_pbt_h=no
27796 fi
27797
27798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27799 fi
27800 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27801 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27802 if test $ac_cv_header_pbt_h = yes; then
27803 :
27804 else
27805 cat >>confdefs.h <<\_ACEOF
27806 #define NEED_PBT_H 1
27807 _ACEOF
27808
27809 fi
27810
27811
27812 fi
27813
27814 if test "$wxUSE_GUI" = "yes"; then
27815 USE_GUI=1
27816
27817 GUI_TK_LIBRARY=
27818
27819 WXGTK12=
27820 WXGTK127=
27821 WXGTK2=
27822 WXGPE=
27823
27824 if test "$wxUSE_COCOA" = 1 ; then
27825 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27826 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27827 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27828 wxUSE_PRINTING_ARCHITECTURE=no
27829 fi
27830 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27831 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27832 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27833 wxUSE_DRAG_AND_DROP=no
27834 fi
27835 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27836 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27837 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27838 wxUSE_DRAGIMAGE=no
27839 fi
27840 fi
27841
27842 if test "$wxUSE_MSW" = 1 ; then
27843 TOOLKIT=MSW
27844 GUIDIST=MSW_DIST
27845
27846 case "${host}" in
27847 *-*-mingw32* )
27848 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27849 esac
27850 fi
27851
27852 if test "$wxUSE_GTK" = 1; then
27853 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27854 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27855
27856 gtk_version_cached=1
27857 if test "${wx_cv_lib_gtk+set}" = set; then
27858 echo $ECHO_N "(cached) $ECHO_C" >&6
27859 else
27860
27861 gtk_version_cached=0
27862 { echo "$as_me:$LINENO: result: " >&5
27863 echo "${ECHO_T}" >&6; }
27864
27865 GTK_MODULES=
27866 if test "$wxUSE_THREADS" = "yes"; then
27867 GTK_MODULES=gthread
27868 fi
27869
27870 wx_cv_lib_gtk=
27871 if test "x$wxGTK_VERSION" != "x1"
27872 then
27873 case "${host}" in
27874 *-*-solaris2* )
27875 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27876 enable_gtktest=no
27877 fi
27878 esac
27879
27880 # Check whether --enable-gtktest was given.
27881 if test "${enable_gtktest+set}" = set; then
27882 enableval=$enable_gtktest;
27883 else
27884 enable_gtktest=yes
27885 fi
27886
27887
27888 pkg_config_args=gtk+-2.0
27889 for module in . $GTK_MODULES
27890 do
27891 case "$module" in
27892 gthread)
27893 pkg_config_args="$pkg_config_args gthread-2.0"
27894 ;;
27895 esac
27896 done
27897
27898 no_gtk=""
27899
27900 # Extract the first word of "pkg-config", so it can be a program name with args.
27901 set dummy pkg-config; ac_word=$2
27902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27904 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 else
27907 case $PKG_CONFIG in
27908 [\\/]* | ?:[\\/]*)
27909 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27910 ;;
27911 *)
27912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27913 for as_dir in $PATH
27914 do
27915 IFS=$as_save_IFS
27916 test -z "$as_dir" && as_dir=.
27917 for ac_exec_ext in '' $ac_executable_extensions; do
27918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27919 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27921 break 2
27922 fi
27923 done
27924 done
27925 IFS=$as_save_IFS
27926
27927 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27928 ;;
27929 esac
27930 fi
27931 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27932 if test -n "$PKG_CONFIG"; then
27933 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27934 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27935 else
27936 { echo "$as_me:$LINENO: result: no" >&5
27937 echo "${ECHO_T}no" >&6; }
27938 fi
27939
27940
27941
27942 if test x$PKG_CONFIG != xno ; then
27943 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27944 :
27945 else
27946 echo "*** pkg-config too old; version 0.7 or better required."
27947 no_gtk=yes
27948 PKG_CONFIG=no
27949 fi
27950 else
27951 no_gtk=yes
27952 fi
27953
27954 min_gtk_version=2.4.0
27955 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27956 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27957
27958 if test x$PKG_CONFIG != xno ; then
27959 ## don't try to run the test against uninstalled libtool libs
27960 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27961 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27962 enable_gtktest=no
27963 fi
27964
27965 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27966 :
27967 else
27968 no_gtk=yes
27969 fi
27970 fi
27971
27972 if test x"$no_gtk" = x ; then
27973 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27974 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27975 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27977 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27978 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27979 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27981 if test "x$enable_gtktest" = "xyes" ; then
27982 ac_save_CFLAGS="$CFLAGS"
27983 ac_save_LIBS="$LIBS"
27984 CFLAGS="$CFLAGS $GTK_CFLAGS"
27985 LIBS="$GTK_LIBS $LIBS"
27986 rm -f conf.gtktest
27987 if test "$cross_compiling" = yes; then
27988 echo $ac_n "cross compiling; assumed OK... $ac_c"
27989 else
27990 cat >conftest.$ac_ext <<_ACEOF
27991 /* confdefs.h. */
27992 _ACEOF
27993 cat confdefs.h >>conftest.$ac_ext
27994 cat >>conftest.$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27996
27997 #include <gtk/gtk.h>
27998 #include <stdio.h>
27999 #include <stdlib.h>
28000
28001 int
28002 main ()
28003 {
28004 int major, minor, micro;
28005 char *tmp_version;
28006
28007 system ("touch conf.gtktest");
28008
28009 /* HP/UX 9 (%@#!) writes to sscanf strings */
28010 tmp_version = g_strdup("$min_gtk_version");
28011 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28012 printf("%s, bad version string\n", "$min_gtk_version");
28013 exit(1);
28014 }
28015
28016 if ((gtk_major_version != $gtk_config_major_version) ||
28017 (gtk_minor_version != $gtk_config_minor_version) ||
28018 (gtk_micro_version != $gtk_config_micro_version))
28019 {
28020 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28021 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28022 gtk_major_version, gtk_minor_version, gtk_micro_version);
28023 printf ("*** was found! If pkg-config was correct, then it is best\n");
28024 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28025 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28026 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28027 printf("*** required on your system.\n");
28028 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28029 printf("*** to point to the correct configuration files\n");
28030 }
28031 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28032 (gtk_minor_version != GTK_MINOR_VERSION) ||
28033 (gtk_micro_version != GTK_MICRO_VERSION))
28034 {
28035 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28036 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28037 printf("*** library (version %d.%d.%d)\n",
28038 gtk_major_version, gtk_minor_version, gtk_micro_version);
28039 }
28040 else
28041 {
28042 if ((gtk_major_version > major) ||
28043 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28044 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28045 {
28046 return 0;
28047 }
28048 else
28049 {
28050 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28051 gtk_major_version, gtk_minor_version, gtk_micro_version);
28052 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28053 major, minor, micro);
28054 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28055 printf("***\n");
28056 printf("*** If you have already installed a sufficiently new version, this error\n");
28057 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28058 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28059 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28060 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28061 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28062 printf("*** so that the correct libraries are found at run-time))\n");
28063 }
28064 }
28065 return 1;
28066 }
28067
28068 _ACEOF
28069 rm -f conftest$ac_exeext
28070 if { (ac_try="$ac_link"
28071 case "(($ac_try" in
28072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28073 *) ac_try_echo=$ac_try;;
28074 esac
28075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28076 (eval "$ac_link") 2>&5
28077 ac_status=$?
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28080 { (case "(($ac_try" in
28081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28082 *) ac_try_echo=$ac_try;;
28083 esac
28084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28085 (eval "$ac_try") 2>&5
28086 ac_status=$?
28087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088 (exit $ac_status); }; }; then
28089 :
28090 else
28091 echo "$as_me: program exited with status $ac_status" >&5
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28094
28095 ( exit $ac_status )
28096 no_gtk=yes
28097 fi
28098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28099 fi
28100
28101
28102 CFLAGS="$ac_save_CFLAGS"
28103 LIBS="$ac_save_LIBS"
28104 fi
28105 fi
28106 if test "x$no_gtk" = x ; then
28107 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28108 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28109 wx_cv_lib_gtk=2.0
28110 else
28111 { echo "$as_me:$LINENO: result: no" >&5
28112 echo "${ECHO_T}no" >&6; }
28113 if test "$PKG_CONFIG" = "no" ; then
28114 echo "*** A new enough version of pkg-config was not found."
28115 echo "*** See http://pkgconfig.sourceforge.net"
28116 else
28117 if test -f conf.gtktest ; then
28118 :
28119 else
28120 echo "*** Could not run GTK+ test program, checking why..."
28121 ac_save_CFLAGS="$CFLAGS"
28122 ac_save_LIBS="$LIBS"
28123 CFLAGS="$CFLAGS $GTK_CFLAGS"
28124 LIBS="$LIBS $GTK_LIBS"
28125 cat >conftest.$ac_ext <<_ACEOF
28126 /* confdefs.h. */
28127 _ACEOF
28128 cat confdefs.h >>conftest.$ac_ext
28129 cat >>conftest.$ac_ext <<_ACEOF
28130 /* end confdefs.h. */
28131
28132 #include <gtk/gtk.h>
28133 #include <stdio.h>
28134
28135 int
28136 main ()
28137 {
28138 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (ac_try="$ac_link"
28145 case "(($ac_try" in
28146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28147 *) ac_try_echo=$ac_try;;
28148 esac
28149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28150 (eval "$ac_link") 2>conftest.er1
28151 ac_status=$?
28152 grep -v '^ *+' conftest.er1 >conftest.err
28153 rm -f conftest.er1
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); } && {
28157 test -z "$ac_c_werror_flag" ||
28158 test ! -s conftest.err
28159 } && test -s conftest$ac_exeext &&
28160 $as_test_x conftest$ac_exeext; then
28161 echo "*** The test program compiled, but did not run. This usually means"
28162 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28163 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28164 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28165 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28166 echo "*** is required on your system"
28167 echo "***"
28168 echo "*** If you have an old version installed, it is best to remove it, although"
28169 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28170 else
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28173
28174 echo "*** The test program failed to compile or link. See the file config.log for the"
28175 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28176 fi
28177
28178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28179 conftest$ac_exeext conftest.$ac_ext
28180 CFLAGS="$ac_save_CFLAGS"
28181 LIBS="$ac_save_LIBS"
28182 fi
28183 fi
28184 GTK_CFLAGS=""
28185 GTK_LIBS=""
28186 :
28187 fi
28188
28189
28190 rm -f conf.gtktest
28191
28192
28193 case "${host}" in
28194 *-*-solaris2* )
28195 if test "$wxUSE_SHARED" != "yes"; then
28196 GTK_LIBS="$GTK_LIBS -lX11"
28197 fi
28198 esac
28199 fi
28200
28201 if test -z "$wx_cv_lib_gtk"; then
28202 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28203
28204 # Check whether --with-gtk-prefix was given.
28205 if test "${with_gtk_prefix+set}" = set; then
28206 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28207 else
28208 gtk_config_prefix=""
28209 fi
28210
28211
28212 # Check whether --with-gtk-exec-prefix was given.
28213 if test "${with_gtk_exec_prefix+set}" = set; then
28214 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28215 else
28216 gtk_config_exec_prefix=""
28217 fi
28218
28219 # Check whether --enable-gtktest was given.
28220 if test "${enable_gtktest+set}" = set; then
28221 enableval=$enable_gtktest;
28222 else
28223 enable_gtktest=yes
28224 fi
28225
28226
28227 for module in . $GTK_MODULES
28228 do
28229 case "$module" in
28230 gthread)
28231 gtk_config_args="$gtk_config_args gthread"
28232 ;;
28233 esac
28234 done
28235
28236 if test x$gtk_config_exec_prefix != x ; then
28237 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28238 if test x${GTK_CONFIG+set} != xset ; then
28239 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28240 fi
28241 fi
28242 if test x$gtk_config_prefix != x ; then
28243 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28244 if test x${GTK_CONFIG+set} != xset ; then
28245 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28246 fi
28247 fi
28248
28249 # Extract the first word of "gtk-config", so it can be a program name with args.
28250 set dummy gtk-config; ac_word=$2
28251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28253 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28255 else
28256 case $GTK_CONFIG in
28257 [\\/]* | ?:[\\/]*)
28258 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28259 ;;
28260 *)
28261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28262 for as_dir in $PATH
28263 do
28264 IFS=$as_save_IFS
28265 test -z "$as_dir" && as_dir=.
28266 for ac_exec_ext in '' $ac_executable_extensions; do
28267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28268 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28270 break 2
28271 fi
28272 done
28273 done
28274 IFS=$as_save_IFS
28275
28276 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28277 ;;
28278 esac
28279 fi
28280 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28281 if test -n "$GTK_CONFIG"; then
28282 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28283 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28284 else
28285 { echo "$as_me:$LINENO: result: no" >&5
28286 echo "${ECHO_T}no" >&6; }
28287 fi
28288
28289
28290 min_gtk_version=1.2.7
28291 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28292 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28293 no_gtk=""
28294 if test "$GTK_CONFIG" = "no" ; then
28295 no_gtk=yes
28296 else
28297 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28298 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28299 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28301 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28303 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28305 if test "x$enable_gtktest" = "xyes" ; then
28306 ac_save_CFLAGS="$CFLAGS"
28307 ac_save_LIBS="$LIBS"
28308 CFLAGS="$CFLAGS $GTK_CFLAGS"
28309 LIBS="$GTK_LIBS $LIBS"
28310 rm -f conf.gtktest
28311 if test "$cross_compiling" = yes; then
28312 echo $ac_n "cross compiling; assumed OK... $ac_c"
28313 else
28314 cat >conftest.$ac_ext <<_ACEOF
28315 /* confdefs.h. */
28316 _ACEOF
28317 cat confdefs.h >>conftest.$ac_ext
28318 cat >>conftest.$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320
28321 #include <gtk/gtk.h>
28322 #include <stdio.h>
28323 #include <stdlib.h>
28324
28325 int
28326 main ()
28327 {
28328 int major, minor, micro;
28329 char *tmp_version;
28330
28331 system ("touch conf.gtktest");
28332
28333 /* HP/UX 9 (%@#!) writes to sscanf strings */
28334 tmp_version = g_strdup("$min_gtk_version");
28335 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28336 printf("%s, bad version string\n", "$min_gtk_version");
28337 exit(1);
28338 }
28339
28340 if ((gtk_major_version != $gtk_config_major_version) ||
28341 (gtk_minor_version != $gtk_config_minor_version) ||
28342 (gtk_micro_version != $gtk_config_micro_version))
28343 {
28344 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28345 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28346 gtk_major_version, gtk_minor_version, gtk_micro_version);
28347 printf ("*** was found! If gtk-config was correct, then it is best\n");
28348 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28349 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28350 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28351 printf("*** required on your system.\n");
28352 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28353 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28354 printf("*** before re-running configure\n");
28355 }
28356 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28357 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28358 (gtk_minor_version != GTK_MINOR_VERSION) ||
28359 (gtk_micro_version != GTK_MICRO_VERSION))
28360 {
28361 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28362 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28363 printf("*** library (version %d.%d.%d)\n",
28364 gtk_major_version, gtk_minor_version, gtk_micro_version);
28365 }
28366 #endif /* defined (GTK_MAJOR_VERSION) ... */
28367 else
28368 {
28369 if ((gtk_major_version > major) ||
28370 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28371 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28372 {
28373 return 0;
28374 }
28375 else
28376 {
28377 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28378 gtk_major_version, gtk_minor_version, gtk_micro_version);
28379 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28380 major, minor, micro);
28381 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28382 printf("***\n");
28383 printf("*** If you have already installed a sufficiently new version, this error\n");
28384 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28385 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28386 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28387 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28388 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28389 printf("*** so that the correct libraries are found at run-time))\n");
28390 }
28391 }
28392 return 1;
28393 }
28394
28395 _ACEOF
28396 rm -f conftest$ac_exeext
28397 if { (ac_try="$ac_link"
28398 case "(($ac_try" in
28399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28400 *) ac_try_echo=$ac_try;;
28401 esac
28402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28403 (eval "$ac_link") 2>&5
28404 ac_status=$?
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28407 { (case "(($ac_try" in
28408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28409 *) ac_try_echo=$ac_try;;
28410 esac
28411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28412 (eval "$ac_try") 2>&5
28413 ac_status=$?
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; }; then
28416 :
28417 else
28418 echo "$as_me: program exited with status $ac_status" >&5
28419 echo "$as_me: failed program was:" >&5
28420 sed 's/^/| /' conftest.$ac_ext >&5
28421
28422 ( exit $ac_status )
28423 no_gtk=yes
28424 fi
28425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28426 fi
28427
28428
28429 CFLAGS="$ac_save_CFLAGS"
28430 LIBS="$ac_save_LIBS"
28431 fi
28432 fi
28433 if test "x$no_gtk" = x ; then
28434 { echo "$as_me:$LINENO: result: yes" >&5
28435 echo "${ECHO_T}yes" >&6; }
28436 wx_cv_lib_gtk=1.2.7
28437 else
28438 { echo "$as_me:$LINENO: result: no" >&5
28439 echo "${ECHO_T}no" >&6; }
28440 if test "$GTK_CONFIG" = "no" ; then
28441 echo "*** The gtk-config script installed by GTK could not be found"
28442 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28443 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28444 echo "*** full path to gtk-config."
28445 else
28446 if test -f conf.gtktest ; then
28447 :
28448 else
28449 echo "*** Could not run GTK test program, checking why..."
28450 CFLAGS="$CFLAGS $GTK_CFLAGS"
28451 LIBS="$LIBS $GTK_LIBS"
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458
28459 #include <gtk/gtk.h>
28460 #include <stdio.h>
28461
28462 int
28463 main ()
28464 {
28465 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28466 ;
28467 return 0;
28468 }
28469 _ACEOF
28470 rm -f conftest.$ac_objext conftest$ac_exeext
28471 if { (ac_try="$ac_link"
28472 case "(($ac_try" in
28473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28474 *) ac_try_echo=$ac_try;;
28475 esac
28476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28477 (eval "$ac_link") 2>conftest.er1
28478 ac_status=$?
28479 grep -v '^ *+' conftest.er1 >conftest.err
28480 rm -f conftest.er1
28481 cat conftest.err >&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } && {
28484 test -z "$ac_c_werror_flag" ||
28485 test ! -s conftest.err
28486 } && test -s conftest$ac_exeext &&
28487 $as_test_x conftest$ac_exeext; then
28488 echo "*** The test program compiled, but did not run. This usually means"
28489 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28490 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28491 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28492 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28493 echo "*** is required on your system"
28494 echo "***"
28495 echo "*** If you have an old version installed, it is best to remove it, although"
28496 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28497 echo "***"
28498 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28499 echo "*** came with the system with the command"
28500 echo "***"
28501 echo "*** rpm --erase --nodeps gtk gtk-devel"
28502 else
28503 echo "$as_me: failed program was:" >&5
28504 sed 's/^/| /' conftest.$ac_ext >&5
28505
28506 echo "*** The test program failed to compile or link. See the file config.log for the"
28507 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28508 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28509 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28510 fi
28511
28512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28513 conftest$ac_exeext conftest.$ac_ext
28514 CFLAGS="$ac_save_CFLAGS"
28515 LIBS="$ac_save_LIBS"
28516 fi
28517 fi
28518 GTK_CFLAGS=""
28519 GTK_LIBS=""
28520 :
28521 fi
28522
28523
28524 rm -f conf.gtktest
28525
28526
28527 if test -z "$wx_cv_lib_gtk"; then
28528
28529 # Check whether --with-gtk-prefix was given.
28530 if test "${with_gtk_prefix+set}" = set; then
28531 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28532 else
28533 gtk_config_prefix=""
28534 fi
28535
28536
28537 # Check whether --with-gtk-exec-prefix was given.
28538 if test "${with_gtk_exec_prefix+set}" = set; then
28539 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28540 else
28541 gtk_config_exec_prefix=""
28542 fi
28543
28544 # Check whether --enable-gtktest was given.
28545 if test "${enable_gtktest+set}" = set; then
28546 enableval=$enable_gtktest;
28547 else
28548 enable_gtktest=yes
28549 fi
28550
28551
28552 for module in . $GTK_MODULES
28553 do
28554 case "$module" in
28555 gthread)
28556 gtk_config_args="$gtk_config_args gthread"
28557 ;;
28558 esac
28559 done
28560
28561 if test x$gtk_config_exec_prefix != x ; then
28562 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28563 if test x${GTK_CONFIG+set} != xset ; then
28564 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28565 fi
28566 fi
28567 if test x$gtk_config_prefix != x ; then
28568 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28569 if test x${GTK_CONFIG+set} != xset ; then
28570 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28571 fi
28572 fi
28573
28574 # Extract the first word of "gtk-config", so it can be a program name with args.
28575 set dummy gtk-config; ac_word=$2
28576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28578 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28579 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 else
28581 case $GTK_CONFIG in
28582 [\\/]* | ?:[\\/]*)
28583 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28584 ;;
28585 *)
28586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28587 for as_dir in $PATH
28588 do
28589 IFS=$as_save_IFS
28590 test -z "$as_dir" && as_dir=.
28591 for ac_exec_ext in '' $ac_executable_extensions; do
28592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28593 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28595 break 2
28596 fi
28597 done
28598 done
28599 IFS=$as_save_IFS
28600
28601 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28602 ;;
28603 esac
28604 fi
28605 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28606 if test -n "$GTK_CONFIG"; then
28607 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28608 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28609 else
28610 { echo "$as_me:$LINENO: result: no" >&5
28611 echo "${ECHO_T}no" >&6; }
28612 fi
28613
28614
28615 min_gtk_version=1.2.3
28616 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28617 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28618 no_gtk=""
28619 if test "$GTK_CONFIG" = "no" ; then
28620 no_gtk=yes
28621 else
28622 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28623 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28624 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28626 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28628 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28630 if test "x$enable_gtktest" = "xyes" ; then
28631 ac_save_CFLAGS="$CFLAGS"
28632 ac_save_LIBS="$LIBS"
28633 CFLAGS="$CFLAGS $GTK_CFLAGS"
28634 LIBS="$GTK_LIBS $LIBS"
28635 rm -f conf.gtktest
28636 if test "$cross_compiling" = yes; then
28637 echo $ac_n "cross compiling; assumed OK... $ac_c"
28638 else
28639 cat >conftest.$ac_ext <<_ACEOF
28640 /* confdefs.h. */
28641 _ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28645
28646 #include <gtk/gtk.h>
28647 #include <stdio.h>
28648 #include <stdlib.h>
28649
28650 int
28651 main ()
28652 {
28653 int major, minor, micro;
28654 char *tmp_version;
28655
28656 system ("touch conf.gtktest");
28657
28658 /* HP/UX 9 (%@#!) writes to sscanf strings */
28659 tmp_version = g_strdup("$min_gtk_version");
28660 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28661 printf("%s, bad version string\n", "$min_gtk_version");
28662 exit(1);
28663 }
28664
28665 if ((gtk_major_version != $gtk_config_major_version) ||
28666 (gtk_minor_version != $gtk_config_minor_version) ||
28667 (gtk_micro_version != $gtk_config_micro_version))
28668 {
28669 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28670 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28671 gtk_major_version, gtk_minor_version, gtk_micro_version);
28672 printf ("*** was found! If gtk-config was correct, then it is best\n");
28673 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28674 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28675 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28676 printf("*** required on your system.\n");
28677 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28678 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28679 printf("*** before re-running configure\n");
28680 }
28681 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28682 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28683 (gtk_minor_version != GTK_MINOR_VERSION) ||
28684 (gtk_micro_version != GTK_MICRO_VERSION))
28685 {
28686 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28687 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28688 printf("*** library (version %d.%d.%d)\n",
28689 gtk_major_version, gtk_minor_version, gtk_micro_version);
28690 }
28691 #endif /* defined (GTK_MAJOR_VERSION) ... */
28692 else
28693 {
28694 if ((gtk_major_version > major) ||
28695 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28696 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28697 {
28698 return 0;
28699 }
28700 else
28701 {
28702 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28703 gtk_major_version, gtk_minor_version, gtk_micro_version);
28704 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28705 major, minor, micro);
28706 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28707 printf("***\n");
28708 printf("*** If you have already installed a sufficiently new version, this error\n");
28709 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28710 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28711 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28712 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28713 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28714 printf("*** so that the correct libraries are found at run-time))\n");
28715 }
28716 }
28717 return 1;
28718 }
28719
28720 _ACEOF
28721 rm -f conftest$ac_exeext
28722 if { (ac_try="$ac_link"
28723 case "(($ac_try" in
28724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28725 *) ac_try_echo=$ac_try;;
28726 esac
28727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28728 (eval "$ac_link") 2>&5
28729 ac_status=$?
28730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28731 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28732 { (case "(($ac_try" in
28733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28734 *) ac_try_echo=$ac_try;;
28735 esac
28736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_try") 2>&5
28738 ac_status=$?
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); }; }; then
28741 :
28742 else
28743 echo "$as_me: program exited with status $ac_status" >&5
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.$ac_ext >&5
28746
28747 ( exit $ac_status )
28748 no_gtk=yes
28749 fi
28750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28751 fi
28752
28753
28754 CFLAGS="$ac_save_CFLAGS"
28755 LIBS="$ac_save_LIBS"
28756 fi
28757 fi
28758 if test "x$no_gtk" = x ; then
28759 { echo "$as_me:$LINENO: result: yes" >&5
28760 echo "${ECHO_T}yes" >&6; }
28761 wx_cv_lib_gtk=1.2.3
28762 else
28763 { echo "$as_me:$LINENO: result: no" >&5
28764 echo "${ECHO_T}no" >&6; }
28765 if test "$GTK_CONFIG" = "no" ; then
28766 echo "*** The gtk-config script installed by GTK could not be found"
28767 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28768 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28769 echo "*** full path to gtk-config."
28770 else
28771 if test -f conf.gtktest ; then
28772 :
28773 else
28774 echo "*** Could not run GTK test program, checking why..."
28775 CFLAGS="$CFLAGS $GTK_CFLAGS"
28776 LIBS="$LIBS $GTK_LIBS"
28777 cat >conftest.$ac_ext <<_ACEOF
28778 /* confdefs.h. */
28779 _ACEOF
28780 cat confdefs.h >>conftest.$ac_ext
28781 cat >>conftest.$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28783
28784 #include <gtk/gtk.h>
28785 #include <stdio.h>
28786
28787 int
28788 main ()
28789 {
28790 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28791 ;
28792 return 0;
28793 }
28794 _ACEOF
28795 rm -f conftest.$ac_objext conftest$ac_exeext
28796 if { (ac_try="$ac_link"
28797 case "(($ac_try" in
28798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28799 *) ac_try_echo=$ac_try;;
28800 esac
28801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28802 (eval "$ac_link") 2>conftest.er1
28803 ac_status=$?
28804 grep -v '^ *+' conftest.er1 >conftest.err
28805 rm -f conftest.er1
28806 cat conftest.err >&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } && {
28809 test -z "$ac_c_werror_flag" ||
28810 test ! -s conftest.err
28811 } && test -s conftest$ac_exeext &&
28812 $as_test_x conftest$ac_exeext; then
28813 echo "*** The test program compiled, but did not run. This usually means"
28814 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28815 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28816 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28817 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28818 echo "*** is required on your system"
28819 echo "***"
28820 echo "*** If you have an old version installed, it is best to remove it, although"
28821 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28822 echo "***"
28823 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28824 echo "*** came with the system with the command"
28825 echo "***"
28826 echo "*** rpm --erase --nodeps gtk gtk-devel"
28827 else
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28830
28831 echo "*** The test program failed to compile or link. See the file config.log for the"
28832 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28833 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28834 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28835 fi
28836
28837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28838 conftest$ac_exeext conftest.$ac_ext
28839 CFLAGS="$ac_save_CFLAGS"
28840 LIBS="$ac_save_LIBS"
28841 fi
28842 fi
28843 GTK_CFLAGS=""
28844 GTK_LIBS=""
28845 :
28846 fi
28847
28848
28849 rm -f conf.gtktest
28850
28851 fi
28852 fi
28853 fi
28854
28855 if test -z "$wx_cv_lib_gtk"; then
28856 wx_cv_lib_gtk=none
28857 else
28858 wx_cv_cflags_gtk=$GTK_CFLAGS
28859 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28860 fi
28861
28862
28863 fi
28864
28865
28866 if test "$gtk_version_cached" = 1; then
28867 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28868 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28869 fi
28870
28871 case "$wx_cv_lib_gtk" in
28872 2.0) WXGTK2=1
28873 TOOLKIT_VERSION=2
28874 ;;
28875 1.2.7) WXGTK127=1
28876 WXGTK12=1
28877 ;;
28878 1.2.3) WXGTK12=1
28879 ;;
28880 *) { { echo "$as_me:$LINENO: error:
28881 The development files for GTK+ were not found. For GTK+ 2, please
28882 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28883 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28884 and that the version is 1.2.3 or above. Also check that the
28885 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28886 --libs' are in the LD_LIBRARY_PATH or equivalent.
28887 " >&5
28888 echo "$as_me: error:
28889 The development files for GTK+ were not found. For GTK+ 2, please
28890 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28891 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28892 and that the version is 1.2.3 or above. Also check that the
28893 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28894 --libs' are in the LD_LIBRARY_PATH or equivalent.
28895 " >&2;}
28896 { (exit 1); exit 1; }; }
28897 ;;
28898 esac
28899
28900 if test "$WXGTK2" = 1; then
28901 save_CFLAGS="$CFLAGS"
28902 save_LIBS="$LIBS"
28903 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28904 LIBS="$LIBS $wx_cv_libs_gtk"
28905
28906 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28907 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28908 cat >conftest.$ac_ext <<_ACEOF
28909 /* confdefs.h. */
28910 _ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28914
28915 #include <gtk/gtk.h>
28916
28917 int
28918 main ()
28919 {
28920
28921 #if !GTK_CHECK_VERSION(2,10,0)
28922 Not GTK+ 2.10
28923 #endif
28924
28925 ;
28926 return 0;
28927 }
28928 _ACEOF
28929 rm -f conftest.$ac_objext
28930 if { (ac_try="$ac_compile"
28931 case "(($ac_try" in
28932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28933 *) ac_try_echo=$ac_try;;
28934 esac
28935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28936 (eval "$ac_compile") 2>conftest.er1
28937 ac_status=$?
28938 grep -v '^ *+' conftest.er1 >conftest.err
28939 rm -f conftest.er1
28940 cat conftest.err >&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } && {
28943 test -z "$ac_c_werror_flag" ||
28944 test ! -s conftest.err
28945 } && test -s conftest.$ac_objext; then
28946
28947 cat >>confdefs.h <<\_ACEOF
28948 #define __WXGTK210__ 1
28949 _ACEOF
28950
28951 cat >>confdefs.h <<\_ACEOF
28952 #define __WXGTK26__ 1
28953 _ACEOF
28954
28955 { echo "$as_me:$LINENO: result: yes" >&5
28956 echo "${ECHO_T}yes" >&6; }
28957 ac_wxgtk210=1
28958
28959 else
28960 echo "$as_me: failed program was:" >&5
28961 sed 's/^/| /' conftest.$ac_ext >&5
28962
28963
28964 { echo "$as_me:$LINENO: result: no" >&5
28965 echo "${ECHO_T}no" >&6; }
28966 ac_wxgtk210=0
28967
28968 fi
28969
28970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28971
28972 if test "$ac_wxgtk210" = 0; then
28973 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28974 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28975 cat >conftest.$ac_ext <<_ACEOF
28976 /* confdefs.h. */
28977 _ACEOF
28978 cat confdefs.h >>conftest.$ac_ext
28979 cat >>conftest.$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28981
28982 #include <gtk/gtk.h>
28983
28984 int
28985 main ()
28986 {
28987
28988 #if !GTK_CHECK_VERSION(2,6,0)
28989 Not GTK+ 2.6
28990 #endif
28991
28992 ;
28993 return 0;
28994 }
28995 _ACEOF
28996 rm -f conftest.$ac_objext
28997 if { (ac_try="$ac_compile"
28998 case "(($ac_try" in
28999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29000 *) ac_try_echo=$ac_try;;
29001 esac
29002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29003 (eval "$ac_compile") 2>conftest.er1
29004 ac_status=$?
29005 grep -v '^ *+' conftest.er1 >conftest.err
29006 rm -f conftest.er1
29007 cat conftest.err >&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } && {
29010 test -z "$ac_c_werror_flag" ||
29011 test ! -s conftest.err
29012 } && test -s conftest.$ac_objext; then
29013
29014 cat >>confdefs.h <<\_ACEOF
29015 #define __WXGTK26__ 1
29016 _ACEOF
29017
29018 { echo "$as_me:$LINENO: result: yes" >&5
29019 echo "${ECHO_T}yes" >&6; }
29020 ac_wxgtk26=1
29021
29022 else
29023 echo "$as_me: failed program was:" >&5
29024 sed 's/^/| /' conftest.$ac_ext >&5
29025
29026
29027 { echo "$as_me:$LINENO: result: no" >&5
29028 echo "${ECHO_T}no" >&6; }
29029 ac_wxgtk26=0
29030
29031 fi
29032
29033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29034 fi
29035
29036 CFLAGS="$save_CFLAGS"
29037 LIBS="$save_LIBS"
29038 else
29039 if test "$wxUSE_UNICODE" = "yes"; then
29040 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29041 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29042 wxUSE_UNICODE=no
29043 fi
29044
29045 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29046 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29047 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29048 echo $ECHO_N "(cached) $ECHO_C" >&6
29049 else
29050 ac_check_lib_save_LIBS=$LIBS
29051 LIBS="-lgdk $LIBS"
29052 cat >conftest.$ac_ext <<_ACEOF
29053 /* confdefs.h. */
29054 _ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29058
29059 /* Override any GCC internal prototype to avoid an error.
29060 Use char because int might match the return type of a GCC
29061 builtin and then its argument prototype would still apply. */
29062 #ifdef __cplusplus
29063 extern "C"
29064 #endif
29065 char gdk_im_open ();
29066 int
29067 main ()
29068 {
29069 return gdk_im_open ();
29070 ;
29071 return 0;
29072 }
29073 _ACEOF
29074 rm -f conftest.$ac_objext conftest$ac_exeext
29075 if { (ac_try="$ac_link"
29076 case "(($ac_try" in
29077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29078 *) ac_try_echo=$ac_try;;
29079 esac
29080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_link") 2>conftest.er1
29082 ac_status=$?
29083 grep -v '^ *+' conftest.er1 >conftest.err
29084 rm -f conftest.er1
29085 cat conftest.err >&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } && {
29088 test -z "$ac_c_werror_flag" ||
29089 test ! -s conftest.err
29090 } && test -s conftest$ac_exeext &&
29091 $as_test_x conftest$ac_exeext; then
29092 ac_cv_lib_gdk_gdk_im_open=yes
29093 else
29094 echo "$as_me: failed program was:" >&5
29095 sed 's/^/| /' conftest.$ac_ext >&5
29096
29097 ac_cv_lib_gdk_gdk_im_open=no
29098 fi
29099
29100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29101 conftest$ac_exeext conftest.$ac_ext
29102 LIBS=$ac_check_lib_save_LIBS
29103 fi
29104 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29105 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29106 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29107 cat >>confdefs.h <<\_ACEOF
29108 #define HAVE_XIM 1
29109 _ACEOF
29110
29111 fi
29112
29113
29114 if test "$USE_DARWIN" != 1; then
29115
29116 for ac_func in poll
29117 do
29118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29122 echo $ECHO_N "(cached) $ECHO_C" >&6
29123 else
29124 cat >conftest.$ac_ext <<_ACEOF
29125 /* confdefs.h. */
29126 _ACEOF
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29132 #define $ac_func innocuous_$ac_func
29133
29134 /* System header to define __stub macros and hopefully few prototypes,
29135 which can conflict with char $ac_func (); below.
29136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29137 <limits.h> exists even on freestanding compilers. */
29138
29139 #ifdef __STDC__
29140 # include <limits.h>
29141 #else
29142 # include <assert.h>
29143 #endif
29144
29145 #undef $ac_func
29146
29147 /* Override any GCC internal prototype to avoid an error.
29148 Use char because int might match the return type of a GCC
29149 builtin and then its argument prototype would still apply. */
29150 #ifdef __cplusplus
29151 extern "C"
29152 #endif
29153 char $ac_func ();
29154 /* The GNU C library defines this for functions which it implements
29155 to always fail with ENOSYS. Some functions are actually named
29156 something starting with __ and the normal name is an alias. */
29157 #if defined __stub_$ac_func || defined __stub___$ac_func
29158 choke me
29159 #endif
29160
29161 int
29162 main ()
29163 {
29164 return $ac_func ();
29165 ;
29166 return 0;
29167 }
29168 _ACEOF
29169 rm -f conftest.$ac_objext conftest$ac_exeext
29170 if { (ac_try="$ac_link"
29171 case "(($ac_try" in
29172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29173 *) ac_try_echo=$ac_try;;
29174 esac
29175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29176 (eval "$ac_link") 2>conftest.er1
29177 ac_status=$?
29178 grep -v '^ *+' conftest.er1 >conftest.err
29179 rm -f conftest.er1
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } && {
29183 test -z "$ac_c_werror_flag" ||
29184 test ! -s conftest.err
29185 } && test -s conftest$ac_exeext &&
29186 $as_test_x conftest$ac_exeext; then
29187 eval "$as_ac_var=yes"
29188 else
29189 echo "$as_me: failed program was:" >&5
29190 sed 's/^/| /' conftest.$ac_ext >&5
29191
29192 eval "$as_ac_var=no"
29193 fi
29194
29195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29196 conftest$ac_exeext conftest.$ac_ext
29197 fi
29198 ac_res=`eval echo '${'$as_ac_var'}'`
29199 { echo "$as_me:$LINENO: result: $ac_res" >&5
29200 echo "${ECHO_T}$ac_res" >&6; }
29201 if test `eval echo '${'$as_ac_var'}'` = yes; then
29202 cat >>confdefs.h <<_ACEOF
29203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29204 _ACEOF
29205
29206 fi
29207 done
29208
29209 fi
29210 fi
29211
29212 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29213 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29214
29215 AFMINSTALL=afminstall
29216 TOOLKIT=GTK
29217 GUIDIST=GTK_DIST
29218
29219 if test "$wxUSE_GPE" = "yes"; then
29220 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29221 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29222
29223 ac_find_libraries=
29224 for ac_dir in $SEARCH_LIB;
29225 do
29226 for ac_extension in a so sl dylib dll.a; do
29227 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29228 ac_find_libraries=$ac_dir
29229 break 2
29230 fi
29231 done
29232 done
29233
29234 if test "$ac_find_libraries" != "" ; then
29235
29236 if test "$ac_find_libraries" = "default location"; then
29237 ac_path_to_link=""
29238 else
29239 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29240 result=$?
29241 if test $result = 0; then
29242 ac_path_to_link=""
29243 else
29244 ac_path_to_link=" -L$ac_find_libraries"
29245 fi
29246 fi
29247
29248 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29249 WXGPE=1
29250 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29251 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29252 else
29253 { echo "$as_me:$LINENO: result: not found" >&5
29254 echo "${ECHO_T}not found" >&6; }
29255 fi
29256
29257 fi
29258 fi
29259
29260 if test "$wxUSE_MGL" = 1; then
29261 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29262 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29263 if test "x$MGL_ROOT" = x ; then
29264 { echo "$as_me:$LINENO: result: not found" >&5
29265 echo "${ECHO_T}not found" >&6; }
29266 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29267 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29268 { (exit 1); exit 1; }; }
29269 else
29270 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29271 echo "${ECHO_T}$MGL_ROOT" >&6; }
29272 fi
29273
29274 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29275 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29276 case "${host}" in
29277 *-*-linux* )
29278 if test "x$wxUSE_SHARED" = xyes ; then
29279 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29280 else
29281 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29282 fi
29283 ;;
29284 *-pc-msdosdjgpp )
29285 mgl_os_candidates="dos32/dj2"
29286 ;;
29287 *)
29288 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29289 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29290 { (exit 1); exit 1; }; }
29291 esac
29292
29293 mgl_lib_type=""
29294 mgl_os=""
29295
29296 for mgl_os_i in $mgl_os_candidates ; do
29297 if test "x$mgl_os" = x ; then
29298 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29299 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29300 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29301 mgl_lib_type=debug
29302 mgl_os=$mgl_os_i
29303 fi
29304 fi
29305 if test "x$mgl_lib_type" = x ; then
29306 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29307 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29308 mgl_lib_type=release
29309 mgl_os=$mgl_os_i
29310 fi
29311 fi
29312 fi
29313 done
29314
29315 if test "x$mgl_os" = x ; then
29316 { echo "$as_me:$LINENO: result: not found" >&5
29317 echo "${ECHO_T}not found" >&6; }
29318 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29319 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29320 { (exit 1); exit 1; }; }
29321 fi
29322 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29323 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29324
29325 wxUSE_UNIVERSAL="yes"
29326
29327 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29328 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29329
29330 AFMINSTALL=afminstall
29331 TOOLKIT=MGL
29332 GUIDIST=MGL_DIST
29333 fi
29334
29335 if test "$wxUSE_DFB" = 1; then
29336
29337
29338 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29339 if test -n "$ac_tool_prefix"; then
29340 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29341 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29344 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29345 echo $ECHO_N "(cached) $ECHO_C" >&6
29346 else
29347 case $PKG_CONFIG in
29348 [\\/]* | ?:[\\/]*)
29349 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29350 ;;
29351 *)
29352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29353 for as_dir in $PATH
29354 do
29355 IFS=$as_save_IFS
29356 test -z "$as_dir" && as_dir=.
29357 for ac_exec_ext in '' $ac_executable_extensions; do
29358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29359 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29361 break 2
29362 fi
29363 done
29364 done
29365 IFS=$as_save_IFS
29366
29367 ;;
29368 esac
29369 fi
29370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29371 if test -n "$PKG_CONFIG"; then
29372 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29373 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29374 else
29375 { echo "$as_me:$LINENO: result: no" >&5
29376 echo "${ECHO_T}no" >&6; }
29377 fi
29378
29379
29380 fi
29381 if test -z "$ac_cv_path_PKG_CONFIG"; then
29382 ac_pt_PKG_CONFIG=$PKG_CONFIG
29383 # Extract the first word of "pkg-config", so it can be a program name with args.
29384 set dummy pkg-config; ac_word=$2
29385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29387 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29388 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 else
29390 case $ac_pt_PKG_CONFIG in
29391 [\\/]* | ?:[\\/]*)
29392 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29393 ;;
29394 *)
29395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29396 for as_dir in $PATH
29397 do
29398 IFS=$as_save_IFS
29399 test -z "$as_dir" && as_dir=.
29400 for ac_exec_ext in '' $ac_executable_extensions; do
29401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29402 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29404 break 2
29405 fi
29406 done
29407 done
29408 IFS=$as_save_IFS
29409
29410 ;;
29411 esac
29412 fi
29413 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29414 if test -n "$ac_pt_PKG_CONFIG"; then
29415 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29416 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29417 else
29418 { echo "$as_me:$LINENO: result: no" >&5
29419 echo "${ECHO_T}no" >&6; }
29420 fi
29421
29422 if test "x$ac_pt_PKG_CONFIG" = x; then
29423 PKG_CONFIG=""
29424 else
29425 case $cross_compiling:$ac_tool_warned in
29426 yes:)
29427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29428 whose name does not start with the host triplet. If you think this
29429 configuration is useful to you, please write to autoconf@gnu.org." >&5
29430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29431 whose name does not start with the host triplet. If you think this
29432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29433 ac_tool_warned=yes ;;
29434 esac
29435 PKG_CONFIG=$ac_pt_PKG_CONFIG
29436 fi
29437 else
29438 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29439 fi
29440
29441 fi
29442 if test -n "$PKG_CONFIG"; then
29443 _pkg_min_version=0.9.0
29444 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29445 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29446 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29447 { echo "$as_me:$LINENO: result: yes" >&5
29448 echo "${ECHO_T}yes" >&6; }
29449 else
29450 { echo "$as_me:$LINENO: result: no" >&5
29451 echo "${ECHO_T}no" >&6; }
29452 PKG_CONFIG=""
29453 fi
29454
29455 fi
29456
29457
29458 pkg_failed=no
29459 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29460 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29461
29462 if test -n "$PKG_CONFIG"; then
29463 if test -n "$DIRECTFB_CFLAGS"; then
29464 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29465 else
29466 if test -n "$PKG_CONFIG" && \
29467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29468 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29469 ac_status=$?
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; then
29472 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29473 else
29474 pkg_failed=yes
29475 fi
29476 fi
29477 else
29478 pkg_failed=untried
29479 fi
29480 if test -n "$PKG_CONFIG"; then
29481 if test -n "$DIRECTFB_LIBS"; then
29482 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29483 else
29484 if test -n "$PKG_CONFIG" && \
29485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29486 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29487 ac_status=$?
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; then
29490 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29491 else
29492 pkg_failed=yes
29493 fi
29494 fi
29495 else
29496 pkg_failed=untried
29497 fi
29498
29499
29500
29501 if test $pkg_failed = yes; then
29502
29503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29504 _pkg_short_errors_supported=yes
29505 else
29506 _pkg_short_errors_supported=no
29507 fi
29508 if test $_pkg_short_errors_supported = yes; then
29509 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29510 else
29511 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29512 fi
29513 # Put the nasty error message in config.log where it belongs
29514 echo "$DIRECTFB_PKG_ERRORS" >&5
29515
29516
29517 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29518 echo "$as_me: error: DirectFB not found." >&2;}
29519 { (exit 1); exit 1; }; }
29520
29521
29522 elif test $pkg_failed = untried; then
29523
29524 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29525 echo "$as_me: error: DirectFB not found." >&2;}
29526 { (exit 1); exit 1; }; }
29527
29528
29529 else
29530 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29531 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29532 { echo "$as_me:$LINENO: result: yes" >&5
29533 echo "${ECHO_T}yes" >&6; }
29534
29535 wxUSE_UNIVERSAL="yes"
29536 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29537 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29538 TOOLKIT=DFB
29539 GUIDIST=DFB_DIST
29540
29541 fi
29542 fi
29543
29544 if test "$wxUSE_MICROWIN" = 1; then
29545 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29546 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29547 if test "x$MICROWINDOWS" = x ; then
29548 { echo "$as_me:$LINENO: result: not found" >&5
29549 echo "${ECHO_T}not found" >&6; }
29550 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29551 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29552 { (exit 1); exit 1; }; }
29553 else
29554 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29555 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29556 fi
29557
29558 if test -f $MICROWINDOWS/lib/libmwin.a; then
29559 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29560 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29561 else
29562 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29563 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29564 { (exit 1); exit 1; }; }
29565 fi
29566
29567 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29568 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29569
29570 wxUSE_UNIVERSAL="yes"
29571
29572 AFMINSTALL=afminstall
29573 TOOLKIT=MICROWIN
29574 GUIDIST=MICROWIN_DIST
29575
29576 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29577 fi
29578
29579 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29580 { echo "$as_me:$LINENO: checking for X" >&5
29581 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29582
29583
29584 # Check whether --with-x was given.
29585 if test "${with_x+set}" = set; then
29586 withval=$with_x;
29587 fi
29588
29589 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29590 if test "x$with_x" = xno; then
29591 # The user explicitly disabled X.
29592 have_x=disabled
29593 else
29594 case $x_includes,$x_libraries in #(
29595 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29596 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29597 { (exit 1); exit 1; }; };; #(
29598 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29600 else
29601 # One or both of the vars are not set, and there is no cached value.
29602 ac_x_includes=no ac_x_libraries=no
29603 rm -f -r conftest.dir
29604 if mkdir conftest.dir; then
29605 cd conftest.dir
29606 cat >Imakefile <<'_ACEOF'
29607 incroot:
29608 @echo incroot='${INCROOT}'
29609 usrlibdir:
29610 @echo usrlibdir='${USRLIBDIR}'
29611 libdir:
29612 @echo libdir='${LIBDIR}'
29613 _ACEOF
29614 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29615 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29616 for ac_var in incroot usrlibdir libdir; do
29617 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29618 done
29619 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29620 for ac_extension in a so sl; do
29621 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29622 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29623 ac_im_usrlibdir=$ac_im_libdir; break
29624 fi
29625 done
29626 # Screen out bogus values from the imake configuration. They are
29627 # bogus both because they are the default anyway, and because
29628 # using them would break gcc on systems where it needs fixed includes.
29629 case $ac_im_incroot in
29630 /usr/include) ac_x_includes= ;;
29631 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29632 esac
29633 case $ac_im_usrlibdir in
29634 /usr/lib | /lib) ;;
29635 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29636 esac
29637 fi
29638 cd ..
29639 rm -f -r conftest.dir
29640 fi
29641
29642 # Standard set of common directories for X headers.
29643 # Check X11 before X11Rn because it is often a symlink to the current release.
29644 ac_x_header_dirs='
29645 /usr/X11/include
29646 /usr/X11R6/include
29647 /usr/X11R5/include
29648 /usr/X11R4/include
29649
29650 /usr/include/X11
29651 /usr/include/X11R6
29652 /usr/include/X11R5
29653 /usr/include/X11R4
29654
29655 /usr/local/X11/include
29656 /usr/local/X11R6/include
29657 /usr/local/X11R5/include
29658 /usr/local/X11R4/include
29659
29660 /usr/local/include/X11
29661 /usr/local/include/X11R6
29662 /usr/local/include/X11R5
29663 /usr/local/include/X11R4
29664
29665 /usr/X386/include
29666 /usr/x386/include
29667 /usr/XFree86/include/X11
29668
29669 /usr/include
29670 /usr/local/include
29671 /usr/unsupported/include
29672 /usr/athena/include
29673 /usr/local/x11r5/include
29674 /usr/lpp/Xamples/include
29675
29676 /usr/openwin/include
29677 /usr/openwin/share/include'
29678
29679 if test "$ac_x_includes" = no; then
29680 # Guess where to find include files, by looking for Xlib.h.
29681 # First, try using that file with no special directory specified.
29682 cat >conftest.$ac_ext <<_ACEOF
29683 /* confdefs.h. */
29684 _ACEOF
29685 cat confdefs.h >>conftest.$ac_ext
29686 cat >>conftest.$ac_ext <<_ACEOF
29687 /* end confdefs.h. */
29688 #include <X11/Xlib.h>
29689 _ACEOF
29690 if { (ac_try="$ac_cpp conftest.$ac_ext"
29691 case "(($ac_try" in
29692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29693 *) ac_try_echo=$ac_try;;
29694 esac
29695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29697 ac_status=$?
29698 grep -v '^ *+' conftest.er1 >conftest.err
29699 rm -f conftest.er1
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } >/dev/null && {
29703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29704 test ! -s conftest.err
29705 }; then
29706 # We can compile using X headers with no special include directory.
29707 ac_x_includes=
29708 else
29709 echo "$as_me: failed program was:" >&5
29710 sed 's/^/| /' conftest.$ac_ext >&5
29711
29712 for ac_dir in $ac_x_header_dirs; do
29713 if test -r "$ac_dir/X11/Xlib.h"; then
29714 ac_x_includes=$ac_dir
29715 break
29716 fi
29717 done
29718 fi
29719
29720 rm -f conftest.err conftest.$ac_ext
29721 fi # $ac_x_includes = no
29722
29723 if test "$ac_x_libraries" = no; then
29724 # Check for the libraries.
29725 # See if we find them without any special options.
29726 # Don't add to $LIBS permanently.
29727 ac_save_LIBS=$LIBS
29728 LIBS="-lX11 $LIBS"
29729 cat >conftest.$ac_ext <<_ACEOF
29730 /* confdefs.h. */
29731 _ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735 #include <X11/Xlib.h>
29736 int
29737 main ()
29738 {
29739 XrmInitialize ()
29740 ;
29741 return 0;
29742 }
29743 _ACEOF
29744 rm -f conftest.$ac_objext conftest$ac_exeext
29745 if { (ac_try="$ac_link"
29746 case "(($ac_try" in
29747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29748 *) ac_try_echo=$ac_try;;
29749 esac
29750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751 (eval "$ac_link") 2>conftest.er1
29752 ac_status=$?
29753 grep -v '^ *+' conftest.er1 >conftest.err
29754 rm -f conftest.er1
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } && {
29758 test -z "$ac_c_werror_flag" ||
29759 test ! -s conftest.err
29760 } && test -s conftest$ac_exeext &&
29761 $as_test_x conftest$ac_exeext; then
29762 LIBS=$ac_save_LIBS
29763 # We can link X programs with no special library path.
29764 ac_x_libraries=
29765 else
29766 echo "$as_me: failed program was:" >&5
29767 sed 's/^/| /' conftest.$ac_ext >&5
29768
29769 LIBS=$ac_save_LIBS
29770 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29771 do
29772 # Don't even attempt the hair of trying to link an X program!
29773 for ac_extension in a so sl; do
29774 if test -r "$ac_dir/libX11.$ac_extension"; then
29775 ac_x_libraries=$ac_dir
29776 break 2
29777 fi
29778 done
29779 done
29780 fi
29781
29782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29783 conftest$ac_exeext conftest.$ac_ext
29784 fi # $ac_x_libraries = no
29785
29786 case $ac_x_includes,$ac_x_libraries in #(
29787 no,* | *,no | *\'*)
29788 # Didn't find X, or a directory has "'" in its name.
29789 ac_cv_have_x="have_x=no";; #(
29790 *)
29791 # Record where we found X for the cache.
29792 ac_cv_have_x="have_x=yes\
29793 ac_x_includes='$ac_x_includes'\
29794 ac_x_libraries='$ac_x_libraries'"
29795 esac
29796 fi
29797 ;; #(
29798 *) have_x=yes;;
29799 esac
29800 eval "$ac_cv_have_x"
29801 fi # $with_x != no
29802
29803 if test "$have_x" != yes; then
29804 { echo "$as_me:$LINENO: result: $have_x" >&5
29805 echo "${ECHO_T}$have_x" >&6; }
29806 no_x=yes
29807 else
29808 # If each of the values was on the command line, it overrides each guess.
29809 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29810 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29811 # Update the cache value to reflect the command line values.
29812 ac_cv_have_x="have_x=yes\
29813 ac_x_includes='$x_includes'\
29814 ac_x_libraries='$x_libraries'"
29815 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29816 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29817 fi
29818
29819 if test "$no_x" = yes; then
29820 # Not all programs may use this symbol, but it does not hurt to define it.
29821
29822 cat >>confdefs.h <<\_ACEOF
29823 #define X_DISPLAY_MISSING 1
29824 _ACEOF
29825
29826 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29827 else
29828 if test -n "$x_includes"; then
29829 X_CFLAGS="$X_CFLAGS -I$x_includes"
29830 fi
29831
29832 # It would also be nice to do this for all -L options, not just this one.
29833 if test -n "$x_libraries"; then
29834 X_LIBS="$X_LIBS -L$x_libraries"
29835 # For Solaris; some versions of Sun CC require a space after -R and
29836 # others require no space. Words are not sufficient . . . .
29837 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29838 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29839 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29840 ac_xsave_c_werror_flag=$ac_c_werror_flag
29841 ac_c_werror_flag=yes
29842 cat >conftest.$ac_ext <<_ACEOF
29843 /* confdefs.h. */
29844 _ACEOF
29845 cat confdefs.h >>conftest.$ac_ext
29846 cat >>conftest.$ac_ext <<_ACEOF
29847 /* end confdefs.h. */
29848
29849 int
29850 main ()
29851 {
29852
29853 ;
29854 return 0;
29855 }
29856 _ACEOF
29857 rm -f conftest.$ac_objext conftest$ac_exeext
29858 if { (ac_try="$ac_link"
29859 case "(($ac_try" in
29860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29861 *) ac_try_echo=$ac_try;;
29862 esac
29863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864 (eval "$ac_link") 2>conftest.er1
29865 ac_status=$?
29866 grep -v '^ *+' conftest.er1 >conftest.err
29867 rm -f conftest.er1
29868 cat conftest.err >&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); } && {
29871 test -z "$ac_c_werror_flag" ||
29872 test ! -s conftest.err
29873 } && test -s conftest$ac_exeext &&
29874 $as_test_x conftest$ac_exeext; then
29875 { echo "$as_me:$LINENO: result: no" >&5
29876 echo "${ECHO_T}no" >&6; }
29877 X_LIBS="$X_LIBS -R$x_libraries"
29878 else
29879 echo "$as_me: failed program was:" >&5
29880 sed 's/^/| /' conftest.$ac_ext >&5
29881
29882 LIBS="$ac_xsave_LIBS -R $x_libraries"
29883 cat >conftest.$ac_ext <<_ACEOF
29884 /* confdefs.h. */
29885 _ACEOF
29886 cat confdefs.h >>conftest.$ac_ext
29887 cat >>conftest.$ac_ext <<_ACEOF
29888 /* end confdefs.h. */
29889
29890 int
29891 main ()
29892 {
29893
29894 ;
29895 return 0;
29896 }
29897 _ACEOF
29898 rm -f conftest.$ac_objext conftest$ac_exeext
29899 if { (ac_try="$ac_link"
29900 case "(($ac_try" in
29901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29902 *) ac_try_echo=$ac_try;;
29903 esac
29904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29905 (eval "$ac_link") 2>conftest.er1
29906 ac_status=$?
29907 grep -v '^ *+' conftest.er1 >conftest.err
29908 rm -f conftest.er1
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } && {
29912 test -z "$ac_c_werror_flag" ||
29913 test ! -s conftest.err
29914 } && test -s conftest$ac_exeext &&
29915 $as_test_x conftest$ac_exeext; then
29916 { echo "$as_me:$LINENO: result: yes" >&5
29917 echo "${ECHO_T}yes" >&6; }
29918 X_LIBS="$X_LIBS -R $x_libraries"
29919 else
29920 echo "$as_me: failed program was:" >&5
29921 sed 's/^/| /' conftest.$ac_ext >&5
29922
29923 { echo "$as_me:$LINENO: result: neither works" >&5
29924 echo "${ECHO_T}neither works" >&6; }
29925 fi
29926
29927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29928 conftest$ac_exeext conftest.$ac_ext
29929 fi
29930
29931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29932 conftest$ac_exeext conftest.$ac_ext
29933 ac_c_werror_flag=$ac_xsave_c_werror_flag
29934 LIBS=$ac_xsave_LIBS
29935 fi
29936
29937 # Check for system-dependent libraries X programs must link with.
29938 # Do this before checking for the system-independent R6 libraries
29939 # (-lICE), since we may need -lsocket or whatever for X linking.
29940
29941 if test "$ISC" = yes; then
29942 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29943 else
29944 # Martyn Johnson says this is needed for Ultrix, if the X
29945 # libraries were built with DECnet support. And Karl Berry says
29946 # the Alpha needs dnet_stub (dnet does not exist).
29947 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29948 cat >conftest.$ac_ext <<_ACEOF
29949 /* confdefs.h. */
29950 _ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29954
29955 /* Override any GCC internal prototype to avoid an error.
29956 Use char because int might match the return type of a GCC
29957 builtin and then its argument prototype would still apply. */
29958 #ifdef __cplusplus
29959 extern "C"
29960 #endif
29961 char XOpenDisplay ();
29962 int
29963 main ()
29964 {
29965 return XOpenDisplay ();
29966 ;
29967 return 0;
29968 }
29969 _ACEOF
29970 rm -f conftest.$ac_objext conftest$ac_exeext
29971 if { (ac_try="$ac_link"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29974 *) ac_try_echo=$ac_try;;
29975 esac
29976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_link") 2>conftest.er1
29978 ac_status=$?
29979 grep -v '^ *+' conftest.er1 >conftest.err
29980 rm -f conftest.er1
29981 cat conftest.err >&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } && {
29984 test -z "$ac_c_werror_flag" ||
29985 test ! -s conftest.err
29986 } && test -s conftest$ac_exeext &&
29987 $as_test_x conftest$ac_exeext; then
29988 :
29989 else
29990 echo "$as_me: failed program was:" >&5
29991 sed 's/^/| /' conftest.$ac_ext >&5
29992
29993 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29994 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29995 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29996 echo $ECHO_N "(cached) $ECHO_C" >&6
29997 else
29998 ac_check_lib_save_LIBS=$LIBS
29999 LIBS="-ldnet $LIBS"
30000 cat >conftest.$ac_ext <<_ACEOF
30001 /* confdefs.h. */
30002 _ACEOF
30003 cat confdefs.h >>conftest.$ac_ext
30004 cat >>conftest.$ac_ext <<_ACEOF
30005 /* end confdefs.h. */
30006
30007 /* Override any GCC internal prototype to avoid an error.
30008 Use char because int might match the return type of a GCC
30009 builtin and then its argument prototype would still apply. */
30010 #ifdef __cplusplus
30011 extern "C"
30012 #endif
30013 char dnet_ntoa ();
30014 int
30015 main ()
30016 {
30017 return dnet_ntoa ();
30018 ;
30019 return 0;
30020 }
30021 _ACEOF
30022 rm -f conftest.$ac_objext conftest$ac_exeext
30023 if { (ac_try="$ac_link"
30024 case "(($ac_try" in
30025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30026 *) ac_try_echo=$ac_try;;
30027 esac
30028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30029 (eval "$ac_link") 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } && {
30036 test -z "$ac_c_werror_flag" ||
30037 test ! -s conftest.err
30038 } && test -s conftest$ac_exeext &&
30039 $as_test_x conftest$ac_exeext; then
30040 ac_cv_lib_dnet_dnet_ntoa=yes
30041 else
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30044
30045 ac_cv_lib_dnet_dnet_ntoa=no
30046 fi
30047
30048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30049 conftest$ac_exeext conftest.$ac_ext
30050 LIBS=$ac_check_lib_save_LIBS
30051 fi
30052 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30053 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30054 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30055 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30056 fi
30057
30058 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30059 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30060 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30061 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 ac_check_lib_save_LIBS=$LIBS
30065 LIBS="-ldnet_stub $LIBS"
30066 cat >conftest.$ac_ext <<_ACEOF
30067 /* confdefs.h. */
30068 _ACEOF
30069 cat confdefs.h >>conftest.$ac_ext
30070 cat >>conftest.$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072
30073 /* Override any GCC internal prototype to avoid an error.
30074 Use char because int might match the return type of a GCC
30075 builtin and then its argument prototype would still apply. */
30076 #ifdef __cplusplus
30077 extern "C"
30078 #endif
30079 char dnet_ntoa ();
30080 int
30081 main ()
30082 {
30083 return dnet_ntoa ();
30084 ;
30085 return 0;
30086 }
30087 _ACEOF
30088 rm -f conftest.$ac_objext conftest$ac_exeext
30089 if { (ac_try="$ac_link"
30090 case "(($ac_try" in
30091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30092 *) ac_try_echo=$ac_try;;
30093 esac
30094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30095 (eval "$ac_link") 2>conftest.er1
30096 ac_status=$?
30097 grep -v '^ *+' conftest.er1 >conftest.err
30098 rm -f conftest.er1
30099 cat conftest.err >&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } && {
30102 test -z "$ac_c_werror_flag" ||
30103 test ! -s conftest.err
30104 } && test -s conftest$ac_exeext &&
30105 $as_test_x conftest$ac_exeext; then
30106 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30107 else
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.$ac_ext >&5
30110
30111 ac_cv_lib_dnet_stub_dnet_ntoa=no
30112 fi
30113
30114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30115 conftest$ac_exeext conftest.$ac_ext
30116 LIBS=$ac_check_lib_save_LIBS
30117 fi
30118 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30119 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30120 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30121 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30122 fi
30123
30124 fi
30125 fi
30126
30127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30128 conftest$ac_exeext conftest.$ac_ext
30129 LIBS="$ac_xsave_LIBS"
30130
30131 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30132 # to get the SysV transport functions.
30133 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30134 # needs -lnsl.
30135 # The nsl library prevents programs from opening the X display
30136 # on Irix 5.2, according to T.E. Dickey.
30137 # The functions gethostbyname, getservbyname, and inet_addr are
30138 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30139 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30140 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30141 if test "${ac_cv_func_gethostbyname+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 else
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30152 #define gethostbyname innocuous_gethostbyname
30153
30154 /* System header to define __stub macros and hopefully few prototypes,
30155 which can conflict with char gethostbyname (); below.
30156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30157 <limits.h> exists even on freestanding compilers. */
30158
30159 #ifdef __STDC__
30160 # include <limits.h>
30161 #else
30162 # include <assert.h>
30163 #endif
30164
30165 #undef gethostbyname
30166
30167 /* Override any GCC internal prototype to avoid an error.
30168 Use char because int might match the return type of a GCC
30169 builtin and then its argument prototype would still apply. */
30170 #ifdef __cplusplus
30171 extern "C"
30172 #endif
30173 char gethostbyname ();
30174 /* The GNU C library defines this for functions which it implements
30175 to always fail with ENOSYS. Some functions are actually named
30176 something starting with __ and the normal name is an alias. */
30177 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30178 choke me
30179 #endif
30180
30181 int
30182 main ()
30183 {
30184 return gethostbyname ();
30185 ;
30186 return 0;
30187 }
30188 _ACEOF
30189 rm -f conftest.$ac_objext conftest$ac_exeext
30190 if { (ac_try="$ac_link"
30191 case "(($ac_try" in
30192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30193 *) ac_try_echo=$ac_try;;
30194 esac
30195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30196 (eval "$ac_link") 2>conftest.er1
30197 ac_status=$?
30198 grep -v '^ *+' conftest.er1 >conftest.err
30199 rm -f conftest.er1
30200 cat conftest.err >&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); } && {
30203 test -z "$ac_c_werror_flag" ||
30204 test ! -s conftest.err
30205 } && test -s conftest$ac_exeext &&
30206 $as_test_x conftest$ac_exeext; then
30207 ac_cv_func_gethostbyname=yes
30208 else
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.$ac_ext >&5
30211
30212 ac_cv_func_gethostbyname=no
30213 fi
30214
30215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30216 conftest$ac_exeext conftest.$ac_ext
30217 fi
30218 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30219 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30220
30221 if test $ac_cv_func_gethostbyname = no; then
30222 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30223 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30224 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30225 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 else
30227 ac_check_lib_save_LIBS=$LIBS
30228 LIBS="-lnsl $LIBS"
30229 cat >conftest.$ac_ext <<_ACEOF
30230 /* confdefs.h. */
30231 _ACEOF
30232 cat confdefs.h >>conftest.$ac_ext
30233 cat >>conftest.$ac_ext <<_ACEOF
30234 /* end confdefs.h. */
30235
30236 /* Override any GCC internal prototype to avoid an error.
30237 Use char because int might match the return type of a GCC
30238 builtin and then its argument prototype would still apply. */
30239 #ifdef __cplusplus
30240 extern "C"
30241 #endif
30242 char gethostbyname ();
30243 int
30244 main ()
30245 {
30246 return gethostbyname ();
30247 ;
30248 return 0;
30249 }
30250 _ACEOF
30251 rm -f conftest.$ac_objext conftest$ac_exeext
30252 if { (ac_try="$ac_link"
30253 case "(($ac_try" in
30254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30255 *) ac_try_echo=$ac_try;;
30256 esac
30257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30258 (eval "$ac_link") 2>conftest.er1
30259 ac_status=$?
30260 grep -v '^ *+' conftest.er1 >conftest.err
30261 rm -f conftest.er1
30262 cat conftest.err >&5
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); } && {
30265 test -z "$ac_c_werror_flag" ||
30266 test ! -s conftest.err
30267 } && test -s conftest$ac_exeext &&
30268 $as_test_x conftest$ac_exeext; then
30269 ac_cv_lib_nsl_gethostbyname=yes
30270 else
30271 echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.$ac_ext >&5
30273
30274 ac_cv_lib_nsl_gethostbyname=no
30275 fi
30276
30277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30278 conftest$ac_exeext conftest.$ac_ext
30279 LIBS=$ac_check_lib_save_LIBS
30280 fi
30281 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30284 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30285 fi
30286
30287 if test $ac_cv_lib_nsl_gethostbyname = no; then
30288 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30289 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30290 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 else
30293 ac_check_lib_save_LIBS=$LIBS
30294 LIBS="-lbsd $LIBS"
30295 cat >conftest.$ac_ext <<_ACEOF
30296 /* confdefs.h. */
30297 _ACEOF
30298 cat confdefs.h >>conftest.$ac_ext
30299 cat >>conftest.$ac_ext <<_ACEOF
30300 /* end confdefs.h. */
30301
30302 /* Override any GCC internal prototype to avoid an error.
30303 Use char because int might match the return type of a GCC
30304 builtin and then its argument prototype would still apply. */
30305 #ifdef __cplusplus
30306 extern "C"
30307 #endif
30308 char gethostbyname ();
30309 int
30310 main ()
30311 {
30312 return gethostbyname ();
30313 ;
30314 return 0;
30315 }
30316 _ACEOF
30317 rm -f conftest.$ac_objext conftest$ac_exeext
30318 if { (ac_try="$ac_link"
30319 case "(($ac_try" in
30320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30321 *) ac_try_echo=$ac_try;;
30322 esac
30323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30324 (eval "$ac_link") 2>conftest.er1
30325 ac_status=$?
30326 grep -v '^ *+' conftest.er1 >conftest.err
30327 rm -f conftest.er1
30328 cat conftest.err >&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); } && {
30331 test -z "$ac_c_werror_flag" ||
30332 test ! -s conftest.err
30333 } && test -s conftest$ac_exeext &&
30334 $as_test_x conftest$ac_exeext; then
30335 ac_cv_lib_bsd_gethostbyname=yes
30336 else
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30339
30340 ac_cv_lib_bsd_gethostbyname=no
30341 fi
30342
30343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30344 conftest$ac_exeext conftest.$ac_ext
30345 LIBS=$ac_check_lib_save_LIBS
30346 fi
30347 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30348 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30349 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30350 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30351 fi
30352
30353 fi
30354 fi
30355
30356 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30357 # socket/setsockopt and other routines are undefined under SCO ODT
30358 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30359 # on later versions), says Simon Leinen: it contains gethostby*
30360 # variants that don't use the name server (or something). -lsocket
30361 # must be given before -lnsl if both are needed. We assume that
30362 # if connect needs -lnsl, so does gethostbyname.
30363 { echo "$as_me:$LINENO: checking for connect" >&5
30364 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30365 if test "${ac_cv_func_connect+set}" = set; then
30366 echo $ECHO_N "(cached) $ECHO_C" >&6
30367 else
30368 cat >conftest.$ac_ext <<_ACEOF
30369 /* confdefs.h. */
30370 _ACEOF
30371 cat confdefs.h >>conftest.$ac_ext
30372 cat >>conftest.$ac_ext <<_ACEOF
30373 /* end confdefs.h. */
30374 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30376 #define connect innocuous_connect
30377
30378 /* System header to define __stub macros and hopefully few prototypes,
30379 which can conflict with char connect (); below.
30380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30381 <limits.h> exists even on freestanding compilers. */
30382
30383 #ifdef __STDC__
30384 # include <limits.h>
30385 #else
30386 # include <assert.h>
30387 #endif
30388
30389 #undef connect
30390
30391 /* Override any GCC internal prototype to avoid an error.
30392 Use char because int might match the return type of a GCC
30393 builtin and then its argument prototype would still apply. */
30394 #ifdef __cplusplus
30395 extern "C"
30396 #endif
30397 char connect ();
30398 /* The GNU C library defines this for functions which it implements
30399 to always fail with ENOSYS. Some functions are actually named
30400 something starting with __ and the normal name is an alias. */
30401 #if defined __stub_connect || defined __stub___connect
30402 choke me
30403 #endif
30404
30405 int
30406 main ()
30407 {
30408 return connect ();
30409 ;
30410 return 0;
30411 }
30412 _ACEOF
30413 rm -f conftest.$ac_objext conftest$ac_exeext
30414 if { (ac_try="$ac_link"
30415 case "(($ac_try" in
30416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30417 *) ac_try_echo=$ac_try;;
30418 esac
30419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30420 (eval "$ac_link") 2>conftest.er1
30421 ac_status=$?
30422 grep -v '^ *+' conftest.er1 >conftest.err
30423 rm -f conftest.er1
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } && {
30427 test -z "$ac_c_werror_flag" ||
30428 test ! -s conftest.err
30429 } && test -s conftest$ac_exeext &&
30430 $as_test_x conftest$ac_exeext; then
30431 ac_cv_func_connect=yes
30432 else
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30435
30436 ac_cv_func_connect=no
30437 fi
30438
30439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30440 conftest$ac_exeext conftest.$ac_ext
30441 fi
30442 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30443 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30444
30445 if test $ac_cv_func_connect = no; then
30446 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30447 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30448 if test "${ac_cv_lib_socket_connect+set}" = set; then
30449 echo $ECHO_N "(cached) $ECHO_C" >&6
30450 else
30451 ac_check_lib_save_LIBS=$LIBS
30452 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30453 cat >conftest.$ac_ext <<_ACEOF
30454 /* confdefs.h. */
30455 _ACEOF
30456 cat confdefs.h >>conftest.$ac_ext
30457 cat >>conftest.$ac_ext <<_ACEOF
30458 /* end confdefs.h. */
30459
30460 /* Override any GCC internal prototype to avoid an error.
30461 Use char because int might match the return type of a GCC
30462 builtin and then its argument prototype would still apply. */
30463 #ifdef __cplusplus
30464 extern "C"
30465 #endif
30466 char connect ();
30467 int
30468 main ()
30469 {
30470 return connect ();
30471 ;
30472 return 0;
30473 }
30474 _ACEOF
30475 rm -f conftest.$ac_objext conftest$ac_exeext
30476 if { (ac_try="$ac_link"
30477 case "(($ac_try" in
30478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30479 *) ac_try_echo=$ac_try;;
30480 esac
30481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30482 (eval "$ac_link") 2>conftest.er1
30483 ac_status=$?
30484 grep -v '^ *+' conftest.er1 >conftest.err
30485 rm -f conftest.er1
30486 cat conftest.err >&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); } && {
30489 test -z "$ac_c_werror_flag" ||
30490 test ! -s conftest.err
30491 } && test -s conftest$ac_exeext &&
30492 $as_test_x conftest$ac_exeext; then
30493 ac_cv_lib_socket_connect=yes
30494 else
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.$ac_ext >&5
30497
30498 ac_cv_lib_socket_connect=no
30499 fi
30500
30501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30502 conftest$ac_exeext conftest.$ac_ext
30503 LIBS=$ac_check_lib_save_LIBS
30504 fi
30505 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30506 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30507 if test $ac_cv_lib_socket_connect = yes; then
30508 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30509 fi
30510
30511 fi
30512
30513 # Guillermo Gomez says -lposix is necessary on A/UX.
30514 { echo "$as_me:$LINENO: checking for remove" >&5
30515 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30516 if test "${ac_cv_func_remove+set}" = set; then
30517 echo $ECHO_N "(cached) $ECHO_C" >&6
30518 else
30519 cat >conftest.$ac_ext <<_ACEOF
30520 /* confdefs.h. */
30521 _ACEOF
30522 cat confdefs.h >>conftest.$ac_ext
30523 cat >>conftest.$ac_ext <<_ACEOF
30524 /* end confdefs.h. */
30525 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30527 #define remove innocuous_remove
30528
30529 /* System header to define __stub macros and hopefully few prototypes,
30530 which can conflict with char remove (); below.
30531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30532 <limits.h> exists even on freestanding compilers. */
30533
30534 #ifdef __STDC__
30535 # include <limits.h>
30536 #else
30537 # include <assert.h>
30538 #endif
30539
30540 #undef remove
30541
30542 /* Override any GCC internal prototype to avoid an error.
30543 Use char because int might match the return type of a GCC
30544 builtin and then its argument prototype would still apply. */
30545 #ifdef __cplusplus
30546 extern "C"
30547 #endif
30548 char remove ();
30549 /* The GNU C library defines this for functions which it implements
30550 to always fail with ENOSYS. Some functions are actually named
30551 something starting with __ and the normal name is an alias. */
30552 #if defined __stub_remove || defined __stub___remove
30553 choke me
30554 #endif
30555
30556 int
30557 main ()
30558 {
30559 return remove ();
30560 ;
30561 return 0;
30562 }
30563 _ACEOF
30564 rm -f conftest.$ac_objext conftest$ac_exeext
30565 if { (ac_try="$ac_link"
30566 case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30569 esac
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_link") 2>conftest.er1
30572 ac_status=$?
30573 grep -v '^ *+' conftest.er1 >conftest.err
30574 rm -f conftest.er1
30575 cat conftest.err >&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } && {
30578 test -z "$ac_c_werror_flag" ||
30579 test ! -s conftest.err
30580 } && test -s conftest$ac_exeext &&
30581 $as_test_x conftest$ac_exeext; then
30582 ac_cv_func_remove=yes
30583 else
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30586
30587 ac_cv_func_remove=no
30588 fi
30589
30590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30591 conftest$ac_exeext conftest.$ac_ext
30592 fi
30593 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30594 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30595
30596 if test $ac_cv_func_remove = no; then
30597 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30598 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30599 if test "${ac_cv_lib_posix_remove+set}" = set; then
30600 echo $ECHO_N "(cached) $ECHO_C" >&6
30601 else
30602 ac_check_lib_save_LIBS=$LIBS
30603 LIBS="-lposix $LIBS"
30604 cat >conftest.$ac_ext <<_ACEOF
30605 /* confdefs.h. */
30606 _ACEOF
30607 cat confdefs.h >>conftest.$ac_ext
30608 cat >>conftest.$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30610
30611 /* Override any GCC internal prototype to avoid an error.
30612 Use char because int might match the return type of a GCC
30613 builtin and then its argument prototype would still apply. */
30614 #ifdef __cplusplus
30615 extern "C"
30616 #endif
30617 char remove ();
30618 int
30619 main ()
30620 {
30621 return remove ();
30622 ;
30623 return 0;
30624 }
30625 _ACEOF
30626 rm -f conftest.$ac_objext conftest$ac_exeext
30627 if { (ac_try="$ac_link"
30628 case "(($ac_try" in
30629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30630 *) ac_try_echo=$ac_try;;
30631 esac
30632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30633 (eval "$ac_link") 2>conftest.er1
30634 ac_status=$?
30635 grep -v '^ *+' conftest.er1 >conftest.err
30636 rm -f conftest.er1
30637 cat conftest.err >&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } && {
30640 test -z "$ac_c_werror_flag" ||
30641 test ! -s conftest.err
30642 } && test -s conftest$ac_exeext &&
30643 $as_test_x conftest$ac_exeext; then
30644 ac_cv_lib_posix_remove=yes
30645 else
30646 echo "$as_me: failed program was:" >&5
30647 sed 's/^/| /' conftest.$ac_ext >&5
30648
30649 ac_cv_lib_posix_remove=no
30650 fi
30651
30652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30653 conftest$ac_exeext conftest.$ac_ext
30654 LIBS=$ac_check_lib_save_LIBS
30655 fi
30656 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30657 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30658 if test $ac_cv_lib_posix_remove = yes; then
30659 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30660 fi
30661
30662 fi
30663
30664 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30665 { echo "$as_me:$LINENO: checking for shmat" >&5
30666 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30667 if test "${ac_cv_func_shmat+set}" = set; then
30668 echo $ECHO_N "(cached) $ECHO_C" >&6
30669 else
30670 cat >conftest.$ac_ext <<_ACEOF
30671 /* confdefs.h. */
30672 _ACEOF
30673 cat confdefs.h >>conftest.$ac_ext
30674 cat >>conftest.$ac_ext <<_ACEOF
30675 /* end confdefs.h. */
30676 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30678 #define shmat innocuous_shmat
30679
30680 /* System header to define __stub macros and hopefully few prototypes,
30681 which can conflict with char shmat (); below.
30682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30683 <limits.h> exists even on freestanding compilers. */
30684
30685 #ifdef __STDC__
30686 # include <limits.h>
30687 #else
30688 # include <assert.h>
30689 #endif
30690
30691 #undef shmat
30692
30693 /* Override any GCC internal prototype to avoid an error.
30694 Use char because int might match the return type of a GCC
30695 builtin and then its argument prototype would still apply. */
30696 #ifdef __cplusplus
30697 extern "C"
30698 #endif
30699 char shmat ();
30700 /* The GNU C library defines this for functions which it implements
30701 to always fail with ENOSYS. Some functions are actually named
30702 something starting with __ and the normal name is an alias. */
30703 #if defined __stub_shmat || defined __stub___shmat
30704 choke me
30705 #endif
30706
30707 int
30708 main ()
30709 {
30710 return shmat ();
30711 ;
30712 return 0;
30713 }
30714 _ACEOF
30715 rm -f conftest.$ac_objext conftest$ac_exeext
30716 if { (ac_try="$ac_link"
30717 case "(($ac_try" in
30718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30719 *) ac_try_echo=$ac_try;;
30720 esac
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_link") 2>conftest.er1
30723 ac_status=$?
30724 grep -v '^ *+' conftest.er1 >conftest.err
30725 rm -f conftest.er1
30726 cat conftest.err >&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } && {
30729 test -z "$ac_c_werror_flag" ||
30730 test ! -s conftest.err
30731 } && test -s conftest$ac_exeext &&
30732 $as_test_x conftest$ac_exeext; then
30733 ac_cv_func_shmat=yes
30734 else
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.$ac_ext >&5
30737
30738 ac_cv_func_shmat=no
30739 fi
30740
30741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30742 conftest$ac_exeext conftest.$ac_ext
30743 fi
30744 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30745 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30746
30747 if test $ac_cv_func_shmat = no; then
30748 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30749 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30750 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30751 echo $ECHO_N "(cached) $ECHO_C" >&6
30752 else
30753 ac_check_lib_save_LIBS=$LIBS
30754 LIBS="-lipc $LIBS"
30755 cat >conftest.$ac_ext <<_ACEOF
30756 /* confdefs.h. */
30757 _ACEOF
30758 cat confdefs.h >>conftest.$ac_ext
30759 cat >>conftest.$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30761
30762 /* Override any GCC internal prototype to avoid an error.
30763 Use char because int might match the return type of a GCC
30764 builtin and then its argument prototype would still apply. */
30765 #ifdef __cplusplus
30766 extern "C"
30767 #endif
30768 char shmat ();
30769 int
30770 main ()
30771 {
30772 return shmat ();
30773 ;
30774 return 0;
30775 }
30776 _ACEOF
30777 rm -f conftest.$ac_objext conftest$ac_exeext
30778 if { (ac_try="$ac_link"
30779 case "(($ac_try" in
30780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30782 esac
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_link") 2>conftest.er1
30785 ac_status=$?
30786 grep -v '^ *+' conftest.er1 >conftest.err
30787 rm -f conftest.er1
30788 cat conftest.err >&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } && {
30791 test -z "$ac_c_werror_flag" ||
30792 test ! -s conftest.err
30793 } && test -s conftest$ac_exeext &&
30794 $as_test_x conftest$ac_exeext; then
30795 ac_cv_lib_ipc_shmat=yes
30796 else
30797 echo "$as_me: failed program was:" >&5
30798 sed 's/^/| /' conftest.$ac_ext >&5
30799
30800 ac_cv_lib_ipc_shmat=no
30801 fi
30802
30803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30804 conftest$ac_exeext conftest.$ac_ext
30805 LIBS=$ac_check_lib_save_LIBS
30806 fi
30807 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30808 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30809 if test $ac_cv_lib_ipc_shmat = yes; then
30810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30811 fi
30812
30813 fi
30814 fi
30815
30816 # Check for libraries that X11R6 Xt/Xaw programs need.
30817 ac_save_LDFLAGS=$LDFLAGS
30818 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30819 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30820 # check for ICE first), but we must link in the order -lSM -lICE or
30821 # we get undefined symbols. So assume we have SM if we have ICE.
30822 # These have to be linked with before -lX11, unlike the other
30823 # libraries we check for below, so use a different variable.
30824 # John Interrante, Karl Berry
30825 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30826 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30827 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30828 echo $ECHO_N "(cached) $ECHO_C" >&6
30829 else
30830 ac_check_lib_save_LIBS=$LIBS
30831 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30832 cat >conftest.$ac_ext <<_ACEOF
30833 /* confdefs.h. */
30834 _ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838
30839 /* Override any GCC internal prototype to avoid an error.
30840 Use char because int might match the return type of a GCC
30841 builtin and then its argument prototype would still apply. */
30842 #ifdef __cplusplus
30843 extern "C"
30844 #endif
30845 char IceConnectionNumber ();
30846 int
30847 main ()
30848 {
30849 return IceConnectionNumber ();
30850 ;
30851 return 0;
30852 }
30853 _ACEOF
30854 rm -f conftest.$ac_objext conftest$ac_exeext
30855 if { (ac_try="$ac_link"
30856 case "(($ac_try" in
30857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30858 *) ac_try_echo=$ac_try;;
30859 esac
30860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30861 (eval "$ac_link") 2>conftest.er1
30862 ac_status=$?
30863 grep -v '^ *+' conftest.er1 >conftest.err
30864 rm -f conftest.er1
30865 cat conftest.err >&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } && {
30868 test -z "$ac_c_werror_flag" ||
30869 test ! -s conftest.err
30870 } && test -s conftest$ac_exeext &&
30871 $as_test_x conftest$ac_exeext; then
30872 ac_cv_lib_ICE_IceConnectionNumber=yes
30873 else
30874 echo "$as_me: failed program was:" >&5
30875 sed 's/^/| /' conftest.$ac_ext >&5
30876
30877 ac_cv_lib_ICE_IceConnectionNumber=no
30878 fi
30879
30880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30881 conftest$ac_exeext conftest.$ac_ext
30882 LIBS=$ac_check_lib_save_LIBS
30883 fi
30884 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30885 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30886 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30887 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30888 fi
30889
30890 LDFLAGS=$ac_save_LDFLAGS
30891
30892 fi
30893
30894
30895 if test "$no_x" = "yes"; then
30896 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30897 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30898 { (exit 1); exit 1; }; }
30899 fi
30900
30901 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30902 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30903 AFMINSTALL=afminstall
30904 COMPILED_X_PROGRAM=0
30905
30906 fi
30907
30908 if test "$wxUSE_X11" = 1; then
30909 if test "$wxUSE_NANOX" = "yes"; then
30910 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30911 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30912 if test "x$MICROWIN" = x ; then
30913 { echo "$as_me:$LINENO: result: not found" >&5
30914 echo "${ECHO_T}not found" >&6; }
30915 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30916 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30917 { (exit 1); exit 1; }; }
30918 else
30919 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30920 echo "${ECHO_T}$MICROWIN" >&6; }
30921 cat >>confdefs.h <<\_ACEOF
30922 #define wxUSE_NANOX 1
30923 _ACEOF
30924
30925 fi
30926 fi
30927
30928 if test "$wxUSE_UNICODE" = "yes"; then
30929
30930
30931 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30932 if test -n "$ac_tool_prefix"; then
30933 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30934 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30937 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30938 echo $ECHO_N "(cached) $ECHO_C" >&6
30939 else
30940 case $PKG_CONFIG in
30941 [\\/]* | ?:[\\/]*)
30942 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30943 ;;
30944 *)
30945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30946 for as_dir in $PATH
30947 do
30948 IFS=$as_save_IFS
30949 test -z "$as_dir" && as_dir=.
30950 for ac_exec_ext in '' $ac_executable_extensions; do
30951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30952 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30954 break 2
30955 fi
30956 done
30957 done
30958 IFS=$as_save_IFS
30959
30960 ;;
30961 esac
30962 fi
30963 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30964 if test -n "$PKG_CONFIG"; then
30965 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30966 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30967 else
30968 { echo "$as_me:$LINENO: result: no" >&5
30969 echo "${ECHO_T}no" >&6; }
30970 fi
30971
30972
30973 fi
30974 if test -z "$ac_cv_path_PKG_CONFIG"; then
30975 ac_pt_PKG_CONFIG=$PKG_CONFIG
30976 # Extract the first word of "pkg-config", so it can be a program name with args.
30977 set dummy pkg-config; ac_word=$2
30978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30980 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 else
30983 case $ac_pt_PKG_CONFIG in
30984 [\\/]* | ?:[\\/]*)
30985 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30986 ;;
30987 *)
30988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30989 for as_dir in $PATH
30990 do
30991 IFS=$as_save_IFS
30992 test -z "$as_dir" && as_dir=.
30993 for ac_exec_ext in '' $ac_executable_extensions; do
30994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30995 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30997 break 2
30998 fi
30999 done
31000 done
31001 IFS=$as_save_IFS
31002
31003 ;;
31004 esac
31005 fi
31006 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31007 if test -n "$ac_pt_PKG_CONFIG"; then
31008 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31009 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31010 else
31011 { echo "$as_me:$LINENO: result: no" >&5
31012 echo "${ECHO_T}no" >&6; }
31013 fi
31014
31015 if test "x$ac_pt_PKG_CONFIG" = x; then
31016 PKG_CONFIG=""
31017 else
31018 case $cross_compiling:$ac_tool_warned in
31019 yes:)
31020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31021 whose name does not start with the host triplet. If you think this
31022 configuration is useful to you, please write to autoconf@gnu.org." >&5
31023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31024 whose name does not start with the host triplet. If you think this
31025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31026 ac_tool_warned=yes ;;
31027 esac
31028 PKG_CONFIG=$ac_pt_PKG_CONFIG
31029 fi
31030 else
31031 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31032 fi
31033
31034 fi
31035 if test -n "$PKG_CONFIG"; then
31036 _pkg_min_version=0.9.0
31037 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31038 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31039 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31040 { echo "$as_me:$LINENO: result: yes" >&5
31041 echo "${ECHO_T}yes" >&6; }
31042 else
31043 { echo "$as_me:$LINENO: result: no" >&5
31044 echo "${ECHO_T}no" >&6; }
31045 PKG_CONFIG=""
31046 fi
31047
31048 fi
31049
31050
31051 pkg_failed=no
31052 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31053 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31054
31055 if test -n "$PKG_CONFIG"; then
31056 if test -n "$PANGOX_CFLAGS"; then
31057 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31058 else
31059 if test -n "$PKG_CONFIG" && \
31060 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31061 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31062 ac_status=$?
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; then
31065 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31066 else
31067 pkg_failed=yes
31068 fi
31069 fi
31070 else
31071 pkg_failed=untried
31072 fi
31073 if test -n "$PKG_CONFIG"; then
31074 if test -n "$PANGOX_LIBS"; then
31075 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31076 else
31077 if test -n "$PKG_CONFIG" && \
31078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31079 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31080 ac_status=$?
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; then
31083 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31084 else
31085 pkg_failed=yes
31086 fi
31087 fi
31088 else
31089 pkg_failed=untried
31090 fi
31091
31092
31093
31094 if test $pkg_failed = yes; then
31095
31096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31097 _pkg_short_errors_supported=yes
31098 else
31099 _pkg_short_errors_supported=no
31100 fi
31101 if test $_pkg_short_errors_supported = yes; then
31102 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31103 else
31104 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31105 fi
31106 # Put the nasty error message in config.log where it belongs
31107 echo "$PANGOX_PKG_ERRORS" >&5
31108
31109
31110 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31111 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31112 { (exit 1); exit 1; }; }
31113
31114
31115 elif test $pkg_failed = untried; then
31116
31117 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31118 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31119 { (exit 1); exit 1; }; }
31120
31121
31122 else
31123 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31124 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31125 { echo "$as_me:$LINENO: result: yes" >&5
31126 echo "${ECHO_T}yes" >&6; }
31127
31128 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31129 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31131
31132 fi
31133
31134 pkg_failed=no
31135 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31136 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31137
31138 if test -n "$PKG_CONFIG"; then
31139 if test -n "$PANGOFT2_CFLAGS"; then
31140 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31141 else
31142 if test -n "$PKG_CONFIG" && \
31143 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31144 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31145 ac_status=$?
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); }; then
31148 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31149 else
31150 pkg_failed=yes
31151 fi
31152 fi
31153 else
31154 pkg_failed=untried
31155 fi
31156 if test -n "$PKG_CONFIG"; then
31157 if test -n "$PANGOFT2_LIBS"; then
31158 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31159 else
31160 if test -n "$PKG_CONFIG" && \
31161 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31162 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31163 ac_status=$?
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; then
31166 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31167 else
31168 pkg_failed=yes
31169 fi
31170 fi
31171 else
31172 pkg_failed=untried
31173 fi
31174
31175
31176
31177 if test $pkg_failed = yes; then
31178
31179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31180 _pkg_short_errors_supported=yes
31181 else
31182 _pkg_short_errors_supported=no
31183 fi
31184 if test $_pkg_short_errors_supported = yes; then
31185 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31186 else
31187 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31188 fi
31189 # Put the nasty error message in config.log where it belongs
31190 echo "$PANGOFT2_PKG_ERRORS" >&5
31191
31192
31193 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31194 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31195 wxUSE_PRINTING_ARCHITECTURE="no"
31196
31197
31198 elif test $pkg_failed = untried; then
31199
31200 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31201 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31202 wxUSE_PRINTING_ARCHITECTURE="no"
31203
31204
31205 else
31206 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31207 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31208 { echo "$as_me:$LINENO: result: yes" >&5
31209 echo "${ECHO_T}yes" >&6; }
31210
31211 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31212 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31213 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31214
31215 fi
31216
31217 pkg_failed=no
31218 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31219 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31220
31221 if test -n "$PKG_CONFIG"; then
31222 if test -n "$PANGOXFT_CFLAGS"; then
31223 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31224 else
31225 if test -n "$PKG_CONFIG" && \
31226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31227 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31228 ac_status=$?
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; then
31231 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31232 else
31233 pkg_failed=yes
31234 fi
31235 fi
31236 else
31237 pkg_failed=untried
31238 fi
31239 if test -n "$PKG_CONFIG"; then
31240 if test -n "$PANGOXFT_LIBS"; then
31241 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31242 else
31243 if test -n "$PKG_CONFIG" && \
31244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31245 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31246 ac_status=$?
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; then
31249 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31250 else
31251 pkg_failed=yes
31252 fi
31253 fi
31254 else
31255 pkg_failed=untried
31256 fi
31257
31258
31259
31260 if test $pkg_failed = yes; then
31261
31262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31263 _pkg_short_errors_supported=yes
31264 else
31265 _pkg_short_errors_supported=no
31266 fi
31267 if test $_pkg_short_errors_supported = yes; then
31268 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31269 else
31270 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31271 fi
31272 # Put the nasty error message in config.log where it belongs
31273 echo "$PANGOXFT_PKG_ERRORS" >&5
31274
31275
31276 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31277 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31278
31279
31280 elif test $pkg_failed = untried; then
31281
31282 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31283 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31284
31285
31286 else
31287 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31288 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31289 { echo "$as_me:$LINENO: result: yes" >&5
31290 echo "${ECHO_T}yes" >&6; }
31291
31292 cat >>confdefs.h <<\_ACEOF
31293 #define HAVE_PANGO_XFT 1
31294 _ACEOF
31295
31296 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31297 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31298 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31299
31300 fi
31301 save_LIBS="$LIBS"
31302 LIBS="$LIBS $PANGOX_LIBS"
31303
31304 for ac_func in pango_font_family_is_monospace
31305 do
31306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31309 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31310 echo $ECHO_N "(cached) $ECHO_C" >&6
31311 else
31312 cat >conftest.$ac_ext <<_ACEOF
31313 /* confdefs.h. */
31314 _ACEOF
31315 cat confdefs.h >>conftest.$ac_ext
31316 cat >>conftest.$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31320 #define $ac_func innocuous_$ac_func
31321
31322 /* System header to define __stub macros and hopefully few prototypes,
31323 which can conflict with char $ac_func (); below.
31324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31325 <limits.h> exists even on freestanding compilers. */
31326
31327 #ifdef __STDC__
31328 # include <limits.h>
31329 #else
31330 # include <assert.h>
31331 #endif
31332
31333 #undef $ac_func
31334
31335 /* Override any GCC internal prototype to avoid an error.
31336 Use char because int might match the return type of a GCC
31337 builtin and then its argument prototype would still apply. */
31338 #ifdef __cplusplus
31339 extern "C"
31340 #endif
31341 char $ac_func ();
31342 /* The GNU C library defines this for functions which it implements
31343 to always fail with ENOSYS. Some functions are actually named
31344 something starting with __ and the normal name is an alias. */
31345 #if defined __stub_$ac_func || defined __stub___$ac_func
31346 choke me
31347 #endif
31348
31349 int
31350 main ()
31351 {
31352 return $ac_func ();
31353 ;
31354 return 0;
31355 }
31356 _ACEOF
31357 rm -f conftest.$ac_objext conftest$ac_exeext
31358 if { (ac_try="$ac_link"
31359 case "(($ac_try" in
31360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31361 *) ac_try_echo=$ac_try;;
31362 esac
31363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31364 (eval "$ac_link") 2>conftest.er1
31365 ac_status=$?
31366 grep -v '^ *+' conftest.er1 >conftest.err
31367 rm -f conftest.er1
31368 cat conftest.err >&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); } && {
31371 test -z "$ac_c_werror_flag" ||
31372 test ! -s conftest.err
31373 } && test -s conftest$ac_exeext &&
31374 $as_test_x conftest$ac_exeext; then
31375 eval "$as_ac_var=yes"
31376 else
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.$ac_ext >&5
31379
31380 eval "$as_ac_var=no"
31381 fi
31382
31383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31384 conftest$ac_exeext conftest.$ac_ext
31385 fi
31386 ac_res=`eval echo '${'$as_ac_var'}'`
31387 { echo "$as_me:$LINENO: result: $ac_res" >&5
31388 echo "${ECHO_T}$ac_res" >&6; }
31389 if test `eval echo '${'$as_ac_var'}'` = yes; then
31390 cat >>confdefs.h <<_ACEOF
31391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31392 _ACEOF
31393
31394 fi
31395 done
31396
31397 LIBS="$save_LIBS"
31398 fi
31399
31400 wxUSE_UNIVERSAL="yes"
31401
31402 if test "$wxUSE_NANOX" = "yes"; then
31403 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31404 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"
31405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31406 else
31407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31408 fi
31409
31410 TOOLKIT=X11
31411 GUIDIST=X11_DIST
31412 fi
31413
31414 if test "$wxUSE_MOTIF" = 1; then
31415 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31416 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31417
31418 ac_find_includes=
31419 for ac_dir in $SEARCH_INCLUDE /usr/include;
31420 do
31421 if test -f "$ac_dir/Xm/Xm.h"; then
31422 ac_find_includes=$ac_dir
31423 break
31424 fi
31425 done
31426
31427 if test "$ac_find_includes" != "" ; then
31428 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31429 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31430
31431 if test "x$ac_find_includes" = "x/usr/include"; then
31432 ac_path_to_include=""
31433 else
31434 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31435 result=$?
31436 if test $result = 0; then
31437 ac_path_to_include=""
31438 else
31439 ac_path_to_include=" -I$ac_find_includes"
31440 fi
31441 fi
31442
31443 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31444 else
31445 save_CFLAGS=$CFLAGS
31446 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31447
31448 cat >conftest.$ac_ext <<_ACEOF
31449 /* confdefs.h. */
31450 _ACEOF
31451 cat confdefs.h >>conftest.$ac_ext
31452 cat >>conftest.$ac_ext <<_ACEOF
31453 /* end confdefs.h. */
31454
31455 #include <Xm/Xm.h>
31456
31457 int
31458 main ()
31459 {
31460
31461 int version;
31462 version = xmUseVersion;
31463
31464 ;
31465 return 0;
31466 }
31467 _ACEOF
31468 rm -f conftest.$ac_objext
31469 if { (ac_try="$ac_compile"
31470 case "(($ac_try" in
31471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31472 *) ac_try_echo=$ac_try;;
31473 esac
31474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31475 (eval "$ac_compile") 2>conftest.er1
31476 ac_status=$?
31477 grep -v '^ *+' conftest.er1 >conftest.err
31478 rm -f conftest.er1
31479 cat conftest.err >&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } && {
31482 test -z "$ac_c_werror_flag" ||
31483 test ! -s conftest.err
31484 } && test -s conftest.$ac_objext; then
31485
31486 { echo "$as_me:$LINENO: result: found in default search path" >&5
31487 echo "${ECHO_T}found in default search path" >&6; }
31488 COMPILED_X_PROGRAM=1
31489
31490 else
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494
31495 { echo "$as_me:$LINENO: result: no" >&5
31496 echo "${ECHO_T}no" >&6; }
31497 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31498 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31499 { (exit 1); exit 1; }; }
31500
31501
31502 fi
31503
31504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31505
31506 CFLAGS=$save_CFLAGS
31507 fi
31508
31509
31510 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31511 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31512
31513 ac_find_libraries=
31514 for ac_dir in $SEARCH_LIB;
31515 do
31516 for ac_extension in a so sl dylib dll.a; do
31517 if test -f "$ac_dir/libXm.$ac_extension"; then
31518 ac_find_libraries=$ac_dir
31519 break 2
31520 fi
31521 done
31522 done
31523
31524
31525 if test "x$ac_find_libraries" != "x" ; then
31526 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31527 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31528
31529
31530 if test "$ac_find_libraries" = "default location"; then
31531 ac_path_to_link=""
31532 else
31533 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31534 result=$?
31535 if test $result = 0; then
31536 ac_path_to_link=""
31537 else
31538 ac_path_to_link=" -L$ac_find_libraries"
31539 fi
31540 fi
31541
31542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31543 else
31544 save_CFLAGS=$CFLAGS
31545 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31546 save_LIBS="$LIBS"
31547 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31548
31549 cat >conftest.$ac_ext <<_ACEOF
31550 /* confdefs.h. */
31551 _ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31555
31556 #include <Xm/Xm.h>
31557
31558 int
31559 main ()
31560 {
31561
31562 int version;
31563 version = xmUseVersion;
31564
31565 ;
31566 return 0;
31567 }
31568 _ACEOF
31569 rm -f conftest.$ac_objext conftest$ac_exeext
31570 if { (ac_try="$ac_link"
31571 case "(($ac_try" in
31572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31573 *) ac_try_echo=$ac_try;;
31574 esac
31575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31576 (eval "$ac_link") 2>conftest.er1
31577 ac_status=$?
31578 grep -v '^ *+' conftest.er1 >conftest.err
31579 rm -f conftest.er1
31580 cat conftest.err >&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); } && {
31583 test -z "$ac_c_werror_flag" ||
31584 test ! -s conftest.err
31585 } && test -s conftest$ac_exeext &&
31586 $as_test_x conftest$ac_exeext; then
31587
31588 { echo "$as_me:$LINENO: result: found in default search path" >&5
31589 echo "${ECHO_T}found in default search path" >&6; }
31590 COMPILED_X_PROGRAM=1
31591
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31595
31596
31597 { echo "$as_me:$LINENO: result: no" >&5
31598 echo "${ECHO_T}no" >&6; }
31599 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31600 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31601 { (exit 1); exit 1; }; }
31602
31603
31604 fi
31605
31606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31607 conftest$ac_exeext conftest.$ac_ext
31608
31609 CFLAGS=$save_CFLAGS
31610 LIBS="$save_LIBS"
31611 fi
31612
31613 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31614 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31615 libp_link=""
31616 libsm_ice_link=""
31617 libs_found=0
31618 for libp in "" " -lXp"; do
31619 if test "$libs_found" = 0; then
31620 for libsm_ice in "" " -lSM -lICE"; do
31621 if test "$libs_found" = 0; then
31622 save_LIBS="$LIBS"
31623 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31624 save_CFLAGS=$CFLAGS
31625 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31626
31627 cat >conftest.$ac_ext <<_ACEOF
31628 /* confdefs.h. */
31629 _ACEOF
31630 cat confdefs.h >>conftest.$ac_ext
31631 cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31633
31634 #include <Xm/Xm.h>
31635 #include <Xm/List.h>
31636
31637 int
31638 main ()
31639 {
31640
31641 XmString string = NULL;
31642 Widget w = NULL;
31643 int position = 0;
31644 XmListAddItem(w, string, position);
31645
31646 ;
31647 return 0;
31648 }
31649 _ACEOF
31650 rm -f conftest.$ac_objext conftest$ac_exeext
31651 if { (ac_try="$ac_link"
31652 case "(($ac_try" in
31653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31654 *) ac_try_echo=$ac_try;;
31655 esac
31656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31657 (eval "$ac_link") 2>conftest.er1
31658 ac_status=$?
31659 grep -v '^ *+' conftest.er1 >conftest.err
31660 rm -f conftest.er1
31661 cat conftest.err >&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); } && {
31664 test -z "$ac_c_werror_flag" ||
31665 test ! -s conftest.err
31666 } && test -s conftest$ac_exeext &&
31667 $as_test_x conftest$ac_exeext; then
31668
31669 libp_link="$libp"
31670 libsm_ice_link="$libsm_ice"
31671 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31672 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31673 libs_found=1
31674
31675 else
31676 echo "$as_me: failed program was:" >&5
31677 sed 's/^/| /' conftest.$ac_ext >&5
31678
31679
31680
31681 fi
31682
31683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31684 conftest$ac_exeext conftest.$ac_ext
31685
31686 LIBS="$save_LIBS"
31687 CFLAGS=$save_CFLAGS
31688 fi
31689 done
31690 fi
31691 done
31692
31693 if test "$libs_found" = 0; then
31694 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31695 echo "${ECHO_T}can't find the right libraries" >&6; }
31696 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31697 echo "$as_me: error: can't link a simple motif program" >&2;}
31698 { (exit 1); exit 1; }; }
31699 fi
31700
31701 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31702 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31703 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31705 else
31706 ac_check_lib_save_LIBS=$LIBS
31707 LIBS="-lSgm $LIBS"
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h. */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714
31715 /* Override any GCC internal prototype to avoid an error.
31716 Use char because int might match the return type of a GCC
31717 builtin and then its argument prototype would still apply. */
31718 #ifdef __cplusplus
31719 extern "C"
31720 #endif
31721 char SgCreateList ();
31722 int
31723 main ()
31724 {
31725 return SgCreateList ();
31726 ;
31727 return 0;
31728 }
31729 _ACEOF
31730 rm -f conftest.$ac_objext conftest$ac_exeext
31731 if { (ac_try="$ac_link"
31732 case "(($ac_try" in
31733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31734 *) ac_try_echo=$ac_try;;
31735 esac
31736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31737 (eval "$ac_link") 2>conftest.er1
31738 ac_status=$?
31739 grep -v '^ *+' conftest.er1 >conftest.err
31740 rm -f conftest.er1
31741 cat conftest.err >&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); } && {
31744 test -z "$ac_c_werror_flag" ||
31745 test ! -s conftest.err
31746 } && test -s conftest$ac_exeext &&
31747 $as_test_x conftest$ac_exeext; then
31748 ac_cv_lib_Sgm_SgCreateList=yes
31749 else
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31752
31753 ac_cv_lib_Sgm_SgCreateList=no
31754 fi
31755
31756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31757 conftest$ac_exeext conftest.$ac_ext
31758 LIBS=$ac_check_lib_save_LIBS
31759 fi
31760 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31761 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31762 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31763 libsgm_link=" -lSgm"
31764 fi
31765
31766
31767 save_CFLAGS=$CFLAGS
31768 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31769
31770 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31771 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31772 if test "${wx_cv_lib_motif2+set}" = set; then
31773 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 else
31775 cat >conftest.$ac_ext <<_ACEOF
31776 /* confdefs.h. */
31777 _ACEOF
31778 cat confdefs.h >>conftest.$ac_ext
31779 cat >>conftest.$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31781
31782 #include <Xm/Xm.h>
31783
31784 int
31785 main ()
31786 {
31787
31788 #if XmVersion < 2000
31789 Not Motif 2
31790 #endif
31791
31792 ;
31793 return 0;
31794 }
31795 _ACEOF
31796 rm -f conftest.$ac_objext
31797 if { (ac_try="$ac_compile"
31798 case "(($ac_try" in
31799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31800 *) ac_try_echo=$ac_try;;
31801 esac
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_compile") 2>conftest.er1
31804 ac_status=$?
31805 grep -v '^ *+' conftest.er1 >conftest.err
31806 rm -f conftest.er1
31807 cat conftest.err >&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } && {
31810 test -z "$ac_c_werror_flag" ||
31811 test ! -s conftest.err
31812 } && test -s conftest.$ac_objext; then
31813 wx_cv_lib_motif2="yes"
31814 else
31815 echo "$as_me: failed program was:" >&5
31816 sed 's/^/| /' conftest.$ac_ext >&5
31817
31818 wx_cv_lib_motif2="no"
31819 fi
31820
31821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31822 fi
31823 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31824 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31825 if test "$wx_cv_lib_motif2" = "yes"; then
31826 cat >>confdefs.h <<\_ACEOF
31827 #define __WXMOTIF20__ 1
31828 _ACEOF
31829
31830 else
31831 cat >>confdefs.h <<\_ACEOF
31832 #define __WXMOTIF20__ 0
31833 _ACEOF
31834
31835 fi
31836
31837 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31838 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31839 if test "${wx_cv_lib_lesstif+set}" = set; then
31840 echo $ECHO_N "(cached) $ECHO_C" >&6
31841 else
31842 cat >conftest.$ac_ext <<_ACEOF
31843 /* confdefs.h. */
31844 _ACEOF
31845 cat confdefs.h >>conftest.$ac_ext
31846 cat >>conftest.$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31848
31849 #include <Xm/Xm.h>
31850
31851 int
31852 main ()
31853 {
31854
31855 #if !defined(LesstifVersion) || LesstifVersion <= 0
31856 Not Lesstif
31857 #endif
31858
31859 ;
31860 return 0;
31861 }
31862 _ACEOF
31863 rm -f conftest.$ac_objext
31864 if { (ac_try="$ac_compile"
31865 case "(($ac_try" in
31866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31867 *) ac_try_echo=$ac_try;;
31868 esac
31869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31870 (eval "$ac_compile") 2>conftest.er1
31871 ac_status=$?
31872 grep -v '^ *+' conftest.er1 >conftest.err
31873 rm -f conftest.er1
31874 cat conftest.err >&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } && {
31877 test -z "$ac_c_werror_flag" ||
31878 test ! -s conftest.err
31879 } && test -s conftest.$ac_objext; then
31880 wx_cv_lib_lesstif="yes"
31881 else
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.$ac_ext >&5
31884
31885 wx_cv_lib_lesstif="no"
31886 fi
31887
31888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31889
31890 fi
31891 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31892 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31893 if test "$wx_cv_lib_lesstif" = "yes"; then
31894 cat >>confdefs.h <<\_ACEOF
31895 #define __WXLESSTIF__ 1
31896 _ACEOF
31897
31898 else
31899 cat >>confdefs.h <<\_ACEOF
31900 #define __WXLESSTIF__ 0
31901 _ACEOF
31902
31903 fi
31904
31905 CFLAGS=$save_CFLAGS
31906
31907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31908 TOOLKIT=MOTIF
31909 GUIDIST=MOTIF_DIST
31910 fi
31911
31912 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31913 if test "$wxUSE_LIBXPM" = "sys"; then
31914 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31915 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31916
31917 ac_find_libraries=
31918 for ac_dir in $SEARCH_LIB;
31919 do
31920 for ac_extension in a so sl dylib dll.a; do
31921 if test -f "$ac_dir/libXpm.$ac_extension"; then
31922 ac_find_libraries=$ac_dir
31923 break 2
31924 fi
31925 done
31926 done
31927
31928 if test "$ac_find_libraries" != "" ; then
31929
31930 if test "$ac_find_libraries" = "default location"; then
31931 ac_path_to_link=""
31932 else
31933 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31934 result=$?
31935 if test $result = 0; then
31936 ac_path_to_link=""
31937 else
31938 ac_path_to_link=" -L$ac_find_libraries"
31939 fi
31940 fi
31941
31942 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31943 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31944 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31945
31946 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31947 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31948 if test "${wx_cv_x11_xpm_h+set}" = set; then
31949 echo $ECHO_N "(cached) $ECHO_C" >&6
31950 else
31951
31952 save_CFLAGS=$CFLAGS
31953 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31954
31955 cat >conftest.$ac_ext <<_ACEOF
31956 /* confdefs.h. */
31957 _ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31961
31962 #include <X11/xpm.h>
31963
31964 int
31965 main ()
31966 {
31967
31968 int version;
31969 version = XpmLibraryVersion();
31970
31971 ;
31972 return 0;
31973 }
31974 _ACEOF
31975 rm -f conftest.$ac_objext
31976 if { (ac_try="$ac_compile"
31977 case "(($ac_try" in
31978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31979 *) ac_try_echo=$ac_try;;
31980 esac
31981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31982 (eval "$ac_compile") 2>conftest.er1
31983 ac_status=$?
31984 grep -v '^ *+' conftest.er1 >conftest.err
31985 rm -f conftest.er1
31986 cat conftest.err >&5
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); } && {
31989 test -z "$ac_c_werror_flag" ||
31990 test ! -s conftest.err
31991 } && test -s conftest.$ac_objext; then
31992 wx_cv_x11_xpm_h=yes
31993 else
31994 echo "$as_me: failed program was:" >&5
31995 sed 's/^/| /' conftest.$ac_ext >&5
31996
31997 wx_cv_x11_xpm_h=no
31998
31999 fi
32000
32001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32002
32003 CFLAGS=$save_CFLAGS
32004
32005
32006 fi
32007 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32008 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32009
32010 if test $wx_cv_x11_xpm_h = "yes"; then
32011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32012 cat >>confdefs.h <<\_ACEOF
32013 #define wxHAVE_LIB_XPM 1
32014 _ACEOF
32015
32016 else
32017 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32018 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32019 fi
32020 fi
32021
32022 fi
32023
32024 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32025 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029 ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32041 #ifdef __cplusplus
32042 extern "C"
32043 #endif
32044 char XShapeQueryExtension ();
32045 int
32046 main ()
32047 {
32048 return XShapeQueryExtension ();
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 rm -f conftest.$ac_objext conftest$ac_exeext
32054 if { (ac_try="$ac_link"
32055 case "(($ac_try" in
32056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32057 *) ac_try_echo=$ac_try;;
32058 esac
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_link") 2>conftest.er1
32061 ac_status=$?
32062 grep -v '^ *+' conftest.er1 >conftest.err
32063 rm -f conftest.er1
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } && {
32067 test -z "$ac_c_werror_flag" ||
32068 test ! -s conftest.err
32069 } && test -s conftest$ac_exeext &&
32070 $as_test_x conftest$ac_exeext; then
32071 ac_cv_lib_Xext_XShapeQueryExtension=yes
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 ac_cv_lib_Xext_XShapeQueryExtension=no
32077 fi
32078
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32081 LIBS=$ac_check_lib_save_LIBS
32082 fi
32083 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32084 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32085 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32086
32087 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32088 wxHAVE_XEXT_LIB=1
32089
32090 fi
32091
32092
32093 if test "$wxHAVE_XEXT_LIB" = 1; then
32094 save_CFLAGS="$CFLAGS"
32095 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32096
32097 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32098 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32099 cat >conftest.$ac_ext <<_ACEOF
32100 /* confdefs.h. */
32101 _ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105
32106 #include <X11/Xlib.h>
32107 #include <X11/extensions/shape.h>
32108
32109 int
32110 main ()
32111 {
32112
32113 int dummy1, dummy2;
32114 XShapeQueryExtension((Display*)NULL,
32115 (int*)NULL, (int*)NULL);
32116
32117 ;
32118 return 0;
32119 }
32120 _ACEOF
32121 rm -f conftest.$ac_objext
32122 if { (ac_try="$ac_compile"
32123 case "(($ac_try" in
32124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32125 *) ac_try_echo=$ac_try;;
32126 esac
32127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32128 (eval "$ac_compile") 2>conftest.er1
32129 ac_status=$?
32130 grep -v '^ *+' conftest.er1 >conftest.err
32131 rm -f conftest.er1
32132 cat conftest.err >&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); } && {
32135 test -z "$ac_c_werror_flag" ||
32136 test ! -s conftest.err
32137 } && test -s conftest.$ac_objext; then
32138
32139 cat >>confdefs.h <<\_ACEOF
32140 #define HAVE_XSHAPE 1
32141 _ACEOF
32142
32143 { echo "$as_me:$LINENO: result: found" >&5
32144 echo "${ECHO_T}found" >&6; }
32145
32146 else
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32149
32150
32151 { echo "$as_me:$LINENO: result: not found" >&5
32152 echo "${ECHO_T}not found" >&6; }
32153
32154 fi
32155
32156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32157 CFLAGS="$save_CFLAGS"
32158
32159 fi
32160 fi
32161
32162 if test "$wxUSE_MAC" = 1; then
32163 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32164 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32165 if test "$GCC" = yes; then
32166 { echo "$as_me:$LINENO: result: gcc" >&5
32167 echo "${ECHO_T}gcc" >&6; }
32168 CPPFLAGS_PASCAL="-fpascal-strings"
32169 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32170 { echo "$as_me:$LINENO: result: xlc" >&5
32171 echo "${ECHO_T}xlc" >&6; }
32172 CPPFLAGS_PASCAL="-qmacpstr"
32173 else
32174 { echo "$as_me:$LINENO: result: none" >&5
32175 echo "${ECHO_T}none" >&6; }
32176 fi
32177
32178 if test "x$wxUSE_UNIX" = "xyes"; then
32179 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32180 else
32181 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32182 fi
32183
32184 TOOLKIT=MAC
32185 GUIDIST=MACX_DIST
32186 WXBASEPORT="_carbon"
32187 fi
32188
32189 if test "$wxUSE_COCOA" = 1; then
32190 TOOLKIT=COCOA
32191 GUIDIST=COCOA_DIST
32192 fi
32193
32194 if test "$wxUSE_PM" = 1; then
32195 TOOLKIT=PM
32196 GUIDIST=PM_DIST
32197 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32198 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32199 if test "${wx_cv_spbcdata+set}" = set; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32201 else
32202
32203 cat >conftest.$ac_ext <<_ACEOF
32204 /* confdefs.h. */
32205 _ACEOF
32206 cat confdefs.h >>conftest.$ac_ext
32207 cat >>conftest.$ac_ext <<_ACEOF
32208 /* end confdefs.h. */
32209
32210 #define INCL_PM
32211 #include <os2.h>
32212
32213 int
32214 main ()
32215 {
32216
32217 SPBCDATA test;
32218
32219 ;
32220 return 0;
32221 }
32222 _ACEOF
32223 rm -f conftest.$ac_objext
32224 if { (ac_try="$ac_compile"
32225 case "(($ac_try" in
32226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32227 *) ac_try_echo=$ac_try;;
32228 esac
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_compile") 2>conftest.er1
32231 ac_status=$?
32232 grep -v '^ *+' conftest.er1 >conftest.err
32233 rm -f conftest.er1
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } && {
32237 test -z "$ac_c_werror_flag" ||
32238 test ! -s conftest.err
32239 } && test -s conftest.$ac_objext; then
32240 wx_cv_spbcdata=yes
32241 else
32242 echo "$as_me: failed program was:" >&5
32243 sed 's/^/| /' conftest.$ac_ext >&5
32244
32245 wx_cv_spbcdata=no
32246
32247 fi
32248
32249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32250
32251
32252 fi
32253 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32254 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32255
32256 if test $wx_cv_spbcdata = "yes"; then
32257 cat >>confdefs.h <<\_ACEOF
32258 #define HAVE_SPBCDATA 1
32259 _ACEOF
32260
32261 fi
32262 fi
32263
32264 if test "$TOOLKIT" = "PM" ; then
32265 TOOLKIT_DIR="os2"
32266 else
32267 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32268 fi
32269
32270 if test "$wxUSE_UNIVERSAL" = "yes"; then
32271 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32272 WIDGET_SET=univ
32273 fi
32274
32275 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32276 DISTDIR="wx\$(TOOLKIT)"
32277 else
32278 USE_GUI=0
32279
32280 TOOLKIT_DIR="base"
32281
32282 if test "$USE_WIN32" = 1 ; then
32283 TOOLKIT="MSW"
32284 fi
32285
32286 GUIDIST="BASE_DIST"
32287 DISTDIR="wxBase"
32288 fi
32289
32290
32291
32292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32293 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32294 wxUSE_UNICODE_UTF8=yes
32295 elif test "$USE_OS2" = 1 ; then
32296 wxUSE_UNICODE_UTF8=yes
32297 else
32298 wxUSE_UNICODE_UTF8=no
32299 fi
32300 fi
32301
32302
32303 if test "$wxUSE_GUI" = "yes"; then
32304 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32305
32306 for ac_header in X11/Xlib.h
32307 do
32308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 else
32314 cat >conftest.$ac_ext <<_ACEOF
32315 /* confdefs.h. */
32316 _ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32320
32321
32322 #include <$ac_header>
32323 _ACEOF
32324 rm -f conftest.$ac_objext
32325 if { (ac_try="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 eval "$as_ac_Header=yes"
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 eval "$as_ac_Header=no"
32347 fi
32348
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 fi
32351 ac_res=`eval echo '${'$as_ac_Header'}'`
32352 { echo "$as_me:$LINENO: result: $ac_res" >&5
32353 echo "${ECHO_T}$ac_res" >&6; }
32354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32355 cat >>confdefs.h <<_ACEOF
32356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32357 _ACEOF
32358
32359 fi
32360
32361 done
32362
32363
32364 for ac_header in X11/XKBlib.h
32365 do
32366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32369 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32371 else
32372 cat >conftest.$ac_ext <<_ACEOF
32373 /* confdefs.h. */
32374 _ACEOF
32375 cat confdefs.h >>conftest.$ac_ext
32376 cat >>conftest.$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32378
32379 #if HAVE_X11_XLIB_H
32380 #include <X11/Xlib.h>
32381 #endif
32382
32383
32384 #include <$ac_header>
32385 _ACEOF
32386 rm -f conftest.$ac_objext
32387 if { (ac_try="$ac_compile"
32388 case "(($ac_try" in
32389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32390 *) ac_try_echo=$ac_try;;
32391 esac
32392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32393 (eval "$ac_compile") 2>conftest.er1
32394 ac_status=$?
32395 grep -v '^ *+' conftest.er1 >conftest.err
32396 rm -f conftest.er1
32397 cat conftest.err >&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } && {
32400 test -z "$ac_c_werror_flag" ||
32401 test ! -s conftest.err
32402 } && test -s conftest.$ac_objext; then
32403 eval "$as_ac_Header=yes"
32404 else
32405 echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.$ac_ext >&5
32407
32408 eval "$as_ac_Header=no"
32409 fi
32410
32411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32412 fi
32413 ac_res=`eval echo '${'$as_ac_Header'}'`
32414 { echo "$as_me:$LINENO: result: $ac_res" >&5
32415 echo "${ECHO_T}$ac_res" >&6; }
32416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32417 cat >>confdefs.h <<_ACEOF
32418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32419 _ACEOF
32420
32421 fi
32422
32423 done
32424
32425 fi
32426 fi
32427
32428
32429
32430 if test "$wxUSE_DISPLAY" = "yes"; then
32431 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32432 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32433 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32434
32435 ac_find_libraries=
32436 for ac_dir in $SEARCH_LIB;
32437 do
32438 for ac_extension in a so sl dylib dll.a; do
32439 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32440 ac_find_libraries=$ac_dir
32441 break 2
32442 fi
32443 done
32444 done
32445
32446 if test "$ac_find_libraries" != "" ; then
32447
32448 if test "$ac_find_libraries" = "default location"; then
32449 ac_path_to_link=""
32450 else
32451 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32452 result=$?
32453 if test $result = 0; then
32454 ac_path_to_link=""
32455 else
32456 ac_path_to_link=" -L$ac_find_libraries"
32457 fi
32458 fi
32459
32460 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32461 LDFLAGS="$LDFLAGS $ac_path_to_link"
32462 fi
32463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32464 { echo "$as_me:$LINENO: result: yes" >&5
32465 echo "${ECHO_T}yes" >&6; }
32466
32467 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32468 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32469
32470 ac_find_libraries=
32471 for ac_dir in $SEARCH_LIB;
32472 do
32473 for ac_extension in a so sl dylib dll.a; do
32474 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32475 ac_find_libraries=$ac_dir
32476 break 2
32477 fi
32478 done
32479 done
32480
32481 if test "$ac_find_libraries" != "" ; then
32482 { echo "$as_me:$LINENO: result: yes" >&5
32483 echo "${ECHO_T}yes" >&6; }
32484
32485 for ac_header in X11/extensions/xf86vmode.h
32486 do
32487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32491 echo $ECHO_N "(cached) $ECHO_C" >&6
32492 else
32493 cat >conftest.$ac_ext <<_ACEOF
32494 /* confdefs.h. */
32495 _ACEOF
32496 cat confdefs.h >>conftest.$ac_ext
32497 cat >>conftest.$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499
32500 #if HAVE_X11_XLIB_H
32501 #include <X11/Xlib.h>
32502 #endif
32503
32504
32505 #include <$ac_header>
32506 _ACEOF
32507 rm -f conftest.$ac_objext
32508 if { (ac_try="$ac_compile"
32509 case "(($ac_try" in
32510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32511 *) ac_try_echo=$ac_try;;
32512 esac
32513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32514 (eval "$ac_compile") 2>conftest.er1
32515 ac_status=$?
32516 grep -v '^ *+' conftest.er1 >conftest.err
32517 rm -f conftest.er1
32518 cat conftest.err >&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } && {
32521 test -z "$ac_c_werror_flag" ||
32522 test ! -s conftest.err
32523 } && test -s conftest.$ac_objext; then
32524 eval "$as_ac_Header=yes"
32525 else
32526 echo "$as_me: failed program was:" >&5
32527 sed 's/^/| /' conftest.$ac_ext >&5
32528
32529 eval "$as_ac_Header=no"
32530 fi
32531
32532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32533 fi
32534 ac_res=`eval echo '${'$as_ac_Header'}'`
32535 { echo "$as_me:$LINENO: result: $ac_res" >&5
32536 echo "${ECHO_T}$ac_res" >&6; }
32537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32538 cat >>confdefs.h <<_ACEOF
32539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32540 _ACEOF
32541
32542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32543
32544 fi
32545
32546 done
32547
32548 else
32549 { echo "$as_me:$LINENO: result: no" >&5
32550 echo "${ECHO_T}no" >&6; }
32551 fi
32552
32553 else
32554 { echo "$as_me:$LINENO: result: no" >&5
32555 echo "${ECHO_T}no" >&6; }
32556 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32557 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32558 wxUSE_DISPLAY="no"
32559 fi
32560 elif test "$wxUSE_MSW" = 1; then
32561 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32562 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32563 if test "${ac_cv_header_ddraw_h+set}" = set; then
32564 echo $ECHO_N "(cached) $ECHO_C" >&6
32565 else
32566 cat >conftest.$ac_ext <<_ACEOF
32567 /* confdefs.h. */
32568 _ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572 #include <windows.h>
32573
32574 #include <ddraw.h>
32575 _ACEOF
32576 rm -f conftest.$ac_objext
32577 if { (ac_try="$ac_compile"
32578 case "(($ac_try" in
32579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32580 *) ac_try_echo=$ac_try;;
32581 esac
32582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32583 (eval "$ac_compile") 2>conftest.er1
32584 ac_status=$?
32585 grep -v '^ *+' conftest.er1 >conftest.err
32586 rm -f conftest.er1
32587 cat conftest.err >&5
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); } && {
32590 test -z "$ac_c_werror_flag" ||
32591 test ! -s conftest.err
32592 } && test -s conftest.$ac_objext; then
32593 ac_cv_header_ddraw_h=yes
32594 else
32595 echo "$as_me: failed program was:" >&5
32596 sed 's/^/| /' conftest.$ac_ext >&5
32597
32598 ac_cv_header_ddraw_h=no
32599 fi
32600
32601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32602 fi
32603 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32604 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32605
32606
32607 fi
32608 fi
32609
32610 if test "$wxUSE_DETECT_SM" = "yes"; then
32611 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32612 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32613 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32614
32615 ac_find_libraries=
32616 for ac_dir in $SEARCH_LIB;
32617 do
32618 for ac_extension in a so sl dylib dll.a; do
32619 if test -f "$ac_dir/libSM.$ac_extension"; then
32620 ac_find_libraries=$ac_dir
32621 break 2
32622 fi
32623 done
32624 done
32625
32626 if test "$ac_find_libraries" != "" ; then
32627
32628 if test "$ac_find_libraries" = "default location"; then
32629 ac_path_to_link=""
32630 else
32631 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32632 result=$?
32633 if test $result = 0; then
32634 ac_path_to_link=""
32635 else
32636 ac_path_to_link=" -L$ac_find_libraries"
32637 fi
32638 fi
32639
32640 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32641 LDFLAGS="$LDFLAGS $ac_path_to_link"
32642 fi
32643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32644 { echo "$as_me:$LINENO: result: yes" >&5
32645 echo "${ECHO_T}yes" >&6; }
32646 else
32647 { echo "$as_me:$LINENO: result: no" >&5
32648 echo "${ECHO_T}no" >&6; }
32649 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32650 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32651 wxUSE_DETECT_SM="no"
32652 fi
32653 else
32654 wxUSE_DETECT_SM="no"
32655 fi
32656 fi
32657
32658
32659
32660 USE_OPENGL=0
32661 if test "$wxUSE_OPENGL" = "yes"; then
32662 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32663 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32664 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32665 wxUSE_OPENGL="no"
32666 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32667 OPENGL_LIBS="-framework OpenGL -framework AGL"
32668 elif test "$wxUSE_MSW" = 1; then
32669 OPENGL_LIBS="-lopengl32 -lglu32"
32670 else
32671 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32672 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32673
32674 ac_find_includes=
32675 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32676 do
32677 if test -f "$ac_dir/GL/gl.h"; then
32678 ac_find_includes=$ac_dir
32679 break
32680 fi
32681 done
32682
32683 if test "$ac_find_includes" != "" ; then
32684 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32685 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32686
32687 if test "x$ac_find_includes" = "x/usr/include"; then
32688 ac_path_to_include=""
32689 else
32690 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32691 result=$?
32692 if test $result = 0; then
32693 ac_path_to_include=""
32694 else
32695 ac_path_to_include=" -I$ac_find_includes"
32696 fi
32697 fi
32698
32699 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32700 else
32701 { echo "$as_me:$LINENO: result: not found" >&5
32702 echo "${ECHO_T}not found" >&6; }
32703 fi
32704
32705 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32706 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32707 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 else
32710 cat >conftest.$ac_ext <<_ACEOF
32711 /* confdefs.h. */
32712 _ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h. */
32716
32717
32718 #include <GL/gl.h>
32719 _ACEOF
32720 rm -f conftest.$ac_objext
32721 if { (ac_try="$ac_compile"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32725 esac
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_compile") 2>conftest.er1
32728 ac_status=$?
32729 grep -v '^ *+' conftest.er1 >conftest.err
32730 rm -f conftest.er1
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest.$ac_objext; then
32737 ac_cv_header_GL_gl_h=yes
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742 ac_cv_header_GL_gl_h=no
32743 fi
32744
32745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32746 fi
32747 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32748 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32749 if test $ac_cv_header_GL_gl_h = yes; then
32750
32751 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32752 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32753 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32754 echo $ECHO_N "(cached) $ECHO_C" >&6
32755 else
32756 cat >conftest.$ac_ext <<_ACEOF
32757 /* confdefs.h. */
32758 _ACEOF
32759 cat confdefs.h >>conftest.$ac_ext
32760 cat >>conftest.$ac_ext <<_ACEOF
32761 /* end confdefs.h. */
32762
32763
32764 #include <GL/glu.h>
32765 _ACEOF
32766 rm -f conftest.$ac_objext
32767 if { (ac_try="$ac_compile"
32768 case "(($ac_try" in
32769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32770 *) ac_try_echo=$ac_try;;
32771 esac
32772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32773 (eval "$ac_compile") 2>conftest.er1
32774 ac_status=$?
32775 grep -v '^ *+' conftest.er1 >conftest.err
32776 rm -f conftest.er1
32777 cat conftest.err >&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); } && {
32780 test -z "$ac_c_werror_flag" ||
32781 test ! -s conftest.err
32782 } && test -s conftest.$ac_objext; then
32783 ac_cv_header_GL_glu_h=yes
32784 else
32785 echo "$as_me: failed program was:" >&5
32786 sed 's/^/| /' conftest.$ac_ext >&5
32787
32788 ac_cv_header_GL_glu_h=no
32789 fi
32790
32791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32792 fi
32793 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32794 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32795 if test $ac_cv_header_GL_glu_h = yes; then
32796
32797 found_gl=0
32798
32799 { echo "$as_me:$LINENO: checking for -lGL" >&5
32800 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32801
32802 ac_find_libraries=
32803 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32804 do
32805 for ac_extension in a so sl dylib dll.a; do
32806 if test -f "$ac_dir/libGL.$ac_extension"; then
32807 ac_find_libraries=$ac_dir
32808 break 2
32809 fi
32810 done
32811 done
32812
32813 if test "$ac_find_libraries" != "" ; then
32814 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32815 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32816
32817
32818 if test "$ac_find_libraries" = "default location"; then
32819 ac_path_to_link=""
32820 else
32821 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32822 result=$?
32823 if test $result = 0; then
32824 ac_path_to_link=""
32825 else
32826 ac_path_to_link=" -L$ac_find_libraries"
32827 fi
32828 fi
32829
32830 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32831 LDFLAGS_GL="$ac_path_to_link"
32832 fi
32833
32834 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32835 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32836
32837 ac_find_libraries=
32838 for ac_dir in $SEARCH_LIB;
32839 do
32840 for ac_extension in a so sl dylib dll.a; do
32841 if test -f "$ac_dir/libGLU.$ac_extension"; then
32842 ac_find_libraries=$ac_dir
32843 break 2
32844 fi
32845 done
32846 done
32847
32848 if test "$ac_find_libraries" != "" ; then
32849
32850 if test "$ac_find_libraries" = "default location"; then
32851 ac_path_to_link=""
32852 else
32853 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32854 result=$?
32855 if test $result = 0; then
32856 ac_path_to_link=""
32857 else
32858 ac_path_to_link=" -L$ac_find_libraries"
32859 fi
32860 fi
32861
32862 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32863 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32864 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32865 fi
32866
32867 found_gl=1
32868 OPENGL_LIBS="-lGL -lGLU"
32869 { echo "$as_me:$LINENO: result: yes" >&5
32870 echo "${ECHO_T}yes" >&6; }
32871 else
32872 { echo "$as_me:$LINENO: result: no" >&5
32873 echo "${ECHO_T}no" >&6; }
32874 fi
32875 else
32876 { echo "$as_me:$LINENO: result: no" >&5
32877 echo "${ECHO_T}no" >&6; }
32878 fi
32879
32880 if test "$found_gl" != 1; then
32881 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32882 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32883
32884 ac_find_libraries=
32885 for ac_dir in $SEARCH_LIB;
32886 do
32887 for ac_extension in a so sl dylib dll.a; do
32888 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32889 ac_find_libraries=$ac_dir
32890 break 2
32891 fi
32892 done
32893 done
32894
32895 if test "$ac_find_libraries" != "" ; then
32896
32897 if test "$ac_find_libraries" = "default location"; then
32898 ac_path_to_link=""
32899 else
32900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32901 result=$?
32902 if test $result = 0; then
32903 ac_path_to_link=""
32904 else
32905 ac_path_to_link=" -L$ac_find_libraries"
32906 fi
32907 fi
32908
32909 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32910 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32911 { echo "$as_me:$LINENO: result: yes" >&5
32912 echo "${ECHO_T}yes" >&6; }
32913 else
32914 { echo "$as_me:$LINENO: result: no" >&5
32915 echo "${ECHO_T}no" >&6; }
32916 fi
32917 fi
32918
32919 fi
32920
32921
32922
32923 fi
32924
32925
32926
32927 if test "x$OPENGL_LIBS" = "x"; then
32928 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32929 echo "$as_me: error: OpenGL libraries not available" >&2;}
32930 { (exit 1); exit 1; }; }
32931 fi
32932 fi
32933
32934 if test "$wxUSE_OPENGL" = "yes"; then
32935 USE_OPENGL=1
32936 cat >>confdefs.h <<\_ACEOF
32937 #define wxUSE_OPENGL 1
32938 _ACEOF
32939
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_GLCANVAS 1
32942 _ACEOF
32943
32944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32945 fi
32946 fi
32947
32948
32949 if test -n "$TOOLKIT" ; then
32950 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32951 fi
32952
32953
32954
32955 if test "$wxUSE_SHARED" = "yes"; then
32956 case "${host}" in
32957 *-pc-msdosdjgpp )
32958 wxUSE_SHARED=no
32959 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32960 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32961 ;;
32962 esac
32963 fi
32964
32965 if test "$wxUSE_SHARED" = "yes"; then
32966
32967
32968 case "${host}" in
32969 *-*-cygwin* | *-*-mingw* )
32970 wx_cv_version_script=no
32971 ;;
32972
32973 *)
32974 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32975 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32976 if test "${wx_cv_version_script+set}" = set; then
32977 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 else
32979
32980 echo "VER_1 { *; };" >conftest.sym
32981 echo "int main() { return 0; }" >conftest.cpp
32982
32983 if { ac_try='
32984 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32985 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } ; then
32991 if test -s conftest.stderr ; then
32992 wx_cv_version_script=no
32993 else
32994 wx_cv_version_script=yes
32995 fi
32996 else
32997 wx_cv_version_script=no
32998 fi
32999
33000 if test $wx_cv_version_script = yes
33001 then
33002 echo "struct B { virtual ~B() { } }; \
33003 struct D : public B { }; \
33004 void F() { D d; }" > conftest.cpp
33005
33006 if { ac_try='
33007 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33008 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33011 ac_status=$?
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33014 { ac_try='
33015 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33016 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33019 ac_status=$?
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }
33022 then
33023 if { ac_try='
33024 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33025 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33028 ac_status=$?
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; }
33031 then
33032 wx_cv_version_script=yes
33033 else
33034 wx_cv_version_script=no
33035 fi
33036 fi
33037 fi
33038
33039 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33040 rm -f conftest1.output conftest2.output conftest3.output
33041
33042 fi
33043 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33044 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33045
33046 if test $wx_cv_version_script = yes ; then
33047 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33048 fi
33049 ;;
33050 esac
33051
33052
33053 if test "$wxUSE_VISIBILITY" != "no"; then
33054
33055
33056 if test -n "$GCC"; then
33057 CFLAGS_VISIBILITY="-fvisibility=hidden"
33058 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33059 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33060 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33061 if test "${wx_cv_cc_visibility+set}" = set; then
33062 echo $ECHO_N "(cached) $ECHO_C" >&6
33063 else
33064
33065 wx_save_CXXFLAGS="$CXXFLAGS"
33066 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33067 ac_ext=cpp
33068 ac_cpp='$CXXCPP $CPPFLAGS'
33069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33072
33073 cat >conftest.$ac_ext <<_ACEOF
33074 /* confdefs.h. */
33075 _ACEOF
33076 cat confdefs.h >>conftest.$ac_ext
33077 cat >>conftest.$ac_ext <<_ACEOF
33078 /* end confdefs.h. */
33079
33080 /* we need gcc >= 4.0, older versions with visibility support
33081 didn't have class visibility: */
33082 #if defined(__GNUC__) && __GNUC__ < 4
33083 error this gcc is too old;
33084 #endif
33085
33086 /* visibility only makes sense for ELF shared libs: */
33087 #if !defined(__ELF__) && !defined(__APPLE__)
33088 error this platform has no visibility;
33089 #endif
33090
33091 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33092 extern __attribute__((__visibility__("default"))) int exportedvar;
33093 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33094 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33095 class __attribute__((__visibility__("default"))) Foo {
33096 Foo() {}
33097 };
33098
33099 int
33100 main ()
33101 {
33102
33103 ;
33104 return 0;
33105 }
33106 _ACEOF
33107 rm -f conftest.$ac_objext
33108 if { (ac_try="$ac_compile"
33109 case "(($ac_try" in
33110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33111 *) ac_try_echo=$ac_try;;
33112 esac
33113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33114 (eval "$ac_compile") 2>conftest.er1
33115 ac_status=$?
33116 grep -v '^ *+' conftest.er1 >conftest.err
33117 rm -f conftest.er1
33118 cat conftest.err >&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } && {
33121 test -z "$ac_cxx_werror_flag" ||
33122 test ! -s conftest.err
33123 } && test -s conftest.$ac_objext; then
33124 wx_cv_cc_visibility=yes
33125 else
33126 echo "$as_me: failed program was:" >&5
33127 sed 's/^/| /' conftest.$ac_ext >&5
33128
33129 wx_cv_cc_visibility=no
33130 fi
33131
33132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33133 ac_ext=c
33134 ac_cpp='$CPP $CPPFLAGS'
33135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138
33139 CXXFLAGS="$wx_save_CXXFLAGS"
33140 fi
33141
33142 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33143 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33144 if test $wx_cv_cc_visibility = yes; then
33145 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33146 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33147 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 else
33150
33151 wx_save_CXXFLAGS="$CXXFLAGS"
33152 wx_save_LDFLAGS="$LDFLAGS"
33153 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33154 LDFLAGS="$LDFLAGS -shared -fPIC"
33155 ac_ext=cpp
33156 ac_cpp='$CXXCPP $CPPFLAGS'
33157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160
33161 cat >conftest.$ac_ext <<_ACEOF
33162 /* confdefs.h. */
33163 _ACEOF
33164 cat confdefs.h >>conftest.$ac_ext
33165 cat >>conftest.$ac_ext <<_ACEOF
33166 /* end confdefs.h. */
33167
33168 #include <string>
33169
33170 int
33171 main ()
33172 {
33173
33174 std::string s("hello");
33175 return s.length();
33176
33177 ;
33178 return 0;
33179 }
33180 _ACEOF
33181 rm -f conftest.$ac_objext conftest$ac_exeext
33182 if { (ac_try="$ac_link"
33183 case "(($ac_try" in
33184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33185 *) ac_try_echo=$ac_try;;
33186 esac
33187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33188 (eval "$ac_link") 2>conftest.er1
33189 ac_status=$?
33190 grep -v '^ *+' conftest.er1 >conftest.err
33191 rm -f conftest.er1
33192 cat conftest.err >&5
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } && {
33195 test -z "$ac_cxx_werror_flag" ||
33196 test ! -s conftest.err
33197 } && test -s conftest$ac_exeext &&
33198 $as_test_x conftest$ac_exeext; then
33199 wx_cv_cc_broken_libstdcxx_visibility=no
33200 else
33201 echo "$as_me: failed program was:" >&5
33202 sed 's/^/| /' conftest.$ac_ext >&5
33203
33204 wx_cv_cc_broken_libstdcxx_visibility=yes
33205 fi
33206
33207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33208 conftest$ac_exeext conftest.$ac_ext
33209 ac_ext=c
33210 ac_cpp='$CPP $CPPFLAGS'
33211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33214
33215 CXXFLAGS="$wx_save_CXXFLAGS"
33216 LDFLAGS="$wx_save_LDFLAGS"
33217 fi
33218
33219 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33220 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33221
33222 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33223 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33224 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33225 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 else
33228
33229 ac_ext=cpp
33230 ac_cpp='$CXXCPP $CPPFLAGS'
33231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33234
33235 cat >conftest.$ac_ext <<_ACEOF
33236 /* confdefs.h. */
33237 _ACEOF
33238 cat confdefs.h >>conftest.$ac_ext
33239 cat >>conftest.$ac_ext <<_ACEOF
33240 /* end confdefs.h. */
33241
33242 #pragma GCC visibility push(default)
33243 #include <string>
33244 #pragma GCC visibility pop
33245
33246 int
33247 main ()
33248 {
33249
33250 std::string s("hello");
33251 return s.length();
33252
33253 ;
33254 return 0;
33255 }
33256 _ACEOF
33257 rm -f conftest.$ac_objext conftest$ac_exeext
33258 if { (ac_try="$ac_link"
33259 case "(($ac_try" in
33260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33261 *) ac_try_echo=$ac_try;;
33262 esac
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_link") 2>conftest.er1
33265 ac_status=$?
33266 grep -v '^ *+' conftest.er1 >conftest.err
33267 rm -f conftest.er1
33268 cat conftest.err >&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } && {
33271 test -z "$ac_cxx_werror_flag" ||
33272 test ! -s conftest.err
33273 } && test -s conftest$ac_exeext &&
33274 $as_test_x conftest$ac_exeext; then
33275 wx_cv_cc_visibility_workaround=no
33276 else
33277 echo "$as_me: failed program was:" >&5
33278 sed 's/^/| /' conftest.$ac_ext >&5
33279
33280 wx_cv_cc_visibility_workaround=yes
33281 fi
33282
33283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33284 conftest$ac_exeext conftest.$ac_ext
33285 ac_ext=c
33286 ac_cpp='$CPP $CPPFLAGS'
33287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33290
33291
33292 fi
33293
33294 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33295 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33296
33297 if test $wx_cv_cc_visibility_workaround = no; then
33298 wx_cv_cc_visibility=no
33299 fi
33300 fi
33301 fi
33302
33303 if test $wx_cv_cc_visibility = yes; then
33304 cat >>confdefs.h <<\_ACEOF
33305 #define HAVE_VISIBILITY 1
33306 _ACEOF
33307
33308 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33311 _ACEOF
33312
33313 fi
33314 else
33315 CFLAGS_VISIBILITY=""
33316 CXXFLAGS_VISIBILITY=""
33317 fi
33318
33319
33320 fi
33321
33322 fi
33323
33324 if test "x$SUNCXX" = xyes; then
33325 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33326 WXCONFIG_RPATH="-R\$libdir"
33327 else
33328 case "${host}" in
33329 *-*-linux* | *-*-gnu* )
33330 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33331 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33332 ;;
33333
33334 *-*-solaris2* )
33335
33336 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33337
33338 saveLdflags="$LDFLAGS"
33339 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33340 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33341 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33342 cat >conftest.$ac_ext <<_ACEOF
33343 /* confdefs.h. */
33344 _ACEOF
33345 cat confdefs.h >>conftest.$ac_ext
33346 cat >>conftest.$ac_ext <<_ACEOF
33347 /* end confdefs.h. */
33348
33349 int
33350 main ()
33351 {
33352
33353 ;
33354 return 0;
33355 }
33356 _ACEOF
33357 rm -f conftest.$ac_objext conftest$ac_exeext
33358 if { (ac_try="$ac_link"
33359 case "(($ac_try" in
33360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33361 *) ac_try_echo=$ac_try;;
33362 esac
33363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33364 (eval "$ac_link") 2>conftest.er1
33365 ac_status=$?
33366 grep -v '^ *+' conftest.er1 >conftest.err
33367 rm -f conftest.er1
33368 cat conftest.err >&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); } && {
33371 test -z "$ac_c_werror_flag" ||
33372 test ! -s conftest.err
33373 } && test -s conftest$ac_exeext &&
33374 $as_test_x conftest$ac_exeext; then
33375
33376 { echo "$as_me:$LINENO: result: yes" >&5
33377 echo "${ECHO_T}yes" >&6; }
33378 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33379 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33380
33381 else
33382 echo "$as_me: failed program was:" >&5
33383 sed 's/^/| /' conftest.$ac_ext >&5
33384
33385
33386 { echo "$as_me:$LINENO: result: no" >&5
33387 echo "${ECHO_T}no" >&6; }
33388 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33389 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33390 LDFLAGS="$saveLdflags -Wl,-R,/"
33391 cat >conftest.$ac_ext <<_ACEOF
33392 /* confdefs.h. */
33393 _ACEOF
33394 cat confdefs.h >>conftest.$ac_ext
33395 cat >>conftest.$ac_ext <<_ACEOF
33396 /* end confdefs.h. */
33397
33398 int
33399 main ()
33400 {
33401
33402 ;
33403 return 0;
33404 }
33405 _ACEOF
33406 rm -f conftest.$ac_objext conftest$ac_exeext
33407 if { (ac_try="$ac_link"
33408 case "(($ac_try" in
33409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33410 *) ac_try_echo=$ac_try;;
33411 esac
33412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33413 (eval "$ac_link") 2>conftest.er1
33414 ac_status=$?
33415 grep -v '^ *+' conftest.er1 >conftest.err
33416 rm -f conftest.er1
33417 cat conftest.err >&5
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); } && {
33420 test -z "$ac_c_werror_flag" ||
33421 test ! -s conftest.err
33422 } && test -s conftest$ac_exeext &&
33423 $as_test_x conftest$ac_exeext; then
33424
33425 { echo "$as_me:$LINENO: result: yes" >&5
33426 echo "${ECHO_T}yes" >&6; }
33427 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33428 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33429
33430 else
33431 echo "$as_me: failed program was:" >&5
33432 sed 's/^/| /' conftest.$ac_ext >&5
33433
33434
33435 { echo "$as_me:$LINENO: result: no" >&5
33436 echo "${ECHO_T}no" >&6; }
33437
33438 fi
33439
33440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33441 conftest$ac_exeext conftest.$ac_ext
33442
33443 fi
33444
33445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33446 conftest$ac_exeext conftest.$ac_ext
33447 LDFLAGS="$saveLdflags"
33448 ;;
33449
33450 *-*-darwin* )
33451 install_name_tool=`which install_name_tool`
33452 if test "$install_name_tool" -a -x "$install_name_tool"; then
33453 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33454 cat <<EOF >change-install-names
33455 #!/bin/sh
33456 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33457 inst_cmd="install_name_tool "
33458 for i in \${libnames} ; do
33459 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33460 done
33461 \${inst_cmd} \${3}
33462 EOF
33463 chmod +x change-install-names
33464 fi
33465 ;;
33466
33467 *-*-cygwin* | *-*-mingw32* )
33468 ;;
33469
33470 *-*-hpux* )
33471 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33472 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33473 ;;
33474
33475 esac
33476 fi
33477
33478 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33479
33480 if test $wxUSE_RPATH = "no"; then
33481 SAMPLES_RPATH_FLAG=''
33482 SAMPLES_RPATH_POSTLINK=''
33483 WXCONFIG_RPATH=''
33484 fi
33485
33486 SHARED=1
33487
33488 else
33489
33490 config_linkage_component="-static"
33491 SHARED=0
33492
33493 fi
33494
33495
33496 UNICODE=0
33497 lib_unicode_suffix=
33498 WX_CHARTYPE="ansi"
33499 if test "$wxUSE_UNICODE" = "yes"; then
33500 lib_unicode_suffix=u
33501 WX_CHARTYPE="unicode"
33502 UNICODE=1
33503 fi
33504
33505 lib_debug_suffix=
33506 WX_DEBUGTYPE="release"
33507 DEBUG_FLAG=0
33508 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33509 lib_debug_suffix=d
33510 WX_DEBUGTYPE="debug"
33511 DEBUG_FLAG=1
33512 fi
33513
33514 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33515 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33516
33517 DEBUG_INFO=0
33518 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33519 DEBUG_INFO=1
33520 fi
33521
33522 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33523
33524 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33525
33526 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33527
33528 if test "$cross_compiling" = "yes"; then
33529 HOST_SUFFIX="-$host_alias"
33530 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33531 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33532 fi
33533
33534 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33535 if test "${TOOLKIT_DIR}" = "os2"; then
33536 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33537 else
33538 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33539 fi
33540
33541
33542
33543 if test "$wxUSE_COCOA" = 1; then
33544
33545 ac_ext=c
33546 ac_cpp='$CPP $CPPFLAGS'
33547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33550
33551 ac_ext=m
33552
33553 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33554 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33555 cat >conftest.$ac_ext <<_ACEOF
33556 /* confdefs.h. */
33557 _ACEOF
33558 cat confdefs.h >>conftest.$ac_ext
33559 cat >>conftest.$ac_ext <<_ACEOF
33560 /* end confdefs.h. */
33561 #include <AppKit/NSEvent.h>
33562 #include <CoreFoundation/CoreFoundation.h>
33563
33564 int
33565 main ()
33566 {
33567
33568 ;
33569 return 0;
33570 }
33571 _ACEOF
33572 rm -f conftest.$ac_objext
33573 if { (ac_try="$ac_compile"
33574 case "(($ac_try" in
33575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33576 *) ac_try_echo=$ac_try;;
33577 esac
33578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33579 (eval "$ac_compile") 2>conftest.er1
33580 ac_status=$?
33581 grep -v '^ *+' conftest.er1 >conftest.err
33582 rm -f conftest.er1
33583 cat conftest.err >&5
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); } && {
33586 test -z "$ac_c_werror_flag" ||
33587 test ! -s conftest.err
33588 } && test -s conftest.$ac_objext; then
33589 { echo "$as_me:$LINENO: result: no" >&5
33590 echo "${ECHO_T}no" >&6; }
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 { echo "$as_me:$LINENO: result: yes" >&5
33596 echo "${ECHO_T}yes" >&6; }
33597 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33598 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33599 cat >conftest.$ac_ext <<_ACEOF
33600 /* confdefs.h. */
33601 _ACEOF
33602 cat confdefs.h >>conftest.$ac_ext
33603 cat >>conftest.$ac_ext <<_ACEOF
33604 /* end confdefs.h. */
33605 #define __Point__ 1
33606 #include <AppKit/NSEvent.h>
33607 #include <CoreFoundation/CoreFoundation.h>
33608
33609 int
33610 main ()
33611 {
33612
33613 ;
33614 return 0;
33615 }
33616 _ACEOF
33617 rm -f conftest.$ac_objext
33618 if { (ac_try="$ac_compile"
33619 case "(($ac_try" in
33620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33621 *) ac_try_echo=$ac_try;;
33622 esac
33623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33624 (eval "$ac_compile") 2>conftest.er1
33625 ac_status=$?
33626 grep -v '^ *+' conftest.er1 >conftest.err
33627 rm -f conftest.er1
33628 cat conftest.err >&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); } && {
33631 test -z "$ac_c_werror_flag" ||
33632 test ! -s conftest.err
33633 } && test -s conftest.$ac_objext; then
33634 { echo "$as_me:$LINENO: result: yes" >&5
33635 echo "${ECHO_T}yes" >&6; }
33636 cat >>confdefs.h <<\_ACEOF
33637 #define __Point__ 1
33638 _ACEOF
33639
33640
33641 else
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.$ac_ext >&5
33644
33645 { { echo "$as_me:$LINENO: error: no
33646 See \`config.log' for more details." >&5
33647 echo "$as_me: error: no
33648 See \`config.log' for more details." >&2;}
33649 { (exit 1); exit 1; }; }
33650
33651 fi
33652
33653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654
33655 fi
33656
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33663
33664 fi
33665
33666
33667 { echo "$as_me:$LINENO: checking for mode_t" >&5
33668 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33669 if test "${ac_cv_type_mode_t+set}" = set; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 else
33672 cat >conftest.$ac_ext <<_ACEOF
33673 /* confdefs.h. */
33674 _ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 $ac_includes_default
33679 typedef mode_t ac__type_new_;
33680 int
33681 main ()
33682 {
33683 if ((ac__type_new_ *) 0)
33684 return 0;
33685 if (sizeof (ac__type_new_))
33686 return 0;
33687 ;
33688 return 0;
33689 }
33690 _ACEOF
33691 rm -f conftest.$ac_objext
33692 if { (ac_try="$ac_compile"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33696 esac
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_compile") 2>conftest.er1
33699 ac_status=$?
33700 grep -v '^ *+' conftest.er1 >conftest.err
33701 rm -f conftest.er1
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest.$ac_objext; then
33708 ac_cv_type_mode_t=yes
33709 else
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33712
33713 ac_cv_type_mode_t=no
33714 fi
33715
33716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33717 fi
33718 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33719 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33720 if test $ac_cv_type_mode_t = yes; then
33721 :
33722 else
33723
33724 cat >>confdefs.h <<_ACEOF
33725 #define mode_t int
33726 _ACEOF
33727
33728 fi
33729
33730 { echo "$as_me:$LINENO: checking for off_t" >&5
33731 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33732 if test "${ac_cv_type_off_t+set}" = set; then
33733 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 else
33735 cat >conftest.$ac_ext <<_ACEOF
33736 /* confdefs.h. */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741 $ac_includes_default
33742 typedef off_t ac__type_new_;
33743 int
33744 main ()
33745 {
33746 if ((ac__type_new_ *) 0)
33747 return 0;
33748 if (sizeof (ac__type_new_))
33749 return 0;
33750 ;
33751 return 0;
33752 }
33753 _ACEOF
33754 rm -f conftest.$ac_objext
33755 if { (ac_try="$ac_compile"
33756 case "(($ac_try" in
33757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33758 *) ac_try_echo=$ac_try;;
33759 esac
33760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33761 (eval "$ac_compile") 2>conftest.er1
33762 ac_status=$?
33763 grep -v '^ *+' conftest.er1 >conftest.err
33764 rm -f conftest.er1
33765 cat conftest.err >&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } && {
33768 test -z "$ac_c_werror_flag" ||
33769 test ! -s conftest.err
33770 } && test -s conftest.$ac_objext; then
33771 ac_cv_type_off_t=yes
33772 else
33773 echo "$as_me: failed program was:" >&5
33774 sed 's/^/| /' conftest.$ac_ext >&5
33775
33776 ac_cv_type_off_t=no
33777 fi
33778
33779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33780 fi
33781 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33782 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33783 if test $ac_cv_type_off_t = yes; then
33784 :
33785 else
33786
33787 cat >>confdefs.h <<_ACEOF
33788 #define off_t long int
33789 _ACEOF
33790
33791 fi
33792
33793 { echo "$as_me:$LINENO: checking for pid_t" >&5
33794 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33795 if test "${ac_cv_type_pid_t+set}" = set; then
33796 echo $ECHO_N "(cached) $ECHO_C" >&6
33797 else
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804 $ac_includes_default
33805 typedef pid_t ac__type_new_;
33806 int
33807 main ()
33808 {
33809 if ((ac__type_new_ *) 0)
33810 return 0;
33811 if (sizeof (ac__type_new_))
33812 return 0;
33813 ;
33814 return 0;
33815 }
33816 _ACEOF
33817 rm -f conftest.$ac_objext
33818 if { (ac_try="$ac_compile"
33819 case "(($ac_try" in
33820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33821 *) ac_try_echo=$ac_try;;
33822 esac
33823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33824 (eval "$ac_compile") 2>conftest.er1
33825 ac_status=$?
33826 grep -v '^ *+' conftest.er1 >conftest.err
33827 rm -f conftest.er1
33828 cat conftest.err >&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); } && {
33831 test -z "$ac_c_werror_flag" ||
33832 test ! -s conftest.err
33833 } && test -s conftest.$ac_objext; then
33834 ac_cv_type_pid_t=yes
33835 else
33836 echo "$as_me: failed program was:" >&5
33837 sed 's/^/| /' conftest.$ac_ext >&5
33838
33839 ac_cv_type_pid_t=no
33840 fi
33841
33842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33843 fi
33844 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33845 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33846 if test $ac_cv_type_pid_t = yes; then
33847 :
33848 else
33849
33850 cat >>confdefs.h <<_ACEOF
33851 #define pid_t int
33852 _ACEOF
33853
33854 fi
33855
33856 { echo "$as_me:$LINENO: checking for size_t" >&5
33857 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33858 if test "${ac_cv_type_size_t+set}" = set; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33860 else
33861 cat >conftest.$ac_ext <<_ACEOF
33862 /* confdefs.h. */
33863 _ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33867 $ac_includes_default
33868 typedef size_t ac__type_new_;
33869 int
33870 main ()
33871 {
33872 if ((ac__type_new_ *) 0)
33873 return 0;
33874 if (sizeof (ac__type_new_))
33875 return 0;
33876 ;
33877 return 0;
33878 }
33879 _ACEOF
33880 rm -f conftest.$ac_objext
33881 if { (ac_try="$ac_compile"
33882 case "(($ac_try" in
33883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33884 *) ac_try_echo=$ac_try;;
33885 esac
33886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33887 (eval "$ac_compile") 2>conftest.er1
33888 ac_status=$?
33889 grep -v '^ *+' conftest.er1 >conftest.err
33890 rm -f conftest.er1
33891 cat conftest.err >&5
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); } && {
33894 test -z "$ac_c_werror_flag" ||
33895 test ! -s conftest.err
33896 } && test -s conftest.$ac_objext; then
33897 ac_cv_type_size_t=yes
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33901
33902 ac_cv_type_size_t=no
33903 fi
33904
33905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33906 fi
33907 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33908 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33909 if test $ac_cv_type_size_t = yes; then
33910 :
33911 else
33912
33913 cat >>confdefs.h <<_ACEOF
33914 #define size_t unsigned int
33915 _ACEOF
33916
33917 fi
33918
33919
33920 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33921 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33922 if test "${ac_cv_type_ssize_t+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33925 cat >conftest.$ac_ext <<_ACEOF
33926 /* confdefs.h. */
33927 _ACEOF
33928 cat confdefs.h >>conftest.$ac_ext
33929 cat >>conftest.$ac_ext <<_ACEOF
33930 /* end confdefs.h. */
33931 $ac_includes_default
33932 typedef ssize_t ac__type_new_;
33933 int
33934 main ()
33935 {
33936 if ((ac__type_new_ *) 0)
33937 return 0;
33938 if (sizeof (ac__type_new_))
33939 return 0;
33940 ;
33941 return 0;
33942 }
33943 _ACEOF
33944 rm -f conftest.$ac_objext
33945 if { (ac_try="$ac_compile"
33946 case "(($ac_try" in
33947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33948 *) ac_try_echo=$ac_try;;
33949 esac
33950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33951 (eval "$ac_compile") 2>conftest.er1
33952 ac_status=$?
33953 grep -v '^ *+' conftest.er1 >conftest.err
33954 rm -f conftest.er1
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } && {
33958 test -z "$ac_c_werror_flag" ||
33959 test ! -s conftest.err
33960 } && test -s conftest.$ac_objext; then
33961 ac_cv_type_ssize_t=yes
33962 else
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.$ac_ext >&5
33965
33966 ac_cv_type_ssize_t=no
33967 fi
33968
33969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33970 fi
33971 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33972 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33973 if test $ac_cv_type_ssize_t = yes; then
33974
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE_SSIZE_T 1
33977 _ACEOF
33978
33979
33980 fi
33981
33982
33983 ac_ext=cpp
33984 ac_cpp='$CXXCPP $CPPFLAGS'
33985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33988 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33989 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33990 if test "${wx_cv_size_t_is_uint+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 else
33993
33994 cat >conftest.$ac_ext <<_ACEOF
33995 /* confdefs.h. */
33996 _ACEOF
33997 cat confdefs.h >>conftest.$ac_ext
33998 cat >>conftest.$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 #include <stddef.h>
34001 int
34002 main ()
34003 {
34004
34005 return 0; }
34006
34007 struct Foo { void foo(size_t); void foo(unsigned int); };
34008
34009 int bar() {
34010
34011 ;
34012 return 0;
34013 }
34014 _ACEOF
34015 rm -f conftest.$ac_objext
34016 if { (ac_try="$ac_compile"
34017 case "(($ac_try" in
34018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34019 *) ac_try_echo=$ac_try;;
34020 esac
34021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34022 (eval "$ac_compile") 2>conftest.er1
34023 ac_status=$?
34024 grep -v '^ *+' conftest.er1 >conftest.err
34025 rm -f conftest.er1
34026 cat conftest.err >&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } && {
34029 test -z "$ac_cxx_werror_flag" ||
34030 test ! -s conftest.err
34031 } && test -s conftest.$ac_objext; then
34032 wx_cv_size_t_is_uint=no
34033 else
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34036
34037 wx_cv_size_t_is_uint=yes
34038
34039 fi
34040
34041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34042
34043
34044 fi
34045 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34046 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34047
34048 if test "$wx_cv_size_t_is_uint" = "yes"; then
34049 cat >>confdefs.h <<\_ACEOF
34050 #define wxSIZE_T_IS_UINT 1
34051 _ACEOF
34052
34053 else
34054 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34055 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34056 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34058 else
34059 cat >conftest.$ac_ext <<_ACEOF
34060 /* confdefs.h. */
34061 _ACEOF
34062 cat confdefs.h >>conftest.$ac_ext
34063 cat >>conftest.$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 #include <stddef.h>
34066 int
34067 main ()
34068 {
34069
34070 return 0; }
34071
34072 struct Foo { void foo(size_t); void foo(unsigned long); };
34073
34074 int bar() {
34075
34076 ;
34077 return 0;
34078 }
34079 _ACEOF
34080 rm -f conftest.$ac_objext
34081 if { (ac_try="$ac_compile"
34082 case "(($ac_try" in
34083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34084 *) ac_try_echo=$ac_try;;
34085 esac
34086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34087 (eval "$ac_compile") 2>conftest.er1
34088 ac_status=$?
34089 grep -v '^ *+' conftest.er1 >conftest.err
34090 rm -f conftest.er1
34091 cat conftest.err >&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } && {
34094 test -z "$ac_cxx_werror_flag" ||
34095 test ! -s conftest.err
34096 } && test -s conftest.$ac_objext; then
34097 wx_cv_size_t_is_ulong=no
34098 else
34099 echo "$as_me: failed program was:" >&5
34100 sed 's/^/| /' conftest.$ac_ext >&5
34101
34102 wx_cv_size_t_is_ulong=yes
34103
34104 fi
34105
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107
34108 fi
34109 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34110 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34111
34112 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34113 cat >>confdefs.h <<\_ACEOF
34114 #define wxSIZE_T_IS_ULONG 1
34115 _ACEOF
34116
34117 fi
34118 fi
34119
34120 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34121 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34122 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34124 else
34125 cat >conftest.$ac_ext <<_ACEOF
34126 /* confdefs.h. */
34127 _ACEOF
34128 cat confdefs.h >>conftest.$ac_ext
34129 cat >>conftest.$ac_ext <<_ACEOF
34130 /* end confdefs.h. */
34131 #include <wchar.h>
34132 int
34133 main ()
34134 {
34135
34136 return 0; }
34137
34138 struct Foo { void foo(wchar_t);
34139 void foo(unsigned short);
34140 void foo(unsigned int);
34141 void foo(unsigned long); };
34142
34143 int bar() {
34144
34145 ;
34146 return 0;
34147 }
34148 _ACEOF
34149 rm -f conftest.$ac_objext
34150 if { (ac_try="$ac_compile"
34151 case "(($ac_try" in
34152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34153 *) ac_try_echo=$ac_try;;
34154 esac
34155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34156 (eval "$ac_compile") 2>conftest.er1
34157 ac_status=$?
34158 grep -v '^ *+' conftest.er1 >conftest.err
34159 rm -f conftest.er1
34160 cat conftest.err >&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); } && {
34163 test -z "$ac_cxx_werror_flag" ||
34164 test ! -s conftest.err
34165 } && test -s conftest.$ac_objext; then
34166 wx_cv_wchar_t_is_separate_type=yes
34167 else
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.$ac_ext >&5
34170
34171 wx_cv_wchar_t_is_separate_type=no
34172
34173 fi
34174
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176
34177 fi
34178 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34179 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34180
34181 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34182 cat >>confdefs.h <<\_ACEOF
34183 #define wxWCHAR_T_IS_REAL_TYPE 1
34184 _ACEOF
34185
34186 else
34187 cat >>confdefs.h <<\_ACEOF
34188 #define wxWCHAR_T_IS_REAL_TYPE 0
34189 _ACEOF
34190
34191 fi
34192
34193 ac_ext=c
34194 ac_cpp='$CPP $CPPFLAGS'
34195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34198
34199
34200 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34201 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34202 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34204 else
34205
34206 cat >conftest.$ac_ext <<_ACEOF
34207 /* confdefs.h. */
34208 _ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212 #include <pwd.h>
34213 int
34214 main ()
34215 {
34216
34217 char *p;
34218 struct passwd *pw;
34219 p = pw->pw_gecos;
34220
34221 ;
34222 return 0;
34223 }
34224 _ACEOF
34225 rm -f conftest.$ac_objext
34226 if { (ac_try="$ac_compile"
34227 case "(($ac_try" in
34228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34229 *) ac_try_echo=$ac_try;;
34230 esac
34231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34232 (eval "$ac_compile") 2>conftest.er1
34233 ac_status=$?
34234 grep -v '^ *+' conftest.er1 >conftest.err
34235 rm -f conftest.er1
34236 cat conftest.err >&5
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); } && {
34239 test -z "$ac_c_werror_flag" ||
34240 test ! -s conftest.err
34241 } && test -s conftest.$ac_objext; then
34242
34243 wx_cv_struct_pw_gecos=yes
34244
34245 else
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34248
34249
34250 wx_cv_struct_pw_gecos=no
34251
34252
34253 fi
34254
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256
34257
34258 fi
34259 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34260 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34261
34262 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34263 cat >>confdefs.h <<\_ACEOF
34264 #define HAVE_PW_GECOS 1
34265 _ACEOF
34266
34267 fi
34268
34269
34270 if test "$wxUSE_WCHAR_T" = "yes"; then
34271 cat >>confdefs.h <<\_ACEOF
34272 #define wxUSE_WCHAR_T 1
34273 _ACEOF
34274
34275
34276 WCSLEN_FOUND=0
34277 WCHAR_LINK=
34278
34279 for ac_func in wcslen
34280 do
34281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34286 else
34287 cat >conftest.$ac_ext <<_ACEOF
34288 /* confdefs.h. */
34289 _ACEOF
34290 cat confdefs.h >>conftest.$ac_ext
34291 cat >>conftest.$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34295 #define $ac_func innocuous_$ac_func
34296
34297 /* System header to define __stub macros and hopefully few prototypes,
34298 which can conflict with char $ac_func (); below.
34299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34300 <limits.h> exists even on freestanding compilers. */
34301
34302 #ifdef __STDC__
34303 # include <limits.h>
34304 #else
34305 # include <assert.h>
34306 #endif
34307
34308 #undef $ac_func
34309
34310 /* Override any GCC internal prototype to avoid an error.
34311 Use char because int might match the return type of a GCC
34312 builtin and then its argument prototype would still apply. */
34313 #ifdef __cplusplus
34314 extern "C"
34315 #endif
34316 char $ac_func ();
34317 /* The GNU C library defines this for functions which it implements
34318 to always fail with ENOSYS. Some functions are actually named
34319 something starting with __ and the normal name is an alias. */
34320 #if defined __stub_$ac_func || defined __stub___$ac_func
34321 choke me
34322 #endif
34323
34324 int
34325 main ()
34326 {
34327 return $ac_func ();
34328 ;
34329 return 0;
34330 }
34331 _ACEOF
34332 rm -f conftest.$ac_objext conftest$ac_exeext
34333 if { (ac_try="$ac_link"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34336 *) ac_try_echo=$ac_try;;
34337 esac
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_link") 2>conftest.er1
34340 ac_status=$?
34341 grep -v '^ *+' conftest.er1 >conftest.err
34342 rm -f conftest.er1
34343 cat conftest.err >&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest$ac_exeext &&
34349 $as_test_x conftest$ac_exeext; then
34350 eval "$as_ac_var=yes"
34351 else
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.$ac_ext >&5
34354
34355 eval "$as_ac_var=no"
34356 fi
34357
34358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34359 conftest$ac_exeext conftest.$ac_ext
34360 fi
34361 ac_res=`eval echo '${'$as_ac_var'}'`
34362 { echo "$as_me:$LINENO: result: $ac_res" >&5
34363 echo "${ECHO_T}$ac_res" >&6; }
34364 if test `eval echo '${'$as_ac_var'}'` = yes; then
34365 cat >>confdefs.h <<_ACEOF
34366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34367 _ACEOF
34368 WCSLEN_FOUND=1
34369 fi
34370 done
34371
34372
34373 if test "$WCSLEN_FOUND" = 0; then
34374 if test "$TOOLKIT" = "MSW"; then
34375 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34376 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34377 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 else
34380 ac_check_lib_save_LIBS=$LIBS
34381 LIBS="-lmsvcrt $LIBS"
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388
34389 /* Override any GCC internal prototype to avoid an error.
34390 Use char because int might match the return type of a GCC
34391 builtin and then its argument prototype would still apply. */
34392 #ifdef __cplusplus
34393 extern "C"
34394 #endif
34395 char wcslen ();
34396 int
34397 main ()
34398 {
34399 return wcslen ();
34400 ;
34401 return 0;
34402 }
34403 _ACEOF
34404 rm -f conftest.$ac_objext conftest$ac_exeext
34405 if { (ac_try="$ac_link"
34406 case "(($ac_try" in
34407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34408 *) ac_try_echo=$ac_try;;
34409 esac
34410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34411 (eval "$ac_link") 2>conftest.er1
34412 ac_status=$?
34413 grep -v '^ *+' conftest.er1 >conftest.err
34414 rm -f conftest.er1
34415 cat conftest.err >&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); } && {
34418 test -z "$ac_c_werror_flag" ||
34419 test ! -s conftest.err
34420 } && test -s conftest$ac_exeext &&
34421 $as_test_x conftest$ac_exeext; then
34422 ac_cv_lib_msvcrt_wcslen=yes
34423 else
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.$ac_ext >&5
34426
34427 ac_cv_lib_msvcrt_wcslen=no
34428 fi
34429
34430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34431 conftest$ac_exeext conftest.$ac_ext
34432 LIBS=$ac_check_lib_save_LIBS
34433 fi
34434 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34435 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34436 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34437 WCHAR_OK=1
34438 fi
34439
34440 else
34441 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34442 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34443 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 else
34446 ac_check_lib_save_LIBS=$LIBS
34447 LIBS="-lw $LIBS"
34448 cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h. */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454
34455 /* Override any GCC internal prototype to avoid an error.
34456 Use char because int might match the return type of a GCC
34457 builtin and then its argument prototype would still apply. */
34458 #ifdef __cplusplus
34459 extern "C"
34460 #endif
34461 char wcslen ();
34462 int
34463 main ()
34464 {
34465 return wcslen ();
34466 ;
34467 return 0;
34468 }
34469 _ACEOF
34470 rm -f conftest.$ac_objext conftest$ac_exeext
34471 if { (ac_try="$ac_link"
34472 case "(($ac_try" in
34473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34474 *) ac_try_echo=$ac_try;;
34475 esac
34476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34477 (eval "$ac_link") 2>conftest.er1
34478 ac_status=$?
34479 grep -v '^ *+' conftest.er1 >conftest.err
34480 rm -f conftest.er1
34481 cat conftest.err >&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } && {
34484 test -z "$ac_c_werror_flag" ||
34485 test ! -s conftest.err
34486 } && test -s conftest$ac_exeext &&
34487 $as_test_x conftest$ac_exeext; then
34488 ac_cv_lib_w_wcslen=yes
34489 else
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.$ac_ext >&5
34492
34493 ac_cv_lib_w_wcslen=no
34494 fi
34495
34496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34497 conftest$ac_exeext conftest.$ac_ext
34498 LIBS=$ac_check_lib_save_LIBS
34499 fi
34500 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34501 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34502 if test $ac_cv_lib_w_wcslen = yes; then
34503
34504 WCHAR_LINK=" -lw"
34505 WCSLEN_FOUND=1
34506
34507 fi
34508
34509 fi
34510 fi
34511
34512 if test "$WCSLEN_FOUND" = 1; then
34513 cat >>confdefs.h <<\_ACEOF
34514 #define HAVE_WCSLEN 1
34515 _ACEOF
34516
34517 fi
34518
34519
34520 for ac_func in wcsdup
34521 do
34522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34523 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34527 else
34528 cat >conftest.$ac_ext <<_ACEOF
34529 /* confdefs.h. */
34530 _ACEOF
34531 cat confdefs.h >>conftest.$ac_ext
34532 cat >>conftest.$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34536 #define $ac_func innocuous_$ac_func
34537
34538 /* System header to define __stub macros and hopefully few prototypes,
34539 which can conflict with char $ac_func (); below.
34540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34541 <limits.h> exists even on freestanding compilers. */
34542
34543 #ifdef __STDC__
34544 # include <limits.h>
34545 #else
34546 # include <assert.h>
34547 #endif
34548
34549 #undef $ac_func
34550
34551 /* Override any GCC internal prototype to avoid an error.
34552 Use char because int might match the return type of a GCC
34553 builtin and then its argument prototype would still apply. */
34554 #ifdef __cplusplus
34555 extern "C"
34556 #endif
34557 char $ac_func ();
34558 /* The GNU C library defines this for functions which it implements
34559 to always fail with ENOSYS. Some functions are actually named
34560 something starting with __ and the normal name is an alias. */
34561 #if defined __stub_$ac_func || defined __stub___$ac_func
34562 choke me
34563 #endif
34564
34565 int
34566 main ()
34567 {
34568 return $ac_func ();
34569 ;
34570 return 0;
34571 }
34572 _ACEOF
34573 rm -f conftest.$ac_objext conftest$ac_exeext
34574 if { (ac_try="$ac_link"
34575 case "(($ac_try" in
34576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34577 *) ac_try_echo=$ac_try;;
34578 esac
34579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34580 (eval "$ac_link") 2>conftest.er1
34581 ac_status=$?
34582 grep -v '^ *+' conftest.er1 >conftest.err
34583 rm -f conftest.er1
34584 cat conftest.err >&5
34585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34586 (exit $ac_status); } && {
34587 test -z "$ac_c_werror_flag" ||
34588 test ! -s conftest.err
34589 } && test -s conftest$ac_exeext &&
34590 $as_test_x conftest$ac_exeext; then
34591 eval "$as_ac_var=yes"
34592 else
34593 echo "$as_me: failed program was:" >&5
34594 sed 's/^/| /' conftest.$ac_ext >&5
34595
34596 eval "$as_ac_var=no"
34597 fi
34598
34599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34600 conftest$ac_exeext conftest.$ac_ext
34601 fi
34602 ac_res=`eval echo '${'$as_ac_var'}'`
34603 { echo "$as_me:$LINENO: result: $ac_res" >&5
34604 echo "${ECHO_T}$ac_res" >&6; }
34605 if test `eval echo '${'$as_ac_var'}'` = yes; then
34606 cat >>confdefs.h <<_ACEOF
34607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34608 _ACEOF
34609
34610 fi
34611 done
34612
34613
34614 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34615 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34616 fi
34617
34618 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34619 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34620 if test "${ac_cv_type_mbstate_t+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34623 cat >conftest.$ac_ext <<_ACEOF
34624 /* confdefs.h. */
34625 _ACEOF
34626 cat confdefs.h >>conftest.$ac_ext
34627 cat >>conftest.$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34629 #include <wchar.h>
34630
34631 typedef mbstate_t ac__type_new_;
34632 int
34633 main ()
34634 {
34635 if ((ac__type_new_ *) 0)
34636 return 0;
34637 if (sizeof (ac__type_new_))
34638 return 0;
34639 ;
34640 return 0;
34641 }
34642 _ACEOF
34643 rm -f conftest.$ac_objext
34644 if { (ac_try="$ac_compile"
34645 case "(($ac_try" in
34646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34647 *) ac_try_echo=$ac_try;;
34648 esac
34649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34650 (eval "$ac_compile") 2>conftest.er1
34651 ac_status=$?
34652 grep -v '^ *+' conftest.er1 >conftest.err
34653 rm -f conftest.er1
34654 cat conftest.err >&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } && {
34657 test -z "$ac_c_werror_flag" ||
34658 test ! -s conftest.err
34659 } && test -s conftest.$ac_objext; then
34660 ac_cv_type_mbstate_t=yes
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 ac_cv_type_mbstate_t=no
34666 fi
34667
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669 fi
34670 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34671 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34672 if test $ac_cv_type_mbstate_t = yes; then
34673
34674 cat >>confdefs.h <<_ACEOF
34675 #define HAVE_MBSTATE_T 1
34676 _ACEOF
34677
34678
34679 for ac_func in wcsrtombs
34680 do
34681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34686 else
34687 cat >conftest.$ac_ext <<_ACEOF
34688 /* confdefs.h. */
34689 _ACEOF
34690 cat confdefs.h >>conftest.$ac_ext
34691 cat >>conftest.$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34695 #define $ac_func innocuous_$ac_func
34696
34697 /* System header to define __stub macros and hopefully few prototypes,
34698 which can conflict with char $ac_func (); below.
34699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34700 <limits.h> exists even on freestanding compilers. */
34701
34702 #ifdef __STDC__
34703 # include <limits.h>
34704 #else
34705 # include <assert.h>
34706 #endif
34707
34708 #undef $ac_func
34709
34710 /* Override any GCC internal prototype to avoid an error.
34711 Use char because int might match the return type of a GCC
34712 builtin and then its argument prototype would still apply. */
34713 #ifdef __cplusplus
34714 extern "C"
34715 #endif
34716 char $ac_func ();
34717 /* The GNU C library defines this for functions which it implements
34718 to always fail with ENOSYS. Some functions are actually named
34719 something starting with __ and the normal name is an alias. */
34720 #if defined __stub_$ac_func || defined __stub___$ac_func
34721 choke me
34722 #endif
34723
34724 int
34725 main ()
34726 {
34727 return $ac_func ();
34728 ;
34729 return 0;
34730 }
34731 _ACEOF
34732 rm -f conftest.$ac_objext conftest$ac_exeext
34733 if { (ac_try="$ac_link"
34734 case "(($ac_try" in
34735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34736 *) ac_try_echo=$ac_try;;
34737 esac
34738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34739 (eval "$ac_link") 2>conftest.er1
34740 ac_status=$?
34741 grep -v '^ *+' conftest.er1 >conftest.err
34742 rm -f conftest.er1
34743 cat conftest.err >&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); } && {
34746 test -z "$ac_c_werror_flag" ||
34747 test ! -s conftest.err
34748 } && test -s conftest$ac_exeext &&
34749 $as_test_x conftest$ac_exeext; then
34750 eval "$as_ac_var=yes"
34751 else
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.$ac_ext >&5
34754
34755 eval "$as_ac_var=no"
34756 fi
34757
34758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34759 conftest$ac_exeext conftest.$ac_ext
34760 fi
34761 ac_res=`eval echo '${'$as_ac_var'}'`
34762 { echo "$as_me:$LINENO: result: $ac_res" >&5
34763 echo "${ECHO_T}$ac_res" >&6; }
34764 if test `eval echo '${'$as_ac_var'}'` = yes; then
34765 cat >>confdefs.h <<_ACEOF
34766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34767 _ACEOF
34768
34769 fi
34770 done
34771
34772 fi
34773
34774 else
34775 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34776 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34777 fi
34778
34779
34780
34781 for ac_func in snprintf vsnprintf
34782 do
34783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34786 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34788 else
34789 cat >conftest.$ac_ext <<_ACEOF
34790 /* confdefs.h. */
34791 _ACEOF
34792 cat confdefs.h >>conftest.$ac_ext
34793 cat >>conftest.$ac_ext <<_ACEOF
34794 /* end confdefs.h. */
34795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34797 #define $ac_func innocuous_$ac_func
34798
34799 /* System header to define __stub macros and hopefully few prototypes,
34800 which can conflict with char $ac_func (); below.
34801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34802 <limits.h> exists even on freestanding compilers. */
34803
34804 #ifdef __STDC__
34805 # include <limits.h>
34806 #else
34807 # include <assert.h>
34808 #endif
34809
34810 #undef $ac_func
34811
34812 /* Override any GCC internal prototype to avoid an error.
34813 Use char because int might match the return type of a GCC
34814 builtin and then its argument prototype would still apply. */
34815 #ifdef __cplusplus
34816 extern "C"
34817 #endif
34818 char $ac_func ();
34819 /* The GNU C library defines this for functions which it implements
34820 to always fail with ENOSYS. Some functions are actually named
34821 something starting with __ and the normal name is an alias. */
34822 #if defined __stub_$ac_func || defined __stub___$ac_func
34823 choke me
34824 #endif
34825
34826 int
34827 main ()
34828 {
34829 return $ac_func ();
34830 ;
34831 return 0;
34832 }
34833 _ACEOF
34834 rm -f conftest.$ac_objext conftest$ac_exeext
34835 if { (ac_try="$ac_link"
34836 case "(($ac_try" in
34837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34838 *) ac_try_echo=$ac_try;;
34839 esac
34840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34841 (eval "$ac_link") 2>conftest.er1
34842 ac_status=$?
34843 grep -v '^ *+' conftest.er1 >conftest.err
34844 rm -f conftest.er1
34845 cat conftest.err >&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } && {
34848 test -z "$ac_c_werror_flag" ||
34849 test ! -s conftest.err
34850 } && test -s conftest$ac_exeext &&
34851 $as_test_x conftest$ac_exeext; then
34852 eval "$as_ac_var=yes"
34853 else
34854 echo "$as_me: failed program was:" >&5
34855 sed 's/^/| /' conftest.$ac_ext >&5
34856
34857 eval "$as_ac_var=no"
34858 fi
34859
34860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34861 conftest$ac_exeext conftest.$ac_ext
34862 fi
34863 ac_res=`eval echo '${'$as_ac_var'}'`
34864 { echo "$as_me:$LINENO: result: $ac_res" >&5
34865 echo "${ECHO_T}$ac_res" >&6; }
34866 if test `eval echo '${'$as_ac_var'}'` = yes; then
34867 cat >>confdefs.h <<_ACEOF
34868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34869 _ACEOF
34870
34871 fi
34872 done
34873
34874
34875 if test "$ac_cv_func_vsnprintf" = "yes"; then
34876 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34877 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34878 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 else
34881
34882 cat >conftest.$ac_ext <<_ACEOF
34883 /* confdefs.h. */
34884 _ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888
34889 #include <stdio.h>
34890 #include <stdarg.h>
34891 #ifdef __MSL__
34892 #if __MSL__ >= 0x6000
34893 namespace std {}
34894 using namespace std;
34895 #endif
34896 #endif
34897
34898 int
34899 main ()
34900 {
34901
34902 char *buf;
34903 va_list ap;
34904 vsnprintf(buf, 10u, "%s", ap);
34905
34906 ;
34907 return 0;
34908 }
34909 _ACEOF
34910 rm -f conftest.$ac_objext
34911 if { (ac_try="$ac_compile"
34912 case "(($ac_try" in
34913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34914 *) ac_try_echo=$ac_try;;
34915 esac
34916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34917 (eval "$ac_compile") 2>conftest.er1
34918 ac_status=$?
34919 grep -v '^ *+' conftest.er1 >conftest.err
34920 rm -f conftest.er1
34921 cat conftest.err >&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && {
34924 test -z "$ac_c_werror_flag" ||
34925 test ! -s conftest.err
34926 } && test -s conftest.$ac_objext; then
34927 wx_cv_func_vsnprintf_decl=yes
34928 else
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34931
34932 wx_cv_func_vsnprintf_decl=no
34933
34934 fi
34935
34936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34937
34938
34939 fi
34940 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34941 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34942
34943 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34944 cat >>confdefs.h <<\_ACEOF
34945 #define HAVE_VSNPRINTF_DECL 1
34946 _ACEOF
34947
34948
34949 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34950 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34951 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34952 echo $ECHO_N "(cached) $ECHO_C" >&6
34953 else
34954
34955 cat >conftest.$ac_ext <<_ACEOF
34956 /* confdefs.h. */
34957 _ACEOF
34958 cat confdefs.h >>conftest.$ac_ext
34959 cat >>conftest.$ac_ext <<_ACEOF
34960 /* end confdefs.h. */
34961
34962 #include <stdio.h>
34963 #include <stdarg.h>
34964 #ifdef __MSL__
34965 #if __MSL__ >= 0x6000
34966 namespace std {}
34967 using namespace std;
34968 #endif
34969 #endif
34970
34971 int
34972 main ()
34973 {
34974
34975 char *buf;
34976 va_list ap;
34977 const char *fmt = "%s";
34978 vsnprintf(buf, 10u, fmt, ap);
34979
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 rm -f conftest.$ac_objext
34985 if { (ac_try="$ac_compile"
34986 case "(($ac_try" in
34987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34988 *) ac_try_echo=$ac_try;;
34989 esac
34990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34991 (eval "$ac_compile") 2>conftest.er1
34992 ac_status=$?
34993 grep -v '^ *+' conftest.er1 >conftest.err
34994 rm -f conftest.er1
34995 cat conftest.err >&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } && {
34998 test -z "$ac_c_werror_flag" ||
34999 test ! -s conftest.err
35000 } && test -s conftest.$ac_objext; then
35001 wx_cv_func_broken_vsnprintf_decl=no
35002 else
35003 echo "$as_me: failed program was:" >&5
35004 sed 's/^/| /' conftest.$ac_ext >&5
35005
35006 wx_cv_func_broken_vsnprintf_decl=yes
35007
35008 fi
35009
35010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35011
35012
35013 fi
35014 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35015 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35016
35017 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35018 cat >>confdefs.h <<\_ACEOF
35019 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35020 _ACEOF
35021
35022 fi
35023 fi
35024 fi
35025
35026 if test "$ac_cv_func_snprintf" = "yes"; then
35027 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35028 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35029 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032
35033 cat >conftest.$ac_ext <<_ACEOF
35034 /* confdefs.h. */
35035 _ACEOF
35036 cat confdefs.h >>conftest.$ac_ext
35037 cat >>conftest.$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35039
35040 #include <stdio.h>
35041 #include <stdarg.h>
35042 #ifdef __MSL__
35043 #if __MSL__ >= 0x6000
35044 namespace std {}
35045 using namespace std;
35046 #endif
35047 #endif
35048
35049 int
35050 main ()
35051 {
35052
35053 char *buf;
35054 snprintf(buf, 10u, "%s", "wx");
35055
35056 ;
35057 return 0;
35058 }
35059 _ACEOF
35060 rm -f conftest.$ac_objext
35061 if { (ac_try="$ac_compile"
35062 case "(($ac_try" in
35063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35064 *) ac_try_echo=$ac_try;;
35065 esac
35066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35067 (eval "$ac_compile") 2>conftest.er1
35068 ac_status=$?
35069 grep -v '^ *+' conftest.er1 >conftest.err
35070 rm -f conftest.er1
35071 cat conftest.err >&5
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); } && {
35074 test -z "$ac_c_werror_flag" ||
35075 test ! -s conftest.err
35076 } && test -s conftest.$ac_objext; then
35077 wx_cv_func_snprintf_decl=yes
35078 else
35079 echo "$as_me: failed program was:" >&5
35080 sed 's/^/| /' conftest.$ac_ext >&5
35081
35082 wx_cv_func_snprintf_decl=no
35083
35084 fi
35085
35086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087
35088
35089 fi
35090 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35091 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35092
35093 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35094 cat >>confdefs.h <<\_ACEOF
35095 #define HAVE_SNPRINTF_DECL 1
35096 _ACEOF
35097
35098 fi
35099
35100 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35101
35102 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35103 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35104 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35105 echo $ECHO_N "(cached) $ECHO_C" >&6
35106 else
35107
35108 if test "$cross_compiling" = yes; then
35109
35110 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35111 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35112 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35113 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35114 wx_cv_func_snprintf_pos_params=no
35115
35116
35117 else
35118 cat >conftest.$ac_ext <<_ACEOF
35119 /* confdefs.h. */
35120 _ACEOF
35121 cat confdefs.h >>conftest.$ac_ext
35122 cat >>conftest.$ac_ext <<_ACEOF
35123 /* end confdefs.h. */
35124
35125 #include <stdio.h>
35126
35127 int main (void)
35128 {
35129 char buffer[128];
35130 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35131 if (strcmp ("2 3 1", buffer) == 0)
35132 exit (0);
35133 exit (1);
35134 }
35135
35136 _ACEOF
35137 rm -f conftest$ac_exeext
35138 if { (ac_try="$ac_link"
35139 case "(($ac_try" in
35140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35141 *) ac_try_echo=$ac_try;;
35142 esac
35143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35144 (eval "$ac_link") 2>&5
35145 ac_status=$?
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35148 { (case "(($ac_try" in
35149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35150 *) ac_try_echo=$ac_try;;
35151 esac
35152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35153 (eval "$ac_try") 2>&5
35154 ac_status=$?
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); }; }; then
35157 wx_cv_func_snprintf_pos_params=no
35158 else
35159 echo "$as_me: program exited with status $ac_status" >&5
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.$ac_ext >&5
35162
35163 ( exit $ac_status )
35164 wx_cv_func_snprintf_pos_params=yes
35165 fi
35166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35167 fi
35168
35169
35170
35171
35172 fi
35173 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35174 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35175
35176 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35177 cat >>confdefs.h <<\_ACEOF
35178 #define HAVE_UNIX98_PRINTF 1
35179 _ACEOF
35180
35181 fi
35182 fi
35183 fi
35184
35185 if test "$wxUSE_UNICODE" = yes; then
35186
35187 wchar_headers="#include <stdio.h>
35188 #include <wchar.h>"
35189 case "${host}" in
35190 *-*-solaris2* )
35191
35192 for ac_header in widec.h
35193 do
35194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35198 echo $ECHO_N "(cached) $ECHO_C" >&6
35199 else
35200 cat >conftest.$ac_ext <<_ACEOF
35201 /* confdefs.h. */
35202 _ACEOF
35203 cat confdefs.h >>conftest.$ac_ext
35204 cat >>conftest.$ac_ext <<_ACEOF
35205 /* end confdefs.h. */
35206 $ac_includes_default
35207
35208 #include <$ac_header>
35209 _ACEOF
35210 rm -f conftest.$ac_objext
35211 if { (ac_try="$ac_compile"
35212 case "(($ac_try" in
35213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35214 *) ac_try_echo=$ac_try;;
35215 esac
35216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35217 (eval "$ac_compile") 2>conftest.er1
35218 ac_status=$?
35219 grep -v '^ *+' conftest.er1 >conftest.err
35220 rm -f conftest.er1
35221 cat conftest.err >&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } && {
35224 test -z "$ac_c_werror_flag" ||
35225 test ! -s conftest.err
35226 } && test -s conftest.$ac_objext; then
35227 eval "$as_ac_Header=yes"
35228 else
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35231
35232 eval "$as_ac_Header=no"
35233 fi
35234
35235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35236 fi
35237 ac_res=`eval echo '${'$as_ac_Header'}'`
35238 { echo "$as_me:$LINENO: result: $ac_res" >&5
35239 echo "${ECHO_T}$ac_res" >&6; }
35240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35241 cat >>confdefs.h <<_ACEOF
35242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35243 _ACEOF
35244
35245 fi
35246
35247 done
35248
35249 if test "$ac_cv_header_widec_h" = "yes"; then
35250 wchar_headers="$wchar_headers
35251 #include <widec.h>"
35252 fi
35253 esac
35254
35255
35256 for wx_func in putws fputws wprintf vswprintf
35257 do
35258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35261 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 else
35263
35264 cat >conftest.$ac_ext <<_ACEOF
35265
35266 /* confdefs.h. */
35267 _ACEOF
35268 cat confdefs.h >>conftest.$ac_ext
35269 cat >>conftest.$ac_ext <<_ACEOF
35270 /* end confdefs.h. */
35271
35272 $wchar_headers
35273 $ac_includes_default
35274
35275 int
35276 main ()
35277 {
35278
35279 #ifndef $wx_func
35280 &$wx_func;
35281 #endif
35282
35283
35284 ;
35285 return 0;
35286 }
35287
35288 _ACEOF
35289 rm -f conftest.$ac_objext conftest$ac_exeext
35290 if { (ac_try="$ac_link"
35291 case "(($ac_try" in
35292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35293 *) ac_try_echo=$ac_try;;
35294 esac
35295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35296 (eval "$ac_link") 2>conftest.er1
35297 ac_status=$?
35298 grep -v '^ *+' conftest.er1 >conftest.err
35299 rm -f conftest.er1
35300 cat conftest.err >&5
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); } && {
35303 test -z "$ac_c_werror_flag" ||
35304 test ! -s conftest.err
35305 } && test -s conftest$ac_exeext &&
35306 $as_test_x conftest$ac_exeext; then
35307 eval wx_cv_func_$wx_func=yes
35308 else
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35311
35312 eval wx_cv_func_$wx_func=no
35313 fi
35314
35315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35316 conftest$ac_exeext conftest.$ac_ext
35317
35318 fi
35319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35320 { echo "$as_me:$LINENO: result: $ac_res" >&5
35321 echo "${ECHO_T}$ac_res" >&6; }
35322
35323 if eval test \$wx_cv_func_$wx_func = yes
35324 then
35325 cat >>confdefs.h <<_ACEOF
35326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35327 _ACEOF
35328
35329
35330 else
35331 :
35332
35333 fi
35334 done
35335
35336
35337 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35338 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35339 cat >conftest.$ac_ext <<_ACEOF
35340 /* confdefs.h. */
35341 _ACEOF
35342 cat confdefs.h >>conftest.$ac_ext
35343 cat >>conftest.$ac_ext <<_ACEOF
35344 /* end confdefs.h. */
35345 #include <wchar.h>
35346 int
35347 main ()
35348 {
35349 &_vsnwprintf;
35350 ;
35351 return 0;
35352 }
35353 _ACEOF
35354 rm -f conftest.$ac_objext
35355 if { (ac_try="$ac_compile"
35356 case "(($ac_try" in
35357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35358 *) ac_try_echo=$ac_try;;
35359 esac
35360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35361 (eval "$ac_compile") 2>conftest.er1
35362 ac_status=$?
35363 grep -v '^ *+' conftest.er1 >conftest.err
35364 rm -f conftest.er1
35365 cat conftest.err >&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); } && {
35368 test -z "$ac_c_werror_flag" ||
35369 test ! -s conftest.err
35370 } && test -s conftest.$ac_objext; then
35371 { echo "$as_me:$LINENO: result: yes" >&5
35372 echo "${ECHO_T}yes" >&6; }
35373 cat >>confdefs.h <<\_ACEOF
35374 #define HAVE__VSNWPRINTF 1
35375 _ACEOF
35376
35377 else
35378 echo "$as_me: failed program was:" >&5
35379 sed 's/^/| /' conftest.$ac_ext >&5
35380
35381 { echo "$as_me:$LINENO: result: no" >&5
35382 echo "${ECHO_T}no" >&6; }
35383 fi
35384
35385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35386 fi
35387
35388 if test "$wxUSE_FILE" = "yes"; then
35389
35390 for wx_func in fsync
35391 do
35392 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35393 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35394 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35395 echo $ECHO_N "(cached) $ECHO_C" >&6
35396 else
35397
35398 cat >conftest.$ac_ext <<_ACEOF
35399
35400 /* confdefs.h. */
35401 _ACEOF
35402 cat confdefs.h >>conftest.$ac_ext
35403 cat >>conftest.$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35405
35406
35407 $ac_includes_default
35408
35409 int
35410 main ()
35411 {
35412
35413 #ifndef $wx_func
35414 &$wx_func;
35415 #endif
35416
35417
35418 ;
35419 return 0;
35420 }
35421
35422 _ACEOF
35423 rm -f conftest.$ac_objext conftest$ac_exeext
35424 if { (ac_try="$ac_link"
35425 case "(($ac_try" in
35426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35427 *) ac_try_echo=$ac_try;;
35428 esac
35429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35430 (eval "$ac_link") 2>conftest.er1
35431 ac_status=$?
35432 grep -v '^ *+' conftest.er1 >conftest.err
35433 rm -f conftest.er1
35434 cat conftest.err >&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); } && {
35437 test -z "$ac_c_werror_flag" ||
35438 test ! -s conftest.err
35439 } && test -s conftest$ac_exeext &&
35440 $as_test_x conftest$ac_exeext; then
35441 eval wx_cv_func_$wx_func=yes
35442 else
35443 echo "$as_me: failed program was:" >&5
35444 sed 's/^/| /' conftest.$ac_ext >&5
35445
35446 eval wx_cv_func_$wx_func=no
35447 fi
35448
35449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35450 conftest$ac_exeext conftest.$ac_ext
35451
35452 fi
35453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35454 { echo "$as_me:$LINENO: result: $ac_res" >&5
35455 echo "${ECHO_T}$ac_res" >&6; }
35456
35457 if eval test \$wx_cv_func_$wx_func = yes
35458 then
35459 cat >>confdefs.h <<_ACEOF
35460 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35461 _ACEOF
35462
35463
35464 else
35465 :
35466
35467 fi
35468 done
35469
35470 fi
35471
35472 ac_ext=cpp
35473 ac_cpp='$CXXCPP $CPPFLAGS'
35474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35477
35478
35479 for wx_func in round
35480 do
35481 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35482 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35483 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35485 else
35486
35487 cat >conftest.$ac_ext <<_ACEOF
35488
35489 /* confdefs.h. */
35490 _ACEOF
35491 cat confdefs.h >>conftest.$ac_ext
35492 cat >>conftest.$ac_ext <<_ACEOF
35493 /* end confdefs.h. */
35494
35495 #include <math.h>
35496 $ac_includes_default
35497
35498 int
35499 main ()
35500 {
35501
35502 #ifndef $wx_func
35503 &$wx_func;
35504 #endif
35505
35506
35507 ;
35508 return 0;
35509 }
35510
35511 _ACEOF
35512 rm -f conftest.$ac_objext conftest$ac_exeext
35513 if { (ac_try="$ac_link"
35514 case "(($ac_try" in
35515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35516 *) ac_try_echo=$ac_try;;
35517 esac
35518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35519 (eval "$ac_link") 2>conftest.er1
35520 ac_status=$?
35521 grep -v '^ *+' conftest.er1 >conftest.err
35522 rm -f conftest.er1
35523 cat conftest.err >&5
35524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35525 (exit $ac_status); } && {
35526 test -z "$ac_cxx_werror_flag" ||
35527 test ! -s conftest.err
35528 } && test -s conftest$ac_exeext &&
35529 $as_test_x conftest$ac_exeext; then
35530 eval wx_cv_func_$wx_func=yes
35531 else
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35534
35535 eval wx_cv_func_$wx_func=no
35536 fi
35537
35538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35539 conftest$ac_exeext conftest.$ac_ext
35540
35541 fi
35542 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35543 { echo "$as_me:$LINENO: result: $ac_res" >&5
35544 echo "${ECHO_T}$ac_res" >&6; }
35545
35546 if eval test \$wx_cv_func_$wx_func = yes
35547 then
35548 cat >>confdefs.h <<_ACEOF
35549 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35550 _ACEOF
35551
35552
35553 else
35554 :
35555
35556 fi
35557 done
35558
35559 ac_ext=c
35560 ac_cpp='$CPP $CPPFLAGS'
35561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35564
35565
35566 if test "$TOOLKIT" != "MSW"; then
35567
35568
35569
35570
35571
35572 # Check whether --with-libiconv-prefix was given.
35573 if test "${with_libiconv_prefix+set}" = set; then
35574 withval=$with_libiconv_prefix;
35575 for dir in `echo "$withval" | tr : ' '`; do
35576 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35577 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35578 done
35579
35580 fi
35581
35582
35583 { echo "$as_me:$LINENO: checking for iconv" >&5
35584 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35585 if test "${am_cv_func_iconv+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35588
35589 am_cv_func_iconv="no, consider installing GNU libiconv"
35590 am_cv_lib_iconv=no
35591 cat >conftest.$ac_ext <<_ACEOF
35592 /* confdefs.h. */
35593 _ACEOF
35594 cat confdefs.h >>conftest.$ac_ext
35595 cat >>conftest.$ac_ext <<_ACEOF
35596 /* end confdefs.h. */
35597 #include <stdlib.h>
35598 #include <iconv.h>
35599 int
35600 main ()
35601 {
35602 iconv_t cd = iconv_open("","");
35603 iconv(cd,NULL,NULL,NULL,NULL);
35604 iconv_close(cd);
35605 ;
35606 return 0;
35607 }
35608 _ACEOF
35609 rm -f conftest.$ac_objext conftest$ac_exeext
35610 if { (ac_try="$ac_link"
35611 case "(($ac_try" in
35612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35613 *) ac_try_echo=$ac_try;;
35614 esac
35615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35616 (eval "$ac_link") 2>conftest.er1
35617 ac_status=$?
35618 grep -v '^ *+' conftest.er1 >conftest.err
35619 rm -f conftest.er1
35620 cat conftest.err >&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); } && {
35623 test -z "$ac_c_werror_flag" ||
35624 test ! -s conftest.err
35625 } && test -s conftest$ac_exeext &&
35626 $as_test_x conftest$ac_exeext; then
35627 am_cv_func_iconv=yes
35628 else
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.$ac_ext >&5
35631
35632
35633 fi
35634
35635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35636 conftest$ac_exeext conftest.$ac_ext
35637 if test "$am_cv_func_iconv" != yes; then
35638 am_save_LIBS="$LIBS"
35639 LIBS="$LIBS -liconv"
35640 cat >conftest.$ac_ext <<_ACEOF
35641 /* confdefs.h. */
35642 _ACEOF
35643 cat confdefs.h >>conftest.$ac_ext
35644 cat >>conftest.$ac_ext <<_ACEOF
35645 /* end confdefs.h. */
35646 #include <stdlib.h>
35647 #include <iconv.h>
35648 int
35649 main ()
35650 {
35651 iconv_t cd = iconv_open("","");
35652 iconv(cd,NULL,NULL,NULL,NULL);
35653 iconv_close(cd);
35654 ;
35655 return 0;
35656 }
35657 _ACEOF
35658 rm -f conftest.$ac_objext conftest$ac_exeext
35659 if { (ac_try="$ac_link"
35660 case "(($ac_try" in
35661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35662 *) ac_try_echo=$ac_try;;
35663 esac
35664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35665 (eval "$ac_link") 2>conftest.er1
35666 ac_status=$?
35667 grep -v '^ *+' conftest.er1 >conftest.err
35668 rm -f conftest.er1
35669 cat conftest.err >&5
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); } && {
35672 test -z "$ac_c_werror_flag" ||
35673 test ! -s conftest.err
35674 } && test -s conftest$ac_exeext &&
35675 $as_test_x conftest$ac_exeext; then
35676 am_cv_lib_iconv=yes
35677 am_cv_func_iconv=yes
35678 else
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35681
35682
35683 fi
35684
35685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35686 conftest$ac_exeext conftest.$ac_ext
35687 LIBS="$am_save_LIBS"
35688 fi
35689
35690 fi
35691 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35692 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35693 if test "$am_cv_func_iconv" = yes; then
35694
35695 cat >>confdefs.h <<\_ACEOF
35696 #define HAVE_ICONV 1
35697 _ACEOF
35698
35699 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35700 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35701 if test "${wx_cv_func_iconv_const+set}" = set; then
35702 echo $ECHO_N "(cached) $ECHO_C" >&6
35703 else
35704 cat >conftest.$ac_ext <<_ACEOF
35705 /* confdefs.h. */
35706 _ACEOF
35707 cat confdefs.h >>conftest.$ac_ext
35708 cat >>conftest.$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35710
35711 #include <stdlib.h>
35712 #include <iconv.h>
35713 extern
35714 #ifdef __cplusplus
35715 "C"
35716 #endif
35717 #if defined(__STDC__) || defined(__cplusplus)
35718 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35719 #else
35720 size_t iconv();
35721 #endif
35722
35723 int
35724 main ()
35725 {
35726
35727 ;
35728 return 0;
35729 }
35730 _ACEOF
35731 rm -f conftest.$ac_objext
35732 if { (ac_try="$ac_compile"
35733 case "(($ac_try" in
35734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35735 *) ac_try_echo=$ac_try;;
35736 esac
35737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35738 (eval "$ac_compile") 2>conftest.er1
35739 ac_status=$?
35740 grep -v '^ *+' conftest.er1 >conftest.err
35741 rm -f conftest.er1
35742 cat conftest.err >&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); } && {
35745 test -z "$ac_c_werror_flag" ||
35746 test ! -s conftest.err
35747 } && test -s conftest.$ac_objext; then
35748 wx_cv_func_iconv_const="no"
35749 else
35750 echo "$as_me: failed program was:" >&5
35751 sed 's/^/| /' conftest.$ac_ext >&5
35752
35753 wx_cv_func_iconv_const="yes"
35754
35755 fi
35756
35757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35758
35759 fi
35760 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35761 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35762
35763 iconv_const=
35764 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35765 iconv_const="const"
35766 fi
35767
35768
35769 cat >>confdefs.h <<_ACEOF
35770 #define ICONV_CONST $iconv_const
35771 _ACEOF
35772
35773 fi
35774 LIBICONV=
35775 if test "$am_cv_lib_iconv" = yes; then
35776 LIBICONV="-liconv"
35777 fi
35778
35779
35780 LIBS="$LIBICONV $LIBS"
35781
35782 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35783
35784 for ac_func in sigaction
35785 do
35786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35789 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792 cat >conftest.$ac_ext <<_ACEOF
35793 /* confdefs.h. */
35794 _ACEOF
35795 cat confdefs.h >>conftest.$ac_ext
35796 cat >>conftest.$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35800 #define $ac_func innocuous_$ac_func
35801
35802 /* System header to define __stub macros and hopefully few prototypes,
35803 which can conflict with char $ac_func (); below.
35804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35805 <limits.h> exists even on freestanding compilers. */
35806
35807 #ifdef __STDC__
35808 # include <limits.h>
35809 #else
35810 # include <assert.h>
35811 #endif
35812
35813 #undef $ac_func
35814
35815 /* Override any GCC internal prototype to avoid an error.
35816 Use char because int might match the return type of a GCC
35817 builtin and then its argument prototype would still apply. */
35818 #ifdef __cplusplus
35819 extern "C"
35820 #endif
35821 char $ac_func ();
35822 /* The GNU C library defines this for functions which it implements
35823 to always fail with ENOSYS. Some functions are actually named
35824 something starting with __ and the normal name is an alias. */
35825 #if defined __stub_$ac_func || defined __stub___$ac_func
35826 choke me
35827 #endif
35828
35829 int
35830 main ()
35831 {
35832 return $ac_func ();
35833 ;
35834 return 0;
35835 }
35836 _ACEOF
35837 rm -f conftest.$ac_objext conftest$ac_exeext
35838 if { (ac_try="$ac_link"
35839 case "(($ac_try" in
35840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35841 *) ac_try_echo=$ac_try;;
35842 esac
35843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35844 (eval "$ac_link") 2>conftest.er1
35845 ac_status=$?
35846 grep -v '^ *+' conftest.er1 >conftest.err
35847 rm -f conftest.er1
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } && {
35851 test -z "$ac_c_werror_flag" ||
35852 test ! -s conftest.err
35853 } && test -s conftest$ac_exeext &&
35854 $as_test_x conftest$ac_exeext; then
35855 eval "$as_ac_var=yes"
35856 else
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35859
35860 eval "$as_ac_var=no"
35861 fi
35862
35863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35864 conftest$ac_exeext conftest.$ac_ext
35865 fi
35866 ac_res=`eval echo '${'$as_ac_var'}'`
35867 { echo "$as_me:$LINENO: result: $ac_res" >&5
35868 echo "${ECHO_T}$ac_res" >&6; }
35869 if test `eval echo '${'$as_ac_var'}'` = yes; then
35870 cat >>confdefs.h <<_ACEOF
35871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35872 _ACEOF
35873
35874 fi
35875 done
35876
35877
35878 if test "$ac_cv_func_sigaction" = "no"; then
35879 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35880 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35881 wxUSE_ON_FATAL_EXCEPTION=no
35882 fi
35883
35884 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35885 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35886 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35887 if test "${wx_cv_type_sa_handler+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35889 else
35890
35891 ac_ext=cpp
35892 ac_cpp='$CXXCPP $CPPFLAGS'
35893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35896
35897 cat >conftest.$ac_ext <<_ACEOF
35898 /* confdefs.h. */
35899 _ACEOF
35900 cat confdefs.h >>conftest.$ac_ext
35901 cat >>conftest.$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903 #include <signal.h>
35904 int
35905 main ()
35906 {
35907
35908 extern void testSigHandler(int);
35909
35910 struct sigaction sa;
35911 sa.sa_handler = testSigHandler;
35912
35913 ;
35914 return 0;
35915 }
35916 _ACEOF
35917 rm -f conftest.$ac_objext
35918 if { (ac_try="$ac_compile"
35919 case "(($ac_try" in
35920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35921 *) ac_try_echo=$ac_try;;
35922 esac
35923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35924 (eval "$ac_compile") 2>conftest.er1
35925 ac_status=$?
35926 grep -v '^ *+' conftest.er1 >conftest.err
35927 rm -f conftest.er1
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } && {
35931 test -z "$ac_cxx_werror_flag" ||
35932 test ! -s conftest.err
35933 } && test -s conftest.$ac_objext; then
35934
35935 wx_cv_type_sa_handler=int
35936
35937 else
35938 echo "$as_me: failed program was:" >&5
35939 sed 's/^/| /' conftest.$ac_ext >&5
35940
35941
35942 wx_cv_type_sa_handler=void
35943
35944 fi
35945
35946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 ac_ext=c
35948 ac_cpp='$CPP $CPPFLAGS'
35949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35952
35953
35954 fi
35955 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35956 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35957
35958 cat >>confdefs.h <<_ACEOF
35959 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35960 _ACEOF
35961
35962 fi
35963 fi
35964
35965 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35966 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35967 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35968 if test "${wx_cv_func_backtrace+set}" = set; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 else
35971
35972 ac_ext=cpp
35973 ac_cpp='$CXXCPP $CPPFLAGS'
35974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35977
35978 cat >conftest.$ac_ext <<_ACEOF
35979 /* confdefs.h. */
35980 _ACEOF
35981 cat confdefs.h >>conftest.$ac_ext
35982 cat >>conftest.$ac_ext <<_ACEOF
35983 /* end confdefs.h. */
35984 #include <execinfo.h>
35985 int
35986 main ()
35987 {
35988
35989 void *trace[1];
35990 char **messages;
35991
35992 backtrace(trace, 1);
35993 messages = backtrace_symbols(trace, 1);
35994
35995 ;
35996 return 0;
35997 }
35998 _ACEOF
35999 rm -f conftest.$ac_objext
36000 if { (ac_try="$ac_compile"
36001 case "(($ac_try" in
36002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36003 *) ac_try_echo=$ac_try;;
36004 esac
36005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36006 (eval "$ac_compile") 2>conftest.er1
36007 ac_status=$?
36008 grep -v '^ *+' conftest.er1 >conftest.err
36009 rm -f conftest.er1
36010 cat conftest.err >&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); } && {
36013 test -z "$ac_cxx_werror_flag" ||
36014 test ! -s conftest.err
36015 } && test -s conftest.$ac_objext; then
36016 wx_cv_func_backtrace=yes
36017 else
36018 echo "$as_me: failed program was:" >&5
36019 sed 's/^/| /' conftest.$ac_ext >&5
36020
36021 wx_cv_func_backtrace=no
36022
36023 fi
36024
36025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36026 ac_ext=c
36027 ac_cpp='$CPP $CPPFLAGS'
36028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031
36032
36033
36034 fi
36035 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36036 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36037
36038
36039 if test "$wx_cv_func_backtrace" = "no"; then
36040 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36041 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36042 wxUSE_STACKWALKER=no
36043 else
36044 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36045 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36046 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36049
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36055
36056 cat >conftest.$ac_ext <<_ACEOF
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062 #include <cxxabi.h>
36063 int
36064 main ()
36065 {
36066
36067 int rc;
36068 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36069
36070 ;
36071 return 0;
36072 }
36073 _ACEOF
36074 rm -f conftest.$ac_objext conftest$ac_exeext
36075 if { (ac_try="$ac_link"
36076 case "(($ac_try" in
36077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36079 esac
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_link") 2>conftest.er1
36082 ac_status=$?
36083 grep -v '^ *+' conftest.er1 >conftest.err
36084 rm -f conftest.er1
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_cxx_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest$ac_exeext &&
36091 $as_test_x conftest$ac_exeext; then
36092 wx_cv_func_cxa_demangle=yes
36093 else
36094 echo "$as_me: failed program was:" >&5
36095 sed 's/^/| /' conftest.$ac_ext >&5
36096
36097 wx_cv_func_cxa_demangle=no
36098
36099 fi
36100
36101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36102 conftest$ac_exeext conftest.$ac_ext
36103 ac_ext=c
36104 ac_cpp='$CPP $CPPFLAGS'
36105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36108
36109
36110
36111 fi
36112 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36113 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36114
36115 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36116 cat >>confdefs.h <<\_ACEOF
36117 #define HAVE_CXA_DEMANGLE 1
36118 _ACEOF
36119
36120 fi
36121 fi
36122 fi
36123
36124 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36125 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36126 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36127 wxUSE_STACKWALKER=no
36128 fi
36129
36130
36131
36132
36133 for ac_func in mkstemp mktemp
36134 do
36135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36139 echo $ECHO_N "(cached) $ECHO_C" >&6
36140 else
36141 cat >conftest.$ac_ext <<_ACEOF
36142 /* confdefs.h. */
36143 _ACEOF
36144 cat confdefs.h >>conftest.$ac_ext
36145 cat >>conftest.$ac_ext <<_ACEOF
36146 /* end confdefs.h. */
36147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36149 #define $ac_func innocuous_$ac_func
36150
36151 /* System header to define __stub macros and hopefully few prototypes,
36152 which can conflict with char $ac_func (); below.
36153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36154 <limits.h> exists even on freestanding compilers. */
36155
36156 #ifdef __STDC__
36157 # include <limits.h>
36158 #else
36159 # include <assert.h>
36160 #endif
36161
36162 #undef $ac_func
36163
36164 /* Override any GCC internal prototype to avoid an error.
36165 Use char because int might match the return type of a GCC
36166 builtin and then its argument prototype would still apply. */
36167 #ifdef __cplusplus
36168 extern "C"
36169 #endif
36170 char $ac_func ();
36171 /* The GNU C library defines this for functions which it implements
36172 to always fail with ENOSYS. Some functions are actually named
36173 something starting with __ and the normal name is an alias. */
36174 #if defined __stub_$ac_func || defined __stub___$ac_func
36175 choke me
36176 #endif
36177
36178 int
36179 main ()
36180 {
36181 return $ac_func ();
36182 ;
36183 return 0;
36184 }
36185 _ACEOF
36186 rm -f conftest.$ac_objext conftest$ac_exeext
36187 if { (ac_try="$ac_link"
36188 case "(($ac_try" in
36189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36190 *) ac_try_echo=$ac_try;;
36191 esac
36192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36193 (eval "$ac_link") 2>conftest.er1
36194 ac_status=$?
36195 grep -v '^ *+' conftest.er1 >conftest.err
36196 rm -f conftest.er1
36197 cat conftest.err >&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } && {
36200 test -z "$ac_c_werror_flag" ||
36201 test ! -s conftest.err
36202 } && test -s conftest$ac_exeext &&
36203 $as_test_x conftest$ac_exeext; then
36204 eval "$as_ac_var=yes"
36205 else
36206 echo "$as_me: failed program was:" >&5
36207 sed 's/^/| /' conftest.$ac_ext >&5
36208
36209 eval "$as_ac_var=no"
36210 fi
36211
36212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36213 conftest$ac_exeext conftest.$ac_ext
36214 fi
36215 ac_res=`eval echo '${'$as_ac_var'}'`
36216 { echo "$as_me:$LINENO: result: $ac_res" >&5
36217 echo "${ECHO_T}$ac_res" >&6; }
36218 if test `eval echo '${'$as_ac_var'}'` = yes; then
36219 cat >>confdefs.h <<_ACEOF
36220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36221 _ACEOF
36222 break
36223 fi
36224 done
36225
36226
36227 { echo "$as_me:$LINENO: checking for statfs" >&5
36228 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36229 if test "${wx_cv_func_statfs+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 else
36232 cat >conftest.$ac_ext <<_ACEOF
36233 /* confdefs.h. */
36234 _ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36238
36239 #if defined(__BSD__)
36240 #include <sys/param.h>
36241 #include <sys/mount.h>
36242 #else
36243 #include <sys/vfs.h>
36244 #endif
36245
36246 int
36247 main ()
36248 {
36249
36250 long l;
36251 struct statfs fs;
36252 statfs("/", &fs);
36253 l = fs.f_bsize;
36254 l += fs.f_blocks;
36255 l += fs.f_bavail;
36256
36257 ;
36258 return 0;
36259 }
36260 _ACEOF
36261 rm -f conftest.$ac_objext
36262 if { (ac_try="$ac_compile"
36263 case "(($ac_try" in
36264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36265 *) ac_try_echo=$ac_try;;
36266 esac
36267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36268 (eval "$ac_compile") 2>conftest.er1
36269 ac_status=$?
36270 grep -v '^ *+' conftest.er1 >conftest.err
36271 rm -f conftest.er1
36272 cat conftest.err >&5
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); } && {
36275 test -z "$ac_c_werror_flag" ||
36276 test ! -s conftest.err
36277 } && test -s conftest.$ac_objext; then
36278 wx_cv_func_statfs=yes
36279 else
36280 echo "$as_me: failed program was:" >&5
36281 sed 's/^/| /' conftest.$ac_ext >&5
36282
36283 wx_cv_func_statfs=no
36284
36285 fi
36286
36287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36288
36289 fi
36290 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36291 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36292
36293 if test "$wx_cv_func_statfs" = "yes"; then
36294 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36295 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36296 if test "${wx_cv_func_statfs_decl+set}" = set; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 else
36299 ac_ext=cpp
36300 ac_cpp='$CXXCPP $CPPFLAGS'
36301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36304
36305 cat >conftest.$ac_ext <<_ACEOF
36306 /* confdefs.h. */
36307 _ACEOF
36308 cat confdefs.h >>conftest.$ac_ext
36309 cat >>conftest.$ac_ext <<_ACEOF
36310 /* end confdefs.h. */
36311
36312 #if defined(__BSD__)
36313 #include <sys/param.h>
36314 #include <sys/mount.h>
36315 #else
36316 #include <sys/vfs.h>
36317 #endif
36318
36319 int
36320 main ()
36321 {
36322
36323 struct statfs fs;
36324 statfs("", &fs);
36325
36326 ;
36327 return 0;
36328 }
36329 _ACEOF
36330 rm -f conftest.$ac_objext
36331 if { (ac_try="$ac_compile"
36332 case "(($ac_try" in
36333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36334 *) ac_try_echo=$ac_try;;
36335 esac
36336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36337 (eval "$ac_compile") 2>conftest.er1
36338 ac_status=$?
36339 grep -v '^ *+' conftest.er1 >conftest.err
36340 rm -f conftest.er1
36341 cat conftest.err >&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } && {
36344 test -z "$ac_cxx_werror_flag" ||
36345 test ! -s conftest.err
36346 } && test -s conftest.$ac_objext; then
36347 wx_cv_func_statfs_decl=yes
36348 else
36349 echo "$as_me: failed program was:" >&5
36350 sed 's/^/| /' conftest.$ac_ext >&5
36351
36352 wx_cv_func_statfs_decl=no
36353
36354 fi
36355
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36362
36363
36364 fi
36365 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36366 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36367
36368 if test "$wx_cv_func_statfs_decl" = "yes"; then
36369 cat >>confdefs.h <<\_ACEOF
36370 #define HAVE_STATFS_DECL 1
36371 _ACEOF
36372
36373 fi
36374
36375 wx_cv_type_statvfs_t="struct statfs"
36376 cat >>confdefs.h <<\_ACEOF
36377 #define HAVE_STATFS 1
36378 _ACEOF
36379
36380 else
36381 { echo "$as_me:$LINENO: checking for statvfs" >&5
36382 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36383 if test "${wx_cv_func_statvfs+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 else
36386 cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392
36393 #include <stddef.h>
36394 #include <sys/statvfs.h>
36395
36396 int
36397 main ()
36398 {
36399
36400 statvfs("/", NULL);
36401
36402 ;
36403 return 0;
36404 }
36405 _ACEOF
36406 rm -f conftest.$ac_objext
36407 if { (ac_try="$ac_compile"
36408 case "(($ac_try" in
36409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36410 *) ac_try_echo=$ac_try;;
36411 esac
36412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36413 (eval "$ac_compile") 2>conftest.er1
36414 ac_status=$?
36415 grep -v '^ *+' conftest.er1 >conftest.err
36416 rm -f conftest.er1
36417 cat conftest.err >&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } && {
36420 test -z "$ac_c_werror_flag" ||
36421 test ! -s conftest.err
36422 } && test -s conftest.$ac_objext; then
36423 wx_cv_func_statvfs=yes
36424 else
36425 echo "$as_me: failed program was:" >&5
36426 sed 's/^/| /' conftest.$ac_ext >&5
36427
36428 wx_cv_func_statvfs=no
36429
36430 fi
36431
36432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36433
36434 fi
36435 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36436 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36437
36438 if test "$wx_cv_func_statvfs" = "yes"; then
36439 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36440 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36441 if test "${wx_cv_type_statvfs_t+set}" = set; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36443 else
36444 ac_ext=cpp
36445 ac_cpp='$CXXCPP $CPPFLAGS'
36446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36449
36450 cat >conftest.$ac_ext <<_ACEOF
36451 /* confdefs.h. */
36452 _ACEOF
36453 cat confdefs.h >>conftest.$ac_ext
36454 cat >>conftest.$ac_ext <<_ACEOF
36455 /* end confdefs.h. */
36456
36457 #include <sys/statvfs.h>
36458
36459 int
36460 main ()
36461 {
36462
36463 long l;
36464 statvfs_t fs;
36465 statvfs("/", &fs);
36466 l = fs.f_bsize;
36467 l += fs.f_blocks;
36468 l += fs.f_bavail;
36469
36470 ;
36471 return 0;
36472 }
36473 _ACEOF
36474 rm -f conftest.$ac_objext
36475 if { (ac_try="$ac_compile"
36476 case "(($ac_try" in
36477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36478 *) ac_try_echo=$ac_try;;
36479 esac
36480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36481 (eval "$ac_compile") 2>conftest.er1
36482 ac_status=$?
36483 grep -v '^ *+' conftest.er1 >conftest.err
36484 rm -f conftest.er1
36485 cat conftest.err >&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); } && {
36488 test -z "$ac_cxx_werror_flag" ||
36489 test ! -s conftest.err
36490 } && test -s conftest.$ac_objext; then
36491 wx_cv_type_statvfs_t=statvfs_t
36492 else
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36495
36496
36497 cat >conftest.$ac_ext <<_ACEOF
36498 /* confdefs.h. */
36499 _ACEOF
36500 cat confdefs.h >>conftest.$ac_ext
36501 cat >>conftest.$ac_ext <<_ACEOF
36502 /* end confdefs.h. */
36503
36504 #include <sys/statvfs.h>
36505
36506 int
36507 main ()
36508 {
36509
36510 long l;
36511 struct statvfs fs;
36512 statvfs("/", &fs);
36513 l = fs.f_bsize;
36514 l += fs.f_blocks;
36515 l += fs.f_bavail;
36516
36517 ;
36518 return 0;
36519 }
36520 _ACEOF
36521 rm -f conftest.$ac_objext
36522 if { (ac_try="$ac_compile"
36523 case "(($ac_try" in
36524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36526 esac
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_compile") 2>conftest.er1
36529 ac_status=$?
36530 grep -v '^ *+' conftest.er1 >conftest.err
36531 rm -f conftest.er1
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_cxx_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest.$ac_objext; then
36538 wx_cv_type_statvfs_t="struct statvfs"
36539 else
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36542
36543 wx_cv_type_statvfs_t="unknown"
36544
36545 fi
36546
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548
36549
36550 fi
36551
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553 ac_ext=c
36554 ac_cpp='$CPP $CPPFLAGS'
36555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36558
36559
36560 fi
36561 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36562 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36563
36564 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36565 cat >>confdefs.h <<\_ACEOF
36566 #define HAVE_STATVFS 1
36567 _ACEOF
36568
36569 fi
36570 else
36571 wx_cv_type_statvfs_t="unknown"
36572 fi
36573 fi
36574
36575 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36576 cat >>confdefs.h <<_ACEOF
36577 #define WX_STATFS_T $wx_cv_type_statvfs_t
36578 _ACEOF
36579
36580 else
36581 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36582 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36583 fi
36584
36585 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36586
36587
36588 for ac_func in fcntl flock
36589 do
36590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36594 echo $ECHO_N "(cached) $ECHO_C" >&6
36595 else
36596 cat >conftest.$ac_ext <<_ACEOF
36597 /* confdefs.h. */
36598 _ACEOF
36599 cat confdefs.h >>conftest.$ac_ext
36600 cat >>conftest.$ac_ext <<_ACEOF
36601 /* end confdefs.h. */
36602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36604 #define $ac_func innocuous_$ac_func
36605
36606 /* System header to define __stub macros and hopefully few prototypes,
36607 which can conflict with char $ac_func (); below.
36608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36609 <limits.h> exists even on freestanding compilers. */
36610
36611 #ifdef __STDC__
36612 # include <limits.h>
36613 #else
36614 # include <assert.h>
36615 #endif
36616
36617 #undef $ac_func
36618
36619 /* Override any GCC internal prototype to avoid an error.
36620 Use char because int might match the return type of a GCC
36621 builtin and then its argument prototype would still apply. */
36622 #ifdef __cplusplus
36623 extern "C"
36624 #endif
36625 char $ac_func ();
36626 /* The GNU C library defines this for functions which it implements
36627 to always fail with ENOSYS. Some functions are actually named
36628 something starting with __ and the normal name is an alias. */
36629 #if defined __stub_$ac_func || defined __stub___$ac_func
36630 choke me
36631 #endif
36632
36633 int
36634 main ()
36635 {
36636 return $ac_func ();
36637 ;
36638 return 0;
36639 }
36640 _ACEOF
36641 rm -f conftest.$ac_objext conftest$ac_exeext
36642 if { (ac_try="$ac_link"
36643 case "(($ac_try" in
36644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36645 *) ac_try_echo=$ac_try;;
36646 esac
36647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36648 (eval "$ac_link") 2>conftest.er1
36649 ac_status=$?
36650 grep -v '^ *+' conftest.er1 >conftest.err
36651 rm -f conftest.er1
36652 cat conftest.err >&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } && {
36655 test -z "$ac_c_werror_flag" ||
36656 test ! -s conftest.err
36657 } && test -s conftest$ac_exeext &&
36658 $as_test_x conftest$ac_exeext; then
36659 eval "$as_ac_var=yes"
36660 else
36661 echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.$ac_ext >&5
36663
36664 eval "$as_ac_var=no"
36665 fi
36666
36667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36668 conftest$ac_exeext conftest.$ac_ext
36669 fi
36670 ac_res=`eval echo '${'$as_ac_var'}'`
36671 { echo "$as_me:$LINENO: result: $ac_res" >&5
36672 echo "${ECHO_T}$ac_res" >&6; }
36673 if test `eval echo '${'$as_ac_var'}'` = yes; then
36674 cat >>confdefs.h <<_ACEOF
36675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36676 _ACEOF
36677 break
36678 fi
36679 done
36680
36681
36682 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36683 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36684 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36685 wxUSE_SNGLINST_CHECKER=no
36686 fi
36687 fi
36688
36689
36690
36691 for ac_func in setenv putenv
36692 do
36693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36697 echo $ECHO_N "(cached) $ECHO_C" >&6
36698 else
36699 cat >conftest.$ac_ext <<_ACEOF
36700 /* confdefs.h. */
36701 _ACEOF
36702 cat confdefs.h >>conftest.$ac_ext
36703 cat >>conftest.$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36707 #define $ac_func innocuous_$ac_func
36708
36709 /* System header to define __stub macros and hopefully few prototypes,
36710 which can conflict with char $ac_func (); below.
36711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36712 <limits.h> exists even on freestanding compilers. */
36713
36714 #ifdef __STDC__
36715 # include <limits.h>
36716 #else
36717 # include <assert.h>
36718 #endif
36719
36720 #undef $ac_func
36721
36722 /* Override any GCC internal prototype to avoid an error.
36723 Use char because int might match the return type of a GCC
36724 builtin and then its argument prototype would still apply. */
36725 #ifdef __cplusplus
36726 extern "C"
36727 #endif
36728 char $ac_func ();
36729 /* The GNU C library defines this for functions which it implements
36730 to always fail with ENOSYS. Some functions are actually named
36731 something starting with __ and the normal name is an alias. */
36732 #if defined __stub_$ac_func || defined __stub___$ac_func
36733 choke me
36734 #endif
36735
36736 int
36737 main ()
36738 {
36739 return $ac_func ();
36740 ;
36741 return 0;
36742 }
36743 _ACEOF
36744 rm -f conftest.$ac_objext conftest$ac_exeext
36745 if { (ac_try="$ac_link"
36746 case "(($ac_try" in
36747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36748 *) ac_try_echo=$ac_try;;
36749 esac
36750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36751 (eval "$ac_link") 2>conftest.er1
36752 ac_status=$?
36753 grep -v '^ *+' conftest.er1 >conftest.err
36754 rm -f conftest.er1
36755 cat conftest.err >&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } && {
36758 test -z "$ac_c_werror_flag" ||
36759 test ! -s conftest.err
36760 } && test -s conftest$ac_exeext &&
36761 $as_test_x conftest$ac_exeext; then
36762 eval "$as_ac_var=yes"
36763 else
36764 echo "$as_me: failed program was:" >&5
36765 sed 's/^/| /' conftest.$ac_ext >&5
36766
36767 eval "$as_ac_var=no"
36768 fi
36769
36770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36771 conftest$ac_exeext conftest.$ac_ext
36772 fi
36773 ac_res=`eval echo '${'$as_ac_var'}'`
36774 { echo "$as_me:$LINENO: result: $ac_res" >&5
36775 echo "${ECHO_T}$ac_res" >&6; }
36776 if test `eval echo '${'$as_ac_var'}'` = yes; then
36777 cat >>confdefs.h <<_ACEOF
36778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36779 _ACEOF
36780 break
36781 fi
36782 done
36783
36784 if test "$ac_cv_func_setenv" = "yes"; then
36785
36786 for ac_func in unsetenv
36787 do
36788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36792 echo $ECHO_N "(cached) $ECHO_C" >&6
36793 else
36794 cat >conftest.$ac_ext <<_ACEOF
36795 /* confdefs.h. */
36796 _ACEOF
36797 cat confdefs.h >>conftest.$ac_ext
36798 cat >>conftest.$ac_ext <<_ACEOF
36799 /* end confdefs.h. */
36800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36802 #define $ac_func innocuous_$ac_func
36803
36804 /* System header to define __stub macros and hopefully few prototypes,
36805 which can conflict with char $ac_func (); below.
36806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36807 <limits.h> exists even on freestanding compilers. */
36808
36809 #ifdef __STDC__
36810 # include <limits.h>
36811 #else
36812 # include <assert.h>
36813 #endif
36814
36815 #undef $ac_func
36816
36817 /* Override any GCC internal prototype to avoid an error.
36818 Use char because int might match the return type of a GCC
36819 builtin and then its argument prototype would still apply. */
36820 #ifdef __cplusplus
36821 extern "C"
36822 #endif
36823 char $ac_func ();
36824 /* The GNU C library defines this for functions which it implements
36825 to always fail with ENOSYS. Some functions are actually named
36826 something starting with __ and the normal name is an alias. */
36827 #if defined __stub_$ac_func || defined __stub___$ac_func
36828 choke me
36829 #endif
36830
36831 int
36832 main ()
36833 {
36834 return $ac_func ();
36835 ;
36836 return 0;
36837 }
36838 _ACEOF
36839 rm -f conftest.$ac_objext conftest$ac_exeext
36840 if { (ac_try="$ac_link"
36841 case "(($ac_try" in
36842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36843 *) ac_try_echo=$ac_try;;
36844 esac
36845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36846 (eval "$ac_link") 2>conftest.er1
36847 ac_status=$?
36848 grep -v '^ *+' conftest.er1 >conftest.err
36849 rm -f conftest.er1
36850 cat conftest.err >&5
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); } && {
36853 test -z "$ac_c_werror_flag" ||
36854 test ! -s conftest.err
36855 } && test -s conftest$ac_exeext &&
36856 $as_test_x conftest$ac_exeext; then
36857 eval "$as_ac_var=yes"
36858 else
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36861
36862 eval "$as_ac_var=no"
36863 fi
36864
36865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36866 conftest$ac_exeext conftest.$ac_ext
36867 fi
36868 ac_res=`eval echo '${'$as_ac_var'}'`
36869 { echo "$as_me:$LINENO: result: $ac_res" >&5
36870 echo "${ECHO_T}$ac_res" >&6; }
36871 if test `eval echo '${'$as_ac_var'}'` = yes; then
36872 cat >>confdefs.h <<_ACEOF
36873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36874 _ACEOF
36875
36876 fi
36877 done
36878
36879 fi
36880
36881 HAVE_SOME_SLEEP_FUNC=0
36882 if test "$USE_BEOS" = 1; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define HAVE_SLEEP 1
36885 _ACEOF
36886
36887 HAVE_SOME_SLEEP_FUNC=1
36888 fi
36889
36890 if test "$USE_DARWIN" = 1; then
36891 cat >>confdefs.h <<\_ACEOF
36892 #define HAVE_USLEEP 1
36893 _ACEOF
36894
36895 HAVE_SOME_SLEEP_FUNC=1
36896 fi
36897
36898 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36899 POSIX4_LINK=
36900
36901 for ac_func in nanosleep
36902 do
36903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 else
36909 cat >conftest.$ac_ext <<_ACEOF
36910 /* confdefs.h. */
36911 _ACEOF
36912 cat confdefs.h >>conftest.$ac_ext
36913 cat >>conftest.$ac_ext <<_ACEOF
36914 /* end confdefs.h. */
36915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36917 #define $ac_func innocuous_$ac_func
36918
36919 /* System header to define __stub macros and hopefully few prototypes,
36920 which can conflict with char $ac_func (); below.
36921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36922 <limits.h> exists even on freestanding compilers. */
36923
36924 #ifdef __STDC__
36925 # include <limits.h>
36926 #else
36927 # include <assert.h>
36928 #endif
36929
36930 #undef $ac_func
36931
36932 /* Override any GCC internal prototype to avoid an error.
36933 Use char because int might match the return type of a GCC
36934 builtin and then its argument prototype would still apply. */
36935 #ifdef __cplusplus
36936 extern "C"
36937 #endif
36938 char $ac_func ();
36939 /* The GNU C library defines this for functions which it implements
36940 to always fail with ENOSYS. Some functions are actually named
36941 something starting with __ and the normal name is an alias. */
36942 #if defined __stub_$ac_func || defined __stub___$ac_func
36943 choke me
36944 #endif
36945
36946 int
36947 main ()
36948 {
36949 return $ac_func ();
36950 ;
36951 return 0;
36952 }
36953 _ACEOF
36954 rm -f conftest.$ac_objext conftest$ac_exeext
36955 if { (ac_try="$ac_link"
36956 case "(($ac_try" in
36957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36958 *) ac_try_echo=$ac_try;;
36959 esac
36960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36961 (eval "$ac_link") 2>conftest.er1
36962 ac_status=$?
36963 grep -v '^ *+' conftest.er1 >conftest.err
36964 rm -f conftest.er1
36965 cat conftest.err >&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } && {
36968 test -z "$ac_c_werror_flag" ||
36969 test ! -s conftest.err
36970 } && test -s conftest$ac_exeext &&
36971 $as_test_x conftest$ac_exeext; then
36972 eval "$as_ac_var=yes"
36973 else
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.$ac_ext >&5
36976
36977 eval "$as_ac_var=no"
36978 fi
36979
36980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36981 conftest$ac_exeext conftest.$ac_ext
36982 fi
36983 ac_res=`eval echo '${'$as_ac_var'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36986 if test `eval echo '${'$as_ac_var'}'` = yes; then
36987 cat >>confdefs.h <<_ACEOF
36988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36989 _ACEOF
36990 cat >>confdefs.h <<\_ACEOF
36991 #define HAVE_NANOSLEEP 1
36992 _ACEOF
36993
36994 else
36995
36996 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36997 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36998 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 else
37001 ac_check_lib_save_LIBS=$LIBS
37002 LIBS="-lposix4 $LIBS"
37003 cat >conftest.$ac_ext <<_ACEOF
37004 /* confdefs.h. */
37005 _ACEOF
37006 cat confdefs.h >>conftest.$ac_ext
37007 cat >>conftest.$ac_ext <<_ACEOF
37008 /* end confdefs.h. */
37009
37010 /* Override any GCC internal prototype to avoid an error.
37011 Use char because int might match the return type of a GCC
37012 builtin and then its argument prototype would still apply. */
37013 #ifdef __cplusplus
37014 extern "C"
37015 #endif
37016 char nanosleep ();
37017 int
37018 main ()
37019 {
37020 return nanosleep ();
37021 ;
37022 return 0;
37023 }
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (ac_try="$ac_link"
37027 case "(($ac_try" in
37028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37029 *) ac_try_echo=$ac_try;;
37030 esac
37031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37032 (eval "$ac_link") 2>conftest.er1
37033 ac_status=$?
37034 grep -v '^ *+' conftest.er1 >conftest.err
37035 rm -f conftest.er1
37036 cat conftest.err >&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); } && {
37039 test -z "$ac_c_werror_flag" ||
37040 test ! -s conftest.err
37041 } && test -s conftest$ac_exeext &&
37042 $as_test_x conftest$ac_exeext; then
37043 ac_cv_lib_posix4_nanosleep=yes
37044 else
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.$ac_ext >&5
37047
37048 ac_cv_lib_posix4_nanosleep=no
37049 fi
37050
37051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37052 conftest$ac_exeext conftest.$ac_ext
37053 LIBS=$ac_check_lib_save_LIBS
37054 fi
37055 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37056 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37057 if test $ac_cv_lib_posix4_nanosleep = yes; then
37058
37059 cat >>confdefs.h <<\_ACEOF
37060 #define HAVE_NANOSLEEP 1
37061 _ACEOF
37062
37063 POSIX4_LINK=" -lposix4"
37064
37065 else
37066
37067
37068 for wx_func in usleep
37069 do
37070 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37071 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37072 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075
37076 cat >conftest.$ac_ext <<_ACEOF
37077
37078 /* confdefs.h. */
37079 _ACEOF
37080 cat confdefs.h >>conftest.$ac_ext
37081 cat >>conftest.$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37083
37084
37085 $ac_includes_default
37086
37087 int
37088 main ()
37089 {
37090
37091 #ifndef $wx_func
37092 &$wx_func;
37093 #endif
37094
37095
37096 ;
37097 return 0;
37098 }
37099
37100 _ACEOF
37101 rm -f conftest.$ac_objext conftest$ac_exeext
37102 if { (ac_try="$ac_link"
37103 case "(($ac_try" in
37104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37105 *) ac_try_echo=$ac_try;;
37106 esac
37107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37108 (eval "$ac_link") 2>conftest.er1
37109 ac_status=$?
37110 grep -v '^ *+' conftest.er1 >conftest.err
37111 rm -f conftest.er1
37112 cat conftest.err >&5
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); } && {
37115 test -z "$ac_c_werror_flag" ||
37116 test ! -s conftest.err
37117 } && test -s conftest$ac_exeext &&
37118 $as_test_x conftest$ac_exeext; then
37119 eval wx_cv_func_$wx_func=yes
37120 else
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.$ac_ext >&5
37123
37124 eval wx_cv_func_$wx_func=no
37125 fi
37126
37127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37128 conftest$ac_exeext conftest.$ac_ext
37129
37130 fi
37131 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37132 { echo "$as_me:$LINENO: result: $ac_res" >&5
37133 echo "${ECHO_T}$ac_res" >&6; }
37134
37135 if eval test \$wx_cv_func_$wx_func = yes
37136 then
37137 cat >>confdefs.h <<_ACEOF
37138 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37139 _ACEOF
37140
37141
37142 else
37143 :
37144 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37145 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37146
37147 fi
37148 done
37149
37150
37151
37152 fi
37153
37154
37155
37156 fi
37157 done
37158
37159 fi
37160
37161
37162 for wx_func in uname
37163 do
37164 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37165 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37166 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37167 echo $ECHO_N "(cached) $ECHO_C" >&6
37168 else
37169
37170 cat >conftest.$ac_ext <<_ACEOF
37171
37172 /* confdefs.h. */
37173 _ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177
37178 #include <sys/utsname.h>
37179 $ac_includes_default
37180
37181 int
37182 main ()
37183 {
37184
37185 #ifndef $wx_func
37186 &$wx_func;
37187 #endif
37188
37189
37190 ;
37191 return 0;
37192 }
37193
37194 _ACEOF
37195 rm -f conftest.$ac_objext conftest$ac_exeext
37196 if { (ac_try="$ac_link"
37197 case "(($ac_try" in
37198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37199 *) ac_try_echo=$ac_try;;
37200 esac
37201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37202 (eval "$ac_link") 2>conftest.er1
37203 ac_status=$?
37204 grep -v '^ *+' conftest.er1 >conftest.err
37205 rm -f conftest.er1
37206 cat conftest.err >&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); } && {
37209 test -z "$ac_c_werror_flag" ||
37210 test ! -s conftest.err
37211 } && test -s conftest$ac_exeext &&
37212 $as_test_x conftest$ac_exeext; then
37213 eval wx_cv_func_$wx_func=yes
37214 else
37215 echo "$as_me: failed program was:" >&5
37216 sed 's/^/| /' conftest.$ac_ext >&5
37217
37218 eval wx_cv_func_$wx_func=no
37219 fi
37220
37221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37222 conftest$ac_exeext conftest.$ac_ext
37223
37224 fi
37225 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37226 { echo "$as_me:$LINENO: result: $ac_res" >&5
37227 echo "${ECHO_T}$ac_res" >&6; }
37228
37229 if eval test \$wx_cv_func_$wx_func = yes
37230 then
37231 cat >>confdefs.h <<_ACEOF
37232 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37233 _ACEOF
37234
37235
37236 else
37237 :
37238
37239 fi
37240 done
37241
37242 if test "$wx_cv_func_uname" != yes; then
37243
37244 for wx_func in gethostname
37245 do
37246 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37247 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37248 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37250 else
37251
37252 cat >conftest.$ac_ext <<_ACEOF
37253
37254 /* confdefs.h. */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37259
37260
37261 $ac_includes_default
37262
37263 int
37264 main ()
37265 {
37266
37267 #ifndef $wx_func
37268 &$wx_func;
37269 #endif
37270
37271
37272 ;
37273 return 0;
37274 }
37275
37276 _ACEOF
37277 rm -f conftest.$ac_objext conftest$ac_exeext
37278 if { (ac_try="$ac_link"
37279 case "(($ac_try" in
37280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37281 *) ac_try_echo=$ac_try;;
37282 esac
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_link") 2>conftest.er1
37285 ac_status=$?
37286 grep -v '^ *+' conftest.er1 >conftest.err
37287 rm -f conftest.er1
37288 cat conftest.err >&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } && {
37291 test -z "$ac_c_werror_flag" ||
37292 test ! -s conftest.err
37293 } && test -s conftest$ac_exeext &&
37294 $as_test_x conftest$ac_exeext; then
37295 eval wx_cv_func_$wx_func=yes
37296 else
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.$ac_ext >&5
37299
37300 eval wx_cv_func_$wx_func=no
37301 fi
37302
37303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37304 conftest$ac_exeext conftest.$ac_ext
37305
37306 fi
37307 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37308 { echo "$as_me:$LINENO: result: $ac_res" >&5
37309 echo "${ECHO_T}$ac_res" >&6; }
37310
37311 if eval test \$wx_cv_func_$wx_func = yes
37312 then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37315 _ACEOF
37316
37317
37318 else
37319 :
37320
37321 fi
37322 done
37323
37324 fi
37325
37326
37327 for wx_func in strtok_r
37328 do
37329 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37330 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37331 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37333 else
37334
37335 cat >conftest.$ac_ext <<_ACEOF
37336
37337 /* confdefs.h. */
37338 _ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37342
37343 #define _REENTRANT
37344 $ac_includes_default
37345
37346 int
37347 main ()
37348 {
37349
37350 #ifndef $wx_func
37351 &$wx_func;
37352 #endif
37353
37354
37355 ;
37356 return 0;
37357 }
37358
37359 _ACEOF
37360 rm -f conftest.$ac_objext conftest$ac_exeext
37361 if { (ac_try="$ac_link"
37362 case "(($ac_try" in
37363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37364 *) ac_try_echo=$ac_try;;
37365 esac
37366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37367 (eval "$ac_link") 2>conftest.er1
37368 ac_status=$?
37369 grep -v '^ *+' conftest.er1 >conftest.err
37370 rm -f conftest.er1
37371 cat conftest.err >&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); } && {
37374 test -z "$ac_c_werror_flag" ||
37375 test ! -s conftest.err
37376 } && test -s conftest$ac_exeext &&
37377 $as_test_x conftest$ac_exeext; then
37378 eval wx_cv_func_$wx_func=yes
37379 else
37380 echo "$as_me: failed program was:" >&5
37381 sed 's/^/| /' conftest.$ac_ext >&5
37382
37383 eval wx_cv_func_$wx_func=no
37384 fi
37385
37386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37387 conftest$ac_exeext conftest.$ac_ext
37388
37389 fi
37390 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37391 { echo "$as_me:$LINENO: result: $ac_res" >&5
37392 echo "${ECHO_T}$ac_res" >&6; }
37393
37394 if eval test \$wx_cv_func_$wx_func = yes
37395 then
37396 cat >>confdefs.h <<_ACEOF
37397 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37398 _ACEOF
37399
37400
37401 else
37402 :
37403
37404 fi
37405 done
37406
37407
37408 INET_LINK=
37409
37410 for ac_func in inet_addr
37411 do
37412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37417 else
37418 cat >conftest.$ac_ext <<_ACEOF
37419 /* confdefs.h. */
37420 _ACEOF
37421 cat confdefs.h >>conftest.$ac_ext
37422 cat >>conftest.$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37426 #define $ac_func innocuous_$ac_func
37427
37428 /* System header to define __stub macros and hopefully few prototypes,
37429 which can conflict with char $ac_func (); below.
37430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37431 <limits.h> exists even on freestanding compilers. */
37432
37433 #ifdef __STDC__
37434 # include <limits.h>
37435 #else
37436 # include <assert.h>
37437 #endif
37438
37439 #undef $ac_func
37440
37441 /* Override any GCC internal prototype to avoid an error.
37442 Use char because int might match the return type of a GCC
37443 builtin and then its argument prototype would still apply. */
37444 #ifdef __cplusplus
37445 extern "C"
37446 #endif
37447 char $ac_func ();
37448 /* The GNU C library defines this for functions which it implements
37449 to always fail with ENOSYS. Some functions are actually named
37450 something starting with __ and the normal name is an alias. */
37451 #if defined __stub_$ac_func || defined __stub___$ac_func
37452 choke me
37453 #endif
37454
37455 int
37456 main ()
37457 {
37458 return $ac_func ();
37459 ;
37460 return 0;
37461 }
37462 _ACEOF
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (ac_try="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37468 esac
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37471 ac_status=$?
37472 grep -v '^ *+' conftest.er1 >conftest.err
37473 rm -f conftest.er1
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 eval "$as_ac_var=yes"
37482 else
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37485
37486 eval "$as_ac_var=no"
37487 fi
37488
37489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37490 conftest$ac_exeext conftest.$ac_ext
37491 fi
37492 ac_res=`eval echo '${'$as_ac_var'}'`
37493 { echo "$as_me:$LINENO: result: $ac_res" >&5
37494 echo "${ECHO_T}$ac_res" >&6; }
37495 if test `eval echo '${'$as_ac_var'}'` = yes; then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37498 _ACEOF
37499 cat >>confdefs.h <<\_ACEOF
37500 #define HAVE_INET_ADDR 1
37501 _ACEOF
37502
37503 else
37504
37505 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37506 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37507 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 else
37510 ac_check_lib_save_LIBS=$LIBS
37511 LIBS="-lnsl $LIBS"
37512 cat >conftest.$ac_ext <<_ACEOF
37513 /* confdefs.h. */
37514 _ACEOF
37515 cat confdefs.h >>conftest.$ac_ext
37516 cat >>conftest.$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37518
37519 /* Override any GCC internal prototype to avoid an error.
37520 Use char because int might match the return type of a GCC
37521 builtin and then its argument prototype would still apply. */
37522 #ifdef __cplusplus
37523 extern "C"
37524 #endif
37525 char inet_addr ();
37526 int
37527 main ()
37528 {
37529 return inet_addr ();
37530 ;
37531 return 0;
37532 }
37533 _ACEOF
37534 rm -f conftest.$ac_objext conftest$ac_exeext
37535 if { (ac_try="$ac_link"
37536 case "(($ac_try" in
37537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37538 *) ac_try_echo=$ac_try;;
37539 esac
37540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37541 (eval "$ac_link") 2>conftest.er1
37542 ac_status=$?
37543 grep -v '^ *+' conftest.er1 >conftest.err
37544 rm -f conftest.er1
37545 cat conftest.err >&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); } && {
37548 test -z "$ac_c_werror_flag" ||
37549 test ! -s conftest.err
37550 } && test -s conftest$ac_exeext &&
37551 $as_test_x conftest$ac_exeext; then
37552 ac_cv_lib_nsl_inet_addr=yes
37553 else
37554 echo "$as_me: failed program was:" >&5
37555 sed 's/^/| /' conftest.$ac_ext >&5
37556
37557 ac_cv_lib_nsl_inet_addr=no
37558 fi
37559
37560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37561 conftest$ac_exeext conftest.$ac_ext
37562 LIBS=$ac_check_lib_save_LIBS
37563 fi
37564 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37565 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37566 if test $ac_cv_lib_nsl_inet_addr = yes; then
37567 INET_LINK="nsl"
37568 else
37569
37570 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37571 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37572 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37573 echo $ECHO_N "(cached) $ECHO_C" >&6
37574 else
37575 ac_check_lib_save_LIBS=$LIBS
37576 LIBS="-lresolv $LIBS"
37577 cat >conftest.$ac_ext <<_ACEOF
37578 /* confdefs.h. */
37579 _ACEOF
37580 cat confdefs.h >>conftest.$ac_ext
37581 cat >>conftest.$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37583
37584 /* Override any GCC internal prototype to avoid an error.
37585 Use char because int might match the return type of a GCC
37586 builtin and then its argument prototype would still apply. */
37587 #ifdef __cplusplus
37588 extern "C"
37589 #endif
37590 char inet_addr ();
37591 int
37592 main ()
37593 {
37594 return inet_addr ();
37595 ;
37596 return 0;
37597 }
37598 _ACEOF
37599 rm -f conftest.$ac_objext conftest$ac_exeext
37600 if { (ac_try="$ac_link"
37601 case "(($ac_try" in
37602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37603 *) ac_try_echo=$ac_try;;
37604 esac
37605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37606 (eval "$ac_link") 2>conftest.er1
37607 ac_status=$?
37608 grep -v '^ *+' conftest.er1 >conftest.err
37609 rm -f conftest.er1
37610 cat conftest.err >&5
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); } && {
37613 test -z "$ac_c_werror_flag" ||
37614 test ! -s conftest.err
37615 } && test -s conftest$ac_exeext &&
37616 $as_test_x conftest$ac_exeext; then
37617 ac_cv_lib_resolv_inet_addr=yes
37618 else
37619 echo "$as_me: failed program was:" >&5
37620 sed 's/^/| /' conftest.$ac_ext >&5
37621
37622 ac_cv_lib_resolv_inet_addr=no
37623 fi
37624
37625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37626 conftest$ac_exeext conftest.$ac_ext
37627 LIBS=$ac_check_lib_save_LIBS
37628 fi
37629 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37630 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37631 if test $ac_cv_lib_resolv_inet_addr = yes; then
37632 INET_LINK="resolv"
37633 else
37634
37635 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37636 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37637 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37638 echo $ECHO_N "(cached) $ECHO_C" >&6
37639 else
37640 ac_check_lib_save_LIBS=$LIBS
37641 LIBS="-lsocket $LIBS"
37642 cat >conftest.$ac_ext <<_ACEOF
37643 /* confdefs.h. */
37644 _ACEOF
37645 cat confdefs.h >>conftest.$ac_ext
37646 cat >>conftest.$ac_ext <<_ACEOF
37647 /* end confdefs.h. */
37648
37649 /* Override any GCC internal prototype to avoid an error.
37650 Use char because int might match the return type of a GCC
37651 builtin and then its argument prototype would still apply. */
37652 #ifdef __cplusplus
37653 extern "C"
37654 #endif
37655 char inet_addr ();
37656 int
37657 main ()
37658 {
37659 return inet_addr ();
37660 ;
37661 return 0;
37662 }
37663 _ACEOF
37664 rm -f conftest.$ac_objext conftest$ac_exeext
37665 if { (ac_try="$ac_link"
37666 case "(($ac_try" in
37667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37668 *) ac_try_echo=$ac_try;;
37669 esac
37670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37671 (eval "$ac_link") 2>conftest.er1
37672 ac_status=$?
37673 grep -v '^ *+' conftest.er1 >conftest.err
37674 rm -f conftest.er1
37675 cat conftest.err >&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); } && {
37678 test -z "$ac_c_werror_flag" ||
37679 test ! -s conftest.err
37680 } && test -s conftest$ac_exeext &&
37681 $as_test_x conftest$ac_exeext; then
37682 ac_cv_lib_socket_inet_addr=yes
37683 else
37684 echo "$as_me: failed program was:" >&5
37685 sed 's/^/| /' conftest.$ac_ext >&5
37686
37687 ac_cv_lib_socket_inet_addr=no
37688 fi
37689
37690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37691 conftest$ac_exeext conftest.$ac_ext
37692 LIBS=$ac_check_lib_save_LIBS
37693 fi
37694 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37695 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37696 if test $ac_cv_lib_socket_inet_addr = yes; then
37697 INET_LINK="socket"
37698
37699 fi
37700
37701
37702
37703 fi
37704
37705
37706
37707 fi
37708
37709
37710
37711 fi
37712 done
37713
37714
37715
37716 for ac_func in inet_aton
37717 do
37718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37719 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37721 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37722 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 else
37724 cat >conftest.$ac_ext <<_ACEOF
37725 /* confdefs.h. */
37726 _ACEOF
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37732 #define $ac_func innocuous_$ac_func
37733
37734 /* System header to define __stub macros and hopefully few prototypes,
37735 which can conflict with char $ac_func (); below.
37736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37737 <limits.h> exists even on freestanding compilers. */
37738
37739 #ifdef __STDC__
37740 # include <limits.h>
37741 #else
37742 # include <assert.h>
37743 #endif
37744
37745 #undef $ac_func
37746
37747 /* Override any GCC internal prototype to avoid an error.
37748 Use char because int might match the return type of a GCC
37749 builtin and then its argument prototype would still apply. */
37750 #ifdef __cplusplus
37751 extern "C"
37752 #endif
37753 char $ac_func ();
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined __stub_$ac_func || defined __stub___$ac_func
37758 choke me
37759 #endif
37760
37761 int
37762 main ()
37763 {
37764 return $ac_func ();
37765 ;
37766 return 0;
37767 }
37768 _ACEOF
37769 rm -f conftest.$ac_objext conftest$ac_exeext
37770 if { (ac_try="$ac_link"
37771 case "(($ac_try" in
37772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37773 *) ac_try_echo=$ac_try;;
37774 esac
37775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37776 (eval "$ac_link") 2>conftest.er1
37777 ac_status=$?
37778 grep -v '^ *+' conftest.er1 >conftest.err
37779 rm -f conftest.er1
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } && {
37783 test -z "$ac_c_werror_flag" ||
37784 test ! -s conftest.err
37785 } && test -s conftest$ac_exeext &&
37786 $as_test_x conftest$ac_exeext; then
37787 eval "$as_ac_var=yes"
37788 else
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37791
37792 eval "$as_ac_var=no"
37793 fi
37794
37795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37796 conftest$ac_exeext conftest.$ac_ext
37797 fi
37798 ac_res=`eval echo '${'$as_ac_var'}'`
37799 { echo "$as_me:$LINENO: result: $ac_res" >&5
37800 echo "${ECHO_T}$ac_res" >&6; }
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 _ACEOF
37805 cat >>confdefs.h <<\_ACEOF
37806 #define HAVE_INET_ATON 1
37807 _ACEOF
37808
37809 else
37810
37811 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37812 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37813 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37814 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37815 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 else
37817 ac_check_lib_save_LIBS=$LIBS
37818 LIBS="-l$INET_LINK $LIBS"
37819 cat >conftest.$ac_ext <<_ACEOF
37820 /* confdefs.h. */
37821 _ACEOF
37822 cat confdefs.h >>conftest.$ac_ext
37823 cat >>conftest.$ac_ext <<_ACEOF
37824 /* end confdefs.h. */
37825
37826 /* Override any GCC internal prototype to avoid an error.
37827 Use char because int might match the return type of a GCC
37828 builtin and then its argument prototype would still apply. */
37829 #ifdef __cplusplus
37830 extern "C"
37831 #endif
37832 char inet_aton ();
37833 int
37834 main ()
37835 {
37836 return inet_aton ();
37837 ;
37838 return 0;
37839 }
37840 _ACEOF
37841 rm -f conftest.$ac_objext conftest$ac_exeext
37842 if { (ac_try="$ac_link"
37843 case "(($ac_try" in
37844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37845 *) ac_try_echo=$ac_try;;
37846 esac
37847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37848 (eval "$ac_link") 2>conftest.er1
37849 ac_status=$?
37850 grep -v '^ *+' conftest.er1 >conftest.err
37851 rm -f conftest.er1
37852 cat conftest.err >&5
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); } && {
37855 test -z "$ac_c_werror_flag" ||
37856 test ! -s conftest.err
37857 } && test -s conftest$ac_exeext &&
37858 $as_test_x conftest$ac_exeext; then
37859 eval "$as_ac_Lib=yes"
37860 else
37861 echo "$as_me: failed program was:" >&5
37862 sed 's/^/| /' conftest.$ac_ext >&5
37863
37864 eval "$as_ac_Lib=no"
37865 fi
37866
37867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37868 conftest$ac_exeext conftest.$ac_ext
37869 LIBS=$ac_check_lib_save_LIBS
37870 fi
37871 ac_res=`eval echo '${'$as_ac_Lib'}'`
37872 { echo "$as_me:$LINENO: result: $ac_res" >&5
37873 echo "${ECHO_T}$ac_res" >&6; }
37874 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37875 cat >>confdefs.h <<\_ACEOF
37876 #define HAVE_INET_ATON 1
37877 _ACEOF
37878
37879 fi
37880
37881
37882 fi
37883 done
37884
37885
37886 if test "x$INET_LINK" != "x"; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define HAVE_INET_ADDR 1
37889 _ACEOF
37890
37891 INET_LINK=" -l$INET_LINK"
37892 fi
37893
37894
37895 for wx_func in fdopen
37896 do
37897 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37898 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37899 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902
37903 cat >conftest.$ac_ext <<_ACEOF
37904
37905 /* confdefs.h. */
37906 _ACEOF
37907 cat confdefs.h >>conftest.$ac_ext
37908 cat >>conftest.$ac_ext <<_ACEOF
37909 /* end confdefs.h. */
37910
37911
37912 $ac_includes_default
37913
37914 int
37915 main ()
37916 {
37917
37918 #ifndef $wx_func
37919 &$wx_func;
37920 #endif
37921
37922
37923 ;
37924 return 0;
37925 }
37926
37927 _ACEOF
37928 rm -f conftest.$ac_objext conftest$ac_exeext
37929 if { (ac_try="$ac_link"
37930 case "(($ac_try" in
37931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37932 *) ac_try_echo=$ac_try;;
37933 esac
37934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37935 (eval "$ac_link") 2>conftest.er1
37936 ac_status=$?
37937 grep -v '^ *+' conftest.er1 >conftest.err
37938 rm -f conftest.er1
37939 cat conftest.err >&5
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); } && {
37942 test -z "$ac_c_werror_flag" ||
37943 test ! -s conftest.err
37944 } && test -s conftest$ac_exeext &&
37945 $as_test_x conftest$ac_exeext; then
37946 eval wx_cv_func_$wx_func=yes
37947 else
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37950
37951 eval wx_cv_func_$wx_func=no
37952 fi
37953
37954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37955 conftest$ac_exeext conftest.$ac_ext
37956
37957 fi
37958 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37959 { echo "$as_me:$LINENO: result: $ac_res" >&5
37960 echo "${ECHO_T}$ac_res" >&6; }
37961
37962 if eval test \$wx_cv_func_$wx_func = yes
37963 then
37964 cat >>confdefs.h <<_ACEOF
37965 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37966 _ACEOF
37967
37968
37969 else
37970 :
37971
37972 fi
37973 done
37974
37975
37976 if test "$wxUSE_TARSTREAM" = "yes"; then
37977
37978 for wx_func in sysconf
37979 do
37980 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37981 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37982 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37983 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 else
37985
37986 cat >conftest.$ac_ext <<_ACEOF
37987
37988 /* confdefs.h. */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993
37994
37995 $ac_includes_default
37996
37997 int
37998 main ()
37999 {
38000
38001 #ifndef $wx_func
38002 &$wx_func;
38003 #endif
38004
38005
38006 ;
38007 return 0;
38008 }
38009
38010 _ACEOF
38011 rm -f conftest.$ac_objext conftest$ac_exeext
38012 if { (ac_try="$ac_link"
38013 case "(($ac_try" in
38014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38015 *) ac_try_echo=$ac_try;;
38016 esac
38017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38018 (eval "$ac_link") 2>conftest.er1
38019 ac_status=$?
38020 grep -v '^ *+' conftest.er1 >conftest.err
38021 rm -f conftest.er1
38022 cat conftest.err >&5
38023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024 (exit $ac_status); } && {
38025 test -z "$ac_c_werror_flag" ||
38026 test ! -s conftest.err
38027 } && test -s conftest$ac_exeext &&
38028 $as_test_x conftest$ac_exeext; then
38029 eval wx_cv_func_$wx_func=yes
38030 else
38031 echo "$as_me: failed program was:" >&5
38032 sed 's/^/| /' conftest.$ac_ext >&5
38033
38034 eval wx_cv_func_$wx_func=no
38035 fi
38036
38037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38038 conftest$ac_exeext conftest.$ac_ext
38039
38040 fi
38041 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38042 { echo "$as_me:$LINENO: result: $ac_res" >&5
38043 echo "${ECHO_T}$ac_res" >&6; }
38044
38045 if eval test \$wx_cv_func_$wx_func = yes
38046 then
38047 cat >>confdefs.h <<_ACEOF
38048 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38049 _ACEOF
38050
38051
38052 else
38053 :
38054
38055 fi
38056 done
38057
38058
38059
38060 for wx_func in getpwuid_r
38061 do
38062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38065 echo $ECHO_N "(cached) $ECHO_C" >&6
38066 else
38067
38068 cat >conftest.$ac_ext <<_ACEOF
38069
38070 /* confdefs.h. */
38071 _ACEOF
38072 cat confdefs.h >>conftest.$ac_ext
38073 cat >>conftest.$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38075
38076
38077 #define _REENTRANT
38078 #include <pwd.h>
38079
38080 $ac_includes_default
38081
38082 int
38083 main ()
38084 {
38085
38086 #ifndef $wx_func
38087 &$wx_func;
38088 #endif
38089
38090 struct passwd pw, *ppw;
38091 char buf[1024];
38092 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38093
38094
38095 ;
38096 return 0;
38097 }
38098
38099 _ACEOF
38100 rm -f conftest.$ac_objext conftest$ac_exeext
38101 if { (ac_try="$ac_link"
38102 case "(($ac_try" in
38103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38104 *) ac_try_echo=$ac_try;;
38105 esac
38106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38107 (eval "$ac_link") 2>conftest.er1
38108 ac_status=$?
38109 grep -v '^ *+' conftest.er1 >conftest.err
38110 rm -f conftest.er1
38111 cat conftest.err >&5
38112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38113 (exit $ac_status); } && {
38114 test -z "$ac_c_werror_flag" ||
38115 test ! -s conftest.err
38116 } && test -s conftest$ac_exeext &&
38117 $as_test_x conftest$ac_exeext; then
38118 eval wx_cv_func_$wx_func=yes
38119 else
38120 echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38122
38123 eval wx_cv_func_$wx_func=no
38124 fi
38125
38126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38127 conftest$ac_exeext conftest.$ac_ext
38128
38129 fi
38130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38131 { echo "$as_me:$LINENO: result: $ac_res" >&5
38132 echo "${ECHO_T}$ac_res" >&6; }
38133
38134 if eval test \$wx_cv_func_$wx_func = yes
38135 then
38136 cat >>confdefs.h <<_ACEOF
38137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38138 _ACEOF
38139
38140
38141 else
38142 :
38143
38144 fi
38145 done
38146
38147
38148
38149 for wx_func in getgrgid_r
38150 do
38151 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38152 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38153 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38154 echo $ECHO_N "(cached) $ECHO_C" >&6
38155 else
38156
38157 cat >conftest.$ac_ext <<_ACEOF
38158
38159 /* confdefs.h. */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164
38165
38166 #define _REENTRANT
38167 #include <grp.h>
38168
38169 $ac_includes_default
38170
38171 int
38172 main ()
38173 {
38174
38175 #ifndef $wx_func
38176 &$wx_func;
38177 #endif
38178
38179 struct group grp, *pgrp;
38180 char buf[1024];
38181 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38182
38183
38184 ;
38185 return 0;
38186 }
38187
38188 _ACEOF
38189 rm -f conftest.$ac_objext conftest$ac_exeext
38190 if { (ac_try="$ac_link"
38191 case "(($ac_try" in
38192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38193 *) ac_try_echo=$ac_try;;
38194 esac
38195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38196 (eval "$ac_link") 2>conftest.er1
38197 ac_status=$?
38198 grep -v '^ *+' conftest.er1 >conftest.err
38199 rm -f conftest.er1
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } && {
38203 test -z "$ac_c_werror_flag" ||
38204 test ! -s conftest.err
38205 } && test -s conftest$ac_exeext &&
38206 $as_test_x conftest$ac_exeext; then
38207 eval wx_cv_func_$wx_func=yes
38208 else
38209 echo "$as_me: failed program was:" >&5
38210 sed 's/^/| /' conftest.$ac_ext >&5
38211
38212 eval wx_cv_func_$wx_func=no
38213 fi
38214
38215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38216 conftest$ac_exeext conftest.$ac_ext
38217
38218 fi
38219 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38220 { echo "$as_me:$LINENO: result: $ac_res" >&5
38221 echo "${ECHO_T}$ac_res" >&6; }
38222
38223 if eval test \$wx_cv_func_$wx_func = yes
38224 then
38225 cat >>confdefs.h <<_ACEOF
38226 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38227 _ACEOF
38228
38229
38230 else
38231 :
38232
38233 fi
38234 done
38235
38236 fi
38237
38238 fi
38239
38240
38241
38242 cat >confcache <<\_ACEOF
38243 # This file is a shell script that caches the results of configure
38244 # tests run on this system so they can be shared between configure
38245 # scripts and configure runs, see configure's option --config-cache.
38246 # It is not useful on other systems. If it contains results you don't
38247 # want to keep, you may remove or edit it.
38248 #
38249 # config.status only pays attention to the cache file if you give it
38250 # the --recheck option to rerun configure.
38251 #
38252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38254 # following values.
38255
38256 _ACEOF
38257
38258 # The following way of writing the cache mishandles newlines in values,
38259 # but we know of no workaround that is simple, portable, and efficient.
38260 # So, we kill variables containing newlines.
38261 # Ultrix sh set writes to stderr and can't be redirected directly,
38262 # and sets the high bit in the cache file unless we assign to the vars.
38263 (
38264 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38265 eval ac_val=\$$ac_var
38266 case $ac_val in #(
38267 *${as_nl}*)
38268 case $ac_var in #(
38269 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38270 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38271 esac
38272 case $ac_var in #(
38273 _ | IFS | as_nl) ;; #(
38274 *) $as_unset $ac_var ;;
38275 esac ;;
38276 esac
38277 done
38278
38279 (set) 2>&1 |
38280 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38281 *${as_nl}ac_space=\ *)
38282 # `set' does not quote correctly, so add quotes (double-quote
38283 # substitution turns \\\\ into \\, and sed turns \\ into \).
38284 sed -n \
38285 "s/'/'\\\\''/g;
38286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38287 ;; #(
38288 *)
38289 # `set' quotes correctly as required by POSIX, so do not add quotes.
38290 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38291 ;;
38292 esac |
38293 sort
38294 ) |
38295 sed '
38296 /^ac_cv_env_/b end
38297 t clear
38298 :clear
38299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38300 t end
38301 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38302 :end' >>confcache
38303 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38304 if test -w "$cache_file"; then
38305 test "x$cache_file" != "x/dev/null" &&
38306 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38307 echo "$as_me: updating cache $cache_file" >&6;}
38308 cat confcache >$cache_file
38309 else
38310 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38311 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38312 fi
38313 fi
38314 rm -f confcache
38315
38316
38317 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38318
38319
38320 THREADS_LINK=
38321 THREADS_CFLAGS=
38322
38323 if test "$wxUSE_THREADS" = "yes" ; then
38324 if test "$USE_BEOS" = 1; then
38325 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38326 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38327 wxUSE_THREADS="no"
38328 fi
38329 fi
38330
38331 if test "$wxUSE_THREADS" = "yes" ; then
38332
38333
38334 THREAD_OPTS="-pthread"
38335 if test "x$SUNCXX" = xyes; then
38336 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38337 fi
38338
38339 case "${host}" in
38340 *-*-solaris2* | *-*-sunos4* )
38341 if test "x$GCC" = "xyes"; then
38342 THREAD_OPTS="-pthreads $THREAD_OPTS"
38343 fi
38344 ;;
38345 *-*-freebsd*)
38346 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38347 ;;
38348 *-*-darwin* | *-*-cygwin* )
38349 THREAD_OPTS=""
38350 ;;
38351 *-*-aix*)
38352 THREAD_OPTS="pthreads"
38353 ;;
38354 *-hp-hpux* )
38355 if test "x$GCC" = "xyes"; then
38356 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38357 THREAD_OPTS=""
38358 else
38359 THREAD_OPTS="-mt"
38360 fi
38361 ;;
38362
38363 *-*-irix* )
38364 if test "x$GCC" = "xyes"; then
38365 THREAD_OPTS=""
38366 fi
38367 ;;
38368
38369 *-*-*UnixWare*)
38370 if test "x$GCC" != "xyes"; then
38371 THREAD_OPTS="-Ethread"
38372 fi
38373 ;;
38374 esac
38375
38376 THREAD_OPTS="$THREAD_OPTS pthread none"
38377
38378 THREADS_OK=no
38379 for flag in $THREAD_OPTS; do
38380 case $flag in
38381 none)
38382 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38383 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38384 ;;
38385
38386 -*)
38387 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38388 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38389 THREADS_CFLAGS="$flag"
38390 ;;
38391
38392 *)
38393 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38394 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38395 THREADS_LINK="-l$flag"
38396 ;;
38397 esac
38398
38399 save_LIBS="$LIBS"
38400 save_CFLAGS="$CFLAGS"
38401 LIBS="$THREADS_LINK $LIBS"
38402 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38403
38404 cat >conftest.$ac_ext <<_ACEOF
38405 /* confdefs.h. */
38406 _ACEOF
38407 cat confdefs.h >>conftest.$ac_ext
38408 cat >>conftest.$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410 #include <pthread.h>
38411 int
38412 main ()
38413 {
38414 pthread_create(0,0,0,0);
38415 ;
38416 return 0;
38417 }
38418 _ACEOF
38419 rm -f conftest.$ac_objext conftest$ac_exeext
38420 if { (ac_try="$ac_link"
38421 case "(($ac_try" in
38422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38424 esac
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_link") 2>conftest.er1
38427 ac_status=$?
38428 grep -v '^ *+' conftest.er1 >conftest.err
38429 rm -f conftest.er1
38430 cat conftest.err >&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); } && {
38433 test -z "$ac_c_werror_flag" ||
38434 test ! -s conftest.err
38435 } && test -s conftest$ac_exeext &&
38436 $as_test_x conftest$ac_exeext; then
38437 THREADS_OK=yes
38438 else
38439 echo "$as_me: failed program was:" >&5
38440 sed 's/^/| /' conftest.$ac_ext >&5
38441
38442
38443 fi
38444
38445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38446 conftest$ac_exeext conftest.$ac_ext
38447
38448 LIBS="$save_LIBS"
38449 CFLAGS="$save_CFLAGS"
38450
38451 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38452 echo "${ECHO_T}$THREADS_OK" >&6; }
38453 if test "x$THREADS_OK" = "xyes"; then
38454 break;
38455 fi
38456
38457 THREADS_LINK=""
38458 THREADS_CFLAGS=""
38459 done
38460
38461 if test "x$THREADS_OK" != "xyes"; then
38462 wxUSE_THREADS=no
38463 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38464 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38465 else
38466 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38467 LIBS="$THREADS_LINK $LIBS"
38468
38469 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38470 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38471 flag=no
38472 case "${host}" in
38473 *-aix*)
38474 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38475 flag="-D_THREAD_SAFE"
38476 ;;
38477 *-freebsd*)
38478 flag="-D_THREAD_SAFE"
38479 ;;
38480 *-hp-hpux* )
38481 flag="-D_REENTRANT"
38482 if test "x$GCC" != "xyes"; then
38483 flag="$flag -D_RWSTD_MULTI_THREAD"
38484 fi
38485 ;;
38486 *solaris* | alpha*-osf*)
38487 flag="-D_REENTRANT"
38488 ;;
38489 esac
38490 { echo "$as_me:$LINENO: result: ${flag}" >&5
38491 echo "${ECHO_T}${flag}" >&6; }
38492 if test "x$flag" != xno; then
38493 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38494 fi
38495
38496 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38497 fi
38498 fi
38499
38500 if test "$wxUSE_THREADS" = "yes" ; then
38501
38502 for ac_func in thr_setconcurrency
38503 do
38504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38505 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38507 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38509 else
38510 cat >conftest.$ac_ext <<_ACEOF
38511 /* confdefs.h. */
38512 _ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38518 #define $ac_func innocuous_$ac_func
38519
38520 /* System header to define __stub macros and hopefully few prototypes,
38521 which can conflict with char $ac_func (); below.
38522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38523 <limits.h> exists even on freestanding compilers. */
38524
38525 #ifdef __STDC__
38526 # include <limits.h>
38527 #else
38528 # include <assert.h>
38529 #endif
38530
38531 #undef $ac_func
38532
38533 /* Override any GCC internal prototype to avoid an error.
38534 Use char because int might match the return type of a GCC
38535 builtin and then its argument prototype would still apply. */
38536 #ifdef __cplusplus
38537 extern "C"
38538 #endif
38539 char $ac_func ();
38540 /* The GNU C library defines this for functions which it implements
38541 to always fail with ENOSYS. Some functions are actually named
38542 something starting with __ and the normal name is an alias. */
38543 #if defined __stub_$ac_func || defined __stub___$ac_func
38544 choke me
38545 #endif
38546
38547 int
38548 main ()
38549 {
38550 return $ac_func ();
38551 ;
38552 return 0;
38553 }
38554 _ACEOF
38555 rm -f conftest.$ac_objext conftest$ac_exeext
38556 if { (ac_try="$ac_link"
38557 case "(($ac_try" in
38558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38559 *) ac_try_echo=$ac_try;;
38560 esac
38561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38562 (eval "$ac_link") 2>conftest.er1
38563 ac_status=$?
38564 grep -v '^ *+' conftest.er1 >conftest.err
38565 rm -f conftest.er1
38566 cat conftest.err >&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } && {
38569 test -z "$ac_c_werror_flag" ||
38570 test ! -s conftest.err
38571 } && test -s conftest$ac_exeext &&
38572 $as_test_x conftest$ac_exeext; then
38573 eval "$as_ac_var=yes"
38574 else
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.$ac_ext >&5
38577
38578 eval "$as_ac_var=no"
38579 fi
38580
38581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38582 conftest$ac_exeext conftest.$ac_ext
38583 fi
38584 ac_res=`eval echo '${'$as_ac_var'}'`
38585 { echo "$as_me:$LINENO: result: $ac_res" >&5
38586 echo "${ECHO_T}$ac_res" >&6; }
38587 if test `eval echo '${'$as_ac_var'}'` = yes; then
38588 cat >>confdefs.h <<_ACEOF
38589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38590 _ACEOF
38591
38592 fi
38593 done
38594
38595
38596 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38597 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38598 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38599 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 else
38601
38602 ac_ext=cpp
38603 ac_cpp='$CXXCPP $CPPFLAGS'
38604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38607
38608 cat >conftest.$ac_ext <<_ACEOF
38609 /* confdefs.h. */
38610 _ACEOF
38611 cat confdefs.h >>conftest.$ac_ext
38612 cat >>conftest.$ac_ext <<_ACEOF
38613 /* end confdefs.h. */
38614 #include <pthread.h>
38615 void ThreadCleanupFunc(void *p);
38616
38617 int
38618 main ()
38619 {
38620
38621 void *p;
38622 pthread_cleanup_push(ThreadCleanupFunc, p);
38623 pthread_cleanup_pop(0);
38624
38625 ;
38626 return 0;
38627 }
38628 _ACEOF
38629 rm -f conftest.$ac_objext
38630 if { (ac_try="$ac_compile"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38633 *) ac_try_echo=$ac_try;;
38634 esac
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_compile") 2>conftest.er1
38637 ac_status=$?
38638 grep -v '^ *+' conftest.er1 >conftest.err
38639 rm -f conftest.er1
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_cxx_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest.$ac_objext; then
38646
38647 wx_cv_func_pthread_cleanup=yes
38648
38649 else
38650 echo "$as_me: failed program was:" >&5
38651 sed 's/^/| /' conftest.$ac_ext >&5
38652
38653
38654 wx_cv_func_pthread_cleanup=no
38655
38656
38657 fi
38658
38659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38660 ac_ext=c
38661 ac_cpp='$CPP $CPPFLAGS'
38662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38665
38666
38667 fi
38668 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38669 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38670 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38671 cat >>confdefs.h <<\_ACEOF
38672 #define wxHAVE_PTHREAD_CLEANUP 1
38673 _ACEOF
38674
38675 fi
38676
38677
38678 for ac_header in sched.h
38679 do
38680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38684 echo $ECHO_N "(cached) $ECHO_C" >&6
38685 else
38686 cat >conftest.$ac_ext <<_ACEOF
38687 /* confdefs.h. */
38688 _ACEOF
38689 cat confdefs.h >>conftest.$ac_ext
38690 cat >>conftest.$ac_ext <<_ACEOF
38691 /* end confdefs.h. */
38692 $ac_includes_default
38693
38694 #include <$ac_header>
38695 _ACEOF
38696 rm -f conftest.$ac_objext
38697 if { (ac_try="$ac_compile"
38698 case "(($ac_try" in
38699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38700 *) ac_try_echo=$ac_try;;
38701 esac
38702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38703 (eval "$ac_compile") 2>conftest.er1
38704 ac_status=$?
38705 grep -v '^ *+' conftest.er1 >conftest.err
38706 rm -f conftest.er1
38707 cat conftest.err >&5
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); } && {
38710 test -z "$ac_c_werror_flag" ||
38711 test ! -s conftest.err
38712 } && test -s conftest.$ac_objext; then
38713 eval "$as_ac_Header=yes"
38714 else
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.$ac_ext >&5
38717
38718 eval "$as_ac_Header=no"
38719 fi
38720
38721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38722 fi
38723 ac_res=`eval echo '${'$as_ac_Header'}'`
38724 { echo "$as_me:$LINENO: result: $ac_res" >&5
38725 echo "${ECHO_T}$ac_res" >&6; }
38726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38727 cat >>confdefs.h <<_ACEOF
38728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38729 _ACEOF
38730
38731 fi
38732
38733 done
38734
38735 if test "$ac_cv_header_sched_h" = "yes"; then
38736 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38737 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38738 if test "${ac_cv_func_sched_yield+set}" = set; then
38739 echo $ECHO_N "(cached) $ECHO_C" >&6
38740 else
38741 cat >conftest.$ac_ext <<_ACEOF
38742 /* confdefs.h. */
38743 _ACEOF
38744 cat confdefs.h >>conftest.$ac_ext
38745 cat >>conftest.$ac_ext <<_ACEOF
38746 /* end confdefs.h. */
38747 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38749 #define sched_yield innocuous_sched_yield
38750
38751 /* System header to define __stub macros and hopefully few prototypes,
38752 which can conflict with char sched_yield (); below.
38753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38754 <limits.h> exists even on freestanding compilers. */
38755
38756 #ifdef __STDC__
38757 # include <limits.h>
38758 #else
38759 # include <assert.h>
38760 #endif
38761
38762 #undef sched_yield
38763
38764 /* Override any GCC internal prototype to avoid an error.
38765 Use char because int might match the return type of a GCC
38766 builtin and then its argument prototype would still apply. */
38767 #ifdef __cplusplus
38768 extern "C"
38769 #endif
38770 char sched_yield ();
38771 /* The GNU C library defines this for functions which it implements
38772 to always fail with ENOSYS. Some functions are actually named
38773 something starting with __ and the normal name is an alias. */
38774 #if defined __stub_sched_yield || defined __stub___sched_yield
38775 choke me
38776 #endif
38777
38778 int
38779 main ()
38780 {
38781 return sched_yield ();
38782 ;
38783 return 0;
38784 }
38785 _ACEOF
38786 rm -f conftest.$ac_objext conftest$ac_exeext
38787 if { (ac_try="$ac_link"
38788 case "(($ac_try" in
38789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38790 *) ac_try_echo=$ac_try;;
38791 esac
38792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38793 (eval "$ac_link") 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } && {
38800 test -z "$ac_c_werror_flag" ||
38801 test ! -s conftest.err
38802 } && test -s conftest$ac_exeext &&
38803 $as_test_x conftest$ac_exeext; then
38804 ac_cv_func_sched_yield=yes
38805 else
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.$ac_ext >&5
38808
38809 ac_cv_func_sched_yield=no
38810 fi
38811
38812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38813 conftest$ac_exeext conftest.$ac_ext
38814 fi
38815 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38816 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38817 if test $ac_cv_func_sched_yield = yes; then
38818 cat >>confdefs.h <<\_ACEOF
38819 #define HAVE_SCHED_YIELD 1
38820 _ACEOF
38821
38822 else
38823
38824 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38825 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38826 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38827 echo $ECHO_N "(cached) $ECHO_C" >&6
38828 else
38829 ac_check_lib_save_LIBS=$LIBS
38830 LIBS="-lposix4 $LIBS"
38831 cat >conftest.$ac_ext <<_ACEOF
38832 /* confdefs.h. */
38833 _ACEOF
38834 cat confdefs.h >>conftest.$ac_ext
38835 cat >>conftest.$ac_ext <<_ACEOF
38836 /* end confdefs.h. */
38837
38838 /* Override any GCC internal prototype to avoid an error.
38839 Use char because int might match the return type of a GCC
38840 builtin and then its argument prototype would still apply. */
38841 #ifdef __cplusplus
38842 extern "C"
38843 #endif
38844 char sched_yield ();
38845 int
38846 main ()
38847 {
38848 return sched_yield ();
38849 ;
38850 return 0;
38851 }
38852 _ACEOF
38853 rm -f conftest.$ac_objext conftest$ac_exeext
38854 if { (ac_try="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38858 esac
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 ac_cv_lib_posix4_sched_yield=yes
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876 ac_cv_lib_posix4_sched_yield=no
38877 fi
38878
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38881 LIBS=$ac_check_lib_save_LIBS
38882 fi
38883 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38884 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38885 if test $ac_cv_lib_posix4_sched_yield = yes; then
38886 cat >>confdefs.h <<\_ACEOF
38887 #define HAVE_SCHED_YIELD 1
38888 _ACEOF
38889 POSIX4_LINK=" -lposix4"
38890 else
38891 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38892 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38893
38894 fi
38895
38896
38897
38898 fi
38899
38900 fi
38901
38902 HAVE_PRIOR_FUNCS=0
38903 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38904 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38905 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38906 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 else
38908 cat >conftest.$ac_ext <<_ACEOF
38909 /* confdefs.h. */
38910 _ACEOF
38911 cat confdefs.h >>conftest.$ac_ext
38912 cat >>conftest.$ac_ext <<_ACEOF
38913 /* end confdefs.h. */
38914 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38916 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38917
38918 /* System header to define __stub macros and hopefully few prototypes,
38919 which can conflict with char pthread_attr_getschedpolicy (); below.
38920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38921 <limits.h> exists even on freestanding compilers. */
38922
38923 #ifdef __STDC__
38924 # include <limits.h>
38925 #else
38926 # include <assert.h>
38927 #endif
38928
38929 #undef pthread_attr_getschedpolicy
38930
38931 /* Override any GCC internal prototype to avoid an error.
38932 Use char because int might match the return type of a GCC
38933 builtin and then its argument prototype would still apply. */
38934 #ifdef __cplusplus
38935 extern "C"
38936 #endif
38937 char pthread_attr_getschedpolicy ();
38938 /* The GNU C library defines this for functions which it implements
38939 to always fail with ENOSYS. Some functions are actually named
38940 something starting with __ and the normal name is an alias. */
38941 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38942 choke me
38943 #endif
38944
38945 int
38946 main ()
38947 {
38948 return pthread_attr_getschedpolicy ();
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_func_pthread_attr_getschedpolicy=yes
38972 else
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38975
38976 ac_cv_func_pthread_attr_getschedpolicy=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 fi
38982 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38983 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38984 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38985 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38986 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38987 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 else
38990 cat >conftest.$ac_ext <<_ACEOF
38991 /* confdefs.h. */
38992 _ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38999
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char pthread_attr_setschedparam (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39004
39005 #ifdef __STDC__
39006 # include <limits.h>
39007 #else
39008 # include <assert.h>
39009 #endif
39010
39011 #undef pthread_attr_setschedparam
39012
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39016 #ifdef __cplusplus
39017 extern "C"
39018 #endif
39019 char pthread_attr_setschedparam ();
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39024 choke me
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 return pthread_attr_setschedparam ();
39031 ;
39032 return 0;
39033 }
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39039 *) ac_try_echo=$ac_try;;
39040 esac
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39043 ac_status=$?
39044 grep -v '^ *+' conftest.er1 >conftest.err
39045 rm -f conftest.er1
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest$ac_exeext &&
39052 $as_test_x conftest$ac_exeext; then
39053 ac_cv_func_pthread_attr_setschedparam=yes
39054 else
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39057
39058 ac_cv_func_pthread_attr_setschedparam=no
39059 fi
39060
39061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39062 conftest$ac_exeext conftest.$ac_ext
39063 fi
39064 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39065 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39066 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39067 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39068 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39069 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39070 echo $ECHO_N "(cached) $ECHO_C" >&6
39071 else
39072 cat >conftest.$ac_ext <<_ACEOF
39073 /* confdefs.h. */
39074 _ACEOF
39075 cat confdefs.h >>conftest.$ac_ext
39076 cat >>conftest.$ac_ext <<_ACEOF
39077 /* end confdefs.h. */
39078 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39080 #define sched_get_priority_max innocuous_sched_get_priority_max
39081
39082 /* System header to define __stub macros and hopefully few prototypes,
39083 which can conflict with char sched_get_priority_max (); below.
39084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39085 <limits.h> exists even on freestanding compilers. */
39086
39087 #ifdef __STDC__
39088 # include <limits.h>
39089 #else
39090 # include <assert.h>
39091 #endif
39092
39093 #undef sched_get_priority_max
39094
39095 /* Override any GCC internal prototype to avoid an error.
39096 Use char because int might match the return type of a GCC
39097 builtin and then its argument prototype would still apply. */
39098 #ifdef __cplusplus
39099 extern "C"
39100 #endif
39101 char sched_get_priority_max ();
39102 /* The GNU C library defines this for functions which it implements
39103 to always fail with ENOSYS. Some functions are actually named
39104 something starting with __ and the normal name is an alias. */
39105 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39106 choke me
39107 #endif
39108
39109 int
39110 main ()
39111 {
39112 return sched_get_priority_max ();
39113 ;
39114 return 0;
39115 }
39116 _ACEOF
39117 rm -f conftest.$ac_objext conftest$ac_exeext
39118 if { (ac_try="$ac_link"
39119 case "(($ac_try" in
39120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39121 *) ac_try_echo=$ac_try;;
39122 esac
39123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39124 (eval "$ac_link") 2>conftest.er1
39125 ac_status=$?
39126 grep -v '^ *+' conftest.er1 >conftest.err
39127 rm -f conftest.er1
39128 cat conftest.err >&5
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); } && {
39131 test -z "$ac_c_werror_flag" ||
39132 test ! -s conftest.err
39133 } && test -s conftest$ac_exeext &&
39134 $as_test_x conftest$ac_exeext; then
39135 ac_cv_func_sched_get_priority_max=yes
39136 else
39137 echo "$as_me: failed program was:" >&5
39138 sed 's/^/| /' conftest.$ac_ext >&5
39139
39140 ac_cv_func_sched_get_priority_max=no
39141 fi
39142
39143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39144 conftest$ac_exeext conftest.$ac_ext
39145 fi
39146 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39147 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39148 if test $ac_cv_func_sched_get_priority_max = yes; then
39149 HAVE_PRIOR_FUNCS=1
39150 else
39151 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39152 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39153 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39155 else
39156 ac_check_lib_save_LIBS=$LIBS
39157 LIBS="-lposix4 $LIBS"
39158 cat >conftest.$ac_ext <<_ACEOF
39159 /* confdefs.h. */
39160 _ACEOF
39161 cat confdefs.h >>conftest.$ac_ext
39162 cat >>conftest.$ac_ext <<_ACEOF
39163 /* end confdefs.h. */
39164
39165 /* Override any GCC internal prototype to avoid an error.
39166 Use char because int might match the return type of a GCC
39167 builtin and then its argument prototype would still apply. */
39168 #ifdef __cplusplus
39169 extern "C"
39170 #endif
39171 char sched_get_priority_max ();
39172 int
39173 main ()
39174 {
39175 return sched_get_priority_max ();
39176 ;
39177 return 0;
39178 }
39179 _ACEOF
39180 rm -f conftest.$ac_objext conftest$ac_exeext
39181 if { (ac_try="$ac_link"
39182 case "(($ac_try" in
39183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39184 *) ac_try_echo=$ac_try;;
39185 esac
39186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39187 (eval "$ac_link") 2>conftest.er1
39188 ac_status=$?
39189 grep -v '^ *+' conftest.er1 >conftest.err
39190 rm -f conftest.er1
39191 cat conftest.err >&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); } && {
39194 test -z "$ac_c_werror_flag" ||
39195 test ! -s conftest.err
39196 } && test -s conftest$ac_exeext &&
39197 $as_test_x conftest$ac_exeext; then
39198 ac_cv_lib_posix4_sched_get_priority_max=yes
39199 else
39200 echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.$ac_ext >&5
39202
39203 ac_cv_lib_posix4_sched_get_priority_max=no
39204 fi
39205
39206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39207 conftest$ac_exeext conftest.$ac_ext
39208 LIBS=$ac_check_lib_save_LIBS
39209 fi
39210 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39211 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39212 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39213
39214 HAVE_PRIOR_FUNCS=1
39215 POSIX4_LINK=" -lposix4"
39216
39217 fi
39218
39219
39220 fi
39221
39222
39223 fi
39224
39225
39226 fi
39227
39228
39229 if test "$HAVE_PRIOR_FUNCS" = 1; then
39230 cat >>confdefs.h <<\_ACEOF
39231 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39232 _ACEOF
39233
39234 else
39235 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39236 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39237 fi
39238
39239 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39240 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39241 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39244 cat >conftest.$ac_ext <<_ACEOF
39245 /* confdefs.h. */
39246 _ACEOF
39247 cat confdefs.h >>conftest.$ac_ext
39248 cat >>conftest.$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39252 #define pthread_cancel innocuous_pthread_cancel
39253
39254 /* System header to define __stub macros and hopefully few prototypes,
39255 which can conflict with char pthread_cancel (); below.
39256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39257 <limits.h> exists even on freestanding compilers. */
39258
39259 #ifdef __STDC__
39260 # include <limits.h>
39261 #else
39262 # include <assert.h>
39263 #endif
39264
39265 #undef pthread_cancel
39266
39267 /* Override any GCC internal prototype to avoid an error.
39268 Use char because int might match the return type of a GCC
39269 builtin and then its argument prototype would still apply. */
39270 #ifdef __cplusplus
39271 extern "C"
39272 #endif
39273 char pthread_cancel ();
39274 /* The GNU C library defines this for functions which it implements
39275 to always fail with ENOSYS. Some functions are actually named
39276 something starting with __ and the normal name is an alias. */
39277 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39278 choke me
39279 #endif
39280
39281 int
39282 main ()
39283 {
39284 return pthread_cancel ();
39285 ;
39286 return 0;
39287 }
39288 _ACEOF
39289 rm -f conftest.$ac_objext conftest$ac_exeext
39290 if { (ac_try="$ac_link"
39291 case "(($ac_try" in
39292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39293 *) ac_try_echo=$ac_try;;
39294 esac
39295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39296 (eval "$ac_link") 2>conftest.er1
39297 ac_status=$?
39298 grep -v '^ *+' conftest.er1 >conftest.err
39299 rm -f conftest.er1
39300 cat conftest.err >&5
39301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 (exit $ac_status); } && {
39303 test -z "$ac_c_werror_flag" ||
39304 test ! -s conftest.err
39305 } && test -s conftest$ac_exeext &&
39306 $as_test_x conftest$ac_exeext; then
39307 ac_cv_func_pthread_cancel=yes
39308 else
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.$ac_ext >&5
39311
39312 ac_cv_func_pthread_cancel=no
39313 fi
39314
39315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39316 conftest$ac_exeext conftest.$ac_ext
39317 fi
39318 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39319 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39320 if test $ac_cv_func_pthread_cancel = yes; then
39321 cat >>confdefs.h <<\_ACEOF
39322 #define HAVE_PTHREAD_CANCEL 1
39323 _ACEOF
39324
39325 else
39326 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39327 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39328 fi
39329
39330
39331 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39332 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39333 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39344 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39345
39346 /* System header to define __stub macros and hopefully few prototypes,
39347 which can conflict with char pthread_mutex_timedlock (); below.
39348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39349 <limits.h> exists even on freestanding compilers. */
39350
39351 #ifdef __STDC__
39352 # include <limits.h>
39353 #else
39354 # include <assert.h>
39355 #endif
39356
39357 #undef pthread_mutex_timedlock
39358
39359 /* Override any GCC internal prototype to avoid an error.
39360 Use char because int might match the return type of a GCC
39361 builtin and then its argument prototype would still apply. */
39362 #ifdef __cplusplus
39363 extern "C"
39364 #endif
39365 char pthread_mutex_timedlock ();
39366 /* The GNU C library defines this for functions which it implements
39367 to always fail with ENOSYS. Some functions are actually named
39368 something starting with __ and the normal name is an alias. */
39369 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39370 choke me
39371 #endif
39372
39373 int
39374 main ()
39375 {
39376 return pthread_mutex_timedlock ();
39377 ;
39378 return 0;
39379 }
39380 _ACEOF
39381 rm -f conftest.$ac_objext conftest$ac_exeext
39382 if { (ac_try="$ac_link"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39385 *) ac_try_echo=$ac_try;;
39386 esac
39387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_link") 2>conftest.er1
39389 ac_status=$?
39390 grep -v '^ *+' conftest.er1 >conftest.err
39391 rm -f conftest.er1
39392 cat conftest.err >&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_c_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest$ac_exeext &&
39398 $as_test_x conftest$ac_exeext; then
39399 ac_cv_func_pthread_mutex_timedlock=yes
39400 else
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.$ac_ext >&5
39403
39404 ac_cv_func_pthread_mutex_timedlock=no
39405 fi
39406
39407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39408 conftest$ac_exeext conftest.$ac_ext
39409 fi
39410 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39411 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39412 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39413 cat >>confdefs.h <<\_ACEOF
39414 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39415 _ACEOF
39416
39417 else
39418 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39419 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39420 fi
39421
39422
39423 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39424 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39425 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39427 else
39428 cat >conftest.$ac_ext <<_ACEOF
39429 /* confdefs.h. */
39430 _ACEOF
39431 cat confdefs.h >>conftest.$ac_ext
39432 cat >>conftest.$ac_ext <<_ACEOF
39433 /* end confdefs.h. */
39434 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39436 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39437
39438 /* System header to define __stub macros and hopefully few prototypes,
39439 which can conflict with char pthread_attr_setstacksize (); below.
39440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39441 <limits.h> exists even on freestanding compilers. */
39442
39443 #ifdef __STDC__
39444 # include <limits.h>
39445 #else
39446 # include <assert.h>
39447 #endif
39448
39449 #undef pthread_attr_setstacksize
39450
39451 /* Override any GCC internal prototype to avoid an error.
39452 Use char because int might match the return type of a GCC
39453 builtin and then its argument prototype would still apply. */
39454 #ifdef __cplusplus
39455 extern "C"
39456 #endif
39457 char pthread_attr_setstacksize ();
39458 /* The GNU C library defines this for functions which it implements
39459 to always fail with ENOSYS. Some functions are actually named
39460 something starting with __ and the normal name is an alias. */
39461 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39462 choke me
39463 #endif
39464
39465 int
39466 main ()
39467 {
39468 return pthread_attr_setstacksize ();
39469 ;
39470 return 0;
39471 }
39472 _ACEOF
39473 rm -f conftest.$ac_objext conftest$ac_exeext
39474 if { (ac_try="$ac_link"
39475 case "(($ac_try" in
39476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39477 *) ac_try_echo=$ac_try;;
39478 esac
39479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39480 (eval "$ac_link") 2>conftest.er1
39481 ac_status=$?
39482 grep -v '^ *+' conftest.er1 >conftest.err
39483 rm -f conftest.er1
39484 cat conftest.err >&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } && {
39487 test -z "$ac_c_werror_flag" ||
39488 test ! -s conftest.err
39489 } && test -s conftest$ac_exeext &&
39490 $as_test_x conftest$ac_exeext; then
39491 ac_cv_func_pthread_attr_setstacksize=yes
39492 else
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39495
39496 ac_cv_func_pthread_attr_setstacksize=no
39497 fi
39498
39499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39500 conftest$ac_exeext conftest.$ac_ext
39501 fi
39502 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39503 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39504 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39505 cat >>confdefs.h <<\_ACEOF
39506 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39507 _ACEOF
39508
39509 fi
39510
39511
39512
39513 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39514 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39515 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39516 echo $ECHO_N "(cached) $ECHO_C" >&6
39517 else
39518
39519 cat >conftest.$ac_ext <<_ACEOF
39520 /* confdefs.h. */
39521 _ACEOF
39522 cat confdefs.h >>conftest.$ac_ext
39523 cat >>conftest.$ac_ext <<_ACEOF
39524 /* end confdefs.h. */
39525 #include <pthread.h>
39526 int
39527 main ()
39528 {
39529
39530 pthread_mutexattr_t attr;
39531 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39532
39533 ;
39534 return 0;
39535 }
39536 _ACEOF
39537 rm -f conftest.$ac_objext
39538 if { (ac_try="$ac_compile"
39539 case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39541 *) ac_try_echo=$ac_try;;
39542 esac
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_compile") 2>conftest.er1
39545 ac_status=$?
39546 grep -v '^ *+' conftest.er1 >conftest.err
39547 rm -f conftest.er1
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } && {
39551 test -z "$ac_c_werror_flag" ||
39552 test ! -s conftest.err
39553 } && test -s conftest.$ac_objext; then
39554 wx_cv_type_pthread_mutexattr_t=yes
39555 else
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39558
39559 wx_cv_type_pthread_mutexattr_t=no
39560
39561 fi
39562
39563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39564
39565 fi
39566 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39567 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39568
39569 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39570 cat >>confdefs.h <<\_ACEOF
39571 #define HAVE_PTHREAD_MUTEXATTR_T 1
39572 _ACEOF
39573
39574
39575 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39576 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39577 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39578 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 else
39580
39581 cat >conftest.$ac_ext <<_ACEOF
39582 /* confdefs.h. */
39583 _ACEOF
39584 cat confdefs.h >>conftest.$ac_ext
39585 cat >>conftest.$ac_ext <<_ACEOF
39586 /* end confdefs.h. */
39587 #include <pthread.h>
39588 int
39589 main ()
39590 {
39591
39592 pthread_mutexattr_t attr;
39593 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39594
39595 ;
39596 return 0;
39597 }
39598 _ACEOF
39599 rm -f conftest.$ac_objext
39600 if { (ac_try="$ac_compile"
39601 case "(($ac_try" in
39602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39603 *) ac_try_echo=$ac_try;;
39604 esac
39605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39606 (eval "$ac_compile") 2>conftest.er1
39607 ac_status=$?
39608 grep -v '^ *+' conftest.er1 >conftest.err
39609 rm -f conftest.er1
39610 cat conftest.err >&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); } && {
39613 test -z "$ac_c_werror_flag" ||
39614 test ! -s conftest.err
39615 } && test -s conftest.$ac_objext; then
39616 wx_cv_func_pthread_mutexattr_settype_decl=yes
39617 else
39618 echo "$as_me: failed program was:" >&5
39619 sed 's/^/| /' conftest.$ac_ext >&5
39620
39621 wx_cv_func_pthread_mutexattr_settype_decl=no
39622
39623 fi
39624
39625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39626
39627 fi
39628 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39629 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39630 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39631 cat >>confdefs.h <<\_ACEOF
39632 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39633 _ACEOF
39634
39635 fi
39636 else
39637 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39638 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39639 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39640 echo $ECHO_N "(cached) $ECHO_C" >&6
39641 else
39642
39643 cat >conftest.$ac_ext <<_ACEOF
39644 /* confdefs.h. */
39645 _ACEOF
39646 cat confdefs.h >>conftest.$ac_ext
39647 cat >>conftest.$ac_ext <<_ACEOF
39648 /* end confdefs.h. */
39649 #include <pthread.h>
39650 int
39651 main ()
39652 {
39653
39654 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39655
39656 ;
39657 return 0;
39658 }
39659 _ACEOF
39660 rm -f conftest.$ac_objext
39661 if { (ac_try="$ac_compile"
39662 case "(($ac_try" in
39663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39664 *) ac_try_echo=$ac_try;;
39665 esac
39666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39667 (eval "$ac_compile") 2>conftest.er1
39668 ac_status=$?
39669 grep -v '^ *+' conftest.er1 >conftest.err
39670 rm -f conftest.er1
39671 cat conftest.err >&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); } && {
39674 test -z "$ac_c_werror_flag" ||
39675 test ! -s conftest.err
39676 } && test -s conftest.$ac_objext; then
39677
39678 wx_cv_type_pthread_rec_mutex_init=yes
39679
39680 else
39681 echo "$as_me: failed program was:" >&5
39682 sed 's/^/| /' conftest.$ac_ext >&5
39683
39684
39685 wx_cv_type_pthread_rec_mutex_init=no
39686
39687
39688 fi
39689
39690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39691
39692 fi
39693 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39694 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39695 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39696 cat >>confdefs.h <<\_ACEOF
39697 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39698 _ACEOF
39699
39700 else
39701 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39702 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39703 fi
39704 fi
39705 fi
39706
39707 else
39708 if test "$wxUSE_THREADS" = "yes" ; then
39709 case "${host}" in
39710 *-*-mingw32* )
39711 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39712 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39713 if test "${wx_cv_cflags_mthread+set}" = set; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 else
39716
39717 CFLAGS_OLD="$CFLAGS"
39718 CFLAGS="-mthreads $CFLAGS"
39719 cat >conftest.$ac_ext <<_ACEOF
39720 /* confdefs.h. */
39721 _ACEOF
39722 cat confdefs.h >>conftest.$ac_ext
39723 cat >>conftest.$ac_ext <<_ACEOF
39724 /* end confdefs.h. */
39725
39726 int
39727 main ()
39728 {
39729
39730 ;
39731 return 0;
39732 }
39733 _ACEOF
39734 rm -f conftest.$ac_objext
39735 if { (ac_try="$ac_compile"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39739 esac
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_compile") 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest.$ac_objext; then
39751 wx_cv_cflags_mthread=yes
39752 else
39753 echo "$as_me: failed program was:" >&5
39754 sed 's/^/| /' conftest.$ac_ext >&5
39755
39756 wx_cv_cflags_mthread=no
39757
39758 fi
39759
39760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39761
39762
39763 fi
39764 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39765 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39766
39767 if test "$wx_cv_cflags_mthread" = "yes"; then
39768 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39769 LDFLAGS="$LDFLAGS -mthreads"
39770 else
39771 CFLAGS="$CFLAGS_OLD"
39772 fi
39773 ;;
39774 *-pc-os2*emx )
39775 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39776 LDFLAGS="$LDFLAGS -Zmt"
39777 ;;
39778 esac
39779 fi
39780 fi
39781
39782 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39783 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39784 if test "${ac_cv_func_localtime_r+set}" = set; then
39785 echo $ECHO_N "(cached) $ECHO_C" >&6
39786 else
39787 cat >conftest.$ac_ext <<_ACEOF
39788 /* confdefs.h. */
39789 _ACEOF
39790 cat confdefs.h >>conftest.$ac_ext
39791 cat >>conftest.$ac_ext <<_ACEOF
39792 /* end confdefs.h. */
39793 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39795 #define localtime_r innocuous_localtime_r
39796
39797 /* System header to define __stub macros and hopefully few prototypes,
39798 which can conflict with char localtime_r (); below.
39799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39800 <limits.h> exists even on freestanding compilers. */
39801
39802 #ifdef __STDC__
39803 # include <limits.h>
39804 #else
39805 # include <assert.h>
39806 #endif
39807
39808 #undef localtime_r
39809
39810 /* Override any GCC internal prototype to avoid an error.
39811 Use char because int might match the return type of a GCC
39812 builtin and then its argument prototype would still apply. */
39813 #ifdef __cplusplus
39814 extern "C"
39815 #endif
39816 char localtime_r ();
39817 /* The GNU C library defines this for functions which it implements
39818 to always fail with ENOSYS. Some functions are actually named
39819 something starting with __ and the normal name is an alias. */
39820 #if defined __stub_localtime_r || defined __stub___localtime_r
39821 choke me
39822 #endif
39823
39824 int
39825 main ()
39826 {
39827 return localtime_r ();
39828 ;
39829 return 0;
39830 }
39831 _ACEOF
39832 rm -f conftest.$ac_objext conftest$ac_exeext
39833 if { (ac_try="$ac_link"
39834 case "(($ac_try" in
39835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39836 *) ac_try_echo=$ac_try;;
39837 esac
39838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39839 (eval "$ac_link") 2>conftest.er1
39840 ac_status=$?
39841 grep -v '^ *+' conftest.er1 >conftest.err
39842 rm -f conftest.er1
39843 cat conftest.err >&5
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); } && {
39846 test -z "$ac_c_werror_flag" ||
39847 test ! -s conftest.err
39848 } && test -s conftest$ac_exeext &&
39849 $as_test_x conftest$ac_exeext; then
39850 ac_cv_func_localtime_r=yes
39851 else
39852 echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.$ac_ext >&5
39854
39855 ac_cv_func_localtime_r=no
39856 fi
39857
39858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39859 conftest$ac_exeext conftest.$ac_ext
39860 fi
39861 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39862 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39863 if test $ac_cv_func_localtime_r = yes; then
39864 cat >>confdefs.h <<\_ACEOF
39865 #define HAVE_LOCALTIME_R 1
39866 _ACEOF
39867
39868 fi
39869
39870 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39871 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39872 if test "${ac_cv_func_gmtime_r+set}" = set; then
39873 echo $ECHO_N "(cached) $ECHO_C" >&6
39874 else
39875 cat >conftest.$ac_ext <<_ACEOF
39876 /* confdefs.h. */
39877 _ACEOF
39878 cat confdefs.h >>conftest.$ac_ext
39879 cat >>conftest.$ac_ext <<_ACEOF
39880 /* end confdefs.h. */
39881 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39883 #define gmtime_r innocuous_gmtime_r
39884
39885 /* System header to define __stub macros and hopefully few prototypes,
39886 which can conflict with char gmtime_r (); below.
39887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39888 <limits.h> exists even on freestanding compilers. */
39889
39890 #ifdef __STDC__
39891 # include <limits.h>
39892 #else
39893 # include <assert.h>
39894 #endif
39895
39896 #undef gmtime_r
39897
39898 /* Override any GCC internal prototype to avoid an error.
39899 Use char because int might match the return type of a GCC
39900 builtin and then its argument prototype would still apply. */
39901 #ifdef __cplusplus
39902 extern "C"
39903 #endif
39904 char gmtime_r ();
39905 /* The GNU C library defines this for functions which it implements
39906 to always fail with ENOSYS. Some functions are actually named
39907 something starting with __ and the normal name is an alias. */
39908 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39909 choke me
39910 #endif
39911
39912 int
39913 main ()
39914 {
39915 return gmtime_r ();
39916 ;
39917 return 0;
39918 }
39919 _ACEOF
39920 rm -f conftest.$ac_objext conftest$ac_exeext
39921 if { (ac_try="$ac_link"
39922 case "(($ac_try" in
39923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39924 *) ac_try_echo=$ac_try;;
39925 esac
39926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39927 (eval "$ac_link") 2>conftest.er1
39928 ac_status=$?
39929 grep -v '^ *+' conftest.er1 >conftest.err
39930 rm -f conftest.er1
39931 cat conftest.err >&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } && {
39934 test -z "$ac_c_werror_flag" ||
39935 test ! -s conftest.err
39936 } && test -s conftest$ac_exeext &&
39937 $as_test_x conftest$ac_exeext; then
39938 ac_cv_func_gmtime_r=yes
39939 else
39940 echo "$as_me: failed program was:" >&5
39941 sed 's/^/| /' conftest.$ac_ext >&5
39942
39943 ac_cv_func_gmtime_r=no
39944 fi
39945
39946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39947 conftest$ac_exeext conftest.$ac_ext
39948 fi
39949 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39950 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39951 if test $ac_cv_func_gmtime_r = yes; then
39952 cat >>confdefs.h <<\_ACEOF
39953 #define HAVE_GMTIME_R 1
39954 _ACEOF
39955
39956 fi
39957
39958
39959
39960
39961 ac_ext=c
39962 ac_cpp='$CPP $CPPFLAGS'
39963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39966
39967 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39968 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39969
39970 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973
39974
39975 ################################################################
39976
39977 ac_cv_func_which_gethostbyname_r=unknown
39978
39979 #
39980 # ONE ARGUMENT (sanity check)
39981 #
39982
39983 # This should fail, as there is no variant of gethostbyname_r() that takes
39984 # a single argument. If it actually compiles, then we can assume that
39985 # netdb.h is not declaring the function, and the compiler is thereby
39986 # assuming an implicit prototype. In which case, we're out of luck.
39987 #
39988 cat >conftest.$ac_ext <<_ACEOF
39989 /* confdefs.h. */
39990 _ACEOF
39991 cat confdefs.h >>conftest.$ac_ext
39992 cat >>conftest.$ac_ext <<_ACEOF
39993 /* end confdefs.h. */
39994 #include <netdb.h>
39995 int
39996 main ()
39997 {
39998
39999 char *name = "www.gnu.org";
40000 (void)gethostbyname_r(name) /* ; */
40001
40002 ;
40003 return 0;
40004 }
40005 _ACEOF
40006 rm -f conftest.$ac_objext
40007 if { (ac_try="$ac_compile"
40008 case "(($ac_try" in
40009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40010 *) ac_try_echo=$ac_try;;
40011 esac
40012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40013 (eval "$ac_compile") 2>conftest.er1
40014 ac_status=$?
40015 grep -v '^ *+' conftest.er1 >conftest.err
40016 rm -f conftest.er1
40017 cat conftest.err >&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); } && {
40020 test -z "$ac_c_werror_flag" ||
40021 test ! -s conftest.err
40022 } && test -s conftest.$ac_objext; then
40023 ac_cv_func_which_gethostbyname_r=no
40024 else
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40027
40028
40029 fi
40030
40031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40032
40033 #
40034 # SIX ARGUMENTS
40035 # (e.g. Linux)
40036 #
40037
40038 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40039
40040 cat >conftest.$ac_ext <<_ACEOF
40041 /* confdefs.h. */
40042 _ACEOF
40043 cat confdefs.h >>conftest.$ac_ext
40044 cat >>conftest.$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 #include <netdb.h>
40047 int
40048 main ()
40049 {
40050
40051 char *name = "www.gnu.org";
40052 struct hostent ret, *retp;
40053 char buf[1024];
40054 int buflen = 1024;
40055 int my_h_errno;
40056 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40057
40058 ;
40059 return 0;
40060 }
40061 _ACEOF
40062 rm -f conftest.$ac_objext
40063 if { (ac_try="$ac_compile"
40064 case "(($ac_try" in
40065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40067 esac
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_compile") 2>conftest.er1
40070 ac_status=$?
40071 grep -v '^ *+' conftest.er1 >conftest.err
40072 rm -f conftest.er1
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest.$ac_objext; then
40079 ac_cv_func_which_gethostbyname_r=six
40080 else
40081 echo "$as_me: failed program was:" >&5
40082 sed 's/^/| /' conftest.$ac_ext >&5
40083
40084
40085 fi
40086
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088
40089 fi
40090
40091 #
40092 # FIVE ARGUMENTS
40093 # (e.g. Solaris)
40094 #
40095
40096 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40097
40098 cat >conftest.$ac_ext <<_ACEOF
40099 /* confdefs.h. */
40100 _ACEOF
40101 cat confdefs.h >>conftest.$ac_ext
40102 cat >>conftest.$ac_ext <<_ACEOF
40103 /* end confdefs.h. */
40104 #include <netdb.h>
40105 int
40106 main ()
40107 {
40108
40109 char *name = "www.gnu.org";
40110 struct hostent ret;
40111 char buf[1024];
40112 int buflen = 1024;
40113 int my_h_errno;
40114 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40115
40116 ;
40117 return 0;
40118 }
40119 _ACEOF
40120 rm -f conftest.$ac_objext
40121 if { (ac_try="$ac_compile"
40122 case "(($ac_try" in
40123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40124 *) ac_try_echo=$ac_try;;
40125 esac
40126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40127 (eval "$ac_compile") 2>conftest.er1
40128 ac_status=$?
40129 grep -v '^ *+' conftest.er1 >conftest.err
40130 rm -f conftest.er1
40131 cat conftest.err >&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); } && {
40134 test -z "$ac_c_werror_flag" ||
40135 test ! -s conftest.err
40136 } && test -s conftest.$ac_objext; then
40137 ac_cv_func_which_gethostbyname_r=five
40138 else
40139 echo "$as_me: failed program was:" >&5
40140 sed 's/^/| /' conftest.$ac_ext >&5
40141
40142
40143 fi
40144
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146
40147 fi
40148
40149 #
40150 # THREE ARGUMENTS
40151 # (e.g. AIX, HP-UX, Tru64)
40152 #
40153
40154 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40155
40156 cat >conftest.$ac_ext <<_ACEOF
40157 /* confdefs.h. */
40158 _ACEOF
40159 cat confdefs.h >>conftest.$ac_ext
40160 cat >>conftest.$ac_ext <<_ACEOF
40161 /* end confdefs.h. */
40162 #include <netdb.h>
40163 int
40164 main ()
40165 {
40166
40167 char *name = "www.gnu.org";
40168 struct hostent ret;
40169 struct hostent_data data;
40170 (void)gethostbyname_r(name, &ret, &data) /* ; */
40171
40172 ;
40173 return 0;
40174 }
40175 _ACEOF
40176 rm -f conftest.$ac_objext
40177 if { (ac_try="$ac_compile"
40178 case "(($ac_try" in
40179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40180 *) ac_try_echo=$ac_try;;
40181 esac
40182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40183 (eval "$ac_compile") 2>conftest.er1
40184 ac_status=$?
40185 grep -v '^ *+' conftest.er1 >conftest.err
40186 rm -f conftest.er1
40187 cat conftest.err >&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } && {
40190 test -z "$ac_c_werror_flag" ||
40191 test ! -s conftest.err
40192 } && test -s conftest.$ac_objext; then
40193 ac_cv_func_which_gethostbyname_r=three
40194 else
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40197
40198
40199 fi
40200
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202
40203 fi
40204
40205 ################################################################
40206
40207
40208 fi
40209
40210 case "$ac_cv_func_which_gethostbyname_r" in
40211 three)
40212 { echo "$as_me:$LINENO: result: three" >&5
40213 echo "${ECHO_T}three" >&6; }
40214 cat >>confdefs.h <<\_ACEOF
40215 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40216 _ACEOF
40217
40218 ;;
40219
40220 five)
40221 { echo "$as_me:$LINENO: result: five" >&5
40222 echo "${ECHO_T}five" >&6; }
40223 cat >>confdefs.h <<\_ACEOF
40224 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40225 _ACEOF
40226
40227 ;;
40228
40229 six)
40230 { echo "$as_me:$LINENO: result: six" >&5
40231 echo "${ECHO_T}six" >&6; }
40232 cat >>confdefs.h <<\_ACEOF
40233 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40234 _ACEOF
40235
40236 ;;
40237
40238 no)
40239 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40240 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40241 ;;
40242
40243 unknown)
40244 { echo "$as_me:$LINENO: result: can't tell" >&5
40245 echo "${ECHO_T}can't tell" >&6; }
40246 ;;
40247
40248 *)
40249 { { echo "$as_me:$LINENO: error: internal error" >&5
40250 echo "$as_me: error: internal error" >&2;}
40251 { (exit 1); exit 1; }; }
40252 ;;
40253 esac
40254
40255 ac_ext=c
40256 ac_cpp='$CPP $CPPFLAGS'
40257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40260
40261
40262
40263 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40264 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40265 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40266 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40267 if test "${ac_cv_func_gethostbyname+set}" = set; then
40268 echo $ECHO_N "(cached) $ECHO_C" >&6
40269 else
40270 cat >conftest.$ac_ext <<_ACEOF
40271 /* confdefs.h. */
40272 _ACEOF
40273 cat confdefs.h >>conftest.$ac_ext
40274 cat >>conftest.$ac_ext <<_ACEOF
40275 /* end confdefs.h. */
40276 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40278 #define gethostbyname innocuous_gethostbyname
40279
40280 /* System header to define __stub macros and hopefully few prototypes,
40281 which can conflict with char gethostbyname (); below.
40282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40283 <limits.h> exists even on freestanding compilers. */
40284
40285 #ifdef __STDC__
40286 # include <limits.h>
40287 #else
40288 # include <assert.h>
40289 #endif
40290
40291 #undef gethostbyname
40292
40293 /* Override any GCC internal prototype to avoid an error.
40294 Use char because int might match the return type of a GCC
40295 builtin and then its argument prototype would still apply. */
40296 #ifdef __cplusplus
40297 extern "C"
40298 #endif
40299 char gethostbyname ();
40300 /* The GNU C library defines this for functions which it implements
40301 to always fail with ENOSYS. Some functions are actually named
40302 something starting with __ and the normal name is an alias. */
40303 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40304 choke me
40305 #endif
40306
40307 int
40308 main ()
40309 {
40310 return gethostbyname ();
40311 ;
40312 return 0;
40313 }
40314 _ACEOF
40315 rm -f conftest.$ac_objext conftest$ac_exeext
40316 if { (ac_try="$ac_link"
40317 case "(($ac_try" in
40318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40319 *) ac_try_echo=$ac_try;;
40320 esac
40321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40322 (eval "$ac_link") 2>conftest.er1
40323 ac_status=$?
40324 grep -v '^ *+' conftest.er1 >conftest.err
40325 rm -f conftest.er1
40326 cat conftest.err >&5
40327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40328 (exit $ac_status); } && {
40329 test -z "$ac_c_werror_flag" ||
40330 test ! -s conftest.err
40331 } && test -s conftest$ac_exeext &&
40332 $as_test_x conftest$ac_exeext; then
40333 ac_cv_func_gethostbyname=yes
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338 ac_cv_func_gethostbyname=no
40339 fi
40340
40341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40342 conftest$ac_exeext conftest.$ac_ext
40343 fi
40344 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40345 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40346 if test $ac_cv_func_gethostbyname = yes; then
40347 cat >>confdefs.h <<\_ACEOF
40348 #define HAVE_GETHOSTBYNAME 1
40349 _ACEOF
40350
40351 fi
40352
40353 fi
40354
40355 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40356 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40357 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40358 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 else
40360
40361 ac_ext=cpp
40362 ac_cpp='$CXXCPP $CPPFLAGS'
40363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40366
40367
40368 cat >conftest.$ac_ext <<_ACEOF
40369 /* confdefs.h. */
40370 _ACEOF
40371 cat confdefs.h >>conftest.$ac_ext
40372 cat >>conftest.$ac_ext <<_ACEOF
40373 /* end confdefs.h. */
40374 #include <netdb.h>
40375 int
40376 main ()
40377 {
40378
40379 char *name;
40380 char *proto;
40381 struct servent *se, *res;
40382 char buffer[2048];
40383 int buflen = 2048;
40384 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40385
40386 ;
40387 return 0;
40388 }
40389 _ACEOF
40390 rm -f conftest.$ac_objext
40391 if { (ac_try="$ac_compile"
40392 case "(($ac_try" in
40393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40394 *) ac_try_echo=$ac_try;;
40395 esac
40396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40397 (eval "$ac_compile") 2>conftest.er1
40398 ac_status=$?
40399 grep -v '^ *+' conftest.er1 >conftest.err
40400 rm -f conftest.er1
40401 cat conftest.err >&5
40402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40403 (exit $ac_status); } && {
40404 test -z "$ac_cxx_werror_flag" ||
40405 test ! -s conftest.err
40406 } && test -s conftest.$ac_objext; then
40407 ac_cv_func_which_getservbyname_r=six
40408 else
40409 echo "$as_me: failed program was:" >&5
40410 sed 's/^/| /' conftest.$ac_ext >&5
40411
40412
40413 cat >conftest.$ac_ext <<_ACEOF
40414 /* confdefs.h. */
40415 _ACEOF
40416 cat confdefs.h >>conftest.$ac_ext
40417 cat >>conftest.$ac_ext <<_ACEOF
40418 /* end confdefs.h. */
40419 #include <netdb.h>
40420 int
40421 main ()
40422 {
40423
40424 char *name;
40425 char *proto;
40426 struct servent *se;
40427 char buffer[2048];
40428 int buflen = 2048;
40429 (void) getservbyname_r(name, proto, se, buffer, buflen)
40430
40431 ;
40432 return 0;
40433 }
40434 _ACEOF
40435 rm -f conftest.$ac_objext
40436 if { (ac_try="$ac_compile"
40437 case "(($ac_try" in
40438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40439 *) ac_try_echo=$ac_try;;
40440 esac
40441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40442 (eval "$ac_compile") 2>conftest.er1
40443 ac_status=$?
40444 grep -v '^ *+' conftest.er1 >conftest.err
40445 rm -f conftest.er1
40446 cat conftest.err >&5
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); } && {
40449 test -z "$ac_cxx_werror_flag" ||
40450 test ! -s conftest.err
40451 } && test -s conftest.$ac_objext; then
40452 ac_cv_func_which_getservbyname_r=five
40453 else
40454 echo "$as_me: failed program was:" >&5
40455 sed 's/^/| /' conftest.$ac_ext >&5
40456
40457
40458 cat >conftest.$ac_ext <<_ACEOF
40459 /* confdefs.h. */
40460 _ACEOF
40461 cat confdefs.h >>conftest.$ac_ext
40462 cat >>conftest.$ac_ext <<_ACEOF
40463 /* end confdefs.h. */
40464 #include <netdb.h>
40465 int
40466 main ()
40467 {
40468
40469 char *name;
40470 char *proto;
40471 struct servent *se;
40472 struct servent_data data;
40473 (void) getservbyname_r(name, proto, se, &data);
40474
40475 ;
40476 return 0;
40477 }
40478 _ACEOF
40479 rm -f conftest.$ac_objext
40480 if { (ac_try="$ac_compile"
40481 case "(($ac_try" in
40482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40483 *) ac_try_echo=$ac_try;;
40484 esac
40485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40486 (eval "$ac_compile") 2>conftest.er1
40487 ac_status=$?
40488 grep -v '^ *+' conftest.er1 >conftest.err
40489 rm -f conftest.er1
40490 cat conftest.err >&5
40491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492 (exit $ac_status); } && {
40493 test -z "$ac_cxx_werror_flag" ||
40494 test ! -s conftest.err
40495 } && test -s conftest.$ac_objext; then
40496 ac_cv_func_which_getservbyname_r=four
40497 else
40498 echo "$as_me: failed program was:" >&5
40499 sed 's/^/| /' conftest.$ac_ext >&5
40500
40501 ac_cv_func_which_getservbyname_r=no
40502
40503 fi
40504
40505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40506
40507
40508 fi
40509
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40511
40512
40513 fi
40514
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516 ac_ext=c
40517 ac_cpp='$CPP $CPPFLAGS'
40518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40521
40522
40523
40524 fi
40525 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40526 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40527
40528 if test $ac_cv_func_which_getservbyname_r = six; then
40529 cat >>confdefs.h <<\_ACEOF
40530 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40531 _ACEOF
40532
40533 elif test $ac_cv_func_which_getservbyname_r = five; then
40534 cat >>confdefs.h <<\_ACEOF
40535 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40536 _ACEOF
40537
40538 elif test $ac_cv_func_which_getservbyname_r = four; then
40539 cat >>confdefs.h <<\_ACEOF
40540 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40541 _ACEOF
40542
40543 fi
40544
40545
40546 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40547 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40548
40549 for ac_func in getservbyname
40550 do
40551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40552 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40554 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40555 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 else
40557 cat >conftest.$ac_ext <<_ACEOF
40558 /* confdefs.h. */
40559 _ACEOF
40560 cat confdefs.h >>conftest.$ac_ext
40561 cat >>conftest.$ac_ext <<_ACEOF
40562 /* end confdefs.h. */
40563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40565 #define $ac_func innocuous_$ac_func
40566
40567 /* System header to define __stub macros and hopefully few prototypes,
40568 which can conflict with char $ac_func (); below.
40569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40570 <limits.h> exists even on freestanding compilers. */
40571
40572 #ifdef __STDC__
40573 # include <limits.h>
40574 #else
40575 # include <assert.h>
40576 #endif
40577
40578 #undef $ac_func
40579
40580 /* Override any GCC internal prototype to avoid an error.
40581 Use char because int might match the return type of a GCC
40582 builtin and then its argument prototype would still apply. */
40583 #ifdef __cplusplus
40584 extern "C"
40585 #endif
40586 char $ac_func ();
40587 /* The GNU C library defines this for functions which it implements
40588 to always fail with ENOSYS. Some functions are actually named
40589 something starting with __ and the normal name is an alias. */
40590 #if defined __stub_$ac_func || defined __stub___$ac_func
40591 choke me
40592 #endif
40593
40594 int
40595 main ()
40596 {
40597 return $ac_func ();
40598 ;
40599 return 0;
40600 }
40601 _ACEOF
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (ac_try="$ac_link"
40604 case "(($ac_try" in
40605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40606 *) ac_try_echo=$ac_try;;
40607 esac
40608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40609 (eval "$ac_link") 2>conftest.er1
40610 ac_status=$?
40611 grep -v '^ *+' conftest.er1 >conftest.err
40612 rm -f conftest.er1
40613 cat conftest.err >&5
40614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40615 (exit $ac_status); } && {
40616 test -z "$ac_c_werror_flag" ||
40617 test ! -s conftest.err
40618 } && test -s conftest$ac_exeext &&
40619 $as_test_x conftest$ac_exeext; then
40620 eval "$as_ac_var=yes"
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40624
40625 eval "$as_ac_var=no"
40626 fi
40627
40628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40629 conftest$ac_exeext conftest.$ac_ext
40630 fi
40631 ac_res=`eval echo '${'$as_ac_var'}'`
40632 { echo "$as_me:$LINENO: result: $ac_res" >&5
40633 echo "${ECHO_T}$ac_res" >&6; }
40634 if test `eval echo '${'$as_ac_var'}'` = yes; then
40635 cat >>confdefs.h <<_ACEOF
40636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40637 _ACEOF
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_GETSERVBYNAME 1
40640 _ACEOF
40641
40642 fi
40643 done
40644
40645 fi
40646
40647 if test "$wxUSE_THREADS" = "yes"; then
40648 cat >>confdefs.h <<\_ACEOF
40649 #define wxUSE_THREADS 1
40650 _ACEOF
40651
40652
40653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40654 else
40655 if test "$wx_cv_func_strtok_r" = "yes"; then
40656 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40657 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40658 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40659 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40660 { echo "$as_me:$LINENO: result: yes" >&5
40661 echo "${ECHO_T}yes" >&6; }
40662 else
40663 { echo "$as_me:$LINENO: result: no" >&5
40664 echo "${ECHO_T}no" >&6; }
40665 fi
40666 fi
40667 fi
40668
40669 if test "$WXGTK2" = 1 ; then
40670 cat >>confdefs.h <<_ACEOF
40671 #define __WXGTK20__ $WXGTK2
40672 _ACEOF
40673
40674 WXGTK12=1
40675 fi
40676
40677 if test "$WXGTK12" = 1 ; then
40678 cat >>confdefs.h <<_ACEOF
40679 #define __WXGTK12__ $WXGTK12
40680 _ACEOF
40681
40682 fi
40683
40684 if test "$WXGTK127" = 1 ; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define __WXGTK127__ $WXGTK127
40687 _ACEOF
40688
40689 fi
40690
40691 if test "$WXGPE" = 1 ; then
40692 cat >>confdefs.h <<_ACEOF
40693 #define __WXGPE__ $WXGPE
40694 _ACEOF
40695
40696 fi
40697
40698 DEBUG_CFLAGS=
40699 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40700 DEBUG_CFLAGS="-g"
40701 wxUSE_OPTIMISE=no
40702 fi
40703
40704 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40705 wxUSE_DEBUG_INFO=yes
40706 if test "$GCC" = yes; then
40707 DEBUG_CFLAGS="-ggdb"
40708 fi
40709 fi
40710
40711 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40712 cat >>confdefs.h <<\_ACEOF
40713 #define WXDEBUG 1
40714 _ACEOF
40715
40716 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40717 else
40718 if test "$wxUSE_GTK" = 1 ; then
40719 if test "x$wxGTK_VERSION" = "x1" ; then
40720 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40721 fi
40722 fi
40723 fi
40724
40725 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40726 cat >>confdefs.h <<\_ACEOF
40727 #define wxUSE_MEMORY_TRACING 1
40728 _ACEOF
40729
40730 cat >>confdefs.h <<\_ACEOF
40731 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40732 _ACEOF
40733
40734 cat >>confdefs.h <<\_ACEOF
40735 #define wxUSE_DEBUG_NEW_ALWAYS 1
40736 _ACEOF
40737
40738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40739 fi
40740
40741 if test "$wxUSE_DMALLOC" = "yes" ; then
40742 DMALLOC_LIBS="-ldmallocthcxx"
40743 fi
40744
40745 PROFILE_FLAGS=
40746 if test "$wxUSE_PROFILE" = "yes" ; then
40747 PROFILE_FLAGS=" -pg"
40748 fi
40749
40750 if test "$GCC" = "yes" ; then
40751 if test "$wxUSE_NO_RTTI" = "yes" ; then
40752 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40753 fi
40754 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40755 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40756 fi
40757 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40758 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40759 fi
40760
40761 case "${host}" in
40762 powerpc*-*-aix* )
40763 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40764 ;;
40765 *-hppa* )
40766 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40767 ;;
40768 esac
40769 fi
40770
40771 OPTIMISE_CFLAGS=
40772 if test "$wxUSE_OPTIMISE" = "no" ; then
40773 if test "$GCC" = yes ; then
40774 OPTIMISE_CFLAGS="-O0"
40775 fi
40776 else
40777 if test "$GCC" = yes ; then
40778 case "${host}" in
40779 *-pc-os2_emx | *-pc-os2-emx )
40780 OPTIMISE_CFLAGS="-O2"
40781 ;;
40782 *)
40783 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40784 ;;
40785 esac
40786 else
40787 OPTIMISE_CFLAGS="-O"
40788 fi
40789 fi
40790
40791
40792 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40793 cat >>confdefs.h <<\_ACEOF
40794 #define WXWIN_COMPATIBILITY_2_6 1
40795 _ACEOF
40796
40797
40798 WXWIN_COMPATIBILITY_2_8="yes"
40799 fi
40800
40801 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40802 cat >>confdefs.h <<\_ACEOF
40803 #define WXWIN_COMPATIBILITY_2_8 1
40804 _ACEOF
40805
40806 fi
40807
40808
40809 if test "$wxUSE_GUI" = "yes"; then
40810 cat >>confdefs.h <<\_ACEOF
40811 #define wxUSE_GUI 1
40812 _ACEOF
40813
40814
40815 fi
40816
40817
40818 if test "$wxUSE_UNIX" = "yes"; then
40819 cat >>confdefs.h <<\_ACEOF
40820 #define wxUSE_UNIX 1
40821 _ACEOF
40822
40823 fi
40824
40825
40826 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40827
40828 HAVE_DL_FUNCS=0
40829 HAVE_SHL_FUNCS=0
40830 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40831 if test "$USE_DARWIN" = 1; then
40832 HAVE_DL_FUNCS=1
40833 elif test "$USE_DOS" = 1; then
40834 HAVE_DL_FUNCS=0
40835 else
40836
40837 for ac_func in dlopen
40838 do
40839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40843 echo $ECHO_N "(cached) $ECHO_C" >&6
40844 else
40845 cat >conftest.$ac_ext <<_ACEOF
40846 /* confdefs.h. */
40847 _ACEOF
40848 cat confdefs.h >>conftest.$ac_ext
40849 cat >>conftest.$ac_ext <<_ACEOF
40850 /* end confdefs.h. */
40851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40853 #define $ac_func innocuous_$ac_func
40854
40855 /* System header to define __stub macros and hopefully few prototypes,
40856 which can conflict with char $ac_func (); below.
40857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40858 <limits.h> exists even on freestanding compilers. */
40859
40860 #ifdef __STDC__
40861 # include <limits.h>
40862 #else
40863 # include <assert.h>
40864 #endif
40865
40866 #undef $ac_func
40867
40868 /* Override any GCC internal prototype to avoid an error.
40869 Use char because int might match the return type of a GCC
40870 builtin and then its argument prototype would still apply. */
40871 #ifdef __cplusplus
40872 extern "C"
40873 #endif
40874 char $ac_func ();
40875 /* The GNU C library defines this for functions which it implements
40876 to always fail with ENOSYS. Some functions are actually named
40877 something starting with __ and the normal name is an alias. */
40878 #if defined __stub_$ac_func || defined __stub___$ac_func
40879 choke me
40880 #endif
40881
40882 int
40883 main ()
40884 {
40885 return $ac_func ();
40886 ;
40887 return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext conftest$ac_exeext
40891 if { (ac_try="$ac_link"
40892 case "(($ac_try" in
40893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40894 *) ac_try_echo=$ac_try;;
40895 esac
40896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40897 (eval "$ac_link") 2>conftest.er1
40898 ac_status=$?
40899 grep -v '^ *+' conftest.er1 >conftest.err
40900 rm -f conftest.er1
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } && {
40904 test -z "$ac_c_werror_flag" ||
40905 test ! -s conftest.err
40906 } && test -s conftest$ac_exeext &&
40907 $as_test_x conftest$ac_exeext; then
40908 eval "$as_ac_var=yes"
40909 else
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40912
40913 eval "$as_ac_var=no"
40914 fi
40915
40916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40917 conftest$ac_exeext conftest.$ac_ext
40918 fi
40919 ac_res=`eval echo '${'$as_ac_var'}'`
40920 { echo "$as_me:$LINENO: result: $ac_res" >&5
40921 echo "${ECHO_T}$ac_res" >&6; }
40922 if test `eval echo '${'$as_ac_var'}'` = yes; then
40923 cat >>confdefs.h <<_ACEOF
40924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40925 _ACEOF
40926
40927 cat >>confdefs.h <<\_ACEOF
40928 #define HAVE_DLOPEN 1
40929 _ACEOF
40930
40931 HAVE_DL_FUNCS=1
40932
40933 else
40934
40935 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40936 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40937 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40938 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 else
40940 ac_check_lib_save_LIBS=$LIBS
40941 LIBS="-ldl $LIBS"
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948
40949 /* Override any GCC internal prototype to avoid an error.
40950 Use char because int might match the return type of a GCC
40951 builtin and then its argument prototype would still apply. */
40952 #ifdef __cplusplus
40953 extern "C"
40954 #endif
40955 char dlopen ();
40956 int
40957 main ()
40958 {
40959 return dlopen ();
40960 ;
40961 return 0;
40962 }
40963 _ACEOF
40964 rm -f conftest.$ac_objext conftest$ac_exeext
40965 if { (ac_try="$ac_link"
40966 case "(($ac_try" in
40967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40968 *) ac_try_echo=$ac_try;;
40969 esac
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_link") 2>conftest.er1
40972 ac_status=$?
40973 grep -v '^ *+' conftest.er1 >conftest.err
40974 rm -f conftest.er1
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_c_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest$ac_exeext &&
40981 $as_test_x conftest$ac_exeext; then
40982 ac_cv_lib_dl_dlopen=yes
40983 else
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40986
40987 ac_cv_lib_dl_dlopen=no
40988 fi
40989
40990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40991 conftest$ac_exeext conftest.$ac_ext
40992 LIBS=$ac_check_lib_save_LIBS
40993 fi
40994 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40995 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40996 if test $ac_cv_lib_dl_dlopen = yes; then
40997
40998 cat >>confdefs.h <<\_ACEOF
40999 #define HAVE_DLOPEN 1
41000 _ACEOF
41001
41002 HAVE_DL_FUNCS=1
41003 DL_LINK=" -ldl$DL_LINK"
41004
41005 else
41006
41007
41008 for ac_func in shl_load
41009 do
41010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41014 echo $ECHO_N "(cached) $ECHO_C" >&6
41015 else
41016 cat >conftest.$ac_ext <<_ACEOF
41017 /* confdefs.h. */
41018 _ACEOF
41019 cat confdefs.h >>conftest.$ac_ext
41020 cat >>conftest.$ac_ext <<_ACEOF
41021 /* end confdefs.h. */
41022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41024 #define $ac_func innocuous_$ac_func
41025
41026 /* System header to define __stub macros and hopefully few prototypes,
41027 which can conflict with char $ac_func (); below.
41028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41029 <limits.h> exists even on freestanding compilers. */
41030
41031 #ifdef __STDC__
41032 # include <limits.h>
41033 #else
41034 # include <assert.h>
41035 #endif
41036
41037 #undef $ac_func
41038
41039 /* Override any GCC internal prototype to avoid an error.
41040 Use char because int might match the return type of a GCC
41041 builtin and then its argument prototype would still apply. */
41042 #ifdef __cplusplus
41043 extern "C"
41044 #endif
41045 char $ac_func ();
41046 /* The GNU C library defines this for functions which it implements
41047 to always fail with ENOSYS. Some functions are actually named
41048 something starting with __ and the normal name is an alias. */
41049 #if defined __stub_$ac_func || defined __stub___$ac_func
41050 choke me
41051 #endif
41052
41053 int
41054 main ()
41055 {
41056 return $ac_func ();
41057 ;
41058 return 0;
41059 }
41060 _ACEOF
41061 rm -f conftest.$ac_objext conftest$ac_exeext
41062 if { (ac_try="$ac_link"
41063 case "(($ac_try" in
41064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41065 *) ac_try_echo=$ac_try;;
41066 esac
41067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41068 (eval "$ac_link") 2>conftest.er1
41069 ac_status=$?
41070 grep -v '^ *+' conftest.er1 >conftest.err
41071 rm -f conftest.er1
41072 cat conftest.err >&5
41073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074 (exit $ac_status); } && {
41075 test -z "$ac_c_werror_flag" ||
41076 test ! -s conftest.err
41077 } && test -s conftest$ac_exeext &&
41078 $as_test_x conftest$ac_exeext; then
41079 eval "$as_ac_var=yes"
41080 else
41081 echo "$as_me: failed program was:" >&5
41082 sed 's/^/| /' conftest.$ac_ext >&5
41083
41084 eval "$as_ac_var=no"
41085 fi
41086
41087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41088 conftest$ac_exeext conftest.$ac_ext
41089 fi
41090 ac_res=`eval echo '${'$as_ac_var'}'`
41091 { echo "$as_me:$LINENO: result: $ac_res" >&5
41092 echo "${ECHO_T}$ac_res" >&6; }
41093 if test `eval echo '${'$as_ac_var'}'` = yes; then
41094 cat >>confdefs.h <<_ACEOF
41095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41096 _ACEOF
41097
41098 cat >>confdefs.h <<\_ACEOF
41099 #define HAVE_SHL_LOAD 1
41100 _ACEOF
41101
41102 HAVE_SHL_FUNCS=1
41103
41104 else
41105
41106 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41107 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41108 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41109 echo $ECHO_N "(cached) $ECHO_C" >&6
41110 else
41111 ac_check_lib_save_LIBS=$LIBS
41112 LIBS="-lshl_load $LIBS"
41113 cat >conftest.$ac_ext <<_ACEOF
41114 /* confdefs.h. */
41115 _ACEOF
41116 cat confdefs.h >>conftest.$ac_ext
41117 cat >>conftest.$ac_ext <<_ACEOF
41118 /* end confdefs.h. */
41119
41120 /* Override any GCC internal prototype to avoid an error.
41121 Use char because int might match the return type of a GCC
41122 builtin and then its argument prototype would still apply. */
41123 #ifdef __cplusplus
41124 extern "C"
41125 #endif
41126 char dld ();
41127 int
41128 main ()
41129 {
41130 return dld ();
41131 ;
41132 return 0;
41133 }
41134 _ACEOF
41135 rm -f conftest.$ac_objext conftest$ac_exeext
41136 if { (ac_try="$ac_link"
41137 case "(($ac_try" in
41138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41139 *) ac_try_echo=$ac_try;;
41140 esac
41141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41142 (eval "$ac_link") 2>conftest.er1
41143 ac_status=$?
41144 grep -v '^ *+' conftest.er1 >conftest.err
41145 rm -f conftest.er1
41146 cat conftest.err >&5
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); } && {
41149 test -z "$ac_c_werror_flag" ||
41150 test ! -s conftest.err
41151 } && test -s conftest$ac_exeext &&
41152 $as_test_x conftest$ac_exeext; then
41153 ac_cv_lib_shl_load_dld=yes
41154 else
41155 echo "$as_me: failed program was:" >&5
41156 sed 's/^/| /' conftest.$ac_ext >&5
41157
41158 ac_cv_lib_shl_load_dld=no
41159 fi
41160
41161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41162 conftest$ac_exeext conftest.$ac_ext
41163 LIBS=$ac_check_lib_save_LIBS
41164 fi
41165 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41166 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41167 if test $ac_cv_lib_shl_load_dld = yes; then
41168
41169 HAVE_SHL_FUNCS=1
41170 DL_LINK=" -ldld$DL_LINK"
41171
41172 fi
41173
41174
41175 fi
41176 done
41177
41178
41179 fi
41180
41181
41182 fi
41183 done
41184
41185
41186 if test "$HAVE_DL_FUNCS" = 1; then
41187
41188 for ac_func in dlerror
41189 do
41190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41194 echo $ECHO_N "(cached) $ECHO_C" >&6
41195 else
41196 cat >conftest.$ac_ext <<_ACEOF
41197 /* confdefs.h. */
41198 _ACEOF
41199 cat confdefs.h >>conftest.$ac_ext
41200 cat >>conftest.$ac_ext <<_ACEOF
41201 /* end confdefs.h. */
41202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41204 #define $ac_func innocuous_$ac_func
41205
41206 /* System header to define __stub macros and hopefully few prototypes,
41207 which can conflict with char $ac_func (); below.
41208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41209 <limits.h> exists even on freestanding compilers. */
41210
41211 #ifdef __STDC__
41212 # include <limits.h>
41213 #else
41214 # include <assert.h>
41215 #endif
41216
41217 #undef $ac_func
41218
41219 /* Override any GCC internal prototype to avoid an error.
41220 Use char because int might match the return type of a GCC
41221 builtin and then its argument prototype would still apply. */
41222 #ifdef __cplusplus
41223 extern "C"
41224 #endif
41225 char $ac_func ();
41226 /* The GNU C library defines this for functions which it implements
41227 to always fail with ENOSYS. Some functions are actually named
41228 something starting with __ and the normal name is an alias. */
41229 #if defined __stub_$ac_func || defined __stub___$ac_func
41230 choke me
41231 #endif
41232
41233 int
41234 main ()
41235 {
41236 return $ac_func ();
41237 ;
41238 return 0;
41239 }
41240 _ACEOF
41241 rm -f conftest.$ac_objext conftest$ac_exeext
41242 if { (ac_try="$ac_link"
41243 case "(($ac_try" in
41244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41245 *) ac_try_echo=$ac_try;;
41246 esac
41247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41248 (eval "$ac_link") 2>conftest.er1
41249 ac_status=$?
41250 grep -v '^ *+' conftest.er1 >conftest.err
41251 rm -f conftest.er1
41252 cat conftest.err >&5
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); } && {
41255 test -z "$ac_c_werror_flag" ||
41256 test ! -s conftest.err
41257 } && test -s conftest$ac_exeext &&
41258 $as_test_x conftest$ac_exeext; then
41259 eval "$as_ac_var=yes"
41260 else
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.$ac_ext >&5
41263
41264 eval "$as_ac_var=no"
41265 fi
41266
41267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41268 conftest$ac_exeext conftest.$ac_ext
41269 fi
41270 ac_res=`eval echo '${'$as_ac_var'}'`
41271 { echo "$as_me:$LINENO: result: $ac_res" >&5
41272 echo "${ECHO_T}$ac_res" >&6; }
41273 if test `eval echo '${'$as_ac_var'}'` = yes; then
41274 cat >>confdefs.h <<_ACEOF
41275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41276 _ACEOF
41277 cat >>confdefs.h <<\_ACEOF
41278 #define HAVE_DLERROR 1
41279 _ACEOF
41280
41281 else
41282
41283 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41284 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41285 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41286 echo $ECHO_N "(cached) $ECHO_C" >&6
41287 else
41288 ac_check_lib_save_LIBS=$LIBS
41289 LIBS="-ldl $LIBS"
41290 cat >conftest.$ac_ext <<_ACEOF
41291 /* confdefs.h. */
41292 _ACEOF
41293 cat confdefs.h >>conftest.$ac_ext
41294 cat >>conftest.$ac_ext <<_ACEOF
41295 /* end confdefs.h. */
41296
41297 /* Override any GCC internal prototype to avoid an error.
41298 Use char because int might match the return type of a GCC
41299 builtin and then its argument prototype would still apply. */
41300 #ifdef __cplusplus
41301 extern "C"
41302 #endif
41303 char dlerror ();
41304 int
41305 main ()
41306 {
41307 return dlerror ();
41308 ;
41309 return 0;
41310 }
41311 _ACEOF
41312 rm -f conftest.$ac_objext conftest$ac_exeext
41313 if { (ac_try="$ac_link"
41314 case "(($ac_try" in
41315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41316 *) ac_try_echo=$ac_try;;
41317 esac
41318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41319 (eval "$ac_link") 2>conftest.er1
41320 ac_status=$?
41321 grep -v '^ *+' conftest.er1 >conftest.err
41322 rm -f conftest.er1
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } && {
41326 test -z "$ac_c_werror_flag" ||
41327 test ! -s conftest.err
41328 } && test -s conftest$ac_exeext &&
41329 $as_test_x conftest$ac_exeext; then
41330 ac_cv_lib_dl_dlerror=yes
41331 else
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.$ac_ext >&5
41334
41335 ac_cv_lib_dl_dlerror=no
41336 fi
41337
41338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41339 conftest$ac_exeext conftest.$ac_ext
41340 LIBS=$ac_check_lib_save_LIBS
41341 fi
41342 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41343 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41344 if test $ac_cv_lib_dl_dlerror = yes; then
41345 cat >>confdefs.h <<\_ACEOF
41346 #define HAVE_DLERROR 1
41347 _ACEOF
41348
41349 fi
41350
41351
41352
41353 fi
41354 done
41355
41356 fi
41357 fi
41358
41359 if test "$HAVE_DL_FUNCS" = 0; then
41360 if test "$HAVE_SHL_FUNCS" = 0; then
41361 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41362 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41363 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41364 wxUSE_DYNAMIC_LOADER=no
41365 wxUSE_DYNLIB_CLASS=no
41366 else
41367 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41368 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41369 fi
41370 fi
41371 fi
41372 fi
41373 fi
41374
41375 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41376 cat >>confdefs.h <<\_ACEOF
41377 #define wxUSE_DYNAMIC_LOADER 1
41378 _ACEOF
41379
41380 fi
41381 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41382 cat >>confdefs.h <<\_ACEOF
41383 #define wxUSE_DYNLIB_CLASS 1
41384 _ACEOF
41385
41386 fi
41387
41388
41389
41390 if test "$wxUSE_PLUGINS" = "yes" ; then
41391 if test "$wxUSE_SHARED" = "no" ; then
41392 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41393 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41394 wxUSE_PLUGINS=no
41395 fi
41396 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41397 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41398 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41399 wxUSE_PLUGINS=no
41400 fi
41401 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41402 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41403 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41404 wxUSE_PLUGINS=no
41405 fi
41406 if test "$wxUSE_PLUGINS" = "yes" ; then
41407 cat >>confdefs.h <<\_ACEOF
41408 #define wxUSE_PLUGINS 1
41409 _ACEOF
41410
41411 fi
41412 fi
41413
41414
41415 if test "$wxUSE_STL" = "yes"; then
41416 cat >>confdefs.h <<\_ACEOF
41417 #define wxUSE_STL 1
41418 _ACEOF
41419
41420 fi
41421
41422 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41423 cat >>confdefs.h <<\_ACEOF
41424 #define wxUSE_EXTENDED_RTTI 1
41425 _ACEOF
41426
41427 fi
41428
41429 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41430 cat >>confdefs.h <<\_ACEOF
41431 #define wxUSE_APPLE_IEEE 1
41432 _ACEOF
41433
41434 fi
41435
41436 if test "$wxUSE_TIMER" = "yes"; then
41437 cat >>confdefs.h <<\_ACEOF
41438 #define wxUSE_TIMER 1
41439 _ACEOF
41440
41441 fi
41442
41443 if test "$USE_UNIX" = 1 ; then
41444 if test "$wxUSE_MGL" != 1; then
41445 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41446 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41447 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41449 else
41450
41451 cat >conftest.$ac_ext <<_ACEOF
41452 /* confdefs.h. */
41453 _ACEOF
41454 cat confdefs.h >>conftest.$ac_ext
41455 cat >>conftest.$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457
41458 #include <sys/ioctl.h>
41459 #include <sys/soundcard.h>
41460
41461 int
41462 main ()
41463 {
41464
41465 ioctl(0, SNDCTL_DSP_SPEED, 0);
41466
41467 ;
41468 return 0;
41469 }
41470 _ACEOF
41471 rm -f conftest.$ac_objext conftest$ac_exeext
41472 if { (ac_try="$ac_link"
41473 case "(($ac_try" in
41474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41475 *) ac_try_echo=$ac_try;;
41476 esac
41477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41478 (eval "$ac_link") 2>conftest.er1
41479 ac_status=$?
41480 grep -v '^ *+' conftest.er1 >conftest.err
41481 rm -f conftest.er1
41482 cat conftest.err >&5
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); } && {
41485 test -z "$ac_c_werror_flag" ||
41486 test ! -s conftest.err
41487 } && test -s conftest$ac_exeext &&
41488 $as_test_x conftest$ac_exeext; then
41489 ac_cv_header_sys_soundcard=yes
41490 else
41491 echo "$as_me: failed program was:" >&5
41492 sed 's/^/| /' conftest.$ac_ext >&5
41493
41494
41495 saveLibs="$LIBS"
41496 LIBS="$saveLibs -lossaudio"
41497 cat >conftest.$ac_ext <<_ACEOF
41498 /* confdefs.h. */
41499 _ACEOF
41500 cat confdefs.h >>conftest.$ac_ext
41501 cat >>conftest.$ac_ext <<_ACEOF
41502 /* end confdefs.h. */
41503
41504 #include <sys/ioctl.h>
41505 #include <sys/soundcard.h>
41506
41507 int
41508 main ()
41509 {
41510
41511 ioctl(0, SNDCTL_DSP_SPEED, 0);
41512
41513 ;
41514 return 0;
41515 }
41516 _ACEOF
41517 rm -f conftest.$ac_objext conftest$ac_exeext
41518 if { (ac_try="$ac_link"
41519 case "(($ac_try" in
41520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41521 *) ac_try_echo=$ac_try;;
41522 esac
41523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41524 (eval "$ac_link") 2>conftest.er1
41525 ac_status=$?
41526 grep -v '^ *+' conftest.er1 >conftest.err
41527 rm -f conftest.er1
41528 cat conftest.err >&5
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); } && {
41531 test -z "$ac_c_werror_flag" ||
41532 test ! -s conftest.err
41533 } && test -s conftest$ac_exeext &&
41534 $as_test_x conftest$ac_exeext; then
41535 ac_cv_header_sys_soundcard=yes
41536 else
41537 echo "$as_me: failed program was:" >&5
41538 sed 's/^/| /' conftest.$ac_ext >&5
41539
41540
41541 LIBS="$saveLibs"
41542 ac_cv_header_sys_soundcard=no
41543
41544
41545 fi
41546
41547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41548 conftest$ac_exeext conftest.$ac_ext
41549
41550
41551 fi
41552
41553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41554 conftest$ac_exeext conftest.$ac_ext
41555
41556 fi
41557 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41558 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41559 fi
41560
41561 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_SYS_SOUNDCARD_H 1
41564 _ACEOF
41565
41566 fi
41567 fi
41568
41569 WITH_PLUGIN_SDL=0
41570 if test "$wxUSE_SOUND" = "yes"; then
41571 if test "$USE_UNIX" = 1 ; then
41572 if test "$wxUSE_LIBSDL" != "no"; then
41573
41574 # Check whether --with-sdl-prefix was given.
41575 if test "${with_sdl_prefix+set}" = set; then
41576 withval=$with_sdl_prefix; sdl_prefix="$withval"
41577 else
41578 sdl_prefix=""
41579 fi
41580
41581
41582 # Check whether --with-sdl-exec-prefix was given.
41583 if test "${with_sdl_exec_prefix+set}" = set; then
41584 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41585 else
41586 sdl_exec_prefix=""
41587 fi
41588
41589 # Check whether --enable-sdltest was given.
41590 if test "${enable_sdltest+set}" = set; then
41591 enableval=$enable_sdltest;
41592 else
41593 enable_sdltest=yes
41594 fi
41595
41596
41597 if test x$sdl_exec_prefix != x ; then
41598 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41599 if test x${SDL_CONFIG+set} != xset ; then
41600 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41601 fi
41602 fi
41603 if test x$sdl_prefix != x ; then
41604 sdl_args="$sdl_args --prefix=$sdl_prefix"
41605 if test x${SDL_CONFIG+set} != xset ; then
41606 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41607 fi
41608 fi
41609
41610 if test "x$prefix" != xNONE; then
41611 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41612 fi
41613 # Extract the first word of "sdl-config", so it can be a program name with args.
41614 set dummy sdl-config; ac_word=$2
41615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41617 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41618 echo $ECHO_N "(cached) $ECHO_C" >&6
41619 else
41620 case $SDL_CONFIG in
41621 [\\/]* | ?:[\\/]*)
41622 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41623 ;;
41624 *)
41625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41626 for as_dir in $PATH
41627 do
41628 IFS=$as_save_IFS
41629 test -z "$as_dir" && as_dir=.
41630 for ac_exec_ext in '' $ac_executable_extensions; do
41631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41632 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41634 break 2
41635 fi
41636 done
41637 done
41638 IFS=$as_save_IFS
41639
41640 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41641 ;;
41642 esac
41643 fi
41644 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41645 if test -n "$SDL_CONFIG"; then
41646 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41647 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41648 else
41649 { echo "$as_me:$LINENO: result: no" >&5
41650 echo "${ECHO_T}no" >&6; }
41651 fi
41652
41653
41654 min_sdl_version=1.2.0
41655 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41656 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41657 no_sdl=""
41658 if test "$SDL_CONFIG" = "no" ; then
41659 no_sdl=yes
41660 else
41661 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41662 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41663
41664 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41666 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41668 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41670 if test "x$enable_sdltest" = "xyes" ; then
41671 ac_save_CFLAGS="$CFLAGS"
41672 ac_save_CXXFLAGS="$CXXFLAGS"
41673 ac_save_LIBS="$LIBS"
41674 CFLAGS="$CFLAGS $SDL_CFLAGS"
41675 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41676 LIBS="$LIBS $SDL_LIBS"
41677 rm -f conf.sdltest
41678 if test "$cross_compiling" = yes; then
41679 echo $ac_n "cross compiling; assumed OK... $ac_c"
41680 else
41681 cat >conftest.$ac_ext <<_ACEOF
41682 /* confdefs.h. */
41683 _ACEOF
41684 cat confdefs.h >>conftest.$ac_ext
41685 cat >>conftest.$ac_ext <<_ACEOF
41686 /* end confdefs.h. */
41687
41688 #include <stdio.h>
41689 #include <stdlib.h>
41690 #include <string.h>
41691 #include "SDL.h"
41692
41693 char*
41694 my_strdup (char *str)
41695 {
41696 char *new_str;
41697
41698 if (str)
41699 {
41700 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41701 strcpy (new_str, str);
41702 }
41703 else
41704 new_str = NULL;
41705
41706 return new_str;
41707 }
41708
41709 int main (int argc, char *argv[])
41710 {
41711 int major, minor, micro;
41712 char *tmp_version;
41713
41714 /* This hangs on some systems (?)
41715 system ("touch conf.sdltest");
41716 */
41717 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41718
41719 /* HP/UX 9 (%@#!) writes to sscanf strings */
41720 tmp_version = my_strdup("$min_sdl_version");
41721 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41722 printf("%s, bad version string\n", "$min_sdl_version");
41723 exit(1);
41724 }
41725
41726 if (($sdl_major_version > major) ||
41727 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41728 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41729 {
41730 return 0;
41731 }
41732 else
41733 {
41734 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41735 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41736 printf("*** best to upgrade to the required version.\n");
41737 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41738 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41739 printf("*** config.cache before re-running configure\n");
41740 return 1;
41741 }
41742 }
41743
41744
41745 _ACEOF
41746 rm -f conftest$ac_exeext
41747 if { (ac_try="$ac_link"
41748 case "(($ac_try" in
41749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41750 *) ac_try_echo=$ac_try;;
41751 esac
41752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41753 (eval "$ac_link") 2>&5
41754 ac_status=$?
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41757 { (case "(($ac_try" in
41758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41759 *) ac_try_echo=$ac_try;;
41760 esac
41761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41762 (eval "$ac_try") 2>&5
41763 ac_status=$?
41764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41765 (exit $ac_status); }; }; then
41766 :
41767 else
41768 echo "$as_me: program exited with status $ac_status" >&5
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.$ac_ext >&5
41771
41772 ( exit $ac_status )
41773 no_sdl=yes
41774 fi
41775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41776 fi
41777
41778
41779 CFLAGS="$ac_save_CFLAGS"
41780 CXXFLAGS="$ac_save_CXXFLAGS"
41781 LIBS="$ac_save_LIBS"
41782 fi
41783 fi
41784 if test "x$no_sdl" = x ; then
41785 { echo "$as_me:$LINENO: result: yes" >&5
41786 echo "${ECHO_T}yes" >&6; }
41787
41788 EXTRALIBS_SDL="$SDL_LIBS"
41789 CFLAGS="$SDL_CFLAGS $CFLAGS"
41790 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41791 cat >>confdefs.h <<\_ACEOF
41792 #define wxUSE_LIBSDL 1
41793 _ACEOF
41794
41795
41796 else
41797 { echo "$as_me:$LINENO: result: no" >&5
41798 echo "${ECHO_T}no" >&6; }
41799 if test "$SDL_CONFIG" = "no" ; then
41800 echo "*** The sdl-config script installed by SDL could not be found"
41801 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41802 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41803 echo "*** full path to sdl-config."
41804 else
41805 if test -f conf.sdltest ; then
41806 :
41807 else
41808 echo "*** Could not run SDL test program, checking why..."
41809 CFLAGS="$CFLAGS $SDL_CFLAGS"
41810 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41811 LIBS="$LIBS $SDL_LIBS"
41812 cat >conftest.$ac_ext <<_ACEOF
41813 /* confdefs.h. */
41814 _ACEOF
41815 cat confdefs.h >>conftest.$ac_ext
41816 cat >>conftest.$ac_ext <<_ACEOF
41817 /* end confdefs.h. */
41818
41819 #include <stdio.h>
41820 #include "SDL.h"
41821
41822 int main(int argc, char *argv[])
41823 { return 0; }
41824 #undef main
41825 #define main K_and_R_C_main
41826
41827 int
41828 main ()
41829 {
41830 return 0;
41831 ;
41832 return 0;
41833 }
41834 _ACEOF
41835 rm -f conftest.$ac_objext conftest$ac_exeext
41836 if { (ac_try="$ac_link"
41837 case "(($ac_try" in
41838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41839 *) ac_try_echo=$ac_try;;
41840 esac
41841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41842 (eval "$ac_link") 2>conftest.er1
41843 ac_status=$?
41844 grep -v '^ *+' conftest.er1 >conftest.err
41845 rm -f conftest.er1
41846 cat conftest.err >&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); } && {
41849 test -z "$ac_c_werror_flag" ||
41850 test ! -s conftest.err
41851 } && test -s conftest$ac_exeext &&
41852 $as_test_x conftest$ac_exeext; then
41853 echo "*** The test program compiled, but did not run. This usually means"
41854 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41855 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41856 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41857 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41858 echo "*** is required on your system"
41859 echo "***"
41860 echo "*** If you have an old version installed, it is best to remove it, although"
41861 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41862 else
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41865
41866 echo "*** The test program failed to compile or link. See the file config.log for the"
41867 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41868 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41869 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41870 fi
41871
41872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41873 conftest$ac_exeext conftest.$ac_ext
41874 CFLAGS="$ac_save_CFLAGS"
41875 CXXFLAGS="$ac_save_CXXFLAGS"
41876 LIBS="$ac_save_LIBS"
41877 fi
41878 fi
41879 SDL_CFLAGS=""
41880 SDL_LIBS=""
41881 wxUSE_LIBSDL="no"
41882 fi
41883
41884
41885 rm -f conf.sdltest
41886
41887 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41888 WITH_PLUGIN_SDL=1
41889 fi
41890 fi
41891 else
41892 if test "$wxUSE_MGL" = 1; then
41893 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41894 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41895 wxUSE_SOUND="no"
41896 fi
41897 fi
41898 fi
41899
41900 if test "$wxUSE_SOUND" = "yes"; then
41901 cat >>confdefs.h <<\_ACEOF
41902 #define wxUSE_SOUND 1
41903 _ACEOF
41904
41905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41906 fi
41907
41908 if test "$WXGTK2" = 1; then
41909
41910
41911 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41912 if test -n "$ac_tool_prefix"; then
41913 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41914 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41917 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41919 else
41920 case $PKG_CONFIG in
41921 [\\/]* | ?:[\\/]*)
41922 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41923 ;;
41924 *)
41925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41926 for as_dir in $PATH
41927 do
41928 IFS=$as_save_IFS
41929 test -z "$as_dir" && as_dir=.
41930 for ac_exec_ext in '' $ac_executable_extensions; do
41931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41932 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41934 break 2
41935 fi
41936 done
41937 done
41938 IFS=$as_save_IFS
41939
41940 ;;
41941 esac
41942 fi
41943 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41944 if test -n "$PKG_CONFIG"; then
41945 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41946 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41947 else
41948 { echo "$as_me:$LINENO: result: no" >&5
41949 echo "${ECHO_T}no" >&6; }
41950 fi
41951
41952
41953 fi
41954 if test -z "$ac_cv_path_PKG_CONFIG"; then
41955 ac_pt_PKG_CONFIG=$PKG_CONFIG
41956 # Extract the first word of "pkg-config", so it can be a program name with args.
41957 set dummy pkg-config; ac_word=$2
41958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41960 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41961 echo $ECHO_N "(cached) $ECHO_C" >&6
41962 else
41963 case $ac_pt_PKG_CONFIG in
41964 [\\/]* | ?:[\\/]*)
41965 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41966 ;;
41967 *)
41968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41969 for as_dir in $PATH
41970 do
41971 IFS=$as_save_IFS
41972 test -z "$as_dir" && as_dir=.
41973 for ac_exec_ext in '' $ac_executable_extensions; do
41974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41975 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41977 break 2
41978 fi
41979 done
41980 done
41981 IFS=$as_save_IFS
41982
41983 ;;
41984 esac
41985 fi
41986 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41987 if test -n "$ac_pt_PKG_CONFIG"; then
41988 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41989 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41990 else
41991 { echo "$as_me:$LINENO: result: no" >&5
41992 echo "${ECHO_T}no" >&6; }
41993 fi
41994
41995 if test "x$ac_pt_PKG_CONFIG" = x; then
41996 PKG_CONFIG=""
41997 else
41998 case $cross_compiling:$ac_tool_warned in
41999 yes:)
42000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42001 whose name does not start with the host triplet. If you think this
42002 configuration is useful to you, please write to autoconf@gnu.org." >&5
42003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42004 whose name does not start with the host triplet. If you think this
42005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42006 ac_tool_warned=yes ;;
42007 esac
42008 PKG_CONFIG=$ac_pt_PKG_CONFIG
42009 fi
42010 else
42011 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42012 fi
42013
42014 fi
42015 if test -n "$PKG_CONFIG"; then
42016 _pkg_min_version=0.9.0
42017 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42018 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42019 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42020 { echo "$as_me:$LINENO: result: yes" >&5
42021 echo "${ECHO_T}yes" >&6; }
42022 else
42023 { echo "$as_me:$LINENO: result: no" >&5
42024 echo "${ECHO_T}no" >&6; }
42025 PKG_CONFIG=""
42026 fi
42027
42028 fi
42029
42030 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42031
42032 if test "$wxUSE_GTKPRINT" = "yes" ; then
42033
42034
42035 pkg_failed=no
42036 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42037 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42038
42039 if test -n "$PKG_CONFIG"; then
42040 if test -n "$GTKPRINT_CFLAGS"; then
42041 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42042 else
42043 if test -n "$PKG_CONFIG" && \
42044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42045 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42046 ac_status=$?
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); }; then
42049 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42050 else
42051 pkg_failed=yes
42052 fi
42053 fi
42054 else
42055 pkg_failed=untried
42056 fi
42057 if test -n "$PKG_CONFIG"; then
42058 if test -n "$GTKPRINT_LIBS"; then
42059 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42060 else
42061 if test -n "$PKG_CONFIG" && \
42062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42063 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42064 ac_status=$?
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; then
42067 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42068 else
42069 pkg_failed=yes
42070 fi
42071 fi
42072 else
42073 pkg_failed=untried
42074 fi
42075
42076
42077
42078 if test $pkg_failed = yes; then
42079
42080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42081 _pkg_short_errors_supported=yes
42082 else
42083 _pkg_short_errors_supported=no
42084 fi
42085 if test $_pkg_short_errors_supported = yes; then
42086 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42087 else
42088 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42089 fi
42090 # Put the nasty error message in config.log where it belongs
42091 echo "$GTKPRINT_PKG_ERRORS" >&5
42092
42093
42094 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42095 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42096 wxUSE_GTKPRINT="no"
42097
42098
42099 elif test $pkg_failed = untried; then
42100
42101 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42102 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42103 wxUSE_GTKPRINT="no"
42104
42105
42106 else
42107 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42108 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42109 { echo "$as_me:$LINENO: result: yes" >&5
42110 echo "${ECHO_T}yes" >&6; }
42111
42112 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42113 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42114 cat >>confdefs.h <<\_ACEOF
42115 #define wxUSE_GTKPRINT 1
42116 _ACEOF
42117
42118
42119 fi
42120 fi
42121
42122 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42123
42124
42125 pkg_failed=no
42126 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42127 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42128
42129 if test -n "$PKG_CONFIG"; then
42130 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42131 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42132 else
42133 if test -n "$PKG_CONFIG" && \
42134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42135 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42136 ac_status=$?
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); }; then
42139 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42140 else
42141 pkg_failed=yes
42142 fi
42143 fi
42144 else
42145 pkg_failed=untried
42146 fi
42147 if test -n "$PKG_CONFIG"; then
42148 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42149 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42150 else
42151 if test -n "$PKG_CONFIG" && \
42152 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42153 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42154 ac_status=$?
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); }; then
42157 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42158 else
42159 pkg_failed=yes
42160 fi
42161 fi
42162 else
42163 pkg_failed=untried
42164 fi
42165
42166
42167
42168 if test $pkg_failed = yes; then
42169
42170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42171 _pkg_short_errors_supported=yes
42172 else
42173 _pkg_short_errors_supported=no
42174 fi
42175 if test $_pkg_short_errors_supported = yes; then
42176 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42177 else
42178 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42179 fi
42180 # Put the nasty error message in config.log where it belongs
42181 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42182
42183
42184 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42185 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42186 wxUSE_LIBGNOMEPRINT="no"
42187
42188
42189 elif test $pkg_failed = untried; then
42190
42191 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42192 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42193 wxUSE_LIBGNOMEPRINT="no"
42194
42195
42196 else
42197 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42198 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42199 { echo "$as_me:$LINENO: result: yes" >&5
42200 echo "${ECHO_T}yes" >&6; }
42201
42202 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42203 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42204 cat >>confdefs.h <<\_ACEOF
42205 #define wxUSE_LIBGNOMEPRINT 1
42206 _ACEOF
42207
42208
42209 fi
42210 fi
42211 fi
42212
42213 if test "$wxUSE_MIMETYPE" = "yes" ; then
42214 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42215
42216
42217 pkg_failed=no
42218 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42219 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42220
42221 if test -n "$PKG_CONFIG"; then
42222 if test -n "$GNOMEVFS_CFLAGS"; then
42223 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42224 else
42225 if test -n "$PKG_CONFIG" && \
42226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42227 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42228 ac_status=$?
42229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42230 (exit $ac_status); }; then
42231 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42232 else
42233 pkg_failed=yes
42234 fi
42235 fi
42236 else
42237 pkg_failed=untried
42238 fi
42239 if test -n "$PKG_CONFIG"; then
42240 if test -n "$GNOMEVFS_LIBS"; then
42241 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42242 else
42243 if test -n "$PKG_CONFIG" && \
42244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42245 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42246 ac_status=$?
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; then
42249 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42250 else
42251 pkg_failed=yes
42252 fi
42253 fi
42254 else
42255 pkg_failed=untried
42256 fi
42257
42258
42259
42260 if test $pkg_failed = yes; then
42261
42262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42263 _pkg_short_errors_supported=yes
42264 else
42265 _pkg_short_errors_supported=no
42266 fi
42267 if test $_pkg_short_errors_supported = yes; then
42268 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42269 else
42270 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42271 fi
42272 # Put the nasty error message in config.log where it belongs
42273 echo "$GNOMEVFS_PKG_ERRORS" >&5
42274
42275
42276 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42277 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42278 wxUSE_LIBGNOMEVFS="no"
42279
42280
42281 elif test $pkg_failed = untried; then
42282
42283 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42284 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42285 wxUSE_LIBGNOMEVFS="no"
42286
42287
42288 else
42289 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42290 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42291 { echo "$as_me:$LINENO: result: yes" >&5
42292 echo "${ECHO_T}yes" >&6; }
42293
42294 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42295 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42296 cat >>confdefs.h <<\_ACEOF
42297 #define wxUSE_LIBGNOMEVFS 1
42298 _ACEOF
42299
42300
42301 fi
42302 fi
42303 fi
42304
42305 if test "$wxUSE_LIBHILDON" = "yes" ; then
42306
42307 pkg_failed=no
42308 { echo "$as_me:$LINENO: checking for HILDON" >&5
42309 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42310
42311 if test -n "$PKG_CONFIG"; then
42312 if test -n "$HILDON_CFLAGS"; then
42313 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42314 else
42315 if test -n "$PKG_CONFIG" && \
42316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42317 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42318 ac_status=$?
42319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320 (exit $ac_status); }; then
42321 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42322 else
42323 pkg_failed=yes
42324 fi
42325 fi
42326 else
42327 pkg_failed=untried
42328 fi
42329 if test -n "$PKG_CONFIG"; then
42330 if test -n "$HILDON_LIBS"; then
42331 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42332 else
42333 if test -n "$PKG_CONFIG" && \
42334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42335 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42336 ac_status=$?
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; then
42339 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42340 else
42341 pkg_failed=yes
42342 fi
42343 fi
42344 else
42345 pkg_failed=untried
42346 fi
42347
42348
42349
42350 if test $pkg_failed = yes; then
42351
42352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42353 _pkg_short_errors_supported=yes
42354 else
42355 _pkg_short_errors_supported=no
42356 fi
42357 if test $_pkg_short_errors_supported = yes; then
42358 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42359 else
42360 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42361 fi
42362 # Put the nasty error message in config.log where it belongs
42363 echo "$HILDON_PKG_ERRORS" >&5
42364
42365
42366 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42367 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42368 wxUSE_LIBHILDON="no"
42369
42370
42371 elif test $pkg_failed = untried; then
42372
42373 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42374 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42375 wxUSE_LIBHILDON="no"
42376
42377
42378 else
42379 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42380 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42381 { echo "$as_me:$LINENO: result: yes" >&5
42382 echo "${ECHO_T}yes" >&6; }
42383
42384 EXTRALIBS_HILDON="$HILDON_LIBS"
42385 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42386 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42387 cat >>confdefs.h <<\_ACEOF
42388 #define wxUSE_LIBHILDON 1
42389 _ACEOF
42390
42391
42392 fi
42393 fi
42394 fi
42395
42396 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42397 cat >>confdefs.h <<\_ACEOF
42398 #define wxUSE_CMDLINE_PARSER 1
42399 _ACEOF
42400
42401 fi
42402
42403 if test "$wxUSE_STOPWATCH" = "yes"; then
42404 cat >>confdefs.h <<\_ACEOF
42405 #define wxUSE_STOPWATCH 1
42406 _ACEOF
42407
42408 fi
42409
42410 if test "$wxUSE_DATETIME" = "yes"; then
42411 cat >>confdefs.h <<\_ACEOF
42412 #define wxUSE_DATETIME 1
42413 _ACEOF
42414
42415 fi
42416
42417 if test "$wxUSE_FILE" = "yes"; then
42418 cat >>confdefs.h <<\_ACEOF
42419 #define wxUSE_FILE 1
42420 _ACEOF
42421
42422 fi
42423
42424 if test "$wxUSE_FFILE" = "yes"; then
42425 cat >>confdefs.h <<\_ACEOF
42426 #define wxUSE_FFILE 1
42427 _ACEOF
42428
42429 fi
42430
42431 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42432 if test "$wxUSE_STREAMS" != yes; then
42433 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42434 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42435 wxUSE_ARCHIVE_STREAMS=no
42436 else
42437 cat >>confdefs.h <<\_ACEOF
42438 #define wxUSE_ARCHIVE_STREAMS 1
42439 _ACEOF
42440
42441 fi
42442 fi
42443
42444 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42445 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42446 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42447 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42448 elif test "$wxUSE_ZLIB" = "no"; then
42449 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42450 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42451 else
42452 cat >>confdefs.h <<\_ACEOF
42453 #define wxUSE_ZIPSTREAM 1
42454 _ACEOF
42455
42456 fi
42457 fi
42458
42459 if test "$wxUSE_TARSTREAM" = "yes"; then
42460 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42461 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42462 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42463 else
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_TARSTREAM 1
42466 _ACEOF
42467
42468 fi
42469 fi
42470
42471 if test "$wxUSE_FILESYSTEM" = "yes"; then
42472 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42473 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42474 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42475 wxUSE_FILESYSTEM=no
42476 else
42477 cat >>confdefs.h <<\_ACEOF
42478 #define wxUSE_FILESYSTEM 1
42479 _ACEOF
42480
42481 fi
42482 fi
42483
42484 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42485 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42486 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42487 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42488 else
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_FS_ARCHIVE 1
42491 _ACEOF
42492
42493 fi
42494 fi
42495
42496 if test "$wxUSE_FS_ZIP" = "yes"; then
42497 if test "$wxUSE_FS_ARCHIVE" != yes; then
42498 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42499 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42500 else
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_FS_ZIP 1
42503 _ACEOF
42504
42505 fi
42506 fi
42507
42508 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42509 if test "$USE_UNIX" != 1; then
42510 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42511 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42512 wxUSE_ON_FATAL_EXCEPTION=no
42513 else
42514 cat >>confdefs.h <<\_ACEOF
42515 #define wxUSE_ON_FATAL_EXCEPTION 1
42516 _ACEOF
42517
42518 fi
42519 fi
42520
42521 if test "$wxUSE_STACKWALKER" = "yes"; then
42522 cat >>confdefs.h <<\_ACEOF
42523 #define wxUSE_STACKWALKER 1
42524 _ACEOF
42525
42526 fi
42527
42528 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42529 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42530 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42531 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42532 wxUSE_DEBUGREPORT=no
42533 else
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_DEBUGREPORT 1
42536 _ACEOF
42537
42538 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42540 fi
42541 fi
42542 fi
42543
42544 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42545 cat >>confdefs.h <<\_ACEOF
42546 #define wxUSE_SNGLINST_CHECKER 1
42547 _ACEOF
42548
42549 fi
42550
42551 if test "$wxUSE_BUSYINFO" = "yes"; then
42552 cat >>confdefs.h <<\_ACEOF
42553 #define wxUSE_BUSYINFO 1
42554 _ACEOF
42555
42556 fi
42557
42558 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42559 cat >>confdefs.h <<\_ACEOF
42560 #define wxUSE_STD_IOSTREAM 1
42561 _ACEOF
42562
42563 fi
42564
42565 if test "$wxUSE_STD_STRING" = "yes"; then
42566 cat >>confdefs.h <<\_ACEOF
42567 #define wxUSE_STD_STRING 1
42568 _ACEOF
42569
42570 fi
42571
42572 if test "$wxUSE_STDPATHS" = "yes"; then
42573 cat >>confdefs.h <<\_ACEOF
42574 #define wxUSE_STDPATHS 1
42575 _ACEOF
42576
42577 fi
42578
42579 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42580 cat >>confdefs.h <<\_ACEOF
42581 #define wxUSE_TEXTBUFFER 1
42582 _ACEOF
42583
42584 fi
42585
42586 if test "$wxUSE_TEXTFILE" = "yes"; then
42587 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42588 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42589 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42590 else
42591 cat >>confdefs.h <<\_ACEOF
42592 #define wxUSE_TEXTFILE 1
42593 _ACEOF
42594
42595 fi
42596 fi
42597
42598 if test "$wxUSE_CONFIG" = "yes" ; then
42599 if test "$wxUSE_TEXTFILE" != "yes"; then
42600 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42601 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42602 else
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_CONFIG 1
42605 _ACEOF
42606
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_CONFIG_NATIVE 1
42609 _ACEOF
42610
42611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42612 fi
42613 fi
42614
42615 if test "$wxUSE_INTL" = "yes" ; then
42616 if test "$wxUSE_FILE" != "yes"; then
42617 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42618 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42619 else
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_INTL 1
42622 _ACEOF
42623
42624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42625 GUIDIST="$GUIDIST INTL_DIST"
42626 fi
42627 fi
42628
42629 if test "$wxUSE_LOG" = "yes"; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_LOG 1
42632 _ACEOF
42633
42634
42635 if test "$wxUSE_LOGGUI" = "yes"; then
42636 cat >>confdefs.h <<\_ACEOF
42637 #define wxUSE_LOGGUI 1
42638 _ACEOF
42639
42640 fi
42641
42642 if test "$wxUSE_LOGWINDOW" = "yes"; then
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_LOGWINDOW 1
42645 _ACEOF
42646
42647 fi
42648
42649 if test "$wxUSE_LOGDIALOG" = "yes"; then
42650 cat >>confdefs.h <<\_ACEOF
42651 #define wxUSE_LOG_DIALOG 1
42652 _ACEOF
42653
42654 fi
42655
42656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42657 fi
42658
42659 if test "$wxUSE_LONGLONG" = "yes"; then
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_LONGLONG 1
42662 _ACEOF
42663
42664 fi
42665
42666 if test "$wxUSE_GEOMETRY" = "yes"; then
42667 cat >>confdefs.h <<\_ACEOF
42668 #define wxUSE_GEOMETRY 1
42669 _ACEOF
42670
42671 fi
42672
42673 if test "$wxUSE_BASE64" = "yes"; then
42674 cat >>confdefs.h <<\_ACEOF
42675 #define wxUSE_BASE64 1
42676 _ACEOF
42677
42678 fi
42679
42680 if test "$wxUSE_STREAMS" = "yes" ; then
42681 cat >>confdefs.h <<\_ACEOF
42682 #define wxUSE_STREAMS 1
42683 _ACEOF
42684
42685 fi
42686
42687 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42688 cat >>confdefs.h <<\_ACEOF
42689 #define wxUSE_PRINTF_POS_PARAMS 1
42690 _ACEOF
42691
42692 fi
42693
42694 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42695 cat >>confdefs.h <<\_ACEOF
42696 #define wxUSE_OBJC_UNIQUIFYING 1
42697 _ACEOF
42698
42699 fi
42700
42701
42702 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define wxUSE_CONSOLE_EVENTLOOP 1
42705 _ACEOF
42706
42707
42708 if test "$wxUSE_UNIX" = "yes"; then
42709 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_SELECT_DISPATCHER 1
42712 _ACEOF
42713
42714 fi
42715
42716 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42717
42718 for ac_header in sys/epoll.h
42719 do
42720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42725 else
42726 cat >conftest.$ac_ext <<_ACEOF
42727 /* confdefs.h. */
42728 _ACEOF
42729 cat confdefs.h >>conftest.$ac_ext
42730 cat >>conftest.$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732 $ac_includes_default
42733
42734 #include <$ac_header>
42735 _ACEOF
42736 rm -f conftest.$ac_objext
42737 if { (ac_try="$ac_compile"
42738 case "(($ac_try" in
42739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42740 *) ac_try_echo=$ac_try;;
42741 esac
42742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42743 (eval "$ac_compile") 2>conftest.er1
42744 ac_status=$?
42745 grep -v '^ *+' conftest.er1 >conftest.err
42746 rm -f conftest.er1
42747 cat conftest.err >&5
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); } && {
42750 test -z "$ac_c_werror_flag" ||
42751 test ! -s conftest.err
42752 } && test -s conftest.$ac_objext; then
42753 eval "$as_ac_Header=yes"
42754 else
42755 echo "$as_me: failed program was:" >&5
42756 sed 's/^/| /' conftest.$ac_ext >&5
42757
42758 eval "$as_ac_Header=no"
42759 fi
42760
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 fi
42763 ac_res=`eval echo '${'$as_ac_Header'}'`
42764 { echo "$as_me:$LINENO: result: $ac_res" >&5
42765 echo "${ECHO_T}$ac_res" >&6; }
42766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42767 cat >>confdefs.h <<_ACEOF
42768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42769 _ACEOF
42770
42771 fi
42772
42773 done
42774
42775 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42776 cat >>confdefs.h <<\_ACEOF
42777 #define wxUSE_EPOLL_DISPATCHER 1
42778 _ACEOF
42779
42780 else
42781 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42782 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42783 fi
42784 fi
42785 fi
42786 fi
42787
42788
42789
42790
42791 for ac_func in gettimeofday ftime
42792 do
42793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42797 echo $ECHO_N "(cached) $ECHO_C" >&6
42798 else
42799 cat >conftest.$ac_ext <<_ACEOF
42800 /* confdefs.h. */
42801 _ACEOF
42802 cat confdefs.h >>conftest.$ac_ext
42803 cat >>conftest.$ac_ext <<_ACEOF
42804 /* end confdefs.h. */
42805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42807 #define $ac_func innocuous_$ac_func
42808
42809 /* System header to define __stub macros and hopefully few prototypes,
42810 which can conflict with char $ac_func (); below.
42811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42812 <limits.h> exists even on freestanding compilers. */
42813
42814 #ifdef __STDC__
42815 # include <limits.h>
42816 #else
42817 # include <assert.h>
42818 #endif
42819
42820 #undef $ac_func
42821
42822 /* Override any GCC internal prototype to avoid an error.
42823 Use char because int might match the return type of a GCC
42824 builtin and then its argument prototype would still apply. */
42825 #ifdef __cplusplus
42826 extern "C"
42827 #endif
42828 char $ac_func ();
42829 /* The GNU C library defines this for functions which it implements
42830 to always fail with ENOSYS. Some functions are actually named
42831 something starting with __ and the normal name is an alias. */
42832 #if defined __stub_$ac_func || defined __stub___$ac_func
42833 choke me
42834 #endif
42835
42836 int
42837 main ()
42838 {
42839 return $ac_func ();
42840 ;
42841 return 0;
42842 }
42843 _ACEOF
42844 rm -f conftest.$ac_objext conftest$ac_exeext
42845 if { (ac_try="$ac_link"
42846 case "(($ac_try" in
42847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42848 *) ac_try_echo=$ac_try;;
42849 esac
42850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42851 (eval "$ac_link") 2>conftest.er1
42852 ac_status=$?
42853 grep -v '^ *+' conftest.er1 >conftest.err
42854 rm -f conftest.er1
42855 cat conftest.err >&5
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); } && {
42858 test -z "$ac_c_werror_flag" ||
42859 test ! -s conftest.err
42860 } && test -s conftest$ac_exeext &&
42861 $as_test_x conftest$ac_exeext; then
42862 eval "$as_ac_var=yes"
42863 else
42864 echo "$as_me: failed program was:" >&5
42865 sed 's/^/| /' conftest.$ac_ext >&5
42866
42867 eval "$as_ac_var=no"
42868 fi
42869
42870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42871 conftest$ac_exeext conftest.$ac_ext
42872 fi
42873 ac_res=`eval echo '${'$as_ac_var'}'`
42874 { echo "$as_me:$LINENO: result: $ac_res" >&5
42875 echo "${ECHO_T}$ac_res" >&6; }
42876 if test `eval echo '${'$as_ac_var'}'` = yes; then
42877 cat >>confdefs.h <<_ACEOF
42878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42879 _ACEOF
42880 break
42881 fi
42882 done
42883
42884
42885 if test "$ac_cv_func_gettimeofday" = "yes"; then
42886 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42887 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42888 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42889 echo $ECHO_N "(cached) $ECHO_C" >&6
42890 else
42891
42892 cat >conftest.$ac_ext <<_ACEOF
42893 /* confdefs.h. */
42894 _ACEOF
42895 cat confdefs.h >>conftest.$ac_ext
42896 cat >>conftest.$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42898
42899 #include <sys/time.h>
42900 #include <unistd.h>
42901
42902 int
42903 main ()
42904 {
42905
42906 struct timeval tv;
42907 gettimeofday(&tv, NULL);
42908
42909 ;
42910 return 0;
42911 }
42912 _ACEOF
42913 rm -f conftest.$ac_objext
42914 if { (ac_try="$ac_compile"
42915 case "(($ac_try" in
42916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42917 *) ac_try_echo=$ac_try;;
42918 esac
42919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42920 (eval "$ac_compile") 2>conftest.er1
42921 ac_status=$?
42922 grep -v '^ *+' conftest.er1 >conftest.err
42923 rm -f conftest.er1
42924 cat conftest.err >&5
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); } && {
42927 test -z "$ac_c_werror_flag" ||
42928 test ! -s conftest.err
42929 } && test -s conftest.$ac_objext; then
42930 wx_cv_func_gettimeofday_has_2_args=yes
42931 else
42932 echo "$as_me: failed program was:" >&5
42933 sed 's/^/| /' conftest.$ac_ext >&5
42934
42935 cat >conftest.$ac_ext <<_ACEOF
42936 /* confdefs.h. */
42937 _ACEOF
42938 cat confdefs.h >>conftest.$ac_ext
42939 cat >>conftest.$ac_ext <<_ACEOF
42940 /* end confdefs.h. */
42941
42942 #include <sys/time.h>
42943 #include <unistd.h>
42944
42945 int
42946 main ()
42947 {
42948
42949 struct timeval tv;
42950 gettimeofday(&tv);
42951
42952 ;
42953 return 0;
42954 }
42955 _ACEOF
42956 rm -f conftest.$ac_objext
42957 if { (ac_try="$ac_compile"
42958 case "(($ac_try" in
42959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42960 *) ac_try_echo=$ac_try;;
42961 esac
42962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42963 (eval "$ac_compile") 2>conftest.er1
42964 ac_status=$?
42965 grep -v '^ *+' conftest.er1 >conftest.err
42966 rm -f conftest.er1
42967 cat conftest.err >&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); } && {
42970 test -z "$ac_c_werror_flag" ||
42971 test ! -s conftest.err
42972 } && test -s conftest.$ac_objext; then
42973 wx_cv_func_gettimeofday_has_2_args=no
42974 else
42975 echo "$as_me: failed program was:" >&5
42976 sed 's/^/| /' conftest.$ac_ext >&5
42977
42978
42979 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42980 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42981 wx_cv_func_gettimeofday_has_2_args=unknown
42982
42983
42984 fi
42985
42986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42987
42988 fi
42989
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991
42992 fi
42993 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42994 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42995
42996 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define WX_GETTIMEOFDAY_NO_TZ 1
42999 _ACEOF
43000
43001 fi
43002 fi
43003
43004 if test "$wxUSE_DATETIME" = "yes"; then
43005 { echo "$as_me:$LINENO: checking for strptime" >&5
43006 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43007 if test "${ac_cv_func_strptime+set}" = set; then
43008 echo $ECHO_N "(cached) $ECHO_C" >&6
43009 else
43010 cat >conftest.$ac_ext <<_ACEOF
43011 /* confdefs.h. */
43012 _ACEOF
43013 cat confdefs.h >>conftest.$ac_ext
43014 cat >>conftest.$ac_ext <<_ACEOF
43015 /* end confdefs.h. */
43016 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43018 #define strptime innocuous_strptime
43019
43020 /* System header to define __stub macros and hopefully few prototypes,
43021 which can conflict with char strptime (); below.
43022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43023 <limits.h> exists even on freestanding compilers. */
43024
43025 #ifdef __STDC__
43026 # include <limits.h>
43027 #else
43028 # include <assert.h>
43029 #endif
43030
43031 #undef strptime
43032
43033 /* Override any GCC internal prototype to avoid an error.
43034 Use char because int might match the return type of a GCC
43035 builtin and then its argument prototype would still apply. */
43036 #ifdef __cplusplus
43037 extern "C"
43038 #endif
43039 char strptime ();
43040 /* The GNU C library defines this for functions which it implements
43041 to always fail with ENOSYS. Some functions are actually named
43042 something starting with __ and the normal name is an alias. */
43043 #if defined __stub_strptime || defined __stub___strptime
43044 choke me
43045 #endif
43046
43047 int
43048 main ()
43049 {
43050 return strptime ();
43051 ;
43052 return 0;
43053 }
43054 _ACEOF
43055 rm -f conftest.$ac_objext conftest$ac_exeext
43056 if { (ac_try="$ac_link"
43057 case "(($ac_try" in
43058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43059 *) ac_try_echo=$ac_try;;
43060 esac
43061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43062 (eval "$ac_link") 2>conftest.er1
43063 ac_status=$?
43064 grep -v '^ *+' conftest.er1 >conftest.err
43065 rm -f conftest.er1
43066 cat conftest.err >&5
43067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43068 (exit $ac_status); } && {
43069 test -z "$ac_c_werror_flag" ||
43070 test ! -s conftest.err
43071 } && test -s conftest$ac_exeext &&
43072 $as_test_x conftest$ac_exeext; then
43073 ac_cv_func_strptime=yes
43074 else
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.$ac_ext >&5
43077
43078 ac_cv_func_strptime=no
43079 fi
43080
43081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43082 conftest$ac_exeext conftest.$ac_ext
43083 fi
43084 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43085 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43086
43087 if test "$ac_cv_func_strptime" = "yes"; then
43088 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43089 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43090 if test "${wx_cv_func_strptime_decl+set}" = set; then
43091 echo $ECHO_N "(cached) $ECHO_C" >&6
43092 else
43093
43094 ac_ext=cpp
43095 ac_cpp='$CXXCPP $CPPFLAGS'
43096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43099
43100 cat >conftest.$ac_ext <<_ACEOF
43101 /* confdefs.h. */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43106
43107 #include <time.h>
43108
43109 int
43110 main ()
43111 {
43112
43113 struct tm t;
43114 strptime("foo", "bar", &t);
43115
43116 ;
43117 return 0;
43118 }
43119 _ACEOF
43120 rm -f conftest.$ac_objext
43121 if { (ac_try="$ac_compile"
43122 case "(($ac_try" in
43123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43124 *) ac_try_echo=$ac_try;;
43125 esac
43126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43127 (eval "$ac_compile") 2>conftest.er1
43128 ac_status=$?
43129 grep -v '^ *+' conftest.er1 >conftest.err
43130 rm -f conftest.er1
43131 cat conftest.err >&5
43132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43133 (exit $ac_status); } && {
43134 test -z "$ac_cxx_werror_flag" ||
43135 test ! -s conftest.err
43136 } && test -s conftest.$ac_objext; then
43137 wx_cv_func_strptime_decl=yes
43138 else
43139 echo "$as_me: failed program was:" >&5
43140 sed 's/^/| /' conftest.$ac_ext >&5
43141
43142 wx_cv_func_strptime_decl=no
43143
43144 fi
43145
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152
43153
43154
43155 fi
43156 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43157 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43158 fi
43159 if test "$wx_cv_func_strptime_decl" = "yes"; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define HAVE_STRPTIME_DECL 1
43162 _ACEOF
43163
43164 else
43165 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43166 fi
43167 if test "$ac_cv_func_strptime" = "yes"; then
43168 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43169 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43170 if test "${wx_cv_func_strptime_ok+set}" = set; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43172 else
43173 if test "$cross_compiling" = yes; then
43174 wx_cv_func_strptime_ok=no
43175
43176 else
43177 cat >conftest.$ac_ext <<_ACEOF
43178
43179 #include <stdlib.h>
43180 #include <time.h>
43181 #include "confdefs.h"
43182
43183 $wx_strptime_decl
43184
43185 int main()
43186 {
43187 struct tm t;
43188 return !!strptime("", "%x", &t);
43189 }
43190
43191 _ACEOF
43192 rm -f conftest$ac_exeext
43193 if { (ac_try="$ac_link"
43194 case "(($ac_try" in
43195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43196 *) ac_try_echo=$ac_try;;
43197 esac
43198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43199 (eval "$ac_link") 2>&5
43200 ac_status=$?
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43203 { (case "(($ac_try" in
43204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43205 *) ac_try_echo=$ac_try;;
43206 esac
43207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43208 (eval "$ac_try") 2>&5
43209 ac_status=$?
43210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211 (exit $ac_status); }; }; then
43212 wx_cv_func_strptime_ok=yes
43213 else
43214 echo "$as_me: program exited with status $ac_status" >&5
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43217
43218 ( exit $ac_status )
43219 wx_cv_func_strptime_ok=no
43220 fi
43221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43222 fi
43223
43224
43225
43226 fi
43227 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43228 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43229
43230 if test "$wx_cv_func_strptime_ok" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define HAVE_STRPTIME 1
43233 _ACEOF
43234
43235 fi
43236 fi
43237
43238 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43239 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43240 if test "${wx_cv_var_timezone+set}" = set; then
43241 echo $ECHO_N "(cached) $ECHO_C" >&6
43242 else
43243
43244 ac_ext=cpp
43245 ac_cpp='$CXXCPP $CPPFLAGS'
43246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43249
43250 cat >conftest.$ac_ext <<_ACEOF
43251 /* confdefs.h. */
43252 _ACEOF
43253 cat confdefs.h >>conftest.$ac_ext
43254 cat >>conftest.$ac_ext <<_ACEOF
43255 /* end confdefs.h. */
43256
43257 #include <time.h>
43258
43259 int
43260 main ()
43261 {
43262
43263 int tz;
43264 tz = timezone;
43265
43266 ;
43267 return 0;
43268 }
43269 _ACEOF
43270 rm -f conftest.$ac_objext
43271 if { (ac_try="$ac_compile"
43272 case "(($ac_try" in
43273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43274 *) ac_try_echo=$ac_try;;
43275 esac
43276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43277 (eval "$ac_compile") 2>conftest.er1
43278 ac_status=$?
43279 grep -v '^ *+' conftest.er1 >conftest.err
43280 rm -f conftest.er1
43281 cat conftest.err >&5
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); } && {
43284 test -z "$ac_cxx_werror_flag" ||
43285 test ! -s conftest.err
43286 } && test -s conftest.$ac_objext; then
43287
43288 wx_cv_var_timezone=timezone
43289
43290 else
43291 echo "$as_me: failed program was:" >&5
43292 sed 's/^/| /' conftest.$ac_ext >&5
43293
43294
43295 cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h. */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43301
43302 #include <time.h>
43303
43304 int
43305 main ()
43306 {
43307
43308 int tz;
43309 tz = _timezone;
43310
43311 ;
43312 return 0;
43313 }
43314 _ACEOF
43315 rm -f conftest.$ac_objext
43316 if { (ac_try="$ac_compile"
43317 case "(($ac_try" in
43318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43319 *) ac_try_echo=$ac_try;;
43320 esac
43321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43322 (eval "$ac_compile") 2>conftest.er1
43323 ac_status=$?
43324 grep -v '^ *+' conftest.er1 >conftest.err
43325 rm -f conftest.er1
43326 cat conftest.err >&5
43327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328 (exit $ac_status); } && {
43329 test -z "$ac_cxx_werror_flag" ||
43330 test ! -s conftest.err
43331 } && test -s conftest.$ac_objext; then
43332
43333 wx_cv_var_timezone=_timezone
43334
43335 else
43336 echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.$ac_ext >&5
43338
43339
43340 cat >conftest.$ac_ext <<_ACEOF
43341 /* confdefs.h. */
43342 _ACEOF
43343 cat confdefs.h >>conftest.$ac_ext
43344 cat >>conftest.$ac_ext <<_ACEOF
43345 /* end confdefs.h. */
43346
43347 #include <time.h>
43348
43349 int
43350 main ()
43351 {
43352
43353 int tz;
43354 tz = __timezone;
43355
43356 ;
43357 return 0;
43358 }
43359 _ACEOF
43360 rm -f conftest.$ac_objext
43361 if { (ac_try="$ac_compile"
43362 case "(($ac_try" in
43363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43364 *) ac_try_echo=$ac_try;;
43365 esac
43366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43367 (eval "$ac_compile") 2>conftest.er1
43368 ac_status=$?
43369 grep -v '^ *+' conftest.er1 >conftest.err
43370 rm -f conftest.er1
43371 cat conftest.err >&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } && {
43374 test -z "$ac_cxx_werror_flag" ||
43375 test ! -s conftest.err
43376 } && test -s conftest.$ac_objext; then
43377
43378 wx_cv_var_timezone=__timezone
43379
43380 else
43381 echo "$as_me: failed program was:" >&5
43382 sed 's/^/| /' conftest.$ac_ext >&5
43383
43384
43385 if test "$USE_DOS" = 0 ; then
43386 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43387 echo "$as_me: WARNING: no timezone variable" >&2;}
43388 fi
43389
43390
43391 fi
43392
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394
43395
43396 fi
43397
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43399
43400
43401 fi
43402
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404 ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43409
43410
43411
43412 fi
43413 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43414 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43415
43416 if test "x$wx_cv_var_timezone" != x ; then
43417 cat >>confdefs.h <<_ACEOF
43418 #define WX_TIMEZONE $wx_cv_var_timezone
43419 _ACEOF
43420
43421 fi
43422
43423
43424 for ac_func in localtime
43425 do
43426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43427 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43429 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43430 echo $ECHO_N "(cached) $ECHO_C" >&6
43431 else
43432 cat >conftest.$ac_ext <<_ACEOF
43433 /* confdefs.h. */
43434 _ACEOF
43435 cat confdefs.h >>conftest.$ac_ext
43436 cat >>conftest.$ac_ext <<_ACEOF
43437 /* end confdefs.h. */
43438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43440 #define $ac_func innocuous_$ac_func
43441
43442 /* System header to define __stub macros and hopefully few prototypes,
43443 which can conflict with char $ac_func (); below.
43444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43445 <limits.h> exists even on freestanding compilers. */
43446
43447 #ifdef __STDC__
43448 # include <limits.h>
43449 #else
43450 # include <assert.h>
43451 #endif
43452
43453 #undef $ac_func
43454
43455 /* Override any GCC internal prototype to avoid an error.
43456 Use char because int might match the return type of a GCC
43457 builtin and then its argument prototype would still apply. */
43458 #ifdef __cplusplus
43459 extern "C"
43460 #endif
43461 char $ac_func ();
43462 /* The GNU C library defines this for functions which it implements
43463 to always fail with ENOSYS. Some functions are actually named
43464 something starting with __ and the normal name is an alias. */
43465 #if defined __stub_$ac_func || defined __stub___$ac_func
43466 choke me
43467 #endif
43468
43469 int
43470 main ()
43471 {
43472 return $ac_func ();
43473 ;
43474 return 0;
43475 }
43476 _ACEOF
43477 rm -f conftest.$ac_objext conftest$ac_exeext
43478 if { (ac_try="$ac_link"
43479 case "(($ac_try" in
43480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43481 *) ac_try_echo=$ac_try;;
43482 esac
43483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43484 (eval "$ac_link") 2>conftest.er1
43485 ac_status=$?
43486 grep -v '^ *+' conftest.er1 >conftest.err
43487 rm -f conftest.er1
43488 cat conftest.err >&5
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); } && {
43491 test -z "$ac_c_werror_flag" ||
43492 test ! -s conftest.err
43493 } && test -s conftest$ac_exeext &&
43494 $as_test_x conftest$ac_exeext; then
43495 eval "$as_ac_var=yes"
43496 else
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.$ac_ext >&5
43499
43500 eval "$as_ac_var=no"
43501 fi
43502
43503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43504 conftest$ac_exeext conftest.$ac_ext
43505 fi
43506 ac_res=`eval echo '${'$as_ac_var'}'`
43507 { echo "$as_me:$LINENO: result: $ac_res" >&5
43508 echo "${ECHO_T}$ac_res" >&6; }
43509 if test `eval echo '${'$as_ac_var'}'` = yes; then
43510 cat >>confdefs.h <<_ACEOF
43511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43512 _ACEOF
43513
43514 fi
43515 done
43516
43517
43518 if test "$ac_cv_func_localtime" = "yes"; then
43519 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43520 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43521 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43523 else
43524
43525 cat >conftest.$ac_ext <<_ACEOF
43526 /* confdefs.h. */
43527 _ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h. */
43531
43532 #include <time.h>
43533
43534 int
43535 main ()
43536 {
43537
43538 struct tm tm;
43539 tm.tm_gmtoff++;
43540
43541 ;
43542 return 0;
43543 }
43544 _ACEOF
43545 rm -f conftest.$ac_objext
43546 if { (ac_try="$ac_compile"
43547 case "(($ac_try" in
43548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43549 *) ac_try_echo=$ac_try;;
43550 esac
43551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43552 (eval "$ac_compile") 2>conftest.er1
43553 ac_status=$?
43554 grep -v '^ *+' conftest.er1 >conftest.err
43555 rm -f conftest.er1
43556 cat conftest.err >&5
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); } && {
43559 test -z "$ac_c_werror_flag" ||
43560 test ! -s conftest.err
43561 } && test -s conftest.$ac_objext; then
43562
43563 wx_cv_struct_tm_has_gmtoff=yes
43564
43565 else
43566 echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.$ac_ext >&5
43568
43569 wx_cv_struct_tm_has_gmtoff=no
43570
43571 fi
43572
43573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43574
43575 fi
43576 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43577 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43578 fi
43579
43580 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43581 cat >>confdefs.h <<\_ACEOF
43582 #define WX_GMTOFF_IN_TM 1
43583 _ACEOF
43584
43585 fi
43586
43587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43588 fi
43589
43590
43591 if test "$wxUSE_SOCKETS" = "yes"; then
43592 if test "$wxUSE_MGL" = 1; then
43593 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43594 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43595 wxUSE_SOCKETS="no"
43596 fi
43597 fi
43598
43599 if test "$wxUSE_SOCKETS" = "yes"; then
43600 if test "$TOOLKIT" != "MSW"; then
43601 { echo "$as_me:$LINENO: checking for socket" >&5
43602 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43603 if test "${ac_cv_func_socket+set}" = set; then
43604 echo $ECHO_N "(cached) $ECHO_C" >&6
43605 else
43606 cat >conftest.$ac_ext <<_ACEOF
43607 /* confdefs.h. */
43608 _ACEOF
43609 cat confdefs.h >>conftest.$ac_ext
43610 cat >>conftest.$ac_ext <<_ACEOF
43611 /* end confdefs.h. */
43612 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43614 #define socket innocuous_socket
43615
43616 /* System header to define __stub macros and hopefully few prototypes,
43617 which can conflict with char socket (); below.
43618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43619 <limits.h> exists even on freestanding compilers. */
43620
43621 #ifdef __STDC__
43622 # include <limits.h>
43623 #else
43624 # include <assert.h>
43625 #endif
43626
43627 #undef socket
43628
43629 /* Override any GCC internal prototype to avoid an error.
43630 Use char because int might match the return type of a GCC
43631 builtin and then its argument prototype would still apply. */
43632 #ifdef __cplusplus
43633 extern "C"
43634 #endif
43635 char socket ();
43636 /* The GNU C library defines this for functions which it implements
43637 to always fail with ENOSYS. Some functions are actually named
43638 something starting with __ and the normal name is an alias. */
43639 #if defined __stub_socket || defined __stub___socket
43640 choke me
43641 #endif
43642
43643 int
43644 main ()
43645 {
43646 return socket ();
43647 ;
43648 return 0;
43649 }
43650 _ACEOF
43651 rm -f conftest.$ac_objext conftest$ac_exeext
43652 if { (ac_try="$ac_link"
43653 case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43655 *) ac_try_echo=$ac_try;;
43656 esac
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_link") 2>conftest.er1
43659 ac_status=$?
43660 grep -v '^ *+' conftest.er1 >conftest.err
43661 rm -f conftest.er1
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } && {
43665 test -z "$ac_c_werror_flag" ||
43666 test ! -s conftest.err
43667 } && test -s conftest$ac_exeext &&
43668 $as_test_x conftest$ac_exeext; then
43669 ac_cv_func_socket=yes
43670 else
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43673
43674 ac_cv_func_socket=no
43675 fi
43676
43677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43678 conftest$ac_exeext conftest.$ac_ext
43679 fi
43680 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43681 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43682 if test $ac_cv_func_socket = yes; then
43683 :
43684 else
43685
43686 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43687 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43688 if test "${ac_cv_lib_socket_socket+set}" = set; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43690 else
43691 ac_check_lib_save_LIBS=$LIBS
43692 LIBS="-lsocket $LIBS"
43693 cat >conftest.$ac_ext <<_ACEOF
43694 /* confdefs.h. */
43695 _ACEOF
43696 cat confdefs.h >>conftest.$ac_ext
43697 cat >>conftest.$ac_ext <<_ACEOF
43698 /* end confdefs.h. */
43699
43700 /* Override any GCC internal prototype to avoid an error.
43701 Use char because int might match the return type of a GCC
43702 builtin and then its argument prototype would still apply. */
43703 #ifdef __cplusplus
43704 extern "C"
43705 #endif
43706 char socket ();
43707 int
43708 main ()
43709 {
43710 return socket ();
43711 ;
43712 return 0;
43713 }
43714 _ACEOF
43715 rm -f conftest.$ac_objext conftest$ac_exeext
43716 if { (ac_try="$ac_link"
43717 case "(($ac_try" in
43718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43719 *) ac_try_echo=$ac_try;;
43720 esac
43721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43722 (eval "$ac_link") 2>conftest.er1
43723 ac_status=$?
43724 grep -v '^ *+' conftest.er1 >conftest.err
43725 rm -f conftest.er1
43726 cat conftest.err >&5
43727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728 (exit $ac_status); } && {
43729 test -z "$ac_c_werror_flag" ||
43730 test ! -s conftest.err
43731 } && test -s conftest$ac_exeext &&
43732 $as_test_x conftest$ac_exeext; then
43733 ac_cv_lib_socket_socket=yes
43734 else
43735 echo "$as_me: failed program was:" >&5
43736 sed 's/^/| /' conftest.$ac_ext >&5
43737
43738 ac_cv_lib_socket_socket=no
43739 fi
43740
43741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43742 conftest$ac_exeext conftest.$ac_ext
43743 LIBS=$ac_check_lib_save_LIBS
43744 fi
43745 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43746 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43747 if test $ac_cv_lib_socket_socket = yes; then
43748 if test "$INET_LINK" != " -lsocket"; then
43749 INET_LINK="$INET_LINK -lsocket"
43750 fi
43751 else
43752
43753 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43754 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43755 wxUSE_SOCKETS=no
43756
43757
43758 fi
43759
43760
43761
43762 fi
43763
43764 fi
43765 fi
43766
43767 if test "$wxUSE_SOCKETS" = "yes" ; then
43768 if test "$TOOLKIT" != "MSW"; then
43769 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43770 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43771 if test "${wx_cv_type_getsockname3+set}" = set; then
43772 echo $ECHO_N "(cached) $ECHO_C" >&6
43773 else
43774
43775 ac_ext=cpp
43776 ac_cpp='$CXXCPP $CPPFLAGS'
43777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43780
43781 cat >conftest.$ac_ext <<_ACEOF
43782 /* confdefs.h. */
43783 _ACEOF
43784 cat confdefs.h >>conftest.$ac_ext
43785 cat >>conftest.$ac_ext <<_ACEOF
43786 /* end confdefs.h. */
43787
43788 #include <sys/types.h>
43789 #include <sys/socket.h>
43790
43791 int
43792 main ()
43793 {
43794
43795 socklen_t len;
43796 getsockname(0, 0, &len);
43797
43798 ;
43799 return 0;
43800 }
43801 _ACEOF
43802 rm -f conftest.$ac_objext
43803 if { (ac_try="$ac_compile"
43804 case "(($ac_try" in
43805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43806 *) ac_try_echo=$ac_try;;
43807 esac
43808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43809 (eval "$ac_compile") 2>conftest.er1
43810 ac_status=$?
43811 grep -v '^ *+' conftest.er1 >conftest.err
43812 rm -f conftest.er1
43813 cat conftest.err >&5
43814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815 (exit $ac_status); } && {
43816 test -z "$ac_cxx_werror_flag" ||
43817 test ! -s conftest.err
43818 } && test -s conftest.$ac_objext; then
43819 wx_cv_type_getsockname3=socklen_t
43820 else
43821 echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.$ac_ext >&5
43823
43824
43825 CFLAGS_OLD="$CFLAGS"
43826 if test "$GCC" = yes ; then
43827 CFLAGS="-Werror $CFLAGS"
43828 fi
43829
43830 cat >conftest.$ac_ext <<_ACEOF
43831 /* confdefs.h. */
43832 _ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43836
43837 #include <sys/types.h>
43838 #include <sys/socket.h>
43839
43840 int
43841 main ()
43842 {
43843
43844 size_t len;
43845 getsockname(0, 0, &len);
43846
43847 ;
43848 return 0;
43849 }
43850 _ACEOF
43851 rm -f conftest.$ac_objext
43852 if { (ac_try="$ac_compile"
43853 case "(($ac_try" in
43854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43855 *) ac_try_echo=$ac_try;;
43856 esac
43857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43858 (eval "$ac_compile") 2>conftest.er1
43859 ac_status=$?
43860 grep -v '^ *+' conftest.er1 >conftest.err
43861 rm -f conftest.er1
43862 cat conftest.err >&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); } && {
43865 test -z "$ac_cxx_werror_flag" ||
43866 test ! -s conftest.err
43867 } && test -s conftest.$ac_objext; then
43868 wx_cv_type_getsockname3=size_t
43869 else
43870 echo "$as_me: failed program was:" >&5
43871 sed 's/^/| /' conftest.$ac_ext >&5
43872
43873 cat >conftest.$ac_ext <<_ACEOF
43874 /* confdefs.h. */
43875 _ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879
43880 #include <sys/types.h>
43881 #include <sys/socket.h>
43882
43883 int
43884 main ()
43885 {
43886
43887 int len;
43888 getsockname(0, 0, &len);
43889
43890 ;
43891 return 0;
43892 }
43893 _ACEOF
43894 rm -f conftest.$ac_objext
43895 if { (ac_try="$ac_compile"
43896 case "(($ac_try" in
43897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43898 *) ac_try_echo=$ac_try;;
43899 esac
43900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43901 (eval "$ac_compile") 2>conftest.er1
43902 ac_status=$?
43903 grep -v '^ *+' conftest.er1 >conftest.err
43904 rm -f conftest.er1
43905 cat conftest.err >&5
43906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43907 (exit $ac_status); } && {
43908 test -z "$ac_cxx_werror_flag" ||
43909 test ! -s conftest.err
43910 } && test -s conftest.$ac_objext; then
43911 wx_cv_type_getsockname3=int
43912 else
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43915
43916 wx_cv_type_getsockname3=unknown
43917
43918 fi
43919
43920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43921
43922 fi
43923
43924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43925
43926 CFLAGS="$CFLAGS_OLD"
43927
43928
43929 fi
43930
43931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43932 ac_ext=c
43933 ac_cpp='$CPP $CPPFLAGS'
43934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43937
43938
43939 fi
43940 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43941 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43942
43943 if test "$wx_cv_type_getsockname3" = "unknown"; then
43944 wxUSE_SOCKETS=no
43945 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43946 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43947 else
43948 cat >>confdefs.h <<_ACEOF
43949 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43950 _ACEOF
43951
43952 fi
43953 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43954 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43955 if test "${wx_cv_type_getsockopt5+set}" = set; then
43956 echo $ECHO_N "(cached) $ECHO_C" >&6
43957 else
43958
43959 ac_ext=cpp
43960 ac_cpp='$CXXCPP $CPPFLAGS'
43961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43964
43965 cat >conftest.$ac_ext <<_ACEOF
43966 /* confdefs.h. */
43967 _ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43971
43972 #include <sys/types.h>
43973 #include <sys/socket.h>
43974
43975 int
43976 main ()
43977 {
43978
43979 socklen_t len;
43980 getsockopt(0, 0, 0, 0, &len);
43981
43982 ;
43983 return 0;
43984 }
43985 _ACEOF
43986 rm -f conftest.$ac_objext
43987 if { (ac_try="$ac_compile"
43988 case "(($ac_try" in
43989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43990 *) ac_try_echo=$ac_try;;
43991 esac
43992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43993 (eval "$ac_compile") 2>conftest.er1
43994 ac_status=$?
43995 grep -v '^ *+' conftest.er1 >conftest.err
43996 rm -f conftest.er1
43997 cat conftest.err >&5
43998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43999 (exit $ac_status); } && {
44000 test -z "$ac_cxx_werror_flag" ||
44001 test ! -s conftest.err
44002 } && test -s conftest.$ac_objext; then
44003 wx_cv_type_getsockopt5=socklen_t
44004 else
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44007
44008
44009 cat >conftest.$ac_ext <<_ACEOF
44010 /* confdefs.h. */
44011 _ACEOF
44012 cat confdefs.h >>conftest.$ac_ext
44013 cat >>conftest.$ac_ext <<_ACEOF
44014 /* end confdefs.h. */
44015
44016 #include <sys/types.h>
44017 #include <sys/socket.h>
44018
44019 int
44020 main ()
44021 {
44022
44023 size_t len;
44024 getsockopt(0, 0, 0, 0, &len);
44025
44026 ;
44027 return 0;
44028 }
44029 _ACEOF
44030 rm -f conftest.$ac_objext
44031 if { (ac_try="$ac_compile"
44032 case "(($ac_try" in
44033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44034 *) ac_try_echo=$ac_try;;
44035 esac
44036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44037 (eval "$ac_compile") 2>conftest.er1
44038 ac_status=$?
44039 grep -v '^ *+' conftest.er1 >conftest.err
44040 rm -f conftest.er1
44041 cat conftest.err >&5
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); } && {
44044 test -z "$ac_cxx_werror_flag" ||
44045 test ! -s conftest.err
44046 } && test -s conftest.$ac_objext; then
44047 wx_cv_type_getsockopt5=size_t
44048 else
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.$ac_ext >&5
44051
44052 cat >conftest.$ac_ext <<_ACEOF
44053 /* confdefs.h. */
44054 _ACEOF
44055 cat confdefs.h >>conftest.$ac_ext
44056 cat >>conftest.$ac_ext <<_ACEOF
44057 /* end confdefs.h. */
44058
44059 #include <sys/types.h>
44060 #include <sys/socket.h>
44061
44062 int
44063 main ()
44064 {
44065
44066 int len;
44067 getsockopt(0, 0, 0, 0, &len);
44068
44069 ;
44070 return 0;
44071 }
44072 _ACEOF
44073 rm -f conftest.$ac_objext
44074 if { (ac_try="$ac_compile"
44075 case "(($ac_try" in
44076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44077 *) ac_try_echo=$ac_try;;
44078 esac
44079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44080 (eval "$ac_compile") 2>conftest.er1
44081 ac_status=$?
44082 grep -v '^ *+' conftest.er1 >conftest.err
44083 rm -f conftest.er1
44084 cat conftest.err >&5
44085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44086 (exit $ac_status); } && {
44087 test -z "$ac_cxx_werror_flag" ||
44088 test ! -s conftest.err
44089 } && test -s conftest.$ac_objext; then
44090 wx_cv_type_getsockopt5=int
44091 else
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.$ac_ext >&5
44094
44095 wx_cv_type_getsockopt5=unknown
44096
44097 fi
44098
44099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44100
44101 fi
44102
44103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44104
44105
44106 fi
44107
44108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44109 ac_ext=c
44110 ac_cpp='$CPP $CPPFLAGS'
44111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44114
44115
44116 fi
44117 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44118 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44119
44120 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44121 wxUSE_SOCKETS=no
44122 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44123 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44124 else
44125 cat >>confdefs.h <<_ACEOF
44126 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44127 _ACEOF
44128
44129 fi
44130 fi
44131 fi
44132
44133 if test "$wxUSE_SOCKETS" = "yes" ; then
44134 if test "$wxUSE_IPV6" = "yes"; then
44135 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44136 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44137 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44138 echo $ECHO_N "(cached) $ECHO_C" >&6
44139 else
44140
44141 cat >conftest.$ac_ext <<_ACEOF
44142 /* confdefs.h. */
44143 _ACEOF
44144 cat confdefs.h >>conftest.$ac_ext
44145 cat >>conftest.$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44147
44148 #include <sys/types.h>
44149 #include <sys/socket.h>
44150 #include <netinet/in.h>
44151
44152 int
44153 main ()
44154 {
44155
44156 struct sockaddr_in6 sa6;
44157
44158 ;
44159 return 0;
44160 }
44161 _ACEOF
44162 rm -f conftest.$ac_objext
44163 if { (ac_try="$ac_compile"
44164 case "(($ac_try" in
44165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44166 *) ac_try_echo=$ac_try;;
44167 esac
44168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44169 (eval "$ac_compile") 2>conftest.er1
44170 ac_status=$?
44171 grep -v '^ *+' conftest.er1 >conftest.err
44172 rm -f conftest.er1
44173 cat conftest.err >&5
44174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175 (exit $ac_status); } && {
44176 test -z "$ac_c_werror_flag" ||
44177 test ! -s conftest.err
44178 } && test -s conftest.$ac_objext; then
44179 wx_cv_type_sockaddr_in6=yes
44180 else
44181 echo "$as_me: failed program was:" >&5
44182 sed 's/^/| /' conftest.$ac_ext >&5
44183
44184 wx_cv_type_sockaddr_in6=no
44185
44186 fi
44187
44188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44189
44190
44191 fi
44192 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44193 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44194
44195 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_IPV6 1
44198 _ACEOF
44199
44200 else
44201 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44202 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44203 fi
44204 fi
44205
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_SOCKETS 1
44208 _ACEOF
44209
44210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44211 fi
44212
44213 if test "$wxUSE_PROTOCOL" = "yes"; then
44214 if test "$wxUSE_SOCKETS" != "yes"; then
44215 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44216 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44217 wxUSE_PROTOCOL=no
44218 fi
44219 fi
44220
44221 if test "$wxUSE_PROTOCOL" = "yes"; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_PROTOCOL 1
44224 _ACEOF
44225
44226
44227 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_PROTOCOL_HTTP 1
44230 _ACEOF
44231
44232 fi
44233 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_PROTOCOL_FTP 1
44236 _ACEOF
44237
44238 fi
44239 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define wxUSE_PROTOCOL_FILE 1
44242 _ACEOF
44243
44244 fi
44245 else
44246 if test "$wxUSE_FS_INET" = "yes"; then
44247 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44248 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44249 wxUSE_FS_INET="no"
44250 fi
44251 fi
44252
44253 if test "$wxUSE_URL" = "yes"; then
44254 if test "$wxUSE_PROTOCOL" != "yes"; then
44255 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44256 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44257 wxUSE_URL=no
44258 fi
44259 if test "$wxUSE_URL" = "yes"; then
44260 cat >>confdefs.h <<\_ACEOF
44261 #define wxUSE_URL 1
44262 _ACEOF
44263
44264 fi
44265 fi
44266
44267 if test "$wxUSE_VARIANT" = "yes"; then
44268 cat >>confdefs.h <<\_ACEOF
44269 #define wxUSE_VARIANT 1
44270 _ACEOF
44271
44272 fi
44273
44274 if test "$wxUSE_FS_INET" = "yes"; then
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_FS_INET 1
44277 _ACEOF
44278
44279 fi
44280
44281
44282 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44283 wxUSE_JOYSTICK=no
44284
44285 if test "$TOOLKIT" = "MSW"; then
44286 wxUSE_JOYSTICK=yes
44287
44288 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44289 if test "$USE_DARWIN" = 1; then
44290 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44291 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44292 ac_ext=cpp
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44297
44298 cat >conftest.$ac_ext <<_ACEOF
44299 /* confdefs.h. */
44300 _ACEOF
44301 cat confdefs.h >>conftest.$ac_ext
44302 cat >>conftest.$ac_ext <<_ACEOF
44303 /* end confdefs.h. */
44304 #include <IOKit/hid/IOHIDLib.h>
44305 int
44306 main ()
44307 {
44308 IOHIDQueueInterface *qi = NULL;
44309 IOHIDCallbackFunction cb = NULL;
44310 qi->setEventCallout(NULL, cb, NULL, NULL);
44311 ;
44312 return 0;
44313 }
44314 _ACEOF
44315 rm -f conftest.$ac_objext
44316 if { (ac_try="$ac_compile"
44317 case "(($ac_try" in
44318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44319 *) ac_try_echo=$ac_try;;
44320 esac
44321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44322 (eval "$ac_compile") 2>conftest.er1
44323 ac_status=$?
44324 grep -v '^ *+' conftest.er1 >conftest.err
44325 rm -f conftest.er1
44326 cat conftest.err >&5
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); } && {
44329 test -z "$ac_cxx_werror_flag" ||
44330 test ! -s conftest.err
44331 } && test -s conftest.$ac_objext; then
44332 wxUSE_JOYSTICK=yes
44333
44334 else
44335 echo "$as_me: failed program was:" >&5
44336 sed 's/^/| /' conftest.$ac_ext >&5
44337
44338
44339 fi
44340
44341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44342 ac_ext=c
44343 ac_cpp='$CPP $CPPFLAGS'
44344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44347
44348 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44349 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44350 fi
44351
44352 else
44353 if test "$wxUSE_MGL" != 1; then
44354
44355 for ac_header in linux/joystick.h
44356 do
44357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44362 else
44363 cat >conftest.$ac_ext <<_ACEOF
44364 /* confdefs.h. */
44365 _ACEOF
44366 cat confdefs.h >>conftest.$ac_ext
44367 cat >>conftest.$ac_ext <<_ACEOF
44368 /* end confdefs.h. */
44369 $ac_includes_default
44370
44371 #include <$ac_header>
44372 _ACEOF
44373 rm -f conftest.$ac_objext
44374 if { (ac_try="$ac_compile"
44375 case "(($ac_try" in
44376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44377 *) ac_try_echo=$ac_try;;
44378 esac
44379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44380 (eval "$ac_compile") 2>conftest.er1
44381 ac_status=$?
44382 grep -v '^ *+' conftest.er1 >conftest.err
44383 rm -f conftest.er1
44384 cat conftest.err >&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); } && {
44387 test -z "$ac_c_werror_flag" ||
44388 test ! -s conftest.err
44389 } && test -s conftest.$ac_objext; then
44390 eval "$as_ac_Header=yes"
44391 else
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44394
44395 eval "$as_ac_Header=no"
44396 fi
44397
44398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44399 fi
44400 ac_res=`eval echo '${'$as_ac_Header'}'`
44401 { echo "$as_me:$LINENO: result: $ac_res" >&5
44402 echo "${ECHO_T}$ac_res" >&6; }
44403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44404 cat >>confdefs.h <<_ACEOF
44405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44406 _ACEOF
44407 wxUSE_JOYSTICK=yes
44408 fi
44409
44410 done
44411
44412 fi
44413 fi
44414
44415 if test "$wxUSE_JOYSTICK" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_JOYSTICK 1
44418 _ACEOF
44419
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44421 else
44422 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44423 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44424 fi
44425 fi
44426
44427
44428
44429 if test "$wxUSE_FONTENUM" = "yes" ; then
44430 cat >>confdefs.h <<\_ACEOF
44431 #define wxUSE_FONTENUM 1
44432 _ACEOF
44433
44434 fi
44435
44436 if test "$wxUSE_FONTMAP" = "yes" ; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_FONTMAP 1
44439 _ACEOF
44440
44441 fi
44442
44443 if test "$wxUSE_UNICODE" = "yes" ; then
44444 cat >>confdefs.h <<\_ACEOF
44445 #define wxUSE_UNICODE 1
44446 _ACEOF
44447
44448
44449 if test "$USE_WIN32" != 1; then
44450 wxUSE_UNICODE_MSLU=no
44451 fi
44452
44453 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44454 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44455 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44456 if test "${ac_cv_lib_unicows_main+set}" = set; then
44457 echo $ECHO_N "(cached) $ECHO_C" >&6
44458 else
44459 ac_check_lib_save_LIBS=$LIBS
44460 LIBS="-lunicows $LIBS"
44461 cat >conftest.$ac_ext <<_ACEOF
44462 /* confdefs.h. */
44463 _ACEOF
44464 cat confdefs.h >>conftest.$ac_ext
44465 cat >>conftest.$ac_ext <<_ACEOF
44466 /* end confdefs.h. */
44467
44468
44469 int
44470 main ()
44471 {
44472 return main ();
44473 ;
44474 return 0;
44475 }
44476 _ACEOF
44477 rm -f conftest.$ac_objext conftest$ac_exeext
44478 if { (ac_try="$ac_link"
44479 case "(($ac_try" in
44480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44481 *) ac_try_echo=$ac_try;;
44482 esac
44483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44484 (eval "$ac_link") 2>conftest.er1
44485 ac_status=$?
44486 grep -v '^ *+' conftest.er1 >conftest.err
44487 rm -f conftest.er1
44488 cat conftest.err >&5
44489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490 (exit $ac_status); } && {
44491 test -z "$ac_c_werror_flag" ||
44492 test ! -s conftest.err
44493 } && test -s conftest$ac_exeext &&
44494 $as_test_x conftest$ac_exeext; then
44495 ac_cv_lib_unicows_main=yes
44496 else
44497 echo "$as_me: failed program was:" >&5
44498 sed 's/^/| /' conftest.$ac_ext >&5
44499
44500 ac_cv_lib_unicows_main=no
44501 fi
44502
44503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44504 conftest$ac_exeext conftest.$ac_ext
44505 LIBS=$ac_check_lib_save_LIBS
44506 fi
44507 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44508 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44509 if test $ac_cv_lib_unicows_main = yes; then
44510
44511 cat >>confdefs.h <<\_ACEOF
44512 #define wxUSE_UNICODE_MSLU 1
44513 _ACEOF
44514
44515
44516 else
44517
44518 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44519 Applications will only run on Windows NT/2000/XP!" >&5
44520 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44521 Applications will only run on Windows NT/2000/XP!" >&2;}
44522 wxUSE_UNICODE_MSLU=no
44523
44524 fi
44525
44526 fi
44527 fi
44528
44529 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_UNICODE_UTF8 1
44532 _ACEOF
44533
44534
44535 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44536 cat >>confdefs.h <<\_ACEOF
44537 #define wxUSE_UTF8_LOCALE_ONLY 1
44538 _ACEOF
44539
44540 fi
44541 fi
44542
44543
44544 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44545 cat >>confdefs.h <<\_ACEOF
44546 #define wxUSE_CONSTRAINTS 1
44547 _ACEOF
44548
44549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44550 fi
44551
44552 if test "$wxUSE_MDI" = "yes"; then
44553 cat >>confdefs.h <<\_ACEOF
44554 #define wxUSE_MDI 1
44555 _ACEOF
44556
44557
44558 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_MDI_ARCHITECTURE 1
44561 _ACEOF
44562
44563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44564 fi
44565 fi
44566
44567 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44570 _ACEOF
44571
44572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44573 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44575 fi
44576 fi
44577
44578 if test "$wxUSE_HELP" = "yes"; then
44579 cat >>confdefs.h <<\_ACEOF
44580 #define wxUSE_HELP 1
44581 _ACEOF
44582
44583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44584
44585 if test "$wxUSE_MSW" = 1; then
44586 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_MS_HTML_HELP 1
44589 _ACEOF
44590
44591 fi
44592 fi
44593
44594 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44595 if test "$wxUSE_HTML" = "yes"; then
44596 cat >>confdefs.h <<\_ACEOF
44597 #define wxUSE_WXHTML_HELP 1
44598 _ACEOF
44599
44600 else
44601 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44602 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44603 wxUSE_WXHTML_HELP=no
44604 fi
44605 fi
44606 fi
44607
44608 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44609 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44610 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44611 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44612 else
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_PRINTING_ARCHITECTURE 1
44615 _ACEOF
44616
44617 fi
44618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44619 fi
44620
44621 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_POSTSCRIPT 1
44624 _ACEOF
44625
44626 fi
44627
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44630 _ACEOF
44631
44632
44633 if test "$wxUSE_SVG" = "yes"; then
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_SVG 1
44636 _ACEOF
44637
44638 fi
44639
44640
44641 if test "$wxUSE_METAFILE" = "yes"; then
44642 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44643 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44644 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44645 wxUSE_METAFILE=no
44646 fi
44647 fi
44648
44649
44650 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44651 -o "$wxUSE_CLIPBOARD" = "yes" \
44652 -o "$wxUSE_OLE" = "yes" \
44653 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44654 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44655 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44656 if test "${ac_cv_header_ole2_h+set}" = set; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44658 else
44659 cat >conftest.$ac_ext <<_ACEOF
44660 /* confdefs.h. */
44661 _ACEOF
44662 cat confdefs.h >>conftest.$ac_ext
44663 cat >>conftest.$ac_ext <<_ACEOF
44664 /* end confdefs.h. */
44665
44666
44667 #include <ole2.h>
44668 _ACEOF
44669 rm -f conftest.$ac_objext
44670 if { (ac_try="$ac_compile"
44671 case "(($ac_try" in
44672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44673 *) ac_try_echo=$ac_try;;
44674 esac
44675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44676 (eval "$ac_compile") 2>conftest.er1
44677 ac_status=$?
44678 grep -v '^ *+' conftest.er1 >conftest.err
44679 rm -f conftest.er1
44680 cat conftest.err >&5
44681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44682 (exit $ac_status); } && {
44683 test -z "$ac_c_werror_flag" ||
44684 test ! -s conftest.err
44685 } && test -s conftest.$ac_objext; then
44686 ac_cv_header_ole2_h=yes
44687 else
44688 echo "$as_me: failed program was:" >&5
44689 sed 's/^/| /' conftest.$ac_ext >&5
44690
44691 ac_cv_header_ole2_h=no
44692 fi
44693
44694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44695 fi
44696 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44697 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44698
44699
44700
44701 if test "$ac_cv_header_ole2_h" = "yes" ; then
44702 if test "$GCC" = yes ; then
44703 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44704 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44705 cat >conftest.$ac_ext <<_ACEOF
44706 /* confdefs.h. */
44707 _ACEOF
44708 cat confdefs.h >>conftest.$ac_ext
44709 cat >>conftest.$ac_ext <<_ACEOF
44710 /* end confdefs.h. */
44711 #include <windows.h>
44712 #include <ole2.h>
44713 int
44714 main ()
44715 {
44716
44717 ;
44718 return 0;
44719 }
44720 _ACEOF
44721 rm -f conftest.$ac_objext
44722 if { (ac_try="$ac_compile"
44723 case "(($ac_try" in
44724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44725 *) ac_try_echo=$ac_try;;
44726 esac
44727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44728 (eval "$ac_compile") 2>conftest.er1
44729 ac_status=$?
44730 grep -v '^ *+' conftest.er1 >conftest.err
44731 rm -f conftest.er1
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } && {
44735 test -z "$ac_c_werror_flag" ||
44736 test ! -s conftest.err
44737 } && test -s conftest.$ac_objext; then
44738 { echo "$as_me:$LINENO: result: no" >&5
44739 echo "${ECHO_T}no" >&6; }
44740 else
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.$ac_ext >&5
44743
44744 { echo "$as_me:$LINENO: result: yes" >&5
44745 echo "${ECHO_T}yes" >&6; }
44746 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44747 fi
44748
44749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44750 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44751 if test "$wxUSE_OLE" = "yes" ; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_OLE 1
44754 _ACEOF
44755
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_OLE_AUTOMATION 1
44758 _ACEOF
44759
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_ACTIVEX 1
44762 _ACEOF
44763
44764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44765 fi
44766 fi
44767
44768 if test "$wxUSE_DATAOBJ" = "yes" ; then
44769 cat >>confdefs.h <<\_ACEOF
44770 #define wxUSE_DATAOBJ 1
44771 _ACEOF
44772
44773 fi
44774 else
44775 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44776 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44777
44778 wxUSE_CLIPBOARD=no
44779 wxUSE_DRAG_AND_DROP=no
44780 wxUSE_DATAOBJ=no
44781 wxUSE_OLE=no
44782 fi
44783
44784 if test "$wxUSE_METAFILE" = "yes"; then
44785 cat >>confdefs.h <<\_ACEOF
44786 #define wxUSE_METAFILE 1
44787 _ACEOF
44788
44789
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_ENH_METAFILE 1
44792 _ACEOF
44793
44794 fi
44795 fi
44796
44797 if test "$wxUSE_IPC" = "yes"; then
44798 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44799 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44800 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44801 wxUSE_IPC=no
44802 fi
44803
44804 if test "$wxUSE_IPC" = "yes"; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_IPC 1
44807 _ACEOF
44808
44809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44810 fi
44811 fi
44812
44813 if test "$wxUSE_DATAOBJ" = "yes"; then
44814 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44815 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44816 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44817 wxUSE_DATAOBJ=no
44818 else
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_DATAOBJ 1
44821 _ACEOF
44822
44823 fi
44824 else
44825 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44826 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44827 wxUSE_CLIPBOARD=no
44828 wxUSE_DRAG_AND_DROP=no
44829 fi
44830
44831 if test "$wxUSE_CLIPBOARD" = "yes"; then
44832 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44833 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44834 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44835 wxUSE_CLIPBOARD=no
44836 fi
44837
44838 if test "$wxUSE_CLIPBOARD" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_CLIPBOARD 1
44841 _ACEOF
44842
44843 fi
44844 fi
44845
44846 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44847 if test "$wxUSE_GTK" = 1; then
44848 if test "$WXGTK12" != 1; then
44849 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44850 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44851 wxUSE_DRAG_AND_DROP=no
44852 fi
44853 fi
44854
44855 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44856 "$wxUSE_DFB" = 1; then
44857 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44858 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44859 wxUSE_DRAG_AND_DROP=no
44860 fi
44861
44862 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_DRAG_AND_DROP 1
44865 _ACEOF
44866
44867 fi
44868
44869 fi
44870
44871 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44873 fi
44874
44875 if test "$wxUSE_SPLINES" = "yes" ; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_SPLINES 1
44878 _ACEOF
44879
44880 fi
44881
44882 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_MOUSEWHEEL 1
44885 _ACEOF
44886
44887 fi
44888
44889
44890 USES_CONTROLS=0
44891 if test "$wxUSE_CONTROLS" = "yes"; then
44892 USES_CONTROLS=1
44893 fi
44894
44895 if test "$wxUSE_ACCEL" = "yes"; then
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_ACCEL 1
44898 _ACEOF
44899
44900 USES_CONTROLS=1
44901 fi
44902
44903 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_ANIMATIONCTRL 1
44906 _ACEOF
44907
44908 USES_CONTROLS=1
44909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44910 fi
44911
44912 if test "$wxUSE_BUTTON" = "yes"; then
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_BUTTON 1
44915 _ACEOF
44916
44917 USES_CONTROLS=1
44918 fi
44919
44920 if test "$wxUSE_BMPBUTTON" = "yes"; then
44921 cat >>confdefs.h <<\_ACEOF
44922 #define wxUSE_BMPBUTTON 1
44923 _ACEOF
44924
44925 USES_CONTROLS=1
44926 fi
44927
44928 if test "$wxUSE_CALCTRL" = "yes"; then
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_CALENDARCTRL 1
44931 _ACEOF
44932
44933 USES_CONTROLS=1
44934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44935 fi
44936
44937 if test "$wxUSE_CARET" = "yes"; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_CARET 1
44940 _ACEOF
44941
44942 USES_CONTROLS=1
44943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44944 fi
44945
44946 if test "$wxUSE_COLLPANE" = "yes"; then
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_COLLPANE 1
44949 _ACEOF
44950
44951 USES_CONTROLS=1
44952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44953 fi
44954
44955 if test "$wxUSE_COMBOBOX" = "yes"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_COMBOBOX 1
44958 _ACEOF
44959
44960 USES_CONTROLS=1
44961 fi
44962
44963 if test "$wxUSE_COMBOCTRL" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_COMBOCTRL 1
44966 _ACEOF
44967
44968 USES_CONTROLS=1
44969 fi
44970
44971 if test "$wxUSE_CHOICE" = "yes"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_CHOICE 1
44974 _ACEOF
44975
44976 USES_CONTROLS=1
44977 fi
44978
44979 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44980 cat >>confdefs.h <<\_ACEOF
44981 #define wxUSE_CHOICEBOOK 1
44982 _ACEOF
44983
44984 USES_CONTROLS=1
44985 fi
44986
44987 if test "$wxUSE_CHECKBOX" = "yes"; then
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_CHECKBOX 1
44990 _ACEOF
44991
44992 USES_CONTROLS=1
44993 fi
44994
44995 if test "$wxUSE_CHECKLST" = "yes"; then
44996 cat >>confdefs.h <<\_ACEOF
44997 #define wxUSE_CHECKLISTBOX 1
44998 _ACEOF
44999
45000 USES_CONTROLS=1
45001 fi
45002
45003 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_COLOURPICKERCTRL 1
45006 _ACEOF
45007
45008 USES_CONTROLS=1
45009 fi
45010
45011 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_DATEPICKCTRL 1
45014 _ACEOF
45015
45016 USES_CONTROLS=1
45017 fi
45018
45019 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45020 cat >>confdefs.h <<\_ACEOF
45021 #define wxUSE_DIRPICKERCTRL 1
45022 _ACEOF
45023
45024 USES_CONTROLS=1
45025 fi
45026
45027 if test "$wxUSE_FILECTRL" = "yes"; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_FILECTRL 1
45030 _ACEOF
45031
45032 USES_CONTROLS=1
45033 fi
45034
45035 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_FILEPICKERCTRL 1
45038 _ACEOF
45039
45040 USES_CONTROLS=1
45041 fi
45042
45043 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_FONTPICKERCTRL 1
45046 _ACEOF
45047
45048 USES_CONTROLS=1
45049 fi
45050
45051 if test "$wxUSE_DISPLAY" = "yes"; then
45052 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45053 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45054 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45055 wxUSE_DISPLAY=no
45056 else
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_DISPLAY 1
45059 _ACEOF
45060
45061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45062 fi
45063 fi
45064
45065 if test "$wxUSE_DETECT_SM" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_DETECT_SM 1
45068 _ACEOF
45069
45070 fi
45071
45072 if test "$wxUSE_GAUGE" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_GAUGE 1
45075 _ACEOF
45076
45077 USES_CONTROLS=1
45078 fi
45079
45080 if test "$wxUSE_GRID" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_GRID 1
45083 _ACEOF
45084
45085 USES_CONTROLS=1
45086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45087 fi
45088
45089 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_HYPERLINKCTRL 1
45092 _ACEOF
45093
45094 USES_CONTROLS=1
45095 fi
45096
45097 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45098 cat >>confdefs.h <<\_ACEOF
45099 #define wxUSE_BITMAPCOMBOBOX 1
45100 _ACEOF
45101
45102 USES_CONTROLS=1
45103 fi
45104
45105 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45106 cat >>confdefs.h <<\_ACEOF
45107 #define wxUSE_DATAVIEWCTRL 1
45108 _ACEOF
45109
45110 USES_CONTROLS=1
45111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45112 fi
45113
45114 if test "$wxUSE_IMAGLIST" = "yes"; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_IMAGLIST 1
45117 _ACEOF
45118
45119 fi
45120
45121 if test "$wxUSE_LISTBOOK" = "yes"; then
45122 cat >>confdefs.h <<\_ACEOF
45123 #define wxUSE_LISTBOOK 1
45124 _ACEOF
45125
45126 USES_CONTROLS=1
45127 fi
45128
45129 if test "$wxUSE_LISTBOX" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_LISTBOX 1
45132 _ACEOF
45133
45134 USES_CONTROLS=1
45135 fi
45136
45137 if test "$wxUSE_LISTCTRL" = "yes"; then
45138 if test "$wxUSE_IMAGLIST" = "yes"; then
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_LISTCTRL 1
45141 _ACEOF
45142
45143 USES_CONTROLS=1
45144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45145 else
45146 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45147 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45148 fi
45149 fi
45150
45151 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_EDITABLELISTBOX 1
45154 _ACEOF
45155
45156 USES_CONTROLS=1
45157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45158 fi
45159
45160 if test "$wxUSE_NOTEBOOK" = "yes"; then
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_NOTEBOOK 1
45163 _ACEOF
45164
45165 USES_CONTROLS=1
45166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45167 fi
45168
45169 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_NOTIFICATION_MESSAGE 1
45172 _ACEOF
45173
45174 fi
45175
45176 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_ODCOMBOBOX 1
45179 _ACEOF
45180
45181 USES_CONTROLS=1
45182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45183 fi
45184
45185 if test "$wxUSE_RADIOBOX" = "yes"; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_RADIOBOX 1
45188 _ACEOF
45189
45190 USES_CONTROLS=1
45191 fi
45192
45193 if test "$wxUSE_RADIOBTN" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_RADIOBTN 1
45196 _ACEOF
45197
45198 USES_CONTROLS=1
45199 fi
45200
45201 if test "$wxUSE_SASH" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_SASH 1
45204 _ACEOF
45205
45206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45207 fi
45208
45209 if test "$wxUSE_SCROLLBAR" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_SCROLLBAR 1
45212 _ACEOF
45213
45214 USES_CONTROLS=1
45215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45216 fi
45217
45218 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_SEARCHCTRL 1
45221 _ACEOF
45222
45223 USES_CONTROLS=1
45224 fi
45225
45226 if test "$wxUSE_SLIDER" = "yes"; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_SLIDER 1
45229 _ACEOF
45230
45231 USES_CONTROLS=1
45232 fi
45233
45234 if test "$wxUSE_SPINBTN" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_SPINBTN 1
45237 _ACEOF
45238
45239 USES_CONTROLS=1
45240 fi
45241
45242 if test "$wxUSE_SPINCTRL" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_SPINCTRL 1
45245 _ACEOF
45246
45247 USES_CONTROLS=1
45248 fi
45249
45250 if test "$wxUSE_SPLITTER" = "yes"; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_SPLITTER 1
45253 _ACEOF
45254
45255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45256 fi
45257
45258 if test "$wxUSE_STATBMP" = "yes"; then
45259 cat >>confdefs.h <<\_ACEOF
45260 #define wxUSE_STATBMP 1
45261 _ACEOF
45262
45263 USES_CONTROLS=1
45264 fi
45265
45266 if test "$wxUSE_STATBOX" = "yes"; then
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_STATBOX 1
45269 _ACEOF
45270
45271 USES_CONTROLS=1
45272 fi
45273
45274 if test "$wxUSE_STATTEXT" = "yes"; then
45275 cat >>confdefs.h <<\_ACEOF
45276 #define wxUSE_STATTEXT 1
45277 _ACEOF
45278
45279 USES_CONTROLS=1
45280 fi
45281
45282 if test "$wxUSE_STATLINE" = "yes"; then
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_STATLINE 1
45285 _ACEOF
45286
45287 USES_CONTROLS=1
45288 fi
45289
45290 if test "$wxUSE_STATUSBAR" = "yes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_NATIVE_STATUSBAR 1
45293 _ACEOF
45294
45295 cat >>confdefs.h <<\_ACEOF
45296 #define wxUSE_STATUSBAR 1
45297 _ACEOF
45298
45299 USES_CONTROLS=1
45300
45301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45302 fi
45303
45304 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_TAB_DIALOG 1
45307 _ACEOF
45308
45309 fi
45310
45311 if test "$wxUSE_TEXTCTRL" = "yes"; then
45312 cat >>confdefs.h <<\_ACEOF
45313 #define wxUSE_TEXTCTRL 1
45314 _ACEOF
45315
45316 USES_CONTROLS=1
45317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45318 fi
45319
45320 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45321 if test "$wxUSE_COCOA" = 1 ; then
45322 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45323 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45324 wxUSE_TOGGLEBTN=no
45325 fi
45326
45327 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_TOGGLEBTN 1
45330 _ACEOF
45331
45332 USES_CONTROLS=1
45333 fi
45334 fi
45335
45336 if test "$wxUSE_TOOLBAR" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_TOOLBAR 1
45339 _ACEOF
45340
45341 USES_CONTROLS=1
45342
45343 if test "$wxUSE_UNIVERSAL" = "yes"; then
45344 wxUSE_TOOLBAR_NATIVE="no"
45345 else
45346 wxUSE_TOOLBAR_NATIVE="yes"
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_TOOLBAR_NATIVE 1
45349 _ACEOF
45350
45351 fi
45352
45353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45354 fi
45355
45356 if test "$wxUSE_TOOLTIPS" = "yes"; then
45357 if test "$wxUSE_MOTIF" = 1; then
45358 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45359 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45360 else
45361 if test "$wxUSE_UNIVERSAL" = "yes"; then
45362 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45363 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45364 else
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_TOOLTIPS 1
45367 _ACEOF
45368
45369 fi
45370 fi
45371 fi
45372
45373 if test "$wxUSE_TREEBOOK" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_TREEBOOK 1
45376 _ACEOF
45377
45378 USES_CONTROLS=1
45379 fi
45380
45381 if test "$wxUSE_TOOLBOOK" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_TOOLBOOK 1
45384 _ACEOF
45385
45386 USES_CONTROLS=1
45387 fi
45388
45389 if test "$wxUSE_TREECTRL" = "yes"; then
45390 if test "$wxUSE_IMAGLIST" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_TREECTRL 1
45393 _ACEOF
45394
45395 USES_CONTROLS=1
45396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45397 else
45398 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45399 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45400 fi
45401 fi
45402
45403 if test "$wxUSE_POPUPWIN" = "yes"; then
45404 if test "$wxUSE_COCOA" = 1 ; then
45405 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45406 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45407 else
45408 if test "$wxUSE_PM" = 1; then
45409 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45410 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45411 else
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_POPUPWIN 1
45414 _ACEOF
45415
45416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45417
45418 USES_CONTROLS=1
45419 fi
45420 fi
45421 fi
45422
45423 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45424 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45425 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45426 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45427 else
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_DIALUP_MANAGER 1
45430 _ACEOF
45431
45432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45433 fi
45434 fi
45435
45436 if test "$wxUSE_TIPWINDOW" = "yes"; then
45437 if test "$wxUSE_PM" = 1; then
45438 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45439 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45440 else
45441 cat >>confdefs.h <<\_ACEOF
45442 #define wxUSE_TIPWINDOW 1
45443 _ACEOF
45444
45445 fi
45446 fi
45447
45448 if test "$USES_CONTROLS" = 1; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_CONTROLS 1
45451 _ACEOF
45452
45453 fi
45454
45455
45456 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_ACCESSIBILITY 1
45459 _ACEOF
45460
45461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45462 fi
45463
45464 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_DRAGIMAGE 1
45467 _ACEOF
45468
45469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45470 fi
45471
45472 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45473 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45474 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45475 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45476 else
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_EXCEPTIONS 1
45479 _ACEOF
45480
45481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45482 fi
45483 fi
45484
45485 USE_HTML=0
45486 if test "$wxUSE_HTML" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_HTML 1
45489 _ACEOF
45490
45491 USE_HTML=1
45492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45493 if test "$wxUSE_MAC" = 1; then
45494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45495 fi
45496 fi
45497 if test "$wxUSE_WEBKIT" = "yes"; then
45498 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45499 old_CPPFLAGS="$CPPFLAGS"
45500 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45501 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45502 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45503 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45505 else
45506 cat >conftest.$ac_ext <<_ACEOF
45507 /* confdefs.h. */
45508 _ACEOF
45509 cat confdefs.h >>conftest.$ac_ext
45510 cat >>conftest.$ac_ext <<_ACEOF
45511 /* end confdefs.h. */
45512
45513 #include <Carbon/Carbon.h>
45514 #include <WebKit/WebKit.h>
45515
45516
45517 #include <WebKit/HIWebView.h>
45518 _ACEOF
45519 rm -f conftest.$ac_objext
45520 if { (ac_try="$ac_compile"
45521 case "(($ac_try" in
45522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45523 *) ac_try_echo=$ac_try;;
45524 esac
45525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45526 (eval "$ac_compile") 2>conftest.er1
45527 ac_status=$?
45528 grep -v '^ *+' conftest.er1 >conftest.err
45529 rm -f conftest.er1
45530 cat conftest.err >&5
45531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532 (exit $ac_status); } && {
45533 test -z "$ac_c_werror_flag" ||
45534 test ! -s conftest.err
45535 } && test -s conftest.$ac_objext; then
45536 ac_cv_header_WebKit_HIWebView_h=yes
45537 else
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45540
45541 ac_cv_header_WebKit_HIWebView_h=no
45542 fi
45543
45544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45545 fi
45546 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45547 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45548 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45549
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_WEBKIT 1
45552 _ACEOF
45553
45554 WEBKIT_LINK="-framework WebKit"
45555
45556 else
45557
45558 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45559 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45560 wxUSE_WEBKIT=no
45561
45562 fi
45563
45564
45565 CPPFLAGS="$old_CPPFLAGS"
45566 elif test "$wxUSE_COCOA" = 1; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_WEBKIT 1
45569 _ACEOF
45570
45571 else
45572 wxUSE_WEBKIT=no
45573 fi
45574 fi
45575
45576 USE_XRC=0
45577 if test "$wxUSE_XRC" = "yes"; then
45578 if test "$wxUSE_XML" != "yes"; then
45579 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45580 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45581 wxUSE_XRC=no
45582 else
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_XRC 1
45585 _ACEOF
45586
45587 USE_XRC=1
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45589 fi
45590 fi
45591
45592 USE_AUI=0
45593 if test "$wxUSE_AUI" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_AUI 1
45596 _ACEOF
45597
45598 USE_AUI=1
45599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45600 fi
45601
45602 USE_STC=0
45603 if test "$wxUSE_STC" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_STC 1
45606 _ACEOF
45607
45608 USE_STC=1
45609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45610 fi
45611
45612 if test "$wxUSE_MENUS" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_MENUS 1
45615 _ACEOF
45616
45617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45618 fi
45619
45620 if test "$wxUSE_METAFILE" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_METAFILE 1
45623 _ACEOF
45624
45625 fi
45626
45627 if test "$wxUSE_MIMETYPE" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_MIMETYPE 1
45630 _ACEOF
45631
45632 fi
45633
45634 if test "$wxUSE_MINIFRAME" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_MINIFRAME 1
45637 _ACEOF
45638
45639 fi
45640
45641 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_SYSTEM_OPTIONS 1
45644 _ACEOF
45645
45646 fi
45647
45648 if test "$wxUSE_TASKBARICON" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_TASKBARICON 1
45651 _ACEOF
45652
45653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45654 fi
45655
45656
45657 if test "$wxUSE_VALIDATORS" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_VALIDATORS 1
45660 _ACEOF
45661
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45663 fi
45664
45665 if test "$wxUSE_PALETTE" = "yes" ; then
45666 if test "$wxUSE_DFB" = 1; then
45667 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45668 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45669 wxUSE_PALETTE=no
45670 else
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_PALETTE 1
45673 _ACEOF
45674
45675 fi
45676 fi
45677
45678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45679 LIBS=" -lunicows $LIBS"
45680 fi
45681
45682 USE_RICHTEXT=0
45683 if test "$wxUSE_RICHTEXT" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_RICHTEXT 1
45686 _ACEOF
45687
45688 USE_RICHTEXT=1
45689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45690 fi
45691
45692
45693 if test "$wxUSE_IMAGE" = "yes" ; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_IMAGE 1
45696 _ACEOF
45697
45698
45699 if test "$wxUSE_GIF" = "yes" ; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_GIF 1
45702 _ACEOF
45703
45704 fi
45705
45706 if test "$wxUSE_PCX" = "yes" ; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_PCX 1
45709 _ACEOF
45710
45711 fi
45712
45713 if test "$wxUSE_TGA" = "yes" ; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_TGA 1
45716 _ACEOF
45717
45718 fi
45719
45720 if test "$wxUSE_IFF" = "yes" ; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_IFF 1
45723 _ACEOF
45724
45725 fi
45726
45727 if test "$wxUSE_PNM" = "yes" ; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_PNM 1
45730 _ACEOF
45731
45732 fi
45733
45734 if test "$wxUSE_XPM" = "yes" ; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_XPM 1
45737 _ACEOF
45738
45739 fi
45740
45741 if test "$wxUSE_ICO_CUR" = "yes" ; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_ICO_CUR 1
45744 _ACEOF
45745
45746 fi
45747 fi
45748
45749
45750 if test "$wxUSE_ABOUTDLG" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_ABOUTDLG 1
45753 _ACEOF
45754
45755 fi
45756
45757 if test "$wxUSE_CHOICEDLG" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_CHOICEDLG 1
45760 _ACEOF
45761
45762 fi
45763
45764 if test "$wxUSE_COLOURDLG" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_COLOURDLG 1
45767 _ACEOF
45768
45769 fi
45770
45771 if test "$wxUSE_FILEDLG" = "yes"; then
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_FILEDLG 1
45774 _ACEOF
45775
45776 fi
45777
45778 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45779 cat >>confdefs.h <<\_ACEOF
45780 #define wxUSE_FINDREPLDLG 1
45781 _ACEOF
45782
45783 fi
45784
45785 if test "$wxUSE_FONTDLG" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_FONTDLG 1
45788 _ACEOF
45789
45790 fi
45791
45792 if test "$wxUSE_DIRDLG" = "yes"; then
45793 if test "$wxUSE_TREECTRL" != "yes"; then
45794 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45795 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45796 else
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_DIRDLG 1
45799 _ACEOF
45800
45801 fi
45802 fi
45803
45804 if test "$wxUSE_MSGDLG" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_MSGDLG 1
45807 _ACEOF
45808
45809 fi
45810
45811 if test "$wxUSE_NUMBERDLG" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_NUMBERDLG 1
45814 _ACEOF
45815
45816 fi
45817
45818 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45819 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45820 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45821 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45822 else
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_PROGRESSDLG 1
45825 _ACEOF
45826
45827 fi
45828 fi
45829
45830 if test "$wxUSE_SPLASH" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_SPLASH 1
45833 _ACEOF
45834
45835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45836 fi
45837
45838 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45839 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45840 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45841 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45842 else
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_STARTUP_TIPS 1
45845 _ACEOF
45846
45847 fi
45848 fi
45849
45850 if test "$wxUSE_TEXTDLG" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_TEXTDLG 1
45853 _ACEOF
45854
45855 fi
45856
45857 if test "$wxUSE_WIZARDDLG" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_WIZARDDLG 1
45860 _ACEOF
45861
45862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45863 fi
45864
45865
45866 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45867 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_OWNER_DRAWN 1
45870 _ACEOF
45871
45872 fi
45873 fi
45874
45875
45876 if test "$wxUSE_MSW" = 1 ; then
45877
45878 if test "$wxUSE_DC_CACHEING" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_DC_CACHEING 1
45881 _ACEOF
45882
45883 fi
45884
45885 if test "$wxUSE_DIB" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_WXDIB 1
45888 _ACEOF
45889
45890 fi
45891
45892 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45895 _ACEOF
45896
45897 fi
45898
45899 if test "$wxUSE_UXTHEME" = "yes"; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_UXTHEME 1
45902 _ACEOF
45903
45904 fi
45905
45906 fi
45907
45908 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_AUTOID_MANAGEMENT 1
45911 _ACEOF
45912
45913 fi
45914
45915 if test "$USE_WIN32" = 1 ; then
45916 if test "$wxUSE_INICONF" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_INICONF 1
45919 _ACEOF
45920
45921 fi
45922
45923 if test "$wxUSE_REGKEY" = "yes"; then
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_REGKEY 1
45926 _ACEOF
45927
45928 fi
45929 fi
45930
45931
45932 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45933 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_GRAPHICS_CONTEXT 1
45936 _ACEOF
45937
45938 elif test "$wxUSE_GTK" != 1; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_GRAPHICS_CONTEXT 1
45941 _ACEOF
45942
45943 else
45944
45945 pkg_failed=no
45946 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45947 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45948
45949 if test -n "$PKG_CONFIG"; then
45950 if test -n "$CAIRO_CFLAGS"; then
45951 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45952 else
45953 if test -n "$PKG_CONFIG" && \
45954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45955 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45956 ac_status=$?
45957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45958 (exit $ac_status); }; then
45959 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45960 else
45961 pkg_failed=yes
45962 fi
45963 fi
45964 else
45965 pkg_failed=untried
45966 fi
45967 if test -n "$PKG_CONFIG"; then
45968 if test -n "$CAIRO_LIBS"; then
45969 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45970 else
45971 if test -n "$PKG_CONFIG" && \
45972 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45973 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45974 ac_status=$?
45975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45976 (exit $ac_status); }; then
45977 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45978 else
45979 pkg_failed=yes
45980 fi
45981 fi
45982 else
45983 pkg_failed=untried
45984 fi
45985
45986
45987
45988 if test $pkg_failed = yes; then
45989
45990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45991 _pkg_short_errors_supported=yes
45992 else
45993 _pkg_short_errors_supported=no
45994 fi
45995 if test $_pkg_short_errors_supported = yes; then
45996 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45997 else
45998 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45999 fi
46000 # Put the nasty error message in config.log where it belongs
46001 echo "$CAIRO_PKG_ERRORS" >&5
46002
46003 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46004 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46005
46006 elif test $pkg_failed = untried; then
46007 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46008 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46009
46010 else
46011 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46012 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46013 { echo "$as_me:$LINENO: result: yes" >&5
46014 echo "${ECHO_T}yes" >&6; }
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_GRAPHICS_CONTEXT 1
46017 _ACEOF
46018
46019 fi
46020 fi
46021 fi
46022
46023
46024 USE_MEDIA=0
46025
46026 if test "$wxUSE_MEDIACTRL" = "yes"; then
46027 USE_MEDIA=1
46028
46029 if test "$wxUSE_GTK" = 1; then
46030 wxUSE_GSTREAMER="no"
46031
46032 GST_VERSION_MAJOR=0
46033 GST_VERSION_MINOR=10
46034 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46035
46036 if test "$wxUSE_GSTREAMER8" = "no"; then
46037
46038 pkg_failed=no
46039 { echo "$as_me:$LINENO: checking for GST" >&5
46040 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46041
46042 if test -n "$PKG_CONFIG"; then
46043 if test -n "$GST_CFLAGS"; then
46044 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46045 else
46046 if test -n "$PKG_CONFIG" && \
46047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46048 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46049 ac_status=$?
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); }; then
46052 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46053 else
46054 pkg_failed=yes
46055 fi
46056 fi
46057 else
46058 pkg_failed=untried
46059 fi
46060 if test -n "$PKG_CONFIG"; then
46061 if test -n "$GST_LIBS"; then
46062 pkg_cv_GST_LIBS="$GST_LIBS"
46063 else
46064 if test -n "$PKG_CONFIG" && \
46065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46066 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46067 ac_status=$?
46068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46069 (exit $ac_status); }; then
46070 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46071 else
46072 pkg_failed=yes
46073 fi
46074 fi
46075 else
46076 pkg_failed=untried
46077 fi
46078
46079
46080
46081 if test $pkg_failed = yes; then
46082
46083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46084 _pkg_short_errors_supported=yes
46085 else
46086 _pkg_short_errors_supported=no
46087 fi
46088 if test $_pkg_short_errors_supported = yes; then
46089 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46090 else
46091 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46092 fi
46093 # Put the nasty error message in config.log where it belongs
46094 echo "$GST_PKG_ERRORS" >&5
46095
46096
46097 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46098 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46099 GST_VERSION_MINOR=8
46100
46101
46102 elif test $pkg_failed = untried; then
46103
46104 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46105 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46106 GST_VERSION_MINOR=8
46107
46108
46109 else
46110 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46111 GST_LIBS=$pkg_cv_GST_LIBS
46112 { echo "$as_me:$LINENO: result: yes" >&5
46113 echo "${ECHO_T}yes" >&6; }
46114
46115 wxUSE_GSTREAMER="yes"
46116 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46117
46118 fi
46119 else
46120 GST_VERSION_MINOR=8
46121 fi
46122
46123 if test $GST_VERSION_MINOR = "8"; then
46124 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46125
46126 pkg_failed=no
46127 { echo "$as_me:$LINENO: checking for GST" >&5
46128 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46129
46130 if test -n "$PKG_CONFIG"; then
46131 if test -n "$GST_CFLAGS"; then
46132 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46133 else
46134 if test -n "$PKG_CONFIG" && \
46135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46136 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46137 ac_status=$?
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; then
46140 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46141 else
46142 pkg_failed=yes
46143 fi
46144 fi
46145 else
46146 pkg_failed=untried
46147 fi
46148 if test -n "$PKG_CONFIG"; then
46149 if test -n "$GST_LIBS"; then
46150 pkg_cv_GST_LIBS="$GST_LIBS"
46151 else
46152 if test -n "$PKG_CONFIG" && \
46153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46154 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46155 ac_status=$?
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); }; then
46158 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46159 else
46160 pkg_failed=yes
46161 fi
46162 fi
46163 else
46164 pkg_failed=untried
46165 fi
46166
46167
46168
46169 if test $pkg_failed = yes; then
46170
46171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46172 _pkg_short_errors_supported=yes
46173 else
46174 _pkg_short_errors_supported=no
46175 fi
46176 if test $_pkg_short_errors_supported = yes; then
46177 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46178 else
46179 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46180 fi
46181 # Put the nasty error message in config.log where it belongs
46182 echo "$GST_PKG_ERRORS" >&5
46183
46184
46185 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46186 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46187
46188 elif test $pkg_failed = untried; then
46189
46190 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46191 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46192
46193 else
46194 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46195 GST_LIBS=$pkg_cv_GST_LIBS
46196 { echo "$as_me:$LINENO: result: yes" >&5
46197 echo "${ECHO_T}yes" >&6; }
46198 wxUSE_GSTREAMER="yes"
46199 fi
46200 fi
46201
46202
46203 if test "$wxUSE_GSTREAMER" = "yes"; then
46204 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46205 EXTRALIBS_MEDIA="$GST_LIBS"
46206
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_GSTREAMER 1
46209 _ACEOF
46210
46211 else
46212 USE_MEDIA=0
46213 fi
46214 fi
46215
46216 if test $USE_MEDIA = 1; then
46217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_MEDIACTRL 1
46220 _ACEOF
46221
46222 fi
46223 fi
46224
46225
46226 if test "$cross_compiling" = "yes"; then
46227 OSINFO="\"$host\""
46228 else
46229 OSINFO=`uname -s -r -m`
46230 OSINFO="\"$OSINFO\""
46231 fi
46232
46233 cat >>confdefs.h <<_ACEOF
46234 #define WXWIN_OS_DESCRIPTION $OSINFO
46235 _ACEOF
46236
46237
46238
46239 if test "x$prefix" != "xNONE"; then
46240 wxPREFIX=$prefix
46241 else
46242 wxPREFIX=$ac_default_prefix
46243 fi
46244
46245 cat >>confdefs.h <<_ACEOF
46246 #define wxINSTALL_PREFIX "$wxPREFIX"
46247 _ACEOF
46248
46249
46250
46251
46252 STD_BASE_LIBS="base"
46253 STD_GUI_LIBS=""
46254 BUILT_WX_LIBS="base"
46255 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46256
46257 if test "$wxUSE_SOCKETS" = "yes" ; then
46258 STD_BASE_LIBS="net $STD_BASE_LIBS"
46259 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46260 fi
46261 if test "$wxUSE_XML" = "yes" ; then
46262 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46263 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46264 fi
46265
46266 if test "$wxUSE_GUI" = "yes"; then
46267 STD_GUI_LIBS="adv core"
46268 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46269
46270 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46271 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46272 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46273 fi
46274 if test "$wxUSE_HTML" = "yes" ; then
46275 STD_GUI_LIBS="html $STD_GUI_LIBS"
46276 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46277 fi
46278 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46279 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46280 fi
46281 if test "$wxUSE_OPENGL" = "yes" ; then
46282 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46283 fi
46284 if test "$wxUSE_AUI" = "yes" ; then
46285 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46286 fi
46287 if test "$wxUSE_STC" = "yes" ; then
46288 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46289 fi
46290 if test "$wxUSE_XRC" = "yes" ; then
46291 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46292 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46293 fi
46294 fi
46295
46296
46297
46298
46299
46300
46301
46302
46303 if test "$wxUSE_MAC" = 1 ; then
46304 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46305 if test "$USE_DARWIN" = 1; then
46306 LDFLAGS="$LDFLAGS -framework QuickTime"
46307 else
46308 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46309 fi
46310 fi
46311 if test "$USE_DARWIN" = 1; then
46312 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46313 else
46314 LDFLAGS="$LDFLAGS -lCarbonLib"
46315 fi
46316 fi
46317 if test "$wxUSE_COCOA" = 1 ; then
46318 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46319 if test "$wxUSE_MEDIACTRL" = "yes"; then
46320 LDFLAGS="$LDFLAGS -framework QuickTime"
46321 fi
46322 fi
46323 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46324 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46325 fi
46326
46327 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46328
46329 if test "$wxUSE_GUI" = "yes"; then
46330
46331
46332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46333 erase event exec font image minimal mobile \
46334 mobile/wxedit mobile/styles render \
46335 shaped svg taborder vscroll widgets"
46336
46337 if test "$wxUSE_MONOLITHIC" != "yes"; then
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46339 fi
46340 if test "$TOOLKIT" = "MSW"; then
46341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46342 if test "$wxUSE_UNIVERSAL" != "yes"; then
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46344 fi
46345 fi
46346 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46348 fi
46349 else
46350 SAMPLES_SUBDIRS="console"
46351 if test "$wxUSE_SOCKETS" = "yes" ; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46353 fi
46354 fi
46355
46356
46357 if test "x$INTELCC" = "xyes" ; then
46358 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46359 elif test "$GCC" = yes ; then
46360 CWARNINGS="-Wall -Wundef"
46361 fi
46362
46363 if test "x$INTELCXX" = "xyes" ; then
46364 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46365 elif test "$GXX" = yes ; then
46366 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46367 fi
46368
46369
46370 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46371 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46372
46373
46374 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46375 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46376 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46377 $CPPFLAGS `
46378
46379 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46380 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46381 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46382
46383 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46384
46385
46386 if test "x$MWCC" = "xyes"; then
46387
46388 CC="$CC -cwd source -I-"
46389 CXX="$CXX -cwd source -I-"
46390 fi
46391
46392
46393 LIBS=`echo $LIBS`
46394 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46395 EXTRALIBS_XML="$EXPAT_LINK"
46396 EXTRALIBS_HTML="$MSPACK_LINK"
46397 EXTRALIBS_MEDIA="$GST_LIBS"
46398 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46399 if test "$wxUSE_GUI" = "yes"; then
46400 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46401 fi
46402 if test "$wxUSE_OPENGL" = "yes"; then
46403 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46404 fi
46405
46406 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46407
46408 WXCONFIG_LIBS="$LIBS"
46409
46410 if test "$wxUSE_REGEX" = "builtin" ; then
46411 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46412 fi
46413 if test "$wxUSE_EXPAT" = "builtin" ; then
46414 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46415 fi
46416 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46417 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46418 fi
46419 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46420 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46421 fi
46422 if test "$wxUSE_LIBPNG" = "builtin" ; then
46423 wxconfig_3rdparty="png $wxconfig_3rdparty"
46424 fi
46425 if test "$wxUSE_ZLIB" = "builtin" ; then
46426 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46427 fi
46428
46429 for i in $wxconfig_3rdparty ; do
46430 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46431 done
46432
46433
46434 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46435 WXUNIV=1
46436
46437 case "$wxUNIV_THEMES" in
46438 ''|all)
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_ALL_THEMES 1
46441 _ACEOF
46442
46443 ;;
46444
46445 *)
46446 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46447 cat >>confdefs.h <<_ACEOF
46448 #define wxUSE_THEME_$t 1
46449 _ACEOF
46450
46451 done
46452 esac
46453 else
46454 WXUNIV=0
46455 fi
46456
46457
46458
46459
46460
46461
46462
46463
46464 if test $wxUSE_MONOLITHIC = "yes" ; then
46465 MONOLITHIC=1
46466 else
46467 MONOLITHIC=0
46468 fi
46469
46470 if test $wxUSE_PLUGINS = "yes" ; then
46471 USE_PLUGINS=1
46472 else
46473 USE_PLUGINS=0
46474 fi
46475
46476 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46477 USE_QA=1
46478 else
46479 USE_QA=0
46480 fi
46481
46482 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46483 OFFICIAL_BUILD=1
46484 else
46485 OFFICIAL_BUILD=0
46486 fi
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46515
46516
46517
46518
46519
46520
46521
46522
46523 case "$TOOLKIT" in
46524 GTK)
46525 TOOLKIT_DESC="GTK+"
46526 if test "$WXGTK2" = 1; then
46527 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46528 if test "$wxUSE_GTKPRINT" = "yes" ; then
46529 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46530 fi
46531 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46532 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46533 fi
46534 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46535 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46536 fi
46537 if test "$wxUSE_LIBHILDON" = "yes"; then
46538 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46539 fi
46540
46541 if test "$TOOLKIT_EXTRA" != ""; then
46542 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46543 fi
46544 fi
46545 ;;
46546
46547 ?*)
46548 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46549 ;;
46550
46551 *)
46552 TOOLKIT_DESC="base only"
46553 ;;
46554 esac
46555
46556 if test "$wxUSE_WINE" = "yes"; then
46557 BAKEFILE_FORCE_PLATFORM=win32
46558 fi
46559
46560 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46561 then
46562 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46563 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46564 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46565 echo $ECHO_N "(cached) $ECHO_C" >&6
46566 else
46567
46568 echo '#include <stdio.h>
46569 const wchar_t test_var[] = L"awidetest";' > conftest.h
46570
46571 echo '#include "conftest.h"
46572 int main()
46573 {
46574 printf("%ls", test_var);
46575 return 0;
46576 }' > conftest.cpp
46577
46578 wx_cv_gcc_pch_bug="pch not supported"
46579
46580 if $CXX conftest.h >/dev/null 2>&1
46581 then
46582 wx_cv_gcc_pch_bug=
46583
46584 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46585 then
46586 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46587 grep awidetest >/dev/null
46588 then
46589 wx_cv_gcc_pch_bug=no
46590 else
46591 wx_cv_gcc_pch_bug=yes
46592 fi
46593 fi
46594 fi
46595
46596 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46597
46598 fi
46599 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46600 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46601
46602 if test "$wx_cv_gcc_pch_bug" = yes; then
46603 bk_use_pch=no
46604 fi
46605 fi
46606
46607
46608
46609
46610 if test "x$BAKEFILE_HOST" = "x"; then
46611 if test "x${host}" = "x" ; then
46612 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46613 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46614 { (exit 1); exit 1; }; }
46615 fi
46616
46617 BAKEFILE_HOST="${host}"
46618 fi
46619
46620 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46621
46622 if test -n "$ac_tool_prefix"; then
46623 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46624 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46627 if test "${ac_cv_prog_RANLIB+set}" = set; then
46628 echo $ECHO_N "(cached) $ECHO_C" >&6
46629 else
46630 if test -n "$RANLIB"; then
46631 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46632 else
46633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46634 for as_dir in $PATH
46635 do
46636 IFS=$as_save_IFS
46637 test -z "$as_dir" && as_dir=.
46638 for ac_exec_ext in '' $ac_executable_extensions; do
46639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46640 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46642 break 2
46643 fi
46644 done
46645 done
46646 IFS=$as_save_IFS
46647
46648 fi
46649 fi
46650 RANLIB=$ac_cv_prog_RANLIB
46651 if test -n "$RANLIB"; then
46652 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46653 echo "${ECHO_T}$RANLIB" >&6; }
46654 else
46655 { echo "$as_me:$LINENO: result: no" >&5
46656 echo "${ECHO_T}no" >&6; }
46657 fi
46658
46659
46660 fi
46661 if test -z "$ac_cv_prog_RANLIB"; then
46662 ac_ct_RANLIB=$RANLIB
46663 # Extract the first word of "ranlib", so it can be a program name with args.
46664 set dummy ranlib; ac_word=$2
46665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46667 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46668 echo $ECHO_N "(cached) $ECHO_C" >&6
46669 else
46670 if test -n "$ac_ct_RANLIB"; then
46671 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46672 else
46673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46674 for as_dir in $PATH
46675 do
46676 IFS=$as_save_IFS
46677 test -z "$as_dir" && as_dir=.
46678 for ac_exec_ext in '' $ac_executable_extensions; do
46679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46680 ac_cv_prog_ac_ct_RANLIB="ranlib"
46681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46682 break 2
46683 fi
46684 done
46685 done
46686 IFS=$as_save_IFS
46687
46688 fi
46689 fi
46690 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46691 if test -n "$ac_ct_RANLIB"; then
46692 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46693 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46694 else
46695 { echo "$as_me:$LINENO: result: no" >&5
46696 echo "${ECHO_T}no" >&6; }
46697 fi
46698
46699 if test "x$ac_ct_RANLIB" = x; then
46700 RANLIB=":"
46701 else
46702 case $cross_compiling:$ac_tool_warned in
46703 yes:)
46704 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46705 whose name does not start with the host triplet. If you think this
46706 configuration is useful to you, please write to autoconf@gnu.org." >&5
46707 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46708 whose name does not start with the host triplet. If you think this
46709 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46710 ac_tool_warned=yes ;;
46711 esac
46712 RANLIB=$ac_ct_RANLIB
46713 fi
46714 else
46715 RANLIB="$ac_cv_prog_RANLIB"
46716 fi
46717
46718 # Find a good install program. We prefer a C program (faster),
46719 # so one script is as good as another. But avoid the broken or
46720 # incompatible versions:
46721 # SysV /etc/install, /usr/sbin/install
46722 # SunOS /usr/etc/install
46723 # IRIX /sbin/install
46724 # AIX /bin/install
46725 # AmigaOS /C/install, which installs bootblocks on floppy discs
46726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46729 # OS/2's system install, which has a completely different semantic
46730 # ./install, which can be erroneously created by make from ./install.sh.
46731 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46732 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46733 if test -z "$INSTALL"; then
46734 if test "${ac_cv_path_install+set}" = set; then
46735 echo $ECHO_N "(cached) $ECHO_C" >&6
46736 else
46737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46738 for as_dir in $PATH
46739 do
46740 IFS=$as_save_IFS
46741 test -z "$as_dir" && as_dir=.
46742 # Account for people who put trailing slashes in PATH elements.
46743 case $as_dir/ in
46744 ./ | .// | /cC/* | \
46745 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46746 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46747 /usr/ucb/* ) ;;
46748 *)
46749 # OSF1 and SCO ODT 3.0 have their own names for install.
46750 # Don't use installbsd from OSF since it installs stuff as root
46751 # by default.
46752 for ac_prog in ginstall scoinst install; do
46753 for ac_exec_ext in '' $ac_executable_extensions; do
46754 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46755 if test $ac_prog = install &&
46756 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46757 # AIX install. It has an incompatible calling convention.
46758 :
46759 elif test $ac_prog = install &&
46760 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46761 # program-specific install script used by HP pwplus--don't use.
46762 :
46763 else
46764 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46765 break 3
46766 fi
46767 fi
46768 done
46769 done
46770 ;;
46771 esac
46772 done
46773 IFS=$as_save_IFS
46774
46775
46776 fi
46777 if test "${ac_cv_path_install+set}" = set; then
46778 INSTALL=$ac_cv_path_install
46779 else
46780 # As a last resort, use the slow shell script. Don't cache a
46781 # value for INSTALL within a source directory, because that will
46782 # break other packages using the cache if that directory is
46783 # removed, or if the value is a relative name.
46784 INSTALL=$ac_install_sh
46785 fi
46786 fi
46787 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46788 echo "${ECHO_T}$INSTALL" >&6; }
46789
46790 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46791 # It thinks the first close brace ends the variable substitution.
46792 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46793
46794 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46795
46796 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46797
46798 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46799 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46800 LN_S=$as_ln_s
46801 if test "$LN_S" = "ln -s"; then
46802 { echo "$as_me:$LINENO: result: yes" >&5
46803 echo "${ECHO_T}yes" >&6; }
46804 else
46805 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46806 echo "${ECHO_T}no, using $LN_S" >&6; }
46807 fi
46808
46809
46810 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46811 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46812 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46813 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46814 echo $ECHO_N "(cached) $ECHO_C" >&6
46815 else
46816 cat >conftest.make <<\_ACEOF
46817 SHELL = /bin/sh
46818 all:
46819 @echo '@@@%%%=$(MAKE)=@@@%%%'
46820 _ACEOF
46821 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46822 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46823 *@@@%%%=?*=@@@%%%*)
46824 eval ac_cv_prog_make_${ac_make}_set=yes;;
46825 *)
46826 eval ac_cv_prog_make_${ac_make}_set=no;;
46827 esac
46828 rm -f conftest.make
46829 fi
46830 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46831 { echo "$as_me:$LINENO: result: yes" >&5
46832 echo "${ECHO_T}yes" >&6; }
46833 SET_MAKE=
46834 else
46835 { echo "$as_me:$LINENO: result: no" >&5
46836 echo "${ECHO_T}no" >&6; }
46837 SET_MAKE="MAKE=${MAKE-make}"
46838 fi
46839
46840
46841
46842 if test "x$SUNCXX" = "xyes"; then
46843 AR=$CXX
46844 AROPTIONS="-xar -o"
46845
46846 elif test "x$SGICC" = "xyes"; then
46847 AR=$CXX
46848 AROPTIONS="-ar -o"
46849
46850 else
46851 if test -n "$ac_tool_prefix"; then
46852 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46853 set dummy ${ac_tool_prefix}ar; ac_word=$2
46854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46856 if test "${ac_cv_prog_AR+set}" = set; then
46857 echo $ECHO_N "(cached) $ECHO_C" >&6
46858 else
46859 if test -n "$AR"; then
46860 ac_cv_prog_AR="$AR" # Let the user override the test.
46861 else
46862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46863 for as_dir in $PATH
46864 do
46865 IFS=$as_save_IFS
46866 test -z "$as_dir" && as_dir=.
46867 for ac_exec_ext in '' $ac_executable_extensions; do
46868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46869 ac_cv_prog_AR="${ac_tool_prefix}ar"
46870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46871 break 2
46872 fi
46873 done
46874 done
46875 IFS=$as_save_IFS
46876
46877 fi
46878 fi
46879 AR=$ac_cv_prog_AR
46880 if test -n "$AR"; then
46881 { echo "$as_me:$LINENO: result: $AR" >&5
46882 echo "${ECHO_T}$AR" >&6; }
46883 else
46884 { echo "$as_me:$LINENO: result: no" >&5
46885 echo "${ECHO_T}no" >&6; }
46886 fi
46887
46888
46889 fi
46890 if test -z "$ac_cv_prog_AR"; then
46891 ac_ct_AR=$AR
46892 # Extract the first word of "ar", so it can be a program name with args.
46893 set dummy ar; ac_word=$2
46894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46896 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46897 echo $ECHO_N "(cached) $ECHO_C" >&6
46898 else
46899 if test -n "$ac_ct_AR"; then
46900 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46901 else
46902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46903 for as_dir in $PATH
46904 do
46905 IFS=$as_save_IFS
46906 test -z "$as_dir" && as_dir=.
46907 for ac_exec_ext in '' $ac_executable_extensions; do
46908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46909 ac_cv_prog_ac_ct_AR="ar"
46910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46911 break 2
46912 fi
46913 done
46914 done
46915 IFS=$as_save_IFS
46916
46917 fi
46918 fi
46919 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46920 if test -n "$ac_ct_AR"; then
46921 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46922 echo "${ECHO_T}$ac_ct_AR" >&6; }
46923 else
46924 { echo "$as_me:$LINENO: result: no" >&5
46925 echo "${ECHO_T}no" >&6; }
46926 fi
46927
46928 if test "x$ac_ct_AR" = x; then
46929 AR="ar"
46930 else
46931 case $cross_compiling:$ac_tool_warned in
46932 yes:)
46933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46934 whose name does not start with the host triplet. If you think this
46935 configuration is useful to you, please write to autoconf@gnu.org." >&5
46936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46937 whose name does not start with the host triplet. If you think this
46938 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46939 ac_tool_warned=yes ;;
46940 esac
46941 AR=$ac_ct_AR
46942 fi
46943 else
46944 AR="$ac_cv_prog_AR"
46945 fi
46946
46947 AROPTIONS=rcu
46948 fi
46949
46950
46951 if test -n "$ac_tool_prefix"; then
46952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46953 set dummy ${ac_tool_prefix}strip; ac_word=$2
46954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46956 if test "${ac_cv_prog_STRIP+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46958 else
46959 if test -n "$STRIP"; then
46960 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46961 else
46962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46963 for as_dir in $PATH
46964 do
46965 IFS=$as_save_IFS
46966 test -z "$as_dir" && as_dir=.
46967 for ac_exec_ext in '' $ac_executable_extensions; do
46968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46969 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46971 break 2
46972 fi
46973 done
46974 done
46975 IFS=$as_save_IFS
46976
46977 fi
46978 fi
46979 STRIP=$ac_cv_prog_STRIP
46980 if test -n "$STRIP"; then
46981 { echo "$as_me:$LINENO: result: $STRIP" >&5
46982 echo "${ECHO_T}$STRIP" >&6; }
46983 else
46984 { echo "$as_me:$LINENO: result: no" >&5
46985 echo "${ECHO_T}no" >&6; }
46986 fi
46987
46988
46989 fi
46990 if test -z "$ac_cv_prog_STRIP"; then
46991 ac_ct_STRIP=$STRIP
46992 # Extract the first word of "strip", so it can be a program name with args.
46993 set dummy strip; ac_word=$2
46994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46997 echo $ECHO_N "(cached) $ECHO_C" >&6
46998 else
46999 if test -n "$ac_ct_STRIP"; then
47000 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47001 else
47002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47003 for as_dir in $PATH
47004 do
47005 IFS=$as_save_IFS
47006 test -z "$as_dir" && as_dir=.
47007 for ac_exec_ext in '' $ac_executable_extensions; do
47008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47009 ac_cv_prog_ac_ct_STRIP="strip"
47010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47011 break 2
47012 fi
47013 done
47014 done
47015 IFS=$as_save_IFS
47016
47017 fi
47018 fi
47019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47020 if test -n "$ac_ct_STRIP"; then
47021 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47022 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47023 else
47024 { echo "$as_me:$LINENO: result: no" >&5
47025 echo "${ECHO_T}no" >&6; }
47026 fi
47027
47028 if test "x$ac_ct_STRIP" = x; then
47029 STRIP=":"
47030 else
47031 case $cross_compiling:$ac_tool_warned in
47032 yes:)
47033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47034 whose name does not start with the host triplet. If you think this
47035 configuration is useful to you, please write to autoconf@gnu.org." >&5
47036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47037 whose name does not start with the host triplet. If you think this
47038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47039 ac_tool_warned=yes ;;
47040 esac
47041 STRIP=$ac_ct_STRIP
47042 fi
47043 else
47044 STRIP="$ac_cv_prog_STRIP"
47045 fi
47046
47047 if test -n "$ac_tool_prefix"; then
47048 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47049 set dummy ${ac_tool_prefix}nm; ac_word=$2
47050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47052 if test "${ac_cv_prog_NM+set}" = set; then
47053 echo $ECHO_N "(cached) $ECHO_C" >&6
47054 else
47055 if test -n "$NM"; then
47056 ac_cv_prog_NM="$NM" # Let the user override the test.
47057 else
47058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47059 for as_dir in $PATH
47060 do
47061 IFS=$as_save_IFS
47062 test -z "$as_dir" && as_dir=.
47063 for ac_exec_ext in '' $ac_executable_extensions; do
47064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47065 ac_cv_prog_NM="${ac_tool_prefix}nm"
47066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47067 break 2
47068 fi
47069 done
47070 done
47071 IFS=$as_save_IFS
47072
47073 fi
47074 fi
47075 NM=$ac_cv_prog_NM
47076 if test -n "$NM"; then
47077 { echo "$as_me:$LINENO: result: $NM" >&5
47078 echo "${ECHO_T}$NM" >&6; }
47079 else
47080 { echo "$as_me:$LINENO: result: no" >&5
47081 echo "${ECHO_T}no" >&6; }
47082 fi
47083
47084
47085 fi
47086 if test -z "$ac_cv_prog_NM"; then
47087 ac_ct_NM=$NM
47088 # Extract the first word of "nm", so it can be a program name with args.
47089 set dummy nm; ac_word=$2
47090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47092 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47093 echo $ECHO_N "(cached) $ECHO_C" >&6
47094 else
47095 if test -n "$ac_ct_NM"; then
47096 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47097 else
47098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47099 for as_dir in $PATH
47100 do
47101 IFS=$as_save_IFS
47102 test -z "$as_dir" && as_dir=.
47103 for ac_exec_ext in '' $ac_executable_extensions; do
47104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47105 ac_cv_prog_ac_ct_NM="nm"
47106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47107 break 2
47108 fi
47109 done
47110 done
47111 IFS=$as_save_IFS
47112
47113 fi
47114 fi
47115 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47116 if test -n "$ac_ct_NM"; then
47117 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47118 echo "${ECHO_T}$ac_ct_NM" >&6; }
47119 else
47120 { echo "$as_me:$LINENO: result: no" >&5
47121 echo "${ECHO_T}no" >&6; }
47122 fi
47123
47124 if test "x$ac_ct_NM" = x; then
47125 NM=":"
47126 else
47127 case $cross_compiling:$ac_tool_warned in
47128 yes:)
47129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47130 whose name does not start with the host triplet. If you think this
47131 configuration is useful to you, please write to autoconf@gnu.org." >&5
47132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47133 whose name does not start with the host triplet. If you think this
47134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47135 ac_tool_warned=yes ;;
47136 esac
47137 NM=$ac_ct_NM
47138 fi
47139 else
47140 NM="$ac_cv_prog_NM"
47141 fi
47142
47143
47144 case ${BAKEFILE_HOST} in
47145 *-hp-hpux* )
47146 INSTALL_DIR="mkdir -p"
47147 ;;
47148 * )
47149 INSTALL_DIR='$(INSTALL) -d'
47150 ;;
47151 esac
47152
47153
47154 LDFLAGS_GUI=
47155 case ${BAKEFILE_HOST} in
47156 *-*-cygwin* | *-*-mingw32* )
47157 LDFLAGS_GUI="-mwindows"
47158 esac
47159
47160
47161 fi
47162
47163 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47164 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47165 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47166 echo $ECHO_N "(cached) $ECHO_C" >&6
47167 else
47168
47169 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47170 egrep -s GNU > /dev/null); then
47171 bakefile_cv_prog_makeisgnu="yes"
47172 else
47173 bakefile_cv_prog_makeisgnu="no"
47174 fi
47175
47176 fi
47177 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47178 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47179
47180 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47181 IF_GNU_MAKE=""
47182 else
47183 IF_GNU_MAKE="#"
47184 fi
47185
47186
47187
47188 PLATFORM_UNIX=0
47189 PLATFORM_WIN32=0
47190 PLATFORM_MSDOS=0
47191 PLATFORM_MAC=0
47192 PLATFORM_MACOS=0
47193 PLATFORM_MACOSX=0
47194 PLATFORM_OS2=0
47195 PLATFORM_BEOS=0
47196
47197 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47198 case "${BAKEFILE_HOST}" in
47199 *-*-mingw32* )
47200 PLATFORM_WIN32=1
47201 ;;
47202 *-pc-msdosdjgpp )
47203 PLATFORM_MSDOS=1
47204 ;;
47205 *-pc-os2_emx | *-pc-os2-emx )
47206 PLATFORM_OS2=1
47207 ;;
47208 *-*-darwin* )
47209 PLATFORM_MAC=1
47210 PLATFORM_MACOSX=1
47211 ;;
47212 *-*-beos* )
47213 PLATFORM_BEOS=1
47214 ;;
47215 powerpc-apple-macos* )
47216 PLATFORM_MAC=1
47217 PLATFORM_MACOS=1
47218 ;;
47219 * )
47220 PLATFORM_UNIX=1
47221 ;;
47222 esac
47223 else
47224 case "$BAKEFILE_FORCE_PLATFORM" in
47225 win32 )
47226 PLATFORM_WIN32=1
47227 ;;
47228 msdos )
47229 PLATFORM_MSDOS=1
47230 ;;
47231 os2 )
47232 PLATFORM_OS2=1
47233 ;;
47234 darwin )
47235 PLATFORM_MAC=1
47236 PLATFORM_MACOSX=1
47237 ;;
47238 unix )
47239 PLATFORM_UNIX=1
47240 ;;
47241 beos )
47242 PLATFORM_BEOS=1
47243 ;;
47244 * )
47245 ;;
47246 esac
47247 fi
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259 # Check whether --enable-omf was given.
47260 if test "${enable_omf+set}" = set; then
47261 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47262 fi
47263
47264
47265 case "${BAKEFILE_HOST}" in
47266 *-*-darwin* )
47267 if test "x$GCC" = "xyes"; then
47268 CFLAGS="$CFLAGS -fno-common"
47269 CXXFLAGS="$CXXFLAGS -fno-common"
47270 fi
47271 if test "x$XLCC" = "xyes"; then
47272 CFLAGS="$CFLAGS -qnocommon"
47273 CXXFLAGS="$CXXFLAGS -qnocommon"
47274 fi
47275 ;;
47276
47277 *-pc-os2_emx | *-pc-os2-emx )
47278 if test "x$bk_os2_use_omf" = "xyes" ; then
47279 AR=emxomfar
47280 RANLIB=:
47281 LDFLAGS="-Zomf $LDFLAGS"
47282 CFLAGS="-Zomf $CFLAGS"
47283 CXXFLAGS="-Zomf $CXXFLAGS"
47284 OS2_LIBEXT="lib"
47285 else
47286 OS2_LIBEXT="a"
47287 fi
47288 ;;
47289
47290 i*86-*-beos* )
47291 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47292 ;;
47293 esac
47294
47295
47296 SO_SUFFIX="so"
47297 SO_SUFFIX_MODULE="so"
47298 EXEEXT=""
47299 LIBPREFIX="lib"
47300 LIBEXT=".a"
47301 DLLPREFIX="lib"
47302 DLLPREFIX_MODULE=""
47303 DLLIMP_SUFFIX=""
47304 dlldir="$libdir"
47305
47306 case "${BAKEFILE_HOST}" in
47307 *-hp-hpux* )
47308 SO_SUFFIX="sl"
47309 SO_SUFFIX_MODULE="sl"
47310 ;;
47311 *-*-aix* )
47312 SO_SUFFIX="a"
47313 SO_SUFFIX_MODULE="a"
47314 ;;
47315 *-*-cygwin* )
47316 SO_SUFFIX="dll"
47317 SO_SUFFIX_MODULE="dll"
47318 DLLIMP_SUFFIX="dll.a"
47319 EXEEXT=".exe"
47320 DLLPREFIX="cyg"
47321 dlldir="$bindir"
47322 ;;
47323 *-*-mingw32* )
47324 SO_SUFFIX="dll"
47325 SO_SUFFIX_MODULE="dll"
47326 DLLIMP_SUFFIX="dll.a"
47327 EXEEXT=".exe"
47328 DLLPREFIX=""
47329 dlldir="$bindir"
47330 ;;
47331 *-pc-msdosdjgpp )
47332 EXEEXT=".exe"
47333 DLLPREFIX=""
47334 dlldir="$bindir"
47335 ;;
47336 *-pc-os2_emx | *-pc-os2-emx )
47337 SO_SUFFIX="dll"
47338 SO_SUFFIX_MODULE="dll"
47339 DLLIMP_SUFFIX=$OS2_LIBEXT
47340 EXEEXT=".exe"
47341 DLLPREFIX=""
47342 LIBPREFIX=""
47343 LIBEXT=".$OS2_LIBEXT"
47344 dlldir="$bindir"
47345 ;;
47346 *-*-darwin* )
47347 SO_SUFFIX="dylib"
47348 SO_SUFFIX_MODULE="bundle"
47349 ;;
47350 esac
47351
47352 if test "x$DLLIMP_SUFFIX" = "x" ; then
47353 DLLIMP_SUFFIX="$SO_SUFFIX"
47354 fi
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367 PIC_FLAG=""
47368 if test "x$GCC" = "xyes"; then
47369 PIC_FLAG="-fPIC"
47370 fi
47371
47372 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47373 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47374 WINDOWS_IMPLIB=0
47375
47376 case "${BAKEFILE_HOST}" in
47377 *-hp-hpux* )
47378 if test "x$GCC" != "xyes"; then
47379 LDFLAGS="$LDFLAGS -L/usr/lib"
47380
47381 SHARED_LD_CC="${CC} -b -o"
47382 SHARED_LD_CXX="${CXX} -b -o"
47383 PIC_FLAG="+Z"
47384 fi
47385 ;;
47386
47387 *-*-linux* )
47388 if test "$INTELCC" = "yes"; then
47389 PIC_FLAG="-KPIC"
47390 elif test "x$SUNCXX" = "xyes"; then
47391 SHARED_LD_CC="${CC} -G -o"
47392 SHARED_LD_CXX="${CXX} -G -o"
47393 PIC_FLAG="-KPIC"
47394 fi
47395 ;;
47396
47397 *-*-solaris2* )
47398 if test "x$SUNCXX" = xyes ; then
47399 SHARED_LD_CC="${CC} -G -o"
47400 SHARED_LD_CXX="${CXX} -G -o"
47401 PIC_FLAG="-KPIC"
47402 fi
47403 ;;
47404
47405 *-*-darwin* )
47406
47407 D='$'
47408 cat <<EOF >shared-ld-sh
47409 #!/bin/sh
47410 #-----------------------------------------------------------------------------
47411 #-- Name: distrib/mac/shared-ld-sh
47412 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47413 #-- Author: Gilles Depeyrot
47414 #-- Copyright: (c) 2002 Gilles Depeyrot
47415 #-- Licence: any use permitted
47416 #-----------------------------------------------------------------------------
47417
47418 verbose=0
47419 args=""
47420 objects=""
47421 linking_flag="-dynamiclib"
47422 ldargs="-r -keep_private_externs -nostdlib"
47423
47424 while test ${D}# -gt 0; do
47425 case ${D}1 in
47426
47427 -v)
47428 verbose=1
47429 ;;
47430
47431 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47432 # collect these options and values
47433 args="${D}{args} ${D}1 ${D}2"
47434 shift
47435 ;;
47436
47437 -s|-Wl,*)
47438 # collect these load args
47439 ldargs="${D}{ldargs} ${D}1"
47440 ;;
47441
47442 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47443 # collect these options
47444 args="${D}{args} ${D}1"
47445 ;;
47446
47447 -dynamiclib|-bundle)
47448 linking_flag="${D}1"
47449 ;;
47450
47451 -*)
47452 echo "shared-ld: unhandled option '${D}1'"
47453 exit 1
47454 ;;
47455
47456 *.o | *.a | *.dylib)
47457 # collect object files
47458 objects="${D}{objects} ${D}1"
47459 ;;
47460
47461 *)
47462 echo "shared-ld: unhandled argument '${D}1'"
47463 exit 1
47464 ;;
47465
47466 esac
47467 shift
47468 done
47469
47470 status=0
47471
47472 #
47473 # Link one module containing all the others
47474 #
47475 if test ${D}{verbose} = 1; then
47476 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47477 fi
47478 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47479 status=${D}?
47480
47481 #
47482 # Link the shared library from the single module created, but only if the
47483 # previous command didn't fail:
47484 #
47485 if test ${D}{status} = 0; then
47486 if test ${D}{verbose} = 1; then
47487 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47488 fi
47489 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47490 status=${D}?
47491 fi
47492
47493 #
47494 # Remove intermediate module
47495 #
47496 rm -f master.${D}${D}.o
47497
47498 exit ${D}status
47499 EOF
47500
47501 chmod +x shared-ld-sh
47502
47503 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47504 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47505
47506
47507 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47508 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47509 if test "${bakefile_cv_gcc31+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47511 else
47512
47513 cat >conftest.$ac_ext <<_ACEOF
47514 /* confdefs.h. */
47515 _ACEOF
47516 cat confdefs.h >>conftest.$ac_ext
47517 cat >>conftest.$ac_ext <<_ACEOF
47518 /* end confdefs.h. */
47519
47520 int
47521 main ()
47522 {
47523
47524 #if (__GNUC__ < 3) || \
47525 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47526 This is old gcc
47527 #endif
47528
47529 ;
47530 return 0;
47531 }
47532 _ACEOF
47533 rm -f conftest.$ac_objext
47534 if { (ac_try="$ac_compile"
47535 case "(($ac_try" in
47536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47537 *) ac_try_echo=$ac_try;;
47538 esac
47539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47540 (eval "$ac_compile") 2>conftest.er1
47541 ac_status=$?
47542 grep -v '^ *+' conftest.er1 >conftest.err
47543 rm -f conftest.er1
47544 cat conftest.err >&5
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); } && {
47547 test -z "$ac_c_werror_flag" ||
47548 test ! -s conftest.err
47549 } && test -s conftest.$ac_objext; then
47550
47551 bakefile_cv_gcc31=yes
47552
47553 else
47554 echo "$as_me: failed program was:" >&5
47555 sed 's/^/| /' conftest.$ac_ext >&5
47556
47557
47558 bakefile_cv_gcc31=no
47559
47560
47561 fi
47562
47563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47564
47565 fi
47566 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47567 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47568 if test "$bakefile_cv_gcc31" = "no"; then
47569 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47570 SHARED_LD_CXX="$SHARED_LD_CC"
47571 else
47572 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47573 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47574 fi
47575
47576 if test "x$GCC" == "xyes"; then
47577 PIC_FLAG="-dynamic -fPIC"
47578 fi
47579 if test "x$XLCC" = "xyes"; then
47580 PIC_FLAG="-dynamic -DPIC"
47581 fi
47582 ;;
47583
47584 *-*-aix* )
47585 if test "x$GCC" = "xyes"; then
47586 PIC_FLAG=""
47587
47588 case "${BAKEFILE_HOST}" in
47589 *-*-aix5* )
47590 LD_EXPFULL="-Wl,-bexpfull"
47591 ;;
47592 esac
47593
47594 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47595 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47596 else
47597 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47598 set dummy makeC++SharedLib; ac_word=$2
47599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47601 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47602 echo $ECHO_N "(cached) $ECHO_C" >&6
47603 else
47604 if test -n "$AIX_CXX_LD"; then
47605 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47606 else
47607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47608 for as_dir in $PATH
47609 do
47610 IFS=$as_save_IFS
47611 test -z "$as_dir" && as_dir=.
47612 for ac_exec_ext in '' $ac_executable_extensions; do
47613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47614 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47616 break 2
47617 fi
47618 done
47619 done
47620 IFS=$as_save_IFS
47621
47622 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47623 fi
47624 fi
47625 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47626 if test -n "$AIX_CXX_LD"; then
47627 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47628 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47629 else
47630 { echo "$as_me:$LINENO: result: no" >&5
47631 echo "${ECHO_T}no" >&6; }
47632 fi
47633
47634
47635 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47636 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47637 fi
47638 ;;
47639
47640 *-*-beos* )
47641 SHARED_LD_CC="${LD} -nostart -o"
47642 SHARED_LD_CXX="${LD} -nostart -o"
47643 ;;
47644
47645 *-*-irix* )
47646 if test "x$GCC" != "xyes"; then
47647 PIC_FLAG="-KPIC"
47648 fi
47649 ;;
47650
47651 *-*-cygwin* | *-*-mingw32* )
47652 PIC_FLAG=""
47653 SHARED_LD_CC="\$(CC) -shared -o"
47654 SHARED_LD_CXX="\$(CXX) -shared -o"
47655 WINDOWS_IMPLIB=1
47656 ;;
47657
47658 *-pc-os2_emx | *-pc-os2-emx )
47659 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47660 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47661 PIC_FLAG=""
47662
47663 D='$'
47664 cat <<EOF >dllar.sh
47665 #!/bin/sh
47666 #
47667 # dllar - a tool to build both a .dll and an .a file
47668 # from a set of object (.o) files for EMX/OS2.
47669 #
47670 # Written by Andrew Zabolotny, bit@freya.etu.ru
47671 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47672 #
47673 # This script will accept a set of files on the command line.
47674 # All the public symbols from the .o files will be exported into
47675 # a .DEF file, then linker will be run (through gcc) against them to
47676 # build a shared library consisting of all given .o files. All libraries
47677 # (.a) will be first decompressed into component .o files then act as
47678 # described above. You can optionally give a description (-d "description")
47679 # which will be put into .DLL. To see the list of accepted options (as well
47680 # as command-line format) simply run this program without options. The .DLL
47681 # is built to be imported by name (there is no guarantee that new versions
47682 # of the library you build will have same ordinals for same symbols).
47683 #
47684 # dllar is free software; you can redistribute it and/or modify
47685 # it under the terms of the GNU General Public License as published by
47686 # the Free Software Foundation; either version 2, or (at your option)
47687 # any later version.
47688 #
47689 # dllar is distributed in the hope that it will be useful,
47690 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47691 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47692 # GNU General Public License for more details.
47693 #
47694 # You should have received a copy of the GNU General Public License
47695 # along with dllar; see the file COPYING. If not, write to the Free
47696 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47697 # 02111-1307, USA.
47698
47699 # To successfuly run this program you will need:
47700 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47701 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47702 # - gcc
47703 # (used to build the .dll)
47704 # - emxexp
47705 # (used to create .def file from .o files)
47706 # - emximp
47707 # (used to create .a file from .def file)
47708 # - GNU text utilites (cat, sort, uniq)
47709 # used to process emxexp output
47710 # - GNU file utilities (mv, rm)
47711 # - GNU sed
47712 # - lxlite (optional, see flag below)
47713 # (used for general .dll cleanup)
47714 #
47715
47716 flag_USE_LXLITE=1;
47717
47718 #
47719 # helper functions
47720 # basnam, variant of basename, which does _not_ remove the path, _iff_
47721 # second argument (suffix to remove) is given
47722 basnam(){
47723 case ${D}# in
47724 1)
47725 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47726 ;;
47727 2)
47728 echo ${D}1 | sed 's/'${D}2'${D}//'
47729 ;;
47730 *)
47731 echo "error in basnam ${D}*"
47732 exit 8
47733 ;;
47734 esac
47735 }
47736
47737 # Cleanup temporary files and output
47738 CleanUp() {
47739 cd ${D}curDir
47740 for i in ${D}inputFiles ; do
47741 case ${D}i in
47742 *!)
47743 rm -rf \`basnam ${D}i !\`
47744 ;;
47745 *)
47746 ;;
47747 esac
47748 done
47749
47750 # Kill result in case of failure as there is just to many stupid make/nmake
47751 # things out there which doesn't do this.
47752 if [ ${D}# -eq 0 ]; then
47753 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47754 fi
47755 }
47756
47757 # Print usage and exit script with rc=1.
47758 PrintHelp() {
47759 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47760 echo ' [-name-mangler-script script.sh]'
47761 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47762 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47763 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47764 echo ' [*.o] [*.a]'
47765 echo '*> "output_file" should have no extension.'
47766 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47767 echo ' The import library name is derived from this and is set to "name".a,'
47768 echo ' unless overridden by -import'
47769 echo '*> "importlib_name" should have no extension.'
47770 echo ' If it has the .o, or .a extension, it is automatically removed.'
47771 echo ' This name is used as the import library name and may be longer and'
47772 echo ' more descriptive than the DLL name which has to follow the old '
47773 echo ' 8.3 convention of FAT.'
47774 echo '*> "script.sh may be given to override the output_file name by a'
47775 echo ' different name. It is mainly useful if the regular make process'
47776 echo ' of some package does not take into account OS/2 restriction of'
47777 echo ' DLL name lengths. It takes the importlib name as input and is'
47778 echo ' supposed to procude a shorter name as output. The script should'
47779 echo ' expect to get importlib_name without extension and should produce'
47780 echo ' a (max.) 8 letter name without extension.'
47781 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47782 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47783 echo ' These flags will be put at the start of GCC command line.'
47784 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47785 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47786 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47787 echo ' If the last character of a symbol is "*", all symbols beginning'
47788 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47789 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47790 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47791 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47792 echo ' C runtime DLLs.'
47793 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47794 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47795 echo ' unchanged to GCC at the end of command line.'
47796 echo '*> If you create a DLL from a library and you do not specify -o,'
47797 echo ' the basename for DLL and import library will be set to library name,'
47798 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47799 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47800 echo ' library will be renamed into gcc_s.a.'
47801 echo '--------'
47802 echo 'Example:'
47803 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47804 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47805 CleanUp
47806 exit 1
47807 }
47808
47809 # Execute a command.
47810 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47811 # @Uses Whatever CleanUp() uses.
47812 doCommand() {
47813 echo "${D}*"
47814 eval ${D}*
47815 rcCmd=${D}?
47816
47817 if [ ${D}rcCmd -ne 0 ]; then
47818 echo "command failed, exit code="${D}rcCmd
47819 CleanUp
47820 exit ${D}rcCmd
47821 fi
47822 }
47823
47824 # main routine
47825 # setup globals
47826 cmdLine=${D}*
47827 outFile=""
47828 outimpFile=""
47829 inputFiles=""
47830 renameScript=""
47831 description=""
47832 CC=gcc.exe
47833 CFLAGS="-s -Zcrtdll"
47834 EXTRA_CFLAGS=""
47835 EXPORT_BY_ORDINALS=0
47836 exclude_symbols=""
47837 library_flags=""
47838 curDir=\`pwd\`
47839 curDirS=curDir
47840 case ${D}curDirS in
47841 */)
47842 ;;
47843 *)
47844 curDirS=${D}{curDirS}"/"
47845 ;;
47846 esac
47847 # Parse commandline
47848 libsToLink=0
47849 omfLinking=0
47850 while [ ${D}1 ]; do
47851 case ${D}1 in
47852 -ord*)
47853 EXPORT_BY_ORDINALS=1;
47854 ;;
47855 -o*)
47856 shift
47857 outFile=${D}1
47858 ;;
47859 -i*)
47860 shift
47861 outimpFile=${D}1
47862 ;;
47863 -name-mangler-script)
47864 shift
47865 renameScript=${D}1
47866 ;;
47867 -d*)
47868 shift
47869 description=${D}1
47870 ;;
47871 -f*)
47872 shift
47873 CFLAGS=${D}1
47874 ;;
47875 -c*)
47876 shift
47877 CC=${D}1
47878 ;;
47879 -h*)
47880 PrintHelp
47881 ;;
47882 -ex*)
47883 shift
47884 exclude_symbols=${D}{exclude_symbols}${D}1" "
47885 ;;
47886 -libf*)
47887 shift
47888 library_flags=${D}{library_flags}${D}1" "
47889 ;;
47890 -nocrt*)
47891 CFLAGS="-s"
47892 ;;
47893 -nolxl*)
47894 flag_USE_LXLITE=0
47895 ;;
47896 -* | /*)
47897 case ${D}1 in
47898 -L* | -l*)
47899 libsToLink=1
47900 ;;
47901 -Zomf)
47902 omfLinking=1
47903 ;;
47904 *)
47905 ;;
47906 esac
47907 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47908 ;;
47909 *.dll)
47910 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47911 if [ ${D}omfLinking -eq 1 ]; then
47912 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47913 else
47914 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47915 fi
47916 ;;
47917 *)
47918 found=0;
47919 if [ ${D}libsToLink -ne 0 ]; then
47920 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47921 else
47922 for file in ${D}1 ; do
47923 if [ -f ${D}file ]; then
47924 inputFiles="${D}{inputFiles} ${D}file"
47925 found=1
47926 fi
47927 done
47928 if [ ${D}found -eq 0 ]; then
47929 echo "ERROR: No file(s) found: "${D}1
47930 exit 8
47931 fi
47932 fi
47933 ;;
47934 esac
47935 shift
47936 done # iterate cmdline words
47937
47938 #
47939 if [ -z "${D}inputFiles" ]; then
47940 echo "dllar: no input files"
47941 PrintHelp
47942 fi
47943
47944 # Now extract all .o files from .a files
47945 newInputFiles=""
47946 for file in ${D}inputFiles ; do
47947 case ${D}file in
47948 *.a | *.lib)
47949 case ${D}file in
47950 *.a)
47951 suffix=".a"
47952 AR="ar"
47953 ;;
47954 *.lib)
47955 suffix=".lib"
47956 AR="emxomfar"
47957 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47958 ;;
47959 *)
47960 ;;
47961 esac
47962 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47963 mkdir ${D}dirname
47964 if [ ${D}? -ne 0 ]; then
47965 echo "Failed to create subdirectory ./${D}dirname"
47966 CleanUp
47967 exit 8;
47968 fi
47969 # Append '!' to indicate archive
47970 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47971 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47972 cd ${D}curDir
47973 found=0;
47974 for subfile in ${D}dirname/*.o* ; do
47975 if [ -f ${D}subfile ]; then
47976 found=1
47977 if [ -s ${D}subfile ]; then
47978 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47979 newInputFiles="${D}newInputFiles ${D}subfile"
47980 fi
47981 fi
47982 done
47983 if [ ${D}found -eq 0 ]; then
47984 echo "WARNING: there are no files in archive \\'${D}file\\'"
47985 fi
47986 ;;
47987 *)
47988 newInputFiles="${D}{newInputFiles} ${D}file"
47989 ;;
47990 esac
47991 done
47992 inputFiles="${D}newInputFiles"
47993
47994 # Output filename(s).
47995 do_backup=0;
47996 if [ -z ${D}outFile ]; then
47997 do_backup=1;
47998 set outFile ${D}inputFiles; outFile=${D}2
47999 fi
48000
48001 # If it is an archive, remove the '!' and the '_%' suffixes
48002 case ${D}outFile in
48003 *_%!)
48004 outFile=\`basnam ${D}outFile _%!\`
48005 ;;
48006 *)
48007 ;;
48008 esac
48009 case ${D}outFile in
48010 *.dll)
48011 outFile=\`basnam ${D}outFile .dll\`
48012 ;;
48013 *.DLL)
48014 outFile=\`basnam ${D}outFile .DLL\`
48015 ;;
48016 *.o)
48017 outFile=\`basnam ${D}outFile .o\`
48018 ;;
48019 *.obj)
48020 outFile=\`basnam ${D}outFile .obj\`
48021 ;;
48022 *.a)
48023 outFile=\`basnam ${D}outFile .a\`
48024 ;;
48025 *.lib)
48026 outFile=\`basnam ${D}outFile .lib\`
48027 ;;
48028 *)
48029 ;;
48030 esac
48031 case ${D}outimpFile in
48032 *.a)
48033 outimpFile=\`basnam ${D}outimpFile .a\`
48034 ;;
48035 *.lib)
48036 outimpFile=\`basnam ${D}outimpFile .lib\`
48037 ;;
48038 *)
48039 ;;
48040 esac
48041 if [ -z ${D}outimpFile ]; then
48042 outimpFile=${D}outFile
48043 fi
48044 defFile="${D}{outFile}.def"
48045 arcFile="${D}{outimpFile}.a"
48046 arcFile2="${D}{outimpFile}.lib"
48047
48048 #create ${D}dllFile as something matching 8.3 restrictions,
48049 if [ -z ${D}renameScript ] ; then
48050 dllFile="${D}outFile"
48051 else
48052 dllFile=\`${D}renameScript ${D}outimpFile\`
48053 fi
48054
48055 if [ ${D}do_backup -ne 0 ] ; then
48056 if [ -f ${D}arcFile ] ; then
48057 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48058 fi
48059 if [ -f ${D}arcFile2 ] ; then
48060 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48061 fi
48062 fi
48063
48064 # Extract public symbols from all the object files.
48065 tmpdefFile=${D}{defFile}_%
48066 rm -f ${D}tmpdefFile
48067 for file in ${D}inputFiles ; do
48068 case ${D}file in
48069 *!)
48070 ;;
48071 *)
48072 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48073 ;;
48074 esac
48075 done
48076
48077 # Create the def file.
48078 rm -f ${D}defFile
48079 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48080 dllFile="${D}{dllFile}.dll"
48081 if [ ! -z ${D}description ]; then
48082 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48083 fi
48084 echo "EXPORTS" >> ${D}defFile
48085
48086 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48087 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48088
48089 # Checks if the export is ok or not.
48090 for word in ${D}exclude_symbols; do
48091 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48092 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48093 done
48094
48095
48096 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48097 sed "=" < ${D}tmpdefFile | \\
48098 sed '
48099 N
48100 : loop
48101 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48102 t loop
48103 ' > ${D}{tmpdefFile}%
48104 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48105 else
48106 rm -f ${D}{tmpdefFile}%
48107 fi
48108 cat ${D}tmpdefFile >> ${D}defFile
48109 rm -f ${D}tmpdefFile
48110
48111 # Do linking, create implib, and apply lxlite.
48112 gccCmdl="";
48113 for file in ${D}inputFiles ; do
48114 case ${D}file in
48115 *!)
48116 ;;
48117 *)
48118 gccCmdl="${D}gccCmdl ${D}file"
48119 ;;
48120 esac
48121 done
48122 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48123 touch "${D}{outFile}.dll"
48124
48125 doCommand "emximp -o ${D}arcFile ${D}defFile"
48126 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48127 add_flags="";
48128 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48129 add_flags="-ynd"
48130 fi
48131 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48132 fi
48133 doCommand "emxomf -s -l ${D}arcFile"
48134
48135 # Successful exit.
48136 CleanUp 1
48137 exit 0
48138 EOF
48139
48140 chmod +x dllar.sh
48141 ;;
48142
48143 powerpc-apple-macos* | \
48144 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48145 *-*-mirbsd* | \
48146 *-*-sunos4* | \
48147 *-*-osf* | \
48148 *-*-dgux5* | \
48149 *-*-sysv5* | \
48150 *-pc-msdosdjgpp )
48151 ;;
48152
48153 *)
48154 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48155 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48156 { (exit 1); exit 1; }; }
48157 esac
48158
48159 if test "x$PIC_FLAG" != "x" ; then
48160 PIC_FLAG="$PIC_FLAG -DPIC"
48161 fi
48162
48163 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48164 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48165 fi
48166 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48167 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48168 fi
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178 USE_SOVERSION=0
48179 USE_SOVERLINUX=0
48180 USE_SOVERSOLARIS=0
48181 USE_SOVERCYGWIN=0
48182 USE_SOSYMLINKS=0
48183 USE_MACVERSION=0
48184 SONAME_FLAG=
48185
48186 case "${BAKEFILE_HOST}" in
48187 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48188 if test "x$SUNCXX" = "xyes"; then
48189 SONAME_FLAG="-h "
48190 else
48191 SONAME_FLAG="-Wl,-soname,"
48192 fi
48193 USE_SOVERSION=1
48194 USE_SOVERLINUX=1
48195 USE_SOSYMLINKS=1
48196 ;;
48197
48198 *-*-solaris2* )
48199 SONAME_FLAG="-h "
48200 USE_SOVERSION=1
48201 USE_SOVERSOLARIS=1
48202 USE_SOSYMLINKS=1
48203 ;;
48204
48205 *-*-darwin* )
48206 USE_MACVERSION=1
48207 USE_SOVERSION=1
48208 USE_SOSYMLINKS=1
48209 ;;
48210
48211 *-*-cygwin* )
48212 USE_SOVERSION=1
48213 USE_SOVERCYGWIN=1
48214 ;;
48215 esac
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226 # Check whether --enable-dependency-tracking was given.
48227 if test "${enable_dependency_tracking+set}" = set; then
48228 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48229 fi
48230
48231
48232 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48233 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48234
48235 BK_DEPS=""
48236 if test "x$bk_use_trackdeps" = "xno" ; then
48237 DEPS_TRACKING=0
48238 { echo "$as_me:$LINENO: result: disabled" >&5
48239 echo "${ECHO_T}disabled" >&6; }
48240 else
48241 DEPS_TRACKING=1
48242
48243 if test "x$GCC" = "xyes"; then
48244 DEPSMODE=gcc
48245 case "${BAKEFILE_HOST}" in
48246 *-*-darwin* )
48247 DEPSFLAG="-no-cpp-precomp -MMD"
48248 ;;
48249 * )
48250 DEPSFLAG="-MMD"
48251 ;;
48252 esac
48253 { echo "$as_me:$LINENO: result: gcc" >&5
48254 echo "${ECHO_T}gcc" >&6; }
48255 elif test "x$MWCC" = "xyes"; then
48256 DEPSMODE=mwcc
48257 DEPSFLAG="-MM"
48258 { echo "$as_me:$LINENO: result: mwcc" >&5
48259 echo "${ECHO_T}mwcc" >&6; }
48260 elif test "x$SUNCC" = "xyes"; then
48261 DEPSMODE=unixcc
48262 DEPSFLAG="-xM1"
48263 { echo "$as_me:$LINENO: result: Sun cc" >&5
48264 echo "${ECHO_T}Sun cc" >&6; }
48265 elif test "x$SGICC" = "xyes"; then
48266 DEPSMODE=unixcc
48267 DEPSFLAG="-M"
48268 { echo "$as_me:$LINENO: result: SGI cc" >&5
48269 echo "${ECHO_T}SGI cc" >&6; }
48270 elif test "x$HPCC" = "xyes"; then
48271 DEPSMODE=unixcc
48272 DEPSFLAG="+make"
48273 { echo "$as_me:$LINENO: result: HP cc" >&5
48274 echo "${ECHO_T}HP cc" >&6; }
48275 elif test "x$COMPAQCC" = "xyes"; then
48276 DEPSMODE=gcc
48277 DEPSFLAG="-MD"
48278 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48279 echo "${ECHO_T}Compaq cc" >&6; }
48280 else
48281 DEPS_TRACKING=0
48282 { echo "$as_me:$LINENO: result: none" >&5
48283 echo "${ECHO_T}none" >&6; }
48284 fi
48285
48286 if test $DEPS_TRACKING = 1 ; then
48287
48288 D='$'
48289 cat <<EOF >bk-deps
48290 #!/bin/sh
48291
48292 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48293 # script. It is used to track C/C++ files dependencies in portable way.
48294 #
48295 # Permission is given to use this file in any way.
48296
48297 DEPSMODE=${DEPSMODE}
48298 DEPSDIR=.deps
48299 DEPSFLAG="${DEPSFLAG}"
48300
48301 mkdir -p ${D}DEPSDIR
48302
48303 if test ${D}DEPSMODE = gcc ; then
48304 ${D}* ${D}{DEPSFLAG}
48305 status=${D}?
48306 if test ${D}{status} != 0 ; then
48307 exit ${D}{status}
48308 fi
48309 # move created file to the location we want it in:
48310 while test ${D}# -gt 0; do
48311 case "${D}1" in
48312 -o )
48313 shift
48314 objfile=${D}1
48315 ;;
48316 -* )
48317 ;;
48318 * )
48319 srcfile=${D}1
48320 ;;
48321 esac
48322 shift
48323 done
48324 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48325 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48326 if test -f ${D}depfile ; then
48327 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48328 rm -f ${D}depfile
48329 else
48330 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48331 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48332 if test ! -f ${D}depfile ; then
48333 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48334 depfile="${D}objfile.d"
48335 fi
48336 if test -f ${D}depfile ; then
48337 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48338 rm -f ${D}depfile
48339 fi
48340 fi
48341 exit 0
48342 elif test ${D}DEPSMODE = mwcc ; then
48343 ${D}* || exit ${D}?
48344 # Run mwcc again with -MM and redirect into the dep file we want
48345 # NOTE: We can't use shift here because we need ${D}* to be valid
48346 prevarg=
48347 for arg in ${D}* ; do
48348 if test "${D}prevarg" = "-o"; then
48349 objfile=${D}arg
48350 else
48351 case "${D}arg" in
48352 -* )
48353 ;;
48354 * )
48355 srcfile=${D}arg
48356 ;;
48357 esac
48358 fi
48359 prevarg="${D}arg"
48360 done
48361 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48362 exit 0
48363 elif test ${D}DEPSMODE = unixcc; then
48364 ${D}* || exit ${D}?
48365 # Run compiler again with deps flag and redirect into the dep file.
48366 # It doesn't work if the '-o FILE' option is used, but without it the
48367 # dependency file will contain the wrong name for the object. So it is
48368 # removed from the command line, and the dep file is fixed with sed.
48369 cmd=""
48370 while test ${D}# -gt 0; do
48371 case "${D}1" in
48372 -o )
48373 shift
48374 objfile=${D}1
48375 ;;
48376 * )
48377 eval arg${D}#=\\${D}1
48378 cmd="${D}cmd \\${D}arg${D}#"
48379 ;;
48380 esac
48381 shift
48382 done
48383 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48384 exit 0
48385 else
48386 ${D}*
48387 exit ${D}?
48388 fi
48389 EOF
48390
48391 chmod +x bk-deps
48392 BK_DEPS="`pwd`/bk-deps"
48393 fi
48394 fi
48395
48396
48397
48398
48399
48400 case ${BAKEFILE_HOST} in
48401 *-*-cygwin* | *-*-mingw32* )
48402 if test -n "$ac_tool_prefix"; then
48403 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48404 set dummy ${ac_tool_prefix}windres; ac_word=$2
48405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48407 if test "${ac_cv_prog_WINDRES+set}" = set; then
48408 echo $ECHO_N "(cached) $ECHO_C" >&6
48409 else
48410 if test -n "$WINDRES"; then
48411 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48412 else
48413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48414 for as_dir in $PATH
48415 do
48416 IFS=$as_save_IFS
48417 test -z "$as_dir" && as_dir=.
48418 for ac_exec_ext in '' $ac_executable_extensions; do
48419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48420 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48422 break 2
48423 fi
48424 done
48425 done
48426 IFS=$as_save_IFS
48427
48428 fi
48429 fi
48430 WINDRES=$ac_cv_prog_WINDRES
48431 if test -n "$WINDRES"; then
48432 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48433 echo "${ECHO_T}$WINDRES" >&6; }
48434 else
48435 { echo "$as_me:$LINENO: result: no" >&5
48436 echo "${ECHO_T}no" >&6; }
48437 fi
48438
48439
48440 fi
48441 if test -z "$ac_cv_prog_WINDRES"; then
48442 ac_ct_WINDRES=$WINDRES
48443 # Extract the first word of "windres", so it can be a program name with args.
48444 set dummy windres; ac_word=$2
48445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48447 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48448 echo $ECHO_N "(cached) $ECHO_C" >&6
48449 else
48450 if test -n "$ac_ct_WINDRES"; then
48451 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48452 else
48453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48454 for as_dir in $PATH
48455 do
48456 IFS=$as_save_IFS
48457 test -z "$as_dir" && as_dir=.
48458 for ac_exec_ext in '' $ac_executable_extensions; do
48459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48460 ac_cv_prog_ac_ct_WINDRES="windres"
48461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48462 break 2
48463 fi
48464 done
48465 done
48466 IFS=$as_save_IFS
48467
48468 fi
48469 fi
48470 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48471 if test -n "$ac_ct_WINDRES"; then
48472 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48473 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48474 else
48475 { echo "$as_me:$LINENO: result: no" >&5
48476 echo "${ECHO_T}no" >&6; }
48477 fi
48478
48479 if test "x$ac_ct_WINDRES" = x; then
48480 WINDRES=""
48481 else
48482 case $cross_compiling:$ac_tool_warned in
48483 yes:)
48484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48485 whose name does not start with the host triplet. If you think this
48486 configuration is useful to you, please write to autoconf@gnu.org." >&5
48487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48488 whose name does not start with the host triplet. If you think this
48489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48490 ac_tool_warned=yes ;;
48491 esac
48492 WINDRES=$ac_ct_WINDRES
48493 fi
48494 else
48495 WINDRES="$ac_cv_prog_WINDRES"
48496 fi
48497
48498 ;;
48499
48500 *-*-darwin* | powerpc-apple-macos* )
48501 # Extract the first word of "Rez", so it can be a program name with args.
48502 set dummy Rez; ac_word=$2
48503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48505 if test "${ac_cv_prog_REZ+set}" = set; then
48506 echo $ECHO_N "(cached) $ECHO_C" >&6
48507 else
48508 if test -n "$REZ"; then
48509 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48510 else
48511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48512 for as_dir in $PATH
48513 do
48514 IFS=$as_save_IFS
48515 test -z "$as_dir" && as_dir=.
48516 for ac_exec_ext in '' $ac_executable_extensions; do
48517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48518 ac_cv_prog_REZ="Rez"
48519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48520 break 2
48521 fi
48522 done
48523 done
48524 IFS=$as_save_IFS
48525
48526 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48527 fi
48528 fi
48529 REZ=$ac_cv_prog_REZ
48530 if test -n "$REZ"; then
48531 { echo "$as_me:$LINENO: result: $REZ" >&5
48532 echo "${ECHO_T}$REZ" >&6; }
48533 else
48534 { echo "$as_me:$LINENO: result: no" >&5
48535 echo "${ECHO_T}no" >&6; }
48536 fi
48537
48538
48539 # Extract the first word of "SetFile", so it can be a program name with args.
48540 set dummy SetFile; ac_word=$2
48541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48543 if test "${ac_cv_prog_SETFILE+set}" = set; then
48544 echo $ECHO_N "(cached) $ECHO_C" >&6
48545 else
48546 if test -n "$SETFILE"; then
48547 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48548 else
48549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48550 for as_dir in $PATH
48551 do
48552 IFS=$as_save_IFS
48553 test -z "$as_dir" && as_dir=.
48554 for ac_exec_ext in '' $ac_executable_extensions; do
48555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48556 ac_cv_prog_SETFILE="SetFile"
48557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48558 break 2
48559 fi
48560 done
48561 done
48562 IFS=$as_save_IFS
48563
48564 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48565 fi
48566 fi
48567 SETFILE=$ac_cv_prog_SETFILE
48568 if test -n "$SETFILE"; then
48569 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48570 echo "${ECHO_T}$SETFILE" >&6; }
48571 else
48572 { echo "$as_me:$LINENO: result: no" >&5
48573 echo "${ECHO_T}no" >&6; }
48574 fi
48575
48576
48577 ;;
48578 esac
48579
48580
48581
48582
48583
48584
48585 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48586
48587
48588 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48589
48590
48591
48592 # Check whether --enable-precomp-headers was given.
48593 if test "${enable_precomp_headers+set}" = set; then
48594 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48595 fi
48596
48597
48598 GCC_PCH=0
48599 ICC_PCH=0
48600 USE_PCH=0
48601 BK_MAKE_PCH=""
48602
48603 case ${BAKEFILE_HOST} in
48604 *-*-cygwin* )
48605 bk_use_pch="no"
48606 ;;
48607 esac
48608
48609 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48610 if test "x$GCC" = "xyes"; then
48611 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48612 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48613 cat >conftest.$ac_ext <<_ACEOF
48614 /* confdefs.h. */
48615 _ACEOF
48616 cat confdefs.h >>conftest.$ac_ext
48617 cat >>conftest.$ac_ext <<_ACEOF
48618 /* end confdefs.h. */
48619
48620 int
48621 main ()
48622 {
48623
48624 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48625 There is no PCH support
48626 #endif
48627 #if (__GNUC__ < 3)
48628 There is no PCH support
48629 #endif
48630 #if (__GNUC__ == 3) && \
48631 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48632 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48633 ( defined(__INTEL_COMPILER) )
48634 There is no PCH support
48635 #endif
48636
48637 ;
48638 return 0;
48639 }
48640 _ACEOF
48641 rm -f conftest.$ac_objext
48642 if { (ac_try="$ac_compile"
48643 case "(($ac_try" in
48644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48645 *) ac_try_echo=$ac_try;;
48646 esac
48647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48648 (eval "$ac_compile") 2>conftest.er1
48649 ac_status=$?
48650 grep -v '^ *+' conftest.er1 >conftest.err
48651 rm -f conftest.er1
48652 cat conftest.err >&5
48653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48654 (exit $ac_status); } && {
48655 test -z "$ac_c_werror_flag" ||
48656 test ! -s conftest.err
48657 } && test -s conftest.$ac_objext; then
48658
48659 { echo "$as_me:$LINENO: result: yes" >&5
48660 echo "${ECHO_T}yes" >&6; }
48661 GCC_PCH=1
48662
48663 else
48664 echo "$as_me: failed program was:" >&5
48665 sed 's/^/| /' conftest.$ac_ext >&5
48666
48667
48668 cat >conftest.$ac_ext <<_ACEOF
48669 /* confdefs.h. */
48670 _ACEOF
48671 cat confdefs.h >>conftest.$ac_ext
48672 cat >>conftest.$ac_ext <<_ACEOF
48673 /* end confdefs.h. */
48674
48675 int
48676 main ()
48677 {
48678
48679 #if !defined(__INTEL_COMPILER) || \
48680 (__INTEL_COMPILER < 800)
48681 There is no PCH support
48682 #endif
48683
48684 ;
48685 return 0;
48686 }
48687 _ACEOF
48688 rm -f conftest.$ac_objext
48689 if { (ac_try="$ac_compile"
48690 case "(($ac_try" in
48691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48692 *) ac_try_echo=$ac_try;;
48693 esac
48694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48695 (eval "$ac_compile") 2>conftest.er1
48696 ac_status=$?
48697 grep -v '^ *+' conftest.er1 >conftest.err
48698 rm -f conftest.er1
48699 cat conftest.err >&5
48700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48701 (exit $ac_status); } && {
48702 test -z "$ac_c_werror_flag" ||
48703 test ! -s conftest.err
48704 } && test -s conftest.$ac_objext; then
48705
48706 { echo "$as_me:$LINENO: result: yes" >&5
48707 echo "${ECHO_T}yes" >&6; }
48708 ICC_PCH=1
48709
48710 else
48711 echo "$as_me: failed program was:" >&5
48712 sed 's/^/| /' conftest.$ac_ext >&5
48713
48714
48715 { echo "$as_me:$LINENO: result: no" >&5
48716 echo "${ECHO_T}no" >&6; }
48717
48718 fi
48719
48720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721
48722 fi
48723
48724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48725 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48726 USE_PCH=1
48727
48728 D='$'
48729 cat <<EOF >bk-make-pch
48730 #!/bin/sh
48731
48732 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48733 # script. It is used to generated precompiled headers.
48734 #
48735 # Permission is given to use this file in any way.
48736
48737 outfile="${D}{1}"
48738 header="${D}{2}"
48739 shift
48740 shift
48741
48742 compiler=""
48743 headerfile=""
48744
48745 while test ${D}{#} -gt 0; do
48746 add_to_cmdline=1
48747 case "${D}{1}" in
48748 -I* )
48749 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48750 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48751 headerfile="${D}{incdir}/${D}{header}"
48752 fi
48753 ;;
48754 -use-pch|-use_pch )
48755 shift
48756 add_to_cmdline=0
48757 ;;
48758 esac
48759 if test ${D}add_to_cmdline = 1 ; then
48760 compiler="${D}{compiler} ${D}{1}"
48761 fi
48762 shift
48763 done
48764
48765 if test "x${D}{headerfile}" = "x" ; then
48766 echo "error: can't find header ${D}{header} in include paths" >&2
48767 else
48768 if test -f ${D}{outfile} ; then
48769 rm -f ${D}{outfile}
48770 else
48771 mkdir -p \`dirname ${D}{outfile}\`
48772 fi
48773 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48774 mkdir -p .deps
48775 if test "x${GCC_PCH}" = "x1" ; then
48776 # can do this because gcc is >= 3.4:
48777 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48778 elif test "x${ICC_PCH}" = "x1" ; then
48779 filename=pch_gen-${D}${D}
48780 file=${D}{filename}.c
48781 dfile=${D}{filename}.d
48782 cat > ${D}file <<EOT
48783 #include "${D}header"
48784 EOT
48785 # using -MF icc complains about differing command lines in creation/use
48786 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48787 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48788 rm -f ${D}file ${D}dfile ${D}{filename}.o
48789 fi
48790 exit ${D}{?}
48791 fi
48792 EOF
48793
48794 chmod +x bk-make-pch
48795 BK_MAKE_PCH="`pwd`/bk-make-pch"
48796 fi
48797 fi
48798 fi
48799
48800
48801
48802
48803
48804 COND_BUILD_DEBUG="#"
48805 if test "x$BUILD" = "xdebug" ; then
48806 COND_BUILD_DEBUG=""
48807 fi
48808
48809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48810 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48812 fi
48813
48814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48815 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48816 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48817 fi
48818
48819 COND_BUILD_DEBUG_UNICODE_0="#"
48820 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48821 COND_BUILD_DEBUG_UNICODE_0=""
48822 fi
48823
48824 COND_BUILD_DEBUG_UNICODE_1="#"
48825 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48826 COND_BUILD_DEBUG_UNICODE_1=""
48827 fi
48828
48829 COND_BUILD_RELEASE="#"
48830 if test "x$BUILD" = "xrelease" ; then
48831 COND_BUILD_RELEASE=""
48832 fi
48833
48834 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48835 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48836 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48837 fi
48838
48839 COND_BUILD_RELEASE_UNICODE_0="#"
48840 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48841 COND_BUILD_RELEASE_UNICODE_0=""
48842 fi
48843
48844 COND_BUILD_RELEASE_UNICODE_1="#"
48845 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48846 COND_BUILD_RELEASE_UNICODE_1=""
48847 fi
48848
48849 COND_DEBUG_FLAG_1="#"
48850 if test "x$DEBUG_FLAG" = "x1" ; then
48851 COND_DEBUG_FLAG_1=""
48852 fi
48853
48854 COND_DEBUG_INFO_0="#"
48855 if test "x$DEBUG_INFO" = "x0" ; then
48856 COND_DEBUG_INFO_0=""
48857 fi
48858
48859 COND_DEBUG_INFO_1="#"
48860 if test "x$DEBUG_INFO" = "x1" ; then
48861 COND_DEBUG_INFO_1=""
48862 fi
48863
48864 COND_DEPS_TRACKING_0="#"
48865 if test "x$DEPS_TRACKING" = "x0" ; then
48866 COND_DEPS_TRACKING_0=""
48867 fi
48868
48869 COND_DEPS_TRACKING_1="#"
48870 if test "x$DEPS_TRACKING" = "x1" ; then
48871 COND_DEPS_TRACKING_1=""
48872 fi
48873
48874 COND_GCC_PCH_1="#"
48875 if test "x$GCC_PCH" = "x1" ; then
48876 COND_GCC_PCH_1=""
48877 fi
48878
48879 COND_ICC_PCH_1="#"
48880 if test "x$ICC_PCH" = "x1" ; then
48881 COND_ICC_PCH_1=""
48882 fi
48883
48884 COND_MONOLITHIC_0="#"
48885 if test "x$MONOLITHIC" = "x0" ; then
48886 COND_MONOLITHIC_0=""
48887 fi
48888
48889 COND_MONOLITHIC_0_SHARED_0="#"
48890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48891 COND_MONOLITHIC_0_SHARED_0=""
48892 fi
48893
48894 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48896 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48897 fi
48898
48899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48901 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48902 fi
48903
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48907 fi
48908
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48912 fi
48913
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48917 fi
48918
48919 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48921 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48922 fi
48923
48924 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48926 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48927 fi
48928
48929 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48931 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48932 fi
48933
48934 COND_MONOLITHIC_0_SHARED_1="#"
48935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48936 COND_MONOLITHIC_0_SHARED_1=""
48937 fi
48938
48939 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48941 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48942 fi
48943
48944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48947 fi
48948
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48952 fi
48953
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48957 fi
48958
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48962 fi
48963
48964 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48966 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48967 fi
48968
48969 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48971 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48972 fi
48973
48974 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48976 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48977 fi
48978
48979 COND_MONOLITHIC_0_USE_AUI_1="#"
48980 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48981 COND_MONOLITHIC_0_USE_AUI_1=""
48982 fi
48983
48984 COND_MONOLITHIC_0_USE_GUI_1="#"
48985 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48986 COND_MONOLITHIC_0_USE_GUI_1=""
48987 fi
48988
48989 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48990 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48991 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48992 fi
48993
48994 COND_MONOLITHIC_0_USE_HTML_1="#"
48995 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48996 COND_MONOLITHIC_0_USE_HTML_1=""
48997 fi
48998
48999 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49000 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49001 COND_MONOLITHIC_0_USE_MEDIA_1=""
49002 fi
49003
49004 COND_MONOLITHIC_0_USE_QA_1="#"
49005 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49006 COND_MONOLITHIC_0_USE_QA_1=""
49007 fi
49008
49009 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49010 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49011 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49012 fi
49013
49014 COND_MONOLITHIC_0_USE_STC_1="#"
49015 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49016 COND_MONOLITHIC_0_USE_STC_1=""
49017 fi
49018
49019 COND_MONOLITHIC_0_USE_XRC_1="#"
49020 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49021 COND_MONOLITHIC_0_USE_XRC_1=""
49022 fi
49023
49024 COND_MONOLITHIC_1="#"
49025 if test "x$MONOLITHIC" = "x1" ; then
49026 COND_MONOLITHIC_1=""
49027 fi
49028
49029 COND_MONOLITHIC_1_SHARED_0="#"
49030 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49031 COND_MONOLITHIC_1_SHARED_0=""
49032 fi
49033
49034 COND_MONOLITHIC_1_SHARED_1="#"
49035 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49036 COND_MONOLITHIC_1_SHARED_1=""
49037 fi
49038
49039 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49040 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49041 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49042 fi
49043
49044 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49045 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49046 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49047 fi
49048
49049 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49050 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49051 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49052 fi
49053
49054 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49055 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49056 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49057 fi
49058
49059 COND_PLATFORM_MACOSX_1="#"
49060 if test "x$PLATFORM_MACOSX" = "x1" ; then
49061 COND_PLATFORM_MACOSX_1=""
49062 fi
49063
49064 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49065 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49066 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49067 fi
49068
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49071 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49072 fi
49073
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49076 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49077 fi
49078
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49081 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49082 fi
49083
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49087 fi
49088
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49091 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49092 fi
49093
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49096 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49097 fi
49098
49099 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49101 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49102 fi
49103
49104 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49107 fi
49108
49109 COND_PLATFORM_MACOS_1="#"
49110 if test "x$PLATFORM_MACOS" = "x1" ; then
49111 COND_PLATFORM_MACOS_1=""
49112 fi
49113
49114 COND_PLATFORM_MAC_1="#"
49115 if test "x$PLATFORM_MAC" = "x1" ; then
49116 COND_PLATFORM_MAC_1=""
49117 fi
49118
49119 COND_PLATFORM_MSDOS_0="#"
49120 if test "x$PLATFORM_MSDOS" = "x0" ; then
49121 COND_PLATFORM_MSDOS_0=""
49122 fi
49123
49124 COND_PLATFORM_MSDOS_1="#"
49125 if test "x$PLATFORM_MSDOS" = "x1" ; then
49126 COND_PLATFORM_MSDOS_1=""
49127 fi
49128
49129 COND_PLATFORM_OS2_1="#"
49130 if test "x$PLATFORM_OS2" = "x1" ; then
49131 COND_PLATFORM_OS2_1=""
49132 fi
49133
49134 COND_PLATFORM_UNIX_0="#"
49135 if test "x$PLATFORM_UNIX" = "x0" ; then
49136 COND_PLATFORM_UNIX_0=""
49137 fi
49138
49139 COND_PLATFORM_UNIX_1="#"
49140 if test "x$PLATFORM_UNIX" = "x1" ; then
49141 COND_PLATFORM_UNIX_1=""
49142 fi
49143
49144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49145 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49146 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49147 fi
49148
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49150 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49152 fi
49153
49154 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49155 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49156 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49157 fi
49158
49159 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49160 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49161 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49162 fi
49163
49164 COND_PLATFORM_WIN32_0="#"
49165 if test "x$PLATFORM_WIN32" = "x0" ; then
49166 COND_PLATFORM_WIN32_0=""
49167 fi
49168
49169 COND_PLATFORM_WIN32_1="#"
49170 if test "x$PLATFORM_WIN32" = "x1" ; then
49171 COND_PLATFORM_WIN32_1=""
49172 fi
49173
49174 COND_SHARED_0="#"
49175 if test "x$SHARED" = "x0" ; then
49176 COND_SHARED_0=""
49177 fi
49178
49179 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49180 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49181 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49182 fi
49183
49184 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49185 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49186 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49187 fi
49188
49189 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49190 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49191 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49192 fi
49193
49194 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49195 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49196 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49197 fi
49198
49199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49200 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49201 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49202 fi
49203
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49205 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49206 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49207 fi
49208
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49210 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49211 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49212 fi
49213
49214 COND_SHARED_0_USE_STC_1="#"
49215 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49216 COND_SHARED_0_USE_STC_1=""
49217 fi
49218
49219 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49220 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49221 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49222 fi
49223
49224 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49225 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49226 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49227 fi
49228
49229 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49230 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49231 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49232 fi
49233
49234 COND_SHARED_1="#"
49235 if test "x$SHARED" = "x1" ; then
49236 COND_SHARED_1=""
49237 fi
49238
49239 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49240 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49241 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49242 fi
49243
49244 COND_TOOLKIT_="#"
49245 if test "x$TOOLKIT" = "x" ; then
49246 COND_TOOLKIT_=""
49247 fi
49248
49249 COND_TOOLKIT_COCOA="#"
49250 if test "x$TOOLKIT" = "xCOCOA" ; then
49251 COND_TOOLKIT_COCOA=""
49252 fi
49253
49254 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49255 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49256 COND_TOOLKIT_COCOA_USE_GUI_1=""
49257 fi
49258
49259 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49260 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49261 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49262 fi
49263
49264 COND_TOOLKIT_DFB="#"
49265 if test "x$TOOLKIT" = "xDFB" ; then
49266 COND_TOOLKIT_DFB=""
49267 fi
49268
49269 COND_TOOLKIT_DFB_USE_GUI_1="#"
49270 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49271 COND_TOOLKIT_DFB_USE_GUI_1=""
49272 fi
49273
49274 COND_TOOLKIT_GTK="#"
49275 if test "x$TOOLKIT" = "xGTK" ; then
49276 COND_TOOLKIT_GTK=""
49277 fi
49278
49279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49280 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49281 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49282 fi
49283
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49285 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49287 fi
49288
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49290 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49292 fi
49293
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49295 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49297 fi
49298
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49300 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49302 fi
49303
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49305 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49306 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49307 fi
49308
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49310 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49311 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49312 fi
49313
49314 COND_TOOLKIT_GTK_USE_GUI_1="#"
49315 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49316 COND_TOOLKIT_GTK_USE_GUI_1=""
49317 fi
49318
49319 COND_TOOLKIT_MAC="#"
49320 if test "x$TOOLKIT" = "xMAC" ; then
49321 COND_TOOLKIT_MAC=""
49322 fi
49323
49324 COND_TOOLKIT_MAC_USE_GUI_1="#"
49325 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49326 COND_TOOLKIT_MAC_USE_GUI_1=""
49327 fi
49328
49329 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49330 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49331 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49332 fi
49333
49334 COND_TOOLKIT_MGL="#"
49335 if test "x$TOOLKIT" = "xMGL" ; then
49336 COND_TOOLKIT_MGL=""
49337 fi
49338
49339 COND_TOOLKIT_MGL_USE_GUI_1="#"
49340 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49341 COND_TOOLKIT_MGL_USE_GUI_1=""
49342 fi
49343
49344 COND_TOOLKIT_MOTIF="#"
49345 if test "x$TOOLKIT" = "xMOTIF" ; then
49346 COND_TOOLKIT_MOTIF=""
49347 fi
49348
49349 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49350 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49351 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49352 fi
49353
49354 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49355 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49356 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49357 fi
49358
49359 COND_TOOLKIT_MSW="#"
49360 if test "x$TOOLKIT" = "xMSW" ; then
49361 COND_TOOLKIT_MSW=""
49362 fi
49363
49364 COND_TOOLKIT_MSW_USE_GUI_1="#"
49365 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49366 COND_TOOLKIT_MSW_USE_GUI_1=""
49367 fi
49368
49369 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49370 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49371 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49372 fi
49373
49374 COND_TOOLKIT_MSW_WXUNIV_0="#"
49375 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49376 COND_TOOLKIT_MSW_WXUNIV_0=""
49377 fi
49378
49379 COND_TOOLKIT_PM="#"
49380 if test "x$TOOLKIT" = "xPM" ; then
49381 COND_TOOLKIT_PM=""
49382 fi
49383
49384 COND_TOOLKIT_PM_USE_GUI_1="#"
49385 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49386 COND_TOOLKIT_PM_USE_GUI_1=""
49387 fi
49388
49389 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49390 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49391 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49392 fi
49393
49394 COND_TOOLKIT_WINCE="#"
49395 if test "x$TOOLKIT" = "xWINCE" ; then
49396 COND_TOOLKIT_WINCE=""
49397 fi
49398
49399 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49400 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49401 COND_TOOLKIT_WINCE_USE_GUI_1=""
49402 fi
49403
49404 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49405 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49406 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49407 fi
49408
49409 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49410 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49411 COND_TOOLKIT_WINCE_WXUNIV_0=""
49412 fi
49413
49414 COND_TOOLKIT_X11="#"
49415 if test "x$TOOLKIT" = "xX11" ; then
49416 COND_TOOLKIT_X11=""
49417 fi
49418
49419 COND_TOOLKIT_X11_USE_GUI_1="#"
49420 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49421 COND_TOOLKIT_X11_USE_GUI_1=""
49422 fi
49423
49424 COND_UNICODE_1="#"
49425 if test "x$UNICODE" = "x1" ; then
49426 COND_UNICODE_1=""
49427 fi
49428
49429 COND_USE_EXCEPTIONS_0="#"
49430 if test "x$USE_EXCEPTIONS" = "x0" ; then
49431 COND_USE_EXCEPTIONS_0=""
49432 fi
49433
49434 COND_USE_EXCEPTIONS_1="#"
49435 if test "x$USE_EXCEPTIONS" = "x1" ; then
49436 COND_USE_EXCEPTIONS_1=""
49437 fi
49438
49439 COND_USE_GUI_0="#"
49440 if test "x$USE_GUI" = "x0" ; then
49441 COND_USE_GUI_0=""
49442 fi
49443
49444 COND_USE_GUI_1="#"
49445 if test "x$USE_GUI" = "x1" ; then
49446 COND_USE_GUI_1=""
49447 fi
49448
49449 COND_USE_GUI_1_USE_OPENGL_1="#"
49450 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49451 COND_USE_GUI_1_USE_OPENGL_1=""
49452 fi
49453
49454 COND_USE_GUI_1_WXUNIV_0="#"
49455 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49456 COND_USE_GUI_1_WXUNIV_0=""
49457 fi
49458
49459 COND_USE_GUI_1_WXUNIV_1="#"
49460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49461 COND_USE_GUI_1_WXUNIV_1=""
49462 fi
49463
49464 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49465 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49466 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49467 fi
49468
49469 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49471 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49472 fi
49473
49474 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49476 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49477 fi
49478
49479 COND_USE_OPENGL_1="#"
49480 if test "x$USE_OPENGL" = "x1" ; then
49481 COND_USE_OPENGL_1=""
49482 fi
49483
49484 COND_USE_PCH_1="#"
49485 if test "x$USE_PCH" = "x1" ; then
49486 COND_USE_PCH_1=""
49487 fi
49488
49489 COND_USE_PLUGINS_0="#"
49490 if test "x$USE_PLUGINS" = "x0" ; then
49491 COND_USE_PLUGINS_0=""
49492 fi
49493
49494 COND_USE_RTTI_0="#"
49495 if test "x$USE_RTTI" = "x0" ; then
49496 COND_USE_RTTI_0=""
49497 fi
49498
49499 COND_USE_RTTI_1="#"
49500 if test "x$USE_RTTI" = "x1" ; then
49501 COND_USE_RTTI_1=""
49502 fi
49503
49504 COND_USE_SOSYMLINKS_1="#"
49505 if test "x$USE_SOSYMLINKS" = "x1" ; then
49506 COND_USE_SOSYMLINKS_1=""
49507 fi
49508
49509 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49510 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49511 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49512 fi
49513
49514 COND_USE_SOVERLINUX_1="#"
49515 if test "x$USE_SOVERLINUX" = "x1" ; then
49516 COND_USE_SOVERLINUX_1=""
49517 fi
49518
49519 COND_USE_SOVERSION_0="#"
49520 if test "x$USE_SOVERSION" = "x0" ; then
49521 COND_USE_SOVERSION_0=""
49522 fi
49523
49524 COND_USE_SOVERSOLARIS_1="#"
49525 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49526 COND_USE_SOVERSOLARIS_1=""
49527 fi
49528
49529 COND_USE_STC_1="#"
49530 if test "x$USE_STC" = "x1" ; then
49531 COND_USE_STC_1=""
49532 fi
49533
49534 COND_USE_THREADS_0="#"
49535 if test "x$USE_THREADS" = "x0" ; then
49536 COND_USE_THREADS_0=""
49537 fi
49538
49539 COND_USE_THREADS_1="#"
49540 if test "x$USE_THREADS" = "x1" ; then
49541 COND_USE_THREADS_1=""
49542 fi
49543
49544 COND_USE_XRC_1="#"
49545 if test "x$USE_XRC" = "x1" ; then
49546 COND_USE_XRC_1=""
49547 fi
49548
49549 COND_WINDOWS_IMPLIB_1="#"
49550 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49551 COND_WINDOWS_IMPLIB_1=""
49552 fi
49553
49554 COND_WITH_PLUGIN_SDL_1="#"
49555 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49556 COND_WITH_PLUGIN_SDL_1=""
49557 fi
49558
49559 COND_WXUNIV_0="#"
49560 if test "x$WXUNIV" = "x0" ; then
49561 COND_WXUNIV_0=""
49562 fi
49563
49564 COND_WXUNIV_1="#"
49565 if test "x$WXUNIV" = "x1" ; then
49566 COND_WXUNIV_1=""
49567 fi
49568
49569 COND_WXUSE_EXPAT_BUILTIN="#"
49570 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49571 COND_WXUSE_EXPAT_BUILTIN=""
49572 fi
49573
49574 COND_WXUSE_LIBJPEG_BUILTIN="#"
49575 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49576 COND_WXUSE_LIBJPEG_BUILTIN=""
49577 fi
49578
49579 COND_WXUSE_LIBPNG_BUILTIN="#"
49580 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49581 COND_WXUSE_LIBPNG_BUILTIN=""
49582 fi
49583
49584 COND_WXUSE_LIBTIFF_BUILTIN="#"
49585 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49586 COND_WXUSE_LIBTIFF_BUILTIN=""
49587 fi
49588
49589 COND_WXUSE_REGEX_BUILTIN="#"
49590 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49591 COND_WXUSE_REGEX_BUILTIN=""
49592 fi
49593
49594 COND_WXUSE_ZLIB_BUILTIN="#"
49595 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49596 COND_WXUSE_ZLIB_BUILTIN=""
49597 fi
49598
49599
49600
49601 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49602 { { 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
49603 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;}
49604 { (exit 1); exit 1; }; }
49605 fi
49606
49607 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49608 { { 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
49609 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;}
49610 { (exit 1); exit 1; }; }
49611 fi
49612
49613
49614 case ${INSTALL} in
49615 /* ) # Absolute
49616 ;;
49617 ?:* ) # Drive letter, considered as absolute.
49618 ;;
49619 *)
49620 INSTALL=`pwd`/${INSTALL} ;;
49621 esac
49622
49623 if test "$wxUSE_GUI" = "yes"; then
49624
49625 if test "$wxUSE_MSW" = 1 ; then
49626 if test "x$WINDRES" = "x"; then
49627 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49628 echo "$as_me: error: Required windres program not found" >&2;}
49629 { (exit 1); exit 1; }; }
49630 fi
49631
49632 RESCOMP="$WINDRES"
49633 fi
49634
49635 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49636 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49637 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49638
49639 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49640
49641 # Extract the first word of "DeRez", so it can be a program name with args.
49642 set dummy DeRez; ac_word=$2
49643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49645 if test "${ac_cv_prog_DEREZ+set}" = set; then
49646 echo $ECHO_N "(cached) $ECHO_C" >&6
49647 else
49648 if test -n "$DEREZ"; then
49649 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49650 else
49651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49652 for as_dir in $PATH
49653 do
49654 IFS=$as_save_IFS
49655 test -z "$as_dir" && as_dir=.
49656 for ac_exec_ext in '' $ac_executable_extensions; do
49657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49658 ac_cv_prog_DEREZ="DeRez"
49659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49660 break 2
49661 fi
49662 done
49663 done
49664 IFS=$as_save_IFS
49665
49666 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49667 fi
49668 fi
49669 DEREZ=$ac_cv_prog_DEREZ
49670 if test -n "$DEREZ"; then
49671 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49672 echo "${ECHO_T}$DEREZ" >&6; }
49673 else
49674 { echo "$as_me:$LINENO: result: no" >&5
49675 echo "${ECHO_T}no" >&6; }
49676 fi
49677
49678
49679
49680 MACSETFILE="\$(SETFILE)"
49681
49682 if test "$wxUSE_MAC" = 1; then
49683 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49684 RESCOMP="$REZ"
49685 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49686 else
49687 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49688 RESCOMP="cat /dev/null \| $REZ"
49689 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49690 fi
49691
49692 else
49693 MACSETFILE="@true"
49694
49695 if test "$wxUSE_PM" = 1; then
49696 RESCOMP="emxbind"
49697 WXCONFIG_RESFLAGS="-ep"
49698
49699 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49700 else
49701 POSTLINK_COMMAND="@true"
49702 fi
49703 fi
49704
49705 fi
49706
49707
49708 if test $GCC_PCH = 1
49709 then
49710 if test "$wx_cv_gcc_pch_bug" = yes; then
49711 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49712 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49713 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49714 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49715 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49716 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49717 fi
49718
49719 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49720 fi
49721
49722
49723 if test "$wxUSE_MAC" = 1 ; then
49724 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49725 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49726 mv temp bk-deps
49727 chmod +x bk-deps
49728 fi
49729 fi
49730
49731 if test "$wxUSE_SHARED" = "yes"; then
49732 case "${host}" in
49733 *-pc-os2_emx | *-pc-os2-emx )
49734 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49735 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49736 cp -p ${srcdir}/src/os2/dllnames.sh .
49737 cp -p ${srcdir}/src/os2/dllar.sh .
49738 ;;
49739 esac
49740 fi
49741 if test "$wxUSE_OMF" = "yes"; then
49742 case "${host}" in
49743 *-pc-os2_emx | *-pc-os2-emx )
49744 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49745 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49746 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49747 ;;
49748 esac
49749 fi
49750
49751 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49752
49753
49754 case "${host}" in
49755 *-*-solaris2* )
49756 if test "$GCC" = yes; then
49757 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49758 LIBS=`echo $LIBS | sed 's/-mt//'`
49759 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49760 fi
49761 ;;
49762
49763 *-*-linux* )
49764 if test "x$SUNCXX" = xyes; then
49765 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49766 LIBS=`echo $LIBS | sed 's/-pthread//'`
49767 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49768 fi
49769 ;;
49770 esac
49771
49772 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49773 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49774
49775 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49837 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49838 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49839 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49840 echo $ECHO_N "(cached) $ECHO_C" >&6
49841 else
49842 cat >conftest.make <<\_ACEOF
49843 SHELL = /bin/sh
49844 all:
49845 @echo '@@@%%%=$(MAKE)=@@@%%%'
49846 _ACEOF
49847 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49848 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49849 *@@@%%%=?*=@@@%%%*)
49850 eval ac_cv_prog_make_${ac_make}_set=yes;;
49851 *)
49852 eval ac_cv_prog_make_${ac_make}_set=no;;
49853 esac
49854 rm -f conftest.make
49855 fi
49856 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49857 { echo "$as_me:$LINENO: result: yes" >&5
49858 echo "${ECHO_T}yes" >&6; }
49859 SET_MAKE=
49860 else
49861 { echo "$as_me:$LINENO: result: no" >&5
49862 echo "${ECHO_T}no" >&6; }
49863 SET_MAKE="MAKE=${MAKE-make}"
49864 fi
49865
49866
49867
49868 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49869
49870
49871 if test "$USE_WIN32" = 1; then
49872 ac_config_commands="$ac_config_commands
49873 rcdefs.h
49874 "
49875
49876 fi
49877
49878 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49879
49880
49881 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49882
49883
49884 if test "$wx_cv_version_script" = "yes"; then
49885 ac_config_files="$ac_config_files version-script"
49886
49887 fi
49888 ac_config_files="$ac_config_files Makefile"
49889
49890
49891 ac_config_commands="$ac_config_commands wx-config"
49892
49893
49894
49895 if test "$wxWITH_SUBDIRS" != "no"; then
49896 if test "$wxUSE_GUI" = "yes"; then
49897 SUBDIRS="samples demos utils"
49898 else
49899 SUBDIRS="samples utils"
49900 fi
49901
49902
49903
49904 # Check whether --with-cppunit-prefix was given.
49905 if test "${with_cppunit_prefix+set}" = set; then
49906 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49907 else
49908 cppunit_config_prefix=""
49909 fi
49910
49911
49912 # Check whether --with-cppunit-exec-prefix was given.
49913 if test "${with_cppunit_exec_prefix+set}" = set; then
49914 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49915 else
49916 cppunit_config_exec_prefix=""
49917 fi
49918
49919
49920 if test x$cppunit_config_exec_prefix != x ; then
49921 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49922 if test x${CPPUNIT_CONFIG+set} != xset ; then
49923 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49924 fi
49925 fi
49926 if test x$cppunit_config_prefix != x ; then
49927 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49928 if test x${CPPUNIT_CONFIG+set} != xset ; then
49929 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49930 fi
49931 fi
49932
49933 # Extract the first word of "cppunit-config", so it can be a program name with args.
49934 set dummy cppunit-config; ac_word=$2
49935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49937 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49938 echo $ECHO_N "(cached) $ECHO_C" >&6
49939 else
49940 case $CPPUNIT_CONFIG in
49941 [\\/]* | ?:[\\/]*)
49942 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49943 ;;
49944 *)
49945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49946 for as_dir in $PATH
49947 do
49948 IFS=$as_save_IFS
49949 test -z "$as_dir" && as_dir=.
49950 for ac_exec_ext in '' $ac_executable_extensions; do
49951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49952 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49954 break 2
49955 fi
49956 done
49957 done
49958 IFS=$as_save_IFS
49959
49960 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49961 ;;
49962 esac
49963 fi
49964 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49965 if test -n "$CPPUNIT_CONFIG"; then
49966 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49967 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49968 else
49969 { echo "$as_me:$LINENO: result: no" >&5
49970 echo "${ECHO_T}no" >&6; }
49971 fi
49972
49973
49974 cppunit_version_min=1.8.0
49975
49976 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49977 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49978 no_cppunit=""
49979 if test "$CPPUNIT_CONFIG" = "no" ; then
49980 { echo "$as_me:$LINENO: result: no" >&5
49981 echo "${ECHO_T}no" >&6; }
49982 no_cppunit=yes
49983 else
49984 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49985 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49986 cppunit_version=`$CPPUNIT_CONFIG --version`
49987
49988 cppunit_major_version=`echo $cppunit_version | \
49989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49990 cppunit_minor_version=`echo $cppunit_version | \
49991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49992 cppunit_micro_version=`echo $cppunit_version | \
49993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49994
49995 cppunit_major_min=`echo $cppunit_version_min | \
49996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49997 cppunit_minor_min=`echo $cppunit_version_min | \
49998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49999 cppunit_micro_min=`echo $cppunit_version_min | \
50000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50001
50002 cppunit_version_proper=`expr \
50003 $cppunit_major_version \> $cppunit_major_min \| \
50004 $cppunit_major_version \= $cppunit_major_min \& \
50005 $cppunit_minor_version \> $cppunit_minor_min \| \
50006 $cppunit_major_version \= $cppunit_major_min \& \
50007 $cppunit_minor_version \= $cppunit_minor_min \& \
50008 $cppunit_micro_version \>= $cppunit_micro_min `
50009
50010 if test "$cppunit_version_proper" = "1" ; then
50011 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50012 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50013 else
50014 { echo "$as_me:$LINENO: result: no" >&5
50015 echo "${ECHO_T}no" >&6; }
50016 no_cppunit=yes
50017 fi
50018 fi
50019
50020 if test "x$no_cppunit" = x ; then
50021 SUBDIRS="$SUBDIRS tests"
50022 else
50023 CPPUNIT_CFLAGS=""
50024 CPPUNIT_LIBS=""
50025 :
50026 fi
50027
50028
50029
50030
50031
50032 for subdir in $SUBDIRS; do
50033 if test -d ${srcdir}/${subdir} ; then
50034 if test "$wxUSE_GUI" = "yes"; then
50035 if test ${subdir} = "samples"; then
50036 makefiles="samples/Makefile.in $makefiles"
50037 for sample in $SAMPLES_SUBDIRS; do
50038 if test -d $srcdir/samples/$sample; then
50039 makefiles="samples/$sample/Makefile.in $makefiles"
50040 fi
50041 done
50042 else
50043 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50044 eval "disabled=\$$disabled_var"
50045 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50046 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50047 fi
50048 else
50049 if test ${subdir} = "samples"; then
50050 makefiles="samples/Makefile.in $makefiles"
50051 for sample in `echo $SAMPLES_SUBDIRS`; do
50052 if test -d $srcdir/samples/$sample; then
50053 makefiles="samples/$sample/Makefile.in $makefiles"
50054 fi
50055 done
50056 elif test ${subdir} = "utils"; then
50057 makefiles=""
50058 for util in HelpGen tex2rtf ; do
50059 if test -d $srcdir/utils/$util ; then
50060 makefiles="utils/$util/Makefile.in \
50061 utils/$util/src/Makefile.in \
50062 $makefiles"
50063 fi
50064 done
50065 else
50066 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50067 fi
50068 fi
50069
50070 for mkin in $makefiles ; do
50071 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50072 ac_config_files="$ac_config_files $mk"
50073
50074 done
50075 fi
50076 done
50077 fi
50078 cat >confcache <<\_ACEOF
50079 # This file is a shell script that caches the results of configure
50080 # tests run on this system so they can be shared between configure
50081 # scripts and configure runs, see configure's option --config-cache.
50082 # It is not useful on other systems. If it contains results you don't
50083 # want to keep, you may remove or edit it.
50084 #
50085 # config.status only pays attention to the cache file if you give it
50086 # the --recheck option to rerun configure.
50087 #
50088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50090 # following values.
50091
50092 _ACEOF
50093
50094 # The following way of writing the cache mishandles newlines in values,
50095 # but we know of no workaround that is simple, portable, and efficient.
50096 # So, we kill variables containing newlines.
50097 # Ultrix sh set writes to stderr and can't be redirected directly,
50098 # and sets the high bit in the cache file unless we assign to the vars.
50099 (
50100 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50101 eval ac_val=\$$ac_var
50102 case $ac_val in #(
50103 *${as_nl}*)
50104 case $ac_var in #(
50105 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50106 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50107 esac
50108 case $ac_var in #(
50109 _ | IFS | as_nl) ;; #(
50110 *) $as_unset $ac_var ;;
50111 esac ;;
50112 esac
50113 done
50114
50115 (set) 2>&1 |
50116 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50117 *${as_nl}ac_space=\ *)
50118 # `set' does not quote correctly, so add quotes (double-quote
50119 # substitution turns \\\\ into \\, and sed turns \\ into \).
50120 sed -n \
50121 "s/'/'\\\\''/g;
50122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50123 ;; #(
50124 *)
50125 # `set' quotes correctly as required by POSIX, so do not add quotes.
50126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50127 ;;
50128 esac |
50129 sort
50130 ) |
50131 sed '
50132 /^ac_cv_env_/b end
50133 t clear
50134 :clear
50135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50136 t end
50137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50138 :end' >>confcache
50139 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50140 if test -w "$cache_file"; then
50141 test "x$cache_file" != "x/dev/null" &&
50142 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50143 echo "$as_me: updating cache $cache_file" >&6;}
50144 cat confcache >$cache_file
50145 else
50146 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50147 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50148 fi
50149 fi
50150 rm -f confcache
50151
50152 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50153 # Let make expand exec_prefix.
50154 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50155
50156 DEFS=-DHAVE_CONFIG_H
50157
50158 ac_libobjs=
50159 ac_ltlibobjs=
50160 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50161 # 1. Remove the extension, and $U if already installed.
50162 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50163 ac_i=`echo "$ac_i" | sed "$ac_script"`
50164 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50165 # will be set to the directory where LIBOBJS objects are built.
50166 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50167 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50168 done
50169 LIBOBJS=$ac_libobjs
50170
50171 LTLIBOBJS=$ac_ltlibobjs
50172
50173
50174
50175 : ${CONFIG_STATUS=./config.status}
50176 ac_clean_files_save=$ac_clean_files
50177 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50178 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50179 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50180 cat >$CONFIG_STATUS <<_ACEOF
50181 #! $SHELL
50182 # Generated by $as_me.
50183 # Run this file to recreate the current configuration.
50184 # Compiler output produced by configure, useful for debugging
50185 # configure, is in config.log if it exists.
50186
50187 debug=false
50188 ac_cs_recheck=false
50189 ac_cs_silent=false
50190 SHELL=\${CONFIG_SHELL-$SHELL}
50191 _ACEOF
50192
50193 cat >>$CONFIG_STATUS <<\_ACEOF
50194 ## --------------------- ##
50195 ## M4sh Initialization. ##
50196 ## --------------------- ##
50197
50198 # Be more Bourne compatible
50199 DUALCASE=1; export DUALCASE # for MKS sh
50200 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50201 emulate sh
50202 NULLCMD=:
50203 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50204 # is contrary to our usage. Disable this feature.
50205 alias -g '${1+"$@"}'='"$@"'
50206 setopt NO_GLOB_SUBST
50207 else
50208 case `(set -o) 2>/dev/null` in
50209 *posix*) set -o posix ;;
50210 esac
50211
50212 fi
50213
50214
50215
50216
50217 # PATH needs CR
50218 # Avoid depending upon Character Ranges.
50219 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50220 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50221 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50222 as_cr_digits='0123456789'
50223 as_cr_alnum=$as_cr_Letters$as_cr_digits
50224
50225 # The user is always right.
50226 if test "${PATH_SEPARATOR+set}" != set; then
50227 echo "#! /bin/sh" >conf$$.sh
50228 echo "exit 0" >>conf$$.sh
50229 chmod +x conf$$.sh
50230 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50231 PATH_SEPARATOR=';'
50232 else
50233 PATH_SEPARATOR=:
50234 fi
50235 rm -f conf$$.sh
50236 fi
50237
50238 # Support unset when possible.
50239 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50240 as_unset=unset
50241 else
50242 as_unset=false
50243 fi
50244
50245
50246 # IFS
50247 # We need space, tab and new line, in precisely that order. Quoting is
50248 # there to prevent editors from complaining about space-tab.
50249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50250 # splitting by setting IFS to empty value.)
50251 as_nl='
50252 '
50253 IFS=" "" $as_nl"
50254
50255 # Find who we are. Look in the path if we contain no directory separator.
50256 case $0 in
50257 *[\\/]* ) as_myself=$0 ;;
50258 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50259 for as_dir in $PATH
50260 do
50261 IFS=$as_save_IFS
50262 test -z "$as_dir" && as_dir=.
50263 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50264 done
50265 IFS=$as_save_IFS
50266
50267 ;;
50268 esac
50269 # We did not find ourselves, most probably we were run as `sh COMMAND'
50270 # in which case we are not to be found in the path.
50271 if test "x$as_myself" = x; then
50272 as_myself=$0
50273 fi
50274 if test ! -f "$as_myself"; then
50275 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50276 { (exit 1); exit 1; }
50277 fi
50278
50279 # Work around bugs in pre-3.0 UWIN ksh.
50280 for as_var in ENV MAIL MAILPATH
50281 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50282 done
50283 PS1='$ '
50284 PS2='> '
50285 PS4='+ '
50286
50287 # NLS nuisances.
50288 for as_var in \
50289 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50290 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50291 LC_TELEPHONE LC_TIME
50292 do
50293 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50294 eval $as_var=C; export $as_var
50295 else
50296 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50297 fi
50298 done
50299
50300 # Required to use basename.
50301 if expr a : '\(a\)' >/dev/null 2>&1 &&
50302 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50303 as_expr=expr
50304 else
50305 as_expr=false
50306 fi
50307
50308 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50309 as_basename=basename
50310 else
50311 as_basename=false
50312 fi
50313
50314
50315 # Name of the executable.
50316 as_me=`$as_basename -- "$0" ||
50317 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50318 X"$0" : 'X\(//\)$' \| \
50319 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50320 echo X/"$0" |
50321 sed '/^.*\/\([^/][^/]*\)\/*$/{
50322 s//\1/
50323 q
50324 }
50325 /^X\/\(\/\/\)$/{
50326 s//\1/
50327 q
50328 }
50329 /^X\/\(\/\).*/{
50330 s//\1/
50331 q
50332 }
50333 s/.*/./; q'`
50334
50335 # CDPATH.
50336 $as_unset CDPATH
50337
50338
50339
50340 as_lineno_1=$LINENO
50341 as_lineno_2=$LINENO
50342 test "x$as_lineno_1" != "x$as_lineno_2" &&
50343 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50344
50345 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50346 # uniformly replaced by the line number. The first 'sed' inserts a
50347 # line-number line after each line using $LINENO; the second 'sed'
50348 # does the real work. The second script uses 'N' to pair each
50349 # line-number line with the line containing $LINENO, and appends
50350 # trailing '-' during substitution so that $LINENO is not a special
50351 # case at line end.
50352 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50353 # scripts with optimization help from Paolo Bonzini. Blame Lee
50354 # E. McMahon (1931-1989) for sed's syntax. :-)
50355 sed -n '
50356 p
50357 /[$]LINENO/=
50358 ' <$as_myself |
50359 sed '
50360 s/[$]LINENO.*/&-/
50361 t lineno
50362 b
50363 :lineno
50364 N
50365 :loop
50366 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50367 t loop
50368 s/-\n.*//
50369 ' >$as_me.lineno &&
50370 chmod +x "$as_me.lineno" ||
50371 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50372 { (exit 1); exit 1; }; }
50373
50374 # Don't try to exec as it changes $[0], causing all sort of problems
50375 # (the dirname of $[0] is not the place where we might find the
50376 # original and so on. Autoconf is especially sensitive to this).
50377 . "./$as_me.lineno"
50378 # Exit status is that of the last command.
50379 exit
50380 }
50381
50382
50383 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50384 as_dirname=dirname
50385 else
50386 as_dirname=false
50387 fi
50388
50389 ECHO_C= ECHO_N= ECHO_T=
50390 case `echo -n x` in
50391 -n*)
50392 case `echo 'x\c'` in
50393 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50394 *) ECHO_C='\c';;
50395 esac;;
50396 *)
50397 ECHO_N='-n';;
50398 esac
50399
50400 if expr a : '\(a\)' >/dev/null 2>&1 &&
50401 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50402 as_expr=expr
50403 else
50404 as_expr=false
50405 fi
50406
50407 rm -f conf$$ conf$$.exe conf$$.file
50408 if test -d conf$$.dir; then
50409 rm -f conf$$.dir/conf$$.file
50410 else
50411 rm -f conf$$.dir
50412 mkdir conf$$.dir
50413 fi
50414 echo >conf$$.file
50415 if ln -s conf$$.file conf$$ 2>/dev/null; then
50416 as_ln_s='ln -s'
50417 # ... but there are two gotchas:
50418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50420 # In both cases, we have to default to `cp -p'.
50421 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50422 as_ln_s='cp -p'
50423 elif ln conf$$.file conf$$ 2>/dev/null; then
50424 as_ln_s=ln
50425 else
50426 as_ln_s='cp -p'
50427 fi
50428 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50429 rmdir conf$$.dir 2>/dev/null
50430
50431 if mkdir -p . 2>/dev/null; then
50432 as_mkdir_p=:
50433 else
50434 test -d ./-p && rmdir ./-p
50435 as_mkdir_p=false
50436 fi
50437
50438 if test -x / >/dev/null 2>&1; then
50439 as_test_x='test -x'
50440 else
50441 if ls -dL / >/dev/null 2>&1; then
50442 as_ls_L_option=L
50443 else
50444 as_ls_L_option=
50445 fi
50446 as_test_x='
50447 eval sh -c '\''
50448 if test -d "$1"; then
50449 test -d "$1/.";
50450 else
50451 case $1 in
50452 -*)set "./$1";;
50453 esac;
50454 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50455 ???[sx]*):;;*)false;;esac;fi
50456 '\'' sh
50457 '
50458 fi
50459 as_executable_p=$as_test_x
50460
50461 # Sed expression to map a string onto a valid CPP name.
50462 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50463
50464 # Sed expression to map a string onto a valid variable name.
50465 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50466
50467
50468 exec 6>&1
50469
50470 # Save the log message, to keep $[0] and so on meaningful, and to
50471 # report actual input values of CONFIG_FILES etc. instead of their
50472 # values after options handling.
50473 ac_log="
50474 This file was extended by wxWidgets $as_me 2.9.0, which was
50475 generated by GNU Autoconf 2.61. Invocation command line was
50476
50477 CONFIG_FILES = $CONFIG_FILES
50478 CONFIG_HEADERS = $CONFIG_HEADERS
50479 CONFIG_LINKS = $CONFIG_LINKS
50480 CONFIG_COMMANDS = $CONFIG_COMMANDS
50481 $ $0 $@
50482
50483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50484 "
50485
50486 _ACEOF
50487
50488 cat >>$CONFIG_STATUS <<_ACEOF
50489 # Files that config.status was made for.
50490 config_files="$ac_config_files"
50491 config_headers="$ac_config_headers"
50492 config_commands="$ac_config_commands"
50493
50494 _ACEOF
50495
50496 cat >>$CONFIG_STATUS <<\_ACEOF
50497 ac_cs_usage="\
50498 \`$as_me' instantiates files from templates according to the
50499 current configuration.
50500
50501 Usage: $0 [OPTIONS] [FILE]...
50502
50503 -h, --help print this help, then exit
50504 -V, --version print version number and configuration settings, then exit
50505 -q, --quiet do not print progress messages
50506 -d, --debug don't remove temporary files
50507 --recheck update $as_me by reconfiguring in the same conditions
50508 --file=FILE[:TEMPLATE]
50509 instantiate the configuration file FILE
50510 --header=FILE[:TEMPLATE]
50511 instantiate the configuration header FILE
50512
50513 Configuration files:
50514 $config_files
50515
50516 Configuration headers:
50517 $config_headers
50518
50519 Configuration commands:
50520 $config_commands
50521
50522 Report bugs to <bug-autoconf@gnu.org>."
50523
50524 _ACEOF
50525 cat >>$CONFIG_STATUS <<_ACEOF
50526 ac_cs_version="\\
50527 wxWidgets config.status 2.9.0
50528 configured by $0, generated by GNU Autoconf 2.61,
50529 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50530
50531 Copyright (C) 2006 Free Software Foundation, Inc.
50532 This config.status script is free software; the Free Software Foundation
50533 gives unlimited permission to copy, distribute and modify it."
50534
50535 ac_pwd='$ac_pwd'
50536 srcdir='$srcdir'
50537 INSTALL='$INSTALL'
50538 _ACEOF
50539
50540 cat >>$CONFIG_STATUS <<\_ACEOF
50541 # If no file are specified by the user, then we need to provide default
50542 # value. By we need to know if files were specified by the user.
50543 ac_need_defaults=:
50544 while test $# != 0
50545 do
50546 case $1 in
50547 --*=*)
50548 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50549 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50550 ac_shift=:
50551 ;;
50552 *)
50553 ac_option=$1
50554 ac_optarg=$2
50555 ac_shift=shift
50556 ;;
50557 esac
50558
50559 case $ac_option in
50560 # Handling of the options.
50561 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50562 ac_cs_recheck=: ;;
50563 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50564 echo "$ac_cs_version"; exit ;;
50565 --debug | --debu | --deb | --de | --d | -d )
50566 debug=: ;;
50567 --file | --fil | --fi | --f )
50568 $ac_shift
50569 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50570 ac_need_defaults=false;;
50571 --header | --heade | --head | --hea )
50572 $ac_shift
50573 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50574 ac_need_defaults=false;;
50575 --he | --h)
50576 # Conflict between --help and --header
50577 { echo "$as_me: error: ambiguous option: $1
50578 Try \`$0 --help' for more information." >&2
50579 { (exit 1); exit 1; }; };;
50580 --help | --hel | -h )
50581 echo "$ac_cs_usage"; exit ;;
50582 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50583 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50584 ac_cs_silent=: ;;
50585
50586 # This is an error.
50587 -*) { echo "$as_me: error: unrecognized option: $1
50588 Try \`$0 --help' for more information." >&2
50589 { (exit 1); exit 1; }; } ;;
50590
50591 *) ac_config_targets="$ac_config_targets $1"
50592 ac_need_defaults=false ;;
50593
50594 esac
50595 shift
50596 done
50597
50598 ac_configure_extra_args=
50599
50600 if $ac_cs_silent; then
50601 exec 6>/dev/null
50602 ac_configure_extra_args="$ac_configure_extra_args --silent"
50603 fi
50604
50605 _ACEOF
50606 cat >>$CONFIG_STATUS <<_ACEOF
50607 if \$ac_cs_recheck; then
50608 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50609 CONFIG_SHELL=$SHELL
50610 export CONFIG_SHELL
50611 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50612 fi
50613
50614 _ACEOF
50615 cat >>$CONFIG_STATUS <<\_ACEOF
50616 exec 5>>config.log
50617 {
50618 echo
50619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50620 ## Running $as_me. ##
50621 _ASBOX
50622 echo "$ac_log"
50623 } >&5
50624
50625 _ACEOF
50626 cat >>$CONFIG_STATUS <<_ACEOF
50627 #
50628 # INIT-COMMANDS
50629 #
50630
50631 CPP="$CPP"
50632 infile="$srcdir/include/wx/msw/genrcdefs.h"
50633 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50634
50635
50636 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50637 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50638 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50639 LN_S="${LN_S}"
50640
50641
50642 _ACEOF
50643
50644 cat >>$CONFIG_STATUS <<\_ACEOF
50645
50646 # Handling of arguments.
50647 for ac_config_target in $ac_config_targets
50648 do
50649 case $ac_config_target in
50650 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50651 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50652 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50653 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50654 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50656 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50657 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50658
50659 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50660 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50661 { (exit 1); exit 1; }; };;
50662 esac
50663 done
50664
50665
50666 # If the user did not use the arguments to specify the items to instantiate,
50667 # then the envvar interface is used. Set only those that are not.
50668 # We use the long form for the default assignment because of an extremely
50669 # bizarre bug on SunOS 4.1.3.
50670 if $ac_need_defaults; then
50671 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50672 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50673 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50674 fi
50675
50676 # Have a temporary directory for convenience. Make it in the build tree
50677 # simply because there is no reason against having it here, and in addition,
50678 # creating and moving files from /tmp can sometimes cause problems.
50679 # Hook for its removal unless debugging.
50680 # Note that there is a small window in which the directory will not be cleaned:
50681 # after its creation but before its name has been assigned to `$tmp'.
50682 $debug ||
50683 {
50684 tmp=
50685 trap 'exit_status=$?
50686 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50687 ' 0
50688 trap '{ (exit 1); exit 1; }' 1 2 13 15
50689 }
50690 # Create a (secure) tmp directory for tmp files.
50691
50692 {
50693 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50694 test -n "$tmp" && test -d "$tmp"
50695 } ||
50696 {
50697 tmp=./conf$$-$RANDOM
50698 (umask 077 && mkdir "$tmp")
50699 } ||
50700 {
50701 echo "$me: cannot create a temporary directory in ." >&2
50702 { (exit 1); exit 1; }
50703 }
50704
50705 #
50706 # Set up the sed scripts for CONFIG_FILES section.
50707 #
50708
50709 # No need to generate the scripts if there are no CONFIG_FILES.
50710 # This happens for instance when ./config.status config.h
50711 if test -n "$CONFIG_FILES"; then
50712
50713 _ACEOF
50714
50715
50716
50717 ac_delim='%!_!# '
50718 for ac_last_try in false false false false false :; do
50719 cat >conf$$subs.sed <<_ACEOF
50720 SHELL!$SHELL$ac_delim
50721 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50722 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50723 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50724 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50725 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50726 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50727 exec_prefix!$exec_prefix$ac_delim
50728 prefix!$prefix$ac_delim
50729 program_transform_name!$program_transform_name$ac_delim
50730 bindir!$bindir$ac_delim
50731 sbindir!$sbindir$ac_delim
50732 libexecdir!$libexecdir$ac_delim
50733 datarootdir!$datarootdir$ac_delim
50734 datadir!$datadir$ac_delim
50735 sysconfdir!$sysconfdir$ac_delim
50736 sharedstatedir!$sharedstatedir$ac_delim
50737 localstatedir!$localstatedir$ac_delim
50738 includedir!$includedir$ac_delim
50739 oldincludedir!$oldincludedir$ac_delim
50740 docdir!$docdir$ac_delim
50741 infodir!$infodir$ac_delim
50742 htmldir!$htmldir$ac_delim
50743 dvidir!$dvidir$ac_delim
50744 pdfdir!$pdfdir$ac_delim
50745 psdir!$psdir$ac_delim
50746 libdir!$libdir$ac_delim
50747 localedir!$localedir$ac_delim
50748 mandir!$mandir$ac_delim
50749 DEFS!$DEFS$ac_delim
50750 ECHO_C!$ECHO_C$ac_delim
50751 ECHO_N!$ECHO_N$ac_delim
50752 ECHO_T!$ECHO_T$ac_delim
50753 LIBS!$LIBS$ac_delim
50754 build_alias!$build_alias$ac_delim
50755 host_alias!$host_alias$ac_delim
50756 target_alias!$target_alias$ac_delim
50757 build!$build$ac_delim
50758 build_cpu!$build_cpu$ac_delim
50759 build_vendor!$build_vendor$ac_delim
50760 build_os!$build_os$ac_delim
50761 host!$host$ac_delim
50762 host_cpu!$host_cpu$ac_delim
50763 host_vendor!$host_vendor$ac_delim
50764 host_os!$host_os$ac_delim
50765 target!$target$ac_delim
50766 target_cpu!$target_cpu$ac_delim
50767 target_vendor!$target_vendor$ac_delim
50768 target_os!$target_os$ac_delim
50769 wx_top_builddir!$wx_top_builddir$ac_delim
50770 CC!$CC$ac_delim
50771 CFLAGS!$CFLAGS$ac_delim
50772 LDFLAGS!$LDFLAGS$ac_delim
50773 CPPFLAGS!$CPPFLAGS$ac_delim
50774 ac_ct_CC!$ac_ct_CC$ac_delim
50775 EXEEXT!$EXEEXT$ac_delim
50776 OBJEXT!$OBJEXT$ac_delim
50777 CPP!$CPP$ac_delim
50778 GREP!$GREP$ac_delim
50779 EGREP!$EGREP$ac_delim
50780 CXX!$CXX$ac_delim
50781 CXXFLAGS!$CXXFLAGS$ac_delim
50782 ac_ct_CXX!$ac_ct_CXX$ac_delim
50783 AR!$AR$ac_delim
50784 subdirs!$subdirs$ac_delim
50785 PKG_CONFIG!$PKG_CONFIG$ac_delim
50786 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50787 GTK_LIBS!$GTK_LIBS$ac_delim
50788 GTK_CONFIG!$GTK_CONFIG$ac_delim
50789 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50790 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50791 XMKMF!$XMKMF$ac_delim
50792 X_CFLAGS!$X_CFLAGS$ac_delim
50793 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50794 X_LIBS!$X_LIBS$ac_delim
50795 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50796 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50797 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50798 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50799 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50800 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50801 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50802 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50803 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50804 LIBICONV!$LIBICONV$ac_delim
50805 SDL_CONFIG!$SDL_CONFIG$ac_delim
50806 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50807 SDL_LIBS!$SDL_LIBS$ac_delim
50808 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50809 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50810 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50811 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50812 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50813 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50814 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50815 HILDON_LIBS!$HILDON_LIBS$ac_delim
50816 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50817 _ACEOF
50818
50819 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50820 break
50821 elif $ac_last_try; then
50822 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50823 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50824 { (exit 1); exit 1; }; }
50825 else
50826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50827 fi
50828 done
50829
50830 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50831 if test -n "$ac_eof"; then
50832 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50833 ac_eof=`expr $ac_eof + 1`
50834 fi
50835
50836 cat >>$CONFIG_STATUS <<_ACEOF
50837 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50839 _ACEOF
50840 sed '
50841 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50842 s/^/s,@/; s/!/@,|#_!!_#|/
50843 :n
50844 t n
50845 s/'"$ac_delim"'$/,g/; t
50846 s/$/\\/; p
50847 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50848 ' >>$CONFIG_STATUS <conf$$subs.sed
50849 rm -f conf$$subs.sed
50850 cat >>$CONFIG_STATUS <<_ACEOF
50851 CEOF$ac_eof
50852 _ACEOF
50853
50854
50855 ac_delim='%!_!# '
50856 for ac_last_try in false false false false false :; do
50857 cat >conf$$subs.sed <<_ACEOF
50858 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50859 GST_CFLAGS!$GST_CFLAGS$ac_delim
50860 GST_LIBS!$GST_LIBS$ac_delim
50861 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50862 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50863 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50864 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50865 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50866 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50867 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50868 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50869 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50870 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50871 VENDOR!$VENDOR$ac_delim
50872 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50873 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50874 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50875 WXUNIV!$WXUNIV$ac_delim
50876 MONOLITHIC!$MONOLITHIC$ac_delim
50877 USE_PLUGINS!$USE_PLUGINS$ac_delim
50878 CXXWARNINGS!$CXXWARNINGS$ac_delim
50879 EXTRALIBS!$EXTRALIBS$ac_delim
50880 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50881 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50882 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50883 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50884 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50885 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50886 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50887 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50888 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50889 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50890 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50891 UNICODE!$UNICODE$ac_delim
50892 BUILD!$BUILD$ac_delim
50893 DEBUG_INFO!$DEBUG_INFO$ac_delim
50894 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50895 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50896 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50897 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50898 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50899 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50900 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50901 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50902 RANLIB!$RANLIB$ac_delim
50903 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50904 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50905 INSTALL_DATA!$INSTALL_DATA$ac_delim
50906 LN_S!$LN_S$ac_delim
50907 SET_MAKE!$SET_MAKE$ac_delim
50908 MAKE_SET!$MAKE_SET$ac_delim
50909 AROPTIONS!$AROPTIONS$ac_delim
50910 STRIP!$STRIP$ac_delim
50911 NM!$NM$ac_delim
50912 INSTALL_DIR!$INSTALL_DIR$ac_delim
50913 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50914 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50915 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50916 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50917 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50918 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50919 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50920 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50921 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50922 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50923 SO_SUFFIX!$SO_SUFFIX$ac_delim
50924 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50925 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50926 LIBPREFIX!$LIBPREFIX$ac_delim
50927 LIBEXT!$LIBEXT$ac_delim
50928 DLLPREFIX!$DLLPREFIX$ac_delim
50929 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50930 dlldir!$dlldir$ac_delim
50931 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50932 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50933 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50934 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50935 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50936 PIC_FLAG!$PIC_FLAG$ac_delim
50937 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50938 USE_SOVERSION!$USE_SOVERSION$ac_delim
50939 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50940 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50941 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50942 USE_MACVERSION!$USE_MACVERSION$ac_delim
50943 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50944 SONAME_FLAG!$SONAME_FLAG$ac_delim
50945 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50946 BK_DEPS!$BK_DEPS$ac_delim
50947 WINDRES!$WINDRES$ac_delim
50948 REZ!$REZ$ac_delim
50949 SETFILE!$SETFILE$ac_delim
50950 GCC_PCH!$GCC_PCH$ac_delim
50951 ICC_PCH!$ICC_PCH$ac_delim
50952 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50953 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50954 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50955 _ACEOF
50956
50957 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50958 break
50959 elif $ac_last_try; then
50960 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50961 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50962 { (exit 1); exit 1; }; }
50963 else
50964 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50965 fi
50966 done
50967
50968 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50969 if test -n "$ac_eof"; then
50970 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50971 ac_eof=`expr $ac_eof + 1`
50972 fi
50973
50974 cat >>$CONFIG_STATUS <<_ACEOF
50975 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50977 _ACEOF
50978 sed '
50979 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50980 s/^/s,@/; s/!/@,|#_!!_#|/
50981 :n
50982 t n
50983 s/'"$ac_delim"'$/,g/; t
50984 s/$/\\/; p
50985 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50986 ' >>$CONFIG_STATUS <conf$$subs.sed
50987 rm -f conf$$subs.sed
50988 cat >>$CONFIG_STATUS <<_ACEOF
50989 CEOF$ac_eof
50990 _ACEOF
50991
50992
50993 ac_delim='%!_!# '
50994 for ac_last_try in false false false false false :; do
50995 cat >conf$$subs.sed <<_ACEOF
50996 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50997 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50998 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50999 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51000 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51001 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51002 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51003 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51004 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51005 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51006 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51007 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51008 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51009 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51010 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51011 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51012 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51013 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51014 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51016 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51017 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51018 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51019 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51020 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51021 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51022 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51023 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51024 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51025 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51026 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51027 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51028 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51029 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51030 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51031 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51032 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51033 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51034 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51035 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51036 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51037 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51038 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51039 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51040 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51041 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51042 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51043 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51044 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51045 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51046 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51047 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51048 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51049 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51050 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51051 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51053 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51054 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51055 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51056 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51057 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51058 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51059 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51060 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51061 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51062 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51063 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51064 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51066 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51067 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51068 COND_SHARED_0!$COND_SHARED_0$ac_delim
51069 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51070 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51071 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51072 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51073 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51075 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51076 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51077 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51078 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51079 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51080 COND_SHARED_1!$COND_SHARED_1$ac_delim
51081 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51082 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51083 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51084 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51085 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51086 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51087 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51088 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51091 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51093 _ACEOF
51094
51095 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51096 break
51097 elif $ac_last_try; then
51098 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51099 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51100 { (exit 1); exit 1; }; }
51101 else
51102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51103 fi
51104 done
51105
51106 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51107 if test -n "$ac_eof"; then
51108 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51109 ac_eof=`expr $ac_eof + 1`
51110 fi
51111
51112 cat >>$CONFIG_STATUS <<_ACEOF
51113 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51115 _ACEOF
51116 sed '
51117 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51118 s/^/s,@/; s/!/@,|#_!!_#|/
51119 :n
51120 t n
51121 s/'"$ac_delim"'$/,g/; t
51122 s/$/\\/; p
51123 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51124 ' >>$CONFIG_STATUS <conf$$subs.sed
51125 rm -f conf$$subs.sed
51126 cat >>$CONFIG_STATUS <<_ACEOF
51127 CEOF$ac_eof
51128 _ACEOF
51129
51130
51131 ac_delim='%!_!# '
51132 for ac_last_try in false false false false false :; do
51133 cat >conf$$subs.sed <<_ACEOF
51134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51135 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51136 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51137 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51138 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51139 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51140 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51141 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51142 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51143 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51144 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51145 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51146 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51147 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51148 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51149 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51150 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51151 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51152 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51153 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51154 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51155 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51156 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51157 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51158 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51159 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51160 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51161 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51162 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51163 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51164 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51165 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51166 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51167 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51168 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51169 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51170 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51171 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51172 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51173 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51174 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51175 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51176 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51177 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51178 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51179 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51180 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51181 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51182 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51183 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51184 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51185 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51186 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51187 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51188 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51189 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51190 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51191 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51192 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51193 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51194 DEREZ!$DEREZ$ac_delim
51195 SHARED!$SHARED$ac_delim
51196 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51197 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51198 USE_GUI!$USE_GUI$ac_delim
51199 AFMINSTALL!$AFMINSTALL$ac_delim
51200 WIN32INSTALL!$WIN32INSTALL$ac_delim
51201 TOOLKIT!$TOOLKIT$ac_delim
51202 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51203 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51204 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51205 cross_compiling!$cross_compiling$ac_delim
51206 WIDGET_SET!$WIDGET_SET$ac_delim
51207 WX_RELEASE!$WX_RELEASE$ac_delim
51208 WX_VERSION!$WX_VERSION$ac_delim
51209 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51210 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51211 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51212 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51213 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51214 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51215 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51216 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51217 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51218 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51219 GUIDIST!$GUIDIST$ac_delim
51220 DISTDIR!$DISTDIR$ac_delim
51221 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51222 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51223 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51224 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51225 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51226 RESCOMP!$RESCOMP$ac_delim
51227 RESFLAGS!$RESFLAGS$ac_delim
51228 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51229 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51230 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51231 _ACEOF
51232
51233 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51234 break
51235 elif $ac_last_try; then
51236 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51237 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51238 { (exit 1); exit 1; }; }
51239 else
51240 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51241 fi
51242 done
51243
51244 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51245 if test -n "$ac_eof"; then
51246 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51247 ac_eof=`expr $ac_eof + 1`
51248 fi
51249
51250 cat >>$CONFIG_STATUS <<_ACEOF
51251 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51253 _ACEOF
51254 sed '
51255 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51256 s/^/s,@/; s/!/@,|#_!!_#|/
51257 :n
51258 t n
51259 s/'"$ac_delim"'$/,g/; t
51260 s/$/\\/; p
51261 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51262 ' >>$CONFIG_STATUS <conf$$subs.sed
51263 rm -f conf$$subs.sed
51264 cat >>$CONFIG_STATUS <<_ACEOF
51265 CEOF$ac_eof
51266 _ACEOF
51267
51268
51269 ac_delim='%!_!# '
51270 for ac_last_try in false false false false false :; do
51271 cat >conf$$subs.sed <<_ACEOF
51272 LIBWXMACRES!$LIBWXMACRES$ac_delim
51273 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51274 MACSETFILE!$MACSETFILE$ac_delim
51275 GCC!$GCC$ac_delim
51276 DLLTOOL!$DLLTOOL$ac_delim
51277 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51278 LIBOBJS!$LIBOBJS$ac_delim
51279 LTLIBOBJS!$LTLIBOBJS$ac_delim
51280 _ACEOF
51281
51282 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51283 break
51284 elif $ac_last_try; then
51285 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51286 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51287 { (exit 1); exit 1; }; }
51288 else
51289 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51290 fi
51291 done
51292
51293 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51294 if test -n "$ac_eof"; then
51295 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51296 ac_eof=`expr $ac_eof + 1`
51297 fi
51298
51299 cat >>$CONFIG_STATUS <<_ACEOF
51300 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51301 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51302 _ACEOF
51303 sed '
51304 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51305 s/^/s,@/; s/!/@,|#_!!_#|/
51306 :n
51307 t n
51308 s/'"$ac_delim"'$/,g/; t
51309 s/$/\\/; p
51310 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51311 ' >>$CONFIG_STATUS <conf$$subs.sed
51312 rm -f conf$$subs.sed
51313 cat >>$CONFIG_STATUS <<_ACEOF
51314 :end
51315 s/|#_!!_#|//g
51316 CEOF$ac_eof
51317 _ACEOF
51318
51319
51320 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51321 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51322 # trailing colons and then remove the whole line if VPATH becomes empty
51323 # (actually we leave an empty line to preserve line numbers).
51324 if test "x$srcdir" = x.; then
51325 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51326 s/:*\$(srcdir):*/:/
51327 s/:*\${srcdir}:*/:/
51328 s/:*@srcdir@:*/:/
51329 s/^\([^=]*=[ ]*\):*/\1/
51330 s/:*$//
51331 s/^[^=]*=[ ]*$//
51332 }'
51333 fi
51334
51335 cat >>$CONFIG_STATUS <<\_ACEOF
51336 fi # test -n "$CONFIG_FILES"
51337
51338
51339 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51340 do
51341 case $ac_tag in
51342 :[FHLC]) ac_mode=$ac_tag; continue;;
51343 esac
51344 case $ac_mode$ac_tag in
51345 :[FHL]*:*);;
51346 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51347 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51348 { (exit 1); exit 1; }; };;
51349 :[FH]-) ac_tag=-:-;;
51350 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51351 esac
51352 ac_save_IFS=$IFS
51353 IFS=:
51354 set x $ac_tag
51355 IFS=$ac_save_IFS
51356 shift
51357 ac_file=$1
51358 shift
51359
51360 case $ac_mode in
51361 :L) ac_source=$1;;
51362 :[FH])
51363 ac_file_inputs=
51364 for ac_f
51365 do
51366 case $ac_f in
51367 -) ac_f="$tmp/stdin";;
51368 *) # Look for the file first in the build tree, then in the source tree
51369 # (if the path is not absolute). The absolute path cannot be DOS-style,
51370 # because $ac_f cannot contain `:'.
51371 test -f "$ac_f" ||
51372 case $ac_f in
51373 [\\/$]*) false;;
51374 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51375 esac ||
51376 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51377 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51378 { (exit 1); exit 1; }; };;
51379 esac
51380 ac_file_inputs="$ac_file_inputs $ac_f"
51381 done
51382
51383 # Let's still pretend it is `configure' which instantiates (i.e., don't
51384 # use $as_me), people would be surprised to read:
51385 # /* config.h. Generated by config.status. */
51386 configure_input="Generated from "`IFS=:
51387 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51388 if test x"$ac_file" != x-; then
51389 configure_input="$ac_file. $configure_input"
51390 { echo "$as_me:$LINENO: creating $ac_file" >&5
51391 echo "$as_me: creating $ac_file" >&6;}
51392 fi
51393
51394 case $ac_tag in
51395 *:-:* | *:-) cat >"$tmp/stdin";;
51396 esac
51397 ;;
51398 esac
51399
51400 ac_dir=`$as_dirname -- "$ac_file" ||
51401 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51402 X"$ac_file" : 'X\(//\)[^/]' \| \
51403 X"$ac_file" : 'X\(//\)$' \| \
51404 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51405 echo X"$ac_file" |
51406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51407 s//\1/
51408 q
51409 }
51410 /^X\(\/\/\)[^/].*/{
51411 s//\1/
51412 q
51413 }
51414 /^X\(\/\/\)$/{
51415 s//\1/
51416 q
51417 }
51418 /^X\(\/\).*/{
51419 s//\1/
51420 q
51421 }
51422 s/.*/./; q'`
51423 { as_dir="$ac_dir"
51424 case $as_dir in #(
51425 -*) as_dir=./$as_dir;;
51426 esac
51427 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51428 as_dirs=
51429 while :; do
51430 case $as_dir in #(
51431 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51432 *) as_qdir=$as_dir;;
51433 esac
51434 as_dirs="'$as_qdir' $as_dirs"
51435 as_dir=`$as_dirname -- "$as_dir" ||
51436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51437 X"$as_dir" : 'X\(//\)[^/]' \| \
51438 X"$as_dir" : 'X\(//\)$' \| \
51439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51440 echo X"$as_dir" |
51441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51442 s//\1/
51443 q
51444 }
51445 /^X\(\/\/\)[^/].*/{
51446 s//\1/
51447 q
51448 }
51449 /^X\(\/\/\)$/{
51450 s//\1/
51451 q
51452 }
51453 /^X\(\/\).*/{
51454 s//\1/
51455 q
51456 }
51457 s/.*/./; q'`
51458 test -d "$as_dir" && break
51459 done
51460 test -z "$as_dirs" || eval "mkdir $as_dirs"
51461 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51462 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51463 { (exit 1); exit 1; }; }; }
51464 ac_builddir=.
51465
51466 case "$ac_dir" in
51467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51468 *)
51469 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51470 # A ".." for each directory in $ac_dir_suffix.
51471 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51472 case $ac_top_builddir_sub in
51473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51475 esac ;;
51476 esac
51477 ac_abs_top_builddir=$ac_pwd
51478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51479 # for backward compatibility:
51480 ac_top_builddir=$ac_top_build_prefix
51481
51482 case $srcdir in
51483 .) # We are building in place.
51484 ac_srcdir=.
51485 ac_top_srcdir=$ac_top_builddir_sub
51486 ac_abs_top_srcdir=$ac_pwd ;;
51487 [\\/]* | ?:[\\/]* ) # Absolute name.
51488 ac_srcdir=$srcdir$ac_dir_suffix;
51489 ac_top_srcdir=$srcdir
51490 ac_abs_top_srcdir=$srcdir ;;
51491 *) # Relative name.
51492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51493 ac_top_srcdir=$ac_top_build_prefix$srcdir
51494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51495 esac
51496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51497
51498
51499 case $ac_mode in
51500 :F)
51501 #
51502 # CONFIG_FILE
51503 #
51504
51505 case $INSTALL in
51506 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51507 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51508 esac
51509 _ACEOF
51510
51511 cat >>$CONFIG_STATUS <<\_ACEOF
51512 # If the template does not know about datarootdir, expand it.
51513 # FIXME: This hack should be removed a few years after 2.60.
51514 ac_datarootdir_hack=; ac_datarootdir_seen=
51515
51516 case `sed -n '/datarootdir/ {
51517 p
51518 q
51519 }
51520 /@datadir@/p
51521 /@docdir@/p
51522 /@infodir@/p
51523 /@localedir@/p
51524 /@mandir@/p
51525 ' $ac_file_inputs` in
51526 *datarootdir*) ac_datarootdir_seen=yes;;
51527 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51528 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51529 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51530 _ACEOF
51531 cat >>$CONFIG_STATUS <<_ACEOF
51532 ac_datarootdir_hack='
51533 s&@datadir@&$datadir&g
51534 s&@docdir@&$docdir&g
51535 s&@infodir@&$infodir&g
51536 s&@localedir@&$localedir&g
51537 s&@mandir@&$mandir&g
51538 s&\\\${datarootdir}&$datarootdir&g' ;;
51539 esac
51540 _ACEOF
51541
51542 # Neutralize VPATH when `$srcdir' = `.'.
51543 # Shell code in configure.ac might set extrasub.
51544 # FIXME: do we really want to maintain this feature?
51545 cat >>$CONFIG_STATUS <<_ACEOF
51546 sed "$ac_vpsub
51547 $extrasub
51548 _ACEOF
51549 cat >>$CONFIG_STATUS <<\_ACEOF
51550 :t
51551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51552 s&@configure_input@&$configure_input&;t t
51553 s&@top_builddir@&$ac_top_builddir_sub&;t t
51554 s&@srcdir@&$ac_srcdir&;t t
51555 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51556 s&@top_srcdir@&$ac_top_srcdir&;t t
51557 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51558 s&@builddir@&$ac_builddir&;t t
51559 s&@abs_builddir@&$ac_abs_builddir&;t t
51560 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51561 s&@INSTALL@&$ac_INSTALL&;t t
51562 $ac_datarootdir_hack
51563 " $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
51564
51565 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51566 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51567 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51568 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51569 which seems to be undefined. Please make sure it is defined." >&5
51570 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51571 which seems to be undefined. Please make sure it is defined." >&2;}
51572
51573 rm -f "$tmp/stdin"
51574 case $ac_file in
51575 -) cat "$tmp/out"; rm -f "$tmp/out";;
51576 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51577 esac
51578 ;;
51579 :H)
51580 #
51581 # CONFIG_HEADER
51582 #
51583 _ACEOF
51584
51585 # Transform confdefs.h into a sed script `conftest.defines', that
51586 # substitutes the proper values into config.h.in to produce config.h.
51587 rm -f conftest.defines conftest.tail
51588 # First, append a space to every undef/define line, to ease matching.
51589 echo 's/$/ /' >conftest.defines
51590 # Then, protect against being on the right side of a sed subst, or in
51591 # an unquoted here document, in config.status. If some macros were
51592 # called several times there might be several #defines for the same
51593 # symbol, which is useless. But do not sort them, since the last
51594 # AC_DEFINE must be honored.
51595 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51596 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51597 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51598 # PARAMS is the parameter list in the macro definition--in most cases, it's
51599 # just an empty string.
51600 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51601 ac_dB='\\)[ (].*,\\1define\\2'
51602 ac_dC=' '
51603 ac_dD=' ,'
51604
51605 uniq confdefs.h |
51606 sed -n '
51607 t rset
51608 :rset
51609 s/^[ ]*#[ ]*define[ ][ ]*//
51610 t ok
51611 d
51612 :ok
51613 s/[\\&,]/\\&/g
51614 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51615 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51616 ' >>conftest.defines
51617
51618 # Remove the space that was appended to ease matching.
51619 # Then replace #undef with comments. This is necessary, for
51620 # example, in the case of _POSIX_SOURCE, which is predefined and required
51621 # on some systems where configure will not decide to define it.
51622 # (The regexp can be short, since the line contains either #define or #undef.)
51623 echo 's/ $//
51624 s,^[ #]*u.*,/* & */,' >>conftest.defines
51625
51626 # Break up conftest.defines:
51627 ac_max_sed_lines=50
51628
51629 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51630 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51631 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51632 # et cetera.
51633 ac_in='$ac_file_inputs'
51634 ac_out='"$tmp/out1"'
51635 ac_nxt='"$tmp/out2"'
51636
51637 while :
51638 do
51639 # Write a here document:
51640 cat >>$CONFIG_STATUS <<_ACEOF
51641 # First, check the format of the line:
51642 cat >"\$tmp/defines.sed" <<\\CEOF
51643 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51644 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51645 b
51646 :def
51647 _ACEOF
51648 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51649 echo 'CEOF
51650 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51651 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51652 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51653 grep . conftest.tail >/dev/null || break
51654 rm -f conftest.defines
51655 mv conftest.tail conftest.defines
51656 done
51657 rm -f conftest.defines conftest.tail
51658
51659 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51660 cat >>$CONFIG_STATUS <<\_ACEOF
51661 if test x"$ac_file" != x-; then
51662 echo "/* $configure_input */" >"$tmp/config.h"
51663 cat "$ac_result" >>"$tmp/config.h"
51664 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51665 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51666 echo "$as_me: $ac_file is unchanged" >&6;}
51667 else
51668 rm -f $ac_file
51669 mv "$tmp/config.h" $ac_file
51670 fi
51671 else
51672 echo "/* $configure_input */"
51673 cat "$ac_result"
51674 fi
51675 rm -f "$tmp/out12"
51676 ;;
51677
51678 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51679 echo "$as_me: executing $ac_file commands" >&6;}
51680 ;;
51681 esac
51682
51683
51684 case $ac_file$ac_mode in
51685 "rcdefs.h":C)
51686 mkdir -p $outdir &&
51687 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51688 ;;
51689 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51690 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51691 "wx-config":C) rm -f wx-config
51692 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51693 ;;
51694
51695 esac
51696 done # for ac_tag
51697
51698
51699 { (exit 0); exit 0; }
51700 _ACEOF
51701 chmod +x $CONFIG_STATUS
51702 ac_clean_files=$ac_clean_files_save
51703
51704
51705 # configure is writing to config.log, and then calls config.status.
51706 # config.status does its own redirection, appending to config.log.
51707 # Unfortunately, on DOS this fails, as config.log is still kept open
51708 # by configure, so config.status won't be able to write to it; its
51709 # output is simply discarded. So we exec the FD to /dev/null,
51710 # effectively closing config.log, so it can be properly (re)opened and
51711 # appended to by config.status. When coming back to configure, we
51712 # need to make the FD available again.
51713 if test "$no_create" != yes; then
51714 ac_cs_success=:
51715 ac_config_status_args=
51716 test "$silent" = yes &&
51717 ac_config_status_args="$ac_config_status_args --quiet"
51718 exec 5>/dev/null
51719 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51720 exec 5>>config.log
51721 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51722 # would make configure fail if this is the last instruction.
51723 $ac_cs_success || { (exit 1); exit 1; }
51724 fi
51725
51726 #
51727 # CONFIG_SUBDIRS section.
51728 #
51729 if test "$no_recursion" != yes; then
51730
51731 # Remove --cache-file and --srcdir arguments so they do not pile up.
51732 ac_sub_configure_args=
51733 ac_prev=
51734 eval "set x $ac_configure_args"
51735 shift
51736 for ac_arg
51737 do
51738 if test -n "$ac_prev"; then
51739 ac_prev=
51740 continue
51741 fi
51742 case $ac_arg in
51743 -cache-file | --cache-file | --cache-fil | --cache-fi \
51744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51745 ac_prev=cache_file ;;
51746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51748 | --c=*)
51749 ;;
51750 --config-cache | -C)
51751 ;;
51752 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51753 ac_prev=srcdir ;;
51754 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51755 ;;
51756 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51757 ac_prev=prefix ;;
51758 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51759 ;;
51760 *)
51761 case $ac_arg in
51762 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51763 esac
51764 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51765 esac
51766 done
51767
51768 # Always prepend --prefix to ensure using the same prefix
51769 # in subdir configurations.
51770 ac_arg="--prefix=$prefix"
51771 case $ac_arg in
51772 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51773 esac
51774 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51775
51776 # Pass --silent
51777 if test "$silent" = yes; then
51778 ac_sub_configure_args="--silent $ac_sub_configure_args"
51779 fi
51780
51781 ac_popdir=`pwd`
51782 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51783
51784 # Do not complain, so a configure script can configure whichever
51785 # parts of a large source tree are present.
51786 test -d "$srcdir/$ac_dir" || continue
51787
51788 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51789 echo "$as_me:$LINENO: $ac_msg" >&5
51790 echo "$ac_msg" >&6
51791 { as_dir="$ac_dir"
51792 case $as_dir in #(
51793 -*) as_dir=./$as_dir;;
51794 esac
51795 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51796 as_dirs=
51797 while :; do
51798 case $as_dir in #(
51799 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51800 *) as_qdir=$as_dir;;
51801 esac
51802 as_dirs="'$as_qdir' $as_dirs"
51803 as_dir=`$as_dirname -- "$as_dir" ||
51804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51805 X"$as_dir" : 'X\(//\)[^/]' \| \
51806 X"$as_dir" : 'X\(//\)$' \| \
51807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51808 echo X"$as_dir" |
51809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51810 s//\1/
51811 q
51812 }
51813 /^X\(\/\/\)[^/].*/{
51814 s//\1/
51815 q
51816 }
51817 /^X\(\/\/\)$/{
51818 s//\1/
51819 q
51820 }
51821 /^X\(\/\).*/{
51822 s//\1/
51823 q
51824 }
51825 s/.*/./; q'`
51826 test -d "$as_dir" && break
51827 done
51828 test -z "$as_dirs" || eval "mkdir $as_dirs"
51829 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51830 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51831 { (exit 1); exit 1; }; }; }
51832 ac_builddir=.
51833
51834 case "$ac_dir" in
51835 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51836 *)
51837 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51838 # A ".." for each directory in $ac_dir_suffix.
51839 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51840 case $ac_top_builddir_sub in
51841 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51842 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51843 esac ;;
51844 esac
51845 ac_abs_top_builddir=$ac_pwd
51846 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51847 # for backward compatibility:
51848 ac_top_builddir=$ac_top_build_prefix
51849
51850 case $srcdir in
51851 .) # We are building in place.
51852 ac_srcdir=.
51853 ac_top_srcdir=$ac_top_builddir_sub
51854 ac_abs_top_srcdir=$ac_pwd ;;
51855 [\\/]* | ?:[\\/]* ) # Absolute name.
51856 ac_srcdir=$srcdir$ac_dir_suffix;
51857 ac_top_srcdir=$srcdir
51858 ac_abs_top_srcdir=$srcdir ;;
51859 *) # Relative name.
51860 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51861 ac_top_srcdir=$ac_top_build_prefix$srcdir
51862 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51863 esac
51864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51865
51866
51867 cd "$ac_dir"
51868
51869 # Check for guested configure; otherwise get Cygnus style configure.
51870 if test -f "$ac_srcdir/configure.gnu"; then
51871 ac_sub_configure=$ac_srcdir/configure.gnu
51872 elif test -f "$ac_srcdir/configure"; then
51873 ac_sub_configure=$ac_srcdir/configure
51874 elif test -f "$ac_srcdir/configure.in"; then
51875 # This should be Cygnus configure.
51876 ac_sub_configure=$ac_aux_dir/configure
51877 else
51878 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51879 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51880 ac_sub_configure=
51881 fi
51882
51883 # The recursion is here.
51884 if test -n "$ac_sub_configure"; then
51885 # Make the cache file name correct relative to the subdirectory.
51886 case $cache_file in
51887 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51888 *) # Relative name.
51889 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51890 esac
51891
51892 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51893 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51894 # The eval makes quoting arguments work.
51895 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51896 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51897 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51898 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51899 { (exit 1); exit 1; }; }
51900 fi
51901
51902 cd "$ac_popdir"
51903 done
51904 fi
51905
51906
51907 echo
51908 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51909 echo ""
51910 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51911 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51912
51913 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51914 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51915 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51916 if test "$wxUSE_UNICODE" = "yes"; then
51917 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51918 echo " (using UTF-8)"
51919 else
51920 echo " (using wchar_t)"
51921 fi
51922 else
51923 echo
51924 fi
51925
51926 echo " What level of wxWidgets compatibility should be enabled?"
51927 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51928 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51929
51930 echo " Which libraries should wxWidgets use?"
51931 echo " STL ${wxUSE_STL}"
51932 echo " jpeg ${wxUSE_LIBJPEG-none}"
51933 echo " png ${wxUSE_LIBPNG-none}"
51934 echo " regex ${wxUSE_REGEX}"
51935 echo " tiff ${wxUSE_LIBTIFF-none}"
51936 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51937 echo " xpm ${wxUSE_LIBXPM-none}"
51938 fi
51939 echo " zlib ${wxUSE_ZLIB}"
51940 echo " expat ${wxUSE_EXPAT}"
51941 echo " libmspack ${wxUSE_LIBMSPACK}"
51942 echo " sdl ${wxUSE_LIBSDL}"
51943
51944 echo ""
51945